JPH1097452A - Computer system - Google Patents

Computer system

Info

Publication number
JPH1097452A
JPH1097452A JP8250500A JP25050096A JPH1097452A JP H1097452 A JPH1097452 A JP H1097452A JP 8250500 A JP8250500 A JP 8250500A JP 25050096 A JP25050096 A JP 25050096A JP H1097452 A JPH1097452 A JP H1097452A
Authority
JP
Japan
Prior art keywords
maintenance work
maintenance
log
file
old
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
Application number
JP8250500A
Other languages
Japanese (ja)
Inventor
Kazuhiko Kuramochi
和彦 倉持
Takehiko Hosokawa
武彦 細川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
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
Priority to JP8250500A priority Critical patent/JPH1097452A/en
Publication of JPH1097452A publication Critical patent/JPH1097452A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To easily restore a file to the state before maintenance operation even in case of a failure in maintenance of a program file. SOLUTION: When a maintenance mode is entered through a maintenance mode transition means 105, respective files on a secondary storage device 103 becomes unwritable, so if a file is written into a new-version program file 102, a maintenance operation judging means 108 detects a write error. Then the old-version program file 112 is saved in an old-version file storage area 1032 and then the log of the operation is recorded in a maintenance operation log storage area 1033, so that the old-version program file 12 is updated into the new-version program file 102. For restoration, a maintenance operation restoring means 111 restores the old-version program file from the old-version file storage area 1032 according to the maintenance operation log storage area 1033.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、ソフトウェアのプ
ログラムファイルを記憶する記憶装置に対しプログラム
ファイルの新規作成や更新等のメインテナンス作業を行
なうコンピュータシステムに関し、特にメインテナンス
作業を行なった際に不具合が発生した場合でも、そのメ
インテナンス作業前の状態に自動的に復旧することので
きるコンピュータシステムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a computer system for performing maintenance work such as new creation and update of a program file on a storage device for storing software program files, and particularly, a problem occurs when the maintenance work is performed. The present invention relates to a computer system that can automatically recover to the state before the maintenance work even when the maintenance is performed.

【0002】[0002]

【従来の技術】通常、コンピュータシステムにおいて
は、記憶装置に格納されているアプリケーションソフト
ウェア等のプログラムファイルのバージョンアップや、
バグ等の不具合のあったプログラムファイルの書換え、
さらには記憶装置に新たなプログラムファイルをインス
トール等するため、プログラムファイルの更新や新規作
成等のプログラムファイルのメインテナンス作業が行な
われる。
2. Description of the Related Art Generally, in a computer system, a program file such as application software stored in a storage device is upgraded,
Rewriting of program files with bugs and other defects,
Further, in order to install a new program file in the storage device, maintenance work of the program file such as updating or newly creating the program file is performed.

【0003】その際、メインテナンス作業の失敗等に備
えて、従来は、メインテナンス実行者がメインテナンス
作業を行なう前に、どのファイルが変更されるのかを把
握して、それらのプログラムファイルのバックアップを
とっておくことで、メインテナンス作業に不具合が発生
した時にはそのバックアップからプログラムファイルを
書き戻すことにより、そのメインテナンス作業を取り消
してメインテナンス前の状態に復旧させていた。
[0003] In this case, in preparation for a maintenance work failure or the like, conventionally, a maintenance practitioner grasps which files are changed before performing the maintenance work, and makes a backup of those program files. In this way, when a problem occurs in the maintenance work, the program file is written back from the backup, thereby canceling the maintenance work and restoring the state before the maintenance.

【0004】また、複数のメインテナンス作業を行なっ
た場合には、複数のメインテナンス作業において同一フ
ァイルが変更等されることがあり、そのため特定のメイ
ンテナンス作業のみを復旧させると、その復旧により他
のメインテナンス作業が成立しなくなり、その他のメイ
ンテナンス作業で行ったプログラムファイルに不具合が
起きる場合がある。つまり、例えば、ある1のメインテ
ナンス作業においてある特定のプログラムファイルを新
規作成し、さらに他のメインテナンス作業でその特定プ
ログラムファイルを参照や更新している場合において上
記1のメインテナンス作業のみを復旧させたのでは、上
記特定プログラムファイルが消滅するので、その特定プ
ログラムファイルを参照や更新している上記他のプログ
ラムファイルのメインテナンス作業が成立しなくなるか
らである。このため、従来は、複数のメインテナンス作
業を行った場合、メインテナンス実行者は、そのメイン
テナンス作業の際に複数のメインテナンス作業間の相互
依存関係等について把握しておき、復旧を行う前にあら
かじめ復旧を行う必要のあるメインテナンス作業の復旧
も同時に行うことによりメインテナンス作業前の状態に
戻すようにしていた。
When a plurality of maintenance works are performed, the same file may be changed in the plurality of maintenance works. Therefore, when only a specific maintenance work is restored, the restoration of the other file causes another maintenance work to be performed. May not be established, and a problem may occur in a program file performed in other maintenance work. That is, for example, when a certain specific program file is newly created in one maintenance work, and the specific program file is referred to or updated in another maintenance work, only the one maintenance work is restored. In this case, since the specific program file disappears, the maintenance work of the other program file referencing or updating the specific program file is not established. For this reason, conventionally, when performing multiple maintenance operations, the maintenance executor must understand the interdependency between the multiple maintenance operations at the time of the maintenance operation, and perform recovery in advance before performing the recovery. The restoration of the maintenance work that needs to be performed is performed at the same time to return to the state before the maintenance work.

【0005】[0005]

【発明が解決しようとする課題】しかし、従来のコンピ
ュータシステムでは、上述のようにメインテナンス作業
の失敗等を考慮して、メインテナンス作業を行なう際に
はメインテナンス実行者がメインテナンス作業前にバッ
クアップを行う必要のあるプログラムファイルを決定し
て、所定の手順でプログラムファイルのバックアップを
取らなければならないため、多大な手間および時間がか
かると共に、プログラムファイルのバックアップ作業等
に対して十分な知識を持つ熟練者でなければメインテナ
ンスできない、という問題点があった。
However, in the conventional computer system, when the maintenance work is performed in consideration of the failure of the maintenance work as described above, it is necessary for the maintenance executor to make a backup before the maintenance work. A program file must be determined and backed up in a predetermined procedure, which takes a great deal of time and effort, and requires a skilled person with sufficient knowledge of program file backup work. Otherwise, maintenance could not be performed.

【0006】また、複数のメインテナンス作業を行った
場合に、そのうちのある特定のメインテナンス作業を復
旧させるには、その復旧の前にどのメインテナンス作業
を復旧させる必要があるかといった、復旧のためのメイ
ンテナンス作業間の相互依存関係もメインテナンス実行
者が把握しておかなければならず、メンテナンス復旧作
業が複雑である、という問題点があった。
Further, when a plurality of maintenance work is performed, in order to recover a particular maintenance work, a maintenance work for recovery, such as which maintenance work needs to be recovered before the recovery is performed. The maintenance executor must also understand the interdependency between the operations, and there is a problem that the maintenance recovery operation is complicated.

【0007】そこで、本発明は、このような問題点を解
消するためになされたもので、メインテナンス作業の際
にメインテナンス作業の対象となるプログラムファイル
のバックアップ作業をメインテナンス実行者が行なう必
要をなくし、メインテナンス作業に失敗等した場合にお
いても速やかにコンピュータシステムをメインテナンス
作業実行前の状態に復旧させて、熟練したメインテナン
ス実行者でなくても本システムを早期かつ容易に回復す
ることのできるコンピュータシステムを提供することを
目的とする。
Therefore, the present invention has been made to solve such a problem, and eliminates the need for a maintenance executor to perform a backup operation of a program file to be subjected to a maintenance operation at the time of a maintenance operation. Provide a computer system that quickly restores the computer system to the state before the maintenance work was executed, even if maintenance work failed, and enables the system to be quickly and easily recovered by non-skilled maintenance workers. The purpose is to do.

【0008】また、本発明では、複数のメインテナンス
作業の間の復旧のための相互依存関係をメインテナンス
作業のログから自動的に判断して、復旧を行う必要のあ
るメインテナンス作業を一括して復旧させることによ
り、複数のメインテナンス作業を行った場合に熟練した
メインテナンス実行者でなくても本システムを早期かつ
容易に回復することのできるコンピュータシステムを提
供することを目的とする。
Further, in the present invention, the interdependency for restoration between a plurality of maintenance works is automatically determined from the log of the maintenance work, and the maintenance work which needs to be restored is collectively restored. Accordingly, an object of the present invention is to provide a computer system that can quickly and easily recover the present system even if a skilled maintenance executor does not perform a plurality of maintenance operations.

【0009】[0009]

【課題を解決するための手段】上記課題を解決するた
め、本発明では、ソフトウェアのプログラムファイルを
記憶する記憶装置に対し上記プログラムファイルのメイ
ンテナンス作業を行なうコンピュータシステムにおい
て、上記記憶装置に対しプログラムファイルのメインテ
ナンス作業を行なうメインテナンス作業手段と、上記メ
インテナンス作業手段による上記メインテナンス作業の
ログを保存するメインテナンス作業ログ保存手段と、上
記メインテナンス作業ログ保存手段に保存された上記メ
インテナンス作業のログに基づいて上記記憶装置を当該
メインテナンス作業前の状態に復旧させるメインテナン
ス作業復旧手段とを具備するものである。
According to the present invention, there is provided a computer system for maintaining a program file of a software in a storage device for storing the program file of the software. A maintenance work means for performing the maintenance work, a maintenance work log storage means for storing the maintenance work log by the maintenance work means, and the storage based on the maintenance work log stored in the maintenance work log storage means. Maintenance work restoring means for restoring the apparatus to a state before the maintenance work.

【0010】また、次の発明では、メインテナンス作業
手段は、二次記憶装置を書込み不可状態に設定するメイ
ンテナンスモード移行手段と、上記メインテナンスモー
ド移行手段によって書込み不可状態に設定された上記二
次記憶装置へ上記新版プログラムファイルを書込むため
アクセスした場合に書込みエラー信号を出力する新版フ
ァイル書込み手段と、上記新版ファイル書込み手段から
の書込みエラー信号を検出して、上記新版ファイル書込
み手段による上記二次記憶装置へのアクセスが新版プロ
グラムファイルの新規作成であるか、あるいは新版プロ
グラムファイルへの更新であるかを判断するメインテナ
ンス作業判断手段と、上記メインテナンス作業判断手段
によって新版プログラムファイルへの更新であると判断
された場合には、上記二次記憶装置に記憶されている上
記旧版プログラムファイルを保存する旧版ファイル保存
手段と、からなり、上記新版ファイル書込み手段は、さ
らに、上記旧版ファイル保存手段による保存後、および
上記メインテナンス作業判断手段によって新版プログラ
ムファイルへの新規作成であると判断された場合には、
上記二次記憶装置へ上記新版プログラムファイルを書き
込むものである。
[0010] In the next invention, the maintenance work means includes a maintenance mode shifting means for setting the secondary storage device to a write-disabled state, and the secondary storage device set to a write-disabled state by the maintenance mode shifting means. A new-version file writing means for outputting a writing error signal when accessing to write the new-version program file to the second-version program file; detecting a writing error signal from the new-version file writing means; Maintenance work determining means for determining whether access to the device is a new creation of a new version program file or updating to a new version program file, and determining that the update to the new version program file is performed by the maintenance work determining means. If so, Old-version file storage means for storing the old-version program file stored in the secondary storage device, wherein the new-version file writing means further includes: If it is determined that the file is a new version of a new version program file,
The new version program file is written to the secondary storage device.

【0011】また、次の発明では、メインテナンス作業
ログ保存手段は、メインテナンス作業手段によるメイン
テナンス作業のログとして、新版プログラムファイルの
新規作成および新版プログラムファイルへの更新の作業
種別毎に、その作業対象となるファイル名と、更新の場
合のみその作業対象となる旧版プログラムファイルのフ
ァイル名とを保存し、メインテナンス作業復旧手段は、
メインテナンス作業ログ保存手段によって保存された作
業種別毎の上記メインテナンス作業のログを順次読み込
んで、読み込んだログの作業種別が新版プログラムファ
イルの新規作成であると判断した場合には、二次記憶装
置から当該新版プログラムファイルを削除して、そのロ
グを削除する一方、読み込んだログの作業種別が新版プ
ログラムファイルへの更新であると判断した場合には、
旧版ファイル保存手段によって保存された旧版プログラ
ムファイルを二次記憶装置の上記新版プログラムファイ
ル上へ書き戻して、そのログを削除するものである。
In the next invention, the maintenance work log storage means stores, as a log of the maintenance work by the maintenance work means, a work object for each work type of new creation of a new edition program file and update to the new edition program file. File name and the file name of the old version program file to be worked on only in the case of update, and the maintenance work recovery means
The maintenance work log for each work type saved by the maintenance work log storage means is sequentially read, and if it is determined that the work type of the read log is a new creation of a new version program file, the log is read from the secondary storage device. While deleting the new program file and deleting the log, if it is determined that the work type of the read log is an update to the new program file,
The old-version program file saved by the old-version file storage means is written back to the new-version program file in the secondary storage device, and the log is deleted.

【0012】また、次の発明では、メインテナンス作業
ログ保存手段は、さらに、メインテナンス作業が複数回
行われた場合には、その複数回分のメインテナンス作業
のログを時系列に保存し、メインテナンス作業が複数回
行われ、且つ、最近のメインテナンス作業を飛び越して
それより古い特定のメインテナンス作業に復旧させる場
合には、上記メインテナンス作業ログ保存手段によって
保存された当該特定のメインテナンス作業のログを読み
込んで、その作業種別が新版プログラムファイルの新規
作成および新版プログラムファイルへの更新である場合
には、そのファイルを復旧対象ファイルとして記憶する
と共に、当該特定のメインテナンス作業より新しいメイ
ンテナンス作業のログを順次読込んで、読み込んだログ
の作業対象ファイルが上記復旧対処ファイルと一致して
いるか否かを判断し、一致している場合にはそのログを
有するメインテナンス作業を上記特定メインテナンス作
業と共にそれらのメインテナンス作業前の状態に復旧さ
せるようメインテナンス作業復旧手段に指示するメイン
テナンス依存関係認識手段をさらに具備するものであ
る。
[0012] In the next invention, the maintenance work log storage means further stores, when the maintenance work is performed a plurality of times, logs of the maintenance work of the plurality of times in a chronological order, and performs the maintenance work in a plurality of times. In the case where a specific maintenance work that has been performed several times and jumps over the recent maintenance work and is restored to a specific maintenance work older than that is performed, the log of the specific maintenance work stored by the maintenance work log storage unit is read and the work is performed. When the type is new creation of a new version program file and update to a new version program file, the file is stored as a recovery target file, and a log of maintenance work newer than the specific maintenance work is sequentially read and read. Log target file Means for determining whether or not the maintenance work file matches the above-mentioned recovery handling file, and if they match, the maintenance work recovery means for restoring the maintenance work having the log together with the specific maintenance work to the state before the maintenance work. Is further provided.

【0013】また、次の発明では、メインテナンス作業
ログ保存手段は、さらに、メインテナンス作業のログを
保存する際に、ログ毎のログ保存時刻を保存し、上記メ
インテナンス作業ログ保存手段によって保存されたログ
を古いほうから順に読込み、読込んだログのログ保存時
刻が現在時間から所定のログ保存時間以上経過したもの
である場合はそのログを削除すると共に、そのログの作
業種別が更新である場合のみ旧版ファイル保存手段によ
って保存されたそのログに対応する旧版プログラムファ
イルを削除するログメインテナンス手段を具備するもの
である。
Further, in the following invention, the maintenance work log storage means further stores a log storage time for each log when storing the maintenance work log, and stores the log stored by the maintenance work log storage means. Are read in order from the oldest one.If the log save time of the read log is more than a predetermined log save time from the current time, the log is deleted and only when the work type of the log is update A log maintenance unit for deleting an old-version program file corresponding to the log stored by the old-version file storage unit is provided.

【0014】また、次の発明では、1台のコンピュータ
装置と、1台のログ保存装置とをネットワークを介し接
続してコンピュータシステムを構築し、上記コンピュー
タ装置が、メインテナンスモード移行手段、新版ファイ
ル書込み手段、メインテナンス作業判断手段および旧版
ファイル保存手段からなるメインテナンス作業手段と、
メインテナンス作業ログ保存手段と、メインテナンス作
業復旧手段とを有する一方、上記ログ保存装置が、上記
メインテナンス作業ログ保存手段によって保存されるメ
インテナンス作業のログの保存領域と、上記旧版ファイ
ル保存手段によって保存される旧版プログラムファイル
の保存領域とを有し、上記コンピュータ装置の上記メイ
ンテナンス作業ログ保存手段および上記旧版ファイル保
存手段は、上記ネットワークを介して上記ログ保存装置
に対しメインテナンス作業のログおよび旧版プログラム
ファイルを送信して当該ログ保存装置の上記メインテナ
ンス作業ログ保存領域および上記旧版ファイル保存領域
に保存させるものである。
Further, in the next invention, one computer device and one log storage device are connected via a network to construct a computer system, and the computer device includes a maintenance mode transition unit, a new version file writing unit, Maintenance work means comprising means, maintenance work determination means and old version file storage means,
While having a maintenance work log storage unit and a maintenance work recovery unit, the log storage device is stored by the maintenance work log storage area stored by the maintenance work log storage unit and the old version file storage unit. A storage area for an old-version program file, wherein the maintenance work log storage unit and the old-version file storage unit of the computer device transmit the maintenance work log and the old-version program file to the log storage device via the network. Then, it is stored in the maintenance work log storage area and the old version file storage area of the log storage device.

