JPH0728633A - Method and device for program group generation management, program update processing method, and decentralized processing system - Google Patents

Method and device for program group generation management, program update processing method, and decentralized processing system

Info

Publication number
JPH0728633A
JPH0728633A JP5172846A JP17284693A JPH0728633A JP H0728633 A JPH0728633 A JP H0728633A JP 5172846 A JP5172846 A JP 5172846A JP 17284693 A JP17284693 A JP 17284693A JP H0728633 A JPH0728633 A JP H0728633A
Authority
JP
Japan
Prior art keywords
program
generation
file
information
change
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
JP5172846A
Other languages
Japanese (ja)
Inventor
Koji Nakai
耕治 中井
Akihiko Tobe
昭彦 戸辺
Riichiro Sasaki
利一郎 佐々木
Naoki Miwa
直樹 三和
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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP5172846A priority Critical patent/JPH0728633A/en
Publication of JPH0728633A publication Critical patent/JPH0728633A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)
  • Computer And Data Communications (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PURPOSE:To provide an automated generation management system for the program group of a large-scale system which changes the generation of the program group with high efficiency and high reliability. CONSTITUTION:A generation management control means 4 refers to a history management table 5 wherein the mutual relation between a system generation and a program generation is defined, and generates a file generation or program registration information generation different from current generation system information 1 by actuating a file registration management means 3 when the change destination system generation is registered in history information 2, thereby substituting the generated generation for the current generation system information 1. When the change destination system generation is an unregistered new generation, it is registered in the current generation system information 1 and history information is generated by the means 3 and registered. For a generation change of only program registration information, a program update means 6 updates only files and programs which need to be registered again.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、多数のファイル群から
なるプログラム群管理システムに係わり、特にシステム
世代とファイル世代を統一的に管理する世代管理方式及
び、世代変更されたファイルのアップデート方式に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a program group management system including a large number of files, and more particularly to a generation management method for managing system generations and file generations in a unified manner and a method for updating a generation-changed file. .

【0002】[0002]

【従来の技術】ソフトウェアの世代(バージョン)管理
は、ファイル単位の管理が一般的であり、世代間の差分
情報を管理することで履歴情報を削減をしている。
2. Description of the Related Art Software generation (version) management is generally performed on a file-by-file basis, and history information is reduced by managing difference information between generations.

【0003】多数の計算機を接続したネットワークシス
テムなどの大規模システムにおいては、多数のファイル
が登録されていて、一部のファイルの更新や、利用ファ
イルの組み合わせ、即ち、ソフトウェアのシステム変更
がしばしば行われる。
In a large-scale system such as a network system in which a large number of computers are connected, a large number of files are registered, and some files are updated or combinations of used files, that is, software system changes are often performed. Be seen.

【0004】しかし、ファイル単位の履歴情報のみで
は、ファイル世代とシステム世代の対応関係が管理され
ていないために、かかる世代変更はユーザのマニュアル
処理に委ねられていた。
However, since the correspondence between the file generation and the system generation is not managed only by the history information in file units, the generation change is left to the manual processing of the user.

【0005】この対策として、システム世代の変更に伴
って全ファイルを同期して更新する方法があるが、変更
のないソースファイルについても無条件に再生成、再登
録がなされ、さらにアップデート処理が実行される。こ
のため、多数のファイルをもつシステムにおいては、世
代変更時のオーバヘッドが大きく、保守の停止時間の短
いフル稼働システムには適用し難いものであった。
As a countermeasure against this, there is a method of updating all files in synchronization with a change in system generation. However, even source files that have not changed are unconditionally regenerated and reregistered, and further update processing is executed. To be done. Therefore, in a system having a large number of files, it is difficult to apply it to a full operation system in which the overhead of generation change is large and the maintenance stop time is short.

【0006】世代変更を効率的に行う方法として、シス
テム世代毎に構成するファイルの版管理を行い、新シス
テムのインストールに際して、旧システムと同じファイ
ルはパスし、異なるファイルはユーザに更新の可否を問
い合わせする管理方式が、特開平2−41523号公報
に提案されている。
As a method for efficiently changing generations, version management of files configured for each system generation is performed, and when installing a new system, the same files as those in the old system are passed, and different files are updated by the user. A management method for making an inquiry is proposed in Japanese Patent Laid-Open No. 2-41523.

【0007】一方、世代変更に伴うプログラムのアップ
デートは、ソースファイルの変更によって起動され、オ
ブジェクト、実行ファイル及び実行プログラムの各段階
の登録日付けの違いより、再登録の必要のあるファイル
及びプログラムを決定している。
On the other hand, the update of the program accompanying the generation change is started by the change of the source file, and the files and programs that need to be re-registered due to the difference in the registration date of each stage of the object, the execution file and the execution program. I have decided.

【0008】[0008]

【発明が解決しようとする課題】しかし、上記提案はイ
ンストールに限られ、現世代のシステム構成と再構成す
る変更先世代の同期した管理が行われていないので、世
代変更におけるユーザの手間は軽減されず、信頼性の上
でも問題がある。
However, the above-mentioned proposal is limited to installation, and the system configuration of the current generation and the generation to be changed to be reconfigured are not managed in synchronization, so that the user's labor for changing the generation is reduced. However, there is a problem in reliability.

【0009】さらに、従来のアップデート方式では、プ
ログラム登録情報のみの変更によってはアップデートが
実行されなされい。このため、たとえばコンパイル情報
の変更がある場合に、対応するオブジェクトファイルの
再登録をユーザが改めて指示する必要があった。このた
め、大規模システムにおいては、ユーザの負担が大き
く、指示漏れによる信頼性低下の原因にもなっていた。
Further, in the conventional update method, the update is not executed only by changing the program registration information. Therefore, for example, when there is a change in the compilation information, the user needs to re-instruct the corresponding object file to be re-registered. For this reason, in a large-scale system, the burden on the user is large, and this also causes a decrease in reliability due to omission of instructions.

【0010】本発明の第1の目的は、従来技術の欠点を
克服し、変更先世代を含むシステム世代とファイル世代
を統一的に管理して、世代変更の自動化と処理のオーバ
ヘッドを低減できるプログラム群世代管理方式を提供す
ることにある。
A first object of the present invention is to provide a program that overcomes the drawbacks of the prior art and manages the system generation including the change-destination generation and the file generation in a unified manner to reduce the automation of generation change and the processing overhead. It is to provide a group generation management method.

【0011】本発明の第2の目的は、プログラム登録情
報の変更によるプログラムの再登録を自動化するプログ
ラムアップデート方式を提供することにある。
A second object of the present invention is to provide a program update method for automating re-registration of a program due to a change in program registration information.

【0012】本発明の第3の目的は、マスタ計算機より
配布される一のシステム変更情報によって、システム内
の他の計算機のシステムを一斉に変更できる分散処理シ
ステムを提供することにある。
A third object of the present invention is to provide a distributed processing system in which the system of other computers in the system can be changed all at once by one system change information distributed from the master computer.

【0013】本発明のその他の目的は、以下の記載を通
じて明きらかにされる。
Other objects of the present invention will be clarified through the following description.

【0014】[0014]

【課題を解決するための手段】上記第1の目的は、現世
代のシステムを構成するプログラム群とプログラム毎の
世代(版)の履歴情報を登録し、システムの変更を管理
するプログラム群世代管理方法において、前記現世代の
システムまたは前記履歴情報に登録されている複数のプ
ログラムと複数のシステムの相互関係を、プログラム世
代のIDによって予め定義し、システムの変更要求にし
たがい、前記現世代と変更先のシステムを前記相互関係
に基づいてプログラム毎に比較し、両者のプログラム世
代IDが一致しないときに変更先のプログラム世代を前
記履歴情報から生成し、この生成されたプログラムを現
世代の前記プログラム群の中の該当プログラムと置換し
て、システムの世代変更を行うことにより達成される。
[Means for Solving the Problems] The first object is to manage a group of programs that manages system changes by registering history information of programs that compose the system of the current generation and generations (versions) of each program. In the method, a mutual relationship between the system of the current generation or a plurality of programs registered in the history information and a plurality of systems is defined in advance by an ID of a program generation, and the system is changed from the current generation according to a system change request. The previous systems are compared for each program based on the mutual relationship, and when the program generation IDs of the two do not match, a changed program generation is generated from the history information, and the generated program is generated as the program of the current generation. This is achieved by replacing the corresponding program in the group and changing the generation of the system.

【0015】上記第2の目的は、ソースファイルが更新
される場合に、オブジェクトファイル、実行形式ファイ
ルおよび実行プログラムの順番でプログラム登録情報に
基づく再登録を行うプログラムアップデート処理方法に
おいて、ソースファイルに対応するプログラム登録情報
のみが変更される場合は、再登録する前記順番のもの
で、前記変更により影響を受けるもの以後を再登録する
ことにより達成される。
The second object corresponds to a source file in a program update processing method for re-registering an object file, an executable file and an executable program in this order when the source file is updated. In the case where only the program registration information to be changed is changed, it can be achieved by re-registering the items in the order of re-registration and those affected by the change.

【0016】上記第3の目的は、世代管理機能をもつマ
スタ計算機と世代管理機能をもたない他の計算機群をネ
ットワークで接続する分散処理システムにおいて、マス
タ計算機は、複数のソースファイルとそのプログラム登
録情報を記憶する現世代システム情報記憶手段と、前記
ソースファイルおよび/またはプログラム登録情報を更
新し、かつ、更新したソースファイルまたはプログラム
登録情報または削除するファイル名称の少なくとも一つ
を含むシステム変更情報を生成するプログラム登録管理
手段と、前記システム変更情報を他の計算機に配布する
送信手段を備え、前記他の計算機は、マスタ計算機から
のシステム変更情報を受信する受信手段と、自己の現世
代システム情報記憶手段と、受信したソースファイルま
たはプログラム登録情報または削除するファイル名称に
従って前記自己の現世代システム情報記憶手段を更新す
るプログラム登録管理手段を備えることにより達成され
る。
A third object of the present invention is that in a distributed processing system in which a master computer having a generation management function and another computer group not having a generation management function are connected via a network, the master computer has a plurality of source files and their programs. Current generation system information storage means for storing registration information, and system change information for updating the source file and / or program registration information and including at least one of the updated source file or program registration information or file name to be deleted A program registration management means for generating the system change information, a transmitting means for distributing the system change information to another computer, the other computer receiving means for receiving the system change information from the master computer, and its own current generation system. Information storage means and received source file or program registration It is achieved by providing a program registration management means for updating the current generation system information storage means of said self accordance with information or the file name to be deleted.

【0017】[0017]

【作用】第1の発明によれば、世代管理テーブルの現世
代と変更先世代のファイル世代IDは瞬時に比較でき、
一致するときはファイルの生成が省略でき、一致しない
とき履歴情報を元に変更先ファイルを生成するので、フ
ァイル生成を含む世代変更が変更先世代IDを指示する
のみで自動化でき、かつ、処理のオーバヘッドが大幅に
削減できる。
According to the first aspect of the invention, the file generation IDs of the current generation and the change destination generation of the generation management table can be instantly compared,
When they match, the generation of the file can be omitted, and when they do not match, the change destination file is generated based on the history information. Therefore, generation change including file generation can be automated simply by instructing the change destination generation ID, and Overhead can be significantly reduced.

【0018】第2の発明によれば、ソースファイルは変
わらずにプログラム登録情報のみが変更する場合に、そ
の変更内容がたとえば、コンパイル情報であればオブジ
ェクトファイル、リンクロード情報であれば実行形式フ
ァイル、実行プログラム登録情報であれば実行プログラ
ムを、それぞれ再登録の開始位置とするプログラムアッ
プデート処理が実行される。
According to the second invention, when only the program registration information is changed without changing the source file, the changed contents are, for example, an object file if the information is compilation information and an execution file if the information is link load information. If it is the execution program registration information, the program update process is executed with each execution program as the re-registration start position.

【0019】これによって、プログラムアップデートの
完全な自動処理が実現でき、従来、ユーザが行っていた
プログラム登録情報の変更チェックによる対応ソースフ
ァイルの日付更新の手間が省力化でき、チェック漏れに
よる再登録ミスも防止できる。さらに、世代変更のため
の計算機の中断を少なくでき、オンライン業務の処理効
率を向上できる。
As a result, it is possible to realize a completely automatic program update process, save the labor of updating the date of the corresponding source file due to the change check of the program registration information, which has been conventionally performed by the user, and re-register error due to omission of check. Can also be prevented. Furthermore, it is possible to reduce the interruption of the computer for the generation change and improve the processing efficiency of online business.

【0020】第3の発明によれば、マスター計算機から
ただ1回のシステム変更情報を送信するのみで、システ
ム内の他の計算機は世代変更のための特別の機能をもつ
ことなく、短時間の中断でオンラインの世代変更が実現
でき、分散処理システムの稼働率を向上できる。
According to the third aspect of the invention, the system change information is transmitted from the master computer only once, and the other computers in the system do not have a special function for changing the generation, and the system can be used for a short time. Online generation change can be realized by interruption, and the operation rate of the distributed processing system can be improved.

【0021】[0021]

【実施例】以下、図面を参照して本発明の実施例を詳細
に説明する。図2は、本発明によるプログラム群の世代
変更に好適な分散システムの構成を示す。複数の計算機
101a〜101dがネットワークに接続され、各計算
機のプログラム群とその変更は、マスタ計算機101a
によって管理されている。
Embodiments of the present invention will now be described in detail with reference to the drawings. FIG. 2 shows the configuration of a distributed system suitable for changing the generation of a program group according to the present invention. A plurality of computers 101a to 101d are connected to the network, and the program group of each computer and its change are stored in the master computer 101a.
Is managed by.

【0022】マスタ計算機101aは、磁気ディスク
(MD)109等に格納されているプログラム群やデー
タなど登録済のソフトウェアを、入出力手段107を通
じて読出し、現在使用するプログラム群等の組み合わせ
(以下、現世代システムと呼ぶ)を世代管理装置104
で管理し、この現世代システムの関連情報を通信装置1
02を介して各計算機に伝送している。なお、システム
の世代変更や新規登録は、ユーザが端末110から指示
あるいは入力する。
The master computer 101a reads out registered software such as programs and data stored in the magnetic disk (MD) 109 or the like through the input / output unit 107, and combines the currently used programs or the like (hereinafter, referred to as a current combination). Referred to as a generation system).
Managed by the communication device 1
It is transmitted to each computer via 02. It should be noted that the user instructs or inputs from the terminal 110 the generation change and the new registration of the system.

