Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP5859483B2 - Communication apparatus and program - Google Patents
[go: Go Back, main page]

JP5859483B2 - Communication apparatus and program - Google Patents

Communication apparatus and program Download PDF

Info

Publication number
JP5859483B2
JP5859483B2 JP2013112005A JP2013112005A JP5859483B2 JP 5859483 B2 JP5859483 B2 JP 5859483B2 JP 2013112005 A JP2013112005 A JP 2013112005A JP 2013112005 A JP2013112005 A JP 2013112005A JP 5859483 B2 JP5859483 B2 JP 5859483B2
Authority
JP
Japan
Prior art keywords
path
route
quality measurement
unit
communication
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
Application number
JP2013112005A
Other languages
Japanese (ja)
Other versions
JP2014232937A (en
Inventor
実 ▲高▼木
実 ▲高▼木
勝喜 金田
勝喜 金田
宜浩 李
宜浩 李
柴田 智之
智之 柴田
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.)
SoftBank Corp
Original Assignee
SoftBank Corp
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 SoftBank Corp filed Critical SoftBank Corp
Priority to JP2013112005A priority Critical patent/JP5859483B2/en
Publication of JP2014232937A publication Critical patent/JP2014232937A/en
Application granted granted Critical
Publication of JP5859483B2 publication Critical patent/JP5859483B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Description

本発明は、通信装置及びプログラムに関する。   The present invention relates to a communication device and a program.

従来、NNI(Network−Network Interface)を介して通信する通信装置が知られていた。(例えば、特許文献1参照)。
[先行技術文献]
[特許文献]
[特許文献1]特開2005−292954号公報
Conventionally, there has been known a communication apparatus that performs communication via an NNI (Network-Network Interface). (For example, refer to Patent Document 1).
[Prior art documents]
[Patent Literature]
[Patent Document 1] JP-A-2005-292955

しかし、NNIを経由する通信経路に輻輳が発生した場合に、十分な通信品質を保てない場合があった。   However, there is a case where sufficient communication quality cannot be maintained when congestion occurs in the communication path via the NNI.

本発明の第1の態様によれば、第1通信経路の経路品質を複数回測定する経路品質測定部と、経路品質測定部により測定された第1通信経路の複数の経路品質に基づいて、第1通信経路の輻輳状態を判定する輻輳状態判定部とを備える通信装置が提供される。   According to the first aspect of the present invention, based on the path quality measuring unit that measures the path quality of the first communication path a plurality of times, and the plurality of path qualities of the first communication path measured by the path quality measuring unit, A communication device is provided that includes a congestion state determination unit that determines a congestion state of a first communication path.

上記通信装置において、経路品質測定部は、他の通信装置に対する、第1通信経路を介した通信の応答時間を測定してよく、上記通信装置は、経路品質測定部が測定した応答時間の履歴を格納する履歴格納部と、履歴格納部に格納された複数の応答時間の平均である平均応答時間を算出する平均応答時間算出部とをさらに備えてよく、輻輳状態判定部は、平均応答時間算出部によって算出された平均応答時間と経路品質測定部が新たに測定した応答時間とに基づいて、第1通信経路の輻輳状態を判定してよい。上記通信装置において、輻輳状態判定部は、経路品質測定部が新たに測定した応答時間が、平均応答時間に対して予め定められた時間より長い場合に、第1通信経路に輻輳が発生する前兆と判定してよい。上記通信装置は、輻輳状態判定部が判定した第1通信経路の輻輳状態が予め定められた基準を満たしているか否かを判定する輻輳状態判定部と、輻輳状態判定部により第1通信経路の輻輳状態が予め定められた基準を満たしていると判定された場合、第1通信経路を介して通信し、第1通信経路の輻輳状態が予め定められた基準を満たしていないと判定された場合、第2通信経路を介して通信する通信部とをさらに備えてよい。   In the communication apparatus, the path quality measurement unit may measure a response time of communication via the first communication path with respect to another communication apparatus, and the communication apparatus has a history of response times measured by the path quality measurement unit. And an average response time calculation unit that calculates an average response time that is an average of a plurality of response times stored in the history storage unit. The congestion state of the first communication path may be determined based on the average response time calculated by the calculation unit and the response time newly measured by the path quality measurement unit. In the communication apparatus, the congestion state determination unit is a sign that congestion occurs in the first communication path when the response time newly measured by the path quality measurement unit is longer than a predetermined time with respect to the average response time. May be determined. The communication apparatus includes: a congestion state determination unit that determines whether or not a congestion state of the first communication path determined by the congestion state determination unit satisfies a predetermined criterion; and a congestion state determination unit that determines whether the first communication path When it is determined that the congestion state satisfies a predetermined standard, communication is performed via the first communication path, and it is determined that the congestion state of the first communication path does not satisfy the predetermined standard And a communication unit that communicates via the second communication path.

上記通信装置において、経路品質測定部は、第1通信経路を介して他の通信装置に品質測定パケット等を送信することにより第1応答時間を測定してよく、経路品質測定部は、第1通信経路を介して他の通信装置に品質測定パケットを送信する頻度よりも低い頻度で第2通信経路を介して他の通信装置に送信した品質測定パケットの第2応答時間を測定してよく、輻輳状態判定部は、第2応答時間に基づいて、第2通信経路の輻輳状態を判定してよい。上記通信装置において、履歴格納部は、第2応答時間の履歴を格納してよく、平均応答時間算出部は、履歴格納部に格納された第2応答時間の平均である第2平均応答時間を算出してよく、輻輳状態判定部は、平均応答時間算出部によって算出された第2平均応答時間と経路品質測定部が新たに測定した第2応答時間とに基づいて、第2通信経路の輻輳状態を判定してよく、上記通信装置は、第1通信経路の輻輳状態及び第2通信経路の輻輳状態に基づいて選択した第1通信経路又は第2通信経路を介して通信する通信部をさらに備えてよい。上記通信装置において、第1通信経路はNNIを経由する経路であってよく、第2通信経路はUNI(User−Network Interface)を経由する経路であってよい。   In the communication apparatus, the path quality measurement unit may measure the first response time by transmitting a quality measurement packet or the like to another communication apparatus via the first communication path. Measuring the second response time of the quality measurement packet transmitted to the other communication device via the second communication path at a frequency lower than the frequency of transmitting the quality measurement packet to the other communication device via the communication path; The congestion state determination unit may determine the congestion state of the second communication path based on the second response time. In the communication apparatus, the history storage unit may store a history of the second response time, and the average response time calculation unit may calculate a second average response time that is an average of the second response times stored in the history storage unit. The congestion state determination unit may calculate the congestion of the second communication path based on the second average response time calculated by the average response time calculation unit and the second response time newly measured by the path quality measurement unit. The communication device may further include a communication unit that communicates via the first communication path or the second communication path selected based on the congestion state of the first communication path and the congestion state of the second communication path. You may prepare. In the communication apparatus, the first communication path may be a path that passes through the NNI, and the second communication path may be a path that passes through the UNI (User-Network Interface).

本発明の第2の態様によれば、コンピュータを、上記通信装置として機能させるためのプログラムが提供される。   According to the 2nd aspect of this invention, the program for functioning a computer as said communication apparatus is provided.

なお、上記の発明の概要は、本発明の必要な特徴の全てを列挙したものではない。また、これらの特徴群のサブコンビネーションもまた、発明となりうる。   It should be noted that the above summary of the invention does not enumerate all the necessary features of the present invention. In addition, a sub-combination of these feature groups can also be an invention.

電話システムの一例を概略的に示す。1 schematically shows an example of a telephone system. ターミナルアダプタの機能構成の一例を概略的に示す。An example of a functional structure of a terminal adapter is shown roughly. 品質測定パケット送信部による品質測定パケット送信のタイミングを概略的に示す。The timing of quality measurement packet transmission by the quality measurement packet transmission unit is schematically shown. ターミナルアダプタによる処理フローの一例を概略的に示す。An example of the processing flow by a terminal adapter is shown roughly. 輻輳状態判定部による輻輳状態の判定について説明するための概念図である。It is a conceptual diagram for demonstrating determination of the congestion state by the congestion state determination part. ターミナルアダプタによる処理の一例を概略的に示す。An example of the process by a terminal adapter is shown roughly. ターミナルアダプタによる処理の一例を概略的に示す。An example of the process by a terminal adapter is shown roughly. ターミナルアダプタ、SIPサーバ、及び品質測定サーバの処理の流れの一例を概略的に示す。An example of a processing flow of a terminal adapter, a SIP server, and a quality measurement server is shown roughly. ターミナルアダプタ、SIPサーバ、及び品質測定サーバの処理の流れの一例を概略的に示す。An example of a processing flow of a terminal adapter, a SIP server, and a quality measurement server is shown roughly.

以下、発明の実施の形態を通じて本発明を説明するが、以下の実施形態は特許請求の範囲にかかる発明を限定するものではない。また、実施形態の中で説明されている特徴の組み合わせの全てが発明の解決手段に必須であるとは限らない。   Hereinafter, the present invention will be described through embodiments of the invention, but the following embodiments do not limit the invention according to the claims. In addition, not all the combinations of features described in the embodiments are essential for the solving means of the invention.

図1は、本実施形態に係る電話システム10の一例を概略的に示す。電話システム10は、ターミナルアダプタ200及び電話機300に対してIP電話サービスを提供する。ターミナルアダプタ200は通信装置の一例であってよい。電話システム10は、NGN(NEXT GENERATION NETWORK)110、NGN120、接続事業者網130、IP電話サービス網140、及びPSTN(Public Switched Telephone Network)150を備える。   FIG. 1 schematically shows an example of a telephone system 10 according to the present embodiment. The telephone system 10 provides an IP telephone service to the terminal adapter 200 and the telephone 300. The terminal adapter 200 may be an example of a communication device. The telephone system 10 includes an NGN (NEXT GENERATION NETWORK) 110, an NGN 120, a connection operator network 130, an IP telephone service network 140, and a PSTN (Public Switched Telephony Network) 150.

NGN110は、NNI112を介して接続事業者網130に接続されている。NGN120は、NNI122を介して接続事業者網130に接続されている。NGN110、120を区別せずに説明するときに単にNGNと呼ぶ場合がある。また、NNI112、122を区別せずに説明するときに単にNNIと呼ぶ場合がある。接続事業者網130は、IP電話サービス網140に接続されている。IP電話サービス網140は、PSTN150に接続されている。   The NGN 110 is connected to the connection operator network 130 via the NNI 112. The NGN 120 is connected to the connection operator network 130 via the NNI 122. When the NGNs 110 and 120 are described without distinction, they may be simply referred to as NGNs. Further, when the NNIs 112 and 122 are described without distinction, they may be simply referred to as NNIs. The connection provider network 130 is connected to the IP telephone service network 140. IP telephone service network 140 is connected to PSTN 150.

