# US 2025/0156101 A1 · Hybrid wear leveling for in-place data replacement media

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

- Number: US 2025/0156101 A1
- Document ID: US20250156101A1
- Status: Published application
- Kind: A1
- Application number: 19/023,021
- Filed: 2025-01-15
- Published: 2025-05-15
- Earliest claimed: 2018-08-23
- Assignees: Micron Technology, Inc.
- Applicants: Micron Technology, Inc.
- Inventors: Ying Yu Tai; Jiangli Zhu; Ning Chen
- Web page: https://patentgrep.com/patent/US20250156101A1

## CPC

- G06F 3/0647: {Migration mechanisms}
- G06F 3/0616: {in relation to life time, e.g. increasing Mean Time Between Failures [MTBF]}
- G06F 3/064: {Management of blocks}
- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 3/0673: {Single storage device}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06F 3/068: {Hybrid storage device}
- G06F 12/0246: {in block erasable memory, e.g. flash memory}
- G06F 2212/1036: Life time enhancement
- G06F 2212/7201: Logical to physical mapping or translation of blocks or pages
- G06F 2212/7211: Wear leveling
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A memory sub-system periodically performs a first wear leveling operation using a direct mapping function on a data management unit of a memory component in the memory sub-system at a first frequency. The memory sub-system further periodically performs a second wear leveling operation using indirect mapping on a group of data management units of the memory component at a second frequency, wherein the second wear leveling operation is performed less frequently than the first wear leveling operation.

## Claims

### Claim 1

A system comprising:
a memory device; and
a processing device, operatively coupled with the memory device, to perform operations comprising:
detecting an occurrence of a first trigger;
in response to the occurrence of the first trigger, redistributing a plurality of data units within a first group of data units to different physical locations on the memory device according to a direct mapping function;
detecting an occurrence of a second trigger, wherein the second trigger occurs less frequently than the first trigger; and
in response to the occurrence of the second trigger, redistributing a plurality of groups of data units to different physical locations on the memory device using indirect mapping.

### Claim 2 (depends on 1)

The system of claim 1, wherein the memory device comprises a cross-point array of non-volatile memory cells.

### Claim 3 (depends on 1)

The system of claim 1, wherein redistributing the plurality of data units within the first group of data units to different physical locations on the memory device according to the direct mapping function comprises:
applying a first logical index associated with data from one of the plurality of data units to the direct mapping function to determine a physical index corresponding to a physical location on the memory device; and
copying the data from the one of the plurality of data units to the physical location.

### Claim 4 (depends on 3)

The system of claim 3, wherein the direct mapping function comprises at least one of a swap function, a circular shift function, or a linear function utilizing a base pointer value and a free pointer value.

### Claim 5 (depends on 1)

The system of claim 1, wherein redistributing the plurality of groups of data units to different physical locations on the memory device using indirect mapping comprises:
copying data from one of the plurality of groups of data units to an available physical location on the memory device; and
recording a mapping of a second logical index associated with the data from the one of the plurality of groups of data units to the available physical location in a look-up table.

### Claim 6 (depends on 1)

The system of claim 1, wherein the occurrence of the first trigger and the occurrence of the second trigger are based on a period of time that has elapsed since a previous wear leveling operation was performed.

### Claim 7 (depends on 1)

The system of claim 1, wherein the occurrence of the first trigger and the occurrence of the second trigger are based on a number of data write operations performed on the memory device by a host system since a previous wear leveling operation was performed.

### Claim 8

A method comprising:
detecting an occurrence of a first trigger;
in response to the occurrence of the first trigger, redistributing a plurality of data units within a first group of data units to different physical locations on a memory device according to a direct mapping function;
detecting an occurrence of a second trigger, wherein the second trigger occurs less frequently than the first trigger; and
in response to the occurrence of the second trigger, redistributing a plurality of groups of data units to different physical locations on the memory device using indirect mapping.

### Claim 9 (depends on 8)

The method of claim 8, wherein the memory device comprises a cross-point array of non-volatile memory cells.

### Claim 10 (depends on 8)

The method of claim 8, wherein redistributing the plurality of data units within the first group of data units to different physical locations on the memory device according to the direct mapping function comprises:
applying a first logical index associated with data from one of the plurality of data units to the direct mapping function to determine a physical index corresponding to a physical location on the memory device; and
copying the data from the one of the plurality of data units to the physical location.

### Claim 11 (depends on 10)

The method of claim 10, wherein the direct mapping function comprises at least one of a swap function, a circular shift function, or a linear function utilizing a base pointer value and a free pointer value.

### Claim 12 (depends on 8)

The method of claim 8, wherein redistributing the plurality of groups of data units to different physical locations on the memory device using indirect mapping comprises:
copying data from one of the plurality of groups of data units to an available physical location on the memory device; and
recording a mapping of a second logical index associated with the data from the one of the plurality of groups of data units to the available physical location in a look-up table.

### Claim 13 (depends on 8)

The method of claim 8, wherein the occurrence of the first trigger and the occurrence of the second trigger are based on a period of time that has elapsed since a previous wear leveling operation was performed.

### Claim 14 (depends on 8)

The method of claim 8, wherein the occurrence of the first trigger and the occurrence of the second trigger are based on a number of data write operations performed on the memory device by a host system since a previous wear leveling operation was performed.

### Claim 15

A non-transitory computer-readable storage medium comprising instructions that, when executed by a processing device, cause the processing device to perform operations comprising:
detecting an occurrence of a first trigger;
in response to the occurrence of the first trigger, redistributing a plurality of data units within a first group of data units to different physical locations on a memory device according to a direct mapping function;
detecting an occurrence of a second trigger, wherein the second trigger occurs less frequently than the first trigger; and
in response to the occurrence of the second trigger, redistributing a plurality of groups of data units to different physical locations on the memory device using indirect mapping.

### Claim 16 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein the memory device comprises a cross-point array of non-volatile memory cells.

### Claim 17 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein redistributing the plurality of data units within the first group of data units to different physical locations on the memory device according to the direct mapping function comprises:
applying a first logical index associated with data from one of the plurality of data units to the direct mapping function to determine a physical index corresponding to a physical location on the memory device; and
copying the data from the one of the plurality of data units to the physical location.

### Claim 18 (depends on 17)

The non-transitory computer-readable storage medium of claim 17, wherein the direct mapping function comprises at least one of a swap function, a circular shift function, or a linear function utilizing a base pointer value and a free pointer value.

### Claim 19 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein redistributing the plurality of groups of data units to different physical locations on the memory device using indirect mapping comprises:
copying data from one of the plurality of groups of data units to an available physical location on the memory device; and
recording a mapping of a second logical index associated with the data from the one of the plurality of groups of data units to the available physical location in a look-up table.

### Claim 20 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein the occurrence of the first trigger and the occurrence of the second trigger are based on at least one of a period of time that has elapsed or a number of data write operations performed on the memory device by a host system since a previous wear leveling operation was performed.
