JP2020048057A - Communication device, communication line selection method and program - Google Patents

Communication device, communication line selection method and program Download PDF

Info

Publication number
JP2020048057A
JP2020048057A JP2018174602A JP2018174602A JP2020048057A JP 2020048057 A JP2020048057 A JP 2020048057A JP 2018174602 A JP2018174602 A JP 2018174602A JP 2018174602 A JP2018174602 A JP 2018174602A JP 2020048057 A JP2020048057 A JP 2020048057A
Authority
JP
Japan
Prior art keywords
line
transmission delay
delay time
lines
priority
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.)
Granted
Application number
JP2018174602A
Other languages
Japanese (ja)
Other versions
JP6904578B2 (en
Inventor
成伸 寺田
Shigenobu Terada
成伸 寺田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Platforms Ltd
Original Assignee
NEC Platforms Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Platforms Ltd filed Critical NEC Platforms Ltd
Priority to JP2018174602A priority Critical patent/JP6904578B2/en
Publication of JP2020048057A publication Critical patent/JP2020048057A/en
Application granted granted Critical
Publication of JP6904578B2 publication Critical patent/JP6904578B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

To provide a communication device, a communication line selection method and a program, which can select a high quality line from among a plurality of accommodated lines.SOLUTION: A mobile router 100, which is a communication device which accommodates a plurality of mobile lines L1-Ln connected to a network, includes: a transmission delay time calculation unit 304 which calculates a transmission delay time channel-by-channel, based on an ICMP echo response to an ICMP echo request transmitted from each of the plurality of lines L1-Ln to a destination host in the network; a transmission delay time database 500 which threads and stores a transmission delay time with the transmission time of the ICMP echo request; a data analysis unit 600 which determines the priority of each line on the basis of the transmission delay time stored in the transmission delay time database 500; and a line selection unit 700 which, based on the priority, selects a line to be used among the plurality of lines.SELECTED DRAWING: Figure 2

Description

本発明は、通信装置、通信回線選択方法及びプログラムに関する。   The present invention relates to a communication device, a communication line selection method, and a program.

近年、ネットワークシステムでは、回線の信頼性や可用性を向上させるために、複数の回線を収容するルータにおいてプライマリー回線に障害が発生した場合、使用する回線をバックアップ回線に切り替えることにより通信を継続する回線冗長化が行われている。プライマリー回線とバックアップ回線との切り替えは、ICMP(Internet Control Message Protocol)エコー要求に対するICMPエコー応答の有無(いわゆる、ping応答による死活監視)に応じて実行されることが一般的である。   In recent years, in a network system, in order to improve the reliability and availability of a line, when a failure occurs in a primary line in a router accommodating a plurality of lines, the line to be used is switched to a backup line to continue communication. Redundancy has been implemented. Switching between the primary line and the backup line is generally performed in accordance with the presence or absence of an ICMP (Internet Control Message Protocol) echo request in response to an ICMP echo request (so-called alive monitoring using a ping response).

特許文献1には、第1の回線と第2の回線とを切り替えて通信を行うルータ装置において、第1の回線における回線障害を検出後、第1の回線から第2の回線への切り替えを行うまでの第1の保護時間と、第1の回線の回線障害の復旧を検出後、第2の回線から第1の回線への切り替えを行うまでの第2の保護時間とを、第1の回線の品質状態に応じた時間に設定する技術が開示されている。   Patent Literature 1 discloses a router device that performs communication by switching between a first line and a second line, and switches from the first line to the second line after detecting a line failure in the first line. The first protection time until the switching is performed and the second protection time until the switching from the second line to the first line after detecting the recovery of the line failure of the first line are defined as the first protection time. A technique for setting a time according to the quality state of a line is disclosed.

特許文献1では、回線の品質状態の測定方法の例として、ICMPエコー要求を送信後、これに対応するICMPエコー応答を受信するまでの往復時間の揺らぎをジッタとして測定し、このジッタの変化により回線の品質状態を管理している。特許文献1では、この品質状態に応じて、第1の保護時間、第2の保護時間を設定し、回線障害発生/復旧時の回線の切り替えに適用している。   In Patent Literature 1, as an example of a method of measuring a line quality state, a fluctuation of a round-trip time from transmission of an ICMP echo request to reception of a corresponding ICMP echo response is measured as jitter. Manages line quality status. In Patent Literature 1, a first protection time and a second protection time are set according to the quality state, and are applied to switching of a line when a line failure occurs / recovers.

特許文献2には、ネットワークの各伝送装置から伝送路の状態に関する監視データを取得し、監視データが所定の閾値を超える時刻を予測し、予測時刻がネットワーク全体の利用状況が所定閾値より低下すると予測される予測時間帯に入ればネットワーク切替を実行する技術が開示されている。   Patent Literature 2 discloses that monitoring data regarding the state of a transmission path is acquired from each transmission device of a network, and a time at which the monitoring data exceeds a predetermined threshold is predicted. A technique for executing network switching when a predicted time zone is entered is disclosed.

特許文献2において、監視項目は、各伝送装置で測定された伝送路の回線品質、使用帯域、トラフィック量を含む。また、各伝送装置からネットワーク管理システムへ送信されるアラーム等のデータ量を用いてネットワークの帯域測定を行い、ネットワークの状態を判断することが記載されている。   In Patent Literature 2, the monitoring items include line quality, bandwidth used, and traffic volume of a transmission path measured by each transmission device. It also describes that the bandwidth of the network is measured using the amount of data such as an alarm transmitted from each transmission device to the network management system, and the state of the network is determined.

国際公開第2012/124099号International Publication No. 2012/1224099 特開2013―98706号公報JP 2013-98706 A

プライマリー回線からバックアップ回線への切り替えは、プライマリー回線のICMPエコー応答が到達しなくなった、プライマリー回線の状態変化を検知した後に行われるため、冗長化した場合でも一定時間の遅れが生じるという問題がある。また、固定回線に比べ回線状態の変動が多いモバイル回線を用いた、ベストエフォート型の通信サービスでは、単にICMPパケットの到達性だけでは、最良の状態の回線を選択できているか判断できない。   Switching from the primary line to the backup line is performed after detecting a change in the state of the primary line when the ICMP echo response of the primary line no longer arrives, so that there is a problem that a certain time delay occurs even in the case of redundancy. . Further, in a best-effort communication service using a mobile line whose line state changes more than a fixed line, it is impossible to determine whether the best line can be selected simply by the reachability of the ICMP packet.

本開示の目的は、上述した問題を鑑み、収容する複数の回線からより品質の高い回線を選択することが可能な通信装置、通信回線選択方法及びプログラムを提供することにある。   An object of the present disclosure is to provide a communication device, a communication line selection method, and a program capable of selecting a higher-quality line from a plurality of accommodated lines in view of the above-described problem.

本発明の一態様に係る通信装置は、ネットワークに接続される複数の回線を収容する通信装置であって、複数の前記回線のそれぞれから前記ネットワーク上の宛先ホストに送信したICMPエコー要求に対するICMPエコー応答に基づき、前記回線ごとの伝送遅延時間を算出する演算部と、前記伝送遅延時間を、前記ICMPエコー要求の送信時刻と紐づけて格納する格納部と、前記格納部に蓄積された前記伝送遅延時間に基づいて各回線の優先度を決定する分析部と、前記優先度に基づいて複数の前記回線のうち使用する回線を選択する選択部とを備える。   A communication device according to one aspect of the present invention is a communication device that accommodates a plurality of lines connected to a network, and includes an ICMP echo for an ICMP echo request transmitted from each of the plurality of lines to a destination host on the network. A calculating unit that calculates a transmission delay time for each line based on the response, a storage unit that stores the transmission delay time in association with a transmission time of the ICMP echo request, and a transmission unit that is stored in the storage unit. An analysis unit that determines the priority of each line based on the delay time, and a selection unit that selects a line to be used from among the plurality of lines based on the priority.

本発明の一態様に係る通信回線選択方法は、ネットワークに接続される複数の回線を収容する通信装置の通信回線選択方法であって、前記複数の回線のそれぞれから前記ネットワーク上の宛先ホストに送信したICMPエコー要求に対するICMPエコー応答に基づき、前記回線ごとの伝送遅延時間を算出し、前記伝送遅延時間を、前記ICMPエコー要求の送信時刻と紐づけて蓄積し、蓄積された前記伝送遅延時間に基づいて各回線の優先度を決定し、前記優先度に基づいて前記複数の回線のうち使用する回線を選択する。   A communication line selection method according to one aspect of the present invention is a communication line selection method for a communication device that accommodates a plurality of lines connected to a network, wherein each of the plurality of lines transmits to a destination host on the network. Based on the ICMP echo response to the ICMP echo request, the transmission delay time for each line is calculated, and the transmission delay time is stored in association with the transmission time of the ICMP echo request. A priority of each line is determined based on the priority, and a line to be used is selected from the plurality of lines based on the priority.

本発明の一態様に係るプログラムは、ネットワークに接続される複数の回線を収容する通信装置の回線を選択するプログラムであって、前記複数の回線のそれぞれから前記ネットワーク上の宛先ホストに送信したICMPエコー要求に対するICMPエコー応答に基づき、前記回線ごとの伝送遅延時間を算出し、前記伝送遅延時間を、前記ICMPエコー要求の送信時刻と紐づけて蓄積し、蓄積された前記伝送遅延時間に基づいて各回線の優先度を決定し、前記優先度に基づいて前記複数の回線のうち使用する回線を選択する処理をコンピュータに実行させる。   A program according to an aspect of the present invention is a program for selecting a line of a communication device accommodating a plurality of lines connected to a network, wherein the ICMP transmits from each of the plurality of lines to a destination host on the network. Based on the ICMP echo response to the echo request, calculate the transmission delay time for each line, accumulate the transmission delay time in association with the transmission time of the ICMP echo request, and, based on the accumulated transmission delay time The priority of each line is determined, and the computer is caused to execute a process of selecting a line to be used among the plurality of lines based on the priority.

本発明によれば、収容する複数の回線からより品質の高い回線を選択することが可能な通信装置、通信回線選択方法及びプログラムを提供することが可能である。   According to the present invention, it is possible to provide a communication device, a communication line selection method, and a program capable of selecting a higher-quality line from a plurality of accommodated lines.

実施の形態に係る通信装置の接続例を示す図である。FIG. 2 is a diagram illustrating a connection example of a communication device according to an embodiment. 実施の形態に係る通信装置の例を示すブロック図である。FIG. 2 is a block diagram illustrating an example of a communication device according to an embodiment. 実施の形態に係る通信装置の他の例を示すブロック図である。FIG. 9 is a block diagram showing another example of the communication device according to the embodiment. 実施の形態に係る通信回線選択方法を説明するフロー図である。FIG. 6 is a flowchart illustrating a communication line selection method according to the embodiment. 伝送遅延時間TDTxのデータの例を示す図である。It is a figure showing an example of data of transmission delay time TDTx. 伝送遅延時間TDTxのデータにおける比較対象を説明する図である。FIG. 9 is a diagram illustrating a comparison target in data of a transmission delay time TDTx. 優先フラグFLGを設定した例を示す図である。FIG. 9 is a diagram illustrating an example in which a priority flag FLG is set. ガードタイムGTを設定した場合の通信回線選択方法を説明する図である。FIG. 7 is a diagram illustrating a communication line selection method when a guard time GT is set. 通信回線の切り替え例を示すタイムチャートである。6 is a time chart illustrating an example of switching communication lines. 比較例の通信回線選択方法を説明するフロー図である。It is a flowchart explaining the communication line selection method of a comparative example.

本発明は、通信装置、通信回線選択方法及びプログラムに関し、特に、ネットワークに接続される複数の回線を収容する通信装置において通信に使用する回線を選択する技術に関する。本発明では、ICMP(Internet Control Message Protocol)の機能の一つであるping応答を利用して回線ごとの伝送遅延時間を収集し、蓄積された伝送遅延時間に基づいて回線状態の変動を予測して予めより品質の良い回線を選択する。   The present invention relates to a communication device, a communication line selection method, and a program, and more particularly, to a technology for selecting a line used for communication in a communication device that accommodates a plurality of lines connected to a network. In the present invention, the transmission delay time for each line is collected using a ping response, which is one of the functions of the ICMP (Internet Control Message Protocol), and the fluctuation of the line state is predicted based on the accumulated transmission delay time. To select a higher quality line in advance.

以下、図面を参照して本発明の実施の形態について説明する。説明の明確化のため、以下の記載及び図面は、適宜、省略、及び簡略化がなされている。また、様々な処理を行う機能ブロックとして図面に記載される各要素は、ハードウェア的には、CPU、メモリ、その他の回線で構成することができる。また、本発明は、任意の処理を、CPU(Central Processing Unit)にコンピュータプログラムを実行させることにより実現することも可能である。従って、これらの機能ブロックがハードウェアのみ、ソフトウェアのみ、またはそれらの組合せによっていろいろな形で実現できることは当業者には理解されるところであり、いずれかに限定されるものではない。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. The following description and drawings are appropriately omitted and simplified for clarity of explanation. In addition, each element described in the drawing as a functional block that performs various processes can be configured by a CPU, a memory, and other lines in terms of hardware. In addition, the present invention can also be realized by causing a CPU (Central Processing Unit) to execute a computer program for an arbitrary process. Therefore, it is understood by those skilled in the art that these functional blocks can be realized in various forms by only hardware, only software, or a combination thereof, and the present invention is not limited to any of them.

また、上述したプログラムは、様々なタイプの非一時的なコンピュータ可読媒体(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)によってコンピュータに供給されてもよい。一時的なコンピュータ可読媒体の例は、電気信号、光信号、及び電磁波を含む。一時的なコンピュータ可読媒体は、電線及び光ファイバ等の有線通信路、又は無線通信路を介して、プログラムをコンピュータに供給できる。   Further, the above-described program can be stored using various types of non-transitory computer readable media and supplied to a computer. Non-transitory computer readable media include tangible storage media of various types. Examples of non-transitory computer readable media are magnetic recording media (eg, flexible disk, magnetic tape, hard disk drive), magneto-optical recording media (eg, magneto-optical disk), CD-ROM (Read Only Memory), CD-R, CD-R / W, semiconductor memory (for example, mask ROM, PROM (Programmable ROM), EPROM (Erasable PROM), flash ROM, RAM (Random Access Memory)). Also, the program may 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. Transitory computer readable media can provide the program to a computer via a wired communication line such as an electric wire and an optical fiber, or a wireless communication line.

図1は、実施の形態に係る通信装置の接続例を示す図である。ここでは、通信装置の一例として、複数のモバイル回線L1〜Lnを収容するモバイルルータ100について説明する。モバイルルータ100は、モバイル通信事業者1〜nが提供する複数のモバイル回線L1〜Lnを通信回線として利用可能な固定設置型ルータである。   FIG. 1 is a diagram illustrating a connection example of a communication device according to an embodiment. Here, a mobile router 100 that accommodates a plurality of mobile lines L1 to Ln will be described as an example of a communication device. The mobile router 100 is a fixed installation type router that can use a plurality of mobile lines L1 to Ln provided by mobile communication carriers 1 to n as communication lines.

図1に示すように、モバイルルータ100は、複数のモバイル回線インタフェースIF1〜IFnを有している。インタフェースIF1〜IFnには、それぞれモバイル回線L1〜Lnが接続されている。モバイルルータ100は、ネットワークに接続される複数のモバイル回線L1〜Lnを同時に利用し、使用する回線を切り替えて通信を行うことが可能である。端末Dは、モバイル回線L1〜Lnのいずれかを介してインターネットVPNに接続される。モバイル回線L1〜Lnのうちのいずれか1つの回線がプライマリー回線となり、他の回線がバックアップ回線となる。   As shown in FIG. 1, the mobile router 100 has a plurality of mobile line interfaces IF1 to IFn. Mobile lines L1 to Ln are connected to the interfaces IF1 to IFn, respectively. The mobile router 100 can simultaneously use a plurality of mobile lines L1 to Ln connected to a network, and perform communication by switching the line to be used. The terminal D is connected to the Internet VPN via any one of the mobile lines L1 to Ln. One of the mobile lines L1 to Ln is a primary line, and the other lines are backup lines.

モバイルルータ100は、通信可能な全てのモバイル回線L1〜Lnのそれぞれからネットワーク上の宛先ホストTGへICMPエコー要求を送信し、これに対するICMPエコー応答を受信する。図2に、モバイルルータ100の構成を示す。図2に示すように、モバイルルータ100は、伝送遅延時間演算部304、伝送遅延時間データベース500、データ分析部600、回線選択部700を有している。   The mobile router 100 transmits an ICMP echo request from each of the communicable mobile lines L1 to Ln to the destination host TG on the network, and receives an ICMP echo response to the request. FIG. 2 shows the configuration of the mobile router 100. As shown in FIG. 2, the mobile router 100 has a transmission delay time calculation unit 304, a transmission delay time database 500, a data analysis unit 600, and a line selection unit 700.

伝送遅延時間演算部304は、モバイル回線L1〜Lnごとの伝送遅延時間を算出する。伝送遅延時間データベース500は、算出された伝送遅延時間を、ICMPエコー要求の送信時刻と紐づけて格納する。データ分析部600は、伝送遅延時間データベース500に蓄積された伝送遅延時間に基づいて、モバイル回線L1〜Lnの優先度を決定する。回線選択部700は、データ分析部600において決定された優先度に基づいて、モバイル回線L1〜Lnから使用するモバイル回線を選択する。   The transmission delay time calculator 304 calculates a transmission delay time for each of the mobile lines L1 to Ln. The transmission delay time database 500 stores the calculated transmission delay time in association with the transmission time of the ICMP echo request. The data analysis unit 600 determines the priorities of the mobile lines L1 to Ln based on the transmission delay times stored in the transmission delay time database 500. The line selection unit 700 selects a mobile line to use from the mobile lines L1 to Ln based on the priority determined by the data analysis unit 600.

優先度としては、伝送遅延時間が最も短い回線を最優先とすることができる。このように、実施の形態に係るモバイルルータ100では、伝送遅延時間のデータを収集し、そのデータに基づいて回線状態の変動を予測して、予めより品質の良いモバイル回線を選択することができる。   As the priority, the line with the shortest transmission delay time can be given the highest priority. As described above, the mobile router 100 according to the embodiment collects transmission delay time data, predicts a change in the line state based on the data, and can select a higher quality mobile line in advance. .

モバイルルータ100のより具体的な例について図3を参照して説明する。図3に示すように、モバイルルータ100は、ルータ機能部200、ICMP制御部300、RTC(Real Time Clock)400、伝送遅延時間データベース500、データ分析部600、回線選択部700を有している。ルータ機能部200は、インタフェースIF1〜IFnから入出力されるデータのルーティングを行う一般的なルータとしての機能を司る。   A more specific example of the mobile router 100 will be described with reference to FIG. As shown in FIG. 3, the mobile router 100 has a router function unit 200, an ICMP control unit 300, an RTC (Real Time Clock) 400, a transmission delay time database 500, a data analysis unit 600, and a line selection unit 700. . The router function unit 200 functions as a general router that routes data input and output from the interfaces IF1 to IFn.

ICMP制御部300は、ICMP送受信部301、ホストアドレス設定部302、パラメータ設定部303、伝送遅延時間演算部304を有している。ICMP送受信部301は、ICMPの生成及び送受信を行う。実施の形態では、ICMPを使用したネットワーク診断プログラムであるpingが用いられる。ホストアドレス設定部302は、ICMPエコー要求の宛先としてネットワーク上の宛先ホストTGを設定する。ICMP送受信部301は、ICMPエコー要求を宛先ホストTGに送信し、そのICMPエコー応答を受信する。   The ICMP control unit 300 includes an ICMP transmitting / receiving unit 301, a host address setting unit 302, a parameter setting unit 303, and a transmission delay time calculation unit 304. The ICMP transmission / reception unit 301 generates and transmits / receives ICMP. In the embodiment, ping which is a network diagnosis program using ICMP is used. The host address setting unit 302 sets the destination host TG on the network as the destination of the ICMP echo request. The ICMP transmission / reception unit 301 transmits an ICMP echo request to the destination host TG, and receives the ICMP echo response.

パラメータ設定部303は、ICMPエコー要求の送信間隔やデータサイズ、タイムアウト時間等のパラメータを設定する。伝送遅延時間演算部304は、送受信したICMPエコー要求/応答の伝送遅延時間を算出する。RTC400は、ルータ機能部200に含まれ、時間を計時するのに用いられる。なお、RTC400を有していない場合は、NTP(Network Time Protocol)を利用して、ネットワーク上の時刻サーバから時刻情報を収集してもよい。   The parameter setting unit 303 sets parameters such as an ICMP echo request transmission interval, data size, and timeout time. The transmission delay time calculator 304 calculates the transmission delay time of the transmitted / received ICMP echo request / response. The RTC 400 is included in the router function unit 200 and is used to measure time. When the RTC 400 is not provided, time information may be collected from a time server on a network using NTP (Network Time Protocol).

伝送遅延時間データベース500には、伝送遅延時間演算部304で算出された伝送遅延時間TDTxのデータが、ICMPエコー要求の送信時刻と紐づけられて格納される。また、伝送遅延時間データベース500には、伝送遅延時間TDTxを所定の条件に基づき平均化した標本平均AVEが保存される。なお、伝送遅延時間データベース500は、モバイルルータ100内部に設けられていてもよく、ネットワークで結ばれた外部の記憶媒体等であってもよい。   The transmission delay time database 500 stores the data of the transmission delay time TDTx calculated by the transmission delay time calculation unit 304 in association with the transmission time of the ICMP echo request. The transmission delay time database 500 stores a sample average AVE obtained by averaging the transmission delay time TDTx based on a predetermined condition. The transmission delay time database 500 may be provided inside the mobile router 100, or may be an external storage medium or the like connected by a network.

データ分析部600は、伝送遅延時間データベース500に蓄積されたデータを、条件設定部601で定義された条件で分析し、モバイル回線L1〜Lnの優先度を決定する。回線選択部700は、初期優先度設定部701で設定されたモバイル回線の初期優先度と、データ分析部600で決定されたモバイル回線の優先度とに基づいて、使用するモバイル回線の選択、切り替えを制御する。   The data analysis unit 600 analyzes the data stored in the transmission delay time database 500 under the conditions defined by the condition setting unit 601 and determines the priority of the mobile lines L1 to Ln. The line selection unit 700 selects and switches a mobile line to be used based on the initial priority of the mobile line set by the initial priority setting unit 701 and the priority of the mobile line determined by the data analysis unit 600. Control.

ここで、実施の形態に係る通信回線選択方法について説明する前に、図10を参照して、一般的なping応答による、比較例の通信回線選択方法について説明する。図10に示すように、一般的なping応答による回線選択のフローでは、まず、プライマリー回線に設定された回線から宛先ホストTGへICMPエコー要求が送信される(ステップS11)。そして、ICMPエコー要求に対するICMPエコー応答の受信の有無が判断される(ステップS12)。比較例では、そのICMPエコー応答の有無からプライマリー回線の状態を判断する。   Here, before describing the communication line selection method according to the embodiment, a communication line selection method of a comparative example using a general ping response will be described with reference to FIG. As shown in FIG. 10, in the flow of line selection based on a general ping response, first, an ICMP echo request is transmitted from a line set as a primary line to a destination host TG (step S11). Then, it is determined whether or not an ICMP echo response to the ICMP echo request has been received (step S12). In the comparative example, the state of the primary line is determined from the presence or absence of the ICMP echo response.

ICMPエコー応答が受信された場合(ステップS12、OK)、プライマリー回線によるモバイルルータ100と宛先ホストTGとのIPの通信に問題がないため、プライマリー回線が選択される(ステップS13)。一方、ICMPエコー応答が受信されなかった場合(ステップS12、NG)、プライマリー回線によるモバイルルータ100と宛先ホストTGとのIPの通信に問題があるため、バックアップ回線が選択される(ステップS14)。   When the ICMP echo response is received (Step S12, OK), the primary line is selected because there is no problem in the IP communication between the mobile router 100 and the destination host TG by the primary line (Step S13). On the other hand, if the ICMP echo response has not been received (NG in step S12), there is a problem in the IP communication between the mobile router 100 and the destination host TG using the primary line, so that the backup line is selected (step S14).

次に、実施の形態に係る通信回線選択方法について説明する。図4〜9を参照しながら、実施の形態に係るモバイルルータ100の動作を以下の4つのフェーズで説明する。   Next, a communication line selection method according to the embodiment will be described. The operation of the mobile router 100 according to the embodiment will be described in the following four phases with reference to FIGS.

フェーズ1:各モバイル回線L1〜Lnの伝送遅延時間のデータを収集する。
図4に示すように、ICMP送受信部301は、ICMP制御部300内のホストアドレス設定部302、パラメータ設定部303を参照して、各モバイル回線インタフェースIF1〜IFnからモバイル回線L1〜Lnをそれぞれ介して宛先ホストTGへICMPエコー要求を送信する(ステップS1)。
Phase 1: Data of transmission delay time of each mobile line L1 to Ln is collected.
As shown in FIG. 4, the ICMP transmission / reception unit 301 refers to the host address setting unit 302 and the parameter setting unit 303 in the ICMP control unit 300, and from each of the mobile line interfaces IF1 to IFn via the mobile lines L1 to Ln, respectively. To send an ICMP echo request to the destination host TG (step S1).

ICMP制御部300のホストアドレス設定部302は、ICMPエコー要求を送信する宛先として、宛先ホストTGのIPアドレスを設定する。なお、ルータ機能部200において、FQDN(Fully Qualified Domain Name)のIPアドレス解決が可能であれば、宛先ホストTGのFQDNを設定しても構わない。また、ホストアドレス設定部302は、ICMPエコー要求の送信元として、各モバイル回線インタフェースIF1〜IFnに付与されたIPアドレスを設定する。   The host address setting unit 302 of the ICMP control unit 300 sets the IP address of the destination host TG as the destination for transmitting the ICMP echo request. Note that the FQDN of the destination host TG may be set in the router function unit 200 as long as the IP address of the FQDN (Fully Qualified Domain Name) can be resolved. Further, the host address setting unit 302 sets the IP address assigned to each of the mobile line interfaces IF1 to IFn as a source of the ICMP echo request.

図1に示すように、宛先ホストTGは、モバイルルータ100の全てのインタフェースIF1〜IFnから到達可能であり、各モバイル回線インタフェースIF1〜IFnに付与されたIPアドレスに対してICMPエコー応答を返信することができるものである。実施の形態では、パラメータ設定部303は、ICMPエコー要求の送信間隔であるICMPのサンプリング単位SMP、タイムアウト時間を設定する。なお、ここでは、他のパラメータは特に限定しない。   As shown in FIG. 1, the destination host TG is reachable from all interfaces IF1 to IFn of the mobile router 100, and returns an ICMP echo response to the IP address assigned to each of the mobile line interfaces IF1 to IFn. Is what you can do. In the embodiment, the parameter setting unit 303 sets an ICMP sampling unit SMP, which is an ICMP echo request transmission interval, and a timeout time. Here, other parameters are not particularly limited.

ICMPエコー要求を送信する際、ICMP送受信部301は、RTC400から送信時刻を参照し、ICMPエコー要求の識別番号(ID番号とシーケンス番号)と送信時刻とを紐付けた情報を伝送遅延時間演算部304に送信する。   When transmitting an ICMP echo request, the ICMP transmission / reception unit 301 refers to the transmission time from the RTC 400 and transmits information linking the identification number (ID number and sequence number) of the ICMP echo request and the transmission time to the transmission delay time calculation unit. Send to 304.

そして、ICMPエコー要求に対するICMPエコー応答の受信の有無が判断される(ステップS2)。ICMPエコー応答が受信された場合(ステップS2、OK)と、ICMP送受信部301は、データの正常性を確認した後、ICMPエコー応答のデータの情報を伝送遅延時間演算部304に送信する。なお、データエラーでICMPエコー応答が廃棄処理される場合、データ無効を意味するデータが伝送遅延時間演算部304に送信される。また、タイムアウト時間内にICMPエコー応答が受信されなかった場合(ステップS2、NG)、データ無効を意味するデータが、伝送遅延時間演算部304に送信される。   Then, it is determined whether or not an ICMP echo response to the ICMP echo request has been received (step S2). When an ICMP echo response is received (Step S2, OK), the ICMP transmitting / receiving unit 301 transmits data information of the ICMP echo response to the transmission delay time calculation unit 304 after confirming the normality of the data. When the ICMP echo response is discarded due to a data error, data indicating that the data is invalid is transmitted to the transmission delay time calculation unit 304. If the ICMP echo response has not been received within the timeout period (NG in step S2), data indicating that the data is invalid is transmitted to the transmission delay time calculation unit 304.

そして、伝送遅延時間演算部304は、ICMP送受信部301から送信されたデータに基づいて、ICMPの伝送遅延時間の演算を実行する(ステップS3)。算出された伝送遅延時間TDTxのデータは、サンプリング単位SMPごとに参照番号REFxが付加され、伝送遅延時間データベース500に保存される(ステップS4)。   Then, the transmission delay time calculation unit 304 calculates the transmission delay time of the ICMP based on the data transmitted from the ICMP transmission / reception unit 301 (step S3). The data of the calculated transmission delay time TDTx is added with a reference number REFx for each sampling unit SMP, and is stored in the transmission delay time database 500 (step S4).

図5に、伝送遅延時間TDTxのデータの例を示す。図5に示す例では、サンプリング単位SMP=5秒(1日で17280サンプル)としたときの、各モバイル回線L1〜Lnの伝送遅延時間TDTx(ms)のデータが示されている。各データは、参照番号REF000001から参照番号REF017280の順に時系列で保存される。伝送遅延時間データベース500に蓄積される伝送遅延時間TDTxのデータは、ICMPエコー要求の送信時刻と紐づけられている。なお、タイムアウト時間内にICMPエコー応答が到達しなかった場合、又はデータエラーでICMPエコー応答が廃棄処理される場合は、データ無効を意味する「999999」が表記されている。   FIG. 5 shows an example of data of the transmission delay time TDTx. In the example shown in FIG. 5, data of the transmission delay time TDTx (ms) of each of the mobile lines L1 to Ln when the sampling unit SMP is 5 seconds (17280 samples per day) is shown. Each data is stored in chronological order from reference number REF000001 to reference number REF017280. The data of the transmission delay time TDTx stored in the transmission delay time database 500 is linked to the transmission time of the ICMP echo request. If the ICMP echo response has not arrived within the timeout period, or if the ICMP echo response is discarded due to a data error, "999999" indicating that the data is invalid is described.

図4に戻って、次に、各モバイル回線L1〜Lnの伝送遅延時間TDTxを比較する定義に基づいてデータを比較し(ステップS5)、モバイル回線L1〜Lnの優先度を決定する(ステップS6)。実施の形態では、伝送遅延時間TDTxを比較する定義として、伝送遅延時間TDTxの標本平均AVEに基づいてデータの比較を行う。標本平均AVEが最も小さいモバイル回線を最優先とする。なお、条件設定部601で設定された日時及び/又は期間に含まれるモバイル回線L1〜Lnそれぞれの伝送遅延時間を比較してもよい。   Returning to FIG. 4, next, data is compared based on the definition for comparing the transmission delay times TDTx of the mobile lines L1 to Ln (step S5), and the priority of the mobile lines L1 to Ln is determined (step S6). ). In the embodiment, as a definition for comparing the transmission delay time TDTx, data comparison is performed based on a sample average AVE of the transmission delay time TDTx. The mobile line with the smallest sample average AVE is given top priority. Note that the transmission delay times of the mobile lines L1 to Ln included in the date and / or time set by the condition setting unit 601 may be compared.

