Storage System File Similarity Detection Using LSH Hashing

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing storage systems face inefficiencies in identifying and managing similarities among large, frequently updated, and varied files, leading to complex and time-consuming processes, especially when dealing with vast numbers of files.

Innovation Solution

The implementation of a storage system that employs hash functions, such as Locality Sensitive Hashing (LSH), to detect duplicate and similar files by applying hash formulas on data blocks, using a similarity database based on graph structures like Neo4J to calculate similarity scores between files, and employing mechanisms like Jaccard similarity coefficient and Levenshtein distance to determine file similarity.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If traditional file comparison methods are used to identify similar files, then accuracy in detecting duplicate blocks is maintained, but the process becomes extremely time-consuming and complex when dealing with vast numbers of large files

Engineering Contradiction:
Improvefile similarity detection speedVSAvoidtime to identify similar files
Core Design Contradiction:
ProductivityVSLoss of time

Solution Approach 1:

The patent divides large files into smaller blocks and applies hashing to these blocks individually. This segmentation allows the system to process files in manageable chunks rather than comparing entire files at once, dramatically reducing the time and computational resources required while maintaining detection accuracy

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent replaces traditional mechanical file comparison methods with hash function-based detection. Instead of directly comparing file contents block-by-block, the system uses cryptographic hash functions to generate fingerprints of blocks, enabling rapid identification of similar or duplicate blocks without exhaustive comparison

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

2Productivity

If large chunks are used for comparison to reduce processing overhead, then processing speed improves, but smaller identical contents may be missed

Engineering Contradiction:
Improveprocessing speedVSAvoiddetection accuracy of small identical contents
Core Design Contradiction:
ProductivityVSMeasurement precision

Solution Approach 1:

The system segments files into blocks of optimized size that balance processing efficiency with detection sensitivity. This segmentation strategy ensures that even small identical contents are captured as separate blocks while maintaining manageable processing units

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent applies hashing to more blocks than strictly necessary by using a carefully chosen block size that ensures coverage of all potential duplicate regions. This partial redundancy in block processing guarantees that small identical contents are not missed while keeping the overall processing load acceptable

Inventive Principle:
Principle #16Partial or excessive action

3Reliability

If comprehensive file similarity analysis is performed on all files in the storage system, then security threats are thoroughly identified, but the complexity and resource requirements increase significantly

Engineering Contradiction:
Improvesecurity threat detection completenessVSAvoidsystem complexity for managing vast numbers of files
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent replaces complex comprehensive file analysis with efficient hash-based similarity detection. The hash functions provide a mathematical foundation for identifying similar files without requiring intricate comparison algorithms, significantly reducing system complexity while maintaining detection completeness

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

Solution Approach 2:

The system automatically builds and maintains a database of hash values for all files in the storage system. This self-service mechanism enables continuous security monitoring without manual intervention, allowing comprehensive threat identification to scale automatically with the storage system size

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS12124588B2Securing a storage system
Publication Date: 2024.10.22 VAST DATA LTD
  • US12124588B2 patent drawing
  • US12124588B2 patent drawing
  • US12124588B2 patent drawing

AI summary

A method for securing a storage system, the method may include detecting, by cybersecurity engine, a suspected file that is stored in the storage system; autonomously searching for one of more files that fulfill one or more similarity criteria in relation to the suspected file; wherein the one or more similar files are stored in a storage system; finding, by the similarity engine, the one or more similar files using a similarity data structure that associates a group of files stored in the storage system with (a) inter-file similarity scores and (b) block hash values shared between files; and responding to the finding, wherein the responding comprises sending the one of more similar files to the cybersecurity engine.