ターミナルアダプタ202及び電話機302のユーザと、ターミナルアダプタ204及び電話機304のユーザとは、NGN110を提供する事業者と契約を結ぶことによって、NGN110を介した通信を利用する権利を取得してよい。また、ターミナルアダプタ206及び電話機306のユーザと、ターミナルアダプタ208及び電話機308のユーザとは、NGN120を提供する事業者と契約を結ぶことによって、NGN120を介した通信を利用する権利を取得してよい。また、電話機302、304、306、308のそれぞれのユーザは、IP電話サービス網140を提供する事業者と契約を結ぶことによって、IP電話サービスを利用する権利を取得してよい。   The user of the terminal adapter 202 and the telephone 302 and the user of the terminal adapter 204 and the telephone 304 may acquire a right to use communication via the NGN 110 by making a contract with a provider that provides the NGN 110. In addition, the user of the terminal adapter 206 and the telephone 306 and the user of the terminal adapter 208 and the telephone 308 may acquire a right to use communication via the NGN 120 by making a contract with a provider that provides the NGN 120. . In addition, each user of the telephones 302, 304, 306, and 308 may acquire a right to use the IP telephone service by making a contract with a provider that provides the IP telephone service network 140.

IP電話サービス網140は、SIPサーバ142を含む。SIPサーバ142は、電話機300の電話番号とIPアドレスとの対応テーブルを保持し、SIPメッセージの処理を実行する。例えば、電話機302が電話機306と通話を確立しようとする場合、ターミナルアダプタ202は、NGN110、NNI112、及び接続事業者網130を介してSIPサーバ142にSIPメッセージを送信する。SIPサーバ142の仲介により通話を確立した電話機302及び電話機306は、NGN110、NNI112、接続事業者網130、NNI122、及びNGN120を介して音声データを送受信する。   The IP telephone service network 140 includes a SIP server 142. The SIP server 142 holds a correspondence table between the telephone number of the telephone 300 and the IP address, and executes SIP message processing. For example, when the telephone 302 attempts to establish a call with the telephone 306, the terminal adapter 202 transmits a SIP message to the SIP server 142 via the NGN 110, the NNI 112, and the connection carrier network 130. The telephone set 302 and the telephone set 306 that have established a call through the SIP server 142 transmit and receive voice data via the NGN 110, the NNI 112, the connection provider network 130, the NNI 122, and the NGN 120.

また、電話機302が、PSTN150に接続された固定電話152又は携帯電話154と通話を確立しようとする場合、ターミナルアダプタ202は、NGN110、NNI112、及び接続事業者網130を介してSIPサーバ142にSIPメッセージを送信する。SIPサーバ142の仲介により通話を確立した電話機302と、固定電話152又は携帯電話154とは、NGN110、NNI112、接続事業者網130、IP電話サービス網140、及びPSTN150を介して音声データを送受信する。   Further, when the telephone 302 attempts to establish a call with the fixed telephone 152 or the mobile telephone 154 connected to the PSTN 150, the terminal adapter 202 communicates with the SIP server 142 via the NGN 110, the NNI 112, and the connection carrier network 130. Send a message. The telephone 302 that has established a call through the SIP server 142 and the fixed telephone 152 or the mobile telephone 154 transmit and receive voice data via the NGN 110, the NNI 112, the connection carrier network 130, the IP telephone service network 140, and the PSTN 150. .

このように、電話機300は、NGN110、120と、NNI112、122と、接続事業者網130とを介して通話を実現できる。しかし、NGN110及びNGN120はベストエフォート型であることから、十分な通信品質を保てない場合がある。特に、0AB−JのIP電話サービスを提供しようとした場合、例えばパケット損失率が0.1%を下回らなければならないなど高い通話品質が求められるが、その条件を満たせない場合がある。   As described above, the telephone 300 can implement a call via the NGNs 110 and 120, the NNIs 112 and 122, and the connection carrier network 130. However, since the NGN 110 and the NGN 120 are the best effort type, there are cases where sufficient communication quality cannot be maintained. In particular, when trying to provide a 0AB-J IP telephone service, high call quality is required, for example, the packet loss rate must be less than 0.1%, but the condition may not be satisfied.

そこで、本実施形態に係る電話システム10は、NGN110、120と、NNI112、122と、接続事業者網130とを経由する通信経路の通信品質が低下した場合に、迂回を可能にするための迂回経路を備える。ここでは、電話システム10が、NGN110からの迂回経路164、166、168と、NGN120からの迂回経路174、176、178とを備える場合を例に挙げて説明する。迂回経路の数は例示であり、他の数であってもよい。迂回経路164、166、168、174、176、178をまとめて単に迂回経路と呼ぶ場合がある。   Therefore, the telephone system 10 according to the present embodiment is configured to perform detouring to enable detouring when the communication quality of the communication path passing through the NGNs 110 and 120, the NNIs 112 and 122, and the connection carrier network 130 is deteriorated. Provide a route. Here, a case where the telephone system 10 includes detour paths 164, 166, and 168 from the NGN 110 and detour paths 174, 176, and 178 from the NGN 120 will be described as an example. The number of detour paths is an example, and other numbers may be used. The detour paths 164, 166, 168, 174, 176, and 178 may be collectively referred to simply as a detour path.

迂回経路164は、UNI114と、中継アダプタ414と、SBC(Session Border Controller)514とにより構成されてよい。中継アダプタ414は、UNI114を介してNGN110に接続されている。SBC514は、中継アダプタ414IP電話サービス網140に接続されている。   The detour path 164 may be configured by a UNI 114, a relay adapter 414, and a SBC (Session Border Controller) 514. The relay adapter 414 is connected to the NGN 110 via the UNI 114. The SBC 514 is connected to the relay adapter 414 IP telephone service network 140.

中継アダプタ414は、例えば、IP電話サービス網140を提供する事業者が、NGN110を提供する事業者と契約することによってNGN110に接続される。SBC514とIP電話サービス網140とは、例えばイーサネット(登録商標)によって接続されている。SBC514は、IP電話サービス網140を提供する事業者によって管理されてよい。SBC514は、IP電話サービス網140と、NGN110側のネットワークとの間においてIP変換を実行することにより、中継アダプタ414を介したルーティングを実現する。   The relay adapter 414 is connected to the NGN 110 when, for example, a provider that provides the IP telephone service network 140 makes a contract with a provider that provides the NGN 110. The SBC 514 and the IP telephone service network 140 are connected by, for example, Ethernet (registered trademark). The SBC 514 may be managed by a provider that provides the IP telephone service network 140. The SBC 514 implements routing via the relay adapter 414 by performing IP conversion between the IP telephone service network 140 and the network on the NGN 110 side.

例えば、SBC514は、中継アダプタ414がUNI114を介して受信した、ターミナルアダプタ202により送信されたSIPサーバ142宛のパケットを一旦終端させる。そして、SBC514は、IP電話サービス網140と、NGN110側のネットワークとの間におけるIPアドレスにアドレス変換して、パケットをSIPサーバ142に送信する。これにより、IPネットワークの終端として取り扱われるUNI114を介したルーティングを実現する。   For example, the SBC 514 once terminates the packet addressed to the SIP server 142 transmitted by the terminal adapter 202 received by the relay adapter 414 via the UNI 114. The SBC 514 converts the address into an IP address between the IP telephone service network 140 and the network on the NGN 110 side, and transmits the packet to the SIP server 142. This realizes routing via the UNI 114 that is handled as the end of the IP network.

迂回経路166は、迂回経路164と同一の構成を有してよく、UNI116、中継アダプタ416、及びSBC516により構成されてよい。迂回経路168も、迂回経路164と同一の構成を有してよく、UNI118、中継アダプタ418、及びSBC518により構成されてよい。図1では、迂回経路164、迂回経路166、迂回経路168を別々の経路として図示しているが、物理的な1つの経路上にVLAN(Virtual LAN)として実現されてもよい。   The bypass path 166 may have the same configuration as that of the bypass path 164, and may be configured by the UNI 116, the relay adapter 416, and the SBC 516. The bypass path 168 may have the same configuration as the bypass path 164 and may be configured by the UNI 118, the relay adapter 418, and the SBC 518. In FIG. 1, the bypass route 164, the bypass route 166, and the bypass route 168 are illustrated as separate routes, but may be realized as a VLAN (Virtual LAN) on one physical route.

迂回経路174、176、178は、迂回経路164、166、168と同一の構成を有してよく、それぞれ、UNI124、126、128と、中継アダプタ424、426、428と、SBC524、526、528とにより構成されてよい。   The detour paths 174, 176, 178 may have the same configuration as the detour paths 164, 166, 168, respectively, UNI 124, 126, 128, relay adapters 424, 426, 428, and SBCs 524, 526, 528, respectively. May be configured.

なお、UNI114、116、118、124、126、128を区別せずに説明するときに単にUNIと呼ぶ場合がある。中継アダプタ414、416、418、424、426、428を区別せずに説明するときに単に中継アダプタと呼ぶ場合がある。SBC514、516、518、524、526、528を区別せずに説明するときに単にSBCと呼ぶ場合がある。   Note that the UNIs 114, 116, 118, 124, 126, and 128 may be simply referred to as UNI when they are described without distinction. When the relay adapters 414, 416, 418, 424, 426, and 428 are described without distinction, they may be simply referred to as relay adapters. When the SBCs 514, 516, 518, 524, 526, and 528 are described without distinction, they may be simply referred to as SBCs.

ターミナルアダプタ200は、NNIを経由する経路(NNI経路と呼ぶ場合がある。)及びUNIを経由する経路(UNI経路と呼ぶ場合がある)のそれぞれの経路品質を測定する。NNI経路は第1通信経路の一例であってよい。UNI経路は第2通信経路の一例であってよい。   The terminal adapter 200 measures the route quality of a route passing through the NNI (sometimes referred to as an NNI route) and a route passing through the UNI (sometimes referred to as a UNI route). The NNI path may be an example of a first communication path. The UNI path may be an example of a second communication path.

例えば、ターミナルアダプタ200は、NGN、NNI、及び接続事業者網130を経由するNNI経路を介して品質測定サーバ144に品質測定パケットを送信することにより、NNI経路の経路品質を測定する。また、例えば、ターミナルアダプタ200は、NGN、UNI、及び中継アダプタを経由するUNI経路を介して品質測定サーバ144に品質測定パケットを送信することによりUNI経路の経路品質を測定する。   For example, the terminal adapter 200 measures the route quality of the NNI route by transmitting a quality measurement packet to the quality measurement server 144 via the NNI route that passes through the NGN, the NNI, and the connected carrier network 130. Further, for example, the terminal adapter 200 measures the path quality of the UNI path by transmitting a quality measurement packet to the quality measurement server 144 via the UNI path passing through the NGN, UNI, and relay adapter.

そして、ターミナルアダプタ200は、NNI経路の経路品質が予め定められた基準を超えていないと判定した場合、UNI経路のうち、予め定められた基準を満たすUNI経路を迂回経路として選択し、選択したUNI経路を介して通信を実行する。これにより、NNI経路に輻輳などが発生して、経路品質が予め定められた基準を満たせない場合であっても、迂回経路を介して通信することによって、基準を満たす通信品質を確保することができる。   If the terminal adapter 200 determines that the route quality of the NNI route does not exceed a predetermined criterion, the terminal adapter 200 selects a UNI route that satisfies the predetermined criterion from among the UNI routes as a bypass route, and selects it. Communication is performed via the UNI path. As a result, even if congestion occurs in the NNI route and the route quality cannot satisfy the predetermined standard, communication quality that satisfies the standard can be ensured by communicating via the detour route. it can.

