TW201730744A - Information processing device, information processing method, and information processing program - Google Patents

Information processing device, information processing method, and information processing program Download PDF

Info

Publication number
TW201730744A
TW201730744A TW105114838A TW105114838A TW201730744A TW 201730744 A TW201730744 A TW 201730744A TW 105114838 A TW105114838 A TW 105114838A TW 105114838 A TW105114838 A TW 105114838A TW 201730744 A TW201730744 A TW 201730744A
Authority
TW
Taiwan
Prior art keywords
update
software
file
difference
differential
Prior art date
Application number
TW105114838A
Other languages
Chinese (zh)
Other versions
TWI612471B (en
Inventor
Naoki Sugawara
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Publication of TW201730744A publication Critical patent/TW201730744A/en
Application granted granted Critical
Publication of TWI612471B publication Critical patent/TWI612471B/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring

Abstract

A list generation unit (1104): extracts a shared file difference which has arisen due to a file update of a shared file which is carried out in association with a software update of a software suite which shares the shared file; and analyzes a relation between the software update and the file update and generates an applied difference selection list, whereby it is possible to select a difference which is acquired by the file update which is carried out in association with the software update which is carried out in a user environment, by a comparison with the version of the software which has been installed in the user environment. A difference installer generation unit (1200) generates a difference installer in which is included an applied difference selection program which compares the version of the software which has been installed in the user environment with the applied difference selection list and selects the difference which is acquired with the file update which is carried out in association with the software update which is carried out in the user environment.

Description

資訊處理裝置、資訊處理方法以及資訊處理程式產品 Information processing device, information processing method and information processing program product

本發明係關於更新軟體的方法。 The present invention relates to a method of updating a software.

差分更新是一種軟體更新的方法。在差分更新中,首先,比較舊版軟體及新版軟體,將從舊版軟體更新為新版軟體時的變更內容抽出以作為差分。然後,產生將所抽出的差分應用在舊版軟體的差分安裝器。並且,在安裝了舊版軟體的電腦上執行差分安裝器,使舊版軟體更新為新版軟體。 Differential update is a method of software update. In the differential update, first, the old software and the new software are compared, and the changed content when the old software is updated to the new software is extracted as a difference. Then, a differential installer that applies the extracted difference to the legacy software is generated. Also, perform a differential installer on a computer with the old software installed, and update the old software to the new software.

在差分更新中,用於差分抽出的舊版軟體和應用差分的舊版軟體,其檔案構成及各檔案的內容必須要相同。這2個舊版軟體之間的檔案構成或各檔案的內容相異時,無法順利更新為新版,有時還會無法執行軟體。 In the differential update, the old software used for differential extraction and the old software that applies the difference must have the same file composition and contents of each file. When the file composition between the two old softwares or the contents of each file is different, it cannot be successfully updated to the new version, and sometimes the software cannot be executed.

為了避免此種情況發生,差分安裝器通常會有確認已安裝在電腦的軟體之版本與用於差分抽出的舊版軟體的版本是否一致的功能。這是以若軟體版本一致,則檔案構成及各檔案的內容就會相同為前提。 To avoid this, the differential installer usually has the ability to verify that the version of the software installed on the computer matches the version of the legacy software used for differential extraction. This is based on the premise that if the software version is the same, the file composition and the contents of each file will be the same.

過去的更新手法中,差分安裝器確認已安裝在電腦的軟體之版本。而且,過去的更新手法中,差分安裝器在已準備好的複數個差分當中,選擇用以更新已安裝在電腦的舊版軟體所必須的差分,並將所選取的差分應用在已安裝在電腦的 舊版軟體。過去的更新手法之差分安裝器依據上述程序將複數舊版更新為新版(例如專利文獻1)。 In the past update method, the differential installer confirmed the version of the software that was installed on the computer. Moreover, in the past update method, the differential installer selects the difference necessary to update the old software installed on the computer among the prepared plurality of differences, and applies the selected difference to the computer already installed. of Older software. The differential installer of the past update method updates the plural old version to the new version according to the above procedure (for example, Patent Document 1).

先行技術文獻 Advanced technical literature

專利文獻1:日本特開平10-260820號公報 Patent Document 1: Japanese Patent Laid-Open No. Hei 10-260820

大規模的軟體群中,存在了被複數軟體參照之共用的檔案(以下稱之為共有檔案)。大部分的這種共有檔案,即使是被更新了仍具有向下相容性。在本說明書中,係以共有檔案具有向下相容性為前提。 In a large-scale software group, there is a file shared by a plurality of software references (hereinafter referred to as a shared file). Most of these shared files have backward compatibility even if they are updated. In this specification, the premise is that the shared file has backward compatibility.

在更新共同使用共有檔案的軟體時,更新後的軟體使用共有檔案的新功能的情況下,也必須要同時更新共有檔案。 When updating the software that uses the shared file in common, if the updated software uses the new function of the shared file, the shared file must also be updated at the same time.

在使用過去的差分更新手法以將共有檔案差分更新的情況下,在共有檔案附加版本資訊,每當共有檔案版本更新時就執行差分抽出。而且,在產生差分安裝器時,為了將此共有檔案差分更新,必須要指定哪個差分要應用在共有檔案。這一連串的操業都必須針對各共有檔案分別執行,所以當共有檔案的數量增加時,作業量也隨之線性增加。因此,過去的手法難以將具有大量共有檔案的軟體進行差分更新。 In the case where the past differential update method is used to differentially update the shared file, the version information is added to the shared file, and the differential extraction is performed each time the shared file version is updated. Moreover, in order to generate this differential file differential update when generating a differential installer, it is necessary to specify which difference to apply to the shared file. This series of operations must be performed separately for each shared file, so as the number of shared files increases, the amount of work increases linearly. Therefore, it has been difficult in the past to differentially update software with a large number of shared files.

本發明主要目的在於解決如上述的課題,其目的在於有效率地進行複數軟體所共有的共有檔案的檔案更新。 The main object of the present invention is to solve the above problems, and an object of the present invention is to efficiently perform file update of a shared file shared by a plurality of softwares.

本發明的資訊處理裝置包括:抽出部,每當共同使 用共有檔案的複數軟體進行軟體更新時伴隨進行的該共有檔案的檔案更新時,抽出因為檔案更新而造成的和檔案更新前的該共有檔案之差分;資訊產生部,解析該等複數軟體的軟體更新和該共有檔案的檔案更新的關係,核對使用者環境中執行的軟體更新時伴隨執行的檔案更新中所取得的差分和已安裝於該使用者環境中的軟體之版本,藉此以產生可選取的差分選擇資訊;及差分安裝器產生部,產生包含選擇程式的差分安裝器,其核對已安裝於該使用者環境的軟體之版本和該差分選擇資訊,選擇在該使用者環境中執行的軟體更新時伴隨執行的檔案更新中所取得的差分。 The information processing apparatus of the present invention includes: an extracting portion, which is commonly used together When the file update of the shared file is accompanied by the software update of the shared file, the difference between the file and the file before the file update is extracted; the information generating unit analyzes the software of the complex software. Updating the relationship with the file update of the shared file, checking the difference obtained in the file update accompanying the execution of the software update executed in the user environment, and the version of the software installed in the user environment, thereby generating And the differential installer generating unit generates a differential installer including the selection program, and checks the version of the software installed in the user environment and the difference selection information, and selects the execution in the user environment. The difference obtained in the file update that is executed during the software update.

依據本發明,差分安裝器因應使用者環境中已安裝的軟體,選擇軟體更新所伴隨執行的檔案更新中取得的差分。而且,差分安裝器執行了應用所選擇的差分之共有檔案的檔案更新,所以能夠有效率地執行共有檔案的檔案更新。 According to the present invention, the differential installer selects the difference obtained in the file update performed by the software update in response to the software installed in the user environment. Moreover, the differential installer performs the file update of the shared file of the difference selected by the application, so that the file update of the shared file can be efficiently executed.

1000‧‧‧差分安裝器產生系統 1000‧‧‧Differential Installer Generation System

1100‧‧‧差分抽出部 1100‧‧‧Differential Extraction Department

1101‧‧‧軟體安裝器受理部 1101‧‧‧Software Installer Reception Department

1102‧‧‧軟體群備份產生部 1102‧‧‧Software Group Backup Generation Department

1103‧‧‧軟體更新執行部 1103‧‧‧Software Update Executive

1104‧‧‧列表產生部 1104‧‧‧List Generation Department

1105‧‧‧軟體群記憶部 1105‧‧‧Software Group Memory

1106‧‧‧備份記憶部 1106‧‧‧Backup Memory Department

1200‧‧‧差分安裝器產生部 1200‧‧‧Differential Installer Generation Department

1201‧‧‧安裝器產生內容受理部 1201‧‧‧Installer Production Content Reception Department

1202‧‧‧差分安裝器產生執行部 1202‧‧‧Differential Installer Generation Executive Department

1300‧‧‧應用差分選擇列表記憶部 1300‧‧‧Application of Differential Selection List Memory

1400‧‧‧差分資料庫 1400‧‧‧Differential database

第1圖為顯示實施形態1的差分安裝器產生系統的功能構成例的圖。 Fig. 1 is a view showing an example of a functional configuration of a differential mounter generating system according to the first embodiment.

第2圖為顯示實施形態1的差分抽出部中的動作流程圖。 Fig. 2 is a flowchart showing the operation of the difference extracting unit in the first embodiment.

第3圖為顯示實施形態1的軟體群和檔案之關係的圖。 Fig. 3 is a view showing the relationship between the software group and the file in the first embodiment.

第4圖為顯示實施形態1的版本遷移列表之例的圖。 Fig. 4 is a view showing an example of a version migration list in the first embodiment.

第5圖為顯示實施形態1的差分資料庫的構成例圖。 Fig. 5 is a view showing an example of the configuration of a difference database in the first embodiment.

第6圖為顯示實施形態1的應用差分選擇列表之例的圖。 Fig. 6 is a view showing an example of applying a difference selection list in the first embodiment.

第7圖為顯示實施形態1的應用差分選擇列表的產生動作之流程圖。 Fig. 7 is a flow chart showing the operation of generating the application difference selection list in the first embodiment.

第8圖為顯示實施形態1的應用差分選擇列表的產生動作之流程圖。 Fig. 8 is a flow chart showing the operation of generating the application difference selection list in the first embodiment.

第9圖為顯示實施形態1的差分安裝器產生部中的動作之流程圖。 Fig. 9 is a flow chart showing the operation of the differential mounter generating unit of the first embodiment.

第10圖為顯示實施形態1的為了產生差分安裝器的差分選擇動作之流程圖。 Fig. 10 is a flow chart showing the differential selection operation for generating a differential mounter in the first embodiment.

第11圖為顯示實施形態1的為了產生差分安裝器的差分選擇動作之圖。 Fig. 11 is a view showing a differential selection operation for generating a differential mounter in the first embodiment.

第12圖為顯示實施形態1的應用差分選擇程式的動作例之圖。 Fig. 12 is a view showing an operation example of the application difference selection program in the first embodiment.

第13圖為顯示實施形態1的應用差分選擇程式的動作例之圖。 Fig. 13 is a view showing an operation example of the application difference selection program of the first embodiment.

第14圖為顯示實施形態1的應用差分選擇程式的差分選擇動作之圖。 Fig. 14 is a view showing a differential selection operation of the application differential selection program of the first embodiment.

第15圖為顯示實施形態1的指定應用差分選擇程式的起點和終點之列的動作之流程圖。 Fig. 15 is a flow chart showing the operation of the start point and the end point of the specified application difference selection program in the first embodiment.

第16圖為顯示實施形態1的指定應用差分選擇程式的起點之列的動作之圖。 Fig. 16 is a view showing the operation of the starting point of the specified application difference selection program in the first embodiment.

第17圖為顯示實施形態1的指定應用差分選擇程式的終點之列的動作之圖。 Fig. 17 is a view showing the operation of the end point of the specified application difference selection program in the first embodiment.

第18圖為顯示實施形態1的差分安裝器產生系統的硬體構成例之圖。 Fig. 18 is a view showing an example of the hardware configuration of the differential mounter generating system of the first embodiment.

實施形態1 Embodiment 1

構成說明 Composition description

第1圖為顯示本實施形態之差分安裝器產生系統1000的功能構成例。另外,第1圖的實線的箭頭表示呼叫關係,虛線箭頭則表示資料操作。 Fig. 1 is a view showing an example of the functional configuration of the differential mounter generating system 1000 of the present embodiment. In addition, the solid arrows in Fig. 1 indicate the call relationship, and the dotted arrows indicate the data operation.

差分安裝器產生系統1000為資訊處理裝置之例。另外,差分安裝器產生系統1000所執行的動作為資訊處理方法及資訊處理程式之例。 The differential installer generation system 1000 is an example of an information processing device. In addition, the actions performed by the differential installer generation system 1000 are an example of an information processing method and an information processing program.

差分安裝器產生系統1000為具有第18圖所示硬體的電腦。另外,第18圖所示的硬體構成待後述。 The differential mounter generation system 1000 is a computer having the hardware shown in Fig. 18. In addition, the hardware configuration shown in Fig. 18 will be described later.

差分安裝器產生系統1000由下列所構成:差分抽出部1100、差分安裝器產生部1200、應用差分選擇列表記憶部1300、差分資料庫1400。 The differential mounter generation system 1000 is composed of a differential extraction unit 1100, a differential installer generation unit 1200, an application difference selection list storage unit 1300, and a differential database 1400.

另外,差分抽出部1100由下列構成:軟體安裝器受理部1101、軟體群備份產生部1102、軟體更新執行部1103、列表產生部1104、軟體群記憶部1105、備份記憶部1106。列表產生部1104為抽出部及資訊產生部之例。另外,列表產生部1104執行之動作為抽出處理及資訊產生處理之例。 The difference extracting unit 1100 is composed of a software installer accepting unit 1101, a software group backup generating unit 1102, a software update executing unit 1103, a list generating unit 1104, a software group storage unit 1105, and a backup storage unit 1106. The list generation unit 1104 is an example of a extraction unit and an information generation unit. The operations performed by the list generating unit 1104 are examples of extraction processing and information generation processing.

另外,差分安裝器產生部1200由安裝器產生內容受理部1201、差分安裝器產生執行部1202構成。差分安裝器產生部1200所執行之動作為差分安裝器產生處理之例。 Further, the differential installer generating unit 1200 is configured by a installer-generated content accepting unit 1201 and a differential installer generating executing unit 1202. The operation performed by the differential installer generating unit 1200 is an example of a differential installer generating process.

動作說明 Action description

繼之,說明本實施形態的差分安裝器產生系統1000的動作 例。 Next, the operation of the differential mounter generation system 1000 of the present embodiment will be described. example.

差分安裝器產生系統1000中,執行抽出軟體的差分和共有檔案的差分之處理、以及產生差分安裝器的處理。抽出軟體的差分和共有檔案的差分之處理係由差分抽出部1100執行。另外,產生差分安裝器的處理則由差分安裝器產生部1200執行。 In the differential installer generation system 1000, processing for extracting the difference between the software and the difference of the shared file, and processing for generating the differential installer are performed. The processing of extracting the difference between the software and the difference of the shared file is performed by the difference extracting unit 1100. In addition, the process of generating the differential mounter is executed by the differential mounter generating section 1200.

以下,參照流程圖說明各處理。 Hereinafter, each process will be described with reference to a flowchart.

第2圖為顯示差分抽出部110中的動作例的流程圖。 FIG. 2 is a flowchart showing an example of the operation of the difference extracting unit 110.

步驟S101中,使用者於軟體安裝器受理部1101指定包含共有檔案之軟體的完整安裝器。 In step S101, the user specifies a complete installer including the software of the shared file in the software installer accepting unit 1101.

使用者,當包含於軟體群中的軟體被更新時,於軟體安裝器受理部1101指定完整安裝器。 When the user updates the software included in the software group, the software installer accepting unit 1101 specifies the complete installer.

本說明書中,將共同使用共有檔案的複數軟體稱之為軟體群。例如,在第3圖中,軟體1、軟體2及軟體3共同使用共有檔案A及共有檔案B。這些軟體1、軟體2及軟體3就是軟體群。另外,第3圖的檔案1、檔案2為軟體1中固有的檔案。檔案3為軟體2中固有的檔案。檔案4為軟體3中固有的檔案。這些未在軟體群中被共有之軟體中固有的檔案稱之為固有檔案。 In this specification, a complex software that uses a shared file in common is called a software group. For example, in FIG. 3, the software 1, the software 2, and the software 3 use the shared file A and the shared file B in common. These software 1, software 2 and software 3 are software groups. In addition, the file 1 and the file 2 in Fig. 3 are files unique to the software 1. File 3 is a file inherent in Software 2. File 4 is a file inherent in software 3. These files that are not inherent in the software that are not shared among the software groups are called intrinsic files.

繼之,在步驟S102中,軟體群備份產生部1102產生包含於軟體群中之檔案的備份。 Next, in step S102, the software group backup generation unit 1102 generates a backup of the files included in the software group.

軟體群記憶部1105中記憶了軟體群。每當執行後述的差分抽出處理時,就由軟體更新執行部1103更新軟體群記憶部1105的軟體群。因此,軟體群記憶部1105儲存了前一次執行差分抽出處理後的軟體群(更新後的軟體群)。 The soft group group is memorized in the soft group storage unit 1105. When the differential extraction processing to be described later is executed, the software update execution unit 1103 updates the soft body group of the soft group storage unit 1105. Therefore, the software group storage unit 1105 stores the software group (the updated software group) after the previous differential extraction processing.

在之後的程序中,為了針對包含於軟體群的檔案進行更新前後的差分抽出處理,必須要有包含於更新前的軟體群的檔案。因此,在步驟S102中,軟體群備份產生部1102產生軟體群以及包含於軟體群中的檔案的備份。軟體群備份產生部1102將所產生的軟體群和檔案的備份儲存在備份記憶部1106中。 In the subsequent program, in order to perform differential extraction processing before and after the update of the file included in the software group, it is necessary to have a file included in the software group before the update. Therefore, in step S102, the software group backup generation unit 1102 generates a backup of the software group and the files included in the software group. The software group backup generation unit 1102 stores the generated software group and file backup in the backup storage unit 1106.

另外,軟體群的更新亦稱之為軟體更新。再者,檔案的更新亦稱之為檔案更新。軟體更新包含軟體的版本升級及軟體的新安裝兩者。檔案更新也包含檔案的版本升級及檔案的新安裝兩者。 In addition, the update of the software group is also called software update. Furthermore, the update of the file is also called file update. Software updates include both software version upgrades and new software installations. The file update also includes both the version upgrade of the file and the new installation of the file.

繼之,在步驟S103中,軟體更新執行部1103使用完整安裝器更新軟體群。 Next, in step S103, the software update execution unit 1103 updates the software group using the full installer.

軟體更新執行部1103按照使用者環境中預設的軟體更新的順序執行各軟體的軟體更新。所謂的使用者環境就是安裝軟體群的電腦。使用者環境和差分安裝器產生系統1000是不同的電腦。 The software update execution unit 1103 executes the software update of each software in the order of the software update preset in the user environment. The so-called user environment is the computer on which the software group is installed. The user environment and differential installer generation system 1000 are different computers.

另外,軟體更新執行部1103伴隨著各軟體的更新,執行各軟體的固有檔案的更新。再者,軟體更新執行部1103也伴隨著軟體群當中的任一個軟體的更新執行共有檔案的更新。 Further, the software update execution unit 1103 updates the unique file of each software in association with the update of each software. Furthermore, the software update execution unit 1103 also updates the shared file with the update of any of the software groups.

如上述,差分抽出部1100中,管理各軟體更新、固有檔案更新、及共有檔案的更新,但在本實施形態中,主要是針對共有檔案的更新進行說明。 As described above, the difference extracting unit 1100 manages the software update, the unique file update, and the update of the shared file. However, in the present embodiment, the update of the shared file is mainly described.

繼之,在步驟S104中,列表產生部1104進行備份記憶部1106的軟體群之備份及軟體群記憶部1105的更新後的軟體群之間的差分抽出。 Then, in step S104, the list generation unit 1104 performs backup of the software group of the backup storage unit 1106 and differential extraction between the software groups after the update of the software group storage unit 1105.

列表產生部1104進行個軟體的差分抽出、固有檔案的差分抽出、以及共有檔案的差分抽出。 The list generation unit 1104 performs differential extraction of software, differential extraction of unique files, and differential extraction of shared files.

固有檔案的差分抽出和共有檔案的差分抽出中,列表產生部1104可以檔案為單位判斷有無變更,也可以再執行檔案的二進位的比較,抽出二進位單位的差分。 In the difference extraction of the unique file and the differential extraction of the shared file, the list generating unit 1104 may determine whether or not the file is changed in units of the file, or may perform the comparison of the binary bits of the file and extract the difference of the binary unit.

第4圖顯示列表產生部1104所產生的版本遷移列表之例。版本遷移列表中,記載軟體版本的遷移和共有檔案的版本之遷移。第4圖中顯示共同使用共有檔案A及共有檔案B的軟體1~3(以下亦稱之為SW1~3)的版本遷移列表。 FIG. 4 shows an example of a version migration list generated by the list generation unit 1104. In the version migration list, the migration of the software version and the migration of the version of the shared file are described. Fig. 4 shows a version migration list of software 1 to 3 (hereinafter also referred to as SW1 to 3) in which the shared file A and the shared file B are used in common.

「已安裝的軟體」的欄位中,顯示軟體更新執行部1103在差分抽出部1100內已更新的軟體之識別子。 In the field of "Installed Software", the identifier of the software that has been updated by the software update execution unit 1103 in the difference extracting unit 1100 is displayed.

「軟體的版本」的欄位中,顯示更新後的軟體之版本。 The version of the updated software is displayed in the field of the "Software version".

由「已安裝的軟體」的欄位中所示的值及「軟體的版本」的欄位中所示之值的組合,可以顯示軟體更新的經過。在第4圖的例中,從左起依序記載軟體更新的順序。具體言之,在第4圖的例中,最先是新安裝軟體1的版本1.0,繼之,新安裝軟體2的版本1.0,繼之,新安裝軟體3的版本1.0。然後,軟體1更新為版本2.0,繼之,軟體2更新為版本2.0。另外,「已安裝的軟體」的欄位中所示之值及「軟體的版本」的欄位所示之值的組合(例如,「SW1」和「1.0」的組合)稱之為更新識別子。 The software update can be displayed by a combination of the value shown in the field of "Installed Software" and the value shown in the field of "Software Version". In the example of Fig. 4, the order of software update is sequentially described from the left. Specifically, in the example of Fig. 4, the version 1.0 of the newly installed software 1 is first installed, and then the version 1.0 of the software 2 is newly installed, and then the version 1.0 of the software 3 is newly installed. Software 1 is then updated to version 2.0, followed by software 2 updated to version 2.0. In addition, the combination of the value shown in the field of "Installed Software" and the value indicated by the field of "Software Version" (for example, the combination of "SW1" and "1.0") is called an update identifier.

「共有檔案的版本」的欄位中,顯示軟體更新執行部1103在差分抽出部1100內已更新的共有檔案的版本。亦即,「共有檔案的版本」的欄位中,顯示共有檔案階段式的更新過程。在第4圖的例中,從左起依序記載檔案更新的順序。具體言之, 在第4圖的例中,在安裝軟體1的版本1.0時,安裝了共有檔案A的版本1.0以及共有檔案B的版本1.0。繼之,在安裝軟體2的版本1.0時,共有檔案A被更新為版本1.1,共有檔案B被更新為版本1.1。另外,安裝軟體3的版本1.0時,只有共有檔案A被更新為版本1.2。另外,軟體1被更新到版本2.0時,只有共有檔案B被更新到版本1.2。另外,軟體2被更新為版本2.0時,只有共有檔案A被更新為版本1.3。 In the field of the "version of the shared file", the version of the shared file that has been updated by the software update executing unit 1103 in the difference extracting unit 1100 is displayed. That is, in the field of "Version of Shared Files", the update process of the shared file stage is displayed. In the example of Fig. 4, the order of file update is sequentially described from the left. Specifically, In the example of Fig. 4, when the version 1.0 of the software 1 is installed, the version 1.0 of the shared file A and the version 1.0 of the shared file B are installed. Then, when version 1.0 of the software 2 is installed, the shared file A is updated to version 1.1, and the shared file B is updated to version 1.1. In addition, when version 1.0 of the software 3 is installed, only the shared file A is updated to version 1.2. In addition, when software 1 is updated to version 2.0, only the shared file B is updated to version 1.2. In addition, when the software 2 is updated to version 2.0, only the shared file A is updated to version 1.3.

若按照「共有檔案的版本」的欄位所示的順序應用共有檔案的差分,就可以在使用者環境中再現所有版本的共有檔案。 If the difference of the shared file is applied in the order indicated by the field of the "Version file version" field, all versions of the shared file can be reproduced in the user environment.

繼之,在步驟S105中,列表產生部1104將步驟S104中所抽出的差分儲存在差分資料庫1400中。 Next, in step S105, the list generation unit 1104 stores the difference extracted in step S104 in the difference database 1400.

差分資料庫1400的構成例如第5圖所示。如第5圖所示,差分資料庫1400中,針對各更新識別子管理其固有檔案的版本資訊、共有檔案的版本資訊、及差分資訊。固有檔案的版本資訊中,顯示固有檔案之舊版的版本名和新版版本名的組合。共有檔案的版本資訊中,顯示共有檔案的舊版的版本名和新版版本名的組合。另外,差分資訊中,顯示軟體更新中所造成的差分、固有檔案更新中所造成的差分、以及共有檔案更新中所造成的差分。 The configuration of the difference database 1400 is as shown in Fig. 5, for example. As shown in FIG. 5, the difference database 1400 manages the version information of the unique file, the version information of the shared file, and the difference information for each update identifier. In the version information of the intrinsic file, a combination of the old version name and the new version name of the intrinsic file is displayed. In the version information of the shared file, a combination of the old version name and the new version name of the shared file is displayed. In addition, in the difference information, the difference caused by the software update, the difference caused by the unique file update, and the difference caused by the shared file update are displayed.

如上述,列表產生部1104在步驟S104及S105中,針對各軟體更新產生更新識別子,針對各共有檔案的檔案更新抽出其與檔案更新前的共有檔案的差分,並將該檔案更新所伴隨支軟體更新的更新識別子與所抽出的差分對應。 As described above, the list generating unit 1104 generates an update identifier for each software update in steps S104 and S105, extracts the difference between the file and the shared file before the file update for the file of each shared file, and updates the file with the software. The updated update identifier corresponds to the extracted difference.

另外,在軟體更新當中未執行固有檔案的檔案更新的情況 下,固有檔案的版本資訊中顯示固有檔案的1個版本名。另外,在差分資訊中沒有包含固有檔案的差分。同樣地,軟體更新中沒有執行共有檔案的檔案更新的情況下,共有檔案的版本資訊中顯示共有檔案的1個版本名。另外,差分資訊中沒有包含共有檔案的差分。 In addition, the file update of the intrinsic file is not performed during the software update. Next, the version information of the intrinsic file shows one version name of the intrinsic file. In addition, the difference of the unique file is not included in the difference information. Similarly, when the file update of the shared file is not performed in the software update, the version name of the shared file is displayed in the version information of the shared file. In addition, the difference information does not include the difference of the shared file.

繼之,在步驟S106中,列表產生部1104產生應用差分選擇列表。 Next, in step S106, the list generation unit 1104 generates an application difference selection list.

所謂的應用差分選擇列表,係為用以有效率地選取使用者環境中差分安裝器內的應用差分選擇程式所應用的差分的列表。如後述,使用者環境中伴隨著軟體更新而執行共有檔案的檔案更新。應用差分選擇列表,是差分安裝器內的應用差分選擇程式藉由核對使用者環境中執行軟體更新時所伴隨執行的檔案更新中所取得的差分和已安裝於使用者環境中的軟體版本,所可以選擇的列表。列表產生部1104解析軟體群的軟體更新和共有檔案的檔案更新的關係,針對各軟體更新,查明軟體更新中被更新的軟體之更新後的版本所使用的共有檔案的版本,產生應用差分選擇列表。 The so-called application differential selection list is a list for efficiently selecting the difference applied by the application differential selection program in the differential installer in the user environment. As will be described later, the file update of the shared file is performed in the user environment along with the software update. The application of the differential selection list is an application differential selection program in the differential installer that checks the difference between the file update performed in the execution of the software update in the user environment and the software version installed in the user environment. A list that can be selected. The list generation unit 1104 analyzes the relationship between the software update of the software group and the file update of the shared file, and updates the version of the shared file used by the updated version of the software being updated in the software update for each software update, thereby generating an application difference selection. List.

應用差分選擇列表為差分選擇資訊之例。 Apply a differential selection list as an example of differential selection information.

差分安裝器及應用差分選擇程式的細節如後述。 The details of the differential installer and the application differential selection program will be described later.

應用差分選擇列表之例如第6圖所示。 The application of the differential selection list is shown, for example, in FIG.

在第6圖中,「已安裝的軟體」及「軟體的版本」的欄位中,和第4圖所示者相同。亦即,應用差分選擇列表中,按照軟體更新執行部1103執行的軟體更新的順序顯示各軟體更新的更新識別子。 In Fig. 6, the fields of "Installed Software" and "Software Version" are the same as those shown in Figure 4. That is, in the application difference selection list, the update identifiers of the respective software updates are displayed in the order of the software update executed by the software update execution unit 1103.

另外,指標資訊係為指示對應之更新識別子所示之軟體於更新後的版本中所使用的共有檔案的版本和其次一版本的差分所對應的更新識別子的資訊。亦即,以向右方向的移動量顯示,當顯示指標資訊的值之列所對應之軟體被安裝在使用者環境時,為了將顯示指標資訊的值之行的共有檔案更新1個階段,要安裝哪一列的軟體,或者要應用更新後的差分。 In addition, the indicator information is information indicating an update identifier corresponding to the difference between the version of the shared file used in the updated version and the difference of the next version of the software indicated by the corresponding update identifier. In other words, when the software corresponding to the value of the index information is displayed in the user environment, the software for displaying the value of the index information is updated in one stage, in order to update the shared file of the value of the indicator information update. Which column of software to install, or apply the updated difference.

例如,假設軟體1的版本1.0安裝在使用者環境,而此軟體1的版本1.0所使用的共有檔案A為版本1.0。軟體1的版本1.0之列的共有檔案A的指標資訊為「1」。因此,共有檔案A的版本1.0和次一版本之版本1.1的差分係對應於右1列的軟體2的版本1.0。差分安裝器內的應用差分選擇程式,當使用者環境中安裝了軟體1的版本1.0的情況下,將軟體更新執行部1103安裝軟體2的版本1.0時所抽出的共有檔案A的差分應用在共有檔案A的版本1.0,藉此判斷能夠取得共有檔案A的版本1.1。 For example, assume that version 1.0 of software 1 is installed in the user environment, and the shared file A used by version 1.0 of this software 1 is version 1.0. The index information of the shared file A in the version 1.0 of the software 1 is "1". Therefore, the difference between the version 1.0 of the shared file A and the version 1.1 of the next version corresponds to the version 1.0 of the software 2 of the right column. In the application difference selection program in the difference installer, when the version 1 of the software 1 is installed in the user environment, the difference of the shared file A extracted when the software update execution unit 1103 installs the version 1.0 of the software 2 is applied to the shared version. Version 1.0 of file A, by which it is judged that version 1.1 of the shared file A can be obtained.

另外,在指標資訊為0的情況下,不存在更新該共有檔案的差分。 In addition, when the index information is 0, there is no difference in updating the shared file.

步驟S106的應用差分選擇列表之產生係依據第7圖及第8圖所示流程圖為之。第7圖及第8圖之細節如後述。 The generation of the application difference selection list of step S106 is based on the flowcharts shown in FIGS. 7 and 8. Details of Figures 7 and 8 will be described later.

最後,在步驟S107中,列表產生部1104將應用差分選擇列表顯示於顯示裝置,使用者確認差分正確輸出。 Finally, in step S107, the list generation unit 1104 displays the application difference selection list on the display device, and the user confirms that the difference is correctly output.

繼之,參見第7圖及第8圖說明應用差分選擇列表的產生程序。 Next, referring to Fig. 7 and Fig. 8, the generation procedure of applying the differential selection list will be described.

首先,在步驟S301中,列表產生部1104在應用差分選擇列表的右端追加列,並在追加的列中記載軟體及版本。 First, in step S301, the list generation unit 1104 adds a column to the right end of the application difference selection list, and describes the software and the version in the added column.

繼之,在步驟S302中,列表產生部1104從應用差分選擇列表中選取1個共有檔案。 Next, in step S302, the list generation unit 1104 selects one shared file from the application difference selection list.

繼之,列表產生部1104在步驟S309中,參照版本遷移列表,判斷在步驟S301中作為對象的版本之軟體(以下稱之為判斷對象軟體)是否包含步驟S302中所選擇的共有檔案(是否使用共有檔案)。 Then, the list generation unit 1104 refers to the version migration list in step S309, and determines whether or not the software version (hereinafter referred to as the determination target software) as the target version in step S301 includes the shared file selected in step S302 (whether or not it is used). Shared file).

