Patent ID: 8898405

Claim:
A method for static wear leveling in non-violate storage device, comprising the steps of: step SA 01 : recording occupied count and erasure count of each physical block in the non-violate storage device; step SA 02 : judging if a controller issues an erase command to the non-violate storage device; step SA 03 : incrementing the erasure count of an erasure block by one while data is erased from the erasure block according to the erase command; step SA 04 : incrementing the occupied count of an occupied block by one while data is written to the occupied block; step SA 05 : triggering wear leveling while the difference between the highest occupied count of a non-occupied block and the lowest erasure count of the occupied block exceeds a predetermined value; step SA 06 : choosing a block having higher occupied count and lower erasure count to move; and step SA 07 : moving data stored in the block chosen in step SA 06 .