Storage Device Metadata Journal Data Separation
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Electronic devices face data loss and system instability due to sudden power issues, as existing storage systems lack effective mechanisms to maintain metadata and journal data consistency during unexpected power-offs.
Innovation Solution
A storage device with a memory controller that separates metadata and journal data into distinct areas, writing metadata blocks to a metadata area and journal data blocks to a journal data area, and includes metadata storage information in journal data blocks to ensure consistency, even in the absence of buffer memory.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Device complexity
If metadata and journal data are stored together in the same area, then device complexity is reduced, but data reliability deteriorates due to inconsistency during power-offs
Solution Approach 1:
The patent divides the storage structure into separate metadata area and journal data area, with metadata blocks stored independently from journal data blocks. This segmentation allows independent management and verification of metadata integrity, ensuring that metadata consistency is maintained even during unexpected power-offs, while still using a single memory device without requiring additional buffer memory.
2Reliability
If buffer memory is added to maintain data consistency, then data reliability improves, but device complexity and power consumption increase
Solution Approach 1:
The patent extracts the critical metadata from the journal data structure and stores it separately in dedicated metadata blocks. By taking out metadata and storing it independently with its own verification mechanisms, the system ensures data consistency without requiring additional buffer memory, thus avoiding increased device complexity and power consumption while maintaining reliability.
3Reliability
If metadata is written frequently to maintain consistency, then data reliability improves, but productivity deteriorates due to increased write operations
Solution Approach 1:
The patent performs preliminary actions by maintaining metadata in volatile memory of the memory controller and only writing to non-volatile memory when necessary. The separate metadata area allows the system to verify metadata integrity without requiring frequent writes, as the structure itself provides consistency guarantees. This reduces the frequency of write operations while maintaining reliability.
4Reliability
If separate metadata area is implemented, then data reliability improves, but device complexity increases
Solution Approach 1:
The patent implements a universal storage management approach where the memory controller handles both metadata and journal data using the same control logic and interfaces. The separate metadata area is managed through existing memory controller functions, avoiding the need for additional dedicated hardware components. This multi-functional approach ensures data reliability while minimizing increases in device complexity.
Data Source
AI summary
A storage device includes a memory device including a metadata area and a journal data area. A memory controller is configured to control the memory device to write a metadata block to the metadata area and to write a journal data block to the journal data area. The metadata block includes metadata, and the journal data block includes both journal data and metadata storage information. The journal data includes log information pertaining to the metadata, and the metadata storage information includes information pertaining to storage of the metadata block.


