# US 2022/0283728 A1 · Method for redundant array of independent disks striping against programming failures and apparatus thereof

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

- Number: US 2022/0283728 A1
- Document ID: US20220283728A1
- Status: Published application
- Kind: A1
- Application number: 17/217,936
- Filed: 2021-03-30
- Published: 2022-09-08
- Earliest claimed: 2021-03-05
- Assignees: Yangtze Memory Technologies Co., Ltd.
- Applicants: Yangtze Memory Technologies Co., Ltd.
- Inventors: Weizhen Kong; Jian Cao; Wei Tao; Ling Du; Yuan Tao
- Web page: https://patentgrep.com/patent/US20220283728A1

## 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}
- G11C 5/025: {Geometric lay-out considerations of storage- and peripheral-blocks in a semiconductor storage device (geometrical lay-out of the components in integrated circuits, geometrical lay-out of the components in integrated circuits H10D89/10)}
- G06F 3/0604: {Improving or facilitating administration, e.g. storage management}
- G06F 3/0689: {Disk arrays, e.g. RAID, JBOD}
- G06F 11/1032: {Simple parity}
- G06F 11/1076: {Parity data used in redundant arrays of independent storages, e.g. in RAID systems}
- G11C 29/4401: {for self repair}
- G11C 29/74: {using duplex memories, i.e. using dual copies}
- G06F 3/0619: {in relation to data integrity, e.g. data losses, bit errors}
- G06F 3/0644: {Management of space entities, e.g. partitions, extents, pools}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G11C 16/0483: {comprising cells having several storage transistors connected in series}
- G11C 2029/0411: {Online error correction}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G11C: STATIC STORES (semiconductor memory devices H10B)

## Abstract

Implementations of the present disclosure provide a memory apparatus that includes a plurality of memory cells stored with memory data in N dies. Each of the N dies includes M planes. Each of the M planes includes a memory block. The apparatus also includes a controller configured to determine J layers in the memory block in each of the M planes and in each of the N dies, each of the J layers comprising a pair of adjacent gate conductive layers. The controller is also configured to determine M sets of stripes. Each of the M sets of stripes comprising a plurality of data portions stored in a respective one of the M planes. The controller is further configured to determine M sets of parity data portions. The controller is further configured to control a temporary storage unit to store the M sets of parity data portions.

## Claims

### Claim 1

A memory apparatus, comprising:
a plurality of memory cells stored with memory data in N dies, each of the N dies comprising M planes, each of the M planes comprising a memory block, N and M each being a positive integer; and
a controller operatively coupled to the plurality of memory cells, the controller being configured to:
determine J layers in the memory block in each of the M planes and in each of the N dies, each of the J layers comprising a pair of adjacent gate conductive layers, J being a positive integer;
determine M sets of stripes, each of the M sets of stripes comprising a plurality of data portions stored in a respective one of the M planes;
determine M sets of parity data portions, each of the M sets of parity data portions corresponding to a respective one of the M stripes; and
control a temporary storage unit to store the M sets of parity data portions.

### Claim 2 (depends on 1)

The memory apparatus of claim 1, wherein the controller is configured to determine:
the M sets of stripes to comprise M stripes, each of the M sets of stripes comprising a single stripe that comprises J×N data portions stored in a respective one of the M planes, each of the J×N data portions being stored in a respective portion of the J layers; and
the M sets of parity data portions to comprise M parity data portions, each of the M sets of parity data portions comprising a single parity data portion corresponding to a respective plane.

### Claim 3 (depends on 1)

The memory apparatus of claim 1, wherein the controller is further configured to:
in response to detecting a programming failure in one of the M sets of stripes, recover the programming failure by:
locating a data portion and a respective stripe in which the programming failure occurs; and
generating a replacement data portion for the data portion using the parity data portion of the respective stripe and a rest of the data portions of the respective stripe.

### Claim 4 (depends on 3)

The memory apparatus of claim 3, wherein the controller is configured to perform an exclusive or (XOR) operation amongst the rest of the data portions and the parity data portion of the respective stripe to generate the replacement data portion.

### Claim 5 (depends on 3)

The memory apparatus of claim 3, wherein the controller is further configured to program the M stripes in parallel, wherein the programming failure comprises a multi-plane failure that occurs in data portions of same locations in each of the M planes.

### Claim 6 (depends on 2)

The memory apparatus of claim 2, wherein the controller is further configured to:
perform an exclusive or (XOR) amongst the M parity data portions to generate a parity data set corresponding to J×N×M data portions in the M stripes; and
store the parity data set in a permanent storage unit in the plurality of memory cells.

### Claim 7 (depends on 2)

The memory apparatus of claim 2, wherein the controller is further configured to perform an exclusive or (XOR) operation amongst the J×N data portions of each of the M stripes to generate the respective parity data portion.

### Claim 8 (depends on 1)