在步驟S309中,判斷對象軟體未包含共有檔案的情況下,在步驟S303中,列表產生部1104,步驟S301中追加之列的步驟S302中所選擇的共有檔案的指標資訊中指定「-」。 If it is determined in step S309 that the target software does not include the shared file, the list generating unit 1104 specifies "-" in the index information of the shared file selected in step S302 added in step S301 in step S303.

然後,列表產生部1104在步驟S310中,判斷是否所有的共有檔案都已被選擇,若還有未被選擇的共有檔案,則在步驟S308中選擇下一個共有檔案。 Then, the list generating unit 1104 determines in step S310 whether all the shared files have been selected, and if there are still shared files that have not been selected, the next shared file is selected in step S308.

另一方面,在步驟S309中,判斷對象軟體包含步驟S302中所選擇的共有檔案的情況下,列表產生部1104在步驟S311中,在判斷對象軟體的更新當中,參照版本遷移列表判斷共有檔案是否已被更新。 On the other hand, if the determination target software includes the shared file selected in step S302 in step S309, the list generating unit 1104 determines whether the shared file is referred to by referring to the version migration list in the update of the determination target software in step S311. Has been updated.

在步驟S311中,在共有檔案已被更新的情況下,列表產生部1104在步驟S304中,於步驟S301中追加之列的步驟S302中所選擇的共有檔案的指標資訊中指定「0」。 In step S311, when the shared file has been updated, the list generating unit 1104 specifies "0" in the index information of the shared file selected in step S302 added in step S301 in step S304.

