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

Information storage method and device

A technology of 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: 2019-07-16
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF7 Cites 6 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 invention discloses an information storage method and device. A specific embodiment of the method comprises the following steps: receiving an information storage request which comprises a key value pair, expiration time and object information of a specified object; storing the key value pair into a cache region, and setting an expiration time value of the key value pair in the cache region according to the expiration time; and correspondingly classifying keys of the key value pairs and the expiration time into an information set associated with the object information, andstoring the information set into the cache region. The cached information can be accurately deleted when the object information is changed, so that wrong deletion of the information is avoided, and the consistency of the database and the data in the cache region is ensured.

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 some cache information by mistake, such as missin...

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 Applications(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