Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Data caching method and device

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

Active Publication Date: 2020-01-17
NSFOCUS INFORMATION TECHNOLOGY CO LTD +2
View PDF10 Cites 5 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
  • Data caching method and device
  • Data caching method and device
  • 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, which are used for solving the problem of low data caching efficiency in the prior art. The method comprises the steps of obtaining a first reading cost used for indicating a time length required for reading one piece of data from a disk, and a second reading cost used for indicating a time length required for reading one piece of data froma preset memory; obtaining a first space occupation amount and an access frequency of each disk file in a plurality of disk files stored on a disk; wherein the first space occupation amount is used for representing the size of the storage space occupied by the hotspot data in the disk file; determining the access cost of each disk file according to the first reading cost, the second reading cost,the first space occupation amount of each disk file and the access frequency; and determining a to-be-cached disk file in the plurality of disk files according to the first space occupation amount andthe access cost of each disk file, and caching the hotspot data in the to-be-cached disk file to a 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
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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products