繼之,在步驟S305中,列表產生部1104,若有其他列的共有檔案之指標資訊為「0」,則更新其他列的指標資訊,使其指向步驟S301中追加的列。 Then, in step S305, if the index information of the shared files of the other columns is "0", the list generating unit 1104 updates the index information of the other columns to the column added in step S301.

另一方面,在步驟S311中,在共有檔案未更新的情況下,列表產生部1104在步驟S306中,參照版本遷移列表確 認判斷對象軟體中的共有檔案的版本。 On the other hand, in step S311, when the shared file is not updated, the list generating unit 1104 refers to the version migration list in step S306. The version of the shared file in the judgment object software.

繼之,列表產生部1104在步驟S307中,在步驟S301中追加的列之共有檔案的指標資訊中,指定到抽出下一個應用的差分之軟體的列的移動量。 Then, in step S307, the list generating unit 1104 specifies the amount of movement of the column of the software for which the difference of the next application is extracted, in the index information of the shared file of the column added in step S301.

繼之,使用第9圖的流程圖說明差分安裝器產生部1200產生差分安裝器的動作。 Next, the operation of the differential mounter generating unit 1200 to generate the differential mounter will be described using the flowchart of FIG.

首先,在步驟S201中,使用者在安裝器產生內容受理部1201指定產生的差分安裝器的資訊。 First, in step S201, the user specifies the information of the generated difference installer in the installer generation content accepting unit 1201.

