# US 2023/0067738 A1 · Tracking host-provided metadata in a memory sub-system

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

- Number: US 2023/0067738 A1
- Document ID: US20230067738A1
- Status: Published application
- Kind: A1
- Application number: 17/464,449
- Filed: 2021-09-01
- Published: 2023-03-02
- Earliest claimed: 2021-09-01
- Assignees: Micron Technology, Inc.
- Applicants: Micron Technology, Inc.
- Inventors: Seungjune Jeon; Juane Li; Ning Chen
- Web page: https://patentgrep.com/patent/US20230067738A1

## CPC

- 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/1048: {using arrangements adapted for a specific error detection or correction feature}
- 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

A request to program host data to a memory device of a memory sub-system is received. Redundancy metadata associated with the host data is generated. A determination is made, in view of the received request, whether the host data is valid data or invalid data. In response to a determination that the host data is invalid data, updated redundancy metadata associated with the host data is generated. The updated redundancy metadata indicates that the host data is invalid data. The host data and the updated redundancy metadata is programmed to the memory device.

## Claims

### Claim 1

A method comprising:
receiving a request to write host data to a memory device of a memory sub-system, wherein the request comprises a validity attribute indicating validity of the host data;
generating redundancy metadata associated with the host data;
determining, based on the validity attribute of the received request, whether the host data is valid data or invalid data;
responsive to determining that the host data is invalid data, generating updated redundancy metadata associated with the host data, wherein the updated redundancy metadata indicates that the host data is invalid data; and
performing a memory access operation to write the host data and the updated redundancy metadata to the memory device.

### Claim 2 (depends on 1)

The method of claim 1, wherein the redundancy metadata associated with the host data comprises one or more parity bits.

### Claim 3 (depends on 2)

The method of claim 2, wherein generating the updated redundancy metadata associated with the host data comprises:
inverting the one or more parity bits of the redundancy metadata.

### Claim 4 (depends on 1)

The method of claim 1, wherein the validity attribute comprises a validity bit, and wherein determining whether the host data is valid data or invalid data comprises:
determining whether a value of the validity bit corresponds to a value associated with invalid data.

### Claim 5 (depends on 4)

The method of claim 4, further comprising:
responsive to determining that a value of the validity bit does not correspond to the value associated with the invalid data, determining that the host data is valid data.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
responsive to determining that the host data is valid data, performing a memory access operation to write the host data and the redundancy metadata to the memory device.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
encoding the host data and the updated redundancy metadata based on an error correction mechanism prior to performing the memory access operation to write the host data and the updated redundancy metadata to the memory device.

### Claim 8

A system comprising:
a memory device; and
a processing device coupled to the memory device, the processing device to perform operations comprising:
receiving a request to perform a memory access operation to access host data stored at the memory device;
obtaining the host data and first redundancy metadata associated with the host data;
generating second redundancy metadata associated with the host data based on the host data and an address associated with a portion of the memory device that stores the host data;
determining whether the first redundancy metadata corresponds to an updated version of the second redundancy metadata; and
responsive to determining that the first redundancy metadata corresponds to the updated version of the second redundancy metadata, providing, in response to the request, the host data and an indication that the host data is invalid data.

### Claim 9 (depends on 8)

The system of claim 8, wherein the first redundancy metadata comprises one or more first parity bits and the second redundancy metadata comprises one or more second parity bits.

### Claim 10 (depends on 9)

The system of claim 9, wherein each of the one or more second parity bits are inverted from a corresponding parity bit of the one or more first parity bits.

### Claim 11 (depends on 8)

The system of claim 8, wherein the operations further comprise:
responsive to determining that the first redundancy metadata does not correspond to the updated version of the second redundancy metadata, determining whether one or more errors occurred during a performance of the memory access operation to access the host data; and
responsive to determining that one or more errors did not occur during the performance of the memory access operation, providing, in response to the request, the host data and an indication that the host data is valid data.

### Claim 12 (depends on 11)

The system of claim 11, wherein the operations further comprise:
responsive to determining that one or more errors did occur during the performance of the memory access operation, initiating an error correction protocol in view of the one or more errors.

### Claim 13 (depends on 8)

The system of claim 8, wherein obtaining the host data and the first redundancy metadata associated with the host data comprises:
performing the memory access operation at a portion of the memory device that stores the host data and the first redundancy metadata; and
decoding the host data and the first redundancy metadata based on an error correction mechanism.

### Claim 14

A non-transitory computer-readable storage medium comprising instructions that, when executed by a processing device, cause the processing device to perform operations comprising:
receiving a request to write host data to a memory device of a memory sub-system, wherein the request comprises a validity attribute indicating validity of the host data;
generating redundancy metadata associated with the host data;
determining, based on the validity attribute of the received request, whether the host data is valid data or invalid data;
responsive to determining that the host data is invalid data, generating updated redundancy metadata associated with the host data, wherein the updated redundancy metadata indicates that the host data is invalid; and
performing a memory access operation to write the host data and the updated redundancy metadata to the memory device.

### Claim 15 (depends on 14)

The non-transitory computer-readable storage medium of claim 14, wherein the redundancy metadata associated with the host data comprises one or more parity bits.

### Claim 16 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein generating the updated redundancy metadata associated with the host data comprises:
inverting the one or more parity bits of the redundancy metadata.

### Claim 17 (depends on 14)

The non-transitory computer-readable storage medium of claim 14, wherein the validity attribute comprises a validity bit, and wherein determining whether the host data is valid data or invalid data comprises:
determining whether a value of the validity bit corresponds to a value associated with invalid data.

### Claim 18 (depends on 17)

The non-transitory computer-readable storage medium of claim 17, wherein the operations further comprise:
responsive to determining that a value of the validity bit does not correspond to the value associated with the invalid data, determining that the host data is valid data.

### Claim 19 (depends on 14)

The non-transitory computer-readable storage medium of claim 14, wherein the operations further comprise:
responsive to determining that the host data is valid data, performing a memory access operation to write the host data and the redundancy metadata to the memory device.

### Claim 20 (depends on 14)

The non-transitory computer-readable storage medium of claim 14, wherein the operations further comprise:
encoding the host data and the updated redundancy metadata based on an error correction mechanism prior to performing the memory access operation to write the host data and the updated redundancy metadata to the memory device.
