×

Method and apparatus for finding differences between two computer files efficiently in linear time and for using these differences to update computer files

  • US 7,143,115 B2
  • Filed: 04/15/2003
  • Issued: 11/28/2006
  • Est. Priority Date: 04/15/2003
  • Status: Active Grant
First Claim
Patent Images

1. A method for converting an OLD computer file into an updated NEW computer file, said method comprising the steps of:

  • a. identifying differences between said OLD file and a NEW computer file by passing both files through a patch build program, the patch build program comprising the steps of;

    i. identifying matches between the OLD file and the NEW computer file by(a). dividing the NEW computer file into blocks of fixed size,(b). successively comparing each block to a contiguous group of blocks of fixed size in the OLD file, and(c). scanning each pair of adjacent blocks of the NEW computer file for matched strings whose starting positions in the NEW computer file differ by less than a fixed window size;

    .ii. creating a patch file based on identified matches in step a., wherein the patch file comprises a plurality of blocks corresponding to the fixed size blocks of the NEW computer file and incorporates matched strings in the OLD file and the matched strings in the NEW computer file; and

    b. combining said OLD file and said patch file by passing both files through a patch apply program to obtain said NEW file.

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