Business cache updating method and device

An update method and cache technology, applied in the database field, can solve the problem of not being able to update the business cache in real time

Inactive Publication Date: 2017-08-29
JUHAOKAN TECH CO LTD
View PDF5 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In order to solve the problem in the related art that the service cache cannot be updated in real time in the layered cache, the present invention provides a service cache update method and device

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
  • Business cache updating method and device
  • Business cache updating method and device
  • Business cache updating method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present invention. Rather, they are merely examples of apparatuses and methods consistent with aspects of the invention as recited in the appended claims.

[0030] At present, there are two update schemes for business cache. The first one is the hotspot update cache scheme. This scheme is only updated when the user accesses the required business data in the business cache and the business data exceeds the preset time limit. The second is the scheme of updating the full cache regularly, which is to regularly update all the business data in the business c...

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 discloses a business cache updating method and device. The method comprises the steps that data table change records are obtained by monitoring changes of data tables in a database; the data tables in a data table cache are updated according to the data table change records, and an updating state result is obtained, wherein the updating state result is used for indicating whether the data tables in the data table cache are updated successfully or not; when the updating state result indicates that the data tables in the data table cache are successfully updated, business records relevant to the updated data tables are generated; data assembly is conducted according to the business records to obtain business data, and the business data is updated into a business cache. The changes of the data tables in the database are monitored, the data table change records are obtained in real time, then the business records are obtained, and the business cache is updated according to the business records, so that the real-time updating of the business cache is achieved, the accuracy of network services is ensured, and the accuracy of the network services is improved.

Description

technical field [0001] The invention relates to the field of databases, in particular to a method and device for updating service cache. Background technique [0002] With the rapid development of network technology, users have put forward higher requirements for the access speed and accuracy of network services. In order to meet the access needs of a large number of users, the method of adding cache on the basis of database is generally adopted. However, with the enrichment of business content and the increase in the number of users in the network environment, single-layer caching technology has been unable to cope with the surge in data volume. The currently widely used caching technology is hierarchical caching technology, that is, the first-level cache is a data table cache, that is, database tables are cached, and the second-level cache is a business cache, that is, business data is cached. [0003] At present, there are two update schemes for the business cache. The f...

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
CPCG06F16/24552G06F16/2365G06F16/24539
Inventor 王绍民刘希伟张华仁曾瑞
Owner JUHAOKAN TECH CO LTD
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