Resource-conservative installation of compressed archives
First Claim
1. A computer-implemented method wherein a set of payload files are to be installed on a data processing system from a compressed archive comprising a plurality of files, wherein the set of payload files comprises a first payload file and a second payload file, wherein first payload file and the second payload file are contained in the compressed archive, and wherein the computer implemented method comprises:
- reading an end-of-configuration marker, wherein the end-of-configuration marker comprises a predetermined binary sequence stored in a configuration logic section of the compressed archive, wherein the configuration logic section comprises an index, computer readable code, and configuration data, wherein the index, computer readable code, and configuration data allow an installation program to determine where and how to install the first payload file to the data processing system, and wherein the end-of configuration marker indicates an end of the configuration data and the index;
loading the configuration data and the index into a first memory of the data processing system, wherein the configuration data determines which file among the plurality of files is the first payload file, and wherein the index describes a location of the first payload file in the compressed archive;
finding the first payload file in the compressed archive using the index;
decompressing the first payload file inline;
writing the first payload file directly to a second memory of the data processing system, wherein writing the first payload file is performed as the first payload file is decompressed, and wherein writing is performed without making an additional copy of the first payload file on the data processing system and without intermediate expansion of the compressed archive;
maintaining a pointer to the compressed archive just after the end-of-configuration marker;
returning to the pointer when preparing to install the second payload file;
finding the second payload file in the compressed archive using the index;
decompressing the second payload file inline;
writing the second payload file directly to the second memory of the data processing system, wherein writing the second payload file is performed as the second payload file is decompressed, and wherein writing is performed without making an additional copy of the second payload file on the data processing system and without intermediate expansion of the compressed archive; and
selectively choosing, before writing the first payload file and before writing the second payload file, an order in which the first payload file and the second payload file is decompressed and written to the second memory.
1 Assignment
0 Petitions
Accused Products
Abstract
Installing a payload file contained in a compressed archive of files using a minimum of memory. The payload file is directly installed onto a target data processing system without making additional copies of the particular file on the target data processing system and without intermediate expansion of the entire archive. The compressed archive of files contains an index indicating the location of files within the archive and a configuration logic section that allows an installation program to determine which files should be installed on which data processing systems and where the files should be installed.
-
Citations
4 Claims
-
1. A computer-implemented method wherein a set of payload files are to be installed on a data processing system from a compressed archive comprising a plurality of files, wherein the set of payload files comprises a first payload file and a second payload file, wherein first payload file and the second payload file are contained in the compressed archive, and wherein the computer implemented method comprises:
-
reading an end-of-configuration marker, wherein the end-of-configuration marker comprises a predetermined binary sequence stored in a configuration logic section of the compressed archive, wherein the configuration logic section comprises an index, computer readable code, and configuration data, wherein the index, computer readable code, and configuration data allow an installation program to determine where and how to install the first payload file to the data processing system, and wherein the end-of configuration marker indicates an end of the configuration data and the index; loading the configuration data and the index into a first memory of the data processing system, wherein the configuration data determines which file among the plurality of files is the first payload file, and wherein the index describes a location of the first payload file in the compressed archive; finding the first payload file in the compressed archive using the index; decompressing the first payload file inline; writing the first payload file directly to a second memory of the data processing system, wherein writing the first payload file is performed as the first payload file is decompressed, and wherein writing is performed without making an additional copy of the first payload file on the data processing system and without intermediate expansion of the compressed archive; maintaining a pointer to the compressed archive just after the end-of-configuration marker; returning to the pointer when preparing to install the second payload file; finding the second payload file in the compressed archive using the index; decompressing the second payload file inline; writing the second payload file directly to the second memory of the data processing system, wherein writing the second payload file is performed as the second payload file is decompressed, and wherein writing is performed without making an additional copy of the second payload file on the data processing system and without intermediate expansion of the compressed archive; and selectively choosing, before writing the first payload file and before writing the second payload file, an order in which the first payload file and the second payload file is decompressed and written to the second memory. - View Dependent Claims (2, 3, 4)
-
Specification