在此使用者所指定的資訊為產生差分安裝器的軟體的種類、更新前的版本、及更新後的版本三者。 The information specified by the user is the type of the software that generates the differential installer, the version before the update, and the version after the update.

更新前的版本係為,產生的差分安裝器能夠更新的版本當中最舊的版本。例如,軟體1有1.0、2.0、3.0三種版本存在時,在產生將版本1.0更新為版本3.0的差分安裝器的情況下,更新前的版本為1.0、更新後的版本為版本3.0。此時,能夠藉由所產生的差分安裝器進行從版本2.0到版本3.0的更新。 The pre-update version is the oldest version of the version that the resulting differential installer can update. For example, when software version 1.0 exists in versions 1.0, 2.0, and 3.0, in the case of generating a differential installer that updates version 1.0 to version 3.0, the version before the update is 1.0, and the version after the update is version 3.0. At this time, the update from version 2.0 to version 3.0 can be performed by the generated differential installer.

繼之,在步驟S202中,差分安裝器產生執行部1202取得應用差分選擇列表。應用差分選擇列表記憶在應用差分選擇列表記憶部1300中。 Next, in step S202, the difference installer generation execution unit 1202 acquires the application difference selection list. The application difference selection list is stored in the application difference selection list storage unit 1300.

在此,差分安裝器產生執行部1202所取得的應用差分選擇列表必須具有與更新後的版本之軟體對應的列。例如,在第6圖的應用差分選擇列表中,最後追加的列為對應於右端的軟體2之版本2.0的列,所以無法用此應用差分選擇列表軟體2產生在版本2.0之後開發之軟體的差分安裝器。 Here, the application difference selection list acquired by the difference installer generation execution unit 1202 must have a column corresponding to the software of the updated version. For example, in the application difference selection list of FIG. 6, the last added column is the column of version 2.0 corresponding to the software 2 of the right end, so the difference of the software developed after version 2.0 cannot be generated by the application differential selection list software 2. Installer.

繼之,在步驟S203中,差分安裝器產生執行部1202 基於步驟S202中所取得的應用差分選擇列表的資訊,選擇產生差分安裝器所必須的差分。 Then, in step S203, the differential installer generates the execution unit 1202. Based on the information of the application difference selection list acquired in step S202, the difference necessary to generate the differential installer is selected.

此步驟S203的動作之細節參照第10圖後述之。 The details of the operation of this step S203 will be described later with reference to Fig. 10.

繼之,在步驟S204中,差分安裝器產生執行部1202從差分資料庫1400取得產生差分安裝器所必須的差分。 Next, in step S204, the differential installer generation executing unit 1202 acquires the difference necessary for generating the differential installer from the differential database 1400.

亦即,差分安裝器產生執行部1202從差分資料庫1400取得第5圖所示的差分資訊。 That is, the difference installer generation executing unit 1202 acquires the difference information shown in FIG. 5 from the difference database 1400.

繼之,在步驟S205中,差分安裝器產生執行部1202產生差分安裝器。 Next, in step S205, the differential installer generation executing unit 1202 generates a differential mounter.

差分安裝器由下列構成:步驟S202中所取得的應用差分選擇列表、步驟S204中所取得的差分、及應用差分選擇程式。 The difference installer is composed of the application difference selection list acquired in step S202, the difference acquired in step S204, and the application difference selection program.

應用差分選擇程式係為,使用使用者環境中已安裝之軟體的版本之資訊以及應用差分選擇列表,依照適當的順序應用必要的差分之程式。 The application of the differential selection program uses the information of the version of the installed software in the user environment and the application of the differential selection list to apply the necessary differential programs in the appropriate order.

更具體言之,應用差分選擇程式,從應用差分選擇列表所示的複數更新識別子中,抽出和使用者環境中已安裝的軟體和其版本的配對一致的更新識別子。而且,應用差分選擇程式,選取已抽出的更新識別子對應之指標資訊所指示的更新識別子所對應之差分,作為使用者環境中執行的軟體更新所伴隨執行之檔案更新中取得的差分。 More specifically, the differential selection program is applied to extract an update identifier that is consistent with the pairing of the installed software and its version in the user environment from the complex update identifier shown in the application difference selection list. Further, the difference selection program is applied, and the difference corresponding to the update identifier indicated by the index information corresponding to the extracted update identifier is selected as the difference obtained in the file update performed in association with the software update executed in the user environment.

應用差分選擇程式為選擇程式之例。 The differential selection program is used as an example of a selection program.

另外,後文將參照第12圖及第13圖的流程圖,說明應用差分選擇程式的動作例。 Further, an operation example in which the differential selection program is applied will be described later with reference to the flowcharts of Figs. 12 and 13.

最後,差分安裝器產生執行部1202顯示通知已完 成差分安裝器之產生程序的訊息,在步驟206中,使用者確認差分安裝器已產生。 Finally, the differential installer generation execution unit 1202 displays that the notification has been completed. As a message to generate the program for the differential installer, in step 206, the user confirms that the differential installer has been generated.

繼之,參照第10圖,說明第9圖的步驟S203的動作亦即,說明選擇軟體更新所必須之差分的動作細節。 Next, with reference to Fig. 10, the operation of step S203 of Fig. 9 will be described, that is, the details of the operation for selecting the difference necessary for software update will be described.

首先,在步驟S401中,差分安裝器產生執行部1202,從應用差分選擇列表中,指定產生差分安裝器之軟體的更新前的版本之列。以下將此列稱之為列A。 First, in step S401, the difference installer generation execution unit 1202 specifies the version of the version before the update of the software that generates the difference installer from the application difference selection list. This column is referred to below as column A.

在步驟S402中,差分安裝器產生執行部1202,從應用差分選擇列表中,指定產生差分安裝器的軟體之更新後的版本之列。以下將此列稱之為列B。 In step S402, the difference installer generation execution unit 1202 specifies the updated version of the software that generates the differential installer from the application difference selection list. This column is referred to below as column B.

繼之,在步驟S403中,差分安裝器產生執行部1202,選擇列A和列B之間的列(亦稱之為中間列)所對應的軟體安裝或更新到對應的軟體、及列B所對應的軟體安裝或更新到對應的軟體時所抽出的所有的共有檔案的差分,以作為必要差分。 Then, in step S403, the difference installer generates the execution unit 1202, and selects the software corresponding to the column (also referred to as the middle column) between the column A and the column B to be installed or updated to the corresponding software, and the column B. The difference between all the shared files extracted when the corresponding software is installed or updated to the corresponding software is taken as the necessary difference.

最後,在步驟S404中,差分安裝器產生執行部1202,從列A和列B之間的列所對應之軟體安裝或更新到對應的軟體、及列B對應之軟體的安裝或更新到對應的軟體時所抽出的差分當中,選擇產生差分安裝器的軟體的固有檔案之差分以作為必要的差分。 Finally, in step S404, the difference installer generation executing unit 1202 installs or updates the software corresponding to the column between the column A and the column B to the corresponding software, and installs or updates the software corresponding to the column B to the corresponding Among the differences extracted in the software, the difference between the inherent files of the software that generates the differential mounter is selected as the necessary difference.

第11圖為使用第6圖的應用差分選擇列表時,為了產生將軟體1的版本1.0更新為版本2.0的差分安裝器而選擇必要差分之例。 Fig. 11 is a diagram showing an example in which the necessary difference is selected in order to generate a differential installer in which the version 1.0 of the software 1 is updated to the version 2.0 when the application difference selection list of Fig. 6 is used.

在第11圖的例中,選擇軟體2之版本1.0安裝時的共有檔案 的差分、軟體3的版本1.0安裝時的共有檔案的差分、以及更新到軟體1的版本2.0時的共有檔案的差分。另外,選擇更新到軟體1的版本2.0時的固有檔案的差分。 In the example in Figure 11, select the shared file when the version 2 of the software 2 is installed. The difference, the difference between the shared file at the time of installation of version 1.0 of the software 3, and the difference of the shared file when updating to the version 2.0 of the software 1. In addition, the difference of the unique file when updating to version 2.0 of the software 1 is selected.

繼之,說明應用差分選擇程式的動作例。 Next, an example of the operation of applying the differential selection program will be described.

應用差分選擇程式,最初確認全部的候選應用差分,之後從舊的差分開始依序應用到共有檔案。應用差分選擇程式,針對與應用差分選擇列表中的各共有檔案對應的行,進行候選應用差分的確認。更具體言之,應用差分選擇程式,針對應用差分選擇列表的各行,決定其起點與終點,從起點到終點為止,重複執行確認指標資訊所指之列,並且將指標資訊所指之列作為新的起點的動作。此時,對應於所經由之列的差分即為候選應用差分。 Applying the differential selection program, all candidate application differences are initially confirmed, and then applied to the shared file sequentially from the old difference. The differential selection program is used to confirm the candidate application difference for the row corresponding to each shared file in the application difference selection list. More specifically, the differential selection program is applied to determine the start and end points of each row of the differential selection list, and repeat the execution of the indicator information from the start point to the end point, and the index information is referred to as a new one. The starting point of the action. At this time, the difference corresponding to the column to which it passes is the candidate application difference.

更具體言之,應用差分選擇程式依據第12圖及第13圖所示流程動作。 More specifically, the differential selection program is applied in accordance with the flow shown in Figs. 12 and 13.

以下、參見第12圖及第13圖說明應用差分選擇程式的動作。 The operation of applying the differential selection program will be described below with reference to FIGS. 12 and 13.

首先,在步驟S500中,應用差分選擇程式判斷差分安裝器是否是初次被應用在使用者環境中。 First, in step S500, the differential selection program is applied to determine whether the differential installer is first applied to the user environment.