図2は、ターミナルアダプタ200の機能構成の一例を概略的に示す。ターミナルアダプタ200は、通信部210、経路品質測定部218、履歴格納部220、平均時間算出部222、輻輳状態判定部224、及び経路品質判定部226を備える。通信部210は、オフフック検出部212、品質測定パケット送信部214、応答受信部216、経路選択部228、発呼部230、着呼部232、通話部234、及び経路登録部236を有する。   FIG. 2 schematically shows an example of the functional configuration of the terminal adapter 200. The terminal adapter 200 includes a communication unit 210, a route quality measurement unit 218, a history storage unit 220, an average time calculation unit 222, a congestion state determination unit 224, and a route quality determination unit 226. The communication unit 210 includes an off-hook detection unit 212, a quality measurement packet transmission unit 214, a response reception unit 216, a route selection unit 228, a calling unit 230, an incoming call unit 232, a call unit 234, and a route registration unit 236.

オフフック検出部212は、電話機300のオフフックを検出する。品質測定パケット送信部214は、オフフックの検出に応じて品質測定パケットを送信してよい。品質測定パケット送信部214は、オフフックの検出に応じて、NNI経路及びUNI経路のそれぞれを介して品質測定サーバ144に品質測定パケットを送信してよい。このとき、品質測定パケット送信部214は、複数のUNI経路のうち一のUNI経路に品質測定パケットを送信してよく、また、複数のUNI経路に品質測定パケットを送信してもよい。   Off-hook detection unit 212 detects an off-hook of telephone 300. The quality measurement packet transmission unit 214 may transmit a quality measurement packet in response to detection of off-hook. The quality measurement packet transmission unit 214 may transmit the quality measurement packet to the quality measurement server 144 via each of the NNI route and the UNI route in response to detection of off-hook. At this time, the quality measurement packet transmission unit 214 may transmit the quality measurement packet to one UNI path among the plurality of UNI paths, or may transmit the quality measurement packet to the plurality of UNI paths.

また、品質測定パケット送信部214は、電話機300が待ち受け状態のときに品質測定パケットを送信してよい。品質測定パケット送信部214は、電話機300が待ち受け状態のときに、選択中の通信経路を介して品質測定サーバ144に品質測定パケットを送信してよい。すなわち、品質測定パケット送信部214は、NNI経路が選択されている場合、NNI経路を介して品質測定サーバ144に品質測定パケットを送信してよく、UNI経路が選択されている場合、UNI経路を介して品質測定サーバ144に品質測定パケットを送信してよい。   Further, the quality measurement packet transmission unit 214 may transmit the quality measurement packet when the telephone 300 is in a standby state. The quality measurement packet transmission unit 214 may transmit the quality measurement packet to the quality measurement server 144 via the selected communication path when the telephone 300 is in a standby state. That is, the quality measurement packet transmission unit 214 may transmit the quality measurement packet to the quality measurement server 144 via the NNI path when the NNI path is selected, and if the UNI path is selected, the quality measurement packet transmission unit 214 transmits the UNI path. The quality measurement packet may be transmitted to the quality measurement server 144 via the network.

この場合、品質測定パケット送信部214は、品質測定パケットを定期的に送信してよい。例えば、品質測定パケット送信部214は、1秒毎に品質測定パケットを送信する。なお、ここでは、品質測定パケット送信部214が品質測定サーバ144に対して品質測定パケットを送信する場合を主に例に挙げて説明するが、これに限らず、品質測定パケット送信部214は、NNI経路及びUNI経路の経路品質を測定できれば、他の通信装置に品質測定パケットを送信してもよい。応答受信部216は、品質測定サーバ144からの応答を受信する。   In this case, the quality measurement packet transmission unit 214 may periodically transmit the quality measurement packet. For example, the quality measurement packet transmission unit 214 transmits a quality measurement packet every second. Here, a case where the quality measurement packet transmission unit 214 transmits a quality measurement packet to the quality measurement server 144 will be mainly described as an example, but the present invention is not limited thereto, and the quality measurement packet transmission unit 214 If the path quality of the NNI path and the UNI path can be measured, the quality measurement packet may be transmitted to another communication apparatus. The response receiving unit 216 receives a response from the quality measurement server 144.

経路品質測定部218は、応答受信部216が受信した応答に基づいて、経路品質を測定する。経路品質測定部218は、品質測定パケット送信部214が品質測定パケットを送信してから、応答受信部216が応答を受信するまでの遅延時間を測定してよい。遅延時間は、応答時間の一例であってよい。経路品質測定部218は、遅延時間によって経路品質を測定してよい。また、経路品質測定部218は、品質測定パケット送信部214が送信した品質測定パケットのパケットロス率を測定してよい。そして、経路品質測定部218は、パケットロス率によって経路品質を測定してよい。   The route quality measuring unit 218 measures the route quality based on the response received by the response receiving unit 216. The route quality measurement unit 218 may measure a delay time from when the quality measurement packet transmission unit 214 transmits the quality measurement packet until the response reception unit 216 receives the response. The delay time may be an example of a response time. The route quality measurement unit 218 may measure the route quality based on the delay time. The route quality measurement unit 218 may measure the packet loss rate of the quality measurement packet transmitted by the quality measurement packet transmission unit 214. Then, the route quality measurement unit 218 may measure the route quality based on the packet loss rate.

履歴格納部220は、経路品質測定部218が測定した遅延時間の履歴を格納する。履歴格納部220は、通信経路毎に識別して、遅延時間の履歴を格納してよい。平均時間算出部222は、通信経路毎に、遅延時間の平均である平均遅延時間を算出する。   The history storage unit 220 stores a history of delay times measured by the path quality measurement unit 218. The history storage unit 220 may store a history of delay times by identifying each communication path. The average time calculation unit 222 calculates an average delay time that is an average of the delay times for each communication path.

輻輳状態判定部224は、通信経路の輻輳状態を判定する。例えば、輻輳状態判定部224は、経路品質測定部218が測定した経路品質に基づいて通信経路の輻輳状態を判定する。輻輳状態判定部224は、通信経路毎に、輻輳が発生しそうな状態であるか否かを判定してよい。例えば、輻輳状態判定部224は、測定されたパケットロス率が予め定められた閾値を超えている場合に輻輳が発生しそうな状態であると判定する。また、例えば、輻輳状態判定部224は、平均時間算出部222によって算出された平均遅延時間と、経路品質測定部218が新たに測定した遅延時間とに基づいて、通信経路の輻輳状態を判定する。   The congestion state determination unit 224 determines the congestion state of the communication path. For example, the congestion state determination unit 224 determines the congestion state of the communication route based on the route quality measured by the route quality measurement unit 218. The congestion state determination unit 224 may determine whether or not congestion is likely to occur for each communication path. For example, the congestion state determination unit 224 determines that congestion is likely to occur when the measured packet loss rate exceeds a predetermined threshold. Also, for example, the congestion state determination unit 224 determines the congestion state of the communication path based on the average delay time calculated by the average time calculation unit 222 and the delay time newly measured by the path quality measurement unit 218. .

経路品質判定部226は、経路品質測定部218が測定した経路品質が予め定められた基準を超えているか否かを判定する。例えば、経路品質判定部226は、パケットロス率が、0.1%を上回っているか否かを判定する。また、経路品質判定部226は、輻輳状態判定部224が判定した輻輳状態が予め定められた基準を満たしているか否かを判定する。   The route quality determination unit 226 determines whether the route quality measured by the route quality measurement unit 218 exceeds a predetermined reference. For example, the route quality determination unit 226 determines whether or not the packet loss rate exceeds 0.1%. Further, the route quality determination unit 226 determines whether or not the congestion state determined by the congestion state determination unit 224 satisfies a predetermined criterion.

経路選択部228は、経路品質判定部226による判定の結果に基づいて、通信経路を選択する。例えば、経路選択部228は、経路品質判定部226によって、NNI経路の経路品質が予め定められた基準を超えていると判定された場合、通信経路としてNNI経路を選択する。また、例えば、経路選択部228は、経路品質判定部226によって、NNI経路の経路品質が予め定められた基準を超えていないと判定され、UNI経路の経路品質が予め定められた基準を超えていると判定された場合、通信経路としてUNI経路を選択する。   The route selection unit 228 selects a communication route based on the determination result by the route quality determination unit 226. For example, the route selection unit 228 selects the NNI route as the communication route when the route quality determination unit 226 determines that the route quality of the NNI route exceeds a predetermined reference. Further, for example, the route selection unit 228 determines that the route quality determination unit 226 determines that the route quality of the NNI route does not exceed a predetermined reference, and the route quality of the UNI route exceeds the predetermined reference. If it is determined that the communication path is determined, the UNI path is selected as the communication path.

発呼部230は、ユーザによる発呼指示に従って、発呼処理を実行する。発呼部230は、経路選択部228によって選択された通信経路を介して、SIPメッセージをSIPサーバ142に送信してよい。着呼部232は、着呼処理を実行する。例えば、着呼部232は、SIPサーバ142からINVEITEメッセージを受信して、呼出し処理を実行する。通話部234は、発呼部230による発呼処理又は着呼部232による着呼処理に応じて、通話を確立させる。   The calling unit 230 executes a calling process according to a calling instruction from the user. The calling unit 230 may transmit the SIP message to the SIP server 142 via the communication path selected by the path selection unit 228. The incoming call unit 232 executes incoming call processing. For example, the incoming call unit 232 receives the INVEITE message from the SIP server 142 and executes the calling process. The call unit 234 establishes a call in response to the calling process by the calling unit 230 or the incoming call process by the incoming call unit 232.

通話部234による通話が実行されている間、経路品質測定部218は、通話データに基づいて通信経路の経路品質を測定してよい。経路品質測定部218は、例えば、RTCP−XR(RTP Control Protocol Extended Reports)を用いることによって、通信経路の経路品質を測定する。通話データに基づく経路品質の測定を実呼測定と呼ぶ場合がある。   While the call by the call unit 234 is being executed, the route quality measurement unit 218 may measure the route quality of the communication route based on the call data. The route quality measurement unit 218 measures the route quality of the communication route by using, for example, RTCP-XR (RTP Control Protocol Extended Reports). Measurement of route quality based on call data may be referred to as actual call measurement.

経路登録部236は、通信経路をSIPサーバ142に登録する。経路登録部236は、REGISTERメッセージをSIPサーバ142に送信することにより、通信経路を登録してよい。例えば、電話機300が待ち受け状態である間に測定されたNNI経路の経路品質が予め定められた基準を超えていない場合、経路登録部236は、基準を超えているUNI回路を通信経路としてSIPサーバ142に登録する。これにより、ターミナルアダプタ200が着信する場合において、経路品質が基準を満たさないNNI経路を迂回して、基準を満たすUNI回路を選択することができる。   The route registration unit 236 registers the communication route with the SIP server 142. The route registration unit 236 may register the communication route by transmitting a REGISTER message to the SIP server 142. For example, when the path quality of the NNI path measured while the telephone 300 is in the standby state does not exceed a predetermined standard, the path registration unit 236 uses the UNI circuit that exceeds the standard as a communication path to the SIP server. 142. Thereby, when the terminal adapter 200 receives an incoming call, it is possible to bypass the NNI route whose route quality does not satisfy the standard and to select a UNI circuit that satisfies the standard.

