JPH0283744A - Double system synchronizing processing method - Google Patents

Double system synchronizing processing method

Info

Publication number
JPH0283744A
JPH0283744A JP63237174A JP23717488A JPH0283744A JP H0283744 A JPH0283744 A JP H0283744A JP 63237174 A JP63237174 A JP 63237174A JP 23717488 A JP23717488 A JP 23717488A JP H0283744 A JPH0283744 A JP H0283744A
Authority
JP
Japan
Prior art keywords
synchronization
computer
network
comparison
data
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
JP63237174A
Other languages
Japanese (ja)
Inventor
Yoshio Watanabe
好夫 渡辺
Masaki Katahira
片平 正樹
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 JP63237174A priority Critical patent/JPH0283744A/en
Publication of JPH0283744A publication Critical patent/JPH0283744A/en
Pending legal-status Critical Current

Links

Landscapes

  • Hardware Redundancy (AREA)

Abstract

PURPOSE:To perform the synchronization/comparison processes with no conflict in terms of the control of constitution by sending the synchronization request information to a computer of another system via a network and at the same time fetching the synchronization request information having made a round of the network via a computer of its own system when a synchronization request is produced. CONSTITUTION:When the synchronization and comparison requests are produced, these requests are registered into a transmission data intermediate file 33 via the synchronization and comparison request linkage subroutines 31 and 32. At the same time, a network data transmission program 34 is started. The program 34 takes the data out of a file 33 and sends it to a network. This transmitted data is received by a network data reception program 35 and registered into a reception data intermediate file 36. Then a synchronization/ comparison process program 37 is started. The program 37 takes the data out of the file 36 and decides the maintenance and the end of synchronization for a synchronization table, a comparison table, and a time-out table respectively based on the request data. Thus the synchronization/comparison processes are attained with no conflict.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は2重系同期処理法方に係り、特にハードウェア
の簡素化を図り、かつ小型計算機でも2重系処理システ
ムを実現することができる2重系同期処理方法に関する
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a dual system synchronous processing method, and in particular, it aims at simplifying the hardware and makes it possible to realize a dual system processing system even on a small computer. This article relates to a dual system synchronization processing method that can be performed.

〔従来の技術〕[Conventional technology]

従来、データの信頼性や稼働率を重視するシステムにお
いては、2重系デュアル運転方式が多く採用されている
。2重系デュアル運転を実現するためのカーネルとなる
機能は、計算機間の同期機能およびデータの比較機能で
あり、大型制御用計算機システムにおいては、「鉄道サ
イバネティクス利用論文集」、日本サバイバネティクス
協議会、(1988年 2月)、第147頁から第15
1頁に示されているように、2重系制御装置(DSC)
というバー1へウェアにより実現していた。
Conventionally, in systems where data reliability and availability are important, a dual system dual operation method has often been adopted. The functions that serve as the kernel for realizing dual system dual operation are the synchronization function between computers and the data comparison function. , (February 1988), pp. 147-15.
Dual system controller (DSC) as shown on page 1
This was achieved through the use of bar 1 wear.

しかし、近年のマイクロコンピュータ等による分散型複
合H1算機システムにおいては、小型化・低価格化の進
歩が目覚ましく、2重系を実現するための特殊ハードウ
ェアを使用せずに、汎用的な通信手段によって2重系を
実現するニーズが高くなっている。
However, in recent years, in distributed complex H1 computer systems using microcomputers, etc., progress has been remarkable in miniaturization and cost reduction. There is an increasing need to realize a dual system by some means.

ここで、2台の計算機間に汎用通信装置を設け、2重系
の同期・比較処理をソフトウェア論理て実現しようとし
た場合について述べる。第1.0図において、101,
102は2重系を構成する計算機、103は割算機10
1で発生した同期・比較イベントを計算機102へ連絡
するための通信装置、104は、通信装置1.03と同
様に、計算機102から計算機101へ連絡するための
通信装置である。ラフ1〜ウエアによる2重系同期処理
は。
Here, a case will be described in which a general-purpose communication device is provided between two computers and an attempt is made to realize dual system synchronization and comparison processing using software logic. In Figure 1.0, 101,
102 is a computer forming a dual system, 103 is a divider 10
A communication device 104 is a communication device for communicating the synchronization/comparison event that occurred in 1.1 to the computer 102, similar to the communication device 1.03. Dual system synchronization processing by rough 1~ware.