【0023】図1は、マスタ計算機101aに具備され
る、世代管理装置104の機能ブロック図で、実線は制
御情報、点線はデータの流れを示す。現世代システム情
報記憶手段1は、現世代のアプリケーションソフトを構
成するソースファイル群1aと、そのプログラム登録情
報1bを格納する。履歴情報記憶手段2は、登録済みの
ソースファイルについて、各ファイルおよびプログラム
登録情報毎に、世代(バージョン)間のソースファイル
履歴情報2a、登録情報履歴情報2bを、世代順に格納
する。これら記憶手段1、2は、磁気ディスク109に
記憶領域を有している。
FIG. 1 is a functional block diagram of the generation management device 104 provided in the master computer 101a. The solid line shows the control information and the dotted line shows the data flow. The current-generation system information storage means 1 stores a source file group 1a that constitutes the current-generation application software and its program registration information 1b. The history information storage unit 2 stores source file history information 2a between generations (versions) and registration information history information 2b for each registered file for each file and program registration information in order of generation. These storage means 1 and 2 have a storage area on the magnetic disk 109.

【0024】ファイル登録管理手段3は、現世代記憶手
段1と履歴情報記憶手段2の登録、更新、削除を行うも
ので、ファイルやプログラム登録情報の世代間の内部デ
ータの差分情報をとって、履歴情報2a,2bを作成す
る。また、この履歴情報より所望の現世代ファイル群1
aおよびプログラム登録情報1b生成し、記憶手段1へ
の登録と現世代に不要なファイルの削除を行う。
The file registration management means 3 registers, updates, and deletes the current generation storage means 1 and the history information storage means 2, and obtains the difference information of the internal data between generations of files and program registration information, History information 2a, 2b is created. In addition, the desired current-generation file group 1 based on this history information
a and the program registration information 1b are generated and registered in the storage means 1 and files unnecessary for the current generation are deleted.

【0025】プログラムアップデート手段6は、新規に
登録する場合はソースファイルを元に順次、オブジェク
トファイルを記憶手段7に、実行形式ファイルを記憶手
段8に、実行プログラムをメモリ9(主メモリ)に登録
する。記憶手段7と記憶手段8は、それぞれ磁気ディス
ク109に記憶領域を有している。
When newly registering, the program updating means 6 sequentially registers the object file in the storage means 7, the execution format file in the storage means 8 and the execution program in the memory 9 (main memory) based on the source file. To do. The storage unit 7 and the storage unit 8 each have a storage area on the magnetic disk 109.

