JP4962854B2 - Priority control apparatus, SIP system, priority control program, and priority control method - Google Patents
Priority control apparatus, SIP system, priority control program, and priority control method Download PDFInfo
- Publication number
- JP4962854B2 JP4962854B2 JP2007083774A JP2007083774A JP4962854B2 JP 4962854 B2 JP4962854 B2 JP 4962854B2 JP 2007083774 A JP2007083774 A JP 2007083774A JP 2007083774 A JP2007083774 A JP 2007083774A JP 4962854 B2 JP4962854 B2 JP 4962854B2
- Authority
- JP
- Japan
- Prior art keywords
- sip
- sip request
- function
- identifier
- priority
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims description 119
- 238000012545 processing Methods 0.000 claims description 88
- 238000003780 insertion Methods 0.000 claims description 78
- 230000037431 insertion Effects 0.000 claims description 78
- 230000004044 response Effects 0.000 claims description 63
- 238000012546 transfer Methods 0.000 claims description 56
- 238000000605 extraction Methods 0.000 claims description 49
- 230000008569 process Effects 0.000 claims description 39
- 238000012217 deletion Methods 0.000 claims description 27
- 230000037430 deletion Effects 0.000 claims description 27
- 238000012790 confirmation Methods 0.000 claims description 23
- 239000000284 extract Substances 0.000 claims description 9
- 230000001965 increasing effect Effects 0.000 claims description 6
- 238000010586 diagram Methods 0.000 description 24
- 230000000694 effects Effects 0.000 description 10
- 230000005540 biological transmission Effects 0.000 description 8
- 239000003795 chemical substances by application Substances 0.000 description 6
- 238000004891 communication Methods 0.000 description 6
- 238000013475 authorization Methods 0.000 description 5
- 238000001514 detection method Methods 0.000 description 5
- 230000007246 mechanism Effects 0.000 description 5
- 230000007423 decrease Effects 0.000 description 2
- 230000000977 initiatory effect Effects 0.000 description 2
- 230000000717 retained effect Effects 0.000 description 2
- 230000011664 signaling Effects 0.000 description 2
- 239000012634 fragment Substances 0.000 description 1
- 230000001939 inductive effect Effects 0.000 description 1
- 238000011835 investigation Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002265 prevention Effects 0.000 description 1
- 230000001052 transient effect Effects 0.000 description 1
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Telephonic Communication Services (AREA)
Description
本発明は、SIP(session initiation protocol)を使用してシグナリングを行う通信網に好適に利用され、SIP要求の優先度に従い、SIPサーバへSIP要求を転送する装置、方法、及びプログラムに関する。 The present invention relates to an apparatus, a method, and a program for transferring a SIP request to a SIP server according to the priority of the SIP request, which is preferably used in a communication network that performs signaling using SIP (session initiation protocol).
近年、VoIP(voice over IP)に見られるように、IP網を使用したリアルタイム・コミュニケーションが普及している。例えば、電話端末やパソコンなどの、リアルタイム・コミュニケーションを行う両端の端末間接続を確立する国際標準プロトコルとしてSIP(session initiation protocol)を採用する状況が多くなっている。なお、本明細書では、SIPを使用してシグナリングを行う通信網をSIPネットワークと呼ぶこととする。 In recent years, as seen in VoIP (voice over IP), real-time communication using an IP network has become widespread. For example, a situation in which SIP (session initiation protocol) is adopted as an international standard protocol for establishing a connection between terminals at both ends, such as a telephone terminal and a personal computer, is increasing. In this specification, a communication network that performs signaling using SIP is referred to as a SIP network.
SIPネットワークの一般的な構成は、非特許文献1に記載されている。SIPネットワークは、ロケーション・サーバと、SIPサーバと、ユーザ・エージェント(UA:User agent)とから構成されている。UAについては、非特許文献1のP.76に、「SIPは、エンド・システム間のクライアント−サーバ・モデルに基づいています。このエンド・システムに相当するのが、ユーザ・エージェント(UA:User Agent)です。ユーザ・エージェントとは、具体的には電話機やパソコンなどのエンド・システムのことですが、これらのエンド・システム間でリクエスト(要求)とレスポンス(応答)をやり取りすることによって、サービスを実現します」と説明されている。本明細書では、上記説明文記載のリクエストをSIP要求、レスポンスをSIP応答と呼ぶこととする。
A general configuration of the SIP network is described in
SIPサーバは、非特許文献1のP.77に記載されているように、(1)SIP要求やSIP応答を中継するプロキシー・サーバ機能と、(2)SIP要求の宛先の問合せに利用するリダイレクト・サーバ機能と、(3)SIPネットワーク上のUA情報の登録を受け付ける登録サーバ機能とを有する。ここで、UA情報とは、例えば、UAにアクセスするための識別子であるURI(uniform resource identifier)やUAが使用するIPアドレスである。 The SIP server is a P.A. 77, (1) a proxy server function that relays a SIP request or SIP response, (2) a redirect server function that is used to query the destination of the SIP request, and (3) on the SIP network And a registration server function for accepting registration of UA information. Here, the UA information is, for example, a URI (Uniform Resource Identifier) that is an identifier for accessing the UA or an IP address used by the UA.
一般的なSIPネットワークにおいて、UA間で通信する場合の動作シーケンスを図23に示す。 FIG. 23 shows an operation sequence when communication is performed between UAs in a general SIP network.
まず、UAがSIPサーバに対してINVITEリクエストを送信する。本明細書では、このUAが最初にSIPサーバに送信するINVITEリクエストをinitial INVITEリクエストと呼ぶ。UAからのinitial INVITEリクエストを受信したSIPサーバは、ダイジェスト認証で使用するnonceを算出し、そのnonce値をSIP応答(407 proxy authentication required)に付加してUAに返信する。 First, the UA sends an INVITE request to the SIP server. In this specification, the INVITE request that the UA first transmits to the SIP server is referred to as an initial INVITE request. Upon receiving the initial INVITE request from the UA, the SIP server calculates a nonce to be used for digest authentication, adds the nonce value to the SIP response (407 proxy authorization required), and returns the nonce to the UA.
UAでは、受信したnonceを鍵にシークレット(ユーザ識別子とパスワード)をハッシュする。この結果をINVITEリクエストのAuthorizationヘッダに格納し、SIPサーバに転送する。本明細書では、このAuthorizationヘッダを付加したINVITEリクエストを認証INVITEリクエストと呼ぶ。 The UA hashes the secret (user identifier and password) using the received nonce as a key. This result is stored in the Authorization header of the INVITE request and transferred to the SIP server. In this specification, the INVITE request to which the Authorization header is added is called an authentication INVITE request.
認証INVITEリクエストを受信したSIPサーバは、UA(発呼側)の認証処理を行う。具体的には、(1) UA(発呼側)と同様、自身が生成したnonce値を使用して、UAのユーザ識別子とパスワードをハッシュする、(2) UAからの認証INVITEリクエストに格納されたAuthorizationヘッダ値と比較し、同一の場合には、正当なUAからの認証INVITEリクエストであると判断する。この認証処理の結果、正当なUAからの認証INVITEリクエストと判断した場合は、認証INVITEリクエストをToフィールドで指定された着呼側のUA(図23でのUA(着呼側))へ転送する。 The SIP server that has received the authentication INVITE request performs UA (calling side) authentication processing. Specifically, (1) Like the UA (calling side), it uses the nonce value generated by itself to hash the user identifier and password of the UA. (2) Stored in the authentication INVITE request from the UA If they are the same, the authentication header value is judged to be an authentication INVITE request from a valid UA. As a result of this authentication processing, when it is determined that the authentication INVITE request is from a valid UA, the authentication INVITE request is transferred to the called UA (UA (called side in FIG. 23)) designated by the To field. .
その後、UA(着呼側)では、認証INVITEリクエスト受信後、その認証INVITEリクエストの処理を継続中であることを示す暫定応答(図23での100 tryingと180 Ringing)をSIPサーバに返し、通話者を呼び出す。通話者が応答した場合に、UA(着呼側)はSIPサーバに、認証INVITEリクエストの処理が完了した旨を示すSIP応答(200 OK)を返す。UA(発呼側)は、認証INVITEリクエストの最終応答であるSIP応答(200 OK)を受信した旨をUA(着呼側)に伝達するためにACKリクエストを発信する。 Thereafter, after receiving the authentication INVITE request, the UA (calling side) returns a temporary response (100 trying and 180 Ringing in FIG. 23) indicating that the processing of the authentication INVITE request is being continued to the SIP server, Call the person. When the caller answers, the UA (calling side) returns a SIP response (200 OK) indicating that the processing of the authentication INVITE request is completed to the SIP server. The UA (calling side) sends an ACK request to inform the UA (calling side) that the SIP response (200 OK), which is the final response of the authentication INVITE request, has been received.
これにより、UA(発呼側)とUA(着呼側)での通話のためのセッションが確立される。通話終了時には、通話終了を希望するUA(図23ではUA(発呼側))から、セッションを終了するBYEリクエストが発行される。SIPサーバ経由でBYEリクエストを受信したUA(着呼側)では、BYEリクエスト処理後、SIP応答(200 OK)を返答することで、セッションの終了処理が完了したことを伝達する。この結果、UA(発呼側)とUA(着呼側)の通話が終了する。 Thereby, a session for a call between UA (calling side) and UA (calling side) is established. At the end of the call, a BYE request for ending the session is issued from a UA that wishes to end the call (UA (calling side) in FIG. 23). Upon receiving the BYE request via the SIP server, the UA (calling side) transmits a SIP response (200 OK) after the BYE request processing, thereby transmitting the completion of the session termination processing. As a result, the call between the UA (calling side) and the UA (calling side) ends.
上記UAからの発呼時の動作に加えて、UA情報の更新も一般的なSIPネットワークにおいて頻繁に発生する。このUA情報の更新処理を図24に示す。 In addition to the operation at the time of calling from the UA, the update of the UA information frequently occurs in a general SIP network. This UA information update process is shown in FIG.
まず、UAがSIPサーバに対してREGISTERリクエストを送信する。本明細書では、このUAが最初にSIPサーバに送信するREGISTERリクエストをinitial REGISTERリクエストと呼ぶ。UAからのinitial REGISTERリクエストを受信したSIPサーバは、図23と同様に、ダイジェスト認証で使用するnonceを算出し、そのnonce値をSIP応答(401 Unauthorized)に付加してUAに返信する。UAでは、受信したnonceを鍵にシークレット(ユーザ識別子とパスワード)をハッシュする。この結果をREGISTERリクエストのAuthorizationヘッダに格納し、SIPサーバに転送する。本明細書では、このAuthorizationヘッダを付加したREGISTERリクエストを認証REGISTERリクエストと呼ぶ。 First, the UA sends a REGISTER request to the SIP server. In this specification, the REGISTER request that the UA first transmits to the SIP server is referred to as an initial REGISTER request. The SIP server that has received the initial REGISTER request from the UA calculates a nonce to be used in digest authentication, adds the nonce value to the SIP response (401 Unauthorized), and returns it to the UA, as in FIG. The UA hashes the secret (user identifier and password) using the received nonce as a key. This result is stored in the Authorization header of the REGISTER request and transferred to the SIP server. In this specification, the REGISTER request with the authorization header added is called an authentication REGISTER request.
認証REGISTERリクエストを受信したSIPサーバは、図23と同様の認証処理を行い、正当なUAからの認証REGISTERリクエストと判断した場合は、UA情報を更新し、更新結果をSIP応答(図24では200 OK)としてUAに転送する。なお、このUA情報の更新は、一般的に、UAの生存確認を兼ねているため、定期的に実行される。 The SIP server that has received the authentication REGISTER request performs the same authentication process as in FIG. 23. If it is determined that the authentication REGISTER request is from a valid UA, the UA information is updated, and the update result is the SIP response (200 in FIG. 24). OK) and forward to UA. Note that this update of the UA information is generally performed periodically because it also serves as a confirmation of the existence of the UA.
この図23及び図24に示した、initial INVITEリクエストやinitial REGISTERリクエストなどのSIP要求からSIP応答(200 OK)までのやり取りを行う通信は、一般的に「SIPトランザクション」と呼ばれる。 The communication shown in FIG. 23 and FIG. 24 for exchanging from a SIP request such as an initial INVITE request or an initial REGISTER request to a SIP response (200 OK) is generally called a “SIP transaction”.
このような処理を行うSIPサーバが、膨大なSIP要求の一斉到着により輻輳状態に陥った場合、1)該当SIPサーバがUA情報を管理するUAへの着信が不可能となる、2)該当SIPサーバが管理するUAに電話が繋がりにくい状態が発生する、という問題が発生する。問題(1)は、UAからのUA情報の更新処理が実行されないことで、UA情報の有効期限切れが発生し、このUA情報の有効期限切れが発生したUAを、SIPサーバが、着信準備が出来ていないと認識するためである。また、問題(2)は、UA情報の有効期限切れが発生していない状況でも、他SIPサーバから転送されるINVITEリクエストが、該当SIPサーバでの高負荷により処理できないためである。 When a SIP server that performs such processing falls into a congested state due to simultaneous arrival of an enormous amount of SIP requests, 1) the SIP server cannot receive calls to the UA that manages UA information, and 2) the SIP. There arises a problem that it is difficult to connect the telephone to the UA managed by the server. Problem (1) is that the update process of UA information from the UA is not executed, the UA information expires, and the SIP server is ready to receive the UA for which the UA information has expired. This is to recognize that there is no. Problem (2) is because an INVITE request transferred from another SIP server cannot be processed due to a high load on the corresponding SIP server even in a situation where the UA information has not expired.
このようなSIPサーバの輻輳を防止するために、SIPサーバとUAとの間に優先制御装置を配置した上で、例えば、UA情報の更新処理のSIP要求(initial/認証REGISTERリクエスト)や既設セッションを制御するSIP要求(ACKリクエストやBYEリクエスト)を高優先、UAからのinitial INVITEリクエストを低優先などと、UAから送信されるSIP要求に優先度を設定し、SIPサーバの単位時間当たりに処理可能なSIP要求数を超えないように、優先制御装置が、高優先のSIP要求から順番にSIPサーバへ転送する方式が考えられる。 In order to prevent such congestion of the SIP server, a priority control apparatus is arranged between the SIP server and the UA, and for example, a SIP request (initial / authentication REGISTER request) for updating UA information or an existing session is provided. SIP requests (ACK request and BYE request) that control the process are set to high priority, initial INVITE requests from the UA are set to low priority, etc., the priority is set for the SIP request sent from the UA and processed per unit time of the SIP server In order not to exceed the number of possible SIP requests, a method in which the priority control apparatus sequentially transfers the SIP requests with high priority to the SIP server can be considered.
このような特徴を有する一般的な優先制御方式は、特許文献1に開示されている。なお、特許文献1記載の従来技術は、パケットに対する優先制御方式を開示しているが、パケットをSIP要求と読み替えることで、本発明で問題としているSIPサーバの輻輳防止にも適用可能と考えられる。
A general priority control system having such a feature is disclosed in
図25に、特許文献1記載の従来技術のブロック図を示す。この図に示すように、特許文献1記載の従来技術では、パケット中継処理機構とパケット送信機構にパケットを渡す際に、優先度制御機構が、パケットの優先度を考慮し、挿入するキューを変更している。このように2箇所に優先度制御機構を導入することで、パケットの中継処理時及び送信時に高優先のパケットを率先して処理することが可能となる。更に、特許文献1記載の従来技術では、高優先度のパケットが占有的に処理されることにより、低優先度のパケットがいつまでも処理されないという課題も解決している。具体的には、チェックカウンタを管理し、チェックカウンタが、ある閾値(特許文献1では100)を越えた場合には、処理していた優先度以下のキューに存在するパケットを、一つずつ(最低優先度まで)処理し、最低優先度のキューへの処理が終了した後初めてチェックカウンタの値をクリアしている。
FIG. 25 shows a block diagram of the prior art described in
特許文献1記載の優先制御方式の他に、SIPサーバの輻輳を防止する手段としては、SIPサーバの処理遅延により引き起こされる、UAから再発行されたSIP要求をSIPサーバの手前で破棄する方式も考えられる。本発明では、このUAから再発行されるSIP要求をSIP再送要求と呼ぶ。
このように、UAとSIPサーバとの間に配置し、UAから再発行されるSIP再送要求を遮断する、一般的な中継装置は特許文献2にて開示されている。なお、特許文献2記載の従来技術では、TCP(transmission control protocol)/IP(internet protocol)通信でのパケットを対象としているが、このパケットをSIP要求と読み替えることで、本発明で問題としているSIPサーバの輻輳防止にも適用可能と考えられる。
In addition to the priority control method described in
Thus, a general relay apparatus that is arranged between a UA and a SIP server and blocks a SIP retransmission request reissued from the UA is disclosed in
図26に、特許文献2記載の従来技術の概略を示す。この図に示すように、特許文献2記載の従来技術では、受信側から送信されてくるACK・SACKパケットを検出し、そのパケットに記載されている受信完了パケットの識別番号を輻輳制御ネットワーク中継装置内に一時保存しておく。この状態で、送信側から送信されたパケットに記載されている識別番号を調査し、一時保存してある識別番号と比較する。この結果、既に受信側で受信済みと判定できる場合には、再送パケットとして破棄する。この方式により、送信側から受信側へ余分な再送パケットを転送し、受信側の輻輳が増長されることを防止している。
FIG. 26 shows an outline of the prior art described in
更に、UAとSIPサーバとの間に配置し、UAから再発行されるSIP再送要求を遮断する、一般的な中継装置は特許文献3にも開示されている。なお、特許文献3記載の従来技術は、一般的なネットワーク階層モデルのレイヤー2で取り扱われるフレームを中継するフレーム中継装置において、特に、ループ状伝送路で発生するフレームの無限ループ転送を回避する方式を対象としているが、フレームをSIP要求とし、ループ転送されたフレームをSIP再送要求と読み替えることで、本発明で問題としているSIPサーバの輻輳防止にも適用可能と考えられる。
Furthermore,
図27に、特許文献3記載の従来技術における原理説明図を示す。この図に示すように、特許文献3記載の従来技術では、ループを検出するために、受信したフレームを示す情報(ループ検出テーブル 図27(C))を保持し、ループ検出テーブルに格納された情報を保持するフレームを再度受信した場合には、ループが発生していると判断し、破棄される。また、ループ検出テーブル格納情報と完全に一致しない場合(送信元IPアドレスが同一でも、受信したフレームIDと登録されているフレームIDが異なる場合)にも、所定の条件式を満足するかを検査することで、ループ発生を判断している。なお、このループ検出テーブルは、フレーム受信時に検索された時点でエントリが存在しない場合には、新規エントリが追加され、エントリが存在する場合でもフレーム送信前にフレームIDとフラグメントオフセットが更新される。
特許文献1記載の従来技術における課題(第1の課題)は、SIPサーバが単位時間あたりに処理可能なSIPトランザクション数を抑制してしまうことである。これは、低優先のキューに、SIP要求とSIP再送要求の区別を行わないで、全て挿入するためである。SIPプロトコルでは、一般的に、initial INVITEリクエストの場合、0.5秒、1秒、2秒、4秒、8秒、16秒の合計6回SIP再送要求がUAから発行される。そのため、SIPサーバの単位時間当たりに処理可能なSIP要求数を超えないように、優先制御装置からSIPサーバへSIP要求を転送した結果、例えば、低優先キューにinitial INVITEリクエストが2秒間滞留してしまうと、UAから3個のinitial INVITEリクエストが再発行される。
The problem (first problem) in the prior art described in
特許文献1記載の従来技術では、これら全ての再送initial INVITEリクエストが低優先キューに追加される。これは、既にinitial INVITEリクエストをSIPサーバに送信し、initial INVITEリクエストを処理するSIPトランザクションを開始させたにも係らず、再送initial INVITEリクエストを再度SIPサーバに転送してしまうことを意味しており、SIPサーバで再送initial INVITEリクエストの処理という余計な処理を誘発する。その結果、SIPサーバでの単位時間当たりに処理可能なSIPトランザクション数が減少してしまうのである。
In the prior art described in
特許文献2記載の従来技術における課題(第2の課題)は、SIPサーバの輻輳状態では、SIP再送要求を輻輳制御ネットワーク中継装置で遮断できないことである。これは、特許文献2記載の従来技術において、パケットの再送を受信側から転送されるACKパケットに記載された識別番号に基づいて判断しているためである。SIPサーバの処理性能を考慮し、輻輳制御ネットワーク中継装置でSIP要求を一時蓄積している状態では、前述したように、輻輳制御ネットワーク中継装置での滞留時間に依存してUAから数個のSIP再送要求が発行される。この時、輻輳制御ネットワーク中継装置は、SIP要求を自身に格納しており、SIPサーバに転送していないため、SIPサーバからACKパケットに相当するSIP応答を受信できない。つまり、SIPサーバで処理を完了したSIP要求の識別番号を取得することが出来ないのである。
The problem (second problem) in the prior art described in
これは、SIP応答を受信するまでは、UAから受信したSIP要求が再送かの判断を、輻輳制御ネットワーク中継装置で確実に行うことが出来ないことを意味しており、SIP再送要求を新規SIP要求と誤認識してキューに挿入してしまうことになる。この結果、前述した、第1の課題と同様の状況が引き起こされるのである。 This means that until the SIP response is received, the congestion control network relay device cannot reliably determine whether the SIP request received from the UA is retransmitted. It will be mistakenly recognized as a request and inserted into the queue. As a result, the same situation as the first problem described above is caused.
特許文献2及び特許文献3記載の従来技術における課題(第3の課題)は、受信したSIP要求が再送かを判断する情報が時間と共に増加してしまうことである。これは、特許文献2及び特許文献3記載の従来技術では、再送かを判断するために使用する情報のエントリを削除するタイミングが言及されていないためである。
A problem (third problem) in the prior art described in
まず、特許文献2記載の従来技術では、該当情報として、TCP/IPにおけるACKパケットに記載された連続値となる識別子を前提としており、ACKパケット受信時に識別子を上書きすれば、該当識別子より小さい値を持つパケットは受信済みと見なせるためである。
First, in the prior art described in
また、特許文献3記載の従来技術では、ループ検出テーブルのエントリはパソコン単位となっており、パソコンの増減は、それほど頻繁には発生しないことを前提としているためと考えられる。しかし、本発明を適用するSIPネットワークでは、一般的に、Call−IDヘッダの値などの、SIP要求の識別子として扱える情報は、UAが任意に設定可能であるため、連続値とは限らない。更に、例えば、通話の場合、呼の生存期間は、一般的に平均数分程度である。これは、SIP要求の識別子として使用可能な情報は有効期間が短く、一過性のものになりやすいことを意味している。
Further, in the prior art described in
このようにSIPネットワークでは、再送判断に使用する情報に存在しない識別子を受信した場合には追加していくしかなく、更に、SIPトランザクション処理が既に終了し、SIPネットワーク上に存在しない場合でも、該当SIPトランザクションを示す識別子が削除されないまま保存されることになるのである。 As described above, in the SIP network, when an identifier that does not exist in the information used for retransmission determination is received, the identifier can only be added. Further, even if the SIP transaction processing has already been completed and does not exist on the SIP network, it is applicable. The identifier indicating the SIP transaction is stored without being deleted.
本発明の目的は、SIP要求に優先度を付与することで、UA情報等のSIPネットワークの設定情報の喪失を防止し、かつ、低優先のSIP要求に対するSIP再送要求をSIPサーバ到達前に確実に破棄することで、SIPサーバで単位時間に処理可能なSIPトランザクション数を増加し、かつ、SIP要求受信時に識別子を追加し、SIP応答受信時に該当識別子を削除することで、SIP要求の再送判断に使用する情報の増加を抑制することを可能とする、優先制御装置、SIPシステム、優先制御プログラム及び優先制御方法を提供することにある。 It is an object of the present invention to prevent loss of SIP network setting information such as UA information by giving priority to a SIP request, and to ensure that a SIP retransmission request for a low priority SIP request is made before reaching the SIP server. The SIP request can be retransmitted by increasing the number of SIP transactions that can be processed by the SIP server per unit time, adding an identifier when receiving a SIP request, and deleting the identifier when receiving a SIP response. It is an object of the present invention to provide a priority control apparatus, a SIP system, a priority control program, and a priority control method that can suppress an increase in information used for the above.
第1及び第2の課題を解決するために、低優先と判定されたSIP要求に格納された識別子と、既に優先制御装置で受信済みであり、処理中または処理待ちのSIP要求の識別子(以降では、処理中識別子と呼ぶ)を基に、該当SIP要求がSIP再送要求かを判断する機能と、SIP応答受信時に該当SIP応答に格納された識別子を、処理中識別子から削除する機能と、低優先、かつ、SIP再送要求ではないSIP要求の識別子を処理中識別子に追加する機能を導入する。 In order to solve the first and second problems, the identifier stored in the SIP request determined to be low priority, and the identifier of the SIP request that has already been received by the priority control device and is being processed or waiting for processing (hereinafter referred to as the request) A function for determining whether the corresponding SIP request is a SIP retransmission request, a function for deleting the identifier stored in the corresponding SIP response when receiving the SIP response, A function for adding an identifier of a SIP request that is a priority and not a SIP retransmission request to the in-process identifier is introduced.
これらの機能により、処理中識別子には、「低優先キューに格納中」または「SIPサーバと優先制御装置間でSIP要求を転送中」または「SIPサーバで処理中」または「SIPサーバと優先制御装置間で処理結果(SIP応答)を転送中」という状況にあるSIP要求の識別子のみが格納されることになる。つまり、この処理中識別子に格納された識別子で示されるSIP要求は、既に、優先制御装置またはSIPサーバに存在し、処理中(または処理予定)のSIP要求であることを示している。このため、処理中識別子に存在する識別子を保持するSIP要求をUAから受信した場合、そのSIP要求をSIPサーバに転送する必要はないと判断できる。この判断を、SIP要求を低優先キューに挿入する前に実行することで、低優先キューに余分なSIP再送要求を挿入することを防止できるのである。 With these functions, the in-process identifier includes “storing in low priority queue” or “transferring SIP request between SIP server and priority control device” or “processing in SIP server” or “priority control with SIP server” Only the identifier of the SIP request that is in the state of “transferring the processing result (SIP response) between devices” is stored. That is, the SIP request indicated by the identifier stored in the in-process identifier already exists in the priority control apparatus or SIP server, and indicates that the SIP request is being processed (or scheduled to be processed). For this reason, when a SIP request holding an identifier existing in the in-process identifier is received from the UA, it can be determined that it is not necessary to transfer the SIP request to the SIP server. By executing this determination before inserting the SIP request into the low priority queue, it is possible to prevent an extra SIP retransmission request from being inserted into the low priority queue.
更に、第3の課題は、上記、低優先、かつ、SIP再送要求ではないSIP要求の識別子を処理中識別子に追加する機能と、SIP応答受信時に該当SIP応答に格納された識別子を、処理中識別子から削除する機能と、で解決可能である。 Furthermore, the third problem is that the low priority and the function of adding the identifier of the SIP request that is not the SIP retransmission request to the processing identifier, and the identifier stored in the SIP response when the SIP response is received are being processed. It can be solved with the function of deleting from the identifier.
これらの機能により、優先制御装置が格納する識別子を、既に、優先制御装置またはSIPサーバに存在し、処理中(または処理予定)であるSIP要求を識別するもののみに限定でき、既に処理が完了したSIP要求の識別子の格納を防止できるためである。 With these functions, the identifier stored in the priority control device can be limited to only those that already exist in the priority control device or SIP server and identify a SIP request that is being processed (or scheduled to be processed), and the processing is already completed. This is because storage of the identifier of the SIP request that has been made can be prevented.
本発明によれば、以下に説明する効果を達成することができる。 According to the present invention, the effects described below can be achieved.
第1の効果は、SIPサーバが単位時間あたりに処理可能なSIPトランザクション数を増加することが可能となることである。 The first effect is that the number of SIP transactions that can be processed by the SIP server per unit time can be increased.
これは、処理中識別子に、優先制御装置またはSIPサーバに既に存在し、処理中(または処理予定)のSIP要求の識別子のみを常時格納させ、UAから受信したSIP要求が保持する識別子が、この処理中識別子に存在するかを確認することで、SIPサーバに転送する必要があるかを判断し、この判断を、SIP要求を低優先キューに挿入する前に実行することで、低優先キューに余分なSIP再送要求を挿入することを防止できるためである。 This is because the processing request identifier always stores only the identifier of the SIP request that is already present in the priority control apparatus or SIP server and is being processed (or scheduled to be processed), and the identifier held by the SIP request received from the UA is By checking whether it exists in the in-process identifier, it is determined whether it is necessary to forward to the SIP server, and this determination is performed before inserting the SIP request into the low priority queue. This is because an extra SIP retransmission request can be prevented from being inserted.
第2の効果は、受信したSIP要求が再送かを判断する情報の増加を抑制できることである。 A second effect is that an increase in information for determining whether a received SIP request is a retransmission can be suppressed.
これは、低優先、かつ、SIP再送要求ではないSIP要求の識別子を処理中識別子に追加する機能と、SIP応答受信時に該当SIP応答に格納された識別子を、処理中識別子から削除する機能とにより、優先制御装置が格納する識別子を、既に、優先制御装置またはSIPサーバに存在し、処理中(または処理予定)であるSIP要求を示すもののみに限定できるためである。 This is due to the low priority and the function of adding an identifier of a SIP request that is not a SIP retransmission request to the in-process identifier, and the function of deleting the identifier stored in the SIP response when receiving the SIP response from the in-process identifier This is because the identifier stored in the priority control apparatus can be limited to only an identifier that already exists in the priority control apparatus or SIP server and indicates a SIP request that is being processed (or scheduled to be processed).
(第1の実施の形態)
次に、本発明の第1の実施の形態について、図表を参照して詳細に説明する。
(First embodiment)
Next, the first embodiment of the present invention will be described in detail with reference to the drawings.
(第1の実施の形態の構成)
図1に、本発明の第1の実施の形態に係る優先制御装置101の構成図を示す。この図に示すように、本発明の第1の実施の形態に係る優先制御装置101は、一般的なSIPプロキシー・サーバ機能111と、SIPプロキシー・サーバ機能111が受信したメッセージがSIP要求かSIP応答かを判別するメッセージ種別判定機能102と、SIPプロキシー・サーバ機能111が受信したSIP要求の種類に応じて、SIP要求の優先度を決定するSIP要求優先度判定機能105と、SIP要求優先度判定機能105が低優先と判定したSIP要求に格納された識別子が、処理中識別子に存在するかを確認する識別子存在確認機能106と、当該SIP要求の識別子が処理中識別子に存在する場合には当該SIP要求を破棄するSIP要求破棄機能107と、SIP要求優先度判定機能105で低優先と判定され、かつ、処理中識別子に識別子が存在しないSIP要求の識別子を処理中識別子に追加する識別子追加機能108と、処理中識別子を格納する処理中識別子格納機能104と、SIP応答受信時にSIP応答に格納された識別子を処理中識別子から削除する識別子削除機能103と、SIP要求の優先度ごとにキューを保持し、SIP要求優先度判定機能105または識別子追加機能108から受信したSIP要求を優先度に応じてキューに挿入するSIP要求一時格納機能109と、SIP要求一時格納機能109のキューに格納されているSIP要求を、SIPサーバの単位時間当たりのSIP要求処理可能量を超えないように、優先度に応じて抽出し、SIPプロキシー・サーバ機能111を介してSIPサーバに転送する転送SIP要求抽出機能110とから構成される。ここで、処理中識別子は、例えば、図2に示すような、SIP要求に格納されたCall−IDヘッダの値を表形式で格納したものとなる。
(Configuration of the first embodiment)
FIG. 1 shows a configuration diagram of a
(第1の実施の形態の動作)
次に、本発明の第1の実施の形態に係る優先制御装置101の動作を図表を参照して詳細に説明する。
(Operation of the first embodiment)
Next, the operation of the
図3は、本発明の第1の実施の形態に係る優先制御装置101において、外部からメッセージを受信した際の動作を示すフローチャートである。なお、この動作において、受信したSIP要求の優先度は「高優先」と「低優先」の2段階を想定しているが多段階の優先度を導入している場合でも同様の動作となる。
FIG. 3 is a flowchart showing an operation when receiving a message from the outside in the
いま、SIPプロキシー・サーバ機能111が、外部からメッセージを受信したとする(ステップS301)。すると、メッセージ種別判定機能102が、受信したメッセージの種別を調査する(ステップS302)。
Now, it is assumed that the SIP
ステップ302の結果、ステップS301で受信したメッセージがSIP応答の場合は、識別子削除機能103が、処理中識別子格納機能104が保持する処理中識別子から、ステップS301で受信したSIP応答に格納された識別子を削除する(ステップS303)。この処理は、例えば、下記のように実現できる。処理中識別子が、図2に示すような表形式である場合、ステップS301で受信したSIP応答に含まれるCall−IDヘッダの値を抽出し、この値をキーとして処理中識別子を検索する。処理中識別子にエントリが発見された場合、該当エントリを削除する。
When the message received in step S301 is a SIP response as a result of step 302, the
ステップS303での識別子削除後、SIPプロキシー・サーバ機能111が、SIP応答記載の宛先にSIP応答を送信する(ステップS304)。その後、再度ステップS301から繰り返す。
After deleting the identifier in step S303, the SIP
ステップS302の結果、SIPプロキシー・サーバ機能111が受信したメッセージがSIP要求の場合、SIP要求優先度判定機能105が、SIP要求の優先度を判定する(ステップS305)。この処理は、例えば、initial INVITEリクエストは「低優先」、それ以外のSIP要求は「高優先」などと、SIP要求の種別に応じて優先度を予め決定しておくことで実現可能である。
As a result of step S302, when the message received by the SIP
ステップS305の結果、SIP要求の優先度が低優先と判定された場合には、識別子存在確認機能106が、SIPプロキシー・サーバ機能111が受信したSIP要求に格納された識別子が処理中識別子に存在するかを確認する(ステップS306)。この処理は、例えば、以下のように実現できる。処理中識別子が、図2に示すような表形式である場合、ステップS301で受信したSIP要求に含まれるCall−IDヘッダの値を抽出し、この値をキーとして処理中識別子を検索する。この検索の結果、該当Call−IDヘッダの値を保持するエントリが存在する場合には「存在」と判定し、存在しない場合には「存在しない」と判定する。
If it is determined in step S305 that the priority of the SIP request is low priority, the identifier
ステップS306の結果、ステップS301で受信したSIP要求の識別子が処理中識別子に存在する場合には、SIP再送要求として、SIP要求破棄機能107が該当SIP要求を破棄する(ステップ307)。その後、ステップS301から繰り返す。
As a result of step S306, when the identifier of the SIP request received in step S301 exists in the in-process identifier, the SIP request discard
ステップS306の結果、ステップS301で受信したSIP要求の識別子が処理中識別子に存在しない場合には、識別子追加機能108が該当SIP要求の識別子を処理中識別子に追加する(ステップS308)。この処理は、例えば、以下のように実現できる。処理中識別子が、図2に示すような表形式である場合、ステップS301で受信したSIP要求に含まれるCall−IDヘッダの値を抽出し、この値を格納したエントリを処理中識別子に追加する。
As a result of step S306, when the identifier of the SIP request received in step S301 does not exist in the processing identifier, the
ステップS305の結果、ステップS301で受信したSIP要求が高優先と判断された場合、または、ステップS308の結果、処理中識別子への追加処理が完了した場合には、SIP要求一時格納機能109がSIP要求を、優先度に応じたキューに格納する(ステップS309)。その後、ステップS301から繰り返す。
As a result of step S305, when it is determined that the SIP request received in step S301 is of high priority, or as a result of step S308, addition processing to the in-process identifier is completed, the SIP request
次に、本発明の第1の実施の形態に係る優先制御装置101が、SIPサーバにSIP要求を転送する場合の動作について説明する。
Next, an operation when the
図4は、本発明の第1の実施の形態に係る優先度制御装置101が、SIP要求一時格納機能109に格納されたSIP要求をSIPプロキシー・サーバ機能111経由でSIPサーバに転送する場合の動作を示すフローチャートである。
FIG. 4 shows a case where the
まず、転送SIP要求抽出機能110が、SIP要求一時格納機能109からSIP要求を抽出することで、SIPサーバが単位時間当たりに処理可能なSIP要求量に達するかを判定する(ステップ401)。この処理は、例えば、以下のようにして実現できる。転送SIP要求抽出機能110が、SIPサーバが単位時間当たりに処理可能なSIP要求数を予め保持しておき、この単位時間ごとにタイマーを設定する。更に、変数として転送済SIP要求数を転送SIP要求抽出機能110が管理する。
First, the transfer SIP
転送SIP要求抽出機能110は、転送済SIP要求数が、SIPサーバが単位時間当たりに処理可能なSIP要求数と等しいかを確認し、等しくない場合には、SIPサーバが単位時間当たりに処理可能なSIP要求数に達していないと判定し、転送済SIP要求数を1増加する。一方、等しい場合には、SIPサーバが単位時間当たりに処理可能なSIP要求数に達したと判定する。なお、この転送済SIP要求数は、タイマーが切れるごとに0に再設定される。
The transfer SIP
ステップS401の結果、SIPサーバが単位時間当たりに処理可能なSIP要求数に達していないと判定された場合には、転送SIP要求抽出機能110が、更に、転送するSIP要求をSIP要求一時格納機能109から抽出する(ステップS402)。この処理は、例えば、特許文献1記載の従来技術のように、低優先キューに格納されたSIP要求の沈み込みを防止しながら、高優先のキューから順番にSIP要求の存在を確認し、存在する場合には該当SIP要求を抽出することで実現できる。
As a result of step S401, when it is determined that the SIP server has not reached the number of SIP requests that can be processed per unit time, the transfer SIP
ステップS402の結果、転送するSIP要求の抽出が完了した場合には、該当SIP要求をSIPプロキシー・サーバ機能111がSIPサーバに転送する(ステップS403)。
If the extraction of the SIP request to be transferred is completed as a result of step S402, the SIP
ステップS401の結果、SIPサーバが単位時間当たりに処理可能なSIP要求数に達したと判定された場合、または、ステップS403の結果、SIPプロキシー・サーバ機能111が、SIPサーバにSIP要求を転送した場合には、ステップS401から繰り返す。
As a result of step S401, when it is determined that the SIP server has reached the number of SIP requests that can be processed per unit time, or as a result of step S403, the SIP
(第1の実施の形態の効果)
このように、本実施の形態によれば、SIPサーバが単位時間あたりに処理可能なSIPトランザクション数を増加させることが可能となる。
(Effects of the first embodiment)
Thus, according to the present embodiment, it is possible to increase the number of SIP transactions that the SIP server can process per unit time.
これは、処理中識別子に、優先制御装置またはSIPサーバに既に存在し、処理中(または処理予定)のSIP要求の識別子を常時格納することで、UAから受信したSIP要求をSIPサーバに転送する必要があるかを判断し、この判断を、SIP要求を低優先キューに挿入する前に実行することで、低優先キューに余分なSIP再送要求を挿入することを防止できるためである。 This is because the identifier of the SIP request already existing in the priority control apparatus or SIP server and being processed (or scheduled to be processed) is always stored in the processing identifier, so that the SIP request received from the UA is transferred to the SIP server. This is because it is possible to prevent an extra SIP retransmission request from being inserted into the low priority queue by determining whether it is necessary and executing this determination before inserting the SIP request into the low priority queue.
更に、本実施の形態によれば、受信したSIP要求が再送かを判断する処理中識別子の増加を抑制することが可能となる。 Furthermore, according to the present embodiment, it is possible to suppress an increase in the in-process identifier for determining whether the received SIP request is a retransmission.
これは、識別子追加機能108が、SIP要求優先度判定機能105に低優先と判定され、かつ、処理中識別子に識別子が存在しないSIP要求の識別子を、該当SIP要求を低優先キューに挿入する前に処理中識別子に追加し、かつ、識別子削除機能103が、SIP応答受信時にSIP応答に格納された識別子を処理中識別子から削除することで、処理中識別子に格納する識別子を、優先制御装置またはSIPサーバに存在し、処理中(または処理予定)であるSIP要求を示すもののみに限定できるためである。
This is because the
(第2の実施の形態)
次に、本発明の第2の実施の形態について、図表を参照して詳細に説明する。
(Second Embodiment)
Next, a second embodiment of the present invention will be described in detail with reference to the drawings.
(第2の実施の形態の構成)
図5に、本発明の第2の実施の形態に係る優先制御装置101の構成図を示す。この図に示すように、本発明の第2の実施の形態に係る優先制御装置101は、本発明の第1の実施の形態に係る優先制御装置101の構成における識別子削除機能103と他機能との接続関係が変更された形態となっている。具体的には、メッセージ種別判定機能102ではなく、転送SIP要求抽出機能110が識別子削除機能103を起動している。この結果、処理中識別子格納機能104が格納する処理中識別子には、「低優先キューに格納中」という状態にあるSIP要求の識別子のみが格納されることになる。なお、本発明の第2の実施の形態における優先制御装置101を構成する各機能は、本発明の第1の実施の形態における優先制御装置101を構成する各機能と同様の機能を有する。
(Configuration of Second Embodiment)
FIG. 5 shows a configuration diagram of the
(第2の実施の形態の動作)
次に、本発明の第2の実施の形態に係る優先制御装置101の動作を図表を参照して詳細に説明する。
(Operation of Second Embodiment)
Next, the operation of the
図6は、本発明の第2の実施の形態に係る優先制御装置101において、外部からメッセージを受信した際の動作を示すフローチャートである。この図6におけるフローチャートと、図3に示した、本発明の第1の実施の形態に係る優先制御装置101におけるフローチャートとの差分は、メッセージ種別判定機能102が、SIPプロキシー・サーバ機能111が受信したメッセージをSIP応答と判定した場合(ステップS602の処理結果)に、SIP応答をSIPプロキシー・サーバ機能111が転送する処理(ステップS603)が実行される点である。
FIG. 6 is a flowchart showing an operation when receiving a message from the outside in the
次に、本発明の第2の実施の形態に係る優先制御装置101が、SIPサーバにSIP要求を転送する場合の動作について説明する。
Next, an operation when the
図7は、本発明の第2の実施の形態に係る優先制御装置101が、SIP要求一時格納機能109に格納されたSIP要求をSIPプロキシー・サーバ機能111経由でSIPサーバに転送する場合の動作を示すフローチャートである。この図7におけるフローチャートと、図4に示した、本発明の第1の実施の形態に係る優先制御装置101におけるフローチャートとの差分は、転送SIP要求抽出機能110が、転送するSIP要求を抽出した後(ステップS702)に、識別子削除機能103が、該当SIP要求に格納された識別子を、処理中識別子から削除する処理(ステップS703)が追加された点である。なお、このステップS703の処理は、図3で示した、本発明の第1の実施の形態に係る優先制御装置101におけるステップS303の処理と同様である。
FIG. 7 shows an operation when the
(第2の実施の形態の効果)
このように、本実施の形態によれば、SIPサーバが単位時間あたりに処理可能なSIPトランザクション数を増加させることが可能となる。
(Effect of the second embodiment)
Thus, according to the present embodiment, it is possible to increase the number of SIP transactions that the SIP server can process per unit time.
これは、処理中識別子に、優先制御装置101に既に存在するSIP要求の識別子を常時格納することで、UAから受信したSIP要求をSIPサーバに転送する必要があるかを判断し、この判断を、SIP要求を低優先キューに挿入する前に実行することで、低優先キューに余分なSIP再送要求を挿入することを防止できるためである。
This is because the identifier of the SIP request that already exists in the
更に、本実施の形態によれば、受信したSIP要求が再送かを判断する処理中識別子の増加を抑制することが可能となる。 Furthermore, according to the present embodiment, it is possible to suppress an increase in the in-process identifier for determining whether the received SIP request is a retransmission.
これは、識別子追加機能108が、SIP要求優先度判定機能105に低優先と判定され、かつ、処理中識別子に識別子が存在しないSIP要求の識別子を、該当SIP要求を低優先キューに挿入する前に処理中識別子に追加し、かつ、識別子削除機能103が、SIPプロキシー・サーバ機能111を介して、SIP要求をSIPサーバに転送する前に、該当SIP要求の識別子を処理中識別子から削除することで、処理中識別子に格納する識別子を、優先制御装置に存在しているSIP要求を示すもののみに限定できるためである。
This is because the
(第3の実施の形態)
次に、本発明の第3の実施の形態について、図表を参照して詳細に説明する。
(Third embodiment)
Next, a third embodiment of the present invention will be described in detail with reference to the drawings.
(第3の実施の形態の構成)
図8に、本発明の第3の実施の形態に係る優先制御装置101の構成図を示す。この図に示すように、本発明の第3の実施の形態に係る優先制御装置101は、本発明の第1及び第2の実施の形態に係る優先制御装置101における、SIPプロキシー・サーバ機能111及びメッセージ種別判定機能102及びSIP要求優先度判定機能105及びSIP要求破棄機能107及びSIP要求一時格納機能109及び転送SIP要求抽出機能110に加えて、SIP要求優先度判定機能105で低優先と判定されたSIP要求の識別子を抽出する識別子抽出機能803と、識別子抽出機能803が抽出した識別子と同一の識別子を保持するSIP要求が、SIP要求一時格納機能109が保持する低優先キューに既に挿入されているかを検索するキュー検索機能804とから構成される。なお、識別子抽出機能803が抽出する識別子は、例えば、SIP要求に格納されているCall−IDヘッダの値である。
(Configuration of the third embodiment)
FIG. 8 shows a configuration diagram of the
(第3の実施の形態の動作)
次に、本発明の第3の実施の形態に係る優先制御装置101の動作を図表を参照して詳細に説明する。
(Operation of the third embodiment)
Next, the operation of the
図9は、本発明の第3の実施の形態に係る優先制御装置101において、外部からメッセージを受信した際の動作を示すフローチャートである。
FIG. 9 is a flowchart showing the operation when a
いま、SIPプロキシー・サーバ機能111が、外部からメッセージを受信したとする(ステップS901)。すると、メッセージ種別判定機能102が、受信したメッセージの種別を調査する(ステップS902)。
Now, it is assumed that the SIP
ステップ902の結果、ステップS901で受信したメッセージがSIP応答の場合は、SIPプロキシー・サーバ機能111が、SIP応答記載の宛先にSIP応答を送信する(ステップS903)。その後、再度ステップS901から繰り返す。
If the message received in step S901 is a SIP response as a result of step 902, the SIP
ステップS902の結果、SIPプロキシー・サーバ機能111が受信したメッセージがSIP要求の場合、SIP要求優先度判定機能105が、SIP要求の優先度を判定する(ステップS904)。なお、この処理は、本発明の第1及び第2の実施の形態におけるSIP要求優先度判定機能105の動作(ステップS305及びステップS604)と同様である。
As a result of step S902, when the message received by the SIP
ステップS904の結果、SIP要求の優先度が低優先と判定された場合には、識別子抽出機能803が、SIP要求に格納された識別子を抽出する(ステップS905)。この処理は、例えば、SIP要求に含まれるCall−IDヘッダの値を抽出することで実現できる。その後、キュー検索機能804が、ステップS905で抽出された識別子を保持するSIP要求が低優先キューに既に挿入されているかを検索する(ステップS906)。
If it is determined in step S904 that the priority of the SIP request is low priority, the
この処理は、例えば、以下のようにして実現できる。まず、低優先キューの先頭のSIP要求に格納されているCall−IDヘッダの値を抽出し、識別子抽出機能803から受け取ったCall−IDヘッダの値と比較する。この結果、一致すれば「存在」として終了し、一致しなければ、先頭から2番目のSIP要求について同様の処理を再度実行する。この処理を低優先キューの先頭から順番に実行していき、全てのSIP要求のCall−IDヘッダの値が一致しない場合には、「存在しない」として終了する。
This process can be realized as follows, for example. First, the value of the Call-ID header stored in the SIP request at the head of the low priority queue is extracted and compared with the value of the Call-ID header received from the
ステップS906の結果、キュー内に同一識別子を保持するSIP要求が存在する場合には、SIP再送要求と認識し、SIP要求破棄機能107が該当SIP要求を破棄する(ステップ907)。その後、ステップS901から繰り返す。
As a result of step S906, if there is a SIP request holding the same identifier in the queue, it is recognized as a SIP retransmission request, and the SIP request discard
ステップS904の結果、ステップS901で受信したSIP要求が高優先と判断された場合、または、ステップS906の結果、キュー内に同一識別子を保持するSIP要求が存在しないと判断された場合には、SIP要求一時格納機能109がSIP要求を、優先度に応じたキューに格納する(ステップS908)。その後、ステップS901から繰り返す。
As a result of step S904, if it is determined that the SIP request received in step S901 has high priority, or if it is determined in step S906 that there is no SIP request holding the same identifier in the queue, the SIP request The request
次に、本発明の第3の実施の形態に係る優先制御装置101が、SIPサーバにSIP要求を転送する場合の動作について説明する。本発明の第3の実施の形態に係る優先制御装置101が、SIPサーバにSIP要求を転送する場合の動作は、図4で示した、本発明の第1の実施の形態に係る優先制御装置101での動作と同様である。
Next, the operation when the
(第3の実施の形態の効果)
このように、本実施の形態によれば、SIPサーバが単位時間あたりに処理可能なSIPトランザクション数を増加させることが可能となる。
(Effect of the third embodiment)
Thus, according to the present embodiment, it is possible to increase the number of SIP transactions that the SIP server can process per unit time.
これは、受信したSIP要求の識別子を、既に低優先キューに挿入されたSIP要求の識別子と比較することで、UAから受信したSIP要求をSIPサーバに転送する必要があるかを判断し、この判断を、SIP要求を低優先キューに挿入する前に実行することで、低優先キューに余分なSIP再送要求を挿入することを防止できるためである。 This determines whether the SIP request received from the UA needs to be transferred to the SIP server by comparing the received SIP request identifier with the identifier of the SIP request already inserted in the low priority queue. This is because it is possible to prevent an extra SIP retransmission request from being inserted into the low priority queue by executing the determination before inserting the SIP request into the low priority queue.
更に、本実施の形態によれば、受信したSIP要求が再送かを判断する情報を使用しなくともSIP要求の再送判断が可能となる。 Furthermore, according to the present embodiment, it is possible to determine retransmission of a SIP request without using information for determining whether the received SIP request is retransmission.
これは、SIP要求が再送かの判断を、受信したSIP要求の識別子と、SIP要求一時格納機能109が保持する低優先キューに挿入されたSIP要求の識別子とを順次比較することで実現しているためである。
This is realized by sequentially comparing the identifier of the received SIP request with the identifier of the SIP request inserted in the low priority queue held by the SIP request
(第4の実施の形態)
次に、本発明の第4の実施の形態について、図表を参照して詳細に説明する。
(Fourth embodiment)
Next, a fourth embodiment of the present invention will be described in detail with reference to the drawings.
(第4の実施の形態の構成)
図10に、本発明の第4の実施の形態に係る優先制御装置101の構成図を示す。この図に示すように、本発明の第4の実施の形態に係る優先制御装置101は、本発明の第1及び第2及び第3の実施の形態に係る優先制御装置101における、SIPプロキシー・サーバ機能111及びメッセージ種別判定機能102及びSIP要求優先度判定機能105及びSIP要求破棄機能107及びSIP要求一時格納機能109及び転送SIP要求抽出機能110に加えて、SIP要求優先度判定機能105が低優先と判定したSIP要求を、SIP要求一時格納機能109が保持する低優先キューに挿入する時刻を追加する挿入時刻追加機能1002と、SIP要求が低優先キューに挿入された時刻を格納する挿入時刻格納機能1001と、転送SIP要求抽出機能110が抽出したSIP要求が有効期限を越えていないか確認する有効期限確認機能1004と、挿入時刻格納機能1001が保持する挿入時刻から該当SIP要求の挿入時刻を削除する挿入時刻削除機能1003とから構成される。
(Configuration of the fourth embodiment)
FIG. 10 shows a configuration diagram of the
ここで、挿入時刻格納機能1001が格納する挿入時刻は、例えば、図11に示す形態となる。図11では、SIP要求の識別子であるCall−IDヘッダの値と、現在時刻をミリ秒として表現した挿入時刻とが組になり格納されている。SIPプロトコルでは、SIP要求が有効である時間が規定されており、該当時間を越えてもSIP応答が返信されない場合には、タイムアウトとなりSIPトランザクションが終了する。このタイムアウトの時間は、例えば、INVITEリクエストの場合には、一般的に32秒である。つまり、優先制御装置101で32秒以上滞留したINVITEリクエストは、SIPサーバで処理を完了したとしても、送信元であるUAではタイムアウトしているため、無意味な処理となる。本発明の第4の実施の形態では、キュー挿入時に挿入時刻を一時保存し、有効期限確認機能1004がタイムアウトかを確認し、タイムアウトの場合には破棄することで、SIPサーバに無意味な処理を誘発するSIP要求の転送を抑制している。
Here, the insertion time stored by the insertion
(第4の実施の形態の動作)
次に、本発明の第4の実施の形態に係る優先制御装置101の動作を図表を参照して詳細に説明する。
(Operation of the fourth embodiment)
Next, the operation of the
図12は、本発明の第4の実施の形態に係る優先制御装置101において、外部からメッセージを受信した際の動作を示すフローチャートである。
FIG. 12 is a flowchart showing an operation when receiving a message from the outside in the
いま、SIPプロキシー・サーバ機能111が、メッセージを受信したとする(ステップS1201)。次に、メッセージ種別判定機能102が該当メッセージの種類を調査する(ステップS1202)。
Now, it is assumed that the SIP
ステップS1202の結果、受信したメッセージがSIP応答の場合には、SIPプロキシー・サーバ機能111が、SIP応答記載の宛先にSIP応答を送信する(ステップS1206)。その後、ステップS1201から繰り返す。
If the received message is a SIP response as a result of step S1202, the SIP
ステップS1202の結果、受信したメッセージがSIP要求の場合には、SIP要求優先度判定機能105が、該当SIP要求の優先度を判定する(ステップS1203)。この処理は、本発明の第1及び第2及び第3の実施の形態に係る優先制御装置101での処理(ステップS305、ステップS604、ステップS904)と同様である。
If the received message is a SIP request as a result of step S1202, the SIP request
ステップS1203の結果、SIP要求の優先度が低優先と判定された場合には、挿入時刻追加機能1002が、該当SIP要求の挿入時刻を、挿入時刻格納機能1001が保持する挿入時刻に追加する(ステップS1204)。この処理は、例えば、挿入時刻が図11で示す形態の場合には、以下のようになる。挿入時刻追加機能1002は、SIP要求優先度判定機能105から受信したSIP要求のCall−IDヘッダの値を抽出し、更に、ミリ秒として表現された現在の時刻を取得する。その後、このCall−IDヘッダの値と現在時刻を組として挿入時刻に追加する。
If it is determined in step S1203 that the priority of the SIP request is low priority, the insertion
ステップS1203の結果、SIP要求の優先度が高優先と判定された場合、または、ステップS1204の結果、挿入時刻の追加処理が完了した場合には、SIP要求一時格納機能が、優先度に応じたキューに、該当SIP要求を挿入する(ステップS1205)。その後、ステップS1201から繰り返す。 If the SIP request priority is determined to be high priority as a result of step S1203, or if the insertion time addition processing is completed as a result of step S1204, the SIP request temporary storage function is in accordance with the priority. The corresponding SIP request is inserted into the queue (step S1205). Then, it repeats from step S1201.
次に、本発明の第4の実施の形態に係る優先制御装置101が、SIPサーバにSIP要求を転送する場合の動作について説明する。
Next, an operation when the
図13は、本発明の第4の実施の形態に係る優先制御装置101が、SIP要求一時格納機能109に格納されたSIP要求をSIPプロキシー・サーバ機能111経由でSIPサーバに転送する場合の動作を示すフローチャートである。
FIG. 13 shows the operation when the
いま、転送SIP要求抽出機能110が、次にSIP要求を抽出することで、SIPサーバの処理可能量に到達するかを調査する(ステップS1301)。なお、この処理は、本発明の第1の実施の形態に係る優先制御装置101における処理(ステップS401)と同様の処理である。
Now, the transfer SIP
ステップS1301の結果、SIPサーバの処理可能量に到達したと判断された場合には、再度、ステップS1301から繰り返す。 As a result of step S1301, when it is determined that the processing capacity of the SIP server has been reached, the processing is repeated again from step S1301.
ステップS1301の結果、SIPサーバの処理可能量に到達していないと判断された場合には、更に、転送SIP要求抽出機能110が、転送するSIP要求を抽出する(ステップS1302)。なお、この処理は、本発明の第1の実施の形態に係る優先制御装置101における処理(ステップS402)と同様の処理である。次に、ステップS1302の結果抽出したSIP要求の挿入時刻が存在するかを、有効期限確認機能110が調査する(ステップS1303)。
If it is determined as a result of step S1301 that the processing capacity of the SIP server has not been reached, the transfer SIP
この処理は、例えば、挿入時刻格納機能1001が格納する挿入時刻が、図11に示す形態で実現されている場合には、以下のように実現できる。まず、挿入時刻格納機能1004が、転送SIP要求抽出機能110から受信したSIP要求に格納されるCall−IDヘッダの値を抽出する。次に、このCall−IDヘッダの値をキーとして、挿入時刻格納機能1001が保持する挿入時刻を検索する。この結果、該当Call−IDヘッダの値を保持するエントリが検索された場合には「存在」とし、検索されない場合には「存在しない」と判断する。
This processing can be realized as follows, for example, when the insertion time stored by the insertion
ステップS1303の結果、挿入時刻が存在する場合には、有効期限確認機能1004が、更に、ステップS1302で抽出したSIP要求の有効期限が無効となっていないかを確認する(ステップS1304)。この処理は、例えば、挿入時刻格納機能1001が格納する挿入時刻が、図11に示す形態で実現されている場合には、以下のように実現できる。まず、有効期限確認機能1004が、ステップS1302の結果抽出したSIP要求のCall−IDヘッダの値を抽出し、該当Call−IDヘッダの値をキーに、挿入時刻格納機能1001が格納する挿入時刻を検索する。この結果、該当Call−IDヘッダの値を持つSIP要求がキューに挿入された時刻(ミリ秒表示)が得られる。
If the insertion time exists as a result of step S1303, the expiration
次に、有効期限確認機能1004は、現在の時刻をミリ秒単位で取得し、先ほど取得したキューへの挿入時刻と比較する。一般的には、SIPプロトコルにおいて、INVITEリクエストの有効期限は32秒(32000ミリ秒)であるため、挿入時刻と現時刻との差分が32000ミリ秒以上の場合には、ステップS1302で抽出したSIP要求は「有効期限切れ」と判定し、一方、挿入時刻と現時刻との差分が32000ミリ秒未満の場合には、「有効期限切れではない」と判定する。
Next, the expiry
ステップS1304の結果、ステップS1302の結果抽出したSIP要求が有効期限切れと判定された場合には、SIP要求破棄機能107が該当SIP要求を破棄する(ステップS1306)。その後、挿入時刻削除機能1003が、該当SIP要求の挿入時刻を削除する(ステップS1305)。
As a result of step S1304, when it is determined that the SIP request extracted as a result of step S1302 has expired, the SIP request discard
この処理は、例えば、挿入時刻格納機能1001が格納する挿入時刻が、図11に示す形態で実現されている場合には、以下のように実現できる。まず、挿入時刻削除機能1003が、ステップS1302で抽出したSIP要求のCall−IDヘッダの値を抽出する。次に、挿入時刻削除機能1003が、挿入時刻格納機能1001が保持している挿入時刻において、該当Call−IDヘッダの値を保持するエントリを検索し、削除するのである。その後、ステップS1302から繰り返す。
This processing can be realized as follows, for example, when the insertion time stored by the insertion
ステップS1304の結果、ステップS1302の結果抽出したSIP要求が有効期限切れではないと判定された場合には、挿入時刻削除機能1003が、該当SIP要求の挿入時刻を削除する(ステップS1305)。この処理内容は前述した通りである。
If it is determined as a result of step S1304 that the SIP request extracted as a result of step S1302 has not expired, the insertion
ステップS1303の結果、挿入時刻が存在しない場合、または、ステップS1305の結果、挿入時刻削除機能1003が、ステップS1302の結果抽出したSIP要求に関する挿入時刻を削除した場合には、SIPプロキシー・サーバ機能111が、ステップS1302で抽出したSIP要求を、SIPサーバに転送する(ステップS1307)。その後、ステップS1307から繰り返す。
When the insertion time does not exist as a result of step S1303, or when the insertion
(第4の実施の形態の効果)
このように、本実施の形態によれば、SIPサーバが単位時間あたりに処理可能なSIPトランザクション数を増加させることが可能となることである。
(Effect of the fourth embodiment)
Thus, according to the present embodiment, it is possible to increase the number of SIP transactions that the SIP server can process per unit time.
これは、SIPプロトコルでは、UAから送信されたSIP要求に有効期限が存在することを考慮し、キュー挿入時に挿入時刻を一時保存し、SIPサーバへSIP要求を転送する時点で、有効期限確認機能1004が転送するSIP要求の有効期限が切れていないかを確認し、有効期限切れの場合には破棄することで、SIPサーバに無意味な処理を誘発する、優先制御装置101で有効期限以上滞留したSIP要求の転送を抑制しているためである。 This is because, in the SIP protocol, considering that the SIP request transmitted from the UA has an expiration date, the expiration time is confirmed when the insertion time is temporarily stored when the queue is inserted and the SIP request is transferred to the SIP server. 1004 checks whether the SIP request to be forwarded has expired, and if it expires, discards it and induces meaningless processing to the SIP server. This is because forwarding of SIP requests is suppressed.
(第5の実施の形態)
次に、本発明の第5の実施の形態について、図表を参照して詳細に説明する。
(Fifth embodiment)
Next, a fifth embodiment of the present invention will be described in detail with reference to the drawings.
(第5の実施の形態の構成)
図14に、本発明の第5の実施の形態に係る優先制御装置101の構成図を示す。この図に示すように、本発明の第5の実施の形態に係る優先制御装置101は、図1に示した本発明の第1の実施の形態に係る優先制御装置101の構成と、図10に示した本発明の第4の実施の形態に係る優先制御装置101の構成とを組み合わせたものとなっている。なお、本発明の第5の実施の形態に係る優先制御装置101を構成する機能群は、本発明の第1の実施の形態に係る優先制御装置101を構成する機能群、及び、本発明の第4の実施の形態に係る優先制御装置101を構成する機能群と同様の機能を有する。
(Configuration of Fifth Embodiment)
FIG. 14 shows a configuration diagram of the
(第5の実施の形態の動作)
次に、本発明の第5の実施の形態に係る優先制御装置101の動作を図表を参照して詳細に説明する。
(Operation of the fifth embodiment)
Next, the operation of the
図15は、本発明の第5の実施の形態に係る優先制御装置101において、外部からメッセージを受信した際の動作を示すフローチャートである。
FIG. 15 is a flowchart showing an operation when receiving a message from the outside in the
この図に示すように、このフローチャートは、図3で示した本発明の第1の実施の形態に係る優先制御装置101の動作における処理中識別子への識別子の追加処理(ステップS1508)の後に、挿入時刻追加機能1002の処理(ステップS1509)を挿入した形態になっている。
As shown in this figure, this flowchart shows the identifier addition processing (step S1508) to the in-process identifier in the operation of the
次に、本発明の第5の実施の形態に係る優先制御装置101が、SIPサーバにSIP要求を転送する場合の動作について説明する。この動作は、図13で示した、本発明の第4の実施の形態に係る優先制御装置101における動作と同様である。
Next, the operation when the
(第5の実施の形態の効果)
このように、本実施の形態によれば、SIPサーバが単位時間あたりに処理可能なSIPトランザクション数を増加させることが可能となることである。
(Effect of 5th Embodiment)
Thus, according to the present embodiment, it is possible to increase the number of SIP transactions that the SIP server can process per unit time.
これは、まず、処理中識別子に、優先制御装置またはSIPサーバに既に存在し、処理中(または処理予定)のSIP要求の識別子を常時格納することで、UAから受信したSIP要求をSIPサーバに転送する必要があるかを判断し、この判断を、SIP要求を低優先キューに挿入する前に実行することで、低優先キューに余分なSIP再送要求を挿入することを防止し、更に、SIPプロトコルでは、UAから送信されたSIP要求に有効期限が存在することを考慮し、キュー挿入時に挿入時刻を一時保存し、SIPサーバへSIP要求を転送する時点で、有効期限確認機能1004が転送するSIP要求の有効期限が切れていないかを確認し、有効期限切れの場合には破棄することで、SIPサーバに無意味な処理を誘発する、優先制御装置101で有効期限以上滞留したSIP要求の転送を抑制しているためである。
First, the SIP request received from the UA is stored in the SIP server by always storing the identifier of the SIP request already existing in the priority control device or SIP server and being processed (or scheduled to be processed). It is determined whether transfer is necessary, and this determination is performed before the SIP request is inserted into the low priority queue, thereby preventing an extra SIP retransmission request from being inserted into the low priority queue. In the protocol, considering that the SIP request transmitted from the UA has an expiration date, the insertion time is temporarily stored when the queue is inserted, and the expiration
更に、本実施の形態によれば、受信したSIP要求が再送かを判断する処理中識別子の増加を抑制することが可能となる。 Furthermore, according to the present embodiment, it is possible to suppress an increase in the in-process identifier for determining whether the received SIP request is a retransmission.
これは、識別子追加機能108が、SIP要求優先度判定機能105に低優先と判定され、かつ、処理中識別子に識別子が存在しないSIP要求の識別子を、該当SIP要求を低優先キューに挿入する前に処理中識別子に追加し、かつ、識別子削除機能103が、SIP応答受信時にSIP応答に格納された識別子を処理中識別子から削除することで、処理中識別子に格納する識別子を、優先制御装置またはSIPサーバに存在し、処理中(または処理予定)であるSIP要求を示すもののみに限定できるためである。
This is because the
(第6の実施の形態)
次に、本発明の第6の実施の形態について、図表を参照して詳細に説明する。
(Sixth embodiment)
Next, a sixth embodiment of the present invention will be described in detail with reference to the drawings.
(第6の実施の形態の構成)
図16に、本発明の第6の実施の形態に係る優先制御装置101の構成図を示す。この図に示すように、本発明の第6の実施の形態に係る優先制御装置101は、図5に示した本発明の第2の実施の形態に係る優先制御装置101の構成と、図10に示した本発明の第4の実施の形態に係る優先制御装置101の構成とを組み合わせたものとなっている。なお、本発明の第6の実施の形態に係る優先制御装置101を構成する機能群は、本発明の第2の実施の形態に係る優先制御装置101を構成する機能群、及び、本発明の第4の実施の形態に係る優先制御装置101を構成する機能群と同様の機能を有する。
(Configuration of the sixth embodiment)
FIG. 16 shows a configuration diagram of the
(第6の実施の形態の動作)
次に、本発明の第6の実施の形態に係る優先制御装置101の動作を図表を参照して詳細に説明する。
(Operation of the sixth embodiment)
Next, the operation of the
図17は、本発明の第5の実施の形態に係る優先制御装置101において、外部からメッセージを受信した際の動作を示すフローチャートである。
FIG. 17 is a flowchart showing an operation when receiving a message from the outside in the
この図に示すように、このフローチャートは、図6で示した本発明の第2の実施の形態に係る優先制御装置101の動作における処理中識別子への識別子の追加処理(ステップS1707)の後に、挿入時刻追加機能1002の処理(ステップS1708)を挿入した形態になっている。
As shown in this figure, this flowchart shows the identifier addition process (step S1707) to the in-process identifier in the operation of the
次に、本発明の第6の実施の形態に係る優先制御装置101が、SIPサーバにSIP要求を転送する場合の動作について説明する。
Next, an operation when the
図18は、本発明の第6の実施の形態に係る優先制御装置101が、SIPサーバにSIP要求を転送する場合の動作を示したフローチャートである。この図に示すように、このフローチャートは、図13で示した本発明の第4の実施の形態に係る優先制御装置101の動作におけるSIP要求の挿入時刻を削除する処理(ステップS1806)の後に、識別子削除機能103での処理中識別子からSIP要求記載の識別子を削除する処理(ステップS1807)を挿入した形態になっている。
FIG. 18 is a flowchart showing an operation when the
(第6の実施の形態の効果)
このように、本実施の形態によれば、SIPサーバが単位時間あたりに処理可能なSIPトランザクション数を増加させることが可能となることである。
(Effect of 6th Embodiment)
Thus, according to the present embodiment, it is possible to increase the number of SIP transactions that the SIP server can process per unit time.
これは、まず、処理中識別子に、優先制御装置に既に存在するSIP要求の識別子を常時格納することで、UAから受信したSIP要求をSIPサーバに転送する必要があるかを判断し、この判断を、SIP要求を低優先キューに挿入する前に実行することで、低優先キューに余分なSIP再送要求を挿入することを防止し、更に、SIPプロトコルでは、UAから送信されたSIP要求に有効期限が存在することを考慮し、キュー挿入時に挿入時刻を一時保存し、SIPサーバへSIP要求を転送する時点で、有効期限確認機能1004が転送するSIP要求の有効期限が切れていないかを確認し、有効期限切れの場合には破棄することで、SIPサーバに無意味な処理を誘発する、優先制御装置101で有効期限以上滞留したSIP要求の転送を抑制しているためである。
First, it is determined whether or not the SIP request received from the UA needs to be transferred to the SIP server by always storing the identifier of the SIP request already existing in the priority control apparatus as the in-process identifier. Is executed before the SIP request is inserted into the low-priority queue, so that an extra SIP retransmission request is prevented from being inserted into the low-priority queue. Further, in the SIP protocol, the SIP request is valid for the SIP request transmitted from the UA. Considering the existence of a time limit, the insertion time is temporarily saved when a queue is inserted, and at the time when the SIP request is transferred to the SIP server, it is confirmed whether the SIP request transferred by the expiration
更に、本実施の形態によれば、受信したSIP要求が再送かを判断する処理中識別子の増加を抑制することが可能となる。 Furthermore, according to the present embodiment, it is possible to suppress an increase in the in-process identifier for determining whether the received SIP request is a retransmission.
これは、識別子追加機能108が、SIP要求優先度判定機能105に低優先と判定され、かつ、処理中識別子に識別子が存在しないSIP要求の識別子を、該当SIP要求を低優先キューに挿入する前に処理中識別子に追加し、かつ、識別子削除機能103が、SIPプロキシー・サーバ機能111を介して、SIP要求をSIPサーバに転送する前に、該当SIP要求の識別子を処理中識別子から削除することで、処理中識別子に格納する識別子を、優先制御装置に存在しているSIP要求を示すもののみに限定できるためである。
This is because the
(第7の実施の形態)
次に、本発明の第7の実施の形態について、図表を参照して詳細に説明する。
(Seventh embodiment)
Next, a seventh embodiment of the present invention will be described in detail with reference to the drawings.
(第7の実施の形態の構成)
図19に、本発明の第7の実施の形態に係る優先制御装置101の構成図を示す。この図に示すように、本発明の第7の実施の形態に係る優先制御装置101は、図8に示した本発明の第3の実施の形態に係る優先制御装置101の構成と、図10に示した本発明の第4の実施の形態に係る優先制御装置101の構成とを組み合わせたものとなっている。なお、本発明の第7の実施の形態に係る優先制御装置101を構成する機能群は、本発明の第3の実施の形態に係る優先制御装置101を構成する機能群、及び、本発明の第4の実施の形態に係る優先制御装置101を構成する機能群と同様の機能を有する。
(Configuration of the seventh embodiment)
FIG. 19 shows a configuration diagram of the
(第7の実施の形態の動作)
次に、本発明の第7の実施の形態に係る優先制御装置101の動作を図表を参照して詳細に説明する。
(Operation of the seventh embodiment)
Next, the operation of the
図20は、本発明の第7の実施の形態に係る優先制御装置101において、外部からメッセージを受信した際の動作を示すフローチャートである。
FIG. 20 is a flowchart showing an operation when receiving a message from the outside in the
この図に示すように、このフローチャートは、図9で示した本発明の第3の実施の形態に係る優先制御装置101の動作における、キュー検索機能804のキュー内に同一識別子が存在するかの調査(ステップS2006)の結果存在しない場合に、挿入時刻追加機能1002の処理(ステップS2008)を挿入した形態になっている。
As shown in this figure, this flowchart shows whether the same identifier exists in the queue of the
次に、本発明の第6の実施の形態に係る優先制御装置101が、SIPサーバにSIP要求を転送する場合の動作について説明する。この動作は、図13で示した、本発明の第4の実施の形態に係る優先制御装置101における動作と同様である。
Next, an operation when the
(第7の実施の形態の効果)
このように、本実施の形態によれば、SIPサーバが単位時間あたりに処理可能なSIPトランザクション数を増加させることが可能となることである。
(Effect of 7th Embodiment)
Thus, according to the present embodiment, it is possible to increase the number of SIP transactions that the SIP server can process per unit time.
これは、まず、受信したSIP要求の識別子を、既に低優先キューに挿入されたSIP要求の識別子と比較することで、UAから受信したSIP要求をSIPサーバに転送する必要があるかを判断し、この判断を、SIP要求を低優先キューに挿入する前に実行することで、低優先キューに余分なSIP再送要求を挿入することを防止し、更に、SIPプロトコルでは、UAから送信されたSIP要求に有効期限が存在することを考慮し、キュー挿入時に挿入時刻を一時保存し、SIPサーバへSIP要求を転送する時点で、有効期限確認機能1004が転送するSIP要求の有効期限が切れていないかを確認し、有効期限切れの場合には破棄することで、SIPサーバに無意味な処理を誘発する、優先制御装置101で有効期限以上滞留したSIP要求の転送を抑制しているためである。
This is done by first comparing the received SIP request identifier with the SIP request identifier already inserted in the low priority queue to determine whether the SIP request received from the UA needs to be forwarded to the SIP server. This determination is performed before the SIP request is inserted into the low priority queue, thereby preventing an extra SIP retransmission request from being inserted into the low priority queue. Considering the existence of an expiration date in the request, the SIP request transferred by the expiration
更に、本実施の形態によれば、受信したSIP要求が再送かを判断する情報を使用しなくともSIP要求の再送判断が可能となる。 Furthermore, according to the present embodiment, it is possible to determine retransmission of a SIP request without using information for determining whether the received SIP request is retransmission.
これは、SIP要求が再送かの判断を、受信したSIP要求の識別子と、SIP要求一時格納機能109が保持する低優先キューに挿入されたSIP要求の識別子とを順次比較することで実現しているためである。
This is realized by sequentially comparing the identifier of the received SIP request with the identifier of the SIP request inserted in the low priority queue held by the SIP request
(優先制御装置を含むSIPネットワークの形態)
次に、本発明の第1ないし第7の実施の形態に係る優先制御装置101を含むSIPネットワークについて図表を参照して詳細に説明する。
(SIP network configuration including priority control device)
Next, the SIP network including the
(優先制御装置を含むSIPネットワークの構成)
図21は、本発明の第1ないし第7の実施の形態に係る優先制御装置101を含むSIPネットワークを示すブロック図である。この図に示すように、SIPネットワークは、従来までのSIPサーバSS1と本発明の第1ないし第7の実施の形態に係る優先制御装置101とから構成されるSIPシステム2101と、ユーザ・エージェントUA1、UA2と、SIPシステム2101とユーザ・エージェントUA1、UA2を接続するネットワーク2102とから構成される。
(Configuration of SIP network including priority control device)
FIG. 21 is a block diagram showing a SIP network including the
(優先制御装置を含むSIPネットワークの動作)
次に、本発明の第1ないし第7の実施の形態に係る優先制御装置101を含むSIPネットワークの動作を説明する。
(Operation of SIP network including priority control device)
Next, the operation of the SIP network including the
図22は、本発明の第1ないし第7の実施の形態に係る優先制御装置101を含むSIPネットワークの動作を示すシーケンス図である。
この図に示すように、UAから転送されるinitial REGISTERリクエストや認証REGISTERリクエストは優先制御装置101にて高優先と判断され、SIPサーバの処理可能量を超えないように、迅速にSIPサーバに転送される。この結果、SIPサーバでのUA情報の更新が滞りなく実行される。
FIG. 22 is a sequence diagram showing an operation of the SIP network including the
As shown in this figure, the initial REGISTER request and the authentication REGISTER request transferred from the UA are judged to be high priority by the
一方、initial INVITEリクエストは、低優先と判断され、低優先キューに挿入される。このように低優先と判断された結果、優先制御装置101にinitial INVITEリクエストが滞留してしまうと、UAからは、一般的なSIPプロトコルの再送メカニズムに従ってinitial INVITEリクエストが再度送信される(図22の再送initial INVITE)。優先制御装置101では、既にinitial INVITEリクエストが優先制御装置101に格納されているため、受信した再送initial INVITEリクエストは再送と判断され、破棄される。その後、低優先キューの転送順になった際に、initial INVITEリクエストがSIPサーバへ転送される。
On the other hand, the initial INVITE request is determined to have low priority and is inserted into the low priority queue. If the initial INVITE request stays in the
このように、UAとSIPサーバとの間に、本発明の第1ないし第7の実施の形態に係る優先制御装置101を挿入することで、UA情報の有効期限切れと、余分なSIP要求の転送、及び、SIPサーバの処理可能量以上のSIP要求転送による、SIPサーバの高負荷状態誘発を防止できるのである。
Thus, by inserting the
以上好ましい実施の形態と実施例をあげて本発明を説明したが、本発明は必ずしも、上記実施の形態及び実施例に限定されるものでなく、その技術的思想の範囲内において様々に変形して実施することができる。 Although the present invention has been described with reference to the preferred embodiments and examples, the present invention is not necessarily limited to the above-described embodiments and examples, and various modifications can be made within the scope of the technical idea. Can be implemented.
本発明の優先制御装置は、複数のユーザ端末及びSIPサーバを有するSIPネットワークに利用できる。 The priority control apparatus of the present invention can be used in a SIP network having a plurality of user terminals and a SIP server.
101:優先制御装置
102:メッセージ種別判定機能
103:識別子削除機能
104:処理中識別子格納機能
105:SIP要求優先度判定機能
106:識別子存在確認機能
107:SIP要求破棄機能
108:識別子追加機能
109:SIP要求一時格納機能
110:転送SIP要求抽出機能
111:SIPプロキシー・サーバ機能
803:識別子抽出機能
804:キュー検索機能
1001:挿入時刻格納機能
1002:挿入時刻追加機能
1003:挿入時刻削除機能
1004:有効期限確認機能
2101:SIPシステム
2102:ネットワーク
SS1:SIPサーバ
UA1、 UA2:ユーザ・エージェント
101: priority control device 102: message type determination function 103: identifier deletion function 104: in-process identifier storage function 105: SIP request priority determination function 106: identifier presence confirmation function 107: SIP request discard function 108: identifier addition function 109: SIP request temporary storage function 110: Forwarding SIP request extraction function 111: SIP proxy server function 803: Identifier extraction function 804: Queue search function 1001: Insert time storage function 1002: Insert time addition function 1003: Insert time deletion function 1004: Valid Deadline confirmation function 2101: SIP system 2102: Network SS1: SIP server UA1, UA2: User agent
Claims (21)
前記SIPプロキシー・サーバ機能が受信したメッセージがSIP要求かSIP応答かを判別するメッセージ種別判定機能と、
前記SIPプロキシー・サーバ機能が受信したSIP要求の種類に応じて、SIP要求の優先度を決定するSIP要求優先度判定機能と、
前記SIP要求優先度判定機能が低優先と判定したSIP要求に格納された識別子が、現在処理中または処理予定のSIP要求の識別子である処理中識別子に存在するかを確認する識別子存在確認機能と、
当該SIP要求の識別子が処理中識別子に存在する場合に、当該SIP要求を破棄するSIP要求破棄機能と、
前記SIP要求優先度判定機能に低優先と判定され、かつ、処理中識別子に識別子が存在しないSIP要求の識別子を処理中識別子に追加する識別子追加機能と、
処理中識別子を格納する処理中識別子格納機能と、
SIP応答受信時にSIP応答に格納された識別子を処理中識別子から削除する識別子削除機能と、
SIP要求の優先度ごとにキューを保持し、前記SIP要求優先度判定機能または前記識別子追加機能から受信したSIP要求を優先度に応じてキューに挿入するSIP要求一時格納機能と、
前記SIP要求一時格納機能のキューに格納されているSIP要求を、SIPサーバの単位時間当たりのSIP要求処理可能量を超えないように、優先度に応じて抽出し、前記SIPプロキシー・サーバ機能を介してSIPサーバに転送する転送SIP要求抽出機能と、
から構成されることを特徴とする優先制御装置。 SIP proxy server function,
A message type determination function for determining whether a message received by the SIP proxy server function is a SIP request or a SIP response;
A SIP request priority determination function for determining the priority of the SIP request according to the type of the SIP request received by the SIP proxy server function;
An identifier presence confirmation function for confirming whether the identifier stored in the SIP request determined by the SIP request priority determination function as low priority exists in the processing identifier that is the identifier of the SIP request currently being processed or scheduled to be processed; ,
A SIP request discard function for discarding the SIP request when the identifier of the SIP request exists in the in-process identifier;
An identifier adding function that adds an identifier of a SIP request that is determined to be low priority to the SIP request priority determination function and that does not have an identifier in the processing identifier, to the processing identifier;
In-process identifier storage function for storing in-process identifiers;
An identifier deletion function for deleting the identifier stored in the SIP response from the processing-in-progress identifier when the SIP response is received;
A SIP request temporary storage function that holds a queue for each priority of the SIP request and inserts the SIP request received from the SIP request priority determination function or the identifier addition function into the queue according to the priority;
The SIP request stored in the queue of the SIP request temporary storage function is extracted according to the priority so as not to exceed the SIP request processing capacity per unit time of the SIP server, and the SIP proxy server function is A forwarding SIP request extraction function for forwarding to a SIP server via
A priority control device comprising:
前記SIPプロキシー・サーバ機能が受信したメッセージがSIP要求かSIP応答かを判別するメッセージ種別判定機能と、
前記SIPプロキシー・サーバ機能が受信したSIP要求の種類に応じて、SIP要求の優先度を決定するSIP要求優先度判定機能と、
前記SIP要求優先度判定機能が低優先と判定したSIP要求に格納された識別子が、現在処理中または処理予定のSIP要求の識別子である処理中識別子に存在するかを確認する識別子存在確認機能と、
当該SIP要求の識別子が処理中識別子に存在する場合には当該SIP要求を破棄するSIP要求破棄機能と、
前記SIP要求優先度判定機能に低優先と判定され、かつ、処理中識別子に識別子が存在しないSIP要求の識別子を処理中識別子に追加する識別子追加機能と、
処理中識別子を格納する処理中識別子格納機能と、
SIP要求の優先度ごとにキューを保持し、前記SIP要求優先度判定機能または前記識別子追加機能から受信したSIP要求を優先度に応じてキューに挿入するSIP要求一時格納機能と、
前記SIP要求一時格納機能のキューに格納されているSIP要求を、SIPサーバの単位時間当たりのSIP要求処理可能量を超えないように、優先度に応じて抽出し、SIPプロキシー・サーバ機能を介してSIPサーバに転送する転送SIP要求抽出機能と、
前記転送SIP要求抽出機能により抽出されたSIP要求に格納された識別子を処理中識別子から削除する識別子削除機能と、
から構成されることを特徴とする優先制御装置。 SIP proxy server function,
A message type determination function for determining whether a message received by the SIP proxy server function is a SIP request or a SIP response;
A SIP request priority determination function for determining the priority of the SIP request according to the type of the SIP request received by the SIP proxy server function;
An identifier presence confirmation function for confirming whether the identifier stored in the SIP request determined by the SIP request priority determination function as low priority exists in the processing identifier that is the identifier of the SIP request currently being processed or scheduled to be processed; ,
A SIP request discarding function for discarding the SIP request when the identifier of the SIP request exists in the in-process identifier;
An identifier adding function that adds an identifier of a SIP request that is determined to be low priority to the SIP request priority determination function and that does not have an identifier in the processing identifier, to the processing identifier;
In-process identifier storage function for storing in-process identifiers;
A SIP request temporary storage function that holds a queue for each priority of the SIP request and inserts the SIP request received from the SIP request priority determination function or the identifier addition function into the queue according to the priority;
The SIP request stored in the queue of the SIP request temporary storage function is extracted according to the priority so as not to exceed the SIP request processable amount per unit time of the SIP server, and is passed through the SIP proxy server function. A transfer SIP request extraction function for transferring to a SIP server,
An identifier deletion function for deleting the identifier stored in the SIP request extracted by the transfer SIP request extraction function from the in-process identifier;
A priority control device comprising:
前記SIPプロキシー・サーバ機能が受信したメッセージがSIP要求かSIP応答かを判別するメッセージ種別判定機能と、
前記SIPプロキシー・サーバ機能が受信したSIP要求の種類に応じて、SIP要求の優先度を決定するSIP要求優先度判定機能と、
前記SIP要求優先度判定機能で低優先と判定されたSIP要求の識別子を抽出する識別子抽出機能と、
前記識別子抽出機能が抽出した識別子と同一の識別子を保持するSIP要求が、前記SIP要求一時格納機能が保持するキューに既に挿入されているかを検索するキュー検索機能と、
前記キュー検索機能により、前記SIPプロキシー・サーバ機能が受信したSIP要求が、既にキューに存在する場合には当該SIP要求を破棄するSIP要求破棄機能と、
SIP要求の優先度ごとにキューを保持し、前記SIP要求優先度判定機能または前記キュー検索機能から受信したSIP要求を優先度に応じてキューに挿入するSIP要求一時格納機能と、
前記SIP要求一時格納機能のキューに格納されているSIP要求を、SIPサーバの単位時間当たりのSIP要求処理可能量を超えないように、優先度に応じて抽出し、前記SIPプロキシー・サーバ機能を介してSIPサーバに転送する転送SIP要求抽出機能と、
から構成されることを特徴とする優先制御装置。 SIP proxy server function,
A message type determination function for determining whether a message received by the SIP proxy server function is a SIP request or a SIP response;
A SIP request priority determination function for determining the priority of the SIP request according to the type of the SIP request received by the SIP proxy server function;
An identifier extraction function for extracting an identifier of a SIP request determined to be low priority by the SIP request priority determination function;
A queue search function for searching whether a SIP request holding the same identifier as the identifier extracted by the identifier extraction function is already inserted in the queue held by the SIP request temporary storage function;
A SIP request discard function for discarding the SIP request when the SIP request received by the SIP proxy server function is already in the queue by the queue search function;
A SIP request temporary storage function that holds a queue for each priority of a SIP request and inserts the SIP request received from the SIP request priority determination function or the queue search function into the queue according to the priority;
The SIP request stored in the queue of the SIP request temporary storage function is extracted according to the priority so as not to exceed the SIP request processing capacity per unit time of the SIP server, and the SIP proxy server function is A forwarding SIP request extraction function for forwarding to a SIP server via
A priority control device comprising:
前記SIPプロキシー・サーバ機能が受信したメッセージがSIP要求かSIP応答かを判別するメッセージ種別判定機能と、
前記SIPプロキシー・サーバ機能が受信したSIP要求の種類に応じて、SIP要求の優先度を決定するSIP要求優先度判定機能と、
前記SIP要求優先度判定機能が低優先と判定したSIP要求を、前記SIP要求一時格納機能が保持する低優先キューに挿入する時刻を追加する挿入時刻追加機能と、
SIP要求が低優先キューに挿入された時刻を格納する挿入時刻格納機能と、
SIP要求の優先度ごとにキューを保持し、前記SIP要求優先度判定機能または前記識別子追加機能から受信したSIP要求を優先度に応じてキューに挿入するSIP要求一時格納機能と、
前記SIP要求一時格納機能のキューに格納されているSIP要求を、SIPサーバの単位時間当たりのSIP要求処理可能量を超えないように、優先度に応じて抽出し、前記SIPプロキシー・サーバ機能を介してSIPサーバに転送する転送SIP要求抽出機能と、
前記転送SIP要求抽出機能が抽出したSIP要求が有効期限を越えていないか確認する有効期限確認機能と、
前記有効期限確認機能の結果、前記転送SIP要求抽出機能が抽出したSIP要求が有効期限を越えていた場合には該当SIP要求を破棄するSIP要求破棄機能と、
前記挿入時刻格納機能が保持する挿入時刻から該当SIP要求の挿入時刻を削除する挿入時刻削除機能と、
から構成されることを特徴とする優先制御装置。 SIP proxy server function,
A message type determination function for determining whether a message received by the SIP proxy server function is a SIP request or a SIP response;
A SIP request priority determination function for determining the priority of the SIP request according to the type of the SIP request received by the SIP proxy server function;
An insertion time addition function for adding a time at which the SIP request determined by the SIP request priority determination function is determined to be low priority to the low priority queue held by the SIP request temporary storage function;
An insertion time storage function for storing the time when the SIP request is inserted into the low priority queue;
A SIP request temporary storage function that holds a queue for each priority of the SIP request and inserts the SIP request received from the SIP request priority determination function or the identifier addition function into the queue according to the priority;
The SIP request stored in the queue of the SIP request temporary storage function is extracted according to the priority so as not to exceed the SIP request processing capacity per unit time of the SIP server, and the SIP proxy server function is A forwarding SIP request extraction function for forwarding to a SIP server via
An expiration date confirmation function for confirming whether the SIP request extracted by the transfer SIP request extraction function has exceeded the expiration date;
If the SIP request extracted by the transfer SIP request extraction function exceeds the expiration date as a result of the expiration date confirmation function, a SIP request discard function for discarding the corresponding SIP request;
An insertion time deletion function for deleting the insertion time of the corresponding SIP request from the insertion time held by the insertion time storage function;
A priority control device comprising:
SIP要求に格納されたCall−IDヘッダの値を表形式で格納した処理中識別子を格納する処理中識別子格納機能とから構成されることを特徴とする優先制御装置。 In the priority control device according to claim 1 and claim 5,
A priority control apparatus comprising a processing identifier storage function for storing a processing identifier that stores a Call-ID header value stored in a SIP request in a table format.
前記優先制御装置に、
SIPプロキシー・サーバ機能と、
前記SIPプロキシー・サーバ機能が受信したメッセージがSIP要求かSIP応答かを判別するメッセージ種別判定機能と、
前記SIPプロキシー・サーバ機能が受信したSIP要求の種類に応じて、SIP要求の優先度を決定するSIP要求優先度判定機能と、
前記SIP要求優先度判定機能が低優先と判定したSIP要求に格納された識別子が、現在処理中または処理予定のSIP要求の識別子である処理中識別子に存在するかを確認する識別子存在確認機能と、
当該SIP要求の識別子が処理中識別子に存在する場合に、当該SIP要求を破棄するSIP要求破棄機能と、
前記SIP要求優先度判定機能に低優先と判定され、かつ、処理中識別子に識別子が存在しないSIP要求の識別子を処理中識別子に追加する識別子追加機能と、
処理中識別子を格納する処理中識別子格納機能と、
SIP応答受信時にSIP応答に格納された識別子を処理中識別子から削除する識別子削除機能と、
SIP要求の優先度ごとにキューを保持し、前記SIP要求優先度判定機能または前記識別子追加機能から受信したSIP要求を優先度に応じてキューに挿入するSIP要求一時格納機能と、
前記SIP要求一時格納機能のキューに格納されているSIP要求を、SIPサーバの単位時間当たりのSIP要求処理可能量を超えないように、優先度に応じて抽出し、前記SIPプロキシー・サーバ機能を介してSIPサーバに転送する転送SIP要求抽出機能と
を実行させることを特徴とする優先制御プログラム。 In a SIP system composed of a SIP server and a priority control device,
In the priority control device,
SIP proxy server function,
A message type determination function for determining whether a message received by the SIP proxy server function is a SIP request or a SIP response;
A SIP request priority determination function for determining the priority of the SIP request according to the type of the SIP request received by the SIP proxy server function;
An identifier presence confirmation function for confirming whether the identifier stored in the SIP request determined by the SIP request priority determination function as low priority exists in the processing identifier that is the identifier of the SIP request currently being processed or scheduled to be processed; ,
A SIP request discard function for discarding the SIP request when the identifier of the SIP request exists in the in-process identifier;
An identifier adding function that adds an identifier of a SIP request that is determined to be low priority to the SIP request priority determination function and that does not have an identifier in the processing identifier, to the processing identifier;
In-process identifier storage function for storing in-process identifiers;
An identifier deletion function for deleting the identifier stored in the SIP response from the processing-in-progress identifier when the SIP response is received;
A SIP request temporary storage function that holds a queue for each priority of the SIP request and inserts the SIP request received from the SIP request priority determination function or the identifier addition function into the queue according to the priority;
The SIP request stored in the queue of the SIP request temporary storage function is extracted according to the priority so as not to exceed the SIP request processing capacity per unit time of the SIP server, and the SIP proxy server function is And a transfer SIP request extraction function for transferring to a SIP server via a priority control program.
前記優先制御装置に、
SIPプロキシー・サーバ機能と、
前記SIPプロキシー・サーバ機能が受信したメッセージがSIP要求かSIP応答かを判別するメッセージ種別判定機能と、
前記SIPプロキシー・サーバ機能が受信したSIP要求の種類に応じて、SIP要求の優先度を決定するSIP要求優先度判定機能と、
前記SIP要求優先度判定機能が低優先と判定したSIP要求に格納された識別子が、現在処理中または処理予定のSIP要求の識別子である処理中識別子に存在するかを確認する識別子存在確認機能と、
当該SIP要求の識別子が処理中識別子に存在する場合には当該SIP要求を破棄するSIP要求破棄機能と、
前記SIP要求優先度判定機能に低優先と判定され、かつ、処理中識別子に識別子が存在しないSIP要求の識別子を処理中識別子に追加する識別子追加機能と、
処理中識別子を格納する処理中識別子格納機能と、
SIP要求の優先度ごとにキューを保持し、前記SIP要求優先度判定機能または前記識別子追加機能から受信したSIP要求を優先度に応じてキューに挿入するSIP要求一時格納機能と、
前記SIP要求一時格納機能のキューに格納されているSIP要求を、SIPサーバの単位時間当たりのSIP要求処理可能量を超えないように、優先度に応じて抽出し、SIPプロキシー・サーバ機能を介してSIPサーバに転送する転送SIP要求抽出機能と、
前記転送SIP要求抽出機能により抽出されたSIP要求に格納された識別子を処理中識別子から削除する識別子削除機能と
を実行させることを特徴とする優先制御プログラム。 In a SIP system composed of a SIP server and a priority control device,
In the priority control device,
SIP proxy server function,
A message type determination function for determining whether a message received by the SIP proxy server function is a SIP request or a SIP response;
A SIP request priority determination function for determining the priority of the SIP request according to the type of the SIP request received by the SIP proxy server function;
An identifier presence confirmation function for confirming whether the identifier stored in the SIP request determined by the SIP request priority determination function as low priority exists in the processing identifier that is the identifier of the SIP request currently being processed or scheduled to be processed; ,
A SIP request discarding function for discarding the SIP request when the identifier of the SIP request exists in the in-process identifier;
An identifier adding function that adds an identifier of a SIP request that is determined to be low priority to the SIP request priority determination function and that does not have an identifier in the processing identifier, to the processing identifier;
In-process identifier storage function for storing in-process identifiers;
A SIP request temporary storage function that holds a queue for each priority of the SIP request and inserts the SIP request received from the SIP request priority determination function or the identifier addition function into the queue according to the priority;
The SIP request stored in the queue of the SIP request temporary storage function is extracted according to the priority so as not to exceed the SIP request processable amount per unit time of the SIP server, and is passed through the SIP proxy server function. A transfer SIP request extraction function for transferring to a SIP server,
A priority control program that executes an identifier deletion function that deletes an identifier stored in a SIP request extracted by the transfer SIP request extraction function from an in-process identifier.
前記優先制御装置に、
SIPプロキシー・サーバ機能と、
前記SIPプロキシー・サーバ機能が受信したメッセージがSIP要求かSIP応答かを判別するメッセージ種別判定機能と、
前記SIPプロキシー・サーバ機能が受信したSIP要求の種類に応じて、SIP要求の優先度を決定するSIP要求優先度判定機能と、
前記SIP要求優先度判定機能で低優先と判定されたSIP要求の識別子を抽出する識別子抽出機能と、
前記識別子抽出機能が抽出した識別子と同一の識別子を保持するSIP要求が、前記SIP要求一時格納機能が保持するキューに既に挿入されているかを検索するキュー検索機能と、
前記キュー検索機能により、前記SIPプロキシー・サーバ機能が受信したSIP要求が、既にキューに存在する場合には当該SIP要求を破棄するSIP要求破棄機能と、
SIP要求の優先度ごとにキューを保持し、前記SIP要求優先度判定機能または前記キュー検索機能から受信したSIP要求を優先度に応じてキューに挿入するSIP要求一時格納機能と、
前記SIP要求一時格納機能のキューに格納されているSIP要求を、SIPサーバの単位時間当たりのSIP要求処理可能量を超えないように、優先度に応じて抽出し、前記SIPプロキシー・サーバ機能を介してSIPサーバに転送する転送SIP要求抽出機能と
を実行させることを特徴とする優先制御プログラム。 In a SIP system composed of a SIP server and a priority control device,
In the priority control device,
SIP proxy server function,
A message type determination function for determining whether a message received by the SIP proxy server function is a SIP request or a SIP response;
A SIP request priority determination function for determining the priority of the SIP request according to the type of the SIP request received by the SIP proxy server function;
An identifier extraction function for extracting an identifier of a SIP request determined to be low priority by the SIP request priority determination function;
A queue search function for searching whether a SIP request holding the same identifier as the identifier extracted by the identifier extraction function is already inserted in the queue held by the SIP request temporary storage function;
A SIP request discard function for discarding the SIP request when the SIP request received by the SIP proxy server function is already in the queue by the queue search function;
A SIP request temporary storage function that holds a queue for each priority of a SIP request and inserts the SIP request received from the SIP request priority determination function or the queue search function into the queue according to the priority;
The SIP request stored in the queue of the SIP request temporary storage function is extracted according to the priority so as not to exceed the SIP request processing capacity per unit time of the SIP server, and the SIP proxy server function is And a transfer SIP request extraction function for transferring to a SIP server via a priority control program.
前記優先制御装置に、
SIPプロキシー・サーバ機能と、
前記SIPプロキシー・サーバ機能が受信したメッセージがSIP要求かSIP応答かを判別するメッセージ種別判定機能と、
前記SIPプロキシー・サーバ機能が受信したSIP要求の種類に応じて、SIP要求の優先度を決定するSIP要求優先度判定機能と、
前記SIP要求優先度判定機能が低優先と判定したSIP要求を、前記SIP要求一時格納機能が保持する低優先キューに挿入する時刻を追加する挿入時刻追加機能と、
SIP要求が低優先キューに挿入された時刻を格納する挿入時刻格納機能と、
SIP要求の優先度ごとにキューを保持し、前記SIP要求優先度判定機能または前記識別子追加機能から受信したSIP要求を優先度に応じてキューに挿入するSIP要求一時格納機能と、
前記SIP要求一時格納機能のキューに格納されているSIP要求を、SIPサーバの単位時間当たりのSIP要求処理可能量を超えないように、優先度に応じて抽出し、前記SIPプロキシー・サーバ機能を介してSIPサーバに転送する転送SIP要求抽出機能と、
前記転送SIP要求抽出機能が抽出したSIP要求が有効期限を越えていないか確認する有効期限確認機能と、
前記有効期限確認機能の結果、前記転送SIP要求抽出機能が抽出したSIP要求が有効期限を越えていた場合には該当SIP要求を破棄するSIP要求破棄機能と、
前記挿入時刻格納機能が保持する挿入時刻から該当SIP要求の挿入時刻を削除する挿入時刻削除機能と
を実行させることを特徴とする優先制御プログラム。 In a SIP system composed of a SIP server and a priority control device,
In the priority control device,
SIP proxy server function,
A message type determination function for determining whether a message received by the SIP proxy server function is a SIP request or a SIP response;
A SIP request priority determination function for determining the priority of the SIP request according to the type of the SIP request received by the SIP proxy server function;
An insertion time addition function for adding a time at which the SIP request determined by the SIP request priority determination function is determined to be low priority to the low priority queue held by the SIP request temporary storage function;
An insertion time storage function for storing the time when the SIP request is inserted into the low priority queue;
A SIP request temporary storage function that holds a queue for each priority of the SIP request and inserts the SIP request received from the SIP request priority determination function or the identifier addition function into the queue according to the priority;
The SIP request stored in the queue of the SIP request temporary storage function is extracted according to the priority so as not to exceed the SIP request processing capacity per unit time of the SIP server, and the SIP proxy server function is A forwarding SIP request extraction function for forwarding to a SIP server via
An expiration date confirmation function for confirming whether the SIP request extracted by the transfer SIP request extraction function has exceeded the expiration date;
If the SIP request extracted by the transfer SIP request extraction function exceeds the expiration date as a result of the expiration date confirmation function, a SIP request discard function for discarding the corresponding SIP request;
An insertion time deletion function for deleting the insertion time of the SIP request from the insertion time held by the insertion time storage function.
前記SIPプロキシー・サーバが受信したメッセージがSIP要求かSIP応答かを判別するメッセージ種別判定ステップと、
前記SIPプロキシー・サーバが受信したSIP要求の種類に応じて、SIP要求の優先度を決定するSIP要求優先度判定ステップと、
前記SIP要求優先度判定ステップが低優先と判定したSIP要求に格納された識別子が、現在処理中または処理予定のSIP要求の識別子である処理中識別子に存在するかを確認する識別子存在確認ステップと、
当該SIP要求の識別子が処理中識別子に存在する場合に、当該SIP要求を破棄するSIP要求破棄ステップと、
前記SIP要求優先度判定ステップに低優先と判定され、かつ、処理中識別子に識別子が存在しないSIP要求の識別子を処理中識別子に追加する識別子追加ステップと、
処理中識別子を格納する処理中識別子格納ステップと、
SIP応答受信時にSIP応答に格納された識別子を処理中識別子から削除する識別子削除ステップと、
SIP要求の優先度ごとにキューを保持し、前記SIP要求優先度判定ステップまたは前記識別子追加ステップから受信したSIP要求を優先度に応じてキューに挿入するSIP要求一時格納ステップと、
前記SIP要求一時格納ステップのキューに格納されているSIP要求を、SIPサーバの単位時間当たりのSIP要求処理可能量を超えないように、優先度に応じて抽出し、前記SIPプロキシー・サーバを介してSIPサーバに転送する転送SIP要求抽出ステップと
を有することを特徴とする優先制御方法。 A priority control method by the priority control device of a SIP system composed of a SIP server and a priority control device,
A message type determination step of determining whether a message received by the SIP proxy server is a SIP request or a SIP response;
SIP request priority determination step for determining the priority of the SIP request according to the type of SIP request received by the SIP proxy server;
An identifier existence confirmation step for confirming whether or not the identifier stored in the SIP request determined by the SIP request priority determination step as a low priority exists in the in-process identifier that is the identifier of the SIP request currently being processed or scheduled to be processed; ,
A SIP request discarding step for discarding the SIP request when the identifier of the SIP request exists in the in-process identifier;
An identifier adding step of adding an identifier of a SIP request that is determined to be low priority in the SIP request priority determination step and that does not have an identifier in the processing identifier to the processing identifier;
A processing identifier storage step for storing a processing identifier;
An identifier deletion step of deleting the identifier stored in the SIP response from the processing-in-progress identifier when the SIP response is received;
A SIP request temporary storage step of holding a queue for each priority of the SIP request and inserting the SIP request received from the SIP request priority determination step or the identifier addition step into the queue according to the priority;
The SIP request stored in the queue of the SIP request temporary storage step is extracted according to the priority so as not to exceed the SIP request processable amount per unit time of the SIP server, and the SIP request is passed through the SIP proxy server. And a transfer SIP request extracting step for transferring to a SIP server.
前記SIPプロキシー・サーバが受信したメッセージがSIP要求かSIP応答かを判別するメッセージ種別判定ステップと、
前記SIPプロキシー・サーバが受信したSIP要求の種類に応じて、SIP要求の優先度を決定するSIP要求優先度判定ステップと、
前記SIP要求優先度判定ステップが低優先と判定したSIP要求に格納された識別子が、現在処理中または処理予定のSIP要求の識別子である処理中識別子に存在するかを確認する識別子存在確認ステップと、
当該SIP要求の識別子が処理中識別子に存在する場合には当該SIP要求を破棄するSIP要求破棄ステップと、
前記SIP要求優先度判定ステップで低優先と判定され、かつ、処理中識別子に識別子が存在しないSIP要求の識別子を処理中識別子に追加する識別子追加ステップと、
処理中識別子を格納する処理中識別子格納ステップと、
SIP要求の優先度ごとにキューを保持し、前記SIP要求優先度判定ステップまたは前記識別子追加ステップから受信したSIP要求を優先度に応じてキューに挿入するSIP要求一時格納ステップと、
前記SIP要求一時格納ステップでキューに格納されているSIP要求を、SIPサーバの単位時間当たりのSIP要求処理可能量を超えないように、優先度に応じて抽出し、SIPプロキシー・サーバを介してSIPサーバに転送する転送SIP要求抽出ステップと、
前記転送SIP要求抽出ステップにより抽出されたSIP要求に格納された識別子を処理中識別子から削除する識別子削除ステップと
を有することを特徴とする優先制御方法。 A priority control method by the priority control device of a SIP system composed of a SIP server and a priority control device,
A message type determination step of determining whether a message received by the SIP proxy server is a SIP request or a SIP response;
SIP request priority determination step for determining the priority of the SIP request according to the type of SIP request received by the SIP proxy server;
An identifier existence confirmation step for confirming whether or not the identifier stored in the SIP request determined by the SIP request priority determination step as a low priority exists in the in-process identifier that is the identifier of the SIP request currently being processed or scheduled to be processed; ,
A SIP request discarding step of discarding the SIP request when the identifier of the SIP request exists in the in-process identifier;
An identifier addition step of adding an identifier of a SIP request that is determined to be low priority in the SIP request priority determination step and has no identifier in the processing identifier to the processing identifier;
A processing identifier storage step for storing a processing identifier;
A SIP request temporary storage step of holding a queue for each priority of the SIP request and inserting the SIP request received from the SIP request priority determination step or the identifier addition step into the queue according to the priority;
The SIP request stored in the queue in the SIP request temporary storage step is extracted according to the priority so as not to exceed the SIP request processable amount per unit time of the SIP server, and is passed through the SIP proxy server. A forwarding SIP request extraction step for forwarding to a SIP server;
A priority control method comprising: an identifier deletion step of deleting the identifier stored in the SIP request extracted by the forwarding SIP request extraction step from the in-process identifier.
前記SIPプロキシー・サーバが受信したメッセージがSIP要求かSIP応答かを判別するメッセージ種別判定ステップと、
前記SIPプロキシー・サーバが受信したSIP要求の種類に応じて、SIP要求の優先度を決定するSIP要求優先度判定ステップと、
前記SIP要求優先度判定ステップで低優先と判定されたSIP要求の識別子を抽出する識別子抽出ステップと、
前記識別子抽出ステップが抽出した識別子と同一の識別子を保持するSIP要求が、前記SIP要求一時格納ステップが保持するキューに既に挿入されているかを検索するキュー検索ステップと、
前記キュー検索ステップにより、前記SIPプロキシー・サーバが受信したSIP要求が、既にキューに存在する場合には当該SIP要求を破棄するSIP要求破棄ステップと、
SIP要求の優先度ごとにキューを保持し、前記SIP要求優先度判定ステップまたは前記キュー検索ステップから受信したSIP要求を優先度に応じてキューに挿入するSIP要求一時格納ステップと、
前記SIP要求一時格納ステップのキューに格納されているSIP要求を、SIPサーバの単位時間当たりのSIP要求処理可能量を超えないように、優先度に応じて抽出し、前記SIPプロキシー・サーバを介してSIPサーバに転送する転送SIP要求抽出ステップと
を有することを特徴とする優先制御方法。 A priority control method by the priority control device of a SIP system composed of a SIP server and a priority control device,
A message type determination step of determining whether a message received by the SIP proxy server is a SIP request or a SIP response;
SIP request priority determination step for determining the priority of the SIP request according to the type of SIP request received by the SIP proxy server;
An identifier extraction step for extracting an identifier of the SIP request determined as low priority in the SIP request priority determination step;
A queue search step for searching whether a SIP request holding the same identifier as the identifier extracted by the identifier extraction step is already inserted in the queue held by the SIP request temporary storage step;
A SIP request discarding step of discarding the SIP request when the SIP request received by the SIP proxy server is already in the queue by the queue search step;
A SIP request temporary storage step of holding a queue for each priority of the SIP request and inserting the SIP request received from the SIP request priority determination step or the queue search step into the queue according to the priority;
The SIP request stored in the queue of the SIP request temporary storage step is extracted according to the priority so as not to exceed the SIP request processable amount per unit time of the SIP server, and the SIP request is passed through the SIP proxy server. And a transfer SIP request extracting step for transferring to a SIP server.
前記SIPプロキシー・サーバが受信したメッセージがSIP要求かSIP応答かを判別するメッセージ種別判定ステップと、
前記SIPプロキシー・サーバが受信したSIP要求の種類に応じて、SIP要求の優先度を決定するSIP要求優先度判定ステップと、
前記SIP要求優先度判定ステップが低優先と判定したSIP要求を、前記SIP要求一時格納ステップが保持する低優先キューに挿入する時刻を追加する挿入時刻追加ステップと、
SIP要求が低優先キューに挿入された時刻を格納する挿入時刻格納ステップと、
SIP要求の優先度ごとにキューを保持し、前記SIP要求優先度判定ステップまたは前記識別子追加ステップから受信したSIP要求を優先度に応じてキューに挿入するSIP要求一時格納ステップと、
前記SIP要求一時格納ステップのキューに格納されているSIP要求を、SIPサーバの単位時間当たりのSIP要求処理可能量を超えないように、優先度に応じて抽出し、前記SIPプロキシー・サーバを介してSIPサーバに転送する転送SIP要求抽出ステップと、
前記転送SIP要求抽出ステップが抽出したSIP要求が有効期限を越えていないか確認する有効期限確認ステップと、
前記有効期限確認ステップの結果、前記転送SIP要求抽出ステップが抽出したSIP要求が有効期限を越えていた場合には該当SIP要求を破棄するSIP要求破棄ステップと、
前記挿入時刻格納ステップが保持する挿入時刻から該当SIP要求の挿入時刻を削除する挿入時刻削除ステップと
を有することを特徴とする優先制御方法。 A priority control method by the priority control device of a SIP system composed of a SIP server and a priority control device,
A message type determination step of determining whether a message received by the SIP proxy server is a SIP request or a SIP response;
SIP request priority determination step for determining the priority of the SIP request according to the type of SIP request received by the SIP proxy server;
An insertion time adding step of adding a time at which the SIP request determined in the SIP request priority determination step is inserted into the low priority queue held by the SIP request temporary storage step;
An insertion time storage step for storing a time when the SIP request is inserted into the low priority queue;
A SIP request temporary storage step of holding a queue for each priority of the SIP request and inserting the SIP request received from the SIP request priority determination step or the identifier addition step into the queue according to the priority;
The SIP request stored in the queue of the SIP request temporary storage step is extracted according to the priority so as not to exceed the SIP request processable amount per unit time of the SIP server, and the SIP request is passed through the SIP proxy server. A transfer SIP request extraction step for transferring to the SIP server;
An expiration date confirmation step for confirming whether the SIP request extracted by the forwarding SIP request extraction step exceeds the expiration date;
A SIP request discarding step of discarding the SIP request if the SIP request extracted by the transfer SIP request extracting step exceeds the expiration date as a result of the expiration date confirmation step;
An insertion time deletion step of deleting the insertion time of the SIP request from the insertion time held by the insertion time storage step.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2007083774A JP4962854B2 (en) | 2007-03-28 | 2007-03-28 | Priority control apparatus, SIP system, priority control program, and priority control method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2007083774A JP4962854B2 (en) | 2007-03-28 | 2007-03-28 | Priority control apparatus, SIP system, priority control program, and priority control method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2008244970A JP2008244970A (en) | 2008-10-09 |
| JP4962854B2 true JP4962854B2 (en) | 2012-06-27 |
Family
ID=39915737
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2007083774A Expired - Fee Related JP4962854B2 (en) | 2007-03-28 | 2007-03-28 | Priority control apparatus, SIP system, priority control program, and priority control method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4962854B2 (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP4751937B2 (en) * | 2009-02-23 | 2011-08-17 | 日本電信電話株式会社 | Transaction occurrence method and transaction occurrence system |
| JP5017425B2 (en) * | 2010-06-21 | 2012-09-05 | 日本電信電話株式会社 | Call processing method and call processing server |
| JP5939049B2 (en) * | 2012-06-13 | 2016-06-22 | 日本電気株式会社 | Message delivery method, message delivery apparatus, and message delivery program |
Family Cites Families (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP3129588B2 (en) * | 1993-01-18 | 2001-01-31 | 日本電信電話株式会社 | Cell frame transfer method |
| JP3296001B2 (en) * | 1993-02-05 | 2002-06-24 | 株式会社日立製作所 | Priority control method in router |
| JPH07221789A (en) * | 1994-01-27 | 1995-08-18 | Hitachi Ltd | Continuous data transmission method and continuous data transmission system |
| JP2001197114A (en) * | 2000-01-14 | 2001-07-19 | Fujitsu Ltd | Frame relay device |
| JP2005341188A (en) * | 2004-05-27 | 2005-12-08 | Matsushita Electric Ind Co Ltd | Communication terminal and relay device |
| JP2006287331A (en) * | 2005-03-31 | 2006-10-19 | Fujitsu Ltd | Congestion control network relay device and congestion control network relay method |
| JP4219920B2 (en) * | 2005-09-21 | 2009-02-04 | セイコーインスツル株式会社 | Data communication method in PHS and portable terminal device for PHS |
-
2007
- 2007-03-28 JP JP2007083774A patent/JP4962854B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2008244970A (en) | 2008-10-09 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10505838B2 (en) | System and method for diverting established communication sessions | |
| US8572382B2 (en) | Out-of band authentication method and system for communication over a data network | |
| US20120008495A1 (en) | Methods And Systems For Controlling SIP Overload | |
| JP3450771B2 (en) | Data transmission method and data transmission apparatus | |
| US8412160B2 (en) | Method for discarding all segments corresponding to the same packet in a buffer | |
| US20070086583A1 (en) | Methods and system for fast session establishment between equipment using h.324 and related telecommunications protocols | |
| US8341272B2 (en) | Method for improving a TCP data transmission in case the physical transmission medium is disconnected | |
| US8296447B2 (en) | Method for copying session information, call control server for executing the same, and computer product | |
| WO2011144146A1 (en) | Method, device and system for transmitting and receiving media streams | |
| CN106101161B (en) | It is a kind of for handle forge TCP data packet method and system | |
| CN103475706B (en) | Pseudo-TCP covert communication method based on SYN-ACK two server bounce mode | |
| CN113765626B (en) | Data transmission method and device of mobile communication system | |
| JP4962854B2 (en) | Priority control apparatus, SIP system, priority control program, and priority control method | |
| US20080144630A1 (en) | Call management method, call management system and message processing server system | |
| US10129163B2 (en) | Methods and apparatus for preventing head of line blocking for RTP over TCP | |
| CN101505239A (en) | Processing apparatus, communication method and system for sending, receiving text by phone | |
| JPWO2006093221A1 (en) | Transmission control apparatus and method | |
| JP5532641B2 (en) | COMMUNICATION SYSTEM, SERVER DEVICE, TERMINAL DEVICE, AND PROGRAM | |
| CN119563299A (en) | Data transmission method, device and system | |
| Yavas et al. | Strict prioritization of new requests over retransmissions for enhancing scalability of SIP servers | |
| Liu | Verification of the SIP transaction using coloured petri nets | |
| WO2020103420A1 (en) | Data transmission method and receiving method, devices and system | |
| Yavas et al. | Controlling SIP server overload with priority based request scheduling | |
| JP2007267151A (en) | Abnormal traffic detection apparatus, abnormal traffic detection method, and abnormal traffic detection program | |
| JP4256277B2 (en) | VoIP gateway device and position information transmission method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20100302 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20120228 |
|
| 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: 20120302 |
|
| 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: 20120315 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 4962854 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150406 Year of fee payment: 3 |
|
| LAPS | Cancellation because of no payment of annual fees |