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

Update method and update device of cached data

A technology for caching data and updating methods, applied in the computer field, can solve problems such as inability to guarantee data consistency, and achieve the effects of improving user experience, ensuring consistency, and reducing the consumption of system resources

Inactive Publication Date: 2017-01-04
BEIJING QIHOO TECH CO LTD +1
View PDF13 Cites 22 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, when the data in the database is updated, if the original data is cached in the memory, when there is a corresponding request, the original data cached in the memory is still obtained instead of the updated new data, so the data cannot be guaranteed. consistency

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
  • Update method and update device of cached data
  • Update method and update device of cached data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0050] Embodiments of the present invention are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals designate the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary only for explaining the present invention and should not be construed as limiting the present invention.

[0051] Those skilled in the art will understand that unless otherwise stated, the singular forms "a", "an", "said" and "the" used herein may also include plural forms. It should be further understood that the word "comprising" used in the description of the present invention refers to the presence of said features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, Integers, steps, operations, elements, components, and / or groups thereof. It will be unders...

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 provides an update method and an update device of cached data. The method comprises the following steps: monitoring a data update operation in a database, and creating a process that an operation is executed for a cache region when a monitoring result shows that first data is subjected to the update operation; through the process, deleting the cached data corresponding to the first data which is subjected to the update operation in the database in the cache region; and when a data acquisition request which aims at the first data is received, searching the corresponding updated first data from the database, and storing the updated first data to the cached region. By use of the technical scheme, the data in the database is guaranteed to be consistent with the corresponding cached data in the cache region, so that the user can be guaranteed to obtain correct data in real time. Meanwhile, when a great quantity of data is updated, the corresponding cached data in the cache region can prevent from being frequently updated, the consumption of system resources is lowered, data processing efficiency is improved, and the use experience of the user is improved.

Description

technical field [0001] The present invention relates to the field of computer technology, and in particular, the present invention relates to a method for updating cached data and a device for updating cached data. Background technique [0002] With the continuous development of computer technology, people's lives are increasingly dependent on various applications, and more and more data access operations will be generated. When the amount of data access is large, in order to improve the speed of data access , some large websites that require frequent access to the database usually use a distributed cache system. [0003] In the prior art, the workflow of the distributed cache system is: when receiving the request data, first check whether the request data is in the memory cache, if so, directly return the request data to the corresponding requester, and no longer update the database Do any operation; if the requested data is not in the memory cache, then go to the database...

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): G06F17/30
CPCG06F16/23
Inventor 郭军
Owner BEIJING QIHOO TECH CO LTD