File Storage Method Using Domain Selection for Unified Directory Management

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional file systems cannot optimize storage characteristics for individual files, leading to complex directory and file management, as they are typically configured at a system level, failing to provide differentiated read/write performance, security, and log modes for each file.

Innovation Solution

A method and apparatus that partition a storage device into multiple domains with distinct storage characteristics, allowing files to be created and stored in the domain with the highest conformity to their specified characteristics, and added to a unified directory tree, enabling efficient management of files and directories.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If multiple file systems with different configurations are established to meet different storage requirements, then storage characteristic optimization for different files is achieved, but directory and file management complexity increases

Engineering Contradiction:
Improvestorage characteristic optimizationVSAvoiddirectory and file management
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The storage device is divided into multiple domains, each with distinct storage characteristics (e.g., performance, security, log modes). Files are stored in the domain that best matches their requirements, allowing differentiated storage optimization without creating separate file systems. This segmentation resolves the contradiction by providing adaptability through domain specialization while maintaining unified management at the file system level.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

A domain selection mechanism acts as an intermediary between the file system and storage domains. When a file needs to be stored, the system selects the most appropriate domain based on the file's characteristics, thereby achieving customized storage optimization without requiring multiple file systems. This intermediary layer simplifies management by abstracting the complexity of domain selection from the user while maintaining the benefits of differentiated storage.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Device complexity

If a single file system is used for all files, then directory and file management is simplified, but storage characteristic optimization for individual files cannot be achieved

Engineering Contradiction:
Improvedirectory and file managementVSAvoidstorage characteristic optimization
Core Design Contradiction:
Device complexityVSAdaptability or versatility

Solution Approach 1:

Different domains within the storage device are assigned different storage characteristics (e.g., high performance, high security, different log modes). Each file can be placed in the domain that provides the most appropriate local quality for its specific needs. This allows individual file optimization while maintaining a unified file system interface, resolving the contradiction between simplicity and adaptability.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The unified file system provides universal access to multiple domains with different characteristics through a single interface. The file system itself becomes multi-functional, supporting various storage requirements (performance, security, logging) without requiring separate file systems. This universality maintains management simplicity while enabling storage characteristic optimization through domain selection.

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

Data Source

PatentUS11301436B2File storage method and storage apparatus
Publication Date: 2022.04.12 HUAWEI TECH CO LTD
  • US11301436B2 patent drawing
  • US11301436B2 patent drawing
  • US11301436B2 patent drawing

AI summary

A method for file storage and a storage device are disclosed. The method includes: receiving, by a file system, a file create request sent by an application, where the file create request includes a file storage characteristic and a file storage path; selecting, by the file system from M domains based on the file storage characteristic, a domain whose domain storage characteristic has a highest degree of conformity with the file storage characteristic as a target domain; creating, by the file system, a file in the target domain; and adding, by the file system, the file to a directory tree based on the file storage path. The method can facilitate file and directory management in a storage device.