发明名称 BYTE-LEVEL FILE DIFFERENCING AND UPDATING ALGORITHMS
摘要 <p>A method for performing differencing and updating between electronic files is provided. A byte-level file differencing algorithm (114) receives two byte streams corresponding to an original file (110) and a new file (112). The new file includes updated and revised versions of the original file. The file differencing algorithm determines a longest common sub-string (LCS) between the two byte streams and divides each of the two byte streams into sub-streams. The sub-streams include the LCS along with prefix and suffix sub-streams to the LCS. The file differencing algorithm (114) then recursively determines an LCS and divides each sub-stream until a size of the sub-streams is less than a pre-specified size. Byte-level differences are then identified between each of the corresponding sub-streams. Further, the file differencing algorithm defines a protocol for structuring a delta file (116) by using a set of operation codes and a variable length integer format to eliminate redundant information in the delta file. Using this protocol, the file differencing algorithm generates the delta file including an operation array that codes the identified byte-level differences.</p>
申请公布号 WO2003096211(P1) 申请公布日期 2003.11.20
申请号 US2003014903 申请日期 2003.05.12
申请人 发明人
分类号 主分类号
代理机构 代理人
主权项
地址