# US 2024/0202081 A1 · Storage device and recovery data backup method thereof

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

- Number: US 2024/0202081 A1
- Document ID: US20240202081A1
- Status: Published application
- Kind: A1
- Application number: 18/333,190
- Filed: 2023-06-12
- Published: 2024-06-20
- Earliest claimed: 2022-12-20
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: Jaerim OH; Jeong-Eun KIM
- Web page: https://patentgrep.com/patent/US20240202081A1

## CPC

- G06F 11/1441: {Resetting or repowering}
- G06F 11/1469: {Backup restoration techniques}
- G06F 11/0793: {Remedial or corrective actions (recovery from an exception in an instruction pipeline G06F9/3861; by retry G06F11/1402; for recovering from a failure of a protocol instance or entity H04L69/40)}
- G06F 11/2015: {Redundant power supplies (power supply failure G06F1/30)}
- 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/3062: {where the monitored property is the power consumption (power management in a computing system G06F1/3203)}
- G06F 11/3419: {by assessing time}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Disclosed is a storage device comprises a non-volatile memory configured to store data; a storage controller configured to determine a time to back up recovery data when a sudden power-off occurs and to perform a data dump operation according to a dump level determined based on the determined time when a user data dump fails; and a power loss protection (PLP) integrated circuit configured to measure at least one of a discharge time or remaining time of an auxiliary power supply when the sudden power-off occurs and to provide at least one of discharge time information or remaining time information to the storage controller, wherein the storage controller is configured to determine a minimum recovery data backup time in case of a user data dump failure using the at least one of the discharge time information or the remaining time information.

## Claims

### Claim 1

A storage device comprising:
a non-volatile memory configured to store data;
a storage controller configured to determine a time to back up recovery data when a sudden power-off occurs and to perform a data dump operation according to a dump level determined based on the determined time when a user data dump fails; and
a power loss protection (PLP) integrated circuit configured to measure at least one of a discharge time or remaining time of an auxiliary power supply when the sudden power-off occurs and to provide at least one of discharge time information or remaining time information to the storage controller,
wherein the storage controller is configured to determine a minimum recovery data backup time in case of a user data dump failure using the at least one of the discharge time information or the remaining time information.

### Claim 2 (depends on 1)

The storage device of claim 1, wherein the storage controller comprises a time estimator including processing circuitry configured to determine the time to back up the recovery data when the sudden power-off occurs; and
a PLP dump module including processing circuitry configured to perform the data dump operation to back up the recovery data according to the determined dump level.

### Claim 3 (depends on 2)

The storage device of claim 2, wherein the time estimator comprises an execution step manager configured to manage the time to perform at least one remaining operation after the user data dump failure and to determine which execution step is to be performed.

### Claim 4 (depends on 3)

The storage device of claim 3, wherein the time estimator is configured to determine the time to back up a minimum recovery data using at least one of a time or energy database and to determine a remaining time information.

### Claim 5 (depends on 3)

The storage device of claim 3, wherein the time estimator is configured to determine a unit time based on at least one of a minimum guaranteed operation time to back up a minimum recovery data or a reference dump amount.

### Claim 6 (depends on 3)

The storage device of claim 3, wherein the time estimator is configured to determine a dump guarantee time, according to at least one of lifetime or environment, by checking the remaining time information in real time.

### Claim 7 (depends on 2)

The storage device of claim 2, wherein the time estimator is configured to perform a time estimation operation by measuring at least one of a minimum time (Tmin) to guarantee a recovery data dump, an estimated time (Test) using a real-time capacitor discharge timer and time-to-energy conversion logic of the real-time capacitor discharge timer, an elapsed time (Telapsed) after recognizing a power loss, or a miscellaneous time (Tmisc) including abort time and idle energy consumption.

### Claim 8 (depends on 7)

The storage device of claim 7, wherein the time estimator is configured to switch to a dump task based on a determination that the Tmin is greater than or equal to Test-(Telapsed+Tmisc).

### Claim 9 (depends on 2)

The storage device of claim 2, wherein
the PLP dump module is configured to perform a dump operation, the dump operation including moving data stored in a buffer memory to the non-volatile memory, and
the data dumped by the PLP dump module includes minimum recovery data.

### Claim 10 (depends on 9)

The storage device of claim 9, wherein the minimum recovery data is determined as a plurality of dump levels according to the remaining time information, and
wherein a dump level, of the plurality of dump levels, having a smallest remaining time comprises a minimum debug data.

### Claim 11

A method for backing up recovery data of a storage device comprising:
determining at least one of a discharge time or a remaining time of an auxiliary power supply when a sudden power-off occurs;
determining a minimum recovery data backup time, in case of a user data dump failure, using the determined at least one of the discharge time or the remaining time; and
performing a data dump operation according to a defined dump level during the determined recovery data backup time.

### Claim 12 (depends on 11)

The method of claim 11, wherein the determining the minimum recovery data backup time includes determining a time for backing up the recovery data in each of a plurality of dump levels based on an amount of data in the defined dump level.

### Claim 13 (depends on 11)

The method of claim 11, further comprising:
performing a time estimation operation by measuring at least one of a minimum time (Tmin) to guarantee a recovery data dump, an estimated time (Test) using a real-time capacitor discharge timer and time-to-energy conversion logic time-to-energy conversion logic of the real-time capacitor discharge timer, an elapsed time (Telapsed) after recognizing a power loss, or a miscellaneous time (Tmisc) including abort time and idle energy consumption.

### Claim 14 (depends on 13)

The method of claim 13, wherein the performing the data dump operation is initiated based on a result of a comparison of the Tmin and of Test-(Telapsed+Tmisc).

### Claim 15 (depends on 11)

The method of claim 11, wherein the data dump operation includes moving data stored in a buffer memory to a non-volatile memory.

### Claim 16 (depends on 15)

The method of claim 15, wherein
the minimum recovery data dumped into the non-volatile memory is determined as a plurality of dump levels according to the remaining time, and
a dump level, of the plurality of dump levels, having a smallest remaining time comprises a minimum debug data.

### Claim 17

A storage system comprising:
a storage device including non-volatile memory and processing circuitry; and
a host connected to the storage device through a host interface,
wherein the storage device is configured to
determine at least one of a discharge time or a remaining time of an auxiliary power supply when sudden power-off occurs,
determine a minimum recovery data backup time, in case of a user data dump failure, using the determined at least one of the discharge time or the remaining time, and
perform a data dump operation according to a defined dump level during the determined recovery data backup time.

### Claim 18 (depends on 17)

The storage system of claim 17, wherein the storage device is configured to determine a time to back up minimum recovery data in each of a plurality of dump levels based on an amount of data in the defined dump level.

### Claim 19 (depends on 17)

The storage system of claim 17, wherein
the minimum recovery data dumped into the non-volatile memory is determined as a plurality of dump levels according to remaining time, and
a dump level, of the plurality of dump levels, having a smallest remaining time comprises a minimum debug data.

### Claim 20 (depends on 17)

The storage system of claim 17, wherein the storage device is a solid-state drive (SSD).
