Abnormal Inode Dynamic Repair via Editable File Conversion

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In distributed file systems, abnormal index nodes (inodes) with missing or invalid fields can cause system errors during request processing, as existing repair methods primarily rely on scanning file data, which is ineffective for metadata-specific fields.

Innovation Solution

A method and system for dynamically repairing abnormal inodes by converting the memory structure into an editable file, determining and correcting abnormal fields based on error reporting, and importing the repaired file back into memory, without scanning file data.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If file data scanning is used to repair inode fields, then some fields like size and modification time can be recovered, but metadata-specific fields cannot be corrected

Engineering Contradiction:
Improveinode field completenessVSAvoidapplicability to different field types
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The patent introduces an intermediary mechanism (inode repair module with editable file conversion) that mediates between the raw inode data and the repair process. This intermediary allows metadata-specific fields to be repaired through direct editing of the converted file format, bypassing the limitation of data scanning while maintaining the integrity of the repair process.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent changes the parameter representation of inode data by converting binary memory structure into an editable text-based file format. This parameter transformation enables direct modification of metadata-specific fields that cannot be recovered through scanning, while still allowing recovery of fields like size and modification time through the same interface.

Inventive Principle:
Principle #35Parameter changes

2Ease of manufacture

If traditional repair methods scan file data to recover fields, then the process is simple for some fields, but it fails for metadata-specific fields and requires system shutdown

Engineering Contradiction:
Improvesimplicity of repair processVSAvoidcapability to handle all field types
Core Design Contradiction:
Ease of manufactureVSAdaptability or versatility

Solution Approach 1:

The patent creates a universal repair mechanism that handles both simple fields (like size and modification time) and metadata-specific fields through a single integrated process. The editable file conversion approach provides multi-functionality, allowing the same repair interface to successfully repair any inode field type without requiring different repair strategies.

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

Solution Approach 2:

The editable file serves as an intermediary that simplifies the repair process while expanding capability. By converting the complex binary inode structure into an editable format, the system provides a simple uniform interface for repairing any field type, maintaining ease of operation while achieving universality across all field types.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Productivity

If inode repair is performed during system operation, then system availability is maintained, but the complexity of the repair process increases

Engineering Contradiction:
Improvesystem availabilityVSAvoidrepair process complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent implements a dynamic repair process that can execute during system operation without requiring shutdown. The inode repair module dynamically converts the memory structure to an editable file, performs repairs, and updates the inode in-place, allowing the system to maintain availability while handling the increased complexity through automated dynamic operations.

Inventive Principle:
Principle #15Dynamics

Data Source

PatentUS11650875B2Abnormal inode dynamic repair method and system, and related component
Publication Date: 2023.05.16 LANGCHAO ELECTRONIC INFORMATION IND CO LTD
  • US11650875B2 patent drawing

AI summary

An abnormal index node (inode) dynamic repair method, system, and apparatus, and a readable memory medium. The method includes: obtaining an overall memory structure of an abnormal inode in a memory, and converting the overall memory structure into an editable file; determining an abnormal field in the editable file according to error reporting information; writing an expected value of a file system to a position of the abnormal field in the editable file to obtain a repaired editable file; and importing the repaired editable file back to the memory.