【0015】また、次の発明では、複数台のコンピュー
タ装置と、1台のログ保存装置とをネットワークを介し
接続してコンピュータシステムを構築し、上記複数台の
コンピュータ装置が、それぞれ、メインテナンスモード
移行手段、新版ファイル書込み手段、メインテナンス作
業判断手段および旧版ファイル保存手段からなるメイン
テナンス作業手段と、メインテナンス作業ログ保存手段
と、メインテナンス作業復旧手段と、上記ネットワーク
を介し通信を行なうネットワーク通信手段とを有する一
方、上記ログ保存装置が、上記複数台のコンピュータ装
置毎にそれぞれの上記メインテナンス作業ログ保存手段
によって保存されるメインテナンス作業のログの保存領
域と、上記複数台のコンピュータ装置の旧版ファイル保
存手段によって保存される旧版プログラムファイルを保
存する旧版ファイル保存領域と、上記旧版ファイル保存
領域に同一の旧版プログラムファイルが重複して保存さ
れているか否かを調べ、重複して保存されている場合に
は同一旧版プログラムファイルは一つだけ残し、残りの
他の同一旧版プログラムファイルを削除する旧版ファイ
ル保存領域圧縮手段とを有するものである。
In the following invention, a computer system is constructed by connecting a plurality of computer devices and one log storage device via a network, and each of the plurality of computer devices shifts to a maintenance mode. Means, a maintenance work means comprising maintenance means, a maintenance work log storage means, a maintenance work recovery means, and a network communication means for communicating via the network. The log storage device stores the maintenance work log storage area stored by the maintenance work log storage means for each of the plurality of computer devices, and the old file storage means of the plurality of computer devices. Check whether the same old version program file is saved in the old version file storage area and the same old version file storage area in the above old version file storage area. There is provided an old-version file storage area compressing means for leaving only one program file and deleting the other same old-version program file.

【0016】また、次の発明では、1台のメインテナン
ス専用コンピュータ装置と、ソフトウェアのプログラム
ファイルを記憶する記憶装置を有する1台の被メインテ
ナンスコンピュータ装置とをネットワークを介し接続し
てコンピュータシステムを構築し、上記メインテナンス
専用コンピュータ装置が、メインテナンス作業手段と、
メインテナンス作業ログ保存手段と、メインテナンス作
業復旧手段とを有し、上記メインテナンス作業手段が上
記ネットワークを介し上記被メインテナンスコンピュー
タ装置の上記記憶装置に対しメインテナンス作業を行な
うものである。
In the next invention, a computer system is constructed by connecting one maintenance-dedicated computer device and one maintenance-targeted computer device having a storage device for storing software program files via a network. The maintenance-dedicated computer device includes a maintenance work unit;
It has a maintenance work log storage means and a maintenance work recovery means, and the maintenance work means performs maintenance work on the storage device of the maintenance target computer device via the network.

【0017】また、次の発明では、1台のメインテナン
ス専用コンピュータ装置と、ソフトウェアのプログラム
ファイルを記憶する記憶装置を有する複数台の被メイン
テナンスコンピュータ装置とをネットワークを介し接続
してコンピュータシステムを構築し、上記メインテナン
ス専用コンピュータ装置が、メインテナンス作業手段
と、メインテナンス作業ログ保存手段と、メインテナン
ス作業復旧手段と、さらに上記複数台の各被メインテナ
ンスコンピュータ装置に対するメインテナンス作業の内
容を指示するメインテナンス作業制御手段とを有し、上
記メインテナンス作業制御手段の指示に基づいて上記メ
インテナンス作業手段が上記ネットワークを介し上記複
数台の各被メインテナンスコンピュータ装置の記憶装置
に対しメインテナンス作業を行なうものである。
In the following invention, a computer system is constructed by connecting one maintenance-dedicated computer device and a plurality of maintenance-targeted computer devices having a storage device for storing software program files via a network. The maintenance-dedicated computer device includes a maintenance work unit, a maintenance work log storage unit, a maintenance work recovery unit, and a maintenance work control unit that instructs a content of the maintenance work for each of the plurality of maintenance target computer devices. The maintenance work means, based on an instruction of the maintenance work control means, performs maintenance on the storage devices of the plurality of maintenance-target computer apparatuses via the network. It is intended to carry out the work.

【0018】また、次の発明では、メインテナンス作業
指示手段は、1度のメインテナンス作業で複数台の各被
メインテナンスコンピュータ装置に対し同一のメインテ
ナンス作業を行なうようにメインテナンス作業手段に指
示するものである。
Further, in the following invention, the maintenance work instructing means instructs the maintenance work means to perform the same maintenance work on each of the plurality of maintenance-target computer apparatuses in one maintenance work.

【0019】また、次の発明では、メインテナンス作業
指示手段は、1度のメインテナンス作業で複数台の各被
メインテナンスコンピュータ装置に対し異なるメインテ
ナンス作業を行なうようにメインテナンス作業手段に指
示するものである。
Further, in the following invention, the maintenance work instructing means instructs the maintenance work means to perform different maintenance work on each of the plurality of maintenance-target computer apparatuses in one maintenance work.

【0020】[0020]

【発明の実施の形態】以下、本発明に係るコンピュータ
システムの実施の形態1〜7を説明する。 実施の形態1.図1に、本発明に係るコンピュータシス
テムの実施の形態1の構成を示す。図1において、この
実施の形態1のコンピュータシステム101は、1台の
コンピュータ装置内に構築されており、二次記憶装置1
03と、メインテナンスモード移行手段105、ファイ
ルアクセスモード保存領域106、新版ファイル書込み
手段107、メインテナンス作業判断手段108および
旧版ファイル保存手段109からなるメインテナンス作
業手段104と、メインテナンス作業ログ保存手段11
0と、メインテナンス作業復旧手段111とから構成さ
れている。尚、図中、102はメインテナンス作業によ
って新たに二次記憶装置に書き込まれる新版プログラム
ファイルである。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments 1 to 7 of a computer system according to the present invention will be described below. Embodiment 1 FIG. 1 shows the configuration of a computer system according to Embodiment 1 of the present invention. In FIG. 1, a computer system 101 according to the first embodiment is constructed in one computer device, and includes a secondary storage device 1
03, a maintenance mode shift unit 105, a file access mode storage area 106, a new version file writing unit 107, a maintenance work determination unit 108, and an old version file storage unit 109, and a maintenance work log storage unit 11
0 and the maintenance work recovery means 111. In the figure, reference numeral 102 denotes a new version program file newly written to the secondary storage device by the maintenance work.

【0021】二次記憶装置103は、磁気ディスクや光
ディスク等の記憶装置であり、メインテナンス作業が更
新の場合にメインテナンス作業の対象となる旧版プログ
ラムファイル112や他のプログラムファイルが格納さ
れているプログラムファイル記憶領域1031と、メイ
ンテナンスの復旧のため旧版プログラムファイル112
が保存される旧版ファイル保存領域1032と、各メイ
ンテナンス作業に対するログのエントリが記録されるメ
インテナンス作業ログ保存領域1033とを有してい
る。
The secondary storage device 103 is a storage device such as a magnetic disk or an optical disk. When the maintenance work is an update, the old program file 112 to be subjected to the maintenance work and a program file storing other program files are stored. Storage area 1031 and old-version program file 112 for maintenance recovery
And a maintenance work log storage area 1033 in which a log entry for each maintenance work is recorded.

【0022】また、上記各手段の機能は後で詳述する
が、ここで簡単に述べておくと、メインテナンスモード
移行手段105はコンピュータシステム101を通常運
転モードとメインテナンスモードとの間を移行させるた
めのもの、新版ファイル書込み手段107は新版プログ
ラムファイル102を二次記憶装置103のプログラム
ファイル記憶領域1031へ書き込むもの、メインテナ
ンス作業判断手段108はメインテナンスモード時に各
メインテナンス作業により書込み不可状態に設定された
二次記憶装置103上への新版プログラムファイル10
2を書き込みにいった際書込みエラーによって検出して
メインテナンス作業の開始を検出するもの、旧版ファイ
ル保存手段109はメインテナンス作業判断手段108
から通知された旧版プログラムファイル112を二次記
憶装置103上のプログラムファイル記憶領域1031
から旧版ファイル保存領域1032に複写(コピー)す
るものである。
The function of each of the above-mentioned means will be described in detail later. However, in brief, the maintenance mode shifting means 105 shifts the computer system 101 between the normal operation mode and the maintenance mode. , The new version file writing means 107 writes the new version program file 102 into the program file storage area 1031 of the secondary storage device 103, and the maintenance work judging means 108 sets the write disabled state by the respective maintenance work in the maintenance mode. New version program file 10 on next storage device 103
The old version file storage unit 109 detects the start of the maintenance work by detecting a write error when the write operation of the file No. 2 is performed.
The old-version program file 112 notified by the program file storage area 1031 on the secondary storage device 103
Is copied to the old version file storage area 1032.

【0023】さらに、メインテナンス作業ログ保存手段
110は、メインテナンス作業のログを二次記憶装置1
03上のメインテナンス作業ログ保存領域1033に保
存するものであり、メインテナンス作業復旧手段111
は、旧版ファイル保存領域1032およびメインテナン
ス作業ログ保存領域1033に保存されているメインテ
ナンス作業のログに基づいて二次記憶装置103をメイ
ンテナンス作業前の状態に戻すものである。尚、これら
の手段の機能は、上述のようにハードウェア的に設ける
ことも可能であるが、このコンピュータシステム101
のオペレーティングシステム(OS)に持たせるように
しても良い。また、ファイルアクセスモード保存領域1
06は、二次記憶装置103上のプログラムファイル記
憶領域1031に記憶されている各プログラムファイル
のアクセスモードを保存する領域であり、二次記憶装置
1031上に設けるようにしても良い。
Further, the maintenance work log storage means 110 stores the maintenance work log in the secondary storage device 1.
03 in the maintenance work log storage area 1033 on the maintenance work recovery unit 111.
Is for returning the secondary storage device 103 to the state before the maintenance work based on the maintenance work log stored in the old version file storage area 1032 and the maintenance work log storage area 1033. The functions of these means can be provided by hardware as described above.
Of the operating system (OS). File access mode storage area 1
An area 06 stores an access mode of each program file stored in the program file storage area 1031 on the secondary storage device 103, and may be provided on the secondary storage apparatus 1031.

【0024】図2に、メインテナンス作業ログ保存領域
1033に記録されるメインテナンス作業中の各メイン
テナンス作業ログの例を示す。図2において、201,
202,203,204は、メインテナンス作業ログの各
エントリを示しており、各ログのエントリ毎に、エント
リ日時と、作業対象ファイル名と、作業種別と、旧版フ
ァイル保存領域1032におけるファイル名(ただし、
このファイル名は作業種別が“更新”の場合のみ。)と
が格納される。ただし、201、204はそれぞれ最初
及び最後のメンテナンス作業であるので、作業対象ファ
イル名は格納されず、その作業日時と、“メインテナン
ス開始”、“メインテナンス終了”の作業種別のみが格
納される。
FIG. 2 shows an example of each maintenance work log during the maintenance work recorded in the maintenance work log storage area 1033. In FIG. 2, 201,
Reference numerals 202, 203, and 204 denote each entry of the maintenance work log. For each log entry, the entry date and time, the work target file name, the work type, and the file name in the old version file storage area 1032 (however,
This file name is only when the work type is "update". ) Is stored. However, since 201 and 204 are the first and last maintenance work, respectively, the work target file name is not stored, and only the work date and time, and the work types of “maintenance start” and “maintenance end” are stored.

【0025】次に、以上のように構成されたこの実施の
形態1のコンピュータシステムの動作を説明する。
Next, the operation of the computer system according to the first embodiment configured as described above will be described.

【0026】尚、この実施の形態1のコンピュータシス
テムの動作は、大きく分けて次の2つの処理からなる。 (1)メインテナンス作業中のメインテナンス作業ログ
の記録やメインテナンス対象である旧版プログラムファ
イル112の保存処理。 (2)メインテナンス作業ログに基づいた旧版プログラ
ムファイル112をメインテナンス作業前の状態に戻す
メインテナンス作業の復旧処理。 そこで、このコンピュータシステムの動作を上記二つの
処理に分けて説明する。
The operation of the computer system according to the first embodiment is roughly divided into the following two processes. (1) Recording a maintenance work log during maintenance work and storing the old version program file 112 to be maintained. (2) Maintenance work recovery processing for returning the old program file 112 based on the maintenance work log to the state before the maintenance work. Therefore, the operation of the computer system will be described separately for the above two processes.

【0027】まずはじめに、上記(1)のメインテナン
ス作業中のメインテナンス作業ログの記録やメインテナ
ンス対象旧版プログラムファイル112の保存方法につ
いて上述の図1、図2、及びその動作を示す図3〜図5
を参照して説明する。
First, the method of (1) recording the maintenance work log during the maintenance work and storing the old version program file 112 for maintenance described above with reference to FIGS. 1 and 2 and FIGS. 3 to 5 showing the operation thereof.
This will be described with reference to FIG.

【0028】図3は、コンピュータシステム101上の
メインテナンスモード時におけるメインテナンス作業手
段104の動作を示すフローチャートである。
FIG. 3 is a flow chart showing the operation of the maintenance work means 104 in the maintenance mode on the computer system 101.

【0029】図4は、コンピュータシステム101を通
常運転モードからメインテナンスモードに移行させる際
のメインテナンスモード移行手段105の動作を示すフ
ローチャートで、図3におけるステップ302の処理を
詳細に示したものである。
FIG. 4 is a flowchart showing the operation of the maintenance mode shifting means 105 when shifting the computer system 101 from the normal operation mode to the maintenance mode, and shows the processing of step 302 in FIG. 3 in detail.

【0030】図5は、コンピュータシステム101をメ
インテナンスモードから通常運転モードに移行させる際
のメインテナンスモード移行手段105の動作を示すフ
ローチャートで、図3におけるステップ311の処理を
詳細に示したものである。
FIG. 5 is a flowchart showing the operation of the maintenance mode shifting means 105 when shifting the computer system 101 from the maintenance mode to the normal operation mode, and shows the processing of step 311 in FIG. 3 in detail.

【0031】まず、メインテナンス実行者がコンピュー
タシステム101に対してメインテナンス作業を行なう
ことをメインテナンスモード移行手段105に通知す
る。すると、このコンピュータシステム101では、ス
テップ301により図3に示す処理を開始して、まず、
ステップ302によりメインテナンスモード移行手段1
05がこのコンピュータシステム101をメインテナン
スモードに移行させる。
First, the maintenance executor notifies the maintenance mode shifting means 105 that the maintenance work will be performed on the computer system 101. Then, in the computer system 101, the process shown in FIG.
In step 302, the maintenance mode shifting means 1
05 shifts the computer system 101 to the maintenance mode.

【0032】詳細には、図4に示す通りであり、メイン
テナンスモード移行手段105は、ステップ401によ
りメインテナンス処理を開始して、まず、ステップ40
2により二次記憶装置103のメインテナンス作業ログ
保存領域1033に対しメインテナンス開始を示すログ
エントリ201(図2参照)を書き込む。次に、メイン
テナンスモード移行手段105は、次のステップ403
により二次記憶装置103上のプログラムファイル記憶
領域1031に格納されている全プログラムファイルの
現在のアクセスモード、すなわち“書込み可”や“書込
み不可”等の状態をファイルアクセスモード保存領域1
06に保存し、続いて次のステップ404により二次記
憶装置103上のプログラムファイル記憶領域1031
に格納されている各プログラムファイルのアクセスモー
ドを“書込み不可”の状態にセットし、次のステップ4
05によりこの処理を終了する。これにより、このコン
ピュータシステム101は、通常運転モードからメイン
テナンスモードに移行したことになる。
The details are as shown in FIG. 4. The maintenance mode shift means 105 starts the maintenance processing in step 401, and first, in step 40.
2, the log entry 201 (see FIG. 2) indicating the start of maintenance is written in the maintenance work log storage area 1033 of the secondary storage device 103. Next, the maintenance mode shifting means 105 executes the next step 403
The current access mode of all the program files stored in the program file storage area 1031 on the secondary storage device 103, that is, the state such as “writable” or “writable” is stored in the file access mode storage area 1
06, and in the next step 404, the program file storage area 1031 on the secondary storage device 103
The access mode of each of the program files stored in the program is set to a “write-disabled” state, and the next step 4
05 ends this processing. As a result, the computer system 101 has shifted from the normal operation mode to the maintenance mode.

【0033】次に、図3に戻って、ステップ302から
ステップ303の処理へ移行し、このステップ303の
処理により、まずメインテナンスを終了するか否かを判
断し、メインテナンスを終了しない場合は(ステップ3
03“NO”)、メインテナンス作業判断手段108
は、まず、ステップ304によりメインテナンス実行者
による新版プログラムファイル102の書込み等のメイ
ンテナンス作業の開始があるか否かを判断する。具体的
には、メインテナンスモードにおいて新版プログラムフ
ァイル102を導入して二次記憶装置103上のプログ
ラムファイル記憶領域1031に書き込もうとして二次
記憶装置103上の当該プログラムファイル記憶領域1
031にアクセスしても、図4のステップ404の処理
により二次記憶装置103のプログラムファイル記憶領
域1031のアクセスモードがファイル書込み不可の状
態に設定されており、アクセスエラーやアクセストラッ
プ等の書込みエラー状態が発生するので、その書込みエ
ラーを検出することによって新版プログラムファイル1
02の書込み等のメインテナンス作業の開始を認識す
る。
Next, returning to FIG. 3, the processing shifts from step 302 to step 303, where it is first determined whether or not maintenance is to be terminated. If the maintenance is not to be terminated (step 3
03 “NO”), maintenance work determination means 108
First, in step 304, it is determined whether or not maintenance work such as writing of the new version program file 102 has been started by the maintenance executor. More specifically, in the maintenance mode, the new program file 102 is introduced and the program file storage area 131 on the secondary storage device 103 is written to the program file storage area 1031 on the secondary storage device 103.
031, the access mode of the program file storage area 1031 of the secondary storage device 103 is set to a file write-disabled state by the processing of step 404 in FIG. 4, and write errors such as access errors and access traps are made. Since a state occurs, the new program file 1 is detected by detecting the write error.
The start of maintenance work such as writing of 02 is recognized.

【0034】ここで、メインテナンス作業判断手段10
8は、新版プログラムファイル102の書込み等のメイ
ンテナンス作業の開始があると判断した場合には(ステ
ップ304“YES”)、続いて次のステップ305に
よりプログラムファイルの“新規作成”か“更新”か否
かを判断し、プログラムファイルの“変更”の場合に
は、次のステップ306によりメインテナンス作業判断
手段108は旧版ファイル保存手段109およびメイン
テナンス作業ログ保存手段110にそのファイル名(こ
こでは/defである)を通知する。
Here, the maintenance work judging means 10
When it is determined that the maintenance work such as writing of the new version program file 102 has started (step 304 “YES”), the next step 305 determines whether the program file is “new creation” or “update”. It is determined whether or not the program file is “changed”. If the program file is “changed”, the maintenance work determining means 108 in the next step 306 stores the file name (/ def Notify).

