JP4724761B2 - Communication control device and program - Google Patents
Communication control device and program Download PDFInfo
- 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
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
端末装置による通話を行う前に通信品質に基づく接続可否を知ることができれば、通信品質が悪い場合に相手との呼接続を行わず、メール等の手段で通信を行うことなどが可能となり、上述したような他の端末装置への影響や電池の無駄な消費等の不都合は解消される。また、ユーザは、通話を行う場合にはいつも一定の良好な通話品質で相手との通話を行うことが可能となる。 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に、本発明の実施の形態に係るシステムの構成図を示す。図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
端末装置2の通信ネットワーク3への接続形態は特に限定されるわけではないが、本実施の形態においては、端末装置2は無線で通信ネットワーク3に接続され、端末装置2は移動可能ないわゆるモバイル端末であり、電池で電力が供給されるものとする。
Although the connection form of the
また、端末装置2は、SIPに基づき呼接続を行ってVoIP通信を行う機能とともに、ICMP(Internet Control Message Protocol)エコーリクエストを受信してICMPエコーリプライを返信する機能を備えている。これらの機能は、VoIP通信を行うための端末装置が一般的に備えている機能である。
The
通信制御装置1は、SIPに基づく呼制御通信を行うとともに、端末装置2と通信制御装置1間の通信ネットワークの通信品質に基づき、端末装置2に対する接続制御を行う機能を備えた装置である。図2に通信制御装置1の機能構成図を示す。
The
図2に示すように、通信制御装置1は、データ通信部11、SIP通信部12、端末装置接続制御部13、及び通信品質測定結果格納部14を有する。データ通信部11は、通信ネットワーク3を介してデータ通信を行う機能部である。
As illustrated in FIG. 2, the
SIP通信部12は、SIPに基づく呼制御通信を行う機能部であり、登録処理部15を含む。登録処理部15は、SIPに基づく登録処理を行う機能部であり、端末装置2から登録要求(REGISTERリクエスト)を受信して、バインディング情報(名前等の端末識別情報とアドレス情報との組)を記憶手段に格納し、応答を返す等の処理を行う。SIP通信部11は、ダイジェスト認証等の認証機能も備える。
The
端末装置接続制御部13は、通信品質測定部16と接続制御部17とを有する。通信品質測定部16は、接続制御部17からの指示に基づき、ICMPエコーリクエストを端末装置2に送信し、端末装置2から返されるICMPエコーリプライを受信することにより、ICMPエコーリクエスト送信時刻からICMPエコーリプライ受信時刻までの時間(RTT:Round Trip Timeと呼ぶ)を測定し、それを通信品質測定結果として通信品質測定結果格納部14に格納する機能部である。接続制御部からの指示に基づく通信品質測定は、複数回連続的に行われる。
The terminal device
接続制御部17は、通信品質測定結果等に基づき通信品質の正常性を判定する機能を有するとともに、現在の状態を管理し、その状態に対応した処理を行うように登録処理部15や通信品質測定部16を制御する機能部である。接続制御部17は、状態格納手段を有しており、当該状態格納手段に端末識別情報と状態とを格納し、状態格納手段から状態を読み出して当該状態に基づき制御を行うとともに、状態を変更したときには、変更後の状態で状態格納手段に格納された状態を更新する。
The
図3に、通信品質測定結果格納部14が格納する情報の一例を示す。図3に示すように、通信品質測定結果格納部14は、端末識別情報、通信品質測定時刻、及び通信品質測定結果を対応付けて格納する。
FIG. 3 shows an example of information stored in the communication quality measurement
通信品質測定結果格納部14は、通信制御装置1の中に備える必要はなく、例えば、通信ネットワーク3に接続されたデータベースサーバとして実現してもよい。また、通信品質測定結果格納部14に格納された情報を通信ネットワーク3を介して外部に提供したり、外部からアクセス可能としてもよい。
The communication quality measurement
通信制御装置1は、上述した機能を実現するためのプログラムを、CPUやメモリ等の記憶手段を有するコンピュータに搭載することにより実現されるものである。当該プログラムは、可搬メモリ等の記憶媒体に格納し、当該記憶媒体からコンピュータにインストールすることが可能である。
The
例えば、当該プログラムは、コンピュータを、端末装置2から登録要求メッセージを受信したことに応じて、複数の試験パケットを前記端末装置2に送信し、各々の試験パケットについて、試験パケットを送信してから応答パケットを受信するまでにかかる時間である往復遅延時間を測定し、当該往復遅延時間を通信品質情報格納手段に格納する通信品質測定手段、前記通信品質情報格納手段に格納された複数の往復遅延時間と所定の基準値とを比較することにより、前記通信ネットワークの通信品質が正常か否かを判定する正常性判定手段、前記正常性判定手段により、前記通信品質が正常でないと判定された場合に、通信品質測定結果の履歴に応じて、前記端末装置2と他の端末装置との接続をできない状態とするか、又は、所定の期間だけ前記端末装置2と他の端末装置との接続をできる状態とするように接続制御を行う接続制御手段、として機能させるためのプログラムとして構成できる。
For example, the program transmits a plurality of test packets to the
なお、通信制御装置1の中の機能部に関しては、図2に示した構成に限るわけではない。以下で説明する端末装置2に対する処理動作を実現できる構成であればどのような機能構成を有していてもよい。
The functional unit in the
(システムの動作)
以下、図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
まず、図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
接続制御部17は、当該REGISTERリクエストが認証用ヘッダを含まない最初のREGISTERリクエストであることを識別し、登録処理部15に対して当該REGISTERリクエストを廃棄するよう指示するとともに、通信品質測定部16に通信品質測定を行うよう指示する。これにより、登録処理部15は、当該REGISTERリクエストに対する応答等の処理を行わずに当該REGISTERリクエストを廃棄する。
The
また、通信品質測定部16は通信品質測定を行う。具体的には、まず通信品質測定部16は、REGISTERリクエストの送信元である端末装置2に対して複数回ICMPエコーリクエストを送信する(ステップ2)。ICMPエコーリクエストを送信する回数は特定の値に限定されるわけではないが、本実施の形態では3回送信するものとする。一度の通信品質測定で、複数のICMP送受信を行い、複数のRTTを用いて判定を行うことにより、瞬間的なバーストエラーに惑わされることなく適切な判定を行うことができる。
The communication
端末装置2は、ICMPエコーリクエストに対する応答であるICMPエコーリプライを送信し、通信品質測定部16が当該ICMPエコーリプライを受信する(ステップ3)。また、各ICMPエコーリクエストに関して、通信品質測定部16は、ICMPエコーリクエストを送信してから当該ICMPエコーリクエストに対応するICMPエコーリプライを受信するまでの時間(RTT)を算出し、RTT、測定時刻(最後のICMPエコーリプライを受信した時刻等)、及び、端末装置2の端末識別情報を対応付けて通信品質測定結果格納部14に格納する(ステップ4)。なお、端末識別情報はREGISTERリクエスト内に含まれている情報であり、この端末識別情報を用いることにより、特定の端末装置の通信品質測定結果(RTT)を参照できる。
The
その後、端末装置2は、認証用ヘッダが付されていないREGISTERリクエストを再送し(ステップ5)、通信制御装置1の登録処理部15は当該REGISTERリクエストを受信し、接続制御部17に通知する。接続制御部17は、当該REGISTERリクエストが、認証用ヘッダのない再送に係るREGISTERリクエストであることを識別し、通信品質測定結果格納部14に格納されている端末装置2の複数個(本実施形態では3つ)のRTTを取得する(ステップ6)。
After that, the
そして、通信品質測定結果格納部14は、所定の基準値と各RTTとを比較し、複数個のRTTの中に、基準値より小さいRTTが少なくとも1つあるかどうかを判断することにより、通信品質の正常性判定を行う。本実施の形態では、複数個のRTTの中に、基準値より小さいRTTが少なくとも1つある場合に通信品質が正常であると判断している。
Then, the communication quality measurement
本例では、複数個の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
登録処理部15から401レスポンスが端末装置2に送信されると(ステップ7)、端末装置2は、認証用ヘッダを含むREGISTERリクエストを通信制御装置1に送信する(ステップ8)。当該REGISTERリクエストを受信した通信制御装置1では、上記と同様にしてRTTを参照することにより通信品質の判定がなされ、正常であると判断され、200OKレスポンスが端末装置2に返される(ステップ9、10)。なお、ステップ9に係る正常性判定処理を行わなくてもよい。
When a 401 response is transmitted from the
その後、例えば、端末装置2が通話を行うのであれば端末装置2からINVITEが発信され、相手端末装置との呼接続、切断が行われることになる。
Thereafter, for example, if the
図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
更に、当該REGISTERリクエストは最初のREGISTERリクエストであるから、接続制御部17は、通信品質測定部16に対して通信品質測定を行うよう指示する。通信品質測定部16は、ステップ2、3と同様にして通信品質測定を行い、測定結果である複数個のRTTを通信品質測定結果格納部14に格納する(ステップ13〜15)。
Further, since the REGISTER request is the first REGISTER request, the
そして、通信制御装置1が、端末装置2から再送された認証用ヘッダ付きのREGISTERリクエストを受信すると(ステップ16)、接続制御部17は通信品質測定結果格納部14を参照することにより、RTTを取得し、通信品質の正常性の判定を行う(ステップ17)。ここでは、正常であると判定され、接続制御部17による指示に基づき、登録処理部15は、200OKを端末装置2に返す(ステップ18)。
Then, when the
図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
つまり、連続して正常性判定結果が正常であれば、保持期間を前回のものより増加させていく。ただし、増加させた保持期間が予め定めた最大値に達したら、その保持期間は当該最大値とし、それ以降は増加させない。増加させる量としては、例えば、次の保持期間を、前の保持期間の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
なお、"直前"の通信品質測定結果は、通信品質測定結果格納部14に格納された測定時刻を参照することにより決定できる。また、直前の通信品質測定結果での正常性判定結果については、直前の通信品質測定結果を用いて基準値との比較を行って得てもよいし、各回の正常性判定結果を測定時刻とともに通信品質測定結果格納部14に格納しておき、それを読み出すこととしてもよい。
The “immediately preceding” communication quality measurement result can be determined by referring to the measurement time stored in the communication quality measurement
次に、"正常"でない正常性判定結果が得られる場合を含むシーケンスの第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
図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
本実施の形態では、今回の正常性判定において異常であっても、直前の正常性判定が正常である場合、接続制御部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
つまり、異常と判定された後でも、図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
今回の判定で異常である場合でも、前回の判定で正常である場合は、今回の異常がバースト的、一時的なものである可能性が高い。従って、本例のように接続を許容することにより、ユーザへの利便性が高まる。 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
図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
従って、通信制御装置1がその後にINVITEリクエストを受信しても(ステップ37)、INVITEリクエストに係る正常な処理は行われず、一時的に利用不可を示す480レスポンスを返す(ステップ38)。
Therefore, even if the
連続して異常な通信品質である場合は、すぐに通信品質が改善する可能性が低いため、本例のように接続を不許可としている。これにより、無駄な電力消費や他の端末装置への悪影響等を防止できる。 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
(状態遷移について)
次に、通信制御装置2における各状態について説明する。図7に、各状態の意味を示す。また、図8に状態遷移図を示す。これらの状態は、端末装置(SIP-URI)毎、トランザクション毎に生成、管理されるものである。
(About state transition)
Next, each state in the
通信制御装置1は、端末装置2から最初のREGISTERリクエストを受信したときに、状態をwaitからcheckingに変え(図8のステップ51)、通信品質測定を開始する。通信品質測定結果を用いた正常性判定結果が正常であれば状態をcheckingからaliveに変える(ステップ52)。checkingでの正常性判定が異常の場合、当該正常性判定を行う前の正常性判定において結果が正常であった場合には状態をzombieに変える(ステップ53)。また、checkingでの正常性判定が異常の場合、当該正常性判定を行う前の正常性判定においても結果が異常であった場合には状態をdeadに変える(ステップ54)。
When the
また、aliveもしくはzombieの状態にある通信制御装置1は、200OKレスポンスを返したときに状態をwaitに戻す(ステップ55、56)。また、deadもしくはcheckingの状態にある通信制御装置1は、deadもしくはcheckingになってから予め定めた時間が経過した後、タイムアウトし、waitに戻る(ステップ57、58)。
Further, the
(通信制御装置の動作について)
次に、図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
図9において、通信制御装置1が、端末装置2からREGISTERリクエストを受信すると(ステップ101)、当該REGISTERリクエストが認証用ヘッダ付きのものかどうか判定する(ステップ102)。REGISTERリクエストが認証用ヘッダ付きである場合、通信制御装置1は、現在の状態がwaitであるかどうかを判定し(ステップ103)、waitであれば端末装置2に401レスポンスを返信し(ステップ104)、状態をcheckingにして(ステップ105)、通信品質正常性判定処理を行う(ステップ106)。通信品質正常性判定処理の内容については、図10を参照して後述する。
In FIG. 9, when the
ステップ102において認証用ヘッダ付きでない場合、通信制御装置1は、現在の状態がwaitかどうかを判定し(ステップ107)、waitであればステップ105に移る。
If the authentication header is not included in
ステップ107でwaitであれば、通信制御装置1は、現在の状態がalive又はzombieかどうかを判定し(ステップ108)、alive又はzombieであれば401レスポンスを端末装置に返信し(ステップ109)、フローの最初に戻る。ステップ107にて、aliveかzombieのいずれでもなければ最初に戻る。
If it is wait in step 107, the
ステップ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
ステップ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
ステップ110において、状態がaliveでない場合、通信制御装置1は、状態がzombieであるかどうかを判定し(ステップ118)、zombieであれば保持期間を初期値に変更してステップ114に進み(ステップ119)、zombieでなければ最初に戻る。
If the state is not alive in step 110, the
次に、図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
The
ステップ202での結果が正常でない場合、通信制御装置1は、前回の正常性判定結果を参照し、それが正常であったかどうか判定する(ステップ204)。正常であった場合、状態をcheckingからzombieに変更し(ステップ205)、正常でなかった場合、状態をcheckingからdeadに変更する(ステップ206)。
If the result in step 202 is not normal, the
本発明は、上記の実施の形態に限定されることなく、特許請求の範囲内において、種々変更・応用が可能である。 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
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.
前記端末装置から登録要求メッセージを受信したことに応じて、複数の試験パケットを前記端末装置に送信し、各々の試験パケットについて、試験パケットを送信してから応答パケットを受信するまでにかかる時間である往復遅延時間を測定し、当該往復遅延時間を通信品質情報格納手段に格納する通信品質測定手段、
前記通信品質情報格納手段に格納された複数の往復遅延時間と所定の基準値とを比較することにより、前記通信ネットワークの通信品質が正常か否かを判定する正常性判定手段、
前記正常性判定手段により、前記通信品質が正常でないと判定された場合に、通信品質測定結果の履歴に応じて、前記通信制御装置において前記端末装置と他の端末装置との接続をできない状態とするか、又は、所定の期間だけ前記端末装置と他の端末装置との接続をできる状態とするように接続制御を行う接続制御手段、
として機能させるためのプログラム。 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.
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)
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)
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 |
-
2009
- 2009-03-18 JP JP2009065960A patent/JP4724761B2/en not_active Expired - Fee Related
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 |