JPH07105829B2 - Communication device - Google Patents

Communication device

Info

Publication number
JPH07105829B2
JPH07105829B2 JP63297777A JP29777788A JPH07105829B2 JP H07105829 B2 JPH07105829 B2 JP H07105829B2 JP 63297777 A JP63297777 A JP 63297777A JP 29777788 A JP29777788 A JP 29777788A JP H07105829 B2 JPH07105829 B2 JP H07105829B2
Authority
JP
Japan
Prior art keywords
communication
message
cumulative
subject
processing unit
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.)
Expired - Fee Related
Application number
JP63297777A
Other languages
Japanese (ja)
Other versions
JPH02143741A (en
Inventor
信介 田村
泰邦 岡宅
俊文 関
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP63297777A priority Critical patent/JPH07105829B2/en
Publication of JPH02143741A publication Critical patent/JPH02143741A/en
Publication of JPH07105829B2 publication Critical patent/JPH07105829B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) 本発明は、システム内で発生した故障の検出及び故障に
よるシステム内での不良データの発生を防止する通信装
置に関する。
DETAILED DESCRIPTION OF THE INVENTION Object of the Invention (Industrial field of application) The present invention relates to a communication device for detecting a failure occurring in a system and preventing generation of bad data in the system due to the failure.

(従来の技術) 通信路で結合された通信主体群からなる通信システムで
は、通信主体がメッセージを読み落とすようなことがあ
り、その結果欠落した情報に基づいて処理された内容が
他の通信主体に伝わり、全体として誤まった出力をす
る。
(Prior Art) In a communication system composed of a group of communication subjects connected by a communication path, the communication subject sometimes reads a message, and as a result, the contents processed based on the missing information are transmitted to other communication subjects. And the output is incorrect as a whole.

従って、各通信主体上の処理を常に監視し、故障または
エラーを検出したらただちに対応する通信主体の動作を
止め、故障またはエラーによる悪影響が他の通信主体に
波及するのを防がなければならない。
Therefore, it is necessary to constantly monitor the processing on each communication entity, stop the operation of the corresponding communication entity as soon as a failure or error is detected, and prevent the adverse effects of the failure or error from spreading to other communication entities.

しかしながら、各通信主体は通信主体自身の動作をチェ
ックし、エラーまたは故障が発生すると適切な処理を施
すが、通信主体自身でチェック可能な範囲には限りが有
る。
However, although each communication entity checks the operation of the communication entity itself and performs appropriate processing when an error or failure occurs, the range that can be checked by the communication entity itself is limited.

このため、従来は同一の処理を実行する通信主体を多重
化することによってエラーまたは故障を検出していた。
例えば、同一の処理をする通信主体を2個用意し、他の
通信主体はそれら2つの通信主体から同一のメッセージ
を受取った時はそれが正しいと判断して処理を続行する
が、2つの通信主体から受取ったメッセージの内容が異
なる場合は、エラーまたは故障が発生したと判断して、
それに対応した処理をする。
Therefore, conventionally, an error or a failure is detected by multiplexing communication subjects that execute the same processing.
For example, if two communication subjects that perform the same process are prepared, and another communication subject receives the same message from these two communication subjects, it judges that it is correct and continues the process, but If the content of the message received from the subject is different, it is judged that an error or failure has occurred,
Perform corresponding processing.

(発明が解決しようとする課題) しかしながら、上述した方法によれば、次のような問題
があった。
(Problems to be Solved by the Invention) However, the above-mentioned method has the following problems.

通信主体を多重化するためにシステムを構成する要素
が増加し、それらの管理が複雑になる。
The number of constituent elements of the system increases in order to multiplex the communication subjects, and their management becomes complicated.

個々の通信主体が多重化された全ての通信主体からの
メッセージが到着するまでメッセージ受取り後の処理が
進められないため、システム全体の処理速度が低下す
る。多重化された通信主体の一つが故障してメッセージ
を送出しないような場合は、この問題は特に深刻にな
る。
Since the processing after receiving the message cannot proceed until the messages from all the communication entities in which the individual communication entities are multiplexed arrive, the processing speed of the entire system decreases. This problem becomes particularly serious when one of the multiplexed communication parties fails and does not send a message.

本発明はこのような事情に基づきなされたもので、通信
主体を多重化することなく通信主体のメッセージ読み落
とし等による通信主体の異常発見及び異常が他の通信主
体へ波及することを防止できる通信装置を提供すること
を目的としている。
The present invention has been made based on such a situation, and communication capable of preventing abnormality detection of a communication subject and transmission of the abnormality to other communication subjects due to message skipping of the communication subject without multiplexing the communication subjects. The purpose is to provide a device.

[発明の構成] (課題を解決するための手段) 請求項1記載の本発明は、メッセージが通過する通信路
と、この通信路へのメッセージ送出機能及び通信路から
のメッセージ読取り機能を備えた複数の通信主体を具備
した通信システムにおいて、前記各通信主体が、通信シ
ステム中の全ての通信主体が送出したメッセージの累積
量を計数し記憶する第1の手段と、この記憶した累積メ
ッセージ量を該通信主体自身が前記通信路に送出すべき
メッセージに付加する第2の手段と、該通信主体自身が
記憶した累積メッセージ量と受取ったメッセージに付加
された累積メッセージ量とを比較する第3の手段と、こ
の比較に基づき通信システム中の通信主体の異常を検出
する第4の手段とを具備する。
[Configuration of the Invention] (Means for Solving the Problems) The present invention according to claim 1 has a communication path through which a message passes, a message sending function to this communication path, and a message reading function from the communication path. In a communication system including a plurality of communication entities, each of the communication entities counts and stores a cumulative amount of messages sent by all communication entities in the communication system, and the stored cumulative message amount. A third means for adding the message to be sent to the communication path by the communication entity itself, and a third means for comparing the cumulative message amount stored by the communication entity itself with the cumulative message amount added to the received message. Means and fourth means for detecting abnormality of the communication subject in the communication system based on this comparison.

