JP2000244520A - Diagnosis method for redundant network - Google Patents

Diagnosis method for redundant network

Info

Publication number
JP2000244520A
JP2000244520A JP11042476A JP4247699A JP2000244520A JP 2000244520 A JP2000244520 A JP 2000244520A JP 11042476 A JP11042476 A JP 11042476A JP 4247699 A JP4247699 A JP 4247699A JP 2000244520 A JP2000244520 A JP 2000244520A
Authority
JP
Japan
Prior art keywords
network
partner station
standby
communication
diagnostic
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
JP11042476A
Other languages
Japanese (ja)
Other versions
JP2000244520A5 (en
Inventor
Hiroo Haraguchi
浩朗 原口
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.)
Yaskawa Electric Corp
Original Assignee
Yaskawa Electric 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 Yaskawa Electric Corp filed Critical Yaskawa Electric Corp
Priority to JP11042476A priority Critical patent/JP2000244520A/en
Publication of JP2000244520A publication Critical patent/JP2000244520A/en
Publication of JP2000244520A5 publication Critical patent/JP2000244520A5/en
Pending legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

(57)【要約】 【課題】 主系ネットワークの異常時に速やかに待機
系ネットワークに切替えられるようにする方法を提供す
る。 【解決手段】待機系ネットワーク5に接続された通信イ
ンターフェース3が、(1)通信する相手ステーション
に周期的に診断指令の伝文を送信し、(2)相手ステー
ションからの診断応答の有無をチェックし、(3)相手
ステーションからの診断応答が受信されれば、相手ステ
ーションおよび通信ケーブルなどのネットワーク構成要
素は正常であると判断し、(4)相手ステーションから
の診断応答が受信されなければ、相手ステーションおよ
び通信ケーブルなどのネットワーク構成要素は異常であ
ると判断し、(5)上位の情報処理部1に異常を通知す
る、という手順で、待機系ネットワーク5を診断する。
(57) [Summary] [PROBLEMS] To provide a method for promptly switching to a standby network when an abnormality occurs in a primary network. A communication interface (3) connected to a standby network (5) periodically transmits a message of a diagnostic command to a communicating partner station, and (2) checks for the presence or absence of a diagnostic response from the partner station. (3) If the diagnostic response from the partner station is received, it is determined that the network components such as the partner station and the communication cable are normal. (4) If the diagnostic response from the partner station is not received, The standby network 5 is diagnosed by the procedure of determining that the network components such as the partner station and the communication cable are abnormal, and (5) notifying the upper information processing unit 1 of the abnormality.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、伝送路が二重化さ
れた産業用ネットワークの診断方法に関し、特に、主系
ネットワークが異常の時に切替える待機系ネットワーク
の異常診断方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for diagnosing an industrial network having a redundant transmission line, and more particularly to a method for diagnosing an abnormality in a standby network which is switched when a main network is abnormal.

【0002】[0002]

【従来の技術】従来、ネットワークに接続された機器間
で通信するとき、ネットワークに異常がある場合は通信
ができなくなるので、その対策として伝送路が二重化さ
れている。二重化されたネットワークで通信する時は、
正常時は主系ネットワークが使われ、主系ネットワーク
が異常の時は待機系のネットワークに切り替えて使われ
るのが一般的になっている。
2. Description of the Related Art Conventionally, when communication is performed between devices connected to a network, communication cannot be performed if there is an abnormality in the network. When communicating on a duplicated network,
It is general that the primary network is used when the network is normal and the standby network is switched to the standby network when the primary network is abnormal.

【0003】[0003]

【発明が解決しようとする課題】ところが、そのような
二重化されたネットワークでは、主系ネットワークが異
常をきたして待機系ネットワークに切り替える時、待機
系ネットワークに接続される通信相手がダウンしていた
り、通信ケーブルなど待機系ネットワークの構成要素に
異常が発生していた場合は、待機系ネットワークを用い
た通信ができず、ネットワークシステム全体のダウンを
引き起こす恐れがあり、安全に運用する上で問題となっ
ていた。そこで、本発明はかかる問題に鑑みてなされた
ものであり、待機系ネットワークに接続された通信イン
ターフェースにネットワーク診断機能を持たせて待機系
ネットワークの異常を常時監視し、主系ネットワークの
異常時に速やかに待機系ネットワークに切替えられるよ
うにする方法を提供することを目的とする。
However, in such a duplicated network, when the main network becomes abnormal and switches to the standby network, the communication partner connected to the standby network is down, If an error occurs in a standby network component such as a communication cable, communication using the standby network cannot be performed, and the entire network system may be down.This is a problem in safe operation. I was Therefore, the present invention has been made in view of such a problem, and a communication interface connected to the standby network is provided with a network diagnostic function to constantly monitor the standby network for abnormalities, and to quickly monitor the abnormalities of the main network. It is another object of the present invention to provide a method for switching to a standby network.