【0035】すると、さらに次のステップ307により
旧版ファイル保存手段109は、二次記憶装置103の
プログラムファイル記憶領域1031およびファイルア
クセスモード保存領域106からそれぞれ旧版プログラ
ムファイル112およびその旧版プログラムファイル1
12のアクセスモードを読み出して、それらを旧版ファ
イル保存領域1032に例えばファイル名を“1”等と
して保存する。
Then, in the next step 307, the old-version file storage means 109 stores the old-version program file 112 and the old-version program file 1 from the program file storage area 1031 and the file access mode storage area 106 of the secondary storage device 103, respectively.
Twelve access modes are read and stored in the old version file storage area 1032, for example, with a file name of “1”.

【0036】そして、この“更新”の場合には、次のス
テップ308によりメインテナンス作業ログ保存手段1
10がメインテナンス作業ログ保存領域1033に、例
えば作業対象ファイル名“/def”、作業種別“更
新”、旧版ファイル保存領域におけるファイル名“1”
のログエントリ202(図2参照)を書き込む。その
後、旧版ファイル保存手段109からの保存終了の指示
を新版ファイル書込み手段107が受けて、新版ファイ
ル書込み手段107は、ステップ309により旧版プロ
グラムファイル112のアクセスモードを書込み可に設
定し、続いて次のステップ310によりその旧版プログ
ラムファイル112上に新版プログラムファイル102
を上書きすることにより、プログラムファイルの更新を
行なう。
In the case of this "update", the maintenance work log storage means 1 is executed in the next step 308.
Reference numeral 10 denotes, for example, a work target file name “/ def”, a work type “update”, and a file name “1” in the old version file storage area in the maintenance work log storage area 1033.
Log entry 202 (see FIG. 2). Thereafter, the new version file writing means 107 receives an instruction to end the storage from the old version file storage means 109, and the new version file writing means 107 sets the access mode of the old version program file 112 to writable in step 309. The new program file 102 is stored in the old program file 112 by the step 310 of FIG.
To update the program file.

【0037】一方、ステップ305においてメインテナ
ンス作業判断手段108がプログラムファイルの“新規
作成”であると認識した場合には(ステップ305“Y
ES”)、ステップ306、307をスキップして、ス
テップ308によりメインテナンス作業ログ保存手段1
10がメインテナンス作業ログ保存領域1033に、例
えば作業対象ファイル名“/abc”、作業種別“新規
作成”のファイル新規作成のログエントリ203(図2
参照)を書き込む。尚、このファイル新規作成の場合に
は、プログラムファイル記憶領域1031上の既存のプ
ログラムファイルを書き換える場合ではないため、この
ログエントリ202には旧版ファイル保存領域における
ファイル名は設定されない。そして、この場合は、次の
ステップ309によりプログラムファイル記憶領域10
31上の任意のエリアのアクセスモードを書き込み可に
設定して、次のステップ310によりプログラムファイ
ル記憶領域1031上のその任意のエリアに新版プログ
ラムファイル102を書き込むようにする。
On the other hand, when the maintenance work judging means 108 recognizes that the program file is "new creation" in step 305 (step 305: "Y").
ES "), skip steps 306 and 307, and proceed to step 308 to save the maintenance work log storage unit 1
10 is stored in the maintenance work log storage area 1033. For example, a log entry 203 of a file to be newly created with a work target file name “/ abc” and a work type “new creation” (FIG. 2)
Write). Note that, in the case of this new file creation, since the existing program file in the program file storage area 1031 is not rewritten, the file name in the old version file storage area is not set in this log entry 202. In this case, in the next step 309, the program file storage area 10
The access mode of an arbitrary area on 31 is set to be writable, and in the next step 310, the new version program file 102 is written to the arbitrary area on the program file storage area 1031.

【0038】以上の処理をメインテナンス作業が終了す
るまで、ステップ304においてメインテナンス作業検
出手段108が二次記憶装置103に対する新版プログ
ラムファイル102の書き込みを検出する度に繰り返
す。
The above processing is repeated every time the maintenance work detecting means 108 detects the writing of the new version program file 102 to the secondary storage device 103 in step 304 until the maintenance work is completed.

【0039】そして、メインテナンス作業実行者がメイ
ンテナンス作業の終了をメインテナンスモード移行手段
105に通知すると、メインテナンスモード移行手段1
05はメインテナンス作業の終了と判断して(ステップ
303“YES”)、ステップ311によりこのコンピ
ュータシステム101を通常運転モードに移行する。
When the maintenance work executor notifies the maintenance mode transition means 105 of the end of the maintenance work, the maintenance mode transition means 1
In step 05, it is determined that the maintenance work has been completed ("YES" in step 303), and the computer system 101 is shifted to the normal operation mode in step 311.

【0040】具体的には、図5に示すように、ステップ
501によりメインテナンスモード移行手段105はこ
の処理を開始して、次のステップ502によりファイル
アクセスモード保存領域106に保存されている各プロ
グラムファイルのアクセスモードを参照することによ
り、二次記憶装置103上の各プログラムファイルのア
クセスモードを復旧する。そして、次のステップ503
によりメインテナンス作業ログ保存領域1033に“メ
インテナンス作業終了”のログエントリ204(図2参
照)を書込む。これで、このコンピュータシステム10
1はステップ311によりメインテナンスモードから通
常運転モードに移行したことになる。
More specifically, as shown in FIG. 5, the maintenance mode shift means 105 starts this processing in step 501, and the program files stored in the file access mode storage area 106 in the next step 502. , The access mode of each program file on the secondary storage device 103 is restored. Then, the next step 503
Then, the log entry 204 (see FIG. 2) of “maintenance work completed” is written in the maintenance work log storage area 1033. Now, this computer system 10
1 means that the operation mode has shifted from the maintenance mode to the normal operation mode in step 311.

【0041】以上の処理を行なうことにより、図2に示
すようなメインテナンス作業中の各メインテナンス作業
のログエントリがメインテナンス作業ログ保存領域10
33に保存される一方、メインテナンス作業が更新の場
合であれば、旧版プログラムファイル112が旧版ファ
イル保存領域1032に保存されることになる。
By performing the above processing, the log entry of each maintenance work during the maintenance work as shown in FIG.
If the maintenance work is update while the old version program file 112 is stored, the old version program file 112 is stored in the old version file storage area 1032.

【0042】次に、以上説明したように保存したメイン
テナンス作業保存ログ領域1033のログエントリと旧
版ファイル保存領域1032に保存されたメインテナン
ス対象旧版プログラムファイル112を用いて行なう上
記(2)のメインテナンス作業の復旧処理を図1、図2
及び図6を参照して説明する。
Next, as described above, the maintenance work of the above (2) is performed using the log entry of the maintenance work saving log area 1033 and the maintenance target old version program file 112 saved in the old version file saving area 1032 as described above. Figure 1 and 2 show the recovery process
This will be described with reference to FIG.

【0043】図6は、メインテナンス作業復旧時のメイ
ンテナンス作業復旧手段111の動作を示すフローチャ
ートである。
FIG. 6 is a flow chart showing the operation of the maintenance work restoring means 111 when the maintenance work is restored.

【0044】まず、メインテナンス作業復旧手段111
は、ステップ601によりこの復旧処理を開始すると、
まず、ステップ602によりメインテナンス作業ログ保
存領域1033の各ログエントリを日時の新しいものか
ら日時の古いものに向かって、すなわち図2であればロ
グエントリ204,203,202,201の順番に一つ
一つ読み込み、読み込んだログエントリの作業種別毎に
その作業種別がメインテナンスの開始であるか(ステッ
プ603)、プログラムファイルの新規作成であるか
(ステップ604)、プログラムファイルの更新である
か(ステップ605)を判断して、それに続くステップ
606から611によりプログラムファイルの復旧作業
を行う。
First, the maintenance work recovery means 111
Starts this recovery processing in step 601,
First, in step 602, the log entries in the maintenance work log storage area 1033 are sorted one by one from the newest date and time to the oldest date and time, that is, in FIG. 2, in the order of the log entries 204, 203, 202 and 201. For each work type of the read log entry, whether the work type is the start of maintenance (step 603), whether a new program file is created (step 604), or whether the program file is updated (step 605) ) Is determined, and the program file is restored in steps 606 to 611 that follow.

【0045】具体的には、例えば、ログエントリの作業
種別がログエントリ203のようにプログラムファイル
の“新規作成”の場合には(ステップ604“YE
S”)、メインテナンス作業復旧手段111は、ステッ
プ609によりログエントリ203に記録されている作
業対象ファイル名をもとに二次記憶装置103上のプロ
グラムファイル記憶領域1031に格納されているプロ
グラムファイル(ログエントリ203の場合には/abcで
ある)を削除し、次のステップ610によりメインテナ
ンス作業ログ保存領域108からそのログエントリ20
3を削除する。
Specifically, for example, when the work type of the log entry is “new creation” of the program file like the log entry 203 (step 604: “YE”)
S ″), the maintenance work recovery unit 111 uses the program file stored in the program file storage area 1031 on the secondary storage device 103 based on the work target file name recorded in the log entry 203 in step 609 (step S609). In the case of the log entry 203, it is / abc), and the log entry 20 is deleted from the maintenance work log storage area 108 in the next step 610.
Delete 3.

【0046】一方、ログエントリの作業種別がログエン
トリ202のようにプログラムファイルの“更新”の場
合には(ステップ605“YES”)、ステップ606
によりログエントリ202の旧版ファイル保存領域10
32に保存されているファイル名(ここでは“1”とな
る)の旧版プログラムファイル112(ここでは/defであ
る)およびそのアクセスモードを旧版ファイル保存領域
1032から読出してプログラムファイル記憶領域10
31上に書き戻し、続いて次のステップ607により旧
版ファイル保存領域1032に保存されていたその旧版
プログラムファイル112を削除して、さらに次のステ
ップ608によりメインテナンス作業ログ保存領域10
33からそのログエントリ202を削除する。
On the other hand, when the work type of the log entry is “update” of the program file as in the log entry 202 (“YES” in step 605), step 606 is performed.
The old version file storage area 10 of the log entry 202
The old program file 112 (here, / def) having the file name (here, “1”) stored in the file 32 and its access mode are read from the old file storage area 1032, and the program file storage area 10 is read.
Then, the old-version program file 112 stored in the old-version file storage area 1032 is deleted in the next step 607, and the maintenance work log storage area 10 is deleted in the next step 608.
33, the log entry 202 is deleted.

【0047】以上の処理を繰り返して、メインテナンス
作業ログ保存領域1033から作業種別が“メインテナ
ンス作業の開始”のログエントリ201が読み込まれた
場合には(ステップ603“YES”)、メインテナン
ス作業復旧手段111は、ステップ611に移行してメ
インテナンス作業の復旧作業を終了する。
By repeating the above processing and reading the log entry 201 whose work type is “start of maintenance work” from the maintenance work log storage area 1033 (“YES” in step 603), the maintenance work recovery unit 111 Moves to step 611, and ends the recovery work of the maintenance work.

【0048】従って、この実施の形態1のコンピュータ
システムによれば、二次記憶装置103に格納されたプ
ログラムファイルのメインテナンス作業の際、そのメイ
ンテナンス作業のログの保存や、メインテナンス作業が
更新の場合で置き換えられる旧版プログラムファイル1
12のバックアップが自動的に行なわれるので、そのメ
インテナンス作業前の状態に復旧させる場合にはそのロ
グや旧版プログラムファイル112のバックアップ等に
基づいてメインテナンス作業の復旧が自動的に可能とな
る。尚、この実施の形態1では、旧版ファイル保存領域
1032およびメインテナンス作業ログ保存領域103
3を二次記憶装置103上に設けて説明したが、本発明
では、このような場合に限定せず、旧版ファイル保存領
域1032およびメインテナンス作業ログ保存領域10
33を他の二次記憶装置や、他のメモリに設けるように
しても勿論良い。
Therefore, according to the computer system of the first embodiment, when the maintenance work of the program file stored in the secondary storage device 103 is performed, the log of the maintenance work is stored and the maintenance work is updated. Old version program file 1 to be replaced
Since the backup of the maintenance work 12 is automatically performed, the recovery of the maintenance work can be automatically performed based on the log and the backup of the old-version program file 112 when restoring the state before the maintenance work. In the first embodiment, the old version file storage area 1032 and the maintenance work log storage area 103
In the present invention, the old version file storage area 1032 and the maintenance work log storage area 10 are not limited to such a case.
Of course, 33 may be provided in another secondary storage device or another memory.

【0049】実施の形態2.次に、上記実施の形態1の
コンピュータシステムを改良した実施の形態2のコンピ
ュータシステムについて説明する。
Second Embodiment Next, a computer system according to a second embodiment in which the computer system according to the first embodiment is improved will be described.

【0050】図7に、この実施の形態2のコンピュータ
システムの構成を示す。尚、この図7において、図1に
示す実施の形態1の構成と同一のものには同一符号を付
してその説明は省略する。この実施の形態2のコンピュ
ータ装置701は、この図7に示すように、実施の形態
1に対し、新たにメインテナンス依存関係認識手段70
2を追加したもので、メインテナンスモード移行手段1
05およびメインテナンス作業判断手段108の機能を
拡張するように構成したものである。ここで、メインテ
ナンス依存関係認識手段702は、メインテナンス作業
ログ保存領域1033に記録されるメインテナンス作業
のログエントリをもとに複数のメインテナンス作業の中
で特定のメインテナンス作業を復旧させるためにその前
に復旧を行う必要のあるメインテナンス作業を認識する
もので、その処理については後で詳述するものとする。
FIG. 7 shows the configuration of a computer system according to the second embodiment. In FIG. 7, the same components as those of the first embodiment shown in FIG. 1 are denoted by the same reference numerals, and description thereof will be omitted. As shown in FIG. 7, a computer device 701 according to the second embodiment is different from the first embodiment in that a maintenance dependency recognizing unit 70 is newly added.
2 to which the maintenance mode shift means 1 is added.
05 and the maintenance work judging means 108 are extended. Here, the maintenance dependency recognizing unit 702 performs recovery before recovering a specific maintenance work among a plurality of maintenance works based on the log entry of the maintenance work recorded in the maintenance work log storage area 1033. The maintenance work that needs to be performed is recognized, and the processing will be described later in detail.

【0051】図8に、この実施の形態2においてメイン
テナンス作業ログ保存領域1033に記録されるメイン
テナンス作業ログの例を示す。図8において、801〜
805はあるメインテナンス作業1の各作業のログエン
トリ、806〜809は別のメインテナンス作業2によ
る各作業のログエントリ、810〜813は別のメイン
テナンス作業3による各作業のログエントリを示してい
る。この実施の形態2のメインテナンス作業ログは、メ
インテナンス作業がメインテナンス作業1〜3というよ
うに複数あるという点と、作業種別に“参照”、すなわ
ち作業対象ファイル名が示す他のプログラムファイルを
そのまま参照する作業があるという点とを除いては、図
2に示す実施の形態1のメインテナンス作業ログと実質
的に同じである。
FIG. 8 shows an example of a maintenance work log recorded in the maintenance work log storage area 1033 in the second embodiment. In FIG.
Reference numeral 805 denotes a log entry of each work of a certain maintenance work 1, 806 to 809 denote log entries of each work by another maintenance work 2, and 810 to 813 denote log entries of each work by another maintenance work 3. The maintenance work log of the second embodiment refers to the fact that there are a plurality of maintenance works such as maintenance work 1 to 3, and the work type is "reference", that is, the other program file indicated by the work target file name is referred to as it is. Except for the fact that there is work, it is substantially the same as the maintenance work log of the first embodiment shown in FIG.

【0052】次に、以上のように構成された実施の形態
2のコンピュータ装置の動作を図面を参照して説明す
る。尚、この実施の形態2は、実施の形態1を改良した
ものであるので、実施の形態1と同様にその動作を上記
(1)のメインテナンス作業中のメインテナンス作業ロ
グの記録やメインテナンス対象旧版プログラムファイル
712の保存処理と、上記(2)のメインテナンス作業
ログや保存されたメインテナンス対象旧版プログラムフ
ァイル712を元にしたメインテナンス作業の復旧処理
の2つの動作に分けることができる。そこで、この実施
の形態2においても実施の形態1と同様に、2つに分け
て特に実施の形態1との違いを中心に説明するものとす
る。
Next, the operation of the computer device of the second embodiment configured as described above will be described with reference to the drawings. Since the second embodiment is an improvement of the first embodiment, similar to the first embodiment, the operation is performed by recording the maintenance work log during the maintenance work described in the above (1) or by using the old program for maintenance. The storage operation of the file 712 and the restoration operation of the maintenance work based on the maintenance work log and the stored old version program file 712 for maintenance described in the above (2) can be divided into two operations. Therefore, also in the second embodiment, as in the first embodiment, the description will be divided into two parts and the description will be focused on the difference from the first embodiment.

【0053】まず、はじめに、メインテナンス作業中の
メインテナンス作業のログの記録やメインテナンス対象
旧版プログラムファイル112の保存処理について、図
面を参照して説明する。
First, the recording of the log of the maintenance work during the maintenance work and the process of storing the old program file 112 for maintenance will be described with reference to the drawings.

【0054】図9は、この実施の形態におけるメインテ
ナンス作業中モード時におけるメインテナンス作業判断
手段108及び旧版ファイル保存手段109の動作を示
すフローチャートである。
FIG. 9 is a flow chart showing the operation of the maintenance work judging means 108 and the old version file storage means 109 in the maintenance work mode in this embodiment.

【0055】まず、この実施の形態2においてもメイン
テナンス実行者は、これからコンピュータシステム70
1に対してメインテナンス作業を実行することをメイン
テナンスモード移行手段105に通知する。すると、実
施の形態1の場合と同様に、ステップ1002によりこ
の処理を開始して、まずステップ1002によりメイン
テナンスモード移行手段105は、このコンピュータシ
ステム701をメインテナンスモードに移行させる。
First, also in the second embodiment, the maintenance executor will be
The maintenance mode transition unit 105 is notified that the maintenance work is to be performed on the first maintenance mode. Then, as in the first embodiment, this processing is started in step 1002, and first, in step 1002, the maintenance mode shift unit 105 shifts the computer system 701 to the maintenance mode.

