WO1994022086A1 - Appareil et procede d'extraction et de mise a jour d'une difference finie dans un fichier executable - Google Patents

Appareil et procede d'extraction et de mise a jour d'une difference finie dans un fichier executable Download PDF

Info

Publication number
WO1994022086A1
WO1994022086A1 PCT/JP1994/000454 JP9400454W WO9422086A1 WO 1994022086 A1 WO1994022086 A1 WO 1994022086A1 JP 9400454 W JP9400454 W JP 9400454W WO 9422086 A1 WO9422086 A1 WO 9422086A1
Authority
WO
WIPO (PCT)
Prior art keywords
file
old
area
execution file
new
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/JP1994/000454
Other languages
English (en)
French (fr)
Japanese (ja)
Inventor
Morimasa Tanimura
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NTT Data Group Corp
Original Assignee
NTT Data Communications Systems Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NTT Data Communications Systems Corp filed Critical NTT Data Communications Systems Corp
Priority to US08/343,444 priority Critical patent/US5752039A/en
Priority to GB9423581A priority patent/GB2281990B/en
Publication of WO1994022086A1 publication Critical patent/WO1994022086A1/ja
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • G—PHYSICS
    • G06—COMPUTING OR CALCULATING; COUNTING
    • G06F—ELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00—Arrangements for software engineering
    • G06F8/60—Software deployment
    • G06F8/65—Updates
    • G06F8/658—Incremental updates; Differential updates
    • G—PHYSICS
    • G06—COMPUTING OR CALCULATING; COUNTING
    • G06F—ELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10—File systems; File servers
    • Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y10—TECHNICAL SUBJECTS COVERED BY FORMER USPC
    • Y10S—TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y10S707/00—Data processing: database and file management or data structures
    • Y10S707/99951—File or database maintenance
    • Y10S707/99952—Coherency, e.g. same view to multiple users
    • Y10S707/99953—Recoverability
    • Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y10—TECHNICAL SUBJECTS COVERED BY FORMER USPC
    • Y10S—TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y10S707/00—Data processing: database and file management or data structures
    • Y10S707/99951—File or database maintenance
    • Y10S707/99952—Coherency, e.g. same view to multiple users
    • Y10S707/99954—Version management

