JP4724761B2 - Communication control device and program - Google Patents

Communication control device and program Download PDF

Info

Publication number
JP4724761B2
JP4724761B2 JP2009065960A JP2009065960A JP4724761B2 JP 4724761 B2 JP4724761 B2 JP 4724761B2 JP 2009065960 A JP2009065960 A JP 2009065960A JP 2009065960 A JP2009065960 A JP 2009065960A JP 4724761 B2 JP4724761 B2 JP 4724761B2
Authority
JP
Japan
Prior art keywords
terminal device
communication quality
communication
normal
quality measurement
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2009065960A
Other languages
Japanese (ja)
Other versions
JP2010220011A (en
Inventor
善徳 大田
伸彦 斎藤
一郎 中田
Original Assignee
株式会社エヌ・ティ・ティ ピー・シー コミュニケーションズ
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 株式会社エヌ・ティ・ティ ピー・シー コミュニケーションズ filed Critical 株式会社エヌ・ティ・ティ ピー・シー コミュニケーションズ
Priority to JP2009065960A priority Critical patent/JP4724761B2/en
Publication of JP2010220011A publication Critical patent/JP2010220011A/en
Application granted granted Critical
Publication of JP4724761B2 publication Critical patent/JP4724761B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、通信ネットワークの通信品質を測定し、当該通信品質に基づき、端末装置の通信ネットワークへの接続を制御する技術に関するものである。   The present invention relates to a technique for measuring communication quality of a communication network and controlling connection of a terminal device to the communication network based on the communication quality.

SIP(Session Initiation Protocol)に基づき呼接続制御を行うVoIP通信技術を用いたIP電話サービスが広く普及している。特に、近年では、無線LAN等の無線技術を用いた無線IP電話サービスが普及しつつある。   An IP telephone service using VoIP communication technology that performs call connection control based on SIP (Session Initiation Protocol) is widely used. In particular, in recent years, wireless IP telephone services using wireless technologies such as wireless LAN are becoming widespread.

このような無線IP電話サービスでは、サービスを利用しようとする端末装置は無線で無線アクセス装置にアクセスし、そこからSIPサーバ等への接続が行われる。ここで、無線通信に関わる区間の通信品質は、電波状況や無線アクセス装置にアクセスする端末装置の数等により変動し、有線区間に比べて安定していない。   In such a wireless IP telephone service, a terminal device that intends to use the service accesses the wireless access device wirelessly and connects to a SIP server or the like from there. Here, the communication quality of the section related to wireless communication varies depending on the radio wave condition, the number of terminal devices accessing the wireless access device, and the like, and is not stable compared to the wired section.

しかし、端末装置のユーザは、端末装置により実際に呼接続を行うまで通信品質が良いかどうかを把握することはできない。従って、例えば、端末装置のユーザは、通信品質の状況にかかわらず、まずは相手端末装置に電話をかける操作を行うが、通信品質の状況により、通話の途中で通信が切れたり、音声が途切れたりする場合が生じる。   However, the user of the terminal device cannot grasp whether or not the communication quality is good until the call connection is actually performed by the terminal device. Therefore, for example, the user of the terminal device first performs an operation to make a call to the other terminal device regardless of the communication quality status. However, depending on the communication quality status, communication may be interrupted or voice may be interrupted during the call. If you do.

このように通信品質にかかわらずに通話を開始してしまうことにより、ユーザが満足に通話を継続できない状況が発生するのみならず、ある程度良好に通話を行っていた他のユーザの通信品質に悪影響を及ぼす場合もある。   By starting a call regardless of the communication quality in this way, not only does the situation in which the user cannot satisfactorily continue the call occur, but it also adversely affects the communication quality of other users who have been making a good call May affect.

また、無線IP電話サービスで使用する端末装置は、一般に電池で動作するが、通信品質が悪くて通信を正常に行うことができないのに、呼接続のための処理を何度も行うことにより、電池を無駄に消費してしまうこともある。   In addition, although the terminal device used in the wireless IP telephone service generally operates on a battery, the communication quality is poor and communication cannot be performed normally, but by performing the process for call connection many times, The battery may be wasted.

なお、本願に関連する先行技術文献として、特許文献1がある。   In addition, there exists patent document 1 as a prior art document relevant to this application.

特開2007−208930号公報JP 2007-208930 A

端末装置による通話を行う前に通信品質に基づく接続可否を知ることができれば、通信品質が悪い場合に相手との呼接続を行わず、メール等の手段で通信を行うことなどが可能となり、上述したような他の端末装置への影響や電池の無駄な消費等の不都合は解消される。また、ユーザは、通話を行う場合にはいつも一定の良好な通話品質で相手との通話を行うことが可能となる。   If it is possible to know whether connection is possible based on communication quality before making a call with the terminal device, it is possible to communicate by means such as mail without performing call connection with the other party when the communication quality is poor. Such inconveniences such as influence on other terminal devices and wasteful consumption of batteries are eliminated. In addition, when a user makes a call, the user can always make a call with the other party with a certain good call quality.

しかし、従来技術において、通信品質を把握するには、端末装置から試験パケットを他の装置に送信してから、その応答を受信するまでの時間を計測する等の方法しかなく、この方法を用いたのではユーザの利便性が非常に低下してしまう。また、呼接続処理に関係のない品質測定・判定のためだけの処理により電池が消費されてしまうという問題もある。   However, in the prior art, in order to grasp the communication quality, there is only a method such as measuring the time from when the test packet is transmitted from the terminal device to another device until the response is received, and this method is used. If so, the convenience for the user will be greatly reduced. In addition, there is a problem that the battery is consumed by processing only for quality measurement / determination not related to call connection processing.

ところで、SIPに基づくIP電話では、端末装置が定期的に登録要求(REGISTERリクエスト)を呼制御装置(SIPサーバ)に送信することにより、呼制御装置における登録情報を継続的に維持している。通信ネットワークへの接続が頻繁に切れてしまう可能性がある悪い通信品質の状況では、登録要求をある程度短い時間間隔で送ることは、呼制御装置側で端末装置の位置情報(IPアドレス等)を常に把握して、常に発着信ともに接続可能な状態にしておける点で意味があるが、通信品質がよい場合は、端末装置は通信ネットワークへの接続を継続している蓋然性が高く、短い時間間隔で登録要求を行うことの意味はあまりなく、そのことにより無駄に電池を消費してしまったり、ネットワークリソースを無駄に消費してしまうという問題がある。   By the way, in an IP telephone based on SIP, a terminal device periodically transmits a registration request (REGISTER request) to a call control device (SIP server), thereby continuously maintaining registration information in the call control device. In bad communication quality situations where the connection to the communication network may be frequently lost, sending the registration request at a certain short time interval will cause the call control device to send the location information (IP address, etc.) of the terminal device. It is meaningful in that it can always be grasped and can be connected to both incoming and outgoing calls, but if the communication quality is good, the terminal device is likely to continue to connect to the communication network, and it is a short time interval. There is not much meaning to making a registration request at this point, which causes problems such as wasteful battery consumption and wasteful use of network resources.

なお、IP電話に使用されるインターネット等のIPネットワークの通信品質は、固定電話ネットワークに比べれば安定していないため、通信品質が良くない状況で通話が行われる等の上述した問題は、無線IP電話サービスに限らず、有線でIPネットワークに接続するIP電話サービスでも生じ得る問題である。   Note that the communication quality of IP networks such as the Internet used for IP telephones is not stable compared to fixed telephone networks. This is a problem that can occur not only with telephone services but also with IP telephone services that connect to IP networks by wire.

本発明は上記の点に鑑みてなされたものであり、端末装置から通信品質測定を行うことなく、通信ネットワークの通信品質に応じて端末装置の接続制御を行うとともに、端末装置が送信する無駄な登録要求を削減するための技術を提供することを目的とする。   The present invention has been made in view of the above points, and performs connection control of the terminal device according to the communication quality of the communication network without performing communication quality measurement from the terminal device, and is a wasteful transmission transmitted by the terminal device. The purpose is to provide a technique for reducing registration requests.

上記の課題を解決するために、本発明は、端末装置と通信ネットワークを介して接続される通信制御装置であって、前記端末装置から登録要求メッセージを受信したことに応じて、複数の試験パケットを前記端末装置に送信し、各々の試験パケットについて、試験パケットを送信してから応答パケットを受信するまでにかかる時間である往復遅延時間を測定し、当該往復遅延時間を通信品質情報格納手段に格納する通信品質測定手段と、前記通信品質情報格納手段に格納された複数の往復遅延時間と所定の基準値とを比較することにより、前記通信ネットワークの通信品質が正常か否かを判定する正常性判定手段と、前記正常性判定手段により、前記通信品質が正常でないと判定された場合に、通信品質測定結果の履歴に応じて、前記通信制御装置において前記端末装置と他の端末装置との接続をできない状態とするか、又は、所定の期間だけ前記端末装置と他の端末装置との接続をできる状態とするように接続制御を行う接続制御手段と、を備えたことを特徴とする通信制御装置として構成される。   In order to solve the above-described problem, the present invention provides a communication control device connected to a terminal device via a communication network, and a plurality of test packets in response to receiving a registration request message from the terminal device. Is transmitted to the terminal device, and for each test packet, a round-trip delay time, which is a time taken from transmitting the test packet to receiving a response packet, is measured, and the round-trip delay time is stored in the communication quality information storage means. The communication quality measuring means to be stored and the normality for determining whether or not the communication quality of the communication network is normal by comparing a plurality of round trip delay times stored in the communication quality information storage means with a predetermined reference value If the communication quality is determined not normal by the normality determination means and the normality determination means, the communication control is performed according to the history of the communication quality measurement result. Connection control for controlling connection so that the terminal device cannot be connected to another terminal device, or the terminal device can be connected to another terminal device for a predetermined period. And a communication control device.

前記通信品質測定結果の履歴は、前記通信品質測定手段によりなされる今回の通信品質測定の直前の通信品質測定結果であり、前記接続制御手段は、前記直前の通信品質測定結果に基づく正常性判定の結果が正常でない場合に、前記端末装置と他の端末装置との接続をできない状態とし、前記直前の通信品質測定結果に基づく正常性判定の結果が正常である場合に、所定の期間だけ前記端末装置と他の端末装置との接続をできる状態とするように接続制御を行うこととしてもよい。   The history of the communication quality measurement result is a communication quality measurement result immediately before the current communication quality measurement performed by the communication quality measurement unit, and the connection control unit determines normality based on the previous communication quality measurement result. When the result of is not normal, the terminal device and the other terminal device can not be connected, and when the result of the normality determination based on the previous communication quality measurement result is normal, the predetermined time period Connection control may be performed so that the terminal device can be connected to another terminal device.

また、前記端末装置と他の端末装置との接続をできない状態とするために、前記接続制御手段が前記登録要求メッセージに基づく登録処理を行わないこととし、前記所定の期間だけ前記端末装置と他の端末装置との接続をできる状態とするために、前記接続制御手段が前記登録要求メッセージに基づく登録処理における登録情報の有効期間を前記所定の期間に設定することとしてもよい。   Further, in order to make the connection between the terminal device and another terminal device incapable of being connected, the connection control means does not perform registration processing based on the registration request message, and the terminal device and the other device are only connected for the predetermined period. The connection control means may set the valid period of the registration information in the registration process based on the registration request message to the predetermined period so that the terminal apparatus can be connected to the terminal apparatus.

前記正常性判定手段により、前記今回の通信品質が正常であると判定され、更に、前記直前の通信品質測定結果に基づく正常性判定の結果が正常である場合に、前記接続制御手段は、直前の通信品質測定結果に基づく正常性判定に基づき設定された登録情報の有効期間よりも長い有効期間を、前記登録要求メッセージに基づく登録処理における登録情報の有効期間とすることとしてもよい。   When the normality determination means determines that the current communication quality is normal, and the normality determination result based on the previous communication quality measurement result is normal, the connection control means The validity period longer than the validity period of the registration information set based on the normality determination based on the communication quality measurement result may be set as the validity period of the registration information in the registration process based on the registration request message.

本発明によれば、端末装置から通信品質測定を行うことなく、通信ネットワークの通信品質に応じて端末装置の接続制御を行うことが可能となる。また、通信品質が連続して正常である場合に、登録情報の有効期間を増加させることとしたので、端末装置が送信する無駄な登録要求を削減することが可能となる。   ADVANTAGE OF THE INVENTION According to this invention, it becomes possible to perform connection control of a terminal device according to the communication quality of a communication network, without measuring communication quality from a terminal device. Further, when the communication quality is continuously normal, the valid period of the registration information is increased, so that useless registration requests transmitted by the terminal device can be reduced.

本発明の実施の形態に係るシステムの構成図である。1 is a configuration diagram of a system according to an embodiment of the present invention. 通信制御装置1の機能構成図である。2 is a functional configuration diagram of a communication control device 1. FIG. 通信品質測定結果格納部14が格納する情報の一例を示す図である。It is a figure which shows an example of the information which the communication quality measurement result storage part 14 stores. システムの動作例を説明するためのシーケンス図である。It is a sequence diagram for demonstrating the operation example of a system. システムの動作例を説明するためのシーケンス図である。It is a sequence diagram for demonstrating the operation example of a system. システムの動作例を説明するためのシーケンス図である。It is a sequence diagram for demonstrating the operation example of a system. 各状態の意味を示す図である。It is a figure which shows the meaning of each state. 状態遷移図である。It is a state transition diagram. 通信制御装置1の動作を説明するためのフローチャートである。3 is a flowchart for explaining the operation of the communication control apparatus 1; 通信制御装置1の動作を説明するためのフローチャートである。3 is a flowchart for explaining the operation of the communication control apparatus 1;

以下、図面を参照して本発明の実施の形態を説明する。
(システムの構成)
図1に、本発明の実施の形態に係るシステムの構成図を示す。図1に示すように、本実施の形態のシステムは、通信制御装置1と端末装置2とを備え、これらがインターネット等の通信ネットワーク3に接続されて構成されている。もちろん、図示してはいないが、端末装置2の接続相手となる多数の他の端末装置が通信ネットワーク3に接続されている。
Embodiments of the present invention will be described below with reference to the drawings.
(System configuration)
FIG. 1 shows a configuration diagram of a system according to an embodiment of the present invention. As shown in FIG. 1, the system according to the present embodiment includes a communication control device 1 and a terminal device 2, which are connected to a communication network 3 such as the Internet. Of course, although not shown in the figure, many other terminal devices to which the terminal device 2 is connected are connected to the communication network 3.

端末装置2の通信ネットワーク3への接続形態は特に限定されるわけではないが、本実施の形態においては、端末装置2は無線で通信ネットワーク3に接続され、端末装置2は移動可能ないわゆるモバイル端末であり、電池で電力が供給されるものとする。   Although the connection form of the terminal device 2 to the communication network 3 is not particularly limited, in the present embodiment, the terminal device 2 is connected to the communication network 3 wirelessly, and the terminal device 2 is mobile so-called mobile. A terminal is assumed to be supplied with power by a battery.

また、端末装置2は、SIPに基づき呼接続を行ってVoIP通信を行う機能とともに、ICMP(Internet Control Message Protocol)エコーリクエストを受信してICMPエコーリプライを返信する機能を備えている。これらの機能は、VoIP通信を行うための端末装置が一般的に備えている機能である。   The terminal device 2 has a function of performing call connection based on SIP and performing VoIP communication, and a function of receiving an ICMP (Internet Control Message Protocol) echo request and returning an ICMP echo reply. These functions are functions that a terminal device for performing VoIP communication generally has.

通信制御装置1は、SIPに基づく呼制御通信を行うとともに、端末装置2と通信制御装置1間の通信ネットワークの通信品質に基づき、端末装置2に対する接続制御を行う機能を備えた装置である。図2に通信制御装置1の機能構成図を示す。   The communication control device 1 is a device having a function of performing call control communication based on SIP and performing connection control for the terminal device 2 based on the communication quality of the communication network between the terminal device 2 and the communication control device 1. FIG. 2 shows a functional configuration diagram of the communication control device 1.

図2に示すように、通信制御装置1は、データ通信部11、SIP通信部12、端末装置接続制御部13、及び通信品質測定結果格納部14を有する。データ通信部11は、通信ネットワーク3を介してデータ通信を行う機能部である。   As illustrated in FIG. 2, the communication control device 1 includes a data communication unit 11, a SIP communication unit 12, a terminal device connection control unit 13, and a communication quality measurement result storage unit 14. The data communication unit 11 is a functional unit that performs data communication via the communication network 3.

SIP通信部12は、SIPに基づく呼制御通信を行う機能部であり、登録処理部15を含む。登録処理部15は、SIPに基づく登録処理を行う機能部であり、端末装置2から登録要求(REGISTERリクエスト)を受信して、バインディング情報(名前等の端末識別情報とアドレス情報との組)を記憶手段に格納し、応答を返す等の処理を行う。SIP通信部11は、ダイジェスト認証等の認証機能も備える。   The SIP communication unit 12 is a functional unit that performs call control communication based on SIP, and includes a registration processing unit 15. The registration processing unit 15 is a functional unit that performs registration processing based on SIP, receives a registration request (REGISTER request) from the terminal device 2, and receives binding information (a set of terminal identification information such as name and address information). Processing such as storing in the storage means and returning a response is performed. The SIP communication unit 11 also has an authentication function such as digest authentication.

端末装置接続制御部13は、通信品質測定部16と接続制御部17とを有する。通信品質測定部16は、接続制御部17からの指示に基づき、ICMPエコーリクエストを端末装置2に送信し、端末装置2から返されるICMPエコーリプライを受信することにより、ICMPエコーリクエスト送信時刻からICMPエコーリプライ受信時刻までの時間(RTT:Round Trip Timeと呼ぶ)を測定し、それを通信品質測定結果として通信品質測定結果格納部14に格納する機能部である。接続制御部からの指示に基づく通信品質測定は、複数回連続的に行われる。   The terminal device connection control unit 13 includes a communication quality measurement unit 16 and a connection control unit 17. Based on the instruction from the connection control unit 17, the communication quality measuring unit 16 transmits an ICMP echo request to the terminal device 2, and receives an ICMP echo reply returned from the terminal device 2, so that the ICMP echo request transmission time starts from the ICMP echo request transmission time. It is a functional unit that measures the time until the echo reply reception time (referred to as RTT: Round Trip Time) and stores it in the communication quality measurement result storage unit 14 as a communication quality measurement result. Communication quality measurement based on an instruction from the connection control unit is continuously performed a plurality of times.

接続制御部17は、通信品質測定結果等に基づき通信品質の正常性を判定する機能を有するとともに、現在の状態を管理し、その状態に対応した処理を行うように登録処理部15や通信品質測定部16を制御する機能部である。接続制御部17は、状態格納手段を有しており、当該状態格納手段に端末識別情報と状態とを格納し、状態格納手段から状態を読み出して当該状態に基づき制御を行うとともに、状態を変更したときには、変更後の状態で状態格納手段に格納された状態を更新する。   The connection control unit 17 has a function of determining the normality of the communication quality based on the communication quality measurement result and the like, manages the current state, and performs processing corresponding to the state so that the registration processing unit 15 and the communication quality This is a functional unit that controls the measurement unit 16. The connection control unit 17 has state storage means, stores the terminal identification information and the state in the state storage means, reads the state from the state storage means, performs control based on the state, and changes the state If so, the state stored in the state storage means is updated with the changed state.

図3に、通信品質測定結果格納部14が格納する情報の一例を示す。図3に示すように、通信品質測定結果格納部14は、端末識別情報、通信品質測定時刻、及び通信品質測定結果を対応付けて格納する。   FIG. 3 shows an example of information stored in the communication quality measurement result storage unit 14. As illustrated in FIG. 3, the communication quality measurement result storage unit 14 stores terminal identification information, a communication quality measurement time, and a communication quality measurement result in association with each other.

通信品質測定結果格納部14は、通信制御装置1の中に備える必要はなく、例えば、通信ネットワーク3に接続されたデータベースサーバとして実現してもよい。また、通信品質測定結果格納部14に格納された情報を通信ネットワーク3を介して外部に提供したり、外部からアクセス可能としてもよい。   The communication quality measurement result storage unit 14 does not need to be provided in the communication control device 1 and may be realized as a database server connected to the communication network 3, for example. Further, the information stored in the communication quality measurement result storage unit 14 may be provided to the outside via the communication network 3, or may be accessible from the outside.

通信制御装置1は、上述した機能を実現するためのプログラムを、CPUやメモリ等の記憶手段を有するコンピュータに搭載することにより実現されるものである。当該プログラムは、可搬メモリ等の記憶媒体に格納し、当該記憶媒体からコンピュータにインストールすることが可能である。   The communication control device 1 is realized by installing a program for realizing the above-described functions in a computer having storage means such as a CPU and a memory. The program can be stored in a storage medium such as a portable memory, and can be installed in the computer from the storage medium.

例えば、当該プログラムは、コンピュータを、端末装置2から登録要求メッセージを受信したことに応じて、複数の試験パケットを前記端末装置2に送信し、各々の試験パケットについて、試験パケットを送信してから応答パケットを受信するまでにかかる時間である往復遅延時間を測定し、当該往復遅延時間を通信品質情報格納手段に格納する通信品質測定手段、前記通信品質情報格納手段に格納された複数の往復遅延時間と所定の基準値とを比較することにより、前記通信ネットワークの通信品質が正常か否かを判定する正常性判定手段、前記正常性判定手段により、前記通信品質が正常でないと判定された場合に、通信品質測定結果の履歴に応じて、前記端末装置2と他の端末装置との接続をできない状態とするか、又は、所定の期間だけ前記端末装置2と他の端末装置との接続をできる状態とするように接続制御を行う接続制御手段、として機能させるためのプログラムとして構成できる。   For example, the program transmits a plurality of test packets to the terminal device 2 in response to receiving a registration request message from the terminal device 2, and transmits a test packet for each test packet. A communication quality measuring means for measuring a round-trip delay time which is a time taken to receive a response packet, and storing the round-trip delay time in the communication quality information storage means; a plurality of round-trip delays stored in the communication quality information storage means When the communication quality is determined to be not normal by the normality determining means for determining whether the communication quality of the communication network is normal or not by comparing the time with a predetermined reference value In addition, depending on the history of the communication quality measurement result, the terminal device 2 cannot be connected to another terminal device, or a predetermined period Only it is configured as a program for causing the terminal device 2 and the other connection control means for connecting the control to a state capable of a connection between the terminal device function as a.

なお、通信制御装置1の中の機能部に関しては、図2に示した構成に限るわけではない。以下で説明する端末装置2に対する処理動作を実現できる構成であればどのような機能構成を有していてもよい。   The functional unit in the communication control device 1 is not limited to the configuration shown in FIG. Any functional configuration may be used as long as the processing operation for the terminal device 2 described below can be realized.

(システムの動作)
以下、図4〜図6に示すシーケンス図を参照して本実施の形態に係るシステムの動作例を説明する。各図においては、動作を分かりやすく示すために、通信品質測定結果格納部14を通信制御装置1の外部に示している。また、以下で説明する各シーケンス図において、右側に示される"状態"は、通信制御装置1において管理される状態であり、この状態に基づき動作制御が行われるが、"状態"がどのように使用されるかに関しては、シーケンス図の説明の後に詳細に説明することにする。また、以下で説明する処理において、認証用ヘッダ(authorization header)を用いた認証処理が行われるが、この認証処理については常に成功しているものとする。
(System operation)
Hereinafter, an operation example of the system according to the present embodiment will be described with reference to the sequence diagrams shown in FIGS. In each figure, the communication quality measurement result storage unit 14 is shown outside the communication control device 1 for easy understanding of the operation. Further, in each sequence diagram described below, the “state” shown on the right side is a state managed by the communication control apparatus 1 and operation control is performed based on this state. Whether it is used will be described in detail after the description of the sequence diagram. In the process described below, an authentication process using an authentication header is performed, and it is assumed that this authentication process is always successful.

まず、図4を参照して、通信品質の正常性判定結果が正常である場合のシステムの動作例を説明する。   First, an example of the operation of the system when the normality determination result of communication quality is normal will be described with reference to FIG.

まず、端末装置2が認証用ヘッダを含まない最初の(再送でない)REGISTERリクエストを通信制御装置1に送信する(ステップ1)。通信制御装置1では、登録処理部15がREGISTERリクエストを受信し、当該REGISTERリクエストは接続制御部17に渡される。   First, the terminal device 2 transmits an initial (non-retransmit) REGISTER request that does not include an authentication header to the communication control device 1 (step 1). In the communication control device 1, the registration processing unit 15 receives the REGISTER request, and the REGISTER request is passed to the connection control unit 17.

接続制御部17は、当該REGISTERリクエストが認証用ヘッダを含まない最初のREGISTERリクエストであることを識別し、登録処理部15に対して当該REGISTERリクエストを廃棄するよう指示するとともに、通信品質測定部16に通信品質測定を行うよう指示する。これにより、登録処理部15は、当該REGISTERリクエストに対する応答等の処理を行わずに当該REGISTERリクエストを廃棄する。   The connection control unit 17 identifies that the REGISTER request is the first REGISTER request that does not include the authentication header, instructs the registration processing unit 15 to discard the REGISTER request, and communicates with the communication quality measurement unit 16. Is instructed to perform communication quality measurement. Accordingly, the registration processing unit 15 discards the REGISTER request without performing processing such as a response to the REGISTER request.

また、通信品質測定部16は通信品質測定を行う。具体的には、まず通信品質測定部16は、REGISTERリクエストの送信元である端末装置2に対して複数回ICMPエコーリクエストを送信する(ステップ2)。ICMPエコーリクエストを送信する回数は特定の値に限定されるわけではないが、本実施の形態では3回送信するものとする。一度の通信品質測定で、複数のICMP送受信を行い、複数のRTTを用いて判定を行うことにより、瞬間的なバーストエラーに惑わされることなく適切な判定を行うことができる。   The communication quality measuring unit 16 performs communication quality measurement. Specifically, first, the communication quality measurement unit 16 transmits an ICMP echo request a plurality of times to the terminal device 2 that is the transmission source of the REGISTER request (step 2). The number of times the ICMP echo request is transmitted is not limited to a specific value, but is assumed to be transmitted three times in the present embodiment. By performing a plurality of ICMP transmission / receptions and performing a determination using a plurality of RTTs in one communication quality measurement, an appropriate determination can be made without being confused by an instantaneous burst error.

端末装置2は、ICMPエコーリクエストに対する応答であるICMPエコーリプライを送信し、通信品質測定部16が当該ICMPエコーリプライを受信する(ステップ3)。また、各ICMPエコーリクエストに関して、通信品質測定部16は、ICMPエコーリクエストを送信してから当該ICMPエコーリクエストに対応するICMPエコーリプライを受信するまでの時間(RTT)を算出し、RTT、測定時刻(最後のICMPエコーリプライを受信した時刻等)、及び、端末装置2の端末識別情報を対応付けて通信品質測定結果格納部14に格納する(ステップ4)。なお、端末識別情報はREGISTERリクエスト内に含まれている情報であり、この端末識別情報を用いることにより、特定の端末装置の通信品質測定結果(RTT)を参照できる。   The terminal device 2 transmits an ICMP echo reply that is a response to the ICMP echo request, and the communication quality measuring unit 16 receives the ICMP echo reply (step 3). In addition, for each ICMP echo request, the communication quality measurement unit 16 calculates a time (RTT) from when the ICMP echo request is transmitted until the ICMP echo reply corresponding to the ICMP echo request is received, RTT, and measurement time. (The time when the last ICMP echo reply was received) and the terminal identification information of the terminal device 2 are associated with each other and stored in the communication quality measurement result storage unit 14 (step 4). The terminal identification information is information included in the REGISTER request, and the communication quality measurement result (RTT) of a specific terminal device can be referred to by using this terminal identification information.

その後、端末装置2は、認証用ヘッダが付されていないREGISTERリクエストを再送し(ステップ5)、通信制御装置1の登録処理部15は当該REGISTERリクエストを受信し、接続制御部17に通知する。接続制御部17は、当該REGISTERリクエストが、認証用ヘッダのない再送に係るREGISTERリクエストであることを識別し、通信品質測定結果格納部14に格納されている端末装置2の複数個(本実施形態では3つ)のRTTを取得する(ステップ6)。   After that, the terminal device 2 retransmits the REGISTER request without the authentication header (step 5), and the registration processing unit 15 of the communication control device 1 receives the REGISTER request and notifies the connection control unit 17 of it. The connection control unit 17 identifies that the REGISTER request is a REGISTER request related to retransmission without an authentication header, and a plurality of terminal devices 2 stored in the communication quality measurement result storage unit 14 (this embodiment) Then, three RTTs are acquired (step 6).

そして、通信品質測定結果格納部14は、所定の基準値と各RTTとを比較し、複数個のRTTの中に、基準値より小さいRTTが少なくとも1つあるかどうかを判断することにより、通信品質の正常性判定を行う。本実施の形態では、複数個のRTTの中に、基準値より小さいRTTが少なくとも1つある場合に通信品質が正常であると判断している。   Then, the communication quality measurement result storage unit 14 compares a predetermined reference value with each RTT, and determines whether there is at least one RTT smaller than the reference value among the plurality of RTTs. Perform quality normality judgment. In the present embodiment, it is determined that the communication quality is normal when there is at least one RTT smaller than the reference value among a plurality of RTTs.

本例では、複数個のRTTの中に、基準値より小さいRTTが少なくとも1つあり、接続制御部17は、通信品質は正常であると判定し、この時点での応答である401レスポンスを返すよう登録処理部15に指示する。なお、本実施の形態に係るREGISTERリクエストとレスポンスの送受信手順は、ダイジェスト認証を行う場合の手順に基づくものである。   In this example, there is at least one RTT smaller than the reference value among a plurality of RTTs, and the connection control unit 17 determines that the communication quality is normal, and returns a 401 response that is a response at this time. The registration processing unit 15 is instructed. The transmission / reception procedure of the REGISTER request and response according to the present embodiment is based on the procedure for performing digest authentication.

登録処理部15から401レスポンスが端末装置2に送信されると(ステップ7)、端末装置2は、認証用ヘッダを含むREGISTERリクエストを通信制御装置1に送信する(ステップ8)。当該REGISTERリクエストを受信した通信制御装置1では、上記と同様にしてRTTを参照することにより通信品質の判定がなされ、正常であると判断され、200OKレスポンスが端末装置2に返される(ステップ9、10)。なお、ステップ9に係る正常性判定処理を行わなくてもよい。   When a 401 response is transmitted from the registration processing unit 15 to the terminal device 2 (step 7), the terminal device 2 transmits a REGISTER request including an authentication header to the communication control device 1 (step 8). In the communication control apparatus 1 that has received the REGISTER request, the communication quality is determined by referring to the RTT in the same manner as described above, and is determined to be normal, and a 200 OK response is returned to the terminal apparatus 2 (step 9, 10). Note that the normality determination process according to step 9 may not be performed.

その後、例えば、端末装置2が通話を行うのであれば端末装置2からINVITEが発信され、相手端末装置との呼接続、切断が行われることになる。   Thereafter, for example, if the terminal device 2 makes a call, an INVITE is transmitted from the terminal device 2, and the call connection and disconnection with the counterpart terminal device are performed.

図4の例では、REGISTERの有効期限が経過した後、端末装置2から新しいトランザクションの認証用ヘッダが付されたREGISTERリクエストが通信制御装置1に送られる(ステップ11)。当該REGISTERリクエストを受信した通信制御装置1において、接続制御部17が、当該REGISTERリクエストは(新たなトランザクションでの)最初の認証用ヘッダを含んだREGISTERリクエストであることを識別し、登録処理部15に401レスポンスを返させる(ステップ12)。   In the example of FIG. 4, after the validity period of REGISTER has elapsed, a REGISTER request with a new transaction authentication header attached is sent from the terminal device 2 to the communication control device 1 (step 11). In the communication control device 1 that has received the REGISTER request, the connection control unit 17 identifies that the REGISTER request is a REGISTER request including the first authentication header (in a new transaction), and the registration processing unit 15 401 is returned (step 12).

更に、当該REGISTERリクエストは最初のREGISTERリクエストであるから、接続制御部17は、通信品質測定部16に対して通信品質測定を行うよう指示する。通信品質測定部16は、ステップ2、3と同様にして通信品質測定を行い、測定結果である複数個のRTTを通信品質測定結果格納部14に格納する(ステップ13〜15)。   Further, since the REGISTER request is the first REGISTER request, the connection control unit 17 instructs the communication quality measurement unit 16 to perform communication quality measurement. The communication quality measurement unit 16 performs communication quality measurement in the same manner as steps 2 and 3, and stores a plurality of RTTs as measurement results in the communication quality measurement result storage unit 14 (steps 13 to 15).

そして、通信制御装置1が、端末装置2から再送された認証用ヘッダ付きのREGISTERリクエストを受信すると(ステップ16)、接続制御部17は通信品質測定結果格納部14を参照することにより、RTTを取得し、通信品質の正常性の判定を行う(ステップ17)。ここでは、正常であると判定され、接続制御部17による指示に基づき、登録処理部15は、200OKを端末装置2に返す(ステップ18)。   Then, when the communication control device 1 receives the REGISTER request with the authentication header retransmitted from the terminal device 2 (step 16), the connection control unit 17 refers to the communication quality measurement result storage unit 14 to determine the RTT. Obtaining and determining the normality of the communication quality (step 17). Here, it is determined to be normal, and the registration processing unit 15 returns 200 OK to the terminal device 2 based on the instruction from the connection control unit 17 (step 18).

図4の例では、直前の通信品質測定結果での正常性判定結果が"正常"であり、それに続く通信品質測定結果であるステップ15における通信品質測定結果での正常性判定結果も"正常"である。このように、"正常"の判定結果が得られた通信品質測定の次に行う通信品質測定における正常性判定結果が"正常"である場合、本実施の形態では、接続制御部17からの指示に基づき、通信制御装置1における登録処理部15は、上記次の正常性判定の契機となるREGISTERリクエストに係るバインディング情報の保持期間(Expiration time)(次の保持期間)を、前の正常性判定の契機となるREGISTERリクエストに係るバインディング情報の保持期間(前の保持期間)よりも増加させる。そして、増加させた保持期間を含む200OKレスポンスを端末装置2に返す。更に、次に通信品質測定を行って、正常性判定結果が正常であれば、その前の保持期間より保持期間を増加させる。   In the example of FIG. 4, the normality determination result in the immediately previous communication quality measurement result is “normal”, and the normality determination result in the communication quality measurement result in step 15 which is the subsequent communication quality measurement result is also “normal”. It is. As described above, when the normality determination result in the communication quality measurement performed after the communication quality measurement in which the determination result of “normal” is obtained is “normal”, in the present embodiment, an instruction from the connection control unit 17 Based on the above, the registration processing unit 15 in the communication control apparatus 1 sets the previous normality determination to the binding information holding period (expiration time) (next holding period) related to the REGISTER request that triggers the next normality determination. It is increased from the retention period of the binding information related to the REGISTER request (previous retention period). Then, a 200 OK response including the increased retention period is returned to the terminal device 2. Further, the communication quality is measured next, and if the normality determination result is normal, the retention period is increased from the previous retention period.

つまり、連続して正常性判定結果が正常であれば、保持期間を前回のものより増加させていく。ただし、増加させた保持期間が予め定めた最大値に達したら、その保持期間は当該最大値とし、それ以降は増加させない。増加させる量としては、例えば、次の保持期間を、前の保持期間の2倍にする。また、正常性判定結果が正常であった次の回の正常性判定で、正常と判定されなかった場合、その時点で保持期間として初期値が設定される。   That is, if the normality determination result is normal continuously, the retention period is increased from the previous one. However, when the increased holding period reaches a predetermined maximum value, the holding period is set to the maximum value and is not increased thereafter. As an amount to be increased, for example, the next holding period is doubled from the previous holding period. If the normality determination result is not normal in the next normality determination, the initial value is set as the holding period at that time.

このように、正常な状態が続く場合に保持期間を増加させることにより、端末装置2からの無駄なREGISTERリクエスト送信を削減でき、ネットワークリソースの無駄な使用を削減できるとともに端末装置2の消費電力を削減できる。   In this way, by increasing the holding period when the normal state continues, it is possible to reduce unnecessary REGISTER request transmission from the terminal device 2, reduce unnecessary use of network resources, and reduce the power consumption of the terminal device 2. Can be reduced.

なお、"直前"の通信品質測定結果は、通信品質測定結果格納部14に格納された測定時刻を参照することにより決定できる。また、直前の通信品質測定結果での正常性判定結果については、直前の通信品質測定結果を用いて基準値との比較を行って得てもよいし、各回の正常性判定結果を測定時刻とともに通信品質測定結果格納部14に格納しておき、それを読み出すこととしてもよい。   The “immediately preceding” communication quality measurement result can be determined by referring to the measurement time stored in the communication quality measurement result storage unit 14. In addition, the normality determination result in the previous communication quality measurement result may be obtained by comparing with the reference value using the previous communication quality measurement result, or the normality determination result of each time together with the measurement time It may be stored in the communication quality measurement result storage unit 14 and read out.

次に、"正常"でない正常性判定結果が得られる場合を含むシーケンスの第1の例(注意・一時利用可能状態となる例)を図5を参照して説明する。図5に示す例において、最初のREGISTERリクエスト受信の直前における正常性性判定結果は正常であったものとする。   Next, a first example of a sequence including a case where a normality determination result that is not “normal” is obtained (an example in which a caution / temporary use is possible) will be described with reference to FIG. In the example shown in FIG. 5, it is assumed that the normality determination result immediately before receiving the first REGISTER request is normal.

図5において、図4のステップ1〜ステップ4と同様にして通信品質測定、及び正常性判定が実施される。そして、図5の例では、正常性判定において、3つのRTTの全てが基準値より大きく、正常性判定において"異常"と判定される(ステップ21に係る判定)。   In FIG. 5, the communication quality measurement and the normality determination are performed in the same manner as in Step 1 to Step 4 of FIG. In the example of FIG. 5, all three RTTs are larger than the reference value in the normality determination, and “abnormal” is determined in the normality determination (determination related to step 21).

図5の例では、今回の正常性判定の直前に行われた正常性判定の結果が正常であり、接続制御部17は、通信品質測定結果格納部14を参照することにより、直前に行われた正常性判定の結果が正常であることを把握する。   In the example of FIG. 5, the result of the normality determination performed immediately before the normality determination of this time is normal, and the connection control unit 17 is performed immediately before by referring to the communication quality measurement result storage unit 14. Grasping that the result of normality judgment is normal.

本実施の形態では、今回の正常性判定において異常であっても、直前の正常性判定が正常である場合、接続制御部17の指示により、登録処理部15は保持期間として予め定めた期間(例えば、初期値より短い期間)を設定し、登録情報(バインディング情報)の保持、端末装置2への応答等、端末装置2が他の端末装置と通信を行うことを可能にするための処理を行う。   In the present embodiment, even if there is an abnormality in the current normality determination, if the previous normality determination is normal, the registration processing unit 15 instructs the registration processing unit 15 to set a predetermined period ( For example, processing for enabling the terminal device 2 to communicate with other terminal devices, such as setting a period shorter than the initial value), holding registration information (binding information), and responding to the terminal device 2 Do.

つまり、異常と判定された後でも、図4のステップ7、8と同様にステップ22〜25の処理が行われる。ステップ25の200OKレスポンスに含まれる保持期間は、上記の例えば初期値より短い期間である。この後、例えば、INVITEの送受信(ステップ26、27)を得て、通話が行われることになる。ただし、図5の例では、保持期間が短く設定されておいるため、短い時間間隔でREGISTERリクエストの送信(ステップ1からの処理)が行われることになる。   That is, even after it is determined to be abnormal, the processes of steps 22 to 25 are performed in the same manner as steps 7 and 8 of FIG. The holding period included in the 200 OK response of step 25 is a period shorter than the above-described initial value, for example. Thereafter, for example, INVITE transmission / reception (steps 26 and 27) is obtained and a call is performed. However, in the example of FIG. 5, since the holding period is set short, the REGISTER request is transmitted (processing from step 1) at short time intervals.

今回の判定で異常である場合でも、前回の判定で正常である場合は、今回の異常がバースト的、一時的なものである可能性が高い。従って、本例のように接続を許容することにより、ユーザへの利便性が高まる。   Even if the current determination is abnormal, if it is normal in the previous determination, there is a high possibility that the current abnormality is bursty or temporary. Therefore, by allowing the connection as in this example, convenience for the user is enhanced.

次に、"正常"でない正常性判定結果が得られる場合を含むシーケンスの第2の例(エラー・一時利用不可能状態となる例)を図6を参照して説明する。図6に示す例において、最初のREGISTERリクエスト受信の直前における正常性判定結果は"異常"であったものとする。   Next, a second example of a sequence including a case where a normality determination result that is not “normal” is obtained (an example of an error / temporary unusable state) will be described with reference to FIG. In the example illustrated in FIG. 6, it is assumed that the normality determination result immediately before receiving the first REGISTER request is “abnormal”.

図6において、図4のステップ1〜ステップ4と同様にして通信品質測定、及び正常性判定が実施される。そして、図6の例では、正常性判定において、3つのRTTの全てが基準値より大きく、正常性判定において異常と判定される(ステップ32に係る判定)。   In FIG. 6, communication quality measurement and normality determination are performed in the same manner as in Step 1 to Step 4 of FIG. In the example of FIG. 6, all three RTTs are larger than the reference value in the normality determination, and are determined as abnormal in the normality determination (determination related to step 32).

図6の例では、今回の正常性判定の直前に行われた正常性判定の結果が異常であり、接続制御部17は、通信品質測定結果格納部14を参照することにより、直前に行われた正常性判定の結果が異常であることを把握する。本実施の形態では、直前の正常性判定が異常であり、それに続く今回の正常性判定も異常である場合、接続制御部17の指示により、登録処理部15は端末装置2から再送されてくる同じトランザクションのREGISTERリクエストに対する応答処理、登録処理や、認証のための処理を行わない(無視する)(ステップ33〜36)。   In the example of FIG. 6, the result of the normality determination performed immediately before the normality determination of this time is abnormal, and the connection control unit 17 refers to the communication quality measurement result storage unit 14 and is performed immediately before. Grasp that the result of normality judgment is abnormal. In the present embodiment, when the previous normality determination is abnormal and the subsequent normality determination is also abnormal, the registration processing unit 15 is retransmitted from the terminal device 2 according to an instruction from the connection control unit 17. Response processing, registration processing, and authentication processing for the REGISTER request of the same transaction are not performed (ignored) (steps 33 to 36).

従って、通信制御装置1がその後にINVITEリクエストを受信しても(ステップ37)、INVITEリクエストに係る正常な処理は行われず、一時的に利用不可を示す480レスポンスを返す(ステップ38)。   Therefore, even if the communication control device 1 subsequently receives an INVITE request (step 37), normal processing related to the INVITE request is not performed, and a 480 response indicating that the communication is temporarily unavailable is returned (step 38).

連続して異常な通信品質である場合は、すぐに通信品質が改善する可能性が低いため、本例のように接続を不許可としている。これにより、無駄な電力消費や他の端末装置への悪影響等を防止できる。   When the communication quality is continuously abnormal, the possibility that the communication quality is improved immediately is low, and thus the connection is not permitted as in this example. This can prevent wasteful power consumption, adverse effects on other terminal devices, and the like.

なお、この後、新たなトランザクションにて、REGISTERリクエストが端末装置2から通信制御装置1に送られ、通信品質測定が行われ、正常性判定結果が正常である場合は、図5に示す注意・一次利用可能状態の処理が行われることになる。   After this, in a new transaction, a REGISTER request is sent from the terminal device 2 to the communication control device 1, the communication quality is measured, and the normality determination result is normal, the cautions shown in FIG. Processing in the primary availability state is performed.

(状態遷移について)
次に、通信制御装置2における各状態について説明する。図7に、各状態の意味を示す。また、図8に状態遷移図を示す。これらの状態は、端末装置(SIP-URI)毎、トランザクション毎に生成、管理されるものである。
(About state transition)
Next, each state in the communication control apparatus 2 will be described. FIG. 7 shows the meaning of each state. FIG. 8 shows a state transition diagram. These states are generated and managed for each terminal device (SIP-URI) and for each transaction.

通信制御装置1は、端末装置2から最初のREGISTERリクエストを受信したときに、状態をwaitからcheckingに変え(図8のステップ51)、通信品質測定を開始する。通信品質測定結果を用いた正常性判定結果が正常であれば状態をcheckingからaliveに変える(ステップ52)。checkingでの正常性判定が異常の場合、当該正常性判定を行う前の正常性判定において結果が正常であった場合には状態をzombieに変える(ステップ53)。また、checkingでの正常性判定が異常の場合、当該正常性判定を行う前の正常性判定においても結果が異常であった場合には状態をdeadに変える(ステップ54)。   When the communication control device 1 receives the first REGISTER request from the terminal device 2, the communication control device 1 changes the state from waiting to checking (step 51 in FIG. 8), and starts communication quality measurement. If the normality determination result using the communication quality measurement result is normal, the state is changed from checking to alive (step 52). When the normality determination in checking is abnormal, if the result is normal in the normality determination before performing the normality determination, the state is changed to zombie (step 53). When the normality determination in checking is abnormal, the state is changed to dead if the result is abnormal even in the normality determination before the normality determination is performed (step 54).

また、aliveもしくはzombieの状態にある通信制御装置1は、200OKレスポンスを返したときに状態をwaitに戻す(ステップ55、56)。また、deadもしくはcheckingの状態にある通信制御装置1は、deadもしくはcheckingになってから予め定めた時間が経過した後、タイムアウトし、waitに戻る(ステップ57、58)。   Further, the communication control device 1 in the alive or zombie state returns the state to wait when it returns a 200 OK response (steps 55 and 56). Further, the communication control device 1 in the dead or checking state times out after a predetermined time has elapsed since becoming dead or checking, and returns to wait (steps 57 and 58).

(通信制御装置の動作について)
次に、図9、図10のフローチャートを参照して、通信制御装置1の動作を説明する。図1に示す動作は、図4〜6で説明したシーケンスの動作において、通信制御装置1の動作を抽出したものに対応するが、図9、10では、状態に基づく処理手順を明確に示している。また、図9、10に示す動作は、図2に示す登録処理部15、接続制御部17、及び通信品質測定部16により行われるものであるが、機能の区分はこれに限られるものではなく、通信制御装置1は、全体として図9、10のフローチャートの処理を実行できる手段を含んでいればよい。
(About operation of communication control device)
Next, the operation of the communication control apparatus 1 will be described with reference to the flowcharts of FIGS. 9 and 10. The operation shown in FIG. 1 corresponds to the operation of the communication control device 1 extracted from the operation of the sequence described in FIGS. 4 to 6, but FIGS. 9 and 10 clearly show the processing procedure based on the state. Yes. 9 and 10 are performed by the registration processing unit 15, the connection control unit 17, and the communication quality measurement unit 16 shown in FIG. 2, but the functional classification is not limited to this. The communication control device 1 only needs to include means capable of executing the processes of the flowcharts of FIGS.

図9において、通信制御装置1が、端末装置2からREGISTERリクエストを受信すると(ステップ101)、当該REGISTERリクエストが認証用ヘッダ付きのものかどうか判定する(ステップ102)。REGISTERリクエストが認証用ヘッダ付きである場合、通信制御装置1は、現在の状態がwaitであるかどうかを判定し(ステップ103)、waitであれば端末装置2に401レスポンスを返信し(ステップ104)、状態をcheckingにして(ステップ105)、通信品質正常性判定処理を行う(ステップ106)。通信品質正常性判定処理の内容については、図10を参照して後述する。   In FIG. 9, when the communication control device 1 receives a REGISTER request from the terminal device 2 (step 101), it is determined whether or not the REGISTER request has an authentication header (step 102). If the REGISTER request includes an authentication header, the communication control device 1 determines whether the current state is wait (step 103), and if it is wait, returns a 401 response to the terminal device 2 (step 104). ), The state is set to checking (step 105), and the communication quality normality determination process is performed (step 106). The contents of the communication quality normality determination process will be described later with reference to FIG.

