# US 2022/0291864 A1 · Operation method of storage device configured to support multi-stream

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

- Number: US 2022/0291864 A1
- Document ID: US20220291864A1
- Status: Published application
- Kind: A1
- Application number: 17/691,758
- Filed: 2022-03-10
- Published: 2022-09-15
- Earliest claimed: 2021-03-11
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: Seungjun YANG; Kangho ROH
- Web page: https://patentgrep.com/patent/US20220291864A1

## 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 3/061: {Improving I/O performance}
- G06F 3/0616: {in relation to life time, e.g. increasing Mean Time Between Failures [MTBF]}
- G06F 3/064: {Management of blocks}
- G06F 3/0653: {Monitoring storage devices or systems}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06F 13/20: for access to input/output bus
- G06N 20/00: Machine learning
- G06N 20/20: Ensemble learning
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Disclosed is an operation method of a storage device supporting a multi-stream, which includes receiving an input/output request from an external host, generating a plurality of stream identifier candidates by performing machine learning on the input/output request based on a plurality of machine learning models that are based on different machine learning algorithms, generating a model ratio based on a characteristic of the input/output request, applying the model ratio to the plurality of stream identifier candidates to allocate a final stream identifier for the input/output request, and storing write data corresponding to the input/output request in a nonvolatile memory device of the storage device based on the final stream identifier.

## Claims

### Claim 1

An operation method of a storage device which supports a multi-stream, the method comprising:
receiving an input/output request from an external host;
generating a plurality of stream identifier candidates by performing machine learning on the input/output request based on a plurality of machine learning models that are based on different machine learning algorithms;
generating a model ratio based on a characteristic of the input/output request;
applying the model ratio to the plurality of stream identifier candidates to allocate a final stream identifier for the input/output request; and
storing write data corresponding to the input/output request in a nonvolatile memory device of the storage device based on the final stream identifier.

### Claim 2 (depends on 1)

The method as claimed in claim 1, wherein the characteristic of the input/output request includes at least one of a logical block address, a logical block address range, and a request size of the input/output request.

### Claim 3 (depends on 1)

The method as claimed in claim 1, wherein the characteristic of the input/output request includes at least one of an overwrite ratio and a logical block address continuity of input/output requests adjacent to the input/output request.

### Claim 4 (depends on 1)

The method as claimed in claim 1, wherein the model ratio includes a plurality of coefficients respectively corresponding to the plurality of machine learning models, and
wherein the plurality of coefficients have different values.

### Claim 5 (depends on 4)

The method as claimed in claim 4, wherein the plurality of coefficients when the characteristic of the input/output request corresponds to a first logical block address range are different from the plurality of coefficients when the characteristic of the input/output request corresponds to a second logical block address range.

### Claim 6 (depends on 1)

The method as claimed in claim 1, wherein each of the plurality of machine learning models is based on at least one of a linear regression algorithm, a support vector machine algorithm, a deep neural network algorithm, a deep stream algorithm, a K-Mean algorithm, a clustering algorithm, an auto encoder algorithm, a convolutional neural network algorithm, and a Siamese network algorithm.

### Claim 7 (depends on 1)

The method as claimed in claim 1, wherein the generating of the model ratio based on the characteristic of the input/output request includes:
extracting the characteristic of the input/output request; and
selecting and outputting the model ratio corresponding to the characteristic from a lookup table, and
wherein the lookup table includes a plurality of entries, and each of the plurality of entries includes information about a model ratio corresponding to each of a plurality of characteristics.

### Claim 8 (depends on 7)

The method as claimed in claim 7, wherein the lookup table is included in firmware of the storage device.

### Claim 9 (depends on 1)

The method as claimed in claim 1, wherein, when the final stream identifier is a first stream identifier, the write data are stored in a first memory block of the nonvolatile memory device, and
wherein, when the final stream identifier is a second stream identifier different from the first stream identifier, the write data are stored in a second memory block of the nonvolatile memory device, which is different from the first memory block.

### Claim 10 (depends on 1)

