# US 2022/0066897 A1 · Multi-non-volatile memory solid state drive block-level failure prediction with unified device log

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

- Number: US 2022/0066897 A1
- Document ID: US20220066897A1
- Status: Published application
- Kind: A1
- Application number: 17/093,626
- Filed: 2020-11-09
- Published: 2022-03-03
- Earliest claimed: 2020-09-02
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: Nima ELYASI; Changho CHOI
- Web page: https://patentgrep.com/patent/US20220066897A1

## CPC

- G06F 11/3034: {where the computing system component is a storage system, e.g. DASD based or network based (digital input from or digital output to record carriers G06F3/06; digital recording or reproducing G11B20/18; for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS], H04L67/1097)}
- G06F 11/3476: {Data logging (G06F11/14, G06F11/2205 take precedence)}
- G06F 3/0619: {in relation to data integrity, e.g. data losses, bit errors}
- G06F 3/064: {Management of blocks}
- 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/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 3/0673: {Single storage device}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06F 11/076: {by exceeding a count or rate limit, e.g. word- or bit count limit}
- G06F 11/0772: {Means for error signaling, e.g. using interrupts, exception flags, dedicated error registers}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A storage device is disclosed. A first storage media may store data. The first storage media may be of a first storage type, and may be organized into at least two blocks. A second storage media may also store data. The second storage media may be of a second storage type different from the first type, and may also be organized into at least two blocks. A controller may manage reading data from and writing data to the first storage media and the second storage media. Metadata storage may store device-based log data for errors in the storage device. The drive-based log data for errors may include a unified log data for the first storage media and the second storage media. An identification circuit may identify a suspect block in the at least two blocks in the first storage media and the second storage media, responsive to the unified log data. Parameters for the first storage media and the second storage media may be derived from a unified parameter in the unified log data in proportion to the number of write operations and the number of read operations to each storage media, relative to the number of write operations and the number of read operations of the storage device.

## Claims

### Claim 1

A storage device, comprising:
a first storage media to store a first data, the first storage media of a first storage type, the first storage media organized into at least two first blocks;
a second storage media to store a second data, the second storage media of a second storage type different from the first type, the second storage media organized into at least two second blocks;
a controller to manage reading data from and writing data to the first storage media and the second storage media;
metadata storage to store device-based log data for errors in the storage device, the drive-based log data for errors including a unified log data for the first storage media and the second storage media; and
an identification circuit configured to identify a suspect block in the at least two first blocks and the at least two second blocks responsive to the unified log data,
wherein a first parameter for the first storage media may be derived from a unified parameter in the unified log data in proportion to a first number of write operations to the first storage media and a second number of read operations to the first storage media, relative to a number of write operations and a number of read operations of the storage device, and
wherein a second parameter for the second storage media may be derived from the unified parameter in the unified log data in proportion to a third number of write operations to the second storage media and a fourth number of read operations to the second storage media, relative to the number of write operations and the number of read operations of the storage device.

### Claim 2 (depends on 1)

The storage device according to claim 1, wherein:
the first storage type includes first error characteristics; and
the second storage type includes second error characteristics,
wherein the first error characteristics and the second error characteristics are different.

### Claim 3 (depends on 1)

The storage device according to claim 1, wherein the metadata storage stores the first number of write operations to the first storage media, the second number of read operations from the first storage media, the third number of write operations to the second storage media, and the fourth number of read operations from the second storage media.

### Claim 4 (depends on 1)

The storage device according to claim 1, wherein the unified log data includes:
a first most recent set of the errors in the first storage media in the storage device; and
a second most recent set of errors in the second storage media in the storage device.

### Claim 5 (depends on 4)

The storage device according to claim 4, wherein:
the first most recent set of the errors in the first storage media includes a first number of errors; and
the second most recent set of the errors in the second storage media includes a second number of errors.

### Claim 6 (depends on 5)

The storage device according to claim 5, wherein the first number of errors and the second number of errors are in proportion to a first capacity of the first storage media and a second capacity of the second storage media.

### Claim 7 (depends on 4)

The storage device according to claim 4, wherein:
a first oldest entry in the first most recent set of the errors in the first storage media in the storage device is discarded when a first new error in the first storage media occurs; and
a second oldest entry in the second most recent set of the errors in the second storage media in the storage device is discarded when a second new error in the second storage media occurs.

### Claim 8 (depends on 4)

The storage device according to claim 4, wherein:
the metadata storage is further configured to store precise block-based data regarding the errors in the storage device; and
the storage device further comprises a verification circuit configured to determine whether the suspect block is predicted to fail responsive to both the precise block-based data and the unified log data.

### Claim 9 (depends on 8)