ステップ102において認証用ヘッダ付きでない場合、通信制御装置1は、現在の状態がwaitかどうかを判定し(ステップ107)、waitであればステップ105に移る。   If the authentication header is not included in step 102, the communication control apparatus 1 determines whether or not the current state is wait (step 107). If it is wait, the process proceeds to step 105.

ステップ107でwaitであれば、通信制御装置1は、現在の状態がalive又はzombieかどうかを判定し(ステップ108)、alive又はzombieであれば401レスポンスを端末装置に返信し(ステップ109)、フローの最初に戻る。ステップ107にて、aliveかzombieのいずれでもなければ最初に戻る。   If it is wait in step 107, the communication control device 1 determines whether the current state is alive or zombie (step 108), and if it is alive or zombie, returns a 401 response to the terminal device (step 109). Return to the beginning of the flow. If it is neither alive nor zombie in step 107, it returns to the beginning.

ステップ103で状態がwaitでない場合、通信制御装置1は、状態がaliveかどうか判定する(ステップ110)。ここで状態がaliveである場合、今回の正常性判定結果が正常であることを意味し、通信制御装置1は、次のステップ111で、端末装置2に対する前回の正常性判定結果が正常であったかどうかを判定する。前回の正常性判定結果が正常であった場合、通信制御装置1は、保持期間(Expire値)を現在の値の2倍に変更し(ステップ112)、その値が予め定められた最大値以下かどうか判定する(ステップ113)。予め定められた最大値以下であれば、通信制御装置1は200OK応答を端末装置2に返信し(ステップ114)、状態をwaitに変更する(ステップ115)。   If the status is not wait in step 103, the communication control device 1 determines whether the status is alive (step 110). Here, when the state is alive, it means that the normality determination result of this time is normal, and the communication control device 1 determines whether the previous normality determination result for the terminal device 2 was normal in the next step 111. Determine if. When the previous normality determination result is normal, the communication control device 1 changes the retention period (Expire value) to twice the current value (step 112), and the value is equal to or less than a predetermined maximum value. Whether or not (step 113). If it is less than or equal to the predetermined maximum value, the communication control device 1 returns a 200 OK response to the terminal device 2 (step 114), and changes the state to wait (step 115).

