# US 2021/0342220 A1 · Generating error checking data for error detection during modification of data 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 2021/0342220 A1
- Document ID: US20210342220A1
- Status: Published application
- Kind: A1
- Application number: 17/379,886
- Filed: 2021-07-19
- Published: 2021-11-04
- Earliest claimed: 2019-07-12
- Assignees: Micron Technology, Inc.
- Applicants: Micron Technology, Inc.
- Inventors: Ning Chen; Juane Li; Fangfang Zhu
- Web page: https://patentgrep.com/patent/US20210342220A1

## 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 3/0619: {in relation to data integrity, e.g. data losses, bit errors}
- G06F 3/0653: {Monitoring storage devices or systems}
- G06F 3/0673: {Single storage device}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

First and second data are identified, such that the second data is based on a modification operation performed on the first data. First error-checking data comprising a Cyclic Redundancy Check (CRC) value of the first data is identified. Incremental error-checking data is generated based on a difference between the first data and the second data. Updated first error-checking data is generated based on a combination of the first error-checking data and the incremental error-checking data. The updated first error-checking data is compared to second error-checking data generated from a CRC value of the second data to determine whether the second data contains an error.

## Claims

### Claim 1

A system comprising:
a memory component;
a processing device, operatively coupled with the memory component, to:
identify first and second data, wherein the second data is based on a modification operation performed on the first data,
identify first error-checking data comprising a Cyclic Redundancy Check (CRC) value of the first data;
generate incremental error-checking data based on a difference between the first data and the second data;
generate updated first error-checking data based on a combination of the first error-checking data and the incremental error-checking data; and
determine whether the second data contains an error by comparing the updated first error-checking data to second error-checking data generated from a CRC value of the second data.

### Claim 2 (depends on 1)

The system of claim 1, wherein to generate the updated first error-checking data, the processing device is to:
apply the CRC operation to the difference between the first data and the second data.

### Claim 3 (depends on 1)

The system of claim 1, wherein to determine whether the second data contains the error, the processing device is to:
in response to determining that the updated first error-checking data matches the second error-checking data generated from the CRC value of the second data, determine that the second data does not contain the error; and
in response to determining that the updated first error-checking data does not match the second error-checking data generated from the CRC value of the second data, determine that the second data contains the error.

### Claim 4 (depends on 3)

The system of claim 3, wherein the processing device is further to:
in response to determining that the second data does not contain the error, store the second data in association with the updated first error-checking data.

### Claim 5 (depends on 3)

The system of claim 3, wherein the processing device is further to:
create a copy of the first data; and
in response to determining that the second data contains the error, performing a corrective action, wherein to perform the corrective action, the processing device is to:
generate another second data based on a modification operation performed on the copy of the first data.

### Claim 6 (depends on 1)

The system of claim 1, wherein to modify the first data, the processing device is to modify the first data to the second data while maintaining the same data size.

### Claim 7 (depends on 1)

The system of claim 1, wherein the modification operation comprises encrypting the first data to generate the second data.

### Claim 8

A method comprising:
identifying first and second data, wherein the second data is based on a modification operation performed on the first data,
identifying first error-checking data comprising a Cyclic Redundancy Check (CRC) value of the first data;
generating incremental error-checking data based on a difference between the first data and the second data;
generating updated first error-checking data based on a combination of the first error-checking data and the incremental error-checking data; and
determining whether the second data contains an error by comparing the updated first error-checking data to second error-checking data generated from a CRC value of the second data.

### Claim 9 (depends on 8)

The method of claim 8, wherein the updating of the first error-checking data comprises:
determining the difference between the first data and the second data; and
generating the updated first error-checking data by applying a CRC operation to the difference between the first data and the second data.

### Claim 10 (depends on 8)

The method of claim 8, wherein the determining of whether the second data contains the error comprises:
in response to determining that the second error-checking data matches the error-checking data generated from the CRC operation of the second data, determining that the second data does not contain the error; and
in response to determining that the second error-checking data does not match the error-checking data generated from the CRC operation of the second data, determining that the second data contains the error.

### Claim 11 (depends on 10)

The method of claim 10, further comprising:
in response to determining that the second data does not contain the error, storing the second data in association with the second error-checking data.

### Claim 12 (depends on 10)

The method of claim 10, further comprising:
creating a copy of the first data;
in response to determining that the second data contains the error, performing a corrective action, wherein the corrective action comprises:
generating another second data based on a modification operation performed on the copy of the first data.

### Claim 13 (depends on 8)

The method of claim 8, wherein the modifying of the first data comprises modifying the first data to the second data while maintaining the same data size.

### Claim 14 (depends on 8)

The method of claim 8, wherein the modification operation comprises encrypting the first data to generate the second data.

### Claim 15

A method comprising:
receiving a request from a host system to retrieve a first data;
retrieving a second data associated with the first data and a second error-checking data of the second data, the second data corresponding to a modification of the first data and the second error-checking data being based on a cyclic redundancy check (CRC) value of the second data;
generating the first data from the second data by reversing the modification;
generating incremental error-checking data based on a difference between the first data and the second data;
generating updated second error-checking data that is based on a combination of the second error-checking data and the incremental error-checking data;
determining, by a processing device, whether the first data contains an error by comparing the updated second error-checking data to first error-checking data that is a generated based on a CRC value of the first data; and
in response to determining that the first data does not contain the error, providing the first data to the host system.

### Claim 16 (depends on 15)

The method of claim 15, wherein the generating the updated second error-checking data comprises:
combining the second error-checking data with an error-checking data generated from the CRC operation of the difference between the first data and the second data.

### Claim 17 (depends on 15)

The method of claim 15, wherein the determining of whether the first data contains the error comprises:
in response to determining that the updated second error-checking data matches the first error-checking data generated based on the CRC value of the first data, determining that the first data does not contain the error; and
in response to determining that the updated second error-checking data does not match the first error-checking data generated based on the CRC value of the first data, determining that the first data contains the error.

### Claim 18 (depends on 15)

The method of claim 15, further comprising:
in response to determining that the first data contains the error, notifying a failure to retrieve the first data to the host system.

### Claim 19 (depends on 15)

The method of claim 15, wherein the reversing the modification comprises modifying the second data back to the first data while maintaining the same data size.

### Claim 20 (depends on 15)

The method of claim 15, wherein the reversing the modification comprises decrypting the second data.
