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

Cache data update method, device and system

A technology for caching data and updating methods, which is applied in the computer field and can solve problems such as low update efficiency of cached data

Active Publication Date: 2019-08-20
KINGDEE SOFTWARE(CHINA) CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, for the traditional cache data update method, only by deleting the object and all object collections containing the object, can the changed object of the object and the collection containing the changed object be saved in the cache, so that the cache data update efficiency Low

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 data update method, device and system
  • Cache data update method, device and system
  • Cache data update method, device and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0037] In one embodiment, such as figure 1 As shown, a method for updating cached data is provided, which is illustrated by applying it to a server cluster, and specifically includes the following steps:

[0038] Step 102, the first server detects whether the attribute value of the included object changes.

[0039]Objects are anything that people want to study, from the simplest integers to complex airplanes, etc. can be regarded as objects. It can not only represent specific things, but also represent abstract rules, plans or events. Specifically, the objects in this embodiment are business obje...

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 invention relates to a cache data updating method. The cache data updating method comprises the steps that a first server detects whether an attribute value of an included object is alternated or not; if the attribute value of the included object is alternated, a first character string is generated according to a random function; the object type of the object corresponding to the alternated attribute value is obtained, and a first current character string, corresponding to the object type, in a first locally prestored mapping table is updated into the first character string; a first query condition is obtained, the object type, the first character string and the first query condition are combined to generate a first cache key; according to the first cache key, an updated object is saved in a first cache, wherein the updated object is the object obtained after the attribute value corresponding to the object with the alternated attribute value is alternated. By adopting the method, the cache data updating efficiency can be improved. In addition, the invention further provides a cache data updating device and system.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a cache data updating method, device and system. Background technique [0002] In a server cluster, when the attribute value of an object on one of the servers changes, the traditional cluster cache data update method needs to first delete the object or all object collections containing the object in the cache corresponding to the server, and then Save the changed object of the object and the collection containing the changed object in the above cache. [0003] However, for the traditional cache data update method, only by deleting the object and all object collections containing the object, can the changed object of the object and the collection containing the changed object be saved in the cache, so that the cache data update efficiency Low. Contents of the invention [0004] Based on this, it is necessary to provide a cache data update method, device and system f...

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 Patents(China)
IPC IPC(8): G06F16/2455
Inventor 贺召军
Owner KINGDEE SOFTWARE(CHINA) CO LTD