首页> 外国专利> 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-size 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 against 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 efficiency and encoded into 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 the patch file. The method uses a fixed amount of random-access memory regardless of the sizes of the two files and uses no temporary mass storage. In addition, the method has a running time 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.
机译:一种将计算机文件从旧文件更新为新文件的方法,包括将新文件和旧文件分成固定大小的块,为每个已执行查找预处理的文件维护一个窗口(连续块的集合),并使用结合了近似匹配的键采样技术依次对每个新文件块(与旧窗口和新窗口进行比较)进行匹配处理。然后,对于每个新文件块,对匹配信息进行优化以提高编码效率,并将其编码为补丁文件,该补丁文件描述了将旧文件转换为新文件的算法。补丁文件应用方法和设备然后执行补丁文件中描述的算法。不管两个文件的大小如何,该方法都使用固定数量的随机访问内存,并且不使用临时大容量存储。此外,该方法的运行时间与新文件的大小大致成比例,并允许使用并行处理来减少所需的时间。该系统和方法产生的补丁文件小于现有系统和方法,并允许设备的操作者进行效率/有效性的权衡。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号