【0026】一方、更新されたソースファイルを元にア
ップデートする場合は、各段階のファイル/プログラム
の登録日付の新旧比較により連鎖的に実行する。すなわ
ち、ソースファイル1aの登録日付が更新されると、オ
ブジェクトファイル1a’の日付の方が古くなるので、
ソースファイル1aをコンパイルしてオブジェクトファ
イル1a’を再登録する。すると、ライブラリとして記
憶されている実行形式ファイル1a”の日付が古くなる
ので、変更されたオブジェクトファイル1a’をリンク
ロードして実行形式ファイル1a”を再登録する。この
結果、実行プログラム1aの登録日付が古くなり、更新
された実行形式ファイル1a”の一部または全部のプロ
グラムが再登録される。
On the other hand, when updating based on the updated source file, it is executed in a chained manner by comparing old and new of the registration dates of the files / programs at each stage. That is, when the registration date of the source file 1a is updated, the date of the object file 1a 'becomes older,
The source file 1a is compiled and the object file 1a 'is reregistered. Then, since the date of the executable file 1a ″ stored as a library becomes old, the changed object file 1a ′ is link-loaded to re-register the executable file 1a ″. As a result, the registration date of the execution program 1a becomes old, and some or all programs of the updated execution format file 1a ″ are re-registered.

【0027】世代管理制御手段4は、図3に示す世代管
理テーブル5を参照しながらシステムの世代変更を行
う。世代管理テーブル5はシステム単位のシステム世代
ID(SYS1,SYS2,...)と、履歴情報記憶
手段2に登録されているファイル単位(A〜F)のファ
イル世代ID(V1,V2,V3,..)の対応関係を
登録するもので、各世代のシステムを構成するファイル
群の同期をとるために用いられる。
The generation management control means 4 changes the generation of the system while referring to the generation management table 5 shown in FIG. The generation management table 5 includes system generation IDs (SYS1, SYS2, ...) In system units and file generation IDs (V1, V2, V3, file units (A to F) registered in the history information storage unit 2). ...) is registered, and is used to synchronize the files that compose the system of each generation.

【0028】図3で、記号「→」は、当該システム世代
でファイル世代の変更がないことを示し、前システム世
代と同じファイル世代を採用している。記号「−」は、
当該システム世代に当該ファイルを使用していないこと
を示し、たとえば、ファイルCは履歴情報2aには登録
されているが、使用はSYS5が初めてとなる。
In FIG. 3, the symbol ".fwdarw." Indicates that the file generation has not changed in the relevant system generation, and the same file generation as the previous system generation is adopted. The symbol "-" means
It indicates that the file is not used in the system generation. For example, although the file C is registered in the history information 2a, the SYS5 is used for the first time.

【0029】同図(b)のSYS6は、同図(a)では
全て空白であり、このシステムは履歴情報記憶手段2へ
登録のないファイルまたはフィル世代を含む新世代シス
テムである。なお、「区分」の項目は、システム世代の
現状のステータスを示し、CURは現世代システム、C
HGは変更先世代システムを表す識別子である。
The SYS 6 in FIG. 2B is blank in FIG. 1A, and this system is a new generation system including files or fill generations not registered in the history information storage means 2. The “category” item indicates the current status of the system generation, and CUR is the current generation system, C
HG is an identifier representing a change-to generation system.

【0030】世代管理テーブル5は、システム世代とプ
ログラム登録情報の世代(V1,V2,...)との対
応関係も定義している。図4(a)〜(d)は、世代管
理テーブル5の付属情報として定義されるプログラム登
録情報テーブル51で、任意のプログラム、例えばプロ
グラムAのプログラム登録情報について、コンパイルオ
プション、リンク・ロードオプション、実行プログラム
オプション及び全体削除の例を示している。
The generation management table 5 also defines the correspondence between the system generation and the program registration information generation (V1, V2, ...). 4A to 4D show a program registration information table 51 defined as ancillary information of the generation management table 5, which shows a compile option, a link load option, and a program load information for an arbitrary program, for example, program A. The example of an execution program option and the whole deletion is shown.

【0031】なお、図3のソースファイルと図4のプロ
グラム情報が対応するプログラム、例えばファイルAと
プログラムAは、説明を簡単にするため以下では1対1
に対応しているものとするが、これに限られるものでは
ない。たとえば、複数のファイルA〜Cからプログラム
Aが生成される場合は、プログラム構成情報に基づい
て、プログラムアップデート処理が行なわれることは周
知であり、本実施例においても適用可能である。
In order to simplify the explanation, the programs corresponding to the source files of FIG. 3 and the program information of FIG. 4, such as file A and program A, are one-to-one below.
It corresponds to, but is not limited to. For example, when the program A is generated from a plurality of files A to C, it is well known that the program update process is performed based on the program configuration information, and it is also applicable in this embodiment.

【0032】次に、システム世代変更に伴う世代管理制
御手段4におけるプログラム群の管理を、図5〜図10
を参照しながら説明する。なお、ここでのシステム世代
変更は、変更先システムを構成するソースファイル等の
履歴情報2による生成と現世代システム情報1への登録
であり、さらには、世代変更で更新したソースファイル
またはプログラム登録情報を元にアップデートし、動的
な情報である実行形式ファイル及び実行プログラムの再
登録である。
Next, the management of the program group in the generation management control means 4 accompanying the system generation change will be described with reference to FIGS.
Will be described with reference to. It should be noted that the system generation change here is generation of history information 2 such as a source file constituting the change destination system and registration in the current generation system information 1, and further, source file or program registration updated by the generation change. This is re-registration of an executable file and an executable program which are dynamic information and updated based on the information.

【0033】図5は、世代管理の概略を示す処理フロー
である。ステップS10で、システム変更要求を、端末
110からの変更先システム世代IDにより受け付け、
ステップS20で、受け付けたシステム世代IDが世代
管理テーブル5に登録されているか判定する。登録され
ている世代ID、たとえばSYS5への世代変更要求の
場合は、世代管理テーブル5のSYS5にCHGを設定
し、後述するステップS30による世代変更処理を行
う。
FIG. 5 is a processing flow showing an outline of generation management. In step S10, the system change request is accepted from the terminal 110 by the change-destination system generation ID,
In step S20, it is determined whether the received system generation ID is registered in the generation management table 5. In the case of a generation change request to the registered generation ID, for example, SYS5, CHG is set in SYS5 of the generation management table 5, and the generation change process in step S30 described later is performed.

【0034】一方、ステップS10〜20で未登録の世
代IDであるSYS6が受け付けられた場合は、ステッ
プS40で世代管理テーブル5にSYS6のIDを追加
して区分をCHGとし、未登録のファイルについて端末
から110からの入力を受け付け、ファイル登録手段3
を動作させて現世代システム情報記憶手段1に登録す
る。図3(b)の例では、ファイルAのV5、ファイル
DのV4、ファイルFのV1および登録情報のV3が新
規登録される。この後、新世代登録処理S50で、後述
する履歴情報の登録を行う。
On the other hand, if the unregistered generation ID SYS6 is accepted in steps S10 to 20, the ID of the SYS6 is added to the generation management table 5 in step S40 to set the category to CHG, and the unregistered file is unregistered. The file registration means 3 receives an input from the terminal 110.
To register in the current generation system information storage means 1. In the example of FIG. 3B, V5 of file A, V4 of file D, V1 of file F and V3 of registration information are newly registered. After that, in the new generation registration processing S50, the history information described later is registered.

【0035】世代変更処理の後に、後述するステップS
60でプログラムアップデート処理を行い、さらにステ
ップS70で、図3(b)のように世代管理テーブル5
の更新を行い、変更先世代区分CHGを現世代区分CU
Rへ変更し、新世代システムSYS6を構成する各ファ
イル世代IDを登録して、以後の管理に供する。なお、
世代管理テーブル5の更新は、ステップS30、S50
で行ってもよい。
After the generation change process, step S described later
Program update processing is performed in step 60, and in step S70, the generation management table 5 as shown in FIG.
Is updated, and the new generation division CHG is changed to the current generation division CU.
The file generation ID is changed to R, each file generation ID that constitutes the new generation system SYS6 is registered, and is used for subsequent management. In addition,
The generation management table 5 is updated in steps S30 and S50.
You may go in.

