US 11086537
Method and system to perform urgency level garbage collection based on write history of memory blocks
Granted 2021-08-10 · Filed 2019-09-19 · Application 16/575,642 · Utility · Kind B2 · Prior publication US 2020/0174668 A1, 2020-06-04
- Assignee as printed
- SK hynix Inc., Seojong-myeon (KR)
- Inventors
- Eu-Joon BYUN, Seojong-myeon (KR)
- CPC, current
- G06F3/0608; G06F3/064; G06F3/0604; G06F3/0652; G06F3/0653; G06F3/0679; G06F12/0253; G06F2212/1044; G06F2212/7205
Abstract
A memory system may include: a memory device including a plurality of memory blocks; and a controller configured to control the memory device, wherein the controller comprises: a block level manager configured to determine a level for each of the plurality of memory blocks based on write history of writing data to the memory device, and manage a cold block based on the level; and a garbage collection manager configured to determine a garbage collection urgent level based on a result of comparing a free block count and a first threshold value, and manage whether to perform a garbage collection operation for the cold block based on the determined garbage collection urgent level.
The claims as the USPTO long-text file prints them (text data version 20261117.3), split by PatentRef's claim parser (structure version 2): each claim's opening words, then one row for each element with its character offsets in the claim text, and the dependent claims under the claim they refer to. The split describes the text; it is not a reading of it. Each claim and each element has a link of its own. How the links are made.
Claim 1
Independent claim.
1. A memory system comprising:
- Claim 1, element e1a memory device including a plurality of memory blocks; and 31–85
- Claim 1, element e2a controller configured to control the memory device, 91–143
- Claim 1, element e3wherein the controller is configured to compare a free block count and a first threshold value, select a cold block, determined based on write history of writing data to the memory device, among the plurality of memory blocks when the free block count is equal to or greater than the first threshold value, and perform a garbage collection operation for a selected block.145–515
8 dependent claims: 2 to 8 and 27 (2, 6, 27 on claim 1; 3, 4 on 2; 5 on 4; 7, 8 on 6)
Claim 2
Depends on claim 1.
2. The memory system of claim 1 , wherein
- Claim 2, element e1the controller comprises a block level manager configured to a level for each of the plurality of memory blocks based on the write history, and wherein the block level manager comprises: 42–227
- Claim 2, element e2a block arrangement component configured to allocate a sequence number to each of the plurality of memory blocks based on the write history; 229–368
- Claim 2, element e3a block level determination component configured to set one of a plurality of levels for each of the plurality of memory blocks according to the sequence number; and 370–530
- Claim 2, element e4a storage configured to store information about the memory blocks corresponding to sequence numbers and the set levels in a block level list.536–676
Claim 3
Depends on claim 2.
3. The memory system of claim 2 , wherein
- Claim 3, element e1the block arrangement component allocates the sequence number for each of the plurality of memory blocks in ascending order according to the write history.42–196
Claim 4
Depends on claim 2.
4. The memory system of claim 2 , wherein
- Claim 4, element e1the plurality of levels include first to N-th level sections, 42–102
- Claim 4, element e2wherein the block level manager determines the level and the level section for each of the plurality of memory blocks such that a memory block having a lower sequence number among the allocated sequence numbers belongs to a lower level section among the first to N-th level sections, and wherein the cold block belongs to the first level section and a hot block belongs to the N-th level section.104–499
Claim 5
Depends on claim 4.
5. The memory system of claim 4 , wherein
- Claim 5, element e1the block level manager adjusts the level section for each of the plurality of memory blocks based on one of write history of the memory block and predetermined numbers of the first to N-th level sections.42–246
Claim 6
Depends on claim 1.
6. The memory system of claim 1 , wherein
- Claim 6, element e1the controller comprises a garbage collection manager configured to determine a garbage collection urgent level based on a comparison result of the free block count and the first threshold value, and wherein the garbage collection manager comprises: 42–290
- Claim 6, element e2a garbage collection level determination component configured to determine the garbage collection urgent level by comparing the free block count and the first threshold value; 292–466
- Claim 6, element e3a first garbage collection component configured to perform, when the determination result indicates that the free block count is equal to or greater than the first threshold value, a first garbage collection operation; and 468–685
- Claim 6, element e4a second garbage collection component configured to perform, when the determination result indicates that the free block count is less than the first threshold value, a second garbage collection operation.691–895
Claim 7
Depends on claim 6.
7. The memory system of claim 6 , wherein
- Claim 7, element e1the first garbage collection component comprises: 42–90
- Claim 7, element e2a first victim block selector configured to select one or more victim blocks among the cold blocks corresponding to the first level; and 92–223
- Claim 7, element e3a first garbage collection performer configured to copy valid pages included in the victim blocks to empty pages of a free block, erase the victim blocks and set the erased victim blocks to free blocks, 229–430
- Claim 7, element e4wherein the first victim block selector selects, as the victim blocks, one or more cold blocks in an increasing number of invalid pages, or in a decreasing number of valid pages, among the cold blocks.432–632
Claim 8
Depends on claim 6.
8. The memory system of claim 6 , wherein
- Claim 8, element e1the second garbage collection component comprises: 42–91
- Claim 8, element e2a second victim block selector configured to select one or more victim blocks among the plurality of memory blocks; and 93–207
- Claim 8, element e3a second garbage collection performer configured to copy valid pages included in the victim blocks to empty pages of a free block, erase the victim blocks and set the erased victim blocks to free blocks, 213–415
- Claim 8, element e4wherein the second victim block selector selects, as the victim blocks, one or more memory blocks in a decreasing number of valid pages among the plurality of memory blocks.417–589
Claim 27
Depends on claim 1.
27. The memory system of claim 1 , wherein
- Claim 27, element e1the controller is configured to select a victim block, determined based on a number of valid pages, among the plurality of memory blocks when the free block count is less than the first threshold value.43–244
Claim 9
Independent claim.
9. A method of operating a memory system including a memory device including a plurality of memory blocks, and a controller configured to control the memory device, the method comprising:
- Claim 9, element e1determining a level for each of the plurality of memory blocks based on write history of writing data to the memory device to manage a cold block based on the level; and 188–352
- Claim 9, element e2determining a garbage collection urgent level based on a result of comparing a free block count and a first threshold value; 358–481
- Claim 9, element e3selecting the cold block when the free block count is equal to or greater than the first threshold value; and 483–587
- Claim 9, element e4performing a garbage collection operation for a selected block.593–655
10 dependent claims: 10 to 18 and 28 (10, 14, 28 on claim 9; 11, 12 on 10; 13 on 12; 15, 17 on 14; 16 on 15; 18 on 17)
Claim 10
Depends on claim 9.
10. The method of claim 9 , wherein
- Claim 10, element e1the determining of the level for each of the plurality of memory blocks based on the write history of writing data to the memory device to manage the cold block based on the level comprises: 36–225
- Claim 10, element e2allocating a sequence number to each of the plurality of memory blocks based on the write history; 227–324
- Claim 10, element e3setting one of a plurality of levels to each of the plurality of memory blocks according to the sequence number; and 326–437
- Claim 10, element e4storing information about the memory blocks corresponding to sequence numbers and the set levels in a block level list.443–561
Claim 11
Depends on claim 10.
11. The method of claim 10 , wherein
- Claim 11, element e1the allocating of the sequence number to each of the plurality of memory blocks based on the write history comprises: 37–153
- Claim 11, element e2allocating the sequence number for each of the plurality of memory blocks in ascending order according to the write history.155–278
Claim 12
Depends on claim 10.
12. The method of claim 10 , wherein
- Claim 12, element e1the plurality of levels include first to N-th level sections, 37–97
- Claim 12, element e2wherein the level and the level section for each of the plurality of memory blocks are determined such that a memory block of a lower sequence number among the allocated sequence numbers belongs to a lower level section among the first to N-th level sections, and wherein the cold block belongs to the first level section and a hot block belongs to the N-th level section.99–470
Claim 13
Depends on claim 12.
13. The method of claim 12 , wherein
- Claim 13, element e1the level section is adjusted for each of the plurality of memory blocks based on one of write history of the memory block and predetermined numbers of the first to N-th level sections.37–221
Claim 14
Depends on claim 9.
14. The method of claim 9 , wherein
- Claim 14, element e1the performing the garbage collection operation for the cold block comprises: 36–112
- Claim 14, element e2performing, when the determination result indicates that the free block count is equal to or greater than the first threshold value, a first garbage collection operation; and 114–283
- Claim 14, element e3performing, when the determination result indicates that the free block count is less than the first threshold value, a second garbage collection operation.289–444
Claim 15
Depends on claim 14.
15. The method of claim 14 , wherein
- Claim 15, element e1the performing of the first garbage collection operation comprises: 37–103
- Claim 15, element e2when one or more victim blocks is selected among the cold blocks corresponding to the first level, copying valid pages included in the victim blocks to empty pages of a free block, erasing the victim blocks and setting the erased victim blocks to free blocks.105–363
Claim 16
Depends on claim 15.
16. The method of claim 15 , wherein
- Claim 16, element e1the one or more victim blocks is selected among the cold blocks in an increasing number of valid pages, or in a decreasing number of invalid pages, among the cold blocks.37–206
Claim 17
Depends on claim 14.
17. The method of claim 14 , wherein
- Claim 17, element e1the performing of the second garbage collection operation comprises: 37–104
- Claim 17, element e2when selecting one or more victim blocks is selected among the plurality of memory blocks, copying valid pages included in the victim blocks to empty pages of a free block, erasing the victim blocks and setting the erased victim blocks to free blocks.106–356
Claim 18
Depends on claim 17.
18. The method of claim 17 , wherein
- Claim 18, element e1the one or more victim blocks is selected among the plurality of memory blocks in a decreasing number of valid pages among the plurality of memory blocks.37–190
Claim 28
Depends on claim 9.
28. The method of claim 9 , further comprising
- Claim 28, element e1selecting a victim block, determined based on a number of valid pages, among the plurality of memory blocks when the free block count is less than the first threshold value.47–219
Claim 19
Independent claim.
19. An operating method of a controller, the operating method comprising:
- Claim 19, element e1identifying first memory blocks having an older write history than second memory blocks among plural memory blocks within a memory device; 74–211
- Claim 19, element e2identifying third memory blocks having a smaller number of valid pages than fourth memory block among the plural memory block; and 213–338
- Claim 19, element e3controlling the memory device to perform a first garbage collection operation by selecting a victim block among the first memory blocks when a free block count is equal to or greater than a first threshold value.344–555
7 dependent claims: 20 to 26 (20, 21, 22, 25 on claim 19; 23 on 22; 24 on 23; 26 on 25)
Claim 20
Depends on claim 19.
20. The operating method of claim 19 , wherein
- Claim 20, element e1the victim block is selected in an increasing number of valid pages.47–114
Claim 21
Depends on claim 19.
21. The operating method of claim 19 , wherein
- Claim 21, element e1the victim block is selected in a decreasing number of invalid pages.47–115
Claim 22
Depends on claim 19.
22. The operating method of claim 19 , further comprising
- Claim 22, element e1determining urgency of a garbage collection operation based on a number of free blocks among the plural memory blocks.58–175
Claim 23
Depends on claim 22.
23. The operating method of claim 22 , wherein
- Claim 23, element e1the urgency of the garbage collection operation is determined as low when the number of free blocks is greater than a third reference value and as high otherwise.47–208
Claim 24
Depends on claim 23.
24. The operating method of claim 23 ,
- Claim 24, element e1the memory device is controlled to perform the first garbage collection operation when the urgency of a garbage collection operation is determined as low.39–192
Claim 25
Depends on claim 19.
25. The operating method of claim 19 , further comprising
- Claim 25, element e1controlling the memory device to perform a second garbage collection operation by selecting the victim block among the third memory blocks when the free block count is less than the first threshold value.58–261
Claim 26
Depends on claim 25.
26. The operating method of claim 25 , wherein
- Claim 26, element e1the victim block is selected among the plural memory block in a decreasing number of valid pages among the plurality of memory blocks.47–180
1. A memory system comprising: a memory device including a plurality of memory blocks; and a controller configured to control the memory device, wherein the controller is configured to compare a free block count and a first threshold value, select a cold block, determined based on write history of writing data to the memory device, among the plurality of memory blocks when the free block count is equal to or greater than the first threshold value, and perform a garbage collection operation for a selected block.
2. The memory system of claim 1 , wherein the controller comprises a block level manager configured to a level for each of the plurality of memory blocks based on the write history, and wherein the block level manager comprises: a block arrangement component configured to allocate a sequence number to each of the plurality of memory blocks based on the write history; a block level determination component configured to set one of a plurality of levels for each of the plurality of memory blocks according to the sequence number; and a storage configured to store information about the memory blocks corresponding to sequence numbers and the set levels in a block level list.
3. The memory system of claim 2 , wherein the block arrangement component allocates the sequence number for each of the plurality of memory blocks in ascending order according to the write history.
4. The memory system of claim 2 , wherein the plurality of levels include first to N-th level sections, wherein the block level manager determines the level and the level section for each of the plurality of memory blocks such that a memory block having a lower sequence number among the allocated sequence numbers belongs to a lower level section among the first to N-th level sections, and wherein the cold block belongs to the first level section and a hot block belongs to the N-th level section.
5. The memory system of claim 4 , wherein the block level manager adjusts the level section for each of the plurality of memory blocks based on one of write history of the memory block and predetermined numbers of the first to N-th level sections.
6. The memory system of claim 1 , wherein the controller comprises a garbage collection manager configured to determine a garbage collection urgent level based on a comparison result of the free block count and the first threshold value, and wherein the garbage collection manager comprises: a garbage collection level determination component configured to determine the garbage collection urgent level by comparing the free block count and the first threshold value; a first garbage collection component configured to perform, when the determination result indicates that the free block count is equal to or greater than the first threshold value, a first garbage collection operation; and a second garbage collection component configured to perform, when the determination result indicates that the free block count is less than the first threshold value, a second garbage collection operation.
7. The memory system of claim 6 , wherein the first garbage collection component comprises: a first victim block selector configured to select one or more victim blocks among the cold blocks corresponding to the first level; and a first garbage collection performer configured to copy valid pages included in the victim blocks to empty pages of a free block, erase the victim blocks and set the erased victim blocks to free blocks, wherein the first victim block selector selects, as the victim blocks, one or more cold blocks in an increasing number of invalid pages, or in a decreasing number of valid pages, among the cold blocks.
8. The memory system of claim 6 , wherein the second garbage collection component comprises: a second victim block selector configured to select one or more victim blocks among the plurality of memory blocks; and a second garbage collection performer configured to copy valid pages included in the victim blocks to empty pages of a free block, erase the victim blocks and set the erased victim blocks to free blocks, wherein the second victim block selector selects, as the victim blocks, one or more memory blocks in a decreasing number of valid pages among the plurality of memory blocks.
9. A method of operating a memory system including a memory device including a plurality of memory blocks, and a controller configured to control the memory device, the method comprising: determining a level for each of the plurality of memory blocks based on write history of writing data to the memory device to manage a cold block based on the level; and determining a garbage collection urgent level based on a result of comparing a free block count and a first threshold value; selecting the cold block when the free block count is equal to or greater than the first threshold value; and performing a garbage collection operation for a selected block.
10. The method of claim 9 , wherein the determining of the level for each of the plurality of memory blocks based on the write history of writing data to the memory device to manage the cold block based on the level comprises: allocating a sequence number to each of the plurality of memory blocks based on the write history; setting one of a plurality of levels to each of the plurality of memory blocks according to the sequence number; and storing information about the memory blocks corresponding to sequence numbers and the set levels in a block level list.
11. The method of claim 10 , wherein the allocating of the sequence number to each of the plurality of memory blocks based on the write history comprises: allocating the sequence number for each of the plurality of memory blocks in ascending order according to the write history.
12. The method of claim 10 , wherein the plurality of levels include first to N-th level sections, wherein the level and the level section for each of the plurality of memory blocks are determined such that a memory block of a lower sequence number among the allocated sequence numbers belongs to a lower level section among the first to N-th level sections, and wherein the cold block belongs to the first level section and a hot block belongs to the N-th level section.
13. The method of claim 12 , wherein the level section is adjusted for each of the plurality of memory blocks based on one of write history of the memory block and predetermined numbers of the first to N-th level sections.
14. The method of claim 9 , wherein the performing the garbage collection operation for the cold block comprises: performing, when the determination result indicates that the free block count is equal to or greater than the first threshold value, a first garbage collection operation; and performing, when the determination result indicates that the free block count is less than the first threshold value, a second garbage collection operation.
15. The method of claim 14 , wherein the performing of the first garbage collection operation comprises: when one or more victim blocks is selected among the cold blocks corresponding to the first level, copying valid pages included in the victim blocks to empty pages of a free block, erasing the victim blocks and setting the erased victim blocks to free blocks.
16. The method of claim 15 , wherein the one or more victim blocks is selected among the cold blocks in an increasing number of valid pages, or in a decreasing number of invalid pages, among the cold blocks.
17. The method of claim 14 , wherein the performing of the second garbage collection operation comprises: when selecting one or more victim blocks is selected among the plurality of memory blocks, copying valid pages included in the victim blocks to empty pages of a free block, erasing the victim blocks and setting the erased victim blocks to free blocks.
18. The method of claim 17 , wherein the one or more victim blocks is selected among the plurality of memory blocks in a decreasing number of valid pages among the plurality of memory blocks.
19. An operating method of a controller, the operating method comprising: identifying first memory blocks having an older write history than second memory blocks among plural memory blocks within a memory device; identifying third memory blocks having a smaller number of valid pages than fourth memory block among the plural memory block; and controlling the memory device to perform a first garbage collection operation by selecting a victim block among the first memory blocks when a free block count is equal to or greater than a first threshold value.
20. The operating method of claim 19 , wherein the victim block is selected in an increasing number of valid pages.
21. The operating method of claim 19 , wherein the victim block is selected in a decreasing number of invalid pages.
22. The operating method of claim 19 , further comprising determining urgency of a garbage collection operation based on a number of free blocks among the plural memory blocks.
23. The operating method of claim 22 , wherein the urgency of the garbage collection operation is determined as low when the number of free blocks is greater than a third reference value and as high otherwise.
24. The operating method of claim 23 , the memory device is controlled to perform the first garbage collection operation when the urgency of a garbage collection operation is determined as low.
25. The operating method of claim 19 , further comprising controlling the memory device to perform a second garbage collection operation by selecting the victim block among the third memory blocks when the free block count is less than the first threshold value.
26. The operating method of claim 25 , wherein the victim block is selected among the plural memory block in a decreasing number of valid pages among the plurality of memory blocks.
27. The memory system of claim 1 , wherein the controller is configured to select a victim block, determined based on a number of valid pages, among the plurality of memory blocks when the free block count is less than the first threshold value.
28. The method of claim 9 , further comprising selecting a victim block, determined based on a number of valid pages, among the plurality of memory blocks when the free block count is less than the first threshold value.
The text of each claim as printed, for pasting a claim word for word. The links in the tree view name the same claims and elements.
Status
active
As of 2026-11-17, the USPTO record for US 11086537 shows no unresolved maintenance-fee lapse, and the term end computed from the dates in that record is 2039-09-19 (20 years from filing), a date not yet passed (data version 20261117.2).
- Basis
- term_20y (20 years from filing)
- Term end
- 2039-09-19 Computed from the dates in the USPTO record
- Fee lapse
- none on record
- Reinstatement
- none on record; reinstatement_possible: false, not lapsed
- As of
- 2026-11-17
- Data version
- 20261117.2
A fact about the record with its basis and its as-of date, not legal advice.
Citations
References cited on the grant: 1 US patent document · Cited by: 49 US patents in this data · Lists through the API: /api/v1/patent/us_patent_citation/11086537/ (needs a free key, as the links under Get this as data)
Family outside the US
Publications outside the US that Google Patents Public Datasets lists in the same patent family as US 11086537 (read 2026-10-15). Their legal status is not shown here.
| Office | Number | Kind | Published |
|---|---|---|---|
| CN | 111240586 | A | 2020-06-05 |
| CN | 111240586 | B | 2023-09-12 |
| KR | 20200064499 | A | 2020-06-08 |
| KR | 102763921 | B1 | 2025-02-07 |
This patent's family on USPTO Global Dossier
Family data from Google Patents Public Datasets, used under CC BY 4.0.
Record JSON
{
"patent_id": "11086537",
"status": "active",
"basis": [
"term_20y"
],
"reinstatement_possible": false,
"reinstatement_basis": "not lapsed",
"expiry_date_estimated": "2039-09-19",
"lapse_date": null,
"reinstated_date": null,
"as_of": "2026-11-17",
"data_version": "20261117.2",
"catalog_data_version": "20261117.2",
"permalink": "https://patentref.io/p/11086537?v=20261117.2",
"next_steps": [
{
"kind": "record",
"url": "https://patentref.io/p/11086537?v=20261117.2",
"audience": "human"
},
{
"kind": "patent",
"url": "https://patentref.io/api/v1/patent/11086537/",
"audience": "agent"
},
{
"kind": "fee_events",
"tool": "uspto_patent_center",
"url": "https://patentcenter.uspto.gov/applications?patentNumber=11086537",
"audience": "agent"
}
]
}
Get this as data
- Full record
/api/v1/patent/11086537/ - Status record
/api/v1/lapse/status/11086537/ - Claim tree
/api/v1/structure/claims/11086537/ - Brief
/api/v1/structure/brief/11086537/
These four links need a free key (1,000 requests a month). Opened in a browser, which sends no key, they answer 403. Get a free key on the sign-up page, then send it in the X-Api-Key header. To see the shape of an answer without a key, open Try it.