# US 2021/0334034 A1 · Apparatus and method for protecting data 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 2021/0334034 A1
- Document ID: US20210334034A1
- Status: Published application
- Kind: A1
- Application number: 17/094,152
- Filed: 2020-11-10
- Published: 2021-10-28
- Earliest claimed: 2020-04-23
- Assignees: SK hynix Inc.
- Applicants: SK hynix Inc.
- Inventors: Jun Hee RYU; Kwang Jin KO; Hyung Jin LIM
- Web page: https://patentgrep.com/patent/US20210334034A1

## CPC

- G06F 3/0655: {Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices}
- G06F 11/108: {Parity data distribution in semiconductor storages, e.g. in SSD}
- G06F 3/0604: {Improving or facilitating administration, e.g. storage management}
- 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 memory system includes a non-volatile memory device including plural memory groups storing plural chunks; and a controller configured to generate the plural chunks including data chunks and parity chunks based on original data, assign different priorities to the data chunks and the parity chunks, and recover at least one chunk among the plurality of chunks based on the different priorities when an operation regarding the at least one chunk fails.

## Claims

### Claim 1

A memory system, comprising:
a non-volatile memory device including plural memory groups storing plural chunks; and
a controller configured to generate the plural chunks including data chunks and parity chunks based on original data, assign different priorities to the data chunks and the parity chunks, and recover at least one chunk among the plurality of chunks based on the priorities when an operation regarding the at least one chunk fails.

### Claim 2 (depends on 1)

The memory system according to claim 1, wherein the controller is configured to program the plural chunks in disparate groups among the plural memory groups, the plural memory groups including plural dies or plural planes which are coupled via different data paths to the controller.

### Claim 3 (depends on 1)

The memory system according to claim 1, wherein the controller is configured to divide the original data into m data chunks, generate k parity chunks based on the m data chunks and an erasure code, wherein in and k are positive integers and m is greater than k.

### Claim 4 (depends on 3)

The memory system according to claim 3, wherein the controller configured to recover the original data based on at least m chunks, when a read or program operation for the at least m chunks among the plural chunks succeeds and a read or program operation for less than k chunks among the plural chunks fails.

### Claim 5 (depends on 3)

The memory system according to claim 3, wherein the controller is configured to recover the original data based on the m data chunks when a read or program operation for the m data chunks succeeds and a read or program operation for at least one among the k parity chunks fails.

### Claim 6 (depends on 3)

The memory system according to claim 3, wherein the controller is configured to reduce an operation margin for determining whether a read or program operation for the data chunks and the parity chunks succeeds, after a read or program operation for at least one chunk among the m data chunks has failed.

### Claim 7 (depends on 3)

The memory system according to claim 3, wherein the controller is configured to advance an operation timing of recovering the original data based on the m data chunks and the k parity chunks, when a read or program operation for at least one chunk among the m data chunks fails.

### Claim 8 (depends on 3)

The memory system according to claim 3, wherein the controller configured to retry a read or program operation for at least one data chunk among the m data chunks that is failed with a higher priority than that for at least one parity chunk among the k parity chunks, when the read or program operation for the at least one data chunk and the at least one parity chunk fails.

### Claim 9 (depends on 1)

The memory system according to claim 1, wherein the controller is configured to generate an identifier to identify each of the plural chunks as either a data chunk or a parity chunk.

### Claim 10 (depends on 9)

The memory system according to claim 9, wherein the controller is configured to add the identifier, for each of the plural chunks, into meta data of the corresponding chunk.

### Claim 11 (depends on 9)

The memory system according to claim 9, wherein the controller is configured to allocate each of the plural memory groups for either one or more of the data chunks or one or more of the parity chunks and program at least one chunk in the memory group based on the identifier.

### Claim 12

A method for operating a memory system, comprising:
generating plural chunks including data chunks and parity chunks based on original data;
assigning different priorities to the data chunks and the parity chunks; and
recovering at least one chunk among the plural chunks based on the priorities when an operation regarding the at least one chunk fails in any of plural memory groups in a memory device.

### Claim 13 (depends on 12)

The method according to claim 12, further comprising:
programming the plural chunks in disparate groups among the plural memory groups, the plural memory groups including plural dies or plural planes which are coupled via different data paths to the controller.

### Claim 14 (depends on 13)

The method according to claim 13, wherein the generating the plural chunks includes:
dividing the original data into m data chunks; and
generating k parity chunks based on the m data chunks and an erasure code, wherein m and k are positive integers and m is greater than k.

### Claim 15 (depends on 14)

The method according to claim 14, further comprising:
recovering the original data based on at least m chunks, when a read or program operation for the at least m chunks among the plural chunks succeeds and a read or program operation for less than k chunks among the plural chunks fails. 16, The method according to claim 14, further comprising:
recovering the original data based on the m data chunks when a read or program operation for the m data chunks among the plural chunks succeeds and a read or program operation for at least one among the k parity chunks fails.

### Claim 17 (depends on 14)

The method according to claim 14, further comprising:
reducing an operation margin for determining whether a read or program operation for the data chunks and the parity chunks succeeds, after a read or program operation for at least one chunk among the m data chunks has failed.

### Claim 18 (depends on 14)

The method according to claim 14, further comprising:
advancing an operation timing of recovering the original data based on the m data chunks and the k parity chunks, when a read or program operation for at least one chunk among the m data chunks fails.

### Claim 19 (depends on 14)

The method according to claim 14, further comprising:
retrying a read or program operation for at least one data chunk among the m data chunks that is failed with a higher priority than that for at least one parity chunk among the k parity chunks, when the read or program operation for the at least one data chunk and the at least one parity chunk fails.

### Claim 20 (depends on 12)

The method according to claim 12, wherein the assigning the different priorities includes:
generating an identifier to identify each of the plural chunks as either a data chunk or a parity chunk; and
adding the identifier, for each of the plural chunks, into meta data of the corresponding chunk.