【0004】[0004]

【課題を解決するための手段】上記課題を解決するため
に、本発明の二重化ネットワークの異常診断方法は、正
常時は主系ネットワークで通信を行い、その主系ネット
ワークが異常の時は待機系ネットワークに切り替えて通
信する際に、前記待機系ネットワークに接続された通信
インターフェースが、以下の手順で前記待機系ネットワ
ークを診断することを特徴としている。 (1)通信する相手ステーションに周期的に診断指令の
伝文を送信し、(2)相手ステーションからの診断応答
の有無をチェックし、(3)相手ステーションからの診
断応答が受信されれば、相手ステーションおよび通信ケ
ーブルなどのネットワーク構成要素は正常であると判断
し、(4)相手ステーションからの診断応答が受信され
なければ、相手ステーションおよび通信ケーブルなどの
ネットワーク構成要素は異常であると判断し、(5)上
位の情報処理部に異常を通知する。 以上のような手順で診断するので、主系ネットワークの
異常時に確実に待機系ネットワークに切替えることがで
き、通信を途切れることなく継続させることができるの
である。
In order to solve the above-mentioned problems, a method for diagnosing an error in a duplicated network according to the present invention performs communication on a main network in a normal state and a standby system in an abnormal state of the main network. When switching to a network for communication, a communication interface connected to the standby network diagnoses the standby network according to the following procedure. (1) A diagnostic command message is periodically transmitted to the communicating partner station, (2) the presence or absence of a diagnostic response from the partner station is checked, and (3) a diagnostic response from the partner station is received. It is determined that the network components such as the partner station and the communication cable are normal. (4) If no diagnostic response is received from the partner station, the network components such as the partner station and the communication cable are determined to be abnormal. , (5) Notify the upper information processing unit of the abnormality. Since the diagnosis is performed according to the above-described procedure, it is possible to reliably switch to the standby network in the event of an abnormality in the primary network, and to continue communication without interruption.

【0005】[0005]

【発明の実施の形態】以下、本発明の実施の形態につい
て図に基づいて説明する。図1は本発明の方法が適用さ
れる二重化されたネットワークの構成図である。図2は
待機系通信インターフェースに保持されている診断用通
信パラメータの内容を説明する図である。図3は本発明
における待機系通信インターフェースの処理手順を示す
フローチャートである。図4はネットワークがいずれも
正常である場合のネットワークの通信状態を示す図であ
る。図5は待機系ネットワークが異常である場合のネッ
トワークの通信状態を示す図である。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a configuration diagram of a duplex network to which the method of the present invention is applied. FIG. 2 is a view for explaining the contents of diagnostic communication parameters held in the standby communication interface. FIG. 3 is a flowchart showing a processing procedure of the standby communication interface in the present invention. FIG. 4 is a diagram showing a communication state of the network when all the networks are normal. FIG. 5 is a diagram illustrating a network communication state when the standby network is abnormal.

【0006】図1において、4は主系ネットワークであ
り、5は待機系ネットワーク、ST#1、ST#は主系
ネットワーク4と待機系ネットワーク5に接続されたス
テーションであり、これらによって二重化されたネット
ワーク系を成している。1は各ステーションに設けられ
た情報処理装置、2は各ステーションに設けられ主系ネ
ットワーク4に接続されて通信する主系通信インターフ
ェース、3は各ステーションに設けられ待機系ネットワ
ーク5に接続されて通信する待機系通信インターフェー
スであり、これらによってステーションST#1、ST
#2を成している。情報処理装置1は主系ネットワーク
4と待機系ネットワーク5の通信の切り替えを制御する
機能を持っており、主系ネットワーク4の正常時は主系
通信インターフェース2が使われて通信し、主系ネット
ワーク4の異常時は待機系通信インターフェース3使わ
れて通信される。なお、主系ネットワーク4と待機系ネ
ットワーク5の通信ケーブルは独立して張られている。
In FIG. 1, reference numeral 4 denotes a main network, 5 denotes a standby network, ST # 1 and ST # denote stations connected to the main network 4 and the standby network 5, and these stations are duplicated. It forms a network system. 1 is an information processing device provided in each station, 2 is a main communication interface provided in each station and connected to a main network 4 for communication, and 3 is provided in each station and connected to a standby network 5 for communication. The communication interface is a standby communication interface that performs communication between the stations ST # 1 and ST # 1.
# 2. The information processing device 1 has a function of controlling switching of communication between the main network 4 and the standby network 5. When the main network 4 is normal, the main communication interface 2 is used to perform communication. In the event of an abnormality in 4, communication is performed using the standby communication interface 3. The communication cables of the main network 4 and the standby network 5 are independently extended.