図3は、品質測定パケット送信部214による品質測定パケット送信のタイミングを概略的に示す。図3において、横軸は時間の経過を表す。また、縦軸方向には、上から順に電話機300の通話状態、品質測定パケット送信部214により送信される品質測定パケットの状態、及び経路品質測定部218による実呼測定の状態を整列させている。   FIG. 3 schematically shows the timing of quality measurement packet transmission by the quality measurement packet transmission unit 214. In FIG. 3, the horizontal axis represents the passage of time. In the vertical axis direction, the telephone call state of the telephone 300, the state of the quality measurement packet transmitted by the quality measurement packet transmission unit 214, and the state of actual call measurement by the path quality measurement unit 218 are arranged in order from the top. .

電話機300が待ち受け状態である間、品質測定パケット送信部214は定期的に品質測定パケットを品質測定サーバ144に送信する。品質測定パケット送信部214は、電話機300が待ち受け状態である間、選択中の通信経路を介して品質測定サーバ144に品質測定パケットを送信してよい。   While the telephone 300 is in the standby state, the quality measurement packet transmission unit 214 periodically transmits the quality measurement packet to the quality measurement server 144. The quality measurement packet transmission unit 214 may transmit the quality measurement packet to the quality measurement server 144 via the selected communication path while the telephone 300 is in a standby state.

電話機300のオフフックを検出したのに応じて、品質測定パケット送信部214は品質測定パケットを品質測定サーバ144に送信する。品質測定パケット送信部214は、NNI経路及び複数のUNI経路に品質測定パケットを送信してよい。品質測定パケット送信部214は、発信通話中及び着信通話中には、品質測定パケットを送信しない。発信通話中及び着信通話中には、経路品質測定部218が実呼測定を実行する。   In response to detecting the off-hook of the telephone 300, the quality measurement packet transmission unit 214 transmits the quality measurement packet to the quality measurement server 144. The quality measurement packet transmission unit 214 may transmit the quality measurement packet to the NNI path and the plurality of UNI paths. The quality measurement packet transmission unit 214 does not transmit a quality measurement packet during an outgoing call and an incoming call. During an outgoing call and an incoming call, the path quality measurement unit 218 performs actual call measurement.

図4は、ターミナルアダプタ200による処理フローの一例を概略的に示す。図4に示す処理フローは、ターミナルアダプタ200及び電話機300に電源が投入されて、ターミナルアダプタ200及び電話機300が待ち受け状態となったときに開始してよい。   FIG. 4 schematically shows an example of a processing flow by the terminal adapter 200. The processing flow shown in FIG. 4 may be started when the terminal adapter 200 and the telephone 300 are turned on and the terminal adapter 200 and the telephone 300 are in a standby state.

ステップ402(ステップをSと省略して表記する場合がある。)では、品質測定パケット送信部214が、品質測定サーバ144に対して品質測定パケットを送信する。品質測定パケット送信部214は、NNI経路が選択されている場合、NNI経路を介して品質測定サーバ144にPINを送信する。品質測定パケット送信部214は、UNI経路が選択されている場合、すなわち、迂回中である場合、選択されているUNI経路及びNNI経路のそれぞれを介して、品質測定サーバ144に品質測定パケットを送信してよい。   In step 402 (step may be abbreviated as S), the quality measurement packet transmission unit 214 transmits the quality measurement packet to the quality measurement server 144. When the NNI route is selected, the quality measurement packet transmission unit 214 transmits the PIN to the quality measurement server 144 via the NNI route. The quality measurement packet transmission unit 214 transmits the quality measurement packet to the quality measurement server 144 via each of the selected UNI path and NNI path when the UNI path is selected, that is, when the detour is being performed. You can do it.

S404では、経路品質測定部218が経路品質を測定する。経路品質測定部218は、迂回中でない場合、NNI経路の経路品質を測定してよい。経路品質測定部218は、迂回中である場合、UNI経路及びNNI経路の経路品質を測定してよい。   In S404, the route quality measurement unit 218 measures the route quality. The route quality measurement unit 218 may measure the route quality of the NNI route when the detour is not being performed. The route quality measurement unit 218 may measure the route quality of the UNI route and the NNI route when the detour is being performed.

迂回中でない場合(S406:NO)、経路品質判定部226が、S404で測定したNNI経路の経路品質が予め定められた基準を超えているか否かを判定する(S408)。NNI経路の経路品質が予め定められた基準を超えていない場合(S408:NO)、経路選択部228が迂回経路を選択して、経路登録部236が迂回経路を登録する(S410)。経路選択部228は、複数のUNI経路のうちの一のUNI経路を迂回経路として選択してよい。この場合、経路選択部228は、複数のUNI経路のうち、経路品質が予め定められた基準を超えているUNI経路を選択してよい。NNI経路の経路品質が予め定められた基準を超えている場合(S408:YES)、通信経路はNNI経路のままとなる。   When the detour is not being performed (S406: NO), the route quality determination unit 226 determines whether the route quality of the NNI route measured in S404 exceeds a predetermined reference (S408). When the route quality of the NNI route does not exceed a predetermined standard (S408: NO), the route selection unit 228 selects a bypass route, and the route registration unit 236 registers the bypass route (S410). The route selection unit 228 may select one of the plurality of UNI routes as a bypass route. In this case, the route selection unit 228 may select a UNI route whose route quality exceeds a predetermined criterion from among a plurality of UNI routes. If the route quality of the NNI route exceeds a predetermined standard (S408: YES), the communication route remains the NNI route.

迂回中である場合(S406:YES)、S404で測定されたNNI経路の経路品質が予め定められた基準を超えているか否かを、経路品質判定部226が判定する(S412)。NNI経路の経路品質が予め定められた基準を超えていない場合(S412:NO)、S408に進み、経路品質判定部226が、選択中のUNI経路の経路品質が予め定められた基準を超えているか否かを判定する。   When detouring is in progress (S406: YES), the route quality determination unit 226 determines whether or not the route quality of the NNI route measured in S404 exceeds a predetermined reference (S412). When the route quality of the NNI route does not exceed the predetermined standard (S412: NO), the process proceeds to S408, where the route quality determination unit 226 determines that the route quality of the currently selected UNI route exceeds the predetermined standard. It is determined whether or not.

NNI経路の経路品質が予め定められた基準を超えている場合(S412:YES)、経路登録部236が切戻し処理を実行する。すなわち、経路登録部236は、通信経路として、UNI経路に代えてNNI経路を登録する。これにより、迂回後にNNI経路の経路品質が回復した場合に、速やかに選択通信経路をNNI経路に戻すことができる。   When the route quality of the NNI route exceeds a predetermined standard (S412: YES), the route registration unit 236 executes a failback process. That is, the path registration unit 236 registers an NNI path as a communication path instead of the UNI path. Thereby, when the route quality of the NNI route is recovered after detouring, the selected communication route can be quickly returned to the NNI route.

続いて、着呼部232が着呼した場合(S416:YES)、S426に進み、着呼していない場合(S416:NO)、S418に進む。S418では、オフフック検出部212が、電話機300のオフフックを検出した場合(S418:YES)、S420に進む。S420では、品質測定パケット送信部214が、NNI経路及び複数のUNI経路のそれぞれを介して、品質測定サーバ144に品質測定パケットを送信する。   Subsequently, when the incoming call unit 232 receives an incoming call (S416: YES), the process proceeds to S426, and when the incoming call is not received (S416: NO), the process proceeds to S418. In S418, when the off-hook detection unit 212 detects an off-hook of the telephone 300 (S418: YES), the process proceeds to S420. In S420, the quality measurement packet transmission unit 214 transmits the quality measurement packet to the quality measurement server 144 via each of the NNI path and the plurality of UNI paths.

S422では、経路品質測定部218が、NNI経路及び複数のUNI経路のそれぞれの経路品質を測定する。S424では、経路選択部228が、SIPメッセージを送信するための通信経路を選択する。経路選択部228は、NNI経路の経路品質が予め定められた基準を超えている場合、NNI経路を選択する。経路選択部228は、NNI経路の経路品質が予め定められた基準を超えていない場合、基準を超えているUNI経路を選択する。経路選択部228は、基準を超えているNNI経路及びUNI経路がない場合には、発呼を行わないようにエラー処理を実行してよい。なお、基準を超えているNNI経路及びUNI経路がない場合であっても、発呼が緊急呼である場合には、NNI経路を介した発呼処理を実行してよい。   In S422, the route quality measurement unit 218 measures the route quality of each of the NNI route and the plurality of UNI routes. In S424, the route selection unit 228 selects a communication route for transmitting the SIP message. The route selection unit 228 selects the NNI route when the route quality of the NNI route exceeds a predetermined reference. When the route quality of the NNI route does not exceed a predetermined reference, the route selection unit 228 selects a UNI route that exceeds the reference. The route selection unit 228 may execute error processing so as not to make a call when there is no NNI route or UNI route that exceeds the reference. Even when there is no NNI route and UNI route that exceed the standard, if the call is an emergency call, call processing via the NNI route may be executed.

S416で、着呼部232が着呼した場合、S426に進む。S426で、通話が終了した場合(S426:YES)、S428に進む。S428でオンフックされた場合、S430に進む。S434で、ターミナルアダプタ200の電源がオフにされるなどによってターミナルアダプタ200による待ち受け状態が解除された場合、処理が終了し、そうでない場合、S402に戻る。上述したように、発信時に、NNI経路及びUNI経路の経路品質を測定することにより、適切な通信経路を選択して発呼処理を実行できる。また、電話機300が待ち受け状態の間、選択中の通信経路を監視して、経路品質が予め定められた基準を下回った場合に、他の経路を登録することによって、電話機300が着信する場合にも、適切な通信経路を選択した上で着呼処理を実行できる。   If the incoming call unit 232 receives an incoming call in S416, the process proceeds to S426. If the call is terminated in S426 (S426: YES), the process proceeds to S428. If on-hook is performed in S428, the process proceeds to S430. In S434, when the standby state by the terminal adapter 200 is canceled due to power-off of the terminal adapter 200 or the like, the process ends. Otherwise, the process returns to S402. As described above, by measuring the route quality of the NNI route and the UNI route at the time of outgoing call, it is possible to select the appropriate communication route and execute the calling process. In addition, when the telephone 300 is in a standby state, the selected communication path is monitored, and when the path quality falls below a predetermined standard, the telephone 300 receives an incoming call by registering another path. However, an incoming call process can be executed after selecting an appropriate communication path.

図5は、輻輳状態判定部224による輻輳状態の判定について説明するための概念図である。図において、横軸は時間の経過を表す。縦軸は、経路品質測定部218により測定された遅延時間を表す。複数の矢印502は、それぞれ経路品質測定部218が遅延時間を測定したタイミングを示す。図は、n−1までは略一定の遅延時間を示し、nから遅延時間が増加する場合の一例を示している。通信経路に輻輳が発生する場合、輻輳の兆候として、図に示すような遅延時間の増加が見られる。   FIG. 5 is a conceptual diagram for explaining the determination of the congestion state by the congestion state determination unit 224. In the figure, the horizontal axis represents the passage of time. The vertical axis represents the delay time measured by the path quality measurement unit 218. A plurality of arrows 502 indicate the timing at which the path quality measurement unit 218 measures the delay time. The figure shows a substantially constant delay time up to n−1, and shows an example in which the delay time increases from n. When congestion occurs in the communication path, an increase in delay time as shown in the figure is seen as an indication of congestion.

