A data caching method and device

A data caching and data technology, applied in the field of data processing, can solve the problem of low data caching efficiency and achieve the effect of improving speed and efficiency

Active Publication Date: 2021-10-15
NSFOCUS INFORMATION TECHNOLOGY CO LTD +2
View PDF10 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The present invention provides a data caching method and device to solve the problem of low data caching efficiency existing 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
  • A data caching method and device
  • A data caching method and device
  • A data caching method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0065] 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. Obviously, the described embodiments are only some embodiments of the present invention, rather than all embodiments . Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0066] It should be noted that a plurality referred to in the present invention refers to two or more. "And / or" describes the association relationship of associated objects, indicating that there may be three types of relationships, for example, A and / or B may indicate: A exists alone, A and B exist simultaneously, and B exists independently. The character " / " generally indicates that the contextual objects are an "or" relationship. In ad...

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 provides a data caching method and device to solve the problem of low data caching efficiency in the prior art. Including: obtaining the first read cost used to indicate the time required to read a piece of data from the disk, and the second read cost used to indicate the time required to read a piece of data from the preset memory; obtain the disk The first space occupancy and the number of accesses of each disk file in the multiple disk files stored on the computer; the first space occupancy is used to characterize the storage space occupied by hot data in the disk file; according to the first read cost, the second 2. Read cost, first space occupation and access times of each disk file, determine the access cost of each disk file; determine among multiple disk files according to the first space occupation and access cost of each disk file Output the disk file to be cached, and cache the hotspot data in the disk file to be cached to the preset memory.

Description

technical field [0001] The invention relates to the field of data processing, in particular to a data caching method and device. Background technique [0002] A large number of systems or devices generally store data on disks. However, with the development of the Internet era, data is increasing rapidly. The traditional way of accessing disks to obtain data has been difficult to meet the processing speed requirements of users for systems or devices. [0003] At present, in order to meet the user's demand for processing speed, the developer usually extracts some data from the disk and caches it in the memory manually. However, this method has high requirements for the developer, and requires the developer to analyze the value of the data and understand the space of the memory. The size is more error-prone, which is not conducive to improving the efficiency of data caching. Contents of the invention [0004] The invention provides a data caching method and device to solve 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 Patents(China)
IPC IPC(8): G06F12/0866
CPCG06F12/0866
Inventor 杨方方苗宇何坤叶晓虎
Owner NSFOCUS 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