請求項2記載の本発明は、請求項1記載の通信装置にお
いて、比較に基づき通信システム中の通信主体の異常を
検出する第4の手段が、該通信主体が他の通信主体から
メッセージを受取った時、該通信主体自身が記憶してい
る累積メッセージ量と受取ったメッセージに付加された
累積メッセージ量とが一致しない場合に、受取ったメッ
セージを無効化することを特徴とする。
According to a second aspect of the present invention, in the communication device according to the first aspect, the fourth means for detecting an abnormality of the communication subject in the communication system based on the comparison is such that the communication subject receives a message from another communication subject. In this case, when the cumulative message amount stored by the communication subject itself does not match the cumulative message amount added to the received message, the received message is invalidated.

請求項3記載の本発明は、メッセージが通過する通信路
と、この通信路へのメッセージ送出機能及び通信路から
のメッセージ読取り機能を備えた複数の通信主体を具備
した通信システムにおいて、前記各通信主体が、通信シ
ステム中の全ての通信主体が送出したメッセージの累積
量を計数し記憶する第1の手段と、この記憶した累積メ
ッセージ量を該通信主体自身が前記通信路に送出すべき
メッセージに付加する第2の手段と、該通信主体自身が
記憶した累積メッセージ量と受取ったメッセージに付加
された累積メッセージ量とを比較する第3の手段と、こ
の比較の結果、両者が一致しない場合に、該メッセージ
を送出した通信主体が異常であることを示すメッセージ
を通信路に送出する第4の手段とを具備する。
The present invention according to claim 3 is a communication system comprising a communication path through which a message passes, and a plurality of communication subjects having a function of sending a message to the communication path and a function of reading a message from the communication path. A first means for the main body to count and store the cumulative amount of messages sent by all the communication parties in the communication system, and the stored cumulative message amount as a message to be sent to the communication path by the communication party itself. The second means for adding, the third means for comparing the cumulative message amount stored by the communication subject itself with the cumulative message amount added to the received message, and the result of this comparison, when they do not match And a fourth means for sending a message indicating that the communication subject that sent the message is abnormal to the communication path.

請求項4記載の本発明は、メッセージが通過する通信路
と、この通信路へのメッセージ送出機能及び通信路から
のメッセージ読取り機能を備えた複数の通信主体を具備
した通信装置において、前記各通信主体が、通信システ
ム中の全ての通信主体が送出したメッセージの累積量を
計数し記憶する第1の手段と、この記憶した累積メッセ
ージ量を該通信主体自身が前記通信路に送出すべきメッ
セージに付加する第2の手段と、該通信主体自身が記憶
した累積メッセージ量と受取ったメッセージに付加され
た累積メッセージ量とを比較する第3の手段と、この比
較の結果、両者が一致しない場合に、該メッセージを通
信路に送出する第4の手段と、動的または静的に定まる
期間内に、他の通信主体から該通信主体自身が異常であ
ることを示すメッセージを静的または動的に定まる個数
以上受取ったとき、通信主体自身の通信機能を停止する
第5の手段とを備えている。
The present invention according to claim 4 is a communication apparatus comprising a communication path through which a message passes, and a plurality of communication subjects having a message sending function to the communication path and a message reading function from the communication path. A first means for the main body to count and store the cumulative amount of messages sent by all the communication parties in the communication system, and the stored cumulative message amount as a message to be sent to the communication path by the communication party itself. The second means for adding, the third means for comparing the cumulative message amount stored by the communication entity itself with the cumulative message amount added to the received message, and the result of this comparison, when the two do not match A fourth means for sending the message to the communication channel, and a message indicating that the communication entity itself is abnormal from another communication entity within a dynamically or statically determined period. When it received or the number determined the over-di static or dynamic, and a fifth means for stopping the communication function of the communication partner itself.

請求項5記載の本発明は、請求項3記載の通信装置にお
いて、通信主体が、送出するメッセージに異常識別子を
付加し、該通信主体が他の通信主体から受取ったメッセ
ージに付加された累積メッセージ量と該通信主体自身が
記憶している累積メッセージ量とが一致しない場合に、
該メッセージの異常識別子及び該メッセージを送出した
通信主体が異常であることを示すメッセージを通信路に
送出する手段と、静的または動的に定まる個数以上の通
信主体から同一の前記メッセージの異常識別子を伴なう
通信主体自身が異常であることを示すメッセージを受取
ったとき、通信主体自身の通信機能を停止する手段とを
備えたことを特徴とする。
According to a fifth aspect of the present invention, in the communication device according to the third aspect, the communication subject adds an abnormal identifier to a message to be sent, and the cumulative message added to the message received from the other communication subject by the communication subject. When the amount does not match the cumulative message amount stored by the communication subject itself,
Abnormal identifier of the message and means for transmitting a message indicating that the communication subject that sent the message is abnormal to the communication path, and the same abnormal identifier of the message from the number of communication subjects that are statically or dynamically determined or more And a means for stopping the communication function of the communication subject itself when receiving a message indicating that the communication subject itself is abnormal.

(作 用) 本発明では、各通信主体が、通信システム中の通信主体
が送出したメッセージの累積量を計数し記憶し、累積メ
ッセージ量を該通信主体自身が通信路に送出すべきメッ
セージに付加している。そして、通信主体自身が記憶し
た累積メッセージ量と受取ったメッセージに付加された
累積メッセージ量とを比較し、この比較結果に基づき通
信システム中の通信主体の異常を検出しているので、同
一の作用をする通信主体を多重化することなく通信主体
のメッセージ読み落とし等による通信主体の異常発見及
び異常が他の通信主体へ波及することを防止できる。
(Operation) In the present invention, each communication entity counts and stores the cumulative amount of messages sent by the communication entities in the communication system, and adds the cumulative message amount to the message to be sent to the communication path by the communication entity itself. is doing. Then, the cumulative message amount stored by the communication subject itself is compared with the cumulative message amount added to the received message, and the abnormality of the communication subject in the communication system is detected based on the comparison result. It is possible to prevent the abnormality detection and abnormality of the communication subject from being transmitted to other communication subjects due to the message skipping of the communication subject without multiplexing the communication subjects performing the communication.

