Data caching method in multiple buffer storages according to weight information

A buffer memory and data cache technology, which is applied in the field of law, can solve problems such as prolonging writing and accessing time, complex calculations and queries, and achieve the effects of improving hit rate, throughput, and access efficiency

Active Publication Date: 2013-10-09
FUJIAN RUIJU INFORMATION TECHNOLOGY CO LTD
View PDF1 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Existing replacement algorithms require calculations, especially complex

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 method in multiple buffer storages according to weight information
  • Data caching method in multiple buffer storages according to weight information
  • Data caching method in multiple buffer storages according to weight information

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] Preferred embodiments of the present invention are further described below with reference to the accompanying drawings.

[0040] In the present invention, "low weight" and "low weight" refer to the same content, that is, have a lower weight. Similarly, "high weight" and "high weight" refer to the same content, that is, have higher weight. Similarly, "medium weight" and "medium weight" refer to the same content, that is, have an intermediate level of weight. The weight of the obvious high weight, medium weight, and low weight decreases in turn. Among them, the data to be cached with high weight is system data, core data, key data, or data that needs to be accessed and written recently, or data with high frequency of access and write, etc. The data to be cached with low weight is Specific user data, specific application data, data that has not been accessed for a long time, or data with low access and write frequency, etc., the generation cache data with medium weight i...

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

A data caching method in multiple buffer storages according to weight information comprises the steps of receiving data to be cached, receiving weight information of the data to be cached, writing the data to be cached into a first buffer storage when the weight information of the data to be cached indicates the fact that the weights of the data to be cached are low weights, writing the data to be cached into a second buffer storage when the weight information of the data to be cached indicates the fact that the weights of the data to be cached are high weighs, and carrying out replacing operations based on the weight information respectively under the condition that the first buffer storage and the second buffer storage cannot meet buffer needs. Through the data caching method in the multiple buffer storages according to the weight information, the multiple buffer storages are used for respective storage, respective replacement is carried out according to the weight information of the data to be cached at the same time, and the overall performance of the buffer storages is improved.

Description

technical field [0001] The present invention relates to the field of data storage, in particular to a method for caching data, in particular to a method for caching data by using multiple buffer memories, and in particular to a method for respectively buffering according to the weight information of the data to be cached, which is used in the process of system operation Perform data caching, and improve the performance and efficiency of caching by replacing the cached data in the buffer memory. Background technique [0002] When the CPU wants to read a piece of data, it first searches it from the cache, and if it finds it, it reads it immediately and sends it to the CPU for processing; The data block is loaded into the cache, so that the entire block of data can be read from the cache in the future without calling the memory. It is this reading mechanism that makes the CPU read cache hit rate very high (most CPUs can reach about 90%), that is to say, 90% of the data to be r...

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): G06F12/08G06F12/12G06F12/0811
Inventor 毛力
Owner FUJIAN RUIJU INFORMATION TECHNOLOGY 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