Patent ID: 8296501
Filing Date: 2012-10-23
Classification: G06F

Abstract:
1. A memory management method for a non-volatile memory, wherein the non-volatile memory is divided into a plurality of blocks, the memory management method comprising: (a) recording each corrected bit number of an error correction code (ECC) of a plurality of memory units, wherein each of the memory units comprises at least one block; and (b) establishing an evaluation value, and determining whether to move data of at least one block on the memory units to another memory unit according to the evaluation value; wherein the step (b) comprises: calculating the corrected bit number of an error correction code (ECC) generated when each of the blocks is read, and the calculation result serves as the evaluation value; judging whether the evaluation value exceeds a threshold value; and marking or weighting the corresponding block if the evaluation value exceeds the threshold value, and selecting the block in priority for data moving, wherein in the step (b), corrected bit number of the ECC of the blocks of the memory units is weighted to erasing times of the memory units to serve as the evaluation value.