(実施例) 以下、本発明の実施例を図面に基づいて詳細に説明す
る。
(Example) Hereinafter, the Example of this invention is described in detail based on drawing.

第1図は本発明の一実施例に係る通信装置の構成を示す
図である。
FIG. 1 is a diagram showing a configuration of a communication device according to an embodiment of the present invention.

本装置は、同図に示すように、通信路1に複数の通信主
体2a、2b…を接続して成るものである。
As shown in the figure, this device is configured by connecting a plurality of communication subjects 2a, 2b ... To the communication path 1.

通信主体2a、2b…(以下、これらを総称して通信主体2
とする。)は、各々の通信主体2毎に固有の処理を実行
する本処理部3a、3b…(以下、これらを総称して本処理
部3とする。)と、通信路1に接続され、通信主体2相
互間で情報交換を実行する通信処理部4a、4b…(以下、
これらを総称して通信処理部4とする。)とから成る。
即ち、通信主体2は通信処理部4を介して通信路1にメ
ッセージを送出すると共に、通信路1のメッセージを受
取ることによって、他の通信主体2との間で情報交換を
行う。
Communication subject 2a, 2b ... (Hereinafter, these are collectively referred to as communication subject 2
And ) Is connected to the communication path 1 and main processing units 3a, 3b ... (Hereinafter collectively referred to as main processing unit 3) that execute processing unique to each communication main body 2, The communication processing units 4a, 4b ... (Hereinafter, which execute information exchange between the two
These are collectively referred to as the communication processing unit 4. ) And.
That is, the communication entity 2 sends a message to the communication channel 1 via the communication processing unit 4 and receives a message on the communication channel 1 to exchange information with another communication entity 2.

第2図は通信処理部4の構成を示す図である。FIG. 2 is a diagram showing the configuration of the communication processing unit 4.

通信処理部4は、同図に示すように、送信処理部5、受
信処理部6及び比較処理部7から成る。
The communication processing unit 4 is composed of a transmission processing unit 5, a reception processing unit 6 and a comparison processing unit 7, as shown in FIG.

送信処理部5は本処理部3が送出したメッセージを線路
8を通じて受取り、必要ならばパケット分解などの処理
をするが、比較処理部7と連動して以下の処理も行う。
即ち、送信処理部5は、比較処理部7より線路9を通じ
て、比較処理部7が記憶している現在までに通信路1を
通過したメッセージ量の累積である累積メッセージ量を
受取る。そして、この累積メッセージ量に対して本処理
部3が送出しようとしているメッセージの量を加えた量
を計算し、その計算結果を送信処理部5のメッセージ送
出後の累積メッセージ量とする。
The transmission processing unit 5 receives the message sent by the main processing unit 3 through the line 8 and performs processing such as packet disassembly if necessary, but also performs the following processing in cooperation with the comparison processing unit 7.
That is, the transmission processing unit 5 receives, via the line 9 from the comparison processing unit 7, the accumulated message amount that is the accumulation of the message amounts that have passed through the communication path 1 and is stored in the comparison processing unit 7 up to the present time. Then, an amount obtained by adding the amount of the message to be transmitted by the processing unit 3 to the accumulated message amount is calculated, and the calculation result is set as the accumulated message amount after the message is transmitted by the transmission processing unit 5.

次に、送信処理部5は、第3図に示すように、送出すべ
きメッセージをメッセージ本文として、これにメッセー
ジの宛先識別子、メッセージの発信元である送信処理部
5が属する通信主体2の識別子、送出メッセージ量及び
先に計算したメッセージ送出後の累積メッセージ量を付
加した形式のメッセージを作成し、線路11を通じて通信
路1に送出する。
Next, as shown in FIG. 3, the transmission processing unit 5 defines the message to be transmitted as the message body, and the destination identifier of the message and the identifier of the communication subject 2 to which the transmission processing unit 5 as the sender of the message belongs. , A message having a format in which the amount of outgoing message and the previously calculated cumulative amount of message after outgoing message are added is created and sent to the communication path 1 through the line 11.

さらに、送信処理部5は、メッセージの送出が正常に終
了すると、線路10を通じて比較処理部7に対し、先に計
算したメッセージ送出後の累積メッセージ量を通知す
る。
Further, when the transmission of the message ends normally, the transmission processing unit 5 notifies the comparison processing unit 7 through the line 10 of the previously calculated cumulative message amount after the message transmission.

そして、比較処理部7は線路10を通じて累積メッセージ
量を受取ると、今まで比較処理部7自身が記憶していた
累積メッセージ量を、この受取った累積メッセージ量で
置換える。
Then, when the comparison processing unit 7 receives the cumulative message amount via the line 10, the comparison processing unit 7 replaces the cumulative message amount stored by the comparison processing unit 7 itself with the received cumulative message amount.

ここで、累積メッセージ量としては、通信路1を通過し
たメッセージの個数やメッセージ・サイズの累積等を使
うことが考えられる。ただし、メッセージの個数を使用
する時は、送出メッセージ量は必ず“1"になるので、第
3図に示したメッセージの形式における送出メッセージ
量は不要になる。
Here, as the cumulative message amount, it is possible to use the number of messages that have passed through the communication path 1, the cumulative message size, or the like. However, when the number of messages is used, the amount of outgoing message is always "1", and therefore the amount of outgoing message in the message format shown in FIG. 3 is unnecessary.

一方、通信路1からのメッセージは、線路12を通じて、
受信処理部6が受取る。
On the other hand, the message from communication channel 1
The reception processing unit 6 receives it.

受信処理部6は、受取ったメッセージの宛先を調べそれ
が受信処理部6自身の属する通信主体2に対するもので
あるならば、受取ったメッセージからメッセージ本文を
抽出し、必要ならばパケット組立て等を施して、線路13
を通じて本処理部3へ転送する。
The reception processing unit 6 checks the destination of the received message and, if it is for the communication subject 2 to which the reception processing unit 6 itself belongs, extracts the message body from the received message and performs packet assembly or the like if necessary. And track 13
To the main processing unit 3 through.