フェーズ2:伝送遅延時間TDTxの標本平均AVEを算出する。
データ分析部600の条件設定部601は、伝送遅延時間TDTxの比較範囲RANG及び比較期間TERMを設定することができる。すなわち、条件設定部601は、伝送遅延時間を比較する日時及び/又は期間を設定する設定部である。
Phase 2: A sample average AVE of the transmission delay time TDTx is calculated.
The condition setting unit 601 of the data analysis unit 600 can set the comparison range RANG of the transmission delay time TDTx and the comparison period TERM. That is, the condition setting unit 601 is a setting unit that sets the date and time and / or the period for comparing the transmission delay times.

比較範囲RANGは、伝送遅延時間データベース500に保存した1日分の伝送遅延時間TDTxのうち、どの範囲の伝送遅延時間TDTxを比較対象に用いるかを決める値である。例えば、比較範囲RANG=0:00〜24:00とした場合は、1日分すべての伝送遅延時間TDTxが比較対象となる。なお、比較範囲RANGを複数設定することも可能である。   The comparison range RANG is a value that determines which range of the transmission delay time TDTx among the one-day transmission delay times TDTx stored in the transmission delay time database 500 is to be used as a comparison target. For example, when the comparison range RANG = 0: 00 to 24:00, all the transmission delay times TDTx for one day are to be compared. Note that a plurality of comparison ranges RANG can be set.

