Data storage method and device, and storage medium

A technology for data storage and storage media, applied in memory systems, electrical digital data processing, and input/output processes of data processing, etc. Problems such as inaccurate judgment of hot data status, to achieve the effect of improving accuracy, reducing the probability of reading disks, and improving stability

Inactive Publication Date: 2018-11-16
BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF7 Cites 19 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, in R2M, the standard for judging the data state is relatively simple, which will cause inaccurate judgment of the cold data state and hot data state, which will increase the probability of the system reading the disk, resulting in poor system stability.

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0067] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. 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.

[0068] The terms "first", "second", "third" and "fourth" (if any) in the description and claims of the present invention and the above drawings are used to distinguish similar objects without necessarily using Used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances such that the embodiments of the invention described herein can be practiced in sequences other than those ...

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 storage method and device, and a storage medium. The method comprises the steps of receiving a data storage request sent by a client, wherein the data storage request comprises to-be-stored data; determining a state of the to-be-stored data according to LFU and LRU of the to-be-stored data, wherein the state is a cold data state or a hot data state; and according to the state of the to-be-stored data, determining the storage medium corresponding to the to-be-stored data, and storing the to-be-stored data in the storage medium. According to the data storage methodand device, and the storage medium provided by the invention, the probability of reading a magnetic disk can be reduced, and the stability of a system is improved.

Description

technical field [0001] The present invention relates to data storage technology, in particular to a data storage method, device and storage medium. Background technique [0002] With the rapid development of the Internet, the amount of data has increased explosively, and the back-end storage that carries business data is facing higher challenges, especially the KV cache system that supports high-throughput services. In the scenario of massive data storage, memory costs A substantial increase. In order to solve the storage cost problem of the KV cache system, a KV cache system with memory combined with disk storage can usually be used. [0003] In the prior art, R2M is a commonly used method of storing data in combination with memory and disk. R2M is based on the heat statistics algorithm of the least frequently used (LFU) of the key-value key to identify the state of the data as a hot data state. , the above data will be stored in the memory, and the data in the cold data ...

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 Applications(China)
IPC IPC(8): G06F3/06
CPCG06F3/0607G06F3/0613G06F3/0638G06F3/068G06F3/061G06F3/0683G06F12/122G06F12/123G06F2212/401G06F3/0656G06F3/0608G06F12/0871G06F12/0868G06F2212/312G06F2212/261G06F2212/154G06F3/0647H03M7/30
Inventor 张健
Owner BEIJING BAIDU NETCOM SCI & TECH 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