【0036】図6は、上記したステップS30の世代変
更処理を示すフローチャートである。ここでは、図3に
示す現システム世代SYS4から変更先システム世代S
YS5へ、世代変更する場合を例に説明する。
FIG. 6 is a flowchart showing the generation changing process of step S30 described above. Here, from the current system generation SYS4 shown in FIG.
An example of changing the generation to YS5 will be described.

【0037】ステップS301で、SYS4を構成する
ファイル世代IDとSYS5のファイル世代IDを、世
代管理テーブル5を参照してファイルAから登録情報ま
でファイル毎に比較する。ファイルA、Fは両者のファ
イルID世代が一致しているので、以後の世代変更処理
はパスされる。
In step S301, the file generation ID of SYS4 and the file generation ID of SYS5 are compared for each file from file A to registration information by referring to the generation management table 5. Since the file ID generations of the files A and F are the same, the subsequent generation change processing is passed.

【0038】ファイル世代IDが一致しないその他のフ
ァイルは、ステップS302で、変更先世代には当該フ
ァイルがあるか判定する。「無し」の場合、即ちSYS
4にあってSYS5にないファイルEは、ステップS3
05で、ファイル登録管理手段3を動作させて記憶手段
1のファイル群1aから削除する。
For other files whose file generation IDs do not match, it is determined in step S302 whether or not there is the file in the changed generation. In the case of "none", that is, SYS
The file E which is in 4 but not in SYS5 is in step S3.
At 05, the file registration management means 3 is operated to delete from the file group 1a of the storage means 1.

【0039】一方、ステップS302で「有り」と判定
されるファイルB,Dおよび登録情報は、ファイル登録
管理手段3を指示してSYS5のファイル世代を履歴情
報2a,2bから生成し、記憶手段1の現世代ファイル
群1aのファイルDおよび登録情報1bと置換する。同
様に「有り」と判定されたファイルC(V1)は、現世
代SYS4には使用していなが履歴情報2aには登録が
あるので、履歴情報2aから生成され、現世代ファイル
群1aに追加される。
On the other hand, regarding the files B and D and the registration information which are determined to be “present” in step S302, the file registration management means 3 is instructed to generate the file generation of SYS5 from the history information 2a and 2b, and the storage means 1 The file D of the current generation file group 1a and the registration information 1b are replaced. Similarly, the file C (V1) determined to be “present” is not used in the current generation SYS4, but is registered in the history information 2a, so it is generated from the history information 2a and added to the current generation file group 1a. To be done.

【0040】SYS4とSYS5の全ファイルが終了す
るまで、ファイル毎に上記の処理を繰返し(ステップS
306)、現世代システム情報1の更新が終了する。な
お、この後すぐに、世代管理テーブル5の更新を行うよ
うにしてもよい。
The above process is repeated for each file until all files of SYS4 and SYS5 are completed (step S
306), the update of the current generation system information 1 ends. The generation management table 5 may be updated immediately after this.

【0041】これによれば、現世代から変更先システム
世代への世代変更が自動化されるとともに、ファイルの
生成と置換の処理が最小化されて、世代変更におけるオ
ーバヘッドを低減することができる。
According to this, the generation change from the current generation to the change-destination system generation is automated, and the processing of file generation and replacement is minimized, so that the overhead in the generation change can be reduced.

【0042】次に、上記したステップS50の新世代登
録処理を、図7のフローチャートにしたがって説明す
る。現世代システム情報1はステップS40により、図
3(b)に示すSYS5からSYS6の各ファイルに更
新されているものとする。
Next, the new generation registration processing of step S50 described above will be described with reference to the flowchart of FIG. It is assumed that the current generation system information 1 has been updated to each file of SYS5 to SYS6 shown in FIG. 3B in step S40.

【0043】まず、ステップS500で現世代システム
情報1(SYS6)の各ファイルについて履歴情報の有
無をチエックする。履歴情報のある場合はステップS5
01で、その履歴情報2a,2bから最新世代ファイル
を生成する。つぎに、ステップS502で、この最新世
代ファイルと現世代システム情報の該当ファイルを照合
する。照合は両ファイルの内部データについて行い、両
ファイルが一致しているときは(ファイルB,C)、ス
テップS503で履歴情報の登録処理がパスされる。
First, in step S500, the presence or absence of history information is checked for each file of the current generation system information 1 (SYS6). If there is history information, step S5
At 01, the latest generation file is generated from the history information 2a and 2b. Next, in step S502, the latest generation file and the corresponding file of the current generation system information are collated. The collation is performed on the internal data of both files. When both files match (files B and C), the history information registration process is passed in step S503.

【0044】両ファイルのデータが一致していないとき
(ファイルA,D,Gおよび登録情報)は、各々の最新
ファイルIDを更新し(S504)、両ファイルの内部
データの差分による履歴情報を、ファイル登録管理手段
3により作成して、履歴情報記憶手段2に登録する(S
505)。また、世代管理テーブル5のSYS6の該当
ファイル欄に、データに変更のないときは「→」、変更
のあるときは新ファイルIDを設定し(S506)、そ
の後、S501で生成した最新世代ファイルを削除する
(S507)。なお、ファイルGは新規の登録情報であ
り、履歴情報にはそのV1の全データが登録される。
When the data in both files do not match (files A, D, G and registration information), the latest file ID of each file is updated (S504), and history information based on the difference between the internal data of both files is updated. Created by the file registration management means 3 and registered in the history information storage means 2 (S
505). In addition, “→” is set in the corresponding file column of SYS6 of the generation management table 5 when the data is not changed, a new file ID is set when the data is changed (S506), and then the latest generation file generated in S501 is set. It is deleted (S507). The file G is new registration information, and all the data of V1 is registered in the history information.

【0045】これによれば、履歴情報の登録が自動化さ
れるので、多数のファイルを有するシステムの場合にも
信頼性の高い版管理が可能になる。また、更新のオーバ
ヘッドも削減できる。
According to this, since registration of history information is automated, highly reliable version management is possible even in the case of a system having a large number of files. Also, the update overhead can be reduced.

【0046】このように、世代変更または新世代登録さ
れた現世代システム情報1のソースファイルは、その登
録日付も同時に更新されるので、ステップS60のアッ
プデート処理により、各段階の動的ファイルやプログラ
ムが再登録される。
In this way, the source file of the current generation system information 1 whose generation has been changed or registered for the new generation has its registration date updated at the same time. Therefore, the update process of step S60 causes the dynamic file or program of each stage to be updated. Will be re-registered.

【0047】ところで、上記した世代変更処理におい
て、ソースファイルの変更はないがそのプログラム登録
情報は変更される場合がある。ステップS60は、この
ような場合にも自動的に実行されるアップデート処理を
含むもので、図4に示す現世代SYS4から変更先世代
SYS5へのプログラム登録情報を例に、図8のフロー
チャートにしたがって説明する。なお、同図に示すステ
ップS613の処理が、従来のプログラムアップデート
に相当し、S600〜S612はその前処理となる。
By the way, in the generation changing process described above, the program registration information may be changed although the source file is not changed. Step S60 includes an update process that is automatically executed even in such a case, and the program registration information from the current generation SYS4 to the change destination generation SYS5 shown in FIG. 4 is taken as an example and according to the flowchart of FIG. explain. The process of step S613 shown in the figure corresponds to the conventional program update, and S600 to S612 are the pre-processes thereof.

【0048】まず、ステップS600で、変更先SYS
5の登録情報IDに変更(変更および削除)があるか世
代管理テーブル5でチエックする。V1からV2に変更
されているのでステップS601に進み、対象ソースプ
ログラム(ここではファイルとプログラムは1対1に対
応するものとする)が変更されているかテーブル5でチ
エックする。ソースプログラム、即ちソースファイルが
変更されている場合は、ステップS613に移行しての
通常のアップデート処理が行われる。
First, in step S600, the destination SYS is changed.
The generation management table 5 is checked to see if the registration information ID 5 has been changed (changed and deleted). Since V1 has been changed to V2, the process proceeds to step S601, and a check is made in Table 5 to see whether the target source program (here, files correspond to programs one-to-one) has been changed. If the source program, that is, the source file has been changed, the process proceeds to step S613 and the normal update process is performed.

