# US 2025/0156316 A1 · Virtual indexing in a memory device

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

- Number: US 2025/0156316 A1
- Document ID: US20250156316A1
- Status: Published application
- Kind: A1
- Application number: 19/022,410
- Filed: 2025-01-15
- Published: 2025-05-15
- Earliest claimed: 2023-05-18
- Assignees: Micron Technology, Inc.
- Applicants: Micron Technology, Inc.
- Inventors: Xiangang Luo; Jianmin Huang; Xiaolai Zhu; Deping He; Kulachet Tanpairoj; Hong Lu; Chun Sum Yeung
- Web page: https://patentgrep.com/patent/US20250156316A1

## CPC

- G06F 12/0246: {in block erasable memory, e.g. flash memory}
- G06F 12/0292: {using tables or multilevel address translation means (G06F12/023 takes precedence; address translation in virtual memory systems G06F12/10)}
- G06F 2212/1024: Latency reduction
- G06F 2212/7201: Logical to physical mapping or translation of blocks or pages
- G06F 2212/7205: Cleaning, compaction, garbage collection, erase control
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method includes writing, to a first data structure, indices corresponding to address locations of a logical-to-physical (L2P) data structure that maps a plurality of logical block addresses (LBAs) associated with the L2P data structure, initiating performance of a media management operation involving one or more memory blocks in which data associated with the LBAs is written, and refraining from rewriting particular entries in the L2P table that correspond to LBAs whose index in the first data structure is a particular value during performance of the media management operation.

## Claims

### Claim 1

An apparatus, comprising:
a memory device comprising a plurality of memory blocks; and
a controller coupled to the memory device and configured to:
write, to a first data structure, indices corresponding to address locations of a logical-to-physical (L2P) data structure that maps a plurality of logical block addresses (LBAs) associated with the L2P data structure;
initiate performance of a media management operation involving one or more memory blocks in which data associated with the LBAs is written; and
while performing the media management operation, refrain from rewriting particular entries in the L2P data structure that correspond to LBAs whose index in the first data structure is a particular value.

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein the indices comprise respective Boolean logical values.

### Claim 3 (depends on 1)

The apparatus of claim 1, wherein the controller is further configured to write, to the first data structure, a first index corresponding to a first range of LBAs and a second index corresponding to a second range of LBAs.

### Claim 4 (depends on 1)

The apparatus of claim 1, wherein the one or more of the memory blocks are NAND flash memory blocks.

### Claim 5 (depends on 1)

The apparatus of claim 1, wherein the media management operation is a garbage collection operation.

### Claim 6 (depends on 1)

The apparatus of claim 1, wherein the controller is further configured to write the indices corresponding to address locations of the L2P data structure that maps the plurality of LBAs based on a determined ratio of valid data and invalid data that is written to the one or more memory blocks associated with the LBAs.

### Claim 7 (depends on 1)

The apparatus of claim 1, wherein the apparatus is mobile computing device.

### Claim 8

A method, comprising:
maintaining a first table corresponding to logical-to-physical (L2P) mappings of logical block addresses (LBAs) that correspond to data entries written to a plurality of memory blocks;
maintaining a second data structure corresponding to indices that correspond to logical addresses within the first data structure, wherein the second data structure include indices that are determined based on a determined ratio of valid data and invalid data entries written to the plurality of memory blocks; and
controlling performance of a media management operation involving one or more of the plurality of memory blocks while refraining from rewriting particular entries in the first data structure that correspond to LBAs whose indices correspond to the determined ratio of valid data and invalid data entries written to the plurality of memory blocks meeting a particular criterion.

### Claim 9 (depends on 8)

The method of claim 8, wherein the first data structure and the second data structure are respective tables.

### Claim 10 (depends on 8)

The method of claim 8, wherein at least a subset of the plurality of memory blocks comprise virtual memory blocks.

### Claim 11 (depends on 8)

The method of claim 8, wherein the indices comprise Boolean logical values.

### Claim 12 (depends on 8)

The method of claim 8, wherein the media management operation comprises a garbage collection operation.

### Claim 13 (depends on 8)

The method of claim 8, wherein the particular criterion corresponds to a threshold ratio of valid data to invalid data written to at least one memory block among the plurality of memory blocks.

### Claim 14

An apparatus, comprising:
a memory device comprising a plurality of blocks of memory; and
a processing device coupled to the memory device and configured to:
maintain a first table having logical-to-physical (L2P) mappings fora range of logical block addresses (LBAs) that correspond to data entries written to the memory device;
maintain a second table having indices that correspond to logical addresses within the first table, wherein the indices of the second table are determined based on a determined valid data and invalid data entry ratio written to the memory device; and
control performance of a media management operation involving one or more of the plurality of blocks of memory while refraining from rewriting particular entries in the first table whose indices correspond to the determined valid data and invalid data entry ratio meeting a particular criterion.

### Claim 15 (depends on 14)

The apparatus of claim 14, wherein the media management operation comprises a garbage collection operation.

### Claim 16 (depends on 14)

The apparatus of claim 14, wherein the particular criterion is a threshold ratio of valid data entries to invalid data entries written to the plurality of blocks of memory.

### Claim 17 (depends on 16)

The apparatus of claim 16, wherein the invalid data entries comprise data entries that have been unmapped or written to a different block of memory than a block of memory in which the data entries were previously written.

### Claim 18 (depends on 16)

The apparatus of claim 16, wherein the invalid data entries comprise new data written to at least one memory block among the plurality of memory blocks that does not have a corresponding LBA associated therewith.

### Claim 19 (depends on 14)

The apparatus of claim 14, wherein the memory device and the processing device are part of a memory sub-system that is coupled to a host.

### Claim 20 (depends on 19)

The apparatus of claim 19, wherein the apparatus is a mobile computing device.
