Packaging multiple groups of read-only files of an application's components into multiple shared libraries
First Claim
1. A method of packaging multiple groups of read-only files, the method comprising:
- preparing a plurality of executable files by use of at least one processor, each executable file corresponding to a group of read-only files, each executable file comprising an array, the array having been declared in a source file corresponding to said each executable file, to have a size based at least on (A) total size of data in the group of read-only files corresponding to said each executable file and (B) a size of a name of each read-only file in the group;
overwriting the array in said each executable file with data from the group of read-only files corresponding to said each executable file; and
adding, to an application program, a plurality of instructions to set up an index in a computer that is to execute said application program, when set up said index to be indicative of presence or absence of said each executable file in said computer.
1 Assignment
0 Petitions
Accused Products
Abstract
Multiple groups of read-only files, for use by various components of an application program in a computer, are packaged as follows. Several executable files are prepared, each executable file corresponding to a group of read-only files used by one or more components. Each executable file includes an array that has sufficient space to accommodate the group of read-only files to be packaged therein. Each array in each executable file is overwritten with data from a corresponding group of read-only files. The presence or absence of each executable file for a group of read-only files is indicated by an index that is developed during initialization of components. Retrieval of data is from the executable files, if the index indicates, on first accessing each read-only file, that the corresponding executable file is present. If the executable file is indicated by the index as being absent, then the read-only file is directly accessed.
27 Citations
28 Claims
-
1. A method of packaging multiple groups of read-only files, the method comprising:
-
preparing a plurality of executable files by use of at least one processor, each executable file corresponding to a group of read-only files, each executable file comprising an array, the array having been declared in a source file corresponding to said each executable file, to have a size based at least on (A) total size of data in the group of read-only files corresponding to said each executable file and (B) a size of a name of each read-only file in the group; overwriting the array in said each executable file with data from the group of read-only files corresponding to said each executable file; and adding, to an application program, a plurality of instructions to set up an index in a computer that is to execute said application program, when set up said index to be indicative of presence or absence of said each executable file in said computer. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 17, 18, 19)
-
-
9. A non-transitory computer-readable medium storing one or more sequences of instructions executable by at least one processor, the one or more sequences of instructions comprising:
-
a first plurality of instructions to automatically prepare a plurality of executable files, each executable file corresponding to a group of read-only files, each executable file comprising an array, the array having been declared in a source file corresponding to said each executable file, to have a size based at least on (A) total size of data in the group of read-only files corresponding to said each executable file and (B) a size of a name of each read-only file in the group; a second plurality of instructions to automatically overwrite the array in said each executable file with at least information from the group of read-only files corresponding to said each executable file; and an application program comprising a third plurality of instructions to set up an index indicative of presence or absence of said each executable file, in a computer executing said application program. - View Dependent Claims (11, 12, 13)
-
-
10. An apparatus for packaging multiple groups of read-only files, the apparatus comprising:
-
means for automatically preparing a plurality of executable files, each executable file corresponding to a group of read-only files, each executable file comprising an array, the array having sufficient space to accommodate at least the group of read-only files corresponding to said each executable file; means for automatically overwriting the array in said each executable file with (a) data from the group of read-only files corresponding to said each executable file and (b) additional information comprising (i) names of the read-only files and (ii) offsets of where the data from the read-only files begin in said each executable file; and a memory having stored therein an application program comprising a plurality of instructions to set up an index indicative of presence or absence of said each executable file, in a computer executing said application program. - View Dependent Claims (14, 15, 16)
-
-
20. A method of packaging multiple groups of read-only files, the method comprising:
-
preparing a plurality of executable files by use of at least one processor, each executable file corresponding to a group of read-only files, each executable file comprising an array, the array having sufficient space to accommodate at least the group of read-only files corresponding to said each executable file; overwriting the array in said each executable file with (a) data from the group of read-only files corresponding to said each executable file and (b) additional information comprising (i) names of the read-only files, and (ii) offsets of where the data from the read-only files begin in said each executable file; and adding, to an application program, a plurality of instructions, to set up an index indicative of presence or absence of said each executable file in a computer executing said application program. - View Dependent Claims (21, 22, 23)
-
-
24. A non-transitory computer-readable medium storing one or more sequences of instructions executable by at least one processor, the one or more sequences of instructions comprising:
-
a first plurality of instructions to prepare a plurality of executable files, each executable file corresponding to a group of read-only files, each executable file comprising an array, the array having sufficient space to accommodate at least the group of read-only files corresponding to said each executable file; a second plurality of instructions to overwrite the array in said each executable file with (a) data from the group of read-only files corresponding to said each executable file and (b) additional information comprising (i) names of the read-only files and (ii) offsets of where the data from the read-only files begin in said each executable file; and an application program comprising a third plurality of instructions to set up an index indicative of presence or absence of said each executable file, in a computer executing said application program. - View Dependent Claims (25, 26, 27)
-
-
28. An apparatus to package multiple groups of read-only files, the apparatus comprising at least one processor and one memory and further comprising:
-
means for preparing a plurality of executable files, each executable file corresponding to a group of read-only files, each executable file comprising an array, the array having been declared in a source file corresponding to said each executable file, to have a size based at least on (A) total size of data in the group of read-only files corresponding to said each executable file and (B) a size of a name of each read-only file in the group; means for overwriting the array in said each executable file with data from the group of read-only files corresponding to said each executable file; and means for adding, to an application program, a plurality of instructions to set up an index in a computer that is to execute said application program, when set up said index to be indicative of presence or absence of said each executable file in said computer.
-
Specification