Data storage method and data storage device

A data storage and data technology, applied in the field of data processing, can solve problems such as affecting the service life of SSD, and achieve the effect of solving the problem of write amplification and prolonging the service life

Active Publication Date: 2016-01-06
HUAWEI TECH CO LTD +1
View PDF4 Cites 46 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, in the data storage method in the prior art, the problem of write amplification generated when updating small-grained data will seriously affect the service life of SSD

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0070] The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0071] In order to make the above objects, features and advantages of the present application more obvious and comprehensible, the present application will be further described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0072] figure 1 It is a flowchart of Embodiment 1 of the data storage method of the present invention. Such as figure 1 As shown, the method may include:

[0073] Step 101: Obtain the data that needs to be ...

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 a data storage device. The method comprises the following steps of: obtaining data to be stored into a solid-state hard disk from a memory; caching the data into a magnetic hard disk in a data structure being a log structure merging tree; executing a merging operation on the data cached in the magnetic hard disk; and when the volume of the data cached in the magnetic hard disk reaches the preset volume, storing the merged data into the solid-state hard disk. By using the method or the device provided by the invention, the write amplification problem generated during the updating of small-particle-size data can be solved; and the service life of the solid-state hard disk is prolonged.

Description

technical field [0001] The present application relates to the field of data processing, in particular to a data storage method and device. Background technique [0002] With the development of flash memory-based solid state storage technology, solid state disks (Solid State Disk, SSD) are gradually introduced into storage systems. Because of its high random read performance at small granularity, SSDs are usually used in application scenarios that require high read and write (I / O) operations per second (Input / OutputOperationsPerSecond, IOPS). [0003] On the other hand, a multi-way search tree (B-tree) is a more common data structure. Using the B-tree structure can significantly reduce the intermediate process of locating records, thereby speeding up access. Therefore, in order to further improve the data access speed, most of the data in the SSD in the prior art is stored using a B-tree data structure. [0004] In SSD, the way to update data is remote update. The so-call...

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
Inventor 刘扬宽熊劲岳银亮张子刚
Owner HUAWEI 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