Data caching method and device and computer readable storage medium

A data cache and storage medium technology, applied in the field of data processing, can solve the problems of heavy workload of operation and maintenance personnel, poor compatibility of cache data update components, and low degree of automation of data update, so as to improve system throughput and solve compatibility problems. poor effect

Pending Publication Date: 2022-04-12
POSBANK
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] Embodiments of the present invention provide a data caching method and its device, and a computer-readable storage medium, so as to at least solve the problem of poor compatibility of caching data updating components in the related art, resulting in low automation of data updating and heavy workload of operation and maintenance personnel. 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
  • Data caching method and device and computer readable storage medium
  • Data caching method and device and computer readable storage medium
  • Data caching method and device and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0035] According to an embodiment of the present invention, a method embodiment of a data caching method is provided. It should be noted that the steps shown in the flow chart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and, Although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that shown or described herein.

[0036] figure 1 is a flowchart of a data caching method according to an embodiment of the present invention, such as figure 1 As shown, the method includes the following steps:

[0037] Step S102, monitoring the major version number of the target data storage medium, and obtaining the monitoring result.

[0038] Optionally, in the above steps, the target data storage medium includes, but is not limited to: local cache, server cache.

[0039] Step S104, when the monitoring result indicates that the main version ...

Embodiment 2

[0073] According to another aspect of the embodiments of the present invention, a data cache device is also provided, Figure 5 is a schematic diagram of a data cache device according to an embodiment of the present invention, such as Figure 5 As shown, it includes: a monitoring module 51 , a comparison module 53 , an acquisition module 55 and a cache module 57 . The data cache device will be described below.

[0074] The monitoring module 51 is used to monitor the main version number of the target data storage medium to obtain the monitoring result;

[0075] The comparison module 53 is used to compare the main version number with the current version number of the target data cache center when the monitoring result indicates that the main version number changes, so as to obtain a version number comparison result;

[0076] The obtaining module 55 is used to obtain the update data in the target data storage medium based on the main version number when it is determined that th...

Embodiment 3

[0088] According to another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium, the computer-readable storage medium includes a stored computer program, wherein, when the computer program is executed by a processor, the computer-readable storage medium is controlled Execute any one of the above data caching methods.

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 caching method and device and a computer readable storage medium. The method comprises the following steps: monitoring a main version number of a target data storage medium to obtain a monitoring result; when the monitoring result shows that the main version number changes, comparing the main version number with the current version number of the target data cache center to obtain a version number comparison result; when it is determined that the version number comparison result shows that the main version number is larger than the current version number, obtaining update data in the target data storage medium based on the main version number; and caching the updated data to the target data caching center. The technical problems that the data updating automation degree is low and the workload of operation and maintenance personnel is large due to the fact that the compatibility of the cache data updating assembly is poor in the related technology are solved.

Description

technical field [0001] The present invention relates to the field of data processing, in particular, to a data caching method and device thereof, and a computer-readable storage medium. Background technique [0002] In the current local cache solution, cache components such as spring cache, google gauva, and ehance are commonly used to manage cached data. The data cache of these solutions requires developers to write additional code to manage, which is relatively intrusive to the application. [0003] Although the local cache implemented by the application itself can also meet the fast data access requirements, because the cache data management logic is not universal, manual refresh is required when the data is updated, etc., requiring additional workload to complete the cache requirements. [0004] In addition, through the use of middleware centralized cache management cache data, the introduction of cache middleware system will increase the cost of system maintenance and o...

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): G06F8/71G06F8/65G06F16/22G06F16/23G06F16/2455G06F16/2458
Inventor 牛新庄倪一鸣吴迪孙杉
Owner POSBANK
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products