IP Library › Granted Patent US 10,168,926
Granted Patent B2
US 10,168,926 · App. 15/256,939 · Granted Jan 1, 2019

Method of operating data storage device and method of operating data processing system including same

Inventors: Myung Jin Jung (Yongin-si, KR); Sang Yoon Oh (Suwon-si, KR); Hyun Sik Yun (Hwaseong-si, KR); Hyun Jin Choi (Suwon-si, KR)
Assignee: Samsung Electronics Co., Ltd.
G06F3/0619G06F3/0659G06F3/0685G06F12/0253G06F2212/702
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,168,926
App. No.
15/256,939
Granted
Jan 1, 2019
Kind
B2
Abstract

A method of operating a data storage device performing garbage collection in response to locality information for pages of a data block. The method includes acquiring mapping table information for the plurality of pages, and determining validity of each one of the plurality of pages while scanning mapping tables indicated by mapping table information associated with the plurality of pages.

Claims (39)

1. A method of operating a data storage device, the method comprising:

acquiring mapping table information including mapping tables associated with a plurality of pages of a data block; and

determining validity for each page among the plurality of pages by detecting a number of the mapping tables, comparing the number of mapping tables with a reference value to generate a comparison result, and determining the validity for each page among the plurality of pages based on the comparison result.

2. The method of claim 1 , wherein the mapping table information comprises an index value for at least one of the mapping tables.

3. The method of claim 1 , wherein the mapping table information is stored in at least one of the plurality of pages.

4. The method of claim 3 , wherein the mapping table information is stored in a spare area of the least one of the plurality of pages.

5. The method of claim 1 , wherein the acquiring of the mapping table information comprises reading a bitmap, the bitmap being stored in at least one of the plurality of pages.

6. The method of claim 5 , wherein the bitmap is updated whenever data is written to any one of the plurality of pages.

7. A method of operating a data storage device including a data block storing a plurality of pages divided into a first page group and a second page group, the method comprising:

acquiring mapping table information including a first mapping table for the first page group and a second mapping table for the second page group;

performing garbage collection for the first page group by determining validity for each page of the first page group with reference to the first mapping table, and separately performing garbage collection for the second page group by determining validity for each page of the second page group with reference to the second mapping table.

8. The method of claim 7 , wherein the determining of the validity for each page of the first page group comprises:

acquiring the first mapping tables by reading a meta page storing the mapping table information;

detecting a physical page number assigned to each page of the first page group with reference to the first mapping table; and

determining whether each page having the detected physical page number among the pages of the first page group is a valid page.

9. The method of claim 8 , wherein the determining of the validity for each page of the second page group comprises:

acquiring the second mapping tables by reading a meta page storing the mapping table information;

detecting a physical page number assigned to each page of the second page group with reference to the second mapping table; and

determining whether each page having the detected physical page number among the pages of the second page group is a valid page.

10. The method of claim 7 , further comprising:

moving data of a valid page of the first page group to another data block based on the determining of the validity.

11. The method of claim 7 , further comprising:

receiving a command from a host to perform garbage collection on the data block; and

performing garbage collection for the first page group and separately performing garbage collection for the second page group in response to the command.

12. The method of claim 7 , wherein the mapping table information further includes index value for at least one of the first and second mapping tables.

13. The method of claim 7 , wherein the mapping table information is stored in at least one of the plurality of pages.

14. The method of claim 13 , wherein the at least one of the plurality of pages stores meta data.

15. The method of claim 7 , further comprising:

during the garbage collection for the first page group, moving data from at least one page of the first page group determined to be valid to another data block before erasing the data block; and

during the garbage collection for the second page group, moving data from at least one page of the second page group determined to be valid to the another data block before erasing the data block.

16. A method of operating a data processing system including a data storage device including a memory cell array, the method comprising:

determining a locality value for a data block of the memory cell array, wherein the data block includes a plurality of pages;

comparing the locality value of the data block to a locality reference value to generate a comparison result;

selecting a page validity determination method from a plurality of page validity determination methods in response to the comparison result; and

using the selected page validity determination method to determine the validity of each one of the plurality of pages.

17. The method of claim 16 , wherein plurality of page validity determination methods comprises a first page validity determination method that acquires mapping table information by reading a meta page of the data block, searches a mapping table indicated by the mapping table information for a physical page number, and determines whether a page among the plurality of pages is a valid page using the physical page number.

18. The method of claim 16 , wherein plurality of page validity determination methods comprises a second page validity determination method that, for each one of the plurality of pages, acquires a logical page number for the page, reads a meta page storing a mapping table for the logical page number, and determines the validity of the page by referencing the mapping table.

19. The method of claim 16 , wherein the locality value indicates a first number of mapping tables associated with the plurality of pages and the locality reference value indicates a second number of mapping tables.

20. The method of claim 19 , wherein the first number of mapping tables is derived by referencing a bitmap for mapping table information related to mapping tables associated with the plurality of pages.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 6, 2016
From: JUNG, MYUNG JIN; OH, SANG YOON; YUN, HYUN SIK; CHOI, HYUN JIN
To: SAMSUNG ELECTRONICS CO., LTD.
Reel/Frame 039645/0382 →
Priority Claims (1)
KR 10-2015-0128407 · Sep 10, 2015 · national
Continuity (1)
Related Publication 20170075600A1 · Mar 16, 2017