Method and system for updating software with smaller patch files
First Claim
1. A method of providing a new file on a computer, comprising:
- receiving update data at the computer;
pre-initializing a decompressor in the computer in accordance with at least a portion of a reference file available on the computer, the reference file being available on the computer for a purpose other than serving as a decompression aid; and
decompressing the update data with the decompressor to produce output data, wherein the output data is the new file.
3 Assignments
0 Petitions
Accused Products
Abstract
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 old 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.
88 Citations
4 Claims
-
1. A method of providing a new file on a computer, comprising:
-
receiving update data at the computer;
pre-initializing a decompressor in the computer in accordance with at least a portion of a reference file available on the computer, the reference file being available on the computer for a purpose other than serving as a decompression aid; and
decompressing the update data with the decompressor to produce output data, wherein the output data is the new file. - View Dependent Claims (2, 3, 4)
-
Specification