# US 2025/0165184 A1 · Controller, storage device including the controller, and method of operating the storage device

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

- Number: US 2025/0165184 A1
- Document ID: US20250165184A1
- Status: Published application
- Kind: A1
- Application number: 18/612,942
- Filed: 2024-03-21
- Published: 2025-05-22
- Earliest claimed: 2023-11-20
- Assignees: SK hynix Inc.
- Applicants: SK hynix Inc.
- Inventors: Yun Chan SEO
- Web page: https://patentgrep.com/patent/US20250165184A1

## CPC

- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 3/0619: {in relation to data integrity, e.g. data losses, bit errors}
- G06F 3/064: {Management of blocks}
- G06F 3/065: {Replication mechanisms}
- G06F 3/0656: {Data buffering arrangements}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06F 3/0683: {Plurality of storage devices}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

When writing user data to a memory, a data synchronization indicator is set to a page to which the user data is written, depending on whether a data synchronization command is received from a host device. A guarantee for the user data requested by the host device may be provided, and operation efficiency of a storage device may be improved by reducing unnecessary operations when controlling the operation of the storage device.

## Claims

### Claim 1

A storage device comprising:
a first memory;
a second memory; and
a controller configured to write user data to the first memory in response to a write command from an external device, and write the user data stored in the first memory to the second memory,
wherein when a data synchronization command is received from the external device, the controller writes the user data with a data synchronization indicator to the second memory.

### Claim 2 (depends on 1)

The storage device according to claim 1, wherein the second memory includes at least one memory device including a plurality of word lines, a plurality of bit lines, and a plurality of storage blocks; and
wherein the controller writes the user data to data areas of one or more pages included in a target storage block among the plurality of storage blocks and write the data synchronization indicator to a spare area of at least one of the one or more pages upon receiving the data synchronization command.

### Claim 3 (depends on 2)

The storage device according to claim 2, wherein the controller writes the data synchronization indicator to a spare area of a last page among the one or more pages to which the user data is written, the last page representing a page on which a program operation is performed most recently among the one or more pages.

### Claim 4 (depends on 2)

The storage device according to claim 2, wherein, when a total size of the user data stored in the first memory before receiving the data synchronization command is equal to or larger than a preset value, the controller writes the user data stored in the first memory to the data areas of the one or more pages.

### Claim 5 (depends on 2)

The storage device according to claim 2, wherein, when the data synchronization indicator is written to the spare area of the at least one of the one or more pages, the controller transmits a data synchronization response signal to the external device.

### Claim 6 (depends on 2)

The storage device according to claim 2, wherein in a recovery operation resulting from a sudden power-off, the controller copies, to a temporary storage block among the plurality of storage blocks, user data stored in a data area of a target page among the one or more pages when the target page includes a spare area where the data synchronization indicator is stored.

### Claim 7 (depends on 6)

The storage device according to claim 6, wherein the controller reads the spare areas of the one or more pages included in the target storage block, in a reverse order of the writing of the user data, and copies, to the temporary storage block, the user data stored in the data area of the target page.

### Claim 8 (depends on 7)

The storage device according to claim 7, wherein the target page corresponds to a last word line that was activated just before the occurrence of the sudden power-off.

### Claim 9 (depends on 6)

The storage device according to claim 6, wherein, when the data synchronization indicator is not stored in the spare area of the target page, the controller skips an operation of copying the user data stored in the data area of the target page to the temporary storage block.

### Claim 10 (depends on 8)

The storage device according to claim 8, wherein in the recovery operation, the controller writes dummy data to a next page following the target page, and the dummy data does not include the data synchronization indicator.

### Claim 11 (depends on 2)

The storage device according to claim 2, wherein parity information is written to the spare areas of the one or more pages to which the user data is written.

### Claim 12

A controller comprising:
a buffer memory; and
a processor configured to write user data to the buffer memory in response to a write command, write the user data stored in the buffer memory to an external memory together with a data synchronization indicator when a data synchronization command is received, and write the user data stored in the buffer memory to the external memory without the data synchronization indicator when a total size of the user data stored in the buffer memory is equal to or larger than a preset value before the data synchronization command is received.

### Claim 13 (depends on 12)

The controller according to claim 12, wherein in a recovery operation resulting from a sudden power-off, the processor determines whether to copy the user data stored in a target storage block of the external memory to another storage block of the external memory based on whether the user data is written to the external memory together with the data synchronization indicator.

### Claim 14

A method of operating a storage device, the method comprising:
writing user data to a first memory when a write command is received from a host device; and
writing the user data, stored in the first memory, to a data area of a page included in a target storage block of a second memory; and
writing a data synchronization indicator to a spare area of the page when a data synchronization command is received from the host device.

### Claim 15 (depends on 14)

The method according to claim 14, wherein in a recovery operation resulting from a sudden power-off, the method further comprises:
reading a spare area of a target page corresponding to a word line which was activated just before the occurrence of the sudden power-off, wherein the target page stores at least a portion of the user data; and
copying user data stored in a data area of the target page to a temporary storage block of the second memory when the data synchronization indicator is stored in the spare area of the target page.

### Claim 16 (depends on 15)

The method according to claim 15, wherein, when the data synchronization indicator is not stored the spare area of the target page, the copying of the user data is skipped.
