# US 2021/0263682 A1 · Storage device and operating method thereof

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

- Number: US 2021/0263682 A1
- Document ID: US20210263682A1
- Status: Published application
- Kind: A1
- Application number: 17/032,654
- Filed: 2020-09-25
- Published: 2021-08-26
- Earliest claimed: 2020-02-20
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: Dongik JEON; Kyungbo YANG; Seokwon AHN; Hyeonwu KIM
- Web page: https://patentgrep.com/patent/US20210263682A1

## CPC

- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 12/0246: {in block erasable memory, e.g. flash memory}
- G06F 3/0604: {Improving or facilitating administration, e.g. storage management}
- G06F 3/0616: {in relation to life time, e.g. increasing Mean Time Between Failures [MTBF]}
- G06F 3/0631: {by allocating resources to storage systems}
- G06F 3/0638: {Organizing or formatting or addressing of data}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06F 2212/7201: Logical to physical mapping or translation of blocks or pages
- G06F 2212/7202: Allocation control and policies
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A storage device may include a non-volatile memory including a plurality of zones, the non-volatile memory configured to sequentially store data in at least one of the plurality of zones, and a processing circuitry configured to, receive a first write command and first data from a host, the first write command including a first logical address, identify a first zone of the plurality of zones based on the first logical address, compress the first data based on compression settings corresponding to the first zone, and write the compressed first data to the first zone.

## Claims

### Claim 1

A storage device comprising:
a non-volatile memory including a plurality of zones, the non-volatile memory configured to sequentially store data in at least one of the plurality of zones; and
processing circuitry configured to,
receive a first write command and first data from a host, the first write command including a first logical address,
identify a first zone of the plurality of zones based on the first logical address,
compress the first data based on compression settings corresponding to the first zone, and
write the compressed first data to the first zone.

### Claim 2 (depends on 1)

The storage device of claim 1, wherein the processing circuitry is configured to:
identify an initial write pointer representing a last storage location of the first zone;
write the compressed first data sequentially to a next storage location from a storage location associated with the identified write pointer; and
update the initial write pointer to include information regarding the next storage location.

### Claim 3 (depends on 2)

The storage device of claim 2, wherein the processing circuitry is configured to:
transfer, to the host, information regarding the initial write pointer and information regarding the updated write pointer.

### Claim 4 (depends on 1)

The storage device of claim 1, wherein the processing circuitry is configured to:
sequentially write the compressed first data; and
transfer, to the host, information about a magnitude of the compressed first data.

### Claim 5 (depends on 1)

The storage device of claim 1, further comprising:
a buffer configured to store a mapping table, the mapping table including mapping information about mapping of at least one logical address, a start physical address and a finish physical address to a corresponding storage location of the non-volatile memory at which data is written; and
wherein the processing circuitry is configured to,
sequentially write the compressed first data to the non-volatile memory based on the mapping information corresponding to the first logical address, and
update the mapping table to include a first start physical address and a first finish physical address of a corresponding storage location at which the compressed first data is written.

### Claim 6 (depends on 5)

The storage device of claim 5, wherein the processing circuitry is configured to:
receive a read command from the host;
read second data corresponding to a second logical address from the non-volatile memory based on the mapping table;
decompress the read second data based on mapping table information corresponding to the second logical address; and
transfer the decompressed second data to the host.

### Claim 7 (depends on 6)

The storage device of claim 6, wherein the processing circuitry is configured to:
identify a second zone corresponding to the second logical address among the plurality of zones; and
decompress the read second data based on decompression settings corresponding to the identified second zone included in the mapping table.

### Claim 8 (depends on 1)

The storage device of claim 1, wherein the processing circuitry is configured to compress the first data using a write command unit or a block unit.

### Claim 9

A storage system comprising:
a host;
a storage device including a non-volatile memory and processing circuitry, the non-volatile memory including a plurality of zones and configured to sequentially store data, and the processing circuitry configured to control the non-volatile memory;
the host is configured to transfer write data and a write command including a logical address to the storage device; and
the storage device is configured to, in response to the write command from the host, identify a first zone of the plurality of zones based on the logical address, compress the write data based on compression settings corresponding to the first zone, and write the compressed write data into the first zone.

### Claim 10 (depends on 9)

The storage system of claim 9, wherein
the host is configured to transfer, to the storage device, a management command for setting the plurality of zones and compression settings corresponding to each of the plurality of zones; and
the storage device is configured to set the plurality of zones, and the corresponding compression settings associated with each of the plurality of zones, on the non-volatile memory to the based on the management command.

### Claim 11 (depends on 10)

The storage system of claim 10, wherein the host is configured to generate the management command for setting the plurality of zones based on a number of predicted write accesses on the storage device.

### Claim 12 (depends on 11)

The storage system of claim 11, wherein the host is configured to:
determine the number of predicted write accesses;
select the first zone from among the plurality of zones based on the determined number of predicted write accesses; and
generate a write command including a logical address of the first zone.

### Claim 13 (depends on 9)

The storage system of claim 9, wherein the storage device is configured to:
identify an initial write pointer representing a last storage location of the first zone;
sequentially write the compressed write data to a next storage location from a storage location associated with the identified write pointer; and
update the initial write pointer to include information regarding the next storage location.

### Claim 14 (depends on 13)

The storage system of claim 13, wherein the storage device is configured to:
transfer, to the host, information about the initial write pointer and information about the updated write pointer in association with the compressed write data.

### Claim 15 (depends on 14)

The storage system of claim 14, wherein the host is configured to:
manage a capacity of the first zone based on the information about the initial write pointer and the information about the updated write pointer.

### Claim 16

An operating method of a storage device including a non-volatile memory including a plurality of zones, the non-volatile memory configured to store data, the operating method comprising:
receiving, using processing circuitry, a first write command and first data from a host;
identifying, using the processing circuitry, a first zone of the plurality of zones based on a first logical address included in the first write command;
compressing, using the processing circuitry, the first data based on compression settings corresponding to the first zone; and
writing, using the processing circuitry, the compressed first data into the first zone.

### Claim 17 (depends on 16)

The operating method of claim 16, wherein the writing comprises:
identifying an initial write pointer representing a last storage location of the first zone;
writing the compressed first data sequentially to a next storage location from a storage location associated with the identified initial write pointer; and
updating the initial write pointer.

### Claim 18 (depends on 17)

The operating method of claim 17, further comprising:
transferring, using the processing circuitry, information about the initial write pointer and information about the updated write pointer to the host.

### Claim 19 (depends on 16)

The operating method of claim 16, further comprising:
storing, using the processing circuitry, mapping information including information related to a mapping of the first logical address to a first start physical address and a first finish physical address of a storage location at which the compressed first data is written.

### Claim 20 (depends on 19)

The operating method of claim 19, further comprising:
receiving, using the processing circuitry, a read command from the host, the read command including a second logical address;
reading, using the processing circuitry, data corresponding to a second logical address from the non-volatile memory based on the second logical address and mapping information corresponding to the second logical address;
identifying, using the processing circuitry, a zone corresponding to the second logical address among the plurality of zones;
decompressing, using the processing circuitry, the read data according to decompression settings corresponding to the identified zone; and
transferring, using the processing circuitry, the decompressed data to the host.
