JPS62219141A - Mutual supervisory system in processor - Google Patents
Mutual supervisory system in processorInfo
- Publication number
- JPS62219141A JPS62219141A JP61060966A JP6096686A JPS62219141A JP S62219141 A JPS62219141 A JP S62219141A JP 61060966 A JP61060966 A JP 61060966A JP 6096686 A JP6096686 A JP 6096686A JP S62219141 A JPS62219141 A JP S62219141A
- Authority
- JP
- Japan
- Prior art keywords
- processor
- polling
- time
- signal
- timer
- 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
- 238000000034 method Methods 0.000 claims abstract description 62
- 230000004044 response Effects 0.000 abstract description 14
- 230000006854 communication Effects 0.000 abstract description 12
- 238000004891 communication Methods 0.000 abstract description 9
- 239000002699 waste material Substances 0.000 abstract description 3
- 230000005856 abnormality Effects 0.000 description 13
- 230000005540 biological transmission Effects 0.000 description 6
- 230000006870 function Effects 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 238000012545 processing Methods 0.000 description 5
- 238000005259 measurement Methods 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 1
- 230000008054 signal transmission Effects 0.000 description 1
Abstract
Description
【発明の詳細な説明】
〔概 要〕
複数のプロセッサが例えばパケット交換網を介して接続
されるプロセッサシステムにおいて、相手プロセッサが
処理しているプロセスの動作を確認するために、各プロ
セッサはプロセス毎に相手側プロセッサとの間でポーリ
ング信号あるいはデータ信号の送信あるいは受信により
リセットされるタイマを備えると共に、このタイマがプ
ロセッサ毎に異なる時間でタイムアウトすることにより
ポーリング信号を相手側プロセスに送出するようにして
、両プロセッサのポーリングが同時に起らないようにし
た。[Detailed Description of the Invention] [Summary] In a processor system in which a plurality of processors are connected via, for example, a packet switching network, each processor uses a The processor is equipped with a timer that is reset by sending or receiving a polling signal or data signal between the processor and the other processor, and this timer times out at a different time for each processor so that the polling signal is sent to the other process. This prevents polling of both processors from occurring at the same time.
複数のプロセッサが例えばパケット交換網によって接続
されたネットワークシステムにおいて、データ通信を行
なう相手側プロセッサにおけるプロセスの異常を監視す
る方式に関する。The present invention relates to a method for monitoring abnormalities in a process in a processor at the other end of data communication in a network system in which a plurality of processors are connected by, for example, a packet switching network.
このような監視は、相手プロセッサに異常があってデー
タ通信が不可能な場合であっても、このデータ通信を行
なうためのメモリなどが解放されないまま残っていると
メモリなどの資源を無駄にすることになるので速やかに
これら資源を解放するために実施されている。This kind of monitoring wastes resources such as memory if the memory for data communication remains unreleased even if there is an abnormality in the other processor and data communication is impossible. This is being implemented to free up these resources as soon as possible.
2台のプロセッサが互にデータを交換しながら処理を行
なうシステムにおいては、互に相手方のプロセッサに異
常がないことを確認するために、ある期間毎に相手プロ
セッサに対してポーリングを行なって応答を求め、異常
がないことを示す応答信号が返送されて来ることによっ
て異常のないことをTll!認していた。In a system in which two processors perform processing while exchanging data with each other, each processor polls the other processor at certain intervals and returns a response in order to confirm that there are no abnormalities in the other processor. When a response signal indicating that there is no abnormality is returned, it is confirmed that there is no abnormality! I recognized it.
一方のプロセッサAが他方のプロセッサBに対してポー
リングを行なう場合を考えると、プロセッサBは、ポー
リングされたときにはプロセッサ八がポーリングを行な
ったことによってこのプロセッサAに異常がないことを
識別できるけれども、ポーリングされないときにはそれ
がプロセッサAの異常によるものか否かを識別すること
ができない。Considering the case where one processor A polls the other processor B, when processor B is polled, processor B can identify that there is no abnormality in processor A because processor 8 has polled. When polling is not performed, it is not possible to identify whether the problem is due to an abnormality in processor A or not.
この問題を解決するために、プロセッサBからもプロセ
ッサAにポーリングをかけてその応答を求めるようにす
ることが行なわれている。In order to solve this problem, processor B also polls processor A and requests its response.
C発明が解決しようとする問題点〕
このように、両プロセッサから相互にポーリングをかけ
る方式では、ポーリングの周期が同一であるとそのタイ
ミングが一致したときには両プロセッサが同時にポーリ
ングを行なうことになり、一方からのポーリングだけで
も両プロセッサに異常がないことを識別し得るのに対し
て著しく無駄な処理を行なうことになる。[Problems to be Solved by Invention C] In this way, in a system where both processors poll each other, if the polling cycles are the same, both processors will poll at the same time when the timings match. Although polling from one side alone can identify that there is no abnormality in both processors, this results in extremely wasteful processing.
また、プロセッサが複数のプロセスを処理しているとき
、それらプロセスによってデータ通信を行なう相手プロ
セッサが相違し、あるいは相手プロセッサが同一であっ
てもプロセス毎に処理が正常に行なわれるか否かが相違
することがあるので、プロセッサ毎に相手側プロセッサ
の状態を監視することか必要となる。Also, when a processor is processing multiple processes, the processes may communicate with different processors, or even if the processors are the same, there may be differences in whether the processing is performed normally or not. Therefore, it is necessary for each processor to monitor the status of the other processor.
第1図は本発明の原理図であって、3つのプロセッサ1
0,20.’30が例えばパケット通信網の如き、交換
機能を備えることが好ましい回線網40によって互に接
続されており、プロセッサ10はプロセス11.16を
、プロセッサ20はプロセス21.26を、またプロセ
ッサ30はプロセス31.36を処理しており、プロセ
ッサ10のプロセス11はプロセッサ20のプロセス2
1と、プロセッサ10のプロセス16はプロセッサ30
のプロセス31と、またプロセッサ20のプロセス26
はプロセッサ30のプロセス36と夫々データ交換を行
なっているものとする。FIG. 1 is a principle diagram of the present invention, in which three processors 1
0,20. '30 are interconnected by a network 40, preferably equipped with switching functionality, such as a packet communications network, with processor 10 connecting process 11.16, processor 20 connecting process 21.26, and processor 30 connecting process 21.26 to process 21.26; Processes 31 and 36 are being processed, and process 11 of processor 10 is processing process 2 of processor 20.
1 and the process 16 of the processor 10 is the processor 30
process 31 of processor 20 and also process 26 of processor 20
It is assumed that each of the processes 36 and 36 of the processor 30 is exchanging data.
これらのプロセス11,16,21,26,31.36
はそれぞれタイマ12.1?、22,27.32,37
を備えており、これらのタイマは互にデータ交換を行な
っているプロセス間では異なった時限LI 、j2に
よってポーリングバケットを送出するなどによりポーリ
ングを行なうために使用される。These processes 11, 16, 21, 26, 31. 36
are each timer 12.1? , 22, 27. 32, 37
These timers are used for polling by sending polling buckets with different time limits LI, j2 between processes exchanging data with each other.
これらプロセス11,16,21,26,31.36に
は更に検出器13.18,23.2B。These processes 11, 16, 21, 26, 31.36 further include detectors 13.18, 23.2B.
33.38が備えられており、相手プロセスからのポー
リングを受信したとき、あるいは自己プロセスから相手
にポーリングを行なったときに上記タイマ12,17,
22,27,32,37をリセットして新たに計時を始
めさせるように構成する。33 and 38 are provided, and the timers 12, 17,
22, 27, 32, and 37 are reset to start a new time measurement.
プロセッサ10のプロセス11とプロセッサ20のプロ
セス21とのデータ交換の例を示す第2図のタイムチャ
ートにより説明する。An example of data exchange between the process 11 of the processor 10 and the process 21 of the processor 20 will be explained with reference to the time chart of FIG. 2.
プロセス11のタイマの時限1.はプロセス21のタイ
マの時限t2よりも短かいものとすると、プロセス21
のタイマ22はプロセス11からのポーリング信号を受
信すると、この信号を受信したときとそれに応答して応
答信号(ACK信号)をプロセス11に返送したときと
の2度検出器23の出力によりリセットされるが、結局
応答信号を返送した時刻から計時を開始する。このポー
リング信号を受信してから応答信号を返送するまでの時
間は著しく短かいのでこの時間を無視すると、1、<1
2であることから、次にt1経過後プロセス11からの
ポーリングがあったときプロセス21のタイマ22は未
だ時限t2に達しないうちに検出器23の出力によりリ
セットされる。Process 11 timer time limit 1. is shorter than the time limit t2 of the timer of process 21.
When the timer 22 receives the polling signal from the process 11, it is reset by the output of the detector 23 twice, once when this signal is received and when a response signal (ACK signal) is returned to the process 11 in response. However, the time measurement starts from the time when the response signal is returned. The time from receiving this polling signal to sending back the response signal is extremely short, so if we ignore this time, it will be 1, < 1
2, the next time there is polling from the process 11 after t1 has elapsed, the timer 22 of the process 21 is reset by the output of the detector 23 before the time limit t2 is reached.
第2図の左側に示したように、プロセス11に異常が発
生すると、前回のポーリングがあってから時間t1が経
過してもポーリングが行なわれず、時間t2が経過した
ときにプロセス21のタイマ22はその時限に到達し、
今迄とは逆にプロセス21からプロセス11に対してポ
ーリングをかけることになり、プロセス11の異常が解
消するまでこのt2の周期でポーリングを繰返すように
なる。As shown on the left side of FIG. 2, when an abnormality occurs in the process 11, polling is not performed even after time t1 has elapsed since the previous polling, and when time t2 has elapsed, the timer 22 of the process 21 reaches its time limit,
In contrast to what has been done up until now, the process 21 will poll the process 11, and the polling will be repeated at this period of t2 until the abnormality in the process 11 is resolved.
プロセス11の異常が解消すれば、このプロセス11の
タイマの時限t、がプロセス21のタイマの時限L2よ
り短かいことから、いずれプロセス11からプロセス2
1にポーリングをかける状態に戻る。If the abnormality in process 11 is resolved, process 11 will eventually change to process 2, since the time limit t of the timer of process 11 is shorter than the time limit L2 of the timer of process 21.
Return to the state of polling 1.
以上述べたところは、プロセッサ20のプロセス26と
プロセッサ30のプロセス36との間、およびプロセッ
サ10のプロセス16とプロセッサ30のプロセス31
の間でも同様であり、プロセッサ20のタイマ22,2
7の時限を共にt2、プロセッサ30のタイマ32,3
7の時限を共にtl、プロセッサ10についてはプロセ
ス11のタイマ12の時限をt11プロセス16のタイ
マ17の時限をt2として示したが、各プロセッサ毎に
すべてのプロセスのタイマの時限を同一とし、同一のネ
ットワークに接続されるプロセッサのタイマの時限を夫
々異ならしめておくことによって、どのプロセッサとの
間でデータ伝送を行なう場合でも上述のような作用を達
成することができる。What has been described above applies between the process 26 of the processor 20 and the process 36 of the processor 30, and between the process 16 of the processor 10 and the process 31 of the processor 30.
The same is true between the timers 22 and 2 of the processor 20.
7 are both t2, timers 32 and 3 of the processor 30.
For the processor 10, the time limit of the timer 12 of the process 11 is shown as t11, and the time limit of the timer 17 of the process 16 is shown as t2. By setting the time limits of the timers of the processors connected to the network to be different, the above-described effect can be achieved regardless of which processor the data is transmitted to.
また、以上の説明はポーリング信号とそれに対する応答
信号の送受についてのみ説明したが、データ信号が正常
に送受されることによっても相手側のプロセスの異常を
識別し得る点においてポーリング信号と同等なことは明
らかであり、このデータ信号の送受によっても上記タイ
マをリセットすることにより無用なポーリングを避ける
ことができる。Furthermore, although the above explanation has only been about the sending and receiving of polling signals and response signals thereto, it is equivalent to polling signals in that it is possible to identify an abnormality in the other party's process even if a data signal is sent and received normally. It is clear that unnecessary polling can be avoided by resetting the timer by transmitting and receiving this data signal.
第3図はプロセッサAとプロセッサBとの間に論理パス
が形成されたときの機能上の構成を示すもので、これら
のプロセッサ間でデータ通信を行ないたいアプリケーシ
ョンプロセス(Func AsFunc B)は計
算機間通信プロセス(IPCA、IPCB)を介して通
信を行なうものである。Figure 3 shows the functional configuration when a logical path is formed between processor A and processor B. An application process (Func AsFunc B) that wants to perform data communication between these processors is Communication is performed via communication processes (IPCA, IPCB).
第4図は本発明によるポーリング方式が適用されるプロ
セッサの実施例を示すもので、アプリケーションプロセ
ス40,140に夫々対応して計算機間通信プロセス5
0,150を有している。FIG. 4 shows an embodiment of a processor to which the polling method according to the present invention is applied.
It has a value of 0,150.
この計算機間通信プロセス50には、送信機能部51、
受信機能部52およびタイマ53とを含んでおり、受信
機能部52は他のプロセッサからパケット交換網を介し
てデータパケットを受信したときにはそのデータをアプ
リケーションプロセス40に転送し、またポーリングパ
ケットを受信したときにはポーリング応答信号(ACK
信号)の送出を送信機能部51に要求し、またデータあ
るいはポーリングパケットを受信したときにはタイマ5
3にリセット信号を送出する。This intercomputer communication process 50 includes a transmission function section 51,
It includes a reception function section 52 and a timer 53, and when the reception function section 52 receives a data packet from another processor via a packet switching network, it transfers the data to the application process 40, and when it receives a polling packet. Sometimes a polling response signal (ACK
The timer 5 requests the transmission function section 51 to send a signal (signal), and when data or polling packets are received.
Send a reset signal to 3.
送信機能部51は、アプリケーションプロセス40から
のデータ送出要求、受信機能部52からのACK信号送
出要求およびタイマからのポーリング送出要求に応じて
夫々のパケットを送受信制御部90を介してパケット交
換網に送出する。The transmission function unit 51 transmits each packet to the packet switching network via the transmission/reception control unit 90 in response to a data transmission request from the application process 40, an ACK signal transmission request from the reception function unit 52, and a polling transmission request from the timer. Send.
第2のアプリケーションプロセス140には第2の計算
機間通信プロセス150が設けられるが、これらのプロ
セス40,140のタイマは、このアプリケーションプ
ロセス40,140とデータ通信を行なう相゛手プロセ
ッサのタイマとはポーリング周期が異なるように、ポー
リング送出要求信号の送出時間が設定されている。The second application process 140 is provided with a second intercomputer communication process 150, but the timers of these processes 40, 140 are different from the timers of the partner processors that perform data communication with this application process 40, 140. The sending time of the polling sending request signal is set so that the polling period is different.
ポーリングパケットを相手プロセッサに送出してからA
CK信号が返送されて来るまでの時間はこの実施例では
上記のタイマ53を兼用して測定するように構成されて
おり、所定の時間内にこのACK信号が返送されて来な
かった場合にはこのタイマ53から相手プロセッサに異
常があることがアプリケーションプロセス40に通知さ
れる。After sending the polling packet to the other processor, A
In this embodiment, the above-mentioned timer 53 is also used to measure the time until the CK signal is returned, and if the ACK signal is not returned within a predetermined time, This timer 53 notifies the application process 40 that there is an abnormality in the partner processor.
互いにデータ通信を行うプロセスから相手側に送出され
るポーリング信号の周期が互いに異なるようにされてい
るので、両方のプロセッサからのポーリング信号が同時
に送出されることがなく、したがって無用なポーリング
により時間を消費する無駄が排除できるという格別の効
果を達成できる。Since the cycles of polling signals sent from processes that communicate with each other to the other side are different from each other, polling signals from both processors are not sent at the same time, thus wasting time due to unnecessary polling. A special effect can be achieved in that consumption waste can be eliminated.
第1図は本発明の原理図、第2図はポーリング信号のタ
イムチャート、第3図はデータ通信の機能的構成を示す
図、第4図は本発明が適用されたプロセッサの実施例を
示すブロック図である。
10.20.30はプロセッサ、40は回線網、12.
17,22,27,32,37はタイマである。FIG. 1 is a diagram showing the principle of the present invention, FIG. 2 is a time chart of polling signals, FIG. 3 is a diagram showing the functional configuration of data communication, and FIG. 4 is a diagram showing an embodiment of a processor to which the present invention is applied. It is a block diagram. 10.20.30 is a processor, 40 is a line network, 12.
17, 22, 27, 32, and 37 are timers.
Claims (1)
、30−−−−−−−)が接続されるプロセッサネット
ワークにおいて、 夫々のプロセッサは、ポーリング信号あるいはデータ信
号を送信あるいは受信することによってリセットされる
タイマ(12、17、22、27、32、37−−−−
−−−)を処理するプロセス毎に備え、 これらのタイマは互にデータ伝送を行なうプロセッサの
プロセス間において互に異なる時限において相手側にポ
ーリングを行なうようにしたことを特徴とする相互監視
方式。[Claims] A plurality of processors (10, 20
, 30--), each processor has a timer (12, 17, 22, 27, 32, 37---
---), and these timers poll the other side at different time periods between processor processes that mutually transmit data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP61060966A JPS62219141A (en) | 1986-03-20 | 1986-03-20 | Mutual supervisory system in processor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP61060966A JPS62219141A (en) | 1986-03-20 | 1986-03-20 | Mutual supervisory system in processor |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS62219141A true JPS62219141A (en) | 1987-09-26 |
Family
ID=13157665
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP61060966A Pending JPS62219141A (en) | 1986-03-20 | 1986-03-20 | Mutual supervisory system in processor |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS62219141A (en) |
-
1986
- 1986-03-20 JP JP61060966A patent/JPS62219141A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4342995A (en) | Data network employing a single transmission bus for overlapping data transmission and acknowledgment signals | |
JP3454297B2 (en) | Method and apparatus for testing a link between network switches | |
US6122256A (en) | Fail-safe communications network for use in system power control | |
JPS62219141A (en) | Mutual supervisory system in processor | |
JPS59168736A (en) | Multi-drop transmission system | |
JP3471653B2 (en) | Data transmission equipment | |
JPH076126A (en) | Inter-processor bus transmission system | |
JPH0740702B2 (en) | Remote test circuit | |
KR100394553B1 (en) | Restart Devices and Methods for Specific Processors in IPC Systems | |
JPH055418B2 (en) | ||
KR940007156B1 (en) | Processor synchronization method for communication network | |
JPH0223740A (en) | Communication network system | |
JPH0358217B2 (en) | ||
JP2662424B2 (en) | Carrier control method in two-wire half-duplex communication | |
JP3263932B2 (en) | Data transmission equipment | |
JP2002330191A (en) | Method and system for detecting abnormality | |
JPS6222296B2 (en) | ||
JPH0213151A (en) | Local area network system | |
JPS62159245A (en) | Health checking system for computer system | |
JPS63193742A (en) | Data communication control system | |
JPH0426578B2 (en) | ||
JPS61157047A (en) | Packet information supervisory system | |
JPS6255172B2 (en) | ||
JP2002135280A (en) | Transmission system for digital protective relay system | |
JPH01209835A (en) | Multi-address response control system |