【0007】図2は待機系通信インターフェース3に保
持される診断用通信パラメータの内容を示している。診
断用通信パラメータは、待機系通信インターフェース3
の起動時に、情報処理装置1から待機系通信インターフ
ェース3に渡される。診断用通信パラメータは、診断を
行うステーションの個数を示す診断ST数と各ステーシ
ョンのアドレスを示すSTアドレスで構成されている。
FIG. 2 shows the contents of diagnostic communication parameters held in the standby communication interface 3. The communication parameters for diagnosis are
Is passed from the information processing apparatus 1 to the standby communication interface 3 at the time of startup. The diagnostic communication parameters include a diagnostic ST number indicating the number of stations to be diagnosed and an ST address indicating the address of each station.

【0008】図3は本発明の二重化ネットワークの異常
診断方法の処理手順を示すフローチャートである。診断
を開始すると、はじめに診断STがあるかどうかが判定
される(S1)。ここで診断STがなければ診断は終了
するが、診断STがあれば、診断伝文が送信され(S
2)、正常応答があるかどうかが判断される(S3)。
正常応答があれば(S1)に戻って、診断するSTがな
くなるまで上記手順が繰り返される。正常応答がなけれ
ば、異常判定が行われ(S4)、異常と判断されなけれ
ば、診断伝文が再度送信され(S6)、(S2)に戻っ
て上記手順が繰り返される。再送信(S6)を繰り返し
ても、正常応答がない場合、異常と判断され、上位情報
処理装置に対して異常通知を行い(S5)、(S1)に
戻って上記手順が繰り返される。
FIG. 3 is a flow chart showing the processing procedure of the method for diagnosing abnormality in a duplicated network according to the present invention. When the diagnosis is started, it is first determined whether there is a diagnosis ST (S1). Here, if there is no diagnosis ST, the diagnosis ends, but if there is a diagnosis ST, a diagnosis message is transmitted (S
2) It is determined whether there is a normal response (S3).
If there is a normal response, the process returns to (S1), and the above procedure is repeated until there is no ST to be diagnosed. If there is no normal response, an abnormality determination is made (S4), and if not, a diagnostic message is transmitted again (S6), and the procedure returns to (S2) to repeat the above procedure. If there is no normal response even after the retransmission (S6) is repeated, it is determined that the response is abnormal, an abnormality notification is made to the host information processing device (S5), and the procedure returns to (S1) and the above procedure is repeated.

【0009】図4は、上記手段による診断が行われてい
る時に、主系ネットワーク4と待機系ネットワーク5の
いずれも正常である場合のネットワークの通信状態を示
している。ネットワークがいずれも正常である時は、各
ステーションST#1、ST#2は、主系通信インター
フェース2で通常の指令伝文と応答伝文のやり取りを行
っている。待機系通信インターフェース3では、一定周
期でネットワーク診断機能が起動される。そして、図2
に示す診断用通信パラメータの情報に従って、診断通信
パラメータに登録されているステーションに対して、ネ
ットワーク診断用伝文を送信し、相手ステーションから
の応答を待つ。診断伝文を受信したステーションは、送
信元のステーションに対して折り返し応答伝文を送信す
る。診断メッセージを送信したステーションは、ある一
定の時間に相手ステーションから応答伝文が返されるか
どうかをチェックする。相手ステーションから応答伝文
が返された場合は、相手ステーションとネットワーク構
成要素が正常であると判断し、情報処理装置1に対して
正常であることを通知する。
FIG. 4 shows a communication state of the network when both the main network 4 and the standby network 5 are normal when the diagnosis is performed by the above means. When both networks are normal, the stations ST # 1 and ST # 2 exchange normal command messages and response messages with the main communication interface 2. In the standby communication interface 3, a network diagnosis function is activated at a constant cycle. And FIG.
A network diagnostic message is transmitted to a station registered in the diagnostic communication parameter according to the information on the diagnostic communication parameter shown in (1), and a response from the partner station is awaited. The station receiving the diagnostic message transmits a return response message to the transmitting station. The station that has transmitted the diagnostic message checks whether a response message is returned from the partner station at a certain time. When the response message is returned from the partner station, it is determined that the partner station and the network component are normal, and the information processing apparatus 1 is notified that the network component is normal.