比較期間TERMは、1週間のうち、どの曜日を比較対象に用いるかを決める値である。例えば、月曜日から日曜日までを比較期間とする場合、比較期間TERM=1〜7(条件:月〜日)となる。また、月曜日から金曜日までを比較期間とする場合、比較期間「ERM=1〜5(条件:月〜金)となる。   The comparison period TERM is a value that determines which day of the week is used as a comparison target. For example, when the comparison period is from Monday to Sunday, the comparison period TERM = 1 to 7 (condition: Monday to Sunday). When the comparison period is from Monday to Friday, the comparison period is “ERM = 1 to 5 (condition: Monday to Friday).

図6に、伝送遅延時間TDTxのデータにおける比較対象の例を示す。図6に示す例において、枠に囲まれた部分が比較対象となる。図6は、サンプリング単位SMP=5秒、比較範囲RANG=6:00〜18:00、比較期間TERM=1〜5(条件:月〜金)とした場合の比較対象を示している。参照番号REF004320が6:00に対応し、参照番号REF012960が18:00に対応するため、比較範囲RANG=6:00〜18:00は参照番号REF004320〜参照番号REF012960となる。   FIG. 6 shows an example of a comparison target in the data of the transmission delay time TDTx. In the example shown in FIG. 6, a portion surrounded by a frame is a comparison target. FIG. 6 shows a comparison target when the sampling unit SMP is 5 seconds, the comparison range RANG is 6:00 to 18:00, and the comparison period TERM is 1 to 5 (conditions: Monday to Friday). Since the reference number REF004320 corresponds to 6:00 and the reference number REF012960 corresponds to 18:00, the comparison range RANG = 6: 00 to 18:00 becomes the reference number REF004320 to the reference number REF012960.

