# US 2026/0037376 A1 · Methods, apparatuses, and systems for managing parity data generation in a memory system

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

- Number: US 2026/0037376 A1
- Document ID: US20260037376A1
- Status: Published application
- Kind: A1
- Application number: 18/885,169
- Filed: 2024-09-13
- Published: 2026-02-05
- Earliest claimed: 2024-08-02
- Assignees: Yangtze Memory Technologies Co., Ltd.
- Applicants: Yangtze Memory Technologies Co., Ltd.
- Inventors: Xianwu LUO; Jiangwei SHI; Youxin HE
- Web page: https://patentgrep.com/patent/US20260037376A1

## CPC

- G06F 11/1056: {Updating check bits on partial write, i.e. read/modify/write}
- G06F 13/1668: {Details of memory controller}
- G06F 11/1004: {to protect a block of data words, e.g. CRC or checksum (G06F11/1076 takes precedence; security arrangements for protecting computers or computer systems against unauthorized activity G06F21/00)}
- G06F 11/1076: {Parity data used in redundant arrays of independent storages, e.g. in RAID systems}
- G06F 11/108: {Parity data distribution in semiconductor storages, e.g. in SSD}
- G06F 11/1068: {in sector programmable memories, e.g. flash disk (G06F11/1072 takes precedence)}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Methods, systems, and computer-readable storage media for allocating memory space are provided. In one aspect, a method for operating a memory system includes writing data retrieved from a source block of a memory device of the memory system to a target block of the memory device. The method further includes, in response to determining a size of the data in the target block reaches a threshold, reading the data from the target block, generating parity data corresponding to the data, and writing the parity data to the target block.

## Claims

### Claim 1

A method of operating a memory system, comprising:
writing data retrieved from a source block of a memory device of the memory system to a target block of the memory device; and
in response to determining a size of the data in the target block reaches a threshold:
reading the data from the target block;
generating parity data corresponding to the data; and
writing the parity data to the target block.

### Claim 2 (depends on 1)

The method of claim 1, wherein the target block comprises a first set of pages associated with a first word line and a second set of pages associated with a second word line, and wherein reading the data from the target block comprises:
reading first data from a first page of the first set of pages; and
reading second data from a first page of the second set of pages.

### Claim 3 (depends on 2)

The method of claim 2, wherein the second word line is adjacent to the first word line in the memory device.

### Claim 4 (depends on 2)

The method of claim 2, wherein generating parity data comprises generating first parity data, wherein generating the first parity data comprises:
performing a first exclusive OR (XOR) operation on the first data and the second data.

### Claim 5 (depends on 4)

The method of claim 4, wherein a result of the first XOR operation is stored in a buffer of a memory controller of the memory system.

### Claim 6 (depends on 5)

The method of claim 5, wherein the method further comprises reading third data from the source block,
wherein generating the first parity data comprises:
performing a second XOR operation on the third data and the result of the first XOR operation.

### Claim 7 (depends on 4)

The method of claim 4, wherein reading the data from the target block comprises:
reading fourth data from a second page of the first set of pages; and
reading fifth data from a second page of the second set of pages, wherein the fourth data and the fifth data are read after writing the first parity data to the target block, and
wherein generating the parity data comprises generating second parity data, wherein generating the second parity data comprises:
performing a third XOR operation on the fourth data and the fifth data.

### Claim 8 (depends on 1)

The method of claim 1, wherein reading the data from the target block comprises:
performing an error correction operation on the data using error correction codes.

### Claim 9

A memory controller, comprising:
a processor and a buffer, wherein the memory controller is configured to perform operations comprising:
sending one or more first write commands that indicate to write data retrieved from a source block of a memory device coupled to the memory controller to a target block of the memory device, wherein the data comprises first data and second data;
sending a first read command that indicates to read the first data from the target block;
sending a second read command that indicates to read the second data from the target block; and
sending a second write command that indicates to write first parity data to the target block, wherein the first parity data are generated by performing an encoding operation on at least the first data and the second data.

### Claim 10 (depends on 9)

The memory controller of claim 9, wherein the target block comprises a plurality of pages numbered in sequence,
wherein the first data are read from a first page of the plurality of pages and the second data are read from a second page of the plurality of pages, and
wherein a number associated with the second page equals a number associated with the first page plus a pre-set integer, wherein the pre-set integer is greater than 1.

### Claim 11 (depends on 9)

The memory controller of claim 9, wherein performing the encoding operation comprises:
performing an exclusive OR (XOR) operation on the first data and the second data.

### Claim 12 (depends on 11)

The memory controller of claim 11, wherein a result of the XOR operation is stored in a buffer of the memory controller.

### Claim 13 (depends on 9)

The memory controller of claim 9, wherein the operations further comprise:
after sending the second read command, sending a third read command to read third data from the source block, wherein the first parity data are generated by performing the encoding operation on at least the first data, the second data, and the third data.

### Claim 14 (depends on 13)

The memory controller of claim 13, wherein the second write command indicates to write the third data and the first parity data to the target block.

### Claim 15 (depends on 10)

The memory controller of claim 10, wherein the data further comprises fourth data and fifth data, and wherein the operations comprise:
after sending the second write command:
sending a fourth read command that indicates to read the fourth data from the target block;
sending a fifth read command that indicates to read the fifth data from the target block; and
sending a third write command that indicates to write second parity data to the target block, wherein the second parity data are generated by performing an encoding operation on at least the fourth data and the fifth data.

### Claim 16 (depends on 15)

The memory controller of claim 15, wherein the fourth data are read from a third page of the plurality of pages, and the fifth data are read from a fourth page of the plurality of pages, and
wherein a number associated with the fourth page equals a number associated with the third page plus the pre-set integer.

### Claim 17 (depends on 16)

The memory controller of claim 16, wherein the number associated with the third page immediately follows the number associated with the first page, and the number associated with the fourth page immediately follows the number associated with the second page.

### Claim 18 (depends on 17)

The memory controller of claim 17, wherein the operations comprise:
performing an error correction operation on the first data and the second data using error correction codes.

### Claim 19 (depends on 9)

The memory controller of claim 9, wherein the first read command is sent in response to determining that a size of the data in the target block reaches a threshold.

### Claim 20

A memory system, comprising a memory device and a memory controller configured to control the memory device, wherein the memory system is configured to perform operations comprising:
writing data retrieved from a source block of the memory device to a target block of the memory device; and
in response to determining a size of the data in the target block reaches a threshold:
reading the data from the target block;
generating parity data corresponding to the data; and
writing the parity data to the target block.