【0056】具体的には、実施の形態1と同様に図4に
示す処理を行って、インテナンス作業開始のログエント
リ801,806,810を書き込み、続いて二次記憶
装置103上の各ファイルについて現在のアクセスモー
ドをファイルアクセスモード保存領域106に保存し、
さらに各プログラムファイルのアクセスモードを読み書
き不可に設定する。これにより、この実施の形態2にお
いても、コンピュータシステム701は、ステップ10
02により通常運転モードからメインテナンスモードに
移行する。
More specifically, the process shown in FIG. 4 is performed in the same manner as in the first embodiment, and the log entries 801, 806, and 810 for starting the maintenance work are written, and then each file on the secondary storage device 103 is written. For the current access mode in the file access mode storage area 106,
Further, the access mode of each program file is set to read / write. Thereby, also in the second embodiment, the computer system 701
02 shifts from the normal operation mode to the maintenance mode.

【0057】次に、メインテナンス実行者は、実施の形
態1と同様に、新版プログラムファイル102の導入を
開始して、メインテナンスモードにおいて新版プログラ
ムファイル102の導入により二次記憶装置103上の
ファイルに書き込みが発生した場合には、そのプログラ
ムファイルの書込みをメインテナンス作業判断手段が1
08が認識して(ステップ1004“YES”)、ステ
ップ1005〜1010において実施の形態1と同様に
処理する。
Next, as in the first embodiment, the maintenance executor starts introduction of the new version program file 102 and writes the file in the secondary storage device 103 by introducing the new version program file 102 in the maintenance mode. Occurs, the maintenance work determining means determines that the program file is to be written.
08 is recognized (“YES” in step 1004), and processing is performed in steps 1005 to 1010 in the same manner as in the first embodiment.

【0058】また、この実施の形態2では、このステッ
プ1004においては、メインテナンス作業判断手段1
08は二次記憶装置103上のプログラムファイル記憶
領域1031の他のプログラムファイルを参照するため
のプログラムファイルの読み込みが発生したか否かも判
断しており、このプログラムファイルの読込みがあった
と判断した場合には(ステップ1004“NO”)、ス
テップ1011によりメインテナンス作業判断手段10
8がプログラムファイルの参照と認識して、次のステッ
プ1012によりメインテナンス作業ログ保存領域10
8に作業種別がファイル“参照”のログエントリ804
等を書き込み、次のステップ1013により参照すべき
プログラムファイル(ログエントリ804であれば、作
業対象ファイル名“/ghi”のプログラムファイル)
のアクセスモードを読込み可に設定して、実際にそのプ
ログラムファイルを読み出すようにする。
In the second embodiment, in this step 1004, the maintenance work judging means 1
08 also determines whether reading of a program file for referring to another program file of the program file storage area 1031 on the secondary storage device 103 has occurred, and if it is determined that this program file has been read, (“NO” in step 1004), the maintenance work judging means 10
8 recognizes the program file as a reference, and in the next step 1012, the maintenance work log storage area 10
8, a log entry 804 whose work type is a file “reference”
And the like, and a program file to be referred to in the next step 1013 (in the case of the log entry 804, a program file with a work target file name “/ ghi”)
Is set to be readable, and the program file is actually read.

【0059】そして、メインテナンス作業が終了した場
合には(ステップ1003“YES”)、ステップ10
14、すなわち詳細には図5に示すようにして実施の形
態1と同様にプログラムファイルのアクセスモードを復
旧して、ログエントリ805等に示すようにメインテナ
ンス作業終了を記憶して、メインテナンス作業1回分の
作業を終了し、このコンピュータシステム701をメイ
ンテナンスモードから通常運転モードに移行させる。
If the maintenance work has been completed (“YES” in step 1003), the process proceeds to step 10
14, that is, in detail, as shown in FIG. 5, the access mode of the program file is restored in the same manner as in the first embodiment, and the end of the maintenance work is stored as shown in the log entry 805 and the like. Is completed, and the computer system 701 is shifted from the maintenance mode to the normal operation mode.

【0060】以上の動作により1回分のメインテナンス
作業中の作業ログの記録および旧版ファイル保存領域1
032へのメインテナンス対象旧版プログラムファイル
712の保存が行える。ここでは、以上と同様のメイン
テナンス作業をメインテナンス1〜3の3回分行なうこ
とにより、3回分のメインテナンス作業のメインテナン
ス作業ログが図8に示すように構成できることになる。
By the above operation, the recording of the work log during one maintenance work and the old file storage area 1
032, the old program file 712 for maintenance can be saved. Here, the maintenance work similar to the above is performed three times for the maintenances 1 to 3, so that the maintenance work log of the three maintenance works can be configured as shown in FIG.

【0061】次に、保存されているメインテナンス作業
保存ログ領域1033のログエントリと旧版ファイル保
存領域1032に保存されたファイルを用いて行うメイ
ンテナンス作業の復旧の方式を図7、図8、図10を参
照して説明する。ただし、メインテナンス作業保存領域
1033に1回のメインテナンス作業のログしかないと
きにそのメインテナンス作業を復旧させる場合には、実
施の形態1の方式をそのまま用いることができるので、
ここでは図8に示すように複数のメインテナンス作業が
行われた場合において、例えばメインテナンス作業1を
復旧させたい場合の復旧方式を説明する。
Next, FIGS. 7, 8, and 10 show a method of restoring the maintenance work performed by using the saved log entries in the maintenance work storage log area 1033 and the files stored in the old version file storage area 1032. FIG. It will be described with reference to FIG. However, when the maintenance work is restored when there is only one maintenance work log in the maintenance work storage area 1033, the method of the first embodiment can be used as it is.
Here, a description will be given of a recovery method in a case where, for example, the maintenance work 1 is to be recovered when a plurality of maintenance works are performed as shown in FIG.

【0062】図10は、メインテナンス作業ログ保存領
域1033に記録されたログをもとに、復旧を行わなけ
ればならないメインテナンス作業を決定するためのメイ
ンテナンス依存関係認識手段702の動作を示すフロー
チャートである。
FIG. 10 is a flow chart showing the operation of the maintenance dependency recognizing means 702 for determining the maintenance work to be restored based on the log recorded in the maintenance work log storage area 1033.

【0063】メインテナンス依存関係認識手段702
は、ステップ1101によりその処理を開始すると、ま
ず、ステップ1102によりメインテナンス作業ログ保
存領域の各ログエントリを先頭、すなわち古いほうから
復旧対象のメインテナンス作業の開始のログエントリが
現れるまで読み飛ばす。そして、次のステップ1103
により1ログエントリを読み込み、次のステップ110
4によりその作業種別がプログラムファイルの“更新”
もしくは“新規作成”のものであるか否かを判断し、作
業種別がプログラムファイルの“更新”もしくは“新規
作成”のものである場合には(ステップ1104“YE
S”)、ステップ1106によりそのログエントリの作
業対象ファイル名を復旧対象ファイルとして記憶して、
この処理をログエントリの作業種別がメインテナンス作
業の終了になるまで繰り返すようにする。これにより、
復旧対象としているメインテナンス作業において更新あ
るいは作成しているすべてのファイル名が復旧対象ファ
イルとして記憶されることになる。
The maintenance dependency recognizing means 702
When the process is started in step 1101, first, in step 1102, each log entry in the maintenance work log storage area is skipped from the beginning, that is, from the oldest one, until the log entry of the start of the maintenance work to be restored appears. Then, the next step 1103
Reads one log entry, and proceeds to the next step 110
The work type is "update" of the program file by 4
Alternatively, it is determined whether or not the work type is “new creation”, and if the work type is “update” or “new creation” of the program file (step 1104: “YE
S ″), the work target file name of the log entry is stored as a recovery target file in step 1106, and
This processing is repeated until the work type of the log entry becomes the end of the maintenance work. This allows
All the file names updated or created in the maintenance work targeted for recovery are stored as recovery target files.

【0064】これに対し、作業種別がプログラムファイ
ルの“変更”もしくは“新規作成”でなく(ステップ1
104“NO”)、且つ、メインテナンス作業1の終了
を示す“メインテナンス1終了”である場合には(ステ
ップ1105“YES”)、ステップ11033により
次のログエントリを読み込んで、ログエントリがもう残
っていないか否かを判断し(ステップ1108)、ログ
エントリがもうなければ(ステップ1108“YE
S”)、この処理を終了する一方(ステップ111
2)、ログエントリがまだ残っていれば(ステップ11
08“NO”)、次のステップ1109によりそのログ
エントリの作業対象ファイル名がステップ1106で記
憶した復旧対象ファイル名のどれかと一致するか否かを
判断する。そして、ログエントリの作業対象ファイル名
がステップ1106で記憶した復旧対象ファイル名のど
れかと一致している場合には(ステップ1109“YE
S”)、次のステップ1110により復旧対象メインテ
ナンス作業リストにこのメインテナンス作業を追加し、
続いてステップ1111により“メインテナンス終了”
のログエントリが出るまで読み飛ばす。
On the other hand, the work type is not “change” or “new creation” of the program file (step 1).
104 "NO") and "maintenance 1 end" indicating the end of the maintenance work 1 (step 1105 "YES"), the next log entry is read in step 11033, and the log entry already exists. It is determined whether or not there is no log entry (step 1108).
S "), while this processing is terminated (step 111).
2) If log entries still remain (step 11)
08 “NO”), in the next step 1109, it is determined whether or not the work file name of the log entry matches any of the recovery file names stored in step 1106. If the work target file name of the log entry matches any of the recovery target file names stored in step 1106 (step 1109: “YE
S "), add this maintenance work to the recovery target maintenance work list in the next step 1110,
Subsequently, “maintenance end” is performed in step 1111.
Skip until the log entry of.

【0065】そして、ステップ1107に戻りメインテ
ナンス作業ログ保存領域1033の次のログエントリを
読み込むようして、ログエントリがなくなると(ステッ
プ1108“YES”)、復旧対象メインテナンス作業
リストに追加すべき復旧する必要のあるメインテナンス
がないということになるので、復旧対象である特定のメ
インテナンス作業と、それを復旧させるためその前に復
旧作業を行う必要のあるメインテナンス作業とを検出す
ることができる。
Then, returning to step 1107, the next log entry in the maintenance work log storage area 1033 is read, and when there are no more log entries (step 1108 "YES"), recovery to be added to the recovery target maintenance work list is performed. Since there is no necessary maintenance, it is possible to detect a specific maintenance work to be restored and a maintenance work which needs to perform a recovery work before it is restored.

【0066】例えば、図8においてメインテナンス作業
1を復旧対象メインテナンス作業とした場合、復旧対象
ファイルは“/abc”と、“/def”となる。その
後、そのメインテナンス作業1より新しいメインテナン
ス作業2,3のログをメインテナンス作業ログ保存領域
1033で参照することにより、メインテナンス作業3
のログエントリ811でメインテナンス作業1の作業対
象ファイル“/abc”を参照しているのがわかる。こ
のため、メインテナンス作業3が復旧対象メインテナン
ス作業リストに追加され、今回はメインテナンス作業1
およびメインテナンス作業3を復旧させれば良いことが
わかる。このように復旧対象メインテナンス作業が特定
できれば、その実際の復旧作業はそれぞれのメインテナ
ンス作業1,3に対して実施の形態1と同様に図6に示
す処理を行なうことにより、メインテナンス作業1,3
の復旧作業を実行できることになる。尚、他のメインテ
ナンス作業で更新等したプログラムファイルを再度更新
している場合も同様に複数のメインテナンス作業が同時
に復旧されることになる。
For example, in FIG. 8, when the maintenance work 1 is the maintenance work to be restored, the files to be restored are “/ abc” and “/ def”. After that, by referring to the maintenance work log storage area 1033 for the logs of the maintenance work 2 and 3 newer than the maintenance work 1, the maintenance work 3
It can be seen that the work entry file “/ abc” of the maintenance work 1 is referred to by the log entry 811 of FIG. Therefore, maintenance work 3 is added to the list of maintenance work to be restored, and this time maintenance work 1 is added.
It can be seen that the maintenance work 3 should be restored. If the maintenance work to be restored can be specified in this way, the actual recovery work is performed by performing the processing shown in FIG. 6 on each of the maintenance works 1 and 3 in the same manner as in the first embodiment.
Recovery work can be performed. In the case where a program file updated in another maintenance operation is updated again, a plurality of maintenance operations are similarly restored at the same time.

【0067】従って、この実施の形態2によれば、複数
のメインテナンス作業を行ない、しかもその複数のメイ
ンテナンス作業間で他のメインテナンス作業のプログラ
ムファイルを参照している場合において、その参照され
ているプログラムファイルを有する特定のメインテナン
ス作業を復旧させる場合でも、その特定のメインテナン
ス作業を復旧する際に同時に復旧を行う必要のある、す
なわちそのメインテナンス作業中のプログラムファイル
を参照している他のメインテナンス作業を決定して、そ
のメインテナンス作業も同時に復旧するようにしたた
め、メインテナンス実行者がプログラムファイルの参照
による複数のメインテナンス作業間の相互依存関係を逐
一把握しなくても、相互依存関係にある複数のメインテ
ナンス作業を同時復旧でき、メインテナンス作業を複数
回行った場合でも容易にメインテナンス作業を復旧でき
ることになる。
Therefore, according to the second embodiment, when a plurality of maintenance works are performed, and a program file of another maintenance work is referred to among the plurality of maintenance works, the referenced program Even when restoring a specific maintenance work having a file, when restoring the specific maintenance work, it is necessary to perform the restoration at the same time, that is, determine other maintenance work referring to the program file under the maintenance work. In addition, the maintenance work is also restored at the same time, so that the maintenance executor does not need to grasp the interdependency between the multiple maintenance work by referring to the program file, so that the maintenance work with interdependency can be performed. Simultaneous return Can be, it will be able to recover easily maintenance work even in the case of a plurality of times the maintenance work.

【0068】実施の形態3.次に、本発明に係るコンピ
ュータシステムの実施の形態3を説明する。実施の形態
3のコンピュータシステムは、実施の形態1のコンピュ
ータシステムを改良したもので、予め設定しておいたロ
グ保存時間に基づいて二次記憶装置上のメインテナンス
作業ログ保存領域および旧版ファイル保存領域の拡大を
抑えるように改良したものである。
Third Embodiment Next, a third embodiment of the computer system according to the present invention will be described. The computer system according to the third embodiment is an improvement of the computer system according to the first embodiment, and includes a maintenance work log storage area and an old version file storage area on a secondary storage device based on a preset log storage time. It has been improved to suppress the expansion of.

【0069】図11に、本発明の実施の形態3のコンピ
ュータ装置1201の特徴的な構成を示す。この実施の
形態3のコンピュータ装置1201は、実施の形態1の
構成に対し、さらにメインテナンス作業ログ保存領域1
202に保存された各ログエントリをどれだけの期間保
存しておくかを示すログ保存時間に基づいて、二次記憶
装置1203上のメインテナンス作業ログ保存領域12
032や旧版ファイル保存領域12033をメインテナ
ンスするログメインテナンス手段1204を有すること
を特徴とするものである。ここで、ログ保存時間は、メ
インテナンス実行者等が任意に設定可能なものとする。
尚、この図11において、メインテナンス作業手段等の
実施の形態1の構成は図示していない。
FIG. 11 shows a characteristic configuration of a computer device 1201 according to the third embodiment of the present invention. The computer device 1201 of the third embodiment is different from the configuration of the first embodiment in that the maintenance work log storage area 1
The maintenance work log storage area 12 on the secondary storage device 1203 based on the log storage time indicating how long each log entry stored in the storage 202 is stored.
032 and an old version file storage area 12033 are provided by a log maintenance unit 1204. Here, the log storage time can be arbitrarily set by a maintenance executor or the like.
Note that FIG. 11 does not show the configuration of the first embodiment such as maintenance work means.

【0070】次に、この実施の形態3の動作を説明す
る。尚、この実施の形態3でも、メインテナンス作業お
よびメインテナンス復旧作業は上記実施の形態1と同様
であるので、ここでは図12をもとにこの実施の形態3
の特徴的な動作であるメインテナンス作業ログ保存領域
および旧版ファイル保存領域の削除により圧縮するため
の動作を説明する。
Next, the operation of the third embodiment will be described. In the third embodiment, the maintenance work and the maintenance recovery work are the same as those in the first embodiment. Therefore, the third embodiment will be described with reference to FIG.
An operation for compressing the data by deleting the maintenance work log storage area and the old version file storage area, which is a characteristic operation of the embodiment, will be described.

【0071】図12に、ログメインテナンス手段120
4が二次記憶装置1203上のメインテナンス作業ログ
保存領域12032や旧版ファイル保存領域12033
を圧縮する際の動作を示す。この動作を説明すると、ロ
グメインテナンス手段1204は、ステップ1301に
より処理を開始すると、まずステップ1302によりメ
インテナンス作業ログ保存領域のログエントリを日時の
新しいものから古いものに向かって一つずつ読み込み、
続いてステップ1303により読み込んだ作業種別が
“メインテナンス終了”であるか否かを判断する。
FIG. 12 shows the log maintenance means 120.
4 is a maintenance work log storage area 12032 and an old version file storage area 12033 on the secondary storage device 1203.
The operation when compressing is shown. To describe this operation, when the log maintenance means 1204 starts the processing in step 1301, first, in step 1302, log entries in the maintenance work log storage area are read one by one from the newest date and time to the oldest one.
Subsequently, it is determined whether or not the work type read in step 1303 is “maintenance end”.

【0072】そして、そのログエントリの作業種別が
“メインテナンス終了”の場合のみ(ステップ1303
“YES”)、次のステップ1304に移行してそのロ
グエントリの記録された日時が現在時間からログ保存時
間を引いた時間以下であるか否かを判断する。ここで、
ログエントリの記録された日時が現在時間からログ保存
時間を引いたもの以下であると判断された場合には(ス
テップ1304“YES”)、このログエントリより前
にエントリされたすべてのログエントリがメインテナン
ス実行者が設定したログ保存時間を超えていることにな
るので、ステップ1305〜1311によりそれ以前の
ログエントリを一つ一つ削除していく。
Only when the work type of the log entry is "maintenance end" (step 1303)
“YES”), the flow shifts to the next step 1304, and it is determined whether or not the date and time when the log entry is recorded is equal to or less than the current time minus the log storage time. here,
If it is determined that the date and time when the log entry was recorded is equal to or less than the current time minus the log storage time (“YES” in step 1304), all log entries entered before this log entry are deleted. Since the log storage time set by the maintenance executor has been exceeded, the log entries before that are deleted one by one in steps 1305 to 1311.