ステップ113で、2倍にした後の保持期間が予め定められた最大値以下でない場合、通信制御装置1は、保持期間を当該予め定められた最大値にし(ステップ116)、ステップ114以降の処理を行う。ステップ111において、前回の正常性判定結果が正常でなかった場合、通信制御装置1は、保持期間を初期値として(ステップ117)、ステップ114に進む。   If the holding period after doubling is not less than or equal to the predetermined maximum value in step 113, the communication control device 1 sets the holding period to the predetermined maximum value (step 116), and the processing after step 114 I do. In step 111, when the previous normality determination result is not normal, the communication control apparatus 1 sets the retention period as an initial value (step 117) and proceeds to step 114.

ステップ110において、状態がaliveでない場合、通信制御装置1は、状態がzombieであるかどうかを判定し(ステップ118)、zombieであれば保持期間を初期値に変更してステップ114に進み(ステップ119)、zombieでなければ最初に戻る。   If the state is not alive in step 110, the communication control device 1 determines whether or not the state is zombie (step 118). If the state is zombie, the retention period is changed to an initial value and the process proceeds to step 114 (step 119) If not zombie, return to the beginning.

次に、図10のフローチャートを参照して正常性判定処理の手順を説明する。通信制御装置1は、複数回ICMPエコーリクエストを端末装置2に送信し、それぞれのICMPエコーリプライを受信し、RTTを算出し、それぞれ通信品質測定結果格納部14に格納する(ステップ201)。
通信制御装置1は、今回求めた複数のRTTの中に、1つでも基準値未満のRTTがあるかどうかを判定することにより通信品質正常性判定を行う(ステップ202)。ステップ202での結果が正常である場合、通信制御装置1は状態をcheckingからaliveに変更する(ステップ203)。
Next, the procedure of normality determination processing will be described with reference to the flowchart of FIG. The communication control device 1 transmits an ICMP echo request a plurality of times to the terminal device 2, receives each ICMP echo reply, calculates an RTT, and stores it in the communication quality measurement result storage unit 14 (step 201).
The communication control device 1 performs communication quality normality determination by determining whether any one of the plurality of RTTs obtained this time has an RTT less than the reference value (step 202). When the result in step 202 is normal, the communication control device 1 changes the state from checking to alive (step 203).

