首页> 外国专利> 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.
机译:一种将计算机文件从旧文件更新为新文件的方法,包括将新文件和旧文件分为固定正弦块,为每个已执行查找预处理的文件维护一个窗口(连续块的集合),并使用结合了近似匹配的键采样技术依次对每个新文件块执行匹配处理(再次比较旧窗口和新窗口)。然后,对于每个新文件块,对匹配信息进行优化以提高编码效率,并将其编码到补丁文件中,该补丁文件描述了将旧文件转换为新文件的算法。补丁文件应用方法和设备然后执行补丁文件中描述的算法。该方法使用固定数量的随机存取存储器,而不管两个文件的大小如何,并使用临时大容量存储器。另外,该方法的运行时间大致与新文件的大小成比例,并允许使用并行处理以减少所需的时间。该系统和方法产生的补丁文件小于现有系统和方法,并允许设备的操作者进行效率/有效性的权衡。

著录项

  • 公开/公告号CA2466365A1

    专利类型

  • 公开/公告日2005-11-05

    原文格式PDF

  • 申请/专利权人 POCKET SOFT INC.;

    申请/专利号CA20042466365

  • 发明设计人 JONES KERRY N.;WISE WILLIAM F.;

    申请日2004-05-05

  • 分类号G06F17/00;G06F7/00;

  • 国家 CA

  • 入库时间 2022-08-21 22:14:17

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号