Operating method for data storage device
AssigneeSilicon Motion, Inc.
InventorsHong-Jung Hsu, Chen-Hui Hsu
Life of this patent
Estimating the term…
Abstract
An operating method for a data storage device is provided. The operating method includes steps of: dividing a mapping table into a plurality of sub-mapping tables; receiving an access command comprising a data address and a command category; determining whether a target sub-mapping table corresponding to the data address has been cached, wherein the target sub-mapping table is one of the sub-mapping tables; and if false, reading and caching the target sub-mapping table from the sub-mapping tables.
Claims20
An operating method for a data storage device including a control unit, a non-volatile storage medium, and a volatile storage medium, comprising:
- dividing a mapping table stored in the non-volatile storage medium of the data storage device into a plurality of sub-mapping tables, and storing the plurality of sub-mapping tables in the non-volatile storage medium of the data storage device and caching some of the plurality of sub-mapping tables in the volatile storage medium of the data storage device;
- receiving an access command comprising a data address and a command category;
- determining whether a target sub-mapping table corresponding to the data address has been cached, wherein the target sub-mapping table is one of the sub-mapping tables;
- if false, reading and caching the target sub-mapping table from the sub-mapping tables to the volatile storage medium of the data storage device;
- and
- copying the target sub-mapping table from the volatile storage medium of the data storage device to a volatile storage medium of the control unit when accessing the target sub-mapping table.
An operating method for a data storage device including a control unit, a non-volatile storage medium, and a volatile storage medium, comprising:
- dividing a mapping table stored in the non-volatile storage medium of the data storage device into a plurality of sub-mapping tables, and storing the plurality of sub-mapping tables in the non-volatile storage medium of the data storage device, and caching a portion of the sub-mapping tables in the volatile storage medium of the data storage device, and the portion of the sub-mapping tables is a plurality of cached sub-mapping tables and recorded in a cache table;
- receiving an access command comprising a data address and a command category;
- determining whether a target sub-mapping table corresponding to the data address is one of the cached sub-mapping tables according to the cache table;
- if false, reading and using the target sub-mapping table to replace one of the cached sub-mapping tables and updating the cache table;
- and
- copying the target sub-mapping table from the volatile storage medium of the data storage device to a volatile storage medium of the control unit when accessing the target sub-mapping table.
Dependencies are inferred from the claim text.