なお、1つの参照番号REFxに対して保存できる伝送遅延時間TDTxの数は、比較期間TERMで設定した数とすることができる。図6の例では、1つの参照番号REFxについて、5つ(TERM:1〜5)の伝送遅延時間TDTxのデータが保存されている。条件設定部601で設定された日時及び期間に含まれる伝送遅延時間の平均値がモバイル回線L1〜Lnごとに算出される。実施の形態では、各モバイル回線L1〜Lnについて、1つの参照番号REFxに対して保存された5つの伝送遅延時間TDTxの平均値が算出され、標本平均AVEとして伝送遅延時間データベース500に保存される。   Note that the number of transmission delay times TDTx that can be stored for one reference number REFx can be the number set in the comparison period TERM. In the example of FIG. 6, data of five (TERM: 1 to 5) transmission delay times TDTx is stored for one reference number REFx. The average value of the transmission delay time included in the date and time and the period set by the condition setting unit 601 is calculated for each of the mobile lines L1 to Ln. In the embodiment, for each of the mobile lines L1 to Ln, the average value of the five transmission delay times TDTx stored for one reference number REFx is calculated and stored as the sample average AVE in the transmission delay time database 500. .

なお、時間経過とともに新たな伝送遅延時間TDTxが取得されると、最古の伝送遅延時間TDTxは廃棄され、最新の伝送遅延時間TDTxが登録される。これにより、伝送遅延時間TDTxの平均値は再計算される。また、1つの参照番号REFxにおいて、伝送遅延時間TDTxのデータが1つでも取得できない場合は、その参照番号REFxは無効とすることができる。   When a new transmission delay time TDTx is acquired as time elapses, the oldest transmission delay time TDTx is discarded, and the latest transmission delay time TDTx is registered. Thereby, the average value of the transmission delay time TDTx is recalculated. In addition, when one data of the transmission delay time TDTx cannot be obtained for one reference number REFx, the reference number REFx can be invalidated.

