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.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com