# US 2022/0027057 A1 · Electronic device and method for determining lifespan and failure of nonvolatile memory storage device

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

- Number: US 2022/0027057 A1
- Document ID: US20220027057A1
- Status: Published application
- Kind: A1
- Application number: 17/383,872
- Filed: 2021-07-23
- Published: 2022-01-27
- Earliest claimed: 2020-07-24
- Assignees: Thinkware Corporation
- Applicants: Thinkware Corporation
- Inventors: Dae Won KIM
- Web page: https://patentgrep.com/patent/US20220027057A1

## CPC

- G06F 3/0616: {in relation to life time, e.g. increasing Mean Time Between Failures [MTBF]}
- G06F 3/0605: {by facilitating the interaction with a user or administrator}
- G06F 3/0619: {in relation to data integrity, e.g. data losses, bit errors}
- G06F 3/0634: {by changing the state or mode of one or more devices}
- G06F 3/0653: {Monitoring storage devices or systems}
- G06F 3/0656: {Data buffering arrangements}
- 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/076: {by exceeding a count or rate limit, e.g. word- or bit count limit}
- 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/3055: {Monitoring arrangements for monitoring the status of the computing system or of the computing system component, e.g. monitoring if the computing system is on, off, available, not available (error or fault processing without redundancy G06F11/0703; error detection or correction by redundancy in data representation G06F11/08; error detection or correction of the data by redundancy in operations G06F11/14; error detection or correction by redundancy in hardware G06F11/16)}
- G06F 11/3058: {Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations (thermal management in cooling arrangements of a computing system G06F1/206)}
- G06F 2201/81: Threshold
- G06F 2201/88: Monitoring involving counting
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Various embodiments provide an electronic device and method for determining the lifespan and failure of a nonvolatile memory storage device. The electronic device and the method according to various embodiments may be configured to determine whether the storage device has failed in response to a connection with the storage device, output a guidance message for replacing the storage device when the storage device fails, confirm whether the storage device has a function of autonomously identifying its state when the storage device is normal, check the lifespan of the storage device based on state information received from the storage device when the storage device has the function, estimate the lifespan of the storage device when the storage device does not have the function, and output the guidance message for replacing the storage device based on the lifespan.

## Claims

### Claim 1

A method of an electronic device on and from which a nonvolatile memory storage device is mountable and separable, the method comprising:
detecting a connection with the storage device;
estimating a lifespan of the storage device; and
outputting a guidance message for replacing the storage device based on the lifespan.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
detecting identification information of the storage device;
confirming whether the storage device has a function of autonomously identifying its state based on the identification information; and
checking the lifespan of the storage device based on state information received from the storage device when the storage device has the function, wherein estimating the lifespan comprises estimating the lifespan when the storage device does not have the function.

### Claim 3 (depends on 1)

The method of claim 1, wherein the electronic device comprises a storage buffer configured to temporarily store data to be stored in the storage device, and
wherein the estimating of the lifespan comprises:
storing data in the storage device by using the storage buffer; and
generating the guidance message when an amount of data stored in the storage buffer is greater than a buffer threshold.

### Claim 4 (depends on 3)

The method of claim 3, wherein the generating of the guidance message comprises:
estimating the lifespan based on the amount of data; and
generating the guidance message based on the lifespan.

### Claim 5 (depends on 1)

The method of claim 1, wherein a record for an amount of data stored in the storage device is present in at least one of the electronic device or the storage device, and
wherein the estimating of the lifespan comprises:
generating the guidance message when a storage quantity estimated based on the amount of data is equal to or greater than a storage threshold;
storing data in the storage device when the storage quantity is smaller than the storage threshold; and
updating the record when storing the data is terminated.

### Claim 6 (depends on 5)

The method of claim 5, wherein the storage quantity is estimated by a product of the amount of data and a predetermined write amplification factor (WAF) of the storage device.

### Claim 7 (depends on 5)

The method of claim 5, wherein the generating of the guidance message comprises:
estimating the lifespan based on the storage quantity; and
generating the guidance message based on the lifespan.

### Claim 8 (depends on 1)

The method of claim 1, further comprising:
determining whether the storage device has failed in response to the connection with the storage device; and
outputting the guidance message when the storage device fails.

### Claim 9 (depends on 8)

The method of claim 8, wherein the determining of the failure comprises:
determining that the storage device has failed when a write protection mode has been set in the storage device, and
wherein the write protection mode is set in the storage device when the lifespan of the storage device is reached.

### Claim 10 (depends on 8)

The method of claim 8, wherein the electronic device stores verification values of respective files while storing data in the storage device as the files, and
wherein the determining of the failure comprises:
checking a count of abnormal files by confirming integrity of each of the files stored in the storage device based on the verification values; and
determining that the storage device has failed when the count is greater than a count threshold.

### Claim 11

An electronic device on and from which a nonvolatile memory storage device is mountable and separable,
a connection terminal configured for a connection with the storage device; and
a processor connected to the connection terminal and configured to store data in the storage device through the connection terminal,
wherein the processor is configured to:
estimate a lifespan of the storage device, and
output a guidance message for replacing the storage device based on the lifespan.

### Claim 12 (depends on 11)

The electronic device of claim 11, wherein the processor is configured to:
detect identification information of the storage device,
confirm whether the storage device has a function of autonomously identifying its state based on the identification information,
check the lifespan of the storage device based on state information received from the storage device when the storage device has the function, and
estimate the lifespan when the storage device does not have the function.

### Claim 13 (depends on 11)

The electronic device of claim 11, further comprising a storage buffer configured to temporarily store data to be stored in the storage device,
wherein the processor is configured to:
store data in the storage device by using the storage buffer; and
generate the guidance message when an amount of data stored in the storage buffer is greater than a buffer threshold.

### Claim 14 (depends on 13)

The electronic device of claim 13, wherein the processor is configured to:
estimate the lifespan based on the amount of data; and
generate the guidance message based on the lifespan.

### Claim 15 (depends on 11)

The electronic device of claim 11, wherein a record for an amount of data stored in the storage device is present in at least one of the electronic device or the storage device, and
wherein the processor is configured to:
check the record,
generate the guidance message when a storage quantity estimated based on the amount of data of the record is equal to or greater than a storage threshold;
store data in the storage device when the storage quantity is smaller than the storage threshold; and
update the record when storing the data is terminated.

### Claim 16 (depends on 15)

The electronic device of claim 15, wherein the storage quantity is estimated by a product of the amount of data and a predetermined write amplification factor (WAF) of the storage device.

### Claim 17 (depends on 15)

The electronic device of claim 15, wherein the processor is configured to:
estimate the lifespan based on the storage quantity, and
generate the guidance message based on the lifespan.

### Claim 18 (depends on 11)

The electronic device of claim 11, wherein the processor is configured to:
determine whether the storage device has failed in response to the connection with the storage device; and
output the guidance message when the storage device fails.

### Claim 19 (depends on 18)

The electronic device of claim 18, wherein the processor is configured to determine that the storage device has failed when a write protection mode has been set in the storage device, and
wherein the write protection mode is set in the storage device when the lifespan of the storage device is reached.

### Claim 20 (depends on 18)

The electronic device of claim 18, wherein the processor is configured to:
store verification values of respective files while storing data in the storage device as the files,
check a count of abnormal files by confirming integrity of each of the files stored in the storage device based on the verification values in response to the connection with the storage device; and
determine that the storage device has failed when the count is greater than a count threshold.