【0073】具体的には、ログメインテナンス手段12
04は、まず、ステップ1305によりその作業種別が
“メインテナンス終了”のログエントリを削除し、続い
て次のステップ1306によりメインテナンス作業ログ
保存領域1202から次のログエントリを読込み、次の
ログエントリがある場合には(ステップ1307“N
O”)、次のステップ1308によりログエントリの作
業種別がプログラムファイルの“更新”であるか否かを
判断する。
Specifically, the log maintenance means 12
In step 04, the log entry whose work type is "maintenance end" is deleted in step 1305, and the next log entry is read from the maintenance work log storage area 1202 in the next step 1306, and there is the next log entry. In the case (step 1307 "N
O)), in the next step 1308, it is determined whether or not the work type of the log entry is “update” of the program file.

【0074】そして、そのログエントリの作業種別がプ
ログラムファイルの“更新”である場合のみ(ステップ
1308“YES”)、旧版ファイル保存領域1203
2にメインテナンス対象となった旧版プログラムファイ
ルが保存されているため、ステップ1309により旧版
ファイル保存領域12032からそのログエントリが示
す旧版プログラムファイルを削除する。その後は、その
ログエントリの作業種別がプログラムファイルの“更
新”でない、“新規作成”や“参照”の場合(ステップ
1308“NO”)と同様に、ステップ1310により
メインテナンス作業ログ保存領域12033からそのロ
グエントリを削除して、上記ステップ1306の処理に
戻り以上と同様の処理を繰り返し行なうようにする。そ
して、ステップ1307により次のログエントリがなけ
いと判断された場合には(ステップ1307“YE
S”)、以上の圧縮処理を終了するようにする(ステッ
プ1311)。
Only when the work type of the log entry is “update” of the program file (“YES” in step 1308), the old version file storage area 1203
Since the old-version program file to be maintained is stored in 2, the old-version program file indicated by the log entry is deleted from the old-file storage area 12032 in step 1309. After that, the work type of the log entry is not “update” of the program file, but is “new creation” or “reference” (step 1308 “NO”). The log entry is deleted, and the process returns to step 1306 to repeat the same process as above. If it is determined in step 1307 that there is no next log entry (step 1307: “YE
S "), the above-mentioned compression processing is terminated (step 1311).

【0075】従って、この実施の形態3によれば、ログ
メインテナンス手段1204がメインテナンス作業ログ
保存領域12032の各ログエントリについて、メイン
テナンス実行者が前もって設定しておいたログ保存時間
に基づいて、そのログ保存時間より古いログエントリを
メインテナンス作業単位、すなわちメインテナンス作業
開始のログエントリからメインテナンス作業終了のログ
エントリまでの一連のログエントリをメインテナンス作
業ログ保存領域12033から削除すると共に、作業種
別が更新の場合にはその削除されたログエントリに対応
した旧版プログラムファイルを旧版ファイル保存領域1
2032中から削除するようにしたので、二次記憶装置
1203上におけるメインテナンス作業ログ保存領域1
2033および旧版ファイル保存領域12032の拡大
を抑えることが可能となる。
Therefore, according to the third embodiment, the log maintenance means 1204 determines the log entry for each log entry in the maintenance work log storage area 12032 based on the log storage time set in advance by the maintenance executor. When a log entry older than the storage time is deleted from the maintenance work log storage area 12033, and a series of log entries from a maintenance work start log entry to a maintenance work end log entry are deleted from the maintenance work unit, that is, when the work type is updated. Stores the old-version program file corresponding to the deleted log entry in the old-version file storage area 1
2032, the maintenance work log storage area 1 on the secondary storage device 1203 is deleted.
2033 and the old version file storage area 12032 can be suppressed from being enlarged.

【0076】実施の形態4.次に、本発明に係るコンピ
ュータシステムの実施の形態4を説明する。この実施の
形態4のコンピュータシステムでは、上記実施の形態1
〜3の場合とは異なり、本システムを1台のコンピュー
タ装置の中に設けるもののではなく、ネットワークで接
続された複数台の装置に分散して本システムを設けるよ
うにしたことを特徴とするものである。
Fourth Embodiment Next, a fourth embodiment of the computer system according to the present invention will be described. In the computer system according to the fourth embodiment, the first embodiment is used.
Unlike the cases (1) to (3), the present system is not provided in one computer device, but is provided in a distributed manner over a plurality of devices connected by a network. It is.

【0077】図13に、本発明の実施の形態4であるコ
ンピュータシステムの構成を示す。尚、このコンピュー
タシステムは、上記実施の形態1のコンピュータシステ
ムと同一機能を有するので、実施の形態1のものと同一
構成要素には同一符号を付して説明する。この実施の形
態4のコンピュータシステムは、図に示すように、メイ
ンテナンス処理等が行われるコンピュータ装置1401
と、ログ保存装置1402とがネットワーク1403を
介し接続されて構成されている。
FIG. 13 shows a configuration of a computer system according to the fourth embodiment of the present invention. Since this computer system has the same functions as the computer system of the first embodiment, the same components as those of the first embodiment will be described with the same reference numerals. As shown in the figure, the computer system according to the fourth embodiment includes a computer device 1401 on which maintenance processing and the like are performed.
And a log storage device 1402 are connected via a network 1403.

【0078】被メインテナンス装置1401は、二次記
憶装置103と、メインテナンスモード移行手段10
5、ファイルアクセスモード保存領域106、新版ファ
イル書込み手段107、メインテナンス作業判断手段1
08および旧版ファイル保存手段109からなるメイン
テナンス作業手段104と、メインテナンス作業ログ保
存手段110と、メインテナンス作業復旧手段111
と、ネットワーク1403と接続されて通信を行なうネ
ットワーク通信手段1404とを有する。また、ログ保
存装置1402は、ネットワーク1403と接続されて
通信を行なうネットワーク通信手段1405と、旧版フ
ァイル保存領域1406と、メインテナンス作業ログ保
存領域1407とを有する。
The maintenance target device 1401 includes the secondary storage device 103 and the maintenance mode shifting unit 10.
5. File access mode storage area 106, new version file writing means 107, maintenance work determination means 1
08 and an old version file storage unit 109, a maintenance work log storage unit 110, and a maintenance work recovery unit 111.
And a network communication unit 1404 connected to the network 1403 to perform communication. The log storage device 1402 includes a network communication unit 1405 connected to the network 1403 for communication, an old version file storage area 1406, and a maintenance work log storage area 1407.

【0079】このため、この実施の形態4によれば、上
記実施の形態1の場合と同様に、メインテナンス作業中
のメインテナンス作業ログの記録やメインテナンス対象
旧版プログラムファイル112の保存処理と共に、メイ
ンテナンス作業ログや保存されたメインテナンス対象旧
版プログラムファイル112を元にしたメインテナンス
作業の復旧処理を行なうが、その際、この実施の形態4
では、メインテナンス作業ログやメインテナンス対象旧
版ファイルは、ネットワーク通信手段1404,140
5を介しネットワーク1403に接続されたログ保存装
置1402のメインテナンス作業ログ保存領域1407
や旧版ファイル保存領域1406に保存されることにな
る。
Therefore, according to the fourth embodiment, as in the first embodiment, the maintenance work log is recorded while the maintenance work is being performed, the maintenance target old program file 112 is stored, and the maintenance work log is stored. Of the maintenance work based on the stored old-version program file 112 and the stored maintenance-target old program file 112.
Then, the maintenance work log and the old version file for maintenance are stored in the network communication means 1404 and 140.
5, a maintenance work log storage area 1407 of the log storage device 1402 connected to the network 1403
And the old version file storage area 1406.

【0080】従って、この実施の形態4によれば、上記
実施の形態1の場合と同様に、メインテナンス作業中の
各作業のログの保存およびメインテナンス対象旧版プロ
グラムファイル112のバックアップが自動的に行なわ
れるので、そのデータからメインテナンス作業の復旧が
自動的に可能となると共に、さらに、上記実施の形態1
の場合とは異なり、コンピュータ装置1401の二次記
憶装置103内にメインテナンス作業ログ保存領域10
33や旧版ファイル保存領域1032を設ける必要がな
いので、二次記憶装置103の容量を節約することがで
きる。
Therefore, according to the fourth embodiment, similarly to the first embodiment, the log of each work during the maintenance work and the backup of the old version program file 112 to be maintained are automatically performed. Therefore, the maintenance work can be automatically recovered from the data, and further, the first embodiment can be used.
Unlike the case of the maintenance work log storage area 10 in the secondary storage device 103 of the computer device 1401,
Since there is no need to provide the storage area 33 and the old version file storage area 1032, the capacity of the secondary storage device 103 can be saved.

【0081】実施の形態5.次に、本発明に係るコンピ
ュータ装置の実施の形態5を説明する。この実施の形態
5のコンピュータシステムは、上記実施の形態4のコン
ピュータシステムを改良したもので、上記実施の形態4
において被メインテナンス装置を複数台設けると共に、
ログ保存装置に旧版プログラムファイルの圧縮機能を持
たせるようにしたことを特徴とするものである。
Embodiment 5 Next, Embodiment 5 of the computer apparatus according to the present invention will be described. The computer system according to the fifth embodiment is an improvement of the computer system according to the fourth embodiment.
In addition to providing multiple maintained devices in
The log storage device has a function of compressing an old version program file.

【0082】図14に、本発明の実施の形態5のコンピ
ュータシステムの特徴的な部分の構成を示す。この実施
の形態5のコンピュータシステムは、それぞれメインテ
ナンスの対象となる複数台(ここでは、便宜上3台とす
る。)のコンピュータ装置1501,1502,150
3と、各コンピュータ装置1501,1502,1503
とネットワーク1510を介し接続されたログ保存装置
1504とから構成されている。
FIG. 14 shows a configuration of a characteristic portion of the computer system according to the fifth embodiment of the present invention. The computer system according to the fifth embodiment includes a plurality of computer apparatuses 1501, 1502, and 150 each of which is to be maintained (here, three computers are provided for convenience).
3 and each of the computer devices 1501, 1502, 1503
And a log storage device 1504 connected via a network 1510.

【0083】各コンピュータ装置1501,1502,1
503は、上記実施の形態4のコンピュータ装置140
1と同様に構成されているが、この図15では上記実施
の形態1の構成と同一なメインテナンス作業手段等の構
成は省略して、それぞれ、ネットワーク通信手段151
1、1512、1513のみを図示している。
Each of the computer devices 1501, 1502, 1
503 is the computer device 140 of the fourth embodiment.
15, the configuration of the maintenance work means and the like that are the same as those of the first embodiment is omitted in FIG.
Only 1, 1512 and 1513 are shown.

【0084】また、ログ保存装置1504は、ネットワ
ーク通信手段1514と、各コンピュータ装置150
1,1502,1503に対応してそれぞれのメインテナ
ンス作業ログ保存領域1505,1506,1507と、
一つの旧版ファイル保存領域1508と、メインテナン
ス作業ログ保存領域1505,1506,1507を参
照して旧版ファイル保存領域1508の圧縮を行う旧版
ファイル保存領域圧縮手段1509とを有する。
The log storage device 1504 includes a network communication unit 1514 and each computer device 1504.
1, maintenance work log storage areas 1505, 1506, 1507 corresponding to 1, 1502, 1503,
It has one old file storage area 1508 and an old file storage area compression unit 1509 that compresses the old file storage area 1508 with reference to the maintenance work log storage areas 1505, 1506, and 1507.

【0085】次に、この実施の形態5の動作を説明する
が、この実施の形態5の動作は基本的には上記実施の形
態4の場合と同じであり、保存領域圧縮手段1059が
メインテナンス作業ログ保存領域1505〜1507お
よび旧版ファイル保存領域1508において保存領域の
圧縮を行なう処理だけが異なるので、この圧縮処理につ
いて説明することにする。
Next, the operation of the fifth embodiment will be described. The operation of the fifth embodiment is basically the same as that of the fourth embodiment. Only the processing for compressing the storage area in the log storage areas 1505 to 1507 and the old version file storage area 1508 is different, so this compression processing will be described.

【0086】図15(a),(b)に、それぞれ、旧版
ファイル旧版ファイル保存領域圧縮手段1509による
メインテナンス作業ログ保存領域1505〜1507お
よび旧版ファイル保存領域1508の圧縮前後の状態を
示す。この実施の形態5では、各コンピュータ装置15
01〜1503では、プログラムファイルのメインテナ
ンスを行なうと、実施の形態4と同様に、ログ保存装置
1504にメインテナンス作業のログとメインテナンス
対象旧版ファイルとが保存され、例えば、メインテナン
ス作業ログ保存領域1505、1506および旧版ファ
イル保存領域1508では、図15(a)に示すように
同一プログラムファイルのログや旧版プログラムファイ
ルが記録されたものとする。
FIGS. 15A and 15B show the state before and after compression of the maintenance work log storage areas 1505 to 1507 and the old file storage area 1508 by the old version file old version file storage area compressing means 1509, respectively. In the fifth embodiment, each computer device 15
When the maintenance of the program file is performed in 01 to 1503, similarly to the fourth embodiment, the log of the maintenance work and the old file for maintenance are stored in the log storage device 1504. For example, the maintenance work log storage areas 1505 and 1506 are stored. In the old file storage area 1508, it is assumed that the log of the same program file and the old program file are recorded as shown in FIG.

【0087】つまり、図15(a)に示すように、メイ
ンテナンス作業ログ保存領域1505,1506には、
それぞれ、別のタイミングで、作業対象ファイル名が
“/abc”の同一プログラムファイルが、作業種別
“更新(尚、作業種別が更新以外の場合には、旧版ファ
イルプログラムが保存されることはない。)”で旧版フ
ァイル保存領域1508におけるファイル名が“Aa
a”,“Bbb”でログが格納されている。また、旧版
ファイル保存領域1508には、作業対象ファイル名が
“/abc”の同一プログラムファイルが、ファイル名
が“Aaa”,“Bbb”で別の領域に重複して格納さ
れる。その際、この実施の形態5では、旧版ファイル保
存手段は、旧版ファイル保存領域1508には、格納さ
れている旧版プログラムファイル毎に、この旧版プログ
ラムファイルの参照数が同時に格納するようにする。
That is, as shown in FIG. 15A, the maintenance work log storage areas 1505 and 1506 store
At different timings, the same program file whose work target file name is "/ abc" is assigned the work type "update" (if the work type is other than update, the old version file program is not stored. )) And the file name in the old version file storage area 1508 is “Aa
In the old version file storage area 1508, the same program file having a work target file name of “/ abc” is stored in the old version file storage area 1508, and the file name is “Aaaa” and “Bbb”. At this time, in the fifth embodiment, the old-version file storage unit stores the old-version program file in the old-version file storage area 1508 for each stored old-version program file. Make sure that the number of references is stored simultaneously.

【0088】すると、旧版ファイル旧版ファイル保存領
域圧縮手段1509は、まず、作業対象ファイル名等に
基づいて旧版ファイル保存領域1508に保存されたプ
ログラムファイルの中で同一の内容のファイルを検索す
る。ここでは、作業対象ファイル名が“/abc”で旧
版ファイル保存領域1508上のファイル名が“Aa
a”と“Bbb”のファイルが同一内容であるため、そ
の同一内容のファイルを発見すると、それらのプログラ
ムファイルのうち旧版ファイル保存領域1508に残す
ファイル(ここでは“Bbb”)と、削除するファイル
(ここでは“Aaa”とする)とを決定する。次に、旧版
ファイル保存領域1508における削除対象ファイル名
(ここでは“Aaa”)等に基づいてメインテナンス作業
ログ保存領域1505,1506を検索して、削除対象
ファイルを保存したログエントリを検出し、そのログエ
ントリが参照しているファイルを旧版ファイル保存領域
に残しておくファイル名を“Aaa”から“Bbb”に
修正する。そして、実際に旧版ファイル保存領域150
8からファイル名“Aaa”の旧版プログラムファイル
を削除すると共に、ファイル名“Bbb”の旧版プログ
ラムファイルはメインテナンス作業ログ保存領域150
5の保存対象にもなるので、その参照数を+1して
“2”とする。なお、このファイルを3つのメインテナ
ンス作業ログ保存領域が保存対象としている場合には、
その参照数は“3”となる。
Then, the old version file old version file storage area compression means 1509 first searches for a file having the same contents in the program files stored in the old version file storage area 1508 based on the work file name and the like. Here, the work target file name is “/ abc” and the file name in the old version file storage area 1508 is “Aa
Since the files “a” and “Bbb” have the same contents, when a file with the same contents is found, a file to be left in the old-version file storage area 1508 (here, “Bbb”) and a file to be deleted
(Here, “Aaaa”). Next, the name of the file to be deleted in the old version file storage area 1508
(In this case, “Aaaa”), the maintenance work log storage areas 1505 and 1506 are searched to detect the log entry storing the file to be deleted, and the file referred to by the log entry is stored in the old file storage area. Is changed from "Aaaa" to "Bbb". Then, the old file storage area 150
8, the old-version program file having the file name "Aaaa" is deleted, and the old-version program file having the file name "Bbb" is deleted from the maintenance work log storage area 150.
Since it is also the storage target of 5, the reference number is incremented by 1 to “2”. If this file is to be stored in the three maintenance work log storage areas,
The reference number is “3”.

【0089】このため、図15(b)に示すように、旧
版ファイル保存領域1508のメモリサイズをファイル
“Aaa”のサイズ分だけ圧縮することができる。
Therefore, as shown in FIG. 15B, the memory size of the old version file storage area 1508 can be compressed by the size of the file “Aaaa”.

【0090】ところで、このように動作して旧版ファイ
ル保存領域1508のメモリサイズを重複しているプロ
グラムファイルのサイズ分だけ圧縮し、メインテナンス
の復旧を行う際に旧版ファイル保存領域1508のプロ
グラムファイルの削除を行う場合は、まだ別のメインテ
ナンス作業のログエントリが参照しているにもかかわら
ず削除されてしまう恐れがある。しかし、この実施の形
態5では、図15(a),(b)に示すように、旧版フ
ァイル保存領域1508に保存されている旧版プログラ
ムファイルに参照数を設け、メインテナンス作業のログ
エントリから新たに参照される場合には参照数を増やよ
うにしているので、そのログエントリを削除する際には
参照数を減らして、その参照数が0になったときに初め
てそのファイルを削除するようにすれば以上のような問
題は発生しない。
By operating as described above, the memory size of the old file storage area 1508 is reduced by the size of the overlapping program file, and the program file in the old file storage area 1508 is deleted when the maintenance is restored. Is performed, there is a risk that the log entry may be deleted even though the log entry of another maintenance work is still referred to. However, in the fifth embodiment, as shown in FIGS. 15A and 15B, a reference number is provided for the old program file stored in the old file storage area 1508, and a new log entry of the maintenance work is newly provided. When the number of references is increased, the number of references is increased, so when deleting the log entry, reduce the number of references and delete the file only when the number of references becomes 0. Then, the above problems will not occur.

