| CPC G06F 3/0614 (2013.01) [G06F 3/0659 (2013.01); G06F 3/0679 (2013.01)] | 18 Claims |

|
1. A data storing method for a memory storage device, wherein the memory storage device comprises a memory controller and a memory module, and the memory module is divided into a storage area and an idle area, the data storing method comprising:
obtaining a plurality of program/erase counts and a plurality of program/erase period values of a plurality of physical erasing units in the storage area;
calculating a plurality of data cold and hot degrees according to the plurality of program/erase counts and the plurality of program/erase period values;
selecting a first physical erasing unit according to the plurality of data cold and hot degrees, and selecting a second physical erasing unit according to the plurality of data cold and hot degrees; and
writing data stored in the first physical erasing unit to the second physical erasing unit.
|