ステップ202での結果が正常でない場合、通信制御装置1は、前回の正常性判定結果を参照し、それが正常であったかどうか判定する(ステップ204)。正常であった場合、状態をcheckingからzombieに変更し(ステップ205)、正常でなかった場合、状態をcheckingからdeadに変更する(ステップ206)。   If the result in step 202 is not normal, the communication control device 1 refers to the previous normality determination result and determines whether it is normal (step 204). If it is normal, the state is changed from checking to zombie (step 205). If not normal, the state is changed from checking to dead (step 206).

本発明は、上記の実施の形態に限定されることなく、特許請求の範囲内において、種々変更・応用が可能である。   The present invention is not limited to the above-described embodiments, and various modifications and applications are possible within the scope of the claims.

1 通信制御装置
2 端末装置
3 通信ネットワーク
11 データ通信部
12 SIP通信部
13 端末装置接続制御部
14 通信品質測定結果格納部
15 登録処理部
16 通信品質測定部
17 接続制御部
1 communication control device 2 terminal device 3 communication network 11 data communication unit 12 SIP communication unit 13 terminal device connection control unit 14 communication quality measurement result storage unit 15 registration processing unit 16 communication quality measurement unit 17 connection control unit

Claims (7)

端末装置と通信ネットワークを介して接続される通信制御装置であって、
前記端末装置から登録要求メッセージを受信したことに応じて、複数の試験パケットを前記端末装置に送信し、各々の試験パケットについて、試験パケットを送信してから応答パケットを受信するまでにかかる時間である往復遅延時間を測定し、当該往復遅延時間を通信品質情報格納手段に格納する通信品質測定手段と、
前記通信品質情報格納手段に格納された複数の往復遅延時間と所定の基準値とを比較することにより、前記通信ネットワークの通信品質が正常か否かを判定する正常性判定手段と、
前記正常性判定手段により、前記通信品質が正常でないと判定された場合に、通信品質測定結果の履歴に応じて、前記通信制御装置において前記端末装置と他の端末装置との接続をできない状態とするか、又は、所定の期間だけ前記端末装置と他の端末装置との接続をできる状態とするように接続制御を行う接続制御手段と、
を備えたことを特徴とする通信制御装置。
A communication control device connected to a terminal device via a communication network,
In response to receiving the registration request message from the terminal device, a plurality of test packets are transmitted to the terminal device, and for each test packet, the time taken from receiving the test packet to receiving the response packet A communication quality measuring means for measuring a certain round-trip delay time and storing the round-trip delay time in a communication quality information storage means;
Normality determination means for determining whether or not the communication quality of the communication network is normal by comparing a plurality of round trip delay times stored in the communication quality information storage means and a predetermined reference value;
When the normality determining means determines that the communication quality is not normal, the communication control device cannot connect the terminal device to another terminal device according to a history of communication quality measurement results. Or connection control means for controlling connection so that the terminal device can be connected to another terminal device only for a predetermined period;
A communication control apparatus comprising:
前記通信品質測定結果の履歴は、前記通信品質測定手段によりなされる今回の通信品質測定の直前の通信品質測定結果であり、
前記接続制御手段は、前記直前の通信品質測定結果に基づく正常性判定の結果が正常でない場合に、前記端末装置と他の端末装置との接続をできない状態とし、前記直前の通信品質測定結果に基づく正常性判定の結果が正常である場合に、所定の期間だけ前記端末装置と他の端末装置との接続をできる状態とするように接続制御を行うことを特徴とする請求項1に記載の通信制御装置。
The history of the communication quality measurement result is a communication quality measurement result immediately before the current communication quality measurement made by the communication quality measurement means,
The connection control means, when the result of normality determination based on the previous communication quality measurement result is not normal, makes the connection between the terminal device and another terminal device impossible, and the previous communication quality measurement result The connection control is performed so that the terminal device can be connected to another terminal device only for a predetermined period when the result of normality determination based on the normality is normal. Communication control device.
前記端末装置と他の端末装置との接続をできない状態とすることは、前記接続制御手段が前記登録要求メッセージに基づく登録処理を行わないことであり、前記所定の期間だけ前記端末装置と他の端末装置との接続をできる状態とすることは、前記接続制御手段が前記登録要求メッセージに基づく登録処理における登録情報の有効期間を前記所定の期間に設定することである請求項2に記載の通信制御装置。   Making the connection between the terminal device and another terminal device impossible means that the connection control means does not perform a registration process based on the registration request message, 3. The communication according to claim 2, wherein the state in which the connection with the terminal device can be established is that the connection control unit sets the valid period of the registration information in the registration process based on the registration request message to the predetermined period. Control device. 前記正常性判定手段により、前記今回の通信品質が正常であると判定され、更に、前記直前の通信品質測定結果に基づく正常性判定の結果が正常である場合に、前記接続制御手段は、直前の通信品質測定結果に基づく正常性判定に基づき設定された登録情報の有効期間よりも長い有効期間を、前記登録要求メッセージに基づく登録処理における登録情報の有効期間とすることを特徴とする請求項2又は3に記載の通信制御装置。   When the normality determination means determines that the current communication quality is normal, and the normality determination result based on the previous communication quality measurement result is normal, the connection control means The valid period of the registration information in the registration process based on the registration request message is a valid period that is longer than the valid period of the registration information set based on the normality determination based on the communication quality measurement result. 4. The communication control device according to 2 or 3. 前記正常性判定手段は、前記複数の往復遅延時間のうちの少なくとも1つが前記所定の基準値より小さい場合に、前記通信品質が正常であると判定することを特徴とする請求項1ないし4のうちいずれか1項に記載の通信制御装置。   The normality determination unit determines that the communication quality is normal when at least one of the plurality of round-trip delay times is smaller than the predetermined reference value. The communication control device according to any one of the above. 前記登録要求メッセージは、SIPにおけるREGISTERリクエストメッセージであることを特徴とする請求項1ないし5のうちいずれか1項に記載の通信制御装置。   The communication control apparatus according to any one of claims 1 to 5, wherein the registration request message is a REGISTER request message in SIP. コンピュータを、端末装置と通信ネットワークを介して接続される通信制御装置として機能させるためのプログラムであって、コンピュータを、
前記端末装置から登録要求メッセージを受信したことに応じて、複数の試験パケットを前記端末装置に送信し、各々の試験パケットについて、試験パケットを送信してから応答パケットを受信するまでにかかる時間である往復遅延時間を測定し、当該往復遅延時間を通信品質情報格納手段に格納する通信品質測定手段、
前記通信品質情報格納手段に格納された複数の往復遅延時間と所定の基準値とを比較することにより、前記通信ネットワークの通信品質が正常か否かを判定する正常性判定手段、
前記正常性判定手段により、前記通信品質が正常でないと判定された場合に、通信品質測定結果の履歴に応じて、前記通信制御装置において前記端末装置と他の端末装置との接続をできない状態とするか、又は、所定の期間だけ前記端末装置と他の端末装置との接続をできる状態とするように接続制御を行う接続制御手段、
として機能させるためのプログラム。
A program for causing a computer to function as a communication control device connected to a terminal device via a communication network,
In response to receiving the registration request message from the terminal device, a plurality of test packets are transmitted to the terminal device, and for each test packet, the time taken from receiving the test packet to receiving the response packet A communication quality measuring means for measuring a certain round-trip delay time and storing the round-trip delay time in a communication quality information storage means;
Normality determination means for determining whether or not the communication quality of the communication network is normal by comparing a plurality of round trip delay times stored in the communication quality information storage means with a predetermined reference value;
When the normality determining means determines that the communication quality is not normal, the communication control device cannot connect the terminal device to another terminal device according to a history of communication quality measurement results. Or connection control means for performing connection control so that the terminal device can be connected to another terminal device only for a predetermined period,
Program to function as.
JP2009065960A 2009-03-18 2009-03-18 Communication control device and program Expired - Fee Related JP4724761B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009065960A JP4724761B2 (en) 2009-03-18 2009-03-18 Communication control device and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009065960A JP4724761B2 (en) 2009-03-18 2009-03-18 Communication control device and program

