# US 2022/0035561 A1 · Data storage device and method of operating the same

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

- Number: US 2022/0035561 A1
- Document ID: US20220035561A1
- Status: Published application
- Kind: A1
- Application number: 17/156,450
- Filed: 2021-01-22
- Published: 2022-02-03
- Earliest claimed: 2020-07-28
- Assignees: SK hynix Inc.
- Applicants: SK hynix Inc.
- Inventors: Chan Ho HA
- Web page: https://patentgrep.com/patent/US20220035561A1

## CPC

- G06F 3/061: {Improving I/O performance}
- G06F 3/0656: {Data buffering arrangements}
- G06F 3/0619: {in relation to data integrity, e.g. data losses, bit errors}
- G06F 3/064: {Management of blocks}
- G06F 3/0644: {Management of space entities, e.g. partitions, extents, pools}
- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 3/0673: {Single storage device}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Provided herein may be a data storage device and a method of operating the same. The data storage device may include a memory device including a plurality of first data areas and a temporary data area, a buffer memory configured to temporarily store the data received from a host, and a memory controller configured to receive a first write request for writing the data and consecutive logical addresses from the host and write, upon occurrence of a trigger event that requires the data to be written to the memory device, the data to either the temporary data area or a first data area selected based on first data area information included in the first write request, depending on whether a size of the data is less than a preset reference size.

## Claims

### Claim 1

A data storage device, comprising:
a memory device including a plurality of first data areas and a temporary data area, each first data area and the temporary data area including memory cells structured to store data;
a buffer memory coupled to the memory device and configured to temporarily store the data received from a host before writing the data to the plurality of first data areas or the temporary data area; and
a memory controller configured to receive a first write request for writing the data and consecutive logical addresses from the host and write, upon occurrence of a trigger event that requires the data to be written to the memory device, the data to either the temporary data area or a first data area selected based on first data area information included in the first write request, depending on whether a size of the data is less than a preset reference size.

### Claim 2 (depends on 1)

The data storage device according to claim 1, wherein the memory controller is configured to store the data in the temporary data area when the size of the data is less than the reference size.

### Claim 3 (depends on 2)

The data storage device according to claim 2, wherein the memory controller is configured to:
generate additional data having a size corresponding to a difference between the reference size and the size of the data; and
store the data and the additional data in the temporary data area.

### Claim 4 (depends on 1)

The data storage device according to claim 1, wherein the memory controller is configured to, when the size of the data is greater than the reference size, write a part of the data corresponding to the reference size, to the first data area, and write a remaining part of the data other than the part of the data to the temporary data area.

### Claim 5 (depends on 4)

The data storage device according to claim 4, wherein the size of the remaining part of the data is less than the reference size.

### Claim 6 (depends on 1)

The data storage device according to claim 1, wherein the memory controller is configured to:
after writing the data to the temporary data area, receive subsequent consecutive logical addresses, subsequent data, and a second request corresponding to the subsequent data from the host,
load the data stored in the temporary data area into the buffer memory depending on whether first data area information included in the second write request matches the first data area information included in the first write request, and
write, upon loading the data stored into the buffer memory, the data and the subsequent data to either one of the first data areas or the temporary data area depending on whether a sum of the size of the data and a size of the subsequent data is less than the reference size.

### Claim 7 (depends on 1)

The data storage device according to claim 1, wherein:
the trigger event is a sudden power-off that result in an interruption of a power supply to the data storage device;
the memory controller controls the memory device so that the data is stored in the temporary data area; and
the size of the data is less than the reference size.

### Claim 8 (depends on 7)

The data storage device according to claim 7, wherein the memory controller is configured to:
upon occurrence of the sudden power-off, load the data stored in the temporary data area into the buffer memory in response to a zone open request for the first data area, provided by the host;
receive subsequent consecutive logical addresses, subsequent data, and a second write request corresponding to the subsequent data from the host; and
write the data and the subsequent data to either one of the first data areas or the temporary data area depending on whether a sum of the size of the data and a size of the subsequent data is less than the reference size,
wherein, upon receipt of the zone open request, a mapping table for mapping logical addresses corresponding to the first data area is generated.

### Claim 9 (depends on 1)

