A method and system for updating cache in real time

A real-time update and cache technology, applied in the field of search, can solve the problem that cached data cannot be updated in real time and affect the user experience, so as to improve the user experience and reduce the time spent.

Inactive Publication Date: 2011-12-14
赵香芳
View PDF4 Cites 24 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present invention provides a method and system for updating the cache in real time, aiming to solve the problem in the prior art that the cache data cannot be updated in real time and affect the user experience

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
  • A method and system for updating cache in real time
  • A method and system for updating cache in real time
  • A method and system for updating cache in real time

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] In order to make the object, technical solution and advantages of the present invention clearer, the present invention 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 the present invention, not to limit the present invention.

[0032] see figure 1 , is a flow chart of the method for updating cache in real time according to the first embodiment of the present invention. The method for updating the cache in real time according to the first embodiment of the present invention includes the following steps:

[0033] Step 100: Add an update cache function to the resource management server;

[0034] In step 100, the resource management server is used by background editors to perform resource editing operations. The existing resource management server can only perform resource record addition, modification and deletion operatio...

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 belongs to the field of search technique, particularly relating to a method and system for updating cache in real time. The method for updating cache in real time comprises the following steps: step a: adding a cache updating function to a resource management server; step b: judging whether a resource record is changed, executing step c if the resource record is changed, and finishing the cache updating this time if the resource record is not changed; and step c: adding a new resource record to a database and updating the cache data in a cache list in real time. The technical scheme provided by the invention can not only ensure real-time updating on the changed resource record, but also abandon the mechanism of one-day expiration, thus the time taken by the server for searching again in the database for all keywords every day can be lessened and the user experience can be improved.

Description

technical field [0001] The invention belongs to the technical field of searching, and in particular relates to a method and system for updating cache in real time. Background technique [0002] At present, keyword search is a relatively common service in mobile Internet application services. When a user submits a keyword search, multiple sub-products need to be matched on the server side. For example, when a user searches for "Andy Lau", the sub-products that need to be matched on the server side may include: music, ringtones, e-books, videos, pictures, news, gossip, etc. Because each sub-product resource record is stored separately in a data table, when performing a keyword search, the server needs to search the data table of each sub-product separately, and finally summarize all the search results required by the user . [0003] There are two main search methods in the prior art. The first search method is: every time a user submits a keyword search, the server will go t...

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): G06F17/30
Inventor 鲁林
Owner 赵香芳
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