自系計算機内で発生した同期要求を計算機間の通信装置
により相互に連絡を行ない、自系計算機内で発生した同
期要求と同じ要因の他系H1算機からの同期要求受信を
監視し、両計算機の同期要求が揃った時に同期完了を認
識する。また他系計算機からの同期要求が受信できない
場合、一定時間後、タイムアウトを検出し、単独運転へ
移行する。
The synchronization requests generated within the own system computer are communicated with each other by the communication device between the computers, and the reception of synchronization requests from other systems H1 computers due to the same cause as the synchronization request generated within the own system computer is monitored. Recognize synchronization completion when all computer synchronization requests are completed. Also, if a synchronization request from another system computer cannot be received, a timeout is detected after a certain period of time, and the system shifts to standalone operation.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

しかしながら、上記従来技術では、一方の割算機で発生
した同期要求を他方の計算機が認識するまでの時間に、
別要因の同期要求が発生すると、両割算機においてタイ
11アウ1〜の検出順序が異なり、構成制御処理上矛盾
が発生ずる。例えば、第11図に示すように、計算機1
01で同期・比較イベンI−Aが発生し、計算機102
で同期・比較イベントBがほぼ同じタイミングで発生し
た場合を考察する。割算機]−01はイベンI−Aの発
生を割算機1−02へ通知し、計算機102はイベント
Bの発生を計算機101へ通知する。この時、計算機1
−O]がイベン1〜A発生を通知してから、計算機10
2がイベン1〜A発生の通知を受信するまでの時間Δし
が存在するため、この時間ΔL内に計算機102がイベ
ントBを検知すると、両計算機のイベントAおよびイベ
ントBのタイマ監視開始タイミングが異なり、タイムア
ラ1〜発生時の異常処理で、両計算機で互いに相手系計
算機の異常と認識し、構成制御上矛盾が発生する。具体
的には、計算機10」、ではイベントAの他系タイムア
ウトで単独運転へ移行し、計算機102ではイベンl−
Bの他系タイムアラ1へで単独運転へ移行する。
However, in the above conventional technology, in the time it takes for the other computer to recognize a synchronization request generated by one divider,
If a synchronization request is generated due to another factor, the order of detection of tie 11 out 1 will be different in both dividers, causing a contradiction in configuration control processing. For example, as shown in FIG.
Synchronization/comparison event I-A occurs at 01, and computer 102
Let us consider the case where synchronization/comparison event B occurs at almost the same timing. Divider]-01 notifies divider 1-02 of the occurrence of event I-A, and computer 102 notifies computer 101 of the occurrence of event B. At this time, calculator 1
-O] notifies the occurrence of events 1 to A, then the computer 10
Since there is a time Δl until computer 102 receives notification of the occurrence of events 1 to A, if the computer 102 detects event B within this time ΔL, the timer monitoring start timing of event A and event B of both computers will be changed. Differently, in the abnormality processing when time error 1~ occurs, both computers mutually recognize that the other computer is abnormal, and a contradiction occurs in configuration control. Specifically, computer 10'' shifts to standalone operation due to event A timeout, and computer 102 transitions to standalone operation when event A times out.
Shift to independent operation with B other system timer 1.

本来は、ある要因で他系タイムアウトを検出した場合、
相手系計算機では、同一要因で自系タイムアラ1〜を検
出させ、構成制御」−矛盾が発生しない様にしなければ
ならない。
Originally, when a timeout of another system was detected due to a certain factor,
The partner computer must detect the self-system timer 1~ due to the same cause, and perform configuration control to prevent conflicts from occurring.

本発明の目的は、特殊なハードウェアを必要とせずに、
構成制御上矛盾なく同期・比較処理を実現することがで
きる2重系同期処理方法を提供することである。
The purpose of the present invention is to
It is an object of the present invention to provide a dual system synchronization processing method that can realize synchronization and comparison processing without contradiction in terms of configuration control.

〔課題を解決するための手段〕[Means to solve the problem]