Publications (2)

Publication Number Publication Date
JP2010220011A JP2010220011A (en) 2010-09-30
JP4724761B2 true JP4724761B2 (en) 2011-07-13

Family

ID=42978339

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009065960A Expired - Fee Related JP4724761B2 (en) 2009-03-18 2009-03-18 Communication control device and program

Country Status (1)

Country Link
JP (1) JP4724761B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5767617B2 (en) * 2012-09-27 2015-08-19 日本電信電話株式会社 Network failure detection system and network failure detection device
CN111915892B (en) * 2020-07-29 2023-10-20 腾讯科技(深圳)有限公司 Data request response method, device, computer equipment and medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10257099A (en) * 1997-03-12 1998-09-25 Oki Electric Ind Co Ltd Packet communication repeating channel selector and selection method
JP3571657B2 (en) * 2001-02-02 2004-09-29 株式会社ケンウッド Wireless device squelch control method
CN1709001B (en) * 2002-11-01 2010-04-14 美商内数位科技公司 Method for channel quality prediction for wireless communication systems
JP4820583B2 (en) * 2005-06-17 2011-11-24 ソフトバンクテレコム株式会社 Call control method, call control program, and RTC client
JP4579843B2 (en) * 2006-02-06 2010-11-10 富士通株式会社 Communication device
JP2008160711A (en) * 2006-12-26 2008-07-10 Fujitsu Fsas Inc Communications system and communication control method