【0091】従って、この実施の形態5によれば、ログ
保存装置1504に旧版ファイル保存領域圧縮手段15
09を設けるようにしたので、旧版ファイル保存領域1
508のメモリサイズを、重複して保存されている旧版
プログラムファイルのサイズ分だけ圧縮することができ
る。
Therefore, according to the fifth embodiment, the old-version file storage area compression means 15 is stored in the log storage device 1504.
09, the old version file storage area 1
The memory size 508 can be compressed by the size of the old-version program file that is redundantly stored.

【0092】また、この実施の形態5では、旧版ファイ
ル保存領域1508に格納される旧版プログラムファイ
ルに参照数を設けるようにしたので、旧版ファイル保存
領域1508をこのように圧縮しても、その参照数を1
ずつ減らしながらログエントリに基づいて復旧すること
により、別のメインテナンス作業のログエントリが参照
しているにもかかわらず削除されことを防止することが
でき、確実にメインテナンス作業の復旧をすることがで
きる。
Further, in the fifth embodiment, the reference number is provided for the old-version program file stored in the old-version file storage area 1508. Therefore, even if the old-version file storage area 1508 is compressed in this way, the reference number is not changed. Number one
By recovering based on log entries while decreasing the number of log entries, it is possible to prevent a log entry of another maintenance work from being deleted even though it is being referenced, and it is possible to reliably recover the maintenance work .

【0093】実施の形態6.本発明の実施の形態6に係
るコンピュータシステムは、本システムを1台のコンピ
ュータ装置の中に設けるのではなく、上記実施の形態4
等と同様にネットワークで接続された複数台の装置に分
散し、しかも実施の形態4等とは異なりメインテナンス
を行なう専用のコンピュータ装置と、メインテナンスが
行われるコンピュータ装置とに役割を完全に分担して本
システムを設けるようにしたことを特徴とするものであ
る。
Embodiment 6 A computer system according to Embodiment 6 of the present invention is different from Embodiment 4 in that this system is not provided in one computer device.
In the same way as in the fourth embodiment, the functions are completely divided into a dedicated computer device for performing maintenance and a computer device for performing maintenance, which are distributed to a plurality of devices connected by a network and different from the fourth embodiment. This system is characterized in that the system is provided.

【0094】図16に、本発明の実施の形態6に係るコ
ンピュータシステムの構成を示す。尚、この実施の形態
6のコンピュータシステムにおいて、上記実施の形態1
のコンピュータシステムと同一機能を有するものには、
実施の形態1のものと同一符号を付して説明するものと
する。
FIG. 16 shows a configuration of a computer system according to Embodiment 6 of the present invention. In the computer system according to the sixth embodiment, the first embodiment is used.
Those having the same function as the computer system of
The description is given with the same reference numerals as in the first embodiment.

【0095】この実施の形態6のコンピュータシステム
は、メインテナンスを行なうメインテナンス専用コンピ
ュータ装置1701と、メインテナンスの対象となる被
メインテナンスコンピュータ装置1702とがネットワ
ーク1703を介し接続されて構成されている。
The computer system according to the sixth embodiment comprises a maintenance-dedicated computer device 1701 for performing maintenance and a maintenance-targeted computer device 1702 to be maintained, which is connected via a network 1703.

【0096】被メインテナンスコンピュータ装置170
2は、新版プログラムファイル102によりメインテナ
ンスされるプログラムファイルが格納される二次記憶装
置103と、ネットワーク1703と接続されて通信を
行なうネットワーク通信手段1704とを有している。
The computer to be maintained 170
2 includes a secondary storage device 103 in which a program file maintained by the new version program file 102 is stored, and a network communication unit 1704 connected to a network 1703 to perform communication.

【0097】また、メインテナンス専用コンピュータ装
置1701は、メインテナンス作業手段104と、メイ
ンテナンス作業ログ保存手段110と、メインテナンス
作業復旧手段111と、旧版ファイル保存領域1032
およびメインテナンス作業ログ保存領域1033を有す
る二次記憶装置1705と、ネットワーク1703と接
続されて通信を行なうネットワーク通信手段1706と
を有し、メインテナンス作業手段104を構成する各手
段やメインテナンス作業復旧手段11は、ネットワーク
通信手段1706およびネットワーク1703を介し被
メインテナンスコンピュータ装置1702の二次記憶装
置103上の旧版プログラムファイル112に直接アク
セスして上記実施の形態1等と同様のプログラムファイ
ルのメインテナンス作業を行なうように構成されてい
る。
The maintenance-dedicated computer device 1701 includes a maintenance work unit 104, a maintenance work log storage unit 110, a maintenance work recovery unit 111, and an old version file storage area 1032.
A secondary storage device 1705 having a maintenance work log storage area 1033, and a network communication means 1706 connected to the network 1703 for communication, and each of the means constituting the maintenance work means 104 and the maintenance work recovery means 11 A configuration in which the old program file 112 on the secondary storage device 103 of the maintenance target computer device 1702 is directly accessed via the network communication means 1706 and the network 1703 to perform the same program file maintenance work as in the first embodiment and the like. Have been.

【0098】次に、この実施の形態6の動作を説明する
が、実施の形態1や実施の形態2等とはネットワーク1
703を介してメインテナンス作業を行なう点が異なる
だけである。つまり、この実施の形態6では、メインテ
ナンス専用コンピュータ装置1701のメインテナンス
作業手段104がネットワーク通信手段1706,17
04を介し被メインテナンスコンピュータ装置1702
の二次記憶装置103上のメインテナンスすべきファイ
ルに直接アクセスすると共に、メインテナンス作業がプ
ログラムファイルの更新の場合であれば、旧版ファイル
保存手段112にメインテナンス開始の指示を出力して
メインテナンス処理を開始する。
Next, the operation of the sixth embodiment will be described. However, the operation of the sixth embodiment differs from that of the first and second embodiments.
The only difference is that the maintenance work is performed via 703. That is, in the sixth embodiment, the maintenance work unit 104 of the maintenance-dedicated computer device 1701 uses the network communication units 1706, 17
04 through the maintenance computer 1702
If the maintenance work is to update a program file, a maintenance start instruction is output to the old version file storage unit 112 and the maintenance processing is started.

【0099】その後は、上記実施の形態1や実施の形態
2等の場合と同様に、旧版ファイル保存手段109が旧
版プログラムファイル112を旧版ファイル保存領域1
032に格納すると共に、その作業のログをメインテナ
ンス作業ログ保存領域1033に格納して、プログラム
ファイルのメインテナンス作業を行なう。また、メイン
テナンスの復旧を行う場合も、メインテナンス専用コン
ピュータ装置1701上に存在するメインテナンス作業
ログ保存領域1033および旧版ファイル保存領域10
32を用いて上記実施の形態1または実施の形態2の方
式を用いることにより復旧を行なうことができる。
After that, the old-version file storage unit 109 stores the old-version program file 112 in the old-version file storage area 1 as in the first and second embodiments.
032, and the log of the work is stored in the maintenance work log storage area 1033 to perform the maintenance work of the program file. When the maintenance is restored, the maintenance work log storage area 1033 and the old version file storage area 1010 existing on the maintenance-dedicated computer device 1701 are also stored.
The recovery can be performed by using the method of the first embodiment or the second embodiment using the H.32.

【0100】従って、この実施の形態6によれば、上記
実施の形態1等の場合と同様に、メインテナンス作業中
の各作業のログの保存およびメインテナンス対象旧版プ
ログラムファイル112のバックアップが自動的に行な
われるので、そのデータからメインテナンス作業の復旧
が自動的に可能となると共に、さらに、ネットワーク1
703を介しメインテナンス専用コンピュータ装置17
01が被メインテナンスコンピュータ装置1702の二
次記憶装置103のメインテナンス作業を行なえるの
で、被メインテナンスコンピュータ装置1702にメイ
ンテナンスのための手段を設ける必要がないと共に、被
メインテナンスコンピュータ装置1702が遠隔地にあ
っても、メインテナンス実行者はメインテナンス専用コ
ンピュータ装置1701を用いて容易にメインテナンス
を行なうことが可能になる。
Therefore, according to the sixth embodiment, similarly to the first embodiment and the like, the log of each operation during the maintenance operation and the backup of the old version program file 112 to be maintained are automatically performed. As a result, the maintenance work can be automatically recovered from the data, and the network 1
Maintenance dedicated computer device 17 via 703
01 can perform maintenance work on the secondary storage device 103 of the maintenance target computer device 1702, so that the maintenance target computer device 1702 does not need to be provided with a means for maintenance, and the maintenance target computer device 1702 is located at a remote location. Also, the maintenance executor can easily perform maintenance by using the maintenance-dedicated computer device 1701.

【0101】尚、この実施の形態6では、実施の形態1
の構成を基に構成したが、実施の形態2の構成を基に構
成してもよく、また、メインテナンスモード移行手段1
05やファイルアクセスモード保存領域106、メイン
テナンス作業判断手段108を設けずに、新版ファイル
書込み手段107が直接ネットワーク1703を介し被
メインテナンスコンピュータ装置1702に対しメイン
テナンス作業のためのアクセスを行なって、メインテナ
ンス作業を行なうように構成しても良い。
In the sixth embodiment, the first embodiment is used.
Although the configuration is based on the configuration of the first embodiment, the configuration may be based on the configuration of the second embodiment.
05, the file access mode storage area 106, and the maintenance work judging means 108, the new version file writing means 107 directly accesses the maintenance target computer 1702 via the network 1703 for the maintenance work, and performs the maintenance work. You may be comprised so that it may perform.

【0102】実施の形態7.次に、本発明の実施の形態
7に係るコンピュータシステムを説明する。上記実施の
形態6では、1台のコンピュータ装置に対してメインテ
ナンスを行うことを特徴としているが、この実施の形態
7では、メインテナンス作業制御手段により複数台の被
メインテナンスコンピュータ装置に対し同一若しくは異
なる各メインテナンス作業を行うようにしたことを特徴
とするものである。
Seventh Embodiment Next, a computer system according to a seventh embodiment of the present invention will be described. The sixth embodiment is characterized in that the maintenance is performed on one computer device. However, in the seventh embodiment, the same or different each of the plurality of maintenance computer devices is controlled by the maintenance work control means. It is characterized in that maintenance work is performed.

【0103】図17に、この実施の形態7のコンピュー
タシステムの構成を示す。尚、上記実施の形態1等の構
成と同一のものには同一符号を付してその説明は省略す
る。図において、1801はメインテナンス専用コンピ
ュータ装置、1802,1803,1804はそれぞれメ
インテナンスの対象となる被メインテナンスコンピュー
タ装置であり、ネットワーク1805を介し接続されて
本システムを構築している。被メインテナンスコンピュ
ータ装置1802,1803,1804は、それぞれ、ネ
ットワーク1805と接続されて通信を行なうネットワ
ーク通信手段1806,1807,1808と、プログ
ラムファイルがメインテナンスされる二次記憶装置18
09,1810,1811とを有する。
FIG. 17 shows the configuration of a computer system according to the seventh embodiment. The same components as those in the first embodiment and the like are denoted by the same reference numerals, and description thereof is omitted. In the figure, reference numeral 1801 denotes a maintenance-dedicated computer device, and reference numerals 1802, 1803, and 1804 denote maintenance-target computer devices to be maintained, which are connected via a network 1805 to configure the present system. The maintenance target computer devices 1802, 1803, and 1804 are respectively connected to a network 1805 and communicate with each other by network communication means 1806, 1807, and 1808, and the secondary storage device 18 in which a program file is maintained.
09, 1810, 1811.

【0104】また、メインテナンス専用コンピュータ装
置1801は、メインテナンス作業手段104と、メイ
ンテナンス作業ログ保存手段110と、メインテナンス
作業復旧手段111と、旧版ファイル保存領域1032
およびメインテナンス作業ログ保存領域1033を有す
る二次記憶装置1812と、ネットワーク1703と接
続されて通信を行なうネットワーク通信手段1813
と、各被メインテナンスコンピュータ装置1802,1
803,1804に対して新版プログラムファイル10
2を導入するための同一若しくは異なるメインテナンス
作業を指示するメインテナンス作業制御手段1814と
を有している。
The maintenance-dedicated computer device 1801 includes a maintenance work unit 104, a maintenance work log storage unit 110, a maintenance work recovery unit 111, and an old version file storage area 1032.
And a secondary communication device 1812 having a maintenance work log storage area 1033 and a network communication unit 1813 connected to the network 1703 to perform communication
And each maintenance-targeted computer device 1802,1
New version program file 10 for 803, 1804
And maintenance work control means 1814 for instructing the same or different maintenance work for introducing the second maintenance work.

【0105】次に、この実施の形態7の動作を説明す
る。この実施の形態7では、上記実施の形態6とは被メ
インテナンスコンピュータ装置の台数が複数台になった
点のみが異なるだけであるので、メインテナンス専用コ
ンピュータ装置1801のメインテナンス作業制御手段
1814が、メインテナンスモード移行手段105やフ
ァイル書換え手段1809に対し順次もしくは任意に被
メインテナンスコンピュータ装置1802〜1804を
選択して、それらに対し各メインテナンス作業を行なう
ように指令を送出する。
Next, the operation of the seventh embodiment will be described. The seventh embodiment is different from the sixth embodiment only in that the number of the computer to be maintained is plural. Therefore, the maintenance work control means 1814 of the maintenance-dedicated computer device 1801 operates in the maintenance mode. The maintenance computer units 1802-1804 are sequentially or arbitrarily selected from the transfer unit 105 and the file rewriting unit 1809, and a command is sent to them to perform the respective maintenance work.

【0106】すると、メインテナンス作業手段104
は、メインテナンス作業制御手段1814の指示に基づ
いてネットワーク1805を介し各被メインテナンスコ
ンピュータ装置1802〜1804に対し直接アクセス
し、その後は、上記実施の形態1や実施の形態2等と同
様に、旧版プログラムファイルを旧版ファイル保存領域
に1032に保存したり、旧版プログラムファイルを新
版プログラムファイルに書き換える等してメインテナン
ス作業を行なう。
Then, the maintenance work means 104
Directly accesses each of the maintenance-targeted computer devices 1802-1804 via the network 1805 based on the instruction of the maintenance work control unit 1814, and thereafter executes the old program file in the same manner as in the first and second embodiments. Is stored in the old-version file storage area in 1032, or the maintenance work is performed by rewriting the old-version program file with the new-version program file.

【0107】図18に、この実施の形態7により各被メ
インテナンスコンピュータ装置1802〜1804に対
し1回のメインテナンス作業で同一のメインテナンスを
行った場合のメインテナンス作業のログを示す。具体的
には、この実施の形態7においてはメインテナンス作業
制御手段1817によって、順次においてファイル名
“/def”の旧版プログラムファイルの更新が行われ
たものとすると、ログエントリ1906、1907、1
908のように実行される。その際、各被メインテナン
スコンピュータ装置1802〜1804に格納されてい
たファイル名“/def”の旧版プログラムファイル
は、それぞれ、旧版ファイル保存領域1812における
ファイル名が“1”,“2”,“3”等と区別して旧版
ファイル保存領域1812に格納される。このため、上
記実施の形態4等のように旧版ファイル保存領域181
2の圧縮を行なうようにしても良い。
FIG. 18 shows a log of the maintenance work in the case where the same maintenance is performed in one maintenance work for each of the maintenance-target computer apparatuses 1802-1804 according to the seventh embodiment. Specifically, in the seventh embodiment, assuming that the maintenance program control unit 1817 sequentially updates the old-version program file having the file name “/ def”, the log entries 1906, 1907, 1
908 is executed. At this time, the old-version program files having the file name “/ def” stored in the respective maintenance-targeted computer devices 1802 to 1804 have the file names “1”, “2”, and “3” in the old-version file storage area 1812, respectively. And stored in the old version file storage area 1812. For this reason, the old version file storage area 181 as in the fourth embodiment and the like is used.
2 may be performed.

【0108】また、各被メインテナンスコンピュータ装
置1802〜1804においてファイル名“/abc”
の新版プログラムファイルの新規作成が行われたものと
すると、ログエントリ1909、1910、1911の
ように実行される。これにより接続されている各被メイ
ンテナンスコンピュータ装置1802〜1804に対し
て同一内容のメインテナンスが行えることになる。ただ
し、この場合、ログエントリがどの被メインテナンスコ
ンピュータ装置1802〜1804に対して行ったもの
かわからなくなるので、ログエントリの作業対象ファイ
ル名に対象コンピュータ装置名も追加して記録するよう
にする。
In each of the maintenance-targeted computer devices 1802-1804, the file name "/ abc"
Assuming that a new version program file is newly created, the log file is executed as shown in log entries 1909, 1910, and 1911. As a result, maintenance of the same contents can be performed for each of the connected maintenance-targeted computer devices 1802-1804. However, in this case, since it is not known which maintenance computer device 1802-1804 the log entry has been made, the target computer device name is added to the work target file name of the log entry and recorded.

【0109】そして、このようにメインテナンス作業を
行った場合にメインテナンスの復旧を行なう場合でも、
メインテナンス作業復旧手段111がメインテナンス作
業ログ保存領域1033を参照して、ログエントリに記
録されている被メインテナンスコンピュータ装置180
2〜1804に対して実施の形態6のようにネットワー
ク1805を介し復旧を行うことにより、複数の被メイ
ンテナンスコンピュータ装置1802〜1804に対し
てメインテナンスの復旧を行なうことが可能となる。
Even when the maintenance work is performed and the maintenance is restored,
The maintenance work recovery unit 111 refers to the maintenance work log storage area 1033, and the maintenance computer device 180 recorded in the log entry.
By performing recovery on the computers 22-1804 via the network 1805 as in the sixth embodiment, it is possible to recover the maintenance on the plurality of maintenance-targeted computer devices 1802-1804.

