IP Library Granted Patent US 10,997,039
Granted Patent B2
US 10,997,039 · App. 16/554,306 · Granted May 4, 2021

Data storage device and operating method thereof

Inventors: Duck Hoi Koo (Gyeonggi-do, KR); Yong Tae Kim (Seoul, KR); Soong Sun Shin (Gyeonggi-do, KR); Cheon Ok Jeong (Gyeonggi-do, KR)
Assignee: SK hynix Inc.
G06F11/1469G06F3/065G06F3/0616G06F3/0619G06F3/0679G06F11/1441G06F11/1451G06F12/0246G06F12/0253G06F2201/805G06F2201/82G06F2212/1041G06F2212/7205
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 10,997,039
App. No.
16/554,306
Granted
May 4, 2021
Kind
B2
Abstract

A method for operating a data storage device which includes a nonvolatile memory device including a plurality of memory blocks, includes generating a valid page count table including the number of valid pages of each of closed blocks among the plurality of memory blocks in which data are written in all pages thereof and the number of valid pages of at least one open block among the plurality of memory blocks in which data is written in a part of pages thereof; generating a valid page scan table including a scan pointer for scanning the number of valid pages of the open block; and backing up the valid page count table and the valid page scan table in a meta block among the plurality of memory blocks.

Claims (20)

1. A data storage device comprising:

a nonvolatile memory device including a plurality of memory blocks; and

a controller configured to generate a scan pointer indicating a page next to a page which is lastly stored with data in an open block among the plurality of memory blocks, scan valid pages among pages from the page indicated by the scan pointer to a last page of the open block to count the number of the valid pages when a predetermined event occurs, and update a valid page count table including a valid page count of the open block by increasing the valid page count by the number of the valid pages.

2. The data storage device according to claim 1 , wherein the controller reads out the valid page count table and the scan pointer from a meta block among the plurality of memory blocks when a predetermined event occurs.

3. The data storage device according to claim 2 , wherein the predetermined event is a recovery from a power failure state.

4. The data storage device according to claim 1 , wherein the controller generates a valid page scan table including the scan pointer, when a memory block among the plurality of memory blocks is newly opened.

5. The data storage device according to claim 4 , wherein the controller backs up the valid page count table and the valid page scan table in a meta block among the plurality of memory blocks, after generating the valid page scan table.

6. The data storage device according to claim 1 , wherein the controller updates a valid page scan table including the scan pointer, when a memory block among the plurality of memory blocks is newly opened and the valid page scan table is generated already.

7. The data storage device according to claim 1 , wherein the valid page count table includes the number of valid pages of each of closed blocks among the plurality of memory blocks in which data are written in all pages thereof and the number of the valid pages of the open block in which data is written in a part of pages thereof.

8. The data storage device according to claim 1 , wherein the controller decreases a valid page count of a memory block including an invalid page corresponding to a valid page of the open block based on the number of valid pages of the memory block.

9. A data storage device comprising:

a nonvolatile memory device including a plurality of memory blocks; and

a controller configured to generate a scan pointer indicating a page next to a page which is lastly stored with data in an open block among the plurality of memory blocks, and manage a valid page count of the open block based on the scan pointer when a recovery is made from a power failure state.

10. The data storage device according to claim 9 , wherein the controller generates the scan pointer, when a memory block among the plurality of memory blocks is newly opened.

11. The data storage device according to claim 9 , wherein the controller updates the scan pointer, when a memory block among the plurality of memory blocks is newly opened and the scan pointer is generated already.

12. The data storage device according to claim 9 , wherein the controller manages a valid page count table including the number of valid pages of each of closed blocks among the plurality of memory blocks in which data are written in all pages thereof and the number of valid pages of the open block in which data is written in a part of pages thereof.

13. The data storage device according to claim 12 , wherein the controller backs up the valid page count table and the scan pointer in a meta block among the plurality of memory blocks, when a memory block among the plurality of memory blocks is newly opened.

14. The data storage device according to claim 13 , wherein the controller reads out the valid page count table and the scan pointer when a recovery is made from a power failure state.

15. The data storage device according to claim 9 , wherein the controller scans valid pages among pages from the page indicated by the scan pointer to a last page of the open block to count the number of the valid pages.

16. The data storage device according to claim 15 , wherein the controller increases the valid page count by the number of the valid pages, and decreases a valid page count of a memory block including an invalid page corresponding to a valid page of the open block based on the number of valid pages of the memory block.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 7, 2024
From: SK HYNIX INC.
To: MIMIRIP LLC
Reel/Frame 067335/0246 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 28, 2019
From: KOO, DUCK HOI; KIM, YONG TAE; SHIN, SOONG SUN; JEONG, CHEON OK
To: SK HYNIX INC.
Reel/Frame 050204/0292 →