Backup Indexing via External Hash Comparison

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing data backup systems face inefficiencies in indexing large numbers of files due to resource-intensive processes and significant performance degradation when using hash-based identifiers in search engines like Elasticsearch, particularly as the number of documents increases.

Innovation Solution

The method involves generating external files containing file hashes for already-indexed and new backup files, comparing these files to determine changes, and updating the search engine index by adding or deleting entries for newly added or deleted files, without relying on hash-based identifiers, thus improving performance by only ingesting changed data.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If hash-based identifiers are used in Elasticsearch to avoid indexing duplicate files, then duplicate detection capability is improved, but indexing performance degrades significantly as the number of documents increases

Engineering Contradiction:
Improveduplicate detection capabilityVSAvoidindexing performance
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent segments the duplicate detection process into two independent parts: (1) generating and storing hash identifiers outside Elasticsearch during data ingestion, and (2) performing duplicate detection by comparing these external hash values before ingestion. This separation removes the performance burden from Elasticsearch while maintaining duplicate detection capability.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces an intermediary mechanism (external hash storage and comparison system) that mediates between the incoming data and Elasticsearch. This intermediary handles the computationally intensive hash-based duplicate detection outside the search engine, allowing Elasticsearch to focus solely on indexing operations.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If all files in large backups are indexed to ensure completeness, then data coverage is improved, but system resource consumption increases excessively

Engineering Contradiction:
Improvedata coverageVSAvoidsystem resource consumption
Core Design Contradiction:
ReliabilityVSUse of energy by moving object

Solution Approach 1:

The patent performs preliminary duplicate detection by comparing file hashes against previously indexed files before actually ingesting data into Elasticsearch. This preliminary action identifies and filters out duplicates in advance, ensuring data coverage is maintained while avoiding the waste of resources on redundant indexing operations.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

Instead of indexing all files without discrimination, the patent applies partial action by selectively indexing only those files that pass the duplicate detection filter. This approach maintains sufficient data coverage for search operations while significantly reducing the excessive resource consumption associated with indexing every single file.

Inventive Principle:
Principle #16Partial or excessive action

3Measurement precision

If unique hash identifiers are generated for each file to enable duplicate detection, then duplicate file identification is improved, but indexing speed decreases as the index grows larger

Engineering Contradiction:
Improveduplicate file identification accuracyVSAvoidindexing speed
Core Design Contradiction:
Measurement precisionVSSpeed

Solution Approach 1:

The patent extracts the hash identifier generation and duplicate detection functionality from the Elasticsearch indexing pipeline. By taking out this computationally intensive operation and performing it externally before ingestion, the system maintains precise duplicate file identification while preserving indexing speed, as Elasticsearch no longer bears the burden of hash-based duplicate detection during the indexing process.

Inventive Principle:
Principle #2Taking out (Extraction)

Data Source

PatentUS11625304B2Efficient method to find changed data between indexed data and new backup
Publication Date: 2023.04.11 EMC IP HLDG CO LLC
  • US11625304B2 patent drawing
  • US11625304B2 patent drawing
  • US11625304B2 patent drawing

AI summary

An apparatus, method, and system for updating a file index in a search engine in a data backup system to reflect file changes introduced in a new backup is disclosed. The operations comprise: generating a first external file, the first external file comprising file hashes for files already indexed in a file index in a search engine of a data backup storage system that are not associated with a deleted status; generating a second external file, the second external file comprising file hashes for files in a new backup; determining one or more file changes introduced in the new backup based on a comparison between the first external file and the second external file; and updating the file index in the search engine to reflect the one or more file changes introduced in the new backup.