Apparatus and method for reconstructing a file from a difference signature and an original file
AssigneeSquibb Data Systems, Inc.
InventorMark Squibb
Life of this patent
Estimating the term…
Loading patent…
AssigneeSquibb Data Systems, Inc.
InventorMark Squibb
Estimating the term…
Invention maintains duplicate files in safe places. A SCAN computer program creates a TOKEN Table of an earlier file. The TOKEN Table reflects the indices of successive segments of the file and the exclusive-or (XR) and Cyclic redundancy check (CRC) products of the characters in each segment. An updated file is compared to the earlier file by comparing the XR and CRC products of segments in the updated file to the XR and CRC products in the TOKEN Table. On detecting matching products for identical segments, the next segments are compared. On mismatch, the segment (window) for the updated file is bumped one character and new XR and CRC products generated and compared. The indices of the TOKEN Table and the offsets from the start of the file of the first characters of the updated file matching segments are set forth in a Match Table. Next the updated file is scrolled through for the non-matching information determined by acting on the indices and offsets of the Match Table to form the TRANSITION Table which is the Match Table and the updated file non-matching information. The TRANSITION Table contains the delta information which may be sent to another location having a copy of the earlier file thereat: the whole updated file need not be sent there. A reconstruction program at the location looks at the TRANSITION Table to determine where to get the characters for the copy of the updated file it is creating.
A method for producing a difference signature of differences between an original file and an updated version of the original file, comprising
A method for producing a difference signature of differences between an original file and an updated version of the original file when, in updating the original file, the majority of insertions and deletions of characters in segments of the original file are known to change the offsets of only those segments where said insertions and deletions have been made but do not change the offsets of adjacent segments, comprising;
A method for recording differences between first and second computer data files in a memory media associated with a programmable data processor, said files having a plurality of fixed length segments, comprising the steps of:
The method of claim 16 further comprising, in step (e) of claim 80, before adjusting said window exclusive-or term, recording the first character of the window of consideration into said difference signature in said memory media.
A method for quickly recording differences between first and second data files having a plurality of fixed length segments in a memory media associated with a programmable data processor, when the majority of insertions in and deletions of characters in segments of the first file are known to change the offsets of only those segments where said insertions and deletion have been made but do not change the offsets of adjacent segments, comprising the steps of:
The method according to claim 85 further comprising, after step (2d) and before step (2e) of claim 24, when the window exclusive-or term or the secondary cyclic redundancy check product term for the window of consideration does not match the corresponding primary exclusive-or term or secondary cyclic redundancy check product term for the respective token in the token table, recording all of the characters within the window of consideration into said difference signature in said memory media.
Dependencies are inferred from the claim text.