そこで、本実施形態に係る輻輳状態判定部224は、遅延時間の増加量が予め定められた範囲を超えた場合に、輻輳の前兆と判定する。輻輳状態判定部224は、式(1)及び式(2)によって、通信経路が輻輳の前兆を示す輻輳状態であるか、通常状態であるかを判定してよい。   Therefore, the congestion state determination unit 224 according to the present embodiment determines that it is a sign of congestion when the amount of increase in delay time exceeds a predetermined range. The congestion state determination unit 224 may determine whether the communication path is in a congestion state indicating a sign of congestion or in a normal state, using Expression (1) and Expression (2).

Figure 0005859483
PDは測定された遅延時間、ADは平均遅延時間、αは重み付け係数を示す。重み付け係数αは、例えば0.1〜1.0に設定される。
Figure 0005859483
PD is a measured delay time, AD is an average delay time, and α is a weighting coefficient. The weighting coefficient α is set to 0.1 to 1.0, for example.

Figure 0005859483
CDは経路品質測定部218が新たに測定した遅延時間、Δは増加量閾値を示す。増加量閾値Δは、例えば1msなどの単位で設定される。増加量閾値Δは、遅延時間と輻輳状態との実験結果によってその数値が設定されてよい。
Figure 0005859483
CD represents a delay time newly measured by the path quality measuring unit 218, and Δ represents an increase amount threshold value. The increase amount threshold Δ is set in units of 1 ms, for example. The increase threshold value Δ may be set to a numerical value based on the experimental results of the delay time and the congestion state.

上述したように、輻輳状態判定部224は、履歴格納部220に格納された複数の遅延時間の平均である平均遅延時間と、経路品質測定部218が新たに測定した遅延時間とに基づいて、輻輳状態を判定する。特に、輻輳状態判定部224は、輻輳状態判定部224が新たに測定した遅延時間が、平均応答時間に対して予め定められた時間より長い場合に、輻輳が発生する前兆であると判定する。   As described above, the congestion state determination unit 224 is based on the average delay time that is an average of a plurality of delay times stored in the history storage unit 220 and the delay time newly measured by the path quality measurement unit 218. Determine congestion status. In particular, the congestion state determination unit 224 determines that the congestion state determination unit 224 is a sign that congestion will occur when the delay time newly measured by the congestion state determination unit 224 is longer than a predetermined time with respect to the average response time.

なお、本実施形態では、NNI経路が選択されている場合であって、電話機300が待ち受け状態の間、品質測定パケット送信部214が、NNI経路を介して品質測定サーバ144に品質測定パケットを定期的に送信する例を挙げて説明した。このときさらに、品質測定パケット送信部214は、UNI経路を介して品質測定サーバ144に品質測定パケットを定期的に送信してもよい。これにより、輻輳状態判定部224がUNI経路の輻輳状態を判定する場合に、平均遅延時間を算出する上で、十分な数の遅延時間を確保しておくことができる。   In the present embodiment, when the NNI route is selected and the telephone 300 is in the standby state, the quality measurement packet transmission unit 214 periodically sends the quality measurement packet to the quality measurement server 144 via the NNI route. An example in which data is transmitted is described above. At this time, the quality measurement packet transmission unit 214 may periodically transmit the quality measurement packet to the quality measurement server 144 via the UNI path. Thus, when the congestion state determination unit 224 determines the congestion state of the UNI path, a sufficient number of delay times can be secured for calculating the average delay time.

また、例えば、経路品質測定部218が、一日単位などのある一定期間の通信に対して0.1%単位でパケットロス率を算出する場合、1000個の品質測定パケットの結果が必要となるが、発信時及び迂回時のみしかUNI経路を介した品質測定パケット送信をしていない場合、品質測定パケットの数が十分でない場合がある。それに対して、電話機300が待ち受け状態の間、UNI経路を介しても、品質測定サーバ144に品質測定パケットを送信しておくことにより、少なくとも、数日分の結果を集めることによって、必要な数の品質測定パケットの結果を確保することができる。   Further, for example, when the path quality measurement unit 218 calculates the packet loss rate in units of 0.1% for a certain period of communication such as a day unit, the result of 1000 quality measurement packets is required. However, when the quality measurement packet is transmitted only through the UNI path only at the time of transmission and detouring, the number of quality measurement packets may not be sufficient. On the other hand, while the telephone 300 is in the standby state, the necessary number is obtained by collecting the results for at least several days by transmitting the quality measurement packet to the quality measurement server 144 even through the UNI path. The result of the quality measurement packet can be ensured.

なお、品質測定パケット送信部214は、NNI経路を介して品質測定サーバ144に品質測定パケットを送信する頻度よりも低い頻度で、UNI経路を介して品質測定サーバ144に品質測定パケットを送信してよい。これにより、NNI経路を介して品質測定サーバ144に品質測定パケットを送信する頻度と同程度の頻度で送信するのに比べて、品質測定パケット送信に対する処理負荷及び通信経路に与える通信負荷を低減することができる。   The quality measurement packet transmission unit 214 transmits the quality measurement packet to the quality measurement server 144 via the UNI path at a frequency lower than the frequency of transmitting the quality measurement packet to the quality measurement server 144 via the NNI path. Good. As a result, the processing load on the quality measurement packet transmission and the communication load applied to the communication path are reduced as compared with the case where the quality measurement packet is transmitted to the quality measurement server 144 via the NNI path at the same frequency. be able to.

図6及び図7は、ターミナルアダプタ202による処理の一例を概略的に示す。ここでは、ターミナルアダプタ202が、NNI経路を介してターミナルアダプタ204との通話を確立させた後、NNI経路に輻輳が発生した場合を例に挙げて説明する。   6 and 7 schematically show an example of processing by the terminal adapter 202. FIG. Here, a case will be described as an example where congestion occurs in the NNI path after the terminal adapter 202 establishes a call with the terminal adapter 204 via the NNI path.

図6は、通信経路としてNNI経路が選択されている場合を示す。監視ルート192は、ターミナルアダプタ202及びターミナルアダプタ204が経路品質を監視するルートを示す。ターミナルアダプタ202は、NGN110が有する収容装置182、中継ルータ184、GWルータ(Gatewayルータ)186を介して、NNI経路の経路品質を測定する。ターミナルアダプタ204は、収容装置188、中継ルータ184、GWルータ186を介して、NNI経路の経路品質を測定する。   FIG. 6 shows a case where the NNI route is selected as the communication route. A monitoring route 192 indicates a route through which the terminal adapter 202 and the terminal adapter 204 monitor route quality. The terminal adapter 202 measures the route quality of the NNI route through the accommodation device 182, the relay router 184, and the GW router (Gateway router) 186 that the NGN 110 has. The terminal adapter 204 measures the route quality of the NNI route via the accommodation device 188, the relay router 184, and the GW router 186.

通話パス194は、ターミナルアダプタ202とターミナルアダプタ204との通話の経路を示す。ターミナルアダプタ202とターミナルアダプタ204とは、収容装置182及び収容装置188を介して通話を実行する。ここで、図に示すように、監視ルート192と通話パス194とは一致しない。そのため、通話パス194において輻輳が発生したとしても、監視ルート192上における経路品質の監視では、当該輻輳を発見できない。   A call path 194 indicates a call path between the terminal adapter 202 and the terminal adapter 204. The terminal adapter 202 and the terminal adapter 204 perform a call via the accommodation device 182 and the accommodation device 188. Here, as shown in the figure, the monitoring route 192 and the call path 194 do not match. Therefore, even if congestion occurs in the call path 194, the congestion cannot be found by monitoring the route quality on the monitoring route 192.

ここで、ターミナルアダプタ202が有する経路品質測定部218は、通話パス194のようにNNI及びUNIを介さない通信経路を介して通話を実行する場合、通話中のデータにより、通話中又は通話終了後に、当該通信経路の経路品質を測定してよい。経路品質測定部218は、例えば、RTCP−XRを用いることにより経路品質を測定する。NNI及びUNIを介さない当該通信経路は、第3通信経路の一例であってよい。   Here, the path quality measuring unit 218 included in the terminal adapter 202 performs a call via a communication path that does not pass through the NNI and UNI, such as the call path 194, depending on data during the call, during the call or after the call ends. The path quality of the communication path may be measured. The route quality measurement unit 218 measures the route quality by using, for example, RTCP-XR. The communication path not via the NNI and the UNI may be an example of a third communication path.

そして、経路品質判定部226が、測定された経路品質が予め定められた基準を超えているか否かを判定する。予め定められた基準を超えていないと判定した場合、経路選択部228が、基準を超えているUNI回路を選択する。そして、経路登録部236が、通信経路としてUNI経路を登録する。これにより、例えば、登録後にターミナルアダプタ202がターミナルアダプタ204から着信する場合、NNI経路を介してではなく、UNI経路を介して通話が確立されるので、輻輳を回避することができる。   Then, the route quality determination unit 226 determines whether or not the measured route quality exceeds a predetermined reference. When it is determined that the predetermined standard is not exceeded, the path selection unit 228 selects a UNI circuit that exceeds the standard. Then, the route registration unit 236 registers the UNI route as the communication route. Thereby, for example, when the terminal adapter 202 receives an incoming call from the terminal adapter 204 after registration, the call is established not via the NNI route but via the UNI route, so that congestion can be avoided.

図7は、経路登録部236によってUNI経路が選択された後の監視ルート192及び通話パス194を例示する。図7において、ターミナルアダプタ202は、収容装置182、中継ルータ184、収容装置188を介してUNI経路に品質測定パケットを送信する。また、ターミナルアダプタ204は、収容装置188を介してUNI経路に品質測定パケットを送信する。また、ターミナルアダプタ202及びターミナルアダプタ204は、UNI経路を介して通話を実行する。このように、監視ルート192と通話パス194とを一致させることができる。   FIG. 7 illustrates the monitoring route 192 and the call path 194 after the UNI route is selected by the route registration unit 236. In FIG. 7, the terminal adapter 202 transmits a quality measurement packet to the UNI path via the accommodation device 182, the relay router 184, and the accommodation device 188. In addition, the terminal adapter 204 transmits a quality measurement packet to the UNI path via the accommodation device 188. In addition, the terminal adapter 202 and the terminal adapter 204 execute a call through the UNI path. In this way, the monitoring route 192 and the call path 194 can be matched.

図8は、ターミナルアダプタ200、SIPサーバ142、及び品質測定サーバ144の処理の流れの一例を概略的に示す。ここでは、ターミナルアダプタ200が通信経路としてNNI経路をSIPサーバ142に登録した状態で、ターミナルアダプタ200がNNI経路に品質測定パケットを送信したときに輻輳が発生した場合の処理の流れを説明する。   FIG. 8 schematically shows an example of the processing flow of the terminal adapter 200, the SIP server 142, and the quality measurement server 144. Here, the flow of processing when congestion occurs when the terminal adapter 200 transmits a quality measurement packet to the NNI path in a state where the terminal adapter 200 registers the NNI path as a communication path in the SIP server 142 will be described.

経路登録部236は、NNI経路を介してREGSTERメッセージをSIPサーバ142に送信する(S802)。SIPサーバ142は、ターミナルアダプタ200の通信経路としてNNI経路を登録する。品質測定パケット送信部214は、NNI経路を介して、品質測定サーバ144に品質測定パケットを送信する(S804)。これにより、経路品質測定部218は、NNI経路御経路品質を測定する。図に示す例において、この時点ではNNI経路に輻輳は発生していない。   The route registration unit 236 transmits a REGSTER message to the SIP server 142 via the NNI route (S802). The SIP server 142 registers the NNI route as the communication route of the terminal adapter 200. The quality measurement packet transmission unit 214 transmits the quality measurement packet to the quality measurement server 144 via the NNI path (S804). Thereby, the route quality measurement unit 218 measures the NNI route control route quality. In the example shown in the figure, no congestion has occurred in the NNI path at this point.