フェーズ3:モバイル回線L1〜Lnの優先度を決定する。
上述の通り、実施の形態では、標本平均AVEが最も小さいモバイル回線を最優先とする。実施の形態では、標本平均AVEが最も小さいモバイル回線の参照番号REFxに、優先フラグFLGが立てられる。図7は、優先フラグFLGを設定した例を示す図である。図7の上段では、参照番号REF00001〜00004において、比較対象の伝送遅延時間TDTxのデータが揃っているため、各モバイル回線の標本平均AVEが求められる。図7に示す例では、モバイル回線L1の標本平均AVEは、他のモバイル回線の標本平均AVEよりも小さい。この場合、モバイル回線L1の参照番号REF00001〜00004に優先フラグFLGが立てられる。
Phase 3: The priorities of the mobile lines L1 to Ln are determined.
As described above, in the embodiment, the mobile line with the smallest sample average AVE is given the highest priority. In the embodiment, the priority flag FLG is set to the reference number REFx of the mobile line having the smallest sample average AVE. FIG. 7 is a diagram illustrating an example in which the priority flag FLG is set. In the upper part of FIG. 7, since the data of the transmission delay time TDTx to be compared is prepared at reference numbers REF00001 to 00004, the sample average AVE of each mobile line is obtained. In the example shown in FIG. 7, the sample average AVE of the mobile line L1 is smaller than the sample average AVE of the other mobile lines. In this case, a priority flag FLG is set for the reference numbers REF00001 to 00004 of the mobile line L1.

