摘要 |
PROBLEM TO BE SOLVED: To provide a data storage device and a data maintenance method.SOLUTION: There is provided a data storage device comprising a flash memory, a temperature sensor, and a controller. The flash memory includes a plurality of blocks each of which includes a plurality of pages. The temperature sensor detects a peripheral environmental temperature and generates temperature parameters accompanying environmental temperature change. The controller performs a first maintenance step on the data storage device after a prescribed time. In the first maintenance step, the controller reads the temperature sensor, acquires a first temperature parameter, determines a first period according to first prescribed conditions including the first temperature parameter, and performs a second maintenance step after the first maintenance step is completed and the first period elapses. |