また、受信処理部6は、このような処理の他に、受取っ
たメッセージの宛先が受信処理部6自身の属する通信主
体2であるか否かに拘りなく、受取ったメッセージか
ら、即ち第3図に示したメッセージから送信元、送出メ
ッセージ量及び累積メッセージ量を抽出する(なお、メ
ッセージ量としてメッセージの個数を使う場合は、送出
メッセージ量の抽出は不要である。)。そして、これら
抽出したメッセージを線路14を通じて比較処理部7に通
知する。
In addition to such processing, the reception processing unit 6 receives the received message from the received message regardless of whether the destination of the received message is the communication subject 2 to which the reception processing unit 6 itself belongs, that is, FIG. The sender, the outgoing message amount, and the cumulative message amount are extracted from the message shown in (1). Note that when the number of messages is used as the message amount, the outgoing message amount need not be extracted. Then, these extracted messages are notified to the comparison processing unit 7 through the line 14.

比較処理部7は、線路14を通じて送信元、送出メッセー
ジ量及び累積メッセージ量を受取ると、比較処理部7自
身が記憶している累積メッセージ量に受取った送出メッ
セージ量を加えた値と受取った累積メッセージ量とを比
較する。そして、これらが一致しない場合は、受取った
送信元に対応する通信主体2が故障したと判断して、必
要ならば線路15を通じて本処理部2に通知する。一方、
一致する場合には、比較処理部7自身が記憶している累
積メッセージ量から、比較処理部7自身が記憶している
累積メッセージ量に受取った送出メッセージ量を加えた
値に置換する。ただし、最後の置換え処理は比較の結果
に拘らず行っても、同じ効果を得ることができる。
When the comparison processing unit 7 receives the sender, the outgoing message amount, and the cumulative message amount via the line 14, the comparison processing unit 7 itself adds the received message amount to the cumulative message amount stored by the comparison processing unit 7 and the received cumulative value. Compare with message volume. If they do not match, it is determined that the communication subject 2 corresponding to the received transmission source has failed, and if necessary, the main processing unit 2 is notified via the line 15. on the other hand,
When they match, the cumulative message amount stored in the comparison processing unit 7 itself is replaced with a value obtained by adding the received message amount to the cumulative message amount stored in the comparison processing unit 7 itself. However, the same effect can be obtained even if the final replacement process is performed regardless of the comparison result.

しかるに、LANのような通信路では、同時には1つの通
信主体2しかメッセージを送出することができないの
で、通信路1のメッセージ送出と通信路1からのメッセ
ージ受取りを正常に行っている通信主体群に属する比較
処理部7の記憶している累積メッセージ量は常に等し
い。
However, in a communication path such as a LAN, only one communication entity 2 can send a message at the same time, so a group of communication entities that normally perform message transmission on the communication path 1 and message reception from the communication path 1 The cumulative message amount stored in the comparison processing unit 7 belonging to is always the same.

故に、比較処理部7が上述の処理で比較処理部7自身の
記憶している累積メッセージ量と受取った累積メッセー
ジ量の不一致を発見することによって、比較処理部7自
身の属する通信主体2もしくはメッセージを送出した通
信主体2に異常のあったことが分かる。
Therefore, when the comparison processing unit 7 finds a mismatch between the cumulative message amount stored in the comparison processing unit 7 itself and the received cumulative message amount in the above process, the communication subject 2 or the message to which the comparison processing unit 7 itself belongs It can be seen that the communication subject 2 that has sent

以上の説明では、不一致を発見した場合はメッセージの
送信元に異常が有ったと判断して受信側の通信主体は動
作を続ける。もし受信側の通信主体に故障が有った場合
でも、該通信主体が次にメッセージを送出した時、その
受取り側通信主体2の比較処理部7が、メッセージを送
出した側の異常を発見するので何ら不都合は生じない。
In the above description, when a mismatch is found, it is determined that the sender of the message has an abnormality, and the communication party on the receiving side continues to operate. Even if the communication party on the receiving side has a failure, when the communication party next sends a message, the comparison processing unit 7 of the receiving communication party 2 detects an abnormality on the side sending the message. Therefore, no inconvenience will occur.

なお、第2図に示した送信処理部5は、線路10を通じ
て、比較処理部7にメッセージ送出後の累積メッセージ
量を通知したが、この代りに送出メッセージ量を通知し
比較処理部7がメッセージ送出後の累積メッセージ量を
算出してもよい。この方式の場合、さらにメッセージ量
にメッセージの個数を用いると、送出メッセージ量は必
ず“1"であるから、送信処理部5は比較処理部7に対し
線路10を通じてメッセージの送出が正常に行われたこと
のみを通知すればよい。
The transmission processing unit 5 shown in FIG. 2 notifies the comparison processing unit 7 of the cumulative message amount after the message is sent via the line 10, but instead, the transmission processing unit 5 notifies the sending message amount and the comparison processing unit 7 sends the message. The cumulative message amount after transmission may be calculated. In the case of this method, if the number of messages is further used as the message amount, the transmitted message amount is always "1". Therefore, the transmission processing unit 5 normally transmits the message to the comparison processing unit 7 through the line 10. All you have to do is notify.

第3図に示したメッセージでは、累積メッセージ量とし
て送信処理部5が計算したメッセージ送出後の累積メッ
セージ量を用いていたが、その代りにメッセージ送出前
の累積メッセージ量を用いて、メッセージの受取り側で
メッセージ送出後の累積メッセージ量を算出することも
できる。
In the message shown in FIG. 3, the cumulative message amount calculated by the transmission processing unit 5 after sending the message is used as the cumulative message amount, but instead, the cumulative message amount before sending the message is used to receive the message. The side can also calculate the cumulative message amount after sending the message.