在差分安裝器並非初次被應用在使用者環境中的情況下,應用差分選擇程式在步驟S501中,取得過去應用過的差分資訊。 In the case where the differential installer is not used for the first time in the user environment, the application differential selection program acquires the differential information applied in the past in step S501.

繼之,在步驟S502中,應用差分選擇程式,從使用者環境取得安裝在使用者環境中的軟體及其版本。 Next, in step S502, the difference selection program is applied to obtain the software installed in the user environment and its version from the user environment.

繼之,在步驟S514中,應用差分選擇程式判斷可 進行差分更新之版本的軟體是否已安裝在使用者環境中。 Then, in step S514, the differential selection program is applied to determine Whether the software for the differential update version is installed in the user environment.

可進行差分更新之版本的軟體未安裝於使用者環境中的情況下,在步驟S513中,應用差分選擇程式將差分更新失敗之事實通知使用者環境的使用者。 When the software for which the differential update version is not installed in the user environment, the difference selection program is applied to notify the user of the user environment of the fact that the differential update has failed in step S513.

繼之,在步驟S503中,應用差分選擇程式,在應用差分選擇列表中確認使用者環境中已安裝之版本的列和更新後的版本的列,若中間列及更新後的版本之列中,有包含進行差分安裝之軟體的固有檔案的差分之列,則將該列的差分加入候選差分中。 Then, in step S503, the differential selection program is applied, and the column of the installed version and the updated version of the column in the user environment are confirmed in the application difference selection list, if the middle column and the updated version are in the column, If there is a difference column including the unique file of the software for differential mounting, the difference of the column is added to the candidate difference.

繼之,在步驟S504中,應用差分選擇程式從應用差分選擇列表中選擇1行共有檔案的行。 Next, in step S504, the differential selection program is applied to select a row of the shared file from the application difference selection list.

繼之,在步驟S505中,應用差分選擇程式,從步驟S504所選擇之行當中指定起點之列及終點之列。 Next, in step S505, the difference selection program is applied, and the column of the starting point and the end point are specified from the row selected in step S504.

繼之,在步驟S515中,應用差分選擇程式,判斷起點之列是否位於全部的終點之列之左。 Next, in step S515, the differential selection program is applied to determine whether the starting point column is located to the left of all the end points.

在步驟515中,起點之列並非位於全部的終點之列之左的情況下,應用差分選擇程式執行步驟S517的判斷。 In step 515, if the starting point is not located to the left of all the end points, the determination of step S517 is performed by applying the difference selection program.

另一方面,在步驟S515中,起點之列位於全部的終點之列之左的情況下,在步驟S506中,應用差分選擇程式在步驟S504所選擇的行中,確認起點之列之指標資訊所指之列。 On the other hand, if the starting point is located to the left of all the end points in step S515, in step S506, the differential selection program is applied to confirm the index information of the starting point in the row selected in step S504. Refers to the list.

繼之,在步驟S507中,應用差分選擇程式,若軟體更新執行部1103更新指標資訊所指之列所對應之軟體時所抽出的共有檔案的差分未包含於候選應用差分中,將該差分加入候選應用差分中。 Then, in step S507, the difference selection program is applied, and if the software update execution unit 1103 updates the software corresponding to the software indicated by the index information, the difference of the shared file is not included in the candidate application difference, and the difference is added. Candidate application difference.

繼之,在步驟S516中,應用差分選擇程式判斷指標資訊所指之列是否為終點之列。 Next, in step S516, the differential selection program is applied to determine whether the column indicated by the indicator information is the end point.

在步驟S516中,若指標資訊所指之列不是終點之列,則應用差分選擇程式將指標資訊所指之列指定為下一個起點之列(步驟S508)。之後,應用差分選擇程式重複執行步驟S515之後的動作。 In step S516, if the index information indicates that the column is not the end point, the differential selection program is applied to designate the column indicated by the index information as the next starting point (step S508). Thereafter, the action after step S515 is repeatedly executed by applying the difference selection program.

另一方面,在步驟S516中,指標資訊所指之列為終點之列的情況下,應用差分選擇程式在步驟S517中,判斷是否已針對應用差分選擇列表中的所有的共有檔案的行進行確認。 On the other hand, if the index information is listed as the end point in step S516, the application difference selection program determines in step S517 whether or not the line of all the shared files in the application difference selection list has been confirmed. .

在步驟S517中,若有尚未進行確認的行,則應用差分選擇程式在步驟S509中,從應用差分選擇列表中選擇未確認的共有檔案的行。 In step S517, if there is a line that has not been confirmed, the application difference selection program selects the unconfirmed shared file line from the application difference selection list in step S509.

另一方面,在步驟S517中,已針對所有的共有檔案的行完成確認的情況下,應用差分選擇程式在步驟S510中,將候選應用差分從應用差分選擇列表的左側起依序應用在共有檔案及固有檔案。 On the other hand, in the case where the confirmation has been completed for all the lines of the shared file in step S517, the application difference selection program applies the candidate application difference sequentially to the shared file from the left side of the application difference selection list in step S510. And inherent files.

繼之,在步驟S511中,應用差分選擇程式將已應用之差分的資訊記錄在使用者環境內的記憶區域中。 Then, in step S511, the differential selection program is applied to record the information of the applied difference in the memory area in the user environment.

最後,在步驟S512中,應用差分選擇程式通知使用者環境的使用者差分更新已完成。 Finally, in step S512, the differential selection program is applied to notify the user that the user's differential update has been completed.

第14圖顯示應用差分選擇程式的動作例。 Fig. 14 shows an example of the operation of applying the differential selection program.

第14圖中,顯示在已安裝了軟體1的版本1.0、軟體2的版本1.0的使用者環境中,具有第6圖的應用差分選擇列表之軟體 1的差分安裝器的應用差分選擇程式的動作例。以下說明應用差分選擇程式進行共有檔案A之更新的例。 In Fig. 14, the software having the application differential selection list of Fig. 6 is displayed in the user environment in which version 1.0 of the software 1 and version 1.0 of the software 2 are installed. An example of the operation of the differential selection program of the differential installer of 1. An example of applying the differential selection program to update the shared file A will be described below.

應用差分選擇程式抽出已安裝在使用者環境中的軟體之軟體1的版本1.0和軟體2的版本1.0。在第14圖的例子中,應用差分選擇程式指定軟體2的版本1.0所對應之列作為起點之列(步驟S505)。另外,應用差分選擇程式將作為軟體更新對象的軟體1的版本2.0所對應的列、和軟體3的版本1.0的列指定為終點之列(步驟S505)。 The version 1.0 of the software 1 of the software installed in the user environment and the version 1.0 of the software 2 are extracted by the differential selection program. In the example of Fig. 14, the column corresponding to the version 1.0 of the software 2 is applied as the starting point by the differential selection program (step S505). Further, the differential selection program is used to designate the column corresponding to the version 2.0 of the software 1 to be the software update target and the column of the version 1.0 of the software 3 as the end point (step S505).

應用差分選擇程式,確認起點之列的指標資訊所指之列。第14圖中,因為指標資訊為「1」,故將軟體3的版本1.0之列所對應之包含在差分安裝器中的差分加入候選應用差分中(步驟S507)。 Apply the differential selection program to confirm the index information in the starting point. In Fig. 14, since the index information is "1", the difference included in the difference installer corresponding to the version 1.0 of the software 3 is added to the candidate application difference (step S507).

繼之,應用差分選擇程式,將起點之列的指標資訊所指之列指定作為下一個起點之列(步驟S508)。亦即,應用差分選擇程式指定軟體3的版本1.0之列作為下一個起點之列。 Next, the differential selection program is applied, and the column indicated by the index information of the start point is designated as the next starting point (step S508). That is, the application of the differential selection program specifies the version 1.0 of the software 3 as the next starting point.

該起點之列位於作為其中一個終點之列的軟體3的版本1.0之列所對應之列的左側,所以應用差分選擇程式結束針對共有檔案A的差分選擇。 The starting point is located on the left side of the column corresponding to the version 1.0 of the software 3 as one of the end points, so the difference selection program is applied to end the differential selection for the shared file A.

其結果為,軟體更新執行部1103中,將安裝軟體3的版本1.0時所抽出的共有檔案A的差分用於在使用者環境中更新為軟體1的版本2.0時伴隨執行的共有檔案A的更新。 As a result, in the software update execution unit 1103, the difference of the shared file A extracted when the version 1.0 of the software 3 is installed is used to update the shared file A that is executed when the version 2.0 of the software 1 is updated in the user environment. .

亦即,差分安裝器在更新到軟體1的版本2.0的同時,將該差分應用在使用者環境中既存的共有檔案A,以近行共有檔案A的更新。 That is, the differential installer updates the version 2.0 of the software 1 and applies the difference to the shared file A existing in the user environment to update the file A in the near future.

繼之,參照第15圖的流程圖說明第12圖的步驟S505之指定起點之列、終點之列的動作之細節。 Next, the details of the operation of the specified starting point and the end point of step S505 of Fig. 12 will be described with reference to the flowchart of Fig. 15.

首先,在步驟S601中,應用差分選擇程式從應用差分選擇列表中,抽出使用者環境中已安裝的軟體所對應之列、過去已應用之差分所對應之列作為候選起點。 First, in step S601, the application difference selection program extracts, from the application difference selection list, a column corresponding to the software installed in the user environment and a column corresponding to the difference applied in the past as a candidate starting point.

繼之,在步驟S602中,應用差分選擇程式針對各候選起點,確認其指標資訊所指之列,並將指向最右側之列的列指定為起點之列。在存在複數之該等列的情況下,應用差分選擇程式指定應用差分選擇列表中最右側之列作為起點之列。 Next, in step S602, the differential selection program is applied to confirm the column indicated by the index information for each candidate starting point, and the column pointing to the rightmost column is designated as the starting point. In the case where there are a plurality of such columns, the differential selector is applied to specify the rightmost column in the application differential selection list as the starting point.

繼之,在步驟S603中,應用差分選擇程式確認更新後的軟體之列的指標資訊。 Next, in step S603, the differential selection program is applied to confirm the index information of the updated software.

繼之,在步驟S607中,應用差分選擇程式判斷指標資訊的值是否為「-」。 Next, in step S607, the differential selection program is applied to determine whether the value of the index information is "-".

在步驟S607中,若指標資訊的值為「-」,則應用差分選擇程式在步驟S604中,將指標資訊指向更新後的軟體之列的左側的所有的列指定為終點。 In step S607, if the value of the index information is "-", the application difference selection program designates the index information to all the columns on the left side of the updated software column as the end point in step S604.

另一方面,在步驟S607中,指標資訊的值不是「-」的情況下,應用差分選擇程式在步驟S608中,判斷指標資訊是否為「0」。 On the other hand, if the value of the index information is not "-" in step S607, the application difference selection program determines in step S608 whether or not the index information is "0".

在步驟S608中,若指標資訊的值為「0」,則應用差分選擇程式在步驟S605中,將指標資訊為「0」的所有的列指定為終點。 In step S608, if the value of the index information is "0", the application difference selection program designates all the columns whose index information is "0" as the end point in step S605.

在步驟S608中,在指標資訊的值不是「0」的情況下,應用差分選擇程式在步驟S606中,將更新後的軟體之列指 定為終點。 In step S608, if the value of the index information is not "0", the differential selection program is applied, and in step S606, the updated software is listed. Set as the end point.

另外,應用差分選擇程式將更新後的軟體之列的指標資訊所指之列、以及指標資訊所指之其他的列都指定為終點。 In addition, the differential selection program is used to designate the index information of the updated software column and the other columns indicated by the indicator information as the end points.

