JPH07210441A - Communication system and communication method - Google Patents
Communication system and communication methodInfo
- Publication number
- JPH07210441A JPH07210441A JP6003192A JP319294A JPH07210441A JP H07210441 A JPH07210441 A JP H07210441A JP 6003192 A JP6003192 A JP 6003192A JP 319294 A JP319294 A JP 319294A JP H07210441 A JPH07210441 A JP H07210441A
- Authority
- JP
- Japan
- Prior art keywords
- information
- information processing
- change
- check data
- processing device
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
(57)【要約】
【目的】マスタファイルを管理する第1の計算機と、マ
スタファイルの複製を持つ第2の計算機とを有する通信
システムにおいて、第1の計算機からのマスタファイル
変更情報を受けて、第2の計算機でマスタファイルの復
元を行う時、マスタファイルの一致確認ができるように
する。
【構成】第1の計算機1で、チェックデータ43を作成
し、このチェックデータ43を変更指示データ41と共
に第2の計算機2に送信する。第2の計算機2で変更指
示データに基づき、チェックデータ53を作成し、チェ
ックデータ53とチェックデータ43を照合する。また
第2の計算機2から、チェックデータ53をマスタファ
イル変更結果応答として第1の計算機1へ送信し、第1
の計算機1で前記チェックデータ43と、受信したチェ
ックデータ53を照合し、第2の計算機2のマスタファ
イルの復元状況を把握する。
(57) [Abstract] [Purpose] In a communication system having a first computer that manages a master file and a second computer that has a copy of the master file, receiving master file change information from the first computer When the master file is restored on the second computer, it is possible to confirm the match of the master file. [Structure] The first computer 1 creates check data 43 and sends the check data 43 to the second computer 2 together with the change instruction data 41. The second computer 2 creates the check data 53 based on the change instruction data and collates the check data 53 with the check data 43. Also, the check data 53 is transmitted from the second computer 2 to the first computer 1 as a master file change result response,
The computer 1 collates the check data 43 with the received check data 53 to grasp the restoration status of the master file of the second computer 2.
Description
【0001】[0001]
【産業上の利用分野】本発明は、マスタファイルの生成
・変更・管理を行う計算機と、マスタファイルを利用す
る計算機とが通信網で接続され、マスタファイルの変更
をマスタファイルを利用する計算機に通知する通信シス
テムに関し、特に、マスタファイルを利用する計算機の
処理状況をマスタファイルを管理する計算機で把握する
ことに関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a computer that uses a master file for changing master files, in which a computer that creates, changes, and manages a master file and a computer that uses the master file are connected via a communication network. The present invention relates to a communication system for notification, and in particular, relates to grasping the processing status of a computer that uses a master file by a computer that manages the master file.
【0002】[0002]
【従来の技術】複数の計算機が通信網で結ばれている通
信システムには、マスタファイルの生成・変更・管理を
行う計算機(以下ではマスタファイル管理計算機とよ
ぶ)と、マスタファイルを利用する計算機(以下ではマ
スタファイル利用計算機とよぶ)とが通信網で接続さ
れ、マスタファイル管理計算機は、マスタファイルの変
更があったとき、そのマスタファイルの変更に関する変
更指示を、マスタファイル利用計算機に、例えば、機能
コード通信により発行し、マスタファイル利用計算機が
上記指示に従ってマスタファイルを変更する自律分散シ
ステムと呼ばれるものがある。この自律分散システムで
は、マスタファイル管理計算機とマスタファイル利用計
算機とがともに同一内容のマスタファイルを有するため
に、マスタファイル管理計算機がダウンしても、マスタ
ファイル利用計算機が処理を続行できるため、上記計算
機が制御する対象の運転を停止させることがない。なお
機能コード通信とは、送信するデータの内容により決ま
る番号を送信するデータの先頭に付し、受信する側で、
その番号から自分が受信すべきかどうかを判断し、受信
すべきときは、当該番号に続くデータを受信し、記録装
置に記録するものである。自律分散システムの例とし
て、列車の運行管理を行うシステムがある。これは、列
車の走る線路(番線)の決定および決定に従って線路の
接続制御等を行うものである。このシステムでは、鉄道
会社の本社の計算機に列車ダイヤのマスタファイルがあ
り、いくつかの駅にスレーブの計算機がある。スレーブ
の計算機は、本社の計算機の列車ダイヤのマスタファイ
ルと同じ内容のマスタファイルを有し、この中に入って
いるダイヤに従って、スレーブの計算機ごとに決められ
た管理区間内の線路の接続制御等を行う。このシステム
の場合、本社の計算機からデータを送信するときに、す
べての計算機に送るべきデータ(例えば、ダイヤの変
更)か、特定の駅にある計算機に送るべきデータか、特
定の地方の駅にある計算機にのみ送るべきデータか等に
より、上記の番号を決定して、機能コード通信を行う。
このように、複数の計算機が通信網で結ばれている通信
システムでは、従来、マスタファイル管理計算機は、ユ
ーザからのマスタファイルの変更指示を受けてマスタフ
ァイルを変更すると、マスタファイルの変更に関する指
示のみまたは変更内容そのもののみを、マスタファイル
利用計算機に送信していた。2. Description of the Related Art In a communication system in which a plurality of computers are connected by a communication network, a computer that creates, changes, and manages a master file (hereinafter referred to as a master file management computer) and a computer that uses the master file (Hereinafter, referred to as a master file use computer) is connected via a communication network, and when the master file management computer changes the master file, the master file management computer issues a change instruction regarding the change of the master file to the master file use computer, for example. , Which is issued by the function code communication, and the master file use computer changes the master file according to the above instruction. In this autonomous distributed system, since the master file management computer and the master file usage computer both have the same master file, even if the master file management computer goes down, the master file usage computer can continue processing. The operation of the object controlled by the computer is not stopped. Note that function code communication means that a number determined by the content of the data to be sent is added to the beginning of the data to be sent, and the receiving side
It is judged from the number whether or not it should be received, and when it is received, the data following the number is received and recorded in the recording device. An example of an autonomous distributed system is a system that manages train operation. This is to determine the railroad track (railroad track) on which the train runs and to control the connection of the railroad tracks in accordance with the determination. In this system, the train company headquarters computer has a train schedule master file, and some stations have slave computers. The slave computer has a master file that has the same contents as the master file of the train schedule of the computer at the head office. I do. In the case of this system, when sending data from the computer at the head office, data to be sent to all computers (for example, changing the timetable), data to be sent to a computer at a specific station, or to a local station The above number is determined depending on whether or not the data should be sent only to a certain computer, and the function code communication is performed.
As described above, in a communication system in which a plurality of computers are connected by a communication network, conventionally, when a master file management computer receives a master file change instruction from a user and changes the master file, the master file management instruction is issued. Only or only the changes themselves were sent to the master file usage computer.
【0003】[0003]
【発明が解決しようとする課題】上記従来技術では、マ
スタファイル利用計算機からは、マスタファイルの変更
に関する指示または変更内容そのものを受信したという
応答のみが、マスタファイル管理計算機に返されてい
た。このため、マスタファイル利用計算機が通信線等で
エラーが生じることなく、正しくデータを受け取った
か、またはマスタファイル利用計算機でマスタファイル
の生成が正しく行われたか等がマスタファイル管理計算
機では把握できなかった。そのため、マスタファイル利
用計算機でのマスタファイルの内容が異なっていてもわ
からないという問題があった。例えば、前述の列車の運
行管理を行うシステムの場合、本社の計算機に対して、
ダイヤの変更が指示されたときに、その変更指示は、ス
レーブの計算機に送信される。その際に、スレーブの計
算機が受信したかどうかはチェックされるが、スレーブ
の計算機のファイル内容が正しく変更されたかどうかが
チェックされない。そのため、列車が入るように指示さ
れた番線に他の列車がすでに入っているというような事
態が生じ得る。本発明の目的は、マスタファイル変更時
に、マスタファイルを管理する情報処理装置が、マスタ
ファイルを利用する情報処理装置が有するマスタファイ
ルの内容と、自己のマスタファイルの内容とが一致する
ことを確認できる通信システムを提供することにある。In the above prior art, the master file management computer only returns a response from the master file utilization computer that the instruction regarding the modification of the master file or the modification content itself has been received. Therefore, the master file management computer could not know whether the master file management computer received the data correctly without any error on the communication line, or whether the master file management computer generated the master file correctly. . Therefore, there is a problem in that even if the contents of the master file on the computer using the master file are different, it cannot be understood. For example, in the case of the system that manages train operation described above,
When an instruction to change the timetable is given, the instruction to change the timetable is transmitted to the slave computer. At that time, it is checked whether the slave computer has received it, but it is not checked whether the file contents of the slave computer have been changed correctly. Therefore, a situation may occur in which another train is already on the track where the train is instructed to enter. An object of the present invention is to confirm, when a master file is changed, that the information processing device that manages the master file matches the contents of the master file of the information processing device that uses the master file with the contents of its own master file. It is to provide a communication system capable of performing.
【0004】[0004]
【課題を解決するための手段】本発明は、マスタファイ
ルを作成する第1の情報処理装置と、前記マスタファイ
ルの情報を利用するために前記マスタファイルと同一内
容のファイルを有する少なくとも1つの第2の情報処理
装置とを有し、該第1の情報処理装置と第2の情報処理
装置とが通信網を介して相互接続された通信システムに
おいて、前記第1の情報処理装置は、前記マスタファイ
ルの変更を指示する変更指示情報を受けて、該マスタフ
ァイルの変更内容を決定する第1の決定手段と、前記第
2の情報処理装置のファイルの変更を指示する変更指示
情報を送信する際に、該第2の情報処理装置が、受信し
た該変更指示情報に基づいて得られた前記ファイルの変
更内容に誤りがあるかどうかをチェックするための第1
のチェックデータを前記変更内容に基づき生成する第1
の生成手段と、前記変更指示情報および第1のチェック
データを前記通信網を介して、前記第2の情報処理装置
に送信する第1の送信手段とを有し、前記第2の情報処
理装置は、前記変更指示情報および第1のチェックデー
タを受信する受信手段と、前記受信した変更指示情報に
基づいて前記ファイルの変更内容を決定する第2の決定
手段と、前記変更内容に誤りがあるかどうかをチェック
するための第2のチェックデータを該変更内容に基づき
生成する第2の生成手段と、前記第1のチェックデータ
と第2のチェックデータとを照合する照合手段と、少な
くとも、照合の結果一致しなかったときは、照合結果の
確認ができる情報を、前記通信網を介して前記第1の情
報処理装置に送信する第2の送信手段とを有することと
したものである。According to the present invention, there is provided a first information processing apparatus for creating a master file, and at least one first information processing apparatus having a file having the same content as the master file for utilizing information of the master file. And a second information processing device, wherein the first information processing device and the second information processing device are interconnected via a communication network. When receiving the change instruction information for instructing the change of the file and transmitting the change instruction information for instructing the change of the file of the second information processing apparatus, the first determining means for determining the change content of the master file Firstly, the second information processing apparatus checks whether there is an error in the changed content of the file obtained based on the received change instruction information.
First to generate check data for the check data based on the changes
And a first transmitting means for transmitting the change instruction information and the first check data to the second information processing apparatus via the communication network. Is a receiving unit that receives the change instruction information and the first check data, a second determining unit that determines the change content of the file based on the received change instruction information, and the change content has an error. At least a second generation means for generating second check data for checking whether or not the second check data is based on the change content, and a collation means for collating the first check data with the second check data. If there is no match as a result of the above, the second transmission means for transmitting the information capable of confirming the collation result to the first information processing apparatus via the communication network is provided.
【0005】[0005]
【作用】第1、第2の生成手段がそれぞれ生成した第1
のチェックデータと第2のチェックデータとの照合結果
の確認ができる情報によって、第1の情報処理装置は、
第2の情報処理装置において、マスタファイルの変更内
容が正しく決定されたかどうかを知ることができる。照
合結果の確認ができる情報としては、たとえば、第2の
チェックデータそのものでもよい。この場合は、第1の
情報処理装置において、自己が持つ第1のチェックデー
タと、第2の情報処理装置から受信した第2のチェック
データとを照合して、一致/不一致がわかる。また、照
合結果の確認ができる情報としては、第2の情報処理装
置が第1のチェックデータと第2のチェックデータとを
照合した結果である一致/不一致情報でもよい。この場
合は、第1の情報処理装置は、第2の情報処理装置か
ら、この一致/不一致情報を受信するため、直接、一致
/不一致がわかる。そして、第1の情報処理装置は、異
常と判断したときは、マスタファイル変更指示情報を再
送することができる。第2の情報処理装置においては、
自己が生成した第2のチェックデータと、第1の情報処
理装置から受信した第1のチェックデータとを照合し
て、一致/不一致がわかる。この結果、第1の情報処理
装置の指示に基づいて行ったマスタファイルの変更の内
容の妥当性が確認でき、異常と判断したときは、マスタ
ファイルを更新しないことができる。[Operation] The first generated by each of the first and second generating means
The first information processing apparatus uses the information capable of confirming the collation result between the check data and the second check data,
In the second information processing apparatus, it is possible to know whether the changed content of the master file has been correctly determined. The information that can be used to confirm the collation result may be, for example, the second check data itself. In this case, in the first information processing apparatus, the first check data possessed by itself and the second check data received from the second information processing apparatus are collated, and the coincidence / disagreement is found. Further, the information which can confirm the collation result may be match / mismatch information which is the result of the second information processing apparatus collating the first check data and the second check data. In this case, the first information processing apparatus receives this match / mismatch information from the second information processing apparatus, so that the match / mismatch can be directly recognized. Then, the first information processing apparatus can retransmit the master file change instruction information when it is determined to be abnormal. In the second information processing device,
By comparing the second check data generated by itself with the first check data received from the first information processing apparatus, it is possible to know whether the match / mismatch occurs. As a result, it is possible to confirm the validity of the content of the change of the master file made based on the instruction of the first information processing apparatus, and when it is determined that there is an abnormality, the master file can not be updated.
【0006】[0006]
【実施例】本発明の実施例を、以下図面により説明す
る。図1は、本実施例の全体のブロック図で、第1の計
算機1は、入出力端末3からの指示により変更データを
生成するファイル変更データ生成機構22、ファイル編
集機構23、合理性チェック機構24、第1の計算機1
と第2の計算機2との情報授受を行う通信制御機構2
5、ファイル変更データ生成機構22により作成する変
更指示ファイル41、第1の計算機1の処理結果で第2
の計算機2が利用する情報を記憶するマスタファイル4
2、データ伝送の可否を判定するためのチェックデータ
を格納するチェックデータファイル43、前記各機構で
使用するワークメモリ8、制御機構21、および第1の
計算機1に接続されデータの入出力を行う入出力端末3
から構成される。ファイル編集機構23は、マスタファ
イルの作成・更新と管理を行うとともに、データ伝送の
可否を判定するためのチェックデータを作成する。合理
性チェック機構24は、ファイル編集した結果の変更部
分に関し、第2の計算機2の応答を判断する。制御機構
21は、前記ファイル変更データ生成機構22とファイ
ル編集機構23と合理性チェック機構24と通信制御機
構25と変更指示ファイル41とマスタファイル42と
チェックデータ43とワークメモリとを制御する。前記
第1の計算機1には、自律分散ネットワーク10が接続
され、前記自律分散ネットワーク10には、複数の第2
の計算機2が接続される。第2の計算機2は、第1の計
算機1との間で以下のような機能コード通信により情報
授受を行う。第1の計算機1は、第2の計算機2に送信
する際に、送信する情報の種類に応じた機能コード(識
別情報)も一緒に送信し、かつ、これらの情報を受信先
を特定せずに自律分散ネットワーク10に出力し、第2
の計算機2は、前記機能コードにより、自律分散ネット
ワーク10に出力された情報を受信するかどうかを決定
する。第2の計算機2は、第1の計算機1との情報授受
を行う通信制御機構34、第1の計算機1からのファイ
ル変更情報に基づきマスタファイルを復元するファイル
編集復元機構32、前記マスタファイルの復元により第
1の計算機1への応答データを作成する応答データ作成
機構33、第2の計算機と接続されたプラント制御装置
6を制御するプラント制御機構35、第1の計算機1の
持つマスタファイルの複製であるマスタファイル52、
マスタファイルの復元時に作成するチェックデータファ
イル53、及びファイル編集復元機構32と応答データ
作成機構33とマスタファイル52とチェックデータ5
3を制御する制御機構21から構成される。前記プラン
ト制御装置6は、製造プラントの制御に用いられる。図
2は、計算機のワークメモリ割り付けを示し、第1の計
算機1のワークメモリ8には、変更指示データワーク8
2、レコードワーク83、変更指示送信編集ワーク8
4、チェックデータ1ワーク43−5、チェックデータ
2ワーク53−3、応答データ受信ワーク93−1が割
り付けられ、第2の計算機2のワークメモリ9には、変
更指示データ受信ワーク84−1、変更指示データワー
ク41−3、レコードワーク92、応答送信データ編集
ワーク93が割り付けられる。図3は、前記第1の計算
機1及び第2の計算機2の制御機構21を示す。これ
は、前記計算機1・2に対する通信装置やI/O機器等
の外部からの割り込みや計算機の内部処理で発生するソ
フトウェアの割り込み等の割り込み要因を分析し、外部
入出力管理・タイマー管理・メモリ管理・タスク管理を
制御する割り込み制御機構61、外部入出力による割り
込みにより動作し、外部入出力機器3からデータ入力を
行うあるいはタスクからの表示要求等を受けて外部入出
力機器3へ表示を行う外部入出力管理部62、一定時間
割り込みにより時分割処理・計算機時刻更新を行うタイ
マー管理部63、主メモリと補助メモリのデータ管理を
行うメモリ管理部64、各業務処理タスクを管理するタ
スク管理部65から構成されるいわゆるOSである。図
4は、第1の計算機1のファイル変更データ生成機構2
2の処理フローを示す。ステップ101で、端末からの
ファイル変更の為のデータ(列車運行管理システムの場
合は、列車NOと時刻または番線の変更に関するデータ
である)を取り出す。ステップ102で、ステップ10
1で取り出したファイル変更データの合理性チェックを
行う。たとえば、列車運行管理システムの場合は、時刻
または番線の変更に関するデータに矛盾がないかどうか
をチェックする。ステップ102で入力データ異常の時
は、ステップ103で入出力端末3にアラームメッセー
ジを出力する。前記ステップ102で入力データ正常の
時は、ステップ104で変更指示ファイル41を作成す
る。ステップ105で、ファイル編集機構23を起動す
る。図5は、第1の計算機1のファイル編集機構23の
処理フローを示す。前記ステップ105の起動により動
作を開始する。ステップ201で、前記ステップ104
で作成した変更指示ファイル41を更新指示データワー
ク82に取り出す。ステップ202で、前記変更指示デ
ータワーク82の内容である変更指示データで示される
マスタファイル42のレコードをレコードワーク83に
取り出す。ステップ203で、変更指示ファイル41の
変更データによりレコードワーク83の該当データを更
新する。ステップ204で、前記ステップ203で更新
したレコードワーク83を前記マスタファイル42の該
レコードへ格納する。ステップ205で、前記更新した
レコードワーク83のチェックデータ(C0)を作成する
とともにチェックデータファイル43へ格納する。チェ
ックデータの作成方法は種々あるが、例えば、1バイト
ごとに、1バイト内のビットの和を取る方法がある。ス
テップ206で、前記ステップ201で取り込んだ変更
指示データワーク82と前記ステップ205で作成した
チェックデータ(C0)と所定のヘッダを変更指示送信編
集ワーク84に編集する。ステップ207で、マスタフ
ァイルの複製を持つ複数の第2の計算機2へ送信する。
図6は、第2の計算機2のファイル編集復元機構32の
処理フローを示す。ステップ401で、第1の計算機1
において作成したマスタファイルの変更指示41の送信
により第2の計算機2の通信制御機構34が受信した変
更指示受信データを変更指示データ受信ワーク84−1
に取り出す。ステップ402で、変更指示データ受信ワ
ーク84−1内の変更指示データを変更指示データワー
ク41−3に取り出す。ステップ403で、第2の計算
機2で記憶しているマスタファイル52より前記ステッ
プ402で取り出した変更指示データワーク41−3の
変更情報が示すレコードをレコードワーク92へ取り出
す。ステップ404で、前記ステップ402で取り出し
た変更指示データワーク41−3の変更指示によりレコ
ードワーク92を更新する。ステップ405で、前記更
新したレコードワーク92のチェックデータ(C1)を作
成し、チェックデータファイル53へ格納する。次にス
テップ406で、前記変更指示データ受信ワーク84−
1内の第1の計算機1において作成したチェックデータ
(C0)を取り出す。ステップ407で、前記ステップ4
05で作成したチェックデータ(C1)と前記ステップ4
06で取り出したチェックデータ(C0)とを照合する。
一致する時は、ステップ408で、前記ステップ404
で更新したレコードワーク92をマスタファイル52へ
格納する。不一致の時は、ステップ409で、マスタフ
ァイル復元異常の警報を表示する。ステップ410で、
第1の計算機1への応答データを送信するために応答デ
ータ作成処理33を起動する。図7は、第2の計算機2
の応答データ作成処理機構33の処理フローを示す。ス
テップ501で、変更指示受信データ84−1から、第
1の計算機1がマスタファイル変更時に作成したチェッ
クデータ(C0)を取り出す。ステップ502で、前記ス
テップ406で格納したチェックデータ(C1)53を取
り出す。ステップ503で、前記ステップ501とステ
ップ502で取り出した2つのチェックデータを第1の
計算機1への応答送信データとして応答送信データワー
ク93に編集する。ステップ504で、第1の計算機1
へ送信する。図8は、第1の計算機1の合理性チェック
機構24の処理フローを示す。ステップ301で、第2
の計算機2において作成した応答送信データ93の送信
により第1の計算機1の通信制御機構25が受信した応
答データを応答データ受信ワーク93−1に取り出す。
ステップ302で、前記応答データ受信ワーク93−1
の第2の計算機2でのファイル更新結果のチェックデー
タ(C1)をチェックデータ2ワーク53−3に取り出
す。ステップ303で、前記ファイル編集処理23で作
成したチェックデータファイル43からチェックデータ
(C0)をチェックデータ1ワーク43−5に取り出す。
次に、ステップ304で、前記ステップ302と前記ス
テップ303で取り込んだ第1の計算機1と第2の計算
機2、それぞれのマスタファイル更新で作成したチェッ
クデータを照合する。一致する時は、チェック正常で、
不一致の時は、第2の計算機2は異常とし、ステップ3
10の再送処理を行う。図9は、前記ステップ310の
処理フローを示す。ステップ311で、応答受信した該
当の第2の計算機2への再送カウンタを更新する。ステ
ップ312で、前記ステップ311で更新した再送カウ
ンタと再送カウンタ規定値との比較を行う。規定値以上
であれば、ステップ314で、該当の第2の計算機2の
異常とし、警報表示を行う。規定値未満であれば、ステ
ップ313で、該当の第2の計算機2へのファイル変更
指示データ41とチェックデータ43の再送要求を行
う。このような機器を用いて、本発明による通信がどの
ように行われるかを以下に説明する。図10において、
マスタファイルを作成・変更・管理する第1の計算機1
のファイル変更データ作成機構22が作成した変更指示
ファイル41をファイル変更機構23で図5のステップ
201の処理により変更指示データワーク82に取り出
す。ステップ202で、変更指示データワーク82の変
更指示データで示されるマスタファイル42のレコード
81をレコードワーク83に取り出す。次にステップ2
03と204で、前記変更指示データ41を用いてレコ
ードワーク83の内容のハッチング部分83−1を更新
及びマスタファイル42へ格納する。ステップ205が
前記ステップ203の処理結果を受けてレコードワーク
83のチェックデータ(C0)を作成し、チェックデータ
ファイル43へ格納する。次にステップ206で、前記
変更指示データワーク82と前記チェックデータ(C0)
と所定のヘッダを変更指示送信編集ワーク84に編集す
る。ステップ207で、複数の第2の計算機2へのマス
タファイルの変更指示情報として送信する。次に図11
に移り、前記第1の計算機1からのマスタファイルの変
更指示情報を第2の計算機2で受信し、第2の計算機2
での変更指示情報が変更指示データ受信ワーク84−1
に作成される。ファイル編集復元機構32で図6のステ
ップ402の処理により前記受信した変更指示情報84
−1の変更指示データ41−2を変更指示データワーク
41−3に取り出す。ステップ403で、前記変更指示
データワーク41−3の変更指示データの示すレコード
91をレコードワーク92へ取り出す。次にステップ4
04で、前記変更指示データワーク41−3の変更指示
データによりレコードワーク92のハッチング部分92
−1を更新する。ステップ405で、前記ステップ40
4で更新したレコードワーク92のチェックデータ(C
1)を作成しチェックデータファイル53へ格納する。
ステップ406で、前記変更指示データ受信ワーク84
−1のチェックデータ(C0)43−2を取り出す。前記
ステップ405で作成したチェックデータ(C1)と照合
する。一致する時変更指示データ41−2によるレコー
ド91の変更が正常に行われたと判断でき、ステップ4
08で、レコードワーク92をマスタファイル52へ格
納する。また、前記ステップ406で、の照合で不一致
の時は、前記更新したレコードワーク92は、復元異常
と判断し、マスタファイル52へは格納しない。次に、
第1の計算機1へのマスタファイル変更結果を通知する
ために応答データ作成機構33は、以下を行う。図7の
ステップ501で、前記変更指示データ受信ワーク84
−1内のチェックデータ(C0)43−2を取り出す。ス
テップ502で、前記ファイル編集復元機構32のステ
ップ405で作成したチェックデータ(C1)53を取り
出す。ステップ503で、前記ステップ501と502
で取り出したチェックデータと所定のヘッダとを第1の
計算機1への応答データとして応答送信データ編集ワー
ク93に編集する。ステップ504で、マスタファイル
変更要求元である第1の計算機1へ送信する。次に、第
10図に移り、第1の計算機1では、前記第2の計算機
2から送信を通信制御機構25で受信する。合理性チェ
ック機構24は、図8のステップ301で、前記受信し
た応答データを応答データ受信ワーク93−1に取り込
む。ステップ302で、前記応答データ受信ワーク93
−1内の、第2の計算機2でのマスタファイル更新で作
成したチェックデータ(C1)53−2をチェックデータ
2ワーク53−3に取り出す。ステップ303で、前記
第1の計算機1のファイル編集機構23のステップ20
5で作成・格納したチェックデータファイル43からチ
ェックデータ(C0)をチェックデータ1ワーク43−5
に取り出す。次にステップ304で、前記ステップ30
2と303で取り出したチェックデータ(C0)と(C1)
を照合する。一致する時は、第2の計算機2でのマスタ
ファイル復元が正常に行われたと判断する。照合の結
果、不一致の時は、第2の計算機2でのマスタファイル
の復元に異常があったと判断する。本実施例において
は、チェックデータ(C0’)は、第1、第2の計算機
間で送受信しているが、使ってはいない。ただし、この
データは、通信路のチェック、第2の計算機のメモリの
チェック等に使うことができる。本実施例は、以上説明
したように構成されているので、計算機間のデータの流
れのみを示すと図12のようになる。以下これを説明す
る。第1の計算機1で作成した変更指示データ41によ
り第1の計算機1でマスタファイルのxレコード81の
ハッチング部分83−1をaからbに更新すると共に、
チェックデータ(C0)43を作成する。前記変更指示デ
ータ41とチェックデータ(C0)43とを変更指示情報
84として複数の第2の計算機2へ送信する。第2の計
算機2で前記変更指示情報84−1を受信する。第2の
計算機2が持つマスタファイルのxレコード91を第1
の計算機1と同様に、変更指示データ41−2に基づき
ハッチング部分92−1をaからbに更新し、第1の計
算機1と同一論理でチェックデータ(C1)53−1を作
成する。前記受信した変更指示情報84−1内のチェッ
クデータ(C0)43−2と前記チェックデータ(C1)5
3−1とを照合し、一致する時のみマスタファイル52
を更新する。これによって第2の計算機2において復元
したマスタファイル52が第1の計算機1と同一である
ことが判断できる。また前記チェックデータ(C1)53
−1を第1の計算機1への応答データとして送信する。
第1の計算機1で受信したチェックデータ(C1)53−
2と第1の計算機1でマスタファイル42を更新した時
作成したチェックデータ(C0)43の照合チェックを行
うことにより、第1の計算機1は、第2の計算機2での
マスタファイルの復元状況を把握することができる。こ
こで第2の計算機2'でのマスタファイル更新でxレコ
ード91のハッチング部分をaからb'に変更した時、
更新後のxレコード91から作成したチェックデータ
(C1')53−1'が、前記第1の計算機1から受信した
変更指示情報84−1内のチェックデータ(C0')43
−2とは異なった値となったときは、第2の計算機2'
では、マスタファイル52の更新は行わない。さらに、
前記チェックデータ(C1')53−1'を第1の計算機1
へ応答として送信する。第1の計算機1で、受信したチ
ェックデータ(C1')53−2'と第1の計算機1の持つ
チェックデータ(C0)43とを照合すると不一致とな
り、第2の計算機2'は、マスタファイル52の復元に
異常があったと判断する。第1の計算機1は、これによ
り第2の計算機2'に対してマスタファイルの変更指示
データを再送することが可能となる。従来は、図13に
示すように、第1の計算機1でのマスタファイル42の
変更においてxレコード81のハッチング部分83−1
をaからbに変更し、変更指示41を複数の第2の計算
機2へ送信し、第2の計算機2では、マスタファイル5
2のxレコード91のハッチング部分92−1をaから
bに変更する。また第2の計算機2'で前記第2の計算
機2と同様にマスタファイル52のxレコード91をa
からb'に変更し、マスタファイルを更新した時、第2
の計算機2'は、マスタファイル52の変更に異常があ
ったことが判らなかった。さらに第1の計算機1では、
第2の計算機2'でマスタファイルの復元に異常があっ
たことを知ることができなかった。このために、第2の
計算機2'では、プラント制御機構35へ第1の計算機
1のマスタファイルとは異なった情報を伝達する可能性
があったが、本発明によりマスタファイルが一致するの
で誤情報の伝達を防止できる。本実施例により、自律分
散ネットワーク通信の問題であった、重要ファイルのマ
スタとその複製間の内容不一致が解消でき、その結果正
確なプラント等の制御を行うことができるようになっ
た。本発明は、自律分散ネットワーク以外のネットワー
クへも適用できることは言うまでもない。また、上記の
実施例では、第2の計算機には、変更指示が送られた
が、本発明はこれに限られるものではなく、変更情報そ
のものを送ることとしてもよい。たとえば、マスタファ
イルを作成する第1の計算機と、前記マスタファイルの
情報を利用するために前記マスタファイルと同一内容の
ファイルを有する少なくとも1つの第2の計算機とを有
し、該第1の計算機と第2の計算機とが通信網を介して
相互接続される通信システムにおいて、前記第1の計算
機は、前記マスタファイルの変更に関する変更情報を前
記第2の計算機に送信する際に、該第2の計算機が、受
信した該変更情報に誤りがあるかどうかをチェックする
ための第1のチェックデータを該変更情報に基づき生成
する第1の生成手段と、前記変更情報および第1のチェ
ックデータを前記通信網を介して、前記第2の計算機に
送信する第1の送信手段とを有し、前記第2の計算機
は、前記変更情報および第1のチェックデータを受信す
る受信手段と、前記受信した変更情報に誤りがあるかど
うかをチェックするための第2のチェックデータを該変
更情報に基づき生成する第2の生成手段と、前記第1の
チェックデータと第2のチェックデータとを照合する照
合手段と、少なくとも、照合の結果一致しなかったとき
は、照合結果を前記通信網を介して、前記第1の計算機
に送信する第2の送信手段とを有することとしてもよ
い。また、上記の実施例では、第2の計算機から第1の
計算機へチェックデータを送信することとしたが、本発
明は、これに限られるものではなく、第2の計算機から
第1の計算機へチェックデータを比較した結果だけを送
ることとしてもよい。また、上記の実施例では、第1の
計算機から第2の計算機へ機能コード通信でデータを送
信することとしたが、本発明は、これに限られるもので
はなく、第1の計算機から第2の計算機へ送信先を特定
する通信方法で送信することとしてもよい。Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is an overall block diagram of this embodiment. The first computer 1 has a file change data generation mechanism 22, a file edit mechanism 23, and a rationality check mechanism that generate change data according to an instruction from the input / output terminal 3. 24, first computer 1
And communication control mechanism 2 for exchanging information with the second computer 2
5, the change instruction file 41 created by the file change data generation mechanism 22, the second as the processing result of the first computer 1.
File 4 that stores information used by the computer 2
2. A check data file 43 for storing check data for determining whether data can be transmitted, a work memory 8 used in each mechanism, a control mechanism 21, and a first computer 1 for data input / output. Input / output terminal 3
Composed of. The file editing mechanism 23 creates, updates, and manages the master file, and creates check data for determining whether data transmission is possible. The rationality check mechanism 24 judges the response of the second computer 2 regarding the changed part of the file editing result. The control mechanism 21 controls the file change data generation mechanism 22, the file editing mechanism 23, the rationality check mechanism 24, the communication control mechanism 25, the change instruction file 41, the master file 42, the check data 43, and the work memory. An autonomous distributed network 10 is connected to the first computer 1, and a plurality of second distributed networks are connected to the autonomous distributed network 10.
Computer 2 is connected. The second computer 2 exchanges information with the first computer 1 by the following function code communication. When transmitting to the second computer 2, the first computer 1 also transmits a function code (identification information) corresponding to the type of information to be transmitted, and does not specify the recipient of this information. Output to the autonomous distributed network 10 and the second
The computer 2 determines whether to receive the information output to the autonomous distributed network 10 based on the function code. The second computer 2 includes a communication control mechanism 34 for exchanging information with the first computer 1, a file editing / restoring mechanism 32 for restoring a master file based on file change information from the first computer 1, and a master file for the master file. A response data creation mechanism 33 that creates response data for the first computer 1 by restoration, a plant control mechanism 35 that controls the plant control device 6 connected to the second computer, and a master file of the first computer 1 A master file 52 that is a duplicate,
A check data file 53 created at the time of restoring the master file, a file editing / restoring mechanism 32, a response data creating mechanism 33, a master file 52, and check data 5
It is composed of a control mechanism 21 for controlling 3. The plant control device 6 is used to control the manufacturing plant. FIG. 2 shows the work memory allocation of the computer. In the work memory 8 of the first computer 1, the change instruction data work 8
2, record work 83, change instruction transmission edit work 8
4, check data 1 work 43-5, check data 2 work 53-3, and response data reception work 93-1 are allocated, and the work memory 9 of the second computer 2 has change instruction data reception work 84-1, The change instruction data work 41-3, the record work 92, and the response transmission data editing work 93 are assigned. FIG. 3 shows the control mechanism 21 of the first computer 1 and the second computer 2. This analyzes interrupt factors such as external interrupts of the communication devices and I / O devices to the computers 1 and 2 and software interrupts generated in the internal processing of the computer, and manages external input / output, timers, and memory. An interrupt control mechanism 61 for controlling management / task management operates by an interrupt from external input / output, and performs data input from the external input / output device 3 or displays on the external input / output device 3 in response to a display request from a task. External input / output management unit 62, timer management unit 63 that performs time-division processing / computer time update by interruption for a fixed time, memory management unit 64 that manages data in main memory and auxiliary memory, task management unit that manages each business processing task It is a so-called OS composed of 65. FIG. 4 shows the file change data generation mechanism 2 of the first computer 1.
2 shows a processing flow of No. 2. In step 101, data for changing a file (in the case of a train operation management system, data relating to change of train number and time or track number) is taken out from the terminal. Step 102, Step 10
The rationality check of the file change data extracted in 1 is performed. For example, in the case of a train operation management system, it is checked whether there is any inconsistency in the data regarding the change of time or track. If the input data is abnormal in step 102, an alarm message is output to the input / output terminal 3 in step 103. If the input data is normal in step 102, the change instruction file 41 is created in step 104. In step 105, the file editing mechanism 23 is activated. FIG. 5 shows a processing flow of the file editing mechanism 23 of the first computer 1. The operation is started by the activation of step 105. In step 201, the step 104
The change instruction file 41 created in step 1 is taken out to the update instruction data work 82. In step 202, the record of the master file 42 indicated by the change instruction data, which is the content of the change instruction data work 82, is taken out to the record work 83. In step 203, the corresponding data in the record work 83 is updated with the change data in the change instruction file 41. In step 204, the record work 83 updated in step 203 is stored in the record of the master file 42. In step 205, the check data (C0) of the updated record work 83 is created and stored in the check data file 43. There are various methods of creating check data, but for example, there is a method of summing the bits in one byte for each byte. In step 206, the change instruction data work 82 fetched in step 201, the check data (C0) created in step 205 and a predetermined header are edited in the change instruction transmission edit work 84. In step 207, the master file is transmitted to the plurality of second computers 2 having a copy.
FIG. 6 shows a processing flow of the file edit / restoration mechanism 32 of the second computer 2. In step 401, the first computer 1
In the change instruction data reception work 84-1, the change instruction reception data received by the communication control mechanism 34 of the second computer 2 by transmitting the master file change instruction 41 created in
Take it out. In step 402, the change instruction data in the change instruction data receiving work 84-1 is extracted to the change instruction data work 41-3. In step 403, the record indicated by the change information of the change instruction data work 41-3 fetched in step 402 is fetched from the master file 52 stored in the second computer 2 to the record work 92. In step 404, the record work 92 is updated by the change instruction of the change instruction data work 41-3 fetched in step 402. In step 405, the check data (C1) of the updated record work 92 is created and stored in the check data file 53. Next, at step 406, the change instruction data receiving work 84-
Check data created on the first computer 1 in 1
Take out (C0). In step 407, in step 4
Check data (C1) created in 05 and step 4 above
The check data (C0) extracted in 06 is collated.
If they match, in step 408, in step 404 described above.
The record work 92 updated in step 1 is stored in the master file 52. If they do not match, a master file restoration abnormality warning is displayed in step 409. In step 410,
The response data creation process 33 is activated to transmit the response data to the first computer 1. FIG. 7 shows the second computer 2
The processing flow of the response data creation processing mechanism 33 of FIG. In step 501, the check data (C0) created when the first computer 1 changes the master file is extracted from the change instruction reception data 84-1. In step 502, the check data (C1) 53 stored in step 406 is taken out. In step 503, the two check data extracted in step 501 and step 502 are edited in the response transmission data work 93 as the response transmission data to the first computer 1. In step 504, the first computer 1
Send to. FIG. 8 shows a processing flow of the rationality check mechanism 24 of the first computer 1. Step 301, second
The response data received by the communication control mechanism 25 of the first computer 1 is transmitted to the response data receiving work 93-1 by transmitting the response transmission data 93 created by the computer 2.
In step 302, the response data receiving work 93-1
The check data (C1) of the file update result in the second computer 2 is extracted to the check data 2 work 53-3. In step 303, the check data from the check data file 43 created in the file editing process 23 is checked.
(C0) is taken out to the check data 1 work 43-5.
Next, in step 304, the check data created by updating the master files of the first computer 1 and the second computer 2 imported in step 302 and step 303 are collated. If they match, the check is normal,
If they do not match, the second computer 2 is judged to be abnormal, and step 3
10 retransmission processing is performed. FIG. 9 shows a processing flow of the step 310. In step 311, the retransmission counter for the corresponding second computer 2 that has received the response is updated. In step 312, the retransmission counter updated in step 311 is compared with the retransmission counter specified value. If it is equal to or larger than the specified value, it is determined in step 314 that the relevant second computer 2 is abnormal, and an alarm is displayed. If it is less than the specified value, in step 313, a request for resending the file change instruction data 41 and the check data 43 to the relevant second computer 2 is made. It will be described below how the communication according to the present invention is performed using such a device. In FIG.
The first computer 1 that creates, changes, and manages master files
The change instruction file 41 created by the file change data creating mechanism 22 is extracted by the file change mechanism 23 into the change instruction data work 82 by the process of step 201 of FIG. In step 202, the record 81 of the master file 42 indicated by the change instruction data of the change instruction data work 82 is taken out to the record work 83. Next step 2
In steps 03 and 204, the hatched portion 83-1 of the contents of the record work 83 is updated and stored in the master file 42 using the change instruction data 41. In step 205, the check data (C0) of the record work 83 is created in response to the processing result of step 203 and stored in the check data file 43. Next, in step 206, the change instruction data work 82 and the check data (C0)
And a predetermined header are edited in the change instruction transmission editing work 84. In step 207, it is transmitted as the master file change instruction information to the plurality of second computers 2. Next, FIG.
The second computer 2 receives the master file change instruction information from the first computer 1, and the second computer 2
Change instruction information in the change instruction data reception work 84-1
Created in. In the file editing / restoring mechanism 32, the change instruction information 84 received by the processing of step 402 of FIG.
The change instruction data 41-2 of -1 is extracted to the change instruction data work 41-3. In step 403, the record 91 indicated by the change instruction data of the change instruction data work 41-3 is taken out to the record work 92. Next step 4
In step 04, the hatched portion 92 of the record work 92 is converted by the change instruction data of the change instruction data work 41-3.
Update -1. In step 405, in step 40
Check data of the record work 92 (C
1) is created and stored in the check data file 53.
In step 406, the change instruction data receiving work 84
The check data (C0) 43-2 of -1 is taken out. The check data (C1) created in step 405 is collated. When they match, it can be determined that the change of the record 91 by the change instruction data 41-2 has been normally performed, and step 4
At 08, the record work 92 is stored in the master file 52. If there is a mismatch in the collation in step 406, the updated record work 92 is judged to be a restoration error and is not stored in the master file 52. next,
In order to notify the first computer 1 of the master file change result, the response data creation mechanism 33 performs the following. In step 501 of FIG. 7, the change instruction data reception work 84
The check data (C0) 43-2 in -1 is taken out. In step 502, the check data (C1) 53 created in step 405 of the file editing / restoring mechanism 32 is taken out. In step 503, the steps 501 and 502 are performed.
The check data and the predetermined header taken out in step 1 are edited in the response transmission data editing work 93 as response data to the first computer 1. In step 504, the data is transmitted to the first computer 1 that is the master file change request source. Next, moving to FIG. 10, in the first computer 1, the communication control mechanism 25 receives the transmission from the second computer 2. The rationality check mechanism 24 fetches the received response data in the response data receiving work 93-1 in step 301 of FIG. In step 302, the response data receiving work 93
The check data (C1) 53-2 created by updating the master file in the second computer 2 within -1 is extracted to the check data 2 work 53-3. In step 303, step 20 of the file editing mechanism 23 of the first computer 1 is executed.
Check data (C0) from the check data file 43 created / stored in Step 5 is checked data 1 work 43-5
Take it out. Next, in step 304, in step 30
Check data (C0) and (C1) extracted in 2 and 303
To match. When they match, it is determined that the master file restoration in the second computer 2 has been normally performed. If there is a mismatch as a result of the collation, it is determined that there is an abnormality in the restoration of the master file on the second computer 2. In this embodiment, the check data (C0 ') is transmitted / received between the first and second computers, but is not used. However, this data can be used for checking the communication path, checking the memory of the second computer, and the like. Since the present embodiment is configured as described above, only the data flow between computers is shown in FIG. This will be described below. While updating the hatched portion 83-1 of the x record 81 of the master file from a to b in the first computer 1 by the change instruction data 41 created in the first computer 1,
Check data (C0) 43 is created. The change instruction data 41 and the check data (C0) 43 are transmitted to the plurality of second computers 2 as change instruction information 84. The second computer 2 receives the change instruction information 84-1. The x record 91 of the master file of the second computer 2
Like the computer 1, the hatched portion 92-1 is updated from a to b based on the change instruction data 41-2, and the check data (C1) 53-1 is created with the same logic as that of the first computer 1. Check data (C0) 43-2 in the received change instruction information 84-1 and check data (C1) 5
3-1 and the master file 52 only when they match
To update. From this, it can be determined that the master file 52 restored in the second computer 2 is the same as that in the first computer 1. Also, the check data (C1) 53
-1 is transmitted as response data to the first computer 1.
Check data (C1) 53-received by the first computer 1
2 and the check data (C0) 43 created when the master file 42 is updated on the first computer 1, the first computer 1 checks the restoration status of the master file on the second computer 2 by checking the check data (C0) 43. Can be grasped. Here, when the hatched portion of the x record 91 is changed from a to b'in the master file update on the second computer 2 ',
Check data created from the updated x record 91
(C1 ′) 53-1 ′ is the check data (C0 ′) 43 in the change instruction information 84-1 received from the first computer 1.
If the value is different from -2, the second computer 2 '
Then, the master file 52 is not updated. further,
The check data (C1 ′) 53-1 ′ is stored in the first computer 1
Sent as a response to. When the check data (C1 ′) 53-2 ′ received by the first computer 1 and the check data (C0) 43 held by the first computer 1 are compared, they do not match, and the second computer 2 ′ uses the master file It is determined that the restoration of 52 is abnormal. This enables the first computer 1 to retransmit the master file change instruction data to the second computer 2 '. Conventionally, as shown in FIG. 13, when the master file 42 is changed in the first computer 1, the hatched portion 83-1 of the x record 81 is changed.
Is changed from a to b, the change instruction 41 is transmitted to the plurality of second computers 2, and the second computer 2 sends the master file 5
The hatched portion 92-1 of the x record 91 of 2 is changed from a to b. In the second computer 2 ′, the x record 91 of the master file 52 is stored in the same way as the second computer 2a.
Change from b'to b'and update the master file,
The computer 2'of No. 2 did not know that the change of the master file 52 was abnormal. Furthermore, in the first computer 1,
The second computer 2'could not know that there was an error in restoring the master file. For this reason, the second computer 2'may transmit information different from the master file of the first computer 1 to the plant control mechanism 35. Information transmission can be prevented. According to the present embodiment, the content inconsistency between the master of the important file and its copy, which is a problem of the autonomous distributed network communication, can be resolved, and as a result, it becomes possible to accurately control the plant and the like. It goes without saying that the present invention can be applied to networks other than the autonomous distributed network. Further, in the above embodiment, the change instruction is sent to the second computer, but the present invention is not limited to this, and the change information itself may be sent. For example, a first computer that creates a master file and at least one second computer that has a file having the same content as the master file to use the information of the master file, and the first computer In a communication system in which a second computer and a second computer are interconnected via a communication network, the first computer transmits the change information regarding the change of the master file to the second computer. The computer of (1) generates the first check data for checking whether the received change information has an error based on the change information, and the change information and the first check data. A first transmitting means for transmitting to the second computer via the communication network, the second computer receiving the change information and the first check data. Receiving means, second generating means for generating second check data for checking whether the received change information has an error, the first check data and the second check data. And a second transmitting means for transmitting the collation result to the first computer via the communication network when the result of the collation does not coincide. May be Further, in the above-mentioned embodiment, the check data is transmitted from the second computer to the first computer, but the present invention is not limited to this, and the second computer transfers the check data to the first computer. Only the result of comparing the check data may be sent. Further, in the above embodiment, the data is transmitted from the first computer to the second computer by the function code communication, but the present invention is not limited to this, and the first computer to the second computer is not limited to this. May be transmitted to the computer by a communication method that specifies the transmission destination.
【0007】[0007]
【発明の効果】本発明によれば、マスタファイルを管理
する計算機で、マスタファイルを利用する計算機でマス
タファイルの復元に異常があったことを知ることができ
る。このために、マスタファイルを利用する計算機のマ
スタファイルと、マスタファイルを管理する計算機のマ
スタファイルとを一致させることができる。このよう
に、重要ファイルのマスタとその複製間の内容不一致が
解消でき、その結果、正確なプラント等の制御を行うこ
とができる。According to the present invention, a computer that manages a master file can know that the computer that uses the master file has an error in restoring the master file. Therefore, the master file of the computer that uses the master file and the master file of the computer that manages the master file can be matched. In this way, the content inconsistency between the master of the important file and its copy can be eliminated, and as a result, accurate control of the plant or the like can be performed.
【図1】本発明の一実施例の全体のブロック図である。FIG. 1 is an overall block diagram of an embodiment of the present invention.
【図2】計算機のワークメモリの割り付け図であるFIG. 2 is an allocation diagram of a work memory of a computer
【図3】制御機構の構成図である。FIG. 3 is a configuration diagram of a control mechanism.
【図4】第1の計算機のファイル変更データ生成機構の
処理フロー図である。FIG. 4 is a processing flow chart of a file change data generation mechanism of the first computer.
【図5】第1の計算機のファイル編集機構の処理フロー
図である。FIG. 5 is a processing flow chart of a file editing mechanism of the first computer.
【図6】第2の計算機のファイル復元機構の処理フロー
図である。FIG. 6 is a processing flow chart of a file restoration mechanism of the second computer.
【図7】第1の計算機の応答データ作成機構の処理フロ
ー図である。FIG. 7 is a process flow diagram of a response data creation mechanism of the first computer.
【図8】第1の計算機の合理性チェック機構の処理フロ
ー図である。FIG. 8 is a process flow diagram of a rationality check mechanism of the first computer.
【図9】第1の計算機の合理性チェック機構の再送処理
のフロー図である。FIG. 9 is a flowchart of a retransmission process of the rationality check mechanism of the first computer.
【図10】マスタファイルの生成・変更・管理を行う第
1の計算機でのデータフロー図である。FIG. 10 is a data flow diagram in the first computer that creates, changes, and manages a master file.
【図11】第1の計算機からマスタファイルを複製する
第2の計算機でのデータフロー図である。FIG. 11 is a data flow diagram in the second computer that duplicates the master file from the first computer.
【図12】本発明の動作を説明する簡単な動作説明図で
ある。FIG. 12 is a simple operation explanatory view for explaining the operation of the present invention.
【図13】従来の動作を説明する簡単な動作説明図であ
る。FIG. 13 is a simple operation explanatory diagram illustrating a conventional operation.
1 第1の計算機 2 第2の計算機 10 自律分散ネットワーク 41 第1の計算機のマスタファイル変更指示ファイル 42 第1の計算機のマスタファイル 43 第1の計算機のチェックデータファイル 52 第2の計算機の複製したマスタファイル 53 第2の計算機のチェックデータファイル 1 1st computer 2 2nd computer 10 Autonomous distributed network 41 Master file change instruction file of 1st computer 42 Master file of 1st computer 43 Check data file of 1st computer 52 Duplication of 2nd computer Master file 53 Check data file for the second computer
───────────────────────────────────────────────────── フロントページの続き (72)発明者 川口 幸一 茨城県日立市大みか町五丁目2番1号 株 式会社日立製作所大みか工場内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Koichi Kawaguchi 5-2-1 Omika-cho, Hitachi-shi, Ibaraki Hitachi Ltd. Omika factory
Claims (8)
装置と、前記マスタファイルの情報を利用するために前
記マスタファイルと同一内容のファイルを有する少なく
とも1つの第2の情報処理装置とを有し、該第1の情報
処理装置と第2の情報処理装置とが通信網を介して相互
接続された通信システムにおいて、 前記第1の情報処理装置は、 前記マスタファイルの変更を指示する変更指示情報を受
けて、該マスタファイルの変更内容を決定する第1の決
定手段と、 前記第2の情報処理装置のファイルの変更を指示する変
更指示情報を送信する際に、該第2の情報処理装置が、
受信した該変更指示情報に基づいて得られた前記ファイ
ルの変更内容に誤りがあるかどうかをチェックするため
の第1のチェックデータを前記変更内容に基づき生成す
る第1の生成手段と、 前記変更指示情報および第1のチェックデータを前記通
信網を介して、前記第2の情報処理装置に送信する第1
の送信手段とを有し、 前記第2の情報処理装置は、 前記変更指示情報および第1のチェックデータを受信す
る受信手段と、 前記受信した変更指示情報に基づいて前記ファイルの変
更内容を決定する第2の決定手段と、 前記変更内容に誤りがあるかどうかをチェックするため
の第2のチェックデータを該変更内容に基づき生成する
第2の生成手段と、 前記第1のチェックデータと第2のチェックデータとを
照合する照合手段と、 少なくとも、照合の結果一致しなかったときは、照合結
果の確認ができる情報を、前記通信網を介して前記第1
の情報処理装置に送信する第2の送信手段とを有するこ
とを特徴とする通信システム。1. A first information processing device for creating a master file, and at least one second information processing device having a file having the same content as the master file for utilizing information of the master file. In the communication system in which the first information processing device and the second information processing device are interconnected via a communication network, the first information processing device is a change instruction for instructing a change of the master file. A first determining unit that receives information and determines the modification content of the master file, and the second information processing when transmitting modification instruction information that instructs modification of the file of the second information processing apparatus. The device
First generation means for generating, based on the change content, first check data for checking whether or not there is an error in the change content of the file obtained based on the received change instruction information; A first transmitting the instruction information and the first check data to the second information processing device via the communication network;
The second information processing device determines a change content of the file based on the received change instruction information and a receiving means for receiving the change instruction information and the first check data. Second determining means for generating, second generating means for generating second check data for checking whether or not there is an error in the changed content, based on the changed content, the first check data and the first check data The collation means for collating the check data of No. 2 and the information for confirming the collation result at least when the result of the collation does not coincide with each other, through the communication network.
And a second transmitting unit for transmitting the information to the information processing apparatus.
装置と、前記マスタファイルの情報を利用するために前
記マスタファイルと同一内容のファイルを有する少なく
とも1つの第2の情報処理装置とを有し、該第1の情報
処理装置と第2の情報処理装置とが通信網を介して相互
接続された通信システムにおいて、 前記第1の情報処理装置は、 前記第2の情報処理装置のファイルの変更に関する変更
情報を前記第2の情報処理装置に送信する際に、該第2
の情報処理装置が、受信した該変更情報に誤りがあるか
どうかをチェックするための第1のチェックデータを該
変更情報に基づき生成する第1の生成手段と、 前記変更情報および第1のチェックデータを前記通信網
を介して、前記第2の情報処理装置に送信する第1の送
信手段とを有し、 前記第2の情報処理装置は、 前記変更情報および第1のチェックデータを受信する受
信手段と、 前記受信した変更情報に誤りがあるかどうかをチェック
するための第2のチェックデータを該変更情報に基づき
生成する第2の生成手段と、 前記第1のチェックデータと第2のチェックデータとを
照合する照合手段と、 少なくとも、照合の結果一致しなかったときは、照合結
果の確認ができる情報を、前記通信網を介して前記第1
の情報処理装置に送信する第2の送信手段とを有するこ
とを特徴とする通信システム。2. A first information processing device for creating a master file, and at least one second information processing device having a file having the same content as the master file for utilizing information of the master file. Then, in a communication system in which the first information processing device and the second information processing device are interconnected via a communication network, the first information processing device stores the file of the second information processing device. When the change information regarding the change is transmitted to the second information processing device, the second information processing device
The information processing apparatus generates first check data for checking whether the received change information has an error based on the change information, and the change information and the first check. A first transmitting unit that transmits data to the second information processing apparatus via the communication network, wherein the second information processing apparatus receives the change information and the first check data. Receiving means, second generating means for generating second check data for checking whether or not the received change information has an error, based on the change information, the first check data and the second check data. At least the collating means for collating the check data and the information for confirming the collation result, when the result of the collation does not coincide, is transmitted via the communication network.
And a second transmitting unit for transmitting the information to the information processing apparatus.
いて、 前記第1の情報処理装置は、前記第2の情報処理装置に
送信する際に、送信する情報の内容を識別する識別情報
も一緒に送信し、かつ、これらの情報を受信先を特定せ
ずに前記通信網に出力し、 前記第2の情報処理装置は、前記識別情報により、通信
網に出力された情報を受信するかどうかを決定すること
を特徴とする通信システム。3. The communication system according to claim 1, wherein the first information processing apparatus also includes identification information for identifying the content of information to be transmitted when transmitting the information to the second information processing apparatus. Whether or not to receive the information output to the communication network by the identification information, the second information processing apparatus transmitting the information to the communication network without specifying the receiver. A communication system characterized by determining.
において、 前記第1の情報処理装置は、前記第2の情報処理装置か
らの照合結果の確認ができる情報により、一致しないこ
とがわかった時は、該第2の情報処理装置に前記マスタ
ファイルの変更に関する情報を再送することを特徴とす
る通信システム。4. The communication system according to claim 1, 2 or 3, wherein the first information processing device is found to be inconsistent based on the information from the second information processing device that enables confirmation of the collation result. The communication system is characterized by retransmitting the information regarding the change of the master file to the second information processing device.
装置と、該第1の情報処理装置と通信網を介して相互接
続され、前記マスタファイルの情報を利用するために前
記マスタファイルと同一内容のファイルを有する少なく
とも1つの第2の情報処理装置とを用いた通信方法にお
いて、 前記第1の情報処理装置は、 前記マスタファイルの変更を指示する変更指示情報を受
けて、該マスタファイルの変更内容を決定し、 前記第2の情報処理装置のファイルの変更を指示する変
更指示情報を送信する際に、該第2の情報処理装置が、
受信した該変更指示情報に基づいて得られた前記ファイ
ルの変更内容に誤りがあるかどうかをチェックするため
の第1のチェックデータを前記変更内容に基づき生成
し、 前記変更指示情報および第1のチェックデータを前記通
信網を介して、前記第2の情報処理装置に送信し、 前記第2の情報処理装置は、 前記変更指示情報および第1のチェックデータを受信
し、 前記受信した変更指示情報に基づいて前記ファイルの変
更内容を決定し、 前記変更内容に誤りがあるかどうかをチェックするため
の第2のチェックデータを該変更内容に基づき生成し、 前記第1のチェックデータと第2のチェックデータとを
照合し、 少なくとも、照合の結果一致しなかったときは、照合結
果の確認ができる情報を、前記通信網を介して前記第1
の情報処理装置に送信することを特徴とする通信方法。5. A first information processing device for creating a master file, and the first information processing device and the first information processing device are interconnected via a communication network, and are the same as the master file for utilizing information of the master file. In a communication method using at least one second information processing device having a file of contents, the first information processing device receives change instruction information for instructing a change of the master file, When the change information is decided and the change instruction information for instructing the change of the file of the second information processing apparatus is transmitted, the second information processing apparatus is
First check data for checking whether or not there is an error in the changed contents of the file obtained based on the received change instruction information is generated based on the changed contents, and the change instruction information and the first check data are generated. Check data is transmitted to the second information processing apparatus via the communication network, the second information processing apparatus receives the change instruction information and the first check data, and the received change instruction information Based on the change contents, the second check data for checking whether the change contents are incorrect is generated based on the change contents, and the first check data and the second check data are generated. The check data is collated, and at least when the result of the collation does not match, the information for confirming the collation result is sent to the first through the communication network.
And a communication method for transmitting the information to the information processing device.
装置と、該第1の情報処理装置と通信網を介して相互接
続され、前記マスタファイルの情報を利用するために前
記マスタファイルと同一内容のファイルを有する少なく
とも1つの第2の情報処理装置とを用いた通信方法にお
いて、 前記第1の情報処理装置は、 前記第2の情報処理装置のファイルの変更に関する変更
情報を前記第2の情報処理装置に送信する際に、該第2
の情報処理装置が、受信した該変更情報に誤りがあるか
どうかをチェックするための第1のチェックデータを該
変更情報に基づき生成し、 前記変更情報および第1のチェックデータを前記通信網
を介して、前記第2の情報処理装置に送信し、 前記第2の情報処理装置は、 前記変更情報および第1のチェックデータを受信し、 前記受信した変更情報に誤りがあるかどうかをチェック
するための第2のチェックデータを該変更情報に基づき
生成し、 前記第1のチェックデータと第2のチェックデータとを
照合し、 少なくとも、照合の結果一致しなかったときは、照合結
果の確認ができる情報を、前記通信網を介して前記第1
の情報処理装置に送信することを特徴とする通信方法。6. A first information processing device that creates a master file, and the first information processing device and the first information processing device are interconnected via a communication network, and are the same as the master file for utilizing the information of the master file. In a communication method using at least one second information processing apparatus having a file of contents, the first information processing apparatus provides change information regarding a change of a file of the second information processing apparatus to the second information processing apparatus. When transmitting to the information processing device, the second
The information processing device of 1 generates the first check data for checking whether the received change information has an error based on the change information, and the change information and the first check data are generated in the communication network. Via the second information processing apparatus, the second information processing apparatus receives the change information and the first check data, and checks whether the received change information has an error. Second check data for generating the second check data based on the change information, the first check data and the second check data are collated, and at least when the collation results do not match, the collation result is confirmed. Information that can be transmitted to the first server via the communication network.
And a communication method for transmitting the information to the information processing device.
て、 前記第1の情報処理装置は、前記第2の情報処理装置に
送信する際に、送信する情報の内容を識別する識別情報
も一緒に送信し、かつ、これらの情報を受信先を特定せ
ずに前記通信網に出力し、 前記第2の情報処理装置は、前記識別情報により、通信
網に出力された情報を受信するかどうかを決定すること
を特徴とする通信方法。7. The communication method according to claim 5, wherein the first information processing device also includes identification information for identifying the content of information to be transmitted when transmitting the information to the second information processing device. Whether or not to receive the information output to the communication network by the identification information, the second information processing apparatus transmitting the information to the communication network without specifying the receiver. A communication method characterized by determining.
いて、 前記第1の情報処理装置は、前記第2の情報処理装置か
らの照合結果の確認ができる情報により、一致しないこ
とがわかった時は、該第2の情報処理装置に前記マスタ
ファイルの変更に関する情報を再送することを特徴とす
る通信方法。8. The communication method according to claim 5, 6 or 7, wherein the first information processing apparatus is found to be inconsistent based on the information from the second information processing apparatus that enables confirmation of the collation result. In the event of a failure, the communication method is characterized in that the information regarding the change of the master file is retransmitted to the second information processing device.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP6003192A JPH07210441A (en) | 1994-01-17 | 1994-01-17 | Communication system and communication method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP6003192A JPH07210441A (en) | 1994-01-17 | 1994-01-17 | Communication system and communication method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH07210441A true JPH07210441A (en) | 1995-08-11 |
Family
ID=11550550
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP6003192A Pending JPH07210441A (en) | 1994-01-17 | 1994-01-17 | Communication system and communication method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH07210441A (en) |
-
1994
- 1994-01-17 JP JP6003192A patent/JPH07210441A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6915326B2 (en) | Information processing apparatus and method and information processing program recording medium | |
| CN110929900A (en) | A system and method for intelligent maintenance management of power grid | |
| CN114612101A (en) | Reliable inter-link route cross-link method and system for connection | |
| CN118991879A (en) | Method for supporting fixed access safety card control and driving scheduling system | |
| JPH0659994A (en) | Remote installation system | |
| JPH0358549A (en) | Communication device | |
| JPH06119182A (en) | Information communication network system having download control function | |
| CN114379621A (en) | Confirmed information processing method, system, device, equipment and medium | |
| JP3361846B2 (en) | Terminal backup system | |
| JP2545033B2 (en) | Operation control method | |
| JP2001001903A (en) | Operation management system | |
| JPH02260055A (en) | Inter-computer file transfer system | |
| KR100279559B1 (en) | How to transfer switch software using LAN | |
| JP2778411B2 (en) | Decentralized train operation management system | |
| JP2626873B2 (en) | Conversion device | |
| JPH04242396A (en) | Remote supervisory system | |
| JP3217086B2 (en) | Message Communication Method between Standby Controller and Message Device in Redundant System | |
| JP3407019B2 (en) | Data transmission method and data transmission system | |
| JPH11275760A (en) | Power system monitoring and control apparatus and recording medium storing program for executing the same | |
| JP3219240B2 (en) | Communication processing method and device | |
| KR101015186B1 (en) | How to Audit Alarms between Operating Stations and Subsystems in a CD-2000 1X System | |
| JP2858531B2 (en) | Test system | |
| JPH0363859A (en) | System generating information managing method | |
| JPS6169233A (en) | Retransmission system of telegram | |
| CN113938494A (en) | Chain network segmentation and recombination method and system for large-scale Internet of things scene |