发明授权
- 专利标题: Method and system for updating software with smaller patch files
- 专利标题(中): 使用较小补丁文件更新软件的方法和系统
-
申请号: US09561447申请日: 2000-04-28
-
公开(公告)号: US06938109B1公开(公告)日: 2005-08-30
- 发明人: Michael V. Sliger , Thomas D. McGuire , Jonathan A. Forbes
- 申请人: Michael V. Sliger , Thomas D. McGuire , Jonathan A. Forbes
- 申请人地址: US WA Redmond
- 专利权人: Microsoft Corporation
- 当前专利权人: Microsoft Corporation
- 当前专利权人地址: US WA Redmond
- 代理机构: Klarquist Sparkman, LLP
- 主分类号: G06F9/445
- IPC分类号: G06F9/445 ; G06F9/44 ; G06F9/36 ; G06F7/02 ; G06F9/06 ; G06F13/00
摘要:
Rather than comparing an old file with a new file to generate a set of patching instructions, and then compressing the patching instructions to generate a compact patch file for transmission to a user, a patch file is generated in a single operation. A compressor is pre-initialized in accordance with the old version of the file (e.g. in an LZ77 compressor, the history window is pre-loaded with the file). The pre-initialized compressor then compresses the new file, producing a patch file from which the new file can be generated. At the user's computer, a parallel process is performed, with the user's copy of the old file being used to pre-initialize a decompressor to which the patch file is then input. The output of the decompressor is the new file. The patch files generated and used in these processes are of significantly reduced size when compared to the prior art. Variations between copies of the old file as installed on different computers are also addressed, so that a single patch file can be applied irrespective of such variations. By so doing, the need for a multi-version patch file to handle such installation differences is eliminated, further reducing the size of the patch file when compared with prior art techniques. Such variations are addressed by “normalizing” the old file prior to application of the patch file. A temporary copy of the old file is typically made, and locations within the file at which the data may be unpredictable due to idiosyncrasies of the file's installation are changed to known or predictable values.
信息查询