第16圖及第17圖為在安裝了軟體1的版本1.0、軟體2的版本1.0的使用者環境中,將軟體1更新為版本2.0時求出起點和終點的動作之例。 Fig. 16 and Fig. 17 show an example of the operation of obtaining the start point and the end point when the software 1 is updated to the version 2.0 in the user environment in which the version 1 of the software 1 and the version 1.0 of the software 2 are installed.

應用差分選擇程式抽出軟體1的版本1.0的列、和軟體2的版本1.0的列以作為候選起點列(步驟S601)。 The column of version 1.0 of the software 1 and the column of version 1.0 of the software 2 are extracted by the difference selection program as a candidate start point column (step S601).

另外,應用差分選擇程式確認各候選起點列的指標資訊所指之列(步驟S602)。軟體2的版本1.0的指標資訊所指之列位於軟體1的版本1.0的指標資訊所指之列的右側,因此,應用差分選擇程式,將軟體2的版本1.0的列指定為針對共有檔案A及共有檔案B的起點之列(步驟S602)。 Further, the differential selection program is applied to confirm the index indicated by the index information of each candidate starting point column (step S602). The index information of version 1.0 of the software 2 is located on the right side of the index information of the version 1.0 of the software 1. Therefore, the differential selection program is used to designate the column of the version 1.0 of the software 2 as the shared file A and The starting point of the file B is shared (step S602).

另外,應用差分選擇程式確認軟體1的版本2.0之列(更新後的軟體之列的)的指標資訊(步驟S603)。 Further, the difference information is used to confirm the index information of the version 2.0 of the software 1 (the updated software queue) (step S603).

對於共有檔案A,軟體1的版本2.0的列的指標資訊既非「-」亦非「0」。因此,應用差分選擇程式將軟體1的版本2.0之列(更新後的軟體之列)、以及指標資訊指向軟體2的版本2.0的軟體3的版本1.0之列(軟體1的版本2.0的列之指標資訊所指之列)指定為終點之列(步驟S606)。 For the shared file A, the index information of the version 2.0 of the software 1 is neither "-" nor "0." Therefore, the differential selection program is used to list the version 2.0 of the software 1 (the updated software column) and the index information to the version 1.0 of the software version 3.0 of the software version 2.0 (the indicator of the version 2.0 of the software 1) The information is referred to as the end point (step S606).

對於共有檔案B,軟體1的版本2.0之列的指標資訊為「0」。因此,應用差分選擇程式指定指標資訊為「0」的軟體1的版本2.0之列和軟體2的版本2.0之列為終點之列(步驟S605)。 For the shared file B, the indicator information in the version 2.0 of the software 1 is "0". Therefore, the application of the difference selection program specifies that the version 2.0 of the software 1 in which the index information is "0" and the version 2.0 of the software 2 are listed as the end point (step S605).

如上述,應用差分選擇程式,從應用差分選擇列 表所示的複數個更新識別子當中,抽出與使用者環境中已安裝的軟體及其版本的配對一致的更新識別子(第1更新識別子)的列作為起點之列。另外,應用差分選擇程式,抽出與使用者環境中執行的軟體更新所更新的軟體和更新後的版本的配對一致的更新識別子(第2更新識別子)的列作為終點之列。而且,應用差分選擇程式,選擇起點之列對應之指標資訊所指示的更新識別子所對應的差分、以及應用差分選擇列表中位於起點之列和終點之列之間的中間列的更新識別子(中間更新識別子)所對應的指標資訊指示的更新識別子所對應之差分,作為使用者環境中執行的軟體更新伴隨執行之檔案更新中所取得的差分。 As described above, apply a differential selection program to select columns from the application differential Among the plurality of update identifiers shown in the table, a column of the update identifier (first update identifier) matching the pair of software installed in the user environment and its version is extracted as a starting point. Further, by applying the difference selection program, a column of the update identifier (second update identifier) matching the pair of the software updated by the software update executed in the user environment and the updated version is extracted as the end point. Moreover, the differential selection program is applied, and the difference corresponding to the update identifier indicated by the index information corresponding to the start point column and the update identifier of the middle column between the start column and the end point in the application difference selection list are applied (intermediate update) The difference corresponding to the update identifier indicated by the indicator information corresponding to the identifier is the difference obtained in the file update performed in association with the execution of the software update executed in the user environment.

另外,應用差分選擇程式,在應用差分選擇列表中的中間列之更新識別子(中間更新識別子)所對應之指標資訊指示的更新識別子為其他中間列的更新識別子(中間更新識別子)或終點之列的更新識別子(第2更新識別子)的情況下,選擇其他中間列的更新識別子(中間更新識別子)或終點之列的更新識別子(第2更新識別子)所對應之差分,作為使用者環境中執行的軟體更新伴隨執行的檔案更新中所取得的差分。 In addition, by applying the difference selection program, the update identifier indicated by the indicator information corresponding to the update identifier (intermediate update identifier) in the middle column of the application difference selection list is the update identifier (intermediate update identifier) or the end point of the other intermediate columns. When the update identifier (second update identifier) is updated, the difference between the update identifier (intermediate update identifier) of the other intermediate column or the update identifier (second update identifier) of the end point is selected as the software executed in the user environment. Update the difference obtained in the file update accompanying execution.

硬體構成的說明 Description of hardware composition

繼之,差分安裝器產生系統1000的硬體構成例如第18圖18所示。 Next, the hardware configuration of the differential mounter generation system 1000 is as shown in FIG. 18, for example.

在第18圖中,差分抽出機器H100為執行第1圖的差分抽出部1100之處理的電腦。另外,差分安裝器產生機器H200為執行第1圖的差分安裝器產生部1200的處理之電腦。而且,安裝媒體H300係為,在差分抽出部1100進行差分抽出時,用以將安裝 器輸入到差分抽出機器H100的媒體。差分安裝媒體H400係為,輸出差分安裝器產生機器H200所產生的差分安裝器之媒體。儲存裝置H500為實現第1圖的應用差分選擇列表記憶部1300及差分資料庫1400的記憶裝置。 In Fig. 18, the differential extracting device H100 is a computer that executes the processing of the differential extracting unit 1100 of Fig. 1 . Further, the differential mounter generation machine H200 is a computer that executes the processing of the differential mounter generation unit 1200 of Fig. 1 . Further, the mounting medium H300 is used for mounting when the differential extraction unit 1100 performs differential extraction. The device inputs to the medium of the differential extraction machine H100. The differential mounting medium H400 is a medium in which the output differential mounter generates a differential mounter generated by the machine H200. The storage device H500 is a storage device that implements the application difference selection list storage unit 1300 and the difference database 1400 of Fig. 1 .

第18圖中,差分抽出機器H100和差分安裝器產生機器H200分別為獨立的電腦,但也可以用1台電腦執行差分抽出機器H100和差分安裝器產生機器H200的任務。在此情況下,儲存裝置H500可以藉由電腦的硬碟實現。另外,安裝器不是媒體而是以電子資料發送的情況下,不需要磁碟機H103、磁碟機H203。 In Fig. 18, the differential extracting machine H100 and the differential mounter generating machine H200 are separate computers, but it is also possible to perform the task of the differential extracting machine H100 and the differential mounter generating machine H200 by one computer. In this case, the storage device H500 can be implemented by a hard disk of a computer. Further, in the case where the installer is not the medium but is transmitted by electronic data, the disk drive H103 and the disk drive H203 are not required.

茲說明動作和硬體的關係。 Explain the relationship between action and hardware.

第1圖的差分抽出部1100的動作,在第18圖中,係由處理器H101執行展開於記憶體H102中程式來實現。 The operation of the difference extracting unit 1100 of Fig. 1 is realized by the processor H101 executing a program developed in the memory H102 in Fig. 18.

亦即,差分抽出部1100係由程式構成。 That is, the differential extraction unit 1100 is configured by a program.

此程式係儲存於硬碟H104中,被載入記憶體H102內,再由處理器H101執行。 This program is stored in the hard disk H104, loaded into the memory H102, and then executed by the processor H101.

處理器H101為CPU(Central Processing Unit)、DSP(Digital Signal Processor)等。 The processor H101 is a CPU (Central Processing Unit), a DSP (Digital Signal Processor), or the like.

記憶體H102為RAM(Random Access Memory)。 The memory H102 is a RAM (Random Access Memory).

硬碟H104為非揮發性的記憶裝置,實現第1圖的軟體群記憶部1105及備份記憶部1106。 The hard disk H104 is a non-volatile memory device, and realizes the software group storage unit 1105 and the backup memory unit 1106 of Fig. 1 .

軟體安裝器受理部1101的動作中,由磁碟機H103取得在安裝媒體H300中的安裝器。軟體群備份產生部1102的動作中,執行硬碟H104的操作。軟體更新執行部1103的動作中,安裝器 的執行程式被展開在記憶體H102中,並由處理器H101執行之,藉此以更新硬碟H104的內容。列表產生部1104的動作中,處理器H101進行記錄在硬碟H104中的2個軟體群的差分抽出,之後,再透過LAN轉接器H105存取儲存裝置H500,以進行應用差分選擇列表、差分資料庫1400的更新。 In the operation of the software installer accepting unit 1101, the installer in the mounting medium H300 is acquired by the disk drive H103. . In the operation of the software group backup generation unit 1102, the operation of the hard disk H104 is executed. In the operation of the software update execution unit 1103, the executable program of the installer is developed in the memory H102 and executed by the processor H101, thereby updating the contents of the hard disk H104. In the operation of the list generating unit 1104, the processor H101 performs differential extraction of the two software groups recorded on the hard disk H104, and then accesses the storage device H500 through the LAN adapter H105 to apply the difference selection list and the difference. Update of database 1400.

另外,硬碟H104中也記憶了OS(Operating System)。而且,OS的至少一部分由處理器H101執行之。 In addition, the OS (Operating System) is also memorized in the hard disk H104. Moreover, at least a portion of the OS is executed by the processor H101.

處理器H101執行OS,藉以執行任務管理、記憶體管理、檔案管理、通訊控制等。 The processor H101 executes an OS to perform task management, memory management, file management, communication control, and the like.

差分安裝器產生部1200的動作也一樣是藉由處理器H201執行展開於記憶體H202中程式而實現。 The operation of the differential installer generating unit 1200 is also realized by the processor H201 executing the program developed in the memory H202.

亦即,差分安裝器產生部1200係由程式所構成。 That is, the differential installer generating unit 1200 is constituted by a program.

此程式系儲存於硬碟H204中,被載入記憶體H202內,再由處理器H201執行。 This program is stored in the hard disk H204, loaded into the memory H202, and then executed by the processor H201.

處理器H201為CPU、DSP等。 The processor H201 is a CPU, a DSP, or the like.

記憶體H202為RAM。 The memory H202 is a RAM.

差分安裝器產生執行部1202的動作中,處理器H201透過LAN轉接器H205從儲存裝置H500取得應用差分選擇列表和必要差分。而且,處理器H201組合應用差分選擇列表、差分、以及記錄在硬碟H204中的應用差分選擇程式以產生差分安裝器。而且,處理器H201將所產生的差分安裝器記錄在硬碟H204中。另外,處理器H201使用磁碟機H203產生差分安裝媒體H400。 In the operation of the difference installer generation execution unit 1202, the processor H201 acquires the application difference selection list and the necessary difference from the storage device H500 via the LAN adapter H205. Moreover, the processor H201 combines the application differential selection list, the difference, and the application differential selection program recorded in the hard disk H204 to generate a differential installer. Moreover, the processor H201 records the generated differential mounter in the hard disk H204. Further, the processor H201 generates the differential mounting medium H400 using the disk drive H203.

