JP5633694B2 - Relay server and relay communication system - Google Patents
Relay server and relay communication system Download PDFInfo
- Publication number
- JP5633694B2 JP5633694B2 JP2010258262A JP2010258262A JP5633694B2 JP 5633694 B2 JP5633694 B2 JP 5633694B2 JP 2010258262 A JP2010258262 A JP 2010258262A JP 2010258262 A JP2010258262 A JP 2010258262A JP 5633694 B2 JP5633694 B2 JP 5633694B2
- Authority
- JP
- Japan
- Prior art keywords
- relay server
- relay
- client terminal
- information
- routing
- 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.)
- Active
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Description
本発明は、主として、異なるLAN(Local Area Network)に接続されている端末間の通信を可能とする中継サーバに関する。 The present invention mainly relates to a relay server that enables communication between terminals connected to different LANs (Local Area Networks).
従来から、仮想プライベートネットワーク(Virtual Private Network,VPN)と呼ばれる通信技術が知られている(例えば、特許文献1を参照)。このVPNは、例えば、地域ごとに設けられた複数の支社(拠点)のLANに接続された端末同士でインターネットを介して通信する用途に用いられている。前記VPNを利用すれば、遠隔地にある他のLANを、あたかも直接接続されているネットワークであるかのように使用することができる。 Conventionally, a communication technique called a virtual private network (VPN) is known (see, for example, Patent Document 1). This VPN is used, for example, for applications in which terminals connected to LANs of a plurality of branch offices (bases) provided for each region communicate via the Internet. If the VPN is used, another remote LAN can be used as if it were a directly connected network.
しかしながら、この種のシステムは硬直的なものになり易く、拡張性、柔軟性のあるシステムを構築することは容易でない。例えば、上記特許文献1のような通信システムは、システムを構成する機器のうち選択された一部の機器だけで仮想ネットワークを構築することはできない。また、仮想ネットワークを開始した後に、ネットワークを構成する機器が停止してしまう場合に、仮想ネットワークが適切に動作しなくなることが考えられる。
However, this type of system tends to be rigid, and it is not easy to construct a system that is extensible and flexible. For example, a communication system such as that disclosed in
本発明は以上の事情に鑑みてされたものであり、その主要な目的は、仮想ネットワークを開始した後にネットワークを構成する機器が停止した場合にも柔軟に対応可能なVPNを構築できる中継サーバを提供することにある。 The present invention has been made in view of the above circumstances, and its main purpose is to provide a relay server that can construct a VPN that can flexibly cope with a case where a device constituting the network stops after the virtual network is started. It is to provide.
本発明の解決しようとする課題は以上の如くであり、次にこの課題を解決するための手段とその効果を説明する。 The problems to be solved by the present invention are as described above. Next, means for solving the problems and the effects thereof will be described.
本発明の第1の観点によれば、以下の構成の中継サーバが提供される。即ち、この中継サーバは、中継グループ情報記憶部と、中継サーバ情報記憶部と、VPNグループ情報記憶部と、アドレスフィルタ情報記憶部と、制御部と、を備える。前記中継グループ情報記憶部は、自身との間で相互に接続可能な他の中継サーバを含む中継グループの情報を記憶する。前記中継サーバ情報記憶部は、前記中継グループに属する前記中継サーバの起動情報と、前記中継グループに属する前記中継サーバに接続されたクライアント端末の起動情報及び登録情報と、を含む中継サーバ情報を記憶する。前記VPNグループ情報記憶部は、前記中継グループ情報及び前記中継サーバ情報に基づいて中継通信システムを構成する前記中継サーバ及び前記クライアント端末のうちルーティングポイントとして設定された前記中継サーバ及び前記クライアント端末であるルーティング機器で構成され、当該ルーティング機器を介して仮想プライベートネットワークにより通信を行うVPNグループに関し、当該VPNグループを構成する前記ルーティング機器の識別情報及びルーティングセッションを確立して互いに接続される前記ルーティング機器を示す接続情報を記憶する。前記アドレスフィルタ情報記憶部は、パケットの送信先として前記ルーティング機器が指定可能な相手を示すアドレスフィルタ情報を当該ルーティング機器の識別情報と対応付けて記憶する。前記制御部は、前記VPNグループで仮想プライベートネットワークを開始した後に、あるルーティング機器が前記VPNグループの構成要素として機能しないことを検知したときに、仮想プライベートネットワークを停止させることなく、当該ルーティング機器との間で確立されたルーティングセッションを停止させる制御を行う。
According to a first aspect of the present invention, a relay server having the following configuration is provided. That is, the relay server includes a relay group information storage unit, a relay server information storage unit, a VPN group information storage unit, an address filter information storage unit, and a control unit. The relay group information storage unit stores information on relay groups including other relay servers that can be connected to each other. The relay server information storage unit stores relay server information including start information of the relay server belonging to the relay group and start information and registration information of a client terminal connected to the relay server belonging to the relay group. To do. The VPN group information storage section is a said relay server and the client terminal that is set as the routing point of the relay server and the client terminal constituting the relay communication systems on the basis of the relay group information and the relay server information A VPN group configured by a routing device and communicating via a virtual private network via the routing device, the routing device connected to each other by establishing identification information of the routing device and a routing session constituting the VPN group The connection information shown is stored. The address filter information storage unit stores address filter information indicating a partner that can be designated by the routing device as a packet transmission destination in association with identification information of the routing device. When the control unit detects that a certain routing device does not function as a component of the VPN group after starting a virtual private network in the VPN group, the control unit does not stop the virtual private network and Control to stop the routing session established between.
これにより、中継サーバは、中継通信システムを構成する他の通信機器(他の中継サーバ及びクライアント端末)から選択されたルーティング機器とVPNを構築できるため、必要な通信機器との間でのみファイルの共有等を行うことができる。また、中継サーバは、あるルーティング機器が接続不良又はメンテナンス等によってVPNグループの構成要素として機能しないことを検知したときに、VPNを維持したままで、当該ルーティング機器との間で確立されたルーティングセッションを停止させることができる。従って、状況の変化に柔軟に対応可能なVPNを構築できる。 As a result, the relay server can construct a VPN with a routing device selected from other communication devices (other relay servers and client terminals) constituting the relay communication system. Share and so on. When the relay server detects that a certain routing device does not function as a component of the VPN group due to poor connection or maintenance, a routing session established with the routing device while maintaining the VPN is maintained. Can be stopped. Therefore, it is possible to construct a VPN that can flexibly cope with changes in the situation.
前記の中継サーバにおいては、以下の構成とすることが好ましい。即ち、前記中継サーバ情報記憶部は、第2中継サーバの識別情報と、当該第2中継サーバに接続されるクライアント端末の識別情報と、を対応付けて記憶する。前記第2中継サーバの通信が停止することを検知したときに、前記VPNグループ情報記憶部及び前記中継サーバ情報記憶部の記憶内容に基づいて、前記第2中継サーバに接続されるクライアント端末の中にルーティングポイントとして機能するクライアント端末があるか否かを判断する。ルーティングポイントとして機能するクライアント端末があれば、当該クライアント端末との間で確立されたルーティングセッションを停止させる制御を行う。
The relay server preferably has the following configuration. That is, the relay server information storage unit, the identification information of the second relay server, the identification information of the client terminals connected to the second relay server, you in association with each other. When the communication of the second relay server detects that the stop, on the basis of the stored contents of the VPN group information storage unit and the relay server information storage unit, the client terminal connected to the second relay server It is determined whether there is a client terminal functioning as a routing point. If there is a client terminal that functions as a routing point, control is performed to stop a routing session established with the client terminal.
これにより、中継サーバは、他の中継サーバの通信が停止することを検知するだけで、当該他の中継サーバと接続され、かつルーティングポイントとして機能するクライアント端末との間で確立されたルーティングセッションを停止させることができる。従って、VPNグループとして機能しなくなる旨の信号をクライアント端末側から送信する必要をなくすことができる。 As a result, the relay server detects a routing session established with a client terminal connected to the other relay server and functioning as a routing point only by detecting that communication with the other relay server is stopped. Can be stopped. Accordingly, it is possible to eliminate the need to transmit a signal indicating that the VPN group does not function from the client terminal side.
前記の中継サーバにおいては、以下の構成とすることが好ましい。即ち、中継サーバは、受信したパケットのあて先が、自身の識別情報と対応付けられた前記アドレスフィルタ情報において指定されているときは、当該あて先にパケットを送信する。中継サーバは、受信したパケットのあて先が、自身以外の前記ルーティング機器の識別情報と対応付けられた前記アドレスフィルタ情報において指定されているときは、自身と当該ルーティング機器との間に確立されたルーティングセッションを介して当該ルーティング機器にパケットを送信する。中継サーバは、受信したパケットのあて先が、前記ルーティング機器の識別情報と対応付けられた前記アドレスフィルタ情報において指定されていないときは、パケットを送信しない。 The relay server preferably has the following configuration. That is, when the destination of the received packet is specified in the address filter information associated with its own identification information, the relay server transmits the packet to the destination. When the destination of the received packet is specified in the address filter information associated with the identification information of the routing device other than itself, the relay server establishes the routing established between itself and the routing device. A packet is transmitted to the routing device via the session. The relay server does not transmit the packet when the destination of the received packet is not specified in the address filter information associated with the identification information of the routing device.
これにより、中継サーバは、アドレスフィルタ情報に基づいて適切にルーティングを行うことができる。 Thereby, the relay server can perform routing appropriately based on the address filter information.
前記の中継サーバにおいては、以下の構成とすることが好ましい。即ち、あるルーティング機器が前記VPNグループの構成要素として機能しないことを検知したときに、当該ルーティング機器が前記VPNグループの構成要素として機能しなくなる結果として、当該VPNグループの構成要素であるルーティング機器が1つになる場合は、当該VPNグループを停止する制御を行う。 The relay server preferably has the following configuration. That is, when it is detected that a certain routing device does not function as a component of the VPN group, as a result of the routing device not functioning as a component of the VPN group, a routing device that is a component of the VPN group When the number is one, control to stop the VPN group is performed.
これにより、実質的にネットワークとして機能しなくなったVPNを自動的に停止させることができる。 This makes it possible to automatically stop a VPN that has substantially stopped functioning as a network.
本発明の第2の観点によれば、以下の構成の中継通信システムが提供される。即ち、この中継通信システムは、複数の中継サーバと、クライアント端末と、を備える。前記クライアント端末は、前記中継サーバを介して互いに接続可能である。前記中継サーバは、中継グループ情報記憶部と、中継サーバ情報記憶部と、VPNグループ情報記憶部と、アドレスフィルタ情報記憶部と、制御部と、を備える。前記中継グループ情報記憶部は、当該中継サーバとの間で相互に接続可能な他の中継サーバを含む中継グループの情報を記憶する。前記中継サーバ情報記憶部は、前記中継グループに属する前記中継サーバの起動情報と、前記クライアント端末の起動情報及び登録情報と、を含む中継サーバ情報を記憶する。前記VPNグループ情報記憶部は、前記中継サーバ及び前記クライアント端末のうちルーティングポイントとして設定されたルーティング機器で構成され、当該ルーティング機器を介して仮想プライベートネットワークを利用して通信を行うVPNグループに関し、当該VPNグループを構成する前記ルーティング機器の識別情報及びルーティングセッションを確立して互いに接続される前記ルーティング機器を示す接続情報を記憶する。前記アドレスフィルタ情報記憶部は、パケットの送信先として前記ルーティング機器が指定可能な相手を示すアドレスフィルタ情報を当該ルーティング機器の識別情報と対応付けて記憶する。前記制御部は、前記VPNグループで仮想プライベートネットワークを開始した後に、あるルーティング機器が前記VPNグループの構成要素として機能しないことを検知したときに、仮想プライベートネットワークを停止させることなく、当該ルーティング機器との間で確立されたルーティングセッションを停止させる制御を行う。 According to the 2nd viewpoint of this invention, the relay communication system of the following structures is provided. That is, this relay communication system includes a plurality of relay servers and client terminals. The client terminals can be connected to each other via the relay server. The relay server includes a relay group information storage unit, a relay server information storage unit, a VPN group information storage unit, an address filter information storage unit, and a control unit. The relay group information storage unit stores information on relay groups including other relay servers that are mutually connectable with the relay server. The relay server information storage unit stores relay server information including start information of the relay server belonging to the relay group, start information and registration information of the client terminal. The VPN group information storage unit includes a routing device set as a routing point among the relay server and the client terminal, and relates to a VPN group that performs communication using a virtual private network through the routing device. The identification information of the routing devices constituting the VPN group and the connection information indicating the routing devices connected to each other by establishing a routing session are stored. The address filter information storage unit stores address filter information indicating a partner that can be designated by the routing device as a packet transmission destination in association with identification information of the routing device. When the control unit detects that a certain routing device does not function as a component of the VPN group after starting a virtual private network in the VPN group, the control unit does not stop the virtual private network and Control to stop the routing session established between.
これにより、中継サーバ及びクライアント端末から選択されたルーティング機器を用いてVPNを構築できるため、必要な機器との間でのみファイルの共有等を行うことが可能となる。また、あるルーティング機器が接続不良及びメンテナンス等によってVPNグループの構成要素として機能しないことを検知したときに、VPNグループを実行したままで当該ルーティング機器との間で確立されたルーティングセッションを停止させる構成であるため、状況の変化に柔軟に対応可能なVPNを構築できる。 As a result, the VPN can be constructed using the routing device selected from the relay server and the client terminal, so that the file can be shared only with the necessary device. Also, when it is detected that a certain routing device does not function as a component of the VPN group due to poor connection or maintenance, etc., the routing session established with the routing device is stopped while the VPN group is being executed. Therefore, it is possible to construct a VPN that can flexibly respond to changes in the situation.
次に、図面を参照して本発明の実施の形態を説明する。初めに、図1を参照して、本実施形態の中継通信システム100の概要について説明する。図1は、本発明の一実施形態に係る中継通信システム100の全体構成を示す説明図である。
Next, embodiments of the present invention will be described with reference to the drawings. First, an overview of the
図1に示すように、この中継通信システム100は、Wide Area Network(WAN、広域通信網)80に接続された複数のLAN10,20,30,40で構成されている。それぞれのLAN10,20,30,40は、限定された場所で構築される比較的小規模なネットワークであり、それぞれが物理的に離れた場所に構築されている。なお、本実施形態ではWAN80としてインターネットが使用されている。
As shown in FIG. 1, the
以下、それぞれのLANを具体的に説明する。図1に示すように、LAN10には、中継サーバ1と、クライアント端末11と、処理装置12と、が接続されている。LAN20には、中継サーバ2と、クライアント端末21と、処理装置22と、処理装置23と、が接続されている。LAN30には、中継サーバ3と、クライアント端末31と、処理装置32と、処理装置33と、が接続されている。LAN40には、中継サーバ4と、クライアント端末41と、処理装置42と、が接続されている。
Each LAN will be specifically described below. As shown in FIG. 1, a
それぞれの中継サーバ1,2,3,4は、LAN10,20,30,40だけでなくWAN80にも接続されているため、同一のLANに接続されたクライアント端末と通信可能であるだけでなく、他のLANに配置された中継サーバと通信可能となっている。そのため、中継サーバ1,2,3,4には、グローバルIPアドレスに加えてプライベートIPアドレスが付与されている。
Since each
クライアント端末11,21,31,41は、例えばパーソナルコンピュータで構成されており、中継サーバ1,2,3,4を介して相互に通信を行うことができる。処理装置12,22,23,32,33,42は、例えばパーソナルコンピュータで構成されており、LAN10,20,30,40を介してクライアント端末11,21,31,41にパケットを送信可能である。
The
次に、中継サーバ1,2,3,4について説明する。なお、これらの4つの中継サーバは、記憶された一部のデータを除いて略同一の構成であるため、代表して中継サーバ1について説明する。初めに、図2を参照して、中継サーバ1が備える構成について説明する。図2は、中継サーバ1,2,3,4の機能ブロック図である。
Next, the
図2に示すように、中継サーバ1は、記憶部50と、制御部60と、インタフェース部70と、を備えている。
As illustrated in FIG. 2, the
インタフェース部70は、プライベートIPアドレスを利用して、LAN10内の端末に対して通信を行うことができる。また、インタフェース部70は、グローバルIPアドレスを利用して、WAN80を経由した通信を行うことができる。
The
制御部60は、例えば制御及び演算の機能を有するCPUであり、記憶部50から読み出したプログラムにより各種の処理を実行可能である。この制御部60は、TCP/IP、UDP、SIP等のプロトコルに従った様々な通信処理を制御することができる。図2に示すように、制御部60は、インターフェースドライバ61と、LAN側IPパケット処理部62と、通信制御部63と、WAN側IPパケット処理部64と、を備えている。
The
インターフェースドライバ61は、インタフェース部70を制御するドライバソフトウェアである。LAN側IPパケット処理部62は、LAN10から受信したパケットに適宜の処理を行って通信制御部63に出力する。WAN側IPパケット処理部64は、WAN80から受信したパケットに適宜の処理を行って通信制御部63に出力する。
The
通信制御部63は、受信したパケットを、当該パケットが示す情報と記憶部50に記憶された情報とに基づいて送信先を決定し、決定した送信先へ送信する。また、通信制御部63は、他の端末から受信した情報に基づいて、記憶部50の記憶内容を更新させることができる。
The
記憶部50は、例えばハードディスク又は不揮発性RAMで構成されており、各種データを保存可能である。記憶部50は、中継グループ情報記憶部51と、中継サーバ情報記憶部52と、クライアント端末情報記憶部53と、VPNグループ情報記憶部54と、アドレスフィルタ情報記憶部55と、を備えている。以下、図3から図7までを参照して、記憶部50が備える構成について説明する。図3は、中継グループ情報の内容を示す図である。図4は、中継サーバ情報の内容を示す図である。図5は、クライアント端末情報の内容を示す図である。図6は、VPNグループ情報の内容を示す図である。図7は、アドレスフィルタ情報の内容を示す図である。
The
中継グループ情報記憶部51は、中継グループと、当該中継グループを構成する中継サーバと、を示した中継グループ情報を記憶している。
The relay group
図3に示すように、中継グループ情報においては、groupタグと、このgroupタグを親要素とする子要素のsiteタグと、が記述されている。groupタグには中継グループに関するグループ情報511が記述されている。このグループ情報511としては、中継グループの識別情報(「id」)と、最終更新時刻(「lastmod」)と、中継グループの名称(「name」)と、が記述されている。siteタグには、中継グループを構成する中継サーバに関するグループ構成情報512が記述されている。このグループ構成情報512には、当該中継サーバの識別情報(「id」)が記述されている。また、中継グループは追加作成が可能であり、その場合、新しい中継グループには、他の中継グループと異なる一意の識別情報が付与される。これにより、特定の中継グループ内だけでデータのやり取りを行う等の設定が可能になっている。
As shown in FIG. 3, in the relay group information, a group tag and a site tag of a child element whose parent element is the group tag are described. In the group tag,
なお、この中継グループ情報は、当該中継グループを構成する中継サーバ1,2,3,4の間で情報が共有されている。そして、ある中継サーバにおいて中継グループを変更する処理が行われた場合は、他の中継サーバに対してその旨が送信されて中継グループ情報が更新される。このようにして、中継グループ情報が動的に共有される。
Note that this relay group information is shared among the
中継サーバ情報記憶部52は、中継通信を行う中継サーバ及び当該中継サーバに所属するクライアント端末の概要を示す中継サーバ情報を記憶している。
The relay server
図4に示す中継サーバ情報においては、中継サーバごとに記述されるsiteタグと、前記siteタグを親要素とする子要素のnodeタグと、が記述されている。siteタグには中継サーバ1に関するサーバ情報521が記述されている。このサーバ情報521としては、中継サーバの識別情報(「id」)と、中継サーバの名称(「name」)と、起動情報(「stat」)と、が記述されている。なお、statの内容が「active」の場合は中継サーバが中継通信システム100にログインしていることを示し、statが空欄であるときはログオフ中であることを示す。siteタグの子要素であるnodeタグには、中継サーバに所属するクライアント端末を示す所属情報522が記述されている。所属情報522としては、所属する中継グループの名称(「group」)と、クライアント端末の識別情報(「id」)と、クライアント端末の名称(「name」)と、ログイン先の中継サーバの識別情報(「site」)と、が記述されている。なお、クライアント端末が中継サーバ(中継通信システム100)にログインしていないときは、「site」は空欄となる。
In the relay server information shown in FIG. 4, a site tag described for each relay server and a node tag of a child element whose parent element is the site tag are described. In the site tag,
なお、中継グループによる通信は、上記の中継グループ情報及び中継サーバ情報に基づいて、以下のようにして行われる。例えばクライアント端末11からクライアント端末21にパケットを送信する場合、初めに、クライアント端末11は、自身が接続している中継サーバである中継サーバ1にパケットを送信する。なお、上記の中継グループ情報に基づいてパケットのやり取りが可能な中継サーバが分かり、かつ中継サーバ情報に基づいて中継サーバに所属しているクライアント端末の識別情報及び接続の可否が分かる。中継サーバ1は、これらの情報に基づいて、クライアント端末21が接続している中継サーバである中継サーバ2にパケットを送信する。そして、この中継サーバ2がクライアント端末21にパケットを送信する。このようにして、クライアント端末同士で中継通信を行うことができる。
Note that the communication by the relay group is performed as follows based on the relay group information and the relay server information. For example, when a packet is transmitted from the
この中継サーバ情報に関しても中継グループ情報と同様に、当該中継グループを構成する中継サーバ1,2,3,4の間で情報が共有されている。そして、ある中継サーバにおいて中継サーバ情報を変更する処理が行われた場合は、他の中継サーバに対してその旨が送信されて中継サーバ情報が更新される。このようにして、中継サーバ情報が動的に共有される。
As with the relay group information, the relay server information is shared between the
クライアント端末情報記憶部53は、クライアント端末に関する詳細な情報であるクライアント端末情報を記憶している。なお、中継サーバ1,2,3,4は、自身に所属するクライアント端末に関するクライアント端末情報のみを記憶している。例えば、中継サーバ1には、図1に示すようにクライアント端末11が所属しているため、中継サーバ1が備えるクライアント端末情報記憶部53には、クライアント端末11のクライアント端末情報のみが記憶されている。
The client terminal
中継サーバ1のクライアント端末情報記憶部53が記憶するクライアント端末情報は、図5(a)に示されている。同様に、中継サーバ2が記憶するクライアント端末情報が図5(b)に、中継サーバ3が記憶するクライアント端末情報が図5(c)に、中継サーバ4が記憶するクライアント端末情報が図5(d)に、それぞれ示されている。
The client terminal information stored in the client terminal
図5に示すクライアント端末情報においては、nodeタグが記述されている。このnodeタグには、クライアント端末のプライベートIPアドレス(「addr」)と、所属する中継グループの名称(「group」)と、識別情報(「id」)と、名称(「name」)と、中継サーバにログインするためのパスワード(「pass」)と、ポート情報(「port」)と、が記述されている。 In the client terminal information shown in FIG. 5, a node tag is described. The node tag includes a private IP address (“addr”) of the client terminal, a name of the relay group to which the client terminal belongs (“group”), identification information (“id”), a name (“name”), a relay A password for logging in to the server (“pass”) and port information (“port”) are described.
VPNグループ情報記憶部54は、中継グループを構成する中継サーバ及びクライアント端末から選択された機器(以下、ルーティング機器と称する)で構成されたVPNグループに関する情報であるVPNグループ情報を記憶している。VPNグループは、中継グループ内で構成されるグループであり、ルーティング機器同士でルーティングセッションを確立させることにより、仮想ネットワークを構築することができる。
The VPN group
図6に示すVPNグループ情報においては、vnetタグが記述されている。このvnetタグには、VPNグループ基本情報541と、ルーティングポイント情報542と、ルーティングセッション情報543と、が記述されている。VPNグループ基本情報541には、VPNグループが所属する中継グループの名称(「group」)と、VPNグループの識別情報(「id」)と、最終更新時刻(「lastmod」)と、VPNグループの名称(「name」)と、が記述されている。ルーティングポイント情報542には、VPNグループ間で通信を行うときにルーティングを行うルーティング機器の識別情報が記述されている。図6の例においては、ルーティング機器として、クライアント端末11と、クライアント端末21と、中継サーバ3と、が記述されている。ルーティングセッション情報543には、VPNグループにおいて互いに接続されるルーティング機器が記述されている。ルーティングセッション情報543において、ルーティング機器は、VPNグループでVPNを開始するためのルーティングセッション確立処理において、通信制御を最初に行う側(「sp(start point)」)と、その通信制御を受ける側「ep(end point)」と、に分けて定められている。なお、以下の説明では、ルーティングセッション確立のための通信制御を最初に行う側のルーティング機器を「始点」と、その通信制御を受ける側のルーティング機器を「終点」と、それぞれ称することがある。
In the VPN group information shown in FIG. 6, a vnet tag is described. In this vnet tag, VPN group
このVPNグループ情報についても中継サーバ情報及び中継グループ情報と同様に、VPNグループを構成する中継サーバ1,2,3の間で情報が共有されている。そして、ある中継サーバにおいてVPNグループ情報を変更する処理が行われた場合は、VPNグループを構成する他の中継サーバに対してその旨が送信されてVPNグループ情報が更新される。このようにして、VPNグループ情報が動的に共有される。なお、このVPNグループを作成する処理については後述する。
As with the relay server information and the relay group information, the VPN group information is also shared between the
アドレスフィルタ情報記憶部55は、VPNを開始してルーティング機器がルーティングを行う際に、パケットの送信先としてルーティング機器が指定可能な相手を示すアドレスフィルタ情報を記憶している。 The address filter information storage unit 55 stores address filter information indicating a partner that can be designated by the routing device as a packet transmission destination when the routing device performs routing after starting the VPN.
図7(a)は、ルーティング機器と対応付けられたアドレスフィルタ情報の内容が示されている。図7(a)に示すように、クライアント端末11は、処理装置12に対してパケットを送信することができる。クライアント端末21は、処理装置22及び処理装置23に対してパケットを送信することができる。中継サーバ3は、LAN30に接続された全ての機器に対してパケットを送信することができる。
FIG. 7A shows the contents of the address filter information associated with the routing device. As shown in FIG. 7A, the
アドレスフィルタ情報記憶部55は、図7(b)に示すように、ルーティング機器の識別情報と、当該ルーティング機器がパケットの送信先として指定可能な相手のIPアドレス及び名称と、を対応付けて記憶している。パケットの送信先として指定可能な相手の名称は、ユーザが認識し易い名称等の任意の名称を設定することができ、例えば機器及びLANの配置される場所等を考慮して設定可能である。なお、それぞれのルーティング機器は、このアドレスフィルタ情報をディスプレイ等に表示可能となっている。また、このアドレスフィルタ情報は、VPNを開始するときにルーティング機器同士で交換するように構成されている。 As shown in FIG. 7B, the address filter information storage unit 55 stores the identification information of the routing device and the IP address and name of the other party that can be designated as the packet transmission destination by the routing device in association with each other. doing. The name of the other party that can be specified as the packet transmission destination can be set to an arbitrary name such as a name that can be easily recognized by the user. For example, the name can be set in consideration of the location where the device and the LAN are arranged. Each routing device can display the address filter information on a display or the like. The address filter information is configured to be exchanged between routing devices when VPN is started.
中継サーバ1,2,3,4は、以上のように構成される。なお、クライアント端末11,21,31,41の構成については詳細な説明を省略するが、中継サーバ1,2,3,4と実質的に同様に構成された記憶部50及び制御部60を備えている。
The
次に、VPNグループを構築して、構築したVPNグループでパケットのルーティングを行うときの処理について説明する。 Next, a process for constructing a VPN group and performing packet routing with the constructed VPN group will be described.
初めにVPNグループを構築するときの流れについて図8及び図11を参照して説明する。図8は、VPNグループを作成する処理を示すフローチャートである。図11は、VPNグループを作成する通信処理及びアドレスフィルタ情報を更新する通信処理を示すシーケンス図である。 First, the flow when building a VPN group will be described with reference to FIGS. FIG. 8 is a flowchart showing processing for creating a VPN group. FIG. 11 is a sequence diagram illustrating a communication process for creating a VPN group and a communication process for updating address filter information.
中継通信システム100を利用するユーザは、クライアント端末11,21,31等を操作することによって、VPNグループの設定画面を表示させることができる。ここでは、クライアント端末11を用いて設定を行う場合について説明する。クライアント端末11に表示させた設定画面には、当該クライアント端末11が属する複数の中継グループが表示される。ユーザは、この複数の中継グループから、VPNグループを構築したい中継グループを選択する(S101)。
A user using the
中継グループが選択されると、クライアント端末11の画面には、選択した中継グループに属し、かつルーティングポイントとして機能可能な中継サーバ及びクライアント端末の識別情報の一覧が表示される(S102)。そして、ユーザは、構築するVPNグループにおいてルーティングポイントとして機能させる中継サーバ及びクライアント端末の識別情報を選択する(S103)。今回の説明では、クライアント端末11、クライアント端末21、及び中継サーバ3の識別情報がユーザに選択されたものとする。
When a relay group is selected, a list of identification information of relay servers and client terminals that belong to the selected relay group and that can function as a routing point is displayed on the screen of the client terminal 11 (S102). Then, the user selects identification information of a relay server and a client terminal that function as a routing point in the VPN group to be constructed (S103). In this description, it is assumed that the identification information of the
そして、この選択されたルーティングポイントに基づいて、ルーティングセッション情報が作成される(S104)。また、選択された中継サーバ等の識別情報に基づいて、ルーティングポイントの識別情報が作成される(S104)。これらの作成された情報にVPNグループの識別情報等を付加することにより、図6で示したVPNグループ情報が作成され、VPNグループ情報記憶部54は、このVPNグループ情報を記憶する(S105)。
Then, routing session information is created based on the selected routing point (S104). Further, the identification information of the routing point is created based on the identification information of the selected relay server or the like (S104). The VPN group information shown in FIG. 6 is created by adding VPN group identification information or the like to the created information, and the VPN group
そして、クライアント端末11は、作成したVPNグループ情報を、他のルーティング機器(クライアント端末21及び中継サーバ3)に送信することにより(S106)、VPNグループが作成されたことを通知する。なお、クライアント端末21に対するVPNグループ情報の送信は、図11に示すように、中継サーバ1及び中継サーバ2を介して行われる(シーケンス番号1、createVpnGroup)。また、中継サーバ3に対するVPNグループ情報の送信は、中継サーバ1を介して行われる(シーケンス番号2、createVpnGroup)。
Then, the
これにより、VPNグループの構築処理が完了する。なお、以上で示したように、本実施形態において機器間の通信が中継サーバ1,2,3,4を経由して行われることがあるが、以下の説明では、中継サーバ1,2,3,4を経由する通信処理の具体的な説明を省略して「クライアント端末11がクライアント端末21に送信する。」等と記載することがある。
Thereby, the construction process of the VPN group is completed. As described above, in this embodiment, communication between devices may be performed via the
次に、構築したVPNグループでVPNを開始するときの流れについて、図9から図12を参照して説明する。図9は、VPNを開始する処理の前半部を示すフローチャートである。図10は、VPNを開始する処理の後半部を示すフローチャートである。図12は、ルーティングセッションを確立する通信処理及びパケットの送信を行う通信処理を示すシーケンス図である。 Next, the flow when VPN is started in the constructed VPN group will be described with reference to FIGS. FIG. 9 is a flowchart showing the first half of the process for starting the VPN. FIG. 10 is a flowchart showing the latter half of the process for starting VPN. FIG. 12 is a sequence diagram illustrating a communication process for establishing a routing session and a communication process for transmitting a packet.
ユーザは、クライアント端末11,21等を操作することによって、構築したVPNグループを画面に表示させることができる。そして、表示されたVPNグループから適当なVPNグループを選択することにより(S201)、VPNを開始するための処理を行わせることができる。今回の説明では、ユーザがクライアント端末11を操作して、上記で作成したVPNグループ(クライアント端末11、クライアント端末21、及び中継サーバ3をルーティング機器とするVPNグループ)を選択したものとする。
The user can display the constructed VPN group on the screen by operating the
クライアント端末11は、初めに、自身に対応付けられたアドレスフィルタ情報を読み出す(S202)。クライアント端末11の識別情報に対応付けられたアドレスフィルタ情報には、図7に示すように、処理装置12に対してパケットを送信可能な旨が記述されている。次に、クライアント端末11は、選択したVPNグループに属するルーティングポイントの読出しを行う(S203)。これにより、図6に示すVPNグループ情報の内容に基づいて、クライアント端末21及び中継サーバ3の識別情報が読み出される。
The
クライアント端末11は、中継サーバ情報に基づいて、初めに、クライアント端末21がログイン中か否か(「site」に中継サーバの識別情報が記述されているか、それとも空欄か)を判断する(S204)。図4に示す中継サーバ情報によればクライアント端末21はログイン中であるため、クライアント端末11は、クライアント端末21に向けてVPNグループの開始コマンドを送信する(図11のシーケンス番号3、startVpn)。このとき、選択されたVPNグループの識別情報(VpnGroupID)と、クライアント端末11の識別情報に対応付けられたアドレスフィルタ情報(addr01)も同時に送信される。
Based on the relay server information, the
これにより、クライアント端末21は、開始の処理を行うVPNグループを特定できるとともに、クライアント端末11の識別情報に対応付けられた最新のアドレスフィルタを取得することができる。また、クライアント端末21は、信号を受信した旨をクライアント端末11に通知するとともに、自身に対応付けられたアドレスフィルタ情報(addr02)をクライアント端末11に送信する。
Thereby, the
クライアント端末11は、クライアント端末21からの応答を受けて(S206)、受信したアドレスフィルタ情報をアドレスフィルタ情報記憶部55に記憶する(S207)。また、クライアント端末11は、クライアント端末21を、VPNを開始する準備が完了したルーティングポイントとして登録する(S208)。
The
次に、クライアント端末11は、他にルーティングポイントが有るか否かの判断を行う(S209)。クライアント端末21に対するVPNの開始処理を完了した時点では、中継サーバ3に対してVPNの開始処理を行っていないため、クライアント端末11は、今度は中継サーバ3を対象としてS204〜S208の処理を行う。この結果、クライアント端末11は、中継サーバ3に対してVPNの開始コマンド及びアドレスフィルタ情報の送信を行う(図11のシーケンス番号5、startVpn)。そして、クライアント端末21の場合と同様に、中継サーバ3からアドレスフィルタ情報を受信して記憶する。
Next, the
なお、このVPNグループの開始コマンド及びアドレスフィルタ情報の送受信は、クライアント端末21と中継サーバ3との間でも行われる(シーケンス番号4、startVpn)。以上により、クライアント端末11、クライアント端末21、及び中継サーバ3は、他のルーティングポイントのアドレスフィルタ情報を取得することができる。
The transmission / reception of the VPN group start command and the address filter information is also performed between the
このように、VPNを開始する際には、それぞれのルーティング機器が他のルーティング機器とアドレスフィルタ情報を交換(取得)し、最新のアドレスフィルタ情報を用いてVPNを構築することができる。従って、VPN開始前の段階で一部のルーティング機器においてアドレスフィルタ情報が変更された場合でも、その変更を全てのルーティング機器に反映させた状態でVPNを開始できるので、パケットのルーティングにおける矛盾の発生を防止でき、信頼性を向上させることができる。 As described above, when starting VPN, each routing device exchanges (acquires) address filter information with other routing devices, and can construct a VPN using the latest address filter information. Therefore, even if the address filter information is changed in some routing devices at the stage before the VPN start, the VPN can be started in a state in which the change is reflected in all the routing devices. Can be prevented and reliability can be improved.
次に、クライアント端末11は、VPNグループ情報記憶部54に記憶したルーティングセッション情報を抽出し(S210)、自身が始点となるルーティングセッションが記述されているか否かを判断する(S211)。図6のルーティングセッション情報においては、クライアント端末21及び中継サーバ3との間で確立されるべきルーティングセッションにおいて、クライアント端末11が始点となることが記述されている。
Next, the
そこで、初めに、クライアント端末11はクライアント端末21を選択し、クライアント端末21が、VPNを開始する準備が完了したルーティングポイントであるか否かを判断する(S212)。上記のS208により、クライアント端末21は準備が完了しているため、クライアント端末11からクライアント端末21に対してルーティングセッションを確立するための通信制御が行われる(S213、シーケンス番号6、createVpnSsn)。
Therefore, first, the
次に、クライアント端末11は、自身が接続の始点となるルーティングセッションが他に記述されているか否かを判断する(S214)。クライアント端末21に対するルーティングセッション確立処理を完了した時点では、中継サーバ3との間でのルーティングセッション確立処理を行っていないため、クライアント端末11は、中継サーバ3に対してもクライアント端末21に行った通信と同様の通信を行う(シーケンス番号8、createVpnSsn)。これにより、クライアント端末11と中継サーバ3との間にルーティングセッションが確立される。
Next, the
また、図6に示すように、クライアント端末21が中継サーバ3との間のルーティングセッションの始点となるべきことがルーティングセッション情報に記述されているため、ルーティングセッションを確立するための通信制御は、クライアント端末21から中継サーバ3に対しても行われる(シーケンス番号7、createVpnSsn)。以上により、クライアント端末11とクライアント端末21の間、クライアント端末11と中継サーバ3の間、及びクライアント端末21と中継サーバ3の間においてルーティングセッションをそれぞれ確立させることができる。その後、パケットのルーティング制御が開始される(S215)。なお、それぞれのルーティング機器は、自身が始点である旨がルーティングセッション情報に記述されていない限りはルーティングセッション確立のための最初の通信制御を行わないので、通信制御の衝突を防止し、機器間のルーティングセッションを簡素な制御で確立することができる。
Further, as shown in FIG. 6, since the routing session information describes that the
次に、確立したルーティングセッションを用いてパケットのルーティングを行う処理について図7及び図12を参照して説明する。以下、ルーティングポイントとして機能するクライアント端末11が、処理装置12から第1パケットから第3パケットの3種類のパケットを受信したときに、当該クライアント端末11が行う処理を説明する。
Next, processing for routing a packet using an established routing session will be described with reference to FIGS. Hereinafter, processing performed by the
初めに、あて先のIPアドレスが(192.168.2.22)となっている第1パケットを受信したとき(シーケンス番号9、packet01)について説明する。クライアント端末11は、この第1パケットを受信した後に、あて先のIPアドレスと図7に示すアドレスフィルタ情報とを比較する。そして、第1パケットに記されたあて先に対してパケットを送信可能なルーティングポイントを検出する。
First, the case where the first packet whose destination IP address is (192.168.2.22) is received (
図7に示すように、第1パケットのあて先のIPアドレスは、クライアント端末21の識別情報に対応付けられたアドレスフィルタ情報に含まれる。この場合、クライアント端末11は、クライアント端末21との間に確立されたルーティングセッションを介して第1パケットを当該クライアント端末21へ送信する。
As shown in FIG. 7, the destination IP address of the first packet is included in the address filter information associated with the identification information of the
この第1パケットを受信したクライアント端末21もクライアント端末11と同様に、あて先のIPアドレスとアドレスフィルタ情報とを比較する。そして、第1パケットに記されたあて先に対してパケットを送信可能なルーティングポイントとして自身が記述されていることを検出する。この場合、第1パケットをあて先の処理装置22に対して送信する。
Similarly to the
次に、あて先のIPアドレスが(192.168.3.32)である第2パケットをクライアント端末11が受信したとき(シーケンス番号10、packet02)について説明する。図7のアドレスフィルタ情報によれば、第2パケットに記されたあて先に対してパケットを送信可能なルーティングポイントとして中継サーバ3が指定されている。従って、クライアント端末11は、中継サーバ3との間に確立されたルーティングセッションを介して第2パケットを当該中継サーバ3に送信する。そして、中継サーバ3は、第2パケットに記されたあて先に対してパケットを送信可能なルーティングポイントとして自身が記述されていることを検出し、第2パケットをあて先の処理装置32に対して送信する。
Next, a case where the
次に、あて先のIPアドレスが(192.168.5.51)である第3パケットをクライアント端末11が受信したとき(シーケンス番号11、packet03)について説明する。クライアント端末11は、あて先のIPアドレスとアドレスフィルタ情報とを比較した結果、あて先に対してパケットを送信可能なルーティングポイントが記述されていないことを検出する。この場合、クライアント端末11は、受信した第3パケットをどこにも送信しない。
Next, the case where the
このように、本実施形態では、アプリケーション層のルーティングセッションで、ルーティング対象のデータを流すように構成されている。従って、以上で説明したルーティングは、通常のIPルーティングとは異なっている。また、上述のように、アドレスフィルタ情報記憶部55は、パケットの送信先として指定可能な相手の名称を表示可能となっている。そのため、ユーザは、VPNを用いてどの機器にパケットを送信可能であるかを容易に認識することができる。 As described above, in the present embodiment, the routing target data is flowed in the routing session of the application layer. Therefore, the routing described above is different from normal IP routing. In addition, as described above, the address filter information storage unit 55 can display the names of counterparts that can be specified as packet transmission destinations. Therefore, the user can easily recognize to which device the packet can be transmitted using the VPN.
このようにアプリケーション層でルーティングを行うことにより、WANを意識することなく、遠隔地のLAN同士がプライベートIPアドレスを利用して相互に通信することができる。 By performing routing in the application layer in this manner, remote LANs can communicate with each other using private IP addresses without being aware of the WAN.
次に、VPNの開始後に、通信機器がVPNの構成要素としての機能を停止する場合の通信処理について、図13及び図14を参照して説明する。図13及び図14は、通信機器が停止する旨の通知を受けたときの処理を示すフローチャートである。 Next, communication processing in a case where the communication device stops functioning as a VPN component after the VPN is started will be described with reference to FIGS. 13 and 14. FIG. 13 and FIG. 14 are flowcharts showing processing when the notification that the communication device is stopped is received.
なお、VPNの構成要素としての機能を停止する場合とは、当該機器がVPNグループから外れる場合、当該機器が中継グループから外れる場合、ネットワーク障害等の理由で当該機器が他の機器と通信できなくなる場合等、様々な状況が考えられる。また、以下では、代表してクライアント端末11が通知を受けた場合に行う処理について説明する。
Note that when the function as a VPN component is stopped, when the device is removed from the VPN group, or when the device is removed from the relay group, the device cannot communicate with other devices due to a network failure or the like. Various situations can be considered. In the following, processing performed when the
クライアント端末11は、他の機器から受けた通知が、中継サーバの停止の通知なのか、クライアント端末の停止の通知なのか、それ以外の通知なのかを判断する(S301,S302)。中継サーバの停止の通知だった場合、クライアント端末11は、自身が記憶する中継サーバ情報を参照することで、当該中継サーバに所属するクライアント端末を抽出し(S303)、停止する機器のリストとして、当該中継サーバ及びクライアント端末を記憶しておく(S304)。
The
クライアント端末の停止の通知だった場合は、クライアント端末11は、停止する機器のリストとして当該クライアント端末を記憶しておく(S304)。なお、中継サーバの停止の通知でもクライアント端末の停止の通知でもなかった場合は、クライアント端末11は、通知の内容に対応した処理を必要に応じて行う(S305)。
If the notification is a stop of the client terminal, the
停止する機器のリストがS304で作成されると、クライアント端末11は、VPNが開始されていて、かつ、後述のS307〜S315の処理が完了していないVPNグループが存在するか否かを判断する(S306)。そのようなVPNグループが存在しない場合は、一連の処理を終了する。
When the list of devices to be stopped is created in S304, the
条件を満たすVPNグループが存在している場合、クライアント端末11は、S304で作成されたリストに記述された機器を1つ読み出す(S307)。そして、クライアント端末11は、読み出された機器(停止する機器)が、実行中のVPNにおいてルーティングポイントとして機能していたものか否かを判断する(S308)。
If there is a VPN group that satisfies the condition, the
読み出された機器がルーティングポイントとして機能している場合は、クライアント端末11は、当該ルーティングポイントを実際に停止させた場合においても、有効なルーティングポイントが2箇所以上残っているか否かを判断する(S309)。そして、残存するルーティングポイントの数が1以下になる場合は、VPNを存続させる意義が無いため、クライアント端末11はVPNの停止処理を行う(S310)。そして、クライアント端末11は、S309において有効なルーティングポイントと判定された1つのルーティング機器の識別情報と、当該ルーティング機器がパケットの送信先として指定可能であった相手の名称と、をディスプレイに表示する等してユーザに通知し(S311)、S306に戻る。
When the read device functions as a routing point, the
有効なルーティングポイントが2以上残っている場合は、クライアント端末11は、VPNグループ情報に基づいて、自身と、停止の対象となるルーティングポイントと、で構成されるルーティングセッションが有るか否かを判断する(S312)。そして、そのようなルーティングセッションが有った場合は、当該ルーティングセッションを停止する(S313)。その後、クライアント端末11は、停止したルーティングポイントに対応付けられたアドレスフィルタ情報を削除する。
When two or more valid routing points remain, the
以上のS307〜S313の処理により、停止すべき機器1台分についての処理が完了する。なお、S308において、当該機器がルーティングポイントとして機能しないと判断された場合は、S309〜S313の処理はスキップされる。 The process for one device to be stopped is completed by the processes of S307 to S313. If it is determined in S308 that the device does not function as a routing point, the processing of S309 to S313 is skipped.
その後、リストに記述された機器の中で未処理のものが残っているか否かを調べ(S314)、残っている機器がある場合は、それぞれについてS307〜S313の処理を行う。これにより、リストに記述された機器を1台ずつ調べ、当該機器がルーティングポイントであった場合のルーティングセッションの停止等の処理を行うことができる。 Thereafter, it is checked whether or not unprocessed devices remain in the list (S314). If there are remaining devices, the processing of S307 to S313 is performed for each device. Thereby, the devices described in the list can be checked one by one, and processing such as stopping of the routing session when the device is a routing point can be performed.
VPNグループについて前記リストの全てについて処理が完了すると、クライアント端末11は、ルーティングポイントとして機能しているルーティング機器の識別情報等と、当該ルーティング機器がパケットの送信先として指定可能であった相手の名称と、をディスプレイに表示する等してユーザに通知する(S315)。その後、クライアント端末11は、S306に戻り、VPNが開始されているVPNグループのうち未処理のものがあるか否かを調べる。未処理のVPNグループがあれば、当該VPNグループについてS307〜S315の処理を行う。これにより、VPNが開始されている複数のVPNグループがあった場合に、そのそれぞれについて、機器の停止に伴う処理を適切に行うことができる。
When the processing is completed for all of the above lists for the VPN group, the
次に、クライアント端末11、クライアント端末21、及び中継サーバ3をルーティングポイントとするVPNグループにおいてVPNが開始されている状態で、中継サーバ3がVPNから外れる場合を考え、クライアント端末11が、上記で説明したフローに基づいて具体的にどのように動作するかについて説明する。図15は、中継サーバ3がVPNから外れるときの通信処理を示すシーケンス図である。
Next, in the state where VPN is started in the VPN group having the
中継サーバ3は、他の機器(クライアント端末11、中継サーバ1、クライアント端末21、及び中継サーバ2)に対して、当該中継サーバ3がVPNグループから外れる旨を通知する(図15のシーケンス番号12,13、exitVpn)。なお、通知を受ける側の機器の処理としては一部を除いて同一であるため、以下では、主にクライアント端末11に関係する処理のみを説明する。
The
クライアント端末11は、中継サーバ3からの通知を受けると、当該通知が中継サーバの停止の通知であるか否かを判断する(図9のS301)。ここでは、受けた通知が中継サーバ3の停止に係るものと判断できるので、クライアント端末11は、自身の中継サーバ情報を参照する(S303)。
Upon receiving the notification from the
図4に示す中継サーバ情報によれば、停止する中継サーバ3に所属するクライアント端末として、クライアント端末31が存在することが判る。中継サーバ3が中継機能を停止した場合、中継サーバ3のみならず、それに所属するクライアント端末31との通信も不可能になる。従って、クライアント端末11は、停止する機器のリストとして、中継サーバ3及びクライアント端末31を記憶する(S304)。リストに記述される順番は任意で良いが、今回の説明では、機器のリストに中継サーバ3、クライアント端末31の順番で記述されるものとする。
According to the relay server information shown in FIG. 4, it can be seen that the
次に、クライアント端末11は、S306の判断に移行し、VPNが開始されているVPNグループを調べる。すると、VPNが開始されているVPNグループ(ここでは、クライアント端末11、クライアント端末21、及び中継サーバ3をルーティングポイントとするVPNグループ)が存在することが判る。従って、クライアント端末11は、S304で作成された、停止する機器のリストに記述されている機器を1つずつ読み出す(S307)。
Next, the
リストには中継サーバ3、クライアント端末31の順で記述されているので、最初に読み出されるのは中継サーバ3である。クライアント端末11はS308の判断で図6のVPNグループ情報を参照し、当該中継サーバ3がルーティングポイントであることを検出する。
Since the list describes the
次に、クライアント端末11は、中継サーバ3の停止後において有効なルーティングポイントが2箇所以上あるか否かを判断する(S309)。上記の場合では、中継サーバ3を停止させた場合でも、2箇所のルーティングポイント(即ち、クライアント端末11及びクライアント端末21)が残っている。従って、VPNを停止させず、S312の処理に移行する。
Next, the
次に、クライアント端末11はS312の判断を行うが、図6のVPNグループ情報によれば、自身と中継サーバ3とで構成されるルーティングセッションが有ることが判る。従って、クライアント端末11は、該当するルーティングセッションを停止する(S313、図15のシーケンス番号12におけるcloseVpnSsn)。
Next, the
次に、クライアント端末11はS314の判断に移行するが、停止する機器のリストの中に未処理のもの(クライアント端末31)があるため、S307に戻る。S307の処理ではクライアント端末31がリストから読み出されるが、このクライアント端末31はルーティングポイントとして機能しないので(S308)、S309〜S313の処理は行われない。クライアント端末11はS314の判断に移行するが、リストにおいて未処理の機器がなくなったことが判る。そして、クライアント端末11は、ルーティングポイントとして機能しているルーティング機器(クライアント端末11及びクライアント端末21)と、当該ルーティング機器がパケットの送信先として指定可能であった相手の名称(処理装置12、処理装置22、及び処理装置23)と、をディスプレイに表示する等してユーザに通知する(S315)。そこでS306に戻るが、未処理のVPNグループはもう残っていないので、処理を終了する。
Next, the
なお、クライアント端末11以外の機器も、中継サーバ3からの通知を受けて、上記と同様の処理を行う。従って、クライアント端末21と中継サーバ3との間に構成されたルーティングセッションが停止される(図15のシーケンス番号13におけるcloseVpnSsn)。そして、各ルーティング機器は、停止したルーティングポイントに対応付けられたアドレスフィルタ情報を削除する。なお、ここで削除されたアドレスフィルタ情報は、ユーザが参照できなくなるように処理される。
Devices other than the
上記のように処理を行うことにより、VPNをいったん停止させて再び開始する煩雑な処理を行うことなく、ルーティングポイントを減らすことができる。 By performing the processing as described above, the number of routing points can be reduced without performing complicated processing for stopping and restarting the VPN.
上記の処理後において、あて先のIPアドレスが(192.168.3.32)である第4パケットをクライアント端末21が処理装置22から受信したとき(シーケンス番号14、packet04)について説明する。クライアント端末21は、あて先のIPアドレスとアドレスフィルタ情報とを比較する。中継サーバ3に対応付けられたアドレスフィルタ情報は上記の処理で削除されているため、クライアント端末21は、あて先に対してパケットを送信可能なルーティングポイントが記述されていないと判断する。従って、クライアント端末21は、受信した第4パケットをどこにも送信しない。
After the above processing, IP address, the destination (192.168.3. 32) when the fourth
次に、上記のように中継サーバ3がVPNから外れた後において、更に中継サーバ2が中継グループからログアウトする場合について図13、図14、及び図16を参照して説明する。図16は、中継サーバ2が停止するときの通信処理を示すシーケンス図である。
Next, a case where the
中継サーバ2は、接続を中断する前に、他の機器(中継サーバ1、クライアント端末11、クライアント端末21、及び中継サーバ3)に対して、当該中継サーバ2が停止することを通知する(シーケンス番号15,16,17、notifyServerLogout)。この停止を受けた他の機器は、上記と同様の処理を行う。
The
今回の説明では中継サーバ2が停止されるので、当該中継サーバ2に所属するクライアント端末21はルーティングポイントとしての機能を失う。従って、既に中継サーバ3も停止されているので、有効なルーティングポイントはクライアント端末11の1箇所のみとなってしまい、VPNとしての意義がなくなる。従って、中継サーバ2から通知を受けた機器は、S309の判断でS310に移行し、VPNの終了処理を行うとともに、クライアント端末11は、有効なルーティングポイントとして機能していたルーティング機器(クライアント端末11)と、当該ルーティング機器がパケットの送信先として指定可能であった相手の名称(処理装置12)と、をディスプレイに表示する等してユーザに通知する(S311)。以下では、このVPNの終了処理をクライアント端末21が行う場合について図16を参照して説明する。
In this description, since the
クライアント端末21は、VPNグループの識別情報とともに、VPNを終了する旨を、クライアント端末11及び中継サーバ3に対して送信する(シーケンス番号18,19、stopVpn)。なお、クライアント端末11及び中継サーバ3は、クライアント端末21から受信したVPNグループの識別情報によって、どのVPNグループが終了されるかを知ることができる。
The
クライアント端末21は、VPNの終了を受け付けた旨の信号をクライアント端末11及び中継サーバ3から受信した後に、クライアント端末11に対してルーティングセッションの終了コマンドを送信する(シーケンス番号20、closeVpnSsn)。
The
以上により、クライアント端末11とクライアント端末21の間に確立されていたルーティングセッションを終了させることができる。そしてVPNグループによるVPNが終了する。
As described above, the routing session established between the
以上に示したように、本実施形態の中継サーバ1は、中継グループ情報記憶部51と、中継サーバ情報記憶部52と、VPNグループ情報記憶部54と、アドレスフィルタ情報記憶部55と、通信制御部63と、を備える。中継グループ情報記憶部51は、自身(中継サーバ1)との間で相互に接続可能な他の中継サーバ(中継サーバ2,3,4)を含む中継グループの情報を記憶する。中継サーバ情報記憶部52は、中継グループに属する中継サーバの起動情報と、中継グループに属する中継サーバに接続されたクライアント端末の起動情報及び登録情報と、を含む中継サーバ情報を記憶する。VPNグループ情報記憶部54は、中継通信システム100を構成する通信機器のうちルーティングポイントとして設定された通信機器を介してVPNにより通信を行うVPNグループに関し、当該VPNグループを構成するルーティング機器の識別情報を含むルーティングポイント情報542と、互いに接続されるルーティング機器の情報を含むルーティングセッション情報543と、を記憶する。アドレスフィルタ情報記憶部55は、パケットの送信先としてルーティング機器が指定可能な相手を示すアドレスフィルタ情報を当該ルーティング機器の識別情報と対応付けて記憶する。制御部60は、VPNグループでVPNを開始した後に、あるルーティング機器がVPNグループの構成要素として機能しないことを検知したときに、仮想プライベートネットワークを停止させることなく、当該ルーティング機器との間で確立されたルーティングセッションを停止させる制御を行う。
As described above, the
これにより、中継サーバ1は、中継通信システム100を構成する他の通信機器から選択されたルーティング機器とVPNを構築できるため、必要な通信機器との間でのみファイルの共有等を行うことができる。また、中継サーバ2は、あるルーティング機器が接続不良又はメンテナンス等によってVPNグループの構成要素として機能しないことを検知したときに、VPNを維持したままで、当該ルーティング機器との間で確立されたルーティングセッションを停止させることができる。従って、状況の変化に柔軟に対応可能なVPNを構築できる。
Thereby, since the
また、本実施形態の中継サーバ1は、他の中継サーバの識別情報と、当該他の中継サーバに所属するクライアント端末の識別情報と、を対応付けて記憶する中継サーバ情報記憶部52を備える。中継サーバ1は、他の中継サーバの通信が停止することを検知したときに、VPNグループ情報記憶部54及び中継サーバ情報記憶部52の記憶内容に基づいて、他の中継サーバに所属するクライアント端末がルーティングポイントとして機能する場合、当該クライアント端末との間で確立されたルーティングセッションを停止させる制御を行う。
Further, the
これにより、中継サーバ1は、他の中継サーバの通信が停止することを検知するだけで、当該他の中継サーバと接続され、かつルーティングポイントとして機能するクライアント端末との間で確立されたルーティングセッションを停止させることができる。従って、VPNグループとして機能しなくなる旨の信号をクライアント端末側から送信する必要をなくすことができる。
As a result, the
また、本実施形態の中継サーバ1は、受信したパケットのあて先が、自身の識別情報と対応付けられたアドレスフィルタ情報において指定されているときは、当該あて先にパケットを送信する。中継サーバ1は、受信したパケットのあて先が、自身以外のルーティング機器の識別情報と対応付けられたアドレスフィルタ情報において指定されているときは、自身と当該ルーティング機器との間に確立されたルーティングセッションを介して当該ルーティング機器にパケットを送信する。中継サーバ1は、受信したパケットのあて先が、ルーティング機器の識別情報と対応付けられたアドレスフィルタ情報において指定されていないときは、パケットを送信しない。
In addition, when the destination of the received packet is specified in the address filter information associated with its own identification information, the
これにより、中継サーバ1は、アドレスフィルタ情報に基づいて適切にルーティングを行うことができる。
Thereby, the
また、本実施形態の中継サーバ1においては、あるクライアント端末21がVPNグループの構成要素として機能しないことを検知したときに、クライアント端末21がVPNグループの構成要素として機能しなくなる結果として、当該VPNグループの構成要素であるルーティング機器が1つになる場合は、当該VPNグループを停止する制御を行う。
Further, in the
これにより、実質的にネットワークとして機能しなくなったVPNを自動的に停止させることができる。 This makes it possible to automatically stop a VPN that has substantially stopped functioning as a network.
以上に本発明の好適な実施の形態を説明したが、上記の構成は例えば以下のように変更することができる。 The preferred embodiment of the present invention has been described above, but the above configuration can be modified as follows, for example.
上記の中継グループ情報、中継サーバ情報、クライアント端末情報、VPNグループ情報、アドレスフィルタ情報等を格納する形式はXML形式に限定されず、適宜の形式で各情報を格納することができる。 The format for storing the relay group information, relay server information, client terminal information, VPN group information, address filter information, etc. is not limited to the XML format, and each information can be stored in an appropriate format.
上記実施形態の構成に代えて、各中継サーバ間での通信に用いられる外部サーバをインターネット上に設置し、SIP(Session Initiaion Protocol)サーバとしての機能を発揮させて通信を行う構成にしても良い。 Instead of the configuration of the above-described embodiment, an external server used for communication between each relay server may be installed on the Internet, and a communication may be performed by exhibiting a function as a SIP (Session Initiation Protocol) server. .
1,2,3,4 中継サーバ
11,21,31,41 クライアント端末
10,20,30,40 LAN
50 記憶部
60 制御部
100 中継通信システム
1, 2, 3, 4
50
Claims (5)
前記中継グループに属する前記中継サーバの起動情報と、前記中継グループに属する前記中継サーバに接続されたクライアント端末の起動情報及び登録情報と、を含む中継サーバ情報を記憶する中継サーバ情報記憶部と、
前記中継グループ情報及び前記中継サーバ情報に基づいて中継通信システムを構成する前記中継サーバ及び前記クライアント端末のうちルーティングポイントとして設定された前記中継サーバ及び前記クライアント端末であるルーティング機器で構成され、当該ルーティング機器を介して仮想プライベートネットワークにより通信を行うVPNグループに関し、当該VPNグループを構成する前記ルーティング機器の識別情報及びルーティングセッションを確立して互いに接続される前記ルーティング機器を示す接続情報を記憶するVPNグループ情報記憶部と、
パケットの送信先として前記ルーティング機器が指定可能な相手を示すアドレスフィルタ情報を当該ルーティング機器の識別情報と対応付けて記憶するアドレスフィルタ情報記憶部と、
前記VPNグループで仮想プライベートネットワークを開始した後に、あるルーティング機器が前記VPNグループの構成要素として機能しないことを検知したときに、仮想プライベートネットワークを停止させることなく、当該ルーティング機器との間で確立されたルーティングセッションを停止させる制御を行う制御部と、
を備えることを特徴とする中継サーバ。
A relay group information storage unit that stores information of a relay group including other relay servers that can be connected to each other;
A relay server information storage unit for storing relay server information including start information of the relay server belonging to the relay group and start information and registration information of a client terminal connected to the relay server belonging to the relay group;
The relay server configured as a routing point among the relay server and the client terminal constituting the relay communication system based on the relay group information and the relay server information, and the routing device that is the client terminal , and the routing device A VPN group that communicates with a virtual private network via a device, and that stores the identification information of the routing device constituting the VPN group and the connection information indicating the routing device connected to each other by establishing a routing session An information storage unit;
An address filter information storage unit that stores address filter information indicating a partner that can be designated by the routing device as a packet transmission destination in association with identification information of the routing device;
After starting a virtual private network in the VPN group, when it is detected that a routing device does not function as a component of the VPN group, it is established with the routing device without stopping the virtual private network. A control unit that performs control to stop the routing session,
A relay server comprising:
前記中継サーバ情報記憶部は、
第2中継サーバの識別情報と、当該第2中継サーバに接続されるクライアント端末の識別情報と、を対応付けて記憶し、
前記制御部は、
前記第2中継サーバの通信が停止することを検知したときに、前記VPNグループ情報記憶部及び前記中継サーバ情報記憶部の記憶内容に基づいて、前記第2中継サーバに接続されるクライアント端末の中にルーティングポイントとして機能するクライアント端末があるか否かを判断し、
ルーティングポイントとして機能するクライアント端末があれば、当該クライアント端末との間で確立されたルーティングセッションを停止させる制御を行うことを特徴とする中継サーバ。
The relay server according to claim 1,
The relay server information storage unit
And identification information of the second relay server, the identification information of the client terminals connected to the second relay server, in association with each other and stored,
The controller is
When the communication of the second relay server detects that the stop, on the basis of the stored contents of the VPN group information storage unit and the relay server information storage unit, the client terminal connected to the second relay server Determine whether there is a client terminal that functions as a routing point,
If there is a client terminal that functions as a routing point, a relay server that performs control to stop a routing session established with the client terminal.
前記制御部は、
受信したパケットのあて先が、自身の識別情報と対応付けられた前記アドレスフィルタ情報において指定されているときは、当該あて先にパケットを送信し、
受信したパケットのあて先が、自身以外の前記ルーティング機器の識別情報と対応付けられた前記アドレスフィルタ情報において指定されているときは、自身と当該ルーティング機器との間に確立されたルーティングセッションを介して当該ルーティング機器にパケットを送信し、
受信したパケットのあて先が、前記ルーティング機器の識別情報と対応付けられた前記アドレスフィルタ情報において指定されていないときは、パケットを送信しないことを特徴とする中継サーバ。 The relay server according to claim 1 or 2,
The controller is
When the destination of the received packet is specified in the address filter information associated with its own identification information, the packet is transmitted to the destination,
When the destination of the received packet is specified in the address filter information associated with the identification information of the routing device other than itself, via a routing session established between itself and the routing device Send the packet to the routing device,
A relay server, wherein a packet is not transmitted when a destination of a received packet is not designated in the address filter information associated with identification information of the routing device.
前記制御部は、
あるルーティング機器が前記VPNグループの構成要素として機能しないことを検知したときに、
当該ルーティング機器が前記VPNグループの構成要素として機能しなくなる結果として、当該VPNグループの構成要素であるルーティング機器が1つになる場合は、当該VPNグループを停止する制御を行うことを特徴とする中継サーバ。 A relay server according to any one of claims 1 to 3,
The controller is
When it detects that a routing device does not function as a component of the VPN group,
When the routing device does not function as a component of the VPN group, as a result, when there is only one routing device that is a component of the VPN group, control is performed to stop the VPN group. server.
前記中継サーバを介して互いに接続可能なクライアント端末と、
を備え、
前記中継サーバは、
当該中継サーバとの間で相互に接続可能な他の中継サーバを含む中継グループの情報を記憶する中継グループ情報記憶部と、
前記中継グループに属する前記中継サーバの起動情報と、前記クライアント端末の起動情報及び登録情報と、を含む中継サーバ情報を記憶する中継サーバ情報記憶部と、
前記中継サーバ及び前記クライアント端末のうちルーティングポイントとして設定されたルーティング機器で構成され、当該ルーティング機器を介して仮想プライベートネットワークにより通信を行うVPNグループに関し、当該VPNグループを構成する前記ルーティング機器の識別情報及びルーティングセッションを確立して互いに接続される前記ルーティング機器を示す接続情報を記憶するVPNグループ情報記憶部と、
パケットの送信先として前記ルーティング機器が指定可能な相手を示すアドレスフィルタ情報を当該ルーティング機器の識別情報と対応付けて記憶するアドレスフィルタ情報記憶部と、
前記VPNグループで仮想プライベートネットワークを開始した後に、あるルーティング機器が前記VPNグループの構成要素として機能しないことを検知したときに、仮想プライベートネットワークを停止させることなく、当該ルーティング機器との間で確立されたルーティングセッションを停止させる制御を行う制御部と、
を備えることを特徴とする中継通信システム。
Multiple relay servers,
A client terminal connectable to each other via the relay server;
With
The relay server is
A relay group information storage unit that stores information of a relay group including other relay servers that can be mutually connected to the relay server;
A relay server information storage unit for storing relay server information including start information of the relay server belonging to the relay group, start information and registration information of the client terminal;
Identification information of the routing device constituting the VPN group with respect to the VPN group configured by the routing device set as a routing point among the relay server and the client terminal and performing communication through the virtual private network via the routing device And a VPN group information storage unit that stores connection information indicating the routing devices connected to each other by establishing a routing session;
An address filter information storage unit that stores address filter information indicating a partner that can be designated by the routing device as a packet transmission destination in association with identification information of the routing device;
After starting a virtual private network in the VPN group, when it is detected that a routing device does not function as a component of the VPN group, it is established with the routing device without stopping the virtual private network. A control unit that performs control to stop the routing session,
A relay communication system comprising:
Priority Applications (8)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010258262A JP5633694B2 (en) | 2010-11-18 | 2010-11-18 | Relay server and relay communication system |
CN201180054596.8A CN103210614B (en) | 2010-11-18 | 2011-10-26 | Relay Server and relay communications system |
SG2013037247A SG190809A1 (en) | 2010-11-18 | 2011-10-26 | Relay server and relay communication system |
PCT/JP2011/005957 WO2012066731A1 (en) | 2010-11-18 | 2011-10-26 | Relay server and relay communication system |
KR1020137006650A KR101472426B1 (en) | 2010-11-18 | 2011-10-26 | Relay server and relay communication system |
US13/885,821 US9407529B2 (en) | 2010-11-18 | 2011-10-26 | Relay server and relay communication system |
EP11841723.7A EP2642701B1 (en) | 2010-11-18 | 2011-10-26 | Relay server and relay communication system |
TW100141826A TWI527405B (en) | 2010-11-18 | 2011-11-16 | Relay server and relay communication system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010258262A JP5633694B2 (en) | 2010-11-18 | 2010-11-18 | Relay server and relay communication system |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2012109874A JP2012109874A (en) | 2012-06-07 |
JP5633694B2 true JP5633694B2 (en) | 2014-12-03 |
Family
ID=46495002
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2010258262A Active JP5633694B2 (en) | 2010-11-18 | 2010-11-18 | Relay server and relay communication system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5633694B2 (en) |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4274231B2 (en) * | 2006-11-24 | 2009-06-03 | 村田機械株式会社 | Relay server and relay communication system |
KR101257724B1 (en) * | 2009-03-13 | 2013-04-23 | 무라다기카이가부시끼가이샤 | First relay server and second relay server |
-
2010
- 2010-11-18 JP JP2010258262A patent/JP5633694B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2012109874A (en) | 2012-06-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5569697B2 (en) | Relay server and relay communication system | |
KR101472426B1 (en) | Relay server and relay communication system | |
US8554935B2 (en) | Relay server and relay communication system | |
JP5621639B2 (en) | Relay server and relay communication system | |
JP5668954B2 (en) | Relay server and relay communication system | |
US8737413B2 (en) | Relay server and relay communication system | |
JP5874356B2 (en) | Relay server and relay communication system | |
JP2012170008A (en) | Relay server and relay communication system | |
JP5633694B2 (en) | Relay server and relay communication system | |
JP5633693B2 (en) | Relay server and relay communication system | |
JP5633692B2 (en) | Relay server and relay communication system | |
JP5773205B2 (en) | Relay server and relay communication system | |
JP5633748B2 (en) | Relay server and relay communication system | |
JP5786620B2 (en) | Relay server | |
JP5633749B2 (en) | Relay server and relay communication system | |
JP2013141058A (en) | Relay server and relay communication system | |
JP2013115778A (en) | Relay server and relay communication system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20130828 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20140701 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20140821 |
|
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: 20140917 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20140930 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5633694 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |