发明名称 Data storage device and method for flash block management
摘要 A data storage includes a flash memory and a controller. The flash memory comprises a spare block pool and a data block pool, wherein the spare block pool comprises a plurality of spare blocks, and the data block pool comprises a plurality of data blocks, wherein the spare blocks with erase counts higher than a hot threshold are determined as hot spare blocks, and a hot spare block count indicates a total number of the hot spare blocks. The controller receives target data from the host, writes the target data to a current data block, determines whether a current programming page is the first page of the current data block, determines whether the hot spare block count is greater than zero when the current programming page is the first page, and sets data move information for a wear-leveling process when the hot spare block count is greater than zero.
申请公布号 US9223691(B2) 申请公布日期 2015.12.29
申请号 US201213484224 申请日期 2012.05.30
申请人 SILICON MOTION, INC. 发明人 Cheng Chang-Kai;Lin Yen-Hung
分类号 G06F12/02 主分类号 G06F12/02
代理机构 McClure, Qualey & Rodack, LLP 代理人 McClure, Qualey & Rodack, LLP
主权项 1. A data storage device, coupled to a host, comprising: a flash memory, comprising a spare block pool and a data block pool, wherein the spare block pool comprises a plurality of spare blocks, and the data block pool comprises a plurality of data blocks, wherein the spare blocks with erase counts higher than a hot threshold are determined as hot spare blocks, and a hot spare block count indicates a total number of the hot spare blocks; and a controller, receiving target data from the host, writing the target data to a current data block, determining whether a current programming page is the first page which is on the first most position of physical arrangement of the current data block, determining whether the hot spare block count is greater than zero when the current programming page is the first page, setting data move information for a wear-leveling process when the hot spare block count is greater than zero, determining whether the data move information is set when the current page is not the first page, and performing a wear-leveling process according to the data move information when the data move information is set.
地址 Jhubei, Hsinchu County TW