さらに、第3図に示した送出メッセージ量としては、そ
れによって送出メッセージ量が算出できるような値であ
れば何でもよく、例えば累積メッセージ量としてメッセ
ージ送出後の累積メッセージ量を使う時、メッセージ送
出前の累積メッセージ量が分かれば送出メッセージ量が
計算できる。
Further, the outgoing message amount shown in FIG. 3 may be any value as long as the outgoing message amount can be calculated by it. For example, when the cumulative message amount after sending the message is used as the cumulative message amount, before sending the message. If the cumulative message amount of is known, the outgoing message amount can be calculated.

次に、本発明の第2の実施例を説明する。Next, a second embodiment of the present invention will be described.

第4図は本発明の第2の実施例に係る通信処理部の構成
を示す図である。
FIG. 4 is a diagram showing the configuration of the communication processing unit according to the second embodiment of the present invention.

即ち、第2図に示した比較処理部7においては、比較処
理部7が比較処理部7自身の記憶している累積メッセー
ジ量と受信したメッセージに含まれる累積メッセージ量
とを比較することによって通信主体の異常を発見するも
のであったが、第4図に示す当該第2の実施例の構成で
は、異常による悪影響が正常に動作している通信主体2
に波及するのを防ぐという機能をさらに具備する。
That is, in the comparison processing unit 7 shown in FIG. 2, the comparison processing unit 7 compares the cumulative message amount stored in the comparison processing unit 7 itself with the cumulative message amount included in the received message to perform communication. Although the abnormality of the main body was discovered, the communication main body 2 in which the adverse effect of the abnormality is normally operating in the configuration of the second embodiment shown in FIG.
It further has the function of preventing the spread of

第4図に示す送信処理部16は、比較処理部18と連動し
て、第2図に示した送信処理部5が比較処理部7と連動
して行ったのと全く同じ動作をする。
The transmission processing unit 16 shown in FIG. 4 operates in the same manner as the transmission processing unit 5 shown in FIG. 2 operates in conjunction with the comparison processing unit 7 in cooperation with the comparison processing unit 18.

一方、第2図に示した受信処理部6では、受取ったメッ
セージのメッセージ本体は線路13を通じて、直接本処理
部3へ送出されたのに対し、第4図に示す実施例では、
メッセージ本体も比較処理部18を経由して本処理部3に
送出される。即ち、受信処理部17は線路23を通じて通信
路1からメッセージを受取ると、その宛先が自身の属す
る通信主体2である場合は、必要ならばパケット組立て
などの処理を施こして全メッセージを、またその宛先が
受信処理部17自身の属する通信主体2でない場合は、少
なくとも第3図に示したメッセージのうち送信元と送出
メッセージ量、累積メッセージ量を含む部分を線路24を
通じて比較処理部18に転送する。
On the other hand, in the reception processing unit 6 shown in FIG. 2, the message body of the received message is directly sent to the main processing unit 3 through the line 13, whereas in the embodiment shown in FIG.
The message body is also sent to the main processing unit 3 via the comparison processing unit 18. That is, when the reception processing unit 17 receives a message from the communication path 1 through the line 23, if the destination is the communication subject 2 to which the message belongs, the reception processing unit 17 performs processing such as packet assembling, if necessary, for the entire message, When the destination is not the communication entity 2 to which the reception processing unit 17 itself belongs, at least a portion including the transmission source, the transmission message amount, and the cumulative message amount of the message shown in FIG. 3 is transferred to the comparison processing unit 18 through the line 24. To do.

線路24を通じて信号を受取った比較処理部18は、比較処
理部18自身が記憶している累積メッセージ量に受取った
送出メッセージ量を加えた値と受取った累積メッセージ
量とを比較する。そして、それらが異なる場合は、受取
った送信元に対応する通信主体2に異常があったと判断
して、メッセージ本文を本処理部3へ送ることはしな
い。また、必要ならば線路25を通じて本処理部3に送信
元に対応する通信主体2の異常を通知する。一方、比較
処理部18で比較する2つの値が一致する場合は、比較処
理部18が記憶している累積メッセージ量を線路24を通じ
て受取った累積メッセージ量で置換え、さらにメッセー
ジの宛先が比較処理部18自身の属する通信主体2である
場合は、メッセージ本文を線路25を通じて本処理部3に
送出する。
The comparison processing unit 18, which has received the signal through the line 24, compares the cumulative message amount stored by the comparison processing unit 18 itself with the value of the sent message received and the received cumulative message amount. If they are different, it is determined that the communication subject 2 corresponding to the received transmission source has an abnormality, and the message body is not sent to the main processing unit 3. If necessary, the processing unit 3 is notified of the abnormality of the communication subject 2 corresponding to the transmission source through the line 25. On the other hand, if the two values compared by the comparison processing unit 18 match, the cumulative message amount stored in the comparison processing unit 18 is replaced with the cumulative message amount received through the line 24, and the destination of the message is the comparison processing unit. If it is the communication entity 2 to which 18 itself belongs, the message body is sent to the main processing unit 3 through the line 25.

このように本実施例においては、異常を発見した通信主
体2から送られるメッセージの本処理部3への転送を止
めることにより、異常が正常に動作している通信主体2
に波及することを防止することができる。
In this way, in this embodiment, by stopping the transfer of the message sent from the communication subject 2 that has detected the abnormality to the main processing unit 3, the communication subject 2 in which the abnormality is operating normally
It is possible to prevent the spread to.

次に、本発明の第3の実施例を説明する。Next, a third embodiment of the present invention will be described.

第5図は本発明の第3の実施例に係る通信処理部の構成
を示す図である。
FIG. 5 is a diagram showing the configuration of the communication processing unit according to the third embodiment of the present invention.