Also Published As

Publication number Publication date
JP2010220011A (en) 2010-09-30

Similar Documents

Publication Publication Date Title
US6862277B2 (en) Method and apparatus for multi-media communication over multiple networks
US8125909B2 (en) Methods and apparatus for controlling congestion in a communication network
KR100728280B1 (en) Network state management method for using BYE/200OK in communication system for using Session Initiation Protocol
JP4891569B2 (en) Method and apparatus for low latency, high accuracy peak display and call abandonment
TW200833144A (en) Registration timer adjustment based on wireless network quality
JP2008537859A (en) System and method for monitoring and measuring operation between terminals using wireless device
TW200835226A (en) Methods and apparatus for determining communication link quality
CN112436924B (en) Data transmission method and electronic equipment
JP2006279636A (en) Consistency guarantee management system for inter-client communication log
WO2018076580A1 (en) Two-sided acceleration transmission method and system for wireless network
JP4455520B2 (en) Call control system and call control server apparatus and method
US7808928B2 (en) Testing user terminal status
JP4304018B2 (en) Communication control method and communication control apparatus
JP4724761B2 (en) Communication control device and program
JP5241705B2 (en) Call management over limited bandwidth
Cisco Commands: debug ppp bap through debug sdllc
JP4452172B2 (en) Gateway device and VoIP network system
Homayouni et al. Configuration of a sip signaling network: An experimental analysis
CN103238293B (en) For the method monitoring communication system
JP5375625B2 (en) Relay communication device and communication control method
JP5135292B2 (en) IP telephone exchange and IP telephone system
Saraswat et al. Issues and flaws in endpoint based call admission control for voice over wlan
KR100812822B1 (en) Wireless data communication method for being on the basis of state of destination
JP3786935B2 (en) Re-challenge communication control method and system, and program
KR20090049416A (en) Packet service method, system and gateway

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110316

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110411

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140415

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees