# US 2023/0057863 A1 · Media management operations based on a ratio of valid data

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2023/0057863 A1
- Document ID: US20230057863A1
- Status: Published application
- Kind: A1
- Application number: 17/981,649
- Filed: 2022-11-07
- Published: 2023-02-23
- Earliest claimed: 2021-03-09
- Assignees: Micron Technology, Inc.
- Applicants: Micron Technology, Inc.
- Inventors: Ashutosh Malshe; Vamsi Pavan Rayaprolu; Kishore K. Muchherla
- Web page: https://patentgrep.com/patent/US20230057863A1

## CPC

- G06F 3/064: {Management of blocks}
- G06F 3/0604: {Improving or facilitating administration, e.g. storage management}
- G06F 3/0608: {Saving storage space on storage systems}
- G06F 3/0652: {Erasing, e.g. deleting, data cleaning, moving of data to a wastebasket}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method includes determining that a ratio of valid data portions of a block of memory cells is greater than or less than a valid data portion threshold and performing a first media management operation on the block of memory cells in response to determining that the ratio of valid data portions is greater than the valid data portion threshold. The method further includes performing a second media management operation on the block of memory cells in response to determining that the ratio of valid data portions is less than the valid data portion threshold.

## Claims

### Claim 1

A method, comprising:
determining that a ratio of invalid data portions of a block of memory cells meets an invalid data portion criterion; and
performing, in the absence of performance of a media scan operation, a first media management operation on the block of memory cells in response to determining that the ratio of invalid data portions meets the invalid data portion criterion.

### Claim 2 (depends on 1)

The method of claim 1, further comprising performing a second media management operation on the block of memory cells in response to determining that the ratio of invalid data portions does not meet the invalid data portion criterion.

### Claim 3 (depends on 2)

The method of claim 2, further comprising performing the second media management operation by folding each of the valid data portions of the block of memory cells.

### Claim 4 (depends on 1)

The method of claim 1, further comprising performing the first media management operation by folding at least one of the valid data portions and at least one invalid data portion of the block of memory cells.

### Claim 5 (depends on 1)

The method of claim 1, further comprising performing the first media management operation by performing a garbage collection operation involving at least one of the valid data portions and at least one invalid data portion of the block of memory cells.

### Claim 6 (depends on 1)

The method of claim 1, further comprising performing the first media management operation in response to a determination that the block of memory cells exhibits a degraded media integrity or greater than a threshold erase count, or both.

### Claim 7 (depends on 1)

The method of claim 1, wherein the media scan operation involves a scan operation targeting a physical-to-logical mapping data structure or a logical-to-physical mapping data structure, or both.

### Claim 8

An apparatus, comprising:
a processing device configured to:
determine that a ratio of invalid data portions of a block of memory cells meets an invalid data portion criterion;
cause, while refraining from causing performance of an operation involving a physical-to-logical mapping data structure or a logical-to-physical mapping data structure, or both, performance of a first media management operation to consolidate a quantity of valid data portions and a quantity of invalid data portions within the block of memory cells in response to determining that the invalid data portion criterion is met; and
cause performance of a second media management operation to consolidate the quantity of valid data portions within the block of memory cells or a quantity of invalid data portions within the block of memory cells, or both, in response to determining that the invalid data portion criterion is not met.

### Claim 9 (depends on 8)

The apparatus of claim 8, wherein the block of memory cells comprises NAND memory cells.

### Claim 10 (depends on 8)

The apparatus of claim 8, wherein the processing device is configured to cause the quantity of valid portions and the quantity of invalid data portions within the block of memory cells to be subjected to a folding operation as part of performance of the first media management operation.

### Claim 11 (depends on 8)

The apparatus of claim 8, wherein the processing device is configured to by cause the quantity of valid data portions within the block of memory cells or the quantity of invalid data portions within the block of memory cells, or both, to be subjected to a folding operation as part of performance of the second media management operation.

### Claim 12 (depends on 8)

The apparatus of claim 8, wherein the processing device is configured to:
determine that the block of memory cells exhibits degraded media integrity or greater than a threshold erase count, or both; and
cause performance of the first media management operation in response to the determination.

### Claim 13 (depends on 8)

The apparatus of claim 8, wherein the processing device is configured to:
determine that the block of memory cells exhibits greater than a threshold erase count; and
cause performance of the first media management operation in response to the determination.

### Claim 14

A non-transitory computer-readable storage medium comprising instructions that, when executed by a processing device, cause the processing device to:
determine that a ratio of invalid data portions of a block of memory cells meets an invalid data portion criterion; and
cause performance of a first media management operation on the block of memory cells in response to determining that the ratio of invalid data portions meets the invalid data portion criterion in the absence of performance of a media scan operation.

### Claim 15 (depends on 14)

The non-transitory computer-readable storage medium of claim 14, wherein the processing device is configured to:
cause performance of the first media management operation to consolidate a quantity of valid data portions and a quantity of invalid data portions within the block of memory cells in response to determining that a ratio of invalid translation counts meets the invalid data portion criterion; and
cause performance of a second media management operation to consolidate the quantity of valid data portions within the block of memory cells in response to determining that the ratio of invalid translation counts does not meet the invalid data portion criterion.

### Claim 16 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein the processing device is further configured to cause performance of the first media management media operation or the second media management operation while refraining from causing performance of an operation involving a physical-to-logical mapping data structure or a logical-to-physical mapping data structure, or both.

### Claim 17 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein the processing device is further configured to perform the second media management operation by folding only the quantity of valid data portions of the block of memory cells.

### Claim 18 (depends on 14)

The non-transitory computer-readable storage medium of claim 14, wherein the processing device is configured to perform the first media management operation by folding the quantity of valid data portions and the quantity of invalid data portion within the block of memory cells.

### Claim 19 (depends on 14)

The non-transitory computer-readable storage medium of claim 14, wherein the processing device is configured to determine that a ratio of invalid data portions of the block of memory cells meets the invalid data portion criterion by monitoring a quantity of valid data portions and a quantity of invalid data portions dispersed across rows associated with the block of memory cells or planes associated with the block of memory cells, or both.

### Claim 20 (depends on 14)

The non-transitory computer-readable storage medium of claim 14, wherein the processing device is configured to:
determine that the block of memory cells exhibits a degraded media integrity or greater than a threshold erase count, or both; and
cause performance of the first media management operation in response to the determination.
