Memory Controller Backup of Fail Pages During Garbage Collection

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing memory systems face challenges in efficiently analyzing the cause of fail pages due to data loss during garbage collection, which destroys the inter-data exclusive-OR relationship of RAID stripes, rendering failure sites irrecoverable.

Innovation Solution

A memory system with reserved blocks and a controller that backs up data from fail pages to backup pages, allowing for subsequent failure analysis by recovering and comparing data using LDPC decoding, MCRC detection, and scrambling processes.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If garbage collection is performed on the memory, then memory space is reclaimed and productivity is improved, but the inter-data exclusive-OR relationship of RAID stripes is destroyed and failure site data becomes irrecoverable

Engineering Contradiction:
Improvememory space reclamation efficiencyVSAvoidfailure site data
Core Design Contradiction:
ProductivityVSLoss of information

Solution Approach 1:

The patent applies preliminary action by backing up data from pages that may become fail pages to reserved blocks before garbage collection is performed. The controller identifies candidate pages that could become fail pages and pre-backs up their data to reserved blocks, ensuring that even if these pages later fail during or after garbage collection, the original data can be recovered for failure analysis.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent uses copying by creating duplicate copies of data from regular blocks to reserved blocks. The controller copies data from identified candidate pages to corresponding backup pages in reserved blocks, maintaining a copy of the original data that can be used for failure analysis even after the original pages are erased during garbage collection.

Inventive Principle:
Principle #26Copying

2Reliability

If data is backed up to reserved blocks, then failure analysis capability is improved, but device complexity increases

Engineering Contradiction:
Improvefailure analysis capabilityVSAvoidmemory system structure
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent applies segmentation by dividing the memory into regular blocks for normal data storage and reserved blocks for failure data backup. This segmentation allows the system to maintain separate functional areas: regular blocks handle normal read/write operations while reserved blocks are dedicated to preserving failure site data for analysis, reducing interference between normal operations and failure analysis functions.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The reserved blocks act as an intermediary between the regular memory blocks and the failure analysis process. Instead of directly accessing or modifying fail pages during analysis, the controller uses the reserved blocks as a mediator that preserves the original data state, enabling reliable failure analysis without disrupting normal memory operations.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Measurement precision

If all pages are monitored for fail detection, then measurement precision is improved, but productivity decreases due to increased processing overhead

Engineering Contradiction:
Improvefail page detection accuracyVSAvoiddata processing throughput
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

The patent applies local quality by differentiating the treatment of different pages based on their characteristics. Instead of uniformly monitoring all pages with the same level of scrutiny, the controller identifies candidate pages with specific characteristics that make them more likely to become fail pages and applies enhanced monitoring and backup only to these local areas, rather than treating all pages equally.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The patent uses partial action by performing backup operations only on candidate pages that are identified as having a higher risk of becoming fail pages, rather than backing up all pages. The controller selectively applies backup operations to pages with specific characteristics, reducing the overall processing overhead while maintaining adequate failure detection capability for the most critical pages.

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS12493528B2Memory system, operation method of memory system, and memory controller
Publication Date: 2025.12.09 YANGTZE MEMORY TECH CO LTD
  • US12493528B2 patent drawing
  • US12493528B2 patent drawing
  • US12493528B2 patent drawing

AI summary

The present application provides a memory system, an operation method of a memory system, and a memory controller, and relates to the technical field of storage. In the solution provided by the present application, a memory comprises a plurality of blocks and at least one reserved block. Upon detecting a fail page among pages included in the plurality of blocks, a memory controller can acquire data in the fail page, and back up the data in the fail page to one backup page in the at least one reserved block.