另外,硬碟H204中也記憶了OS。而且,OS的至少一部分 由處理器H201執行之。 In addition, the OS is also memorized in the hard disk H204. Moreover, at least part of the OS It is executed by the processor H201.

處理器H201執行OS,藉以執行任務管理、記憶體管理、檔案管理、通訊控制等。 The processor H201 executes an OS to perform task management, memory management, file management, communication control, and the like.

再者,實現軟體安裝器受理部1101、軟體群備份產生部1102、軟體更新執行部1103、列表產生部1104、安裝器產生內容受理部1201、差分安裝器產生執行部1202(以下總稱之為「部」)的功能的程式亦可記憶在硬碟、軟碟、光碟、CD光碟片、藍光(商標)磁碟、DVD等的可移動式記憶體中。 Furthermore, the software installer accepting unit 1101, the software group backup generating unit 1102, the software update executing unit 1103, the list generating unit 1104, the installer generating content accepting unit 1201, and the differential installer generating executing unit 1202 (hereinafter collectively referred to as " The function of the program can also be stored in a removable memory such as a hard disk, a floppy disk, a compact disk, a CD, a Blu-ray (trademark) disk, or a DVD.

另外,「部」也可以替換為「電路」、「步驟」、「程序」、或「處理」。 In addition, "part" can also be replaced by "circuit", "step", "program", or "processing".

另外,差分安裝器產生系統1000可由邏輯IC(Integrated Circuit)、GA(Gate Array)、ASIC(Application Specific Integrated Circuit)、FPGA(Field-Programmable Gate Array)等電路實現。 Further, the differential mounter generation system 1000 can be realized by a circuit such as a logic IC (Integrated Circuit), a GA (Gate Array), an ASIC (Application Specific Integrated Circuit), or an FPGA (Field-Programmable Gate Array).

在此情況下,「部」分別實現為電路的一部分。再者,處理器H101、H201及上述電路可總稱之為處理電路。 In this case, the "parts" are implemented as part of the circuit, respectively. Furthermore, the processors H101, H201 and the above circuits may be collectively referred to as processing circuits.

實施形態之效果的說明 Description of the effect of the embodiment

如上述,本實施形態中,差分抽出部1100具有共通使用共有檔案的複數軟體之軟體群,在安裝器對其進行更新的同時進行差分抽出。因此,能夠對於共有檔案的所有的版本,取得將其版本更新一階所需要的差分。 As described above, in the present embodiment, the difference extracting unit 1100 has a soft body group of a plurality of softwares that use a shared file in common, and performs differential extraction while being updated by the installer. Therefore, it is possible to obtain the difference required to update the version by one order for all versions of the shared file.

而且,使用應用差分選擇列表、及應用差分選擇程式,在使用者環境中依序將差分應用到共有檔案,藉此能夠在更新軟體時更新共有檔案。 Further, by applying the difference selection list and applying the difference selection program, the difference is sequentially applied to the shared file in the user environment, whereby the shared file can be updated when the software is updated.

另外,在本實施形態中,還能夠獲致如下述的效 果。 Further, in the present embodiment, it is also possible to achieve the following effects. fruit.

因為對差分抽出部輸入的是安裝器,所以即使有多個共有檔案,也不需要為了進行差分抽出而準備複數個版本相異的共有檔案。 Since the installer is input to the differential extracting unit, even if there are a plurality of shared files, it is not necessary to prepare a plurality of shared files having different versions for differential extraction.

進行差分抽出的單位是軟體群全體,所以即使有多個共有檔案,1次更新也只需要2次的差分抽出,不需要針對各共有檔案進行差分抽出。 Since the unit for performing differential extraction is the entire software group, even if there are a plurality of shared files, only one difference extraction is required for one update, and it is not necessary to perform differential extraction for each shared file.

共有檔案的版本係藉由已輸入的安裝器而與更新內容對應。另外,因為將軟體的固有檔案和共有檔案分開進行差分抽出,所以容易進行差分的管理。 The version of the shared file corresponds to the updated content by the installed installer. In addition, since the unique file of the software and the shared file are separately extracted and extracted, it is easy to manage the difference.

應用差分選擇程式,只要知道在哪個軟體更新時或者是應用哪個差分時有將共有檔案更新,就能夠選擇更新該共有檔案的差分。因此,不需要指定差分安裝器內更新之共有檔案的版本。 By applying the difference selection program, it is possible to select and update the difference of the shared file as long as it knows which software is updated or when the difference is applied. Therefore, there is no need to specify the version of the shared file updated within the differential installer.

應用差分選擇程式係基於應用差分選擇列表的資訊來判斷應用的差分。因此,應用差分選擇列表有更新的話,應用差分選擇程式可以用於任何軟體的任何版本的更新。因此,容易進行差分安裝器的產生。 The application differential selection program determines the difference of the application based on the information of the application differential selection list. Therefore, if the application differential selection list is updated, the application differential selection program can be used for any version of any software update. Therefore, the generation of the differential mounter is easy.

使用應用差分選擇列表,能夠藉此確認下一個應用之差分,所以不需要針對各差分進行差分應用可否的判斷。 By using the application difference selection list, it is possible to confirm the difference of the next application, and therefore it is not necessary to determine whether or not the difference application is possible for each difference.

關於此點,傳統方式的具有複數個差分的差分安裝器,要試試看各差分的應用,並確認應用對象之各檔案的版本。而且,傳統方式的差分安裝器,若有可更新的版本就進行更新,若是無法更新的版本就不進行任何處理。在此種差分安裝器 中,即使是在不進行更新的情況下也要對各檔案進行版本確認,所以會拉長安裝時間。 In this regard, the traditional method of differential installer with multiple differences, try to see the application of each difference, and confirm the version of each file of the application object. Moreover, the traditional mode of the differential installer is updated if there is an updateable version, and no processing is performed if the version cannot be updated. In such a differential mounter In the case where the update is not performed, the file is confirmed by the version, so the installation time is lengthened.

在應用差分選擇列表中指定負值的指標資訊,藉此,包含在後來開發的軟體中的共有檔案的版本,比以前開發的軟體中的共有檔案的版本還要舊的時候,也能夠毫無問題地應用差分。 Specifying the indicator information of the negative value in the application differential selection list, whereby the version of the shared file included in the later developed software is older than the version of the shared file in the previously developed software. Apply differentials problemically.

另外,也可以產生更新複數個舊版的差分安裝器。 In addition, it is also possible to generate a plurality of older versions of the differential installer.

1000‧‧‧差分安裝器產生系統(資訊處理裝置) 1000‧‧‧Differential Installer Generation System (Information Processing Unit)

1100‧‧‧差分抽出部 1100‧‧‧Differential Extraction Department

1101‧‧‧軟體安裝器受理部 1101‧‧‧Software Installer Reception Department

1102‧‧‧軟體群備份產生部 1102‧‧‧Software Group Backup Generation Department

1103‧‧‧軟體更新執行部 1103‧‧‧Software Update Executive

1104‧‧‧列表產生部(抽出部)(資訊產生部) 1104‧‧‧List generation unit (extraction unit) (information generation unit)

1105‧‧‧軟體群記憶部 1105‧‧‧Software Group Memory

1106‧‧‧備份記憶部 1106‧‧‧Backup Memory Department

1200‧‧‧差分安裝器產生部 1200‧‧‧Differential Installer Generation Department

1201‧‧‧安裝器產生內容受理部 1201‧‧‧Installer Production Content Reception Department

1202‧‧‧差分安裝器產生執行部 1202‧‧‧Differential Installer Generation Executive Department

1300‧‧‧應用差分選擇列表記憶部 1300‧‧‧Application of Differential Selection List Memory

1400‧‧‧差分資料庫 1400‧‧‧Differential database

Claims (9)

一種資訊處理裝置,其包括:抽出部,每當共同使用共有檔案的複數軟體進行軟體更新所伴隨進行的該共有檔案的檔案更新時,抽出因為檔案更新而造成的和檔案更新前的該共有檔案之差分;資訊產生部,解析該等複數軟體的軟體更新和該共有檔案的檔案更新的關係,核對使用者環境中執行的軟體更新時伴隨執行的檔案更新中所取得的差分和已安裝於該使用者環境中的軟體之版本,藉此以產生可選取的差分選擇資訊;及差分安裝器產生部,產生包含選擇程式的差分安裝器,其核對已安裝於該使用者環境的軟體之版本和該差分選擇資訊,選擇在該使用者環境中執行的軟體更新時伴隨執行的檔案更新中所取得的差分。 An information processing apparatus includes: an extracting unit that extracts a file of the shared file due to file update and file update every time the file of the shared file is updated by using a plurality of software of the shared file in common The information generation unit analyzes the relationship between the software update of the plurality of softwares and the file update of the shared file, and checks the difference obtained in the file update performed in the software update executed in the user environment and is installed in the a version of the software in the user environment to generate selectable differential selection information; and a differential installer generation portion to generate a differential installer including a selection program that checks the version of the software installed in the user environment and The difference selection information selects the difference obtained in the file update that is executed when the software update is executed in the user environment. 如申請專利範圍第1項所述的資訊處理裝置,其中:該資訊產生部,將該使用者環境中執行軟體更新時伴隨執行的檔案更新中所取得的差分與已安裝於該使用者環境中的軟體之版本及在該使用者環境中所執行之軟體更新中所取得的軟體之版本進行核對,以產生可選擇的差分選擇資訊;該差分安裝器產生部,產生包含選擇程式的差分安裝器,其核對已安裝於該使用者環境的軟體之版本和在該使用者環境中執行的軟體更新當中所取得的軟體版本以及前記差分選擇資訊,選擇於該使用者環境中執行軟體更新時伴隨 執行的檔案更新中所取得的差分。 The information processing device according to claim 1, wherein the information generating unit installs the difference obtained in the file update performed when the software update is executed in the user environment, and is installed in the user environment. The version of the software and the version of the software obtained in the software update executed in the user environment are checked to generate selectable differential selection information; the differential installer generating unit generates a differential installer including the selection program And checking the software version obtained in the user environment and the software version obtained in the software update executed in the user environment, and the pre-recording difference selection information, which is selected when the software update is performed in the user environment. The difference obtained in the file update performed. 如申請專利範圍第1項所述的資訊處理裝置,其中:該資訊處理裝置更包括軟體更新執行部,按照該使用者環境中預設的軟體更新的順序執行該等複數軟體之軟體更新,並執行該等複數軟體當中的任一個軟體的軟體更新所伴隨的該共有檔案的檔案更新;該抽出部,每當該軟體更新執行部進行軟體更新時,產生表示被更新軟體及更新後的版本之配對之更新識別子,並且,每當該軟體更新執行部進行該共有檔案的檔案更新時,抽出其與檔案更新前的該共有檔案的差分,將該檔案更新伴隨的軟體更新之更新識別子與已抽出的差分對應;該資訊產生部,解析該軟體更新執行部所執行之該等複數軟體的軟體更新和該共有檔案的檔案更新之關係,每當軟體更新時,確認軟體更新中被更新之軟體其更新後的版本中所使用之該共有檔案的版本,並且,產生差分選擇資訊,其依據該軟體更新執行部所執行之軟體更新的順序表示各軟體更新的更新識別子,針對各更新識別子,表示其對應之指標資訊,其係用以指示該更新識別子所表示之軟體之更新後的版本中所使用的該共有檔案的版本及其次一版本的差分所對應的更新識別子;該差分安裝器產生部,產生包含選擇程式的差分安裝器,其從該差分選擇資訊所表示的複數更新識別子當中,抽出與已安裝於該使用者環境中的軟體和其版本的配對一致的更新識別子,並選取所抽出的更新識別子對應的指標資訊 所指示的更新識別子所對應的差分,做為在該使用者環境中執行的軟體更新所伴隨執行之檔案更新中所取得的差分。 The information processing device of claim 1, wherein the information processing device further comprises a software update execution unit, wherein the software update of the plurality of softwares is performed in the order of software update preset in the user environment, and Performing file update of the shared file associated with software update of any one of the plurality of softwares; the extracting unit generates a software indicating updated software and an updated version each time the software update executing unit performs software update Pairing the update identifier, and each time the software update execution unit performs the file update of the shared file, extracting the difference from the shared file before the file update, and updating the identifier of the software update accompanied by the file update and the extracted file The information generation unit analyzes the relationship between the software update of the plurality of softwares executed by the software update execution unit and the file update of the shared file, and confirms the updated software in the software update every time the software is updated. The version of the shared file used in the updated version, and the differential selection is generated The update identifier of each software update is displayed in the order of the software update executed by the software update execution unit, and the corresponding indicator information is indicated for each update identifier, and is used to indicate the update of the software represented by the update identifier. An update identifier corresponding to the difference between the version of the shared file used in the later version and the difference of the next version; the differential installer generating unit generates a differential installer including the selection program, the plural number represented by the difference selection information In the update identifier, an update identifier corresponding to the pair of software installed in the user environment and its version is extracted, and the indicator information corresponding to the extracted update identifier is selected. The difference corresponding to the indicated update identifier is the difference obtained in the file update performed along with the software update executed in the user environment. 如申請專利範圍第3項所記載的資訊處理裝置,其中:該差分安裝器產生部,產生包含選擇程式的差分安裝器,其從該差分選擇資訊所表示的複數更新識別子當中,抽出與已安裝於該使用者環境中的軟體和其版本之配對一致的更新識別子以作為第1更新識別子,並抽出在該使用者環境中執行之軟體更新中所更新的軟體及其更新後的版本的配對一致的更新識別子以作為第2更新識別子,選擇該第1更新識別子對應之指標資訊所指示的更新識別子所對應之差分,以及該差分選擇資訊中該第1更新識別子和該第2更新識別子之間的中間更新識別子所對應的指標資訊所指示的更新識別子對應之差分,以作為該使用者環境中執行的軟體更新所伴隨職執行之檔案更新中所取得的差分。 The information processing device according to claim 3, wherein the difference installer generating unit generates a differential installer including a selection program, and extracts and installs from the plurality of update identifiers indicated by the difference selection information. And updating the identifier of the software in the user environment and the version thereof as the first update identifier, and extracting the matching of the software updated in the software update executed in the user environment and the updated version thereof The update identifier is used as the second update identifier, and selects a difference corresponding to the update identifier indicated by the indicator information corresponding to the first update identifier, and between the first update identifier and the second update identifier in the difference selection information. The difference corresponding to the update identifier indicated by the indicator information corresponding to the intermediate update identifier is used as the difference obtained in the file update performed by the software update executed in the user environment. 如申請專利範圍第4項所記載的資訊處理裝置,其中:該差分安裝器產生部,產生包含選擇程式的差分安裝器,其在該差分選擇資訊中的該第1更新識別子和該第2更新識別子之間的中間更新識別子所對應的指標資訊所指示的更新識別子為其他的中間更新識別子或該第2更新識別子的情況下,選取該其他中間更新識別子或該第2更新識別子所對應之差分,以作為在該使用者環境中執行的軟體更新所伴隨執行的檔案更新中所取得的差分。 The information processing device according to claim 4, wherein the difference installer generating unit generates a differential installer including a selection program, wherein the first update identifier and the second update in the difference selection information When the update identifier indicated by the indicator information corresponding to the intermediate update identifier between the identifiers is another intermediate update identifier or the second update identifier, the difference between the other intermediate update identifier or the second update identifier is selected. The difference obtained in the file update performed as a software update executed in the user environment. 如申請專利範圍第1項所記載的資訊處理裝置,其中: 該差分安裝器產生部產生差分安裝器,其包含該選擇程式、該抽出部所抽出的複數差分、以及該差分選擇資訊。 The information processing device of claim 1, wherein: The differential installer generating unit generates a differential mounter including the selection program, a complex difference extracted by the extraction unit, and the difference selection information. 如申請專利範圍第1項所記載的資訊處理裝置,其中:該差分安裝器產生部產生差分安裝器,其包含各軟體中固有的固有檔案之檔案更新所造成的其與檔案更新前的該固有檔案之差分。 The information processing device according to claim 1, wherein the difference installer generating unit generates a difference installer that includes the inherent update of the file of the unique file inherent in each software and the file before the file update The difference between the files. 一種資訊處理方法,其包括:每當共同使用共有檔案的複數軟體進行軟體更新時伴隨進行的該共有檔案的檔案更新時,電腦抽出因為檔案更新而造成的和檔案更新前的該共有檔案之差分;該電腦解析該等複數軟體的軟體更新和該共有檔案的檔案更新的關係,核對使用者環境中執行軟體更新時伴隨執行的檔案更新中所取得的差分和已安裝於該使用者環境中的軟體之版本,藉此以產生可選取的差分選擇資訊;及該電腦產生包含選擇程式的差分安裝器,其核對已安裝於該使用者環境的軟體之版本和該差分選擇資訊,選擇在該使用者環境中執行的軟體更新時伴隨執行的檔案更新中所取得的差分。 An information processing method includes: when the file of the shared file is updated when the software of the shared file is commonly used for software update, the computer extracts the difference between the file and the file before the file is updated. The computer analyzes the relationship between the software update of the plurality of softwares and the file update of the shared file, and checks the difference obtained in the file update performed in the execution of the software update in the user environment and is installed in the user environment. a version of the software for generating selectable differential selection information; and the computer generates a differential installer including a selection program that checks the version of the software installed in the user environment and the differential selection information for selection The difference obtained in the file update performed in the software update executed in the environment. 一種資訊處理程式產品,其使電腦執行下述處理:抽出處理,每當共同使用共有檔案的複數軟體進行軟體更新時伴隨進行的該共有檔案的檔案更新時,抽出因為檔案更新而造成的和檔案更新前的該共有檔案之差分;資訊產生處理,解析該等複數軟體的軟體更新和該共有檔案的檔案更新的關係,核對使用者環境中執行的軟體更新 時伴隨執行的檔案更新中所取得的差分和已安裝於該使用者環境中的軟體之版本,藉此以產生可選取的差分選擇資訊;及差分安裝器產生處理,產生包含選擇程式的差分安裝器,其核對已安裝於該使用者環境的軟體之版本和該差分選擇資訊,選擇在該使用者環境中執行的軟體更新時伴隨執行的檔案更新中所取得的差分。 An information processing program product for causing a computer to perform the following processing: extracting processing, and extracting a file due to file update when the file update of the shared file is accompanied by the software update of the shared file in common use The difference between the shared files before the update; the information generation processing, analyzing the relationship between the software update of the complex software and the file update of the shared file, and checking the software update executed in the user environment The difference between the file update performed and the version of the software installed in the user environment, thereby generating selectable differential selection information; and the differential installer generation process to generate a differential installation including the selection program The device checks the version of the software installed in the user environment and the difference selection information, and selects the difference obtained in the file update that is executed when the software update is executed in the user environment.
TW105114838A 2016-02-26 2016-05-13 Information processing device, information processing method and information processing program product TWI612471B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2016/055815 WO2017145357A1 (en) 2016-02-26 2016-02-26 Information processing device, information processing method, and information processing program

Publications (2)

Publication Number Publication Date
TW201730744A true TW201730744A (en) 2017-09-01
TWI612471B TWI612471B (en) 2018-01-21

Family

ID=59684895

Family Applications (1)

Application Number Title Priority Date Filing Date
TW105114838A TWI612471B (en) 2016-02-26 2016-05-13 Information processing device, information processing method and information processing program product

Country Status (4)

Country Link
JP (1) JPWO2017145357A1 (en)
CN (1) CN108701063A (en)
TW (1) TWI612471B (en)
WO (1) WO2017145357A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6930949B2 (en) * 2018-08-02 2021-09-01 株式会社日立製作所 Software distribution system, software distribution server, and software distribution method

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8255361B2 (en) * 2003-01-31 2012-08-28 Oracle America, Inc. Method and system for validating differential computer system update
US7509636B2 (en) * 2003-12-15 2009-03-24 Microsoft Corporation System and method for updating files utilizing delta compression patching
JP4770242B2 (en) * 2005-04-07 2011-09-14 三菱電機株式会社 Software update information distribution system and software update information distribution method
CN101102577B (en) * 2006-07-07 2010-12-08 中兴通讯股份有限公司 Incremental synchronization method for data in tables of frontground and background database of wireless communication base station system
CN101699399B (en) * 2009-11-03 2014-04-30 中兴通讯股份有限公司 Software update system and method
CN101937348A (en) * 2010-08-20 2011-01-05 四川长虹电器股份有限公司 TV software online increment updating method
CN102841897B (en) * 2011-06-23 2016-03-02 阿里巴巴集团控股有限公司 A kind of method, Apparatus and system realizing incremental data and extract
US9038053B2 (en) * 2012-08-27 2015-05-19 Lenovo Enterprise Solutions (Singapore) Pte. Ltd Non-disruptive software updates for servers processing network traffic
CN104516744A (en) * 2013-09-27 2015-04-15 无锡华润微电子有限公司 Software updating method and system

Also Published As

Publication number Publication date
CN108701063A (en) 2018-10-23
TWI612471B (en) 2018-01-21
WO2017145357A1 (en) 2017-08-31
JPWO2017145357A1 (en) 2018-06-07

Similar Documents

Publication Publication Date Title
WO2021169277A1 (en) Data synchronization method, apparatus and device, and computer-readable storage medium
JP6521402B2 (en) Method for updating data table of KeyValue database and apparatus for updating table data
US8332431B2 (en) Configuration information management apparatus, configuration information management program, and configuration information management method
CN108897496B (en) Disk array configuration management method and device, computer equipment and storage medium
TWI664621B (en) Management of display inputs
US20230195441A1 (en) Systems and methods for non-disruptive continuous software delivery
CN104765621A (en) Method and system for deploying program on cluster node
JP6421249B2 (en) Method and computer system for supporting debugging
TWI262419B (en) System and method for compiling documents and tracking technology changes in a semiconductor manufacturing environment using a document generation engine
TWI612471B (en) Information processing device, information processing method and information processing program product
JP2015191633A (en) Production planning support program, production planning support method, and production planning support apparatus
US9588998B2 (en) Protecting storage data during system migration
CN111368425A (en) Method and device for analyzing interface relation by using block diagram tool
US11741055B2 (en) Managing file revisions from multiple reviewers
JP2022188197A (en) Programmable logic controller, terminal device, program management system, program management method and program
JP7246301B2 (en) Program development support system and program development support method
CN104951450A (en) Information processing method and system
Vinceti et al. An interactive web application for processing, correcting, and visualizing genome-wide pooled CRISPR-Cas9 screens
JP6157375B2 (en) Operation procedure flow update device, method and program
US20190005077A1 (en) Retrieval system and retrieval apparatus
US11886277B2 (en) Systems, apparatuses, and methods for assessing recovery viability of backup databases
CN114339442B (en) Method and device for configuring multimedia channels, electronic equipment and storage medium
CN110990475B (en) Batch task inserting method and device, computer equipment and storage medium
US20150317385A1 (en) Scalable and distributed business object configuration properties
JP6606876B2 (en) Information processing apparatus and information processing method

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees