# US 2021/0334031 A1 · Data Parking for SSDs with Zones

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

- Number: US 2021/0334031 A1
- Document ID: US20210334031A1
- Status: Published application
- Kind: A1
- Application number: 16/858,345
- Filed: 2020-04-24
- Published: 2021-10-28
- Earliest claimed: 2020-04-24
- Assignees: Western Digital Technologies, Inc.
- Applicants: Western Digital Technologies, Inc.
- Inventors: Peter GRAYSON; Daniel L. HELMICK; Liam PARKER; Sergey Anatolievich GOROBETS
- Web page: https://patentgrep.com/patent/US20210334031A1

## CPC

- G06F 3/0652: {Erasing, e.g. deleting, data cleaning, moving of data to a wastebasket}
- G06F 3/0614: {Improving the reliability of storage systems}
- G06F 3/064: {Management of blocks}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06F 9/30029: {Logical and Boolean instructions, e.g. XOR, NOT}
- G06F 11/108: {Parity data distribution in semiconductor storages, e.g. in SSD}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

The present disclosure generally relates to methods of operating storage devices. The storage device comprises a controller comprising first random access memory (RAM1), second random access memory (RAM2), and a storage unit divided into a plurality of zones. A first command to write data to a first zone is received, first parity data for the first command is generated in the RAM1, and the data of the first command is written to the first zone. When a second command to write data to a second zone is received, the generated first parity data is copied from the RAM1 to a parking section in the storage unit, and second parity data associated with the second zone is copied from the parking section to the RAM1. The second parity data is then updated in the RAM1 with the data of the second command and copied to the parking section.

## Claims

### Claim 1

A storage device, comprising:
a non-volatile storage unit, wherein a capacity of the non-volatile storage unit is divided into a plurality of zones, and wherein the non-volatile storage unit comprises a plurality of dies, each of the plurality of dies comprising a plurality of erase blocks;
a first volatile memory unit; and
a controller coupled to the non-volatile storage unit and the first volatile memory unit, wherein the controller is configured to:
receive a first write command to write data to a first zone of the plurality of zones;
copy first XOR or parity data associated with the first zone from a first data parking section in the non-volatile storage unit to the first volatile memory unit;
update the first XOR or parity data associated with the first zone with new XOR or parity data associated with the first write command in the first volatile memory unit; and
copy the updated first XOR or parity data associated with the first zone from the first volatile memory unit to the first data parking section in the non-volatile storage unit.

### Claim 2 (depends on 1)

The storage device of claim 1, wherein the first data parking section in the non-volatile storage unit comprises one or more erase blocks within the first zone.

### Claim 3 (depends on 1)

The storage device of claim 1, wherein the controller is further configured to update a current location of the updated first XOR or parity data within the first zone in a logical block address table.

### Claim 4 (depends on 1)

The storage device of claim 1, wherein the controller is further configured to copy second XOR or parity data associated with a second zone from a first erase block in the second zone to a second erase block in the second zone, wherein a second data parking section in the non-volatile storage unit comprises the first erase block and the second erase block of the second zone.

### Claim 5 (depends on 4)

The storage device of claim 4, wherein the controller is further configured to erase the first erase block of the second zone upon re-writing the second XOR or parity data from the first erase block to the second erase block.

### Claim 6 (depends on 4)

The storage device of claim 4, wherein the controller is further configured to update a logical block address table to indicate the second XOR or parity data is currently stored in the second erase block of the second zone.

### Claim 7 (depends on 4)

The storage device of claim 4, wherein the first XOR or parity data associated with the first zone is stored in a first location of the first data parking section, and the updated first XOR or parity data is copied to a second location in the first data parking section, and wherein the first location and the second location are sequential.

### Claim 8

