Data caching achieving method

A data cache and data technology, which is applied in the direction of electrical digital data processing, special data processing applications, memory address/allocation/relocation, etc., can solve the problems of lack of cache and database data consistency functions, and solve the problem of data consistency , avoid performance overhead, and reduce the number of requests

Active Publication Date: 2014-03-05
曙光信息系统(辽宁)有限公司 +1
View PDF4 Cites 35 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, the cache and database data consistency functions are lacking in the prior art

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
  • Data caching achieving method
  • Data caching achieving method
  • Data caching achieving method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] The specific implementation manners of the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0038] Such as figure 1 The data cache intermediate architecture diagram is as follows:

[0039] The application obtains the data information in the cache through the data cache middleware.

[0040] When the application modifies data, it writes the data in the database through the data cache middleware and updates the data in the cache at the same time.

[0041] The data cache middleware obtains the update cycle through the configuration information, and the data cache middleware regularly updates the data in the cache according to the update cycle to maintain the consistency of the data in the cache and the data in the database.

[0042] Among them, the data in the database has an update time field, which records the update time. When the update period is set to a large value, the data cache middleware will compare th...

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 relates to a data caching achieving method. The method includes the steps that firstly, data information in caches is acquired by an application program through data middleware; secondly, when data are modified through the application program, the data in a database are written in through the data middleware, and data in the caches are updated at the same time; thirdly, an updating cycle is acquired by the data middleware through configuration information; fourthly, the data in the caches are regularly updated by the data middleware according to the updating cycle to keep the data in the caches assistant with the data in the database. The data caching achieving method improves the response speed of data reading and system performance, effectively achieves the consistency of the data in the caches and the data in the database and the purposes of guaranteeing data consistency and improving system performance within a certain period of time, reduces the number of times of the occasions that a system has the request of calling the database, and reduces performance expenses for database calling.

Description

technical field [0001] The invention belongs to data cache technology, and in particular relates to a method for realizing data cache. Background technique [0002] With the popularization of the network, the data frequently used by users is managed by caching (Cache) technology, thereby reducing the pressure on the server to re-request and improving the access speed of the website. There are many caching technologies. The so-called data caching refers to a technology in which the data in the database is not directly transmitted, but temporarily stored in memory. The direct purpose of data caching is to improve the response speed of reading data and realize the The timely response to data query and the use of data cache can greatly reduce the number of database operations in the case of large access volumes, reduce system load and improve system performance. The data is called to the memory, and then read from the memory, which can greatly improve the reading speed. There ...

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): G06F12/08G06F9/54G06F17/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