File System Snapshot Indexing for Resource-Efficient Search

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional backup systems face challenges in efficiently searching for specific files across multiple file systems and snapshots due to high resource consumption and slow performance, especially when using lightweight virtual machines.

Innovation Solution

A device and method that index file system snapshots using a database with nodes and edges files, allowing for efficient searching with regular expressions across all file systems and snapshots while conserving memory and CPU resources, and enabling efficient replication to remote sites.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of operation

If elastic search is used to search across multiple snapshots, then search capability is improved, but resource consumption (memory and CPU) increases significantly and performance becomes too slow

Engineering Contradiction:
Improvesearch capabilityVSAvoidsearch speed
Core Design Contradiction:
Ease of operationVSProductivity

Solution Approach 1:

The patent pre-generates and stores indexes of file metadata (names, paths, sizes, timestamps) in a database before search operations are performed. This preliminary indexing allows rapid retrieval during search operations without requiring heavy real-time processing, thus improving search speed while maintaining resource efficiency.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent extracts only the necessary file metadata (names, paths, sizes, timestamps) from the complete file system snapshots and stores them in a separate database index. This extraction allows search operations to work with a lightweight subset of data rather than scanning entire snapshots, dramatically improving search performance while reducing resource consumption.

Inventive Principle:
Principle #2Taking out (Extraction)

2Ease of operation

If elastic search is used to search across multiple snapshots, then search capability is improved, but memory consumption increases significantly

Engineering Contradiction:
Improvesearch capabilityVSAvoidmemory consumption
Core Design Contradiction:
Ease of operationVSQuantity of substance

Solution Approach 1:

The patent extracts only the necessary file metadata (names, paths, sizes, timestamps) from the complete file system snapshots and stores them in a separate database index. This extraction allows search operations to work with a lightweight subset of data rather than loading entire snapshots into memory, dramatically reducing memory consumption while maintaining search capability.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent creates a simplified copy of file system data in the form of metadata indexes stored in a database. Instead of working with complete snapshot copies that consume large memory, the system uses these lightweight metadata copies for search operations, reducing memory requirements while preserving essential search functionality.

Inventive Principle:
Principle #26Copying

3Loss of information

If conventional scanning is performed on mounted file system images, then file information can be collected, but the process consumes too much memory and CPU resources in lightweight virtual machines

Engineering Contradiction:
Improvefile information collectionVSAvoidCPU and memory resources
Core Design Contradiction:
Loss of informationVSUse of energy by stationary object

Solution Approach 1:

The patent extracts only the necessary file metadata (names, paths, sizes, timestamps) from file system snapshots during the backup process and stores them in a database index. This extraction eliminates the need for heavy post-backup scanning operations in lightweight virtual machines, as the metadata is already available in a searchable format, thus reducing CPU and memory resource consumption while maintaining complete file information collection.

Inventive Principle:
Principle #2Taking out (Extraction)

Data Source

PatentUS11989103B2Device and a method for indexing snapshots of multiple file systems
Publication Date: 2024.05.21 HUAWEI TECH CO LTD
  • US11989103B2 patent drawing
  • US11989103B2 patent drawing
  • US11989103B2 patent drawing

AI summary

A device is configured to index file system names and paths of a single chain of backed-up snapshots. The device is configured to obtain a first snapshot of the file system. Further, the device is configured to scan the first snapshot of the file system to obtain a first scan of the nodes and the tree structure at a first time point. The device is further configured to insert the first scan into a database. Then the device is configured to index the nodes in the database.