首页>
外国专利>
METHOD AND APPARATUS FOR FINDING DIFFERENCES BETWEEN TWO COMPUTER FILES EFFICIENTLY IN LINEAR TIME AND FOR USING THESE DIFFERENCES TO UPDATE COMPUTER FILES
METHOD AND APPARATUS FOR FINDING DIFFERENCES BETWEEN TWO COMPUTER FILES EFFICIENTLY IN LINEAR TIME AND FOR USING THESE DIFFERENCES TO UPDATE COMPUTER FILES
展开▼
机译:用于在线性时间内有效地查找两个计算机文件之间的差异并使用这些差异来更新计算机文件的方法和装置
展开▼
页面导航
摘要
著录项
相似文献
摘要
A method of updating a computer file from an old file into a new file comprises blocking the new file and the old file into fixed-sine blocks, maintaining a window (collection of contiguous blocks) for each file on which lookup preprocessing has been performed, and performing match processing on each new file block in turn (comparing agains t both the old and new windows) using a key-sampling technique combined with approximate matching. For each new file block, the match information is then optimized for coding efficienc y and encoded onto a patch file that describes an algorithm for converting the old file into the new file. The patch file application method and apparatus then performs the algorithm described in th e patch file, The method uses a fixed amount of random-access memory regardless of the sizes o f the two files and uses a temporary mass storage. In addition, the method has a running tim e roughly proportional to the size of the new file and allows the use of parallel processing to reduce the time required. The system and method produce patch files which are smaller than prior systems and methods, and allow the operator of the apparatus to perform an efficiency/effectiveness trade-off.
展开▼