The memory apparatus of claim 1, wherein the controller is configured to determine:
the M sets of stripes to comprise J×M stripes, each of the M sets of stripes comprising J stripes;
the J stripes to comprise J×N data portions, each of the J stripes comprising N data portions each being stored in a respective portion in a respective layer of the respective plane; and
the M sets of parity data portions to comprise J×M parity data portions, each of the M sets of parity data portions comprising J parity data portions each corresponding to a respective one of the J stripes in a respective plane.

### Claim 9 (depends on 8)

The memory apparatus of claim 8, wherein the controller is further configured to determine the N data portions stored in a single layer of the respective single plane.

### Claim 10 (depends on 8)

The memory apparatus of claim 8, wherein the controller is further configured to: in response to detecting a programming failure in one of the M sets of stripes, recover the programming failure by:
locating a data portion and a respective stripe in which the programming failure occurs; and
generating a replacement data portion for the data portion using the parity data portion of the respective stripe and a rest of the data portions of the respective stripe.

### Claim 11 (depends on 10)

The memory apparatus of claim 10, wherein the controller is configured to perform an exclusive or (XOR) operation amongst the rest of the data portions and the parity data portion of the respective stripe to generating the replacement data portion.

### Claim 12 (depends on 10)

The memory apparatus of claim 10, wherein:
the controller is further configured to program the M sets stripes in parallel; and
the programming failure comprises at least one of a source-select gate (SSG) leakage failure or a multi-plane failure.

### Claim 13 (depends on 8)

The memory apparatus of claim 8, wherein the controller is further configured to, for each of the J×M stripes, perform an exclusive or (XOR) operation amongst the N data portions to generate the respective parity data portion.

### Claim 14 (depends on 8)

The memory apparatus of claim 8, wherein the controller is further configured to, for each of the M planes, n being a positive integer,
perform, for n=2, an exclusive or (XOR) operation between an nth parity data portion and an (n−1)th parity data portion to generate an (n−1)th temporary parity data portion;
store the (n−1)th temporary parity data portion into a second temporary storage unit; and
perform, for n>2, an XOR operation between an nth parity data portion and an (n−2)th temporary parity data portion to generate an (n−1)th temporary parity data portion.

### Claim 15 (depends on 14)

The memory apparatus of claim 14, wherein the controller is further configured to,
for each of the M planes, store the (n−1)th temporary parity data portion into the second temporary storage unit to replace the (n−2)th temporary parity data portion;
in response to n=L, perform an XOR operation amongst the (n−1)th temporary parity data portion corresponding to each of the M planes to generate a parity data set corresponding to J×N×M data portions in the M planes and N dies; and
store the parity data set in a permanent storage unit in the plurality of memory cells.

### Claim 16

A memory apparatus, comprising:
a plurality of memory cells stored with memory data in N dies, each of the N dies comprising M planes, each of the M planes comprising a memory block, N and M each being a positive integer; and
a controller operatively coupled to the plurality of memory cells, the controller being configured to:
determine J layers in the memory block in each of the M planes and in each of the N dies, each of the J layers comprising a pair of adjacent gate conductive layers, J being a positive integer of at least 2; and
determine J stripes each corresponding to M layers of the same level in the M planes and comprising M×N data portions, each of the M×N data portions being stored in a respective portion of the respective M layers;
determine J parity data portions each corresponding to a respective stripe; and
control a temporary storage unit to store the J parity data portions.

### Claim 17 (depends on 16)

The memory apparatus of claim 16, wherein the controller is configured to determine the M×N data portions stored in a single layer of a same level in the M planes.

### Claim 18 (depends on 16)

The memory apparatus of claim 16, wherein the controller is further configured to: in response to detecting a programming failure in one of the J stripes, recover the programming failure by:
locating a data portion in which the programming failure occurs; and
generating a replacement data portion for the data portion using the parity data portion of the respective stripe and a rest of the data portions of the respective stripe, wherein the programming failure comprises a source-select gate (SSG) leakage failure.

### Claim 19 (depends on 18)

The memory apparatus of claim 18, wherein the controller is configured to perform an exclusive or (XOR) operation amongst the rest of the data portions and the parity data portion of the respective stripe to generate the replacement data portion.

### Claim 20

A method for operating a memory apparatus using redundant array of independent disks (RAID) striping, the apparatus comprising a plurality of memory cells stored with memory data in N dies, each of the N dies comprising M planes, each of the M planes comprising a memory block, N and M each being a positive integer, the method comprising:
determining J layers in the memory block in each of the M planes and in each of the N dies, each of the J layers comprising a pair of adjacent gate conductive layers, J being a positive integer;
determining M sets of stripes, each of the M sets of stripes comprising a plurality of data portions stored in a respective one of the M planes;
determining M sets of parity data portions, each of the M sets of parity data portions corresponding to a respective one of the M stripes; and
controlling a temporary storage unit to store the M sets of parity data portions.
