Unlock instant, AI-driven research and patent intelligence for your innovation.

Cache processing method, electronic equipment and computer storage medium

A processing method and caching technology, applied in computing, memory systems, electrical and digital data processing, etc., can solve problems such as unsupportable, poor scalability, and expanding caching strategies, and achieve the effect of improving flexibility and increasing scalability.

Pending Publication Date: 2021-12-10
BEIJING WODONG TIANJUN INFORMATION TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] At present, the use of complex and heavyweight distributed cache increases the complexity of the system and complicates some simple cache application scenarios; while the existing local cache has poor scalability and cannot simply expand the cache according to business needs strategy; when using local custom caches, most developers use a simple key-value pair MAP structure, which cannot support some scenarios that require dynamic elimination; it can be seen from this that the existing cache processing methods are fixed and single technical issues

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
  • Cache processing method, electronic equipment and computer storage medium
  • Cache processing method, electronic equipment and computer storage medium
  • Cache processing method, electronic equipment and computer storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0026] The embodiment of the present application provides a cache processing method, figure 1 For a schematic flowchart of an optional cache processing method provided by the embodiment of this application, refer to figure 1 As shown, the above cache processing method may include:

[0027] S101: Obtain the CRUD operation for the cache to be operated;

[0028] At present, caches are divided into three categories: distributed caches, such as redis, local caches, such as caffine, and custom implementation caches. Among them, for distributed caches, due to the complexity of distributed cache configuration, the application program interface (API , Application Programming Interface) are numerous, which makes the simple cache usage scenarios extremely complicated; for local caches, the scalability of local caches is poor, and it is difficult to complete the implementation of custom cache strategies; when using local custom caches, most Some developers use a simple key-value pair st...

Embodiment 2

[0115] Figure 5 Schematic diagram of the structure of an electronic device provided in the embodiment of this application Figure 1 ,Such as Figure 5 As shown, including: a first acquisition module 51, a second acquisition module 52, a determination module 53 and a processing module 54; wherein,

[0116] The first obtaining module 51 is used to obtain the CRUD operation for the cache to be operated;

[0117] The second obtaining module 52 is used to obtain the entry and exit rules generated for the cached data to be operated from the preset cache factory;

[0118] Determining module 53, for determining the operation position of CRUD operation from the buffer to be operated according to the access rule;

[0119] The processing module 54 is configured to process the cache to be operated according to the CRUD operation and the operation location.

[0120] Optionally, the first acquiring module 51 is specifically used for:

[0121] Through the CRUD operation interface, obta...

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 discloses a cache processing method. The method comprises the steps that CRUD operation for a to-be-operated cache is obtained, an access rule generated for cache data of the to-be-operated cache is obtained from a preset cache factory, the operation position of the CRUD operation is determined from the to-be-operated cache according to the access rule, and the to-be-operated cache is processed according to the CRUD operation and the operation position. The embodiment of the invention further provides electronic equipment and a computer storage medium.

Description

technical field [0001] The present application relates to cache processing technology, and in particular to a cache processing method, electronic equipment, and computer storage media. Background technique [0002] At present, the use of complex and heavyweight distributed cache increases the complexity of the system and complicates some simple cache application scenarios; while the existing local cache has poor scalability and cannot simply expand the cache according to business needs strategy; when using local custom caches, most developers use a simple key-value pair MAP structure, which cannot support some scenarios that require dynamic elimination; it can be seen from this that the existing cache processing methods are fixed and single technical problems. Contents of the invention [0003] Embodiments of the present application provide a cache processing method, an electronic device, and a computer storage medium, which can improve the flexibility of cache processing...

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): G06F12/0877G06F12/0866G06F16/2455G06F16/957
CPCG06F12/0877G06F12/0866G06F16/24552G06F16/9574G06F2212/154G06F2212/163G06F2212/1048
Inventor 张中杰
Owner BEIJING WODONG TIANJUN INFORMATION TECH CO LTD