上記目的を達成するために、本発明の2重系同期処理方
法は、2重系を構成することができる複数の計算機の各
々に、同期1ノベルに対応した白系計算機の同期テーブ
ルおよび他系M1算機の同期テーブルを設定し、前記山
系計算機で同期要求が発生した場合、ネットワークを経
由して前記他系計算機へ同期要求情報を連絡するととも
に、前記山系計算機でも前記ネットワークを経由して一
巡した前記同期要求情報を取り込むことにより、前記自
系計算機と他系計算機の同期テーブルを更新し、その更
新結果により同期が完了したこと詮識別するようにした
ことである。
In order to achieve the above object, the dual system synchronization processing method of the present invention provides a synchronization table of the white computer corresponding to the synchronization 1 novel and a synchronization table of the other system M A synchronization table of a computer is set, and when a synchronization request occurs on the mountain computer, the synchronization request information is communicated to the other computer via the network, and the mountain computer also completes the cycle via the network. By taking in the synchronization request information, the synchronization table between the own computer and the other computer is updated, and the completion of the synchronization can be identified based on the update result.

〔作用〕[Effect]

ここで、2重系同期処理に関する基本思想について説明
する。
Here, the basic idea regarding dual system synchronization processing will be explained.

2重系デュアル運転方式の目的は、処理データの信頼性
向上およびシステム稼働率の向上が、その主な目的であ
る。したがって、その前提には2重系を構成する2台の
計算機の処理経過や、処理結果が一致していることを監
視し保障する機能が必要となる。従来、本機能は同期・
比較処理を通してDSCハードウェアにより実現してい
た。この機能を、DSCハードウェアを使用せずに実現
しようとした場合、当該機能は、計算機内ソフトウェア
によって実現しなければならない。仮に、当該機能を2
重系を構成する一方の計算機のみで実行させることを想
定すると、その計算機間の2重系同期異常を監視すると
いう矛盾が発生し、2重系の監視機能そのものが保障で
きなくなる。
The main purpose of the dual system dual operation system is to improve the reliability of processed data and improve system availability. Therefore, the premise is that a function is required to monitor and ensure that the processing progress and processing results of the two computers forming the dual system match. Previously, this function was synchronized
This was realized by DSC hardware through comparison processing. If this function is to be realized without using DSC hardware, the function must be realized by in-computer software. If the function is set to 2
If it is assumed that the process is executed by only one of the computers making up the duplex system, a contradiction will occur in that the duplex system synchronization abnormality between the computers is monitored, and the duplex system monitoring function itself cannot be guaranteed.

また当該機能を2重系を構成する両方の計算機で実行し
た場合には、前述した様に、計算機間の同期・比較に関
する評価結果が計算機間で異なる可能性があり、やはり
、2重系監視を保障することはできない。
In addition, if the function is executed on both computers that make up the duplex system, as mentioned above, the evaluation results regarding synchronization and comparison between computers may differ between the computers, and as expected, the duplex system monitoring cannot be guaranteed.

〔実施例〕〔Example〕

以下に本発明の一実施例を図面に従って説明する。 An embodiment of the present invention will be described below with reference to the drawings.

まず、本発明のポイントである計算機間の同期・比較処
理の評価結果を両計算機で一致させるアルゴリズムにつ
いて述べる。同期・比較処理をソフトで実現し、その評
価結果を一致させるには、同期・比較の要求イベントの
処理順序を一致させる必要がある。
First, an algorithm for matching evaluation results of synchronization and comparison processing between computers, which is the key point of the present invention, will be described. In order to implement synchronization/comparison processing using software and make the evaluation results consistent, it is necessary to match the processing order of synchronization/comparison request events.

第1図は、本発明を実現する代表的な構成例であり、同
期・比較イベントを相手系計算機に連絡する通信手段と
して、トークンリング式ブロードキャスト通信を採用し
た場合を示している。図において、11.12は2重系
を構成する計算機、13はネットワークとしてのブロー
ドキャスト伝送路、14は同期・比較イベントが発生し
た場合のデータ伝送経路を示している。
FIG. 1 is a typical configuration example for realizing the present invention, and shows a case where token ring type broadcast communication is adopted as a communication means for communicating a synchronization/comparison event to a partner computer. In the figure, numerals 11 and 12 indicate computers forming a dual system, numeral 13 indicates a broadcast transmission path as a network, and numeral 14 indicates a data transmission path when a synchronization/comparison event occurs.