次に、SIPサーバ142が、INVITE(着信要求)メッセージをターミナルアダプタ200に対して送信する(S806)。そして、ターミナルアダプタ200は、INVITE(着信要求)メッセージを受信し、INVITE(要求応答)メッセージをSIPサーバ142に送信する(S808)。S810では、通話が開始され、終話する。なお、図示を省略しているが、S806において、SIPサーバ142は、他のターミナルアダプタ200から受信したINVITE(着信要求)メッセージをターミナルアダプタ200に送信する。また、S808において、SIPサーバ142は、ターミナルアダプタ200から受信したINVITE(要求応答)メッセージを、当該他のターミナルアダプタ200に送信する。そして、S810では、SIPサーバ142は、ターミナルアダプタ200と当該他のターミナルアダプタ200との間の通話を開始させ、終話を検出する。   Next, the SIP server 142 transmits an INVITE (incoming request) message to the terminal adapter 200 (S806). Then, the terminal adapter 200 receives the INVITE (incoming request) message and transmits the INVITE (request response) message to the SIP server 142 (S808). In S810, the call starts and ends. Although not shown, in S806, the SIP server 142 transmits the INVITE (incoming request) message received from the other terminal adapter 200 to the terminal adapter 200. In step S <b> 808, the SIP server 142 transmits the INVITE (request response) message received from the terminal adapter 200 to the other terminal adapter 200. In S810, the SIP server 142 starts a call between the terminal adapter 200 and the other terminal adapter 200 and detects the end of the call.

S812では、品質測定パケット送信部214がNNI経路を介して送信した品質測定パケットによって、経路品質測定部218がNNI経路の輻輳を検出する。品質測定パケット送信部214は、NNI経路の輻輳を検出したのに応じて、UNI経路を介して、品質測定サーバ144に品質測定パケットを送信する(S814)。ここでは、UNI経路に輻輳がなく、品質測定パケットが品質測定サーバ144に到達した場合を例に挙げて説明するが、仮に、UNI経路に輻輳が発生していた場合には、品質測定パケット送信部214は、他のUNI経路に品質測定パケットを送信してよい。   In S812, the route quality measurement unit 218 detects congestion of the NNI route based on the quality measurement packet transmitted by the quality measurement packet transmission unit 214 via the NNI route. The quality measurement packet transmission unit 214 transmits a quality measurement packet to the quality measurement server 144 via the UNI path in response to detecting congestion of the NNI path (S814). Here, a case where there is no congestion on the UNI path and the quality measurement packet reaches the quality measurement server 144 will be described as an example. However, if congestion occurs on the UNI path, the quality measurement packet is transmitted. The unit 214 may transmit the quality measurement packet to another UNI path.

S814において送信した品質測定パケットによって、UNI経路に輻輳が発生していないと経路品質判定部226が判定したのに応じて、235が、当該UNI経路を登録するべくREGISTERメッセージをSIPサーバ142に送信する(S816)。SIPサーバ142は、REGISTERメッセージを受信することにより、ターミナルアダプタ200の通信経路として、UNI経路を登録する。   235 transmits a REGISTER message to the SIP server 142 to register the UNI path in response to the path quality determination unit 226 determining that the UNI path is not congested by the quality measurement packet transmitted in S814. (S816). The SIP server 142 registers the UNI path as the communication path of the terminal adapter 200 by receiving the REGISTER message.

ターミナルアダプタ200の通信経路としてUNI経路が登録されたことにより、SIPサーバ142は、INVITE(着信要求)メッセージを、UNI経路を介してターミナルアダプタ200に送信する(S818)。ターミナルアダプタ200は、INVITE(着信要求)メッセージを受信し、INVITE(要求応答)メッセージをSIPサーバ142に送信する(S820)。そして、S812では、通話が開始され、終話する。   When the UNI path is registered as the communication path of the terminal adapter 200, the SIP server 142 transmits an INVITE (incoming request) message to the terminal adapter 200 via the UNI path (S818). The terminal adapter 200 receives the INVITE (incoming request) message and transmits an INVITE (request response) message to the SIP server 142 (S820). In S812, the call is started and the call is finished.

なお、図示を省略しているが、S818において、SIPサーバ142は、他のターミナルアダプタ200からINVITE(発信要求)メッセージを受信したのに応じて、INVITE(着信要求)メッセージをターミナルアダプタ200に送信する。また、S820において、SIPサーバ142は、ターミナルアダプタ200から受信したINVITE(要求応答)メッセージを、当該他のターミナルアダプタ200に送信する。そして、S822では、SIPサーバ142は、ターミナルアダプタ200と当該他のターミナルアダプタ200との間の通話を開始させ、終話を検出する。   Although not shown, in S818, the SIP server 142 transmits an INVITE (call request) message to the terminal adapter 200 in response to receiving an INVITE (call request) message from another terminal adapter 200. To do. In S820, the SIP server 142 transmits the INVITE (request response) message received from the terminal adapter 200 to the other terminal adapter 200. In S822, the SIP server 142 starts a call between the terminal adapter 200 and the other terminal adapter 200, and detects an end call.

上述したように、ターミナルアダプタ200が、NNI経路上の輻輳を検出した場合に、UNI経路を登録することによって、仮に、SIPサーバ142がINVEITEメッセージを送信するときにNNI経路に輻輳が発生している状態が続いていたとしても、通話を確立させることができる。なお、品質測定パケット送信部214は、INVITE着信要求)メッセージを受信したのに応じて、品質測定パケットを選択中の経路を介して品質測定サーバ144に送信してもよい。   As described above, when the terminal adapter 200 detects congestion on the NNI route, if the SIP route is registered when the SIP server 142 transmits the INVITE message, the NNI route is congested. The call can be established even if the user has been in the service. Note that the quality measurement packet transmission unit 214 may transmit the quality measurement packet to the quality measurement server 144 via the selected route in response to receiving the INVITE incoming request) message.

図9は、ターミナルアダプタ200、SIPサーバ142、及び品質測定サーバ144の処理の流れの一例を概略的に示す。ここでは、ターミナルアダプタ200が通信経路としてNNI経路をSIPサーバ142に登録した状態で、SIPサーバ142がINVITEメッセージをターミナルアダプタ200に送信しようとしたときに輻輳が発生した場合の処理の流れを説明する。   FIG. 9 schematically shows an example of the processing flow of the terminal adapter 200, the SIP server 142, and the quality measurement server 144. Here, a flow of processing when congestion occurs when the SIP server 142 tries to transmit an INVITE message to the terminal adapter 200 in a state where the terminal adapter 200 registers the NNI route as a communication route in the SIP server 142 will be described. To do.

経路登録部236は、NNI経路を介してREGISTERメッセージをSIPサーバ142に送信する(S902)。SIPサーバ142は、ターミナルアダプタ200の通信経路としてNNI経路を登録する。品質測定パケット送信部214は、NNI経路を介して、品質測定サーバ144に品質測定パケットを送信する(S904)。これにより、経路品質測定部218は、NNI経路の経路品質を測定する。図に示す例において、この時点ではNNI経路に輻輳は発生していない。   The route registration unit 236 transmits a REGISTER message to the SIP server 142 via the NNI route (S902). The SIP server 142 registers the NNI route as the communication route of the terminal adapter 200. The quality measurement packet transmission unit 214 transmits the quality measurement packet to the quality measurement server 144 via the NNI path (S904). Thereby, the route quality measurement unit 218 measures the route quality of the NNI route. In the example shown in the figure, no congestion has occurred in the NNI path at this point.

次に、SIPサーバ142が、INVITEメッセージをターミナルアダプタ200に対して送信する(S906)。ここでは、NNI経路に輻輳が発生したために、INVITEメッセージがターミナルアダプタ200に到達しない例を示す。SIPサーバ142は、INVITEメッセージの送信を定期的に繰り返す再送処理900の実行を開始する。   Next, the SIP server 142 transmits an INVITE message to the terminal adapter 200 (S906). Here, an example is shown in which the INVITE message does not reach the terminal adapter 200 due to congestion in the NNI route. The SIP server 142 starts executing the retransmission process 900 that periodically repeats the transmission of the INVITE message.

品質測定パケット送信部214は、電話機300が待ち受け状態であることから、定期的に品質測定パケットの送信を継続する。S908では、品質測定パケット送信部214が送信した品質測定パケットによって、経路品質測定部218が、NNI経路の輻輳を検出する。   Since the telephone 300 is in a standby state, the quality measurement packet transmission unit 214 continues to periodically transmit the quality measurement packet. In S908, the route quality measurement unit 218 detects congestion of the NNI route based on the quality measurement packet transmitted by the quality measurement packet transmission unit 214.

品質測定パケット送信部214は、NNI経路の輻輳を検出したのに応じて、UNI経路を介して、品質測定サーバ144に品質測定パケットを送信する(S910)。ここでは、UNI経路に輻輳がなく、品質測定パケットが品質測定サーバ144に到達した場合を例に挙げて説明するが、仮に、UNI経路に輻輳が発生していた場合には、品質測定パケット送信部214は、他のUNI経路に品質測定パケットを送信してよい。この場合、品質測定パケット送信部214は、経路品質が基準を満たすUNI経路が検出されるまで、複数のUNI経路に順次品質測定パケットを送信してよい。また、品質測定パケット送信部214は、複数のUNI経路に一斉に品質測定パケットを送信してもよい。   The quality measurement packet transmission unit 214 transmits a quality measurement packet to the quality measurement server 144 via the UNI path in response to detecting congestion of the NNI path (S910). Here, a case where there is no congestion on the UNI path and the quality measurement packet reaches the quality measurement server 144 will be described as an example. However, if congestion occurs on the UNI path, the quality measurement packet is transmitted. The unit 214 may transmit the quality measurement packet to another UNI path. In this case, the quality measurement packet transmission unit 214 may sequentially transmit the quality measurement packets to a plurality of UNI paths until a UNI path that satisfies the path quality is detected. Further, the quality measurement packet transmission unit 214 may transmit the quality measurement packet to a plurality of UNI paths all at once.

S910において送信した品質測定パケットによって、UNI経路に輻輳が発生していないと経路品質判定部226が判定したのに応じて、経路登録部236が、当該UNI経路を登録するべくREGISTERメッセージをSIPサーバ142に送信する(S912)。SIPサーバ142は、REGISTERメッセージを受信することにより、ターミナルアダプタ200の通信経路として、UNI経路を登録する。そして、SIPサーバ142は、UNI経路を介して、INVEITEメッセージを再送する(S914)。これにより、INVEITEメッセージは、ターミナルアダプタ200に到達する。そして、通話が確立される(S916)。   When the route quality determination unit 226 determines that the UNI route is not congested by the quality measurement packet transmitted in S910, the route registration unit 236 sends a REGISTER message to the SIP server to register the UNI route. 142 (S912). The SIP server 142 registers the UNI path as the communication path of the terminal adapter 200 by receiving the REGISTER message. Then, the SIP server 142 retransmits the INVEITE message via the UNI path (S914). As a result, the INVEITE message reaches the terminal adapter 200. Then, a call is established (S916).

