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

Data storage method and device

A data storage and data technology, applied in the field of data storage methods and devices, can solve the problems of occupying memory capacity and underutilizing memory resources, etc., and achieve the effect of improving storage capacity

Active Publication Date: 2015-12-30
BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF2 Cites 28 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For the data in the memory, in the existing storage methods, the data with low access frequency is also stored in the memory, occupying the memory capacity, so there is a problem of not fully utilizing the memory resources

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 storage method and device
  • Data storage method and device
  • Data storage method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] The application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain related inventions, rather than to limit the invention. It should also be noted that, for the convenience of description, only the parts related to the related invention are shown in the drawings.

[0034] It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and embodiments.

[0035] figure 1 An exemplary system architecture 100 to which embodiments of the data storage method or data storage device of the present application can be applied is shown.

[0036] Such as figure 1 As shown, the system architecture 100 may include terminal devices 101 ...

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 discloses a data storage method and device. The method comprises the specific steps of obtaining current access times of data in a storage system, wherein the storage system comprises storage media of one or more storage levels, and the storage levels are associated with the read-write speed; according to the current access times of the data and the storage levels of the storage media where the data are stored, calculating a cache hit rate of the storage system; judging whether the cache hit rate equals to a preset hit rate or not; if the cache hit rate does not equal to the preset hit rate, migrating the data in the storage media, so that the cache hit rate obtained after migration equals to the preset hit rate. According to the data storage method and device, storage capacity of the storage media different in read-write speed is effectively utilized, storage efficiency of the storage system is improved, and thereby efficiency of processing data access requests is improved.

Description

technical field [0001] The present application relates to the technical field of electrical data processing, in particular to the technical field of data exchange network, and in particular to a data storage method and device. Background technique [0002] Cache memory (cache) is a memory located between a central processing unit (Central Processing Unit, CPU) and a dynamic random access memory (Dynamic Random Access Memory, DRAM). , SRAM) composition. In the storage system, the speed of the CPU is much higher than that of the memory. When the CPU directly accesses data from the memory, it has to wait for a certain period of time, and the cache can save a part of the data that the CPU has just used or recycled. If the CPU needs to use the data again Part of the data can be called directly from the cache, thus avoiding repeated access to data, reducing the waiting time of the CPU, thus improving the efficiency of the system. Distributed cache storage service can further imp...

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/08
Inventor 张东阳
Owner BEIJING BAIDU NETCOM SCI & TECH CO LTD
Features
  • Generate Ideas
  • 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