本実施例では、計算機内で同期・比較イベントが発生し
ても、ただちに同期処理を行なわずネットワークイベン
トを送出後、該データが一巡して山系計算機に戻った時
に同期処理を実行するようにしている。また第11図と
同様に、イベントA。
In this embodiment, even if a synchronization/comparison event occurs in a computer, the synchronization process is not performed immediately, but after the network event is sent, the synchronization process is executed when the data has completed a round and returned to the mountain computer. There is. Also, as in FIG. 11, event A.

Bが結合した場合のタイムチャートを第2図に示す。イ
ベント発生が統合しても、通信管理上、通信権を取るま
で処理待ちとなるため、各計算機におけるイベントA、
Bの受信順序は必ず一致し、両計算機での同期・比較を
可能とした。図は同期・比較のイベントBが発生しても
、イベントAが送信処理中のため待ち状態となり、イベ
ントAが送信完了後、イベントBの送信が行なわれた場
合を示している。図から分かるように、時間Δを内にイ
ベントBが発生しても、両計算機のイベント処理順序は
A、Hの順で一致している。
FIG. 2 shows a time chart when B is combined. Even if event occurrences are consolidated, due to communication management, processing will wait until communication rights are obtained, so event A on each computer,
The order in which B was received always matched, making it possible to synchronize and compare both computers. The figure shows a case where even though synchronization/comparison event B occurs, event A is in a waiting state because it is undergoing transmission processing, and event B is transmitted after event A has been transmitted. As can be seen from the figure, even if event B occurs within time Δ, the event processing order of both computers matches in the order of A and H.

また、第3図は本実施例によるネットワーク送受信デー
タフォーマットを示している。図において、1はへラダ
ー情報で当該データが2重系同期処理に使用されるデー
タであることを表す。2は送信元CPU番号で、システ
ムを構成する各計算機に対しユニークな番号を登録し、
2重系を構成する相手系計算機の認識と、自系計算機か
らの要求を認識するために付加される。3は本データ送
出による処理要求種別を表す。具体的には、同期要求、
比較要求、タイムアウト連絡の3種類がある。4は同期
・比較の多重処理を実現するために付加する同期レベル
で、アプリケーションプログラムからの処理内容により
n個のレベルを定義する。nはシステム規模によって決
められる。5は同期タイムアウトを検出した時の異常処
理要否を表しており、通常は異常処理要で同期処理が行
なわれる。異常処理は2重系を構成する計算機間で処理
内容が異なり、同期要求タイムアウトを検出した場合、
異常検出系が単独運転へ移行する。異常処理不要とする
場合は、一方の計算機が相手系計算機の処理終了を意図
的に待つ場合に使用され、同期タイムアウトを検出して
も単独運転に移行することはない。6は同期タイムアウ
トを検出するまでの時間であり、同期レベルによって可
変とすることができる。7は比較処理を行なうときの対
象データである。
Further, FIG. 3 shows the network transmission/reception data format according to this embodiment. In the figure, 1 is ladder information and indicates that the data is data used for dual system synchronization processing. 2 is the sender CPU number, which is a unique number that must be registered for each computer that makes up the system.
It is added to recognize the partner computer that makes up the dual system and the requests from the own computer. 3 represents the type of processing request for sending this data. Specifically, synchronous requests,
There are three types: comparison request and timeout notification. 4 is a synchronization level added to realize multiple synchronization/comparison processing, and n levels are defined depending on the processing content from the application program. n is determined by the system scale. 5 indicates whether or not abnormal processing is required when synchronization timeout is detected, and normally synchronization processing is performed when abnormal processing is required. Abnormal processing differs between the computers that make up the dual system, and if a synchronization request timeout is detected,
The abnormality detection system shifts to independent operation. When abnormal processing is not required, it is used when one computer intentionally waits for the other computer to finish its processing, and does not shift to standalone operation even if a synchronization timeout is detected. 6 is the time until synchronization timeout is detected, and can be made variable depending on the synchronization level. 7 is target data when performing comparison processing.