即ち、第2図あるいは第4図に示した通信処理部では、
比較処理部7、18が異常を発見した時、異常が比較処理
部7、18自身の属する通信主体2で発生したのかあるい
はメッセージの送信元である通信主体2で発生したのか
を判定することはできなかったが、第5図に示す通信処
理部では、異常の発生した通信主体2を特定し、かつ特
定した通信主体2による通信活動を停止させる装置構成
になっている。そして、本構成により、異常の発生した
通信主体2から無駄なメッセージが通信路1に流れ続け
ることが防止できる。
That is, in the communication processing unit shown in FIG. 2 or 4,
When the comparison processing units 7 and 18 detect an abnormality, it is not possible to determine whether the abnormality has occurred in the communication subject 2 to which the comparison processing units 7 and 18 themselves belong or in the communication subject 2 that is the sender of the message. Although not possible, the communication processing unit shown in FIG. 5 has a device configuration in which the communication entity 2 in which an abnormality has occurred is identified and the communication activity by the identified communication entity 2 is stopped. With this configuration, it is possible to prevent unnecessary messages from continuously flowing to the communication path 1 from the communication subject 2 in which an abnormality has occurred.

第5図に示す通信処理部の構成は、第4図に示した通信
処理部の構成の変形である。
The configuration of the communication processing unit shown in FIG. 5 is a modification of the configuration of the communication processing unit shown in FIG.

即ち、送信処理部27、受信処理部28、比較処理部29は各
々第4図に示した送信処理部16、受信処理部17、比較処
理部18とほぼ同じ動作をする。
That is, the transmission processing unit 27, the reception processing unit 28, and the comparison processing unit 29 perform substantially the same operations as the transmission processing unit 16, the reception processing unit 17, and the comparison processing unit 18 shown in FIG. 4, respectively.

送信処理部27及び受信処理部28は、第4図に示したもの
とは異なり、異常処理部30からも各々線路40、41を通じ
て通信処理部自身の属する通信主体2が異常であること
を示す信号を受取るようになっており、この信号を受取
った時は送信、受信動作を停止する。
The transmission processing unit 27 and the reception processing unit 28 are different from those shown in FIG. 4 and indicate from the abnormality processing unit 30 that the communication subject 2 to which the communication processing unit itself belongs is abnormal through the lines 40 and 41, respectively. It is designed to receive a signal, and when it receives this signal, it stops transmitting and receiving operations.

また、比較処理部29は、第4図に示したものとは異な
り、線路38、39を通じて送信処理部27、異常処理部30へ
も信号を送出する。即ち、比較処理部29は、第4図に示
した比較処理部18と同じように、通信処理部自身が記憶
している累積メッセージ量と受信処理部28から線路36を
通じて受取ったメッセージに含まれる累積メッセージ量
を比較するが、この結果2つの値が一致しない場合はメ
ッセージ送出元が異常であることを示すメッセージを作
り出し、線路38を通じて送信処理部27さらには通信路1
へ送出する。また、比較処理部29は、線路36を通じて得
たメッセージが通信処理部自身の属する通信主体2が異
常であることを示すものならば、そのメッセージを線路
37を通じて本処理部3に送出することはせず、異常を示
す信号をメッセージに含まれる送信元と一緒に線路39を
通じて異常処理部30へ送出する。
Further, the comparison processing unit 29, unlike the one shown in FIG. 4, also sends a signal to the transmission processing unit 27 and the abnormality processing unit 30 through the lines 38 and 39. That is, the comparison processing unit 29, like the comparison processing unit 18 shown in FIG. 4, is included in the cumulative message amount stored in the communication processing unit itself and the message received from the reception processing unit 28 through the line 36. The cumulative message amounts are compared. If the two values do not match as a result, a message indicating that the message transmission source is abnormal is generated, and the transmission processing unit 27 and the communication path 1 are transmitted via the line 38.
Send to. If the message obtained through the line 36 indicates that the communication subject 2 to which the communication processing unit itself belongs is abnormal, the comparison processing unit 29 sends the message to the line.
The signal indicating the abnormality is not transmitted to the main processing unit 3 through 37, but is transmitted to the abnormality processing unit 30 through the line 39 together with the transmission source included in the message.

異常処理部30は、線路39を通じて得た信号を定められた
期間だけ保存しておき、一定期間内に定められた数の異
なった通信主体2から当該通信主体2が異常であること
を示すメッセージを受取った時、当該通信主体2が異常
であると判断して、送信処理部27、受信処理部28に各々
線路40、41を通じて異常通知を送出しそれらの動作を停
止させる。
The abnormality processing unit 30 stores the signal obtained through the line 39 for a predetermined period, and a message indicating that the communication subject 2 is abnormal from a predetermined number of different communication subjects 2 within a certain period. When the communication subject 2 is received, it is determined that the communication subject 2 is abnormal, and an abnormality notification is sent to the transmission processing unit 27 and the reception processing unit 28 through the lines 40 and 41, respectively, and their operations are stopped.

ここで、当該通信主体2が異常であると判断するまでに
必要な異常を示すメッセージを送出した通信主体2の数
は、例えば“2"あるいはシステム内で稼働中の通信主体
2の数の過半数等のように設定する。また、それらの通
信主体2から受取った異常を示すメッセージの有効な期
間は、タイマ等で規定される絶対時間、あるいは受信処
理部28が通信路1から受取るメッセージの個数として設
定または測定でする。
Here, the number of communication subjects 2 that has sent a message indicating an abnormality necessary for determining that the communication subject 2 is abnormal is, for example, “2” or a majority of the number of communication subjects 2 that are operating in the system. And so on. Further, the valid period of the message indicating the abnormality received from the communication subject 2 can be set or measured as an absolute time defined by a timer or the like, or as the number of messages received by the reception processing unit 28 from the communication path 1.

メッセージ識別子としては第6図に示したメッセージ発
生時刻をメッセージ発生時刻と発信元との対を利用でき
るが、比較処理部29が線路38を通じてメッセージ送出元
が異常である信号を送出する時に受取りメッセージのメ
ッセージ識別子を異常識別子として付加すれば、同一の
異常識別子を持つ定められた個数の異なる通信主体2が
発見さらに通知した異常通知を、異常処理部30が受取っ
た時に自身が異常であると判断するようにもできる。
As the message identifier, the message generation time shown in FIG. 6 can be used as a pair of the message generation time and the transmission source. However, when the comparison processing unit 29 transmits a signal indicating that the transmission source is abnormal through the line 38, the received message is received. If the message identifier of is added as the abnormality identifier, the abnormality processing unit 30 determines that the abnormality is detected when the abnormality processing unit 30 receives an abnormality notification that is detected and notified by a different number of communication subjects 2 having the same abnormality identifier. You can also do it.

