Data-storage device and flash memory control method
AssigneeSilicon Motion, Inc.
InventorChang-Kai Cheng
Life of this patent
Estimating the term…
Abstract
A data-storage device having a flash memory allocated to provide data-storage space, a valid page count table, logical-to-physical address mapping information, and an invalid block record. The data-storage device further having a controller, allocating the data-storage space to store data issued from a host, and establishing and maintaining the valid page count table, the logical-to-physical address mapping information, and the invalid block record in the FLASH memory to manage the data-storage space. A FLASH memory control method is also provided.
Claims12
A data-storage device, comprising:
- a FLASH memory, allocated to provide data-storage space, a valid page count table, logical-to-physical address mapping information, and an invalid block record;
- and
- a controller, allocating the data-storage space to store data issued from a host, and establishing and maintaining the valid page count table, the logical-to-physical address mapping information, and the invalid block record in the FLASH memory to manage the data-storage space,
- wherein:
- the controller updates the logical-to-physical address mapping information after an update of the valid page count table is completed;
- the controller maintains the invalid block record based on the valid page count table;
- wherein:
- every round of updating the valid page count table, the logical-to-physical address mapping information, and the invalid block record is followed by backing up the valid page count table, the logical-to-physical address mapping information, and the invalid block record to the FLASH memory as power-restoration information;
- and
- in power restoration, the controller uses the power-restoration information to update the valid page count table, the logical-to-physical address mapping information, and the invalid block record first and then compares an event record with the logical-to-physical address mapping information to further update the valid page count table and then continuously maintains the valid page count table, the logical-to-physical address mapping information, and the invalid block record.
A FLASH memory control method, comprising:
- allocating data-storage space of FLASH memory to store data issued by a host;
- establishing and maintaining a valid page count table, logical-to-physical address mapping information, and a invalid block record in the FLASH memory, wherein the logical-to-physical address mapping information is updated after an update of the valid page count table is completed, and the invalid block record is maintained based on the valid page count table;
- and
- managing the data-storage space by the valid page count table, the logical-to-physical address mapping information, and the invalid block record;
- after every round of updating the valid page count table, the logical-to-physical address mapping information, and the invalid block record, backing up the valid page count table, the logical-to-physical address mapping information, and the invalid block record into the FLASH memory as power-restoration information;
- and
- in power restoration, using the power-restoration information to update the valid page count table, the logical-to-physical address mapping information, and the invalid block record first and then comparing an event record with the logical-to-physical address mapping information to further update the valid page count table and then continuously maintaining the valid page count table, the logical-to-physical address mapping information, and the invalid block record.
Dependencies are inferred from the claim text.