发明名称 |
Method and device for recovering erroneous data |
摘要 |
A method for recovering erroneous data is disclosed, the method includes: when data in a storage block that is included in a solid state disk (SSD) is read, performing a first error check on data on a certain page of the storage block to acquire erroneous data on the page; if a first number of pieces of the erroneous data on the page is smaller than or equal to a preset first threshold, performing an error checking and correction (ECC) recovery on the data on the page; and if the first number is greater than the preset first threshold, acquiring data from spare space according to a storage position of the erroneous data on the page and a fixed entry corresponding to the storage block, and replacing the erroneous data on the page with the acquired data, where the fixed entry includes a storage position of each data stored in the spare space. |
申请公布号 |
US9280301(B2) |
申请公布日期 |
2016.03.08 |
申请号 |
US201414501368 |
申请日期 |
2014.09.30 |
申请人 |
Huawei Technologies Co., Ltd. |
发明人 |
Bao Huiqiang;Wang Dayong;Wang Rongsheng |
分类号 |
G11C29/00;G06F3/06;G06F11/10 |
主分类号 |
G11C29/00 |
代理机构 |
Conley Rose, P.C. |
代理人 |
Conley Rose, P.C. ;Rodolph Grant;Stegge Adam J. |
主权项 |
1. A method for recovering erroneous data, comprising:
performing a first error check on data on a certain page of a storage block to acquire erroneous data on the page when data in the storage block that is comprised in a solid state disk is read; performing an error checking and correction (ECC) recovery on the data on the page when a first number of pieces of the erroneous data on the page is smaller than or equal to a preset first threshold; and acquiring data from spare space according to a storage position of the erroneous data on the page and a fixed entry corresponding to the storage block when the first number is greater than the preset first threshold; and replacing the erroneous data on the page with the acquired data when the first number is greater than the preset first threshold, wherein the fixed entry comprises a storage position of each data stored in the spare space. |
地址 |
Shenzhen CN |