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

Data cache processing method, device and system

A data caching and processing method technology, applied in the computer field, can solve the problems of low hit rate of system file data, poor computer system execution efficiency, etc., and achieve the effect of improving hit probability and execution efficiency

Active Publication Date: 2016-03-30
HUAWEI TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, in the existing cache technology, when the data in the cache is replaced according to LRU, any data accessed in the computer system is cached according to LRU, and the cache performs the same cache operation on any type of data in the computer system , which makes the data of important IO processes in the computer system, such as system file data, have a low hit rate during access, making the execution efficiency of the computer system poor

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 cache processing method, device and system
  • Data cache processing method, device and system
  • Data cache processing method, device and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0054] figure 1 It is a schematic flowchart of a data cache processing method provided in Embodiment 1 of the present invention. This embodiment can be applied to a computer system, and is used to cache data in the computer system, specifically, as figure 1 As shown, the method of this embodiment may include the following steps:

[0055] Step 101, obtaining the data type of the data to be cached;

[0056] Step 102. Obtain the priority of the data to be cached according to the data type and a preset priority mapping table, wherein the preset priority mapping table includes the data type and the priority corresponding to the data type;

[0057] Step 103, based on the priority of the data to be cached, store the data to be cached in the cache according to the priority, and update the cache queue of the cache;

[0058] Wherein, the cache queues of the cache include cache queues corresponding to each priority, and the cache queues corresponding to each priority correspond to the...

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 present invention provides a data caching processing method, an apparatus and a system. The method comprises: obtaining a data type of data to be cached; obtaining a priority of the data to be cached according to the data type and a predefined priority mapping table, wherein the predefined priority mapping table comprises the data type and the priority corresponding to the data type; and storing the data to be cached to a cache according to the priority of the data to be cached, and updating a cache queue of the cache. A technical scheme in embodiments of the present invention can perform caching processing on the data to be cached based on the priority of the data type, enable the data with a high priority to remain in the cache for a long period, and thus improve a hit rate in the cache upon high-priority data access.

Description

technical field [0001] Embodiments of the present invention relate to computer technology, and in particular, to a data cache processing method, device and system. Background technique [0002] Cache technology is a common technology for data access in computer systems. When a computer system accesses data, it can place the most recently accessed data in the cache. In this way, when the computer system needs to re-access data, it can be stored through the cache. Read data, improve data read and write efficiency. [0003] When the existing cache technology processes the cached data, it usually adopts the least recently used (Least Recently Used, LRU) cache replacement algorithm to process the cached data in the cache, that is, when the computer system accesses the data, the most recently accessed data is kept in the In the cache, the data that has not been accessed for the longest time is replaced out of the cache to ensure that the data cached in the cache is the most recen...

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 Patents(China)
IPC IPC(8): G06F12/126G06F12/123
CPCG06F12/126
Inventor 李明君
Owner HUAWEI TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More