【0049】一方、図3のファイルAの場合は、SYS
4とSYSの間に世代変更がないので、この場合は以下
の処理が行われる。ステップS602でプログラム登録
情報管理テーブル51を参照し、当該ソースプログラム
Aに登録情報全部の削除があるか判定する。図4(a)
〜(d)は、プログラムAにたいするプログラム登録情
報の変更例を示し、同図(d)が全削除の例である。こ
の場合は、ステップS603〜S605で、SYS4の
ファイルA(V4)の各段階のファイル/プログラムが
削除され、それぞれの記憶手段に残存する不要情報が取
り除かれる。
On the other hand, in the case of the file A shown in FIG.
Since there is no generation change between 4 and SYS, the following processing is performed in this case. In step S602, the program registration information management table 51 is referred to, and it is determined whether the source program A has all the registration information deleted. Figure 4 (a)
(D) shows an example of changing the program registration information for the program A, and (d) is an example of all deletion. In this case, in steps S603 to S605, the file / program at each stage of the file A (V4) of SYS4 is deleted, and unnecessary information remaining in each storage unit is removed.

【0050】つぎに、ステップS606でコンパイルオ
プションの変更があるかチエックし、図4(a)の例の
ようにオプティマイズレベルが変更していれば、ステッ
プS607でソースファイルAの登録日付を更新する。
コンパイル情報の変更でなければ、ステップS608で
リンクロードオプションが変更されているかチエック
し、同図(b)のように変更があるときは(削除も含
む)、ステップS609でオブジェクトファイル日付を
更新する。つぎに、ステップS610で、実行プログラ
ム登録オプションの変更をチエックし、同図(c)のよ
うに実行プライオリティの変更があれば、実行形式ファ
イルの登録日付を更新する。
Next, in step S606, it is checked whether the compile option is changed. If the optimize level is changed as in the example of FIG. 4A, the registration date of the source file A is updated in step S607. .
If the compile information is not changed, it is checked in step S608 whether the link load option is changed. If the compile information is changed (including deletion) as shown in FIG. 7B, the object file date is updated in step S609. . Next, in step S610, the execution program registration option is checked for changes, and if there is a change in execution priority as shown in FIG. 7C, the execution date file registration date is updated.

【0051】以上の処理をSYS5の全プログラムにつ
いて終了したときに(S612)、通常のプログラムア
ップデート(S613)が実行される。同図(a)の場
合はソースファイルAの日付が更新されているので、S
YS4で登録したオブジェクトファイルAの日付と比較
される。この結果ソースファイル日付の方が新しいの
で、変更されたオプティマイズレベル2でコンパイルし
たオブジェクトファイルAが再登録され、以下、実行形
式ファイル、実行プログラムの再登録も連鎖的に行われ
る。
When the above processing is completed for all programs of SYS5 (S612), normal program update (S613) is executed. In the case of FIG. 7A, the date of the source file A has been updated, so S
It is compared with the date of the object file A registered in YS4. As a result, since the date of the source file is newer, the object file A compiled at the changed optimization level 2 is re-registered, and thereafter, re-registration of the execution format file and the execution program is also chained.

【0052】同図(b)の場合は、オブジェクトファイ
ル日付が更新されているので、SYS4で登録したオブ
ジェクトファイルAを元に、標準のリンクロード仕様に
よる実行形式ファイルの再登録と実行プログラムの再登
録が実行される。
In the case of FIG. 9B, since the object file date has been updated, based on the object file A registered in SYS4, re-registration of the execution format file according to the standard link load specification and re-execution of the execution program are performed. Registration is performed.

【0053】同図(c)の場合は、実行形式ファイルの
登録日付が更新されているので、オブジェクトファイル
Aと実行形式ファイルAはSYS4のままで、実行形式
ファイルAからプライオリティ60による実行プログラ
ムAの再登録が行われる。
In the case of FIG. 6C, since the registration date of the execution format file has been updated, the object file A and the execution format file A remain SYS4, and the execution format file A to the execution program A with the priority 60. Will be re-registered.

【0054】図9は、上記したS606〜S611の変
形例で、S607,S609,S611に対応するS6
07A,S609A,S611Aの各々は、日付の更新
に代えて1段階下位のファイルまたはプログラムの日付
を削除している。これによっても、S613のアップデ
ート処理は図8と同じになる。
FIG. 9 shows a modification of the above-described S606 to S611, which corresponds to S607, S609, and S611.
In each of 07A, S609A, and S611A, instead of updating the date, the date of the file or program one step lower is deleted. With this, the update process of S613 becomes the same as that of FIG.

【0055】図10は、プログラム登録情報に基づくプ
ログラムアップデート処理を、実行手段を含んで概念的
に説明した図で、コンパイラ61、リンカローダ62お
よびプロセス登録手段63(制御装置106の1機能)
は、プログラムアップデート手段6の指示によって起動
される。
FIG. 10 is a diagram conceptually explaining the program update processing based on the program registration information, including the execution means. The compiler 61, the linker loader 62, and the process registration means 63 (one function of the control device 106).
Is activated by an instruction from the program update means 6.

【0056】本実施例のプログラムアップデート処理に
よれば、通常のアップデートの実行に先立って、プログ
ラム登録情報に基づく所定の前処理を実行するので、プ
ログラム登録情報のみの変更や削除に対しても、必要な
アップデート処理が自動的に行なわれる。これによっ
て、従来、ユーザが費していた多大な時間と手間が省力
化され、変更システムの信頼性も向上できる。さらに、
世代変更処理による業務の中断を大幅に短縮できるの
で、オンライン業務の速やかな再開による連続運転シス
テムの操業率を向上できる。
According to the program update processing of this embodiment, a predetermined preprocessing based on the program registration information is executed prior to the execution of the normal update, so that even if only the program registration information is changed or deleted, Necessary update processing will be performed automatically. This saves a great deal of time and effort conventionally required by the user, and improves the reliability of the change system. further,
Since the interruption of work due to generation change processing can be greatly shortened, the operating rate of the continuous operation system can be improved by promptly restarting online work.

【0057】次に、分散システムのマスタ計算機から他
計算機のシステムを変更する、本発明の第2の実施例に
ついて説明する。
Next, a second embodiment of the present invention for changing the system of another computer from the master computer of the distributed system will be described.

【0058】図11は、分散システムの構成と、マスタ
計算機101aに接続される端末110の表示画面20
1を示す。表示中のシステム内世代情報202は、シス
テムの各計算機(名称)にたいするシステム世代、計算
機種別および管理システム世代を示している。この例の
計算機種別はTCSとHBSの2種類で、同一の種類は
同一のソフトウェア構成を有し、TCSはノードA(1
01a)、HBSはノードE(101e)がマスタ計算
機となって管理している。
FIG. 11 shows the configuration of the distributed system and the display screen 20 of the terminal 110 connected to the master computer 101a.
1 is shown. The in-system generation information 202 being displayed indicates the system generation, computer type, and management system generation for each computer (name) in the system. There are two types of computers in this example, TCS and HBS, and the same type has the same software configuration.
01a) and the HBS are managed by the node E (101e) serving as a master computer.

【0059】マスタ計算機101aは、第1の実施例で
説明した自己の世代変更とともに、他の計算機のシステ
ム変更に必要な情報を生成して、図1に示すシステム変
更情報記憶手段11に収集し、この情報をシステム内の
同一種別の他ノード101b〜101dに配信して、各
計算機のシステム変更を行うもので、図12はその概略
フローを示している。
The master computer 101a generates information necessary for changing the system of another computer along with its own generation change described in the first embodiment and collects it in the system change information storage means 11 shown in FIG. This information is distributed to other nodes 101b to 101d of the same type in the system to change the system of each computer, and FIG. 12 shows its schematic flow.

【0060】ステップS701で、端末110からのシ
ステム変更要求が受付られると、世代管理制御手段4
は、ステップS702で現状のシステム内世代情報20
1を収集し表示する(S703)。この画面201に
は、変更計算機種別203と変更システム世代204の
操作コマンド入力画面が表示されていて、ステップS7
04とS705でユーザの指示が受付られる。以下で
は、種別がTCS、システム世代がSYS5の場合を例
に、マスタ101aと他ノード101b〜101dのシ
ステム世代変更を例に説明する。
When the system change request from the terminal 110 is accepted in step S701, the generation management control means 4
Is the current in-system generation information 20 in step S702.
1 is collected and displayed (S703). On this screen 201, an operation command input screen for the changed computer type 203 and the changed system generation 204 is displayed.
The user's instruction is accepted in 04 and S705. In the following, a case where the type is TCS and the system generation is SYS5 will be described as an example, and the system generation change of the master 101a and the other nodes 101b to 101d will be described as an example.