いずれにしても本実施例によれば、このような手段によ
り短かい時間帯に複数の通信主体2が異常であると認識
した通信主体2が異常であると特定されるので、異常特
定確度は高くなる。
In any case, according to the present embodiment, the communication main body 2 that has recognized that the plurality of communication main bodies 2 is abnormal in a short time period by such means is specified as abnormal, and therefore the abnormality identification accuracy is Get higher

[発明の効果] 本発明により、通信主体を多重化することなく通信主体
のメッセージ読み落としなどによる通信主体の異常発見
と、異常の他通信主体への波及防止が可能になる。
[Advantages of the Invention] According to the present invention, it is possible to detect an abnormality of a communication subject due to a message skipping of the communication subject without multiplexing the communication subjects and to prevent the abnormality from being propagated to other communication subjects.

従って個々の通信主体上の処理の多重化による複雑化が
なくなり、さらに多重化された全ての通信主体からメッ
セージが到着することで待つことによる処理速度の低下
が防止できる。
Therefore, the complication due to the multiplexing of the processing on each communication entity is eliminated, and further, it is possible to prevent the decrease in the processing speed due to the waiting when the messages arrive from all the multiplexed communication entities.

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

第1図は本発明の一実施例に係る通信システムの構成を
示す図、第2図は第1図における通信処理部の構成を示
す図、第3図はそのメッセージの例を示す図、第4図は
本発明の第2の実施例に係る通信処理部の構成を示す
図、第5図は本発明の第3の実施例に係る通信処理部の
構成を示す図、第6図はそのメッセージの例を示す図で
ある。 1……通信路、2a、2b……通信主体、3a、3b……本処理
部、4a、4b……通信処理部、5……送信処理部、6……
受信処理部、7……比較処理部。
FIG. 1 is a diagram showing a configuration of a communication system according to an embodiment of the present invention, FIG. 2 is a diagram showing a configuration of a communication processing unit in FIG. 1, FIG. 3 is a diagram showing an example of its message, FIG. FIG. 4 is a diagram showing the configuration of a communication processing unit according to the second embodiment of the present invention, FIG. 5 is a diagram showing the configuration of the communication processing unit according to the third embodiment of the present invention, and FIG. It is a figure which shows the example of a message. 1 ... communication path, 2a, 2b ... communication subject, 3a, 3b ... main processing section, 4a, 4b ... communication processing section, 5 ... transmission processing section, 6 ...
Reception processing unit, 7 ... Comparison processing unit.

