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

Data processing method and device of SSD hard disk

A data processing device and data processing technology, applied in the field of information processing, can solve the problems of reducing disk life, reducing read and write efficiency, and non-partitioning of hot and cold data writing, and achieve the effect of reducing the number of erasing and writing and improving the efficiency of garbage collection.

Inactive Publication Date: 2018-06-29
SHENZHEN YILIAN INFORMATION SYST CO LTD
View PDF5 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present invention provides a data processing method and device for an SSD hard disk, which solves the problem of non-partitioning of cold and hot data in the prior art, resulting in low efficiency of garbage collection, which not only reduces the efficiency of reading and writing, but also reduces the technical issues of life

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 processing method and device of SSD hard disk
  • Data processing method and device of SSD hard disk
  • Data processing method and device of SSD hard disk

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0038] The embodiment of the present application provides a data processing method of an SSD hard disk, figure 1 It is a schematic flowchart of a data processing method for an SSD hard disk in an embodiment of the present invention. Such as figure 1 As shown, the data includes cold data and hot data, and the method includes:

[0039] Step 110: Divide the cache area into a cold data cache storage area and a hot data cache storage area; divide the user area into a hot data area, a cold data area, a hot data garbage collection area, and a cold data garbage collection area;

[0040] Step 120: When the data is cold data, store the data in the cold data cache storage area;

[0041] Step 130: When the data in the cold data cache storage area is full, write the data into the cold data area;

[0042] Step 140: When a garbage collection operation is required, select the block with the smallest amount of valid data from all user areas;

[0043] Step 150: When the block with the small...

Embodiment 2

[0048] Based on the same inventive concept as the data processing method of an SSD hard disk in the foregoing embodiments, the present invention also provides a data processing device for an SSD hard disk, such as figure 2 shown, including:

[0049] The first partition unit 11, the first partition unit 11 is used to distinguish the cache area into a cold data cache storage area and a hot data cache storage area; distinguish the user area into a hot data area, a cold data area, and a hot data area Garbage collection area, cold data garbage collection area;

[0050] The first storage unit 12, the first storage unit 12 is used to store the data in the cold data cache storage area when the data is cold data;

[0051] The first writing unit 13, the first writing unit 13 is used to write data into the cold data area when the data in the cold data cache storage area is full;

[0052] A first selection unit 14, the first selection unit 14 is configured to select a block with the sm...

Embodiment 3

[0062] Based on the same inventive concept as the data processing method of an SSD hard disk in the foregoing embodiments, the present invention also provides a data processing device for an SSD hard disk, on which a computer program is stored, and when the program is executed by a processor, the aforementioned A step in any method of a data processing method for an SSD hard disk.

[0063] Among them, in image 3 In, bus architecture (represented by bus 300), bus 300 may include any number of interconnected buses and bridges, bus 300 will include one or more processors represented by processor 302 and various types of memory represented by memory 304 circuits linked together. The bus 300 may also link together various other circuits, such as peripherals, voltage regulators, and power management circuits, etc., which are well known in the art and thus will not be further described herein. The bus interface 306 provides an interface between the bus 300 and the receiver 301 and...

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 processing method and device of a SSD hard disk and relates to the technical field of information processing. The method includes: dividing a cache region into a cold data cache storage region and a hot data cache storage region; dividing user regions into a hot data region, a cold data region, a hot data waste recycling region and a cold data waste recycling region;when data are cold data, storing the data in the cold data cache storage region; when the cold data cache storage region is in a state of being full of data, writing the data into the cold data region; when waste recycling operation needs to be performed, selecting a block with smallest effective data amount from all user regions; when the block with the smallest effective data amount is a hot data block, writing the block into the hot data waste recycling region. The data processing method has the advantages that waste recycling efficiency is improved, and the number of erasing times of the SSD hard disk is reduced.

Description

technical field [0001] The invention relates to the technical field of information processing, in particular to a data processing method and device for an SSD hard disk. Background technique [0002] The most efficient garbage collection mechanism in the existing technology hopes to select the storage block containing the least valid data each time, thereby improving the efficiency of garbage collection. [0003] However, in the process of realizing the technical solution of the present invention, the inventor of the present application found that the above-mentioned prior art has at least the following technical problems: [0004] In the existing technology, hot and cold data are written without partitioning, resulting in low garbage collection efficiency. Cold data will also be moved around with garbage collection, which not only reduces the read and write efficiency, but also reduces the life of the disk. Contents of the invention [0005] The embodiment of the present...

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): G06F3/06
CPCG06F3/061G06F3/0656G06F3/0688
Inventor 刘文静李强张红蕾
Owner SHENZHEN YILIAN INFORMATION SYST 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