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

Data management method and device

A data management and database technology, applied in the Internet field

Active Publication Date: 2016-11-23
ADVANCED NEW TECH CO LTD
View PDF7 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, when there are multiple machines in the cluster, all machines in the cluster share this cache management table. After the first machine is updated, the cache record status is updated to refresh_finish. When other machines come over, they find that there is no wait_for_refresh data. , the local cache data will not be updated, and there will always be only one machine in the cluster that can refresh the latest cache

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
  • Data management method and device
  • Data management method and device
  • Data management method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] Embodiments of the present invention are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals designate the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary only for explaining the present invention and should not be construed as limiting the present invention. On the contrary, the embodiments of the present invention include all changes, modifications and equivalents coming within the spirit and scope of the appended claims.

[0024] figure 1 It is a flowchart of an embodiment of the data management method of the present invention, such as figure 1 As shown, the data management method may include:

[0025] Step 101, obtain the cache record corresponding to the server's identification information from the cache management table according to the server's identification information.

[0026] Spe...

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 discloses a data management method and device. The data management method includes the steps that cache records corresponding to identification information of a server are obtained from a cache management table according to the identification information of the server; the cache record in a to-be-refreshed state is obtained from the cache records corresponding to identification information of the server; cache data corresponding to a cache name is refreshed according to the cache name in the cache record in the to-be-refreshed state. Data of the server is identified according to the identification information of the server so that as for static configuration data, each server can have unique configuration, as for dynamic management data, each server can independently refresh corresponding cache data, and refreshing of different servers is not affected.

Description

technical field [0001] The invention relates to the technical field of the Internet, in particular to a data management method and device. Background technique [0002] Now, for the local cache management of the application, if it is static data, the memory cache can be used directly, but if there is a possibility of adding or changing in the future, it needs to have a function that takes effect in real time. In addition, the timing of each cache refresh needs to be controllable, otherwise there may be compatibility issues. In the prior art, the above purpose is generally achieved through a cache management table and a scheduled task in a container. Specifically, the scheduled task scans all the data in the table whose state is waiting for refresh (wait_for_refresh), and then obtains the latest data from the storage , update the local cache, and then update the cache status to refresh finish (refresh_finish). [0003] However, when there are multiple machines in the cluste...

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
IPC IPC(8): G06F12/08
Inventor 杜娟
Owner ADVANCED NEW 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