# US 2017/0293440 A1 · Storage device and data saving method in the same

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

- Number: US 2017/0293440 A1
- Document ID: US20170293440A1
- Status: Published application
- Kind: A1
- Application number: 15/394,347
- Filed: 2016-12-29
- Published: 2017-10-12
- Earliest claimed: 2016-04-07
- Assignees: Kabushiki Kaisha Toshiba
- Applicants: Kabushiki Kaisha Toshiba
- Inventors: Hiroyoshi SAITO
- Web page: https://patentgrep.com/patent/US20170293440A1

## CPC

- G06F 3/0619: {in relation to data integrity, e.g. data losses, bit errors}
- G06F 3/0647: {Migration mechanisms}
- G06F 3/0685: {Hybrid storage combining heterogeneous device types, e.g. hierarchical storage, hybrid arrays}
- G06F 12/0802: Addressing of a memory level in which the access to the desired data or data block requires associative addressing means, e.g. caches
- G06F 12/0868: Data transfer between cache memory and other subsystems, e.g. storage devices or host systems
- G06F 2212/1032: Reliability improvement, data loss prevention, degraded operation etc
- G06F 2212/60: Details of cache memory
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A storage device includes a nonvolatile storage medium, a volatile memory, a plurality of nonvolatile memories, each of which has a lower access latency than the nonvolatile storage medium, and a controller circuitry. The controller circuitry is configured to store, temporarily in the volatile memory, write data to be written in the nonvolatile storage medium, and in response to an interruption of power supplied to the storage device from an external power source, select target nonvolatile memories to be accessed, from the plurality of nonvolatile memories, in an order determined based on a busy state of each of the plurality of nonvolatile memories, and save a different portion of the write data stored in the volatile memory into the selected target volatile memories, respectively.

## Claims

### Claim 1

A storage device, comprising:
a nonvolatile storage medium;
a volatile memory;
a plurality of nonvolatile memories, each of which has a lower access latency than the nonvolatile storage medium; and
a controller circuitry configured to
store, temporarily in the volatile memory, write data to be written in the nonvolatile storage medium, and
in response to an interruption of power supplied to the storage device from an external power source, select target nonvolatile memories to be accessed, from the plurality of nonvolatile memories, in an order determined based on a busy state of each of the plurality of nonvolatile memories, and save a different portion of the write data stored in the volatile memory into the selected target nonvolatile memories, respectively.

### Claim 2 (depends on 1)

The storage device according to claim 1, wherein
the controller circuitry periodically selects the target nonvolatile memories from the plurality of nonvolatile memories, while skipping any of the nonvolatile memories in the busy state.

### Claim 3 (depends on 1)

The storage device according to claim 1, further comprising:
an internal power source, wherein
the controller circuitry carries out saving of the write data into the nonvolatile memories using power supplied from the internal power source.

### Claim 4 (depends on 1)

The storage device according to claim 1, wherein
the controller circuitry is further configured to
maintain correspondence between a region of the volatile memory in which a portion of the write data was stored and an address of the nonvolatile memories in which the portion of the write data is saved, and
save the correspondence in one of the nonvolatile memories after completion of saving the write data.

### Claim 5 (depends on 4)

The storage device according to claim 4, wherein
the controller circuitry is further configured to load the saved correspondence into the volatile memory, in response to restart of power supply from the external power source.

### Claim 6 (depends on 5)

The storage device according to claim 5, wherein
the controller circuitry is further configured to store the saved portions of write data in regions of the volatile memory in which the saved portions were originally stored, respectively, by referring to the loaded correspondence.

### Claim 7 (depends on 1)

The storage device according to claim 1, wherein
the controller circuitry is further configured to sequentially select a target region of the target nonvolatile memory while skipping one or more regions of the target nonvolatile memory in a defective state, to save the portion of the write data in the selected target region of the target nonvolatile memory.

### Claim 8 (depends on 7)

The storage device according to claim 7, wherein
the controller circuitry is further configured to
maintain defect management data indicating one or more defective regions in each of the nonvolatile memories, and
save the defect management data in one of the nonvolatile memories in addition to the write data.

### Claim 9 (depends on 8)

The storage device according to claim 8, wherein
the controller circuitry is further configured to load the saved defect management data into the volatile memory, in response to restart of power supply from the external power source.

### Claim 10 (depends on 1)

The storage device according to claim 1, wherein
the controller circuitry accesses the selected target nonvolatile memories in the determined order and in parallel.

### Claim 11 (depends on 1)

The storage device according to claim 1, wherein
a data writing speed of one of the nonvolatile memories is different from a data writing speed of another one of the nonvolatile memories.

### Claim 12

A method of saving data in a storage device including a nonvolatile storage medium, a volatile memory, and a plurality of nonvolatile memories, each of which has a lower access latency than the nonvolatile storage medium, the method comprising:
detecting an interruption of power supplied to the storage device from an external power source;
in response to the detection of the interruption of power, selecting target nonvolatile memories to be accessed, from the plurality of nonvolatile memories, in an order determined based on a busy state of each of the plurality of nonvolatile memories; and
saving a different portion of write data that are temporarily stored in the volatile memory and to be written in the nonvolatile storage medium, into the selected target nonvolatile memories, respectively.

### Claim 13 (depends on 12)

The method according to claim 12, wherein
the target nonvolatile memories are selected periodically from the plurality of nonvolatile memories, while skipping any of the nonvolatile memories in the busy state.

### Claim 14 (depends on 12)

The method according to claim 12, wherein
the saving is carried out using power supplied from an internal power source of the storage device.

### Claim 15 (depends on 12)

The method according to claim 12, further comprising:
maintaining correspondence between a region of the volatile memory in which a portion of the write data was stored and an address of the nonvolatile memories in which the portion of the write data is saved; and
saving the correspondence in one of the nonvolatile memories after completion of saving the write data.

### Claim 16 (depends on 15)

The method according to claim 15, further comprising:
loading the saved correspondence into the volatile memory of the storage device, in response to restart of power supply from the external power source.

### Claim 17 (depends on 16)

The method according to claim 16, further comprising:
storing the saved portions of write data in regions of the volatile memory in which the saved portions were originally stored, respectively, by referring to the loaded correspondence.

### Claim 18 (depends on 12)

The method according to claim 12, further comprising:
sequentially selecting a target region of the target nonvolatile memory while skipping one or more regions of the target nonvolatile memory in a defective state, to save the portion of the write data in the selected target region of the target nonvolatile memory.

### Claim 19 (depends on 18)

The method according to claim 18, further comprising:
maintaining defect management data indicating one or more defective regions in each of the nonvolatile memories, and
saving the defect management data in one of the nonvolatile memories in addition to the write data.

### Claim 20 (depends on 19)

The method according to claim 19, further comprising:
loading the saved defect management data into the volatile memory of the storage device, in response to restart of power supply from the external power source.