A storage device, comprising:
a non-volatile storage unit, wherein a capacity of the non-volatile storage unit is divided into a plurality of zones, and wherein the non-volatile storage unit comprises a plurality of dies, each of the plurality of dies comprising a plurality of erase blocks, and wherein the non-volatile storage unit comprises one or more dedicated data parking sections;
a first volatile memory unit; and
a controller coupled to the first volatile memory unit and the non-volatile storage unit, the controller comprising a second volatile memory unit, wherein the controller is configured to:
receive a first write command corresponding to a first zone within a plurality of zones;
generate XOR or parity data associated with the first zone, the XOR or parity data corresponding to the first write command;
copy the XOR or parity data to a first location in the one or more dedicated data parking sections; and
copy the XOR or parity data to a first location in the second volatile memory unit.

### Claim 9 (depends on 8)

The storage device of claim 8, wherein the non-volatile storage unit is a NAND memory unit, wherein the first volatile memory unit is a SRAM unit, and wherein the second volatile memory unit is a DRAM unit.

### Claim 10 (depends on 8)

The storage device of claim 8, wherein the one or more dedicated data parking sections is a plurality of dedicated data parking sections, and wherein each dedicated data parking section is a single-level cell (SLC) die within each zone.

### Claim 11 (depends on 8)

The storage device of claim 8, wherein the one or more dedicated data parking sections is one dedicated data parking section, and wherein the one dedicated data parking section is a first zone that stores all XOR or parity data for each zone storing user data.

### Claim 12 (depends on 8)

The storage device of claim 8, wherein the controller comprises an XOR engine, the XOR engine being configured to generate and update XOR or parity data for the controller.

### Claim 13 (depends on 8)

The storage device of claim 8, wherein the controller is further configured to: simultaneously write second XOR or parity data associated with a second zone sequentially to a second location of the one or more dedicated data parking sections and write the second XOR or parity data associated with the second zone sequentially or randomly to a second location in the second volatile memory unit.

### Claim 14

A storage device, comprising:
a non-volatile storage unit, wherein a capacity of the non-volatile storage unit is divided into a plurality of zones, wherein the non-volatile storage unit comprises a plurality of dies, each of the plurality of dies comprising a plurality of erase blocks, and wherein the non-volatile storage unit comprises one or more dedicated data parking sections;
a first volatile memory unit; and
a controller coupled to the non-volatile storage unit and the first volatile memory unit, wherein the controller is configured to:
receive one or more write commands associated with one or more zones of the plurality of zones;
generate XOR or parity data associated with the one or more zones for each of the one or more write commands in the first volatile memory unit;
copy the XOR or parity data associated with the one or more zones from the first volatile memory unit to the one or more dedicated data parking sections sequentially;
copy previously generated XOR or parity data associated with the one or more zones from the one or more dedicated data parking sections to the first volatile memory unit when one or more additional write commands are received to write data to the one or more zones;
update the previously generated XOR or parity data for each of the one or more additional write commands in the first volatile memory unit; and
copy the updated previously generated XOR or parity data for each of the one or more additional write commands to the one or more dedicated data parking sections sequentially.

### Claim 15 (depends on 14)

The storage device of claim 14, wherein the one or more dedicated data parking sections comprises single-level cell (SLC) parking locations.

### Claim 16 (depends on 14)

The storage device of claim 14, wherein the one or more dedicated data parking sections is a first zone that stores all XOR or parity data for each zone storing user data.

### Claim 17 (depends on 14)

The storage device of claim 14, wherein the one or more dedicated data parking sections is a plurality of dedicated data parking sections, and wherein each dedicated data parking section is one or more SLC erase blocks within each zone.

### Claim 18 (depends on 14)

The storage device of claim 14, further comprising a second volatile memory unit, wherein the first volatile memory unit is an SRAM unit, and wherein the second volatile memory unit is a DRAM unit.

### Claim 19 (depends on 14)

The storage device of claim 14, wherein the controller is further configured to generate first XOR or parity data associated with a first zone while simultaneously writing second XOR or parity data associated with a second zone to the one or more dedicated data parking sections.

### Claim 20 (depends on 14)

The storage device of claim 14, wherein the controller is further configured to update first XOR or parity data associated with a first zone when a first command to write data to the first zone is received, and simultaneously, write the data associated with the first command to the first zone.
