IP Library Granted Patent US 9,747,173
Granted Patent B2
US 9,747,173 · App. 15/345,785 · Granted Aug 29, 2017

Data storage devices and data maintenance methods

Inventor: Kuan-Yu Ke (Zhubei, TW)
Assignee: SILICON MOTION, INC.
G06F11/1469G06F3/065G06F3/0619G06F3/0679G06F2201/84
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 9,747,173
App. No.
15/345,785
Granted
Aug 29, 2017
Kind
B2
Abstract

A data storage device is provided. The data storage device includes a flash memory and a controller. The flash memory includes a plurality of blocks. Each block includes a plurality of pages. when the data storage device is resumed from a power-off event, the controller selects a first block which was written last before the power-off event among the plurality of blocks and writes data of a plurality of first pages of the first block into a plurality of second pages of the first block.

Claims (28)

1. A data storage device comprising:

a flash memory comprising a plurality of blocks, wherein each block comprises a plurality of pages; and

a controller, when the data storage device is resumed from a power-off event, selecting a first block which was written last before the power-off event among the plurality of blocks and writing data of a plurality of first pages of the first block into a plurality of second pages of the first block.

2. The data storage device as claimed in claim 1 , wherein the first block further comprises a plurality of word lines, the first block is a multi-level cell (MLC) block, and each word line of the first block is used to control two of the pages of the first block.

3. The data storage device as claimed in claim 2 , wherein when the data storage device is resumed from the power-off event, the controller selects the page which was written last before the power-off event among the pages of the first block to serve as a base page and determines the first pages according to a first word line which is used to control the base page among the word lines.

4. The data storage device as claimed in claim 3 , wherein the first pages are the pages which have valid data among a plurality of third pages, and the third pages are controlled by the first word line and at least one second word line arranged antecedently to the first word line.

5. The data storage device as claimed in claim 4 , wherein the controller further writes dummy data into the pages which do not have any valid data among the third pages.

6. The data storage device as claimed in claim 1 , wherein the controller further determines whether there are backups of the first pages in a backup block and writes the data of the first pages which do not have any backups in the backup block into the backup block.

7. The data storage device as claimed in claim 6 , wherein according to the data which is stored in the backup block and corresponds to the first pages, the controller further performs a writing operation on the second pages to write the data of the first pages into the second pages.

8. The data storage device as claimed in claim 6 , wherein data protection capability of the backup block is higher than that of the first block.

9. The data storage device as claimed in claim 8 , wherein the first block is a multi-level cell (MLC) block, and the backup block is a single-level cell (SLC) block.

10. A data maintenance method for a data storage device with a flash memory, the data storage device comprises a plurality of blocks, and each block comprising a plurality of pages, and the data maintenance method comprises:

when the data storage device is resumed from a power-off event, selecting a first block which was written last before the power-off event among the plurality of blocks; and

writing data of a plurality of first pages of the first block into a plurality of second pages of the first block.

11. The data maintenance method as claimed in claim 10 , wherein the first block further comprises a plurality of word lines, the first block is a multi-level cell (MLC) block, and each word line of the first block is used to control two of the pages of the first block.

12. The data maintenance method as claimed in claim 11 further comprising:

selecting the page which was written last before the power-off event among the pages of the first block to serve as a base page; and

determining the first pages according to a first word line which is used to control the base page among the word lines.

13. The data maintenance method as claimed in claim 12 , wherein the first pages are the pages which have valid data among a plurality of third pages, and the third pages are controlled by the first word line and at least one second word line arranged antecedently to the first word line.

14. The data maintenance method as claimed in claim 13 further comprising:

writing dummy data into the pages which do not have any valid data among the third pages.

15. The data maintenance method as claimed in claim 10 further comprising:

determining whether there are backups of the first pages in a backup block; and

writing the data of the first pages which do not have any backups in the backup block into the backup block.

16. The data maintenance method as claimed in claim 15 , wherein the step of writing data of the first pages of the first block into the second pages of the first block comprises:

according to the data which is stored in the backup block and corresponds to the first pages, performing a writing operation on the second pages to write the data of the first pages into the second pages.

17. The data maintenance method as claimed in claim 15 , wherein data protection capability of the backup block is higher than that of the first block.

18. The data maintenance method as claimed in claim 17 , wherein the first block is a multi-level cell (MLC) block, and the backup block is a single-level cell (SLC) block.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 8, 2016
From: KE, KUAN-YU
To: SILICON MOTION, INC.
Reel/Frame 040252/0861 →
Priority Claims (1)
TW 105122007 A · Jul 13, 2016 · national
Continuity (2)
Provisional Application 62254806 · Nov 13, 2015
Related Publication 20170139784A1 · May 18, 2017