# US 2017/0255518 A1 · Ecc decoding using raid-type parity

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

- Number: US 2017/0255518 A1
- Document ID: US20170255518A1
- Status: Published application
- Kind: A1
- Application number: 15/177,887
- Filed: 2016-06-09
- Published: 2017-09-07
- Earliest claimed: 2016-03-04
- Assignees: SanDisk Technologies LLC
- Applicants: Sandisk Technologies LLC
- Inventors: STELLA ACHTENBERG; ERAN SHARON; IDAN ALROD
- Web page: https://patentgrep.com/patent/US20170255518A1

## CPC

- G06F 3/0689: {Disk arrays, e.g. RAID, JBOD}
- G06F 3/0619: {in relation to data integrity, e.g. data losses, bit errors}
- G06F 3/064: {Management of blocks}
- G06F 3/0644: {Management of space entities, e.g. partitions, extents, pools}
- G06F 11/1012: {using codes or arrangements adapted for a specific type of error (G06F11/1048 takes precedence)}
- G06F 11/108: {Parity data distribution in semiconductor storages, e.g. in SSD}
- H03M 13/2909: {Product codes}
- H03M 13/2927: {Decoding strategies}
- H03M 13/6325: {Error control coding in combination with demodulation}
- H03M 13/1102: {Codes on graphs and decoding on graphs, e.g. low-density parity check [LDPC] codes}
- H03M 13/1515: {Reed-Solomon codes}
- H03M 13/152: {Bose-Chaudhuri-Hocquenghem [BCH] codes}
- H03M 13/2957: {Turbo codes and decoding}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H03M: CODING; DECODING; CODE CONVERSION IN GENERAL (using fluidic means F15C4/00; optical analogue/digital converters G02F7/00; coding, decoding or code conversion, specially adapted for particular applications, see the relevant subclasses, e.g. G01D, G01R, G06F, G06T, G09G, G10L, G11B, G11C, H04B, H04L, H04M, H04N; ciphering or deciphering for cryptography or other purposes involving the need for secrecy G09C)

## Abstract

A device includes a memory and a controller. The controller is configured to read codewords of a data structure from the memory. The codewords include a number of undecodable codewords that are undecodable at an error correction coding (ECC) decoder according to a first correction scheme. The data structure further includes stripe parity corresponding to portions of the codewords encoded according to a stripe correction scheme. The controller is configured, in response to the number of the undecodable codewords exceeding an erasure correction capacity of the stripe correction scheme, to provide information from a stripe decoding operation to an input of a ECC decoding operation corresponding to an undecodable codeword.

## Claims

### Claim 1

A device comprising:
a memory; and
a controller configured to read codewords of a data structure from the memory, wherein the codewords include a number of undecodable codewords that are undecodable at an error correction coding (ECC) decoder according to a first correction scheme, the data structure further including stripe parity corresponding to portions of the codewords encoded according to a stripe correction scheme, wherein the controller is configured, in response to the number of the undecodable codewords exceeding an erasure correction capacity of the stripe correction scheme, to provide information from a stripe decoding operation to an input of a ECC decoding operation corresponding to an undecodable codeword.

### Claim 2 (depends on 1)

The device of claim 1, wherein the controller is configured to perform the stripe decoding operation to generate a reconstructed version of the undecodable codeword, and wherein the information includes soft bits based on bit values of the reconstructed version of the undecodable codeword.

### Claim 3 (depends on 2)

The device of claim 2, wherein the controller is configured to generate the information by accessing a lookup table to access soft bit values corresponding to exclusive-OR values.

### Claim 4 (depends on 1)

The device of claim 1, wherein the stripe correction scheme corresponds to a redundant array of independent disks (RAID)-type exclusive-OR (XOR) scheme and wherein the first correction scheme corresponds to a low density parity check (LDPC) scheme.

### Claim 5 (depends on 4)

The device of claim 4, wherein the controller is configured to perform decoding using belief propagation message-passing between the ECC decoder and a XOR stripe decoder.

### Claim 6 (depends on 1)

The device of claim 1, further comprising a memory configured to store representations of each of the codewords, and wherein the controller is configured to update the stored representation of each particular codeword after processing the particular codeword at the ECC decoder.

### Claim 7 (depends on 6)

The device of claim 6, wherein each representation includes data corresponding to log-likelihood ratios (LLRs), wherein the controller is configured to combine the LLRs from the codewords other than a particular codeword to generate particular information of the particular codeword from the stripe decoding operation, wherein the controller is configured to add the particular information to the particular codeword as an input to the ECC decoder.

### Claim 8 (depends on 7)

The device of claim 7, wherein the controller is configured to subtract the particular information from an output of the ECC decoder to generate the representation of the particular codeword in response to the ECC decoder failing to decode the input.

### Claim 9 (depends on 7)

The device of claim 7, wherein the controller is configured to retain the representation of the particular codeword in response to the ECC decoder failing to decode the input and to replace the representation of the particular codeword with hard bits output from the ECC decoder with indications of high reliability in response to the ECC decoder decoding the input.

### Claim 10 (depends on 7)

The device of claim 7, wherein the data corresponding to the LLRs includes a hard bit and a 2-bit reliability value.

### Claim 11 (depends on 7)

The device of claim 7, wherein the data corresponding to the LLRs includes a hard bit and a 1-bit reliability value.

### Claim 12

A method comprising:
in a data storage device that includes a controller and a memory, performing:
reading codewords of a data structure from the memory, wherein the codewords include a number of undecodable codewords that are undecodable at an error correction coding (ECC) decoder according to a first correction scheme, the data structure further including stripe parity corresponding to portions of the codewords encoded according to a stripe correction scheme; and
in response to the number of the undecodable codewords exceeding an erasure correction capacity of the stripe correction scheme, providing information from a stripe decoding operation to an input of an ECC decoding operation corresponding to an undecodable codeword.

### Claim 13 (depends on 12)

The method of claim 12, wherein the controller performs the stripe decoding operation to generate a reconstructed version of the undecodable codeword, and wherein the information includes soft bits based on bit values of the reconstructed version of the undecodable codeword.

### Claim 14 (depends on 13)

The method of claim 13, further comprising generating the information by accessing a lookup table to access soft bit values corresponding to exclusive-OR values.

### Claim 15 (depends on 12)

The method of claim 12, wherein the stripe correction scheme corresponds to a redundant array of independent disks (RAID)-type exclusive-OR (XOR) scheme and wherein the first correction scheme corresponds to a low density parity check (LDPC) scheme.

### Claim 16 (depends on 15)

The method of claim 15, further comprising decoding using belief propagation message-passing between the ECC decoder and a XOR stripe decoder.

### Claim 17 (depends on 12)

The method of claim 12, further comprising updating stored representation of each particular codeword after processing the particular codeword at the ECC decoder.

### Claim 18 (depends on 17)

The method of claim 17, wherein each representation includes data corresponding to log-likelihood ratios (LLRs), and further comprising:
combining the LLRs from the codewords other than a particular codeword to generate particular information of the particular codeword from the stripe decoding operation; and
adding the particular information to the particular codeword as an input to the ECC decoder.

### Claim 19 (depends on 18)

The method of claim 18, further comprising subtracting the particular information from an output of the ECC decoder to generate the representation of the particular codeword in response to the ECC decoder failing to decode the input.

### Claim 20 (depends on 18)

The method of claim 18, further comprising:
retaining the representation of the particular codeword in response to the ECC decoder failing to decode the input; or
replacing the representation of the particular codeword with hard bits output from the ECC decoder with indications of high reliability in response to the ECC decoder decoding the input.
