JP5072874B2 - Communication device - Google Patents
Communication device Download PDFInfo
- Publication number
- JP5072874B2 JP5072874B2 JP2009022583A JP2009022583A JP5072874B2 JP 5072874 B2 JP5072874 B2 JP 5072874B2 JP 2009022583 A JP2009022583 A JP 2009022583A JP 2009022583 A JP2009022583 A JP 2009022583A JP 5072874 B2 JP5072874 B2 JP 5072874B2
- Authority
- JP
- Japan
- Prior art keywords
- mode
- local
- communication
- gateway
- 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
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Description
本発明は、複数の構内通信網同士を、広域網を介して接続する通信装置に関する。 The present invention relates to a communication apparatus that connects a plurality of local communication networks via a wide area network.
複数のセキュアな構内通信網(以下、ローカルネットと称す。)同士を、非セキュアな広域通信網(以下、インターネットと称す。)を介して接続するときに、安全性を高めるために複数の経路を冗長化する必要がある。 When connecting a plurality of secure local communication networks (hereinafter referred to as local networks) via a non-secure wide area communication network (hereinafter referred to as the Internet), a plurality of routes are provided to increase safety. Need to be made redundant.
例えば、ルータを用いて、インターネットを通る複数のルートを確保して、セキュアな複数のローカルネットワークを接続する。ルーティングプロトコルをルータ間でやり取りしてルートを動的に切り替える。このとき、インターネットとローカルネットの間には、ファイヤウォールなどが設けられて、セキュリティが保たれている。また、ルータでフィルタリングされる方法もある。 For example, a router is used to secure a plurality of routes through the Internet and connect a plurality of secure local networks. The route is switched dynamically by exchanging routing protocols between routers. At this time, a firewall or the like is provided between the Internet and the local net to maintain security. There is also a method of filtering by a router.
また、複数の散在するローカルネット同士を同じネットワークセグメントとして、IP(インターネットプロトコル)トンネリング(L2TPv3、PPP)で、インターネットを意識しないネットワークを構成する方法がある。このとき、複数の経路は、STP(Spanning Tree Protocol)を実装したスイッチで実現されている。 In addition, there is a method of configuring a network that is not aware of the Internet by IP (Internet Protocol) tunneling (L2TPv3, PPP) using a plurality of scattered local nets as the same network segment. At this time, the plurality of paths are realized by switches equipped with STP (Spanning Tree Protocol).
また、同じサービスを提供する複数のサーバに対して、同じ論理IPアドレスを割り当ててサーバの切り替えや負荷分散を行う方法もある。 There is also a method of switching servers and distributing loads by assigning the same logical IP address to a plurality of servers providing the same service.
インターネット上に散在した各プライベートネットワーク同士を通信する方法として、例えば特許文献1に開示されているように、各プライベートネットワークのプライベートIPアドレスを使用して、それぞれの機器間を通信する方法が知られている。
As a method of communicating between private networks scattered on the Internet, for example, as disclosed in
従来は、非セキュアなインターネットを介して複数の拠点のローカルネットを接続するとき、ローカルネットとインターネットの間でセキュリティを保つことが困難な場合があった。また、複数のローカルネットを結ぶインターネットの経路を冗長化しなければ、通信の信頼性が低下するため、経路を冗長とするのは必須である。 Conventionally, when connecting the local nets of a plurality of bases via the non-secure Internet, it may be difficult to maintain security between the local net and the Internet. In addition, if the Internet route connecting a plurality of local nets is not made redundant, the reliability of communication is lowered, so that it is essential to make the route redundant.
ところが、インターネット内に構築された複数の経路は、一方は通信プロバイダともう一方の通信プロバイダが異なることがある。また、一方は高速なIP網で他方はADSL網であることもある。また、自社内に独立した複数の経路を有することもある。これらの場合、冗長化した経路を一方から他方へと切り替える必要がある。 However, a plurality of routes constructed in the Internet may be different in one communication provider and the other communication provider. One may be a high-speed IP network and the other may be an ADSL network. In addition, the company may have a plurality of independent routes. In these cases, it is necessary to switch the redundant route from one to the other.
複数の経路に切替えを行うときには、ルータを使って、ルータに実装されたルーティングプロトコルで動的に経路を切り替える方法がある。この方法ではルーティングプロトコルのパケットがセキュア側と非セキュア側の間を通ることになる。 When switching to a plurality of routes, there is a method of using a router to dynamically switch routes using a routing protocol installed in the router. In this method, routing protocol packets pass between the secure side and the non-secure side.
しかし、セキュア側と非セキュア側の間を通過するのは、複数の拠点のローカルネット同士でやり取りしたいアプリケーションレベルのデータパケットのみに制限することができないことがある。また、ローカルネットワーク間の通信を厳密にセキュリティポリシー上通過させるデータパケットに制限した上で動的にルート変更し、通信路の障害に対応させることができない。 However, passing between the secure side and the non-secure side may not be limited to only application level data packets that are exchanged between local networks at a plurality of locations. Further, it is impossible to dynamically change the route after restricting the communication between the local networks to the data packets that are strictly passed in accordance with the security policy, and to deal with the failure of the communication path.
インターネットをIPトンネリングすることで、ローカルネットワークには意識させないネットワークを構成することができるが、データ通信以外に、IPトンネル維持のためのプロトコルが通信される。また、IPトンネルは接続する複数のローカルネットを同じネットワークセグメントにする必要がある。同じネットワークセグメント内では複数のルートはSTPによって、Switchの物理的なポートを論理的に活殺することで、ルートが一通りに維持される。 By IP tunneling the Internet, a network that is not conscious of the local network can be configured, but in addition to data communication, a protocol for maintaining an IP tunnel is communicated. In addition, in the IP tunnel, it is necessary to connect a plurality of local nets connected to the same network segment. Within the same network segment, a plurality of routes are maintained in a single route by logically killing the physical ports of the switch by STP.
しかし、この方法では、IPトンネル維持のプロトコルの他に、STPパケットも通信される。また、複数拠点のローカルネットワークのアドレス体系を同じセグメントにするという制約がある。 However, in this method, in addition to the IP tunnel maintenance protocol, STP packets are also communicated. In addition, there is a restriction that the address system of a plurality of local networks is made the same segment.
論理IPアドレスを複数のサーバに割り当てて、切り替えや負荷分散をする方法は、サービス自体の冗長化は可能になるが、通信経路の冗長化にはならない。通信経路の冗長化は複数拠点のローカルネットの非セキュア側への出口が互いに状態を把握し合ってルートを維持する必要があるが、サービスへの論理IPアドレスの割り当てではこれは実現できない場合がある。 A method of assigning a logical IP address to a plurality of servers and performing switching or load balancing can make the service itself redundant, but does not make the communication path redundant. Communication path redundancy requires that the exits to the non-secure side of the local network at multiple sites keep track of each other's status, but this may not be possible with logical IP address assignment to services. is there.
本発明は上記課題を解決するためになされたものであって、その目的は、複数のローカルネットワークを、インターネットを介して接続する通信装置の安全性および機密性を向上させることである。 The present invention has been made to solve the above-described problems, and an object of the present invention is to improve the safety and confidentiality of a communication apparatus that connects a plurality of local networks via the Internet.
上記目的を達成するため本発明に係る通信装置は、複数の構内通信網同士を、広域網を介して接続する通信装置であって、前記各構内通信網それぞれには、前記各構内通信網それぞれとIP通信可能な構内通信網用ゲートウェイが接続されて、前記構内通信網用ゲートウェイそれぞれには、前記構内通信網用ゲートウェイそれぞれと非IP通信手段により互いに通信可能に構成された広域網用ゲートウェイが接続されて、前記構内通信網用ゲートウェイは、互いに正常に稼動しているか否かを知らせるハートビート信号を送受信可能で互いの状態を監視可能な第1系構内通信網用ゲートウェイおよび第2系構内通信網用ゲートウェイを含み、前記広域網用ゲートウェイは、互いに前記ハートビート信号を送受信可能で互いの状態を監視可能な第1系広域網用ゲートウェイおよび第2系広域網用ゲートウェイを含み、前記各構内通信網に接続された前記各第1系構内通信網用ゲートウェイそれぞれは、前記非IP通信手段によってそれぞれの前記第1系広域網用ゲートウェイと通信可能に構成されて、前記各構内通信網に接続された前記各第2系構内通信網用ゲートウェイそれぞれは、前記非IP通信手段によってそれぞれの前記第2系広域網用ゲートウェイと通信可能に構成されて、前記第1系構内通信網用ゲートウェイ、第1系広域網用ゲートウェイ、第2系構内通信網用ゲートウェイ、および第2系広域網用ゲートウェイそれぞれは、前記広域網または構内通信網と、IPパケットのデータ信号を送受信可能なIP送受信部と、前記非IP通信手段を介して前記IP送受信部と予め設定された所定の信号情報を互いに送受信可能に構成された非IP送受信部と、前記所定の信号情報の設定情報を予め設定可能に構成された転送可能パケット設定部と、同じ構内通信網に接続された前記第1系および第2系構内通信網用ゲートウェイ同士またはこれらに対応する前記第1系および第2系広域網用ゲートウェイ同士を、互いのモードがマスタかスレーブかを通知および把握するように構成された2系間モード監視部と、同じ構内通信網に接続された前記第1系および第2系構内通信網用ゲートウェイと、これらに対応する前記第1系および第2系広域網用ゲートウェイとを、互いに前記非IP通信手段を介して互いの前記モードの状態を通知および把握するように構成されたゲートウェイ間モード監視部と、前記各第1系広域網用ゲートウェイ同士または前記各第2系広域網用ゲートウェイ同士で、前記モードの状態を通知および把握するように構成された系内モード監視部と、前記2系間モード監視部およびゲートウェイ間モード監視部それぞれが監視した結果が入力されて、前記第1系構内通信網用ゲートウェイ、第1系広域網用ゲートウェイ、第2系構内通信網用ゲートウェイ、および第2系広域網用ゲートウェイそれぞれの前記モードが、互いの前記モードの状態と比較しながら、所定の前記モードに決定されるように構成されたモード判定部と、前記モード判定部で決定した前記モードの状態を保持するモード状態保持部と、を有し、前記第1系および第2系構内通信網用ゲートウェイそれぞれは、前記第1系および第2系構内通信網用ゲートウェイが同じときにマスタになるスプリットブレインを復旧するときに、前記第1系および第2系構内通信網用ゲートウェイのどちらをマスタにするかを決めるための優先情報が予め入力されたスプリットブレイン復旧設定部を有し、前記第1系および第2系構内通信網用ゲートウェイそれぞれの前記2系間モード監視部が、互いに送受信している前記ハートビート信号が途絶えたときに、それぞれが互いに停止していると判定し、前記第1系および第2系構内通信網用ゲートウェイそれぞれの前記モード判定部が、前記第1系および第2系構内通信網用ゲートウェイそれぞれがマスタになった後に、前記ハートビート信号が復旧し、それぞれの前記2系間モード監視部が互いにマスタになったと判定した場合に、前記第1系および第2系構内通信網用ゲートウェイそれぞれのモード判定部が、それぞれの前記スプリットブレイン復旧設定部から、前記優先情報を取得して、前記優先情報を互いに比較して、優先度の高い方はマスタを維持して、優先度の低い方はスレーブに遷移するように構成されていることを特徴とする。
また、本発明に係る通信装置は、複数の構内通信網同士を、広域網を介して接続する通信装置であって、前記各構内通信網それぞれには、前記各構内通信網それぞれとIP通信可能な構内通信網用ゲートウェイが接続されて、前記構内通信網用ゲートウェイそれぞれには、前記構内通信網用ゲートウェイそれぞれと非IP通信手段により互いに通信可能に構成された広域網用ゲートウェイが接続されて、前記構内通信網用ゲートウェイは、互いに正常に稼動しているか否かを知らせるハートビート信号を送受信可能で互いの状態を監視可能な第1系構内通信網用ゲートウェイおよび第2系構内通信網用ゲートウェイを含み、前記広域網用ゲートウェイは、互いに前記ハートビート信号を送受信可能で互いの状態を監視可能な第1系広域網用ゲートウェイおよび第2系広域網用ゲートウェイを含み、前記各構内通信網に接続された前記各第1系構内通信網用ゲートウェイそれぞれは、前記非IP通信手段によってそれぞれの前記第1系広域網用ゲートウェイと通信可能に構成されて、前記各構内通信網に接続された前記各第2系構内通信網用ゲートウェイそれぞれは、前記非IP通信手段によってそれぞれの前記第2系広域網用ゲートウェイと通信可能に構成されて、前記第1系構内通信網用ゲートウェイ、第1系広域網用ゲートウェイ、第2系構内通信網用ゲートウェイ、および第2系広域網用ゲートウェイそれぞれは、前記広域網または構内通信網と、IPパケットのデータ信号を送受信可能なIP送受信部と、前記非IP通信手段を介して前記IP送受信部と予め設定された所定の信号情報を互いに送受信可能に構成された非IP送受信部と、前記所定の信号情報の設定情報を予め設定可能に構成された転送可能パケット設定部と、同じ構内通信網に接続された前記第1系および第2系構内通信網用ゲートウェイ同士またはこれらに対応する前記第1系および第2系広域網用ゲートウェイ同士を、互いのモードがマスタかスレーブかを通知および把握するように構成された2系間モード監視部と、同じ構内通信網に接続された前記第1系および第2系構内通信網用ゲートウェイと、これらに対応する前記第1系および第2系広域網用ゲートウェイとを、互いに前記非IP通信手段を介して互いの前記モードの状態を通知および把握するように構成されたゲートウェイ間モード監視部と、前記各第1系広域網用ゲートウェイ同士または前記各第2系広域網用ゲートウェイ同士で、前記モードの状態を通知および把握するように構成された系内モード監視部と、前記2系間モード監視部およびゲートウェイ間モード監視部それぞれが監視した結果が入力されて、前記第1系構内通信網用ゲートウェイ、第1系広域網用ゲートウェイ、第2系構内通信網用ゲートウェイ、および第2系広域網用ゲートウェイそれぞれの前記モードが、互いの前記モードの状態と比較しながら、所定の前記モードに決定されるように構成されたモード判定部と、前記モード判定部で決定した前記モードの状態を保持するモード状態保持部と、を有し、前記第1系および第2系構内通信網用ゲートウェイそれぞれは、マスタに遷移した時刻情報を格納可能なマスタ遷移時刻設定部を有し、前記第1系および第2系構内通信網用ゲートウェイそれぞれの前記2系間モード監視部が、互いに送受信している前記ハートビート信号が途絶えたときに、それぞれが互いに停止していると判定し、前記第1系および第2系構内通信網用ゲートウェイそれぞれの前記モード判定部が、前記第1系および第2系構内通信網用ゲートウェイそれぞれがマスタになった後に、前記ハートビート信号が復旧し、それぞれの前記2系間モード監視部が互いにマスタになったと判定した場合に、前記第1系および第2系構内通信網用ゲートウェイそれぞれのモード判定部は、それぞれの前記マスタ遷移時刻設定部から、それぞれがマスタに遷移した時刻を取得して、これらの時刻を互いに比較して、早い方はマスタを維持して、遅い方はスレーブに遷移するように構成されていることを特徴とする。
In order to achieve the above object, a communication apparatus according to the present invention is a communication apparatus for connecting a plurality of local communication networks to each other via a wide area network. is connected to IP communication is possible gateway for local area network and, each gateway before Ki構 communication network, a wide area that is capable of communicating with each other by the gateway respectively and non-IP communication means for the front Ki構 communication network gateway for the network is connected, the gateway for the front Ki構 the communication network, for the first system local network capable monitor the state of each other can transmit and receive heartbeat signal indicating whether operating normally with each other includes a gateway and a gateway for the second system local area network, a gateway for the front Kihiro area network, capable of monitoring the status of each other can transmit and receive the heartbeat signal to each other Each of the first-system local area network gateways including a 1-system wide area network gateway and a second-system wide area network gateway connected to the respective local area communication networks is connected to the first IP area by the non-IP communication means. The second local area network gateways configured to be communicable with the local area network gateways and connected to the local area communication networks are respectively connected to the second area wide area network by the non-IP communication means. The gateway for the first system local communication network, the gateway for the first system wide area network, the gateway for the second system local area network, and the gateway for the second system wide area network are configured to communicate with the gateway. Alternatively, a local communication network, an IP transmission / reception unit capable of transmitting / receiving an IP packet data signal, and the IP transmission / reception unit via the non-IP communication unit A non-IP transmission / reception unit configured to be able to transmit / receive predetermined signal information set to each other, a transferable packet setting unit configured to be able to set the setting information of the predetermined signal information in advance, and the same local communication network The connected gateways for the first system and the second system on-site communication network or the corresponding gateways for the first system and the second system wide area network are notified and grasped whether the mode is the master or the slave. The two-system mode monitoring unit configured as described above, the gateways for the first system and the second system local network connected to the same local network, and the first system and the second system wide area network corresponding thereto And a gateway mode monitoring unit configured to notify and grasp each other's mode state via the non-IP communication means, and the first system wide An intra-system mode monitoring unit configured to notify and grasp the state of the mode between the regional network gateways or between the respective second-system wide-area network gateways, the inter-system mode monitoring unit, and the inter-gateway mode The monitoring results of the respective monitoring units are input, and the first system local area network gateway, the first system wide area network gateway, the second system local area network gateway, and the second system wide area network gateway A mode determination unit configured to determine a predetermined mode while comparing modes with each other, and a mode state holding unit that holds the mode state determined by the mode determination unit When, was perforated, the gateway respectively for the first system and the second system local area network, a gateway for the first system and the second system local area network is A split brain recovery setting unit in which priority information for deciding which of the first system and second system local area communication network gateway is to be the master when the split brain that becomes the master at the same time is recovered When the heartbeat signals transmitted and received by the second system mode monitoring units of the first system and second system local area communication network gateways are interrupted, they stop each other. And the mode determination unit of each of the first system and second system local communication network gateways makes the heartbeat signal after each of the first system and second system local communication network gateways becomes a master. Is restored, and when the two inter-system mode monitoring units determine that they are masters of each other, the first-system and second-system local area communication networks Each mode determination unit of each gateway acquires the priority information from each of the split brain recovery setting units, compares the priority information with each other, maintains the master with the higher priority, The lower one is configured to transition to a slave.
The communication device according to the present invention is a communication device for connecting a plurality of local communication networks to each other via a wide area network, and each of the local communication networks is capable of IP communication with each of the local communication networks. A wide area network gateway configured to be able to communicate with each of the local communication network gateways and non-IP communication means is connected to each of the local communication network gateways. The gateway for the local communication network is capable of transmitting and receiving heartbeat signals notifying whether or not they are operating normally and can monitor the state of each other and the gateway for the second local network And the wide area network gateway is capable of transmitting and receiving the heartbeat signal to each other and monitoring each other's state. A gateway for a second system wide area network, and each gateway for a first system local communication network connected to each of the local communication networks is connected to the first system wide area network gateway by the non-IP communication means. Each second-system local network gateway connected to each local-network network is configured to be able to communicate with each second-system wide-area network gateway by the non-IP communication means. The first system local area network gateway, the first system wide area network gateway, the second system local area network gateway, and the second system wide area network gateway are respectively connected to the wide area network or the local area communication network. An IP transmission / reception unit capable of transmitting / receiving an IP packet data signal, and a predetermined location with the IP transmission / reception unit via the non-IP communication means A non-IP transmission / reception unit configured to be able to transmit / receive signal information to / from each other, a transferable packet setting unit configured to be able to set setting information of the predetermined signal information in advance, and the first communication network connected to the same private network It is configured to notify and grasp each other's mode as a master or a slave between the first system and second system local area communication network gateways or the corresponding first system and second system wide area network gateways. A two-system mode monitoring unit, the first-system and second-system local-communication network gateways connected to the same local-communication network, and the corresponding first-system and second-system wide-area network gateways, An inter-gateway mode monitoring unit configured to notify and grasp each other's mode status via the non-IP communication means; and each of the first system wide area network gateways. Intra-system mode monitoring unit configured to notify and grasp the state of the mode between the two or each second-system wide area network gateway, and the inter-system mode monitoring unit and inter-gateway mode monitoring unit, respectively The result of monitoring is input, and the mode of each of the first system local area network gateway, the first system wide area network gateway, the second system local area network gateway, and the second system wide area network gateway is: A mode determination unit configured to be determined to be the predetermined mode while comparing with the mode state of each other, and a mode state holding unit that holds the state of the mode determined by the mode determination unit, Each of the first-system and second-system local area network gateways has a master transition time setting unit capable of storing time information of transition to the master, When the heartbeat signals transmitted and received by the second system mode monitoring unit of each of the first system and second system local area communication network gateways are determined to be stopped, After the mode determination unit of each of the first-system and second-system local area communication network gateways becomes the master for each of the first-system and second-system local area network gateways, the heartbeat signal is restored, When it is determined that the mode monitoring units between the two systems are masters of each other, the mode determination unit of each of the first system and second system local area network communication gateways, from the master transition time setting unit, The time at which each transitions to the master is acquired, and these times are compared with each other. The master is maintained earlier, and the slave transitions later. Characterized in that it is configured to.
本発明によれば、複数のローカルネットワークを、インターネットを介して接続する通信装置の安全性および機密性を向上させることが可能になる。 ADVANTAGE OF THE INVENTION According to this invention, it becomes possible to improve the safety | security and confidentiality of the communication apparatus which connects several local networks via the internet.
以下、本発明に係る通信装置の実施形態について、図面を参照して説明する。 Embodiments of a communication device according to the present invention will be described below with reference to the drawings.
[第1の実施形態]
本発明に係る通信装置の第1の実施形態について、図1〜図6を用いて説明する。図1は、本実施形態の通信装置の構成を示すブロック図である。図2は、図1の通信装置が複数のローカルネットワークおよびインターネット304に接続された状態を示すネットワークシステムの構成図である。図3は、図1の実施形態の制御方法を示すフローで、パケット転送手順の概要を示すフローチャートである。図4は、図1の第1系ローカルネットGW装置1aが停止したときの論理IPアドレスを切り替える手順を示すフローチャートである。図5は、図1の第1系インターネットGW装置2bが停止したときの論理IPアドレスを切り替える手順を示すフローチャートである。図6は、図1の第1系インターネットGW装置2bが停止した後に、再度第1系をマスタに設定する手順を示すフローチャートである。
[First Embodiment]
1st Embodiment of the communication apparatus which concerns on this invention is described using FIGS. FIG. 1 is a block diagram illustrating a configuration of a communication apparatus according to the present embodiment. FIG. 2 is a configuration diagram of a network system showing a state in which the communication apparatus of FIG. 1 is connected to a plurality of local networks and the
図2に示すように、本実施形態は、インターネット304などの非セキュアな広域通信網に、セキュアな3つの構内通信網(以下、ローカルネットと称す。)、すなわち、第1ローカルネット301、第2ローカルネット302、および第3ローカルネット303が、それぞれゲートウェイ(以下、GWと称す。)を介して接続されている。これらのローカルネット内それぞれには、複数の第1計算機101、複数の第2計算機102、および複数の第3計算機103などが接続されている。
As shown in FIG. 2, in the present embodiment, a secure local communication network (hereinafter referred to as a local net), that is, a first
第1ローカルネット301、第2ローカルネット302、および第3ローカルネット303それぞれは、仮想的に2つの系のGW、すなわち第1系GW装置5および第2系GW装置6を有している。
Each of the first
第1系GW装置5は、ローカルネット側に接続される第1系ローカルネットGW装置1aと、インターネット304側に接続される第1系インターネットGW装置2bを有する。同様に、第2系GW装置6は、ローカルネット側に接続される第2系ローカルネットGW装置3cと、インターネット304側に接続される第2系インターネットGW装置4dを有する。
The first system GW apparatus 5 includes a first system local
上記の説明からわかるように、1つのローカルネット、例えば第1ローカルネット301とインターネット304とを接続するGWは、4種類のGW、すなわち第1系ローカルネットGW装置1a、第1系インターネットGW装置2b、第2系ローカルネットGW装置3c、および第2系インターネットGW装置4dを有している。
As can be seen from the above description, there are four types of GWs that connect one local net, for example, the first
ここで、以後の説明において、第1系ローカルネットGW装置1a内に設けられた構成要素の名称の先頭には、「第1の」と記載している。同様に、第1系インターネットGW装置2b内に設けられた構成要素には「第2の」、第2系ローカルネットGW装置3c内に設けられた構成要素には「第3の」、第2系インターネットGW装置4d内に設けられた構成要素には「第4の」と記載している。
Here, in the following description, “first” is described at the head of the names of the components provided in the first system local
図1に示すように、第1系ローカルネットGW装置1aは、第1の転送可能パケット設定部11a、第1のIP送受信部12a、第1の非IP送受信部13a、第1の論理IPアドレス設定解除部14a、第1のGW間モード監視部15a、第1の2系間モード監視部16a、第1のモード判定部17a、第1のモード状態保持部18a、第1のLANポート20a、および第1の2系間モード監視ポート21aを有する。
As shown in FIG. 1, the first system local
第1系インターネットGW装置2bは、第2の転送可能パケット設定部11b、第2のIP送受信部12b、第2の非IP送受信部13b、第2のGW間モード監視部15b、第2の系内モード監視部19b、第2の2系間モード監視部16b、第2のモード判定部17b、第2のモード状態保持部18b、第2のLANポート20b、および第2の2系間モード監視ポート21bを有する。
The first
第1系ローカルネットGW装置1aおよび第1系インターネットGW装置2bは、第1系用非IP通信路22aで接続されている。この第1系用非IP通信路22aは、第1の非IP送受信部13aおよび第2の非IP送受信部13b同士のパケットの通信と、第1のGW間モード監視部15aおよび第2のGW間モード監視部15b同士のモードの通信に用いられる。
The first system local
第2系ローカルネットGW装置3cは、第1系ローカルネットGW装置1aと同様に、第3の転送可能パケット設定部11c、第3のIP送受信部12c、第3の非IP送受信部13c、第3の論理IPアドレス設定解除部14c、第3のGW間モード監視部15c、第3の2系間モード監視部16c、第3のモード判定部17c、第3のモード状態保持部18c、第3のLANポート20c、および第3の2系間モード監視ポート21cを有する。
Similar to the first system local
同様に、第2系インターネットGW装置4dは、第1系インターネットGW装置2bと同様に、第4の転送可能パケット設定部11d、第4のIP送受信部12d、第4の非IP送受信部13d、第4のGW間モード監視部15d、第4の系内モード監視部19d、第4の2系間モード監視部16d、第4のモード判定部17d、第4のモード状態保持部18d、第4のLANポート20d、および第4の2系間モード監視ポート21dを有する。
Similarly, the second-system Internet GW apparatus 4d is similar to the first-system
第2系ローカルネットGW装置3cおよび第2系インターネットGW装置4dは、第2系用非IP通信路22cで接続されている。この第2系用非IP通信路22cは、第1系用非IP通信路22aと同様に、第3の非IP送受信部13cおよび第4の非IP送受信部13d同士のパケットの通信と、第3のGW間モード監視部15cおよび第4のGW間モード監視部15d同士のモードの通信に用いられる。
The second system local
ここで、図1は、図2に示す第1ローカルネット301に接続されたGWの例を示している。
Here, FIG. 1 shows an example of a GW connected to the first
第1のLANポート20aは、セキュアなローカルネット、例えば第1ローカルネット301に接続されて、第1ローカルネット301内の第1計算機101などから送られてくる信号を受信する。また、第1のLANポート20aは、第1のIP送受信部12aおよび第1の論理IPアドレス設定解除部14aそれぞれと互いに通信可能である。
The
第2のLANポート20bは、非セキュアなインターネット304と接続されて、インターネット304経由で送信される信号を受信可能である。また、第2のLANポート20bは、第2のIP送受信部12bおよび第2の系内モード監視部19bそれぞれと互いに通信可能である。
The second LAN port 20 b is connected to the
第1の2系間モード監視ポート21aは、第2系ローカルネットGW装置3cの第3の2系間モード監視ポート21cと互いに通信可能である。また、第1の2系間モード監視ポート21aは、第1の2系間モード監視部16aと互いに通信可能に接続されている。この通信は、互いのGWのモードを通信および監視するモード通信であって、互いに正常に稼動しているか否かを知らせるハートビート通信が行われる。
The first two-system
第2の2系間モード監視ポート21bは、第2系インターネットGW装置4dの第4の2系間モード監視ポート21dと互いに通信可能である。また、第2の2系間モード監視ポート21bは、第4の2系間モード監視部16dと互いに通信可能に接続されている。この通信は、第1および第3の2系間モード監視ポート21a、21cと同様に、互いのGWのモードを通信および監視するモード通信であって、互いに正常に稼動しているか否かを知らせるハートビート通信が行われる。
The second inter-system
ここで、モードとは、GWの状態であって、少なくともマスタ、スレーブ、および未定の3つの状態を含む。マスタのときは、セキュア側のGWは論理IPアドレスが設定され、スレーブまたは未定のときは、論理IPアドレスは設定されないように構成されている。 Here, the mode is a GW state, and includes at least three states: master, slave, and undetermined. The logical IP address is set for the secure side GW when the master is used, and the logical IP address is not set when the slave is undetermined.
第1および第2の転送可能パケット設定部11a、11bそれぞれは、第1ローカルネット301とインターネット304との間で、転送を許可する通信サービスと、この通信サービスを使用する計算機のうち、通信を許可するものを設定する機能を有する。
Each of the first and second transferable
ここで、転送を許可するとは、転送可能パケット設定部で設定された通信サービスのアプリケーションが動作していることを示す。例えば、TCPサーバ機能、UDPサーバ機能、およびFTPサーバ機能などがある。転送可能パケット設定部で設定された通信サービスのプロトコル(TCO、UDP、FTPなど)、およびポート番号(TCP、UDPなど)のサーバアプリケーション(スレッドまたはプロセス)を起動させることによって、設定されたプロトコルやポート番号のパケットを非IP通信で転送する。非IP通信で転送されたパケットは、設定されたプロトコルやポート番号でインターネット304またはローカルネットに送信することができる。
Here, permitting transfer indicates that the communication service application set by the transferable packet setting unit is operating. For example, there are a TCP server function, a UDP server function, and an FTP server function. By starting the server application (thread or process) of the communication service protocol (TCO, UDP, FTP, etc.) and port number (TCP, UDP, etc.) set in the transferable packet setting unit, Transfer the packet of the port number by non-IP communication. A packet transferred by non-IP communication can be transmitted to the
第1および第2のIP送受信部12a、12bそれぞれは、第1および第2のLANポート20a、20bそれぞれと通信可能に構成されている。また、第1および第2のIP送受信部12a、12bそれぞれは、第1および第2の転送可能パケット設定部11a、11bそれぞれと信号の送受信が可能で、第1および第2の転送可能パケット設定部11a、11bそれぞれで設定されたパケット転送設定の情報が入力される。第1および第2のIP送受信部12a、12bで受信したパケットそれぞれは、受信したパケットが、転送が許可されたパケットか否かを判定する機能を有している。
The first and second IP transmission /
第1および第2の非IP送受信部13a、13bそれぞれは、第1および第2のIP送受信部12a、12bそれぞれと通信可能に構成されている。第1および第2のIP送受信部12a、12bそれぞれが転送を許可されたパケットを受信したときに、このパケットが第1および第2の非IP送受信部13a、13bそれぞれに送られる。
Each of the first and second non-IP transmission /
例えば、第2のIP送受信部12bは、第2の転送可能パケット設定部11bにより入力された転送設定の情報に基づいて、第2のLANポート20bに送信された複数のパケットのうち、転送を許可されたパケットのみを受信する。受信したパケットは、第2の非IP送受信部13bおよび第1系用非IP通信路22aを介して、第1の非IP送受信部13aに送られる。第1の非IP送受信部13aで受信したパケットは、第1のIP送受信部12aに送られて、転送設定の情報に基づいて第1のLANポート20aを介して第1ローカルネット301へ転送される。
For example, the second IP transmission /
第1ローカルネット301からインターネット304へパケットを転送するときは、上記の経路と逆の経路に沿って通信される。
When a packet is transferred from the first
第1のモード判定部17aは、第1系ローカルネットGW装置1aのモードの状態が、マスタ、スレーブ、未定のうち、いずれであるかを判定する機能を有している。同様に、第2のモード判定部17bは、第1系インターネットGW装置2bのモードの状態が、マスタ、スレーブ、未定のうち、いずれであるかを判定する機能を有している。
The first
第1のモード判定部17aは、第1の論理IPアドレス設定解除部14a、第1のGW間モード監視部15a、第1の2系間モード監視部16a、第1のモード状態保持部18aそれぞれと互いに通信可能である。第1のモード判定部17aは、第1のGW間モード監視部15aおよび第1の2系間モード監視部16aそれぞれから送られてくる情報に基づいて、上記の判定を行う。この判定結果は第1のモード状態保持部18aに送られる。
The first
第1のモード状態保持部18aは、第1のモード判定部17aで判定した結果を受信して、この結果が格納される。この判定結果がマスタの場合には、第1のモード判定部17aは、第1の論理IPアドレス設定解除部14aに、論理IP設定要求を入力する。スレーブの場合には、論理IPアドレス設定解除部に論理IP解除要求を入力する。
The first mode
第2のモード判定部17bは、第2の系内モード監視部19b、第2のGW間モード監視部15b、第2の2系間モード監視部16b、第2のモード状態保持部18bそれぞれと互いに通信可能である。第2のモード判定部17bは、第2の系内モード監視部19b、第2のGW間モード監視部15b、および第2の2系間モード監視部16bそれぞれから送られてくる情報に基づいて、上記の判定を行う。この判定結果は、第2のモード状態保持部18bに送られる。
The second
第2のモード状態保持部18bは、第1のモード状態保持部18aと同様に、第2のモード判定部17bで判定した結果を受信して、この結果が格納される。
Similar to the first mode
マスタの場合、外部からモード切替えを行うときに、スレーブ遷移要求を受けて、モード状態保持部にスレーブを格納することができる。 In the case of the master, when the mode is switched from the outside, it can receive the slave transition request and store the slave in the mode state holding unit.
第1系ローカルネットGW装置1aを停止する場合、第1のモード判定部17aは、停止要求を受け付け、第1のモード状態保持部18aに「未定」を格納する。同様に、第1系インターネットGW装置2bを停止する場合、第2のモード判定部17bは、停止要求を受け付け、第1のモード状態保持部18aに「未定」を格納する。
When stopping the first system local
第1および第2のGW間モード監視部15a、15bそれぞれは、第1系用非IP通信路22aを介して、互いに通信可能である。第1のGW間モード監視部15aは、第1のモード状態保持部18aに格納されたデータを取得して、第1系用非IP通信路22aを経由して、第1系インターネットGW装置2bのモードの状態を監視して、監視結果を第1のモード判定部17aに入力する。同様に、第2のGW間モード監視部15bは、第2のモード状態保持部18bに格納されたデータを取得して、第1系用非IP通信路22aを経由して、第1系ローカルネットGW装置1aのモードの状態を監視して、監視結果を第2のモード判定部17bに入力する。
The first and second inter-GW
第2の系内モード監視部19bは、別のローカルネット、例えば第2ローカルネット302と同系のインターネットGWのモード状態を監視する機能を有する。図1の第2の系内モード監視部19bは、第2のモード状態保持部18bに格納されたデータを取得して、第2のLANポート20bを経由して、例えば第2ローカルネット302用の第1系インターネットGW装置2bのモード状態を監視する。第2の系内モード監視部19bが監視した結果は、同じ第1系インターネットGW装置2b内に設けられた第2のモード判定部17bに入力される。
The second intra-system
第1および第2の2系間モード監視部16a、16bそれぞれは、第1および第2のモード判定部17a、17bそれぞれと通信可能である。また、第1の2系間モード監視部16aは、第1のモード状態保持部18aに格納されたデータを取得して、第1の2系間モード監視ポート21aを経由して、第2系ローカルネットGW装置3cのモードの状態を監視して、監視結果を第1のモード判定部17aに入力する。同様に、第2の2系間モード監視部16bは、第2のモード状態保持部18bに格納されたデータを取得して、第2の2系間モード監視ポート21bを経由して、第2系インターネットGW装置4dのモードの状態を監視して、監視結果を第2のモード判定部17bに入力する。
The first and second two-system
続いて、本実施形態の作用について説明する。先ず、通常時の動作について図3を用いて説明する。 Then, the effect | action of this embodiment is demonstrated. First, normal operation will be described with reference to FIG.
図3の例では、第1ローカルネット301内にある第1計算機101からインターネット304を経由して、第2ローカルネット302内の第2計算機102に対してパケット送信を行う手順を示している。この例では、第1ローカルネット301に接続された第1系GW装置5と、第2ローカルネット302に接続された第1系GW装置5がマスタで、第1ローカルネット301に接続された第2系GW装置6と、第2ローカルネット302に接続された第2系GW装置6がスレーブになっている。
In the example of FIG. 3, a procedure for transmitting a packet from the
先ず、図3に示すように、第1ローカルネット301用の第1系ローカルネットGW装置1a内の第1の転送可能パケット設定部11aおよび第1系インターネットGW装置2b内の第2の転送可能パケット設定部11bそれぞれは、使用者によって、パケット転送設定の情報が入力されて保存される(ステップS301)。同様に、第1ローカルネット301用の第2系ローカルネットGW装置3c内の第3の転送設定パケット設定部および第2系インターネットGW装置4d内の第4の転送設定パケット設定部それぞれにも、パケット転送設定の情報が入力されて保存される(ステップS302)。
First, as shown in FIG. 3, the first transferable
第2ローカルネット302用の第1系GW装置5および第2系GW装置6にも同様に、パケット転送設定の情報が入力されて保存される(ステップS303、S304)。なお、図3の例では、マスタとなる第1系GW装置5におけるフローチャートを示しているが、第2系についても同様に、転送設定の情報が保存される。
Similarly, packet transfer setting information is input and stored in the first system GW device 5 and the second
第1のローカルネット側の動作について、以下に説明する。 The operation on the first local net side will be described below.
第1ローカルネット301内の第1計算機101が、第1のLANポート20a宛にパケットを送信する(ステップS305)。
The
第1のIP送受信部12aは、第1の転送可能パケット設定部11aから転送設定の情報を取得して、第1のLANポート20aに送信されたパケットが、転送を許可された計算機またはサービスのものであるかを判定する(ステップS306)。このとき、転送を許可しないパケットの場合、通信サービスが動作していないため、パケットは受信されない。
The first IP transmission /
第1のIP送受信部12aは、転送を許可されたパケットを受信した後に、受信したパケットを第1の非IP送受信部13aに送る(ステップS307)。第1の非IP送受信部13aは、受信したパケットを第1系用非IP通信路22aを経由して、第1系インターネットGW装置2bに転送される(ステップS308)。
After receiving the packet permitted to be transferred, the
第1系インターネットGW装置2b内の第2の非IP送受信部13bは、第1系用非IP通信路22aを介して転送されたパケットを受信して、第2のIP送受信部12bに送る(ステップS309)。第2のIP送受信部12bは、第2の転送可能パケット設定部11bから転送設定の情報を取得して、どのローカルネットにパケットを転送すべきかを決定する(ステップS310)。
The second non-IP transmission /
第2のIP送受信部12bは、第2の転送可能パケット設定部11bから取得した設定に基づいて、第2ローカルネット302用の第1系インターネットGW装置2bのプロトコル、ポート番号などにパケットを送信する(ステップS311)。
The second IP transmission /
第2ローカルネット302側の動作について、以下に説明する。
The operation on the second
第2ローカルネット302用の第1系インターネットGW装置2b内の第2のIP送受信部12bは、第2の転送可能パケット設定部11bから転送設定の情報を取得して、第2のLANポート20bに送信されてきたパケットが転送を許可されたものか否かを判定する(ステップS312)。第2のIP送受信部12bは、転送を許可されたパケットを受信して、受信したパケットを第2の非IP送受信部13bに送る(ステップS313)。
The second IP transmission /
第2の非IP送受信部13bは受信したパケットを第1系用非IP通信路22aを経由して、第1系ローカルネットGW装置1aに転送する(ステップS314)。第2系ローカルネットGW装置3c内の第1の非IP送受信部13aは、第1系用非IP通信路22aを介して転送されたパケットを受信して、第1のIP送受信部12aに送信する(ステップS315)。
The second non-IP transmission /
第1のIP送受信部12aは、第1の転送可能パケット設定部11aから転送設定を取得して(ステップS316)、この転送設定の情報に基づいて、第2ローカルネット302内の第2計算機102にパケットを第1のLANポート20aを介して送信する(ステップS317)。第2ローカルネット302内の第2計算機102が、このパケットを受信して(ステップS318)、完了となる。
The first IP transmission /
次に、第1ローカルネット301用の第1系GW装置5および第2ローカルネット302用の1系GWのモードが共にマスタで、第1ローカルネット301用の第1系ローカルネットGW装置1aが停止したときに、論理IPアドレスを切り替える手順(IPフェイルオーバー)について、図4を用いて、説明する。
Next, the first system GW apparatus 5 for the first
先ず、第1ローカルネット301用の第1系ローカルネットGW装置1aがダウンすると(ステップS401)、第1ローカルネット301用の第2インターネットGW内の第2のGW間モード監視部15bが、非IPのモード通信の切断を検出する(ステップS402)。
First, when the first-system local
第1ローカルネット301用の第1系インターネットGW装置2b内の第2のGW間モード監視部15bは、第2のモード判定部17bに非IPモード通信の切断を通知する。第2のモード判定部17bは、切断通知を受け取って第2のモード状態保持部18bにスレーブであることを設定する(ステップS403)。第2の2系間モード監視部16bは、第2のモード状態保持部18bからスレーブ状態を取得して、第2系インターネットGW装置4dに通知する(ステップS404)。
The second inter-GW
第1系インターネットGW装置2b内の第2のモード判定部17bは、第2のモード状態保持部18bからスレーブ状態の情報を取得して、第2の系内モード監視部19bに渡す。第2の系内モード監視部19bは、受け取ったスレーブ変更通知を、第2ローカルネット302用の第1系インターネットGW装置2bに送信する(ステップS418)
第1ローカルネット301用の第2系インターネットGW装置4d内の第4の系内モード監視部19aは、第1系インターネットGW装置2bからの通知を受け取り、第4のモード判定部17dに渡す(ステップS407)。第2系インターネットGW装置4d内の第4のモード判定部17dは、マスタ変更通知を受け取って、第4のモード状態保持部18dにマスタであることを設定する(ステップS408)。
The second
The fourth intra-system mode monitoring unit 19a in the second-system Internet GW device 4d for the first
第1ローカルネット301用の第2系インターネットGW装置4d内の第4のGW間モード監視部15dは、第4のモード状態保持部18dからマスタ状態を取得して、第2系ローカルネットGW装置3cに通知する(ステップS409)。
The fourth inter-GW
第2系インターネットGW装置4d内の第4のモード判定部17dは、第4のモード状態保持部18dからマスタ状態を取得して、第4の系内モード監視部19dに渡す。第4の系内モード監視部19dは、マスタ変更通知を、第2ローカルネット302用の第2系インターネットGW装置4dに送信する(ステップS412)。
The fourth
第1ローカルネット301用の第2系ローカルネットGW装置3c内の第3の2系間モード監視部16cは、ハートビート通信が切断したことを検出して、第3のモード判定部17cに通知する(ステップS405)。第3のモード判定部17cは、第3のモード状態保持部18cにマスタを設定して、第2系インターネットGW装置4dからマスタ変更通知が届くのを待機する(ステップS406)。
The third inter-system
第3のGW間モード監視部15cは、第2系インターネットGW装置4dからのマスタ変更通知を受け取って、第3のモード判定部17cに渡す(ステップS410)。この第3のモード判定部17cは、第3の論理IPアドレス設定解除部14cに、マスタに変更した旨を通知する。第3の論理IPアドレス設定解除部14cは、第3のLANポート20cに、論理IPを設定する(ステップS411)。
The third inter-GW
第2ローカルネット302用の第2系インターネットGW装置4d内の第4の系内モード監視部19dは、第1ローカルネット301用の第2系インターネットGW装置4dからマスタ変更通知を受け取って、第4のモード判定部17dに渡す(ステップS413)。この第4のモード判定部17dは、マスタ変更通知を受け取って、第4のモード状態保持部18dにマスタを設定する(ステップS414)。
The fourth intra-system
第2ローカルネット302用の第2系インターネットGW装置4d内の第4のGW間モード監視部15dは、第4のモード状態保持部18dからマスタ状態を取得して、第2系ローカルネットGW装置3cに通知する(ステップS415)。
The fourth inter-GW
第2ローカルネット302用の第2系ローカルネットGW装置3c内の第3のGW間モード監視部15cは、第2系インターネットGW装置4dからマスタ変更通知を受け取って、第3のモード判定部17cに渡す(ステップS416)。この第3のモード判定部17cは、第3のモード状態保持部18cをマスタに設定して、第3の論理IPアドレス設定解除部14cにマスタに変更した旨を通知する。第3の論理IPアドレス設定解除部14cは、第3のLANポート20cに論理IPを設定する(ステップS417)。
The third inter-GW
第2ローカルネット302用の第1系インターネットGW装置2b内の第2の系内モード監視部19bは、第1ローカルネット301用の第1系インターネットGW装置2bからのスレーブ変更通知を受け取って、第2ローカルネット302用の第2のモード判定部17bに渡す(ステップS419)。この第2のモード判定部17bは、スレーブ変更通知を受け取って、第2のモード状態保持部18bにスレーブを設定する(ステップS420)。
The second intra-system
第2のGW間モード監視部15bは、第2のモード状態保持部18bからスレーブ状態を取得して、第2ローカルネット302用の第1系ローカルネットGW装置1aに通知する(ステップS421)。第2ローカルネット302用の第1系ローカルネットGW装置1a内の第3のGW間モード監視部15cは、第2系インターネットGW装置4dからのスレーブ変更通知を受け取って、第3のモード判定部17cに渡す(ステップS422)。この第3のモード判定部17cは、スレーブ変更通知を受け取って、第2ローカルネット302用の第1のモード状態保持部18aにスレーブを設定するとともに、第1の論理IPアドレス設定解除部14aにスレーブに変更した旨を通知する(ステップS423)。
The second inter-GW
第2ローカルネット302用の第1系ローカルネットGW装置1a内の第1の論理IPアドレス設定解除部14aは、第1ローカルネット301用の第1のLANポート20aの論理IPを解除する(ステップS424)。
The first logical IP address setting
これにより、第1系GW装置5から第2系GW装置6へ、論理IPアドレスを切り替えることができる。
Thereby, the logical IP address can be switched from the first system GW apparatus 5 to the second
次に、第1ローカルネット301の第1系GW装置5および第2ローカルネット302の第1系GW装置5のモード状態が共にマスタで、第1系インターネットGW装置2bが停止したときの、論理IPアドレスを切り替える手順(IPフェイルオーバー)について、図5を用いて、説明する。
Next, the logic when the mode state of the first system GW device 5 of the first
先ず、第1ローカルネット301の第1系インターネットGW装置2bが停止すると(ステップS501)、第1ローカルネット301用の第1のGW間モード監視部15aが非IP通信の切断を検出し、第1のモード判定部17aに通知する(ステップS502)。第1のモード判定部17aは、切断通知を受け取って、第1のモード状態保持部18aにスレーブを設定する(ステップS503)。
First, when the first-system
第1ローカルネット301用の第1の2系間モード監視部16aは、第1のモード状態保持部18aからスレーブ状態を取得して、第1ローカルネット301用の第2系ローカルネットGW装置3cに通知する(ステップS504)。
The first two-system
第1ローカルネット301用の第1系ローカルネットGW装置1a内の第3の2系間モード監視部16cは、第1系ローカルネットGW装置1aからの通知を受け取って、第3のモード判定部17cに渡す(ステップS507)。この第3のモード判定部17cは、マスタ変更通知を受け取って、第3のモード状態保持部18cにマスタを設定し、第1ローカルネット301用の第2系インターネットGW装置4dからのマスタ変更通知が届くのを待機する(ステップS508)。
The third inter-system
第1ローカルネット301用の第2系ローカルネットGW装置3c内の第3のGW間モード監視部15cは、第2系インターネットGW装置4dからのマスタ変更通知を受け取って、第3のモード判定部17cに渡す(ステップS509)。この第3のモード判定部17cは、第3の論理IPアドレス設定解除部14cにマスタに変更した旨を通知して、第3の論理IPアドレス設定解除部14cは、第3のLANポート20cに論理IPを設定する(ステップS510)。
The third inter-GW
第1ローカルネット301用の第2系インターネットGW装置4d内の第4の2系間モード監視部16dは、ハートビート通信が切断したことを検出して、第4のモード判定部17dに通知する(ステップS505)。第4の2系間モード監視部16dは、第4のモード状態保持部18dにマスタを設定する(ステップS506)。第4のGW間モード監視部15dは、第4のモード状態保持部18dからマスタを取得して、第2系ローカルネットGW装置3cに通知する(ステップS511)。
The fourth inter-system
第4のモード判定部17dは、第4のモード状態保持部18dからマスタ状態を取得して、第4の系内モード監視部19dに渡し、第4の系内モード監視部19dは、マスタ変更通知を第2ローカルネット302用の第2系インターネットGW装置4dに送信する(ステップS512)。
The fourth
第2ローカルネット302用の第2系インターネットGW装置4d内の第4の系内モード監視部19dは、第1ローカルネット301用の第4の系内モード監視部19dからマスタ変更通知を受け取って、第2ローカルネット302用の第4のモード判定部17dに渡す(ステップS513)。この第4のモード判定部17dは、マスタ変更通知を受け取って、第4のモード状態保持部18dにマスタを設定する(ステップS514)。
The fourth intra-system
第2ローカルネット302用の第2系インターネットGW装置4d内の第4のGW間モード監視部15dは、第4のモード状態保持部18dからマスタ状態を取得して、第2ローカルネット302用の第2系ローカルネットGW装置3cに通知する(ステップS515)。
The fourth inter-GW
第2ローカルネット302用の第2系ローカルネットGW装置3c内の第3のGW間モード監視部15cは、第2系インターネットGW装置4dからマスタ変更通知を受け取って、第2ローカルネット302用の第3のモード判定部17cに渡す(ステップS516)。この第3のモード判定部17cは、第3のモード状態保持部18cにマスタを設定して、第3の論理IPアドレス設定解除部14cにマスタに変更した旨を通知して、第3の論理IPアドレス設定解除部14cは、第3のLANポート20cに論理IPを設定する(ステップS517)。
The third inter-GW
第2ローカルネット302用の第1系インターネットGW装置2b内の第2の系内モード監視部19bは、第1ローカルネット301用の第2の系内モード監視部19bとの系内モード通信の切断を検出し、第2のモード判定部17bに通知する(ステップS518)。この第2のモード判定部17bは、モード通信の切断の通知を受け取って、第2のモード状態保持部18bにスレーブを設定する(ステップS519)。第2のGW間モード監視部15bは、第2のモード状態保持部18bからスレーブ状態を取得して、第1系ローカルネットGW装置1aに通知する(ステップS520)。
The second intra-system
第2ローカルネット302用の第1系ローカルネットGW装置1a内の第1のGW間モード監視部15aは、第1系インターネットGW装置2bからのスレーブ変更通知を受け取って、第1のモード判定部17aに渡す(ステップS521)。この第1のモード判定部17aは、スレーブ変更通知を受け取って、第1のモード状態保持部18aにスレーブを設定するとともに、第1の論理IPアドレス設定解除部14aにスレーブに変更した旨を通知する(ステップS522)。この第1の論理IPアドレス設定解除部14aは、第3のLANポート20cの論理IPを解除する(ステップS523)。
The first inter-GW
これにより、第1系GW装置5から第2系GW装置6へ、論理IPアドレスを切り替えることができる。
Thereby, the logical IP address can be switched from the first system GW apparatus 5 to the second
次に、第1ローカルネット301用の第1系インターネットGW装置2bが停止して、第2系GW装置6にIPフェイルオーバが発生した後に再び第1系GW装置5をマスタに設定し直したときに、論理IPアドレスを切り替える手順について、図6を用いて説明する。
Next, when the first-system
第1ローカルネット301の第1系インターネットGW装置2bが停止して、第2系GW装置6にIPフェイルオーバが発生した後に、使用者によって第1系インターネットGW装置2bが再起動される(ステップS601)。このとき、第1および第2の非IP送受信部13a、13b同士、並びに、第1および第2のGW間モード監視部15a、15b同士が、非IP通信を開始して、第1および第3の2系間モード監視部16a、16c同士がハートビート通信を開始する(ステップS602)。
After the first-system
再度、第1系GW装置5をマスタにするために、第2系ローカルネットGW装置3cの第3のモード判定部17cにスレーブ遷移要求を行う(ステップS603)。この第3のモード判定部17cは、スレーブ遷移要求を受け取って第3のモード状態保持部18cにスレーブを設定する。第3のGW間モード監視部15cは、第3のモード状態保持部18cからスレーブ状態を取得して、第2系インターネットGW装置4dに通知する(ステップS604)。
In order to make the first system GW device 5 a master again, a slave transition request is made to the third
第1ローカルネット301用の第2系インターネットGW装置4d内の第4のGW間モード監視部15dは、第1系ローカルネットGW装置1aからのスレーブ変更通知を受け取って、第4のモード判定部17dに渡す(ステップS607)。この第4のモード判定部17dは、スレーブ変更通知を受け取って、第4のモード状態保持部18dにスレーブを設定する(ステップS608)。
The fourth inter-GW
第2系インターネットGW装置4d内の第4の2系間モード監視部16dは、第4のモード状態保持部18dからスレーブ状態を取得して、第1系インターネットGW装置2bに通知する(ステップS609)。
The fourth inter-system
第2系インターネットGW装置4d内の第4のモード判定部17dは、第4のモード状態保持部18dからスレーブ状態を取得して、第4の系内モード監視部19dに渡す。第4の系内モード監視部19dは、スレーブ変更通知を、第2ローカルネット302用の第2系インターネットGW装置4dに送信する(ステップS610)。
The fourth
第1ローカルネット301用の第1系インターネットGW装置2b内の第2の2系間モード監視部16bは、第2系インターネットGW装置4dからスレーブ変更通知を受け取って、第2のモード判定部17bに渡す(ステップS611)。この第2のモード判定部17bは、スレーブ変更通知を受け取って、第2のモード状態保持部18bにマスタを設定する(ステップS612)。
The second inter-system
第1系インターネットGW装置2b内の第2のGW間モード監視部15bは、第2のモード状態保持部18bからマスタ状態を取得して、第1系ローカルネットGW装置1aに通知する(ステップS613)。
The second inter-GW
第1系インターネットGW装置2b内の第2のモード判定部17bは、第2のモード状態保持部18bからスレーブ状態を取得して第2の系内モード監視部19bに渡す。この第2の系内モード監視部19bは、スレーブ変更通知を第2ローカルネット302用の第1系インターネットGW装置2bに送信する(ステップS614)。
The second
第1ローカルネット301用の第1系ローカルネットGW装置1a内の第1の2系間モード監視部16aは、第2系ローカルネットGW装置3cからのスレーブ変更通知を受け取って、第1のモード判定部17aに渡す(ステップS605)。この第1のモード判定部17aは、スレーブ変更通知を受け取って、第1のモード状態保持部18aにマスタを設定し、第1系インターネットGW装置2bからマスタ変更通知が届くのを待機する(ステップS606)。
The first inter-two-system
第1系ローカルネットGW装置1a内の第1のGW間モード監視部15aは、第1系インターネットGW装置2bからのマスタ変更通知を受け取って、第1のモード判定部17aに渡す(ステップS615)。この第1のモード判定部17aは、第1の論理IPアドレス設定解除部14aにマスタに変更した旨を通知して、この第1の論理IPアドレス設定解除部14aは、第1のLANポート20aに論理IPを設定する(ステップS616)。
The first inter-GW
第2ローカルネット302用の第2系インターネットGW装置4d内の第4の系内モード監視部19dは、第1ローカルネット301用の第2系インターネットGW装置4dからのスレーブ変更通知を受け取って、第4のモード判定部17dに渡す(ステップS617)。この第4のモード判定部17dは、スレーブ変更通知を受け取って、第4のモード状態保持部18dにスレーブを設定する(ステップS618)。
The fourth intra-system
第2ローカルネット302用の第2系インターネットGW装置4d内の第4のGW間モード監視部15dは、第4のモード状態保持部18dからスレーブ状態を取得して、第2系ローカルネットGW装置3cに通知する(ステップS619)。
The fourth inter-GW
第2系ローカルネットGW装置3c内の第3のGW間モード監視部15cは、第2系インターネットGW装置4dからのスレーブ変更通知を受け取って、第3のモード判定部17cに渡す(ステップS620)。この第3のモード判定部17cは、第3のモード状態保持部18cにスレーブを設定するとともに、第3の論理IPアドレス設定解除部14cにスレーブに変更した旨を通知する(ステップS621)。この第3の論理IPアドレス設定解除部14cは、第3のLANポート20cの論理IPを解除する(ステップS622)。
The third inter-GW
第2ローカルネット302用の第1系インターネットGW装置2b内の第2の系内モード監視部19bは、第1ローカルネット301用の第1系インターネットGW装置2bからのマスタ変更通知を受け取って、第2ローカルネット302用の第2のモード判定部17bに渡す(ステップS623)。この第2のモード判定部17bは、マスタ変更通知を受け取って、第2のモード状態保持部18bにマスタを設定する(ステップS624)。
The second intra-system
第2ローカルネット302用の第1系インターネットGW装置2b内の第2のGW間モード監視部15bは、第2のモード状態保持部18bからマスタを取得して、第1系ローカルネットGW装置1aに通知する(ステップS625)。この第1系ローカルネットGW装置1a内の第1のGW間モード監視部15aは、第1系インターネットGW装置2bからのマスタ変更通知を受け取って、第1のモード判定部17aに渡す(ステップS626)。この第1のモード判定部17aは、マスタ変更通知を受け取って、第1のモード状態保持部18aにマスタを設定するとともに、第1の論理IPアドレス設定解除部14aにマスタに変更した旨を通知する(ステップS627)。この第1の論理IPアドレス設定解除部14aは、第3のLANポート20cに理IPを設定する(ステップS628)。
The second inter-GW
これにより、第2系GW装置6から第1系GW装置5へ、論理IPアドレスを切り替えることができる。
Thereby, the logical IP address can be switched from the second
ここで、図6のステップS603で第3のモード判定部17cに停止要求を行い、ステップS604で第3のモード状態保持部18cに、「未定」を設定した場合も、上記工程と同様に、論理IPアドレスの切り替えを行うことが可能である。
Here, even when the third
以上の説明からわかるように本実実施形態によれば、インターネット304側が不要なパケットが、インターネット304を介してローカルネット301、302、303に送り込まれることを抑制できる。これにより、複数のローカルネット同士は、通信したいデータパケットのみを通信することができる。
As can be seen from the above description, according to the present embodiment, it is possible to prevent packets unnecessary for the
また、ローカルネット301、302、303内の通信を行うアプリケーションは、冗長化された通信経路の系の切り替えが発生しても、通信を継続することが可能である。
In addition, an application that performs communication in the
したがって、複数のローカルネット301、302、303を、インターネット304を介して接続する通信装置の安全性および機密性を向上させることが可能になる。
Therefore, it is possible to improve the safety and confidentiality of a communication device that connects a plurality of
また、本実施形態では、2つのポート、すなわち、LANポートおよび2系間モード監視ポートを有している。 In this embodiment, there are two ports, that is, a LAN port and a two-system mode monitoring port.
これらのポートは、2系間モード監視ポートを、LANポートと異なるポートに割り当ててもよい。また、2系間モード監視ポート同士、例えば第1および第3の2系間モード監視ポート21a、21c同士は、クロス接続により直結することも可能で、例えば、シリアル接続も可能である。LANポートの間の通信が切れた場合も、2系間モード監視部によるモード監視を行うことができる。
For these ports, the inter-system mode monitoring port may be assigned to a port different from the LAN port. Further, the two-system mode monitoring ports, for example, the first and third two-system
これにより、パケット転送の負荷上昇などのLANポートの通信状態に関係なく、信頼性の高いハートビート通信が可能になるため、モード管理の品質を向上させることができる。 This enables highly reliable heartbeat communication regardless of the communication state of the LAN port, such as an increase in packet transfer load, thereby improving the quality of mode management.
また、LANポートが、2系間モード監視ポートの機能を備えるように構成してもよい。この場合、2系間モード監視ポートの間、例えば第1および第3の2系間モード監視ポート21a、21c同士の接続は、LAN接続により行う。
In addition, the LAN port may be configured to have a function of a two-system mode monitoring port. In this case, the connection between the two-system mode monitoring ports, for example, the first and third two-system
これにより、LANポートを1つしか備えていない場合であっても、ハートビート通信が可能である。よって、GWを構成するためのコストを低減することができる。 Thereby, even when only one LAN port is provided, heartbeat communication is possible. Thus, the cost for configuring the GW can be reduced.
また、2系間モード監視ポートをLANポートと異なるポートに割り当てたときに、LANポートにもハートビート用通信ポートとして使用してもよい。この場合、2系間モード監視ポートが切断されても、LANポートによって、ハートビート通信を行うことが可能になる。 When the inter-system mode monitoring port is assigned to a port different from the LAN port, the LAN port may also be used as a heartbeat communication port. In this case, even if the two-system mode monitoring port is disconnected, the heartbeat communication can be performed through the LAN port.
これにより、パケット転送の負荷上昇などのLANポートの通信状態に関係なく、信頼性の高いハートビート通信が可能になり、モード管理の品質を向上させることができる。さらに、LANポート、2系間モード監視ポートのいずれか一方の通信が途絶えた場合であっても、もう一方のポートによりハートビート通信を行うことが可能になるため、より信頼性が向上する。 This makes it possible to perform heartbeat communication with high reliability regardless of the communication state of the LAN port, such as an increase in packet transfer load, and improve the quality of mode management. Furthermore, even if communication of either the LAN port or the inter-system mode monitoring port is interrupted, heartbeat communication can be performed by the other port, so that reliability is further improved.
[第2の実施形態]
本発明に係る通信装置の第2の実施形態について、図2および図7〜図9を用いて説明する。
[Second Embodiment]
A second embodiment of the communication apparatus according to the present invention will be described with reference to FIGS. 2 and 7 to 9.
図7は、本実施形態の通信装置の構成を示すブロック図である。図8は、図7の通信装置のうち第1系ローカルネットGW装置1aおよび第2系ローカルネットGW装置3cが共に停止して再起動したときに、スプリットブレインを解消する例の手順の概要を示すフローチャートである。図9は、第1系ローカルネットGW装置1aおよび第2系ローカルネットGW装置3c同士のハートビート信号が切断されて再び通信が復旧した後のスプリットブレイン検出と、第1系GW装置5を優先的にマスタにすることでスプリットブレインを解消する手順を示すフローチャートである。
FIG. 7 is a block diagram illustrating a configuration of the communication apparatus according to the present embodiment. FIG. 8 shows an outline of an example procedure for eliminating the split brain when both the first-system local
なお、本実施形態は、第1の実施形態の変形例であって、第1の実施形態と同一部分または類似部分には、同一符号を付して、重複説明を省略する。また、本実施形態の通信装置は、図2と同様のネットワークシステムを構成している。 In addition, this embodiment is a modification of 1st Embodiment, Comprising: The same code | symbol is attached | subjected to the same part or similar part as 1st Embodiment, and duplication description is abbreviate | omitted. In addition, the communication apparatus according to the present embodiment forms a network system similar to that shown in FIG.
本実施形態では、第1系ローカルネットGW装置1aおよび第2系ローカルネットGW装置3cそれぞれに、第1のスプリットブレイン復旧設定部23a、および第3のスプリットブレイン復旧設定部23cが設けられている。
In the present embodiment, a first split brain recovery setting unit 23a and a third split brain
第1および第3のスプリットブレイン復旧設定部23a、23cは、第1系GW装置5および第2系GW装置6のモードが、共にマスタを検出したときに、第1および第3の2系間モード監視部16a、16cそれぞれにどちらがマスタとして継続するかを決める優先度の情報を入力する。この優先度の情報は、使用者によって、第1および第3のスプリットブレイン復旧設定部23a、23cそれぞれに予め設定されている。
The first and third split brain
本実施形態の第1および第3の2系間モード監視部16a、16cそれぞれは、相手系のローカルネットGWに優先度を互いに通知し合い、優先度の低い場合には、ローカルネットGWのモードをスレーブに変更する機能を有している。
Each of the first and third inter-system
本実施形態の作用について説明する。先ず、通常時の動作について図8を用いて説明する。 The operation of this embodiment will be described. First, a normal operation will be described with reference to FIG.
先ず、第1ローカルネット301用の第1系ローカルネットGW装置1aおよび第2系ローカルネットGW装置3cが停止した(ステップS801、S805)後に、それぞれ再起動する(ステップS802、S806)。
First, after the first system local
第1および第3の2系間モード監視部16a、16cは、互いにハートビート通信を開始する(ステップS803、S807)。
The first and third inter-system
第1および第3の2系間モード監視部16a、16cそれぞれは、第1および第3のスプリットブレイン復旧設定部23a、23cそれぞれから、マスタ継続の優先度情報を取得して、互いにの系同士、すなわち、第1系および第2系同士で互いに送信しあう(ステップS804、S808)。
The first and third inter-system
第1の2系間モード監視部16aは、第2系(相手系)の優先度と第1系(自系)の優先度を第1のモード判定部17aに通知して、第1のモード判定部17aは、自系の優先度が高いと判定して、第1のモード状態保持部18aにマスタを設定する。第1のGW間モード監視部15aは、マスタに変更した旨を第1系インターネットGW装置2bに通知する(ステップS809)。
The first inter-system
第1系インターネットGW装置2bの第2のGW間モード監視部15bは、第1系ローカルネットGW装置1aからのマスタ変更通知を受け取って、第2のモード判定部17bに通知する(ステップS810)。この第2のモード判定部17bは、第2のモード状態保持部18bにマスタを設定して、第2のGW間モード監視部15bは、マスタに変更した旨を第1系ローカルネットに通知する(ステップS811)。
The second inter-GW
第1系ローカルネットGW装置1a内の第1のGW間モード監視部15aは、第1系インターネットGW装置2bからのマスタ変更通知を受け取って、第1のモード判定部17aに通知する(ステップS812)。この第1のモード判定部17aは、第1の論理IPアドレス設定解除部14aにマスタを変更した旨を通知して、第1の論理IPアドレス設定解除部14aは、第1のLANポート20aに論理IPを設定する(ステップS813)。
The first inter-GW
第1ローカルネット301用の第1系ローカルネットGW装置1a内の第1の系内モード監視部19aは、第1のモード状態保持部18aからマスタ状態を取得して、第2ローカルネット302用の第1系インターネットGW装置2bに通知する(ステップS814)。
The first intra-system mode monitoring unit 19a in the first system local
第1ローカルネット301用の第2系ローカルネットGW装置3c内の第3の2系間モード監視部16cは、相手系となる第1系の優先度と、自系となる第2系の優先度を、第3のモード判定部17cに通知する。この第3のモード判定部17cは、自系となる第2系の優先度が低いと判定して、第3のモード状態保持部18cにスレーブを設定する。第3のGW間モード監視部15cは、スレーブに変更した旨を第2系インターネットGW装置4dに通知する(ステップS815)。
The third inter-system
第2系インターネットGW装置4d内の第4のGW間モード監視部15dは、第2系ローカルネットGW装置3cからのスレーブ変更通知を受け取って、第4のモード判定部17dに渡す(ステップS816)。この第4のモード判定部17dは、第4のモード状態保持部18dにスレーブを設定する(ステップS817)。この第4のモード判定部17dは、第4のモード状態保持部18dからスレーブ状態を取得して、第4の系内モード監視部19dに渡し、この第4の系内モード監視部19dは、スレーブ変更通知を、第2ローカルネット302用の第2系インターネットGW装置4dに送信する(ステップS818)。
The fourth inter-GW
第2ローカルネット302用の第2系インターネットGW装置4d内の第4の系内モード監視部19dは、第1ローカルネット301用の第2系インターネットGW装置4dからスレーブ変更通知を受け取って、第2ローカルネット302用の第4のモード判定部17dに渡す(ステップS819)。この第4のモード判定部17dは、スレーブ変更通知を受け取って、第4のモード状態保持部18dにスレーブを設定する。第4のGW間モード監視部15dは、第4のモード状態保持部18dからスレーブ状態を取得して、第2ローカルネット302用の第2系ローカルネットGW装置3cに通知する(ステップS820)。
The fourth intra-system
第2系ローカルネットGW装置3c内の第3のGW間モード監視部15cは、第2系インターネットGW装置4dからのスレーブ変更通知を受け取って、第3のモード判定部17cに渡す(ステップS821)。この第3のモード判定部17cは、第3のモード状態保持部18cにスレーブを設定する(ステップS822)。
The third inter-GW
第2ローカルネット302用の第1系インターネットGW装置2b内の第2の系内モード監視部19bは、第1ローカルネット301用の第1系インターネットGW装置2bからマスタ変更通知を受け取って、第2ローカルネット302用の第2のモード判定部17bに渡す(ステップS823)。この第2のモード判定部17bは、マスタ変更通知を受け取って第2のモード状態保持部18bにマスタを設定する。第2のGW間モード監視部15bは、第2のモード状態保持部18bからマスタ状態を取得して、第1系ローカルネットGW装置1aに通知する(ステップS824)。
The second intra-system
この第1系ローカルネットGW装置1a内の第1のGW間モード監視部15aは、第2系インターネットGW装置4dからマスタ変更を受け取って、第1のモード判定部17aに渡す(ステップS825)。この第1のモード判定部17aは、第1のモード状態保持部18aにマスタを設定するとともに、第1の論理IPアドレス設定解除部14aにマスタに変更した旨を通知する(ステップS826)。第1の論理IPアドレス設定解除部14aは、第1のLANポート20aに論理IPを設定する(ステップS827)。
The first inter-GW
これにより、両系すなわち、第1系および第2系が、共にダウンしても、第1系のGWをマスタと設定できるため、スプリットブレインを解消することができる。 Thereby, even if both systems, that is, the first system and the second system are both down, the first system GW can be set as the master, so that the split brain can be eliminated.
次に、第1系ローカルネットGW装置1aおよび第2系ローカルネットGW装置3c同士のハートビート信号が切断されて再び通信が復旧した後のスプリットブレイン検出と、第1系GW装置5を優先的にマスタとしてスプリットブレインを解消する方法について、図9を用いて、説明する。
Next, split brain detection after the heartbeat signal between the first system local
先ず、第1系ローカルネットGW装置1aおよび第2系ローカルネットGW装置3cそれぞれの第1および第3の2系間モード監視部16a、16cは、ハートビート通信の切断を検出して、第1および第3のモード判定部17a、17cそれぞれに通知する(ステップS901、S905)。
First, the first and third inter-system
第3のモード判定部17cは、ハートビート通信の切断通知および第3のモード状態保持部18cから取得したスレーブ状態より、第3のモード状態保持部18cにマスタを設定するとともに、第3の論理IPアドレス設定解除部14cにマスタに変更した旨を通知する。第3の論理IPアドレス設定解除部14cは、第3のLANポート20cに論理IPアドレスを設定する。第3のGW間モード監視部15cは、第3のモード状態保持部18cからマスタ状態を取得して、第2系インターネットGW装置4dに通知する(ステップS906)。
The third
第2系インターネットGW装置4d内の第4のGW間モード監視部15dは、第2系ローカルネットGW装置3cからマスタ変更通知を受け取って、第4のモード判定部17dに渡す(ステップS912)。この第4のモード判定部17dは、第4のモード状態保持部18dにマスタを設定する(ステップS913)。
The fourth inter-GW
第2系インターネットGW装置4d内の第4の系内モード監視部19dは、第4のモード状態保持部18dからマスタ状態を取得して、第2ローカルネット302用の第2系インターネットGW装置4dに送信する(ステップS914)。
The fourth intra-system
第2ローカルネット302用の第2系インターネットGW装置4d内の第4の系内モード監視部19dは、第1ローカルネット301用の第2系インターネットGW装置4dからのマスタ変更通知を受け取って、第4のモード判定部17dに渡す(ステップS915)。この第4のモード判定部17dは、マスタ変更通知を受け取って、第4のモード状態保持部18dにマスタを設定する。第4のGW間モード監視部15dは、第4のモード状態保持部18dからマスタ状態を取得して、第2系ローカルネットGW装置3cに通知する(ステップS916)。
The fourth intra-system
この第2系ローカルネットGW装置3c内の第3のGW間モード監視部15cは、第2系インターネットGW装置4dからのマスタ変更通知を受け取って、第3のモード判定部17cに渡す(ステップS917)。この第3のモード判定部17cは、第3のモード状態保持部18cにマスタを設定するとともに、第3の論理IPアドレス設定解除部14cにマスタに変更した旨を通知する(ステップS918)。この第3の論理IPアドレス設定解除部14cは、第3のLANポート20cに論理IPを設定する(ステップS919)。
The third inter-GW
第1ローカルネット301用の第1系ローカルネットGW装置1aおよび第2系ローカルネットGW装置3cそれぞれの第1および第3の2系間モード監視部16a、16cは、ハートビート通信の復旧を検出して、通信結果を第1および第3のモード判定部17a、17cそれぞれに渡す(ステップS902、S907)。
The first and third inter-system two
第1および第3のモード判定部17a、17cそれぞれは、スプリットブレインを検出する(ステップS903、S908)。第1および第3の2系間モード監視部16a、16cそれぞれは、第1および第3のスプリットブレイン復旧設定部23a、23cそれぞれからマスタ継続の優先度情報を取得して、それぞれの相手系ローカルネットGWに送信する。(ステップS904、S909)。
Each of the first and third
第3の2系間モード監視部16cは、相手系となる第1系の優先度と、自系となる第2系の優先度を第3のモード判定部17cに通知する。この第3のモード判定部17cは、自系(第2系)の優先度が低いと判定し、第3のモード状態保持部18cにスレーブを設定する。第3のGW間モード監視部15cは、第3のモード状態保持部18cからスレーブ状態を取得して、第2系インターネットGW装置4dに通知するとともに、第3の論理IPアドレス設定解除部14cにスレーブに変更した旨を通知する(ステップS910)。第3の論理IPアドレス設定解除部14cは、第3のLANポート20cの論理IPを解除する(ステップS911)。
The third inter-system
第2系インターネットGW装置4d内の第4のGW間モード監視部15dは、第1系ローカルネットGW装置1aからのスレーブ変更通知を受け取って、第4のモード判定部17dに渡す(ステップS920)。この第4のモード判定部17dは、第4のモード状態保持部18dにスレーブを設定する(ステップS921)。この第4の系内モード監視部19dは、第4のモード状態保持部18dからスレーブ状態を取得して、第2ローカルネット302用の第2系インターネットGW装置4dに通知する(ステップS922)。
The fourth inter-GW
第2ローカルネット302用の第2系インターネットGW装置4d内の第4の系内モード監視部19dは、第1ローカルネット301用の第2系インターネットGW装置4dからスレーブ変更通知を受け取って、第4のモード判定部17dに渡す(ステップS923)。この第4のモード判定部17dは、スレーブ変更通知を受け取って、第4のモード状態保持部18dにスレーブを設定する。第4のGW間モード監視部15dは、第4のモード状態保持部18dからスレーブ状態を取得して、第2系ローカルネットGW装置3cに通知する(ステップS924)。
The fourth intra-system
この第2系ローカルネットGW装置3cの第3のGW間モード監視部15cは、第2系インターネットGW装置4dからのスレーブ変更通知を受け取って、第3のモード判定部17cに渡す(ステップS925)。この第3のモード判定部17cは、第3のモード状態保持部18cにスレーブを設定するとともに、第3の論理IPアドレス設定解除部14cにスレーブに変更した旨を通知する(ステップS926)。この第3の論理IPアドレス設定解除部14cは、第3のLANポート20cから論理IPを解除する(ステップS927)。
The third inter-GW
これにより、ハートビート通信の復旧時に、第1系GW装置5をマスタとして、スプリットブレインを解消することができる。 As a result, when the heartbeat communication is restored, the split brain can be eliminated with the first GW apparatus 5 as the master.
以上の説明からわかるように本実施形態によれば、スプリットブレインが一時的に発生しても、優先してマスタとなるGWが予め設定されているため、通信路が一定に保たれる。 As can be seen from the above description, according to the present embodiment, even if a split brain occurs temporarily, the GW as the master is preferentially set in advance, so the communication path is kept constant.
これにより、例えば、優先度の高い方の系のGW同士の通信は、高速な回線を割り当てて、優先度の低い方のGW同士の通信は、低速な回線を割り当てることが可能である。低速な回線をバックアップ回線として用いることで、システムを構築するときの広域通信網に係るコストを下げることができる。 Thereby, for example, communication between GWs of higher priority systems can be assigned a high speed line, and communication between GWs of lower priority levels can be assigned a low speed line. By using a low-speed line as a backup line, the cost associated with the wide area communication network when constructing the system can be reduced.
[第3の実施形態]
本発明に係る通信装置の第3の実施形態について、図2および図10〜図12を用いて説明する。
[Third Embodiment]
A third embodiment of the communication apparatus according to the present invention will be described with reference to FIGS. 2 and 10 to 12.
図10は、本実施形態の通信装置の構成を示すブロック図である。図11は、図10の両系のGWが共に停止した後に再起動したときのスプリットブレイン解消手順の概要を示すフローチャートである。図12は、図10の第1系および第2系GW装置6同士のハートビート通信が復旧したときのスプリットブレイン解消手順の概要を示すフローチャートである。
FIG. 10 is a block diagram showing the configuration of the communication apparatus of this embodiment. FIG. 11 is a flowchart showing an overview of the split brain elimination procedure when both the GWs of FIG. 10 are stopped and then restarted. FIG. 12 is a flowchart showing an overview of the split brain elimination procedure when the heartbeat communication between the first and second
なお、本実施形態は、第1の実施形態の変形例であって、第1の実施形態と同一部分または類似部分には、同一符号を付して、重複説明を省略する。また、本実施形態の通信装置は、図2と同様のネットワークシステムを構成している。 In addition, this embodiment is a modification of 1st Embodiment, Comprising: The same code | symbol is attached | subjected to the same part or similar part as 1st Embodiment, and duplication description is abbreviate | omitted. In addition, the communication apparatus according to the present embodiment forms a network system similar to that shown in FIG.
本実施形態では、図1の第1の実施形態に加えて、第1系ローカルネットGW装置1aおよび第2系ローカルネットGW装置3cそれぞれには、第1のマスタ遷移時刻設定部24aおよび第3のマスタ遷移時刻設定部24cが設けられている。
In the present embodiment, in addition to the first embodiment of FIG. 1, the first master local
第1および第3のマスタ遷移時刻設定部24a、24cは、第1および第3のモード判定部17a、17cそれぞれがマスタを設定したときに、第1および第3のモード状態保持部18a、18cそれぞれにマスタ遷移時刻を記録する機能を有している。マスタ遷移時刻は、スレーブに遷移した時点でリセットされる。
The first and third master transition
第1および第3の2系間モード監視部16a、16cは、相手系のローカルネットGWにマスタ遷移時刻を互いに通知し合って、2つの系のうち遅い時刻にマスタに遷移したGWをスレーブに変更する。
The first and third inter-system
次に、本実施形態の作用について説明する。先ず、通常時の動作について図11を用いて説明する。 Next, the operation of this embodiment will be described. First, normal operation will be described with reference to FIG.
第1系ローカルネットGW装置1aおよび第2系ローカルネットGW装置3cが共に停止した後に再起動して復旧するときに、第1系GW装置5が先に起動してマスタに遷移した後にスプリットブレインを検出した場合に、スプリットブレインを解消する方法について、図11を用いて説明する。なお、第1系GW装置5と第2系とのモード同期については、第2の実施形態と同様である。
When the first system local
先ず、第1ローカルネット301用の第1系ローカルネットGW装置1aおよび第2系ローカルネットGW装置3cが停止して(ステップS1101、S1107)、それぞれが再起動する(ステップS1102、S1108)。第1の2系間モード監視部16aおよび第3の2系間モード監視部16cそれぞれは、ハートビート通信を開始する(ステップS1103、S1109)。
First, the first system local
第1ローカルネット301用の第1および第3のモード判定部17a、17cは、互いにモードが確立していないことから、第1および第3のモード状態保持部18a、18cそれぞれにマスタが設定されて、第1および第3のマスタ遷移時刻設定部24a、24cそれぞれに、マスタに遷移した旨を通知する。第1および第3のマスタ遷移時刻設定部24a、24cそれぞれは、第1および第3のモード状態保持部18a、18cそれぞれにマスタ遷移時刻を登録する。第1および第3のGW間モード監視部15a、15cそれぞれは、第1および第3のモード状態保持部18a、18cからマスタ状態を取得して、第1系インターネットGW装置2bおよび第2系インターネットGW装置4dそれぞれに通知する(ステップS1104、S1112)。
Since the first and third
第1系インターネットGW装置2b内の第2のGW間モード監視部15bおよび第2系インターネットGW装置4d内の第4のGW間モード監視部15dそれぞれは、マスタ変更通知を受け取って、第2および第4のモード判定部17b、17dそれぞれに通知する(ステップS1110、S1116)。これらの第2および第4のモード判定部17b、17dそれぞれは、第2および第4のモード状態保持部18b、18dに、マスタを設定する(ステップS1111、S1117)。
Each of the second inter-GW
第1系ローカルネットGW装置1a内の第1の2系間モード監視部16aおよび第2系ローカルネットGW装置3c内の第3の2系間モード監視部16cそれぞれは、ハートビート通信結果を、第1および第3のモード判定部17a、17cそれぞれに渡し、スプリットブレインを検出する(ステップS1105、S1113)。
The first inter-system
第1および第3の2系間モード監視部16a、16cそれぞれは、第1および第3のモード状態保持部18a、18cそれぞれからマスタ遷移時刻を取得して、相手系のローカルネットGWと送信し合う(ステップS1106、S1114)。
Each of the first and third inter-system
第3の2系間モード監視部16cは、自系(第2系)のマスタ遷移時刻が新しい時刻であることを、第3のモード判定部17cに通知する。第3のモード判定部17cは、第3のモード状態保持部18cにスレーブを設定する。第3のGW間モード監視部15cは、第3のモード状態保持部18cからスレーブ状態を取得して、第2系インターネットGW装置4dに通知する(ステップS1115)。
The third inter-system
第2系インターネットGW装置4d内の第4のGW間モード監視部15dは、スレーブ変更通知を受け取って、第4のモード判定部17dに通知する(ステップS1118)。第4のモード判定部17dは、第4のモード状態保持部18dにスレーブを設定する(ステップS1119)。
The fourth inter-GW
これにより、両系が同時にダウンした場合に、先にマスタに遷移した第1系のGWをそのままマスタとすることで、スプリットブレインを解消することができる。 As a result, when both systems go down at the same time, the split brain can be eliminated by using the first system GW that has previously transitioned to the master as the master as it is.
次に、第1系GW装置5がマスタで、第1系ローカルネットGW装置1aおよび第2系ローカルネットGW装置3cの間のハートビート通信が切断されて再び通信が復旧した後のスプリットブレイン検出と、第1系GWをマスタとして継続するスプリットブレイン解消方法について、図12を用いて説明する。
Next, split brain detection after the first system GW device 5 is the master and the heartbeat communication between the first system local
先ず、第1および第3の2系間モード監視部16a、16cそれぞれは、ハートビート通信の切断を検出し、第1および第3のモード判定部17a、17cそれぞれに通知する(ステップS1201、S1205)。
First, each of the first and third inter-system
第3のモード判定部17cは、ハートビート通信の切断通知と第3のモード状態保持部18cから取得したスレーブ状態より、第3のモード状態保持部18cにマスタを設定して、第3のマスタ遷移時刻設定部24cにマスタに遷移した旨を通知する。第3のマスタ遷移時刻設定部24cは、第3のモード状態保持部18cにマスタ遷移時刻を登録して、第3の論理IPアドレス設定解除部14cにマスタに変更した旨を通知する。第3の論理IPアドレス設定解除部14cは、第3のLANポート20cに論理IPアドレスを設定する。第3のGW間モード監視部15cは、第3のモード状態保持部18cからマスタ状態を取得して、第2系インターネットGW装置4dに通知する(ステップS1206)。
The third
第2系インターネットGW装置4d内の第4のGW間モード監視部15dは、第2系ローカルネットGW装置3cからのマスタ変更通知を受け取って、第4のモード判定部17dに渡す(ステップS1212)。この第4のモード判定部17dは第4のモード状態保持部18dにマスタを設定する(ステップS1213)。
The fourth inter-GW
第1系ローカルネットGW装置1a内の第1の2系間モード監視部16aは、ハートビート通信の復旧を検出し、通信結果を第1のモード判定部17aに渡す(ステップS1202)。この第1のモード判定部17aは、スプリットブレインを検出する(ステップS1203)。第2系ローカルネットGW装置3cも同様にスプリットブレインを検出する(ステップS1207、S1208)。
The first inter-two-system
第1および第3の2系間モード監視部16a、16cそれぞれは、第1および第3のモード状態保持部18a、18cそれぞれから、マスタ遷移時刻を取得して、相手系のGWと送信し合う(ステップS1204、S1209)。
Each of the first and third inter-system
第3の2系間モード監視部16cは、相手系(第1系)のマスタ遷移時刻および自系(第2系)のマスタ遷移時刻それぞれを第3のモード判定部17cに通知する。第3のモード判定部17cは、自系(第2系)のマスタ遷移時刻が後であると判定して、第3のモード状態保持部18cにスレーブを設定する。第3のGW間モード監視部15cは、第3のモード状態保持部18cからスレーブ状態を取得して、第2インターネットGWに通知する。第3のモード判定部17cは、第3の論理IPアドレス設定解除部14cにスレーブに変更した旨を通知する(ステップS1210)。
The third inter-system
第3の論理IPアドレス設定解除部14cは、第3のLANポート20cの論理IPを解除する(ステップS1211)。
The third logical IP address setting
第2系インターネットGW内の第4のGW間モード監視部15dは、第1系ローカルネットGW装置1aからのスレーブ変更通知を受け取って、第4のモード判定部17dに渡す(ステップS1220)。この第4のモード判定部17dは、第4のモード状態保持部18dにスレーブを設定する(ステップS1221)。
The fourth inter-GW
これにより、ハートビート通信に障害が発生した場合に、先にマスタに遷移した第1系GWをそのままマスタにすることで、スプリットブレインが解消される。 As a result, when a failure occurs in heartbeat communication, the split brain can be eliminated by using the first system GW that has previously transitioned to the master as it is as the master.
以上の説明からわかるように本実施形態によれば、スプリットブレインを解消するときに論理IPの無駄な再割り当てが発生しないため、第2の実施形態に比べて、スプリットブレインを早く解消することが可能になる。 As can be seen from the above description, according to the present embodiment, when the split brain is eliminated, logical IP is not reassigned, so that the split brain can be eliminated earlier than in the second embodiment. It becomes possible.
[第4の実施形態]
本発明に係る通信装置の第4の実施形態について、図2および図13〜図15を用いて説明する。
[Fourth Embodiment]
A fourth embodiment of the communication apparatus according to the present invention will be described with reference to FIGS. 2 and 13 to 15.
図13は、本実施形態の通信装置の構成を示すブロック図である。図14は、図13のGW間の転送設定を自動設定する手順の概要を示すフローチャートである。図15は、本実施形態のパケット転送手順の概要を示すフローチャートである。 FIG. 13 is a block diagram showing the configuration of the communication apparatus of this embodiment. FIG. 14 is a flowchart showing an outline of a procedure for automatically setting transfer settings between GWs in FIG. 13. FIG. 15 is a flowchart showing an outline of the packet transfer procedure of the present embodiment.
なお、本実施形態は、第1の実施形態の変形例であって、第1の実施形態と同一部分または類似部分には、同一符号を付して、重複説明を省略する。また、本実施形態の通信装置は、図2と同様のネットワークシステムを構成している。 In addition, this embodiment is a modification of 1st Embodiment, Comprising: The same code | symbol is attached | subjected to the same part or similar part as 1st Embodiment, and duplication description is abbreviate | omitted. In addition, the communication apparatus according to the present embodiment forms a network system similar to that shown in FIG.
本実施形態では、図1の第1の実施形態に加えて、第1系ローカルネットGW装置1a、第1系インターネットGW装置2b、第2系ローカルネットGW装置3c、および第2系インターネットGW装置4dそれぞれは、第1のGW間転送設定通知部25a、第2のGW間転送設定通知部25b、第3のGW間転送設定通知部25c、および第4のGW間転送設定通知部25dを有している。
In the present embodiment, in addition to the first embodiment of FIG. 1, the first system local
さらに、第1系インターネットGW装置2bおよび第2系インターネットGW装置4dそれぞれには、第2の転送設定監視部26bおよび第4の転送設定監視部26dが設けられている。
Furthermore, a second transfer setting
第1のGW間転送設定通知部25aは、第1系ローカルネットGW装置1aで第1の転送可能パケット設定部11aの転送設定を、第1系用非IP通信路22aを経由して第1系インターネットGW装置2bに通知する機能を有する。
The first inter-GW transfer setting
第2のGW間転送設定通知部25bは、第1系ローカルネットGW装置1aから受け取った転送設定を第2の転送可能パケット設定部11bに入力する機能を有する。また、第2のGW間転送設定通知部25bは、第2の転送可能パケット設定部11bから取得した転送設定を、異なるローカルネットワーク、例えば第2ローカルネット302に属する第1系インターネットGW装置2bに送信する機能を有する。
The second inter-GW transfer setting
第2ローカルネット302用の第1系インターネットGW装置2b内の第2のGW間転送設定通知部25bは、送信されてきた転送設定を第2の転送可能パケット設定部11bに入力する機能を有する。
The second inter-GW transfer setting
第2の転送設定監視部26bは、第2の転送可能パケット設定部11bに転送設定を保存する機能を有する。
The second transfer setting
第2系GW装置6についても、第3および第4のGW間転送設定通知部25d、並びに第4の転送設定監視部26dは、第1系GW装置5と同様の機能を有している。
Also for the second
次に、本実施形態の通信装置の作用について、通常時の動作を説明する。 Next, the normal operation of the communication device according to the present embodiment will be described.
先ず、第1ローカルネット301用の第1系ローカルネットGW装置1a内の第1の転送可能パケット設定部11a、および、第2ローカルネット302用の第1系ローカルネットGW装置1a内の第1の転送可能パケット設定部11aそれぞれで、パケット転送設定を保存する(ステップS1401、S1406)。なお、図14では、マスタのGWにおけるフローチャートを示しているため、第1系および第2系を区別していない。2重系を構成する場合、第1系および第2系それぞれにパケット転送設定を保存するとよい。
First, the first transferable
第1ローカルネット301用の第1系ローカルネットGW装置1a内の第1のGW間転送設定通知部25aは、第1の転送可能パケット設定部11aから転送設定を取得して、第1系用非IP通信路22aを経由して第1系インターネットGW装置2bに通知する(ステップS1402)。
The first inter-GW transfer setting notifying
第1系インターネットGW装置2b内の第2のGW間転送設定通知部25bは、第1系ローカルネットGW装置1aから転送設定を受け取って、第2の転送設定監視部26bに渡す(ステップS1403)。この第2の転送設定監視部26bは、第2の転送可能パケット設定部11bに転送設定を保存する(ステップS1405)。
The second inter-GW transfer setting
第2ローカルネット302用の第1系インターネットGW装置2b内の第2の転送設定監視部26bは、第1ローカルネット301用の第1系インターネットGW装置2bから通知された転送設定を受け取って(ステップS1407)、第2の転送可能パケット設定部11bに転送設定を保存する(ステップS1408)。
The second transfer setting
これにより、例えば第1ローカルネット301用のインターネットGWから、どのインターネットGWに送信すればよいか自動で認識される。
Thereby, for example, the Internet GW for the first
図15の例では、第1の実施形態の図3の例と同様に、第1ローカルネット301内の第1計算機101から、第2ローカルネット302内の第2計算機102にパケット転送を行う。図3の例では、各GW装置で転送設定を保存している(ステップS301〜S304)が、本実施形態では、これらのステップを行うことなくパケットを転送できる。
In the example of FIG. 15, packet transfer is performed from the
以上の説明からわかるように本実施形態によれば、1つのローカルネットGWの転送設定を、複数のインターネットGW間で共有できる。これにより、ローカルネットGWから転送されたパケットを、どのインターネットGWに転送すべきかを予め認識しておくことができ、使用者はローカルネット間でのパケットの送受信についてのみ意識するだけでよい。 As can be seen from the above description, according to the present embodiment, the transfer setting of one local net GW can be shared among a plurality of Internet GWs. Thereby, it is possible to recognize in advance which Internet GW the packet transferred from the local network GW should be transferred to, and the user only needs to be aware of the transmission / reception of the packet between the local networks.
また、別のローカルネットが追加された場合でも、インターネットGW間の転送設定を自動的に認識することで、広域網を利用したネットワーク構成の変更にも柔軟に対応することができる。 Even when another local network is added, it is possible to flexibly cope with a change in the network configuration using the wide area network by automatically recognizing the transfer setting between the Internet GWs.
[その他の実施形態]
上記実施形態の説明は、本発明を説明するための例示であって、特許請求の範囲に記載の発明を限定するものではない。また、本発明の各部構成は上記実施形態に限らず、特許請求の範囲に記載の技術的範囲内で種々の変形が可能である。
[Other Embodiments]
The description of the above embodiment is an example for explaining the present invention, and does not limit the invention described in the claims. Moreover, each part structure of this invention is not restricted to the said embodiment, A various deformation | transformation is possible within the technical scope as described in a claim.
例えば、論理IPアドレス設定解除部が、モード判定部から取得したモードが、マスタの場合だけでなく、スレーブの場合にも論理IPアドレスを設定してもよい。 For example, the logical IP address setting cancellation unit may set the logical IP address not only when the mode acquired from the mode determination unit is a master but also when the mode is a slave.
例えば、図4の論理IPアドレスを切り替える手順で、第1系GW装置5をスレーブに設定したとき(ステップS424)、論理IPアドレスを解除せずに、新たな論理IPアドレスを設定する。これにより、論理IPアドレスにより回線種別の特定を行うことができる。 For example, when the first GW apparatus 5 is set as a slave in the procedure of switching the logical IP address in FIG. 4 (step S424), a new logical IP address is set without releasing the logical IP address. As a result, the line type can be specified by the logical IP address.
マスターモードに対する論理IPアドレスだけでなく、スレーブモードに対する論理IPアドレスも自動で切り替えることで、メイン回線と独立した経路でのデータの伝送をでき、メイン回線の負荷に関係なく通信品質を一定にすることができる。 By automatically switching not only the logical IP address for the master mode but also the logical IP address for the slave mode, data can be transmitted through a route independent of the main line, and the communication quality is constant regardless of the load on the main line. be able to.
すなわち、マスタに対する論理IPアドレスだけでなく、スレーブに対する論理IPアドレスも自動で切り替えることで、メイン回線とは別に独立した経路でデータを伝送でき、メイン回線の負荷に関係なく通信品質を一定にすることが可能になる。 In other words, not only the logical IP address for the master but also the logical IP address for the slave is automatically switched, so that data can be transmitted through a route independent of the main line, and the communication quality is constant regardless of the load on the main line. It becomes possible.
1a…第1系ローカルネットGW装置、2b…第1系インターネットGW装置、3c…第2系ローカルネットGW装置、4d…第2系インターネットGW装置、5…第1系GW装置、6…第2系GW装置、11a…第1の転送可能パケット設定部、11b…第2の転送可能パケット設定部、11c…第3の転送可能パケット設定部、11d…第4の転送可能パケット設定部、12a…第1のIP送受信部、12b…第2のIP送受信部、12c…第3のIP送受信部、12d…第4のIP送受信部、13a…第1の非IP送受信部、13b…第2の非IP送受信部、13c…第3の非IP送受信部、13d…第4の非IP送受信部、14a…第1の論理IPアドレス設定解除部、14c…第3の論理IPアドレス設定解除部、15a…第1のGW間モード監視部、15b…第2のGW間モード監視部、15c…第3のGW間モード監視部、15d…第4のGW間モード監視部、16a…第1の2系間モード監視部、16b…第2の2系間モード監視部、16c…第3の2系間モード監視部、16d…第4の2系間モード監視部、17a…第1のモード判定部、17b…第2のモード判定部、17c…第3のモード判定部、17d…第4のモード判定部、18a…第1のモード状態保持部、18b…第2のモード状態保持部、18c…第3のモード状態保持部、18d…第4のモード状態保持部、19b…第2の系内モード監視部、19d…第4の系内モード監視部、20a…第1のLANポート、20b…第2のLANポート、20c…第3のLANポート、20d…第4のLANポート、21a…第1の2系間モード監視ポート、21b…第2の2系間モード監視ポート、21c…第3の2系間モード監視ポート、21d…第4の2系間モード監視ポート、22a…第1系用非IP通信路、22c…第2系用非IP通信路、23a…第1のスプリットブレイン復旧設定部、23c…第3のスプリットブレイン復旧設定部、24a…第1のマスタ遷移時刻設定部、24c…第3のマスタ遷移時刻設定部、25a…第1のGW間転送設定通知部、25b…第2のGW間転送設定通知部、25c…第3のGW間転送設定通知部、25d…第4のGW間転送設定通知部、26b…第2の転送設定監視部、26d…第4の転送設定監視部、301…第1ローカルネット、302…第2ローカルネット、303…第3ローカルネット、304…インターネット、101…第1計算機、102…第2計算機、103…第3計算機
DESCRIPTION OF
Claims (2)
前記各構内通信網それぞれには、前記各構内通信網それぞれとIP通信可能な構内通信網用ゲートウェイが接続されて、
前記構内通信網用ゲートウェイそれぞれには、前記構内通信網用ゲートウェイそれぞれと非IP通信手段により互いに通信可能に構成された広域網用ゲートウェイが接続されて、
前記構内通信網用ゲートウェイは、互いに正常に稼動しているか否かを知らせるハートビート信号を送受信可能で互いの状態を監視可能な第1系構内通信網用ゲートウェイおよび第2系構内通信網用ゲートウェイを含み、
前記広域網用ゲートウェイは、互いに前記ハートビート信号を送受信可能で互いの状態を監視可能な第1系広域網用ゲートウェイおよび第2系広域網用ゲートウェイを含み、
前記各構内通信網に接続された前記各第1系構内通信網用ゲートウェイそれぞれは、前記非IP通信手段によってそれぞれの前記第1系広域網用ゲートウェイと通信可能に構成されて、
前記各構内通信網に接続された前記各第2系構内通信網用ゲートウェイそれぞれは、前記非IP通信手段によってそれぞれの前記第2系広域網用ゲートウェイと通信可能に構成されて、
前記第1系構内通信網用ゲートウェイ、第1系広域網用ゲートウェイ、第2系構内通信網用ゲートウェイ、および第2系広域網用ゲートウェイそれぞれは、
前記広域網または構内通信網と、IPパケットのデータ信号を送受信可能なIP送受信部と、
前記非IP通信手段を介して前記IP送受信部と予め設定された所定の信号情報を互いに送受信可能に構成された非IP送受信部と、
前記所定の信号情報の設定情報を予め設定可能に構成された転送可能パケット設定部と、
同じ構内通信網に接続された前記第1系および第2系構内通信網用ゲートウェイ同士またはこれらに対応する前記第1系および第2系広域網用ゲートウェイ同士を、互いのモードがマスタかスレーブかを通知および把握するように構成された2系間モード監視部と、
同じ構内通信網に接続された前記第1系および第2系構内通信網用ゲートウェイと、これらに対応する前記第1系および第2系広域網用ゲートウェイとを、互いに前記非IP通信手段を介して互いの前記モードの状態を通知および把握するように構成されたゲートウェイ間モード監視部と、
前記各第1系広域網用ゲートウェイ同士または前記各第2系広域網用ゲートウェイ同士で、前記モードの状態を通知および把握するように構成された系内モード監視部と、
前記2系間モード監視部およびゲートウェイ間モード監視部それぞれが監視した結果が入力されて、前記第1系構内通信網用ゲートウェイ、第1系広域網用ゲートウェイ、第2系構内通信網用ゲートウェイ、および第2系広域網用ゲートウェイそれぞれの前記モードが、互いの前記モードの状態と比較しながら、所定の前記モードに決定されるように構成されたモード判定部と、
前記モード判定部で決定した前記モードの状態を保持するモード状態保持部と、
を有し、
前記第1系および第2系構内通信網用ゲートウェイそれぞれは、
前記第1系および第2系構内通信網用ゲートウェイが同じときにマスタになるスプリットブレインを復旧するときに、前記第1系および第2系構内通信網用ゲートウェイのどちらをマスタにするかを決めるための優先情報が予め入力されたスプリットブレイン復旧設定部を有し、
前記第1系および第2系構内通信網用ゲートウェイそれぞれの前記2系間モード監視部が、互いに送受信している前記ハートビート信号が途絶えたときに、それぞれが互いに停止していると判定し、
前記第1系および第2系構内通信網用ゲートウェイそれぞれの前記モード判定部が、前記第1系および第2系構内通信網用ゲートウェイそれぞれがマスタになった後に、前記ハートビート信号が復旧し、それぞれの前記2系間モード監視部が互いにマスタになったと判定した場合に、
前記第1系および第2系構内通信網用ゲートウェイそれぞれのモード判定部が、それぞれの前記スプリットブレイン復旧設定部から、前記優先情報を取得して、前記優先情報を互いに比較して、優先度の高い方はマスタを維持して、優先度の低い方はスレーブに遷移するように構成されていることを特徴とする通信装置。 A communication device for connecting a plurality of local communication networks via a wide area network,
Each of the local communication networks is connected with a gateway for the local communication network capable of IP communication with each of the local communication networks.
Each gateway before Ki構 communication network, is connected communicatively configured gateway for wide area network to each other by the gateway respectively and non-IP communication means for the front Ki構 communication network,
Before gateway for Ki構 communication network, the first system local network gateway and the second system local network capable monitor the state of each other can transmit and receive heartbeat signal indicating whether operating normally with each other Including gateway for
Before gateway for Kihiro area network includes a gateway and a second system gateway for the wide area network for the first system wide area network capable of monitoring each other's states are capable of transmitting and receiving the heartbeat signal to each other,
Each of the first local area communication network gateways connected to each of the local area communication networks is configured to be able to communicate with the respective first area wide area network gateway by the non-IP communication means.
Each of the second-system local network gateways connected to the respective local-network networks is configured to be able to communicate with the respective second-system wide-area network gateways by the non-IP communication means.
Each of the first system local area communication network gateway, the first system wide area network gateway, the second system local area communication network gateway, and the second system wide area network gateway,
An IP transmission / reception unit capable of transmitting / receiving an IP packet data signal to / from the wide area network or a private network
A non-IP transmission / reception unit configured to be able to transmit / receive predetermined signal information to / from the IP transmission / reception unit via the non-IP communication unit;
A transferable packet setting unit configured to be able to set the setting information of the predetermined signal information in advance;
Whether the first system and the second system wide area network gateways connected to the same local area communication network or the corresponding first system and second system wide area network gateways are in either mode master or slave. A two-system mode monitoring unit configured to notify and grasp
The first-system and second-system local area network gateways connected to the same local-area communication network and the corresponding first-system and second-system wide-area network gateways are connected to each other via the non-IP communication means. An inter-gateway mode monitoring unit configured to notify and grasp each other's mode status;
An intra-system mode monitoring unit configured to notify and grasp the state of the mode between the first system wide area network gateways or between the second system wide area network gateways;
The results monitored by each of the two-system mode monitoring unit and the inter-gateway mode monitoring unit are input, and the first system local area network gateway, the first system wide area network gateway, the second system local area network gateway, And a mode determination unit configured to determine the mode of each of the gateways for the second system wide area network to the predetermined mode while comparing with the state of the mode of each other,
A mode state holding unit that holds the state of the mode determined by the mode determination unit;
I have a,
Each of the first system and second system local area communication network gateways,
Decide which of the first system and second system local communication network gateway should be the master when restoring the split brain that becomes the master when the first system and second system local communication network gateway is the same A split-brain recovery setting unit in which priority information is input in advance,
When the heartbeat signals transmitted and received by the second system mode monitoring unit of each of the first system and second system local area communication network gateways are determined to be stopped,
After the mode determination unit of each of the first-system and second-system local area communication network gateways becomes the master for each of the first-system and second-system local area network gateways, the heartbeat signal is restored, When it is determined that the two inter-system mode monitoring units have become masters of each other,
The mode determination unit of each of the first-system and second-system local area communication network gateways obtains the priority information from the split-brain recovery setting unit, compares the priority information with each other, A communication apparatus configured to maintain a master at a higher level and to transition to a slave at a lower priority level .
前記各構内通信網それぞれには、前記各構内通信網それぞれとIP通信可能な構内通信網用ゲートウェイが接続されて、
前記構内通信網用ゲートウェイそれぞれには、前記構内通信網用ゲートウェイそれぞれと非IP通信手段により互いに通信可能に構成された広域網用ゲートウェイが接続されて、
前記構内通信網用ゲートウェイは、互いに正常に稼動しているか否かを知らせるハートビート信号を送受信可能で互いの状態を監視可能な第1系構内通信網用ゲートウェイおよび第2系構内通信網用ゲートウェイを含み、
前記広域網用ゲートウェイは、互いに前記ハートビート信号を送受信可能で互いの状態を監視可能な第1系広域網用ゲートウェイおよび第2系広域網用ゲートウェイを含み、
前記各構内通信網に接続された前記各第1系構内通信網用ゲートウェイそれぞれは、前記非IP通信手段によってそれぞれの前記第1系広域網用ゲートウェイと通信可能に構成されて、
前記各構内通信網に接続された前記各第2系構内通信網用ゲートウェイそれぞれは、前記非IP通信手段によってそれぞれの前記第2系広域網用ゲートウェイと通信可能に構成されて、
前記第1系構内通信網用ゲートウェイ、第1系広域網用ゲートウェイ、第2系構内通信網用ゲートウェイ、および第2系広域網用ゲートウェイそれぞれは、
前記広域網または構内通信網と、IPパケットのデータ信号を送受信可能なIP送受信部と、
前記非IP通信手段を介して前記IP送受信部と予め設定された所定の信号情報を互いに送受信可能に構成された非IP送受信部と、
前記所定の信号情報の設定情報を予め設定可能に構成された転送可能パケット設定部と、
同じ構内通信網に接続された前記第1系および第2系構内通信網用ゲートウェイ同士またはこれらに対応する前記第1系および第2系広域網用ゲートウェイ同士を、互いのモードがマスタかスレーブかを通知および把握するように構成された2系間モード監視部と、
同じ構内通信網に接続された前記第1系および第2系構内通信網用ゲートウェイと、これらに対応する前記第1系および第2系広域網用ゲートウェイとを、互いに前記非IP通信手段を介して互いの前記モードの状態を通知および把握するように構成されたゲートウェイ間モード監視部と、
前記各第1系広域網用ゲートウェイ同士または前記各第2系広域網用ゲートウェイ同士で、前記モードの状態を通知および把握するように構成された系内モード監視部と、
前記2系間モード監視部およびゲートウェイ間モード監視部それぞれが監視した結果が入力されて、前記第1系構内通信網用ゲートウェイ、第1系広域網用ゲートウェイ、第2系構内通信網用ゲートウェイ、および第2系広域網用ゲートウェイそれぞれの前記モードが、互いの前記モードの状態と比較しながら、所定の前記モードに決定されるように構成されたモード判定部と、
前記モード判定部で決定した前記モードの状態を保持するモード状態保持部と、
を有し、
前記第1系および第2系構内通信網用ゲートウェイそれぞれは、マスタに遷移した時刻情報を格納可能なマスタ遷移時刻設定部を有し、
前記第1系および第2系構内通信網用ゲートウェイそれぞれの前記2系間モード監視部が、互いに送受信している前記ハートビート信号が途絶えたときに、それぞれが互いに停止していると判定し、
前記第1系および第2系構内通信網用ゲートウェイそれぞれの前記モード判定部が、前記第1系および第2系構内通信網用ゲートウェイそれぞれがマスタになった後に、前記ハートビート信号が復旧し、それぞれの前記2系間モード監視部が互いにマスタになったと判定した場合に、
前記第1系および第2系構内通信網用ゲートウェイそれぞれのモード判定部は、それぞれの前記マスタ遷移時刻設定部から、それぞれがマスタに遷移した時刻を取得して、これらの時刻を互いに比較して、早い方はマスタを維持して、遅い方はスレーブに遷移するように構成されていることを特徴とする通信装置。 A communication device for connecting a plurality of local communication networks via a wide area network,
Each of the local communication networks is connected with a gateway for the local communication network capable of IP communication with each of the local communication networks.
Each gateway before Ki構 communication network, is connected communicatively configured gateway for wide area network to each other by the gateway respectively and non-IP communication means for the front Ki構 communication network,
Before gateway for Ki構 communication network, the first system local network gateway and the second system local network capable monitor the state of each other can transmit and receive heartbeat signal indicating whether operating normally with each other Including gateway for
Before gateway for Kihiro area network includes a gateway and a second system gateway for the wide area network for the first system wide area network capable of monitoring each other's states are capable of transmitting and receiving the heartbeat signal to each other,
Each of the first local area communication network gateways connected to each of the local area communication networks is configured to be able to communicate with the respective first area wide area network gateway by the non-IP communication means.
Each of the second-system local network gateways connected to the respective local-network networks is configured to be able to communicate with the respective second-system wide-area network gateways by the non-IP communication means.
Each of the first system local area communication network gateway, the first system wide area network gateway, the second system local area communication network gateway, and the second system wide area network gateway,
An IP transmission / reception unit capable of transmitting / receiving an IP packet data signal to / from the wide area network or a private network
A non-IP transmission / reception unit configured to be able to transmit / receive predetermined signal information to / from the IP transmission / reception unit via the non-IP communication unit;
A transferable packet setting unit configured to be able to set the setting information of the predetermined signal information in advance;
Whether the first system and the second system wide area network gateways connected to the same local area communication network or the corresponding first system and second system wide area network gateways are in either mode master or slave. A two-system mode monitoring unit configured to notify and grasp
The first-system and second-system local area network gateways connected to the same local-area communication network and the corresponding first-system and second-system wide-area network gateways are connected to each other via the non-IP communication means. An inter-gateway mode monitoring unit configured to notify and grasp each other's mode status;
An intra-system mode monitoring unit configured to notify and grasp the state of the mode between the first system wide area network gateways or between the second system wide area network gateways;
The results monitored by each of the two-system mode monitoring unit and the inter-gateway mode monitoring unit are input, and the first system local area network gateway, the first system wide area network gateway, the second system local area network gateway, And a mode determination unit configured to determine the mode of each of the gateways for the second system wide area network to the predetermined mode while comparing with the state of the mode of each other,
A mode state holding unit that holds the state of the mode determined by the mode determination unit;
I have a,
Each of the first-system and second-system local area communication network gateways has a master transition time setting unit capable of storing time information of transition to the master,
When the heartbeat signals transmitted and received by the second system mode monitoring unit of each of the first system and second system local area communication network gateways are determined to be stopped,
After the mode determination unit of each of the first-system and second-system local area communication network gateways becomes the master for each of the first-system and second-system local area network gateways, the heartbeat signal is restored, When it is determined that the two inter-system mode monitoring units have become masters of each other,
The mode determination unit of each of the gateways for the first system and the second system on-site communication network obtains the time when each transitioned to the master from the master transition time setting unit, and compares these times with each other. The communication apparatus is configured such that the earlier one maintains the master and the later one transitions to the slave .
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2009022583A JP5072874B2 (en) | 2009-02-03 | 2009-02-03 | Communication device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2009022583A JP5072874B2 (en) | 2009-02-03 | 2009-02-03 | Communication device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2010183157A JP2010183157A (en) | 2010-08-19 |
| JP5072874B2 true JP5072874B2 (en) | 2012-11-14 |
Family
ID=42764388
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2009022583A Expired - Fee Related JP5072874B2 (en) | 2009-02-03 | 2009-02-03 | Communication device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP5072874B2 (en) |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2005130049A (en) * | 2003-10-21 | 2005-05-19 | Fujitsu Ltd | Node |
| JP2006129094A (en) * | 2004-10-28 | 2006-05-18 | Fuji Xerox Co Ltd | Redundant server system and server apparatus |
| JP4575219B2 (en) * | 2005-04-12 | 2010-11-04 | 株式会社東芝 | Security gateway system and method and program thereof |
-
2009
- 2009-02-03 JP JP2009022583A patent/JP5072874B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2010183157A (en) | 2010-08-19 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| TWI523455B (en) | Relay servers, relay communication systems and routing machines | |
| EP2717525A1 (en) | Method, routing device and system for redundant backup of network device | |
| EP2991278B1 (en) | Method and system for managing network traffic | |
| TWI551086B (en) | Relay server and relay communication system | |
| US9614749B2 (en) | Data processing system and method for changing a transmission table | |
| TWI527405B (en) | Relay server and relay communication system | |
| JP6222367B2 (en) | COMMUNICATION DEVICE, COMMUNICATION SYSTEM, AND COMMUNICATION METHOD | |
| JP5621639B2 (en) | Relay server and relay communication system | |
| JP5072874B2 (en) | Communication device | |
| JP5874356B2 (en) | Relay server and relay communication system | |
| JP4363477B2 (en) | Network system | |
| JP2007251817A (en) | Ring node device and ring node redundancy method | |
| JP2008219679A (en) | COMMUNICATION SYSTEM, IPsec TUNNEL TERMINING DEVICE, AND IPsec TURN COMMUNICATION CONTINUING METHOD USED FOR THEM | |
| JP5347859B2 (en) | Transmission system | |
| JP5773205B2 (en) | Relay server and relay communication system | |
| JP2002171275A (en) | Transmission device and remote control system | |
| KR101740799B1 (en) | Method of failover for network service in software defined networking environment | |
| JP2006338374A (en) | Network connection management device and network connection management method | |
| JP6468759B2 (en) | Transmission control system and transmission control apparatus used therefor | |
| JP2015015672A (en) | Command system | |
| JP2013197888A (en) | Information transmission device, information transmission system, and information transmission method | |
| JP2011176713A (en) | Communication system and communication method | |
| JP6301762B2 (en) | Relay system and switch device | |
| JP2008199179A (en) | Relief method in case of communication failure between layer 2 switch device and inter-card card | |
| JP2007214746A (en) | Duplex communication system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20110421 |
|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20110705 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20120510 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20120515 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20120711 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20120724 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20120821 |
|
| R151 | Written notification of patent or utility model registration |
Ref document number: 5072874 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150831 Year of fee payment: 3 |
|
| LAPS | Cancellation because of no payment of annual fees |