次に、同期・比較処理に対する具体的な処理の流れを第
4図を用いて説明する。アプリケーションプログラムか
ら同期要求、比較要求が発生すると、同期要求のリンケ
ージサブルーチン31および比較要求のリンケージサブ
ルーチン32を経由し、第3図に示す通信データを編集
して送信データ中間ファイル33に登録するとともに、
ネットワークデータ送信プログラム34を起動する。ネ
ットワークデータ送信プログラム34では、送信データ
中間ファイル33からデータを取出し、ネッI−ワーク
へデータを送出する。これまでの過程では、アプリケー
ションプログラムから同期・比較要求を、そのままネッ
トワークへ送出するだけで、具体的な同期・比較処理は
行なわない。送出されたデータはネットワークデータ受
信プログラム35により受信処理が行なわれ、受信デー
タ中間ファイル36に登録するとともに、同期・比較処
理プログラム37を起動する。同期・比較処理プログラ
ム37では、受信データ中間ファイル36からデータを
取出し、当該要求データに従って同期テーブル、比較テ
ーブル、タイムアウトテーブルのメンテナンスと、同期
完了の判定を行なう。
Next, a specific process flow for the synchronization/comparison process will be explained using FIG. 4. When a synchronization request or a comparison request is generated from an application program, the communication data shown in FIG. 3 is edited and registered in the transmission data intermediate file 33 via the synchronization request linkage subroutine 31 and comparison request linkage subroutine 32.
Start the network data transmission program 34. The network data transmission program 34 extracts data from the transmission data intermediate file 33 and sends the data to the network I-network. In the process up to now, the application program simply sends a synchronization/comparison request to the network without performing any specific synchronization/comparison processing. The sent data is received by the network data reception program 35, registered in the received data intermediate file 36, and the synchronization/comparison processing program 37 is activated. The synchronization/comparison processing program 37 extracts data from the received data intermediate file 36, maintains the synchronization table, comparison table, and timeout table, and determines the completion of synchronization according to the requested data.

以下にその具体的な処理について説明する。The specific processing will be explained below.

■自系割算機の同期・比較要求を受信した場合第5図に
示すように、ステップ51において他系同期テーブル3
9を参照し、該同期レベルにて他系同期要求の有無をチ
エツクする。同期要求が有りならば、ステップ52にお
いて他系比較テーブル41の比較データと受信データの
FOR照合(排他的論理和)を取り、ステップ53にお
いて同期完了をアプリケーションプリグラムへ報告する
。また同期要求が無しならば、ステップ54において自
系同期テーブル38の同期レベルにフラグをセットし、
ステップ55においてタイムアウトテーブル42の同期
レベルヘタイムアウト時間と監視要求フラグをセットす
る。
■When a synchronization/comparison request for the own system divider is received, as shown in FIG.
9, it is checked whether there is a synchronization request for other systems at the synchronization level. If there is a synchronization request, a FOR comparison (exclusive OR) is performed between the comparison data in the other system comparison table 41 and the received data in step 52, and completion of synchronization is reported to the application program in step 53. If there is no synchronization request, a flag is set in the synchronization level of the own system synchronization table 38 in step 54,
In step 55, a timeout time and a monitoring request flag are set to the synchronization level of the timeout table 42.

■他系計算機の同期・比較要求を受信した場合第6図に
示すように、ステップ61において自系同期テーブル3
8を参照し、該同期レベルにて自系同期要求の有無をチ
エツクする。同期要求が有りならば、ステップ62にお
いてタイムアラ1−テーブル42の同期レベルの監視要
求フラグをリセットし、ステップ63において自系比較
テーブル40の比較データと受信データのFOR照合を
取り、ステップ64において同期完了をアプリケーショ
ンプログラムへ報告する。また同期要求が無しならば、
ステップ65において、他系同期テーブル39の同期レ
ベルにフラグをセットする。
■When a synchronization/comparison request from another system computer is received, as shown in FIG.
8, it is checked whether there is a self-system synchronization request at the synchronization level. If there is a synchronization request, the synchronization level monitoring request flag of the timer 1 table 42 is reset in step 62, the FOR comparison of the comparison data of the own system comparison table 40 and the received data is performed in step 63, and the synchronization is performed in step 64. Report completion to the application program. Also, if there is no synchronization request,
In step 65, a flag is set in the synchronization level of the other system synchronization table 39.

