# US 2023/0266884 A1 · Operating method for storage controller and storage system including same

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

- Number: US 2023/0266884 A1
- Document ID: US20230266884A1
- Status: Published application
- Kind: A1
- Application number: 17/994,169
- Filed: 2022-11-25
- Published: 2023-08-24
- Earliest claimed: 2022-02-22
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: JIN WOOK LEE; DONG OUK MOON
- Web page: https://patentgrep.com/patent/US20230266884A1

## CPC

- G06F 3/0619: {in relation to data integrity, e.g. data losses, bit errors}
- G06F 3/0614: {Improving the reliability of storage systems}
- 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/1012: {using codes or arrangements adapted for a specific type of error (G06F11/1048 takes precedence)}
- G06F 11/1048: {using arrangements adapted for a specific error detection or correction feature}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An operating method for a storage controller in a storage system including a non-volatile memory (NVM) may include; receiving a write command defining a write operation in accordance with a predictable latency mode of the storage system that defines a deterministic window and a non-deterministic window, determining whether the write operation is performed during the deterministic window or the non-deterministic window, upon determining that the write operation is performed during the non-deterministic window, performing the write operation using a normal write mode, upon determining that the write operation is performed during the deterministic window, analyzing a metric associated with the NVM to generate metric analysis results, selecting a write operation approach from among a plurality of write operation approaches in response to the metric analysis results to define a selected write operation approach, and performing the write operation using the selected write operation approach.

## Claims

### Claim 1

An operating method for a storage controller in a storage system including a non-volatile memory (NVM), the operating method comprising:
receiving a write command defining a write operation in accordance with a predictable latency mode of the storage system that defines a deterministic window and a non-deterministic window;
determining whether the write operation is performed during the deterministic window or the non-deterministic window;
upon determining that the write operation is performed during the non-deterministic window, performing the write operation using a normal write mode;
upon determining that the write operation is performed during the deterministic window, analyzing a metric associated with the NVM to generate metric analysis results;
selecting a write operation approach from among a plurality of write operation approaches in response to the metric analysis results to define a selected write operation approach; and
performing the write operation using the selected write operation approach.

### Claim 2 (depends on 1)

The operating method of claim 1, wherein the metric is one of a program/erase cycle, a read count, an operating temperature, a usage time, a resource level, a read recovery execution time, a program execution time, a deterministic window time, and a deterministic window read/write value.

### Claim 3 (depends on 1)

The operating method of claim 1, further comprising:
upon determining that the write operation is performed during the deterministic window, determining whether or not an urgent background operation is pending in the NVM; and
upon determining that the urgent background operation is not pending in the NVM, performing the write operation using a normal write mode.

### Claim 4 (depends on 3)

The operating method of claim 3, further comprising:
upon determining that the urgent background operation is pending in the NVM, analyzing the metric associated with the NVM to generate the metric analysis results, selecting the write operation approach from among the plurality of write operation approaches in response to the metric analysis results, and performing the write operation using the selected write operation approach.

### Claim 5 (depends on 3)

The operating method of claim 3, wherein the plurality of write operation approaches includes at least one of; an acceleration write mode using write data compression, a single level write mode, a multi-level write mode, a lower level cell write mode, a higher level cell write mode, a compressed write mode, and the normal write mode.

### Claim 6 (depends on 1)

The operating method of claim 1, further comprising:
determining a residual time associated with execution of the write operation during the deterministic window.

### Claim 7 (depends on 6)

The operating method of claim 6, further comprising:
determining a first offset;
determining a second offset;
comparing the residual time to the first offset and the second offset;
if the residual time is less than the first offset, the selected write operation approach is a lower level cell write mode; and
if the residual time is less than the second offset, the selected write operation approach is one of a single level write mode and a compressed write mode.

### Claim 8 (depends on 7)

The operating method of claim 7, wherein if the selected write operation approach is the compressed write mode, the write operation is performed during a following non-deterministic window.

### Claim 9 (depends on 1)

The operating method of claim 1, further comprising:
migrating data written to the NVM by performing the write operation during a following non-deterministic window.

### Claim 10

An operating method for a storage controller in a storage system including a non-volatile memory (NVM), the operating method comprising:
receiving a read command defining a read operation in accordance with a predictable latency mode of the storage system that defines a deterministic window and a non-deterministic window;
performing the read operation during the deterministic window to generate read data;
upon determining that the read data includes a correctable error, performing a normal error correction code (ECC) recovery operation on the read data; and
upon determining that the read data includes an uncorrectable error, analyzing a metric associated with the NVM to generate metric analysis results, selecting a read recovery approach from a plurality of read recovery approaches in response to the metric analysis results, and performing a read recovery operation on the read data using the selected read recovery approach.

### Claim 11 (depends on 10)

The operating method of claim 10, wherein a first time required for normal reading and recovery reading first data within the deterministic window is different from a second time required for normal reading and recovery reading second data, which the second data is different with the first data within the deterministic window.

### Claim 12 (depends on 10)

The operating method of claim 10, wherein the metric is one of a program/erase cycle, a read count, an operating temperature, a usage time, a resource level, a read recovery execution time, a program execution time, a deterministic window time, and a deterministic window read/write value.

### Claim 13 (depends on 10)

The operating method of claim 10, further comprising:
setting a plurality of recovery read levels in accordance with read recovery information corresponding to a plurality of metrics including the metric.

### Claim 14 (depends on 13)

The operating method of claim 13, wherein the analyzing the metric and the selecting of the read recovery approach comprises:
determining an ON-cell count for the read data;
determining the uncorrectable error corresponding to the ON-cell count; and
selecting one of the plurality of recovery read levels corresponding to the uncorrectable error.

### Claim 15 (depends on 10)

The operating method of claim 10, wherein the selecting of the read recovery approach from the plurality of read recovery approaches in response to the metric analysis results is performed using a decision tree or a machine learning system.

### Claim 16

A storage system comprising:
a non-volatile storage device; and
a storage controller configured to control execution of memory access operations by a non-volatile memory (NVM) during a deterministic window defined in relation to a predictable latency mode of the storage system that defines the deterministic window and a non-deterministic window,
wherein the storage controller is further configured to analyze a metric associated with the NVM and a memory access operation among the memory access operations in order to generate metric analysis results, and select an optimal memory access operation approach from a plurality of memory access operation approaches in response to the metric analysis results.

### Claim 17 (depends on 16)

The storage system of claim 16, wherein the storage controller is further configured to monitor a residual time associated with execution of the memory access operation during the deterministic window.

### Claim 18 (depends on 16)

The storage system of claim 16, wherein the metric is one of a program/erase cycle, a read count, an operating temperature, a usage time, a resource level, a read recovery execution time, a program execution time, a deterministic window time, and a deterministic window read/write value.

### Claim 19 (depends on 16)

The storage system of claim 16, wherein the memory access operation is a read operation, and the storage controller is further configured to;
perform the read operation during the deterministic window to generate read data,
determine whether the read data includes an uncorrectable error,
upon determining that the read data includes an uncorrectable error, analyze the metric associated with the NVM and the read operation to generate the metric analysis results, and
select a read operation approach from a plurality of read operation approaches in response to the metric analysis results.

### Claim 20 (depends on 16)

The storage system of claim 16, wherein the memory access operation is a write operation and the storage controller is further configured to;
perform the write operation during the non-deterministic window using a normal write mode, or
perform the write operation during the deterministic window if no urgent background operation is pending in the NVM.