なお、モバイルルータ100の起動直後や有効な標本平均AVEを求めることができない場合には、初期優先度設定部701で初期優先度が設定される(ステップS7)。図7の例では、初期優先度で、優先度の最も高いモバイル回線としてモバイル回線Lnが設定されているものとする。図7の下段に示すように、参照番号REF017272〜017280において、比較期間TERM=5の伝送遅延時間TDTxのデータが取得されていない場合、初期優先度で設定されるモバイル回線Lnに優先フラグが立てられる。   Immediately after the activation of the mobile router 100 or when a valid sample average AVE cannot be obtained, the initial priority setting unit 701 sets an initial priority (step S7). In the example of FIG. 7, it is assumed that the mobile line Ln is set as the mobile line with the highest priority at the initial priority. As shown in the lower part of FIG. 7, in the reference numbers REF017272 to 017280, when data of the transmission delay time TDTx of the comparison period TERM = 5 is not obtained, a priority flag is set on the mobile line Ln set by the initial priority. Can be

フェーズ4:プライマリー回線を選択する。
図4に戻って、次に、優先フラグFLGで選択された最優先のモバイル回線がプライマリー回線として選択される(S8)。なお、優先フラグFLGが複数のモバイル回線L1〜Ln間で頻繁に入れ替わる状況下では、短い周期での回線の切り替えが生じる。これを防ぐために、実施の形態では、ガードタイムGTが用いられる。ガードタイムGTは、1つのモバイル回線に優先フラグFLGが連続して所定の回数(GT回)立っている場合に、そのモバイル回線を最優先として切り替えを行う値である。すなわち、回線選択部700は、モバイル回線の最優先に決定された回数が所定の回数に達した場合に当該モバイル回線を選択する。
Phase 4: Select a primary line.
Returning to FIG. 4, next, the highest-priority mobile line selected by the priority flag FLG is selected as the primary line (S8). In a situation where the priority flag FLG is frequently switched among the plurality of mobile lines L1 to Ln, line switching occurs in a short cycle. In order to prevent this, in the embodiment, a guard time GT is used. The guard time GT is a value that, when the priority flag FLG is continuously set for one mobile line a predetermined number of times (GT times), the mobile line is switched with the highest priority. That is, the line selection unit 700 selects the mobile line when the number of times determined as the highest priority of the mobile line reaches a predetermined number.

データ分析部600の条件設定部601は、ガードタイムGTを設定することができる。例えば、ガードタイムGT=1の場合、1つのモバイル回線が最優先に決定された回数が1回に達すると、回線の切り替えが行われる。すなわち、ガードタイムGT=1の場合、優先フラグFLGの変動のたびに、モバイル回線が切り替わることとなる。   The condition setting unit 601 of the data analysis unit 600 can set the guard time GT. For example, when the guard time GT = 1, when the number of times that one mobile line is determined to have the highest priority reaches one, the line is switched. That is, when the guard time GT = 1, the mobile line is switched every time the priority flag FLG changes.

図8は、ガードタイムGTを設定した場合の通信回線選択方法を説明する図である。図8では、3つのモバイル回線L1〜L3のそれぞれについて、伝送遅延時間データベース500に蓄積された過去の優先フラグFLGが示されている。ここでは、ガードタイムGT=10が設定されているものとする。この場合、現在の参照番号REF(n)から参照番号REF(n+10)まで優先フラグFLGが連続して10回立っている場合に、そのモバイル回線を最優先とする。   FIG. 8 is a diagram illustrating a communication line selection method when the guard time GT is set. FIG. 8 shows the past priority flags FLG stored in the transmission delay time database 500 for each of the three mobile lines L1 to L3. Here, it is assumed that guard time GT = 10 is set. In this case, when the priority flag FLG is continuously set ten times from the current reference number REF (n) to the reference number REF (n + 10), the mobile line is given the highest priority.

図8に示す例では、伝送遅延時間データベース500に蓄積された過去の伝送遅延時間TDTxを参照すると、モバイル回線L2に、参照番号REF(n+7)からREF(n+16)まで連続して10回フラグが立っている。そこで、例えば、参照番号REF(n+7)で表される時刻に、使用する回線をモバイル回線L1からモバイル回線L2へと切り替えることができる。なお、優先フラグFLGが連続して立つ回数がガードタイムGTに達しない場合は、現在の参照番号REF(n)の優先フラグFLGが立っているモバイル回線をプライマリー回線として選択することができる。   In the example shown in FIG. 8, referring to the past transmission delay time TDTx stored in the transmission delay time database 500, the mobile line L2 sets the flag 10 times consecutively from the reference number REF (n + 7) to REF (n + 16). Are standing. Therefore, for example, the line to be used can be switched from the mobile line L1 to the mobile line L2 at the time represented by the reference number REF (n + 7). When the number of times that the priority flag FLG continuously rises does not reach the guard time GT, the mobile line on which the priority flag FLG of the current reference number REF (n) is raised can be selected as the primary line.

図9に、2つのモバイル回線L1、L2を収容するモバイルルータ100におけるモバイル回線の切り替え例を示す。図9において、横軸は時間を示し、縦軸は標本平均AVEの変動を示している。図9に示す例において、時刻AB間及び時刻CD間では優先フラグFLGがモバイル回線L2に立っており、時刻BC間では優先フラグFLGがモバイル回線L1に立っているものとする。   FIG. 9 shows an example of switching a mobile line in the mobile router 100 accommodating the two mobile lines L1 and L2. In FIG. 9, the horizontal axis represents time, and the vertical axis represents the variation of the sample average AVE. In the example shown in FIG. 9, it is assumed that the priority flag FLG stands on the mobile line L2 between time AB and time CD, and the priority flag FLG stands on the mobile line L1 between time BC.