■タイムアウト通告を受信した場合 第7図に示すように、ステップ71において受信データ
を参照し、ステップ72において送信元CPUが自系か
他系かを判定する。白系であれば、ステップ73におい
て受信データが異常処理要となっているかを判定し、さ
らにステップ74において自系同期要求テーブルの同期
レベルにフラグがセットされているかどうかを判定する
。フラグがセラ1−されている場合、ステップ75にお
いて同期・比較要求待ちの全アプリケーションプログラ
ムの待ち状態を解除する。そして、ステップ76におい
て単独運転に移行し、ステップ77で以後の同期・比較
処理が禁止される。またステップ72において送信元C
PUが他系であると判定された場合、ステップ78にお
いてオペレータへアラーム報告を行い、処理を終了する
(2) When a timeout notification is received As shown in FIG. 7, the received data is referred to in step 71, and it is determined in step 72 whether the source CPU is the own system or the other system. If it is white, it is determined in step 73 whether the received data requires abnormal processing, and further in step 74 it is determined whether a flag is set in the synchronization level of the own system synchronization request table. If the flag is set to 1, all application programs waiting for a synchronization/comparison request are released from the waiting state in step 75. Then, in step 76, a transition is made to independent operation, and in step 77, subsequent synchronization/comparison processing is prohibited. Also, in step 72, the sender C
If it is determined that the PU is of a different system, an alarm is reported to the operator in step 78, and the process ends.

第4図に示すタイムアウト検出プログラム43は定周期
で起動され、タイムアラ1〜テーブル42の監視要求が
セットされている全周期レベルに対応したタイムアラI
・時間カウンタを遂次減算していき、カウンタOでタイ
ムアラ1−発生と認識し、タイムアウト通告のデータフ
ォーマットを作成し、送信データ中間ファイルに登録す
る。
The timeout detection program 43 shown in FIG. 4 is activated at regular intervals, and the timeout detection program 43 is activated at regular intervals, and is configured to respond to the timeout detection program 43 corresponding to all cycle levels for which the monitoring requests of the timer 1 to table 42 are set.
- The time counter is successively decremented, and counter O recognizes that time error 1- has occurred, creates a data format for timeout notification, and registers it in the transmission data intermediate file.

以」二の2重系処理プログラム群による計算機間データ
交換により、同期・比較処理を実現することができる。
Synchronization and comparison processing can be realized by exchanging data between computers using the dual system processing program group described above.

第8図を用いて、同期成立した場合の計算機間相互の動
作について説明する。図では、計算機11から同期要求
送信を行い、そのデータを計算機12が受信し、他系同
期テーブルへフラグをセットする。その後計算機11で
自らのデータを受信し、自系同期テーブルに同期要求フ
ラグをセラ1〜し、タイマ監視を開始する。次に計算機
11で該同期レベルにてタイムアウト監視中に、計算機
12で同期要求が送信され、該データを計算機11が受
信し同期成立を認識する。その後計算機12でも自らの
同期要求データを受信し同期成立を認識する。さらに、
比較要求がある場合には、同期完了後、比較データの排
他的論理和データを編集し、アプリケーションプログラ
ムへ報告する。
Using FIG. 8, mutual operations between computers when synchronization is established will be explained. In the figure, the computer 11 sends a synchronization request, the computer 12 receives the data, and sets a flag in the other system synchronization table. Thereafter, the computer 11 receives its own data, sets the synchronization request flag to the self-system synchronization table, and starts timer monitoring. Next, while the computer 11 is monitoring a timeout at the synchronization level, the computer 12 transmits a synchronization request, and the computer 11 receives the data and recognizes that synchronization has been established. Thereafter, the computer 12 also receives its own synchronization request data and recognizes that the synchronization has been established. moreover,
If there is a comparison request, after synchronization is completed, the exclusive OR data of the comparison data is edited and reported to the application program.