【0010】図5は、上記手段による診断が行われてい
る時に、待機系ネットワークに異常が発生しているとき
のネットワークの通信状態を示している。この場合も図
4と同様に、診断用通信パラメータに従って、相手ステ
ーションに対して診断用伝文を送信する。相手から応答
が返されない場合は診断用伝文の再度送信を行う。一定
回数送信しても応答伝文が返されない場合は、相手ステ
ーションか、相手ステーションまでに至るネットワーク
構成要素が異常であると判断し、情報処理装置1に対し
て異常であることを通知する。ネットワークの異常要因
が取り除かれると、次のネットワーク診断機能の起動で
正常であることが検出され、情報処理装置1に対して正
常であることが通知される。この場合、主系ネットワー
ク4が正常である限り、通信は主系ネットワーク4で行
われる。以上のように動作するため、主系ネットワーク
が正常に動作している間であっても、待機系ネットワー
クが異常であればそのことを察知することができ、速や
かに復帰することができるのである。
FIG. 5 shows a communication state of the network when an abnormality has occurred in the standby network while the diagnosis is being performed by the above-mentioned means. In this case, similarly to FIG. 4, a diagnostic message is transmitted to the partner station in accordance with the diagnostic communication parameters. If no response is returned from the other party, the diagnostic message is transmitted again. If the response message is not returned even after the transmission has been performed a certain number of times, it is determined that the partner station or the network component reaching the partner station is abnormal, and the information processing apparatus 1 is notified of the abnormality. When the cause of the network abnormality is removed, the normality is detected by the next activation of the network diagnostic function, and the information processing apparatus 1 is notified of the normality. In this case, the communication is performed on the main network 4 as long as the main network 4 is normal. Since the operation is performed as described above, even when the main network is operating normally, if the standby network is abnormal, it can be detected that the network is abnormal, and the system can quickly return. .

【0011】[0011]

【発明の効果】以上述べたように本発明によれば、主系
ネットワークが正常である間も待機系通信インターフェ
ースが通信相手と定期的に診断用の伝文を送受信して待
機系ネットワーク状態を監視するので、待機系ネットワ
ーク異常時は情報処理装置に異常をすぐに報告してオペ
レータに異常を通知することができる。従って、ネット
ワーク上の異常要因に早期に対応することが可能とな
り、主系ネットワークと待機系ネットワークの両方とも
が同時にダウンしてシステム全体に影響を与えるという
問題を回避することができるという効果がある。
As described above, according to the present invention, while the main network is normal, the standby communication interface periodically transmits and receives diagnostic messages to and from the communication partner to change the status of the standby network. Since the monitoring is performed, the abnormality can be immediately reported to the information processing device and the operator can be notified of the abnormality when the standby network is abnormal. Therefore, it is possible to quickly cope with an abnormal factor on the network, and it is possible to avoid a problem that both the main network and the standby network go down at the same time and affect the entire system. .

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

【図1】本発明の方法を適用するネットワークの構成図FIG. 1 is a configuration diagram of a network to which a method of the present invention is applied;

【図2】診断用通信パラメータFIG. 2 is a communication parameter for diagnosis.

【図3】本発明の方法の処理手順を示すフローチャートFIG. 3 is a flowchart showing a processing procedure of the method of the present invention.

【図4】正常時のネットワークの通信状態を示す図FIG. 4 is a diagram showing a network communication state in a normal state.

【図5】異常時のネットワークの通信状態を示す図 1 情報処理装置 2 主系通信インターフェース 3 待機系通信インターフェース 4 主系ネットワーク 5 待機系ネットワークFIG. 5 is a diagram showing a communication state of a network at the time of an abnormality 1 information processing device 2 main communication interface 3 standby communication interface 4 main network 5 standby network

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】正常時は主系ネットワークで通信を行い、
その主系ネットワークが異常の時は待機系ネットワーク
に切り替えて通信する二重化ネットワークにおいて、 前記待機系ネットワークに接続された通信インターフェ
ースは、以下の手順で前記待機系ネットワークを診断す
ることを特徴とする二重化ネットワークの異常診断方
法。 (1)通信する相手ステーションに周期的に診断指令の
伝文を送信し、(2)相手ステーションからの診断応答
の有無をチェックし、(3)相手ステーションからの診
断応答が受信されれば、相手ステーションおよび通信ケ
ーブルなどのネットワーク構成要素は正常であると判断
し、(4)相手ステーションからの診断応答が受信され
なければ、相手ステーションおよび通信ケーブルなどの
ネットワーク構成要素は異常であると判断し、(5)上
位の情報処理部に異常を通知する。
(1) Under normal conditions, communication is performed on the main network,
In a duplexed network for switching to a standby network when the primary network is abnormal, a communication interface connected to the standby network diagnoses the standby network in the following procedure. Network error diagnosis method. (1) A diagnostic command message is periodically transmitted to the communicating partner station, (2) the presence or absence of a diagnostic response from the partner station is checked, and (3) a diagnostic response from the partner station is received. It is determined that the network components such as the partner station and the communication cable are normal. (4) If no diagnostic response is received from the partner station, the network components such as the partner station and the communication cable are determined to be abnormal. , (5) Notify the upper information processing unit of the abnormality.
JP11042476A 1999-02-22 1999-02-22 Diagnosis method for redundant network Pending JP2000244520A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11042476A JP2000244520A (en) 1999-02-22 1999-02-22 Diagnosis method for redundant network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11042476A JP2000244520A (en) 1999-02-22 1999-02-22 Diagnosis method for redundant network