なお、図9では、S906でSIPサーバ142がターミナルアダプタ200に対して送信したINVITE(着信要求)メッセージが、ターミナルアダプタ200に到達しない例を挙げて説明したが、到達した場合、その到達に応じて、品質測定パケット送信部214が、NNI経路を介して品質測定パケットを品質測定サーバ144に送信してよい。この場合、送信した品質測定パケットによって、経路品質測定部218が、NNI経路の輻輳を検出することになり、品質測定パケット送信部214は、検出したのに応じて、UNI経路を介して、品質測定サーバ144に品質測定パケットを送信してよい。以降の処理は、S912以降と同様であってよい。   In FIG. 9, the INVITE (incoming request) message transmitted from the SIP server 142 to the terminal adapter 200 in S906 has been described as an example of not reaching the terminal adapter 200. Then, the quality measurement packet transmission unit 214 may transmit the quality measurement packet to the quality measurement server 144 via the NNI path. In this case, the route quality measurement unit 218 detects congestion of the NNI route based on the transmitted quality measurement packet, and the quality measurement packet transmission unit 214 determines the quality via the UNI route according to the detection. A quality measurement packet may be transmitted to the measurement server 144. Subsequent processing may be the same as after S912.

このように、ターミナルアダプタ200が、NNI経路上の輻輳を検出した場合に、UNI経路を登録することによって、SIPサーバ142がINVEITEメッセージを送信するときにNNI経路に輻輳が発生していても、通話を確立させることができる。なお、SIPサーバ142は、ターミナルアダプタ200が品質測定パケットを送信する時間間隔よりも長い時間、再送処理を繰り返してよい。これにより、ターミナルアダプタ200がNNI経路から、UNI経路に切り替えるまで再送処理を繰り返すことができ、通話が確立する前に、再送処理を終了してしまうことを防止できる。   As described above, when the terminal adapter 200 detects congestion on the NNI route, even if the NNI route is congested when the SIP server 142 transmits the INVITE message by registering the UNI route, A call can be established. Note that the SIP server 142 may repeat the retransmission process for a time longer than the time interval at which the terminal adapter 200 transmits the quality measurement packet. Accordingly, the retransmission process can be repeated until the terminal adapter 200 switches from the NNI path to the UNI path, and it is possible to prevent the retransmission process from being terminated before the call is established.

以上の説明において、ターミナルアダプタ200の各部は、ハードウエアにより実現されてもよく、ソフトウエアにより実現されてもよい。また、ハードウエアとソフトウエアとの組み合わせにより実現されてもよい。例えば、ターミナルアダプタ200上でプログラムが実行されることにより、コンピュータが、ターミナルアダプタ200の一部として機能してもよい。プログラムは、コンピュータ読み取り可能な媒体に記憶されていてもよく、ネットワークに接続された記憶装置に記憶されていてもよい。CPU、ROM、RAM、通信インターフェース等を有するデータ処理装置と、入力装置と、出力装置と、記憶装置とを備えた一般的な構成の情報処理装置において、ターミナルアダプタ200の各部の動作を規定したソフトウエア又はプログラムを起動することにより、ターミナルアダプタ200が実現されてよい。   In the above description, each unit of the terminal adapter 200 may be realized by hardware or may be realized by software. Further, it may be realized by a combination of hardware and software. For example, the computer may function as a part of the terminal adapter 200 by executing a program on the terminal adapter 200. The program may be stored in a computer-readable medium, or may be stored in a storage device connected to a network. In an information processing apparatus having a general configuration including a data processing apparatus having a CPU, ROM, RAM, communication interface, etc., an input apparatus, an output apparatus, and a storage apparatus, the operation of each part of the terminal adapter 200 is defined. The terminal adapter 200 may be realized by starting software or a program.

コンピュータにインストールされ、コンピュータを本実施形態に係るターミナルアダプタ200の一部として機能させるプログラムは、ターミナルアダプタ200の各部の動作を規定したモジュールを備える。これらのプログラム又はモジュールは、CPU等に働きかけて、コンピュータを、ターミナルアダプタ200の各部としてそれぞれ機能させる。これらのプログラムに記述された情報処理は、コンピュータに読込まれることにより、ソフトウエアと上述した各種のハードウエア資源とが協働した具体的手段として機能する。そして、これらの具体的手段によって、本実施形態におけるコンピュータの使用目的に応じた情報の演算又は加工を実現することにより、使用目的に応じた特有の測定装置を構築することができる。   A program that is installed in a computer and causes the computer to function as a part of the terminal adapter 200 according to this embodiment includes a module that defines the operation of each part of the terminal adapter 200. These programs or modules work on the CPU or the like to cause the computer to function as each part of the terminal adapter 200. Information processing described in these programs functions as a specific means in which software and the various hardware resources described above cooperate with each other by being read by a computer. A specific measurement device according to the purpose of use can be constructed by realizing calculation or processing of information according to the purpose of use of the computer in the present embodiment by these specific means.

また、SIPサーバ142及び品質測定サーバ144は、CPU、ROM、RAM、通信インターフェースなどを有するデータユニットと、キーボード、タッチパネル、マイクなどの入力ユニットと、ディスプレイ、スピーカなどの出力ユニットと、メモリ、HDDなどの記憶ユニットとを備えた一般的な構成の情報処理装置において、SIPサーバ142及び品質測定サーバ144の各部の動作を規定したソフトウェア又はプログラムを起動することにより実現されてよい。   The SIP server 142 and the quality measurement server 144 include a data unit having a CPU, a ROM, a RAM, a communication interface, an input unit such as a keyboard, a touch panel, and a microphone, an output unit such as a display and a speaker, a memory, and an HDD. In an information processing apparatus having a general configuration including a storage unit such as the above, it may be realized by starting software or a program that defines the operation of each unit of the SIP server 142 and the quality measurement server 144.

本実施形態では、ターミナルアダプタ200と電話機300とを別体として説明したが、これに限らない。ターミナルアダプタ200と電話機300とは一体であってもよい。すなわち、ターミナルアダプタ200と電話機300の機能を備えるIP電話機であってもよい。   In the present embodiment, the terminal adapter 200 and the telephone 300 are described as separate bodies, but the present invention is not limited to this. The terminal adapter 200 and the telephone 300 may be integrated. That is, an IP telephone having the functions of the terminal adapter 200 and the telephone 300 may be used.

また、本実施形態では、経路品質の測定に品質測定パケットを用いる場合を主に説明したが、これに限らない。経路品質測定部218は、経路品質を測定できる他の手法によって、経路品質を測定してよい。   Moreover, although this embodiment mainly demonstrated the case where a quality measurement packet was used for a path | route quality measurement, it is not restricted to this. The route quality measurement unit 218 may measure the route quality by another method capable of measuring the route quality.

また、本実施形態では、IP電話サービスを対象とする場合を例に挙げて説明したが、これに限らず、NNI及びUNIを介した通信を実行する他の通信サービスを対象としてもよい。   In the present embodiment, the case where the IP telephone service is targeted has been described as an example. However, the present invention is not limited to this, and other communication services that perform communication via NNI and UNI may be targeted.

また、本実施形態では、ユーザによる発呼処理又は着呼による通話が実行されている場合に、経路品質測定部218が実呼測定を行う場合を例に挙げて説明したが、これに限らない。例えば、予め定められた通信相手に対して、定期的に実呼測定を実行してもよい。例えば、通信網の状況を監視するべく、他の県に設置された通信相手に対して、定期的に実呼測定を実行してもよい。このとき、例えば、電話機302と、固定電話152との間の実呼測定の結果に基づいて、ターミナルアダプタ202が、迂回経路を登録してもよい。具体的に、ターミナルアダプタ202は、NNI経路を介した固定電話152との通話に対して実呼測定を実行し、経路品質が予め定められた基準を超えない場合に、UNI経路を迂回経路として登録してよい。   In the present embodiment, the case where the path quality measuring unit 218 performs actual call measurement when a call process by a user or a call by an incoming call is performed has been described as an example, but the present invention is not limited thereto. . For example, actual call measurement may be periodically performed on a predetermined communication partner. For example, in order to monitor the status of the communication network, actual call measurement may be periodically performed on a communication partner installed in another prefecture. At this time, for example, the terminal adapter 202 may register a bypass route based on the result of actual call measurement between the telephone 302 and the fixed telephone 152. Specifically, the terminal adapter 202 performs actual call measurement for a call with the fixed telephone 152 via the NNI route, and when the route quality does not exceed a predetermined standard, the UNI route is used as a bypass route. You may register.

また、本実施形態では、通信装置の一例として、ターミナルアダプタ200を挙げて説明したが、これに限らず、SIPサーバ142又は品質測定サーバ144が通信装置の一例であってもよい。例えば、SIPサーバ142は、経路品質測定部218と、輻輳状態判定部224とを備える。この場合、SIPサーバ142は、ターミナルアダプタ200に対してNNI経路及びUNI経路を介して品質測定パケットを送信することによって、NNI経路及びUNI経路の経路品質を測定してよく、輻輳状態を判定してよい。そして、SIPサーバ142は、NNI経路の経路品質が予め定められた基準を超えていると判定された場合、NNI経路を介してターミナルアダプタ200と通信し、NNI経路の経路品質が予め定められた基準を超えていない場合、UNI経路を介して通信してよい。   In the present embodiment, the terminal adapter 200 is described as an example of the communication device. However, the present invention is not limited to this, and the SIP server 142 or the quality measurement server 144 may be an example of the communication device. For example, the SIP server 142 includes a route quality measurement unit 218 and a congestion state determination unit 224. In this case, the SIP server 142 may measure the route quality of the NNI route and the UNI route by transmitting a quality measurement packet to the terminal adapter 200 via the NNI route and the UNI route, and determine the congestion state. It's okay. When it is determined that the route quality of the NNI route exceeds a predetermined reference, the SIP server 142 communicates with the terminal adapter 200 via the NNI route, and the route quality of the NNI route is determined in advance. If the standard is not exceeded, communication may be via the UNI path.

また、通信装置は、ターミナルアダプタ200及びSIPサーバ142と通信可能な他の装置であってもよい。当該他の装置は、経路品質測定部218、経路品質判定部226、及びターミナルアダプタ200とSIPサーバ142との通信を制御する通信制御部とを備えてよい。また、さらに、当該他の装置は、通信部210、履歴格納部220、平均時間算出部222、及び輻輳状態判定部224を備えてもよい。この場合、ターミナルアダプタ200は通信端末の一例であってよい。また、SIPサーバ142はサーバの一例であってよい。   The communication device may be another device that can communicate with the terminal adapter 200 and the SIP server 142. The other apparatus may include a route quality measurement unit 218, a route quality determination unit 226, and a communication control unit that controls communication between the terminal adapter 200 and the SIP server 142. Furthermore, the other device may include a communication unit 210, a history storage unit 220, an average time calculation unit 222, and a congestion state determination unit 224. In this case, the terminal adapter 200 may be an example of a communication terminal. The SIP server 142 may be an example of a server.