第9図は、計算機11からの同期要求処理後、タイムア
ウトを検出した場合の動作を示しており、計算機12の
同期要求より先にタイムアウト通告が受信された場合を
示している。計算機11,12共にタイムアウト処理を
先行して行い、計算機11では単独運転へ移行し、計算
機12では自系計算機の同期要求を無効としている。
FIG. 9 shows the operation when a timeout is detected after processing a synchronization request from the computer 11, and shows the case where a timeout notification is received before the synchronization request from the computer 12. Both computers 11 and 12 perform timeout processing in advance, computer 11 shifts to independent operation, and computer 12 disables the synchronization request of its own computer.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明によれば、2重系を実現す
るための同期・比較処理を、両針算機にて平等に実行さ
せて、同じ結果を得ることができるようにしているので
、特殊なハードウェアが不要となり、小型計算機でも容
易に2重系同期処理システムを構築することができる。
As explained above, according to the present invention, the synchronization/comparison process for realizing a dual system is executed equally on both hand count machines, and the same result can be obtained. , special hardware is not required, and a dual-system synchronous processing system can be easily constructed even on a small computer.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明に係る2重系同期処理方法を説明する模
式図、第2図は第1図の動作を示すタイムチャート、第
3図はネットワーク送受信のデータフォーマット、第4
図は同期・比較処理の流れを示す図、第5図は自系計算
機の同期・比較要求を受信した場合のフローチャート、
第6図は他系計算機の同期・比較要求を受信した場合の
フローチャート、第7図はタイムアウト通告を受信した
場合のフローチャート、第8図は同期が成立した場合の
計算機間相互の動作を示すタイムチャート、第9図は同
期要求処理後タイムアウトを検出した場合の動作を示す
タイムチャート、第10図は従来の2重系同期処理シス
テムを説明する模式図、第11図は第10図の動作を示
すタイムチャートである。 11.12・・計算機、 13・・・ブロードキャスト伝送路、 14・・・データ伝送経路。
FIG. 1 is a schematic diagram explaining the dual system synchronization processing method according to the present invention, FIG. 2 is a time chart showing the operation of FIG. 1, FIG. 3 is a data format for network transmission and reception, and FIG.
The figure shows the flow of synchronization/comparison processing, and Figure 5 is a flowchart when a synchronization/comparison request for the own computer is received.
Figure 6 is a flowchart when a synchronization/comparison request from another computer is received, Figure 7 is a flowchart when a timeout notification is received, and Figure 8 is a time chart showing mutual operations between computers when synchronization is established. Figure 9 is a time chart showing the operation when a timeout is detected after processing a synchronization request, Figure 10 is a schematic diagram explaining a conventional dual system synchronization processing system, and Figure 11 is a diagram showing the operation of Figure 10. FIG. 11.12...Computer, 13...Broadcast transmission path, 14...Data transmission path.

Claims (1)

【特許請求の範囲】 1、2重系を構成することができる複数の計算機の各々
に、同期レベルに対応した自系計算機の同期テーブルお
よび他系計算機の同期テーブルを設定し、前記自系計算
機で同期要求が発生した場合、ネットワークを経由して
前記他系計算機へ同期要求情報を送信するとともに、前
記自系計算機でも前記ネットワークを経由して一巡した
前記同期要求情報を受信することにより、前記自系計算
機と他系計算機の同期テーブルを更新し、その更新結果
を比較することにより同期が完了したことを識別する2
重系同期処理方法。 2、請求項1に記載の2重系同期処理方法において、前
記各々の計算機にタイムアウトテーブルを設定し、ネッ
トワークを経由して前記自系計算機で同期要求情報を受
信すると同時に、同期レベルに対応したタイムアウトテ
ーブルによってタイムアウトを監視し、タイムアウトが
発生した場合には、前記ネットワークを経由して前記他
系計算機にタイムアウト情報を送信するとともに、前記
ネットワークを経由して前記自系計算機でも前記タイム
アウト情報を受信することにより、前記自系計算機と他
系計算機とで同時に同一要因で異常処理を行わせるよう
にした2重系同期処理方法。 3、請求項1に記載の2重系同期処理方法において、ネ
ットワークを経由して出力される同期要求情報に比較デ
ータを付加することにより、同期完了後に、自系および
他系の比較データを照合し、その照合結果を参照できる
ようにした2重系同期処理方法。
[Scope of Claims] A synchronization table for the own system computer and a synchronization table for the other system computer corresponding to the synchronization level are set in each of a plurality of computers that can constitute a single or double system, and the self system computer When a synchronization request occurs, the synchronization request information is sent to the other system computer via the network, and the self system computer also receives the synchronization request information that has gone through the network via the network. Identifying that synchronization is complete by updating the synchronization tables of the local computer and other computers and comparing the update results 2
Heavy system synchronous processing method. 2. In the dual system synchronization processing method according to claim 1, a timeout table is set in each of the computers, and at the same time, the self-system computer receives synchronization request information via a network, and simultaneously receives synchronization request information corresponding to the synchronization level. Monitoring timeouts using a timeout table, and when a timeout occurs, transmitting timeout information to the other computer via the network, and also receiving the timeout information to the own computer via the network. By doing so, the self-system computer and the other-system computer simultaneously perform abnormality processing due to the same cause. 3. In the dual system synchronization processing method according to claim 1, by adding comparison data to the synchronization request information output via the network, the comparison data of the own system and the other system are collated after the synchronization is completed. A dual system synchronization processing method that allows you to refer to the verification results.
JP63237174A 1988-09-21 1988-09-21 Double system synchronizing processing method Pending JPH0283744A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63237174A JPH0283744A (en) 1988-09-21 1988-09-21 Double system synchronizing processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63237174A JPH0283744A (en) 1988-09-21 1988-09-21 Double system synchronizing processing method