The storage device according to claim 8, wherein the verification circuit includes a first model for the first storage type and a second model for the second storage type.

### Claim 10 (depends on 8)

The storage device according to claim 8, wherein the verification circuit includes a model that may consider a selected storage type associated with the suspect block.

### Claim 11 (depends on 4)

The storage device according to claim 4, wherein the identification circuit is configured to derive approximate block-based data from the unified log data.

### Claim 12

A method, comprising:
tracking errors in a storage device, the storage device including a first storage media to store a first data and a second storage media to store a second data, the first storage media of a first storage type, the first storage media organized into at least two first blocks, the second storage media of a second storage type different from the first type, the second storage media organized into at least two second blocks;
storing unified log data about the errors in the first storage media and the second storage media in the storage device; and
identifying a suspect block in the first blocks and the second blocks responsive to the unified log data,
wherein a first parameter for the first storage media may be derived from a unified parameter in the unified log data in proportion to a first number of write operations to the first storage media and a second number of read operations to the first storage media, relative to a number of write operations and a number of read operations of the storage device, and
wherein a second parameter for the second storage media may be derived from the unified parameter in the unified log data in proportion to a third number of write operations to the second storage media and a fourth number of read operations to the second storage media, relative to the number of write operations and the number of read operations of the storage device.

### Claim 13 (depends on 12)

The method according to claim 12, further comprising:
deriving the first parameter for the first storage media from the unified parameter in the unified log data in proportion to the first number of write operations to the first storage media and the second number of read operations to the first storage media, relative to the number of write operations and the number of read operations of the storage device, and applying a weight, and
deriving the second parameter for the second storage media from the unified parameter in the unified log data in proportion to the first number of write operations to the first storage media and the second number of read operations to the first storage media, relative to the number of write operations and the number of read operations of the storage device, and applying the weight.

### Claim 14 (depends on 13)

The method according to claim 13, wherein the weight includes at least one of a first relative contribution to the unified parameter of write operations to the storage device or a second relative contribution to the unified parameter of read operations to the storage device.

### Claim 15 (depends on 12)

The method according to claim 12, wherein storing unified log data about the errors in the storage device includes:
storing a first most recent set of the errors in the first storage media in the storage device; and
storing a second most recent set of the errors in the second storage media in the storage device.

### Claim 16 (depends on 15)

The method according to claim 15, further comprising:
storing precise block-based data regarding the errors in the storage device; and
once the suspect block has been identified, determining whether the suspect block is predicted to fail responsive to both the precise block-based data and the unified log data using a model, the model one of at least a first model for the first storage type and a second model for the second storage type.

### Claim 17 (depends on 16)

The method according to claim 16, wherein storing precise block-based data regarding the errors in the storage device includes:
storing a first counter for the number of errors in the first storage media; and
storing a second counter for the number of errors in the second storage media.

### Claim 18 (depends on 16)

The method according to claim 16, wherein determining whether the suspect block is predicted to fail responsive to both the precise block-based data and the unified log data includes determining whether the suspect block is predicted to fail responsive to both the precise block-based data and the unified log data for only the suspect block.

### Claim 19

An article, comprising a non-transitory storage medium, the non-transitory storage medium having stored thereon instructions that, when executed by a machine, result in:
tracking errors in a storage device, the storage device including a first storage media to store a first data and a second storage media to store a second data, the first storage media of a first storage type, the first storage media organized into at least two first blocks, the second storage media of a second storage type different from the first type, the second storage media organized into at least two second blocks;
storing unified log data about the errors in the first storage media and the second storage media in the storage device; and
identifying a suspect block in the first blocks and the second blocks responsive to the unified log data,
wherein a first parameter for the first storage media may be derived from a unified parameter in the unified log data in proportion to a first number of write operations to the first storage media and a second number of read operations to the first storage media, relative to a number of write operations and a number of read operations of the storage device, and
wherein a second parameter for the second storage media may be derived from the unified parameter in the unified log data in proportion to a third number of write operations to the second storage media and a fourth number of read operations to the second storage media, relative to the number of write operations and the number of read operations of the storage device.

### Claim 20 (depends on 19)

The article according to claim 19, wherein the non-transitory storage medium has stored thereon further instructions that, when executed by the machine, result in:
deriving the first parameter for the first storage media from the unified parameter in the unified log data in proportion to the first number of write operations to the first storage media and the second number of read operations to the first storage media, relative to the number of write operations and the number of read operations of the storage device, and applying a weight, and
deriving the second parameter for the second storage media from the unified parameter in the unified log data in proportion to the first number of write operations to the first storage media and the second number of read operations to the first storage media, relative to the number of write operations and the number of read operations of the storage device, and applying the weight.
