# US 2026/0099252 A1 · System and method for in-nand garbage collection

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

- Number: US 2026/0099252 A1
- Document ID: US20260099252A1
- Status: Published application
- Kind: A1
- Application number: 18/905,625
- Filed: 2024-10-03
- Published: 2026-04-09
- Earliest claimed: 2024-10-03
- Assignees: SK hynix Inc.
- Applicants: SK hynix Inc.
- Inventors: Pengfei HUANG; Fan ZHANG
- Web page: https://patentgrep.com/patent/US20260099252A1

## CPC

- G06F 3/0611: {in relation to response time}
- G06F 3/064: {Management of blocks}
- 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 and memory device for performing a garbage collection operation. The memory device includes memory planes including first and second memory planes, each memory plane including memory blocks; and a processor including a checksum calculator to calculate checksum on valid page data of at least one victim block in the first memory plane. The processor is configured to: determine whether at least one target block in the first memory plane is open or full; determine whether the checksum is less than a checksum threshold; and selectively perform one of an internal garbage collection in the first memory plane and an external garbage collection outside the first memory plane, based on the determining whether the target block is open or full and the determining whether the checksum is less than the checksum threshold.

## Claims

### Claim 1

A memory device comprising:
a plurality of memory planes including first and second memory planes, each memory plane including a plurality of memory blocks; and
a processor including a checksum calculator to calculate checksum on valid page data of at least one victim block in the first memory plane,
wherein the processor is configured to:
determine whether at least one target block in the first memory plane is open or full;
determine whether the checksum is less than a checksum threshold; and
selectively perform one of an internal garbage collection in the first memory plane and an external garbage collection outside the first memory plane, based on the determining whether the target block is open or full and the determining whether the checksum is less than the checksum threshold.

### Claim 2 (depends on 1)

The memory device of claim 1, wherein the processor is configured to:
when it is determined that the target block is open and that the calculated checksum is less than the checksum threshold, perform the internal garbage collection to move the valid page data of the victim block in the first memory plane into the target block in the first memory plane.

### Claim 3 (depends on 2)

The memory device of claim 2, wherein the victim block is included in a victim superblock, and the target block is included in an inner target superblock, and
wherein each of the victim superblock and the inner target superblock includes one or more memory blocks of the first memory plane.

### Claim 4 (depends on 3)

The memory device of claim 3, wherein the processor receives unit data from a memory controller, splits the unit data to generate multiple data entries corresponding to memory blocks of the victim superblock, and evenly stores the multiple data entries in the memory blocks as the victim block of the victim superblock.

### Claim 5 (depends on 4)

The memory device of claim 4, wherein the valid page data includes the multiple data entries, and
the processor performs the internal garbage collection to move the multiple data entries equally into the target block in the first memory plane.

### Claim 6 (depends on 1)

The memory device of claim 1, wherein the processor is configured to:
when it is determined that the target block is full, perform the external garbage collection to move the valid page data of the victim block in the first memory plane into an external open block in the second memory plane.

### Claim 7 (depends on 6)

The memory device of claim 6, wherein the processor is configured to:
when it is determined that the target block is open and the calculated checksum is greater than or equal to the checksum threshold,
perform the external garbage collection to move the valid page data of the victim block in the first memory plane into the external open block in the second memory plane.

### Claim 8 (depends on 7)

The memory device of claim 7, wherein the external open block is included in an external target superblock including one or more memory blocks of the second memory plane.

### Claim 9 (depends on 8)

The memory device of claim 8, wherein the first memory plane and the second memory plane belong to a same memory die.

### Claim 10 (depends on 8)

The memory device of claim 8, wherein the first memory plane and the second memory plane belong to a different memory die.

### Claim 11

A method for operating a memory device, which includes a plurality of memory planes and a processor including a checksum calculator, the method comprising:
determining whether at least one target block in a first memory plane among the plurality of memory planes is open or full;
determining whether checksum on valid page data of at least one victim block calculated by the checksum calculator is less than a checksum threshold; and
selectively performing one of an internal garbage collection in the first memory plane and an external garbage collection outside the first memory plane, based on the determining whether the target block is open or full and the determining whether the checksum is less than the checksum threshold.

### Claim 12 (depends on 11)

The method of claim 11, wherein the selectively performing includes:
when it is determined that the target block is open and that the calculated checksum is less than the checksum threshold, performing the internal garbage collection to move the valid page data of the victim block in the first memory plane into the target block in the first memory plane.

### Claim 13 (depends on 12)

The method of claim 12, wherein the victim block is included in a victim superblock, and the target block is included in an inner target superblock, and
wherein each of the victim superblock and the inner target superblock includes one or more memory blocks of the first memory plane.

### Claim 14 (depends on 13)

The method of claim 13, further comprising:
receiving unit data from a memory controller,
splitting the unit data to generate multiple data entries corresponding to memory blocks of the victim superblock, and
evenly storing the multiple data entries in the memory blocks as the victim block of the victim superblock.

### Claim 15 (depends on 14)

The method of claim 14, wherein the valid page data includes the multiple data entries, and
wherein the selectively performing includes:
performing the internal garbage collection to move the multiple data entries equally into the target block in the first memory plane.

### Claim 16 (depends on 11)

The method of claim 11, wherein the selectively performing includes:
when it is determined that the target block is full, performing the external garbage collection to move the valid page data of the victim block in the first memory plane into an external open block in the second memory plane.

### Claim 17 (depends on 16)

The method of claim 16, wherein the selectively performing includes:
when it is determined that the target block is open and the calculated checksum is greater than or equal to the checksum threshold,
performing the external garbage collection to move the valid page data of the victim block in the first memory plane into the external open block in the second memory plane.

### Claim 18 (depends on 17)

The method of claim 17, wherein the external open block is included in an external target superblock including one or more memory blocks of the second memory plane.

### Claim 19 (depends on 18)

The method of claim 18, wherein the first memory plane and the second memory plane belong to a same memory die.

### Claim 20 (depends on 18)

The method of claim 18, wherein the first memory plane and the second memory plane belong to a different memory die.
