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

Method, device and system for caching data update

A technology for caching data and data, applied in the data field, can solve the problems of frequent data read and write, waste of server resources, external access failure, etc., and achieve the effect of low maintenance cost, simple update operation, low maintenance cost and low resource occupation

Active Publication Date: 2021-04-27
ADVANCED NEW TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Among them, the method of restarting the server is too troublesome and may cause external access failure; the method of regularly querying the data content of the database by the server requires the server to regularly read the data in the local cache from the local cache and compare them with the database one by one. Comparing the obtained data will waste a lot of server resources, and the operation of reading and writing the data in the cache too frequently will also increase the probability of data errors; the method of pushing messages needs to maintain a push mechanism. high maintenance cost

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, device and system for caching data update
  • Method, device and system for caching data update
  • Method, device and system for caching data update

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0038] An embodiment of the present invention provides a method for caching data update, such as figure 1 shown, including:

[0039] 101. When the business server starts, acquire and load from the database server the cached data that needs to be cached in the local cache of the business server and the cached version information table corresponding to the cached data, the cached version information table includes the data type of th...

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 cache data updating method, device and system, which relate to the field of data technology, and the main purpose is to make the maintenance cost and occupied resources lower and the operation simple under the premise of ensuring normal access to data by applications. The main technical solution is: when the business server starts, obtain and load from the database server the cached data that needs to be cached in its local cache and the cached version information table corresponding to the cached data; determine whether the cached version information of different data types corresponds to the corresponding The database version information of the data in the database server is consistent; if it is determined to be inconsistent, the cached data and the cached version information table are updated. The database server generates and saves the database version information table, and sends the cached data and the cached version information table required by the business server to the business server when the business server starts. The present invention is mainly used in the process of updating the local cache of the service server.

Description

technical field [0001] The present invention relates to the field of data technology, in particular to a method, device and system for caching data update. Background technique [0002] With the development of the Internet and smart terminals, the use of applications is becoming more and more diverse. When an application is deployed on multiple servers, the multiple servers generally need to share the same set of data storage databases to ensure the normal operation of the application. . In multi-server mode, in order to improve data access performance, for those data with small data volume, infrequent updates and large access volume, such as dictionary tables, parameter tables, area information, etc., it is generally used to store such data in in the server's local cache. When storing data in the local cache of the server, it is necessary to consider the consistency between the data cached locally on the server and the data in the database. For example, if the data in the...

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/21G06F16/2455
CPCG06F16/219G06F16/24552
Inventor 宋电涛沈孝栋
Owner ADVANCED NEW TECH CO LTD