Publications (1)

Publication Number Publication Date
JPH0283744A true JPH0283744A (en) 1990-03-23

Family

ID=17011473

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63237174A Pending JPH0283744A (en) 1988-09-21 1988-09-21 Double system synchronizing processing method

Country Status (1)

Country Link
JP (1) JPH0283744A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009086938A (en) * 2007-09-28 2009-04-23 Hitachi Ltd High-security control device
JP2010079789A (en) * 2008-09-29 2010-04-08 Hitachi Ltd Quad computer system and dual ring network
JP2020144575A (en) * 2019-03-06 2020-09-10 日本信号株式会社 Railway control system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4992961A (en) * 1973-01-10 1974-09-04
JPS6388928A (en) * 1986-10-02 1988-04-20 Mitsubishi Electric Corp Information transmission system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4992961A (en) * 1973-01-10 1974-09-04
JPS6388928A (en) * 1986-10-02 1988-04-20 Mitsubishi Electric Corp Information transmission system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009086938A (en) * 2007-09-28 2009-04-23 Hitachi Ltd High-security control device
JP2010079789A (en) * 2008-09-29 2010-04-08 Hitachi Ltd Quad computer system and dual ring network
JP2020144575A (en) * 2019-03-06 2020-09-10 日本信号株式会社 Railway control system

Similar Documents

Publication Publication Date Title
US7797414B2 (en) Establishing a logical path between servers in a coordinated timing network
US5583992A (en) Computer network system for detecting global deadlock
JP3123417B2 (en) Communication method in small-scale network and control device and subordinate device applied to the communication method
US9569264B2 (en) Multi-core system for processing data packets
WO2022017052A1 (en) Method and apparatus for shared device instruction control and device
CN107592199A (en) A kind of method and system of data syn-chronization
JPH0283744A (en) Double system synchronizing processing method
US20070220296A1 (en) Data processing apparatus
JPH04195639A (en) Multiprocessor system and control method of its output
JP2968733B2 (en) Serial bus controller
US5095481A (en) Technique for active synchronization of the content induced transaction overlap (CITO) communication channel
US5446892A (en) Method of and apparatus for re-allocating programs in a distributed programming system
JP2937857B2 (en) Lock flag release method and method for common storage
JPS63213013A (en) Time point designating system for computer network system
JP3042942B2 (en) Input event sharing control method
JPH1091588A (en) Data transfer device
CN118200328A (en) Cluster election method, device, equipment and medium
US20040198226A1 (en) Method and system for dynamically managing wireless communications system protocols
JPS5840215B2 (en) System synchronization method
JP3298457B2 (en) Scratch signal detection handling system
JPH0126096B2 (en)
KR20240125476A (en) Method for data exchange
KR20000041926A (en) Restarting system and method for specific processor in inter processor communication system
JPH09212216A (en) Remote i/o system for plc
CN116389386A (en) Multi-frame communication method and system for reducing software load rate