【0061】ステップS706で、システム変更情報が
収集され、記憶手段11に格納される。この収集が終了
すると(マスタの変更終了)、ステップS707〜70
9で、この変更情報をノードB,C,Dに順次、配送し
てシステム変更要求を行う。この配送は、世代管理制御
手段4の指示により、情報配布送受手段10がシステム
変更情報を所定のデータフォーマットに編集して後に行
う。
In step S706, the system change information is collected and stored in the storage means 11. When this collection ends (master change ends), steps S707 to S70
At 9, the change information is sequentially delivered to the nodes B, C and D to make a system change request. This delivery is performed later by the information delivery / transmission / reception means 10 editing the system change information into a predetermined data format according to an instruction from the generation management control means 4.

【0062】図13は、ステップS706に応じた、世
代変更処理におけるシステム変更情報11の生成と収集
の処理を示す。これは、図6の世代変更処理のステップ
S304の生成ファイルの現世代情報1への置換と、S
305の現世代ファイルの削除に対応して実行される。
すなわち、ステップS304A,Bで生成ファイルの名
称と生成ファイルを、ステップS305Aで削除ファイ
ルの名称をシステム変更情報記憶手段11に転送する。
これらの処理は、世代管理手段4の指示にしたがってフ
ァイル登録管理手段3が行う。
FIG. 13 shows the process of generating and collecting the system change information 11 in the generation change process according to step S706. This is the replacement of the generated file with the current generation information 1 in step S304 of the generation change process of FIG.
This is executed in response to the deletion of the current generation file 305.
That is, the names of generated files and generated files are transferred to the system change information storage means 11 in steps S304A and B, and the names of deleted files are transferred to step S305A.
These processes are performed by the file registration management means 3 according to the instructions of the generation management means 4.

【0063】図14は、プログラムアップデート処理に
おけるシステム変更情報11の収集処理を示す。すなわ
ち、図8におけるステップS607,S609およびS
611の日付更新処理に対応して、プログラムアップデ
ートの開始点となる、コンパイルポイント、リンクロー
ドポイントおよびプログラム登録ポイントをプログラム
アップデート情報11bとして記憶する。
FIG. 14 shows a process of collecting the system change information 11 in the program update process. That is, steps S607, S609 and S in FIG.
Corresponding to the date update processing of 611, the compile point, the link load point, and the program registration point, which are the starting points of the program update, are stored as the program update information 11b.

【0064】図15は、システム変更情報のデータフォ
ーマットで、(a)は、転送ファイル名称情報11a、
(b)はプログラムアップデート情報11bについて示
している。
FIG. 15 shows the data format of the system change information. (A) is the transfer file name information 11a,
(B) shows the program update information 11b.

【0065】システム変更情報11は、情報配布送受手
段10によって通信装置102を介して他計算機に配送
される。マスタでない他計算機は、受信した変更情報を
自己の情報配布送受手段10によってシステム変更情報
記憶手段11に取り込む。
The system change information 11 is distributed by the information distribution transmitting / receiving means 10 to another computer via the communication device 102. The other computer that is not the master takes the received change information into the system change information storage means 11 by its own information distribution transmission / reception means 10.

【0066】さらに、マスタからのシステム変更要求に
よって、ファイル登録管理手段3が現世代システム情報
記憶手段1を更新する。すなわち、変更情報11の生成
ファイル名称11aとそのソースファイルや登録情報1
1cを現世代システム情報の1a,1bに置換または追
加し、削除ファイル名称11aに応じて現世代情報1a
から不要なソースファイルを削除する。さらに、プログ
ラムアップデート情報1bに対応するファイル/プログ
ラムについて、その指定のアップデート開始位置から、
プログラムアップデート手段6による再登録を実行す
る。
Further, the file registration management means 3 updates the current generation system information storage means 1 in response to a system change request from the master. That is, the generated file name 11a of the change information 11 and its source file and registration information 1
1c is replaced or added to 1a and 1b of the current generation system information, and the current generation information 1a is added according to the deleted file name 11a.
Delete unnecessary source files from. Furthermore, regarding the file / program corresponding to the program update information 1b, from the designated update start position,
Re-registration by the program update means 6 is executed.

【0067】上記の例では、変更する計算機種別がTC
Sの1種であったが、複数の種別のシステム変更を連続
的に実行することもできる。また、システム内の世代管
理を行うマスタ計算機は、固定でなく他の計算機が代替
することも可能である。図16は、このような場合の処
理フローを示す。
In the above example, the computer type to be changed is TC.
Although it is one type of S, a plurality of types of system changes can be continuously executed. The master computer that manages generations in the system is not fixed and can be replaced by another computer. FIG. 16 shows a processing flow in such a case.

【0068】各計算機は、自己の端末あるいはネットワ
ークから変更計算機種別が受付られると、ステップS8
01で、その種別が自計算機と同一か判定する。同一で
あれば、S802で自計算機がマスタか否か判定する。
マスタでなければ、S803でマスタ計算機へのシステ
ム変更要求を行う。マスタ計算機であれば、S804〜
S806でシステム変更情報の生成、収集を行い、他計
算機に配布してシステム変更要求を行う。これをシステ
ム変更対象の全計算機種別が終了するまで繰返し行う
(S807)。
When each computer receives the changed computer type from its own terminal or network, step S8 is performed.
In 01, it is determined whether the type is the same as the own computer. If they are the same, it is determined in S802 whether or not the own computer is the master.
If it is not the master, a system change request is made to the master computer in S803. If it is a master computer, S804 ~
In step S806, system change information is generated and collected, and distributed to other computers to make a system change request. This is repeated until all computer types subject to system change are completed (S807).

【0069】本実施例によれば、同一システム世代で稼
働している複数計算機の変更情報の生成が1回ですみ、
システム内の世代変更をオーバヘッド少なく高速に処理
できる。しかも、マスタ計算機以外は現世代のプログラ
ム群管理ですみ、履歴情報の管理が不要となる。
According to this embodiment, it is only necessary to generate change information once for multiple computers operating in the same system generation.
It can process generation changes in the system at high speed with little overhead. Moreover, except for the master computer, the current generation of program groups need only be managed, and history information management is unnecessary.

【0070】なお、オンラインでのシステム変更が頻繁
で、計算機間の転送情報量を低減したいときは、マスタ
以外の計算機に履歴情報を具備させ、変更情報11を差
分情報で送るようにしてもよい。また、ネットワークに
よらず、システム変更に必要な情報を外部記憶装置を用
いて他計算機にインストールすることも可能である。
If the online system changes are frequent and it is desired to reduce the amount of transfer information between computers, the computers other than the master may be provided with history information and the change information 11 may be sent as difference information. . Further, it is possible to install the information necessary for system change into another computer by using an external storage device, regardless of the network.

【0071】[0071]

【発明の効果】本発明のプログラム群世代管理方式によ
れば、変更先世代を指示するのみでシステムの世代変更
が自動化でき、かつ、現世代と変更先世代のファイル世
代が一致しないときのみファイルを生成するので、処理
のオーバヘッドも削減できる。
According to the program group generation management method of the present invention, the generation change of the system can be automated only by instructing the change destination generation, and the file is generated only when the file generations of the current generation and the change destination generation do not match. Is generated, the processing overhead can be reduced.

【0072】本発明のプログラムアップデート方法によ
れば、プログラム登録情報のみが変更する場合にも、プ
ログラムアップデートの完全な自動処理ができるので、
ユーザの手間と時間を大幅に省力化でき、プログラム群
管理の信頼性を向上できる効果がある。
According to the program update method of the present invention, even when only the program registration information is changed, the program update can be completely automatically processed.
The labor and time of the user can be greatly saved, and the reliability of program group management can be improved.

【0073】本発明の分散処理システムによれば、多数
の計算機の世代変更が1回の変更情報の生成で実行でき
るので、世代変更のための計算機の中断が短く、オンラ
イン業務の処理効率を向上できる。
According to the distributed processing system of the present invention, generation change of a large number of computers can be executed by generating change information once, so that interruption of the computer for generation change is short and processing efficiency of online work is improved. it can.

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

【図1】本発明の一実施例である世代管理装置の構成を
示す機能ブロック図である。
FIG. 1 is a functional block diagram showing a configuration of a generation management device that is an embodiment of the present invention.

【図2】本発明の一適用例である分散処理システムの構
成図である。
FIG. 2 is a configuration diagram of a distributed processing system as an application example of the present invention.

【図3】システム世代とファイル世代の相互関係を定義
する世代管理テーブルである。
FIG. 3 is a generation management table that defines a mutual relationship between a system generation and a file generation.

【図4】システム世代のプログラム登録情報を定義する
プログラム登録情報テーブルである。
FIG. 4 is a program registration information table defining system generation program registration information.

【図5】プログラム群世代管理の概略を示すゼネラルフ
ローチャートである。
FIG. 5 is a general flowchart showing an outline of program group generation management.

