Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and device of realizing data cache layer, electronic equipment and readable storage medium

A cache layer and cache technology, applied in the computer field, can solve problems such as business code pollution, fragmentation, lack of cache layer operation monitoring, etc., to achieve unified control, increase utilization, and reduce intrusion

Inactive Publication Date: 2018-10-09
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF9 Cites 20 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] 1. There is no relatively complete design plan, but some technical points are mentioned roughly, which is not systematic;
[0006] 2. The code of the cache layer is coupled with the business code, causing pollution to the original business code;
[0007] 3. Lack of flexible and configurable cache expiration strategy;
[0008] 4. Lack of operation monitoring of the cache layer

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device of realizing data cache layer, electronic equipment and readable storage medium
  • Method and device of realizing data cache layer, electronic equipment and readable storage medium
  • Method and device of realizing data cache layer, electronic equipment and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] Exemplary embodiments of the present invention are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present invention to facilitate understanding, and they should be regarded as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.

[0036] The technical solution for implementing the data cache layer in the embodiment of the present invention provides comprehensive architecture design support, and can realize flexible cache component configuration. Marking objects that need to be cached through annotations can basically achieve 100% cache hits, and the hierarchy is clear. The implementation and integr...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention provides a method and a device of realizing a data cache layer, electronic equipment and a readable storage medium, which can select data, which need to be cached, through a manner of flexibly configuring annotations, reduce intrusion of service code, and realize unified control of caching. The method includes: introducing a cache-layer jar package into a service layer; parsing a cache-layer configuration file, and configuring cache configuration parameters; configuring the cache annotations in a service method according to the cache configuration parameters; and realizing caching and / or querying of data according to the cache annotations when the service method is invoked.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a method, device, electronic equipment and readable storage medium for realizing a data cache layer. Background technique [0002] Todays Internet is booming, and Web projects are like wheels in a workshop, designed and developed one after another to facilitate our lives and allow information to be transmitted and diffused in the first place. Compared with enterprise applications, Web projects serve a larger population, and a large number of visits are transmitted to the background database through Web pages. Without the control of the caching layer, massive access is a disaster for the database: all requests fall directly on the database. Database access reads the data on the hard disk through I / O. To solve this access pressure, unless there are a large number of database servers to reduce the pressure on a single database. But this approach is too costly, therefore,...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/30
Inventor 邹培俊
Owner BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products