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

Information storage method and device

A technology for information storage and object information, applied in the computer field, can solve problems such as data inconsistency and erroneous deletion, and achieve the effect of avoiding erroneous deletion and ensuring consistency

Active Publication Date: 2021-08-13
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When the program goes through several iterations and adds or deletes some caches, it is easy to delete a certain cache information by mistake, such as missing or deleting a certain cache information, resulting in data inconsistency between the database and the cache area

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
  • Information storage method and device
  • Information storage method and device
  • Information storage method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] The application 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 related inventions, rather than to limit the invention. It should also be noted that, for the convenience of description, only the parts related to the related invention are shown in the drawings.

[0028] It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and embodiments.

[0029] figure 1 An exemplary system architecture 100 to which embodiments of the information storage method or information storage device of the present application can be applied is shown.

[0030] Such as figure 1 As shown, the system architecture 100 may include termina...

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 embodiment of the present application discloses an information storage method and device. A specific implementation of the method includes: receiving an information storage request, wherein the information storage request includes a key-value pair, an expiration time, and object information of a specified object; storing the key-value pair in a cache, and The expiration time sets the expiration time value of the key-value pair in the cache area; the key of the key-value pair and the expiration time are correspondingly included in the information set associated with the object information, and the information set stored in the cache. When the object information changes, the cached information can be deleted accurately, thereby avoiding the wrong deletion of information and ensuring the consistency of the data in the database and the cache area.

Description

technical field [0001] The present application relates to the field of computer technology, specifically to the field of communication technology, and especially to an information storage method and device. Background technique [0002] In order to improve the performance of the query interface of the system, a copy of the information in the database can be cached in the cache area. This way, queries can be made directly in the cache. Usually when the data in the database changes, in order to maintain data consistency, it is necessary to delete all related data in the cache. [0003] In the prior art, deleting relevant data in the cache requires technical personnel to write specific content to be deleted during the development stage. Therefore, the relationship between data and cache is realized by hardcoding the program. When the program goes through several iterations and adds or deletes some caches, it is easy to delete a certain cache information by mistake, such as m...

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/23G06F16/2455
CPCG06F16/2365G06F16/24552
Inventor 雷利博罗超
Owner BEIJING JINGDONG SHANGKE INFORMATION 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