# US 2025/0085866 A1 · Storage device and electronic apparatus including the same

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

- Number: US 2025/0085866 A1
- Document ID: US20250085866A1
- Status: Published application
- Kind: A1
- Application number: 18/885,281
- Filed: 2024-09-13
- Published: 2025-03-13
- Earliest claimed: 2023-09-13
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: Taejin PARK; Kirock KWON
- Web page: https://patentgrep.com/patent/US20250085866A1

## CPC

- G06F 3/0619: {in relation to data integrity, e.g. data losses, bit errors}
- G06F 3/0608: {Saving storage space on storage systems}
- G06F 3/0614: {Improving the reliability of storage systems}
- G06F 3/064: {Management of blocks}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06F 12/0246: {in block erasable memory, e.g. flash memory}
- G06F 2212/7202: Allocation control and policies
- G06F 2212/7204: Capacity control, e.g. partitioning, end-of-life degradation
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A storage device includes nonvolatile memory including a plurality of memory blocks in any one of a user area, a reserved area, and an over-provisioning (OP) area; and a storage controller configured to perform a bad block management operation on the plurality of memory blocks, wherein the storage controller is further configured to: based on a memory block in the user area being detected as a bad block, determine whether a number of bad blocks is greater than a maximum number of bad blocks, and based on the number of bad blocks being greater than the maximum number of bad blocks, decrease a capacity of the user area based on a use ratio of the user area and maintain an OP capacity of the OP area as it is.

## Claims

### Claim 1

A storage device comprising:
nonvolatile memory comprising a plurality of memory blocks in any one of a user area, a reserved area, and an over-provisioning (OP) area; and
a storage controller configured to perform a bad block management operation on the plurality of memory blocks,
wherein the storage controller is further configured to:
based on a memory block in the user area being detected as a bad block, determine whether a number of bad blocks is greater than a maximum number of bad blocks, and
based on the number of bad blocks being greater than the maximum number of bad blocks, decrease a capacity of the user area based on a use ratio of the user area and maintain an OP capacity of the OP area as it is.

### Claim 2 (depends on 1)

The storage device of claim 1, wherein the storage controller is further configured to, based on the use ratio of the user area being less than or equal to a reference use ratio and the number of bad blocks being greater than the maximum number of bad blocks, decrease the capacity of the user area based on a currently decreased capacity of the user area and a maximum decreasable capacity of the user area.

### Claim 3 (depends on 2)

The storage device of claim 2, wherein the storage controller is further configured to:
based on the currently decreased capacity of the user area being less than the maximum decreasable capacity of the user area, decrease the capacity of the user area, and
based on the currently decreased capacity of the user area being same as the maximum decreasable capacity of the user area, set the nonvolatile memory to a read only mode.

### Claim 4 (depends on 3)

The storage device of claim 3, wherein the maximum decreasable capacity of the user area is set based on a maximum decreasing capacity reference table indicating decreasable capacities according to use ratios of the user area.

### Claim 5 (depends on 1)

The storage device of claim 1, wherein the storage controller is further configured to, based on the use ratio of the user area being greater than a reference use ratio and the number of bad blocks being greater than the maximum number of bad blocks, set the nonvolatile memory to a read only mode.

### Claim 6 (depends on 1)

The storage device of claim 1, wherein the storage controller is further configured to, based on the number of bad blocks being greater than the maximum number of bad blocks, transmit a replacement notification to a host device.

### Claim 7 (depends on 6)

The storage device of claim 6, wherein the replacement notification comprises a target fail response value, a condition check status value, and a replacement sense key value.

### Claim 8 (depends on 1)

The storage device of claim 1, wherein the storage controller is further configured to, based on the number of bad blocks being less than or equal to the maximum number of bad blocks, replace the memory block detected as the bad block with a memory block in the reserved area.

### Claim 9 (depends on 8)

The storage device of claim 8, wherein the storage controller is further configured to, based on the number of bad blocks being greater than a reference ratio of the maximum number of bad blocks and the number of bad blocks being less than or equal to the maximum number of bad blocks, transmit a caution notification to a host device.

### Claim 10 (depends on 9)

The storage device of claim 9, wherein the caution notification comprises a target fail response value, a condition check status value, and a caution sense key value.

### Claim 11

A storage device comprising:
nonvolatile memory comprising a plurality of planes, each of the plurality of planes comprising a plurality of memory blocks; and
a storage controller configured to perform a bad block management operation on each of the plurality of planes,
wherein the plurality of memory blocks in each of the plurality of planes are in any one of a user area, a reserved area, and an over-provisioning (OP) area, the plurality of planes comprises a first plane,
wherein the storage controller is further configured to, based on a memory block in the user area of the first plane being detected as a bad block, perform a subsequent operation based on whether a number of bad blocks of the first plane is greater than a maximum number of bad blocks and a use ratio of the user area of the first plane, and
wherein the subsequent operation comprises decreasing a capacity of the user area of the first plane.

### Claim 12 (depends on 11)

The storage device of claim 11, wherein the storage controller is further configured to, based on the number of bad blocks of the first plane being greater than the maximum number of bad blocks and the use ratio of the user area of the first plane being less than or equal to a reference use ratio, decrease the capacity of the user area of the first plane as the subsequent operation based on a currently decreased capacity of the user area of the first plane and a maximum decreasable capacity of the user area.

### Claim 13 (depends on 12)

The storage device of claim 12, wherein the storage controller is further configured to:
based on the currently decreased capacity of the user area of the first plane being less than the maximum decreasable capacity of the user area, decrease the capacity of the user area of the first plane as the subsequent operation, and
based on the currently decreased capacity of the user area of the first plane being same as the maximum decreasable capacity of the user area, set the nonvolatile memory to a read only mode as the subsequent operation.

### Claim 14

(canceled)

### Claim 15

(canceled)

### Claim 16 (depends on 11)

The storage device of claim 11, wherein the storage controller is further configured to, based on the number of bad blocks of the first plane being greater than the maximum number of bad blocks, maintain an OP capacity of the OP area of the first plane as it is.

### Claim 17 (depends on 11)

The storage device of claim 11, wherein the storage controller is further configured to, based on the number of bad blocks of the first plane being greater than the maximum number of bad blocks, perform the subsequent operation and then transmit, to a host device, a replacement notification, and
wherein the replacement notification comprises a target fail response value, a condition check status value, and a replacement sense key value.

### Claim 18

(canceled)

### Claim 19

An electronic apparatus comprising:
a host device configured to generate a write request or read request for data; and
a storage device configured to perform an operation corresponding to the write request or the read request,
wherein the storage device comprises:
nonvolatile memory comprising a plurality of memory blocks in any one of a user area, a reserved area, and an over-provisioning (OP) area; and
a storage controller configured to perform a bad block management operation on the plurality of memory blocks, and
wherein the storage controller is further configured to:
based on a memory block in the user area being detected as a bad block, determine whether a number of bad blocks is greater than a maximum number of bad blocks, and
based on the number of bad blocks being greater than the maximum number of bad blocks, decrease a capacity of the user area based on a use ratio of the user area and transmit a replacement notification to the host device.

### Claim 20 (depends on 19)

The electronic apparatus of claim 19, wherein the storage controller is further configured to:
based on a currently decreased capacity of the user area being less than a maximum decreasable capacity of the user area, the number of bad blocks being greater than the maximum number of bad blocks and the use ratio of the user area being less than or equal to a reference use ratio, decrease the capacity of the user area,
based on the currently decreased capacity of the user area being same as the maximum decreasable capacity of the user area, the number of bad blocks being greater than the maximum number of bad blocks and the use ratio of the user area being less than or equal to the reference use ratio, set the nonvolatile memory to a read only mode, and
based on the use ratio of the user area being greater than the reference use ratio and the number of bad blocks being greater than the maximum number of bad blocks, set the nonvolatile memory to the read only mode.

### Claim 21 (depends on 19)

The electronic apparatus of claim 19, wherein the storage controller is further configured to, based on the number of bad blocks being greater than the maximum number of bad blocks, maintain an OP capacity of the OP area as it is.

### Claim 22 (depends on 19)

The electronic apparatus of claim 19, wherein the storage controller is further configured to:
transmit a ready response to the host device based on the write request being received from the host device,
receive write data corresponding to the write request from the host device, and
transmit, to the host device, the replacement notification based on the number of bad blocks being greater than the maximum number of bad blocks and a memory block in the user area being the bad block during a write operation corresponding to the write request, and
wherein the replacement notification comprises a target fail response value, a condition check status value, and a replacement sense key value.

### Claim 23 (depends on 19)

The electronic apparatus of claim 19, wherein the storage controller is further configured to:
transmit, to the host device, a caution notification based on the number of bad blocks being less than or equal to the maximum number of bad blocks, the number of bad blocks being greater than a reference ratio of the maximum number of bad blocks, and the memory block in the user area being the bad block during a write operation corresponding to the write request, and
wherein the caution notification comprises a target fail response value, a condition check status value, and a caution sense key value.
