Storage Device Metadata Corruption Detection and Recovery

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing data storage technologies face challenges in efficiently detecting and recovering from data corruption, particularly in metadata, which can lead to significant disruptions and data loss.

Innovation Solution

The proposed solution involves a system that distinguishes metadata I/O requests from user data I/O requests, uses streams to manage different metadata types, and employs checking and recovery logic to detect and correct corruption in metadata and user data.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If data is stored in traditional storage systems, then storage capacity is achieved, but data corruption and loss occur leading to processing disruptions

Engineering Contradiction:
Improvedata integrityVSAvoiddata processing capability
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent applies preliminary action by performing corruption checking on metadata immediately after write operations complete, rather than waiting for subsequent read operations. The system checks metadata integrity proactively during the write process, allowing early detection and recovery before corruption impacts data processing operations.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent implements feedback mechanisms where the storage device monitors metadata integrity and provides real-time feedback about corruption status. When corruption is detected, the system triggers recovery operations and notifies the host system, creating a closed-loop control system that continuously maintains data integrity.

Inventive Principle:
Principle #23Feedback

2Measurement precision

If corruption checking is performed on all data, then detection precision is improved, but processing time increases

Engineering Contradiction:
Improvecorruption detection accuracyVSAvoiddata processing time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent applies segmentation by dividing corruption checking into two distinct phases: metadata corruption checking performed immediately on the storage device after writes, and user data corruption checking performed later during read operations. This segmentation allows critical metadata to be verified promptly while deferring less time-sensitive user data verification.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent implements partial action by focusing corruption checking resources on metadata first, which is critical for storage system integrity. Not all data requires immediate checking - metadata receives priority verification while user data checking is performed partially or selectively based on system conditions and criticality.

Inventive Principle:
Principle #16Partial or excessive action

3Device complexity

If metadata and user data are managed together, then system simplicity is maintained, but corruption recovery efficiency decreases

Engineering Contradiction:
Improvesystem architectureVSAvoidrecovery speed
Core Design Contradiction:
Device complexityVSProductivity

Solution Approach 1:

The patent applies segmentation by separating metadata management from user data management in the corruption recovery process. Metadata I/O requests are handled through dedicated check and recovery logic on the storage device, while user data follows different handling paths. This logical segmentation enables specialized recovery procedures for each data type without requiring complete system redesign.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent implements preliminary action by pre-processing metadata through corruption checking and validation before it is used for subsequent operations. Metadata is verified in advance during write operations, ensuring that the foundation for user data management remains intact and reducing the likelihood of cascading corruption issues.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS12292875B2Implementation of instant corruption detection and recovery
Publication Date: 2025.05.06 BEIJING YOUZHUJU NETWORK TECH CO LTD
  • US12292875B2 patent drawing
  • US12292875B2 patent drawing
  • US12292875B2 patent drawing

AI summary

The present disclosure describes techniques for implementing instant corruption detection and recovery. A plurality of streams may be created in a storage device. Each of the plurality of streams may contain a sequence of metadata nodes of a same type. Each of the plurality of streams may maintain an initial state, a sequence of delta modifications to the initial state, and an actual state for each of the sequence of metadata nodes. A checking and recovery function associated with a particular stream among the plurality of streams may be determined. The checking and recovery function may comprise checking logic configured to detect corruptions by checking modification operations associated with metadata nodes in the particular stream. The checking and recovery function may further comprise recovery logic configured to perform recoveries from the corruptions. The checking and recovery function associated with the particular stream may be implemented in the storage device.