フロントページの続き (56)参考文献 「OSI」日本規格協会(1987)P.56 図2.13,P.100〜101 図3.22及び 表3.11Continuation of the front page (56) References "OSI" Japanese Standards Association (1987) p. 56 Figure 2.13, P. 100 to 101 Figure 3.22 and Table 3.11

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】メッセージが通過する通信路と、この通信
路へのメッセージ送出機能及び通信路からのメッセージ
読取り機能を備えた複数の通信主体を具備した通信シス
テムにおいて、 前記各通信主体が、通信システム中の全ての通信主体が
送出したメッセージの累積量を計数し記憶する第1の手
段と、この記憶した累積メッセージ量を該通信主体自身
が前記通信路に送出すべきメッセージに付加する第2の
手段と、該通信主体自身が記憶した累積メッセージ量と
受取ったメッセージに付加された累積メッセージ量とを
比較する第3の手段と、この比較に基づき通信システム
中の通信主体の異常を検出する第4の手段とを具備する
ことを特徴とする通信装置。
1. A communication system comprising a communication path through which a message passes, and a plurality of communication entities having a function of sending a message to the communication path and a function of reading a message from the communication path, wherein each communication entity communicates with each other. A first means for counting and storing the cumulative amount of messages sent by all communication parties in the system; and a second means for adding the stored cumulative message quantity to a message to be sent to the communication path by the communication party itself. Means for comparing the cumulative message amount stored by the communication subject itself with the cumulative message amount added to the received message, and the abnormality of the communication subject in the communication system is detected based on this comparison. A communication device comprising: a fourth means.
【請求項2】比較に基づき通信システム中の通信主体の
異常を検出する第4の手段が、該通信主体が他の通信主
体からメッセージを受取った時、該通信主体自身が記憶
している累積メッセージ量と受取ったメッセージに付加
された累積メッセージ量とが一致しない場合に、受取っ
たメッセージを無効化することを特徴とする請求項1記
載の通信装置。
2. A fourth means for detecting an abnormality of a communication subject in a communication system based on a comparison, when the communication subject receives a message from another communication subject, the cumulative information stored by the communication subject itself. 2. The communication device according to claim 1, wherein the received message is invalidated when the message amount does not match the cumulative message amount added to the received message.
【請求項3】メッセージが通過する通信路と、この通信
路へのメッセージ送出機能及び通信路からのメッセージ
読取り機能を備えた複数の通信主体を具備した通信シス
テムにおいて、 前記各通信主体が、通信システム中の全ての通信主体が
送出したメッセージの累積量を計数し記憶する第1の手
段と、この記憶した累積メッセージ量を該通信主体自身
が前記通信路に送出すべきメッセージに付加する第2の
手段と、該通信主体自身が記憶した累積メッセージ量と
受取ったメッセージに付加された累積メッセージ量とを
比較する第3の手段と、この比較の結果、両者が一致し
ない場合に、該メッセージを送出した通信主体が異常で
あることを示すメッセージを通信路に送出する第4の手
段とを具備することを特徴とする通信装置。
3. A communication system comprising a communication path through which a message passes, and a plurality of communication entities having a function of sending a message to the communication path and a function of reading a message from the communication path, wherein each communication entity communicates with each other. A first means for counting and storing the cumulative amount of messages sent by all communication parties in the system; and a second means for adding the stored cumulative message quantity to a message to be sent to the communication path by the communication party itself. Means for comparing the cumulative message amount stored by the communication subject itself with the cumulative message amount added to the received message, and if the result of this comparison is that they do not match, the message is And a fourth means for transmitting a message indicating that the transmitted communication subject is abnormal to the communication path.
【請求項4】メッセージが通過する通信路と、この通信
路へのメッセージ送出機能及び通信路からのメッセージ
読取り機能を備えた複数の通信主体を具備した通信装置
において、 前記各通信主体が、通信システム中の全ての通信主体が
送出したメッセージの累積量を計数し記憶する第1の手
段と、この記憶した累積メッセージ量を該通信主体自身
が前記通信路に送出すべきメッセージに付加する第2の
手段と、該通信主体自身が記憶した累積メッセージ量と
受取ったメッセージに付加された累積メッセージ量とを
比較する第3の手段と、この比較の結果、両者が一致し
ない場合に、該メッセージを通信路に送出する第4の手
段と、動的または静的に定まる期間内に、他の通信主体
から該通信主体自身が異常であることを示すメッセージ
を静的または動的に定まる個数以上受取ったとき、通信
主体自身の通信機能を停止する第5の手段とを備えたこ
とを特徴とする通信装置。
4. A communication device comprising a communication path through which a message passes, and a plurality of communication entities having a message sending function to the communication path and a message reading function from the communication path, wherein each communication entity communicates with each other. A first means for counting and storing the cumulative amount of messages sent by all communication parties in the system; and a second means for adding the stored cumulative message quantity to a message to be sent to the communication path by the communication party itself. Means for comparing the cumulative message amount stored by the communication subject itself with the cumulative message amount added to the received message, and if the result of this comparison is that they do not match, the message is A fourth means for sending out to the communication channel and a static message from another communication entity indicating that the communication entity itself is abnormal within a period determined dynamically or statically. Or a fifth means for stopping the communication function of the communication subject itself when more than the dynamically determined number is received.
【請求項5】通信主体が、送出するメッセージに異常識
別子を付加し、該通信主体が他の通信主体から受取った
メッセージに付加された累積メッセージ量と該通信主体
自身が記憶している累積メッセージ量とが一致しない場
合に、該メッセージの異常識別子及び該メッセージを送
出した通信主体が異常であることを示すメッセージを通
信路に送出する手段と、静的または動的に定まる個数以
上の通信主体から同一の前記メッセージの異常識別子を
伴なう通信主体自身が異常であることを示すメッセージ
を受取ったとき、通信主体自身の通信機能を停止する手
段とを備えたことを特徴とする請求項3記載の通信装
置。
5. A cumulative amount of messages added by a communication subject to a message sent from another communication subject by an abnormal identifier added to a message sent by the communication subject, and a cumulative message stored by the communication subject itself. A means for sending a message indicating that the abnormal identifier of the message and the communication subject that sent the message is abnormal to the communication path when the amounts do not match, and a number of communication subjects that are statically or dynamically determined 4. When receiving a message indicating that the communication subject itself is abnormal from the communication subject together with the same abnormality identifier of the message, the communication subject's own communication function is stopped. The communication device described.
JP63297777A 1988-11-25 1988-11-25 Communication device Expired - Fee Related JPH07105829B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63297777A JPH07105829B2 (en) 1988-11-25 1988-11-25 Communication device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63297777A JPH07105829B2 (en) 1988-11-25 1988-11-25 Communication device

Publications (2)

Publication Number Publication Date
JPH02143741A JPH02143741A (en) 1990-06-01
JPH07105829B2 true JPH07105829B2 (en) 1995-11-13

Family

ID=17851044

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63297777A Expired - Fee Related JPH07105829B2 (en) 1988-11-25 1988-11-25 Communication device

Country Status (1)

Country Link
JP (1) JPH07105829B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0720165B2 (en) * 1989-07-26 1995-03-06 株式会社東芝 Communication device
JP7063138B2 (en) * 2018-06-15 2022-05-09 日本電信電話株式会社 Alarm missing response system and alarm missing response method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
「OSI」日本規格協会(1987)P.56図2.13,P.100〜101図3.22及び表3.11

Also Published As

Publication number Publication date
JPH02143741A (en) 1990-06-01

Similar Documents

Publication Publication Date Title
US6049545A (en) System and method for message communications in a distributed telecommunications switch
KR100279207B1 (en) Communication control unit and message transmission method
US5870556A (en) Monitoring a messaging link
EP0469812A1 (en) Detection of duplicate alias addresses
JP3200439B2 (en) Configuration for monitoring bit errors in switching equipment
US6463037B1 (en) Looping detection apparatus
US20120155286A1 (en) Communication system
JPH07105829B2 (en) Communication device
JP2012028851A (en) Gateway unit
JPH0720165B2 (en) Communication device
JPS609246A (en) Monitor system for data circuit network
JPH0964872A (en) Network system
JP3617876B2 (en) ATM switch
JP2924752B2 (en) Failure communication method for ATM communication network
JP2712284B2 (en) Erroneous data output prevention method at the time of line switching of data transmission equipment
JPS6253546A (en) Loop prevention control system for routing
KR100630066B1 (en) Method for transmitting message by use of inspecting line in transmission system
JP3355952B2 (en) Network monitoring system
JP2002353912A (en) Method and device for transferring alarm
JPH02231835A (en) Node fault detector
JPH05244265A (en) Communication system
JPH06103251A (en) Monitor and control system for information processor
JPH0529183B2 (en)
JPH04356840A (en) Fault detecting system
JPS6195644A (en) Fault detection system

Legal Events

Date Code Title Description
S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071113

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081113

Year of fee payment: 13

LAPS Cancellation because of no payment of annual fees