Storage Device Journal Replay Segmentation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Storage devices with nonvolatile memory face data loss during power events due to the volatility of meta data, such as address mapping tables, which are crucial for data integrity and recovery.

Innovation Solution

Implementing a storage device with a nonvolatile memory that includes a main meta data area and a journal area, where the controller updates and stores page mapping entries in the journal area and segments in the main meta data area based on priorities, ensuring data coherence and reducing the time and cost of journal replay during recovery.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If the controller stores the entire address mapping table in the nonvolatile memory as a single unit, then data integrity is ensured, but the journal replay time and cost increase significantly

Engineering Contradiction:
Improvedata integrityVSAvoidjournal replay time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent divides the address mapping table into multiple segments, each stored as a separate entry in the journal area. During journal replay, only the segments that were updated need to be recovered, rather than replaying the entire table. This segmentation reduces the journal replay time and computational cost while maintaining data integrity through selective recovery of only necessary segments.

Inventive Principle:
Principle #1Segmentation

2Productivity

If the controller stores meta data in the volatile memory for fast access, then write speed improves, but data loss occurs during power events

Engineering Contradiction:
Improvewrite speedVSAvoiddata retention
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The controller preliminarily stores updated page mapping entries (meta data) in the journal area of the nonvolatile memory before completing the write operation. This preliminary action ensures that even if a power event occurs, the critical meta data is already preserved in nonvolatile storage, preventing data loss while maintaining fast write performance through volatile memory caching.

Inventive Principle:
Principle #10Preliminary action

3Loss of time

If the controller divides the address mapping table into many small segments, then journal replay efficiency improves, but the device complexity increases

Engineering Contradiction:
Improvejournal replay timeVSAvoidmemory structure complexity
Core Design Contradiction:
Loss of timeVSDevice complexity

Solution Approach 1:

The journal area serves multiple functions: it acts as both a transaction log for tracking updates and a segmented storage structure for the address mapping table. This multi-functionality allows the system to achieve efficient journal replay through segmentation without requiring separate complex structures, as the journal area itself provides both logging and segmented storage capabilities.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Data Source

PatentUS11269771B2Storage device for improving journal replay, operating method thereof, and electronic device including the storage device
Publication Date: 2022.03.08 SAMSUNG ELECTRONICS CO LTD
  • US11269771B2 patent drawing
  • US11269771B2 patent drawing
  • US11269771B2 patent drawing

AI summary

A storage device includes a nonvolatile memory including a main meta data area and a journal area, and a controller. The controller updates an address mapping table including a plurality of page mapping entries divided into a plurality of segments by executing a flash translation layer (FTL) stored in a working memory, stores updated page mapping entries of the plurality of page mapping entries in the journal area as journal data, and stores the plurality of segments, each having a size smaller than a physical page of the nonvolatile memory, in the main meta data area.