×

Methods and systems for differencing orderly dependent files

  • US 9,098,513 B1
  • Filed: 08/27/2012
  • Issued: 08/04/2015
  • Est. Priority Date: 08/27/2012
  • Status: Active Grant
First Claim
Patent Images

1. A method comprising:

  • receiving a reference file and a target file that are orderly dependent of each other, the reference and target files having common blocks that appear in a same order in both the reference and target files;

    generating difference data between the reference and target files;

    generating a difference file comprising the difference data;

    receiving the difference file in a first computer over a computer network; and

    in the first computer, reconstructing the target file using the difference data from the difference file and a copy of the reference file stored in the first computer,wherein generating the difference data between the reference and target files comprises;

    dividing the reference file into a plurality of chunks;

    loading a first chunk and a second chunk of the reference file into a main memory of a second computer;

    loading a part of the target file into the main memory of the second computer;

    creating a rolling hash table of the first chunk and a rolling hash table of the second chunk of the reference file, the rolling hash table of the first chunk and the rolling hash table of the second chunk being separate rolling hash tables; and

    identifying substrings that are common to both the reference and target files by comparing the rolling hash table of the first chunk of the reference file to a hash of the part of the target file.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×