JP6432973B2 - Relay device, communication device, communication route selection method, communication route control method, and program - Google Patents
Relay device, communication device, communication route selection method, communication route control method, and program Download PDFInfo
- Publication number
- JP6432973B2 JP6432973B2 JP2014211499A JP2014211499A JP6432973B2 JP 6432973 B2 JP6432973 B2 JP 6432973B2 JP 2014211499 A JP2014211499 A JP 2014211499A JP 2014211499 A JP2014211499 A JP 2014211499A JP 6432973 B2 JP6432973 B2 JP 6432973B2
- Authority
- JP
- Japan
- Prior art keywords
- communication
- communication path
- control message
- message
- l2tp
- 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
本発明は中継装置、通信装置、通信経路選択方法、通信経路制御方法及びプログラムに関し、特にL2TP(L2 Tunneling Protocol)を用いる中継装置、通信装置、通信経路選択方法、通信経路制御方法及びプログラムに関する。 The present invention relates to a relay device, a communication device, a communication route selection method, a communication route control method, and a program, and more particularly to a relay device, a communication device, a communication route selection method, a communication route control method, and a program that use L2TP (L2 Tunneling Protocol).
インターネット等のIPネットワーク上において、VPN(Virtual Private Network)を提供するための技術として、L2TP(L2 Tunneling Protocol)を用いることが知られている。通信装置間において、L2TPを用いたL2TPトンネルが設定され、それぞれの通信装置は、L2TPトンネルを介してデータを送受信する。 As a technique for providing a VPN (Virtual Private Network) on an IP network such as the Internet, it is known to use L2TP (L2 Tunneling Protocol). An L2TP tunnel using L2TP is set between the communication devices, and each communication device transmits and receives data via the L2TP tunnel.
特許文献1には、L2TPトンネルを設定する際に、L2TPトンネルを設定する通信装置間においてQoS設定に関するネゴシエーションを行うことが開示されている。通信装置間において、L2TP制御メッセージを用いてネゴシエーションを行うことによって、異なるQoS要求を行う通信装置間であっても、共通のQoS設定を行うことができる。これによって、L2TPトンネルが設定され、異なるQoS要求を行うことによる、呼が拒否される事象を防止することができる。
また、L2TPトンネルが設定された通信経路に障害が発生した場合に備えて、迂回路を設定する方法が検討されている。L2TP(L2 Tunneling Protocol)トンネルを利用した冗長化方法として、常時複数のL2TPトンネルを接続状態とする方法がある。この場合、メイン回線に障害が発生した際に、すぐにバックアップ側回線を通信可能とする。複数のバックアップ回線がある場合、予め定められた優先度に従い、使用するバックアップ回線を選択する。 Also, a method for setting a detour is being studied in case a failure occurs in a communication path in which an L2TP tunnel is set. As a redundancy method using an L2TP (L2 Tunneling Protocol) tunnel, there is a method in which a plurality of L2TP tunnels are always connected. In this case, when a failure occurs in the main line, the backup side line can be immediately communicated. When there are a plurality of backup lines, the backup line to be used is selected according to a predetermined priority.
しかし、メイン回線に障害が発生した際に、複数のバックアップ回線の中から、予め定められた優先度に従い、使用するバックアップ回線を選択した場合、次のような問題が発生する。L2TPトンネルは、インターネット等のIPネットワーク上に設定される。そのため、トラヒックの変動等により、通信品質もしくは通信環境は常に一定ではなく、変化する可能性がある。このような状況において、予め定められた優先度に従い、使用するバックアップ回線を選択した場合、複数のバックアップ回線のうち、通信品質の低い回線を選択する可能性があるという問題がある。 However, when a failure occurs in the main line, if a backup line to be used is selected from a plurality of backup lines according to a predetermined priority, the following problem occurs. The L2TP tunnel is set on an IP network such as the Internet. Therefore, the communication quality or the communication environment is not always constant and may change due to traffic fluctuations. In such a situation, when a backup line to be used is selected according to a predetermined priority, there is a problem that a line with low communication quality may be selected from among a plurality of backup lines.
本発明の目的は、複数の通信回線の中から通信品質の良い通信回線を選択することができる中継装置、通信装置、通信経路選択方法、通信経路制御方法及びプログラムを提供することにある。 An object of the present invention is to provide a relay apparatus, a communication apparatus, a communication path selection method, a communication path control method, and a program capable of selecting a communication line with good communication quality from among a plurality of communication lines.
本発明の第1の態様にかかる中継装置は、第1の通信装置と、L2トンネリングプロトコル(L2TP)を用いた第1の通信経路を介して接続し、第2の通信装置と、L2TPを用いた第2の通信経路を介して接続し、前記第1の通信経路もしくは前記第2の通信経路を用いて対向装置と通信する通信部と、前記第1の通信装置へ制御メッセージを送信してから制御メッセージに対する応答メッセージを受信するまでの応答時間と、前記第2の通信装置へ制御メッセージを送信してから制御メッセージに対する応答メッセージを受信するまでの応答時間とを管理する管理部と、応答時間が最も短い通信経路を、前記対向装置との通信に使用する通信経路として選択する選択部と、を備えるものである。 The relay device according to the first aspect of the present invention is connected to the first communication device via the first communication path using the L2 tunneling protocol (L2TP), and uses the second communication device and L2TP. A communication unit that communicates with the opposite device using the first communication path or the second communication path, and transmits a control message to the first communication apparatus. A management unit that manages a response time from when the response message to the control message is received to a response message until the response message to the control message is received after the control message is transmitted to the second communication device; And a selection unit that selects a communication path having the shortest time as a communication path to be used for communication with the opposite apparatus.
本発明の第2の態様にかかる通信装置は、中継装置と、L2TPを用いた通信経路を介して接続し、前記中継装置から送信された制御メッセージに対して応答メッセージを送信する通信部と、複数の通信装置に対して制御メッセージを送信してから、それぞれの通信装置から制御メッセージに対する応答メッセージを受信するまでの応答時間を用いて対向装置との通信に使用する通信経路を選択する前記中継装置から、通信経路の選択結果を受信し、前記選択結果に応じて、前記中継装置との間の通信経路を使用可能状態もしくは使用不可能状態に設定する制御部と、を備えるものである。 A communication device according to a second aspect of the present invention is connected to a relay device via a communication path using L2TP, and a communication unit that transmits a response message to a control message transmitted from the relay device; The relay for selecting a communication path to be used for communication with the opposite device using a response time from transmission of a control message to a plurality of communication devices until reception of a response message for the control message from each communication device. A control unit that receives a communication path selection result from the apparatus and sets a communication path between the apparatus and the relay apparatus to a usable state or an unusable state according to the selection result.
本発明の第3の態様にかかる通信経路選択方法は、第1の通信装置と、L2トンネリングプロトコル(L2TP)を用いた第1の通信経路を介して接続し、第2の通信装置と、L2TPを用いた第2の通信経路を介して接続し、前記第1の通信経路もしくは前記第2の通信経路を用いて対向装置と通信し、前記第1の通信装置へ制御メッセージを送信してから制御メッセージに対する応答メッセージを受信するまでの応答時間と、前記第2の通信装置へ制御メッセージを送信してから制御メッセージに対する応答メッセージを受信するまでの応答時間とを管理し、応答時間が最も短い通信経路を、前記対向装置との通信に使用する通信経路として選択するものである。 The communication path selection method according to the third aspect of the present invention is such that a first communication apparatus is connected via a first communication path using the L2 tunneling protocol (L2TP), and the second communication apparatus is connected to the L2TP. After connecting via the second communication path using the first communication path, communicating with the opposite apparatus using the first communication path or the second communication path, and transmitting a control message to the first communication apparatus. The response time for receiving a response message for the control message and the response time for receiving the response message for the control message after transmitting the control message to the second communication device are managed, and the response time is the shortest. A communication path is selected as a communication path used for communication with the opposite apparatus.
本発明の第4の態様にかかる通信経路制御方法は、中継装置と、L2TPを用いた通信経路を介して接続し、前記中継装置から送信された制御メッセージに対して応答メッセージを送信し、複数の通信装置に対して制御メッセージを送信してから、それぞれの通信装置から制御メッセージに対する応答メッセージを受信するまでの応答時間を用いて対向装置との通信に使用する通信経路を選択する前記中継装置から、通信経路の選択結果を受信し、前記選択結果に応じて、前記中継装置との間の通信経路を使用可能状態もしくは使用不可能状態に設定するものである。 A communication path control method according to a fourth aspect of the present invention is connected to a relay apparatus via a communication path using L2TP, and transmits a response message to the control message transmitted from the relay apparatus. The relay device that selects a communication path to be used for communication with the opposite device using a response time from when a control message is transmitted to each communication device to when a response message to the control message is received from each communication device The communication path selection result is received, and the communication path with the relay device is set to the usable state or the unusable state according to the selection result.
本発明の第5の態様にかかるプログラムは、第1の通信装置と、L2トンネリングプロトコル(L2TP)を用いた第1の通信経路を介して接続し、第2の通信装置と、L2TPを用いた第2の通信経路を介して接続し、前記第1の通信経路もしくは前記第2の通信経路を用いて対向装置と通信し、前記第1の通信装置へ制御メッセージを送信してから制御メッセージに対する応答メッセージを受信するまでの応答時間と、前記第2の通信装置へ制御メッセージを送信してから制御メッセージに対する応答メッセージを受信するまでの応答時間とを管理し、応答時間が最も短い通信経路を、前記対向装置との通信に使用する通信経路として選択することをコンピュータに実行させるものである。 The program according to the fifth aspect of the present invention is connected to the first communication device via the first communication path using the L2 tunneling protocol (L2TP), and uses the second communication device and L2TP. Connect via a second communication path, communicate with the opposite device using the first communication path or the second communication path, send a control message to the first communication apparatus, and then respond to the control message Managing a response time until receiving a response message and a response time from receiving a control message to the second communication device until receiving a response message to the control message , Causing the computer to select a communication path to be used for communication with the opposite apparatus.
本発明により、複数の通信回線の中から通信品質の良い通信回線を選択することができる中継装置、通信装置、通信経路選択方法、通信経路制御方法及びプログラムを提供ができる。 According to the present invention, it is possible to provide a relay apparatus, a communication apparatus, a communication path selection method, a communication path control method, and a program that can select a communication line with good communication quality from among a plurality of communication lines.
(実施の形態1)
以下、図面を参照して本発明の実施の形態について説明する。図1を用いて本発明の実施の形態1にかかる通信システムの構成例について説明する。図1の通信システムは、中継装置10、通信装置20、通信装置21及び対向装置30を有している。
(Embodiment 1)
Embodiments of the present invention will be described below with reference to the drawings. A configuration example of a communication system according to the first exemplary embodiment of the present invention will be described with reference to FIG. The communication system in FIG. 1 includes a
中継装置10は、例えば、データを中継するルータ装置等であってもよい。通信装置20及び通信装置21は、中継装置10との間に通信回線を設定して中継装置10と通信する装置である。通信装置20及び通信装置21は、例えば、ゲートウェイ装置であってもよく、ルータ装置等であってもよい。対向装置30は、中継装置10が、通信装置20もしくは通信装置21を介して通信を行う装置である。対向装置30は、例えば、サーバ装置等であってもよい。
The
続いて、中継装置10の構成例について説明する。中継装置10は、通信部11、管理部12及び選択部13を有している。通信部11は、通信装置20もしくは通信装置21を介して対向装置30と通信する。
Next, a configuration example of the
通信部11は、L2TPを用いた第1の通信経路を介して通信装置20と接続する。また、通信部11は、L2TPを用いた第2の通信経路を介して通信装置21と接続する。第1及び第2の通信経路は、例えば、L2TPトンネルと称されてもよい。また、第1及び第2の通信経路は、無線回線であってもよく有線回線であってもよい。
The communication unit 11 is connected to the
通信部11が、通信装置20もしくは通信装置21と接続するとは、通信部11が、通信装置20もしくは通信装置21との間の認証処理を完了し、通信を行うことができる状態、もしくは、通信開始を示すパラメータを設定することによって通信を行うことができる状態であることも含む。
When the communication unit 11 is connected to the
管理部12は、通信装置20へ制御メッセージを送信してから制御メッセージに対する応答メッセージを受信するまでの応答時間と、通信装置21へ制御メッセージを送信してから制御メッセージに対する応答メッセージを受信するまでの応答時間とを管理する。制御メッセージは、例えば、L2TPにおいて用いられるメッセージであり、L2TP制御メッセージと称されてもよい。応答メッセージも、L2TPにおいて用いられるメッセージである。管理部12は、制御メッセージを、通信部11を介して通信装置20もしくは通信装置21へ送信する。
The
管理部12は、例えば、中継装置10内のメモリであってもよく、中継装置10に外部から接続される記憶装置等であってもよい。管理部12は、例えば、通信経路と、その通信経路を用いてL2TP制御メッセージを送受信した場合の応答時間とを関連付けて管理してもよい。
For example, the
選択部13は、応答時間が最も短い通信経路を、中継装置10が対向装置30との通信に使用する通信経路として選択する。応答時間が最も短い経路は、トラヒックの輻輳等が発生しておらず、通信環境もしくは通信品質が最も良好な経路であると想定することができる。そのため、選択部13は、複数の通信経路の中から、応答時間が最も短い経路を選択することによって、中継装置10が通信品質の良好な通信経路を用いて対向装置30と通信を行えるようにする。
The
以上説明したように、図1の中継装置10を用いることによって、中継装置10が対向装置30と通信するための通信経路として複数の通信経路を有している場合、通信品質の良好な通信経路を選択することができる。
As described above, by using the
(実施の形態2)
続いて、図2を用いて本発明の実施の形態2にかかる通信システムの構成例について説明する。図2の通信システムは、ユーザ端末101、ルータ201、ゲートウェイ401、ゲートウェイ402、ゲートウェイ403、SWハブ501及びサーバ601を有している。
(Embodiment 2)
Subsequently, a configuration example of the communication system according to the second exemplary embodiment of the present invention will be described with reference to FIG. 2 includes a
ユーザ端末101は、例えば、携帯電話端末、スマートフォン端末、タブレット型端末もしくはパーソナルコンピュータ等のコンピュータ装置であってもよい。ユーザ端末101は、無線回線もしくは有線回線を介してルータ201と接続する。例えば、ユーザ端末101が、携帯電話端末である場合、基地局を介してルータ201と通信を行ってもよい。また、ユーザ端末101とルータ201との間に、データを中継する通信装置が配置されていてもよい。
The
ルータ201は、図1の中継装置10に対応する。ルータ201は、サーバ601との間の通信経路として、複数の通信経路を有する。具体的には、ルータ201は、ゲートウェイ401を介した通信経路と、ゲートウェイ402を介した通信経路と、ゲートウェイ403を介した通信経路とを有する。ユーザ端末101から送信されたデータは、いずれのゲートウェイを介した場合でも、SWハブ501を介してサーバ601へ到達する。
The
ゲートウェイ401〜ゲートウェイ403は、図1における通信装置20もしくは通信装置21に対応する。また、サーバ601は、図1の対向装置30に対応する。
The
図2においては、ゲートウェイ401を介した通信経路をメイン回線301とし、ゲートウェイ402を介した通信経路をバックアップ回線302とし、ゲートウェイ403を介した通信経路をバックアップ回線303とする。ルータ201は、メイン回線301を通信可能状態として、ユーザ端末101とサーバ601との間の通信経路として用いる。バックアップ回線302及びバックアップ回線303は、メイン回線301に障害が発生した場合の代替経路であり、メイン回線301が用いられている間は、通信不可状態とする。
In FIG. 2, the communication path via the
続いて、図3を用いて本発明の実施の形態2にかかるルータ201の構成例について説明する。ルータ201は、インタフェース211、インタフェース221、L2TPトンネル管理部231、優先度管理部241、HELLO応答時間管理部251及び通信状態管理部261を有している。
Next, a configuration example of the
インタフェース211及びインタフェース221は、図1の通信部11に対応する。L2TPトンネル管理部231及びHELLO応答時間管理部251は、図1の管理部12に対応する。優先度管理部241及び通信状態管理部261は、図1の選択部13に対応する。
The
インタフェース211は、ユーザ端末101と通信するために用いられるインタフェースである。インタフェース211は、例えば、Ethernet(登録商標)インタフェースであってもよい。インタフェース221は、ゲートウェイ401、ゲートウェイ402及びゲートウェイ403と通信するために用いられるインタフェースである。インタフェース221は、例えば、Ethernet(登録商標)インタフェースであってもよい。
The
ゲートウェイ401、ゲートウェイ402及びゲートウェイ403と通信するために、それぞれのゲートウェイ毎にインタフェースが用いられてもよく、一つのインタフェース221が用いられてもよい。
In order to communicate with the
L2TPトンネル管理部231は、ゲートウェイ401〜ゲートウェイ403との間におけるL2TPトンネルの構築を行う。例えば、L2TPトンネル管理部231は、L2TPトンネルの構築を行う際に必要なパラメータ等を管理する。また、L2TPトンネル管理部231は、L2TPトンネルを介して送信するL2TP制御メッセージの生成等を行ってもよい。L2TPトンネルを介して送信するL2TP制御メッセージは、例えば、HELLOメッセージであってもよい。HELLOメッセージは、主に、対向する装置に送信し、応答メッセージの有無に応じて、障害が発生しているか否かを判定するために用いられる。
The L2TP
優先度管理部241は、Vendor−specific Attribute Value Pair(以下、ベンダー固有AVP、と称する)に含まれるpriority情報を用いてL2TPトンネルの優先度を決定する。もしくは、優先度管理部241は、HELLOメッセージの応答時間を用いてL2TPトンネルの優先度を決定する。
The
ゲートウェイ401〜ゲートウェイ403は、ベンダー固有AVPにpriority情報を定めたL2TP制御メッセージをルータ201へ送信する。優先度管理部241は、インタフェース221を介して、それぞれのゲートウェイが設定したpriority情報を受信する。優先度管理部241は、priority情報を分析し、最も高い優先度を設定したゲートウェイとの間の通信経路をメイン回線として設定する。優先度管理部241は、障害が発生する前に、複数の通信経路のなかからメイン回線を選択する際に、ゲートウェイ401〜ゲートウェイ403から送信されたpriority情報を用いてメイン回線の選択を行ってもよい。
The
HELLOメッセージの応答時間は、L2TPトンネル管理部231がインタフェース221を介してそれぞれのゲートウェイへHELLOメッセージを送信し、その応答メッセージを受信するまでの時間である。応答時間は、通信経路の通信環境等に応じて異なる。例えば、応答時間は、通信経路における電波環境、トラヒック状況等に応じて変化する。応答時間は、通信環境もしくは通信品質が良好な通信経路ほど短くなる。そのため、優先度管理部241は、HELLOメッセージの応答時間が最も短い通信経路を、メイン回線として選択してもよい。
The response time of the HELLO message is the time until the L2TP
優先度管理部241は、メイン回線に障害が発生し、複数のバックアップ回線から代替経路を選択する際に、HELLOメッセージの応答時間を用いて、代替経路を選択してもよい。
The
HELLO応答時間管理部251は、L2TPトンネルごとのHELLOメッセージの応答時間を記憶する。言い換えると、HELLO応答時間管理部251は、通信経路ごとのHELLOメッセージの応答時間を記憶する。
The HELLO response
通信状態管理部261は、優先度管理部241においてメイン回線として選択したL2TPトンネルを通信可能状態とし、それ以外のL2TPトンネルを通信不可状態とするように制御する。優先度管理部241は、L2TPトンネルを通信可能状態とする場合、ベンダー固有AVPのactivity情報にupを設定し、L2TPトンネルを通信不可状態とする場合、ベンダー固有AVPのactivity情報にdownを設定する。L2TPトンネル管理部231は、activity情報を設定したベンダー固有AVPを有するL2TP制御メッセージを、インタフェース221を介して、ゲートウェイ401〜ゲートウェイ403へ送信する。
The communication
続いて、図4を用いて、ゲートウェイ401の構成例について説明する。ゲートウェイ401は、インタフェース411、インタフェース421、L2TPトンネル管理部431及び通信状態管理部441を有する。なお、ゲートウェイ402及びゲートウェイ403は、ゲートウェイ401と同様の構成を有するため、詳細な説明を省略する。
Next, a configuration example of the
インタフェース411は、ルータ201と通信するために用いられるインタフェースである。インタフェース411は、例えば、Ethernet(登録商標)インタフェースであってもよい。インタフェース421は、サーバ601側、つまり、SWハブ501と通信するために用いられるインタフェースである。インタフェース421は、例えば、Ethernet(登録商標)インタフェースであってもよい。
The
L2TPトンネル管理部431は、ルータ201との間におけるL2TPトンネルの構築を行う。例えば、L2TPトンネル管理部431は、L2TPトンネルの構築を行う際に必要なパラメータ等を管理する。また、L2TPトンネル管理部431は、L2TPトンネルを介して送信する制御メッセージの生成等を行ってもよい。例えば、L2TPトンネル管理部431は、ベンダー固有AVPにpriority情報を設定したL2TP制御メッセージをルータ201へ送信する。priority情報は、例えば、1、2、3等の数字が設定され、数字が低いほど高い優先度を示してもよい。
The L2TP tunnel management unit 431 constructs an L2TP tunnel with the
通信状態管理部441は、ルータ201から送信されたL2TP制御メッセージに含まれるベンダー固有AVPのactivity情報がupである場合、ルータ201との間のL2TPトンネルを通信可能状態とし、activity情報がdownである場合、ルータ201との間のL2TPトンネルを通信不可状態とする。
When the vendor-specific AVP activity information included in the L2TP control message transmitted from the
続いて、図5を用いて本発明の実施の形態2にかかるL2TPトンネル接続時の処理の流れについて説明する。はじめに、ゲートウェイ401は、L2TPトンネルの設定を要求するために、ルータ201へ、SCCRQメッセージを送信する(S11)。次に、ゲートウェイ401は、L2TPトンネルを用いたセッションを確立するために、ルータ201へICCNメッセージを送信する(S12)。ここで、ゲートウェイ401は、ICCNメッセージに含まれるベンダー固有AVPに、priority=1及びactivity=downを設定する。ここでは、priorityは、1が最も優先度が高く、数字が増加するにつれて、優先度が低くなるとする。つまり、ゲートウェイ401は、最も高い優先度であることを示している。管理者等が、それぞれのゲートウェイへ、予め優先度に関する情報を入力しておいてもよい。
Next, the flow of processing when the L2TP tunnel is connected according to the second exemplary embodiment of the present invention will be described with reference to FIG. First, the
ゲートウェイ402は、ゲートウェイ401と同様に、ステップS21において、SCCRQメッセージを送信し、ステップS22においてICCNメッセージを送信する。ゲートウェイ402は、ICCNメッセージに含まれるベンダー固有AVPに、priority=2及びactivity=downを設定する。
Similarly to the
ゲートウェイ403は、ゲートウェイ401と同様に、ステップS31において、SCCRQメッセージを送信し、ステップS32においてICCNメッセージを送信する。ゲートウェイ403は、ICCNメッセージに含まれるベンダー固有AVPに、priority=3及びactivity=downを設定する。
Similarly to the
次に、ルータ201は、ゲートウェイ401が、最も優先度が高く設定されているため、ゲートウェイ401との間の通信経路をメイン回線とするために、ゲートウェイ401へHELLOメッセージを送信する(S13)。ルータ201は、HELLOメッセージに含まれるベンダー固有AVPに、priority=1及びactivity=upを設定する。ルータ201は、activity=upを設定することによって、ゲートウェイ401へ、通信可能状態であることを通知する。次に、ゲートウェイ401は、HELLOメッセージへの応答メッセージとして、ZLBメッセージをルータ201へ送信する。ゲートウェイ401は、ZLBメッセージに含まれるベンダー固有AVPに、priority=1及びactivity=upを設定する。
Next, since the
また、ルータ201は、ゲートウェイ402に対しても、HELLOメッセージを送信する(S23)。ルータ201は、HELLOメッセージに含まれるベンダー固有AVPに、priority=2及びactivity=downを設定する。ルータ201は、activity=downを設定することによって、ゲートウェイ401へ、通信不可状態であることを通知する。次に、ゲートウェイ402は、HELLOメッセージへの応答メッセージとして、ZLBメッセージをルータ201へ送信する。ゲートウェイ402は、ZLBメッセージに含まれるベンダー固有AVPに、priority=2及びactivity=downを設定する。
The
また、ルータ201は、ゲートウェイ403に対しても、HELLOメッセージを送信する(S33)。ルータ201は、HELLOメッセージに含まれるベンダー固有AVPに、priority=3及びactivity=downを設定する。ルータ201は、activity=downを設定することによって、ゲートウェイ403へ、通信不可状態であることを通知する。次に、ゲートウェイ403は、HELLOメッセージへの応答メッセージとして、ZLBメッセージをルータ201へ送信する。ゲートウェイ403は、ZLBメッセージに含まれるベンダー固有AVPに、priority=3及びactivity=downを設定する。
The
図5の処理を実行することによって、ルータ201は、ゲートウェイ401との間の通信経路をメイン回線とし、ゲートウェイ402及びゲートウェイ403との間の通信経路をバックアップ回線と決定する。
By executing the processing of FIG. 5, the
図5の処理においては、ルータ201は、ステップS12においてICCNメッセージを受信してから、所定期間内に受信したICCNメッセージに設定されているpriorityの値に応じてメイン回線を決定してもよい。
In the process of FIG. 5, the
このような場合、例えば、所定期間外にSCCRQメッセージ及びICCNメッセージを受信した場合、現在メイン回線を介して接続しているゲートウェイのpriorityの値と、新たに送信されてきたICCNメッセージに設定されているpriorityの値とを比較して、どちらをメイン回線とするかを判定してもよい。ルータ201は、新たに接続を要求してきたゲートウェイのpriorityのほうが高いと判定した場合、メイン回線を変更する。
In such a case, for example, when the SCCRQ message and the ICCN message are received outside the predetermined period, the priority value of the gateway currently connected via the main line and the newly transmitted ICCN message are set. The priority value may be compared to determine which is the main line. When the
続いて、図6を用いて本発明の実施の形態2にかかるメイン回線に障害が発生した場合の動作について説明する。はじめに、ルータ201は、ゲートウェイ401との間の通信経路であるメイン回線301に障害が発生したことを検出する(S41)。例えば、ルータ201は、ゲートウェイ401に定期的に送信しているHELLOメッセージの応答メッセージを、所定期間内に受信しない場合に、メイン回線301に障害が発生したと判定してもよい。メイン回線301の障害とは、ルータ201とゲートウェイ401との間の通信経路上の通信装置もしくは中継装置等に障害が発生した場合、及び、ゲートウェイ401に障害が発生した場合も含む。
Next, an operation when a failure occurs in the main line according to the second exemplary embodiment of the present invention will be described with reference to FIG. First, the
ルータ201は、メイン回線における障害を検出した場合、バックアップ回線であるバックアップ回線302又はバックアップ回線303をメイン回線に変更する。ここでは、バックアップ回線303における応答時間が、バックアップ回線302よりも短いとする。このような場合、バックアップ回線302及びバックアップ回線303における優先度にかかわらず、ルータ201は、バックアップ回線303をメイン回線へ変更する。つまり、バックアップ回線303における優先度が、バックアップ回線302よりも低い場合であっても、ルータ201は、応答時間が短いバックアップ回線303をバックアップ回線からメイン回線へ変更する。
When the
ルータ201は、メイン回線へ変更する通信経路を決定すると、ゲートウェイ402及びゲートウェイ403へ決定内容を送信する。ルータ201は、ゲートウェイ402へ、priority=2、activity=downを設定したHELLOメッセージを送信する(S51)。ルータ201は、ステップS21において受信したSCCRQメッセージに設定されていたpriorityの値をHELLOメッセージに設定する。また、ルータ201は、ゲートウェイ402との間の通信経路をバックアップ回線のまま維持するため、activity=downとする。
When the
次に、ゲートウェイ402は、HELLOメッセージに対する応答メッセージとして、ZLBメッセージを送信する(S52)。
Next, the
次に、ルータ201は、ゲートウェイ403へ、priority=3、activity=upを設定したHELLOメッセージを送信する(S61)。ルータ201は、ステップS31において受信したSCCRQメッセージに設定されていたpriorityの値をHELLOメッセージに設定する。また、ルータ201は、ゲートウェイ403との間の通信経路をメイン回線へ変更するため、activity=upとする。
Next, the
次に、ゲートウェイ403は、HELLOメッセージに対する応答メッセージとして、ZLBメッセージを送信する(S62)。
Next, the
図6においては、ステップS51及びS52を、ステップS61及びS62の前に送信していることを示しているが、ステップS51及びS52を、ステップS61及びS62の後に送信してもよい。 Although FIG. 6 shows that steps S51 and S52 are transmitted before steps S61 and S62, steps S51 and S52 may be transmitted after steps S61 and S62.
続いて、図7を用いて本発明の実施の形態2にかかるルータ201における、L2TPトンネル接続時の処理の流れについて説明する。はじめに、L2TPトンネル管理部231は、ゲートウェイ401〜ゲートウェイ403のいずれかのゲートウェイから送信されたSCCRQメッセージを受信することによって、L2TPトンネルの接続処理を開始する(S101)。
Next, a flow of processing at the time of L2TP tunnel connection in the
次に、優先度管理部241は、インタフェース221を介して、ゲートウェイが設定したpriority情報を受信する(S102)。priority情報は、L2TP制御メッセージ内のベンダー固有AVPに設定されている。
Next, the
次に、L2TPトンネル管理部231は、ゲートウェイとの間においてL2TPトンネルの接続に成功したか否かを判定する(S103)。L2TPトンネル管理部231は、L2TPトンネルの接続に失敗したと判定した場合、ステップS101に遷移し、接続処理を再開する。
Next, the L2TP
次に、L2TPトンネル管理部231は、priorityの値が最優先の値を示しているか否かを判定する(S104)。例えば、L2TPトンネル管理部231は、priority=1である場合、priorityの値が最優先であると判定し、それ以外の値であれば、priorityの値が最優先ではないと判定してもよい。もしくは、L2TPトンネル管理部231は、複数のゲートウェイから送信されたpriorityの値を分析し、ステップS102において受信したpriorityの値が最も低い場合、ステップS102において受信したpriorityの値が最優先であると判定してもよい。
Next, the L2TP
次に、優先度管理部241は、ステップS102において受信したpriorityの値が最優先の値を示していると判定した場合、最優先の値を示すpriorityを送信したゲートウェイとの間のL2TPトンネルをメイン回線とする。この場合、優先度管理部241は、メイン回線を設定するゲートウェイ宛てのHELLOメッセージのベンダー固有AVPに設定されるactivity情報を、activity=upとする。また、優先度管理部241は、バックアップ回線を設定するゲートウェイ宛てのHELLOメッセージのベンダー固有AVPに設定されるactivity情報を、activity=downとする(S105)。
Next, when the
次に、L2TPトンネル管理部231は、ステップS105において決定されたactivity情報を設定したHELLOメッセージを、それぞれのゲートウェイへ送信する(S106)。
Next, the L2TP
ステップS105において、受信したpriorityの値が最優先の値を示していないと判定された場合、L2TPトンネル管理部231は、ステップS102においてL2TP制御メッセージを送信したゲートウェイへ、HELLOメッセージを送信する(S107)。次に、HELLO応答時間管理部251は、HELLOメッセージを送信してから応答メッセージを受信するまでの応答時間を記録する(S108)。ここで、HELLO応答時間管理部251は、数回分の応答時間を記録し、応答時間の平均値を求めてもよい。
If it is determined in step S105 that the received priority value does not indicate the highest priority value, the L2TP
続いて、図8を用いて、本発明の実施の形態2にかかるルータ201における、メイン回線に障害発生時の処理の流れについて説明する。ルータ201が、メイン回線に障害が発生したことを検出した場合、通信状態管理部261は、バックアップ回線のL2TPトンネルが切断状態であるか否かを判定する(S111)。以下においては、通信状態管理部261は、バックアップ回線302が切断状態か否かを判定する。通信状態管理部261は、バックアップ回線302のL2TPトンネルが切断状態であると判定した場合、処理を終了する。もしくは、通信状態管理部261は、バックアップ回線302が切断状態であると判定した場合、バックアップ回線303が切断状態か否かを判定してもよい。
Next, with reference to FIG. 8, a flow of processing when a failure occurs in the main line in the
ステップS111において、バックアップ回線302のL2TPトンネルが切断状態ではないと判定された場合、優先度管理部241は、接続状態であるバックアップ回線302の優先度が最優先であるか否かを判定する(S112)。
If it is determined in step S111 that the L2TP tunnel of the
優先度管理部241が、バックアップ回線302の優先度が最優先ではないと判定した場合、処理を終了する。もしくは、優先度管理部241が、バックアップ回線302の優先度が最優先ではないと判定した場合、ステップS111に戻り、他のバックアップ回線303のL2TPトンネルが切断状態か否かを判定してもよい。
If the
ステップS112において、優先度管理部241が、バックアップ回線302の優先度が最優先であると判定した場合、通信状態管理部261は、バックアップ回線302をメイン回線に変更するために、ベンダー固有AVPのactivity情報として、activity=upを設定する(S113)。次に、L2TPトンネル管理部231は、activity=upを設定したベンダー固有AVPのHELLOメッセージをゲートウェイ402へ送信する(S114)。
In step S112, when the
続いて、図9を用いて本発明の実施の形態2にかかるゲートウェイ401におけるL2TPトンネル接続時の処理の流れについて説明する。なお、ゲートウェイ402及びゲートウェイ403におけるL2TPトンネル接続時の処理は、ゲートウェイ401と同様であるため詳細な説明を省略する。
Next, the flow of processing when the L2TP tunnel is connected in the
はじめに、L2TPトンネル管理部431は、L2TPトンネルの接続処理を開始する(S121)。次に、L2TPトンネル管理部431は、SCCRQメッセージのベンダー固有AVPのpriority情報に、priority=1を設定して、SCCRQメッセージをルータ201へ送信する(S122)。次に、L2TPトンネル管理部431は、ルータ201との間に、L2TPトンネルの接続が成功したか否かを判定する(S123)。L2TPトンネル管理部431は、例えば、SCCRQメッセージに対する応答メッセージが、ルータ201から送信されてきた場合に、接続が成功したと判定してもよい。
First, the L2TP tunnel management unit 431 starts an L2TP tunnel connection process (S121). Next, the L2TP tunnel management unit 431 sets priority = 1 in the vendor-specific AVP priority information of the SCCRQ message, and transmits the SCCRQ message to the router 201 (S122). Next, the L2TP tunnel management unit 431 determines whether or not the connection of the L2TP tunnel with the
L2TPトンネル管理部431は、ステップS123において、L2TPトンネルの接続に失敗したと判定した場合、ステップS121の処理を繰り返す。L2TPトンネル管理部431は、ステップS123において、L2TPトンネルの接続に成功したと判定した場合、ルータ201から送信されたHELLOメッセージを受信する(S124)。 If the L2TP tunnel management unit 431 determines in step S123 that the connection of the L2TP tunnel has failed, the process of step S121 is repeated. When the L2TP tunnel management unit 431 determines in step S123 that the connection of the L2TP tunnel is successful, the L2TP tunnel management unit 431 receives the HELLO message transmitted from the router 201 (S124).
次に、通信状態管理部441は、受信したHELLOメッセージのベンダー固有AVPに設定されているactivity情報に応じて、自装置のactivity情報を変更する。例えば、通信状態管理部441は、activity=upが設定されたHELLOメッセージを受信した場合、L2TPトンネルを通信可能状態とする。もしくは、通信状態管理部441は、activity=downが設定されたHELLOメッセージを受信した場合、L2TPトンネルを通信不可状態とする。
Next, the communication
通信状態管理部441は、L2TPトンネルを通信可能状態とする場合、activity=upと設定したZLBメッセージをルータ201へ送信する(S126)。もしくは、通信状態管理部441は、L2TPトンネルを通信不可状態とする場合、activity=downと設定したZLBメッセージをルータ201へ送信する(S126)。
When the communication
続いて、図10を用いて本発明の実施の形態2にかかるメイン回線に障害発生時のゲートウェイ403における処理の流れについて説明する。はじめに、L2TPトンネル管理部431は、ルータ201から送信されたHELLOメッセージを受信する(S131)。
Next, a processing flow in the
次に、通信状態管理部441は、HELLOメッセージのベンダー固有AVPに設定されているactivity情報に応じて、L2TPトンネルの通信可能状態もしくは通信不可状態に設定する(S132)。例えば、ルータ201によって応答時間が短いと判定され、メイン回線へ変更するためにactivity=upが設定されている場合、通信状態管理部441は、L2TPトンネルを通信可能状態とする。もしくは、ルータ201によって応答時間が長いと判定され、バックアップ回線のまま維持するためにactivity=downが設定されている場合、通信状態管理部441は、L2TPトンネルを通信不可状態とする。
Next, the communication
次に、通信状態管理部441は、L2TPトンネルを通信可能状態とする場合、activity=upと設定したZLBメッセージをルータ201へ送信する(S133)。もしくは、通信状態管理部441は、L2TPトンネルを通信不可状態とする場合、activity=downと設定したZLBメッセージをルータ201へ送信する(S133)。
Next, when making the L2TP tunnel communicable, the communication
続いて、図11を用いてベンダー固有AVPのフォーマット例について説明する。L2TP制御メッセージは、制御メッセージのタイプもしくはプロトコルバージョンなど接続相手に通知するパラメータ値をペイロードに含んでいる。これらの各種パラメータ値と属性との組み合わせをAVPと称する。 Next, a format example of vendor-specific AVP will be described with reference to FIG. The L2TP control message includes a parameter value to be notified to the connection partner such as a control message type or a protocol version in the payload. A combination of these various parameter values and attributes is referred to as AVP.
ベンダー固有AVPを使用するために、図11に示されるAVPフォーマット内のVendor IDの領域にベンダーごとに定められたIDを指定する。priority情報及びactivity情報は、Attribute Valueに格納される。図11のベンダー固有AVPのフォーマット例においては、Attribute Valueとして、2オクテットの領域を使用し、Bit0〜7にpriority情報を格納し、Bit15に、activity情報を格納している。
In order to use the vendor-specific AVP, an ID determined for each vendor is designated in the Vendor ID area in the AVP format shown in FIG. The priority information and activity information are stored in Attribute Value. In the vendor-specific AVP format example of FIG. 11, a 2-octet area is used as the Attribute Value, priority information is stored in
以上説明したように、本発明の実施の形態2にかかる通信システムを用いることによって、メイン回線として用いられているL2TPトンネルに障害が発生し、代替経路として用いるバックアップ回線を選択する際に、良好な回線品質を有する通信経路を選択することができる。 As described above, when the communication system according to the second embodiment of the present invention is used, a failure occurs in the L2TP tunnel used as the main line, and it is favorable when selecting the backup line used as the alternative route. A communication path having a good line quality can be selected.
また、上述した実施の形態においては、障害発生前においてメイン回線を選択する場合、ベンダー固有AVPに含まれるpriority情報を用いることについて説明したが、障害発生前におけるメイン回線の選択においても、HELLOメッセージを送信した際の応答時間を用いてメイン回線を選択してもよい。障害発生前におけるメイン回線の選択の際に、応答時間を用いた選択処理を実行することによって、特定の通信経路をメイン回線とするのではなく、より品質の良好な通信経路をメイン回線として利用することができる。 Further, in the above-described embodiment, when the main line is selected before the failure occurs, the priority information included in the vendor-specific AVP is used. However, the HELLO message is also used when selecting the main line before the failure occurs. Alternatively, the main line may be selected using the response time when transmitting. When a main line is selected before the failure occurs, by using a selection process that uses response time, a higher quality communication path is used as the main line instead of a specific communication path as the main line. can do.
上述の実施の形態では、本発明をハードウェアの構成として説明したが、本発明は、これに限定されるものではない。本発明は、ルータ201もしくはゲートウェイ401〜403における処理を、CPU(Central Processing Unit)にコンピュータプログラムを実行させることにより実現することも可能である。)
In the above-described embodiments, the present invention has been described as a hardware configuration, but the present invention is not limited to this. The present invention can also realize processing in the
上述の例において、プログラムは、様々なタイプの非一時的なコンピュータ可読媒体(non-transitory computer readable medium)を用いて格納され、コンピュータに供給することができる。非一時的なコンピュータ可読媒体は、様々なタイプの実体のある記録媒体(tangible storage medium)を含む。非一時的なコンピュータ可読媒体の例は、磁気記録媒体(例えばフレキシブルディスク、磁気テープ、ハードディスクドライブ)、光磁気記録媒体(例えば光磁気ディスク)、CD−ROM(Read Only Memory)、CD−R、CD−R/W、半導体メモリ(例えば、マスクROM、PROM(Programmable ROM)、EPROM(Erasable PROM)、フラッシュROM、RAM(Random Access Memory))を含む。また、プログラムは、様々なタイプの一時的なコンピュータ可読媒体(transitory computer readable medium)によってコンピュータに供給されてもよい。一時的なコンピュータ可読媒体の例は、電気信号、光信号、及び電磁波を含む。一時的なコンピュータ可読媒体は、電線及び光ファイバ等の有線通信路、又は無線通信路を介して、プログラムをコンピュータに供給できる。 In the above example, the program can be stored and supplied to a computer using various types of non-transitory computer readable media. Non-transitory computer readable media include various types of tangible storage media. Examples of non-transitory computer-readable media include magnetic recording media (for example, flexible disks, magnetic tapes, hard disk drives), magneto-optical recording media (for example, magneto-optical disks), CD-ROMs (Read Only Memory), CD-Rs, CD-R / W, semiconductor memory (for example, mask ROM, PROM (Programmable ROM), EPROM (Erasable PROM), flash ROM, RAM (Random Access Memory)) are included. The program may also be supplied to the computer by various types of transitory computer readable media. Examples of transitory computer readable media include electrical signals, optical signals, and electromagnetic waves. The temporary computer-readable medium can supply the program to the computer via a wired communication path such as an electric wire and an optical fiber, or a wireless communication path.
なお、本発明は上記実施の形態に限られたものではなく、趣旨を逸脱しない範囲で適宜変更することが可能である。 Note that the present invention is not limited to the above-described embodiment, and can be changed as appropriate without departing from the spirit of the present invention.
10 中継装置
11 通信部
12 管理部
13 選択部
20 通信装置
21 通信装置
30 対向装置
101 ユーザ端末
201 ルータ
211 インタフェース
221 インタフェース
231 L2TPトンネル管理部
241 優先度管理部
251 HELLO応答時間管理部
261 通信状態管理部
301 メイン回線
302 バックアップ回線
303 バックアップ回線
401 ゲートウェイ
411 インタフェース
421 インタフェース
431 L2TPトンネル管理部
441 通信状態管理部
402 ゲートウェイ
403 ゲートウェイ
501 SWハブ
601 サーバ
DESCRIPTION OF
Claims (10)
前記第1の通信装置へ制御メッセージを送信してから制御メッセージに対する応答メッセージを受信するまでの応答時間と、前記第2の通信装置へ制御メッセージを送信してから制御メッセージに対する応答メッセージを受信するまでの応答時間とを管理する管理部と、
応答時間が最も短い通信経路を、前記対向装置との通信に使用する通信経路として選択する選択部と、を備え、
前記選択部は、
選択した通信経路を介して接続している通信装置に対して、通信可能であることを示す情報をL2TPの制御メッセージ内のVendor−specific Attribute Value Pairに設定し、選択した通信経路以外の通信経路を介して接続している通信装置に対して、通信不可能であることを示す情報を前記Vendor−specific Attribute Value Pairに設定し、前記L2TPの制御メッセージを前記第1の通信装置および前記第2の通信装置へ送信する、中継装置。 The first communication device is connected via a first communication path using the L2 tunneling protocol (L2TP), the second communication device is connected via a second communication path using L2TP, and A communication unit that communicates with the opposite device using the first communication path or the second communication path;
A response time from when a control message is transmitted to the first communication device to when a response message to the control message is received, and a response message to the control message after the control message is transmitted to the second communication device A management unit that manages response time until
A selection unit that selects a communication path with the shortest response time as a communication path used for communication with the opposite device ,
The selection unit includes:
Information indicating that communication is possible to the communication device connected via the selected communication path is set in the Vendor-Specific Attribute Value Pair in the L2TP control message, and a communication path other than the selected communication path The Vendor-Specific Attribute Value Pair is set in the Vendor-Specific Attribute Value Pair to indicate that communication is not possible with respect to the communication device connected through the first communication device and the second communication device. A relay device that transmits to other communication devices .
前記選択部は、
前記監視部において障害が検出されていない状態においては、前記応答時間が最も短い通信経路を選択するのに代えて、前記第1の通信装置および前記第2の通信装置を含む複数の通信装置から送信された優先情報を用いて、前記対向装置との通信に使用する通信経路を選択し、前記監視部において障害が検出された場合に、障害が発生した通信経路以外の複数の通信経路の中から、応答時間が最も短い通信経路を代替経路として選択する、請求項1に記載の中継装置。 A monitoring unit that detects a failure that has occurred in a communication path that is currently used for communication with the opposite device;
The selection unit includes:
In a state where no failure is detected in the monitoring unit, instead of selecting the communication path with the shortest response time , a plurality of communication devices including the first communication device and the second communication device are used. Using the transmitted priority information, a communication path to be used for communication with the opposite device is selected, and when a failure is detected in the monitoring unit, a plurality of communication paths other than the communication path in which the failure has occurred are selected. The relay apparatus according to claim 1, wherein a communication path with the shortest response time is selected as an alternative path.
Vendor−specific Attribute Value Pairに設定される、請求項2に記載の中継装置。 The priority information is
The relay device according to claim 2 , wherein the relay device is set to Vendor-specific Attribute Value Pair.
前記第1の通信経路を選択し、前記第1の通信経路を使用して前記対向装置と通信を行っている状態において、前記第2の通信装置と前記第2の通信経路を介して新たに接続した場合、
前記第2の通信装置から送信された前記優先情報に設定された優先度が、前記第1の通信装置から送信された優先度情報に設定された優先度よりも高い場合、前記対向装置と通信を行うために使用する通信経路を前記第2の通信経路に変更し、前記第2の通信装置から送信された前記優先情報に設定された優先度が、前記第1の通信装置から送信された優先度情報に設定された優先度よりも低い場合、前記第1の通信経路の使用を継続する、請求項2又は3に記載の中継装置。 The selection unit includes:
In a state where the first communication path is selected and communication is performed with the opposite apparatus using the first communication path, a new communication is performed via the second communication apparatus and the second communication path. If connected,
When the priority set in the priority information transmitted from the second communication device is higher than the priority set in the priority information transmitted from the first communication device, the communication with the opposite device is performed. The communication path used for performing the communication is changed to the second communication path, and the priority set in the priority information transmitted from the second communication apparatus is transmitted from the first communication apparatus. The relay device according to claim 2 or 3 , wherein when the priority is lower than the priority set in the priority information, the use of the first communication path is continued.
L2TPの制御メッセージであるHELLOメッセージを送信してから、HELLOメッセージの応答メッセージであるZLBを受信するまでの応答時間を管理する、請求項1乃至5のいずれか1項に記載の中継装置。 The management unit
The relay apparatus according to claim 1, which manages a response time from transmission of a HELLO message that is an L2TP control message to reception of ZLB that is a response message of the HELLO message.
複数の通信装置に対して制御メッセージを送信してから、それぞれの通信装置から制御メッセージに対する応答メッセージを受信するまでの応答時間を用いて対向装置との通信に使用する通信経路を選択する前記中継装置から、通信経路の選択結果を受信し、前記選択結果に応じて、前記中継装置との間の通信経路を使用可能状態もしくは使用不可能状態に設定する制御部と、を備え、
前記通信経路の選択結果は、L2TPの制御メッセージ内のVendor−specific Attribute Value Pairに設定される通信装置。 A communication unit connected to the relay device via a communication path using L2TP, and transmitting a response message to the control message transmitted from the relay device;
The relay for selecting a communication path to be used for communication with the opposite device using a response time from transmission of a control message to a plurality of communication devices until reception of a response message for the control message from each communication device. A control unit that receives a communication path selection result from the apparatus and sets the communication path between the relay apparatus to an available state or an unusable state according to the selection result; and
A communication device in which a result of selecting the communication path is set in a Vendor-specific Attribute Value Pair in an L2TP control message .
前記第1の通信装置へ制御メッセージを送信してから制御メッセージに対する応答メッセージを受信するまでの応答時間と、前記第2の通信装置へ制御メッセージを送信してから制御メッセージに対する応答メッセージを受信するまでの応答時間とを管理し、
応答時間が最も短い通信経路を、前記対向装置との通信に使用する通信経路として選択し、
選択した通信経路を介して接続している通信装置に対して、通信可能であることを示す情報がVendor−specific Attribute Value Pairに設定された前記L2TPの制御メッセージを送信し、
選択した通信経路以外の通信経路を介して接続している通信装置に対して、通信不可能であることを示す情報が前記Vendor−specific Attribute Value Pairに設定された前記L2TPの制御メッセージを送信する通信経路選択方法。 The first communication device is connected via a first communication path using the L2 tunneling protocol (L2TP), the second communication device is connected via a second communication path using L2TP, and Communicate with the opposite device using the first communication path or the second communication path;
A response time from when a control message is transmitted to the first communication device to when a response message to the control message is received, and a response message to the control message after the control message is transmitted to the second communication device The response time until
Select the communication path with the shortest response time as the communication path used for communication with the opposite device ,
Information indicating that communication is possible is transmitted to the communication apparatus connected via the selected communication path, and the L2TP control message set in the Vendor-Specific Attribute Value Pair is transmitted.
Information indicating that communication is not possible is transmitted to the communication device connected via a communication path other than the selected communication path, and the L2TP control message set in the Vendor-Specific Attribute Value Pair is transmitted. Communication path selection method.
複数の通信装置に対して制御メッセージを送信してから、それぞれの通信装置から制御メッセージに対する応答メッセージを受信するまでの応答時間を用いて対向装置との通信に使用する通信経路を選択する前記中継装置から、通信経路の選択結果を受信し、
前記選択結果に応じて、前記中継装置との間の通信経路を使用可能状態もしくは使用不可能状態に設定し、
前記通信経路の選択結果は、L2TPの制御メッセージ内のVendor−specific Attribute Value Pairに設定される通信経路制御方法。 Connect to the relay device via a communication path using L2TP, send a response message to the control message sent from the relay device,
The relay for selecting a communication path to be used for communication with the opposite device using a response time from transmission of a control message to a plurality of communication devices until reception of a response message for the control message from each communication device. Receive communication path selection results from the device,
In accordance with the selection result, the communication path between the relay device is set to the usable state or the unusable state,
The communication path control method in which the selection result of the communication path is set in a Vendor-specific Attribute Value Pair in an L2TP control message .
前記第1の通信装置へ制御メッセージを送信してから制御メッセージに対する応答メッセージを受信するまでの応答時間と、前記第2の通信装置へ制御メッセージを送信してから制御メッセージに対する応答メッセージを受信するまでの応答時間とを管理し、
応答時間が最も短い通信経路を、前記対向装置との通信に使用する通信経路として選択し、
選択した通信経路を介して接続している通信装置に対して、通信可能であることを示す情報がVendor−specific Attribute Value Pairに設定された前記L2TPの制御メッセージを送信し、
選択した通信経路以外の通信経路を介して接続している通信装置に対して、通信不可能であることを示す情報が前記Vendor−specific Attribute Value Pairに設定された前記L2TPの制御メッセージを送信することをコンピュータに実行させるプログラム。 The first communication device is connected via a first communication path using the L2 tunneling protocol (L2TP), the second communication device is connected via a second communication path using L2TP, and Communicate with the opposite device using the first communication path or the second communication path;
A response time from when a control message is transmitted to the first communication device to when a response message to the control message is received, and a response message to the control message after the control message is transmitted to the second communication device The response time until
Select the communication path with the shortest response time as the communication path used for communication with the opposite device,
Information indicating that communication is possible is transmitted to the communication apparatus connected via the selected communication path, and the L2TP control message set in the Vendor-Specific Attribute Value Pair is transmitted.
Information indicating that communication is not possible is transmitted to the communication device connected via a communication path other than the selected communication path, and the L2TP control message set in the Vendor-Specific Attribute Value Pair is transmitted . A program that causes a computer to execute.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014211499A JP6432973B2 (en) | 2014-10-16 | 2014-10-16 | Relay device, communication device, communication route selection method, communication route control method, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014211499A JP6432973B2 (en) | 2014-10-16 | 2014-10-16 | Relay device, communication device, communication route selection method, communication route control method, and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2016082373A JP2016082373A (en) | 2016-05-16 |
JP6432973B2 true JP6432973B2 (en) | 2018-12-05 |
Family
ID=55959276
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2014211499A Active JP6432973B2 (en) | 2014-10-16 | 2014-10-16 | Relay device, communication device, communication route selection method, communication route control method, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6432973B2 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10757011B2 (en) * | 2017-05-25 | 2020-08-25 | Zycada Networks, Inc. | Context-aware path computation and selection |
JP7103637B2 (en) * | 2018-07-10 | 2022-07-20 | 日本電気株式会社 | Communication system and communication method |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0341845A (en) * | 1989-07-07 | 1991-02-22 | Nec Corp | Packet transmission system |
JP2002044125A (en) * | 2000-07-19 | 2002-02-08 | Nippon Telegr & Teleph Corp <Ntt> | Packet network |
JP3850326B2 (en) * | 2002-03-29 | 2006-11-29 | 東芝ソリューション株式会社 | Traffic monitoring server device, traffic engineering system, and traffic engineering method |
JP2004159146A (en) * | 2002-11-07 | 2004-06-03 | Nippon Telegr & Teleph Corp <Ntt> | Communication network and packet transfer device |
JP2005252368A (en) * | 2004-03-01 | 2005-09-15 | Nippon Telegr & Teleph Corp <Ntt> | Path calculation system and method, and communication node |
-
2014
- 2014-10-16 JP JP2014211499A patent/JP6432973B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2016082373A (en) | 2016-05-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10587494B2 (en) | Network control method and apparatus | |
US8472348B2 (en) | Rapid network formation for low-power and lossy networks | |
KR101604599B1 (en) | Providing communication path information in hybrid networks | |
US10187300B2 (en) | Fallback mobile proxy | |
JP6279938B2 (en) | Connection management apparatus, communication system, connection management method and program | |
JP6238037B2 (en) | Group reconfiguration mechanism to reduce downtime in wireless peer-to-peer networks | |
US10243832B2 (en) | Routing message delivery method applicable to network node and network node using the same and communication network using the same | |
WO2019157968A1 (en) | Communication method, apparatus and system | |
JP2007531378A (en) | Intelligent routing within a wireless communication system | |
US9081567B1 (en) | Method and apparatus to control routing convergence during node reboot by entering a freeze state that inhibits routing convergence during the reboot process | |
CN107682262B (en) | Communication path processing method and device | |
WO2019174582A1 (en) | Message transmission method and device | |
JP5574944B2 (en) | Radio relay apparatus and radio relay method | |
JP2020014226A (en) | Network connection system and method | |
JP2017518717A (en) | Using proxy devices as dynamic data relays | |
JP6432973B2 (en) | Relay device, communication device, communication route selection method, communication route control method, and program | |
JP2014155133A (en) | Network system and communication method therefor | |
JP5949902B2 (en) | Wireless communication apparatus, wireless communication system, and wireless communication method | |
TWI649990B (en) | Communication terminal, multi-point jump communication system, and computer program product | |
JP2016213630A (en) | Communication terminal, communication system, communication method and program | |
KR101697289B1 (en) | System for integrating multi wireless networks based on software defined network and method therefor | |
US10555217B2 (en) | Terminal device, terminal-device control method, and terminal-device control program | |
KR101737697B1 (en) | Method and apparatus for distributing controller load in software defined networking environment | |
JP5227616B2 (en) | IP telephone system and call relay method between a plurality of bases | |
JP2019080086A (en) | LTE communication system and communication control method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20170908 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20180723 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20180731 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20180925 |
|
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: 20181009 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20181101 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6432973 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |