# US 2022/0291994 A1 · Information processing system, storage device, and host

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

- Number: US 2022/0291994 A1
- Document ID: US20220291994A1
- Status: Published application
- Kind: A1
- Application number: 17/409,950
- Filed: 2021-08-24
- Published: 2022-09-15
- Earliest claimed: 2021-03-09
- Assignees: Kioxia Corporation
- Applicants: Kioxia Corporation
- Inventors: Mato MATSUURA
- Web page: https://patentgrep.com/patent/US20220291994A1

## 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/1068: {in sector programmable memories, e.g. flash disk (G06F11/1072 takes precedence)}
- G06F 3/0619: {in relation to data integrity, e.g. data losses, bit errors}
- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06F 11/0772: {Means for error signaling, e.g. using interrupts, exception flags, dedicated error registers}
- G06F 11/10: Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
- G06F 11/1048: {using arrangements adapted for a specific error detection or correction feature}
- G06F 12/0246: {in block erasable memory, e.g. flash memory}
- G06F 12/0882: Page mode
- G06F 2212/7209: Validity control, e.g. using flags, time stamps or sequence numbers
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

In general, according to an embodiment, a storage device includes a non-volatile memory and a controller. The non-volatile memory includes a plurality of pages, each of the pages including a data area of a first size and a redundant area of a second size smaller than the first size. The controller is configured to receive, from a host, a write command, receive, from the host, transfer data associated with the write command. The transfer data includes write data of the first size appended with a first error detection code for the write data. The controller is further configured to store the write data into the data area of one of the pages and the first error detection code into the redundant area of the one of the pages.

## Claims

### Claim 1

A storage device, comprising:
a non-volatile memory including a plurality of pages, each of the pages including a data area of a first size and a redundant area of a second size smaller than the first size; and
a controller configured to:
receive, from a host, a write command;
receive, from the host, transfer data associated with the write command, the transfer data including write data of the first size appended with a first error detection code for the write data; and
store the write data into the data area of one of the pages and the first error detection code into the redundant area of the one of the pages.

### Claim 2 (depends on 1)

The storage device according to claim 1, wherein the transfer data includes a second error detection code for data including the write data and the first error detection code.

### Claim 3 (depends on 2)

The storage device according to claim 2, wherein the controller is further configured to perform an error detection of the data including the write data and the first error detection code using the second error detection code.

### Claim 4 (depends on 1)

The storage device according to claim 1, wherein the controller is further configured to generate a third error detection code for data including the write data and the first error detection code and store the third error detection code into the redundant area of the one of the pages.

### Claim 5 (depends on 4)

The storage device according to claim 4, wherein the controller is further configured to read the write data from the data area of the one of the pages and the first and third error detection code from the redundant area of the one of the pages, and then perform an error detection of data including the write data and the first error detection code using the third error detection code.

### Claim 6 (depends on 1)

The storage device according to claim 1, wherein the transfer data includes a plurality of units of write data of the first size, each unit of which is appended with the first error detection code therefor.

### Claim 7 (depends on 1)

The storage device according to claim 1, wherein the first error detection code comprises an error correction code.

### Claim 8 (depends on 1)

The storage device according to claim 1, wherein
the write command is configured in accordance with a first communication protocol and indicates a first transfer data length,
the write command includes a command portion configured in accordance with a second communication protocol, the command portion indicating a second transfer data length, and
the controller is configured to determine the write data in the transfer data is appended with the first error detection code when the first transfer data length is different from the second transfer data length.

### Claim 9 (depends on 8)

The storage device according to claim 8, wherein the controller is configured to transmit, to the host, a first transmittable data size that is equal to a multiple of a total of the first size and a size of the first error detection code when the first transfer data length is different from the second transfer data length, and a second transmittable data size that is equal to a multiple of the first size when the first transfer data length is equal to the second transfer data length.

### Claim 10 (depends on 8)

The storage device according to claim 8, wherein the first communication protocol is according to Universal Flash Storage (UFS) and the second communication protocol is according to Small Computer System Interface (SCSI).

### Claim 11 (depends on 1)

The storage device according to claim 1, wherein the controller is further configured to:
receive, from the host, a read command in accordance with a first communication protocol and indicating a first transfer data length, the read command including a command portion configured in accordance with a second communication protocol, the command portion indicating a second transfer data length; and
read the write data from the data area of the one of the pages and the first error detection code from the redundant area of the one of the pages, when the first transfer data length is different from the second transfer data length.

### Claim 12

A storage device comprising:
a non-volatile memory including a plurality of pages, each of the pages including a data area of a first size and a redundant area of a second size smaller than the first size; and
a controller configured to:
receive, from a host, a write command;
receive, from the host, transfer data associated with the write command, the transfer data including a plurality of units of write data of the first size, each unit of which is appended with a first error detection code therefor; and
store a first unit of the write data into the data area of a first one of the pages, a second unit of the write data into the data area of a second one of the pages, and the first error detection codes for the first and second units of the write data into the data area of a third one of the pages.

### Claim 13 (depends on 12)

The storage device according to claim 12, wherein the transfer data includes a second error detection code for data including the first unit of the write data and the first error detection code therefor.

### Claim 14 (depends on 13)

The storage device according to claim 13, wherein the controller is further configured to perform an error detection of the data including the first unit of the write data and the first error detection code therefor using the second error detection code.

### Claim 15 (depends on 12)

The storage device according to claim 12, wherein the controller is further configured to generate a third error detection code for data including the first unit of the write data and the first error detection code therefor and store the third error detection code into the redundant area of the first one of the pages.

### Claim 16 (depends on 15)

The storage device according to claim 15, wherein the controller is further configured to:
read the first unit of the write data from the data area of the first one of the pages, the first error detection code for the first unit from the data area of the third one of the pages, and the third error detection code from the redundancy area of the first one of the pages; and
then perform an error detection of data including the first unit of the write data and the first error detection code therefor using the third error detection code.

### Claim 17 (depends on 12)

The storage device according to claim 12, wherein
the write command is configured in accordance with a first communication protocol and indicates a first transfer data length,
the write command includes a command portion configured in accordance with a second communication protocol, the command portion indicating a second transfer data length, and
the controller is configured to determine the write data in the transfer data is appended with the first error detection code when the first transfer data length is different from the second transfer data length.

### Claim 18 (depends on 17)

The storage device according to claim 17, wherein the controller is configured to transmit, to the host, a first transmittable data size that is equal to a multiple of a total of the first size and a size of the first error detection code when the first transfer data length is different from the second transfer data length, and a second transmittable data size that is equal to a multiple of the first size when the first transfer data length is equal to the second transfer data length.

### Claim 19 (depends on 12)

The storage device according to claim 12, wherein the controller is further configured to:
receive, from the host, a read command in accordance with a first communication protocol and indicating a first transfer data length, the read command including a command portion configured in accordance with a second communication protocol, the command portion indicating a second transfer data length; and
read the first unit of the write data from the data area of the first one of the pages and the first error detection code from the data area of the third one of the pages, when the first transfer data length is different from the second transfer data length.

### Claim 20

A host, comprising:
a communication interface communicable with a storage device; and
a controller configured to:
control the communication interface to transmit a write command including information indicating that data to be sent is appended with a first error correction code; and
after the write command is transmitted, control the communication interface to transmit transfer data including write data of a first size, the first error detection code for the write data, and a second error detection code for data including the write data and the first error detection code therefor.
