Bit-Level File Comparator Using Hash Values

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Comparing large volumes of digital data between systems at a bit-level is impractical due to the time-consuming nature of direct bit-by-bit comparison, especially when processor resources are limited or when dealing with unlimited file sizes, which can lead to inaccuracies in data integrity and reliability.

Innovation Solution

A bit-level comparator uses hashing functions to generate unique hash values for files, allowing for rapid detection of changes as small as a single bit by comparing hash values between file systems, even across different systems or times, and includes a method to manage duplicate file names and generate catalog files for efficient comparison.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If direct bit-by-bit comparison is used to ensure data integrity, then measurement precision is improved, but loss of time increases significantly

Engineering Contradiction:
Improvebit-level comparison accuracyVSAvoidcomparison time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent introduces hash values as an intermediary representation of file content. Instead of comparing actual file bits directly, the system generates hash values from files and compares these condensed representations. This mediator approach maintains bit-level comparison accuracy while dramatically reducing comparison time, as hash values are fixed-length regardless of original file size.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent extracts essential information from files by generating hash values that represent the entire file content in a condensed form. This extraction process removes unnecessary data (the actual file content) while retaining the critical information needed for comparison, enabling fast verification without processing the full file data.

Inventive Principle:
Principle #2Taking out (Extraction)

2Reliability

If bit-by-bit comparison is performed on large volumes of data, then reliability is improved, but productivity deteriorates

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

Solution Approach 1:

Hash values serve as an intermediary that enables reliable data integrity verification without sacrificing productivity. The system compares hash values instead of actual file data, maintaining the reliability needed to detect even single-bit changes while achieving high processing speeds for large volumes of data.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent transforms the comparison parameter from raw file data to hash values. This parameter change allows the system to maintain reliability (hash values detect any bit-level changes) while dramatically improving productivity (comparing fixed-length hash values is much faster than comparing variable-length file data).

Inventive Principle:
Principle #35Parameter changes

3Loss of information

If comprehensive file comparison is performed across multiple file systems, then loss of information is reduced, but device complexity increases

Engineering Contradiction:
Improvedata completenessVSAvoidsystem complexity
Core Design Contradiction:
Loss of informationVSDevice complexity

Solution Approach 1:

The patent uses hash values as intermediaries to manage the complexity of comparing files across multiple file systems. By working with condensed hash representations rather than full file data, the system can comprehensively verify data completeness across multiple systems without the computational complexity of direct file-by-file comparison.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent segments the file comparison task into two phases: generating hash values for all files, then comparing hash values. This segmentation allows comprehensive comparison across multiple file systems to be performed efficiently by working with divided, manageable hash data rather than attempting to handle all file data simultaneously.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS9507814B2Bit level comparator systems and methods
Publication Date: 2016.11.29 VERTAFORE
  • US9507814B2 patent drawing
  • US9507814B2 patent drawing
  • US9507814B2 patent drawing

AI summary

A bit level file comparison system compares two file systems, each of which includes any number of individual files, to determine whether the file systems are identical at a bit level. A hashing function is applied to each file in the first file system to generate a hash value that is logically associated with the respective file in the first file system. The hashing function is applied to each file in the second file system to generate a hash value that is logically associated with the respective file in the second file system. The hash value associated with a file in the first file system is compared with the hash value associated with the corresponding file in the second file system to determine whether bit level differences between the respective file in the first file system and the second file system.