Definitions

  • the present invention when an execution file is updated for the purpose of fixing a bug or partially enhancing a function, a difference between a new execution file and an old execution file is extracted and an update file is extracted.
  • the present invention relates to an execution file difference extraction apparatus and method for generating a new execution file from an old execution file and an update file, which is regarded as a file. Background technology
  • the executable file is distributed to the user and the predetermined service is provided by the executable file (EXE file)
  • the bug in the executable file can be corrected
  • a new EXE file is created in the executable file distributed to the user, as shown in Figure 1A.
  • the file may be updated to the old EXE file.
  • the distribution medium is a network as shown in Fig. 2, the host computer HOST of the center TC is connected to the host computer HOST in the office TC via an image. If the new EXE file has such a large size as described above, the line usage fee will be high and it will be uneconomical.
  • the new EXE file itself is not distributed for such a problem, but the old EXE file and the new EXE file are combined as shown in FIG. 1B.
  • a comparison process is performed between the new EXE file and the difference between the new EXE file and the old EXE file is extracted and set as an updated file, and the updated file is distributed to the user. It is becoming.
  • the old EXE file, the updated file, the power, and the new EXE file are generated by the update process using the predetermined update program. . Since the new EXE file and the old EXE file often have the same program code, the updated file, which is the difference between them, is often used.
  • the size of the file is often smaller than the size of the new EXE file. Therefore, by distributing the update file to the user, the data capacity required for the distribution medium can be reduced.
  • the host computer HOST of the center TC distributes the update file to the host computer HOST in the office TC via the drawing.
  • the inter-centre communication unit starts the update program after receiving the above update file, so that the old EXE file can be used.
  • the new EXE file is stored on the primary disk and the secondary disk via the file operation unit.
  • the distribution processing management section in the host computer H0ST of the office TC transfers the new EXE file from the communication section in the office via the LAN (local area network).
  • client server CSV In the client server CSV, the communication unit in the office receives the new EXE file.
  • the received new EXE file is sent to the primary disk and the secondary disk via the file operation unit. Disclosure of inventions stored in
  • the top of the old EXE file and the top of the new EXE file are used. For the entire file from the beginning to the end of each file, it is determined whether or not the data matches in byte units, and the unmatched data is extracted as difference data. For this reason, for example, if even one byte of data is deleted or inserted in the middle of a new EXE file, all data of the old EXE file and the new EXE file will be deleted after that byte. There is a problem that the data does not match, and as a result, the size of the update file becomes large. Therefore, when the update file is distributed via the network as in the example in Fig. 2, the line usage is much less than when the new EXE file is distributed as it is. The result is that the efficiency is not improved. ⁇ The present invention aims at reducing the size of the update file.
  • the present invention first has the following configuration as an execution file difference extraction device.
  • the area dividing unit divides each of the old execution file and the new execution file into a plurality of areas for each predetermined logical unit.
  • This logical unit is, for example, a segment, resource, header, table, section directory, section, etc., which is a unit of the data attribute of the old execution file or the new execution file. .
  • the region associating unit includes a plurality of regions of the old execution file divided by the region dividing unit and the new execution file. Areas corresponding to each other are associated with a plurality of areas in one file.
  • the difference extraction processing unit includes a region of the old execution file and a new execution file associated by the region association unit.
  • This difference information includes, for example, attribute information indicating that data is to be inserted, deleted, or replaced in the old execution file in the new execution file,
  • It consists of 10 target data length information and the target data.
  • the update file generation unit stores the difference information extracted in the difference extraction processing unit in the update file, and performs the association in the area association unit.
  • the present invention provides an execution file updating device, wherein an update file generated by the above-mentioned update file generation unit is provided.
  • It is configured to have a file updating unit for sequentially extracting the difference information from the 20 files and generating a new execution file from the difference information and the old execution file.
  • the difference extraction process when executed, for example, the execution file in the system
  • Figure 1A and Figure IB are illustrations of file update
  • Figure 2 is an illustration of file update environment
  • FIG. 3 is a configuration diagram of a preferred embodiment of the present invention.
  • FIG. 4 is a diagram showing a file format according to a preferred embodiment of the present invention.
  • Figure 5 shows the operation flow chart (part 1) of the header breaking section
  • Figure 6 shows the operation flow chart of the header analysis part (part 2)
  • Figure 7 shows the DOS EXE header and ⁇ EXE header data.
  • FIG. 8 is a diagram showing EXE header information
  • FIG. 9 is a diagram showing a data structure of a segment table section
  • Figure 10 is a diagram showing the data structure of the resident non-resident name table section.
  • Fig. 11 is a diagram showing the data structure of the import name table section.
  • FIG. 12 is a diagram showing the relationship between the module reference table section and the import / export list table section.
  • Fig. 13 shows the data structure of the resource table section.
  • Figure 14 shows the operation flow of the segment data mapping unit.
  • FIG. 15A and Figure 15B show the arrangement of the segments of the old EXE file and the new EXE file
  • Figure 16A and Figure 16 B is an explanatory diagram of the correspondence between the segments
  • Figure 17 is an illustration of relocation information
  • FIG. 19A and FIG. 19B are diagrams showing the arrangement of the resources of the old EXE file and the new EXE file
  • Fig. 20 is an explanatory diagram of Min Min's corresponding resource
  • FIG. 22 is an operation flowchart of the comparison process
  • FIG. 23 is an explanatory diagram of the comparison process.
  • FIGS. 24A and 24B are explanatory diagrams of the difference extraction processing when insertion is performed in the new EXE file.
  • FIGS. 25A and 25B are explanatory diagrams of the difference extraction processing when deletion is performed in the new EXE file
  • FIGS. 26A and 26B are explanatory diagrams of the difference extraction processing when the replacement is performed with the new EXE file.
  • Fig. 27A and Fig. 27B are illustrations of the difference extraction processing when deletion and replacement are performed simultaneously in the new EXE file.
  • Fig. 28A and Fig. 28B are explanatory diagrams of the difference extraction processing when special insertion and deletion are performed simultaneously in the new EXE file.
  • FIGS. 29A and 29B are diagrams showing the data structure of the update file.
  • FIG. 30 is a diagram showing a file format according to another preferred embodiment of the present invention. BEST MODE FOR CARRYING OUT THE INVENTION
  • FIG. 3 is a configuration diagram of a preferred embodiment of the present invention.
  • the difference extraction processing section 304 includes a header analysis section 301 described later and a segment data association section 3002 described later. Or, from the beginning to the end of the specified area from the resource mapping unit 303, extract the byte-by-byte difference between the new EXE file 303 and the old EXE file 305, and extract the difference. Save the differences to the updated file 307.
  • the header breaking section 301 extracts the DOS EXE header area and the EXE header area for the old EXE file 305 and the new EXE file 306, respectively. For these areas, the difference extraction processing section 304 is instructed to perform difference extraction processing. In addition, the header analysis unit 301 extracts the extracted DOS EXE header and the contents of the EXE header for the old EXE file 300 and the new EXE file 306, respectively. By performing analysis, an area of each table section described later is extracted, and a difference extraction process is instructed to the difference extraction processing section 304 with respect to each extracted table section area.
  • the solder unfolding section 301 divides the old EXE file 305 and the new EXE file 306 from the extracted segment table section for each of the segment files described later.
  • the information 308 is extracted and set in the segment data associating unit 302 and the resource associating unit 303, which will be described later, and is described later from the extracted resource table unit.
  • the resource information 309 is extracted and set in the resource association unit 303 described later.
  • the segment data associating unit 302 based on the segment information 300 from the header decoding unit 301, combines the old EXE file 305 and the new EXE file 306 with each other.
  • the segment data are associated with each other, and the difference extraction processing unit 30 is instructed to perform the difference extraction processing for the associated segment data pair area. If the one corresponding to the segment data existing in the old EXE file 305 does not exist in the new EXE file 306, the difference information indicating that the segment data should be deleted is provided. Save to update file 307. Conversely, if the one corresponding to the segment data existing in the new EXE file 306 does not exist in the old EXE file 305, the segment data should be imported. Saves the difference information in the update file 307.
  • the resource executor 303 and the new EXE file 305 The resources are associated with the file 303, and the difference extraction processing unit 304 is instructed to perform the difference extraction processing on the area of each associated resource pair. . If the resource corresponding to the resource existing in the old EXE file 305 does not exist in the new EXE file 306, the difference information indicating that the resource should be deleted is updated. Save to Ile 3 07. Conversely, new If the resource corresponding to the resource that exists in the EXE file 306 does not exist in the old EXE file 305, the difference information indicating that the resource should be inserted is updated. Save to file 3 07.
  • FIG. 4 is a diagram showing a common file format of the old EXE file 305 and the new EXE file 306.
  • the file targeted in this preferred embodiment is an EXE file that can be executed under a U.S. system, which is one of the multitasking operating systems for computers. is there. Note that the present invention is not limited to such files. For example, as will be described later5, for example, an EXE file that can be executed under a Zhu operating system is also included in the present invention. Scope of application.
  • the EXE file having the configuration shown in Fig. 4 is constructed so that it can be executed under a system that is one of the conventional single task 0 operating systems for computers. I have. Therefore, this EXE file is composed of a DOS EXE format area and an EXE format area as shown in FIG.
  • the first half of the file contains the DOS EXE format
  • the DOS EXE format area includes a DOS EXE header area in which various information for executing a ⁇ "program and pointer information to a US EXE header, which will be described later, are stored, and a program operating under a US system. It consists of a DOS load module area where the main body of the program is stored.
  • EXE format area stores various information for executing the application program and pointer information to various tape sections described later, etc.
  • EXE header area various table section areas described later, system It consists of a segment data area that stores the main body of the program that operates under the original, and a resource area that stores data called resources used in the ⁇ "program.
  • the old EXE file 305 is added to each of the DOS EXE format area, the red EXE header area, and each table area.
  • the difference extraction process with the new EXE file 306 is performed, and then the segment data and resources between the old EXE file 305 and the new EXE file 306 are extracted.
  • the major feature is that the difference extraction process is executed for each area of each pair of the segment data and the resource after the correspondence is performed.
  • the size of the generated update file 307 can be significantly reduced as compared with the conventional technology.
  • the operations of the header analysis unit 301, the segment data association unit 302, the resource association unit 303, and the difference extraction processing unit 304 will be sequentially described.
  • the header breaking unit 301 is activated.
  • the operation flow chart of the processing executed by the header deciphering unit 301 is shown in FIGS. 5 and 6.
  • the operation of the header analyzing unit 301 is performed in a computer system (not shown).
  • CPU central processing unit
  • step S501 the old EXE file 305 and the new EXE file 306 are stored in the file offset 0 in the DOS EXE header, respectively. It is determined whether the one-word code is "MZ" (see Fig. 7). If the code is not "MZ", the file is not an EXE file, so an error message is displayed in step S523 and the difference extraction processing ends.
  • step S At 502, for each of the old EXE file 305 and the new EXE file 306, the file offset 18h in the DOS EXE header ("h" indicates that It indicates that the value of the obtained one word is a hexadecimal number.) It is determined whether or not the value stored in the word is 40h (see FIG. 7). If the value is not 40h, the file is not an EXE format file. Therefore, an error message is displayed in step S523 and the difference extraction process is performed. finish.
  • step S 50 If the above value is 40 h, step S 50
  • the old EXE file 305 and the new ££ file 306 are indicated by the values stored in the file offset 3Ch in the DOS EXE header. It is determined whether or not the one-word offset address is an address in the EXE area (see FIG. 7). If the address is not an address in the EXE area, the file is not a file in the fEXE format, so the error is displayed in step S523 and the difference is extracted. The process ends.
  • step S504 each of the old EXE file 300 and the new EXE file 310 is added. It is determined whether or not the value of one word stored in the ⁇ ⁇ relative offset 36h in the element EXE header is 1 (see FIG. 7). here,
  • EXE relative offset means a relative offset from the start address of the f.EXE format area. If the value is not 1, the file is not an EXE format file, and an error is displayed in step S523, and the difference extraction processing ends.
  • step S505 the DOS EXE format data area is located in each of the old EXE file 305 and the new EXE file 306.
  • step S506 the header analysis unit 301 calls the difference extraction processing unit 304, and the header analysis unit 304 extracts the old EXE file 304 and the new EXE file 303.
  • the DOS EXE format data area extracted in each case is passed to the difference extraction processing section 304.
  • the difference extraction processing section 304 executes a new EXE file from the beginning to the end of the DOS EXE format data area passed from the header decompression section 301 by the difference extraction processing described later. Extract the difference in byte units from the old EXE file 305 of the file 306, and save the difference in the update file 307.
  • FIG. 7 shows the old EXE file 305 and the new EXE file 306.
  • step S508 the old EXE file 305 and the new EXE file 306 are respectively read.
  • the EXE header area is indicated as the contents of the file offset 3Ch in the DOS EXE header described above.- ⁇ R From the address of the EXE area, the variable segtbl off
  • step S509 the header breaking section 301 calls the difference extraction processing section 304, and the old EXE file 205 and the new EXE file 303 are called.
  • the discarded EXE header area extracted for each of No. 06 is passed to the difference extraction processing section 304.
  • the difference extraction processing unit 304 executes the new extraction of the new EXE file 304 from the beginning to the end of the f ⁇ EXE header area passed from the header analysis unit 301 by the difference extraction processing described later. Extract the byte-by-byte difference from the old EXE file 305 of No. 6 and save the difference in the update file 307.
  • step S510 the old EXE file
  • the segment table section (see FIG. 4) extracted based on the variables segtbl off and segtbl cnt (see FIG. 8) is broken for each of 2005 and the new EXE file 303.
  • Figure 9 shows the data structure of the segment table.
  • the segment table section is a 1-byte file offset data that indicates the start address of the segment data, and a 1-byte actual segment data size that indicates the actual size of the segment data.
  • a data set consisting of data and one-word segment type / attribute data indicating the type and attribute of the segment data is provided for each of the segment data described later.
  • step S 510 for each of the old EXE file 305 and the new £ file 306, this data structure, for example, in the form of a data structure, Information 308 (see FIG. 3) is set in a memory (not shown) that can be accessed from a segment data association unit 302 and a resource association unit 303 described later. You.
  • step S511 the old EXE file 3
  • the segment table area (see FIG. 4) described above is extracted for each of 05 and the new EXE file 30. This area starts from the offset address at the head of the segment table section indicated by the variable segtbl ⁇ , and expands from the offset address indicated by the variable entrytbl ⁇ . It is extracted as the area up to the address before the offset address at the beginning of the entry table section (see Figs. 8 and 4).
  • the header decryption section 301 calls the difference extraction processing section 304 in step S512, and the old EXE file 350 and the new EXE file 310 are called together.
  • the segment table area extracted for each of 6 is passed to the difference extraction processing section 304.
  • the difference extraction processing section 304 executes a new EXE file from the top to the end of the segment table section area passed from the header breaking section 301 by the difference extraction processing described later. Extract the difference in byte units from the old EXE file 305 of the file 306, and save the difference to the update file 307.
  • step S 5 1 the old E X E
  • the exponent retrievable area (see FIG. 4) is extracted from each of 0 5 and the new EXE file 310.
  • This area includes the offset address at the head of the expo- nentry table section indicated by the variable entrytbl off, and the offset at the head of the resident name table section indicated by the variable resnamtbl off. It is extracted as the area up to the address before the address (see Figs. 8 and 4).
  • the export entry table section contains the ⁇ EXE format program that contains it, and other discarded programs.
  • this part should be omittea. If a program that can be referenced from a program, for example, a DLL (Dynamic Link Library) program, another program is provided as a part of the program in which this table is set. The segment number and offset in the file to the function are stored so that the function can be referred to.
  • a program that can be referenced from a program for example, a DLL (Dynamic Link Library) program
  • another program is provided as a part of the program in which this table is set.
  • the segment number and offset in the file to the function are stored so that the function can be referred to.
  • the header decryption unit 301 calls the difference extraction processing unit 304 in step S 514, and the old EXE file 305 and the new EXE file 3
  • the extracted entry table area extracted for each of No. 06 is passed to the difference extraction processing part 304.
  • the difference extraction processing section 304 executes the new extraction of the new EXE file 304 from the beginning to the end of the segment table section area passed from the header breaking section 301 by the difference extraction processing described later. Extract the difference in byte units from the old EXE file (305) in No. 6 and save the difference in the update file (307).
  • step S515 the areas of the resident name table section and the non-resident name table section (see FIG. 4) for the old EXE file 305 and the new EXE file 306, respectively, are set. Is extracted as one area. This area is from the first offset address of the resident name table part indicated by the variable resnamtbloff to the address before the first offset-address of the module reference table part indicated by the variable niodrei off.
  • the resident name table section and the non-resident name table section have a common configuration as shown in Fig. 10.
  • the resident name table section has the module name resident in memory at the time of program execution, the number of bytes, and the like.
  • the index of the table to be entered is stored, and the name of the module to be called by the program itself, the number of bytes, and the entry are stored in the non-resident name table section as needed when the program is executed. Stores the index of the table (module).
  • step S 516 the header breaking section 301 calls the difference extraction processing section 304, and the old EXE file 304 and the new EXE file.
  • the resident / non-resident name table section area extracted for each of the nodes 303 is passed to the difference extraction processing section 304.
  • the difference extraction processing section 304 executes the new EXE file from the beginning to the end of the resident Z non-resident name table section area passed from the header breaking section 301 by the difference extraction processing described later. Extract the difference in byte units from the old £ £ file 3 05 of 3 06, and save the difference in the updated file 3 07.
  • step S 517 the module reference table section and the import name table section (see FIG. 4) are used for the old EXE file 300 and the new EXE file 310, respectively.
  • the module name and byte length of other DLL programs referenced by the program containing the module are stored in the import name table section.
  • the offset value to each element of the import name table part is stored as a code array.
  • the header analysis unit 301 calls the difference extraction processing unit 304 in step S518, and the old EXE file 205 and the new EXE file 303 are called.
  • the module reference / inboard name table section area extracted for each of No. 6 is passed to the difference extraction processing section 30.
  • the difference extraction processing unit 304 executes the new EXE source from the beginning to the end of the module reference / import name table area passed from the header analysis unit 301 by the difference extraction processing described later. Extract the difference in byte units from the old EXE file 305 of the file 306, and save the difference to the update file 307.
  • step S 519 the old EXE file 305 and the new EXE file 306 are each extracted based on the variables resrctbl of ⁇ and resrctblcnt (see FIG. 8).
  • the resource table section (see Fig. 4) is analyzed.
  • Figure 13 shows the data structure of the resource table section.
  • the resource table portion is composed of one-page resource type ID data indicating the identifier of the resource type and one-node resource name ID data indicating the identifier of the resource name.
  • a data set is provided for each of the resources described below.
  • this data structure is used as resource information 309 (see FIG. 3).
  • the memory is set to a memory (not shown) accessible from a resource association unit 303 described later.
  • step S520 the above-mentioned resource table area (see FIG. 4) is extracted for each of the old EXE file 305 and the new EXE file 306.
  • This area is the area from the offset address at the top of the resource table indicated by the variable resrctbl off to the address advanced by the number of resource entries indicated by the variable resrctbl cnt. It is extracted (see Figures 8 and 4).
  • Step S 5 2 In step 1, the difference extraction processing section 304 is called, and the resource table area extracted in each of the old EXE file 304 and the new EXE file 303 is subtracted. The information is passed to the extraction processing section 304. As a result, the difference
  • the extraction processing section 304 executes the difference extraction processing to be described later, from the beginning to the end of the resource table section area passed from the header breaking section 301, to the new EXE file 303. Extract the byte-by-byte difference from the old EXE file 305 and save the difference to the update file 307.
  • the header analysis unit 301 uses the old EXE file 305 and the new EXE file for each of the DOS EXE area, the EXE header area, and each table area. Extraction of difference from Il 30
  • step S522 the header analysis unit 301 activates the segment data association unit 302 of FIG. 3 and ends the process.
  • segment data association section 302 the attribute of the segment data and the main part thereof are between the old EXE file 305 and the new EXE file 306. By comparing these data, the association is performed, and a difference extraction process is instructed to the difference extraction processing unit 304 for each of the associated segment data areas.
  • step S1401 based on the segment information 308 set from the header decryption section 301 in step S510 in FIG.
  • the mapping of the points is performed.
  • the segments of the old EXE file 305 are arranged in a row. Are arranged. The segments are arranged in the direction in which the file offset increases with the linker.
  • Fig. 15A shows an example of a segment of the old EXE file that was arranged in the same way.
  • the segment of segment number 3 is added to the old EXE file 305 in the new EXE file 306. ing.
  • the correspondence relationship between the new EXE file 30 and the old EXE file 305 is as shown in FIG. 16B.
  • the segment with the segment number 4 of the old EXE file 205 is deleted. Segment number 6 of segment number 2 has been added, and the other segment pairs have not changed or been replaced.
  • Process 1 The number of segments in the old EXE file 305 and the new ££ file 306 are compared.
  • Process 2 If the number of segments is the same or the new EXE file 306 has a larger number of segments, the segment defined in the old EXE file 305 is deleted. As a key, the segment in the new EXE file 306 is searched. If the old EXE file has a larger number of segments than the old EXE file, the segment defined in the new EXE file is used as a key and the old EXE file is used as a key. The segment in 305 is searched.
  • the segment type / attribute is the same as the current key segment, and the first one of the segment data is used.
  • the one that matches the contents of 6 bytes is a pair segment.
  • segment data that fills a relocation table in which relocation information is set at the top. If either the keyed segment or the segment to be searched is such data, the contents of the first 16 bytes immediately following this relocation table are Those that match are regarded as a pair segment, and a difference extraction process is separately performed on the relocation table as described later.
  • Whether or not the relocation table exists is determined by the data value indicating that the relocation table exists in the segment type / attribute data of the segment information 308. Is set or not Can be determined.
  • the search is abandoned for the key segment, and the segment is replaced by the old EXE file. 05 is the isolated segment. Then, the next segment is regarded as the key and the search is performed.
  • unpaired segments in the new EXE file 310 are considered as isolated segments in the new EXE file 310.
  • the obtained pair segment, the isolated segment of the old EXE file 305, and the isolated segment of the new EXE file 306 are used as segment association data. It is stored in memory.
  • step S1401 in FIG. 14 after all searches have been completed, the following step S14 is performed on each of the segment-associated data.
  • the processing of 1402 to S1416 is repeatedly executed.
  • step S1402 if there is segment association data in which one segment association data is extracted from memory or the like, the determination in step S1443 is made. Is YES, and subsequently, in step S144, it is determined whether or not the segment association data is a non-segment. If the segment association data is a pair segment and the judgment in step S144 is YES, then steps S148, S141, and S141 In step 2, it is determined whether relocation information is set in the old EXE file 305 and / or the new £ file 306.
  • step S1413 the relocation table area is extracted from each of the old EXE file 305 and the new EXE file 306. This area is extracted as the area from the first address of the segment data to the address that is advanced by the number of relocation items set in the first byte. Subsequently, the segment data associating unit 302 calls the difference extraction processing unit 304 in step S144, and the old EXE file 3005 and the new EXE file are also called.
  • the relocation table area extracted for each of the files 303 is passed to the difference extraction processing section 304.
  • the difference extraction processing section 304 executes the difference extraction processing described later to relocate the relocation table section area passed from the segment data association section 302. From the beginning to the end of the area, extract the byte-by-byte difference of the new EXE file 306 from the old EXE file 305, and save the difference to the updated file 307 .
  • step S108 If the relocation information is set only in the old EXE file 305, the determination in step S108 becomes YES, and step S1409 is executed. In step S 1409, difference information (update record) indicating that the resource table area of the old EXE file 305 has been deleted is added to the update file 307. Saved.
  • step S144 If the relocation information is set only in the new EXE file 306, the judgment in step S144 is N0, and the judgment in step S14410 is YES. And step S1 4 1 1 is executed. In step S1441, difference information (update record) indicating that the resource table area of the new EXE file 306 has been inserted is stored in the update file 30. Saved to 7.
  • step S115 is executed.
  • step S14415 the area of the segment data body excluding the relocation information is extracted. This area starts from the first address of the segment data when the relocation information is not set, and starts from the first address when the relocation information is set. From the address following the address that has advanced by the number of relocation items set for one byte, the segment data of the next segment number extracted from the segment information 3008 is extracted. Extracted as the area up to the address before the first offset address.
  • the segment data associating unit 302 calls the difference extraction processing unit 304 in step S11416, and the old data file 304 is added to the old data file 304.
  • the segment data area extracted in each of the new £ files 306 is passed to the difference extraction processing section 304.
  • the difference extraction processing section 304 executes a new file from the beginning to the end of the segment data area passed from the segment data association section 302 by the difference extraction processing described later. Extract the difference in byte units from the old £ £ file 3 05 of 3 06, and save the difference to the updated file 3 07.
  • the segment association data is determined to be a pair segment. If not, and if the determination in step SI404 is NO, then in step S145, the segment association data is the isolated segment of the old EXE file 304. Is determined.
  • step S1406 is executed.
  • difference information update record
  • step S1405 If the judgment of step S1405 is N0, it is an isolation of the new EXE file 306. This is a segment, and in this case, step S107 is executed.
  • step S 1407 the difference information (update record) indicating that the isolated segment area of the new EXE file 300 has been inserted is updated in the update file 307. Saved to.
  • step S1443 the determination in step S1443 becomes N0.
  • segment data associating unit 302 activates the resource associating unit 303 in FIG. 3 in step S144, and ends the processing.
  • FIG. 3 An operation flowchart of the processing executed by the resource associating unit 303 is shown in FIG.
  • the operation of the resource mapping unit 303 is the same as that of the header resolution unit 301, especially in a computer system (not shown). This is implemented as a part of the operation for executing the control program stored in the memory with respect to the stored old EXE file 304 and the new EXE file 303.
  • the resource is defined as an attribute of the segment data, and therefore, as in the case of the segment data described above, the old EXE file 300 and the new £ 5 file 303 If there are resources corresponding to and, the contents of the resources that have not been changed are matched, and a difference occurs only for the resources that have been changed.
  • the old EXE file 304 and the new EXE file 303 are similar.
  • Resource mapping between The difference extraction processing unit 304 is instructed to perform the difference extraction processing for each of the resource regions that have undergone the subtraction.
  • the resource name ID is set in the above-described resource table (see FIG. 13). Therefore, the resource mapping unit 303 compares the resource name IDs by comparing the resource name IDs, and sends the corresponding resource area to the difference extraction processing unit 304 for each of the associated resource areas. Instruct difference extraction processing.
  • step S1801 the segment information 3008 and the segment information set from the solder analysis unit 301 in steps S510 and S519 in FIG. Resources are associated based on the resource information 309.
  • Process 1 The number of resources in the old EXE file 305 and the number of resources in the new EXE file 306 are compared.
  • Process 2 If the number of resources is the same or the number of resources in the new EXE file 306 is larger, the resources defined in the old EXE file 305 are used. Key Then, the resources in the new EXE file 306 are searched. If the old EXE file 305 has more resources than the old EXE file 3, the resources defined in the new EXE file 306 are used as keys. 0 The resources in 5 are searched.
  • a resource having the same resource name ID as the resource currently set as a key is set as a paired resource.
  • the presence or absence of the re- ⁇ location table depends on whether the relocation table exists in the segment type attribute data of the segment information 308 corresponding to the resource. Can be determined based on whether or not a data value indicating is set.
  • the search for the key resource is abandoned and the resource is replaced with the old EXE file 305. It is considered an isolated resource. Then, the next resource is keyed, Is performed.
  • resources that have not been paired in the new EXE file 310 are considered to be isolated resources in the new EXE file 310.
  • the isolated resource of the E-file 305 and the isolated resource of the new EXE file 306 are held in the memory or the like as resource association data.
  • step S1800 shown below is performed.
  • Steps 2 to S1816 are executed repeatedly. These processing waves and segment correspondence data are the same as the processing in steps SI402 to S1416 in Fig. 14.
  • step S1802 one resource association data is extracted from memory or the like.
  • step S1803 determines whether the resource mapping data is a resource or not is determined. Is determined.
  • step S 1804 determines whether or not relocation information is set in both or one of 6.
  • step S1813 the relocation table area is extracted from each of the old EXE file 300 and the new EXE file 310. This area is extracted as an area from the start address of the resource to the address advanced by the number of relocation items set in the first byte. Subsequently, the resource associating unit 303 calls the difference extraction processing unit 304 in step S1814, and also executes the old EXE file 3005 and the new EXE file.
  • the relocation table area extracted for each of the files 303 is passed to the difference extraction processing section 304.
  • the difference extraction processing section 304 executes the new EXE from the beginning to the end of the relocation table section area passed from the resource association section 303 by the difference extraction processing described later. Extract the byte-by-byte difference of the file 306 from the old EXE file 305, and save the difference in the updated file 307.
  • step S 1808 Relocation information for old EXE file 305 only If the information has been set, the determination in step S 1808 is YES, and step S 1809 is executed. In step S 1809, difference information (update record) indicating that the resource table area of the old EXE file 305 has been deleted is powerful, and the update file 307 Saved to.
  • step S1880 If the relocation information is set only in the new EXE file 306, the judgment in step S1880 is N0, and the judgment in step S18810 is Becomes YES, and step S1811 is executed.
  • step S1811 the difference information (update record) indicating that the resource table area of the new EXE file 303 has been inserted is updated in the update file 30. Saved to 7.
  • the above-mentioned processing related to the relocation table is executed. Not done.
  • Step S1815 the area of the resource body excluding the relocation information is extracted. In this area, if relocation information is not set, relocation starts from the resource's first address. When the link information is set, the segment information starts from the address next to the address that has advanced by the number of relocation items set in the first byte of the resource. Extracted from the resource information 308 as an area up to the address before the offset address at the head of the resource with the next resource number.
  • the resource associating unit 303 calls the difference extraction processing unit 304 in step S 186, and also executes the old EXE file 305 and the new EXE file in step S 186.
  • the resource area extracted in each of the files 303 is passed to the difference extraction processing unit 304.
  • the difference extraction processing unit 304 executes the new EXE file from the beginning to the end of the resource area passed from the resource association unit 303 by the difference extraction processing described later. Extract the byte-by-byte difference from the old EXE file 300 of 303, and save the difference to the updated file 307.
  • step S185 it is determined whether or not it is an isolated resource of the resource file “executed file 305”.
  • step S 1 ⁇ 06 is executed. ⁇ In step S 1 86 6, the old ⁇ ⁇ ⁇ Difference information indicating that the isolated resource area of file 305 has been deleted (update record) Powerfully saved to update file 307.
  • step S1855 If the resource association data is not the isolated resource of the old X-file 305 but the judgment of step S1855 is ⁇ , it is the new X-file This is the 306 isolated resource, in which case step S 1807 is performed.
  • step SI8C7 the difference information (update record) indicating that the isolated resource area of the new file 306 has been inserted is added to the update file 307. Saved.
  • the operation flow of the difference extraction processing executed by the difference extraction processing section 304 is shown in Fig. 21.
  • the operation flowchart of the comparison process executed in the process is shown in FIG.
  • These operations are performed in the same manner as in the case of the header breaking section 301, especially in a computer system (not shown), because of the CPU power and the old EXE file 305 stored in a disk device or the like. This is implemented as a part of the operation for executing the control program stored in the memory for the new EXE file 303 and the new EXE file 306.
  • step S2101 it is determined whether or not there is no more data to be compared in the designated area.
  • the comparison process is performed using the byte data on the comparison side as a key.
  • step S221 of FIG. 22 the end position in the comparison side area or the current comparison start position to be described later is stored in the variable srcend, which is secured in a memory not shown in the figure.
  • the address of the position closer to the current comparison start position on the comparison side among the positions ahead of the 10 24 bytes is stored.
  • the variable “distend”, which is secured in a memory not shown in the figure stores the end position in the comparison target area or the current comparison start position of the comparison target side to be described later. Stores the address of the position ahead of the byte that is closer to the current comparison start position on the comparison target side.
  • step S222 the address of the current comparison start position on the comparison side is stored in a variable src secured in a memory (not shown).
  • the variable src initially stores the address of the first byte data a in the designated area of the new EXE file 306.
  • the address of the current comparison start position on the comparison target side is stored in the variables d ist and nextd ist, which are secured especially in the memory not shown.
  • the addresses of the first byte data a in the specified area of the old EXE file 305 are initially stored in the variables d ist and next d ist.
  • step S2206 the values of variables src, dist, and nextdist are sequentially incremented in step S2206, while steps S2203 ⁇ S2204 ⁇ S2
  • steps S2203 ⁇ S2204 ⁇ S2 By repeating the processing of 205 ⁇ S2206 ⁇ S2203, as shown by T1 to T3 in Fig. 24A, the function indicated by the variables src and dist The byte data having the same value in the address are sequentially associated with each other.
  • step S226 a new EXE file on the comparison side is obtained.
  • step S2208 the value of the variable dist is incremented in step S2208, while step S2204 ⁇ S2207 ⁇ S2208 ⁇ S
  • the new EXE file at the address indicated by the variable src is returned by the processing of 2 2 0 9 ⁇ S 2 2 0 4 ⁇ S 2 2 0 7 ⁇ S 2 2 0 8 being repeated.
  • step S2203 if the address indicated by the variable src does not exceed the comparison end address indicated by the variable srcend, and if the judgment in step S2203 is N0, the operation is repeated. While the value of the variable dist is incremented in step S2208, step 32204 ⁇ 322007 ⁇ S2208-> S2209 ⁇ S 2 204 ⁇ S 2 0 7 ⁇ S 2 2 0 8 Using the second byte data I inserted in the new EXE file 303 at the address indicated by the number src as a key, the value and the variable dist that are sequentially incremented Until the values of the byte data de ... on the old EXE file 305 at the address indicated by ⁇ match, and the determination in step S2204 becomes YES. They are compared sequentially. This operation is shown at T6, ⁇ 7 in Figure 24A.
  • step S2209 Thereafter, each time the determination in step S2209 becomes YES, the same comparison processing is repeated for each of the third and subsequent byte data I inserted in the new EXE file 306. (T8, T9 in Figure 24A).
  • step S2210 the address of the note data d on the new EXE file 306 is substituted for the variable src, and the old EXE file 3 indicated by the variable nextdist for the variable dist.
  • step S 222 the new EXE file in the address indicated by the variable src 3 0 6
  • the byte data d of the old EXE file 305 at the address indicated by the variable dist matches the byte data d of this address, and the determination is YES.
  • the matching state is that the byte data ab • ' ⁇ c of the new EXE file 300 and the old EXE file 300 match first, and then the new EXE file 30 Byte data II inserted in step 6 Since this is a match state after mismatching with the byte data de ⁇ 'on file 305, the determination in step S2205 is YES.
  • step S2211 the matching part indicated by the byte data ab, c of the new EXE file 306 in Fig. 24A and the old EXE file 305 in Fig. 24A
  • the match start point (address of byte data a) and the number of matching bytes are calculated, and the mismatched portion indicated by the byte data II * The mismatch start point and the number of mismatch bytes are calculated, and the comparison process ends.
  • step S2205 when a pair of a matching portion and a mismatching portion is found and the determination in step S2205 becomes YES, it will be described later with reference to FIGS. 28A and 28B.
  • step S2207 when a pair of a non-matching part and a matching part is found and the judgment in step S2207 is YES, the matching start point and the number of matching bytes of the matching part, and the mismatch starting point of the non-matching part And the number of mismatched bytes is calculated, and the comparison process ends.
  • step S210 the steps shown in FIG. 21 are performed for each byte data in the specified area of the old EXE file 305, using each byte data in the specified area of the new EXE file 306 as a key.
  • step S210 the number of matching bytes described above is 64 bytes. Is determined.
  • step S210 the difference corresponding to the above-described mismatched portion is determined.
  • the information is written to update file 307 in Figure 3.
  • the number of matching bytes indicated by the byte data ab 'and c of the new EXE file 306 and the old EXE file 305 in Fig. 24A is 64 bytes or more.
  • the new EXE file 306 it is assumed that the byte data II,..., I was inserted immediately after the address indicated by the byte data c of the old EXE file 305.
  • the indicated difference information is written to the update file 307.
  • step S2104 step S211 described above is performed. Contrary to the case of 02, the designated area of the old EXE file 305 is set as the comparison side, the specified area of the new EXE file 306 is set as the comparison side, and the byte data of the comparison side is set as the comparison side. As a key, the comparison processing shown in FIG. 22 described above is executed.
  • FIG. 24B shows an operation corresponding to FIG. 24A described above.
  • variables srcend and distend, variables src, and variables dist and nextdisU are set in steps S2201 and S2202, as in Fig. 24A. Is determined.
  • step S 2206 the value of variable src is changed to the address of d in the old EXE file 305 on the comparison side, and the comparison is made.
  • the new EXE file 303 on the target side after the value of the byte data II ' ⁇ ⁇ I into which the value of the variable dist is inserted, the first data is addressed, and then step S2 When 204 is executed, the judgment becomes N0.
  • step S2204 ⁇ S2207 ⁇ S2208 ⁇ S2 20.9 ⁇ S2204 ⁇ S2207 ⁇ S2208 is reprocessed, and the old EXE file 305 at the address indicated by the variable src is restored.
  • step S2204 Using the byte data d as a key, its value and the byte data II ⁇ ⁇ ⁇ I on the new EXE file 306 in the address indicated by the variable dist sequentially incremented Are equal to each other, and the determination in step S2204 is YES. Until they are compared. This operation is shown at T4 to T6 in FIG. 24B.
  • this new XE file 306 is substituted in step S 228,
  • the byte data d of the old EXE file at the address indicated by the variable src and the new EXE file at the address indicated by the variable dist are read.
  • the byte data d of 6 matches, and the judgment is YES.
  • the match status is determined by first comparing the old EXE file 3 05 and the new EXE file 3
  • step S2205 Since the byte data d on the EXE file 305 is in a match state after mismatching, the judgment in step S2205 is YES.
  • step S2211 the byte data ab, ⁇ , and c of the old EXE file 305 and the new EXE file 306 of FIG.
  • the match start point (address of byte data a) and the number of matching bytes are determined, and the mismatched portion indicated by the byte data II ⁇ ⁇ ⁇ I inserted in the new EXE file 30 6.
  • the mismatch start point and the number of mismatch bytes are calculated, and the comparison process ends.
  • the finger of the old EXE file By comparing the byte data of the specified area of the new EXE file 306 with the byte data of the specified area as the key, the matching process is performed by comparing the byte data of the specified area in step S210 in FIG. If a mismatched pair is found, then in step S2105 it is determined whether all bytes are mismatched.
  • step S210 If all the bytes do not match and the determination in step S210 is YES, in step S210, the difference information regarding the above-described mismatch is updated in Fig. 3. Written to file 307.
  • step S First, the number of matching bytes in the comparison processing of the above-described step S2102 using the byte data of the new EXE file 306 as a key by the following equation RNEW0LD is calculated
  • RNEW0LD (number of new to old matching bytes)
  • step S2106 If the judgment of step S2106 is YES, step S2107 is performed, and step S2107 is performed when the old EXE file 305 is fixed in step S2107.
  • step S2109 The result of the comparison process of 104 is selected and the In step S2109, the difference information on the mismatched part obtained by the comparison processing is written to the update file 307 in FIG.
  • step S210 the step when the new EXE file 306 is used as a key
  • step S210 the result of the comparison process in step S210 is selected, and in step S209, the difference information on the mismatched portion obtained by the comparison process is updated in FIG. Is written to 307.
  • step S21008 the step when the new EXE file 306 is used as a key in step S21008
  • the result of the comparison process in S210 is selected, and in step S210, the new EXE file 310 is used as difference information on the mismatched portion obtained by the comparison process.
  • the difference information indicating that byte data II... I was inserted immediately after the address indicated by byte data c of the old EXE file 305 is stored in the updated file 307. Is written.
  • next comparison start position is set in step S2110, and the processing returns to step S2101 and subsequent steps.
  • the next comparison start position is in the new EXE file 306.
  • the byte data stored in the variable src when the judgment in step S2204 in Fig. 22 is YES.
  • the address of the byte data d stored in the variable disU at that time is the same as the address of the data d and the old EXE file 305. Thereafter, the comparison process exactly as described above is repeated with these comparison start positions as starting points.
  • step S2101 If the byte data to be compared no longer exists in the specified area of the new EXE file 306 and the specified area of the old EXE file 305, the judgment of step S2101 is made. Becomes YES, and the difference extraction processing in these designated areas ends.
  • step S210 of FIG. 21 the area designated in the new EXE file 306 is compared with the area designated by the old EXE file.
  • the comparison process is executed using the area specified in the file 305 as a comparison target and the byte data on the comparison side as a key.
  • This comparison processing is different from the case of The same process is performed, except that the comparison side and the comparison side are reversed.
  • the coincidence start point and the coincidence start point of the matching part indicated by the byte data ab, c of the new EXE file 306 of FIG. 25A and the old EXE file 305 of FIG. The byte count is calculated, the byte data DD deleted in the new EXE file 306, the mismatch start point of the mismatched portion indicated by D, and the number of mismatch bytes are calculated, and the comparison process ends.
  • ⁇ As a result of the above operation the steps shown in FIG.
  • step S210 whether the number of matching bytes is equal to or greater than 64 bytes It is determined whether or not.
  • step S210 If the number of matching bytes is equal to or greater than 6 4 knots and the judgment in step S210 is YES, in step S210, the difference information on the above-described mismatched portion is determined. Is written to the update file 307 in Fig. 3. Match bytes less than 64 bytes Step S
  • the old EXE file 3 is used in step S2104, contrary to the case of step S2102 described above.
  • the designated area of 05 is the comparison side
  • the designated area of the new EXE file 30 6 is the comparison side
  • the byte data of the comparison side is the key
  • the comparison processing shown in FIG. 22 is executed. As an example of this comparison processing, an operation corresponding to FIG. 25A described above is shown in FIG. 25B. This comparison processing is the same as that of FIG. 24A described above, except that the comparison side and the comparison target side are reversed.
  • the number of matching bytes is calculated, and the mismatch starting point and the number of mismatching bytes of the mismatched portion indicated by the byte data DD deleted in the new EXE file 306 are calculated.
  • the comparison process ends.
  • step S210 it is determined whether or not all the bytes are mismatching.
  • step S2105 the judgment in step S2105 is N0, so that in step S2106, Based on Equations (1), (2), and (3) above, the percentage of matching bytes when the new EXE file 306 is used as a key.
  • Key 3 0 5 as a key It is determined whether it is smaller than the ratio of the number of matching bytes R0LDNEW.
  • step S2108 step S2 is performed when the new EXE file 303 is used as a key.
  • the result of the comparison process of step 102 is selected, and in step S2109, the difference information about the mismatched part obtained by the comparison process is used as the difference information in the new EXE file 306.
  • Difference data indicating that byte data DD... D between byte data c and d of EXE file 305 has been deleted is written to update file 307.
  • the byte existing between the byte data c and d in the designated area of the old EXE file 305 is determined. Assume that the area of the data string RR is replaced by another byte data string RR having the same length.
  • step S210 of FIG. 21 the area specified in the new EXE file 306 is compared with the area designated by the old EXE file.
  • the comparison process is executed using the area specified in the file 305 as the comparison target side and the byte data on the comparison side as a key.
  • the comparison process shown in FIG. The processing is the same as that of the comparison range indicated by T1 to T9 of 4A.
  • the comparison range indicated by T10 to ⁇ 13 in FIG. The processing is the same as that of the comparison range indicated by ⁇ 4 to T7 in Fig. 26.
  • the new EXE file 310 and the old EXE file in Fig. 26A are displayed.
  • the matching start point and the number of matching bytes of the matching part indicated by the byte data ab ', c, are calculated, and the byte data RR' replaced with the new EXE file 306 ⁇ -The mismatch start point and the number of mismatch bytes of the mismatched portion indicated by R are calculated, and the comparison process ends.
  • step S203 the number of matching bytes described above is increased to 64 or more. It is determined whether there is.
  • step S210 If the number of matching bytes is equal to or greater than 64 bytes and the determination in step S210 is YES, in step S210, the difference information regarding the above-described mismatched portion is obtained. It is written to the update file 307 in FIG. If the number of matching bytes is smaller than 64 bytes and the judgment of step S2103 is N0, step S2104 is executed at step S2104. In case of 1 0 2 Conversely, the designated area of the old EXE file 305 is set as the comparison side, the specified area of the new EXE file 306 is set as the comparison target, and the byte data of the comparison side is set as the key. Then, the comparison process shown in FIG. 22 described above is executed. As an example of this comparison processing, an operation corresponding to FIG.
  • FIG. 26B In this comparison process, first, in the comparison range indicated by T1 to T9 in FIG. 26B, the process is the same as that in the comparison range indicated by ⁇ 1 to ⁇ 9 in FIG. Then, in the comparison range indicated by 10 to 0 13 in FIG. 268, the processing is the same as that in the comparison range indicated by ⁇ 4 to ⁇ 7 in FIG. . Then, as a result of this comparison processing, it is represented by the note data ab... C of the old file 305 and the new file 306 in FIG. 26.
  • the matching start point and the number of matching bytes of the matching part are calculated, and the byte data RR * replaced by the new EXE file 306 * The mismatching starting point of the mismatched part indicated by R And the number of mismatched bytes is calculated, and the comparison process ends.
  • step S210 determines whether all the bits do not match. It is determined whether or not.
  • step S2105 since all the bytes do not match, the judgment of step S2105 becomes N0, so that in step S2106, Based on Equations (1), (2) and (3) above, the ratio of the number of matching bytes when the new EXE file 306 is used as a key. It is determined whether or not it is smaller than the ratio R0LDNEW of the number of matching bytes when rule 3505 is used as a key.
  • step S210 the step S2 in which the new EXE file 106
  • the result of the comparison process of step 102 is selected, and in step S2109, the difference information of the mismatched part obtained by the comparison process is used as the difference information of the old EXE file in the new EXE file 306.
  • step S2102 of FIG. 21 the new EXE file 3
  • the comparison process is executed with the area specified in 06 as the comparison side and the area specified in the old EXE file 305 as the comparison target side, and the byte data on the comparison side as the key. You.
  • This comparison process is the same as that of FIG. 26A. Therefore, in the comparison range indicated by T 1 to T 10 in FIG. 27A, the comparison range shown by the above-described FIG. 24 4 0 ⁇ 1 to ⁇ 9 is used. In the comparison range indicated by Tl 1 to T 13 in FIG. 27 2, the comparison processing indicated by ⁇ 4 to ⁇ 7 in FIG. 25 ⁇ is performed. The processing is similar to that of the range. Then, as a result of this comparison processing, the matching start indicated by the byte data ab-.c of the new file 3306 in FIG. 27 and the data file ⁇ X ⁇ in the old file 305 in FIG. 27 starts. The point and the number of matching bytes are calculated, and the byte data inserted, deleted, and replaced in the new EXE file 310
  • step S in FIG. 21 for each byte data of the specified area of the old EXE file 305 using the byte data of the specified area of the new EXE file 306 as a key
  • step S2103 it is determined whether or not the number of matching bytes is equal to or greater than 64 bytes. Is determined.
  • step S210 the difference information regarding the above-described mismatched portion is obtained. Is written to the update file 307 in FIG.
  • step S2104 the above-described step S2102 is performed. Contrary to the case of, the designated area of the old EXE file 305 is set as the comparison side, and the specified area of the new EXE file 306 is set as the comparison target side, and the byte data of the comparison side is set.
  • the comparison processing shown in FIG. 22 described above is executed. As an example of this comparison processing, an operation corresponding to FIG. 27A described above is shown in FIG. 27B. This comparison process is the same as that of FIG. 26B described above. First, in the comparison range indicated by T1 to T9 of FIG.
  • step S in FIG. 21 for each byte data in the specified area of the new EXE file 306 using the byte data in the specified area of the old EXE file 305 as a key
  • step S2105 it is determined whether or not all bytes do not match. You.
  • step S2106 is performed. Based on Equations (1), (2), and (3), the ratio of the number of matching bytes when the new EXE file 306 is used as a key, RNEW0LD is the old EXE file 3 It is determined whether or not the ratio of the number of matching bytes when R5 is used as the key is smaller than R0LDNEW.
  • step S210 the result of the comparison processing of step S210 when the new EXE file 306 is used as a key is selected, and step S210 is selected.
  • step 9 the difference information about the mismatched part obtained by the comparison processing is written to the update file 307.
  • the number of bytes between the byte data c and d in the designated area of the old EXE file 303 is larger than the designated area of the new EXE file 310. If the number of bytes is larger than the number of bytes between c and d in the new EXE file, the difference information indicating that the byte data corresponding to the number of bytes in the new EXE file 2006 has been replaced is updated. To the file 307, and then ((the number of bytes in the old EXE file 305) one (the number of bytes in the new EXE file 306) byte data The difference information to the effect that was deleted is written to the updated file 307.
  • the number of bytes between byte data c and d in the designated area of the old EXE file 300 is larger than the designated area of the new EXE file 303. If the number of bytes is smaller than the number of bytes between byte data c and d in the previous EXE file, the difference information indicating that the byte data corresponding to the number of bytes in the old EXE file 305 has been replaced is updated. 307 heired, followed by-. ((Number of bytes in new EXE file 306) The difference information indicating that one byte (the number of bytes in the old EXE file 305) has been inserted is written to the update file 307.
  • the number of bytes between byte data c and d in the designated area of the old EXE file 3005 is equal to the number of bytes in the designated area of the new EXE file 310. Is equal to the number of bytes between c and d, the difference that the byte data of the old EXE file 305 or the new EXE file 306 has been replaced by the number of bytes is replaced. The information is written to the update file 307.
  • step S210 of FIG. 21 the area specified in the new EXE file 306 is compared with the area designated by the old EXE file.
  • the area specified in file 3 05 is compared
  • the comparison processing is executed using the byte data on the comparison side as a key.
  • This comparison processing is the same as that of the comparison range indicated by T4 to T6 in FIG. 25A described above in the comparison range indicated by T1 to T3 in FIG. 28A.
  • the comparison range indicated by ⁇ 4 to ⁇ 6 in FIG. 28 is the same processing as that in the comparison range indicated by ⁇ 1 to ⁇ 3 in FIG. At the time of the change from ⁇ 3 to ⁇ 4 in Fig.
  • step S2206 the new EXE file is stored in the variable src.
  • step S220 At the time when step 4 is executed, the byte data a of the new EXE file 310 at the address indicated by the variable src and the byte of the old EXE file 300 at the address indicated by the variable dist Data d does not match, The judgment is NO. This mismatch condition is caused by the fact that each byte data II... I on the new EXE file 306 and the byte data ab.
  • step S222 the determination in step S222 is YES, and the determination in step S222 is YES. 1 1 is executed.
  • step S2211 the mismatch start point and the number of mismatch bytes of the mismatched portion indicated by byte data ab, c on the old EXE file 305 in Fig. 28A are calculated. Also, the inserted byte data II on the new EXE file 306 and the byte deleted on the new EXE file 306 on the old EXE file 305.
  • the matching start point and the number of matching bytes of the matching part indicated by the data DD ' ⁇ ' D are calculated, and the comparison processing ends.
  • the finger of the new EXE file 310 Compared to each byte data of the specified area of the old EXE file 305 using each byte data of the specified area as a key, the matching part and the non-matching part are determined by the comparison processing in step S210 in FIG. Then, in step S2103, it is determined whether or not the number of matching bytes is equal to or more than 64 bytes.
  • FIG. 28A the number of bytes of the byte data string II.
  • step S210 the specified area of the old EXE file 305 is compared with the new EXE file in a manner opposite to the case of step S210 described above.
  • the comparison process shown in FIG. 22 described above is executed using the designated area of the file 306 as the comparison target side and the byte data on the comparison side as the key. As an example of this comparison processing, an operation corresponding to FIG. 28A described above is shown in FIG. 28B.
  • This comparison process is the same as that of the comparison range indicated by D4 to D6 in FIG. 24B in the comparison range indicated by T1 to D3 in FIG. 28B.
  • the comparison range indicated by ⁇ 4 to ⁇ 6 in FIG. 28B is the same processing as that of the comparison range indicated by ⁇ 1 to ⁇ 3 in FIG.
  • the address of the byte data D on the old EXE file 305 is assigned to the variable src in step S226.
  • the variable src is indicated by the variable src.
  • the byte data D of the old EXE file 305 in the above does not match the byte data d of the new EXE file 306 in the address indicated by the variable dist, and the judgment is NO.
  • This mismatch condition is caused by the byte data a of the old EXE file 305 and the inserted byte data I of the new EXE file 306 first.
  • step S2211 byte data II on the new EXE file 306 in Fig. 28B II Also, the matching start point and the number of matching bytes of the matching part indicated by the byte data ab, c on the old EXE file 305 and the new EXE file 306 are calculated. Then, the comparison process ends.
  • FIG. 21 shows that each byte data in the designated area of the old EXE file 300 is used as a key and that each byte data in the designated area of the new EXE file 303 is used.
  • step S2105 becomes N0, so that in step S2106, Based on the above formulas (1), (2) and (3), the ratio of the number of matching bytes when the new EXE file 306 is used as a key, RNEW0LD is the old EXE file It is determined whether or not the ratio of the number of matching bytes when R305 is used as a key is smaller than R0LDNEW.
  • the byte number of the byte data string ab ' ⁇ ⁇ c which is the matching part is large, and the byte of the byte data string II ⁇ ⁇ ⁇ I which is the mismatching part is
  • the number is small, for example, about several bytes, the result is that the matching part is long and the mismatching part is short. Therefore, in the examples of FIGS. 28A and 28B, RNEW0LD ⁇ R0LDNEW.
  • the updated file 307 stores the difference information of the unmatched portion, so that the number of matched portions is preferably as large as possible. Therefore, as in the case of Figs.
  • the ratio of the number of matching bytes when the new EXE file 306 is used as a key RNEW0LD makes the old EXE file 30 The ratio of the number of matching bytes when 5 is used as the key. If the value is smaller than R0LDNEW and the determination in step S2106 is YES, the old EXE file is deleted in step S2107.
  • the difference information indicating that the byte data II, '', and I have been inserted before the address indicated by the byte data a of 305 is written to the update file 307.
  • the difference extraction processing section 304 executes the difference extraction processing.
  • FIGS. 29A and 29B show the data structure of the update file 307.
  • each record of the update file 307 contains data RdcordID indicating the attribute of the record and the processing position of the record with respect to the old EXE file 305.
  • DataOiiset-data to be updated composed of data DataLength indicating the length of the actual data to be updated, and an actual data array Data [ ⁇ ] to be updated,
  • RdcordID The attributes of RdcordID are shown in Figure 29B.
  • RdcordID with a value of 0 indicates the old EX if the record indicates that it is a replacement record.
  • the actual data array of the length indicated by the data DataLength from the position indicated by the data DataOffset on the old EXE file 305 Is inserted.
  • a RecordID with a value of 2 indicates that the record is a delete record.
  • data DataOffset on the old EXE file 305
  • data RecordLength The indicated length of data is deleted. In this case, the actual data distribution
  • the present invention is applied to the difference extraction processing of an EXE file that can be executed under a system, and includes a DOS EXE format area and a 20 EXE header.
  • the difference extraction processing is executed after the correspondence is performed for each logical unit of the area, each table section area, the segment data area, and the resource area.
  • the present invention is not limited to this, and the difference extraction processing is executed after the association is performed in another logical unit, for example, 25 in the page data unit.
  • line / 7_ 1 can be configured.
  • FIG. 30 is a diagram showing an example of the format of an EXE file executable under the raw operating system.
  • An EXE file having the configuration shown in FIG. 30 is a conventional single task operator for a computer, as in the case of the EXE file of FIG. 4 described above. It is constructed so that it can be executed under the elementary system which is one of the operating systems. Therefore, as shown in Fig. 30, the EXE file is composed of a region of the US EXE format and a region of the usual EXE format.
  • EXE format area in the first half of the file.
  • This EXE format area operates under the basic system with an EXE header area in which various information for executing the ⁇ ⁇ program and pointer information to the EXE header 20 described later are stored. (Not shown) that stores the main body of the program to be executed.
  • EXE header area that stores various information, etc., for executing the 1 program
  • section directory area for referring to the section area described later, and this section directory.
  • the range of the EXE header area can be obtained by referring to the header size set in that area.
  • the difference extraction processing can be executed between the old EXE file and the new EXE file.
  • each logical unit is processed by the same processing as in the above-described preferred embodiment.
  • the difference extraction processing can be executed between the old EXE file and the new EXE file.
  • the difference extraction processing when executed, the difference extraction processing is executed, the difference extraction processing is executed after the association is performed for each logical unit.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Stored Programmes (AREA)
PCT/JP1994/000454 1993-03-22 1994-03-22 Appareil et procede d'extraction et de mise a jour d'une difference finie dans un fichier executable Ceased WO1994022086A1 (fr)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US08/343,444 US5752039A (en) 1993-03-22 1994-03-22 Executable file difference extraction/update system and executable file difference extraction method
GB9423581A GB2281990B (en) 1993-03-22 1994-03-22 Executable file difference extraction/update system and executable file difference extraction method

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP5062181A JPH06274384A (ja) 1993-03-22 1993-03-22 実行ファイル差分抽出/更新装置及び実行ファイル差分抽出方法
JP5/62181 1993-03-22

Publications (1)

Publication Number Publication Date
WO1994022086A1 true WO1994022086A1 (fr) 1994-09-29

Family

ID=13192711

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP1994/000454 Ceased WO1994022086A1 (fr) 1993-03-22 1994-03-22 Appareil et procede d'extraction et de mise a jour d'une difference finie dans un fichier executable

Country Status (3)

Country Link
US (1) US5752039A (enExample)
JP (1) JPH06274384A (enExample)
WO (1) WO1994022086A1 (enExample)

Families Citing this family (107)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6760840B1 (en) * 1994-03-15 2004-07-06 Kabushiki Kaisha Toshiba File editing system and shared file editing system with file content secrecy, file version management, and asynchronous editing
TW344178B (en) * 1996-12-16 1998-11-01 Toshiba Co Ltd Information presentation device and method
CA2295479C (en) * 1997-07-15 2003-12-30 Pocket Soft, Inc. System for finding differences between two computer files and updating the computer files
US6018747A (en) * 1997-11-26 2000-01-25 International Business Machines Corporation Method for generating and reconstructing in-place delta files
US6115720A (en) * 1997-12-15 2000-09-05 International Business Machines Corportion Method and apparatus for performing a health check on a database system
US6182285B1 (en) * 1997-12-15 2001-01-30 International Business Machines Corporation Method and apparatus for generating a default list
JP3204206B2 (ja) * 1998-03-13 2001-09-04 日本電気株式会社 部分抽出型リモートメンテナンス方式
IL125846A0 (en) * 1998-08-19 1999-04-11 Emony Incremental program update
GB2341462B (en) * 1998-09-12 2003-06-11 Ibm Method for deployment of incremental versions of applications
JP2000137604A (ja) * 1998-10-30 2000-05-16 Oki Electric Ind Co Ltd データ引き継ぎシステム
US6574657B1 (en) 1999-05-03 2003-06-03 Symantec Corporation Methods and apparatuses for file synchronization and updating using a signature list
US6654746B1 (en) 1999-05-03 2003-11-25 Symantec Corporation Methods and apparatuses for single-connection file synchronization workgroup file update
DE29913057U1 (de) * 1999-07-30 2000-09-07 Siemens AG, 80333 München Visualisierungssystem für technische Prozessdaten
US6789128B1 (en) * 2000-03-11 2004-09-07 Oracle International Corporation System and method for reducing network traffic between two computing devices
US7146305B2 (en) * 2000-10-24 2006-12-05 Vcis, Inc. Analytical virtual machine
US20040068721A1 (en) * 2000-11-17 2004-04-08 O'neill Patrick Network for updating firmware and / or software in wireless communication devices
US20030182414A1 (en) * 2003-05-13 2003-09-25 O'neill Patrick J. System and method for updating and distributing information
US7082549B2 (en) * 2000-11-17 2006-07-25 Bitfone Corporation Method for fault tolerant updating of an electronic device
US7401320B2 (en) * 2000-11-17 2008-07-15 Hewlett-Packard Development Company, L.P. Operator network that routes customer care calls based on subscriber/device profile and CSR skill set
US6832373B2 (en) * 2000-11-17 2004-12-14 Bitfone Corporation System and method for updating and distributing information
US7409685B2 (en) * 2002-04-12 2008-08-05 Hewlett-Packard Development Company, L.P. Initialization and update of software and/or firmware in electronic devices
US8479189B2 (en) 2000-11-17 2013-07-02 Hewlett-Packard Development Company, L.P. Pattern detection preprocessor in an electronic device update generation system
US8875116B2 (en) * 2000-11-17 2014-10-28 Hewlett-Packard Development Company, L.P. Network for updating firmware and / or software in wireless communication devices
JP2002236583A (ja) * 2001-02-07 2002-08-23 Fujitsu Ten Ltd 組込み用ソフトウェアモジュール
JP2002278592A (ja) * 2001-03-21 2002-09-27 Fujitsu Ltd データ照合プログラム、データ照合方法およびデータ照合装置
JP4827310B2 (ja) * 2001-03-30 2011-11-30 パナソニック株式会社 リモートプログラムダウンロードシステム
JP4205350B2 (ja) * 2002-02-28 2009-01-07 富士通株式会社 差分データ生成方法、プログラム、記録媒体及び装置
US20040194081A1 (en) * 2002-03-23 2004-09-30 Iyad Qumei Update system for facilitating firmware/software update in a mobile handset
US7369851B2 (en) * 2002-04-19 2008-05-06 Hewlett-Packard Development Company, L.P. Communications network capable of determining SIM card changes in electronic devices
US7340736B2 (en) * 2002-08-22 2008-03-04 Hewlett-Packard Development Company, L.P. Electronic device with an update agent that employs preprocessing techniques for update
US7367027B1 (en) 2002-08-22 2008-04-29 Hewlett-Packard Development Company, L.P. System for generating efficient and compact update packages
US7669197B1 (en) 2002-09-12 2010-02-23 Hewlett-Packard Development Company, L.P. Embedded system employing component architecture platform
US7472380B1 (en) 2002-09-23 2008-12-30 Hewlett-Packard Development Company, L.P. Processing system with component architecture platform support
US7461372B2 (en) * 2002-10-11 2008-12-02 Hewlett-Packard Development Company, L.P. System for optimizing distribution of information employing a universal dictionary
US6978453B2 (en) * 2002-10-21 2005-12-20 Bitfone Corporation System with required enhancements to syncML DM environment to support firmware updates
US20040093592A1 (en) 2002-11-13 2004-05-13 Rao Bindu Rama Firmware update in electronic devices employing SIM card for saving metadata information
US7984435B2 (en) * 2002-11-13 2011-07-19 Hewlett-Packard Development Company, L.P. Update system employing reference software to reduce number of update packages
US7047448B2 (en) * 2002-11-21 2006-05-16 Bitfone Corporation Software self-repair toolkit for electronic devices
US6996818B2 (en) * 2002-11-22 2006-02-07 Bitfone Corporation Update system for facilitating software update and data conversion in an electronic device
US7434216B1 (en) 2002-11-25 2008-10-07 Hewlett-Packard Development Company, L.P. Update package generator that employs genetic evolution to determine bank order
JP4302970B2 (ja) 2002-12-16 2009-07-29 富士通株式会社 差分更新方法、プログラム及び装置
US7921182B2 (en) * 2002-12-31 2011-04-05 Hewlett-Packard Development Company, L.P. Management of service components installed in an electronic device in a mobile services network
US7480907B1 (en) 2003-01-09 2009-01-20 Hewlett-Packard Development Company, L.P. Mobile services network for update of firmware/software in mobile handsets
US7890427B1 (en) 2003-01-09 2011-02-15 Hewlett-Packard Development Company, L.P. Authentication of notifications received in an electronic device in a mobile services network
EP1584016A4 (en) 2003-01-13 2009-03-11 Hewlett Packard Development Co MOBILE COMBINER HAVING THE CAPACITY TO UPDATE ITS UPDATE AGENT
US7644406B2 (en) * 2003-01-21 2010-01-05 Hewlett-Packard Development Company, L.P. Update system capable of updating software across multiple FLASH chips
JP4153324B2 (ja) * 2003-01-31 2008-09-24 松下電器産業株式会社 差分データ生成装置及び方法、更新後データ復元装置及び方法、並びにプログラム
WO2004072773A2 (en) * 2003-02-11 2004-08-26 Bitfone Corporation Electronic device supporting multiple update agents
US8082339B2 (en) 2003-02-28 2011-12-20 Hewlett-Packard Development Company, L.P. Electronic device network having graceful denial of service
US20040230965A1 (en) * 2003-02-28 2004-11-18 Harri Okkonen Mobile handset network that facilitates interaction between a generic intelligent responsive agent and a service broker server
US7689981B1 (en) 2003-02-28 2010-03-30 Hewlett-Packard Development Company, L.P. Mobile handset with efficient interruption point detection during a multiple-pass update process
US7881745B1 (en) 2003-03-10 2011-02-01 Hewlett-Packard Development Company, L.P. Electronic device network employing provisioning techniques to update firmware and/or software in electronic devices
US7356727B1 (en) 2003-03-10 2008-04-08 Hewlett-Packard Development Company, L.P. Electronic device employing efficient fault tolerance
US7548986B1 (en) 2003-03-17 2009-06-16 Hewlett-Packard Development Company, L.P. Electronic device network providing streaming updates
US7657884B2 (en) * 2003-03-24 2010-02-02 Hewlett-Packard Development Company, L.P. Electronic device supporting multiple update agents
US7587411B2 (en) * 2003-03-27 2009-09-08 Microsoft Corporation System and method for filtering and organizing items based on common elements
US7975147B1 (en) 2003-03-31 2011-07-05 Hewlett-Packard Development Company, L.P. Electronic device network supporting enciphering and deciphering and update generation in electronic devices
US7143115B2 (en) * 2003-04-15 2006-11-28 Pocket Soft, Inc. Method and apparatus for finding differences between two computer files efficiently in linear time and for using these differences to update computer files
US7987449B1 (en) 2003-05-22 2011-07-26 Hewlett-Packard Development Company, L.P. Network for lifecycle management of firmware and software in electronic devices
US7747994B1 (en) 2003-06-04 2010-06-29 Hewlett-Packard Development Company, L.P. Generator based on multiple instruction streams and minimum size instruction set for generating updates to mobile handset
EP1654640B1 (en) * 2003-06-04 2018-08-01 Qualcomm Incorporated Network having customizable generators of sofware updates and mobile electronic devices having customizable updating software
US7584466B1 (en) 2003-06-16 2009-09-01 Hewlett-Packard Development Company, L.P. Management tree management in a mobile handset
US8046753B1 (en) 2003-06-18 2011-10-25 Hewlett-Packard Development Company, L.P. Mobile handset with symbian OS and update agent
US7089270B2 (en) * 2003-06-20 2006-08-08 Innopath Software Processing software images for use in generating difference files
EP1642204B1 (en) * 2003-06-23 2012-10-10 Red Bend Ltd. Method and system for updating versions of content stored in a storage device
WO2005001665A2 (en) * 2003-06-27 2005-01-06 Bitfone Corporation System and method for downloading update packages into a mobile handset in a carrier network
US7343443B1 (en) * 2003-07-08 2008-03-11 Hewlett-Packard Development Company, L.P. Updated package generation based on analysis of bank dependency
WO2005008940A2 (en) * 2003-07-09 2005-01-27 Bitfone Corporation Carrier network capable of conducting remote diagnostics in a mobile handset
US7366125B1 (en) 2003-07-24 2008-04-29 Bbn Technologies Corp. Extensible satellite communication system
US7861211B2 (en) * 2003-07-29 2010-12-28 Hewlett-Packard Development Company, L.P. Mobile handset with update agent implemented in hardware
US7886093B1 (en) 2003-07-31 2011-02-08 Hewlett-Packard Development Company, L.P. Electronic device network supporting compression and decompression in electronic devices
WO2005024628A2 (en) * 2003-09-03 2005-03-17 Bitfone Corporation Tri-phase boot process in electronic devices
US8555273B1 (en) 2003-09-17 2013-10-08 Palm. Inc. Network for updating electronic devices
US7668612B1 (en) 2003-09-18 2010-02-23 Hewlett-Packard Development Company, L.P. System and method for efficient manufacture and update of electronic devices
EP1665041A1 (en) * 2003-09-26 2006-06-07 Bitfone Corporation Update package catalog for update package transfer between generator and content server in a network
US20050153741A1 (en) * 2003-10-03 2005-07-14 Shao-Chun Chen Network and method for registration of mobile devices and management of the mobile devices
US7716276B1 (en) 2003-11-17 2010-05-11 Hewlett-Packard Development Company, L.P. Network that supports user-initiated device management
US20050125412A1 (en) * 2003-12-09 2005-06-09 Nec Laboratories America, Inc. Web crawling
US20050132351A1 (en) * 2003-12-12 2005-06-16 Randall Roderick K. Updating electronic device software employing rollback
US7797693B1 (en) 2003-12-12 2010-09-14 Hewlett-Packard Development Company, L.P. NAND mobile devices capable of updating firmware or software in a manner analogous to NOR mobile devices
US9323515B1 (en) 2004-01-16 2016-04-26 Qualcomm Incorporated Network with broker for device management
US8838754B1 (en) 2004-01-26 2014-09-16 Qualcomm Incorporated Mobile device with a management forest in a device management network
US7984485B1 (en) 2004-01-29 2011-07-19 Hewlett-Packard Development Company, L.P. Ingestion interface for transferring update package containers into a distribution network
WO2005079334A2 (en) * 2004-02-12 2005-09-01 Bitfone Corporation Device management network that facilitates selective billing
JP4497957B2 (ja) * 2004-03-05 2010-07-07 株式会社日立製作所 記憶制御システム
US8589564B2 (en) * 2004-03-11 2013-11-19 International Business Machines Corporation Method and apparatus for maintaining compatibility within a distributed systems management environment with a plurality of configuration versions
US7318070B2 (en) * 2004-03-11 2008-01-08 International Business Machines Corporation Method and apparatus for maintaining compatibility within a distributed systems management environment with a plurality of configuration versions
US20050204347A1 (en) * 2004-03-12 2005-09-15 International Business Machines Corporation Method for generating XSLT documents from multiple versions of a UML model or XML schemas created from multiple versions of a UML model
WO2005088448A1 (en) * 2004-03-15 2005-09-22 Red Bend Ltd. Method and apparatus for reliable in-place update
US7739679B2 (en) * 2004-04-06 2010-06-15 Hewlett-Packard Development Company, L.P. Object ordering tool for facilitating generation of firmware update friendly binary image
US7904895B1 (en) 2004-04-21 2011-03-08 Hewlett-Packard Develpment Company, L.P. Firmware update in electronic devices employing update agent in a flash memory card
US7971199B1 (en) 2004-05-03 2011-06-28 Hewlett-Packard Development Company, L.P. Mobile device with a self-updating update agent in a wireless network
US7543118B1 (en) 2004-05-07 2009-06-02 Hewlett-Packard Development Company, L.P. Multiple variance platform for the management of mobile devices
US7689982B1 (en) 2004-05-07 2010-03-30 Hewlett-Packard Development Company, L.P. Transparent linker profiler tool with profile database
US7657886B1 (en) 2004-06-03 2010-02-02 Hewlett-Packard Development Company, L.P. Mobile device with a MMU for faster firmware updates in a wireless network
US8526940B1 (en) 2004-08-17 2013-09-03 Palm, Inc. Centralized rules repository for smart phone customer care
JP2008522254A (ja) * 2004-11-08 2008-06-26 イノパス・ソフトウェアー・インコーポレーテッド スタティック・ファイル・システムの差異検出および更新
US20060175271A1 (en) * 2005-01-31 2006-08-10 Emrey David A Apparatus and method of holding a golf score card and writing instrument, and golf bag and system incorporating the same
US7761766B2 (en) * 2005-11-15 2010-07-20 I365 Inc. Methods and apparatus for modifying a backup data stream including logical partitions of data blocks to be provided to a fixed position delta reduction backup application
US7676509B2 (en) * 2006-02-01 2010-03-09 I365 Inc. Methods and apparatus for modifying a backup data stream including a set of validation bytes for each data block to be provided to a fixed position delta reduction backup application
US8209676B2 (en) 2006-06-08 2012-06-26 Hewlett-Packard Development Company, L.P. Device management in a network
EP2047420A4 (en) 2006-07-27 2009-11-18 Hewlett Packard Development Co USER EXPERIENCE AND DEPENDENCE MANAGEMENT IN A MOBILE DEVICE
US20080079539A1 (en) * 2006-08-15 2008-04-03 Daley Robert C Friends Finder Service for a Mobile Device in a Network
US8219595B2 (en) * 2008-02-14 2012-07-10 Hewlett-Packard Development Company, L.P. System and method for efficient remote data access for server management
US8255885B2 (en) * 2008-06-16 2012-08-28 Software Analysis And Forensic Engineering Corp. Detecting copied computer source code by examining computer object code
US8438558B1 (en) 2009-03-27 2013-05-07 Google Inc. System and method of updating programs and data
CN103761095B (zh) * 2014-01-23 2020-01-07 上海斐讯数据通信技术有限公司 一种生成通用的升级文件头部数据信息的方法

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59106063A (ja) * 1982-12-03 1984-06-19 インタ−ナショナル ビジネス マシ−ンズ コ−ポレ−ション フアイル更新方法
JPS6376031A (ja) * 1986-09-19 1988-04-06 Fujitsu Ltd フアイル差分算出処理方式
JPH04165434A (ja) * 1990-10-29 1992-06-11 Nec Corp ファイル比較方式
JPH04362735A (ja) * 1991-06-10 1992-12-15 Mitsubishi Heavy Ind Ltd ソースプログラム照合システム

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3711863A (en) * 1972-01-21 1973-01-16 Honeywell Inf Systems Source code comparator computer program
JPS62100834A (ja) * 1985-10-28 1987-05-11 Nec Corp プログラムの版数管理方式
US5191646A (en) * 1986-11-20 1993-03-02 Hitachi, Ltd. Display method in software development support system
JPH02141823A (ja) * 1988-11-24 1990-05-31 Nec Corp アドレス指定コンペア方式
JPH02168321A (ja) * 1988-12-22 1990-06-28 Nec Corp プログラム差分抽出方式
US5479654A (en) * 1990-04-26 1995-12-26 Squibb Data Systems, Inc. Apparatus and method for reconstructing a file from a difference signature and an original file

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59106063A (ja) * 1982-12-03 1984-06-19 インタ−ナショナル ビジネス マシ−ンズ コ−ポレ−ション フアイル更新方法
JPS6376031A (ja) * 1986-09-19 1988-04-06 Fujitsu Ltd フアイル差分算出処理方式
JPH04165434A (ja) * 1990-10-29 1992-06-11 Nec Corp ファイル比較方式
JPH04362735A (ja) * 1991-06-10 1992-12-15 Mitsubishi Heavy Ind Ltd ソースプログラム照合システム

Also Published As

Publication number Publication date
JPH06274384A (ja) 1994-09-30
US5752039A (en) 1998-05-12

Similar Documents

Publication Publication Date Title
US5752039A (en) Executable file difference extraction/update system and executable file difference extraction method
AU2021287730B2 (en) Systems and methods for compression and encryption of data
US8554561B2 (en) Efficient indexing of documents with similar content
JP5309015B2 (ja) データ圧縮技術およびデータ格納技術
JP4805267B2 (ja) トークンスペースレポジトリと共に使用される多段クエリ処理システム及び方法
US7478113B1 (en) Boundaries
JP3571079B2 (ja) データ圧縮方法及びシステム
US9009202B2 (en) Garbage collection for merged collections
CN106797446B (zh) 基于存储器的历史搜索
CN100472475C (zh) 用于更新电子文件的系统及其中的方法
US9098513B1 (en) Methods and systems for differencing orderly dependent files
CN101589372B (zh) 编码解码装置、方法、程序、记录介质
US8862555B1 (en) Methods and apparatus for generating difference files
US20020169740A1 (en) Method of and an apparatus for merging a sequence of delta files
CN102999543A (zh) 利用了数据段的相似度的高效数据存储
JP2002523825A (ja) 内部レフアレンスを含むデータ表の2つのバージヨン間の差分抽出方法
WO2015139381A1 (zh) 一种终端软件升级方法及装置
US20140232574A1 (en) System, method and non-transitory computer readable medium for compressing genetic information
US10303783B2 (en) Distributed virtual storage of portable media files
JP6340668B2 (ja) ストリーム認識およびフィルタリング
CN105740103B (zh) 一种基于日志的ntfs删除文件恢复方法和装置
CN106326035A (zh) 一种基于文件元数据的增量备份方法
CN105045783A (zh) 含冗余的数据压缩与解压缩的系统和方法
US20190146950A1 (en) Method and System for Content Agnostic File Indexing
US8126852B1 (en) Merged collections

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): GB US

WWE Wipo information: entry into national phase

Ref document number: 08343444

Country of ref document: US