モバイルルータ100は、優先フラグFLGが立っている回線を最優先のモバイル回線と判断することから、時刻Bになると使用する回線をモバイル回線L2からモバイル回線L1へと切り替える。同様に、時刻Cになると、モバイル回線L1からモバイル回線L2へと切り替える。これにより、より伝送遅延の少ないモバイル回線を利用することが可能となる。   The mobile router 100 determines that the line on which the priority flag FLG is set is the highest priority mobile line, and switches the line to be used from the mobile line L2 to the mobile line L1 at time B. Similarly, at time C, the mobile line L1 is switched to the mobile line L2. As a result, it is possible to use a mobile line with less transmission delay.

さらに、モバイル回線の切り替えに必要な時間(Δtとする)を考慮し、時刻Bや時刻Cに到達するΔt時間前に、使用するモバイル回線を切り替える動作を開始する機能を設けてもよい。これにより、より効果的に伝送遅延時間の少ない回線に切り替えることが可能となる。   Furthermore, a function for starting an operation for switching the mobile line to be used may be provided before the time Δt to reach the time B or the time C in consideration of the time required to switch the mobile line (referred to as Δt). This makes it possible to more effectively switch to a line with a small transmission delay time.

以上説明したように、実施の形態によれば、一般的なルータが具備するICMP機能を利用し、回線ごとに過去の伝送遅延時間をデータベース化して保持することで、現時点での障害の発生の有無に関わらず、蓄積したデータに基づいて将来に起こり得る伝送遅延時間の変動を予測することができる。これにより、プライマリー回線の伝送遅延が増加して、バックアップ回線の遅延を上回ると予測される場合に、事象が起こる前にプライマリー回線をバックアップ回線に切り替えることが可能となる。   As described above, according to the embodiment, by utilizing the ICMP function of a general router and storing the past transmission delay time in a database for each line and holding the same, the occurrence of a failure at the current time can be achieved. Regardless of the presence or absence, it is possible to predict a change in transmission delay time that may occur in the future based on the accumulated data. This makes it possible to switch the primary line to the backup line before an event occurs if the transmission delay of the primary line is expected to increase and exceed the delay of the backup line.

実施の形態に係る通信装置を用いることにより、例えば、ネットワーク導入直後は網内遅延が少なかったが、日を追うごとにモバイル回線事業者への加入者が増加し網内遅延が増加してしまったネットワーク、逆に、通信網の高速化対応などで網内遅延が減少したネットワークなどにおいて、ユーザが意識しないうちに、より伝送遅延時間の少ないモバイル回線を活用する効果が期待できる。   By using the communication device according to the embodiment, for example, the delay in the network was small immediately after the introduction of the network, but the number of subscribers to the mobile line carrier increased each day, and the delay in the network increased. In a network in which the delay in the network is reduced due to, for example, a high-speed communication network, the effect of utilizing a mobile line with a shorter transmission delay time can be expected without the user's awareness.

また、通信装置の設置場所がイベント会場の付近にあり、イベントの有無により伝送遅延時間が不定期に大きく変動するような環境においても、より伝送遅延時間の少ないモバイル回線を活用する効果が期待できる。   Further, even in an environment where the communication device is installed near an event venue and the transmission delay time fluctuates irregularly greatly depending on the presence or absence of an event, the effect of utilizing a mobile line with a smaller transmission delay time can be expected. .

さらに、実施の形態に係る通信装置では、一般的なping応答の有無による回線冗長機能も併用することができる。このため、例えば、装置起動直後で、データベースに伝送遅延時間のデータが十分蓄積されていない場合等、実施の形態の通信回線選択方法が無効な状態では、ping応答の有無による回線冗長機能を用いて回線冗長化を行うことも可能である。   Further, the communication apparatus according to the embodiment can also use a line redundancy function based on the presence or absence of a general ping response. For this reason, when the communication line selection method of the embodiment is invalid, for example, when the data of the transmission delay time is not sufficiently stored in the database immediately after the device is started, the line redundancy function based on the presence or absence of the ping response is used. It is also possible to make the line redundant by using the above method.

なお、本発明は上記実施の形態に限られたものではなく、趣旨を逸脱しない範囲で適宜変更することが可能である。実施の形態では、モバイルルータが送信するICMPパケットのパケット長は特に限定せず、同一パケット長のICMPパケットの伝送遅延の平均を比較しているが、これに限定されない。例えば、ICMPパケット長を変動し、パケットサイズごとの伝送遅延時間のデータ分布の統計情報に基づき、更に詳細に回線品質を判断することも可能である。   It should be noted that the present invention is not limited to the above-described embodiment, and can be appropriately changed without departing from the gist. In the embodiment, the packet length of the ICMP packet transmitted by the mobile router is not particularly limited, and the average transmission delay of the ICMP packet having the same packet length is compared. However, the present invention is not limited to this. For example, it is possible to change the ICMP packet length and determine the line quality in more detail based on the statistical information of the data distribution of the transmission delay time for each packet size.

また、ICMPパケットの伝送遅延時間のみでなく、モバイル回線の回線規格(3G/4G)変動、アンテナレベル変動、回線切断時間などの変動要素を組み合わせて回線の品質判断手段とすることも可能である。本発明は、ルータだけでなく、スイッチングHUB装置等の他の通信装置に適用できる。   In addition to the transmission delay time of the ICMP packet, it is also possible to use a combination of variables such as a line standard (3G / 4G) fluctuation, an antenna level fluctuation, and a line disconnection time of a mobile line to form a line quality judgment unit. . The present invention is applicable not only to routers but also to other communication devices such as switching hub devices.

100 モバイルルータ
200 ルータ機能部
300 ICMP制御部
301 ICMP送受信部
302 ホストアドレス設定部
303 パラメータ設定部
304 伝送遅延時間演算部
400 RTC
500 伝送遅延時間データベース
501 伝送遅延時間データ
600 データ分析部
601 条件設定部
700 回線選択部
701 初期優先度設定部
D 端末
IF1〜IFn モバイル回線インタフェース
L1〜Ln モバイル回線
TG 宛先ホスト
TDTx 伝送遅延時間
SMP サンプリング単位
AVE 標本平均
RANG 比較範囲
TERM 比較期間
FLG 優先フラグ
GT ガードタイム
REFERENCE SIGNS LIST 100 mobile router 200 router function unit 300 ICMP control unit 301 ICMP transmission / reception unit 302 host address setting unit 303 parameter setting unit 304 transmission delay time calculation unit 400 RTC
500 transmission delay time database 501 transmission delay time data 600 data analysis unit 601 condition setting unit 700 line selection unit 701 initial priority setting unit D terminal IF1-IFn mobile line interface L1-Ln mobile line TG destination host TDTx transmission delay time SMP sampling Unit AVE Sample average RANG Comparison range TERM Comparison period FLG Priority flag GT Guard time

Claims (7)

