# US 2022/0292030 A1 · Storage device including nonvolatile memory 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 2022/0292030 A1
- Document ID: US20220292030A1
- Status: Published application
- Kind: A1
- Application number: 17/827,850
- Filed: 2022-05-30
- Published: 2022-09-15
- Earliest claimed: 2018-11-16
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: HEECHUL CHAE
- Web page: https://patentgrep.com/patent/US20220292030A1

## CPC

- G06F 12/1009: using page tables, e.g. page table structures
- G06F 3/0607: {by facilitating the process of upgrading existing storage systems, e.g. for improving compatibility between host and storage device}
- G06F 3/061: {Improving I/O performance}
- G06F 3/064: {Management of blocks}
- G06F 3/0652: {Erasing, e.g. deleting, data cleaning, moving of data to a wastebasket}
- G06F 3/0658: {Controller construction arrangements}
- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 9/544: {Buffers; Shared memory; Pipes}
- G06F 12/0246: {in block erasable memory, e.g. flash memory}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06F 11/1471: involving logging of persistent data for recovery
- G06F 2212/1024: Latency reduction
- G06F 2212/1032: Reliability improvement, data loss prevention, degraded operation etc
- G06F 2212/7201: Logical to physical mapping or translation of blocks or pages
- G06F 2212/7203: Temporary buffering, e.g. using volatile buffer or dedicated buffer blocks
- G06F 2212/7205: Cleaning, compaction, garbage collection, erase control
- G06F 2212/7209: Validity control, e.g. using flags, time stamps or sequence numbers
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A storage device includes a nonvolatile memory device and a memory controller. After writing first data at the first page, the memory controller writes second data at a second page. The memory controller generates first check data corresponding to the first data and second check data corresponding to the second data. The memory controller recovers the first and second physical addresses and the first and second logical addresses based on the second check data.

## Claims

### Claim 1

An operating method of a storage device, wherein the storage device includes a memory controller and a nonvolatile memory device, the nonvolatile memory device including a memory having a plurality of pages in order of physical page number, the plurality of pages including a first page, a second page, and a third page, the memory controller includes a write check manager, the method comprising:
writing, by the memory controller, a first data received from an external host at the first page of the nonvolatile memory device;
writing, by the memory controller, a second data received from the external host and a first check data at the second page of the nonvolatile memory device;
writing, by the memory controller, a third data received from the external host and a second check data at the third page of the nonvolatile memory device, and
skipping, by the memory controller, reading the first check data after reading the second check data for a recovery operation.

### Claim 2 (depends on 1)

The method of claim 1, wherein each of the first check data and second check data includes sequence data, offset data, and address.

### Claim 3 (depends on 2)

The method of claim 2, wherein the sequence data has either a sequential identification value or a non-sequential identification value.

### Claim 4 (depends on 2)

The method of claim 2, wherein the offset data has a value corresponding to the number of pages to be skipped for the recovery operation.

### Claim 5 (depends on 2)

The method of claim 2, wherein the address is logical page number.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
generating, by the write check manager, the first check data corresponding to the first data while writing the second data, and
writing, by the memory controller, the first check data after writing the second data.

### Claim 7 (depends on 1)

The method of claim 1, wherein the first check data is stored in a spare area of the second page, and
the second check data is stored in a spare area of the third page.

### Claim 8 (depends on 1)

The method of claim 1, wherein each offset value of the first check data and the second check data is used to skip a recovery operation on one or more page among the plurality of pages.

### Claim 9 (depends on 1)

The method of claim 1, further comprising:
recovering a map by reading at least one page among the plurality of pages.

### Claim 10 (depends on 1)

The method of claim 1, wherein skipping reading the first check data comprises:
determining whether the second page is a page having a continuity based on an offset value of the second check data; and
in the case where the offset value of the second check data is greater that ‘0’, skipping reading the first check data.

### Claim 11

A storage device comprising:
a nonvolatile memory device including a memory having a plurality of pages in order of physical page number; and
a memory controller configured to write data in the plurality of pages, to generate check data corresponding to each of the plurality of pages, and to write the check data in the plurality of pages,
wherein the memory controller is further configured to recover a map by reading only some of the plurality of pages after sudden power-off, and
wherein the check data is used to skip the recovery operation on one or more page among the plurality of page.

### Claim 12 (depends on 11)

The storage device of claim 11, wherein the check data includes offset value and address,
the offset value corresponds to the number of pages to be skipped for the recovery operation, and
the address is logical page number.

### Claim 13 (depends on 12)

The storage device of claim 12, wherein the offset value is generated based on a difference between the address corresponding the data and a reference address.

### Claim 14 (depends on 11)

The storage device of claim 11, wherein the map includes a physical address and a logical address, and
the memory controller is further configured to write the recovered map in the nonvolatile memory device.

### Claim 15 (depends on 11)

The storage device of claim 11, wherein the memory controller is further configured to detect a last valid page among the plurality of pages through a binary search.

### Claim 16 (depends on 15)

The storage device of claim 15, wherein the memory controller is further configured to start the recovery operation based on the check data stored in the last valid page.

### Claim 17 (depends on 15)

The storage device of claim 15, wherein the memory controller is further configured to skip the recovery operation on one or more page among the plurality of pages in a reverse order from the last valid page.

### Claim 18

An operating method of a storage device, wherein the storage device includes a memory controller and a nonvolatile memory device, the nonvolatile memory device including a memory having a plurality of pages in order of physical page number, the plurality of pages including a first page, a second page, and a third page, the memory controller includes a write check manager, the method comprising:
writing, by the memory controller, a first data received from an external host at the first page;
writing, by the memory controller, a second data received from the external host at the second page;
generating, by the write check manager, the first check data corresponding to the first data while writing the second data at the second page;
writing, by the memory controller, the first check data at spare area of the second page after writing the second data at the second page;
writing, by the memory controller, third data received from the external host at the third page,
generating, by the write check manager, the second check data corresponding to the second data while writing the third data at the third page;
writing, by the memory controller, the second check data at spare area of the third page after writing the third data at the third page; and
recovering, by the memory controller, a map by reading only some of the plurality of pages after sudden power-off,
wherein each of the first check data and the second check data is used to skip a recovery operation on one or more page among the plurality of pages.

### Claim 19 (depends on 18)

The method of claim 18, wherein the first check data includes a first offset value, a first identification value and a first address,
the second check data includes a second offset value, a second identification value and a second address,
each of the first identification value and the second identification value is either a sequential identification value or a non-sequential identification value,
the first offset value is generated based on a difference between the first address corresponding to the first data and a first reference address,
the second offset value is generated based on a difference between the second address corresponding to the second data and a second reference address,
each of the first reference address and the second reference address is an address of a page having the non-sequential identification value.

### Claim 20 (depends on 19)

The method of claim 19, wherein each of the first offset value and the second offset value corresponds to the number of pages to be skipped for the recovery operation.
