# US 2022/0283734 A1 · Memory storage device, method for operating the storage device and method for operating a host device

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

- Number: US 2022/0283734 A1
- Document ID: US20220283734A1
- Status: Published application
- Kind: A1
- Application number: 17/559,011
- Filed: 2021-12-22
- Published: 2022-09-08
- Earliest claimed: 2021-03-04
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: Hye Jeong JANG; Min Cheol KWON; Eun Joo OH; Sung Kyun LEE; Sang Won JUNG; Young Rae JO
- Web page: https://patentgrep.com/patent/US20220283734A1

## CPC

- G06F 3/0623: {in relation to content}
- 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/065: {Replication mechanisms}
- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06F 11/1441: {Resetting or repowering}
- G06F 12/0246: {in block erasable memory, e.g. flash memory}
- G06F 2212/1052: Security improvement
- 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: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A memory storage device is capable of improving reliability of a memory system. The memory storage device comprises a memory controller, and a non-volatile memory connected to the memory controller. A method includes receiving, by the memory controller, a command from a host device, the command requesting lost LBA (logical block address) information resulting from a system shutdown of the memory storage device, in response to the command, providing, by the memory controller, the lost LBA information, and receiving, by the memory controller, recovered data corresponding to the lost LBA information, wherein the lost LBA information includes at least one of the number of LBAs lost by system shutdown, an LBA list lost by system shutdown, and deletion of a previous LBA list lost by system shutdown.

## Claims

### Claim 1

A method for a memory storage device, the memory storage device comprising:
a memory controller; and
a non-volatile memory connected to the memory controller, the method comprising:
receiving, by the memory controller, a command from a host device, the command requesting lost LBA (logical block address) information resulting from a system shutdown of the memory storage device,
in response to the command, providing, by the memory controller, the lost LBA information, and
receiving, by the memory controller, recovered data corresponding to the lost LBA information,
wherein the lost LBA information includes at least one of the number of LBAs lost by system shutdown, an LBA list lost by system shutdown, and deletion of a previous LBA list lost by system shutdown.

### Claim 2 (depends on 1)

The method of claim 1, wherein the command requesting the lost LBA information includes Get Log Page command provided from the host device.

### Claim 3 (depends on 2)

The method of claim 2, wherein a log identifier of the Get Log Page command is one of C0 to FF.

### Claim 4 (depends on 2)

The method of claim 2, wherein the Get Log Page command is a Get Lost LBA List command.

### Claim 5 (depends on 1)

The method of claim 1, wherein:
the memory controller receives and buffers write data and LBAs from the host device,
the memory controller creates a bitmap on the basis of the buffered write data and LBAs, and
the memory controller programs the buffered write data and the bitmap into the non-volatile memory on the basis of the LBAs during a dumping time due to the system shutdown.

### Claim 6 (depends on 5)

The method of claim 5, wherein:
the memory controller loads the programmed bitmap from the non-volatile memory, and
the memory controller indicates a lost page in the non-volatile memory on the basis of the loaded bitmap.

### Claim 7 (depends on 6)

The method of claim 6, wherein the memory controller creates the lost LBA information on the basis of the loaded bitmap.

### Claim 8 (depends on 1)

The method of claim 1, wherein:
the memory controller receives a read request signal from the host device,
the memory controller transmits an uncorrectable error signal in response to the read request signal,
the memory controller receives a command for requesting LBA status information from the host device, and
the memory controller provides lost status information due to system shutdown in response to the command for requesting the LBA status information.

### Claim 9 (depends on 8)

The method of claim 8, wherein the memory controller receives recovered data as a result of providing the lost status information.

### Claim 10

A method for operating a host device, the method comprising:
transmitting a command for requesting lost LBA information resulting from system shutdown of a memory storage device to the memory storage device;
receiving the lost LBA information from the memory storage device in response to the command;
generating recovery data on the basis of the lost LBA information received from the memory storage device; and
providing the recovery data to the memory storage device,
wherein the recovery data includes data from the host device corresponding to the lost LBA information.

### Claim 11 (depends on 10)

The method of claim 10, wherein the command for requesting the lost LBA information from the memory storage device includes a Get Log Page command.

### Claim 12 (depends on 11)

The method of claim 11, wherein the Get Log Page command is a Get Lost LBA List command.

### Claim 13

A method for operating a memory storage device, the method comprising:
transmitting from the memory storage device an AER command (Asynchronous Event Request command) indicating whether lost LBA information resulting from system shutdown of the memory storage device has been created; and
receiving a command requesting lost LBA information from the memory storage device in response to the AER command.

### Claim 14 (depends on 13)

The method claim 13, wherein the lost LBA information is provided in response to the command for requesting the lost LBA information from the memory storage device.

### Claim 15 (depends on 14)

The method of claim 14, wherein recovered data is received corresponding to the lost LBA information.

### Claim 16 (depends on 13)

The method of claim 13, wherein the AER command further includes whether previous lost LBA information has been deleted by system shutdown.

### Claim 17 (depends on 13)

The method of claim 13, wherein the AER command is transmitted when the lost LBA information has been created by the system shutdown.

### Claim 18

A method for operating a memory storage device, the method comprising:
receiving a read request signal from an external device;
providing an uncorrectable error signal from the memory storage device in response to the read request signal;
receiving a command for requesting LBA status information from the external device;
providing lost status information resulting from system shutdown, in response to the command for requesting the LBA status information;
receiving recovered data in response to the lost status information;
receiving a command for requesting lost LBA information resulting from the system shutdown of the memory storage device from the external device; and
providing the lost LBA information from the memory storage device in response to the command.

### Claim 19 (depends on 18)

The method of claim 18, wherein providing of the lost LBA information from the memory storage device is performed before receiving the read request signal.