【図6】世代変更処理の詳細を示すフローチャートであ
る。
FIG. 6 is a flowchart showing details of generation change processing.

【図7】新世代登録処理の詳細を示すフローチャートで
ある。
FIG. 7 is a flowchart showing details of new generation registration processing.

【図8】プログラムアップデート処理の詳細を示すフロ
ーチャートである。
FIG. 8 is a flowchart showing details of program update processing.

【図9】プログラムアップデート処理の他の例を示すフ
ローチャートである。
FIG. 9 is a flowchart showing another example of the program update process.

【図10】プログラムアップデート処理手段の構成を説
明する説明図である。
FIG. 10 is an explanatory diagram illustrating a configuration of a program update processing unit.

【図11】本発明の第二の実施例である分散処理システ
ムのシステム内世代情報を示す画面である。
FIG. 11 is a screen showing in-system generation information of the distributed processing system according to the second embodiment of this invention.

【図12】他の計算機のシステム変更におけるマスタ計
算機の処理を示すフローチャートである。
FIG. 12 is a flowchart showing the processing of the master computer in changing the system of another computer.

【図13】システム変更情報の転送ファイルの収集を示
すフローチャートである。
FIG. 13 is a flowchart showing collection of transfer files of system change information.

【図14】システム変更情報のプログラムアップデート
情報の収集を示すフローチャートである。
FIG. 14 is a flowchart showing collection of program update information of system change information.

【図15】システム変更情報の構成を示データフォーマ
ットである。
FIG. 15 is a data format showing the configuration of system change information.

【図16】システム変更の他の処理例を示すフローチャ
ートである。
FIG. 16 is a flowchart showing another processing example of system change.

【符合の説明】[Explanation of sign]

1…現世代システム情報記憶手段、2…履歴情報記憶手
段、3…ファイル登録管理手段、4…世代管理制御手
段、5…世代管理テーブル、6…プログラムアップデー
ト手段、7…オブジェクトファイル記憶手段、8…実行
形式ファイル記憶手段、9…実行プログラム記憶手段、
10…システム変更情報送受手段、11…システム変更
情報記憶手段、101…計算機、102…通信装置、1
03…ネットワーク、104…世代管理装置、106…
制御装置、107…入出力手段、109…磁気ディス
ク、110…端末装置、201…端末装置の表示画面。
1 ... Current generation system information storage means, 2 ... History information storage means, 3 ... File registration management means, 4 ... Generation management control means, 5 ... Generation management table, 6 ... Program update means, 7 ... Object file storage means, 8 ... execution format file storage means, 9 ... execution program storage means,
10 ... System change information transmission / reception means, 11 ... System change information storage means, 101 ... Calculator, 102 ... Communication device, 1
03 ... Network, 104 ... Generation management device, 106 ...
Control device, 107 ... Input / output means, 109 ... Magnetic disk, 110 ... Terminal device, 201 ... Display screen of terminal device.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 三和 直樹 茨城県日立市大みか町五丁目2番1号 株 式会社日立製作所大みか工場内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Naoki Miwa 5-2-1 Omika-cho, Hitachi-shi, Ibaraki Hitachi Ltd. Omika factory

Claims (13)