以上、本発明を実施の形態を用いて説明したが、本発明の技術的範囲は上記実施の形態に記載の範囲には限定されない。上記実施の形態に、多様な変更または改良を加えることが可能であることが当業者に明らかである。その様な変更または改良を加えた形態も本発明の技術的範囲に含まれ得ることが、特許請求の範囲の記載から明らかである。   As mentioned above, although this invention was demonstrated using embodiment, the technical scope of this invention is not limited to the range as described in the said embodiment. It will be apparent to those skilled in the art that various modifications or improvements can be added to the above-described embodiment. It is apparent from the scope of the claims that the embodiments added with such changes or improvements can be included in the technical scope of the present invention.

特許請求の範囲、明細書、および図面中において示した装置、システム、プログラム、および方法における動作、手順、ステップ、および段階などの各処理の実行順序は、特段「より前に」、「先立って」などと明示しておらず、また、前の処理の出力を後の処理で用いるのでない限り、任意の順序で実現しうることに留意すべきである。特許請求の範囲、明細書、および図面中の動作フローに関して、便宜上「まず、」、「次に、」などを用いて説明したとしても、この順で実施することが必須であることを意味するものではない。   The order of execution of each process such as operations, procedures, steps, and stages in the apparatus, system, program, and method shown in the claims, the description, and the drawings is particularly “before” or “prior to”. It should be noted that it can be realized in any order unless the output of the previous process is used in the subsequent process. Regarding the operation flow in the claims, the description, and the drawings, even if it is described using “first,” “next,” etc. for convenience, it means that it is essential to carry out in this order. It is not a thing.

10 電話システム、110 NGN、112 NNI、114 UNI、116 UNI、118 UNI、120 NGN、122 NNI、124 UNI、126 UNI、128 UNI、130 接続事業者網、140 IP電話サービス網、142 SIPサーバ、144 品質測定サーバ、150 PSTN、152 固定電話、154 携帯電話、164 迂回経路、166 迂回経路、168 迂回経路、174 迂回経路、176 迂回経路、178 迂回経路、182 収容装置、184 中継ルータ、186 GWルータ、188 収容装置、192 監視ルート、194 通話パス、200、202、204、206、208 ターミナルアダプタ、210 通信部、212 オフフック検出部、214 品質測定パケット送信部、216 応答受信部、218 経路品質測定部、220 履歴格納部、222 平均時間算出部、224 輻輳状態判定部、226 経路品質判定部、228 経路選択部、230 発呼部、232 着呼部、234 通話部、236 経路登録部、302、304、306、308 電話機、414、416、418、424、426、428 中継アダプタ、502 矢印、514、516、518、524、526、528 SBC、900 再送処理 10 telephone systems, 110 NGN, 112 NNI, 114 UNI, 116 UNI, 118 UNI, 120 NGN, 122 NNI, 124 UNI, 126 UNI, 128 UNI, 130 connected carrier network, 140 IP telephone service network, 142 SIP server, 144 Quality measurement server, 150 PSTN, 152 landline telephone, 154 mobile phone, 164 bypass route, 166 bypass route, 168 bypass route, 174 bypass route, 176 bypass route, 178 bypass route, 182 accommodation device, 184 relay router, 186 GW Router, 188 accommodation device, 192 monitoring route, 194 call path, 200, 202, 204, 206, 208 terminal adapter, 210 communication unit, 212 off-hook detection unit, 214 quality measurement packet transmission unit, 2 6 Response reception unit, 218 Route quality measurement unit, 220 History storage unit, 222 Average time calculation unit, 224 Congestion state determination unit, 226 Route quality determination unit, 228 Route selection unit, 230 Calling unit, 232 Calling unit, 234 Call unit, 236 Route registration unit, 302, 304, 306, 308 Telephone, 414, 416, 418, 424, 426, 428 Relay adapter, 502 arrow, 514, 516, 518, 524, 526, 528 SBC, 900 Retransmission processing

Claims (6)

第1通信経路を介して他の通信装置に品質測定パケットを送信することにより第1応答時間を測定し、前記第1通信経路を介して前記他の通信装置に品質測定パケットを送信する頻度よりも低い頻度で第2通信経路を介して前記他の通信装置に送信した品質測定パケットの第2応答時間を測定する経路品質測定部と、The frequency of measuring the first response time by transmitting a quality measurement packet to another communication device via the first communication path, and the frequency of transmitting the quality measurement packet to the other communication device via the first communication path. A path quality measurement unit that measures a second response time of a quality measurement packet transmitted to the other communication device via the second communication path at a low frequency;
前記経路品質測定部が測定した前記第1応答時間の履歴を格納する履歴格納部と、A history storage unit for storing a history of the first response time measured by the path quality measurement unit;
前記履歴格納部に格納された複数の前記第1応答時間の平均である第1平均応答時間を算出する平均応答時間算出部と、An average response time calculation unit that calculates a first average response time that is an average of the plurality of first response times stored in the history storage unit;
前記平均応答時間算出部によって算出された前記第1平均応答時間と前記経路品質測定部が新たに測定した第1応答時間とに基づいて、前記第1通信経路の輻輳状態を判定するとともに、前記第2応答時間に基づいて、前記第2通信経路の輻輳状態を判定する輻輳状態判定部と、Based on the first average response time calculated by the average response time calculation unit and the first response time newly measured by the path quality measurement unit, the congestion state of the first communication path is determined, and A congestion state determination unit that determines a congestion state of the second communication path based on a second response time;
を備える通信装置。A communication device comprising:
前記輻輳状態判定部は、前記経路品質測定部が新たに測定した前記第1応答時間が、前記第1平均応答時間に対して予め定められた時間より長い場合に、前記第1通信経路に輻輳が発生する前兆と判定する、請求項1に記載の通信装置。The congestion state determination unit is congested in the first communication path when the first response time newly measured by the path quality measurement unit is longer than a predetermined time with respect to the first average response time. The communication device according to claim 1, wherein the communication device is determined to be a precursor to occurrence of a fault. 前記輻輳状態判定部が判定した前記第1通信経路の輻輳状態が予め定められた基準を満たしているか否かを判定する経路品質判定部と、A path quality determination unit that determines whether or not the congestion state of the first communication path determined by the congestion state determination unit satisfies a predetermined criterion;
前記経路品質判定部により前記第1通信経路の輻輳状態が前記予め定められた基準を満たしていると判定された場合、前記第1通信経路を介して通信し、前記第1通信経路の輻輳状態が前記予め定められた基準を満たしていないと判定された場合、前記第2通信経路を介して通信する通信部とWhen it is determined by the path quality determination unit that the congestion state of the first communication path satisfies the predetermined criterion, communication is performed via the first communication path, and the congestion state of the first communication path A communication unit that communicates via the second communication path when it is determined that does not satisfy the predetermined criterion;
をさらに備える、請求項1又は2に記載の通信装置。The communication device according to claim 1, further comprising:
前記履歴格納部は、前記第2応答時間の履歴を格納し、The history storage unit stores a history of the second response time,
前記平均応答時間算出部は、前記履歴格納部に格納された前記第2応答時間の平均である第2平均応答時間を算出し、  The average response time calculation unit calculates a second average response time that is an average of the second response times stored in the history storage unit,
前記輻輳状態判定部は、前記平均応答時間算出部によって算出された前記第2平均応答時間と前記経路品質測定部が新たに測定した第2応答時間とに基づいて、前記第2通信経路の輻輳状態を判定し、The congestion state determination unit is configured to provide congestion of the second communication path based on the second average response time calculated by the average response time calculation unit and the second response time newly measured by the path quality measurement unit. Determine the state,
前記通信部は、前記第1通信経路の輻輳状態及び前記第2通信経路の輻輳状態に基づいて選択した前記第1通信経路又は前記第2通信経路を介して通信する、請求項3に記載の通信装置。4. The communication unit according to claim 3, wherein the communication unit communicates via the first communication path or the second communication path selected based on a congestion state of the first communication path and a congestion state of the second communication path. Communication device.
前記第1通信経路はNNI(Network−Network Interface)を経由する経路であり、前記第2通信経路はUNI(User−Network Interface)を経由する経路である、請求項1から4のいずれか1項に記載の通信装置。5. The device according to claim 1, wherein the first communication path is a path that passes through an NNI (Network-Network Interface), and the second communication path is a path that passes through a UNI (User-Network Interface). The communication apparatus as described in. コンピュータを、請求項1から5のいずれか1項に記載の通信装置として機能させるためのプログラム。The program for functioning a computer as a communication apparatus of any one of Claim 1 to 5.
JP2013112005A 2013-05-28 2013-05-28 Communication apparatus and program Active JP5859483B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013112005A JP5859483B2 (en) 2013-05-28 2013-05-28 Communication apparatus and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013112005A JP5859483B2 (en) 2013-05-28 2013-05-28 Communication apparatus and program

Publications (2)

Publication Number Publication Date
JP2014232937A JP2014232937A (en) 2014-12-11
JP5859483B2 true JP5859483B2 (en) 2016-02-10

Family

ID=52126106

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013112005A Active JP5859483B2 (en) 2013-05-28 2013-05-28 Communication apparatus and program

Country Status (1)

Country Link
JP (1) JP5859483B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200412503A (en) * 2002-05-31 2004-07-16 Softbank Corp Terminal adapter, connection controller and multi-function terminal phone
JP4341535B2 (en) * 2004-12-02 2009-10-07 沖電気工業株式会社 Network monitoring method and monitoring apparatus

Also Published As

Publication number Publication date
JP2014232937A (en) 2014-12-11

Similar Documents

Publication Publication Date Title
EP2932653B1 (en) Method and apparatus for augmenting twamp
CN111801915B (en) Techniques for efficient reordering of data packets in multipath scenarios
US7573825B2 (en) Methods, apparatus and computer program products for testing a voice over Internet protocol communication system
EP2374249B1 (en) Data rate control mechanism
CN101552703A (en) A method and device to measure service quality parameters and a method and device to judge service quality
US9032068B2 (en) Service assurance using network measurement triggers
JPWO2008023570A1 (en) Method for estimating quality degradation points on a network in a communication network system
JPWO2006090789A1 (en) Data communication system and data communication method
EP2740240A1 (en) Analysis of a communication event
CN104969516B (en) Calling clearing end in OTT networks
CA2633720A1 (en) A method and system for obtaining path maximum transfer unit in network
JP2008172655A (en) Network system, method and program for estimating communication quality deterioration zone
EP2079199A1 (en) Communication control device, radio communication device, communication control method, and radio communication method
US10652139B1 (en) Automatic communication network failure detection and remediation
US20220272008A1 (en) Sequential Packet Matching
WO2007094170A1 (en) Quality-degraded portion estimating device, quality-degraded portion estimating method, and quality-degraded portion estimating program
JP5859483B2 (en) Communication apparatus and program
JP5826792B2 (en) COMMUNICATION DEVICE, PROGRAM, AND COMMUNICATION SYSTEM
JP5135292B2 (en) IP telephone exchange and IP telephone system
JP4165335B2 (en) Delay time measuring device, jitter tolerance measuring device, and speech quality evaluation device using them
JP4325731B2 (en) Delay time measuring device, jitter tolerance measuring device, and speech quality evaluation device using them
JP4604915B2 (en) Test system, method and program
JPWO2015136870A1 (en) Communication path control device, communication path control system, storage medium storing communication path control program, and communication path control method

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150709

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20150729

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150804

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150910

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20151216

R150 Certificate of patent or registration of utility model

Ref document number: 5859483

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250