# US 2024/0428819 A1 · Data storage device with accelerated post-emergency-power-off recovery process

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

- Number: US 2024/0428819 A1
- Document ID: US20240428819A1
- Status: Published application
- Kind: A1
- Application number: 18/231,891
- Filed: 2023-08-09
- Published: 2024-12-26
- Earliest claimed: 2023-06-23
- Assignees: Western Digital Technologies, Inc.
- Applicants: Western Digital Technologies, Inc.
- Inventors: Satoshi Kumagai; Takahiro Oue
- Web page: https://patentgrep.com/patent/US20240428819A1

## CPC

- G11B 5/09: Digital recording
- G11B 5/59655: {Sector, sample or burst servo format}
- G11B 19/047: {Recovery from power failure}
- G11B: INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER (recording measured values in a way that does not require playback through a transducer G01D9/00; recording or playback apparatus using mechanically marked tape, e.g. punched paper tape, or using unit records, e.g. punched or magnetically marked cards G06K; transferring data from one type of record carrier to another G06K1/18; circuits for coupling output of reproducer to radio receiver H04B1/20; gramophone pick-ups or like acoustic electromechanical transducers or circuits therefor H04R)

## Abstract

Illustrative aspects are directed to a data storage device, comprising disks, an actuator mechanism configured to position heads proximate to the disks, and processing devices, including a memory. The processing devices are configured to: receive data with an indicated address for writing the data to a selected disk; read, from the selected disk, a data sector from a location that comprises the indicated address; integrate the received data with a subset of the sector read from the selected disk, thereby generating a new sector that comprises the received data positioned in the new sector in accordance with the indicated address; detect, while the new sector is in the memory and not yet written to the selected disk, a loss of nominal electrical power to the data storage device; and write, in response to detecting the loss of nominal electrical power, the new sector from the memory to a non-volatile cache.

## Claims

### Claim 1

A data storage device, comprising:
one or more disks;
an actuator mechanism configured to position heads proximate to disk surfaces among the one or more disks; and
one or more processing devices comprising a memory component, and wherein the one or more processing devices are configured to:
receive a set of data with an indicated address for writing the set of data to a selected disk surface among the disk surfaces;
read, from the selected disk surface, a data sector from a data sector location that comprises the indicated address;
integrate, in the memory component, the received set of data with a subset of the data sector read from the selected disk surface, thereby generating a new data sector that comprises the received set of data positioned in the new data sector in accordance with the indicated address;
detect, while the new data sector is in the memory component and not yet written to the selected disk surface, a loss of nominal electrical power to the data storage device; and
write, in response to detecting the loss of nominal electrical power, the new data sector from the memory component to a non-volatile cache.

### Claim 2 (depends on 1)

The data storage device of claim 1, wherein the one or more processing devices are further configured to:
detect a restoration of nominal power; and
in response to detecting the restoration of nominal power, write the new data sector to the selected disk surface at the data sector location that comprises the indicated address.

### Claim 3 (depends on 2)

The data storage device of claim 2, wherein the one or more processing devices are further configured to:
in response to detecting the restoration of nominal power, write the new data sector from the non-volatile cache to a media cache; and
load the new data sector from the media cache to the memory component,
wherein writing the new data sector to the selected disk surface at the data sector location that comprises the indicated address comprises writing the new data sector from the memory component.

### Claim 4 (depends on 2)

The data storage device of claim 2, wherein the one or more processing devices are further configured to:
in response to detecting the restoration of nominal power, load the new data sector from the non-volatile cache to the memory component,
wherein writing the new data sector to the selected disk surface at the data sector location that comprises the indicated address comprises writing the new data sector from the memory component.

### Claim 5 (depends on 1)

The data storage device of claim 1, wherein the received set of data is a first received set of data, and wherein the one or more processing devices are further configured to:
write, in response to detecting the loss of nominal electrical power while a second received set of data is loaded in the memory component and is not integrated in a new data sector, the second received set of data from the memory component to the non-volatile cache.

### Claim 6 (depends on 5)

