Data processing method and storage device
A storage device and data processing technology, applied in the storage field, can solve the problems of accelerating the end of the life of the storage unit and the dominant high ECC error correction index, so as to avoid the effect of unavailability
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0028] Such as figure 2 As shown, the data processing method recorded in this embodiment includes:
[0029] Step 201, detecting status information of at least one storage unit in a storage device.
[0030] The state information of the storage device includes at least one of the following information: error checking and correction (ECC, Error Correcting Code) information of the storage unit; erasure times supported by the storage unit; historical information of reading and erasing error correction of the storage unit.
[0031] The storage unit can be a physical division of the storage medium, or a logical division of the storage medium; the storage unit can be the smallest storage unit in the storage device, taking SSD as an example, the storage unit can use page (4KB), of course, the page capacity can also be used Integer multiples of ; taking a mechanical hard disk as an example, the storage unit can be a sector (sector) capacity, generally 4KB, of course, an integer multip...
Embodiment 2
[0048] Such as image 3 As shown, the data processing method described in this embodiment includes:
[0049] Step 301, detecting status information of at least one storage unit in a storage device.
[0050] The state information of the storage device includes at least one of the following information: error checking and correction (ECC, Error Correcting Code) information of the storage unit; erasure times supported by the storage unit; historical information of reading and erasing error correction of the storage unit.
[0051] Step 302, analyzing the status information of at least one storage unit in the storage device, and marking the at least one storage unit based on the status information.
[0052] The mark of the storage unit can be written into the storage space of each storage unit, for example, use symbols or numbers encoded in a specific format (such as a combination of binary numbers) to represent different marks, and write the mark of each storage unit into In the...
Embodiment 3
[0073] A storage unit with a high-level mark can not only respond to the data operation request of the data to be operated at the corresponding operation level, but also respond to the data operation request of the data to be operated at a level lower than the corresponding operation level (such as responding to data corresponding to cold data and high-cold data) operation request);
[0074] The storage unit with a low-level mark can only support the data operation request corresponding to the data to be operated at the corresponding level, and cannot respond to the data operation request of the data to be operated at a higher level than the corresponding operation level (for example, it cannot respond to data corresponding to hot data or high-heat data). operation request) to avoid rapidly depleting the useful life of the storage unit.
[0075] The implementation of step 305 in the second embodiment will be described below based on the above solution.
[0076] Such as imag...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


