JP4621709B2 - Version management system and program version management method - Google Patents
Version management system and program version management method Download PDFInfo
- Publication number
- JP4621709B2 JP4621709B2 JP2007148075A JP2007148075A JP4621709B2 JP 4621709 B2 JP4621709 B2 JP 4621709B2 JP 2007148075 A JP2007148075 A JP 2007148075A JP 2007148075 A JP2007148075 A JP 2007148075A JP 4621709 B2 JP4621709 B2 JP 4621709B2
- Authority
- JP
- Japan
- Prior art keywords
- area
- source file
- version
- program
- management server
- 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.)
- Expired - Lifetime
Links
Images
Description
本発明は、プログラム等のバージョンを管理するための技術に関し、特に、現用機で動作しているプログラムとバージョン管理のために把握している最新バージョンとの整合性を保つための技術に関する。 The present invention relates to a technique for managing versions of programs and the like, and more particularly, to a technique for maintaining consistency between a program operating on an active machine and the latest version grasped for version management.
大規模なシステムにおいて、プログラムの登録、払い出しにおいて、プログラム管理者が不在であっても緊急時などでもスムーズに運用できるよう、プログラムの状態などを記憶したプログラム履歴テーブルを用いて行う方法が特許文献1に記載されている。 Patent Literature: A method that uses a program history table that stores program status and so on so that it can be smoothly operated in a large-scale system even when a program administrator is absent or in an emergency, when registering and paying out a program 1.
また、大分散型エンタープライズ環境において、コンピューティング資源を効果的に管理する方法が特許文献2に記載されている。
ここで、プログラム等のバージョンアップを行う場合には、プログラムのソースファイルを修正、更新するという作業がある。そして、同一のプログラムが複数のコンピュータで動作しているような大規模システムでは、この修正、更新されたソースファイルを、それらの複数のコンピュータに配布して更新しなければならない。 Here, when upgrading a program or the like, there is an operation of correcting and updating the source file of the program. In a large-scale system in which the same program operates on a plurality of computers, the corrected and updated source files must be distributed and updated on the plurality of computers.
また、バージョンアップ作業直後はミスに気付かず、時間が経ってからそのミスに気付くこともある。このようなときのために、過去のバージョンアップの履歴を管理することは重要である。 In addition, immediately after the version upgrade work, the mistake is not noticed, and the mistake may be noticed after a while. For such a case, it is important to manage the history of past version upgrades.
しかし、何らかの事情で実際に動作しているプログラムと、システムで把握している最新バージョンとが一致しなくなることがある。このようなときには、整合をとってバージョン管理を正しく行う必要がある。 However, the program that is actually running for some reason may not match the latest version that is grasped by the system. In such a case, it is necessary to properly perform version management with consistency.
本発明の目的は、プログラムのバージョンアップの履歴と実際の動作環境との整合をとるためのシステム等を提供することである。 An object of the present invention is to provide a system or the like for matching the history of program upgrades with the actual operating environment.
請求項1記載のバージョン管理システムは、開発管理サーバと、現用機管理サーバと、現用機と、を備え、前記現用機にて動作させるプログラムのバージョン管理を行うバージョン管理システムであって、開発管理サーバと現用機管理サーバは、アクセス権限が設定され、開発管理サーバ側から現用機管理サーバ側へ修正内容が確定したバージョンアップ ソースファイルをコピーするための記憶領域である凍結エリアを各々に備え、前記現用機 サーバは更に、プログラムのソースファイルのバージョン管理を行う資源管理エリアと、 前記現用機で動作しているプログラムの識別情報を定期的に取得する識別情報取得手段と 、前記資源管理エリアに記憶されているソースファイルの識別情報と前記識別情報取得手 段によって取得した識別情報とに基づいて、現用機で動作しているプログラムと前記資源 管理エリアに記録される最新バージョンのプログラムとの差分を抽出する差分抽出手段と 、前記差分抽出手段で差分が抽出されると、当該差分に相当するプログラムのソースファ イルを前記現用機から取得する差分ファイル取得手段と、取得した差分に相当するソース ファイルを最新バージョンのプログラムのソースファイルとして前記資源管理エリアに格 納する最新バージョンソースファイル記録手段と、
を備えることを特徴とする。The version management system according to claim 1 , comprising a development management server, an active machine management server, and an active machine, wherein the version management system performs version management of a program operated on the active machine. The server and the active machine management server are each provided with a freezing area that is a storage area for copying the upgrade source file whose access authority is set and the correction contents are confirmed from the development management server side to the active machine management server side , The active server further includes a resource management area that performs version management of a program source file, identification information acquisition means that periodically acquires identification information of a program operating on the active device, and a resource management area. the identification information acquired identification information of the stored source files and by the identification information acquiring hand stage Based on the difference extracting means for extracting the difference between the latest version of the program with the program running on the working machine is recorded in the resource management area, when the difference is extracted by the difference extraction means, of the difference a difference file acquiring means for acquiring a source file of the corresponding program from the current machine, the latest version of the source file recording means store in the resource management area source file corresponding to the acquired difference as the source file of the latest version of the program When,
It is characterized by providing .
請求項2記載のバージョン管理システムは、請求項1に記載のバージョン管理システムであって、前記開発管理サーバが、バージョンアップ対象のソースファイルを格納する記憶領域である納品エリアと、バージョンアップのための修正ソースファイルが格納される記憶領域であるワークエリアと、を備え、前記開発管理サーバに対して差分情報を指定したバージョンアップ指示があった場合であって前記ワークエリアに修正後ソースファイルが格納された場合に、前記開発管理サーバによって、当該ワークエリアの修正後ソースファイルと前記納品エリアのソースファイルとを比較して両者の差分ファイルを生成し、当該差分ファイルと前記差分情報を比較し、この比較の結果両者が一致した場合に、前記修正後ソースファイルを、前記内容が確定したソースファイルとして開発管理サーバの前記凍結エリアに格納することを特徴とする。A version management system according to
請求項3記載のバージョン管理システムは、請求項1または2に記載のバージョン管理The version management system according to
請求項4記載のプログラムバージョン管理方法は、開発管理サーバと、現用機管理サーバと、現用機と、を備え、前記現用機にて動作させるプログラムのバージョン管理を行うバージョン管理システムであって、開発管理サーバと現用機管理サーバは、アクセス権限が設定され、開発管理サーバ側から現用機管理サーバ側へ修正内容が確定したバージョン アップソースファイルをコピーするための記憶領域である凍結エリアを各々に備え、前記 現用機サーバは更に、プログラムのソースファイルのバージョン管理を行う資源管理エリ アを備えているバージョン管理システムを利用したプログラムバージョン管理方法におい て、開発管理サーバを使用して修正したソースファイルであってバージョンアップのために修正されてその内容が確定したソースファイルを、前記開発管理サーバが備える凍結エリアに格納するステップと、当該開発管理サーバの凍結エリアから前記現用機管理サーバの凍結エリアへ前記バージョンアップソースファイルをコピーするステップと、前記現用機に対して前記現用機管理サーバの凍結エリアから前記バージョンアップソースファイルを送信するステップと、前記現用機で動作しているプログラムの識別情報を定期的に取得 するステップと、前記現用機から前記識別情報を取得すると、資源管理エリアに記憶され ているソースファイルの識別情報と前記現用機から取得した識別情報とに基づいて、現用 機で動作しているプログラムと前記資源管理エリアに記憶される最新バージョンのプログ ラムとの差分を抽出するステップと、当該差分に相当するプログラムのソースファイルを 前記現用機から取得するステップと、取得した差分に相当するソースファイルを最新バー ジョンのプログラムのソースファイルとして前記資源管理エリアに格納するステップと、を備えることを特徴とする。A program version management method according to claim 4 , comprising a development management server, an active machine management server, and an active machine, wherein the version management system performs version management of a program operated on the active machine. The management server and active machine management server each have a freezing area, which is a storage area for copying the version- up source file for which the access authority has been set and the correction details are confirmed from the development management server side to the active machine management server side the active machine server further program source file version control system comprising a resource management area a which manages versions of the source files Te utilization for the program version management method odor was modified using develop management server But it was fixed for version upgrade and the contents were confirmed Storing the source file in a freezing area of the development management server, copying the version-up source file from the freezing area of the development management server to the freezing area of the active machine management server, and the active machine A step of transmitting the upgrade source file from the freezing area of the active machine management server, a step of periodically acquiring identification information of a program operating on the active machine, and the identification information from the active machine Is acquired based on the identification information of the source file stored in the resource management area and the identification information acquired from the active machine, and the latest version stored in the resource management area and the program running on the active machine extracting a difference between the programs, it flops corresponding to the difference Acquiring a source file of grams from the working machine, characterized in that it comprises the steps of: storing in the resource management area source file corresponding to the acquired difference as the source file of the latest version of the program.
本発明に係る他の第1の発明は、現用機の管理をする管理装置であって、最新世代プログラムのソースファイルを記憶する手段と、前記現用機で動作しているプログラムの識別情報を、定期的に取得する手段と、前記記憶手段に記憶されているソースファイルの識別情報と前記現用機から取得した識別情報とに基づいて、現用機で動作しているプログラムと最新世代プログラムとの差分を抽出する手段と、前記抽出手段で差分が抽出されると、前記差分に相当するプログラムのソースファイルを前記現用機から取得する手段と、前記取得したソースファイルを、前記記憶手段に最新世代プログラムのソースファイルとして格納する手段と、前記記憶手段に記憶されている最新世代プログラムのソースファイルを、前記管理装置に接続されている、最新世代プログラムのソースファイルを管理する他の管理装置へ転送する手段とを備えることを特徴とする。 Another first invention according to the present invention is a management device for managing an active machine, comprising means for storing a source file of a latest generation program, and identification information of a program operating on the active machine, The difference between the program operating on the current machine and the latest generation program based on the means for periodically acquiring, the identification information of the source file stored in the storage means and the identification information acquired from the current machine And when the difference is extracted by the extracting means, a means for acquiring a source file of a program corresponding to the difference from the working machine, and the acquired source file in the storage means And a source file of the latest generation program stored in the storage means is connected to the management device. , Characterized in that it comprises a means for transferring to the other management device for managing the source files of the latest generation program.
本発明に係る他の第2の発明は、上記第1の発明たる管理装置であって、前記記憶手段は、最新世代プログラムのソースファイルを記憶する最新世代領域と、最新世代よりも前の世代のファイルを記憶する旧世代記憶領域とを有し、前記格納手段は、前記取得したソースファイルと対応する、前記最新世代記憶領域のソースファイルを前記旧世代記憶領域の対応するファイルに上書きし、その後、前記取得したソースファイルを最新世代記憶領域の対応するソースファイルに上書きすることを特徴とする。 Another second invention according to the present invention is the management device according to the first invention, wherein the storage means includes a latest generation area for storing a source file of the latest generation program, and a generation before the latest generation. An old generation storage area for storing the file, and the storage means overwrites the source file of the latest generation storage area corresponding to the acquired source file on the corresponding file of the old generation storage area, Thereafter, the acquired source file is overwritten on the corresponding source file in the latest generation storage area.
本発明に係る他の第3の発明は、上記第1の発明たる管理装置であって、前記プログラムの識別情報は、少なくともプログラム名、サイズ、および更新日時を含むことを特徴とする。 Another third invention according to the present invention is the management apparatus according to the first invention, wherein the identification information of the program includes at least a program name, a size, and an update date.
本発明に係る他の第4の発明は、現用機を管理する管理装置のための方法であって、前記現用機で動作しているプログラムの識別情報を定期的に取得するステップと、前記現用機から前記識別情報と取得すると、最新世代プログラムのソースファイルを記憶する記憶手段に記憶されているソースファイルの識別情報と前記現用機から取得した識別情報とに基づいて、現用機で動作しているプログラムと最新世代プログラムとの差分を抽出するステップと、前記差分に相当するプログラムのソースファイルを前記現用機から取得するステップと、前記取得したソースファイルを、前記管理装置に接続されている、最新世代プログラムのソースファイルを管理する他の管理装置へ転送するステップとを備えることを特徴とする。 According to another fourth aspect of the present invention, there is provided a method for a management apparatus for managing an active machine, the step of periodically obtaining identification information of a program operating on the active machine, and the active machine When the identification information is acquired from the machine, the current machine operates based on the identification information of the source file stored in the storage means for storing the source file of the latest generation program and the identification information acquired from the active machine. Extracting the difference between the current program and the latest generation program, obtaining the source file of the program corresponding to the difference from the active machine, and connecting the obtained source file to the management device, Transferring the source file of the latest generation program to another management apparatus that manages the source file.
本発明の一つの実施態様に従う、現用機の管理をする管理装置は、最新世代プログラムのソースファイルを記憶する手段と、前記現用機で動作しているプログラムの識別情報を、定期的に取得する手段と、前記記憶手段に記憶されているソースファイルの識別情報と前記現用機から取得した識別情報とに基づいて、現用機で動作しているプログラムと最新世代プログラムとの差分を抽出する手段と、前記抽出手段で差分が抽出されると、前記差分に相当するプログラムのソースファイルを前記現用機から取得する手段と、前記取得したソースファイルを、前記記憶手段に最新世代プログラムのソースファイルとして格納する手段と、前記記憶手段に記憶されている最新世代プログラムのソースファイルを、前記管理装置に接続されている、最新世代プログラムのソースファイルを管理する他の管理装置へ転送する手段とを備える。 According to one embodiment of the present invention, a management apparatus for managing an active machine periodically acquires means for storing a source file of a latest generation program and identification information of a program operating on the active machine. Means for extracting a difference between the program running on the current machine and the latest generation program based on the identification information of the source file stored in the storage means and the identification information acquired from the current machine; When the difference is extracted by the extraction means, means for acquiring a source file of a program corresponding to the difference from the current machine, and storing the acquired source file as a source file of the latest generation program in the storage means And a source file of the latest generation program stored in the storage means, connected to the management device, And means for transferring to the other management device for managing the source file generation program.
好適な実施形態では、前記記憶手段は、最新世代プログラムのソースファイルを記憶する最新世代領域と、最新世代よりも前の世代のファイルを記憶する旧世代記憶領域とを有し、前記格納手段は、前記取得したソースファイルと対応する、前記最新世代記憶領域のソースファイルを前記旧世代記憶領域の対応するファイルに上書きし、その後、前記取得したソースファイルを最新世代記憶領域の対応するソースファイルに上書きするようにしてもよい。 In a preferred embodiment, the storage means has a latest generation area for storing a source file of the latest generation program, and an old generation storage area for storing a file of a generation before the latest generation, and the storage means , Overwriting the source file of the latest generation storage area corresponding to the acquired source file with the corresponding file of the old generation storage area, and then replacing the acquired source file with the corresponding source file of the latest generation storage area It may be overwritten.
好適な実施形態では、前記プログラムの識別情報は、少なくともプログラム名、サイズ、および更新日時を含むようにしてもよい。 In a preferred embodiment, the program identification information may include at least a program name, a size, and an update date / time.
以下、本発明を適用したバージョンアップ管理システムの一実施形態について、図面を用いて説明する。 Hereinafter, an embodiment of a version upgrade management system to which the present invention is applied will be described with reference to the drawings.
図1は本システムの全体構成を示す図である。本システムは、開発管理サーバ1および現用機管理サーバ2の二つの管理サーバを有する。そして、現用機管理サーバ2は、インターネットまたは専用回線などのネットワーク9を介して複数の現用機3と接続されていて、これらを管理する。現用機3では、例えば、複数のコンピュータプログラムが動作していて、顧客に対して種々のサービスを提供する。各現用機3は、それぞれ独立に動作することができる。 FIG. 1 is a diagram showing the overall configuration of the present system. This system has two management servers, a development management server 1 and an active
開発管理サーバ1には、バージョンアップ指示の入力を受け付けるバージョンアップ指示端末4と、管理者端末5とが接続されている。 The development management server 1 is connected to a version upgrade instruction terminal 4 that receives an input of a version upgrade instruction and an administrator terminal 5.
現用機管理サーバ2には、管理者端末6が接続されている。ネットワーク9には、さらに緊急バージョンアップを行うための緊急端末7が接続されている。 An administrator terminal 6 is connected to the active
開発管理サーバ1、現用機管理サーバ2、バージョンアップ指示端末4、管理者端末5、6および緊急端末7は、いずれも例えば汎用的なコンピュータシステムにより構成され、以下に説明する各サーバおよび端末の内の個々の構成要素または機能は、例えば、コンピュータプログラムを実行することにより実現される。 The development management server 1, the active
開発管理サーバ1は、その内部機能として、ユニークな管理番号を自動採番する採番データベース11と、バージョンアップ対象ファイルを一時的に記憶するための納品エリアと、バージョンアップ対象ファイルの編集を行うためのワークエリア13と、ソースプログラムの編集を行うためのエディタ14と、現用機で動作している、最新世代プログラムのソースファイルを記憶するための最新世代エリア15と、バージョンアップされた(修正された)ファイルを記憶するための凍結エリア16とを有する。 As its internal functions, the development management server 1 performs a
現用機管理サーバ2は、開発管理サーバ1で凍結されたファイルの転送を受けたとき、それを記憶するための凍結エリア21と、プログラムのソースファイルを世代管理するための資源管理エリア22と、第3世代の資源を格納するための第3世代エリア23と、緊急変更があったときに現用機3から送られてくる緊急変更されたファイルを一時的に記憶するための緊急変更エリア24とを備える。 When the active
凍結エリア16、21は、それぞれ、特定の管理者だけがアクセス可能なようにアクセス権限が設定されている記憶領域である。凍結エリア16にアクセスできる管理者と凍結エリア21にアクセスできる管理者は、同一の者でもあってもいいし、別の者でもよい。後述するように、凍結エリア16、21は、バージョンアップのために修正され、その内容が確定したソースファイルを記憶するための領域であり、不正に書き換えられることを防止する機密保護機能を有する。 The
資源管理エリア22は、バージョンアップが繰り返されるプログラムのソースファイルの世代管理をするための記憶領域である。資源管理エリア22には、複数種類のファイルについて、それぞれの最新ファイルを記憶する最新世代エリア221と、最新世代よりも前の世代のファイルを記憶する旧世代記憶エリアとして第1世代エリア222と、第2世代エリア223とがある。つまり、現用機管理サーバ2は、最新世代を含めた上記3世代分のソースファイルを世代管理する。 The
第3世代エリア23は、現用機管理サーバ2として管理対象とはならない第2世代よりもさらに1世代前の第3世代のソースファイルを記憶するためのエリアである。第3世代エリア23は、隠しデータベースとしてもよい。 The
上記の構成を備えるシステムにおいて、現用機3で動作するプログラムのバージョンアップを行うときの処理について説明する。 In the system having the above-described configuration, processing when upgrading the program operating on the
<バージョンアップ指示>
開発管理サーバ1は、図2に示すような手順で、現用機3で動作しているプログラムのバージョンアップ指示を受け付ける。<Upgrade instruction>
The development management server 1 receives a version upgrade instruction for a program running on the
バージョンアップの指示入力は、バージョンアップ指示端末4に対して行われる(S11)。例えば、作業者がバージョンアップ指示端末4の図示しない入出力装置を用いて、バージョンアップ作業依頼入力画面(以下、入力画面という)からバージョンアップの作業依頼情報を入力する。 The upgrade instruction is input to the upgrade instruction terminal 4 (S11). For example, the worker inputs upgrade request information from an upgrade request input screen (hereinafter referred to as an input screen) using an input / output device (not shown) of the upgrade instruction terminal 4.
入力画面100には、例えば、図3に示すように、以下の項目についての入力領域を備える。すなわち、入力画面100には、対象システム名101、リリース予定日102、バージョンアップ作業開始および終了日時103、優先順位104、影響度105、バージョンアップ対象ファイル名106、対象現用機107、バージョンアップ指示責任者108、バージョンアップ作業責任者109、作業指示書110、および差分エビデンス111の各入力領域がある。 For example, as shown in FIG. 3, the
ここで、優先順位104とは、複数のファイルのバージョンアップを行う場合、そのバージョンアップの作業に順序性があるときに、作業の順序を入力する。 Here, with respect to the
バージョンアップ対象ファイル名106でバージョンアップ対象プログラムを識別することができる。 The upgrade target program can be identified by the upgrade
作業指示書110には、予め作成されているバージョンアップ作業の詳細な手順を記したドキュメントのファイル名等が入力される。 In the
差分エビデンス111には、バージョンアップ対象となるソースファイルの修正前と修正後の差分を示すファイルのファイル名等が入力される。例えば、バージョンアップ指示者等が、予めテスト環境などでバージョンアップの確認したときに生成されたものである。後述するように、バージョンアップ作業の正当性を確認するときに用いられる。 In the
入力画面100で必要な情報が入力されると、バージョンアップ指示端末4は、採番データベース11から、このバージョンアップ作業に対する管理番号を採番する(S12)。 When necessary information is input on the
バージョンアップ指示端末4は、最新世代エリア15からバージョンアップ対象ファイル名106で特定されるソースファイルを抽出するよう指示をする(S13)。 The upgrade instruction terminal 4 instructs to extract the source file specified by the upgrade
そして、バージョンアップ指示端末4は、入力画面100で入力された作業依頼情報を開発管理サーバ1へ転送し、作業依頼情報およびステップS13の指示によって抽出されたソースファイルを対応付けて納品エリア12に格納する(S14)。このとき、さらに、作業指示書110および差分エビデンス111を対応付けてもよい。 Then, the upgrade instruction terminal 4 transfers the work request information input on the
これでバージョンアップ作業の準備が完了するので、バージョンアップ指示端末4から開発管理サーバ1へバージョンアップ作業の開始指示が通知される(S15)。 Since the preparation for the upgrade work is completed, the upgrade instruction start instruction is sent from the upgrade instruction terminal 4 to the development management server 1 (S15).
<バージョンアップ資源作成>
つぎに、バージョンアップを行うための凍結ファイルの作成手順について図4を用いて説明する。ここで、凍結ファイルとは、ソースファイルを修正、変更が完了し、これ以上変更されたくない状態のファイルをいう。<Create upgrade resources>
Next, a procedure for creating a frozen file for version upgrade will be described with reference to FIG. Here, the frozen file means a file in which the source file has been corrected and changed and is not desired to be changed any more.
まず、開発管理サーバ1は、納品エリア12に記憶されているバージョンアップ対象のソースファイルをワークエリア13へコピーする(S21)。そして、バージョンアップ作業者が、管理者端末5を用いてエディタ14を起動し、ワークエリア13のソースファイルを修正、更新する(S22)。この修正は、作業指示書に従って行う。修正後のソースファイルは、ワークエリア13に記憶される。 First, the development management server 1 copies the source file to be upgraded stored in the
修正作業が終了すると、開発管理サーバ1は、修正前のソースファイルと修正後のソースファイルとを比較して、両者の相違を示す差分ファイルを生成する(S23)。 When the correction work is completed, the development management server 1 compares the source file before the correction with the source file after the correction, and generates a difference file indicating the difference between the two (S23).
そして、開発管理サーバ1は、ここで生成された差分ファイルと、入力画面で指定された差分エビデンス111とを比較する(S24)。この比較の結果、両者が一致しない場合は(S24:NG)、メッセージウィンドウを出力するなどして作業者へその旨を報知し、ステップS22以降を繰り返す。一方、この比較の結果が一致した場合は(S24:OK)、凍結エリア16にアクセス権限が与えられている特定の管理者の指示に基づいて、修正後のソースファイルを凍結エリア16へコピーする。 Then, the development management server 1 compares the difference file generated here with the
これにより、バージョンアップ対象のソースファイル(凍結ファイル)が確定し、機密性の高い凍結エリア16に格納される。凍結エリア16に確定したファイルを保存することにより、誤ってファイルが書き換えられてしまったり、故意に書き換えられてしまったりする可能性も低くなり、よりセキュリティの高い状態で保存される。 As a result, the source file (frozen file) to be upgraded is determined and stored in the
<バージョンアップ資源変更>
次に、ファイル凍結後に、現用機で実際に動作しているプログラムを更新する手順について、図5および図6を用いて説明する。以下の処理は、例えば、作業者が管理者端末6から所定のコマンドを入力して行うこともできる。<Upgrade resource change>
Next, a procedure for updating a program that is actually running on the active machine after the file is frozen will be described with reference to FIGS. The following processing can also be performed by, for example, an operator inputting a predetermined command from the administrator terminal 6.
まず、開発管理サーバ1の凍結エリア16から現用機管理サーバ2の凍結エリア21へ凍結されたソースファイルをコピーする(S31)。このとき、作業依頼情報および作業指示書をあわせてコピーしてもよい。そして、凍結エリア21に記憶されているソースファイルのリスト、つまりバージョンアップ対象のプログラムのリストを出力する(S32)。 First, the frozen source file is copied from the freezing
このファイルリストには、例えば、ファイル名(フォルダ名を含む)、ファイルサイズ、ファイルの更新日時などのファイルの識別情報が含まれる。なお、これ以降の説明で生成されるファイルリストも、これと同様の項目を含む。 This file list includes, for example, file identification information such as a file name (including a folder name), a file size, and a file update date / time. The file list generated in the following description includes the same items.
現用機管理サーバ2は、凍結エリア21に記憶されているソースファイルを更新対象の現用機3へ送信する(S33)。現用機3は、送信されたファイルを受信する。 The active
そして、現用機管理サーバ2は、現用機3に対して受信したプログラムのファイルリスト生成および送信を指示し、各現用機3からファイルリストを取得する(S34)。このリストを確認することにより、現用機3へのファイル転送が問題なく行われたことを確認する。 Then, the active
この後、現用機3に対して、現用機3で現在動作しているプログラムのソースファイル等のバックアップを指示する(S35)。この指示を受けた現用機3は、それぞれ、現在の環境をバックアップする。 Thereafter, the
そして、現用機管理サーバ2は、ステップS33で各現用機3に新たに送り込んだプログラムに更新(バージョンアップ)するよう指示をする(S36)。この指示を受けた現用機3は、指示に従ってプログラムを更新(バージョンアップ)する。このとき、必要に応じて実行形式のプログラムへの変換などを行う。 Then, the active
現用機管理サーバ2は、現用機3に対してバージョンアップ後のプログラムのファイルリスト生成および送信を指示し、各現用機3からファイルリストを取得する(S37)。 The active
ここで、ステップS32で生成したファイルリストとステップS37で取得したファイルリストとを比較する(S38)。比較の結果、両者が一致しなかったときは(S38:NG)、ステップS33以降を繰り返す。比較の結果、両者が一致したときは(S38:OK)、ステップS37で取得したファイルリストを保存し、現用機3へ再起動を指示する(S39,S40)。現用機3が正常に動作したときは、そのまま終了する(S41:OK)。現用機3が正常に動作しなかったときは、ステップS33でバックアップしたデータに基づいて、バージョンアップ前の環境を復旧して、再起動するように指示をする(S42)。 Here, the file list generated in step S32 is compared with the file list acquired in step S37 (S38). As a result of the comparison, if the two do not match (S38: NG), step S33 and subsequent steps are repeated. As a result of the comparison, if the two match (S38: OK), the file list acquired in step S37 is stored, and the
以上に説明した手順を実行することにより、確実にバージョンアップを実行することができる。 By executing the procedure described above, the version upgrade can be executed reliably.
<世代管理>
次に、現用機管理サーバ2の資源管理エリア22には、各資源が複数世代分記憶されている。以上に説明したバージョンアップが終了すると、現用機との整合性をとるために、これらの世代交代を行う。以下、その処理手順について図7を用いて説明する。<Generation management>
Next, a plurality of generations of each resource are stored in the
バージョンアップが完了すると、第2世代エリア223に記憶されているバージョンアップ対象プログラムの第2世代のソースファイルを、第3世代エリア23へコピーする(S51)。この処理は、データベースをリネームするのではなく、バージョンアップがあったプログラムのソースファイルについてのみ、コピーを行う。以下、同様である。 When the upgrade is completed, the second generation source file of the upgrade target program stored in the second generation area 223 is copied to the third generation area 23 (S51). In this process, the database is not renamed, but only the source file of the program whose version has been upgraded is copied. The same applies hereinafter.
つぎに、第1世代エリア222に記憶されているバージョンアップ対象プログラムの第1世代のソースファイルを、第2世代エリア223の対応するファイルに上書きする(S52)。 Next, the first generation source file of the upgrade target program stored in the first generation area 222 is overwritten on the corresponding file in the second generation area 223 (S52).
つぎに、最新世代エリア221に記憶されているバージョンアップ対象プログラムの最新世代のソースファイルを、第1世代エリア222の対応するファイルに上書きする(S53)。 Next, the latest generation source file of the upgrade target program stored in the latest generation area 221 is overwritten on the corresponding file in the first generation area 222 (S53).
最後に、凍結エリア21に記憶されているバージョンアップ対象プログラムのソースファイルを、最新世代エリア221の対応するファイルに上書きする(S54)。 Finally, the source file of the upgrade target program stored in the freezing area 21 is overwritten on the corresponding file in the latest generation area 221 (S54).
上記処理でエラーが発生せず、正常に終了したか確認する(S55)。正常でない場合は(S55:NG)、ステップS51以降を繰り返す。正常の場合は(S55:OK)、開発管理サーバ1へファイル名等を通知し、開発管理サーバ1の最新世代エリア15のソースファイルを更新するよう指示をする(S56)。開発管理サーバ1は、この指示に従って、通知されたファイル名等で特定される、凍結エリア16に格納されているソースファイルを最新世代エリア15の対応するファイルに上書きする。 It is confirmed whether or not an error has occurred in the above processing and the processing has been completed normally (S55). If not normal (S55: NG), step S51 and subsequent steps are repeated. If it is normal (S55: OK), the development management server 1 is notified of the file name and the like, and an instruction is given to update the source file in the
これにより、開発管理サーバ1でも最新バージョンとの整合性が確保される。 Thereby, the development management server 1 also ensures consistency with the latest version.
<緊急変更>
以上、現用機3で動作するプログラムのバージョンアップのための通常の処理手順を説明した。しかし、実際のシステム運用においては、一刻も早くバージョンアップを行わなければならないときがある。そのようなときは、上記手順を踏むことによって要する時間すら惜しい。このようなときは、緊急変更端末7から直接現用機3のバージョンアップを行う緊急変更が行われる。以下、緊急変更手順について図8を用いて説明する。<Emergency change>
The normal processing procedure for upgrading the program operating on the
操作者の指示に基づいて、緊急変更端末7は現用機3に修正されたソースファイルを直接送信して、バージョンアップを行う(S61)。そして、緊急変更のバージョンアップが成功し、正常に動作するかどうかを確認する(S62)。 Based on the operator's instruction, the emergency change terminal 7 directly transmits the modified source file to the
正常でないときは(S62:No)、バージョンアップ前へ戻す(S63)。正常であるときは(S62:Yes)、現用機管理サーバ2は、最新世代エリア221のファイルリストを取得する(S65)。現用機3からは、現用機3で動作しているプログラムのファイルリストを取得する(S64)。これらのファイルリストを比較して、現用機3で動作しているプログラムと最新世代エリア221で管理されているプログラムとの差分を抽出して、緊急変更によってバージョンアップされたプログラムを特定する(S66)。 When it is not normal (S62: No), it returns to before version upgrade (S63). When it is normal (S62: Yes), the active
現用機管理サーバ2は、ここで特定された、そのバージョンアップ後のソースファイルをバージョンアップが行われた現用機3から取得して、緊急変更データベース24に格納する(S67)。そして、図7で説明した要領によって、現用機管理サーバ2の世代交代を行う(S68)。なお、図7のステップ54では、凍結エリア21に記憶されたソースファイルを最新世代エリアへコピーしているが、ここでは緊急変更データベース24に記憶されたソースファイルをコピーする。 The active
以上の手順により、緊急変更を行ったときでも、現用機管理サーバ2が管理するソースファイルの世代の整合性は担保される。 With the above procedure, even when an emergency change is made, the consistency of the generation of source files managed by the active
<整合性チェック>
つぎに、通常の運用を行っているときに、定期的に行うプログラムのバージョンチェックについて説明する。<Consistency check>
Next, a description will be given of a program version check periodically performed during normal operation.
現用機管理サーバ2の最新世代エリア221に格納されているプログラムのソースファイルと、現用機3で実際に動作しているプログラムとは対応がとれているのが原則である。しかし、何らかの理由でこの対応関係がずれてしまうことがあり得る。このような対応関係のずれを放置することは好ましくない。そこで、図9に示すような手順で整合性チェックを行い、対応関係を修復する。この処理は、定期的に起動されることが好ましい。 In principle, the source file of the program stored in the latest generation area 221 of the active
まず、図8に示したステップS64−S68を行って、現用機で動作しているプログラムと最新世代との差分ファイルを取得し、最新世代エリア221を現用機3に整合させる(S71)。 First, Steps S64 to S68 shown in FIG. 8 are performed to acquire a difference file between the program running on the current machine and the latest generation, and match the latest generation area 221 with the current machine 3 (S71).
ステップS71で取得した更新されたファイル名を開発管理サーバ1へ転送する(S72)。開発管理サーバ1は、転送されたファイルを自己の最新世代エリア15へコピーする。これにより、開発管理サーバ1のバージョンも、整合がとれた状態に回復する。 The updated file name acquired in step S71 is transferred to the development management server 1 (S72). The development management server 1 copies the transferred file to its
上述した本発明の実施形態は、本発明の説明のための例示であり、本発明の範囲をそれらの実施形態にのみ限定する趣旨ではない。当業者は、本発明の要旨を逸脱することなしに、他の様々な態様で本発明を実施することができる。 The above-described embodiments of the present invention are examples for explaining the present invention, and are not intended to limit the scope of the present invention only to those embodiments. Those skilled in the art can implement the present invention in various other modes without departing from the gist of the present invention.
1…開発管理サーバ、2…現用機管理サーバ、3…現用機、4…バージョンアップ指示端末、5、6…管理者端末、7…緊急端末、9…ネットワーク。DESCRIPTION OF SYMBOLS 1 ... Development management server, 2 ... Active machine management server, 3 ... Active machine, 4 ... Version upgrade instruction terminal, 5, 6 ... Administrator terminal, 7 ... Emergency terminal, 9 ... Network.
Claims (4)
開発管理サーバと現用機管理サーバは、アクセス権限が設定され、開発管理サーバ側か ら現用機管理サーバ側へ修正内容が確定したバージョンアップソースファイルをコピーす るための記憶領域である凍結エリアを各々に備え、
前記現用機サーバは更に、プログラムのソースファイルのバージョン管理を行う資源管 理エリアと、
前記現用機で動作しているプログラムの識別情報を定期的に取得する識別情報取得手段と 、
前記資源管理エリアに記憶されているソースファイルの識別情報と前記識別情報取得手段 によって取得した識別情報とに基づいて、現用機で動作しているプログラムと前記資源管 理エリアに記録される最新バージョンのプログラムとの差分を抽出する差分抽出手段と、 前記差分抽出手段で差分が抽出されると、当該差分に相当するプログラムのソースファイ ルを前記現用機から取得する差分ファイル取得手段と、
取得した差分に相当するソースファイルを最新バージョンのプログラムのソースファイル として前記資源管理エリアに格納する最新バージョンソースファイル記録手段と、
を備えることを特徴とするバージョン管理システム。 And development management server, and the working machine management server, and the working machine, comprising a, a version control system for the version management of the program Ru is operated by the working machine,
Development management server as the working machine management server, access rights are set, the frozen area is a storage area of the order to copy the version-up source file modification contents is finalized to develop the management server or al working machine management server Prepare for each
The active machine server further comprises a resource management area for version control of the source files for the program,
Identification information acquisition means for periodically acquiring identification information of a program running on the current machine ;
Wherein based on the identification information acquired by the identification information and the identification information acquiring means for source files stored in the resource management area, the latest version recorded with programs running on the working machine to the resource management area a difference extracting means for extracting the difference between the programs, the difference is extracted by the difference extraction means, a difference file acquiring means for acquiring a source file of a program corresponding to the difference from the current machine,
Latest version source file recording means for storing in the resource management area a source file corresponding to the obtained difference as a source file of the latest version of the program ;
A version management system comprising:
開発管理サーバと現用機管理サーバは、アクセス権限が設定され、開発管理サーバ側か ら現用機管理サーバ側へ修正内容が確定したバージョンアップソースファイルをコピーす るための記憶領域である凍結エリアを各々に備え、前記現用機サーバは更に、プログラム のソースファイルのバージョン管理を行う資源管理エリアを備えているバージョン管理システムを利用したプログラムバージョン管理方法において、
開発管理サーバを使用して修正したソースファイルであってバージョンアップのために修正されてその内容が確定したソースファイルを、前記開発管理サーバが備える凍結エリアに格納するステップと、当該開発管理サーバの凍結エリアから前記現用機管理サーバの凍結エリアへ前記バージョンアップソースファイルをコピーするステップと、前記現用機に対して前記現用機管理サーバの凍結エリアから前記バージョンアップソースファイルを送信するステップと、
前記現用機で動作しているプログラムの識別情報を定期的に取得するステップと、前記 現用機から前記識別情報を取得すると、資源管理エリアに記憶されているソースファイル の識別情報と前記現用機から取得した識別情報とに基づいて、現用機で動作しているプロ グラムと前記資源管理エリアに記憶される最新バージョンのプログラムとの差分を抽出す るステップと、当該差分に相当するプログラムのソースファイルを前記現用機から取得す るステップと、取得した差分に相当するソースファイルを最新バージョンのプログラムの ソースファイルとして前記資源管理エリアに格納するステップと、を備えることを特徴とするプログラムバージョン管理方法。
And development management server, and the working machine management server, and the working machine, comprising a, a version control system for the version management of the program Ru is operated by the working machine,
Development management server as the working machine management server, access rights are set, the frozen area is a storage area of the order to copy the version-up source file modification contents is finalized to develop the management server or al working machine management server provided in each of the active machine server further in program version management method take advantage of the version control system comprising a resource management area for version control of the source files for the program,
Storing a source file that has been modified using a development management server and that has been modified for version upgrade and whose contents have been confirmed in a freezing area provided in the development management server; Copying the upgrade source file from the freezing area to the freezing area of the active machine management server; transmitting the upgrade source file from the freezing area of the active machine management server to the active machine;
A step of periodically obtaining identification information of a program running on the current machine, and obtaining the identification information from the current machine, the source file identification information stored in a resource management area and the current machine based on the obtained identification information; you extracts the difference between the latest version of the program the stored in the resource management area and program operating on the working machine, the source file for the program corresponding to the difference wherein the step you get from the current machine, program version management method for storing the source file corresponding to the acquired difference in the resource management area as the source file of the latest version of the program, comprising: a a.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007148075A JP4621709B2 (en) | 2007-06-04 | 2007-06-04 | Version management system and program version management method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007148075A JP4621709B2 (en) | 2007-06-04 | 2007-06-04 | Version management system and program version management method |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006195490A Division JP4410224B2 (en) | 2006-07-18 | 2006-07-18 | Program version management system and method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2007280415A JP2007280415A (en) | 2007-10-25 |
JP4621709B2 true JP4621709B2 (en) | 2011-01-26 |
Family
ID=38681721
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007148075A Expired - Lifetime JP4621709B2 (en) | 2007-06-04 | 2007-06-04 | Version management system and program version management method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4621709B2 (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012008677A (en) * | 2010-06-23 | 2012-01-12 | Hioki Ee Corp | Automatic discrimination device and automatic discrimination method for version upgrade file using ftp |
JP5905313B2 (en) * | 2012-03-28 | 2016-04-20 | ニフティ株式会社 | Information processing apparatus, information processing method, information processing system, and program |
JP6700848B2 (en) * | 2016-02-23 | 2020-05-27 | キヤノン株式会社 | Management system, control method |
JP6930949B2 (en) * | 2018-08-02 | 2021-09-01 | 株式会社日立製作所 | Software distribution system, software distribution server, and software distribution method |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH05173866A (en) * | 1991-12-20 | 1993-07-13 | Pfu Ltd | Information management processing system |
JPH11282656A (en) * | 1998-03-30 | 1999-10-15 | Brother Ind Ltd | Program rewriting device, network system and storage medium |
JPH11353162A (en) * | 1998-06-04 | 1999-12-24 | Hitachi Ltd | Program correction result comparing method |
JP2001154832A (en) * | 1999-12-01 | 2001-06-08 | Nec Corp | Computer system |
-
2007
- 2007-06-04 JP JP2007148075A patent/JP4621709B2/en not_active Expired - Lifetime
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH05173866A (en) * | 1991-12-20 | 1993-07-13 | Pfu Ltd | Information management processing system |
JPH11282656A (en) * | 1998-03-30 | 1999-10-15 | Brother Ind Ltd | Program rewriting device, network system and storage medium |
JPH11353162A (en) * | 1998-06-04 | 1999-12-24 | Hitachi Ltd | Program correction result comparing method |
JP2001154832A (en) * | 1999-12-01 | 2001-06-08 | Nec Corp | Computer system |
Also Published As
Publication number | Publication date |
---|---|
JP2007280415A (en) | 2007-10-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2007105274A1 (en) | Applicable patch selecting device and applicable patch selecting method | |
RU2357279C2 (en) | System and control method and transmission of software updates | |
KR101278743B1 (en) | Solution deployment in a server farm | |
US11327745B2 (en) | Preventing falsification in version management | |
US7940407B2 (en) | Image forming apparatus, terminal apparatus and management apparatus | |
US10365991B1 (en) | System and method for printer driver management in an enterprise network | |
US20090100158A1 (en) | Backup and Recovery System for Multiple Device Environment | |
JP4621709B2 (en) | Version management system and program version management method | |
CN109324821B (en) | Self-service terminal system version management method | |
US7181739B1 (en) | Installation relationship database | |
CN110489161B (en) | Version file management method and related device | |
JP4965808B2 (en) | Software configuration management system for medical equipment | |
EP2234055A1 (en) | Method for installing a web package within an manufacturing executing system | |
JP2007080167A (en) | Software resource distribution system and method, and program | |
JP3901060B2 (en) | Application update processing method, update processing system, and update processing program | |
JP2013145504A (en) | Distribution server, monitoring device, image processing apparatus, control method of distribution server and program | |
JP4410224B2 (en) | Program version management system and method | |
JP2015230709A (en) | Management system and method of the same | |
JP2004310235A (en) | System and method for version control of program | |
JP2004310232A (en) | System and method for version-up of program | |
JP2004310236A (en) | System and method for version control of program | |
JP2004310231A (en) | Receiver and method for receiving indication of version-up for program | |
JP2004310234A (en) | System and method for generation management of file | |
JP2004310233A (en) | System and method for performing version-up of program | |
JPH10116189A (en) | Installing method for software and its computer system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20070604 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20070705 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100622 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100820 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20100907 |
|
AA91 | Notification that invitation to amend document was cancelled |
Free format text: JAPANESE INTERMEDIATE CODE: A971091 Effective date: 20100921 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20101005 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20101101 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131105 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4621709 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131105 Year of fee payment: 3 |
|
S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131105 Year of fee payment: 3 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
EXPY | Cancellation because of completion of term |