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

Cache consistency verification method, device, server and storage medium

A verification method and consistency technology, applied in memory systems, instruments, computing, etc., can solve the problems of not being able to adapt to normal business needs, reduce the operating efficiency and accuracy of application programs, and avoid abnormal business operations and improve operating efficiency and the effect on accuracy

Active Publication Date: 2022-02-11
SHENZHEN LEXIN SOFTWARE TECH CO LTD
View PDF10 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, the existing technology cannot ensure that the objects in the cache are completely consistent with the online objects currently running online, which leads to the inability of the application to meet normal business needs when it is running or upgrading, and reduces the operating efficiency and accuracy of the application.

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 consistency verification method, device, server and storage medium
  • Cache consistency verification method, device, server and storage medium
  • Cache consistency verification method, device, server and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0024] figure 1 It is a flow chart of a cache consistency verification method provided by Embodiment 1 of the present invention. This embodiment is applicable to the case where an application program calls a cache object, and the method can be executed by a cache consistency verification device. The method specifically includes the following steps:

[0025] Step 110: Determine the digital signature of the online object running online according to the attribute information of the online object associated with the cached object.

[0026] In a specific embodiment of the present invention, the object refers to the data content that needs to be loaded to the server when the application program is running or upgrading, and the attribute information of the object may include at least one attribute and specific data associated with the attribute. Correspondingly, the online object refers to the latest version of the data content released online according to the development or update ...

Embodiment 2

[0035] On the basis of the first embodiment above, this embodiment provides a preferred implementation of the cache consistency verification method, which can run or upgrade an application program according to the cache object. figure 2 A flow chart of a cache consistency verification method provided in Embodiment 2 of the present invention, as shown in figure 2 As shown, the method includes the following specific steps:

[0036] Step 210, if it is detected that a new version of the online object exists during online operation, acquire attribute information of the new version of the online object.

[0037] In a specific embodiment of the present invention, the version update of the online object may be an application program operator to optimize the product in order to develop new functions for the application program or improve the performance of a certain aspect of the application program. Correspondingly, there may be modification, increase or decrease of attribute infor...

Embodiment 3

[0059] image 3 It is a schematic structural diagram of a cache consistency verification device provided by Embodiment 3 of the present invention. This embodiment is applicable to the case where an application program calls a cache object, and the device can implement the cache consistency verification described in any embodiment of the present invention. test method. Specifically, the device includes:

[0060] A signature determination module 310, configured to determine the digital signature of the online object running online according to the attribute information of the online object associated with the cached object;

[0061] The cache verification module 320 is configured to verify the consistency of the cache according to the digital signature of the cached object in the cache and the digital signature of the online object.

[0062] Further, the device further includes a cache setting module 330; the cache setting module 330 is specifically used for:

[0063] Before ...

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 embodiments of the present invention disclose a cache consistency check method, device, server and storage medium. The method includes: determining the digital signature of the online object running online according to the attribute information of the online object associated with the cached object; checking the consistency of the cache according to the digital signature of the cached object in the cache and the digital signature of the online object test. In the embodiment of the present invention, by determining and comparing the digital signatures of the associated objects in the cache and in the online operation, the consistency of the cache is verified, and the inconsistency between the cache object and the online object causes abnormal business operation to be avoided, thereby improving the efficiency of the cache. Application efficiency and accuracy.

Description

technical field [0001] Embodiments of the present invention relate to the technical field of data caching, and in particular, to a caching consistency checking method, device, server, and storage medium. Background technique [0002] With the development of computer technology, corresponding application programs emerge in endlessly. During the use of the application, one of the inevitable problems faced is the application upgrade. The so-called upgrade means that the application program operator optimizes the product in order to develop new functions for its application program or improve the performance of a certain aspect of the application program. [0003] In the prior art, in order to improve the running and upgrading efficiency of the application program, online objects are cached in the cache middleware in advance. When the application is running or upgrading, the required cache objects are directly obtained from the cache middleware to run or upgrade the applicatio...

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): G06F12/0815
CPCG06F12/0815
Inventor 陈雪桂廖俊
Owner SHENZHEN LEXIN SOFTWARE 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