ネットワークに接続される複数の回線を収容する通信装置であって、
複数の前記回線のそれぞれから前記ネットワーク上の宛先ホストに送信したICMPエコー要求に対するICMPエコー応答に基づき、前記回線ごとの伝送遅延時間を算出する演算部と、
前記伝送遅延時間を、前記ICMPエコー要求の送信時刻と紐づけて格納する格納部と、
前記格納部に蓄積された前記伝送遅延時間に基づいて各回線の優先度を決定する分析部と、
前記優先度に基づいて複数の前記回線のうち使用する回線を選択する選択部と、
を備える、通信装置。
A communication device accommodating a plurality of lines connected to a network,
A calculation unit that calculates a transmission delay time for each of the lines based on an ICMP echo response to an ICMP echo request transmitted from each of the plurality of lines to a destination host on the network;
A storage unit that stores the transmission delay time in association with the transmission time of the ICMP echo request,
An analysis unit that determines the priority of each line based on the transmission delay time stored in the storage unit,
A selection unit that selects a line to be used among the plurality of lines based on the priority,
A communication device comprising:
前記優先度は、前記伝送遅延時間が最も短い前記回線が最優先である、
請求項1に記載の通信装置。
The priority is the line with the shortest transmission delay time is the highest priority,
The communication device according to claim 1.
前記選択部は、前記回線が最優先に決定された回数が所定の回数に達した場合に当該回線を選択する、
請求項2に記載の通信装置。
The selection unit selects the line when the number of times the line is determined to have the highest priority reaches a predetermined number,
The communication device according to claim 2.
前記伝送遅延時間を比較する日時及び/又は期間を設定する設定部をさらに備え、
前記分析部は、前記設定部で設定された日時及び/又は期間に含まれる前記回線ごとの前記伝送遅延時間に基づいて前記優先度を決定する、
請求項1〜3のいずれか1項に記載の通信装置。
A setting unit that sets a date and / or a period for comparing the transmission delay time,
The analysis unit determines the priority based on the transmission delay time for each line included in the date and / or period set by the setting unit,
The communication device according to claim 1.
前記演算部は、前記設定部で設定された日時及び/又は期間に含まれる前記回線ごとの前記伝送遅延時間の平均値を算出し、
前記分析部は、前記平均値に基づいて前記優先度を決定する、
請求項4に記載の通信装置。
The calculation unit calculates an average value of the transmission delay time for each line included in the date and / or time period set by the setting unit,
The analysis unit determines the priority based on the average value,
The communication device according to claim 4.
ネットワークに接続される複数の回線を収容する通信装置の通信回線選択方法であって、
前記複数の回線のそれぞれから前記ネットワーク上の宛先ホストに送信したICMPエコー要求に対するICMPエコー応答に基づき、前記回線ごとの伝送遅延時間を算出し、
前記伝送遅延時間を、前記ICMPエコー要求の送信時刻と紐づけて蓄積し、
蓄積された前記伝送遅延時間に基づいて各回線の優先度を決定し、
前記優先度に基づいて前記複数の回線のうち使用する回線を選択する、
通信回線選択方法。
A method for selecting a communication line of a communication device accommodating a plurality of lines connected to a network,
Calculating a transmission delay time for each of the lines based on an ICMP echo response to an ICMP echo request transmitted to the destination host on the network from each of the plurality of lines;
The transmission delay time is stored in association with the transmission time of the ICMP echo request,
Determine the priority of each line based on the accumulated transmission delay time,
Selecting a line to be used among the plurality of lines based on the priority,
Communication line selection method.
ネットワークに接続される複数の回線を収容する通信装置の回線を選択するプログラムであって、
前記複数の回線のそれぞれから前記ネットワーク上の宛先ホストに送信したICMPエコー要求に対するICMPエコー応答に基づき、前記回線ごとの伝送遅延時間を算出し、
前記伝送遅延時間を、前記ICMPエコー要求の送信時刻と紐づけて蓄積し、
蓄積された前記伝送遅延時間に基づいて各回線の優先度を決定し、
前記優先度に基づいて前記複数の回線のうち使用する回線を選択する処理をコンピュータに実行させる、
プログラム。
A program for selecting a line of a communication device accommodating a plurality of lines connected to a network,
Calculating a transmission delay time for each of the lines based on an ICMP echo response to an ICMP echo request transmitted to the destination host on the network from each of the plurality of lines;
The transmission delay time is stored in association with the transmission time of the ICMP echo request,
Determine the priority of each line based on the accumulated transmission delay time,
Causing a computer to execute a process of selecting a line to be used among the plurality of lines based on the priority.
program.
JP2018174602A 2018-09-19 2018-09-19 Communication device, communication line selection method and program Active JP6904578B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018174602A JP6904578B2 (en) 2018-09-19 2018-09-19 Communication device, communication line selection method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018174602A JP6904578B2 (en) 2018-09-19 2018-09-19 Communication device, communication line selection method and program

Publications (2)

Publication Number Publication Date
JP2020048057A true JP2020048057A (en) 2020-03-26
JP6904578B2 JP6904578B2 (en) 2021-07-21

Family

ID=69901988

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018174602A Active JP6904578B2 (en) 2018-09-19 2018-09-19 Communication device, communication line selection method and program

Country Status (1)

Country Link
JP (1) JP6904578B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022001639A1 (en) * 2020-06-30 2022-01-06 华为技术有限公司 Communication method, mobile device and routing device
CN115333992A (en) * 2022-08-11 2022-11-11 四川灵通电讯有限公司 Link resource optimization method based on standard PRP protocol

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022001639A1 (en) * 2020-06-30 2022-01-06 华为技术有限公司 Communication method, mobile device and routing device
CN115333992A (en) * 2022-08-11 2022-11-11 四川灵通电讯有限公司 Link resource optimization method based on standard PRP protocol
CN115333992B (en) * 2022-08-11 2024-01-23 四川灵通电讯有限公司 Link resource optimization method based on standard PRP protocol

Also Published As

Publication number Publication date
JP6904578B2 (en) 2021-07-21

Similar Documents

Publication Publication Date Title
CN113315682B (en) Method, system and device for generating information transmission performance warning
US8570896B2 (en) System and method for controlling threshold testing within a network
US9246740B2 (en) Methods, systems, and products for security systems
US9191269B2 (en) Method and system for providing latency detection based on automated latency measurements of communication network paths
US9973397B2 (en) Diagnosis of network anomalies using customer probes
KR101537633B1 (en) Apparatus and method for protecting and switching packet transport network
EP2984788B1 (en) Admission control for allowing or rejecting a measurement request between a first and a second device
US8619589B2 (en) System and method for removing test packets
JP2014168283A (en) Communication system, network monitoring device, and network monitoring method
CN105830484B (en) Method and system for evaluating network performance
JP6904578B2 (en) Communication device, communication line selection method and program
JP6616230B2 (en) Network equipment
JP2012039565A (en) Monitoring system, monitoring device, monitoring program and terminal
JP4985641B2 (en) Quality degradation location estimation apparatus, quality degradation location estimation method, and quality degradation location estimation program
CN113572654A (en) Network performance monitoring method, network device and storage medium
CN112737940A (en) Data transmission method and device
CN113542064B (en) Network path determination method, network path determination device, electronic apparatus, network path determination medium, and program product
CN110830284A (en) SDN network-based service fault monitoring method and device
US20140016458A1 (en) Router apparatus and line switching method in router apparatus
JP4222567B2 (en) Congestion control method and congestion control apparatus
WO2019187207A1 (en) Operation management device, method, and non-transitory computer readable medium
JP4818338B2 (en) Monitoring server, network monitoring method
JP2015170878A (en) Operation management device for managing plural data communication devices in network
CN110932878A (en) Management method, equipment and system of distributed network
JP2015035678A (en) Network system, monitoring method for route, and relay device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200108

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20201118

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20201124

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210119

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: 20210525

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210617

R150 Certificate of patent or registration of utility model

Ref document number: 6904578

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150