Flash Memory Block Management for Bad-Block-Aware Garbage Collection

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Flash memory storage devices face limitations due to the inability to overwrite data and a limited lifespan, exacerbated by aging and increased usage frequency, necessitating methods to extend their life.

Innovation Solution

A data storage device with a controller that manages system and user memory blocks, including a reserved area, performs garbage collection based on the number of bad blocks and free memory blocks, and optimizes operations to maintain performance and extend device life.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If flash memory storage devices are used for data storage, then large capacity, nonvolatility, low unit cost, low power consumption, and high data processing speed are achieved, but the device life is limited due to inability to overwrite and aging

Engineering Contradiction:
Improvedevice lifeVSAvoiddata processing speed
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The storage device is segmented into multiple memory blocks, with specific blocks designated as bad blocks that are isolated and managed separately. This segmentation allows the system to continue operating with functional blocks while excluding degraded blocks, thereby extending device life without compromising overall data processing capability.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system dynamically changes operational parameters by adjusting the threshold for determining bad blocks based on program/erase cycle counts. As blocks approach their endurance limit, the system proactively identifies and isolates them before complete failure occurs, extending device life while maintaining performance through optimized parameter selection.

Inventive Principle:
Principle #35Parameter changes

2Reliability

If the number of bad blocks increases due to aging and usage, then device life is extended through bad block management, but the number of available free blocks for user data decreases

Engineering Contradiction:
Improvedevice lifeVSAvoidnumber of free blocks
Core Design Contradiction:
ReliabilityVSQuantity of substance

Solution Approach 1:

The system performs preliminary identification and isolation of bad blocks before they completely fail. By proactively managing blocks that have reached their program/erase cycle limit, the system prevents further degradation and maintains a larger pool of functional blocks for user data storage.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system maintains copies of bad block information in a separate bad block table, allowing efficient tracking and management of degraded blocks without interfering with the main data storage area. This copying approach enables the system to manage bad blocks independently while preserving maximum storage capacity for user data.

Inventive Principle:
Principle #26Copying

3Productivity

If garbage collection operations are performed frequently to maintain free blocks, then device performance is maintained, but power consumption and operation time increase

Engineering Contradiction:
Improvedata processing speedVSAvoidpower consumption
Core Design Contradiction:
ProductivityVSUse of energy by moving object

Solution Approach 1:

The system implements feedback mechanisms by continuously monitoring the number of free blocks and adjusting garbage collection frequency accordingly. When free block thresholds are approached, garbage collection is triggered; when thresholds are sufficient, operations are reduced, optimizing the balance between performance maintenance and power consumption.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

Garbage collection operations are performed periodically based on monitored conditions rather than continuously. The system schedules these operations at optimal intervals when power consumption is lower and storage availability permits, reducing overall energy usage while maintaining data processing performance.

Inventive Principle:
Principle #19Periodic action

Data Source

PatentUS12386740B2Data storage device, operation method thereof, and storage system including the same
Publication Date: 2025.08.12 SK HYNIX INC
  • US12386740B2 patent drawing
  • US12386740B2 patent drawing
  • US12386740B2 patent drawing

AI summary

A data storage device may include a storage including a plurality of memory blocks composed of system memory blocks for storing system data and user memory blocks for storing user data; and a controller configured to: control exchange of the system and user data with the storage in response to a request of a host device; and determine whether a start condition for performing a garbage collection operation on the storage is satisfied, based on a number of bad memory blocks in the plurality of memory blocks.