【0110】図19に、この実施の形態7により各被メ
インテナンスコンピュータ装置1802〜1804に対
し1回のメインテナンス作業でクライアント・サーバ型
のプログラムファイルの導入のような別々のメインテナ
ンスを行った場合のメインテナンス作業のログを示す。
図19において、被メインテナンスコンピュータ装置1
802に対してはメインテナンス作業をログエントリ2
102〜2104で示しているように行い、またコンピ
ュータ装置1803に対してはログエントリ2105、
2106のようにメインテナンス作業を行ない、コンピ
ュータ装置1804に対してはログエントリ2107、
2108のように行う。これらはメインテナンスコンピ
ュータ装置の一度のメインテナンス作業で行うことによ
り一組のメインテナンス開始/終了のログエントリ21
01、2109で囲まれることなる。
FIG. 19 shows a case where separate maintenance such as introduction of a client-server type program file is performed in one maintenance work for each of the maintenance-targeted computer apparatuses 1802-1804 according to the seventh embodiment. Shows work log.
In FIG. 19, the maintenance target computer 1
Log entry 2 for maintenance work for 802
102 to 2104, and a log entry 2105,
A maintenance operation is performed as in 2106, and a log entry 2107,
Perform as in 2108. These are performed in a single maintenance operation of the maintenance computer device, so that a set of maintenance start / end log entries 21 is provided.
01 and 2109.

【0111】そして、これらのメインテナンス作業を復
旧する場合には、このログを参照することにより実施の
形態6のようにネットワーク1805を介し行うが、一
組のメインテナンス作業をメインテナンス開始/終了の
ログエントリで囲んでいることにより、各コンピュータ
装置のクライアント・サーバ型のプログラムファイルの
メインテナンス作業を一括して復旧させることが可能と
なる。
When the maintenance work is to be recovered, the log is referred to through the network 1805 as in the sixth embodiment. However, a set of maintenance work is performed by the log entry of maintenance start / end. , The maintenance work of the client-server type program file of each computer device can be collectively restored.

【0112】従って、この実施の形態7によれば、メイ
ンテナンス専用コンピュータ装置1801と複数台の被
メインテナンスコンピュータ装置1802〜1804と
がネットワーク1805を介し接続されている場合で
も、上記実施の形態6の場合と同様に、メインテナンス
作業やメインテナンス作業の復旧を行なうことができ
る。特に、メインテナンス作業制御手段1814の指示
により、一回のメインテナンス作業で、各被メインテナ
ンスコンピュータ装置1802〜1804に対して同一
のメインテナンス作業を行なったり、一回のメインテナ
ンス作業で各コンピュータ装置に対してクライアント・
サーバ型のプログラムファイルの導入のような別々のメ
インテナンス作業を行なうことも可能である。
Therefore, according to the seventh embodiment, even when the maintenance-dedicated computer device 1801 and a plurality of maintenance-targeted computer devices 1802 to 1804 are connected via the network 1805, the case of the sixth embodiment can be applied. Similarly to the above, maintenance work and restoration of the maintenance work can be performed. In particular, in accordance with an instruction from the maintenance work control unit 1814, the same maintenance work can be performed on each of the maintenance-targeted computer devices 1802-1804 in one maintenance work, or a client can be transmitted to each computer device in one maintenance work.・
Separate maintenance tasks, such as the introduction of server-type program files, can also be performed.

【0113】尚、この実施の形態7でも、実施の形態6
と同様に、実施の形態1の構成を基に構成したが、実施
の形態2の構成を基に構成してもよく、また、メインテ
ナンスモード移行手段105やファイルアクセスモード
保存領域106、メインテナンス作業判断手段108を
設けずに、メインテナンス作業制御手段1814の指示
に基づいて新版ファイル書込み手段107が直接ネット
ワーク1703を介し被メインテナンスコンピュータ装
置1702に対しメインテナンス作業のためのアクセス
を行なって、メインテナンス作業を行なうように構成し
ても良い。
It should be noted that also in the seventh embodiment, the sixth embodiment
Similarly to the above, the configuration is based on the configuration of the first embodiment. However, the configuration may be based on the configuration of the second embodiment. Alternatively, the maintenance mode shift unit 105, the file access mode storage area 106, the maintenance work determination Without providing the means 108, the new version file writing means 107 directly accesses the maintenance target computer apparatus 1702 via the network 1703 for the maintenance work based on the instruction of the maintenance work control means 1814, and performs the maintenance work. May be configured.

【0114】[0114]

【発明の効果】以上説明したように、本発明では、ソフ
トウェアのプログラムファイルを記憶する記憶装置のメ
インテナンス作業の際、そのメインテナンス作業のログ
を保存し、そのメインテナンス作業のログに基づいて記
憶装置を当該メインテナンス作業前の状態に復旧させる
ようにしたため、プログラムファイルのメインテナンス
に対し、熟練したメインテナンス実行者がバックアップ
を行なう必要がなくなると共に、熟練したメインテナン
ス実行者でなくてもメインテナンス作業の復旧が可能と
なる。
As described above, according to the present invention, at the time of maintenance work of a storage device that stores software program files, a log of the maintenance work is stored, and the storage device is stored based on the log of the maintenance work. By restoring to the state before the maintenance work, the skilled maintenance practitioner does not need to back up the maintenance of the program file, and the maintenance work can be restored even if it is not a skilled maintenance practitioner. Become.

【0115】また、次の発明では、複数のメインテナン
ス作業を行ない、しかもその複数のメインテナンス作業
間で他のメインテナンス作業のプログラムファイルを参
照している場合において、その参照されているプログラ
ムファイルを有する特定のメインテナンス作業を復旧さ
せる場合でも、その特定のメインテナンス作業を復旧す
る際に同時に復旧を行う必要のある、すなわちそのメイ
ンテナンス作業中のプログラムファイルを参照している
他のメインテナンス作業を決定して、そのメインテナン
ス作業も同時に復旧するようにしたため、メインテナン
ス実行者がプログラムファイルの参照による複数のメイ
ンテナンス作業間の相互依存関係を逐一把握しなくて
も、相互依存関係にある複数のメインテナンス作業を同
時復旧でき、メインテナンス作業を複数回行った場合で
も容易にメインテナンス作業を復旧できることになる。
In the next invention, when a plurality of maintenance works are performed, and a program file of another maintenance work is referred to among the plurality of maintenance works, a specific file having the referenced program file is specified. Even when restoring the maintenance work of a particular maintenance work, it is necessary to perform the restoration at the same time when restoring the specific maintenance work, that is, determine the other maintenance work referring to the program file under the maintenance work, and Since the maintenance work is also restored at the same time, it is possible for the maintenance executor to simultaneously restore the multiple maintenance work in the interdependency without having to grasp the interdependency between the multiple maintenance work by referring to the program file. Maine Even if the nonce work was performed more than once it will be able to recover easily maintenance work.

【0116】また、次の発明では、ログ保存時間に基づ
いて、そのログ保存時間より古いログエントリをメイン
テナンス作業単位、すなわちメインテナンス作業開始の
ログエントリからメインテナンス作業終了のログエント
リまでの一連のログエントリをメインテナンス作業ログ
保存領域から削除すると共に、作業種別が更新の場合に
はその削除されたログエントリに対応した旧版プログラ
ムファイルを旧版ファイル保存領域から削除するように
したので、メインテナンス作業ログ保存領域および旧版
ファイル保存領域のメインテナンスをしなくても、その
拡大を抑えることが可能となる。
In the next invention, based on the log storage time, a log entry older than the log storage time is replaced by a series of log entries from a maintenance work start log entry to a maintenance work end log entry. Is deleted from the maintenance work log storage area, and if the work type is updated, the old program file corresponding to the deleted log entry is deleted from the old file storage area. Even without maintaining the old version file storage area, the expansion can be suppressed.

【0117】また、次の発明では、本システムをネット
ワークを介したコンピュータ装置とログ保存装置とで構
築し、ログ保存装置側にメインテナンス作業ログ保存領
域や旧版ファイル保存領域を設けるように構成したの
で、コンピュータ装置側の二次記憶装置内にメインテナ
ンス作業ログ保存領域や旧版ファイル保存領域を設ける
必要がなくなり、コンピュータ装置側の二次記憶装置の
容量を節約することができる。
Further, in the next invention, the present system is constructed by a computer device and a log storage device via a network, and the log storage device is provided with a maintenance work log storage area and an old version file storage area. In addition, it is not necessary to provide a maintenance work log storage area and an old version file storage area in the secondary storage device of the computer device, so that the capacity of the secondary storage device of the computer device can be saved.

【0118】また、次の発明では、本システムをネット
ワークを介した複数台のコンピュータ装置とログ保存装
置とで構築し、ログ保存装置側にメインテナンス作業ロ
グ保存領域や旧版ファイル保存領域を設けるだけでな
く、メインテナンス作業ログ保存領域のログに基づいて
旧版ファイル保存領域に保存されているプログラムファ
イルの同一性を調べて、同一ファイルは一つだけ残して
残りのファイルを削除するようにしたので、旧版ファイ
ル保存領域のメモリサイズを、重複して保存されている
旧版プログラムファイルのサイズ分だけ圧縮することが
できる。
In the following invention, the present system is constructed by a plurality of computer devices and a log storage device via a network, and a maintenance work log storage region and an old version file storage region are provided on the log storage device side. Instead, based on the logs in the maintenance work log storage area, the program checks the identity of the program files stored in the old file storage area and deletes the remaining files, leaving only one identical file. The memory size of the file storage area can be reduced by the size of the old version program file that is redundantly stored.

【0119】また、次の発明では、本システムをネット
ワークを介しメインテナンスを行なう専用のコンピュー
タ装置と、メインテナンスが行われる被メインテナンス
コンピュータ装置とに役割を完全に分担して構築し、メ
インテナンス専用コンピュータ装置がネットワークを介
し被メインテナンスコンピュータ装置の二次記憶装置の
メインテナンス作業を行なうように構成したので、被メ
インテナンスコンピュータ装置にメインテナンスのため
の手段を設ける必要がないと共に、被メインテナンスコ
ンピュータ装置が遠隔地にあっても、メインテナンス実
行者はメインテナンス専用コンピュータ装置を用いて容
易にメインテナンスを行なうことが可能になる。
Further, in the following invention, the system is constructed by completely sharing the roles of a dedicated computer device for performing maintenance via a network and a computer device to be maintained for which maintenance is to be performed. Since the maintenance work of the secondary storage device of the maintenance target computer device is performed via the network, it is not necessary to provide a means for maintenance in the maintenance target computer device, and the maintenance target computer device is located at a remote location. Also, the maintenance executor can easily perform maintenance using the maintenance-dedicated computer device.

【0120】また、次の発明では、本システムをネット
ワークを介しメインテナンスを行なう専用のコンピュー
タ装置と、メインテナンスが行われる複数台の被メイン
テナンスコンピュータ装置とで構築し、一回のメインテ
ナンス作業で、各被メインテナンスコンピュータ装置に
対して同一のメインテナンス作業を行なったり、一回の
メインテナンス作業で各コンピュータ装置に対してクラ
イアント・サーバ型のプログラムファイルの導入のよう
な別々のメインテナンス作業を行なうようにしたので、
1台のメインテナンス専用コンピュータ装置によりネッ
トワークを介し遠隔地の複数台の被メインテナンスコン
ピュータ装置に対し各種目的に応じたメインテナンス作
業を行なうことが可能になる。
Further, in the following invention, the present system is constructed by a dedicated computer device for performing maintenance via a network and a plurality of maintenance-targeted computer devices for which maintenance is to be performed. Since the same maintenance work is performed for the maintenance computer equipment, or separate maintenance work such as introduction of a client-server type program file for each computer equipment is performed in one maintenance work.
One maintenance-dedicated computer can perform maintenance work for various purposes on a plurality of remotely-maintained computer devices via a network.

【図面の簡単な説明】[Brief description of the drawings]

【図1】 本発明の実施の形態1の全体構成図である。FIG. 1 is an overall configuration diagram of Embodiment 1 of the present invention.

【図2】 実施の形態1においてメインテナンス作業ロ
グ保存領域に記録されるログの例を示す図である。
FIG. 2 is a diagram showing an example of a log recorded in a maintenance work log storage area in the first embodiment.

【図3】 実施の形態1におけるメインテナンスモード
時のメインテナンス作業判断手段、および旧版ファイル
保存手段の動作を示すフローチャートである。
FIG. 3 is a flowchart showing operations of a maintenance work determination unit and an old version file storage unit in a maintenance mode according to the first embodiment.

【図4】 実施の形態1におけるコンピュータ装置を通
常運転モードからメインテナンスモードに移行するため
のメインテナンスモード移行手段の動作を示すフローチ
ャートである。
FIG. 4 is a flowchart showing an operation of a maintenance mode shift unit for shifting the computer device according to the first embodiment from a normal operation mode to a maintenance mode.

【図5】 実施の形態1におけるコンピュータ装置をメ
インテナンスモードから通常運転モードに移行するため
のメインテナンスモード移行手段の動作を示すフローチ
ャートである。
FIG. 5 is a flowchart showing an operation of a maintenance mode shift unit for shifting the computer device from the maintenance mode to the normal operation mode in the first embodiment.

【図6】 実施の形態1におけるメインテナンス作業復
旧時のメインテナンス作業復旧手段の動作を示すフロー
チャートである。
FIG. 6 is a flowchart showing an operation of a maintenance work restoring unit when the maintenance work is restored in the first embodiment.

【図7】 本発明の実施の形態2の全体構成図である。FIG. 7 is an overall configuration diagram of Embodiment 2 of the present invention.

【図8】 実施の形態2においてメインテナンス作業ロ
グ保存領域に記録されるログの例を示す図である。
FIG. 8 is a diagram showing an example of a log recorded in a maintenance work log storage area in the second embodiment.

【図9】 実施の形態2におけるメインテナンスモード
時のメインテナンス作業判断手段、および旧版ファイル
保存手段の動作を示すフローチャートである。
FIG. 9 is a flowchart showing operations of a maintenance work determination unit and an old version file storage unit in a maintenance mode according to the second embodiment.

【図10】実施の形態2におけるメインテナンス作業復
旧時のメインテナンス作業復旧手段の動作を示すフロー
チャートである。
FIG. 10 is a flowchart illustrating an operation of a maintenance work restoring unit when the maintenance work is restored in the second embodiment.

【図11】本発明の実施の形態3における特徴的な部分
を示す図である。
FIG. 11 is a diagram showing a characteristic portion in the third embodiment of the present invention.

【図12】本発明の実施の形態3におけるログメインテ
ナンス手段の動作を示すフローチャートである。
FIG. 12 is a flowchart illustrating an operation of a log maintenance unit according to the third embodiment of the present invention.

【図13】本発明の実施の形態4の全体構成図である。FIG. 13 is an overall configuration diagram of Embodiment 4 of the present invention.

【図14】本発明の実施の形態5の全体構成図である。FIG. 14 is an overall configuration diagram of a fifth embodiment of the present invention.

【図15】本発明の実施の形態5におけるメインテナン
ス作業ログ保存領域および旧版ファイル保存領域の旧版
ファイル保存領域圧縮手段による圧縮前後の例を示す図
である。
FIG. 15 is a diagram showing an example before and after compression of a maintenance work log storage area and an old version file storage area by an old version file storage area compression unit according to the fifth embodiment of the present invention.

【図16】本発明の実施の形態6における全体構成図で
ある。
FIG. 16 is an overall configuration diagram according to a sixth embodiment of the present invention.

【図17】本発明の実施の形態7における全体構成図で
ある。
FIG. 17 is an overall configuration diagram according to a seventh embodiment of the present invention.

【図18】この実施の形態7により各被メインテナンス
コンピュータ装置に対し1回のメインテナンス作業で同
一のメインテナンスを行った場合のメインテナンス作業
のログを示す図である。
FIG. 18 is a diagram showing a log of a maintenance work when the same maintenance is performed in one maintenance work for each maintenance-target computer device according to the seventh embodiment.

【図19】この実施の形態7により各被メインテナンス
コンピュータ装置に対し1回のメインテナンス作業でク
ライアント・サーバ型のプログラムファイルの導入のよ
うな別々のメインテナンスを行った場合のメインテナン
ス作業のログを示す図である。
FIG. 19 is a diagram showing a log of a maintenance work in a case where separate maintenance such as introduction of a client-server type program file is performed for each maintenance-executed computer apparatus by one maintenance work according to the seventh embodiment. It is.

【符号の説明】[Explanation of symbols]

101 コンピュータシステム、102 新版プログラ
ムファイル、103二次記憶装置、1031 プログラ
ムファイル記憶領域、1032 旧版ファイル保存領
域、1033 メインテナンス作業ログ保存領域、10
4 メインテナンス作業手段、105 メインテナンス
モード移行手段、106 ファイルアクセスモード保
存領域、107 新版ファイル書込み手段、108 メ
インテナンス作業判断手段、109 旧版ファイル保存
手段、110 メインテナンス作業ログ保存手段、11
1 メインテナンス作業復旧手段、112 旧版プログ
ラムファイル、701 コンピュータシステム、702
メインテナンス依存関係認識手段、1201 コンピ
ュータシステム、1203 二次記憶装置、12032
旧版ファイル保存領域、12033 メインテナンス
作業ログ保存領域、1204 ログメインテナンス手
段、1401 コンピュータ装置、1402ログ保存装
置、1403 ネットワーク、1404,1405 ネ
ットワーク通信手段、1406 旧版ファイル保存領
域、1407 メインテナンス作業ログ保存領域、15
01,1502,1503 コンピュータ装置、150
4 ログ保存装置、1505,1506,1507 メ
インテナンス作業ログ保存領域、1508 旧版ファイ
ル保存領域、1509 旧版ファイル保存領域圧縮手
段、1510 ネットワーク、1511,1512,1
513,1514 ネットワーク通信手段、1701
メインテナンス専用コンピュータ装置、1702 被メ
インテナンスコンピュータ装置、1703 ネットワー
ク、1704,1706 ネットワーク通信手段、17
05 二次記憶装置、1801 メインテナンス専用コ
ンピュータ装置、1802,1803,1804 被メ
インテナンスコンピュータ装置、1805 ネットワー
ク、1806,1807,1808,1813 ネット
ワーク通信手段、1809,1810,1811,18
12 二次記憶装置、1814 メインテナンス作業制
御手段。
101 computer system, 102 new version program file, 103 secondary storage device, 1031 program file storage area, 1032 old version file storage area, 1033 maintenance work log storage area, 10
4 Maintenance work means, 105 Maintenance mode shift means, 106 File access mode storage area, 107 New version file writing means, 108 Maintenance work determination means, 109 Old version file storage means, 110 Maintenance work log storage means, 11
1 maintenance work recovery means, 112 old program file, 701 computer system, 702
Maintenance dependency relationship recognition means, 1201 computer system, 1203 secondary storage device, 12032
Old file storage area, 12033 Maintenance work log storage area, 1204 log maintenance means, 1401 computer device, 1402 log storage device, 1403 network, 1404, 1405 network communication means, 1406 Old file storage area, 1407 Maintenance work log storage area, 15
01, 1502, 1503 Computer device, 150
4 log storage device, 1505, 1506, 1507 maintenance work log storage area, 1508 old version file storage area, 1509 old version file storage area compression means, 1510 network, 1511, 1512, 1
513, 1514 Network communication means, 1701
Computer dedicated to maintenance, 1702 computer to be maintained, 1703 network, 1704, 1706 network communication means, 17
05 secondary storage device, 1801 computer dedicated to maintenance, 1802, 1803, 1804 computer to be maintained, 1805 network, 1806, 1807, 1808, 1813 network communication means, 1809, 1810, 1811, 18
12 Secondary storage device, 1814 Maintenance work control means.