【特許請求の範囲】[Claims] 【請求項1】現世代のシステムを構成するプログラム群
とプログラム毎の世代の履歴情報を登録し、システムの
変更を管理するプログラム群世代管理方法において、 前記現世代のシステムまたは前記履歴情報に登録されて
いる複数のプログラムと複数のシステムの相互関係を、
プログラム世代のIDによって予め定義し、 システムの変更要求にしたがい、前記現世代と変更先の
システムを前記相互関係に基づいてプログラム毎に比較
し、両者のプログラム世代IDが一致しないときに変更
先のプログラム世代を前記履歴情報から生成し、この生
成されたプログラムを現世代の前記プログラム群の中の
該当プログラムと置換して、システムの世代変更を行う
ことを特徴とするプログラム群世代管理方法。
1. A program group generation management method for registering a program group constituting a system of the current generation and generation history information for each program, and managing a system change, wherein the system is registered in the current generation system or the history information. The relationship between multiple programs and multiple systems
It is defined in advance by the ID of the program generation, and according to the system change request, the current generation and the system of the change destination are compared for each program based on the mutual relationship. A program group generation management method, wherein a program generation is generated from the history information, and the generated program is replaced with a corresponding program in the program group of the current generation to change the generation of the system.
【請求項2】請求項1において、前記プログラムはソー
スファイルであり、前記置換によって更新されたソース
ファイルを元に、それをコンパイルしたオブジェクトフ
ァイル、それをリンクロードした実行形式ファイル、そ
れをメモリ上に記憶した実行プログラムを順次再登録す
る、アップデート処理が行なわれることを特徴とするプ
ログラム群世代管理方法。
2. The program according to claim 1, wherein the program is a source file, and an object file obtained by compiling the source file updated by the replacement, an executable file obtained by link-loading the object file, and an on-memory file A program group generation management method characterized in that update processing is performed by sequentially re-registering the execution programs stored in.
【請求項3】請求項1または2において、前記変更先の
システムが前記履歴情報に登録の無い新世代プログラム
を含むとき、前記新世代プログラムに対応する前記履歴
情報の最新プログラムを生成し、前記新世代プログラム
と前記最新プログラムを照合して新たな履歴情報を生成
することを特徴とするプログラム群世代管理方法。
3. The method according to claim 1, wherein when the system of the change destination includes a new generation program that is not registered in the history information, a latest program of the history information corresponding to the new generation program is generated, A program group generation management method characterized in that a new generation program is collated with the latest program to generate new history information.
【請求項4】プログラム毎の世代変更と、複数のプログ
ラムの組合せで構成されるシステムの世代変更を管理す
るプログラム群世代管理装置において、 各プログラム毎にその履歴情報を記憶する履歴情報記憶
手段と、 現世代のシステムを構成する複数のソースファイルから
なるプログラム群を記憶する現世代システム情報記憶手
段と、 所定の履歴情報から所定のソースファイルを生成し、前
記現世代システム情報記憶手段に登録または置換するフ
ァイル登録管理手段と、 前記履歴情報に登録されているプログラムとシステムの
相互関係を、プログラム世代IDによって定義する世代
管理テーブルと、 変更先のシステムを指示する入力手段からの変更要求に
したがい、現世代と変更先のシステム世代を前記世代管
理テーブルを参照してプログラム毎に比較し、両者のプ
ログラム世代IDが一致しないときに前記ファイル履歴
管理手段を動作させて変更先のプログラム世代を前記履
歴情報から生成し、現世代システムの該当プログラムと
置換させる世代管理制御手段と、を備えることを特徴と
するプログラム群世代管理装置。
4. A program group generation management device for managing generation change of each program and generation change of a system composed of a combination of a plurality of programs, and history information storage means for storing history information of each program. A current generation system information storage means for storing a program group consisting of a plurality of source files constituting the current generation system, and a predetermined source file generated from predetermined history information, and registered in the current generation system information storage means or According to the file registration management means to be replaced, the generation management table that defines the mutual relationship between the program and the system registered in the history information by the program generation ID, and the change request from the input means that indicates the change destination system. , The current generation and the system generation of the change destination are referenced by referring to the generation management table. Generation management control for operating the file history management means to generate a change-destination program generation from the history information and replacing the program generation ID of the current generation system with the corresponding program of the current generation system. A program group generation management device comprising:
【請求項5】請求項4において、前記現世代システム情
報記憶手段には前記ソースファイルのプログラム登録情
報が登録され、前記履歴情報記憶手段には各プログラム
世代のプログラム登録情報に関する履歴情報が記憶さ
れ、前記世代管理テーブルにはシステム世代とプログラ
ム登録情報の相互関係を、プログラム登録情報世代ID
によって定義されることを特徴とするプログラム群世代
管理装置。
5. The program registration information of the source file is registered in the current generation system information storage means, and the history information regarding the program registration information of each program generation is stored in the history information storage means. , The generation management table shows the mutual relationship between the system generation and the program registration information, the program registration information generation ID
A program group generation management device characterized by being defined by.
【請求項6】請求項5において、前記現世代システム情
報記憶手段に登録されているプログラム登録情報が変更
される場合に、その変更内容に応じてオブジェクトファ
イルまたは実行形式ファイルまたは実行プログラムのい
ずれかから再登録を開始するプログラムアップデート処
理手段を備えることを特徴とするプログラム群世代管理
装置。
6. The object file, the execution format file, or the execution program according to claim 5, when the program registration information registered in the current generation system information storage means is changed. A program group generation management device comprising program update processing means for starting re-registration from the program group generation management device.
【請求項7】ソースファイルが更新される場合に、オブ
ジェクトファイル、実行形式ファイルおよび実行プログ
ラムの順番でプログラム登録情報に基づく再登録を行う
プログラムアップデート処理方法において、 ソースファイルに対応するプログラム登録情報のみが変
更される場合は、再登録する前記順番のもので、前記変
更により影響を受けるもの以後を再登録することを特徴
とするプログラムアップデート処理方法。
7. A program update processing method for re-registering an object file, an executable file, and an execution program in the order of the program registration information when the source file is updated, and only the program registration information corresponding to the source file. The method for updating a program is characterized in that, when the number is changed, the items in the order of re-registration, and the items affected by the change are re-registered.
【請求項8】請求項7において、前記プログラム登録情
報にはコンパイルオプション、リンクロードオプショ
ン、実行プログラムオプションの少なくとも一つを含
み、コンパイルオプションが変更されるときはオブジェ
クトファイルから再登録し、リンクロードオプションが
変更されるときは実行形式ファイルから再登録し、実行
プログラムオプションが変更されるときは実行プログラ
ムを再登録することを特徴とするプログラムアップデー
ト処理方法。
8. The program registration information according to claim 7, wherein the program registration information includes at least one of a compile option, a link load option, and an execution program option. When the compile option is changed, the program is reregistered from the object file and the link load is performed. A program update processing method characterized in that when an option is changed, it is re-registered from an executable file, and when an execution program option is changed, an execution program is re-registered.
【請求項9】請求項7または請求項8において、前記プ
ログラム登録情報の変更内容に応じて、前記変更により
影響を受けるものの一つ前の順番のものの登録日付を更
新することを特徴とするプログラムアップデート方法。
9. The program according to claim 7 or 8, wherein the registration date of the one immediately preceding the one affected by the change is updated according to the change of the program registration information. How to update.
【請求項10】請求項7または請求項8において、前記
プログラム登録情報の変更内容に応じて、前記変更によ
り影響を受けるもの以後の現登録日付を削除することを
特徴とするプログラムアップデート方法。
10. The program update method according to claim 7, wherein the current registration date after the one affected by the change is deleted according to the change content of the program registration information.
【請求項11】世代管理機能をもつマスタ計算機と世代
管理機能をもたない他の計算機群をネットワークで接続
する分散処理システムにおいて、 マスタ計算機は、複数のソースファイルとそのプログラ
ム登録情報を記憶する現世代システム情報記憶手段と、
前記ソースファイルおよび/またはプログラム登録情報
を更新し、かつ、更新したソースファイルまたはプログ
ラム登録情報または削除するファイル名称の少なくとも
一つを含むシステム変更情報を生成するプログラム登録
管理手段と、前記システム変更情報を他の計算機に配布
する送信手段を備え、 前記他の計算機は、マスタ計算機からのシステム変更情
報を受信する受信手段と、自己の現世代システム情報記
憶手段と、受信したソースファイルまたはプログラム登
録情報または削除するファイル名称に従って前記自己の
現世代システム情報記憶手段を更新するプログラム登録
管理手段を備えることを特徴とする分散処理システム。
11. In a distributed processing system in which a master computer having a generation management function and another computer group not having a generation management function are connected via a network, the master computer stores a plurality of source files and their program registration information. Current generation system information storage means,
Program registration management means for updating the source file and / or program registration information, and generating system change information including at least one of the updated source file or program registration information or file name to be deleted; and the system change information. Is provided to another computer, the other computer is a receiving means for receiving the system change information from the master computer, its own current generation system information storage means, the received source file or program registration information Alternatively, the distributed processing system is provided with a program registration management unit that updates the current generation system information storage unit of its own according to the file name to be deleted.
【請求項12】請求項11において、前記マスタ計算機
のプログラム登録管理手段は、前記プログラム登録情報
の変更内容にしたがい、対応するソースファイル毎にオ
ブジェクトファイル、実行形式ファイルおよび実行プロ
グラムの順番で行うプログラムアップデート処理の開始
位置を前記システム変更情報に付加し、前記他の計算機
は、前記開始位置に示されるファイル/プログラムから
変更されたプログラム登録情報に対応するソースファイ
ルのアップデート処理を行うプログラムアップデート処
理手段を備えることを特徴とする分散処理システム。
12. The program according to claim 11, wherein the program registration management means of the master computer executes an object file, an execution format file, and an execution program in this order for each corresponding source file according to the changed contents of the program registration information. Program update processing means for adding the start position of update processing to the system change information, and the other computer performs update processing of the source file corresponding to the program registration information changed from the file / program indicated at the start position. A distributed processing system comprising:
【請求項13】請求項11または請求項12において、
分散処理システム内の同一種類の計算機はそれを管理す
るマスタ計算機と同時的に世代変更されることを特徴と
する分散処理システム。
13. The method according to claim 11 or 12,
A distributed processing system in which the same type of computer in the distributed processing system is simultaneously changed in generation with the master computer that manages it.
JP5172846A 1993-07-13 1993-07-13 Method and device for program group generation management, program update processing method, and decentralized processing system Pending JPH0728633A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5172846A JPH0728633A (en) 1993-07-13 1993-07-13 Method and device for program group generation management, program update processing method, and decentralized processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5172846A JPH0728633A (en) 1993-07-13 1993-07-13 Method and device for program group generation management, program update processing method, and decentralized processing system

Publications (1)

Publication Number Publication Date
JPH0728633A true JPH0728633A (en) 1995-01-31

Family

ID=15949406

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5172846A Pending JPH0728633A (en) 1993-07-13 1993-07-13 Method and device for program group generation management, program update processing method, and decentralized processing system

Country Status (1)

Country Link
JP (1) JPH0728633A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002075525A1 (en) * 2001-03-19 2002-09-26 Sony Corporation Software updating system, software updating method, and software updating program
US6917372B1 (en) 1999-01-19 2005-07-12 Fujitsu Limited Method and system of controlling replacement of terminal equipment in a building management system
WO2015132904A1 (en) * 2014-03-05 2015-09-11 株式会社日立製作所 Information processing method and information processing system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6917372B1 (en) 1999-01-19 2005-07-12 Fujitsu Limited Method and system of controlling replacement of terminal equipment in a building management system
WO2002075525A1 (en) * 2001-03-19 2002-09-26 Sony Corporation Software updating system, software updating method, and software updating program
US8201162B2 (en) 2001-03-19 2012-06-12 Sony Corporation Software updating system, software updating method, and software updating program
WO2015132904A1 (en) * 2014-03-05 2015-09-11 株式会社日立製作所 Information processing method and information processing system
JP5967791B2 (en) * 2014-03-05 2016-08-10 株式会社日立製作所 Information processing method and information processing system

Similar Documents

Publication Publication Date Title
JP3636744B2 (en) Distributed system and method for creating automatic operation schedule of distributed system
EP0436559B1 (en) Data processing network
US5909689A (en) Automatic update of file versions for files shared by several computers which record in respective file directories temporal information for indicating when the files have been created
US6757893B1 (en) Version control system for software code
US7418300B2 (en) System and method for reusing project engineering data
US6915452B2 (en) Method, system and program products for operationally migrating a cluster through emulation
US7275236B1 (en) Method for programming a multiple device control system using object sharing
US5948057A (en) Method for computer-supported matching of a number of data copies of a stored data file wherein changes in the data copies are also stored in protocol files respectively allocated to the data copies
CA2666423A1 (en) Map information management system and map information distribution system
CN102238208A (en) Method and device for activating virtual machines in virtual scheme
JP4102137B2 (en) Control program creation support system and support method thereof
JP3709984B2 (en) Fieldbus system construction equipment
JPH0728633A (en) Method and device for program group generation management, program update processing method, and decentralized processing system
JPH07295943A (en) Method for updating program
US6564376B1 (en) Method, system and program products for operationally backing out components of a cluster through emulation
US7840388B2 (en) Engineering device
JP3233541B2 (en) I / O device information management system for multi-computer system
JP3930404B2 (en) Autonomous distributed system and communication method thereof
JP2002132503A (en) Definition method of data linkage in workflow control system and process data control system
JPH09198233A (en) Version up method
JPH07210394A (en) Program management method for distributed system
JPH07219863A (en) Business distribution system
JP3275013B2 (en) Automatic file update method
JPH0695987A (en) Data processor
JPH0243642A (en) Multi-host system data control system