Publications (2)

Publication Number Publication Date
JP2000244520A true JP2000244520A (en) 2000-09-08
JP2000244520A5 JP2000244520A5 (en) 2005-10-27

Family

ID=12637127

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11042476A Pending JP2000244520A (en) 1999-02-22 1999-02-22 Diagnosis method for redundant network

Country Status (1)

Country Link
JP (1) JP2000244520A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006285532A (en) * 2005-03-31 2006-10-19 Fujitsu Frontech Ltd Service providing method, and data processor
CN100384152C (en) * 2005-10-28 2008-04-23 北京和利时系统工程股份有限公司 A Diagnosis and Switching Method for Redundant Network
WO2009081982A1 (en) * 2007-12-26 2009-07-02 Honda Motor Co., Ltd. Redundant communication system
CN106716277A (en) * 2016-02-29 2017-05-24 深圳市大疆创新科技有限公司 Throttle control signal processing method, electronic speed regulator, controller and mobile platform

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006285532A (en) * 2005-03-31 2006-10-19 Fujitsu Frontech Ltd Service providing method, and data processor
CN100384152C (en) * 2005-10-28 2008-04-23 北京和利时系统工程股份有限公司 A Diagnosis and Switching Method for Redundant Network
WO2009081982A1 (en) * 2007-12-26 2009-07-02 Honda Motor Co., Ltd. Redundant communication system
JP2009154661A (en) * 2007-12-26 2009-07-16 Honda Motor Co Ltd Redundant communication system
KR101150607B1 (en) * 2007-12-26 2012-06-01 가부시키가이샤 아이에이치아이 Redundant communication system
US8358578B2 (en) 2007-12-26 2013-01-22 Honda Motor Co., Ltd. Redundant communication system
CN101909942B (en) * 2007-12-26 2013-08-14 本田技研工业株式会社 Redundant communication system
CN106716277A (en) * 2016-02-29 2017-05-24 深圳市大疆创新科技有限公司 Throttle control signal processing method, electronic speed regulator, controller and mobile platform
US10611244B2 (en) 2016-02-29 2020-04-07 SZ DJI Technology Co., Ltd. Method for processing throttle control signal, electronic speed regulator, controller, and mobile platform

Similar Documents

Publication Publication Date Title
JPH03106144A (en) Mutual connection of network modules
JP2000244520A (en) Diagnosis method for redundant network
JP2010146363A (en) System switching system of duplex programmable controller
JPH08265319A (en) Duplex monitoring control system
JP2009187428A (en) Security system
JP5459117B2 (en) Data transmission apparatus and data transmission method
JPH04137008A (en) Method and device for facility control
JP4239784B2 (en) Distributed control device
JP2000244520A5 (en) Duplex network and its anomaly diagnosis method
JPH0865331A (en) Monitor and control device
JP2004213412A (en) Redundant controller
JP3097625B2 (en) Information processing system
JP4692419B2 (en) Network device, redundant switching method used therefor, and program thereof
JP2937871B2 (en) Polling monitoring method
JP3294256B2 (en) Data communication method and device
JP2006254096A (en) IP phone system
JP4628823B2 (en) IP phone system
JP2000151809A (en) Duplicate information repeater and changeover control method
JP2636610B2 (en) Backup method
JP3465220B2 (en) Failure detection method between devices
JPH10327215A (en) Monitor and control system
JPS6224354A (en) Duplex computer system
JPS6279554A (en) Data communication system
JP4916670B2 (en) IP phone system
JP2001060959A (en) High reliability system

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050727

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050727

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070419

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070424

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20070822