JP2004310230A - System and method for version-up of program - Google Patents
System and method for version-up of program Download PDFInfo
- Publication number
- JP2004310230A JP2004310230A JP2003099807A JP2003099807A JP2004310230A JP 2004310230 A JP2004310230 A JP 2004310230A JP 2003099807 A JP2003099807 A JP 2003099807A JP 2003099807 A JP2003099807 A JP 2003099807A JP 2004310230 A JP2004310230 A JP 2004310230A
- Authority
- JP
- Japan
- Prior art keywords
- source file
- file
- active device
- program
- version
- 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.)
- Pending
Links
Images
Landscapes
- Stored Programmes (AREA)
Abstract
Description
【0001】
【発明の属する技術分野】
本発明は、バージョンアップされたファイルを更新するための技術に関し、特に、バージョンアップ対象のプログラムが動作している現用機へ管理サーバからバージョンアップ後のファイルを転送して動作させる技術に関する。
【0002】
【従来の技術】
大規模なシステムにおいて、プログラムの登録、払い出しにおいて、プログラム管理者が不在であっても緊急時などでもスムーズに運用できるよう、プログラムの状態などを記憶したプログラム履歴テーブルを用いて行う方法が特許文献1に記載されている。
【0003】
また、大分散型エンタープライズ環境において、コンピューティング資源を効果的に管理する方法が特許文献2に記載されている。
【0004】
【特許文献1】
特開2000−47854号公報
【特許文献2】
特開平10−124468号公報
【0005】
【発明が解決しようとする課題】
ここで、プログラム等のバージョンアップを行う場合には、プログラムのソースファイルを修正、更新するという作業がある。そして、同一のプログラムが複数のコンピュータで動作しているような大規模システムでは、この修正、更新されたソースファイルを、それらの複数のコンピュータに配布して更新しなければならない。このとき、作業手順などが明確でないと、配布するプログラムを間違えてしまうようなこともある。
【0006】
本発明の目的は、プログラムのバージョンアップ作業で生じるミスを極力抑えるためのシステム等を提供することである。
【0007】
【課題を解決するための手段】
本発明の一つの実施態様に従うシステムは、現用機を管理する第1の管理装置と、第1の管理装置に接続された第2の管理装置とを備え、前記現用機で動作しているプログラムのバージョンアップを行うためのシステムであって、第2の管理装置は、前記現用機で動作しているプログラムのソースファイルを記憶する第1の手段と、前記記憶手段からバージョンアップ対象のソースファイルを抽出する手段と、抽出されたソースファイルを修正するためのエディタと、修正後のソースファイルを格納するための第2の記憶手段と、を備え、第1の管理装置は、前記第2の管理装置から転送された修正後のソースファイルを格納するための第3の記憶手段と、前記現用機へ修正後のソースファイルを送信し、バージョンアップ指示を行うための手段とを備える。
【0008】
好適な実施形態では、前記第2の記憶手段は、前記第2の管理装置を管理する特定の管理者のみがアクセス可能なようにアクセス権限が制限され、前記第3の記憶手段は、前記第1の管理装置を管理する特定の管理者のみがアクセス可能なようにアクセス権限が制限されているようにしてもよい。
【0009】
【発明の実施の形態】
以下、本発明を適用したバージョンアップ管理システムの一実施形態について、図面を用いて説明する。
【0010】
図1は本システムの全体構成を示す図である。本システムは、開発管理サーバ1および現用機管理サーバ2の二つの管理サーバを有する。そして、現用機管理サーバ2は、インターネットまたは専用回線などのネットワーク9を介して複数の現用機3と接続されていて、これらを管理する。現用機3では、例えば、複数のコンピュータプログラムが動作していて、顧客に対して種々のサービスを提供する。各現用機3は、それぞれ独立に動作することができる。
【0011】
開発管理サーバ1には、バージョンアップ指示の入力を受け付けるバージョンアップ指示端末4と、管理者端末5とが接続されている。
【0012】
現用機管理サーバ2には、管理者端末6が接続されている。ネットワーク9には、さらに緊急バージョンアップを行うための緊急端末7が接続されている。
【0013】
開発管理サーバ1、現用機管理サーバ2、バージョンアップ指示端末4、管理者端末5、6および緊急端末7は、いずれも例えば汎用的なコンピュータシステムにより構成され、以下に説明する各サーバおよび端末の内の個々の構成要素または機能は、例えば、コンピュータプログラムを実行することにより実現される。
【0014】
開発管理サーバ1は、その内部機能として、ユニークな管理番号を自動採番する採番データベース11と、バージョンアップ対象ファイルを一時的に記憶するための納品エリアと、バージョンアップ対象ファイルの編集を行うためのワークエリア13と、ソースプログラムの編集を行うためのエディタ14と、現用機で動作している、最新世代プログラムのソースファイルを記憶するための最新世代エリア15と、バージョンアップされた(修正された)ファイルを記憶するための凍結エリア16とを有する。
【0015】
現用機管理サーバ2は、開発管理サーバ1で凍結されたファイルの転送を受けたとき、それを記憶するための凍結エリア21と、プログラムのソースファイルを世代管理するための資源管理エリア22と、第3世代の資源を格納するための第3世代エリア23と、緊急変更があったときに現用機3から送られてくる緊急変更されたファイルを一時的に記憶するための緊急変更エリア25とを備える。
【0016】
凍結エリア16、21は、それぞれ、特定の管理者だけがアクセス可能なようにアクセス権限が設定されている記憶領域である。凍結エリア16にアクセスできる管理者と凍結エリア21にアクセスできる管理者は、同一の者でもあってもいいし、別の者でもよい。後述するように、凍結エリア16、21は、バージョンアップのために修正され、その内容が確定したソースファイルを記憶するための領域であり、不正に書き換えられることを防止する機密保護機能を有する。
【0017】
資源管理エリア22は、バージョンアップが繰り返されるプログラムのソースファイルの世代管理をするための記憶領域である。資源管理エリア22には、複数種類のファイルについて、それぞれの最新ファイルを記憶する最新世代エリア221と、最新世代よりも前の世代のファイルを記憶する旧世代記憶エリアとして第1世代エリア222と、第2世代エリア223とがある。つまり、現用機管理サーバ1は、最新世代を含めた上記3世代分のソースファイルを世代管理する。
【0018】
第3世代エリア23は、現用機管理サーバ1として管理対象とはならない第2世代よりもさらに1世代前の第3世代のソースファイルを記憶するためのエリアである。第3世代エリア23は、隠しデータベースとしてもよい。
【0019】
上記の構成を備えるシステムにおいて、現用機3で動作するプログラムのバージョンアップを行うときの処理について説明する。
【0020】
<バージョンアップ指示>
開発管理サーバ1は、図2に示すような手順で、現用機3で動作しているプログラムのバージョンアップ指示を受け付ける。
【0021】
バージョンアップの指示入力は、バージョンアップ指示端末4に対して行われる(S11)。例えば、作業者がバージョンアップ指示端末4の図示しない入出力装置を用いて、バージョンアップ作業依頼入力画面(以下、入力画面という)からバージョンアップの作業依頼情報を入力する。
【0022】
入力画面100には、例えば、図3に示すように、以下の項目についての入力領域を備える。すなわち、入力画面100には、対象システム名101、リリース予定日102、バージョンアップ作業開始および終了日時103、優先順位104、影響度105、バージョンアップ対象ファイル名106、対象現用機107、バージョンアップ指示責任者108、バージョンアップ作業責任者109、作業指示書110、および差分エビデンス111の各入力領域がある。
【0023】
ここで、優先順位104とは、複数のファイルのバージョンアップを行う場合、そのバージョンアップの作業に順序性があるときに、作業の順序を入力する。
【0024】
バージョンアップ対象ファイル名106でバージョンアップ対象プログラムを識別することができる。
【0025】
作業指示書110には、予め作成されているバージョンアップ作業の詳細な手順を記したドキュメントのファイル名等が入力される。
【0026】
差分エビデンス111には、バージョンアップ対象となるソースファイルの修正前と修正後の差分を示すファイルのファイル名等が入力される。例えば、バージョンアップ指示者等が、予めテスト環境などでバージョンアップの確認したときに生成されたものである。後述するように、バージョンアップ作業の正当性を確認するときに用いられる。
【0027】
入力画面100で必要な情報が入力されると、バージョンアップ指示端末4は、採番データベース11から、このバージョンアップ作業に対する管理番号を採番する(S12)。
【0028】
バージョンアップ指示端末4は、最新世代エリア15からバージョンアップ対象ファイル名106で特定されるソースファイルを抽出するよう指示をする(S13)。
【0029】
そして、バージョンアップ指示端末4は、入力画面100で入力された作業依頼情報を開発管理サーバ1へ転送し、作業依頼情報およびステップS13の指示によって抽出されたソースファイルを対応付けて納品エリア12に格納する(S14)。このとき、さらに、作業指示書110および差分エビデンス111を対応付けてもよい。
【0030】
これでバージョンアップ作業の準備が完了するので、バージョンアップ指示端末4から開発管理サーバ1へバージョンアップ作業の開始指示が通知される(S15)。
【0031】
<バージョンアップ資源作成>
つぎに、バージョンアップを行うための凍結ファイルの作成手順について図4を用いて説明する。ここで、凍結ファイルとは、ソースファイルを修正、変更が完了し、これ以上変更されたくない状態のファイルをいう。
【0032】
まず、開発管理サーバ1は、納品エリア12に記憶されているバージョンアップ対象のソースファイルをワークエリア13へコピーする(S21)。そして、バージョンアップ作業者が、管理者端末5を用いてエディタ14を起動し、ワークエリア13のソースファイルを修正、更新する(S22)。この修正は、作業指示書に従って行う。修正後のソースファイルは、ワークエリア13に記憶される。
【0033】
修正作業が終了すると、開発管理サーバ1は、修正前のソースファイルと修正後のソースファイルとを比較して、両者の相違を示す差分ファイルを生成する(S23)。
【0034】
そして、開発管理サーバ1は、ここで生成された差分ファイルと、入力画面で指定された差分エビデンス111とを比較する(S24)。この比較の結果、両者が一致しない場合は(S24:NG)、メッセージウィンドウを出力するなどして作業者へその旨を報知し、ステップS22以降を繰り返す。一方、この比較の結果が一致した場合は(S24:OK)、凍結エリア16にアクセス権限が与えられている特定の管理者の指示に基づいて、修正後のソースファイルを凍結エリア16へコピーする。
【0035】
これにより、バージョンアップ対象のソースファイル(凍結ファイル)が確定し、機密性の高い凍結エリア16に格納される。凍結エリア16に確定したファイルを保存することにより、誤ってファイルが書き換えられてしまったり、故意に書き換えられてしまったりする可能性も低くなり、よりセキュリティの高い状態で保存される。
【0036】
<バージョンアップ資源変更>
次に、ファイル凍結後に、現用機で実際に動作しているプログラムを更新する手順について、図5および図6を用いて説明する。以下の処理は、例えば、作業者が管理者端末6から所定のコマンドを入力して行うこともできる。
【0037】
まず、開発管理サーバ1の凍結エリア16から現用機管理サーバ2の凍結エリア21へ凍結されたソースファイルをコピーする(S31)。このとき、作業依頼情報および作業指示書をあわせてコピーしてもよい。そして、凍結エリア21に記憶されているソースファイルのリスト、つまりバージョンアップ対象のプログラムのリストを出力する(S32)。
【0038】
このファイルリストには、例えば、ファイル名(フォルダ名を含む)、ファイルサイズ、ファイルの更新日時などのファイルの識別情報が含まれる。なお、これ以降の説明で生成されるファイルリストも、これと同様の項目を含む。
【0039】
現用機管理サーバ2は、凍結エリア21に記憶されているソースファイルを更新対象の現用機3へ送信する(S33)。現用機3は、送信されたファイルを受信する。
【0040】
そして、現用機管理サーバ1は、現用機3に対して受信したプログラムのファイルリスト生成および送信を指示し、各現用機3からファイルリストを取得する(S34)。このリストを確認することにより、現用機3へのファイル転送が問題なく行われたことを確認する。
【0041】
この後、現用機3に対して、現用機3で現在動作しているプログラムのソースファイル等のバックアップを指示する(S35)。この指示を受けた現用機3は、それぞれ、現在の環境をバックアップする。
【0042】
そして、現用機管理サーバ1は、ステップS33で各現用機3に新たに送り込んだプログラムに更新(バージョンアップ)するよう指示をする(S36)。この指示を受けた現用機3は、指示に従ってプログラムを更新(バージョンアップ)する。このとき、必要に応じて実行形式のプログラムへの変換などを行う。
【0043】
現用機管理サーバ1は、現用機3に対してバージョンアップ後のプログラムのファイルリスト生成および送信を指示し、各現用機3からファイルリストを取得する(S37)。
【0044】
ここで、ステップS32で生成したファイルリストとステップS37で取得したファイルリストとを比較する(S38)。比較の結果、両者が一致しなかったときは(S38:NG)、ステップS33以降を繰り返す。比較の結果、両者が一致したときは(S38:OK)、ステップS37で取得したファイルリストを保存し、現用機3へ再起動を指示する(S39,S40)。現用機3が正常に動作したときは、そのまま終了する(S41:OK)。現用機3が正常に動作しなかったときは、ステップS33でバックアップしたデータに基づいて、バージョンアップ前の環境を復旧して、再起動するように指示をする(S42)。
【0045】
以上に説明した手順を実行することにより、確実にバージョンアップを実行することができる。
【0046】
<世代管理>
次に、現用機管理サーバ2の資源管理エリア22には、各資源が複数世代分記憶されている。以上に説明したバージョンアップが終了すると、現用機との整合性をとるために、これらの世代交代を行う。以下、その処理手順について図7を用いて説明する。
【0047】
バージョンアップが完了すると、第2世代エリア223に記憶されているバージョンアップ対象プログラムの第2世代のソースファイルを、第3世代エリア23へコピーする(S51)。この処理は、データベースをリネームするのではなく、バージョンアップがあったプログラムのソースファイルについてのみ、コピーを行う。以下、同様である。
【0048】
つぎに、第1世代エリア222に記憶されているバージョンアップ対象プログラムの第1世代のソースファイルを、第2世代エリア223の対応するファイルに上書きする(S52)。
【0049】
つぎに、最新世代エリア221に記憶されているバージョンアップ対象プログラムの最新世代のソースファイルを、第1世代エリア222の対応するファイルに上書きする(S53)。
【0050】
最後に、凍結エリア21に記憶されているバージョンアップ対象プログラムのソースファイルを、最新世代エリア221の対応するファイルに上書きする(S54)。
【0051】
上記処理でエラーが発生せず、正常に終了したか確認する(S55)。正常でない場合は(S55:NG)、ステップS51以降を繰り返す。正常の場合は(S55:OK)、開発管理サーバ1へファイル名等を通知し、開発管理サーバ1の最新世代エリア15のソースファイルを更新するよう指示をする(S56)。開発管理サーバ1は、この指示に従って、通知されたファイル名等で特定される、凍結エリア16に格納されているソースファイルを最新世代エリア15の対応するファイルに上書きする。
【0052】
これにより、開発管理サーバ1でも最新バージョンとの整合性が確保される。
【0053】
<緊急変更>
以上、現用機3で動作するプログラムのバージョンアップのための通常の処理手順を説明した。しかし、実際のシステム運用においては、一刻も早くバージョンアップを行わなければならないときがある。そのようなときは、上記手順を踏むことによって要する時間すら惜しい。このようなときは、緊急変更端末7から直接現用機3のバージョンアップを行う緊急変更が行われる。以下、緊急変更手順について図8を用いて説明する。
【0054】
操作者の指示に基づいて、緊急変更端末7は現用機3に修正されたソースファイルを直接送信して、バージョンアップを行う(S61)。そして、緊急変更のバージョンアップが成功し、正常に動作するかどうかを確認する(S62)。
【0055】
正常でないときは(S62:No)、バージョンアップ前へ戻す(S63)。正常であるときは(S62:Yes)、現用機管理サーバ1は、最新世代エリア221のファイルリストを取得する(S64)。現用機3からは、現用機3で動作しているプログラムのファイルリストを取得する(S65)。これらのファイルリストを比較して、現用機3で動作しているプログラムと最新世代エリア221で管理されているプログラムとの差分を抽出して、緊急変更によってバージョンアップされたプログラムを特定する(S66)。
【0056】
現用機管理サーバ1は、ここで特定された、そのバージョンアップ後のソースファイルをバージョンアップが行われた現用機3から取得して、緊急変更データベース25に格納する(S67)。そして、図7で説明した要領によって、現用機管理サーバ1の世代交代を行う(S68)。なお、図7のステップ54では、凍結エリア21に記憶されたソースファイルを最新世代エリアへコピーしているが、ここでは緊急変更データベース25に記憶されたソースファイルをコピーする。
【0057】
以上の手順により、緊急変更を行ったときでも、現用機管理サーバ1が管理するソースファイルの世代の整合性は担保される。
【0058】
<整合性チェック>
つぎに、通常の運用を行っているときに、定期的に行うプログラムのバージョンチェックについて説明する。
【0059】
現用機管理サーバ2の最新世代エリア221に格納されているプログラムのソースファイルと、現用機3で実際に動作しているプログラムとは対応がとれているのが原則である。しかし、何らかの理由でこの対応関係がずれてしまうことがあり得る。このような対応関係のずれを放置することは好ましくない。そこで、図9に示すような手順で整合性チェックを行い、対応関係を修復する。この処理は、定期的に起動されることが好ましい。
【0060】
まず、図8に示したステップS64−S68を行って、現用機で動作しているプログラムと最新世代との差分ファイルを取得し、最新世代エリア221を現用機3に整合させる(S71)。
【0061】
ステップS71で取得した更新されたファイル名を開発管理サーバ1へ転送する(S72)。開発管理サーバ1は、転送されたファイルを自己の最新世代エリア15へコピーする。これにより、開発管理サーバ1のバージョンも、整合がとれた状態に回復する。
【0062】
上述した本発明の実施形態は、本発明の説明のための例示であり、本発明の範囲をそれらの実施形態にのみ限定する趣旨ではない。当業者は、本発明の要旨を逸脱することなしに、他の様々な態様で本発明を実施することができる。
【図面の簡単な説明】
【図1】本発明を適用した一実施形態にかかるバージョンアップ管理システムの全体構成を示す図である。
【図2】プログラムのバージョンアップ指示の受付手順を示すフローチャートである。
【図3】バージョンアップ作業依頼入力画面の一例を示す図である。
【図4】バージョンアップを行うための凍結ファイルの作成手順を示すフローチャートである。
【図5】プログラムを更新する手順を示すフローチャートである。
【図6】プログラムを更新する手順を示すフローチャートである。
【図7】資源の世代交代を行う手順を示すフローチャートである。
【図8】緊急変更の処理手順を示すフローチャートである。
【図9】整合性を確保するための処理手順を示すフローチャートである。
【符号の説明】
1…開発管理サーバ、2…現用機管理サーバ、3…現用機、4…バージョンアップ指示端末、5、6…管理者端末、7…緊急端末、9…ネットワーク。[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a technique for updating a version-upgraded file, and more particularly to a technique for transferring a version-upgraded file from a management server to an active device in which a program to be upgraded is running and operating the program.
[0002]
[Prior art]
In a large-scale system, a method of registering and paying out a program using a program history table storing the state of the program and the like so that the program can be smoothly operated even in the event of an emergency even when a program manager is not present in Patent Document 1.
[0003]
[0004]
[Patent Document 1]
Japanese Patent Application Laid-Open No. 2000-47854 [Patent Document 2]
JP 10-124468 A
[Problems to be solved by the invention]
Here, when a version of a program or the like is upgraded, there is a task of modifying and updating a source file of the program. In a large-scale system in which the same program runs on a plurality of computers, the modified and updated source files must be distributed to the plurality of computers and updated. At this time, if the work procedure is not clear, the program to be distributed may be mistaken.
[0006]
An object of the present invention is to provide a system or the like for minimizing mistakes caused by a program version-up operation.
[0007]
[Means for Solving the Problems]
A system according to one embodiment of the present invention includes a first management device that manages an active device, and a second management device that is connected to the first management device, and a program running on the active device. A second management device for storing a source file of a program running on the active device; and a source file to be upgraded from the storage unit. , An editor for correcting the extracted source file, and a second storage means for storing the corrected source file. The first management device includes: A third storage unit for storing the modified source file transferred from the management device; and a third storage unit for transmitting the modified source file to the active device to issue a version upgrade instruction. And a stage.
[0008]
In a preferred embodiment, an access right of the second storage unit is limited so that only a specific administrator who manages the second management device can access the second storage unit. The access authority may be restricted so that only a specific administrator who manages one management device can access.
[0009]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, an embodiment of a version upgrade management system to which the present invention is applied will be described with reference to the drawings.
[0010]
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
[0011]
The development management server 1 is connected to a version
[0012]
An
[0013]
The development management server 1, the active
[0014]
As its internal functions, the development management server 1 edits a
[0015]
When receiving the transfer of the file frozen by the development management server 1, the active
[0016]
Each of the frozen
[0017]
The
[0018]
The
[0019]
In the system having the above configuration, a process for upgrading the version of a program operating on the
[0020]
<Version upgrade instruction>
The development management server 1 accepts a version upgrade instruction of a program running on the
[0021]
The instruction to upgrade is input to the upgrade instruction terminal 4 (S11). For example, an operator uses a not-shown input / output device of the
[0022]
The
[0023]
Here, in the case of performing the version upgrade of a plurality of files, when the work of the version upgrade has a sequence, the order of the work is input.
[0024]
The upgrade target program name can be identified by the upgrade
[0025]
In the
[0026]
In the
[0027]
When necessary information is input on the
[0028]
The
[0029]
Then, the version upgrade
[0030]
Since the preparation for the upgrade is completed, the
[0031]
<Upgrade resource creation>
Next, a procedure for creating a frozen file for upgrading will be described with reference to FIG. Here, the frozen file is a file in which the source file has been corrected and changed, and is not desired to be changed any more.
[0032]
First, the development management server 1 copies the source file to be upgraded stored in the
[0033]
When the modification work is completed, the development management server 1 compares the source file before modification with the source file after modification, and generates a difference file indicating the difference between the two (S23).
[0034]
Then, the development management server 1 compares the generated difference file with the
[0035]
Thereby, the source file (frozen file) to be upgraded is determined and stored in the
[0036]
<Upgrade resource change>
Next, a procedure for updating a program actually running on the active device after the file is frozen will be described with reference to FIGS. The following processing can be performed, for example, by an operator inputting a predetermined command from the
[0037]
First, the frozen source file is copied from the
[0038]
The 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 and time. The file list generated in the following description includes the same items.
[0039]
The active
[0040]
Then, the active device management server 1 instructs the
[0041]
After that, the
[0042]
Then, the active device management server 1 instructs to update (upgrade) the program newly sent to each
[0043]
The active device management server 1 instructs the
[0044]
Here, the file list generated in step S32 is compared with the file list obtained in step S37 (S38). As a result of the comparison, when the two do not match (S38: NG), the process from step S33 is repeated. As a result of the comparison, if they match (S38: OK), the file list acquired in step S37 is saved, and a restart is instructed to the active device 3 (S39, S40). When the working
[0045]
By performing the above-described procedure, it is possible to surely execute the version upgrade.
[0046]
<Generation management>
Next, in the
[0047]
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). This process does not rename the database, but copies only the source file of the upgraded program. Hereinafter, the same applies.
[0048]
Next, the first generation source file of the version-upgraded program stored in the first generation area 222 is overwritten on the corresponding file in the second generation area 223 (S52).
[0049]
Next, the source file of the latest generation 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).
[0050]
Finally, the source file of the upgrade target program stored in the
[0051]
It is checked whether no 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), it notifies the development management server 1 of the file name and the like, and instructs the development management server 1 to update the source file in the latest generation area 15 (S56). According to this instruction, the development management server 1 overwrites the source file stored in the
[0052]
Thus, the development management server 1 also ensures consistency with the latest version.
[0053]
<Urgent change>
The normal processing procedure for upgrading the version of the program operating on the
[0054]
Based on the operator's instruction, the emergency change terminal 7 directly sends the corrected source file to the
[0055]
If the status is not normal (S62: No), the process returns to before the version upgrade (S63). If it is normal (S62: Yes), the active device management server 1 acquires a file list of the latest generation area 221 (S64). From the
[0056]
The active device management server 1 acquires the source file after the version upgrade specified here from the upgraded
[0057]
Through the above procedure, even when an emergency change is performed, the consistency of the generation of the source file managed by the active device management server 1 is ensured.
[0058]
<Consistency check>
Next, a description will be given of a version check of a program that is periodically performed during normal operation.
[0059]
In principle, there is a correspondence between the source file of the program stored in the latest generation area 221 of the active
[0060]
First, steps S64 to S68 shown in FIG. 8 are performed to obtain a difference file between the program running on the active device and the latest generation, and align the latest generation area 221 with the active device 3 (S71).
[0061]
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
[0062]
The embodiments of the present invention described above are exemplifications for describing 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.
[Brief description of the drawings]
FIG. 1 is a diagram showing an entire configuration of a version upgrade management system according to an embodiment to which the present invention is applied.
FIG. 2 is a flowchart showing a procedure for receiving a program version upgrade instruction;
FIG. 3 is a diagram showing an example of a version upgrade work request input screen.
FIG. 4 is a flowchart showing a procedure for creating a frozen file for performing version upgrade.
FIG. 5 is a flowchart showing a procedure for updating a program.
FIG. 6 is a flowchart showing a procedure for updating a program.
FIG. 7 is a flowchart illustrating a procedure for changing the generation of a resource.
FIG. 8 is a flowchart illustrating a procedure of an emergency change process.
FIG. 9 is a flowchart illustrating a processing procedure for ensuring consistency.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 ... Development management server, 2 ... Active equipment management server, 3 ... Active equipment, 4 ... Upgrade instruction terminal, 5, 6 ... Administrator terminal, 7 ... Emergency terminal, 9 ... Network.
Claims (3)
第2の管理装置は、
前記現用機で動作しているプログラムのソースファイルを記憶する第1の手段と、
前記記憶手段からバージョンアップ対象のソースファイルを抽出する手段と、
抽出されたソースファイルを修正するためのエディタと、
修正後のソースファイルを格納するための第2の記憶手段と、を備え、
第1の管理装置は、
前記第2の管理装置から転送された修正後のソースファイルを格納するための第3の記憶手段と、
前記現用機へ修正後のソースファイルを送信し、バージョンアップ指示を行うための手段とを備えるシステム。A system for upgrading a program running on an active device, comprising: a first management device for managing an active device; and a second management device connected to the first administrative device. ,
The second management device is
First means for storing a source file of a program running on the active device;
Means for extracting a source file to be upgraded from the storage means;
An editor to modify the extracted source files,
Second storage means for storing the corrected source file,
The first management device is
Third storage means for storing the corrected source file transferred from the second management device;
Means for transmitting the corrected source file to the active device and instructing a version upgrade.
前記第3の記憶手段は、前記第1の管理装置を管理する特定の管理者のみがアクセス可能なようにアクセス権限が制限されている請求項1記載のシステム。The second storage means has an access right restricted so that only a specific administrator who manages the second management device can access the second storage device.
2. The system according to claim 1, wherein an access right of the third storage unit is restricted so that only a specific administrator who manages the first management device can access the third storage unit.
第2の管理装置は、
前記現用機で動作しているプログラムのソースファイルを記憶する第1の記憶手段から、バージョンアップ対象のソースファイルを抽出するステップと、
抽出されたソースファイルを、エディタを用いて修正した修正後のソースファイルを第2の記憶手段に記憶するステップと、
第2の記憶手段から第1の管理装置へ修正後のソースファイルを送信するステップと、を行い、
第1の管理装置は、
前記第2の管理装置から転送された修正後のソースファイルを第3の記憶手段に格納するステップと、
前記第3の記憶手段から、前記現用機へ修正後のソースファイルを送信して、バージョンアップを指示するステップと、を行う方法。A method for upgrading a version of a program running on an active device using a first management device that manages the active device and a second management device connected to the first management device,
The second management device is
Extracting a source file to be upgraded from first storage means for storing a source file of a program running on the active device;
Storing the corrected source file obtained by correcting the extracted source file using an editor in a second storage unit;
Transmitting the corrected source file from the second storage means to the first management device.
The first management device is
Storing the corrected source file transferred from the second management device in a third storage unit;
Transmitting the corrected source file from the third storage means to the active device, and instructing a version upgrade.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003099807A JP2004310230A (en) | 2003-04-03 | 2003-04-03 | System and method for version-up of program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003099807A JP2004310230A (en) | 2003-04-03 | 2003-04-03 | System and method for version-up of program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2004310230A true JP2004310230A (en) | 2004-11-04 |
Family
ID=33464109
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2003099807A Pending JP2004310230A (en) | 2003-04-03 | 2003-04-03 | System and method for version-up of program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2004310230A (en) |
-
2003
- 2003-04-03 JP JP2003099807A patent/JP2004310230A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
RU2357279C2 (en) | System and control method and transmission of software updates | |
US6971095B2 (en) | Automatic firmware version upgrade system | |
US8578371B2 (en) | Software distribution method and system with automatic prerequisite installation | |
EP1579301B1 (en) | Method, system and computer-readable medium for a software distribution service | |
US10365991B1 (en) | System and method for printer driver management in an enterprise network | |
US20020004824A1 (en) | Method and apparatus for automatically deploying data and simultaneously Executing computer program scripts in a computer network | |
CN102025778A (en) | Software version upgrading work method based on Shell | |
WO2007105274A1 (en) | Applicable patch selecting device and applicable patch selecting method | |
JP4621709B2 (en) | Version management system and program version management method | |
JP2007004316A (en) | Program distribution system, program distribution server and program used for the same | |
JP3901060B2 (en) | Application update processing method, update processing system, and update processing program | |
JPH07129373A (en) | Application version managing device | |
US20190012161A1 (en) | Distributed and self-deleting apparatus for fast software deployment and upgrade in a network | |
JP4410224B2 (en) | Program version management system and method | |
JP2004102379A (en) | Patch application management program, method, and system | |
CN112764789A (en) | Distributed software upgrading method and node | |
JP2004310235A (en) | System and method for version control of program | |
JP2004310230A (en) | System and method for version-up of program | |
JP2004310232A (en) | System and method for version-up of program | |
JP2000315157A (en) | Program updating and restoring method | |
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 | |
JP2004310236A (en) | System and method for version control of program | |
JPH1124934A (en) | Distribution management method for client program in client server system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20060117 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20060214 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20060417 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20060516 |
|
RD04 | Notification of resignation of power of attorney |
Effective date: 20060907 Free format text: JAPANESE INTERMEDIATE CODE: A7424 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20060926 |