The data storage device of claim 5, wherein the new data sector is a first new data sector and the indicated address is a first indicated address, and wherein the one or more processing devices are further configured to:
detect a restoration of nominal power;
read, in response to detecting the restoration of nominal power, from the selected disk surface, a second data sector from a data sector location that comprises a second indicated address for writing the second set of data to one of the disk surfaces;
integrate, in the memory component, the second received set of data with a subset of the second data sector read from the selected disk surface, thereby generating a second new data sector that comprises the second received set of data positioned in the second new data sector in accordance with the second indicated address; and
write the first new data sector to the selected disk surface at the data sector location that comprises the first indicated address, and write the second new data sector to the selected disk surface at the data sector location that comprises the second indicated address.

### Claim 7 (depends on 1)

The data storage device of claim 1, wherein the one or more processing devices are further configured to encode data in a distributed sector encoding scheme, and are further configured such that:
reading the data sector from the data sector location that comprises the indicated address comprises reading one or more distributed sectors from the data sector location that comprises the indicated address;
generating the new data sector that comprises the received set of data positioned in the new data sector in accordance with the indicated address comprises generating one or more new distributed sectors that comprise the received set of data positioned in the new distributed sectors in accordance with the indicated address; and
writing, in response to detecting the loss of nominal electrical power, the new data sector from the memory component to the non-volatile cache, comprises writing the new distributed sectors from the memory component to the non-volatile cache.

### Claim 8 (depends on 7)

The data storage device of claim 7, wherein the one or more processing devices are further configured to:
detect a restoration of nominal power; and
write, in response to detecting the restoration of nominal power, the new distributed sectors to the selected disk surface at the data sector location that comprises the indicated address.

### Claim 9 (depends on 1)

The data storage device of claim 1, wherein the new data sector is a partly integrated data sector that comprises the received set of data and a partial set of data from the data sector from the data sector location that comprises the indicated address at the time of detecting the loss of nominal electrical power, and wherein the one or more processing devices are further configured to:
write, in response to detecting the loss of nominal electrical power, the partly integrated data sector from the memory component to the non-volatile cache;
detect a restoration of nominal power;
in response to detecting the restoration of nominal power, read and integrate a remaining portion of the data sector with the partly integrated data sector into a complete new data sector, and write the complete new data sector to the selected disk surface at the data sector location that comprises the indicated address.

### Claim 10

A method comprising:
receiving, by one or more processing devices, a set of data with an indicated address for writing the set of data to a selected disk surface among one or more disks;
reading, by the one or more processing devices from a selected disk surface of a data storage device, a data sector from a data sector location that comprises the indicated address;
integrating, by the one or more processing devices in a memory component, the received set of data with a subset of the data sector read from the selected disk surface, thereby generating a new data sector that comprises the received set of data positioned in the new data sector in accordance with the indicated address;
detecting, by the one or more processing devices, while the new data sector is in the memory component and not yet written to the selected disk surface, a loss of nominal electrical power to the data storage device; and
writing, by the one or more processing devices, in response to detecting the loss of nominal electrical power, the new data sector from the memory component to a non-volatile cache.

### Claim 11 (depends on 10)

The method of claim 10, further comprising:
detecting a restoration of nominal power; and
in response to detecting the restoration of nominal power, writing the new data sector to the selected disk surface at the data sector location that comprises the indicated address.

### Claim 12 (depends on 11)

The method of claim 11, further comprising:
in response to detecting the restoration of nominal power, writing the new data sector from the non-volatile cache to a media cache; and
loading the new data sector from the media cache to the memory component,
wherein writing the new data sector to the selected disk surface at the data sector location that comprises the indicated address comprises writing the new data sector from the memory component.

### Claim 13 (depends on 10)

The method of claim 10, wherein the received set of data is a first received set of data, the method further comprising:
writing, in response to detecting the loss of nominal electrical power while a second received set of data is loaded in the memory component and is not integrated in a new data sector, the second received set of data from the memory component to the non-volatile cache.

### Claim 14 (depends on 13)

The method of claim 13, wherein the new data sector is a first new data sector and the indicated address is a first indicated address, the method further comprising:
detecting a restoration of nominal power;
reading, in response to detecting the restoration of nominal power, from the selected disk surface, a second data sector from a data sector location that comprises a second indicated address for writing the second set of data to one of the disk surfaces;
integrating, in the memory component, the second received set of data with a subset of the second data sector read from the selected disk surface, thereby generating a second new data sector that comprises the second received set of data positioned in the second new data sector in accordance with the second indicated address; and
writing the first new data sector to the selected disk surface at the data sector location that comprises the first indicated address, and write the second new data sector to the selected disk surface at the data sector location that comprises the second indicated address.

### Claim 15 (depends on 10)

The method of claim 10, wherein the one or more processing devices are configured to encode data in a distributed sector encoding scheme, the method further comprising:
reading the data sector from the data sector location that comprises the indicated address comprises reading one or more distributed sectors from the data sector location that comprises the indicated address;
generating the new data sector that comprises the received set of data positioned in the new data sector in accordance with the indicated address comprises generating one or more new distributed sectors that comprise the received set of data positioned in the new distributed sectors in accordance with the indicated address;
writing, in response to detecting the loss of nominal electrical power, the new data sector from the memory component to the non-volatile cache, comprises writing the new distributed sectors from the memory component to the non-volatile cache;
detecting a restoration of nominal power; and
writing, in response to detecting the restoration of nominal power, the new distributed sectors to the selected disk surface at the data sector location that comprises the indicated address.

### Claim 16

One or more processing devices comprising:
means for receiving a set of data with an indicated address for writing the set of data to a selected disk surface among one or more disks;
means for reading, from a selected disk surface of a data storage device, a data sector from a data sector location that comprises the indicated address;
means for integrating, in a memory component, the received set of data with a subset of the data sector read from the selected disk surface, thereby generating a new data sector that comprises the received set of data positioned in the new data sector in accordance with the indicated address;
means for detecting, while the new data sector is in the memory component and not yet written to the selected disk surface, a loss of nominal electrical power to the data storage device; and
means for writing, in response to detecting the loss of nominal electrical power, the new data sector from the memory component to a non-volatile cache.

### Claim 17 (depends on 16)

The one or more processing devices of claim 16, further comprising:
means for detecting a restoration of nominal power;
means for writing, in response to detecting the restoration of nominal power, the new data sector to the selected disk surface at the data sector location that comprises the indicated address;
means for writing, in response to detecting the restoration of nominal power, the new data sector from the non-volatile cache to a media cache; and
means for loading the new data sector from the media cache to the memory component,
wherein the means for writing the new data sector to the selected disk surface at the data sector location that comprises the indicated address comprises means for writing the new data sector from the memory component.

### Claim 18 (depends on 16)

The one or more processing devices of claim 16, wherein the received set of data is a first received set of data, the one or more processing devices further comprising:
means for writing, in response to detecting the loss of nominal electrical power while a second received set of data is loaded in the memory component and is not integrated in a new data sector, the second received set of data from the memory component to the non-volatile cache.

### Claim 19 (depends on 18)

The one or more processing devices of claim 18, wherein the new data sector is a first new data sector and the indicated address is a first indicated address, the one or more processing devices further comprising:
means for detecting a restoration of nominal power;
means for reading, in response to detecting the restoration of nominal power, from the selected disk surface, a second data sector from a data sector location that comprises a second indicated address for writing the second set of data to one of the disk surfaces;
means for integrating, in the memory component, the second received set of data with a subset of the second data sector read from the selected disk surface, thereby generating a second new data sector that comprises the second received set of data positioned in the second new data sector in accordance with the second indicated address; and
means for writing the first new data sector to the selected disk surface at the data sector location that comprises the first indicated address, and write the second new data sector to the selected disk surface at the data sector location that comprises the second indicated address.

### Claim 20 (depends on 19)

The one or more processing devices of claim 19, wherein the one or more processing devices are configured to encode data in a distributed sector encoding scheme, the one or more processing devices further comprising:
means for reading the data sector from the data sector location that comprises the indicated address comprises reading one or more distributed sectors from the data sector location that comprises the indicated address;
means for generating the new data sector that comprises the received set of data positioned in the new data sector in accordance with the indicated address comprises generating one or more new distributed sectors that comprise the received set of data positioned in the new distributed sectors in accordance with the indicated address;
means for writing, in response to detecting the loss of nominal electrical power, the new data sector from the memory component to the non-volatile cache, comprises writing the new distributed sectors from the memory component to the non-volatile cache;
means for detecting a restoration of nominal power; and
means for writing, in response to detecting the restoration of nominal power, the new distributed sectors to the selected disk surface at the data sector location that comprises the indicated address.
