JP2006020202A - Communication equipment, method, and program for controlling communication - Google Patents
Communication equipment, method, and program for controlling communication Download PDFInfo
- Publication number
- JP2006020202A JP2006020202A JP2004197782A JP2004197782A JP2006020202A JP 2006020202 A JP2006020202 A JP 2006020202A JP 2004197782 A JP2004197782 A JP 2004197782A JP 2004197782 A JP2004197782 A JP 2004197782A JP 2006020202 A JP2006020202 A JP 2006020202A
- Authority
- JP
- Japan
- Prior art keywords
- communication
- communication line
- line
- health check
- packet
- 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
Images
Abstract
Description
本発明は、IP(インターネットプロトコル)網などに使用される通信装置、通信制御方法および通信制御プログラムに関し、特に二重化などの多重化された通信回線を、障害の発生時などに選択的に切換えて使用するものに関する。 The present invention relates to a communication device, a communication control method, and a communication control program used for an IP (Internet Protocol) network and the like, and in particular, selectively switches a multiplexed communication line such as a duplex when a failure occurs. It relates to what to use.
従来から、銀行、鉄道、電気、ガス、水道等の社会インフラを運営する事業体などでは、これまで、ATMとホストコンピュータとのように、特定の機器同士の通信を、部外からのアクセス制限を有する二重化された業務用の専用回線で行っている。そして、上記のように、障害の発生などで選択的に切換えて使用している。しかしながら、このような専用回線は、通信を行っているか否かに拘わらず、1対1や1対多で、常時回線が確保されているので、非効率的である。そこで、前記通信回線をIP網で構築し、効率的に運用することが考えられる。 Traditionally, entities that operate social infrastructure such as banks, railroads, electricity, gas, water, etc., have restricted access from outside of specific devices such as ATMs and host computers. It is carried out with a duplexed business-use dedicated line. Then, as described above, it is selectively used when a failure occurs. However, such a dedicated line is inefficient because the line is always secured one-to-one or one-to-many regardless of whether or not communication is performed. Therefore, it is conceivable to construct the communication line with an IP network and operate it efficiently.
一般に、前記IP網では、障害が発生すると、障害発生箇所に隣接するルータやスイッチングハブは、その障害の発生を検知し、自動的に迂回ルートを探索して、通信経路を切換え、通信を継続できるようになっている。しかしながら、その切換えには、標準的に1分程度も要し、前記ルータやスイッチングハブではその間のデータを溜め込むことができず、この通信不能の期間のデータは破棄されてしまうという問題がある。また、そのように通信再開までに時間を要してしまうと、適用可能な用途に大きな制約を生じることになる。 Generally, in the IP network, when a failure occurs, the router or switching hub adjacent to the failure location detects the failure, automatically searches for a detour route, switches the communication path, and continues communication. It can be done. However, the switching usually takes about 1 minute, and the router or switching hub cannot store data during the period, and there is a problem that the data during this communication disabled period is discarded. In addition, if it takes time to resume communication in this way, there will be a great limitation on applicable applications.
そこで、このような問題を解決するために、前記IP網を二重化し、使用中の通信回線で障害が生じると、直ちにもう一方の通信回線に切換えるように、通信を行っている機器同士が通信回線を切換えることが考えられる。特許文献1には、そのような二重化されたIP網をモニタし、障害が発生したことを検知して自動的に切換えるようにした典型的な従来技術が記載されている。
Therefore, in order to solve such a problem, when the IP network is duplicated and a failure occurs in the communication line in use, the communicating devices communicate with each other to immediately switch to the other communication line. It is conceivable to switch the line.
図4は、その従来技術によるヘルスチェックシーケンスを示す図である。この従来技術では、2つの端末それぞれから、予め定める時間W毎にヘルスチェックパケットを送信し、受信側では、前記時間W毎に送信されてくるヘルスチェックパケットが規定回数(図4では、端末1から端末2への下りのヘルスチェックパケット13,14,15の3回)受信されないと、回線障害が発生していると判定する。
FIG. 4 is a diagram showing a health check sequence according to the conventional technique. In this prior art, a health check packet is transmitted from each of two terminals at a predetermined time W, and on the receiving side, the health check packet transmitted at each time W is transmitted a predetermined number of times (in FIG. If the
したがって、回線障害が発生しているという情報を双方の端末で共有するためには、回線障害判定後に、何らかの信号を送信しなければならない。図4では、その信号として、端末2から端末1への上りのヘルスチェックパケットを使用している。これによって、2つの端末が同期して回線切換えを行うことができ、個別に任意のタイミングでそれぞれ切換えを行ってしまうと不具合を生じるような用途にも適用することができる。
しかしながら、上述の従来技術では、それぞれの端末が、相手側から送信されたヘルスチェックパケットから、片道の通信で通信回線のチェックを行うので、上述のように回線障害が発生しているという情報を双方の端末で共有するためには、回線障害の発生を検知した側の端末(図4では端末2)から、他方の端末へ、そのことを表す信号を送信しなければならず、受信した端末は、ヘルスチェックパケットを受信したのか、そのような異常を表す信号を受信したのかを判断するには、受信したデータを解析する必要がある。したがって、稀にしか発生しない異常を監視するために、毎回のヘルスチェックパケットを解析しなければならず、通信回線のチェックが煩雑であるという問題がある。また、一旦異常を判定してしまうと、以降はヘルスチェックパケットを送信しなくなり、通信回線のチェックを行わなくなってしまうので、前記通信回線がデータ伝送容量などで主系と従系とに区分されていて、主系を優先して使用するような場合には、主系に障害が発生し、一旦従系に切換えても、主系の障害が解消すると、速やかに主系に復帰することができなくなってしまうという問題もある。 However, in the above-described conventional technology, each terminal checks the communication line by one-way communication from the health check packet transmitted from the other party, so that information indicating that a line failure has occurred as described above. In order to be shared by both terminals, a signal indicating that must be transmitted from the terminal on which the occurrence of the line failure is detected (terminal 2 in FIG. 4) to the other terminal. In order to determine whether a health check packet has been received or a signal indicating such an abnormality has been received, it is necessary to analyze the received data. Therefore, in order to monitor abnormalities that occur rarely, it is necessary to analyze the health check packet every time, and there is a problem that the communication line check is complicated. In addition, once an abnormality is determined, health check packets are no longer transmitted and the communication line is no longer checked. Therefore, the communication line is classified into a primary system and a secondary system based on data transmission capacity. However, when the primary system is used with priority, a fault occurs in the primary system, and even if the primary system is switched to once, once the fault in the primary system is resolved, it can be quickly restored to the primary system. There is also a problem that it becomes impossible.
本発明の目的は、通信回線のチェックを容易に行うことができる通信装置、通信制御方法および通信制御プログラムを提供することである。 An object of the present invention is to provide a communication device, a communication control method, and a communication control program that can easily check a communication line.
本発明の通信装置は、多重化された通信回線を用いて相互に通信を行う装置において、双方の通信装置の通信インタフェイスから各通信回線へそれぞれヘルスチェックパケットを送信させ、それに対する返信が選択中の通信回線で得られなくなったときに、通信回線を切換える通信制御部を備えることを特徴とする。 The communication device of the present invention, in a device that communicates with each other using multiplexed communication lines, transmits a health check packet to each communication line from the communication interface of both communication apparatuses, and a reply to that is selected. A communication control unit is provided for switching the communication line when it cannot be obtained with the communication line inside.
上記の構成によれば、二重化された通信回線の一方を使用しており、障害の発生などによって他方に切換えて使用する場合のように、多重化された通信回線を選択的に使用して相互に通信を行う装置において、前記通信回線の切換え制御のために、各通信回線の正常/異常を判断するにあたって、本発明では、通信制御部を設け、その通信回線を介して通信を行う通信装置の双方の通信インタフェイスから各通信回線へそれぞれヘルスチェックパケットを送信する。そして、選択中の通信回線でそれに対する返信が前記通信インタフェイスで得られないときに、前記通信制御部は通信回線を切換える。 According to the above configuration, one of the duplicated communication lines is used, and the multiplexed communication lines are selectively used for mutual connection as in the case of switching to the other due to the occurrence of a failure or the like. In the communication apparatus, in order to determine the normality / abnormality of each communication line for the switching control of the communication line, in the present invention, a communication control unit is provided, and communication is performed via the communication line. A health check packet is transmitted from each communication interface to each communication line. Then, when a reply to the selected communication line cannot be obtained by the communication interface, the communication control unit switches the communication line.
したがって、双方の通信装置が、各通信回線のチェックを、任意に往復の通信でそれぞれ行うことで、パケットナンバーなどで自機からのヘルスチェックパケットに対する応答かどうかを容易に確認することができる。これによって、往路の通信回線および/または復路の通信回線の何れに障害が発生しても、切換えタイミングの同期などのためにそのことを双方の通信装置で共に認識しておけるようにするにあたって、相手側から送信されたヘルスチェックパケットから片道の通信で通信回線のチェックを行う場合のように、その異常を表すようなデータの内容を確認する必要はなく、自機からのヘルスチェックパケットに対する返信が帰って来たか否かで、双方の通信装置はそれぞれ通信回線の状態を共に認識することができ、通信回線のチェックを容易に行うことができる。 Therefore, both communication apparatuses can check each communication line arbitrarily by reciprocating communication, so that it is possible to easily confirm whether the response is a response to the health check packet from the own device by the packet number or the like. As a result, even if a failure occurs in either the outgoing communication line and / or the return communication line, both communication devices can recognize this for synchronization of the switching timing. There is no need to check the contents of the data indicating the abnormality, as in the case of checking the communication line by one-way communication from the health check packet sent from the other side, and the reply to the health check packet from the own machine Depending on whether or not the communication line has returned, both communication apparatuses can recognize the state of the communication line and can easily check the communication line.
また、自機からのヘルスチェックパケットに対する応答があれば、通信回線における前記障害などが解消し、再度使用可能になったことを判断できるので、前記通信回線がデータ伝送容量などで主系と従系とに区分されていて、主系を優先して使用するような場合には、主系に障害が発生し、一旦従系に切換えても、主系の障害が解消すると、速やかに主系に復帰することができ、特に好ましい。 In addition, if there is a response to the health check packet from the own device, it can be determined that the failure or the like in the communication line has been solved and the communication line can be used again. If the main system is used with priority, the main system will fail, and even if it is switched to the subordinate system once the main system fault is resolved, the main system Is particularly preferable.
また、本発明の通信装置では、前記通信制御部は、予め定める回数に亘って、送信したヘルスチェックパケットに対する返信が得られないときに、通信回線を切換えることを特徴とする。 In the communication apparatus of the present invention, the communication control unit switches the communication line when a reply to the transmitted health check packet cannot be obtained a predetermined number of times.
上記の構成によれば、通信回線へのノイズの侵入などの瞬時的な障害に対して、通信制御部は過剰に反応することはなく、不所望な切換えを抑制することができる。 According to the above configuration, the communication control unit does not react excessively to an instantaneous failure such as noise intrusion into the communication line, and can suppress undesired switching.
さらにまた、本発明の通信装置では、前記通信制御部は、通信回線を切換えるにあたって、被切換え側の通信回線が、予め定める回数に亘って、送信したヘルスチェックパケットに対する返信が得られているときに切換えを行うことを特徴とする。 Furthermore, in the communication apparatus of the present invention, when the communication control unit switches the communication line, the switched communication line receives a response to the transmitted health check packet for a predetermined number of times. It is characterized by switching to.
上記の構成によれば、前記一旦従系に切換えた後、主系に復帰させる場合のように、通信回線が障害から復帰するなどしても、通信制御部は、被切換え側の通信回線が、前記予め定める回数に亘ってヘルスチェックパケットの送受信が確認されるまで切換えを猶予するので、通信回線が安定してから切換えを行うことができる。 According to the above configuration, even when the communication line is restored from a failure, such as when the main line is once switched to the slave system, the communication control unit is configured so that the switched communication line is Since the switching is delayed until the transmission / reception of the health check packet is confirmed for the predetermined number of times, the switching can be performed after the communication line is stabilized.
また、本発明の通信装置では、前記通信回線は、部外からのアクセス制限を有する専用回線であることを特徴とする。 In the communication apparatus of the present invention, the communication line is a dedicated line having access restriction from outside.
上記の構成によれば、銀行、鉄道、電気、ガス、水道等の社会インフラを運営する事業体などでは、これまでATMとホストコンピュータとのように特定の機器同士の通信を、部外からのアクセス制限を有する多重化された業務用の専用回線で行ってきたが、その専用回線をIP網で構築して上記の通信装置を用い、ヘルスチェックパケットの周期を調整することで、その専用回線に必要な切換えの応答性などを確保しつつ、前記専用回線の汎用性を広げ、社内電話やデータ通信などの他の通信にも使用することができる。 According to the above configuration, in entities that operate social infrastructure such as banks, railroads, electricity, gas, water, etc., communication between specific devices such as ATMs and host computers so far has not been possible from outside. Although it has been performed on a multiplexed business-use dedicated line with access restrictions, the dedicated line is constructed on the IP network, and the communication device is used to adjust the period of the health check packet, thereby adjusting the dedicated line. In addition, the versatility of the dedicated line can be expanded while ensuring the switching response required for the communication, and it can also be used for other communications such as in-house telephones and data communications.
さらにまた、本発明の通信制御方法は、多重化された通信回線を選択的に使用して相互に通信を行う方法において、双方の通信装置は、各通信回線へそれぞれヘルスチェックパケットを送信し、それに対する返信が選択中の通信回線で得られなくなったときに、通信回線を切換えることを特徴とする。 Furthermore, the communication control method of the present invention is a method of performing communication with each other selectively using multiplexed communication lines, in which both communication devices transmit health check packets to the respective communication lines, It is characterized in that the communication line is switched when the reply to it cannot be obtained on the selected communication line.
上記の構成によれば、二重化された通信回線の一方を使用しており、障害の発生などによって他方に切換えて使用する場合のように、多重化された通信回線を選択的に使用して相互に通信を行う方法において、前記通信回線の切換え制御のために、各通信回線の正常/異常を判断するにあたって、本発明では、その通信回線を介して通信を行う通信装置の双方が、各通信回線へそれぞれヘルスチェックパケットを送信する。そして、選択中の通信回線でそれに対する返信が得られないときに通信回線を切換える。 According to the above configuration, one of the duplicated communication lines is used, and the multiplexed communication lines are selectively used for mutual connection as in the case of switching to the other due to the occurrence of a failure or the like. In the method of performing communication, in order to determine the normal / abnormality of each communication line for the control of switching the communication line, in the present invention, both communication devices that perform communication via the communication line Each health check packet is sent to the line. Then, the communication line is switched when a response to the selected communication line cannot be obtained.
したがって、双方の通信装置が、各通信回線のチェックを、任意に往復の通信でそれぞれ行うことで、パケットナンバーなどで自機からのヘルスチェックパケットに対する応答かどうかを容易に確認することができる。これによって、往路の通信回線および/または復路の通信回線の何れに障害が発生しても、切換えタイミングの同期などのためにそのことを双方の通信装置で共に認識しておけるようにするにあたって、相手側から送信されたヘルスチェックパケットから片道の通信で通信回線のチェックを行う場合のように、その異常を表すようなデータの内容を確認する必要はなく、自機からのヘルスチェックパケットに対する返信が帰って来たか否かで、双方の通信装置はそれぞれ通信回線の状態を共に認識することができ、通信回線のチェックを容易に行うことができる。 Therefore, both communication apparatuses can check each communication line arbitrarily by reciprocating communication, so that it is possible to easily confirm whether the response is a response to the health check packet from the own device by the packet number or the like. As a result, even if a failure occurs in either the outgoing communication line and / or the return communication line, both communication devices can recognize this for synchronization of the switching timing. There is no need to check the contents of the data indicating the abnormality, as in the case of checking the communication line by one-way communication from the health check packet sent from the other side, and the reply to the health check packet from the own machine Depending on whether or not the communication line has returned, both communication apparatuses can recognize the state of the communication line and can easily check the communication line.
また、自機からのヘルスチェックパケットに対する応答があれば、通信回線における前記障害などが解消し、再度使用可能になったことを判断できるので、前記通信回線がデータ伝送容量などで主系と従系とに区分されていて、主系を優先して使用するような場合には、主系に障害が発生し、一旦従系に切換えても、主系の障害が解消すると、速やかに主系に復帰することができ、特に好ましい。 In addition, if there is a response to the health check packet from the own device, it can be determined that the failure or the like in the communication line has been solved and the communication line can be used again. If the main system is used with priority, the main system will fail, and even if it is switched to the subordinate system once the main system fault is resolved, the main system Is particularly preferable.
また、本発明の通信制御プログラムは、コンピュータの通信インタフェイスに、上記の通信処理手順を実行させることを特徴とする。 A communication control program according to the present invention causes a communication interface of a computer to execute the above communication processing procedure.
上記の構成によれば、多重化された通信回線を選択的に使用して相互に通信を行うにあたって、通信回線の切換え制御のためのチェックを容易に行うことができるとともに、障害などが解消し、再度使用可能になったことも判断できる通信制御プログラムを実現することができる。 According to the above configuration, when performing communication with each other selectively using multiplexed communication lines, it is possible to easily perform a check for switching control of communication lines and to eliminate troubles. Therefore, it is possible to realize a communication control program that can also determine that it can be used again.
本発明の通信装置、通信制御方法および通信制御プログラムは、以上のように、二重化された通信回線の一方を使用しており、障害の発生などによって他方に切換えて使用する場合のように、多重化された通信回線を選択的に使用して相互に通信を行う装置において、前記通信回線の切換え制御のために、各通信回線の正常/異常を判断するにあたって、その通信回線を介して通信を行う通信装置の双方から各通信回線へそれぞれヘルスチェックパケットを送信し、選択中の通信回線でそれに対する返信が得られないときに通信回線を切換える。 As described above, the communication device, communication control method, and communication control program of the present invention uses one of the duplex communication lines, and switches to the other when used due to a failure or the like. In an apparatus that selectively communicates with each other using a communication line that has been changed, the communication line is controlled to determine whether each communication line is normal or abnormal for the purpose of switching control of the communication line. A health check packet is transmitted to each communication line from both of the communication apparatuses to be performed, and the communication line is switched when a reply to the selected communication line cannot be obtained.
それゆえ、双方の通信装置が、各通信回線のチェックを、任意に往復の通信でそれぞれ行うことで、パケットナンバーなどで自機からのヘルスチェックパケットに対する応答かどうかを容易に確認することができ、通信回線のチェックを容易に行うことができる。 Therefore, both communication devices can check each communication line arbitrarily by round-trip communication, so that it is possible to easily check whether the response is a response to the health check packet from the own device by the packet number or the like. The communication line can be easily checked.
図1は、本発明の実施の一形態に係る通信装置1,2を備える通信システムの構成を示すブロック図である。本発明に係る通信システムは、多数のルータR11,R12,R13,R14;R21,R22,R23,R24;・・・(総称するときは、以下参照符号Rで示す)やスイッチングハブH11,H12;H21,H22;・・・(総称するときは、以下参照符号Hで示す)を備えて構築されるIP網3に、参照符号L1,L2で示すような二重化された通信回線を設定して実現される。通信回線L1,L2は、相互に等しいものであってもよいが、ここでは通信回線L1が通信回線L2に比べて伝送容量が大きく、通信回線L1が主系の通信回線であり、通信回線L2が従系の通信回線とする。
FIG. 1 is a block diagram showing a configuration of a communication system including
前記通信装置1,2には、それぞれパーソナルコンピュータやワークステーションなどで実現される端末装置5,6が接続され、これらの端末装置5,6が前記通信装置1,2からIP網3を介して相互に通信を行う。前記通信装置1,2は、前記二重化された通信回線L1,L2を用いて通信を行うので、前記端末装置5,6からの送信パケットは、この通信装置1,2でコピーされて、両通信回線L1,L2には相互に等しいデータが送信される。受信したデータは、選択されている通信回線側のデータのみが端末装置5,6へ出力され、非選択側の通信回線で伝達されたデータは破棄される。
The
このように構成される通信システムにおいて、前記通信回線L1,L2の設定が通信装置1,2に行われており、該通信装置1,2は、主系の通信回線L1を優先して使用するようになる。この主系の通信回線L1を構成しているH11−R21−R22−R23−R24−H12の経路のいずれかにおいて参照符号Pで示すように回線障害が発生すると(図1ではR22−R23間)、その障害箇所Pに隣接したルータR22,R23は、自動的に迂回ルートを探索し、参照符号L1’やL1”で示すように、その迂回ルートが確立されると、以後はその迂回ルートL1’またはL1”に切換えて通信を継続する。前記迂回ルートL1’とL1”とのいずれを選択するかは、ルータR22,R23の設定による。
In the communication system configured as described above, the communication lines L1 and L2 are set in the
しかしながら、ルータR22,R23による通信経路の切換えには、前述のように標準的に1分程度も要し、また回線障害が発生したことは、これらのルータR22,R23から通信装置1,2に通知されない。さらに、ルータRやスイッチングハブHではその間のデータを溜め込むことができず、この通信不能の期間のデータは破棄されてしまう。このため本発明では、前記通信装置1,2は、以下に詳述するように、それぞれヘルスチェックパケットを送信し、回線状態をモニタしている。そして、主系の通信回線L1に前記回線障害が生じると、通信経路を従系の通信回線L2に一旦切換え、前記回線障害が解消すると、通信経路を主系の通信回線L1に復帰させる。
However, the switching of the communication path by the routers R22 and R23 normally takes about 1 minute as described above, and the fact that a line failure has occurred is transferred from these routers R22 and R23 to the
図2は、本発明によるヘルスチェックシーケンスを示す図である。本発明では、通信端末である2つの通信装置1,2のそれぞれから、予め定める時間W、たとえば1秒毎にヘルスチェックパケットを送信し、受信側では、それに応答して、たとえば同じパケットナンバーなどの送信パケットに対応した返信パケットを返信する。そして、送信側は、返信されてきたパケットが送信したパケットに対応するものである場合、それぞれで回線は正常であると判断する。これに対して、返信がない場合や、返信されてきたパケットが送信したパケットに対応するものでない場合、それぞれで回線は異常であると判断し、通信回線L1,L2を切換える。
FIG. 2 is a diagram showing a health check sequence according to the present invention. In the present invention, a health check packet is transmitted from each of the two
図2では、主系の通信回線L1で通信が行われている状態で、時刻t1で、その通信回線L1に、通信装置1から通信装置2への経路に回線異常が発生している。これによって、その時刻t1以降に送信された通信装置1からのヘルスチェックパケットP12は、通信装置2に到達せず、したがってこのヘルスチェックパケットP12に対する返信も発生しない。同様に、通信装置2からのヘルスチェックパケットP22は、通信装置2から通信装置1への経路は正常であるので、通信装置1には到達するけれども、このヘルスチェックパケットP22に対する返信は、通信装置2には帰って来ない。したがって、通信装置1,2は、互いに回線異常が発生していることを検知することができる。
In FIG. 2, a line abnormality has occurred in the path from the
その後、それぞれ規定回数(図2では3回、したがって3秒に亘って)返信パケットが受信されないと、回線障害が発生していると判定する。図2では、主系の通信回線L1に回線異常が発生し、従系の通信回線L2には発生していないので、前記規定回数に達した時刻t2,t3において、それぞれ回線異常を判定し、従系の通信回線L2に切換えて通信が継続される。 Thereafter, if a reply packet is not received for each specified number of times (three times in FIG. 2, and therefore for three seconds), it is determined that a line failure has occurred. In FIG. 2, since a line abnormality has occurred in the main communication line L1 and not in the subordinate communication line L2, the line abnormality is determined at times t2 and t3 when the prescribed number of times has been reached, The communication is continued by switching to the slave communication line L2.
一方、本発明では、一旦回線異常が判定され、回線が切換えられても、2つの通信回線L1,L2のヘルスチェックは継続されている。すなわち、送信パケットに対する返信パケットが受信されたか否かに拘わらず、ヘルスチェックは継続されている。したがって、時刻t4で前記ルータR22,R23が迂回ルートL1’,L1”を確立すると、前記主系の通信回線L1は、その迂回ルートL1’またはL1”で復帰し、通信装置1,2は、それぞれ回線異常の解消を検知することができる。
On the other hand, in the present invention, even if a line abnormality is once determined and the line is switched, the health check of the two communication lines L1 and L2 is continued. That is, the health check is continued regardless of whether a reply packet to the transmission packet is received. Therefore, when the routers R22 and R23 establish the detour routes L1 ′ and L1 ″ at time t4, the main communication line L1 returns with the detour route L1 ′ or L1 ″, and the
その後、それぞれ規定回数(図2では2回、したがって2秒に亘って)返信パケットが受信されると、回線障害が解消したと判定する。図2では、前記規定回数に達した時刻t5,t6において、それぞれ回線復帰を判定し、主系の通信回線L1に切換えて通信が継続される。 Thereafter, when a reply packet is received for each specified number of times (twice in FIG. 2, and thus for 2 seconds), it is determined that the line failure has been resolved. In FIG. 2, at times t5 and t6 when the specified number of times has been reached, line restoration is determined, and the communication is continued by switching to the main communication line L1.
図3は、前記通信装置1,2の具体的な一構成例を示す回路ブロック図である。この通信装置1,2は、中央処理装置11と、発振回路12と、プログラム格納用のROM13と、ワークデータなどを格納するRAM14と、タイマ15と、後述の通信インタフェイス17,18,19からの送受信割込みやタイマ15からのタイマ割込みを制御する割込み制御回路16と、主系の通信回線L1を介して通信を行う前記通信インタフェイス17と、従系の通信回線L2を介して通信を行う前記通信インタフェイス18と、端末装置5,6と通信を行う前記通信インタフェイス19とを備えて構成される。前記割込み制御回路16は、タイマ15からの前記予め定める時間Wのカウントによって割込みを発生し、通常のパケットデータに割込ませて、前記ヘルスチェックパケットを送信する。
FIG. 3 is a circuit block diagram showing a specific configuration example of the
通信制御部である中央処理装置11は、通信インタフェイス19を介して端末装置5,6から受信したパケットデータをコピーして、前記通信インタフェイス17,18から通信回線L1,L2を介して、他方の通信装置の通信インタフェイス通信17,18へ共通に送信する。また、前記通信インタフェイス17,18から通信回線L1,L2を介して他方の通信装置から受信したパケットデータは、通信回線L1,L2の内、選択されている側の通信回線のデータだけを前記通信インタフェイス19を介して端末装置5,6へ入力し、非選択側の通信回線の受信データは破棄する。
The
さらにまた、中央処理装置11は、前記タイマ15による割込みによって通信インタフェイス17,18から前記ヘルスチェックパケットを送信し、それに対する返信パケットの受信結果から、前述の図2で示すような処理によって、通信回線L1とL2とを切換える。
Furthermore, the
以上のように、本発明の通信装置1,2は、二重化された通信回線L1,L2を選択的に使用して相互に通信を行う装置において、前記通信回線L1,L2の切換え制御のために、通信インタフェイス17,18が各通信回線L1,L2の正常/異常を判断するにあたって、双方の通信装置1,2から各通信回線L1,L2へそれぞれヘルスチェックパケットを送信し、選択中の通信回線でそれに対する返信が得られないときに、中央処理装置11は通信回線L1とL2とを切換える。
As described above, the
したがって、双方の通信装置1,2が、各通信回線L1,L2のチェックを、任意に往復の通信でそれぞれ行うことで、パケットナンバーなどで自機からのヘルスチェックパケットに対する応答かどうかを容易に確認することができる。これによって、往路の通信回線および/または復路の通信回線の何れに障害が発生しても、切換えタイミングの同期などのためにそのことを双方の通信装置で共に認識しておけるようにするにあたって、相手側から送信されたヘルスチェックパケットから片道の通信で通信回線のチェックを行う場合のように、その異常を表すようなデータの内容を確認する必要はなく、自機からのヘルスチェックパケットが帰って来たか否かで、双方の通信装置1,2はそれぞれ通信回線L1,L2の状態を共に認識することができ、通信回線L1,L2のチェックを容易に行うことができる。
Therefore, both the
また、自機からのヘルスチェックパケットに対する応答があれば、通信回線L1,L2における前記障害などが解消し、再度使用可能になったことを判断できるので、上述のように前記通信回線L1,L2がデータ伝送容量などで主系と従系とに区分されていて、主系を優先して使用するような場合には、主系に障害が発生し、一旦従系に切換えても、主系の障害が解消すると、速やかに主系に復帰することができ、特に好ましい。 Further, if there is a response to the health check packet from the own device, it can be determined that the failure or the like in the communication lines L1 and L2 has been solved and the communication line L1 and L2 can be used again. Is divided into a primary system and a secondary system by data transmission capacity, etc., and when the primary system is used with priority, a fault occurs in the primary system. When the obstacle is eliminated, it is possible to quickly return to the main system, which is particularly preferable.
また、前記中央処理装置11は、予め定める回数に亘って、送信したヘルスチェックパケットに対する返信が得られないときに、通信回線L1とL2とを切換えるので、通信回線L1,L2へのノイズの侵入などの瞬時的な障害に対して、中央処理装置11は過剰に反応することはなく、不所望な切換えを抑制することができる。
Further, since the
さらにまた、前記中央処理装置11は、通信回線L1とL2とを切換えるにあたって、被切換え側の通信回線が、予め定める回数に亘って、送信したヘルスチェックパケットに対する返信が得られているときに切換えを行うので、前記一旦従系に切換えた後、主系に復帰させる場合のように、通信回線L1,L2が障害から復帰するなどしても、中央処理装置11は、被切換え側の通信回線が、前記予め定める回数に亘ってヘルスチェックパケットの送受信が確認されるまで切換えを猶予することになり、通信回線L1,L2が安定してから切換えを行うことができる。
Furthermore, the
なお、前記通信回線L1,L2は、部外からのアクセス制限を有する専用回線であることが好ましい。それによれば、銀行、鉄道、電気、ガス、水道等の社会インフラを運営する事業体などでは、これまでATMとホストコンピュータとのように特定の機器同士の通信を、部外からのアクセス制限を有する多重化された業務用の専用回線で行ってきたが、その専用回線をIP網3で構築して上記の通信装置1,2を用い、ヘルスチェックパケットの送信周期Wを調整することで、その専用回線に必要な切換えの応答性などを確保しつつ、前記専用回線の汎用性を広げ、社内電話やデータ通信などの他の通信にも使用することができる。
The communication lines L1 and L2 are preferably dedicated lines having access restrictions from outside. According to it, in entities that operate social infrastructure such as banks, railways, electricity, gas, water, etc., communication between specific devices such as ATMs and host computers has been restricted until now, and access from outside has been restricted. It has been carried out by using a multiplexed dedicated line for business use, but by constructing the dedicated line in the IP network 3 and using the
この通信装置1,2によれば、ヘルスチェックパケットの送信周期Wおよび障害発生と判定するまでの回数にもよるが、前述のように障害の発生から通信回線L1,L2の切換えには3秒程度要するので、たとえば電力会社では、落雷による遮断器の連動などを行う系統保護用には使用できないが、営業所や制御所から変電所の機器の状態を監視し、制御を行うようなテレコントロール用途に使用することができ、さらに同じIP網3に、制御所と変電所とを専用回線で接続していた対向電話や、一般の事業用電話なども収容することができる。
According to the
前記通信装置1,2は、一般のパーソナルコンピュータに、二重化された前記通信回線L1,L2に対応してインタフェイスボードを増設し、前記ROM13に上述のような通信制御プログラムを搭載して実現することができる。
The
前記通信回線は、三回線設けられ、そのうちの二回線を使用するようなものであってもよく、前記のように障害発生などに対して、複数の通信回線の一部を選択的に切換えて使用するものであればよい。また通信装置は、1対1で通信するものに限らず、1対多や、多対多であってもよく、相互に通信を行う通信装置間の通信回線が複数設けられているものであればよい。また、前記通信回線は、光ファイバとADSLとのように、複数の通信回線を併用し、それらを選択的に切換えて使用するものであれば、一般のIP網でもよい。 The communication line is provided with three lines, and two of them may be used, and by selectively switching a part of the plurality of communication lines in response to a failure as described above. Anything can be used. In addition, the communication device is not limited to one-to-one communication, and may be one-to-many or many-to-many, and may be a device provided with a plurality of communication lines between communication devices that communicate with each other. That's fine. The communication line may be a general IP network as long as a plurality of communication lines are used in combination, such as an optical fiber and ADSL, and are selectively switched for use.
1,2 通信回線
3 IP網
5,6 端末装置
11 中央処理装置
12 発振回路
13 ROM
14 RAM
15 タイマ
16 割込み制御回路
17,18,19 通信インタフェイス
H11,H12;H21,H22;・・・ スイッチングハブ
L1,L2 通信回線
L1’,L1” 迂回ルート
R11,R12,R13,R14;R21,R22,R23,R24;・・・ ルータ
1, 2 Communication line 3 IP network 5, 6
14 RAM
15
Claims (6)
双方の通信装置の通信インタフェイスから各通信回線へそれぞれヘルスチェックパケットを送信させ、それに対する返信が選択中の通信回線で得られなくなったときに、通信回線を切換える通信制御部を備えることを特徴とする通信装置。 In a device that communicates with each other using multiplexed communication lines,
A communication control unit is provided for switching a communication line when a health check packet is transmitted from the communication interface of both communication apparatuses to each communication line and a reply to the packet cannot be obtained on the selected communication line. A communication device.
双方の通信装置は、各通信回線へそれぞれヘルスチェックパケットを送信し、それに対する返信が選択中の通信回線で得られなくなったときに、通信回線を切換えることを特徴とする通信制御方法。 In a method of communicating with each other selectively using a multiplexed communication line,
A communication control method characterized in that both communication apparatuses transmit a health check packet to each communication line and switch the communication line when a reply to the packet cannot be obtained on the selected communication line.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004197782A JP2006020202A (en) | 2004-07-05 | 2004-07-05 | Communication equipment, method, and program for controlling communication |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004197782A JP2006020202A (en) | 2004-07-05 | 2004-07-05 | Communication equipment, method, and program for controlling communication |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2006020202A true JP2006020202A (en) | 2006-01-19 |
Family
ID=35793999
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004197782A Pending JP2006020202A (en) | 2004-07-05 | 2004-07-05 | Communication equipment, method, and program for controlling communication |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2006020202A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007251541A (en) * | 2006-03-15 | 2007-09-27 | Mitsubishi Electric Corp | Connection monitoring device |
JP2008042415A (en) * | 2006-08-03 | 2008-02-21 | Matsushita Electric Ind Co Ltd | Communication device and communication method |
JP2012100039A (en) * | 2010-11-01 | 2012-05-24 | Fujitsu Ltd | Layer-2 switch, transfer method, and transfer program |
JP2013197907A (en) * | 2012-03-21 | 2013-09-30 | Brother Ind Ltd | Communication apparatus, encryption communication program, and encryption communication method |
JP7346172B2 (en) | 2019-09-02 | 2023-09-19 | 株式会社東芝 | communication equipment |
-
2004
- 2004-07-05 JP JP2004197782A patent/JP2006020202A/en active Pending
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007251541A (en) * | 2006-03-15 | 2007-09-27 | Mitsubishi Electric Corp | Connection monitoring device |
JP4680808B2 (en) * | 2006-03-15 | 2011-05-11 | 三菱電機株式会社 | Connection monitoring device |
JP2008042415A (en) * | 2006-08-03 | 2008-02-21 | Matsushita Electric Ind Co Ltd | Communication device and communication method |
JP2012100039A (en) * | 2010-11-01 | 2012-05-24 | Fujitsu Ltd | Layer-2 switch, transfer method, and transfer program |
JP2013197907A (en) * | 2012-03-21 | 2013-09-30 | Brother Ind Ltd | Communication apparatus, encryption communication program, and encryption communication method |
JP7346172B2 (en) | 2019-09-02 | 2023-09-19 | 株式会社東芝 | communication equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101170459B (en) | Failure detection and link recovery method based on bidirectional forward link | |
JP2008131346A (en) | Ip network system | |
CN100531071C (en) | Method and system for link failure detection and device for link failure detection | |
CN104301146A (en) | Link switching method and device in software defined network | |
EP2696542A1 (en) | Method, ToR switch, and system for implementing protection switchover based on TRILL network | |
EP3029883B1 (en) | Network protection method and apparatus, next-ring node, and system | |
EP3035609B1 (en) | Data transmission method and device | |
JP2008104108A (en) | Relay apparatus and fault monitoring method | |
JP2006020202A (en) | Communication equipment, method, and program for controlling communication | |
KR101678756B1 (en) | Communication system, control apparatus, communication apparatus and information-relaying method | |
WO2013048393A1 (en) | Managing a switch fabric | |
JPWO2011061881A1 (en) | Transmission system, transmission method, and communication apparatus | |
EP3079327B1 (en) | Information transmission method, device and system | |
JP5558436B2 (en) | Network system and network failure avoidance method | |
CN113037622B (en) | System and method for preventing BFD from vibrating | |
CN112187677B (en) | Network switch and operation method thereof | |
WO2014125761A1 (en) | Wireless transmission apparatus, communication system, and communication trouble control method | |
JP2018037701A (en) | Radio communication system | |
US8553530B1 (en) | Operating state control in redundancy protection systems | |
JP4692419B2 (en) | Network device, redundant switching method used therefor, and program thereof | |
JP4451396B2 (en) | Redundant IP communication apparatus and method | |
JP5922601B2 (en) | Network equipment | |
JP2015171055A (en) | network system | |
JP2007096561A (en) | Communication path switching system between server and terminal, connected to two systems of backbone networks for executing fixed communication | |
KR101407002B1 (en) | Network device for routing and network system thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20070608 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20090413 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20090526 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20091006 |