# US 2024/0201865 A1 · Memory system 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 2024/0201865 A1
- Document ID: US20240201865A1
- Status: Published application
- Kind: A1
- Application number: 18/336,015
- Filed: 2023-06-16
- Published: 2024-06-20
- Earliest claimed: 2022-12-14
- Assignees: SK hynix Inc.
- Applicants: SK hynix Inc.
- Inventors: Kwang Hun LEE; Ye Rin KIM; Bu Yong SONG; Jae Gwan KIM; Dong Young SEO; Won Jun CHOI
- Web page: https://patentgrep.com/patent/US20240201865A1

## CPC

- G06F 3/0619: {in relation to data integrity, e.g. data losses, bit errors}
- G06F 3/064: {Management of blocks}
- 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 12/10: Address translation
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A memory system includes a memory device including a plurality of planes each including a plurality of memory blocks; and a memory controller for controlling the memory device to perform an operation on target blocks among the plurality of memory blocks, to store, in a replacement block, data stored in a bad block, on which the operation fails among the target blocks, and control the memory device to temporarily store, in a backup block, data stored in the other blocks except the bad block among the target blocks according to a number of free blocks included in the memory device.

## Claims

### Claim 1

A memory system comprising:
a memory device including a plurality of planes each including a plurality of memory blocks; and
a memory controller configured to:
control the memory device to perform an operation on target blocks among the plurality of memory blocks,
store, in a replacement block, data stored in a bad block, on which the operation fails among the target blocks, and
control the memory device to temporarily store, in a backup block, data stored in the other blocks except the bad block among the target blocks according to a number of free blocks included in the memory device.

### Claim 2 (depends on 1)

The memory system of claim 1, wherein the operation is one of a program operation, a read operation, and an erase operation.

### Claim 3 (depends on 2)

The memory system of claim 2, wherein the target blocks are included in each of the plurality of planes included in the memory device.

### Claim 4 (depends on 3)

The memory system of claim 3, wherein the memory controller includes:
a bad block manager configured to control the memory device to store the data stored in the bad block in the replacement block and configured to generate an error occurrence signal after controlling the memory device to store data in the bad block in the replacement block;
a status controller configured to generate status information on a number of free blocks among the plurality of memory blocks and whether the number of free blocks is equal to or greater than a reference value;
an operation controller configured to control, based on the status information, the memory device to perform a reprogram operation of storing the data stored in the backup block in the other blocks; and
an address updater configured to update, when the data stored in the bad block is stored in the replacement block, mapping information including a physical address of the replacement block and a logical address provided by a host.

### Claim 5 (depends on 4)

The memory system of claim 4, wherein the operation controller controls, when the number of free blocks is equal to or greater than the reference value, the memory device to store, in the backup block, the data stored in the other blocks based on the error occurrence signal.

### Claim 6 (depends on 5)

The memory system of claim 5, wherein the operation controller is further configured to control, when the data stored in the other blocks is stored in the backup block, the memory device to perform an erase operation on the other blocks.

### Claim 7 (depends on 4)

The memory system of claim 4, wherein the operation controller controls the memory device to perform the reprogram operation simultaneously on the other blocks.

### Claim 8 (depends on 3)

The memory system of claim 3, wherein the program operation is simultaneously performed on the target blocks based on one program command provided by a host.

### Claim 9 (depends on 4)

The memory system of claim 4, wherein the bad block manager is further configured to control, when the data stored in the bad block is stored in the replacement block, the memory device to erase the data stored in the bad block.

### Claim 10 (depends on 9)

The memory system of claim 9, wherein the address updater is further configured to designate, when the data stored in the bad block is erased, the erased bad block as a new replacement block.

### Claim 11 (depends on 1)

The memory system of claim 1, wherein the backup block is included in an over-provisioning area in the memory device.

### Claim 12 (depends on 1)

The memory system of claim 1, wherein the replacement block is allocated to each of the plurality of planes.

### Claim 13 (depends on 1)

The memory system of claim 1, wherein the memory controller controls the memory device to store the data temporarily stored in the backup block in another memory block in the plurality of planes.

### Claim 14

A method of operating a memory system, the method comprising:
controlling a memory device to perform an operation on target blocks among a plurality of memory blocks included in each of a plurality of planes;
controlling the memory device to store, in a replacement block, data stored in a bad block, on which the operation fails among the target blocks; and
controlling the memory device to temporarily store, in a backup block, data stored in the other blocks except the bad block among the target blocks according to a number of free blocks included in the memory device.

### Claim 15 (depends on 14)

The method of claim 14, wherein the controlling the memory device to store the data in the replacement block includes:
updating mapping information between an address of the replacement block and a logical address provided by a host; and
designating the bad block, which is erased, as a new replacement block.

### Claim 16 (depends on 14)

The method of claim 14, further comprising:
controlling, when the number of free blocks is equal to or greater than a reference value, the memory device to perform an erase operation on the other blocks; and
programming, in the erased blocks, the data stored in the backup block.

### Claim 17 (depends on 14)

The method of claim 14,
wherein the operation is one of a program operation, a read operation, and an erase operation, and
wherein, in the program operation, the data is simultaneously stored in the target blocks, based on one program command provided by a host.

### Claim 18 (depends on 14)

The method of claim 14, further comprising storing, after the temporarily storing, the data stored in the backup block in another memory block included in the plurality of planes.

### Claim 19

An operating method of a controller, the operating method comprising controlling a memory device to:
move, when an operation fails on a bad block among target blocks of the operation, data from the bad block to a replacement block and data from a remaining target block to a backup block;
erase the remaining target block; and
move the data back from the backup block to any of the erased block and a normal block,
wherein the memory device includes memory blocks including the target blocks, the replacement block, the backup block and the normal block.
