Data storage device and data maintenance method thereof
AssigneeSilicon Motion, Inc.
InventorsChia-Han Yen, Hung-Ta Hsu
Life of this patent
Estimating the term…
Abstract
A data storage device including a flash memory and a controller. The controller performs a first read operation on the pages of a first block of a first block group, and performs a maintenance process to determine whether the first group read count of the first block group is greater than a read threshold when the first read operation is finished. The controller scans the blocks of the first block group to obtain a plurality of first error bit numbers when the first group read count is greater than the read threshold, and updates the block corresponding to the first error bit number that is greater than an error-bit threshold.
Claims13
A data storage device, comprising:
- a flash memory, having a plurality of blocks, and each of the blocks has a plurality of pages;
- and
- a controller, configured to perform a maintenance process in background, wherein in the maintenance process:
- the controller is configured to determine whether a total read count is greater than a total read threshold,
- if yes, that is, if the total read count is greater than the total read threshold, the controller is configured to scan each of the blocks to obtain a plurality of error bit numbers corresponding to the blocks, and update the block corresponding to the error bit number which is greater than an error-bit threshold.
A data maintenance method, applied to a data storage device of a flash memory, wherein the flash memory has a plurality of blocks, each of blocks has a plurality of pages, and the data maintenance method comprises:
- performing a maintenance process in background, wherein in the maintenance process:
- determining whether a total read count is greater than a total read threshold;
- and
- if yes, that is, if the total read count is greater than the total read threshold, scanning each of the blocks to obtain a plurality of error bit numbers corresponding to the blocks, and update the block corresponding to the error bit number which is greater than the error-bit threshold.
A data storage device, comprising:
- a flash memory, having a plurality of blocks and each of the blocks has a plurality of pages, and the blocks are divided into a plurality of block groups;
- and
- a controller, configured to accumulate a total read count of one of the block groups when one of the block groups is read, configured to determine whether the total read count is greater than a total read threshold in background, and if yes, configured to locate a block in one of the block groups by determining whether an error bit number of the block is greater than an error-bit threshold and update the block in background.
Dependencies are inferred from the claim text.