The data storage device according to claim 1, wherein:
the trigger event is a zone close request provided by the host;
the zone close request indicates that a write request for the first data area is not to be made until a zone open request for the first data area is input;
the zone open request is configured to request generation of a mapping table for logical addresses corresponding to the first data area;
the memory controller stores the data in the temporary data area; and
the size of the data is less than the reference size.

### Claim 10 (depends on 9)

The data storage device according to claim 9, wherein the memory controller is configured to:
upon receipt of the zone close request, load the data stored in the temporary data area into the buffer memory in response to the zone open request provided by the host;
receive subsequent consecutive logical addresses, subsequent data, and a second write request corresponding to the subsequent data from the host; and
write the data and the subsequent data to either one of the first data areas or the temporary data area depending on whether a sum of the size of the data and a size of the subsequent data is less than the reference size.

### Claim 11 (depends on 1)

The data storage device according to claim 1, wherein the reference size is a unit for program corresponding to a size of data stored in the memory device by performing one program operation.

### Claim 12 (depends on 1)

The data storage device according to claim 1, wherein the buffer memory stores a first mapping table including mapping between a plurality of logical address groups and the plurality of first data areas, a second mapping table including mapping between logical addresses and first physical addresses of the plurality of first data areas, and a third mapping table including mapping between the logical addresses and second physical addresses of the temporary data area.

### Claim 13

A data storage device, comprising:
a memory device including a sequential data area and a temporary data area, each sequential data area and the temporary data area including a plurality of memory cells structured to store data;
a buffer memory coupled to the memory device and configured to temporarily store the data received from a host before writing the data to the plurality of sequential data areas or the temporary data area; and
a memory controller configured to receive a write request for writing the data and consecutive logical addresses from the host and write, upon occurrence of a trigger event that requires the data to be written to the memory device, the data to the temporary data area,
wherein a size of the data is less than a unit for program corresponding to a size of data stored in the memory device by one program operation performed by the memory device.

### Claim 14 (depends on 13)

The data storage device according to claim 13, wherein the memory controller is configured to:
generate additional data having a size corresponding to a difference between the size of the program unit and the size of the data; and
store the data and the additional data in the temporary data area.

### Claim 15 (depends on 13)

The data storage device according to claim 13, wherein the trigger event is a sudden power-off that result in an interruption of a power supply to the data storage device.

### Claim 16 (depends on 15)

The data storage device according to claim 15, wherein:
upon occurrence of the sudden power-off, the memory controller loads the data stored in the temporary data area into the buffer memory in response to a zone open request for the sequential data area provided by the host, receives subsequent consecutive logical addresses, subsequent data, and a subsequent write request corresponding to the subsequent data from the host, and write the data and the subsequent data to the sequential data area;
a sum of the size of the data and a size of the subsequent data corresponds to the size of the program unit; and
upon receipt of the zone open request, mapping tables for mapping logical addresses corresponding to the sequential data area is generated.

### Claim 17 (depends on 13)

The data storage device according to claim 13, wherein:
the trigger event is a zone close request provided by the host,
the zone close request indicates that a write request for the sequential data area is not to be made until a zone open request for the sequential data area is input, and
the zone open request is configured to request generation of a mapping table for logical addresses corresponding to the sequential data area.

### Claim 18 (depends on 17)

The data storage device according to claim 17, wherein the memory controller is configured to:
upon receipt of the zone close request, load the data stored in the temporary data area into the buffer memory in response to the zone open request provided by the host;
receive subsequent consecutive logical addresses, subsequent data, and a subsequent write request corresponding to the subsequent data from the host; and
write the data and the subsequent data to the sequential data area, and
wherein a sum of the size of the data and a size of the subsequent data corresponds to the unit for program.

### Claim 19 (depends on 13)

The data storage device according to claim 13, wherein the buffer memory stores a first mapping table including mapping between a plurality of logical address groups and the plurality of sequential data areas, a second mapping table including mapping between logical addresses and first physical addresses of the plurality of sequential data areas, and a third mapping table including mapping between the logical addresses and second physical addresses of the temporary data area.

### Claim 20

A method of operating a memory controller, the memory controller controlling a memory device including a plurality of sequential data areas and a temporary data area, the method comprising:
receiving data corresponding to any one sequential data area, among a plurality of sequential data areas, a logical address group including consecutive logical addresses, and a write request from a host; and
controlling the memory device so that the data is stored in any one of the sequential data area and the temporary data area depending on whether a size of the data is less than a preset reference size.