The method as claimed in claim 1, wherein the input/output request includes accumulated write requests, and a size of accumulated write data corresponding to the accumulated write requests is a given size.

### Claim 11 (depends on 1)

The method as claimed in claim 1, wherein the input/output request includes accumulated write requests, and a number of the accumulated write requests is a given number.

### Claim 12

An operation method of a storage device which supports a multi-stream, the method comprising:
receiving a sequential input/output request from an external host;
generating a first result value by performing machine learning on the sequential input/output request based on a first machine learning model;
generating a second result value by performing machine learning on the sequential input/output request based on a second machine learning model;
generating a first model ratio based on a characteristic of the sequential input/output request;
applying the first model ratio to the first and second result values to generate a first stream identifier;
allocating the first stream identifier to the sequential input/output request;
receiving a random input/output request from the external host;
generating a third result value by performing the machine learning on the random input/output request based on the first machine learning model;
generating a fourth result value by performing the machine learning on the random input/output request based on the second machine learning model;
generating a second model ratio different from the first model ratio based on a characteristic of the random input/output request;
applying the second model ratio to the third and fourth result values to generate a second stream identifier; and
allocating the second stream identifier to the random input/output request.

### Claim 13 (depends on 12)

The method as claimed in claim 12, wherein the generating of the first model ratio, the generating of the first stream identifier, the generating of the second model ratio, and the generating of the second stream identifier are performed based on an ensemble model.

### Claim 14 (depends on 12)

The method as claimed in claim 12, wherein each of the first and second machine learning models is based on at least one of a linear regression algorithm, a support vector machine algorithm, a deep neural network algorithm, a deep stream algorithm, a K-Mean algorithm, a clustering algorithm, an auto encoder algorithm, a convolutional neural network algorithm, and a Siamese network algorithm.

### Claim 15 (depends on 12)

The method as claimed in claim 12, further comprising:
storing data corresponding to the sequential input/output request, to which the first stream identifier is allocated, in a first memory block of a nonvolatile memory device of the storage device; and
storing data corresponding to the random input/output request, to which the second stream identifier is allocated, in a second memory block of the nonvolatile memory device, which is different from the first memory block.

### Claim 16 (depends on 12)

The method as claimed in claim 12, wherein the sequential input/output request corresponds to a first logical block address range, and the random input/output request corresponds to a second logical block address range different from the first logical block address range.

### Claim 17

An operation method of a storage device which supports a multi-stream, the method comprising:
receiving an input/output request from an external host;
generating a plurality of stream identifier candidates by performing machine learning on the input/output request based on a plurality of machine learning models that are based on different machine learning algorithms;
generating a final stream identifier by performing inference on the plurality of stream identifier candidates based on an ensemble model; and
storing write data corresponding to the input/output request in a nonvolatile memory device of the storage device based on the final stream identifier.

### Claim 18 (depends on 17)

The method as claimed in claim 17, wherein each of the plurality of machine learning models is based on at least one of a linear regression algorithm, a support vector machine algorithm, a deep neural network algorithm, a deep stream algorithm, a K-Mean algorithm, a clustering algorithm, an auto encoder algorithm, a convolutional neural network algorithm, and a Siamese network algorithm.

### Claim 19 (depends on 17)

The method as claimed in claim 17, wherein, when the final stream identifier is a first stream identifier, the write data are stored in a first memory block of the nonvolatile memory device, and
wherein, when the final stream identifier is a second stream identifier different from the first stream identifier, the write data are stored in a second memory block of the nonvolatile memory device, which is different from the first memory block.

### Claim 20 (depends on 17)

The method as claimed in claim 17, wherein, when the input/output request corresponds to a first logical block address range, the final stream identifier generated by the ensemble model is predominant in a first stream identifier candidate generated by a first machine learning model of the plurality of machine learning models, and
wherein, when the input/output request corresponds to a second logical block address range, the final stream identifier generated by the ensemble model is predominant in a second stream identifier candidate generated by a second machine learning model of the plurality of machine learning models.
