Data-storage device and data maintenance method thereof

    公开(公告)号:US10296231B2

    公开(公告)日:2019-05-21

    申请号:US15863889

    申请日:2018-01-06

    Abstract: The present invention provides a data storage device including a flash memory and a controller. The controller receives a read command arranged to read data from a host, determines a plurality of read tasks by analyzing the read command, and determines task time of each of the read tasks according to the number of the read tasks and an I/O latency time. In a first read task of the read tasks, the controller reads a part of the data and transmits the read part to the host, and executes a first maintenance process according to a predetermined condition, wherein the predetermined condition includes a remain time and the remain time is the task time minus the time spent by the first read task.

    Data-storage device and block-releasing method

    公开(公告)号:US10340025B2

    公开(公告)日:2019-07-02

    申请号:US15863887

    申请日:2018-01-06

    Abstract: The present invention provides a data-storage device. The data-storage device includes a flash memory and a controller. The flash memory has a plurality of blocks and each of the blocks has a plurality of pages. The blocks include a plurality of bad blocks that are labeled as damaged. The controller selects one of the bad blocks as a test block, and reads the pages in the test block to determine whether the pages in the test block are damaged. When all the pages in the test block are undamaged, the controller labels the test block as a spare block.

Patent Agency Ranking