Memory System Zone Mapping for Fast Dirty-Zone Recovery

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing memory systems face challenges in quickly determining and reconstructing data in dirty zones after a power loss, leading to increased downtime during system restarts due to inefficient zone mapping and scanning processes.

Innovation Solution

Implementing a first zone mapping table with predicted write pointers and a second zone mapping table with actual write pointers to identify dirty zones, allowing for rapid determination and reconstruction of data in memory systems.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Loss of time

If traditional zone mapping methods are used, then the memory system can maintain basic operation, but the system restart time increases and data recovery efficiency decreases after power loss

Engineering Contradiction:
Improvesystem restart timeVSAvoiddata recovery efficiency
Core Design Contradiction:
Loss of timeVSProductivity

Solution Approach 1:

The patent applies preliminary action by maintaining two zone mapping tables (first zone mapping table with predicted write pointers and second zone mapping table with actual write pointers) during normal operation. These tables are continuously updated and stored in non-volatile memory, so that when power is lost and system restart occurs, the mapping information is already prepared and can be immediately retrieved, eliminating the need to scan and reconstruct zone mappings from scratch during restart.

Inventive Principle:
Principle #10Preliminary action

2Measurement precision

If the memory system scans all zones to determine dirty zones after power loss, then accurate data recovery can be achieved, but the scanning process is time-consuming and reduces restart speed

Engineering Contradiction:
Improvedirty zone identification accuracyVSAvoidscanning time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent maintains predicted write pointers in the first zone mapping table during normal operation, which pre-calculate where writes should land. When power is lost, these predicted pointers are already available in non-volatile memory, allowing the system to directly compare predicted vs actual pointers without scanning all zones to determine dirty zones.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent creates a copy of the zone mapping information in the first zone mapping table (with predicted write pointers) that mirrors the second zone mapping table (with actual write pointers). This copy allows the system to perform quick comparison to identify dirty zones without re-scanning the entire storage device, significantly reducing identification time while maintaining accuracy.

Inventive Principle:
Principle #26Copying

Data Source

PatentUS20250328276A1Methods of operating memory systems, memory systems, hosts and memory controllers
Publication Date: 2025.10.23 YANGTZE MEMORY TECH CO LTD
  • US20250328276A1 patent drawing
  • US20250328276A1 patent drawing
  • US20250328276A1 patent drawing

AI summary

The present application discloses memory systems and methods of operating thereof. An example method includes: obtaining a first zone mapping table, wherein the first zone mapping table includes first write pointers for multiple zones, the multiple zones are obtained by dividing a logical address space corresponding to a non-volatile storage device, and a first write pointer indicates a predicted next writable LBA in a zone; obtaining a second zone mapping table, wherein the second zone mapping table includes second write pointers for the multiple zones, and a second write pointer indicates a next writable LBA in a zone; and determining a zone in the multiple zones, for which the first write pointer and the second write pointer are different, to be a dirty zone based on the first zone mapping table and the second zone mapping table.