Claims (11)

【特許請求の範囲】[Claims] 【請求項1】 ソフトウェアのプログラムファイルを記
憶する記憶装置に対し上記プログラムファイルのメイン
テナンス作業を行なうコンピュータシステムにおいて、 上記記憶装置に対しプログラムファイルのメインテナン
ス作業を行なうメインテナンス作業手段と、 上記メインテナンス作業手段による上記メインテナンス
作業のログを保存するメインテナンス作業ログ保存手段
と、 上記メインテナンス作業ログ保存手段に保存された上記
メインテナンス作業のログに基づいて上記記憶装置を当
該メインテナンス作業前の状態に復旧させるメインテナ
ンス作業復旧手段と、 を具備することを特徴とするコンピュータシステム。
1. A computer system for performing maintenance work of a program file on a storage device storing a software program file, comprising: a maintenance work means for performing a maintenance work of a program file on the storage device; Maintenance work log storage means for storing the maintenance work log; and maintenance work recovery means for restoring the storage device to a state before the maintenance work based on the maintenance work log stored in the maintenance work log storage means. A computer system, comprising:
【請求項2】 メインテナンス作業手段は、 二次記憶装置を書込み不可状態に設定するメインテナン
スモード移行手段と、 上記メインテナンスモード移行手段によって書込み不可
状態に設定された上記二次記憶装置へ上記新版プログラ
ムファイルを書込むためアクセスした場合に書込みエラ
ー信号を出力する新版ファイル書込み手段と、 上記新版ファイル書込み手段からの書込みエラー信号を
検出して、上記新版ファイル書込み手段による上記二次
記憶装置へのアクセスが新版プログラムファイルの新規
作成であるか、あるいは新版プログラムファイルへの更
新であるかを判断するメインテナンス作業判断手段と、 上記メインテナンス作業判断手段によって新版プログラ
ムファイルへの更新であると判断された場合には、上記
二次記憶装置に記憶されている上記旧版プログラムファ
イルを保存する旧版ファイル保存手段と、からなり、 上記新版ファイル書込み手段は、さらに、上記旧版ファ
イル保存手段による保存後、および上記メインテナンス
作業判断手段によって新版プログラムファイルへの新規
作成であると判断された場合には、上記二次記憶装置へ
上記新版プログラムファイルを書き込む、 ことを特徴とする請求項1記載のコンピュータシステ
ム。
2. The maintenance work means comprises: maintenance mode shifting means for setting a secondary storage device to a write-disabled state; and a new-version program file to the secondary storage device set to a write-disabled state by the maintenance mode shifting means. New file writing means for outputting a write error signal when accessing to write a new file, and detecting a write error signal from the new file writing means to access the secondary storage device by the new file writing means. A maintenance work determining means for determining whether a new version of the program file is newly created or an update to the new version of the program file; and when the maintenance work determining means determines that the update is to the new version of the program file, , The secondary storage device Old-version file storage means for storing the stored old-version program file, wherein the new-version file writing means further stores the old-version program file after storing by the old-version file storage means and by the maintenance work determining means. 2. The computer system according to claim 1, wherein the new version program file is written to the secondary storage device when it is determined that the program file is newly created.
【請求項3】 メインテナンス作業ログ保存手段は、メ
インテナンス作業手段によるメインテナンス作業のログ
として、新版プログラムファイルの新規作成および新版
プログラムファイルへの更新の作業種別毎に、その作業
対象となるファイル名と、更新の場合のみその作業対象
となる旧版プログラムファイルのファイル名とを保存
し、 メインテナンス作業復旧手段は、メインテナンス作業ロ
グ保存手段によって保存された作業種別毎の上記メイン
テナンス作業のログを順次読み込んで、読み込んだログ
の作業種別が新版プログラムファイルの新規作成である
と判断した場合には、二次記憶装置から当該新版プログ
ラムファイルを削除して、そのログを削除する一方、読
み込んだログの作業種別が新版プログラムファイルへの
更新であると判断した場合には、旧版ファイル保存手段
によって保存された旧版プログラムファイルを二次記憶
装置の上記新版プログラムファイル上へ書き戻して、そ
のログを削除する、 ことを特徴とする請求項2記載のコンピュータシステ
ム。
3. The maintenance work log storage means, as a log of the maintenance work by the maintenance work means, for each work type of new creation of a new edition program file and update to the new edition program file, Only in the case of update, save the file name of the old version program file to be worked on, and the maintenance work recovery means sequentially reads and reads the above-mentioned maintenance work log for each work type saved by the maintenance work log storage means. If it is determined that the work type of the log is a new creation of a new program file, the new program file is deleted from the secondary storage device and the log is deleted. Determined to be an update to the program file 3. The computer system according to claim 2, wherein, in the event that the old version program file saved by the old version file storage unit is written back to the new version program file in the secondary storage device, the log is deleted. .
【請求項4】 メインテナンス作業ログ保存手段は、さ
らに、メインテナンス作業が複数回行われた場合には、
その複数回分のメインテナンス作業のログを時系列に保
存し、 メインテナンス作業が複数回行われ、且つ、最近のメイ
ンテナンス作業を飛び越してそれより古い特定のメイン
テナンス作業に復旧させる場合には、上記メインテナン
ス作業ログ保存手段によって保存された当該特定のメイ
ンテナンス作業のログを読み込んで、その作業種別が新
版プログラムファイルの新規作成および新版プログラム
ファイルへの更新である場合には、そのファイルを復旧
対象ファイルとして記憶すると共に、当該特定のメイン
テナンス作業より新しいメインテナンス作業のログを順
次読込んで、読み込んだログの作業対象ファイルが上記
復旧対処ファイルと一致しているか否かを判断し、一致
している場合にはそのログを有するメインテナンス作業
を上記特定メインテナンス作業と共にそれらのメインテ
ナンス作業前の状態に復旧させるようメインテナンス作
業復旧手段に指示するメインテナンス依存関係認識手段
をさらに具備する、 ことを特徴とする請求項3記載のコンピュータシステ
ム。
4. The maintenance work log storage means further comprises: if the maintenance work has been performed a plurality of times,
When the logs of the maintenance work for the multiple times are stored in chronological order, and the maintenance work is performed a plurality of times, and the current maintenance work is skipped and restored to a specific maintenance work older than that, the above-mentioned maintenance work log is used. Reading the log of the specific maintenance work saved by the storage means, and when the work type is new creation of a new version program file and update to the new version program file, the file is stored as a recovery target file and , Sequentially read the logs of the maintenance work that is newer than the specific maintenance work, determine whether the work target file of the read log matches the above recovery handling file, and if so, read the log. Identify the maintenance work that has 4. The computer system according to claim 3, further comprising: maintenance dependency recognizing means for instructing the maintenance work restoring means to restore the state before the maintenance work together with the maintenance work.
【請求項5】 メインテナンス作業ログ保存手段は、さ
らに、メインテナンス作業のログを保存する際に、ログ
毎のログ保存時刻を保存し、 上記メインテナンス作業ログ保存手段によって保存され
たログを古いほうから順に読込み、読込んだログのログ
保存時刻が現在時間から所定のログ保存時間以上経過し
たものである場合はそのログを削除すると共に、そのロ
グの作業種別が更新である場合のみ旧版ファイル保存手
段によって保存されたそのログに対応する旧版プログラ
ムファイルを削除するログメインテナンス手段を具備す
る、 ことを特徴とする請求項3または請求項4記載のコンピ
ュータシステム。
5. The maintenance work log storage unit further stores a log storage time for each log when storing a maintenance work log, and stores the logs stored by the maintenance work log storage unit in order from the oldest one. If the log save time of the read log is longer than the predetermined log save time from the current time, the log is deleted, and only when the work type of the log is update, the old version file save means The computer system according to claim 3, further comprising a log maintenance unit that deletes the old program file corresponding to the stored log.
【請求項6】 1台のコンピュータ装置と、1台のログ
保存装置とをネットワークを介し接続してコンピュータ
システムを構築し、 上記コンピュータ装置が、メインテナンスモード移行手
段、新版ファイル書込み手段、メインテナンス作業判断
手段および旧版ファイル保存手段からなるメインテナン
ス作業手段と、メインテナンス作業ログ保存手段と、メ
インテナンス作業復旧手段とを有する一方、 上記ログ保存装置が、上記メインテナンス作業ログ保存
手段によって保存されるメインテナンス作業のログの保
存領域と、上記旧版ファイル保存手段によって保存され
る旧版プログラムファイルの保存領域とを有し、 上記コンピュータ装置の上記メインテナンス作業ログ保
存手段および上記旧版ファイル保存手段は、上記ネット
ワークを介して上記ログ保存装置に対しメインテナンス
作業のログおよび旧版プログラムファイルを送信して当
該ログ保存装置の上記メインテナンス作業ログ保存領域
および上記旧版ファイル保存領域に保存させる、 ことを特徴とする請求項2、請求項3、請求項4または
請求項5記載のコンピュータシステム。
6. A computer system is constructed by connecting one computer device and one log storage device via a network, wherein the computer device includes a maintenance mode shift unit, a new version file writing unit, a maintenance work determination. Means and a maintenance work log storage means, comprising a maintenance work log storage means and a maintenance work log recovery means, while the log storage device stores the maintenance work log stored by the maintenance work log storage means. A storage area and a storage area for the old-version program file stored by the old-version file storage unit, wherein the maintenance work log storage unit and the old-version file storage unit of the computer device are connected via the network. The maintenance work log and the old-version program file are transmitted to the log storage device, and are stored in the maintenance work log storage area and the old-version file storage area of the log storage device. 3. The computer system according to claim 4 or claim 5.
【請求項7】 複数台のコンピュータ装置と、1台のロ
グ保存装置とをネットワークを介し接続してコンピュー
タシステムを構築し、 上記複数台のコンピュータ装置が、それぞれ、メインテ
ナンスモード移行手段、新版ファイル書込み手段、メイ
ンテナンス作業判断手段および旧版ファイル保存手段か
らなるメインテナンス作業手段と、メインテナンス作業
ログ保存手段と、メインテナンス作業復旧手段と、上記
ネットワークを介し通信を行なうネットワーク通信手段
とを有する一方、 上記ログ保存装置が、上記複数台のコンピュータ装置毎
にそれぞれの上記メインテナンス作業ログ保存手段によ
って保存されるメインテナンス作業のログの保存領域
と、上記複数台のコンピュータ装置の旧版ファイル保存
手段によって保存される旧版プログラムファイルを保存
する旧版ファイル保存領域と、上記旧版ファイル保存領
域に同一の旧版プログラムファイルが重複して保存され
ているか否かを調べ、重複して保存されている場合には
同一旧版プログラムファイルは一つだけ残し、残りの他
の同一旧版プログラムファイルを削除する旧版ファイル
保存領域圧縮手段と、を有する、 ことを特徴とする請求項2、請求項3または請求項4記
載のコンピュータシステム。
7. A computer system is constructed by connecting a plurality of computer devices and one log storage device via a network, wherein the plurality of computer devices respectively include a maintenance mode transition unit and a new version file writing unit. Means, a maintenance work determining means comprising a maintenance work determining means and an old version file storing means, a maintenance work log storing means, a maintenance work restoring means, and a network communication means for performing communication via the network. The storage area for the maintenance work log stored by the maintenance work log storage means for each of the plurality of computer devices, and the old version program stored by the old version file storage means of the plurality of computer apparatuses. Check whether the same old-version program file is stored in the old-file storage area where the same old-version program file is stored in the old-file storage area and if the same old-version program file is stored in duplicate. 5. The computer system according to claim 2, further comprising: an old-version file storage area compressing unit that deletes only one remaining old same-version program file.
【請求項8】 1台のメインテナンス専用コンピュータ
装置と、ソフトウェアのプログラムファイルを記憶する
記憶装置を有する1台の被メインテナンスコンピュータ
装置とをネットワークを介し接続してコンピュータシス
テムを構築し、 上記メインテナンス専用コンピュータ装置が、メインテ
ナンス作業手段と、メインテナンス作業ログ保存手段
と、メインテナンス作業復旧手段とを有し、上記メイン
テナンス作業手段が上記ネットワークを介し上記被メイ
ンテナンスコンピュータ装置の上記記憶装置に対しメイ
ンテナンス作業を行なう、 ことを特徴とする請求項1記載のコンピュータシステ
ム。
8. A computer system is constructed by connecting, via a network, one maintenance-dedicated computer device and one maintenance-targeted computer device having a storage device for storing software program files. The apparatus has a maintenance work unit, a maintenance work log storage unit, and a maintenance work recovery unit, and the maintenance work unit performs maintenance work on the storage device of the maintenance target computer device via the network. The computer system according to claim 1, wherein:
【請求項9】 1台のメインテナンス専用コンピュータ
装置と、ソフトウェアのプログラムファイルを記憶する
記憶装置を有する複数台の被メインテナンスコンピュー
タ装置とをネットワークを介し接続してコンピュータシ
ステムを構築し、 上記メインテナンス専用コンピュータ装置が、メインテ
ナンス作業手段と、メインテナンス作業ログ保存手段
と、メインテナンス作業復旧手段と、さらに上記複数台
の各被メインテナンスコンピュータ装置に対するメイン
テナンス作業の内容を指示するメインテナンス作業制御
手段とを有し、上記メインテナンス作業制御手段の指示
に基づいて上記メインテナンス作業手段が上記ネットワ
ークを介し上記複数台の各被メインテナンスコンピュー
タ装置の記憶装置に対しメインテナンス作業を行なう、 ことを特徴とする請求項1記載のコンピュータシステ
ム。
9. A computer system is constructed by connecting, via a network, one maintenance-dedicated computer device and a plurality of maintenance-targeted computer devices having a storage device for storing software program files, and The apparatus has a maintenance work means, a maintenance work log storage means, a maintenance work recovery means, and a maintenance work control means for instructing the contents of the maintenance work for each of the plurality of maintenance target computer devices, and the maintenance work means. The maintenance work means performs maintenance work on the storage devices of each of the plurality of maintenance target computer devices via the network based on an instruction of the work control means. The computer system of claim 1, wherein.
【請求項10】 メインテナンス作業指示手段は、1度
のメインテナンス作業で複数台の各被メインテナンスコ
ンピュータ装置に対し同一のメインテナンス作業を行な
うようにメインテナンス作業手段に指示する、 ことを特徴とする請求項9記載のコンピュータシステ
ム。
10. The maintenance work instructing means instructs the maintenance work means to perform the same maintenance work on each of a plurality of maintenance-targeted computer devices in one maintenance work. Computer system as described.
【請求項11】 メインテナンス作業指示手段は、1度
のメインテナンス作業で複数台の各被メインテナンスコ
ンピュータ装置に対し異なるメインテナンス作業を行な
うようにメインテナンス作業手段に指示する、 ことを特徴とする請求項9記載のコンピュータシステ
ム。
11. The maintenance work instructing means instructs the maintenance work means to perform different maintenance work on each of a plurality of maintenance-target computer apparatuses in one maintenance work. Computer system.
JP8250500A 1996-09-20 1996-09-20 Computer system Pending JPH1097452A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8250500A JPH1097452A (en) 1996-09-20 1996-09-20 Computer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8250500A JPH1097452A (en) 1996-09-20 1996-09-20 Computer system

Publications (1)

Publication Number Publication Date
JPH1097452A true JPH1097452A (en) 1998-04-14

Family

ID=17208809

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8250500A Pending JPH1097452A (en) 1996-09-20 1996-09-20 Computer system

Country Status (1)

Country Link
JP (1) JPH1097452A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017004429A (en) * 2015-06-15 2017-01-05 富士通フロンテック株式会社 Server operation work history management device, system, method, and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017004429A (en) * 2015-06-15 2017-01-05 富士通フロンテック株式会社 Server operation work history management device, system, method, and program

Similar Documents

Publication Publication Date Title
US7331000B2 (en) Apparatus and storage system for controlling acquisition of snapshot
US7606990B2 (en) Snapshot system
US7472139B2 (en) Database recovery method applying update journal and database log
US8001344B2 (en) Storage control apparatus, storage control program, and storage control method
US7533378B2 (en) File-update apparatus for updating a file recorded on a recording medium
US20070180000A1 (en) Storage apparatus and storage system
US8555012B2 (en) Data storage apparatus
US7290100B2 (en) Computer system for managing data transfer between storage sub-systems
US20100145915A1 (en) Storage apparatus and data restoring method used therein
US20090248760A1 (en) Backup method of computer system
US10078558B2 (en) Database system control method and database system
JP2008033527A (en) Storage device, disk device and data restoring method
US20050262033A1 (en) Data recording apparatus, data recording method, program for implementing the method, and program recording medium
CN109325005B (en) Data processing method and electronic equipment
US7194675B2 (en) Backup method, backup system, disk controller and backup program
JPH1097452A (en) Computer system
JP2002063057A (en) Data-renewing device
JPH03171242A (en) File backup method
JPS63262737A (en) Data base updating and recording processing method
CN117075803A (en) Data presetting method, electronic equipment and storage medium
JP2003050720A (en) Method and program for acquiring information in online system, and computer readable recording medium in which the same program is recorded
JP2001297025A (en) Database copying device
JPH01214947A (en) Data preserving system
JP2008123104A (en) Data-access device
JP2004005524A (en) Data recorder, data recording method, program for implementing the method and program recording medium