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

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 PDF

Info

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
Application number
JP2007083774A
Other languages
Japanese (ja)
Other versions
JP2008244970A (en
Inventor
基広 鈴木
浩 風見
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP2007083774A priority Critical patent/JP4962854B2/en
Publication of JP2008244970A publication Critical patent/JP2008244970A/en
Application granted granted Critical
Publication of JP4962854B2 publication Critical patent/JP4962854B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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 Non-Patent Document 1. The SIP network includes a location server, a SIP server, and a user agent (UA). Regarding UA, P.A. 76, “SIP is based on a client-server model between end systems. The end system is equivalent to a user agent (UA). It is actually an end system such as a telephone or a personal computer, but a service is realized by exchanging a request (request) and a response (response) between these end systems. In this specification, the request described in the above description is called a SIP request, and the response is called a SIP response.

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 Patent Document 1. The prior art described in Patent Document 1 discloses a priority control method for packets. However, it can be applied to prevent congestion of the SIP server, which is a problem in the present invention, by replacing the packets with SIP requests. .

図25に、特許文献1記載の従来技術のブロック図を示す。この図に示すように、特許文献1記載の従来技術では、パケット中継処理機構とパケット送信機構にパケットを渡す際に、優先度制御機構が、パケットの優先度を考慮し、挿入するキューを変更している。このように2箇所に優先度制御機構を導入することで、パケットの中継処理時及び送信時に高優先のパケットを率先して処理することが可能となる。更に、特許文献1記載の従来技術では、高優先度のパケットが占有的に処理されることにより、低優先度のパケットがいつまでも処理されないという課題も解決している。具体的には、チェックカウンタを管理し、チェックカウンタが、ある閾値(特許文献1では100)を越えた場合には、処理していた優先度以下のキューに存在するパケットを、一つずつ(最低優先度まで)処理し、最低優先度のキューへの処理が終了した後初めてチェックカウンタの値をクリアしている。   FIG. 25 shows a block diagram of the prior art described in Patent Document 1. As shown in this figure, in the prior art described in Patent Document 1, when passing a packet to the packet relay processing mechanism and the packet transmission mechanism, the priority control mechanism changes the queue to be inserted in consideration of the packet priority. is doing. By introducing the priority control mechanism in two places in this way, it becomes possible to take the initiative and process high priority packets at the time of packet relay processing and transmission. Furthermore, the prior art described in Patent Document 1 solves the problem that a low-priority packet is not processed indefinitely because a high-priority packet is exclusively processed. Specifically, the check counter is managed, and when the check counter exceeds a certain threshold value (100 in Patent Document 1), the packets existing in the queues with the priority or lower being processed are processed one by one ( The check counter value is cleared only after the processing to the lowest priority queue is completed.

特許文献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 Patent Document 1, as means for preventing congestion of the SIP server, there is a method of discarding the SIP request reissued from the UA caused by the processing delay of the SIP server before the SIP server. Conceivable. In the present invention, the SIP request reissued from the UA is called a SIP retransmission request.
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 Patent Document 2. In the prior art described in Patent Document 2, a packet in TCP (transmission control protocol) / IP (internet protocol) communication is targeted, but the SIP that is a problem in the present invention can be obtained by replacing this packet with a SIP request. It can be applied to prevent server congestion.

図26に、特許文献2記載の従来技術の概略を示す。この図に示すように、特許文献2記載の従来技術では、受信側から送信されてくるACK・SACKパケットを検出し、そのパケットに記載されている受信完了パケットの識別番号を輻輳制御ネットワーク中継装置内に一時保存しておく。この状態で、送信側から送信されたパケットに記載されている識別番号を調査し、一時保存してある識別番号と比較する。この結果、既に受信側で受信済みと判定できる場合には、再送パケットとして破棄する。この方式により、送信側から受信側へ余分な再送パケットを転送し、受信側の輻輳が増長されることを防止している。   FIG. 26 shows an outline of the prior art described in Patent Document 2. As shown in this figure, in the prior art described in Patent Document 2, an ACK / SACK packet transmitted from the receiving side is detected, and the identification number of the reception completion packet described in the packet is determined as a congestion control network relay device. Save it temporarily in. In this state, the identification number described in the packet transmitted from the transmission side is checked and compared with the identification number temporarily stored. As a result, when it can be determined that the reception side has already received, it is discarded as a retransmission packet. With this method, an extra retransmission packet is transferred from the transmission side to the reception side to prevent the congestion on the reception side from increasing.

更に、UAとSIPサーバとの間に配置し、UAから再発行されるSIP再送要求を遮断する、一般的な中継装置は特許文献3にも開示されている。なお、特許文献3記載の従来技術は、一般的なネットワーク階層モデルのレイヤー2で取り扱われるフレームを中継するフレーム中継装置において、特に、ループ状伝送路で発生するフレームの無限ループ転送を回避する方式を対象としているが、フレームをSIP要求とし、ループ転送されたフレームをSIP再送要求と読み替えることで、本発明で問題としているSIPサーバの輻輳防止にも適用可能と考えられる。   Furthermore, Patent Document 3 discloses a general relay apparatus that is arranged between a UA and a SIP server and blocks a SIP retransmission request that is reissued from the UA. The prior art described in Patent Document 3 is a method for avoiding an infinite loop transfer of a frame generated in a loop transmission path, particularly in a frame relay device that relays a frame handled in layer 2 of a general network hierarchical model. However, it is considered that the present invention can be applied to the congestion prevention of the SIP server, which is a problem in the present invention, by replacing the frame as a SIP request and replacing the loop forwarded frame as a SIP retransmission request.

図27に、特許文献3記載の従来技術における原理説明図を示す。この図に示すように、特許文献3記載の従来技術では、ループを検出するために、受信したフレームを示す情報(ループ検出テーブル 図27(C))を保持し、ループ検出テーブルに格納された情報を保持するフレームを再度受信した場合には、ループが発生していると判断し、破棄される。また、ループ検出テーブル格納情報と完全に一致しない場合(送信元IPアドレスが同一でも、受信したフレームIDと登録されているフレームIDが異なる場合)にも、所定の条件式を満足するかを検査することで、ループ発生を判断している。なお、このループ検出テーブルは、フレーム受信時に検索された時点でエントリが存在しない場合には、新規エントリが追加され、エントリが存在する場合でもフレーム送信前にフレームIDとフラグメントオフセットが更新される。
特許第3296001号 特開2006−287331号公報 特開2001−197114号公報 「改訂版 SIP教科書」P.78の図3−2「ユーザ・エージェントとSIPサーバの関係」
FIG. 27 is a diagram illustrating the principle in the prior art described in Patent Document 3. As shown in this figure, in the prior art described in Patent Document 3, in order to detect a loop, information indicating the received frame (loop detection table FIG. 27C) is held and stored in the loop detection table. When a frame holding information is received again, it is determined that a loop has occurred and is discarded. In addition, when the information stored in the loop detection table does not completely match (even if the source IP address is the same, the received frame ID is different from the registered frame ID), it is checked whether the predetermined conditional expression is satisfied. By doing so, the occurrence of a loop is determined. In the loop detection table, when there is no entry at the time of searching at the time of frame reception, a new entry is added, and the frame ID and fragment offset are updated before frame transmission even if an entry exists.
Patent No. 3296001 JP 2006-287331 A JP 2001-197114 A “Revised SIP Textbook” p. 78 Figure 3-2 “Relationship between User Agent and SIP Server”

特許文献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 Patent Document 1 is that the number of SIP transactions that the SIP server can process per unit time is suppressed. This is because all SIP requests and SIP retransmission requests are inserted into the low priority queue without being distinguished. In the SIP protocol, generally, in the case of an initial INVITE request, a total of six SIP retransmission requests of 0.5 seconds, 1 second, 2 seconds, 4 seconds, 8 seconds, and 16 seconds are issued from the UA. Therefore, as a result of transferring the SIP request from the priority control device to the SIP server so as not to exceed the number of SIP requests that can be processed per unit time of the SIP server, for example, the initial INVITE request stays in the low priority queue for 2 seconds. In this case, three initial INVITE requests are reissued from the UA.

特許文献1記載の従来技術では、これら全ての再送initial INVITEリクエストが低優先キューに追加される。これは、既にinitial INVITEリクエストをSIPサーバに送信し、initial INVITEリクエストを処理するSIPトランザクションを開始させたにも係らず、再送initial INVITEリクエストを再度SIPサーバに転送してしまうことを意味しており、SIPサーバで再送initial INVITEリクエストの処理という余計な処理を誘発する。その結果、SIPサーバでの単位時間当たりに処理可能なSIPトランザクション数が減少してしまうのである。   In the prior art described in Patent Document 1, all these retransmission initial INVITE requests are added to the low priority queue. This means that even though the initial INVITE request has already been sent to the SIP server and the SIP transaction for processing the initial INVITE request has been started, the retransmission initial INVITE request is transferred to the SIP server again. Then, the SIP server induces an extra process of a retransmission initial INVITE request. As a result, the number of SIP transactions that can be processed per unit time in the SIP server decreases.

特許文献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 Patent Document 2 is that the SIP retransmission request cannot be blocked by the congestion control network relay device in the congestion state of the SIP server. This is because in the prior art described in Patent Document 2, the retransmission of the packet is determined based on the identification number described in the ACK packet transferred from the receiving side. In the state where the SIP requests are temporarily stored in the congestion control network relay device in consideration of the processing performance of the SIP server, as described above, depending on the residence time in the congestion control network relay device, several SIPs from the UA A resend request is issued. At this time, since the congestion control network relay device stores the SIP request in itself and does not transfer it to the SIP server, it cannot receive the SIP response corresponding to the ACK packet from the SIP server. That is, the identification number of the SIP request that has been processed by the SIP server cannot be acquired.

これは、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 Patent Document 2 and Patent Document 3 is that information for determining whether a received SIP request is a retransmission increases with time. This is because the prior art described in Patent Document 2 and Patent Document 3 does not mention the timing for deleting the entry of information used to determine whether or not to retransmit.

まず、特許文献2記載の従来技術では、該当情報として、TCP/IPにおけるACKパケットに記載された連続値となる識別子を前提としており、ACKパケット受信時に識別子を上書きすれば、該当識別子より小さい値を持つパケットは受信済みと見なせるためである。   First, in the prior art described in Patent Document 2, an identifier that is a continuous value described in an ACK packet in TCP / IP is premised as corresponding information, and if the identifier is overwritten when an ACK packet is received, a value smaller than the corresponding identifier This is because a packet having can be regarded as having been received.

また、特許文献3記載の従来技術では、ループ検出テーブルのエントリはパソコン単位となっており、パソコンの増減は、それほど頻繁には発生しないことを前提としているためと考えられる。しかし、本発明を適用するSIPネットワークでは、一般的に、Call−IDヘッダの値などの、SIP要求の識別子として扱える情報は、UAが任意に設定可能であるため、連続値とは限らない。更に、例えば、通話の場合、呼の生存期間は、一般的に平均数分程度である。これは、SIP要求の識別子として使用可能な情報は有効期間が短く、一過性のものになりやすいことを意味している。   Further, in the prior art described in Patent Document 3, it is considered that the entry in the loop detection table is a personal computer unit, and it is assumed that the increase or decrease of the personal computer does not occur so frequently. However, in a SIP network to which the present invention is applied, in general, information that can be handled as an identifier of a SIP request, such as a value of a Call-ID header, can be arbitrarily set by the UA, and thus is not always a continuous value. Further, for example, in the case of a call, the lifetime of the call is generally on the order of a few minutes. This means that information that can be used as an identifier of a SIP request has a short valid period and is likely to be transient.

このように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 priority control apparatus 101 according to the first embodiment of the present invention. As shown in this figure, the priority control apparatus 101 according to the first embodiment of the present invention includes a general SIP proxy server function 111 and whether the message received by the SIP proxy server function 111 is a SIP request or SIP. A message type determination function 102 for determining whether it is a response, a SIP request priority determination function 105 for determining the priority of a SIP request according to the type of SIP request received by the SIP proxy server function 111, and a SIP request priority When the identifier stored in the SIP request determined by the determination function 105 as low priority is present in the in-process identifier, and when the identifier of the SIP request exists in the in-process identifier The SIP request discard function 107 for discarding the SIP request and the SIP request priority determination function 105 determine that the priority is low. In addition, an identifier adding function 108 for adding an identifier of a SIP request whose identifier does not exist in the in-process identifier to the in-process identifier, a in-process identifier storage function 104 for storing the in-process identifier, and storing in the SIP response when the SIP response is received Identifier deletion function 103 that deletes the generated identifier from the processing identifier, and a queue for each priority of the SIP request, and the SIP request received from the SIP request priority determination function 105 or the identifier addition function 108 according to the priority. The SIP request temporary storage function 109 to be inserted into the queue and the SIP request stored in the queue of the SIP request temporary storage function 109 have a priority so as not to exceed the SIP request processing capacity per unit time of the SIP server. Transfer SI that is extracted in accordance with and transferred to the SIP server via the SIP proxy server function 111 It consists request extractor 110.. Here, the in-process identifier is, for example, the value of the Call-ID header stored in the SIP request as shown in FIG.

(第1の実施の形態の動作)
次に、本発明の第1の実施の形態に係る優先制御装置101の動作を図表を参照して詳細に説明する。
(Operation of the first embodiment)
Next, the operation of the priority control apparatus 101 according to the first embodiment of the present invention will be described in detail with reference to the drawings.

図3は、本発明の第1の実施の形態に係る優先制御装置101において、外部からメッセージを受信した際の動作を示すフローチャートである。なお、この動作において、受信したSIP要求の優先度は「高優先」と「低優先」の2段階を想定しているが多段階の優先度を導入している場合でも同様の動作となる。   FIG. 3 is a flowchart showing an operation when receiving a message from the outside in the priority control apparatus 101 according to the first embodiment of the present invention. In this operation, the priority of the received SIP request is assumed to be “high priority” and “low priority”, but the same operation is performed even when multi-level priority is introduced.

いま、SIPプロキシー・サーバ機能111が、外部からメッセージを受信したとする(ステップS301)。すると、メッセージ種別判定機能102が、受信したメッセージの種別を調査する(ステップS302)。   Now, it is assumed that the SIP proxy server function 111 receives a message from the outside (step S301). Then, the message type determination function 102 investigates the type of the received message (step S302).

ステップ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 identifier deletion function 103 uses the identifier stored in the SIP response received in step S301 from the processing identifier held by the processing identifier storage function 104. Is deleted (step S303). This process can be realized as follows, for example. If the in-process identifier is in a table format as shown in FIG. 2, the value of the Call-ID header included in the SIP response received in step S301 is extracted, and the in-process identifier is searched using this value as a key. If an entry is found for the in-process identifier, the entry is deleted.

ステップS303での識別子削除後、SIPプロキシー・サーバ機能111が、SIP応答記載の宛先にSIP応答を送信する(ステップS304)。その後、再度ステップS301から繰り返す。   After deleting the identifier in step S303, the SIP proxy server function 111 transmits a SIP response to the destination described in the SIP response (step S304). Then, it repeats again from step S301.

ステップ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 proxy server function 111 is a SIP request, the SIP request priority determination function 105 determines the priority of the SIP request (step S305). This process can be realized by, for example, predetermining the priority according to the type of SIP request, such as “low priority” for the initial INVITE request and “high priority” for the other SIP requests.

ステップ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 existence confirmation function 106 has the identifier stored in the SIP request received by the SIP proxy server function 111 in the in-process identifier. It is confirmed whether to do (step S306). This process can be realized as follows, for example. If the in-process identifier has a table format as shown in FIG. 2, the value of the Call-ID header included in the SIP request received in step S301 is extracted, and the in-process identifier is searched using this value as a key. As a result of this search, when there is an entry holding the value of the corresponding Call-ID header, it is determined as “existing”, and when it does not exist, it is determined as “not existing”.

ステップ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 function 107 discards the corresponding SIP request as a SIP retransmission request (step 307). Then, it repeats from step S301.

ステップ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 identifier adding function 108 adds the identifier of the corresponding SIP request to the processing identifier (step S308). This process can be realized as follows, for example. If the in-process identifier is in a table format as shown in FIG. 2, the value of the Call-ID header included in the SIP request received in step S301 is extracted, and the entry storing this value is added to the in-process identifier. .

ステップ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 temporary storage function 109 performs SIP request. The request is stored in a queue corresponding to the priority (step S309). Then, it repeats from step S301.

次に、本発明の第1の実施の形態に係る優先制御装置101が、SIPサーバにSIP要求を転送する場合の動作について説明する。   Next, an operation when the priority control apparatus 101 according to the first embodiment of the present invention transfers a SIP request to the SIP server will be described.

図4は、本発明の第1の実施の形態に係る優先度制御装置101が、SIP要求一時格納機能109に格納されたSIP要求をSIPプロキシー・サーバ機能111経由でSIPサーバに転送する場合の動作を示すフローチャートである。   FIG. 4 shows a case where the priority control apparatus 101 according to the first embodiment of the present invention transfers the SIP request stored in the SIP request temporary storage function 109 to the SIP server via the SIP proxy server function 111. It is a flowchart which shows operation | movement.

まず、転送SIP要求抽出機能110が、SIP要求一時格納機能109からSIP要求を抽出することで、SIPサーバが単位時間当たりに処理可能なSIP要求量に達するかを判定する(ステップ401)。この処理は、例えば、以下のようにして実現できる。転送SIP要求抽出機能110が、SIPサーバが単位時間当たりに処理可能なSIP要求数を予め保持しておき、この単位時間ごとにタイマーを設定する。更に、変数として転送済SIP要求数を転送SIP要求抽出機能110が管理する。   First, the transfer SIP request extraction function 110 extracts a SIP request from the SIP request temporary storage function 109 to determine whether the SIP server reaches a SIP request amount that can be processed per unit time (step 401). This process can be realized as follows, for example. The transfer SIP request extraction function 110 stores in advance the number of SIP requests that can be processed by the SIP server per unit time, and sets a timer for each unit time. Further, the transfer SIP request extraction function 110 manages the number of transferred SIP requests as a variable.

転送SIP要求抽出機能110は、転送済SIP要求数が、SIPサーバが単位時間当たりに処理可能なSIP要求数と等しいかを確認し、等しくない場合には、SIPサーバが単位時間当たりに処理可能なSIP要求数に達していないと判定し、転送済SIP要求数を1増加する。一方、等しい場合には、SIPサーバが単位時間当たりに処理可能なSIP要求数に達したと判定する。なお、この転送済SIP要求数は、タイマーが切れるごとに0に再設定される。   The transfer SIP request extraction function 110 checks whether the number of transferred SIP requests is equal to the number of SIP requests that the SIP server can process per unit time, and if not, the SIP server can process per unit time. It is determined that the number of SIP requests has not been reached, and the number of transferred SIP requests is increased by one. On the other hand, if equal, it is determined that the SIP server has reached the number of SIP requests that can be processed per unit time. The number of transferred SIP requests is reset to 0 every time the timer expires.

ステップ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 request extraction function 110 further transfers the SIP request to be transferred to the SIP request temporary storage function. 109 is extracted (step S402). This process, for example, confirms the existence of SIP requests in order from the high priority queue while preventing the sinking of SIP requests stored in the low priority queue, as in the prior art described in Patent Document 1. This can be realized by extracting the corresponding SIP request.

ステップ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 proxy server function 111 transfers the SIP request to the SIP server (step S403).

ステップ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 proxy server function 111 forwards the SIP request to the SIP server. If so, repeat from step S401.

(第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 identifier addition function 108 determines that the SIP request priority determination function 105 determines low priority, and inserts the identifier of the SIP request whose identifier does not exist in the in-process identifier into the low priority queue. And the identifier deletion function 103 deletes the identifier stored in the SIP response when receiving the SIP response from the in-process identifier so that the identifier stored in the in-process identifier This is because it can be limited to only those that exist in the SIP server and indicate a SIP request that is being processed (or scheduled to be processed).

(第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 priority control apparatus 101 according to the second embodiment of the present invention. As shown in this figure, the priority control apparatus 101 according to the second embodiment of the present invention includes an identifier deletion function 103 and other functions in the configuration of the priority control apparatus 101 according to the first embodiment of the present invention. The connection relationship is changed. Specifically, not the message type determination function 102 but the transfer SIP request extraction function 110 activates the identifier deletion function 103. As a result, only the identifier of the SIP request in the state of “stored in the low priority queue” is stored in the in-process identifier stored by the in-process identifier storage function 104. Note that each function constituting the priority control apparatus 101 according to the second embodiment of the present invention has the same function as each function constituting the priority control apparatus 101 according to the first embodiment of the present invention.

(第2の実施の形態の動作)
次に、本発明の第2の実施の形態に係る優先制御装置101の動作を図表を参照して詳細に説明する。
(Operation of Second Embodiment)
Next, the operation of the priority control apparatus 101 according to the second embodiment of the present invention will be described in detail with reference to the drawings.

図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 priority control apparatus 101 according to the second embodiment of the present invention. The difference between the flowchart in FIG. 6 and the flowchart in the priority control apparatus 101 according to the first embodiment of the present invention shown in FIG. 3 is received by the message type determination function 102 and the SIP proxy server function 111. When it is determined that the received message is a SIP response (the processing result of step S602), a process (step S603) in which the SIP proxy server function 111 transfers the SIP response is executed.

次に、本発明の第2の実施の形態に係る優先制御装置101が、SIPサーバにSIP要求を転送する場合の動作について説明する。   Next, an operation when the priority control apparatus 101 according to the second embodiment of the present invention transfers a SIP request to the SIP server will be described.

図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 priority control apparatus 101 according to the second embodiment of the present invention transfers the SIP request stored in the SIP request temporary storage function 109 to the SIP server via the SIP proxy server function 111. It is a flowchart which shows. The difference between the flowchart in FIG. 7 and the flowchart in the priority control apparatus 101 according to the first embodiment of the present invention shown in FIG. 4 is that the transfer SIP request extraction function 110 has extracted the SIP request to be transferred. Later (step S702), the identifier deletion function 103 adds a process (step S703) for deleting the identifier stored in the SIP request from the in-process identifier. Note that the processing in step S703 is the same as the processing in step S303 in the priority control apparatus 101 according to the first embodiment of the present invention shown in FIG.

(第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 priority control apparatus 101 is always stored in the in-process identifier, thereby determining whether the SIP request received from the UA needs to be 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 executing the SIP request before inserting it 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プロキシー・サーバ機能111を介して、SIP要求をSIPサーバに転送する前に、該当SIP要求の識別子を処理中識別子から削除することで、処理中識別子に格納する識別子を、優先制御装置に存在しているSIP要求を示すもののみに限定できるためである。   This is because the identifier addition function 108 determines that the SIP request priority determination function 105 determines low priority, and inserts the identifier of the SIP request whose identifier does not exist in the in-process identifier into the low priority queue. In addition, the identifier deletion function 103 deletes the identifier of the SIP request from the processing identifier before transferring the SIP request to the SIP server via the SIP proxy server function 111. This is because the identifier stored in the in-process identifier can be limited to only those indicating SIP requests existing in the priority control apparatus.

(第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 priority control apparatus 101 according to the third embodiment of the present invention. As shown in this figure, the priority control apparatus 101 according to the third embodiment of the present invention is the SIP proxy server function 111 in the priority control apparatus 101 according to the first and second embodiments of the present invention. In addition to the message type determination function 102, the SIP request priority determination function 105, the SIP request discard function 107, the SIP request temporary storage function 109, and the transfer SIP request extraction function 110, the SIP request priority determination function 105 determines low priority. The identifier extraction function 803 that extracts the identifier of the SIP request that has been made, and the SIP request that retains the same identifier as the identifier extracted by the identifier extraction function 803 has already been inserted into the low priority queue that the SIP request temporary storage function 109 retains A queue search function 804 for searching whether or not there is a queue. The identifier extracted by the identifier extraction function 803 is, for example, the value of the Call-ID header stored in the SIP request.

(第3の実施の形態の動作)
次に、本発明の第3の実施の形態に係る優先制御装置101の動作を図表を参照して詳細に説明する。
(Operation of the third embodiment)
Next, the operation of the priority control apparatus 101 according to the third embodiment of the present invention will be described in detail with reference to the drawings.

図9は、本発明の第3の実施の形態に係る優先制御装置101において、外部からメッセージを受信した際の動作を示すフローチャートである。   FIG. 9 is a flowchart showing the operation when a priority control apparatus 101 according to the third embodiment of the present invention receives a message from the outside.

いま、SIPプロキシー・サーバ機能111が、外部からメッセージを受信したとする(ステップS901)。すると、メッセージ種別判定機能102が、受信したメッセージの種別を調査する(ステップS902)。   Now, it is assumed that the SIP proxy server function 111 receives a message from the outside (step S901). Then, the message type determination function 102 investigates the type of the received message (step S902).

ステップ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 proxy server function 111 transmits the SIP response to the destination described in the SIP response (step S903). Then, it repeats again from step S901.

ステップ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 proxy server function 111 is a SIP request, the SIP request priority determination function 105 determines the priority of the SIP request (step S904). This process is the same as the operation (step S305 and step S604) of the SIP request priority determination function 105 in the first and second embodiments of the present invention.

ステップ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 identifier extraction function 803 extracts the identifier stored in the SIP request (step S905). This process can be realized, for example, by extracting the value of the Call-ID header included in the SIP request. Thereafter, the queue search function 804 searches whether a SIP request holding the identifier extracted in step S905 has already been inserted in the low priority queue (step S906).

この処理は、例えば、以下のようにして実現できる。まず、低優先キューの先頭の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 identifier extraction function 803. As a result, if they match, the process ends as “exist”, and if they do not match, the same process is executed again for the second SIP request from the top. This processing is executed in order from the top of the low priority queue, and if the values of the Call-ID headers of all SIP requests do not match, the processing ends as “does not exist”.

ステップ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 function 107 discards the corresponding SIP request (step 907). Then, it repeats from step S901.

ステップ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 temporary storage function 109 stores the SIP request in a queue corresponding to the priority (step S908). Then, it repeats from step S901.

次に、本発明の第3の実施の形態に係る優先制御装置101が、SIPサーバにSIP要求を転送する場合の動作について説明する。本発明の第3の実施の形態に係る優先制御装置101が、SIPサーバにSIP要求を転送する場合の動作は、図4で示した、本発明の第1の実施の形態に係る優先制御装置101での動作と同様である。   Next, the operation when the priority control apparatus 101 according to the third embodiment of the present invention transfers a SIP request to the SIP server will be described. The operation when the priority control apparatus 101 according to the third embodiment of the present invention forwards the SIP request to the SIP server is the same as the priority control apparatus according to the first embodiment of the present invention shown in FIG. The operation is the same as that in 101.

(第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 temporary storage function 109. Because it is.

(第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 priority control apparatus 101 according to the fourth embodiment of the present invention. As shown in this figure, the priority control apparatus 101 according to the fourth embodiment of the present invention is the same as the SIP proxy in the priority control apparatus 101 according to the first, second, and third embodiments of the present invention. In addition to the server function 111, the message type determination function 102, the SIP request priority determination function 105, the SIP request discard function 107, the SIP request temporary storage function 109, and the transfer SIP request extraction function 110, the SIP request priority determination function 105 is low. Insertion time adding function 1002 for adding a time when a SIP request determined to be priority is inserted into the low priority queue held by the SIP request temporary storage function 109, and an insertion time for storing the time when the SIP request is inserted into the low priority queue Check whether the SIP requests extracted by the storage function 1001 and the forwarding SIP request extraction function 110 have expired. And expiration date confirmation function 1004, and a insertion time deletion function 1003 Metropolitan Remove insertion time of the corresponding SIP request from the insertion time for inserting time storage function 1001 is held.

ここで、挿入時刻格納機能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 time storage function 1001 is, for example, in the form shown in FIG. In FIG. 11, the value of the Call-ID header that is the identifier of the SIP request and the insertion time expressed as milliseconds are stored in pairs. In the SIP protocol, the time during which the SIP request is valid is defined, and if the SIP response is not returned even after the corresponding time is exceeded, a timeout occurs and the SIP transaction ends. For example, in the case of an INVITE request, the timeout time is generally 32 seconds. That is, an INVITE request that has been retained for 32 seconds or more in the priority control apparatus 101 becomes meaningless because the UA that is the transmission source has timed out even if the processing is completed in the SIP server. In the fourth embodiment of the present invention, the insertion time is temporarily stored at the time of queue insertion, the expiration date confirmation function 1004 confirms whether it is timed out, and if it is timed out, discards the processing, meaningless processing to the SIP server SIP request forwarding that triggers

(第4の実施の形態の動作)
次に、本発明の第4の実施の形態に係る優先制御装置101の動作を図表を参照して詳細に説明する。
(Operation of the fourth embodiment)
Next, the operation of the priority control apparatus 101 according to the fourth embodiment of the present invention will be described in detail with reference to the drawings.

図12は、本発明の第4の実施の形態に係る優先制御装置101において、外部からメッセージを受信した際の動作を示すフローチャートである。   FIG. 12 is a flowchart showing an operation when receiving a message from the outside in the priority control apparatus 101 according to the fourth embodiment of the present invention.

いま、SIPプロキシー・サーバ機能111が、メッセージを受信したとする(ステップS1201)。次に、メッセージ種別判定機能102が該当メッセージの種類を調査する(ステップS1202)。   Now, it is assumed that the SIP proxy server function 111 receives a message (step S1201). Next, the message type determination function 102 investigates the type of the corresponding message (step S1202).

ステップS1202の結果、受信したメッセージがSIP応答の場合には、SIPプロキシー・サーバ機能111が、SIP応答記載の宛先にSIP応答を送信する(ステップS1206)。その後、ステップS1201から繰り返す。   If the received message is a SIP response as a result of step S1202, the SIP proxy server function 111 transmits the SIP response to the destination described in the SIP response (step S1206). Then, it repeats from step S1201.

ステップ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 priority determination function 105 determines the priority of the corresponding SIP request (step S1203). This processing is the same as the processing (step S305, step S604, step S904) in the priority control apparatus 101 according to the first, second, and third embodiments of the present invention.

ステップ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 time addition function 1002 adds the insertion time of the SIP request to the insertion time held by the insertion time storage function 1001 ( Step S1204). This processing is as follows, for example, when the insertion time is in the form shown in FIG. The insertion time addition function 1002 extracts the value of the Call-ID header of the SIP request received from the SIP request priority determination function 105, and further acquires the current time expressed as milliseconds. Thereafter, the value of the Call-ID header and the current time are added as a set to the insertion time.

ステップ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 priority control apparatus 101 according to the fourth embodiment of the present invention transfers a SIP request to the SIP server will be described.

図13は、本発明の第4の実施の形態に係る優先制御装置101が、SIP要求一時格納機能109に格納されたSIP要求をSIPプロキシー・サーバ機能111経由でSIPサーバに転送する場合の動作を示すフローチャートである。   FIG. 13 shows the operation when the priority control apparatus 101 according to the fourth embodiment of the present invention transfers the SIP request stored in the SIP request temporary storage function 109 to the SIP server via the SIP proxy server function 111. It is a flowchart which shows.

いま、転送SIP要求抽出機能110が、次にSIP要求を抽出することで、SIPサーバの処理可能量に到達するかを調査する(ステップS1301)。なお、この処理は、本発明の第1の実施の形態に係る優先制御装置101における処理(ステップS401)と同様の処理である。   Now, the transfer SIP request extraction function 110 checks whether the SIP server can be processed by extracting the SIP request next (step S1301). This process is the same as the process (step S401) in the priority control apparatus 101 according to the first embodiment of the present invention.

ステップ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 request extraction function 110 further extracts the SIP request to be transferred (step S1302). This process is the same as the process (step S402) in the priority control apparatus 101 according to the first embodiment of the present invention. Next, the expiration date checking function 110 checks whether the SIP request insertion time extracted as a result of step S1302 exists (step S1303).

この処理は、例えば、挿入時刻格納機能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 time storage function 1001 is realized in the form shown in FIG. First, the insertion time storage function 1004 extracts the value of the Call-ID header stored in the SIP request received from the transfer SIP request extraction function 110. Next, the insertion time held by the insertion time storage function 1001 is searched using the value of the Call-ID header as a key. As a result, when an entry holding the value of the corresponding Call-ID header is searched, “exist” is determined, and when not searched, it is determined “not exist”.

ステップ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 date checking function 1004 further checks whether the expiration date of the SIP request extracted in step S1302 is invalid (step S1304). This processing can be realized as follows, for example, when the insertion time stored by the insertion time storage function 1001 is realized in the form shown in FIG. First, the expiration date confirmation function 1004 extracts the value of the Call-ID header of the SIP request extracted as a result of step S1302, and uses the value of the corresponding Call-ID header as a key to determine the insertion time stored by the insertion time storage function 1001. Search for. As a result, the time (in milliseconds) when the SIP request having the value of the corresponding Call-ID header is inserted into the queue is obtained.

次に、有効期限確認機能1004は、現在の時刻をミリ秒単位で取得し、先ほど取得したキューへの挿入時刻と比較する。一般的には、SIPプロトコルにおいて、INVITEリクエストの有効期限は32秒(32000ミリ秒)であるため、挿入時刻と現時刻との差分が32000ミリ秒以上の場合には、ステップS1302で抽出したSIP要求は「有効期限切れ」と判定し、一方、挿入時刻と現時刻との差分が32000ミリ秒未満の場合には、「有効期限切れではない」と判定する。   Next, the expiry date confirmation function 1004 acquires the current time in milliseconds and compares it with the queue insertion time acquired earlier. In general, in the SIP protocol, the expiration date of the INVITE request is 32 seconds (32000 milliseconds). Therefore, if the difference between the insertion time and the current time is 32000 milliseconds or more, the SIP extracted in step S1302 The request is determined as “expired”, while if the difference between the insertion time and the current time is less than 32000 milliseconds, it is determined as “not expired”.

ステップ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 function 107 discards the corresponding SIP request (step S1306). Thereafter, the insertion time deletion function 1003 deletes the insertion time of the corresponding SIP request (step S1305).

この処理は、例えば、挿入時刻格納機能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 time storage function 1001 is realized in the form shown in FIG. First, the insertion time deletion function 1003 extracts the value of the Call-ID header of the SIP request extracted in step S1302. Next, the insertion time deletion function 1003 searches for and deletes the entry holding the value of the corresponding Call-ID header at the insertion time held by the insertion time storage function 1001. Then, it repeats from step S1302.

ステップ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 time deletion function 1003 deletes the insertion time of the corresponding SIP request (step S1305). The contents of this processing are as described above.

ステップ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 time deletion function 1003 deletes the insertion time regarding the SIP request extracted as a result of step S1302 as a result of step S1305, the SIP proxy server function 111. However, the SIP request extracted in step S1302 is transferred to the SIP server (step S1307). Then, it repeats from step S1307.

(第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 priority control apparatus 101 according to the fifth embodiment of the present invention. As shown in this figure, the priority control apparatus 101 according to the fifth embodiment of the present invention includes the configuration of the priority control apparatus 101 according to the first embodiment of the present invention shown in FIG. And the configuration of the priority control apparatus 101 according to the fourth embodiment of the present invention shown in FIG. The function group constituting the priority control apparatus 101 according to the fifth embodiment of the present invention includes the function group constituting the priority control apparatus 101 according to the first embodiment of the present invention, and It has the same function as the function group which comprises the priority control apparatus 101 which concerns on 4th Embodiment.

(第5の実施の形態の動作)
次に、本発明の第5の実施の形態に係る優先制御装置101の動作を図表を参照して詳細に説明する。
(Operation of the fifth embodiment)
Next, the operation of the priority control apparatus 101 according to the fifth embodiment of the present invention will be described in detail with reference to the drawings.

図15は、本発明の第5の実施の形態に係る優先制御装置101において、外部からメッセージを受信した際の動作を示すフローチャートである。   FIG. 15 is a flowchart showing an operation when receiving a message from the outside in the priority control apparatus 101 according to the fifth embodiment of the present invention.

この図に示すように、このフローチャートは、図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 priority control apparatus 101 according to the first embodiment of the present invention shown in FIG. In this mode, the processing of the insertion time addition function 1002 (step S1509) is inserted.

次に、本発明の第5の実施の形態に係る優先制御装置101が、SIPサーバにSIP要求を転送する場合の動作について説明する。この動作は、図13で示した、本発明の第4の実施の形態に係る優先制御装置101における動作と同様である。   Next, the operation when the priority control apparatus 101 according to the fifth embodiment of the present invention transfers a SIP request to the SIP server will be described. This operation is the same as the operation in the priority control apparatus 101 according to the fourth embodiment of the present invention shown in FIG.

(第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 date confirmation function 1004 transfers the SIP request when transferring the SIP request to the SIP server. A priority system that induces meaningless processing in the SIP server by checking whether the SIP request has expired and discarding it if it has expired. And expiration date or the residence in the apparatus 101 because that suppresses the transfer of the SIP request.

更に、本実施の形態によれば、受信した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 identifier addition function 108 determines that the SIP request priority determination function 105 determines low priority, and inserts the identifier of the SIP request whose identifier does not exist in the in-process identifier into the low priority queue. And the identifier deletion function 103 deletes the identifier stored in the SIP response when receiving the SIP response from the in-process identifier so that the identifier stored in the in-process identifier This is because it can be limited to only those that exist in the SIP server and indicate a SIP request that is being processed (or scheduled to be processed).

(第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 priority control apparatus 101 according to the sixth embodiment of the present invention. As shown in this figure, the priority control apparatus 101 according to the sixth embodiment of the present invention includes the configuration of the priority control apparatus 101 according to the second embodiment of the present invention shown in FIG. And the configuration of the priority control apparatus 101 according to the fourth embodiment of the present invention shown in FIG. Note that the function group constituting the priority control apparatus 101 according to the sixth embodiment of the present invention includes the function group constituting the priority control apparatus 101 according to the second embodiment of the present invention and the function group of the present invention. It has the same function as the function group which comprises the priority control apparatus 101 which concerns on 4th Embodiment.

(第6の実施の形態の動作)
次に、本発明の第6の実施の形態に係る優先制御装置101の動作を図表を参照して詳細に説明する。
(Operation of the sixth embodiment)
Next, the operation of the priority control apparatus 101 according to the sixth embodiment of the present invention will be described in detail with reference to the drawings.

図17は、本発明の第5の実施の形態に係る優先制御装置101において、外部からメッセージを受信した際の動作を示すフローチャートである。   FIG. 17 is a flowchart showing an operation when receiving a message from the outside in the priority control apparatus 101 according to the fifth embodiment of the present invention.

この図に示すように、このフローチャートは、図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 priority control apparatus 101 according to the second embodiment of the present invention shown in FIG. In this mode, the processing of the insertion time addition function 1002 (step S1708) is inserted.

次に、本発明の第6の実施の形態に係る優先制御装置101が、SIPサーバにSIP要求を転送する場合の動作について説明する。   Next, an operation when the priority control apparatus 101 according to the sixth embodiment of the present invention transfers a SIP request to the SIP server will be described.

図18は、本発明の第6の実施の形態に係る優先制御装置101が、SIPサーバにSIP要求を転送する場合の動作を示したフローチャートである。この図に示すように、このフローチャートは、図13で示した本発明の第4の実施の形態に係る優先制御装置101の動作におけるSIP要求の挿入時刻を削除する処理(ステップS1806)の後に、識別子削除機能103での処理中識別子からSIP要求記載の識別子を削除する処理(ステップS1807)を挿入した形態になっている。   FIG. 18 is a flowchart showing an operation when the priority control apparatus 101 according to the sixth embodiment of the present invention transfers a SIP request to the SIP server. As shown in this figure, this flowchart shows after the processing (step S1806) of deleting the SIP request insertion time in the operation of the priority control apparatus 101 according to the fourth embodiment of the invention shown in FIG. This is a form in which processing for deleting the identifier described in the SIP request (step S1807) is inserted from the in-process identifier in the identifier deletion function 103.

(第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 date checking function 1004 has expired. However, if the expiration date has expired, the SIP request that causes meaningless processing to the SIP server is retained, and the priority control apparatus 101 stays above the expiration date. This is because that suppresses the transfer.

更に、本実施の形態によれば、受信した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 identifier addition function 108 determines that the SIP request priority determination function 105 determines low priority, and inserts the identifier of the SIP request whose identifier does not exist in the in-process identifier into the low priority queue. In addition, the identifier deletion function 103 deletes the identifier of the SIP request from the processing identifier before transferring the SIP request to the SIP server via the SIP proxy server function 111. This is because the identifier stored in the in-process identifier can be limited to only those indicating SIP requests existing in the priority control apparatus.

(第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 priority control apparatus 101 according to the seventh embodiment of the present invention. As shown in this figure, the priority control apparatus 101 according to the seventh embodiment of the present invention includes the configuration of the priority control apparatus 101 according to the third embodiment of the present invention shown in FIG. And the configuration of the priority control apparatus 101 according to the fourth embodiment of the present invention shown in FIG. Note that the function group constituting the priority control apparatus 101 according to the seventh embodiment of the present invention includes the function group constituting the priority control apparatus 101 according to the third embodiment of the present invention, and the function group of the present invention. It has the same function as the function group which comprises the priority control apparatus 101 which concerns on 4th Embodiment.

(第7の実施の形態の動作)
次に、本発明の第7の実施の形態に係る優先制御装置101の動作を図表を参照して詳細に説明する。
(Operation of the seventh embodiment)
Next, the operation of the priority control apparatus 101 according to the seventh embodiment of the present invention will be described in detail with reference to the drawings.

図20は、本発明の第7の実施の形態に係る優先制御装置101において、外部からメッセージを受信した際の動作を示すフローチャートである。   FIG. 20 is a flowchart showing an operation when receiving a message from the outside in the priority control apparatus 101 according to the seventh embodiment of the present invention.

この図に示すように、このフローチャートは、図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 queue search function 804 in the operation of the priority control apparatus 101 according to the third embodiment of the present invention shown in FIG. When there is no result of the investigation (step S2006), the processing of the insertion time addition function 1002 (step S2008) is inserted.

次に、本発明の第6の実施の形態に係る優先制御装置101が、SIPサーバにSIP要求を転送する場合の動作について説明する。この動作は、図13で示した、本発明の第4の実施の形態に係る優先制御装置101における動作と同様である。   Next, an operation when the priority control apparatus 101 according to the sixth embodiment of the present invention transfers a SIP request to the SIP server will be described. This operation is the same as the operation in the priority control apparatus 101 according to the fourth embodiment of the present invention shown in FIG.

(第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 date confirmation function 1004 has not expired when the insertion time is temporarily stored when the queue is inserted and the SIP request is transferred to the SIP server. The priority control device 101 stays over the expiration date, inducing meaningless processing to the SIP server by discarding the expiration date. This is because that suppresses the transfer of the SIP request.

更に、本実施の形態によれば、受信した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 temporary storage function 109. Because it is.

(優先制御装置を含むSIPネットワークの形態)
次に、本発明の第1ないし第7の実施の形態に係る優先制御装置101を含むSIPネットワークについて図表を参照して詳細に説明する。
(SIP network configuration including priority control device)
Next, the SIP network including the priority control apparatus 101 according to the first to seventh embodiments of the present invention will be described in detail with reference to the drawings.

(優先制御装置を含む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 priority control apparatus 101 according to the first to seventh embodiments of the present invention. As shown in this figure, the SIP network includes a SIP system 2101 composed of a conventional SIP server SS1 and the priority control apparatus 101 according to the first to seventh embodiments of the present invention, and a user agent UA1. , UA2, and a network 2102 connecting the SIP system 2101 and the user agents UA1 and UA2.

(優先制御装置を含むSIPネットワークの動作)
次に、本発明の第1ないし第7の実施の形態に係る優先制御装置101を含むSIPネットワークの動作を説明する。
(Operation of SIP network including priority control device)
Next, the operation of the SIP network including the priority control apparatus 101 according to the first to seventh embodiments of the present invention will be described.

図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 priority control apparatus 101 according to the first to seventh embodiments of the present invention.
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 priority control device 101, and are quickly transferred to the SIP server so as not to exceed the SIP server processing capacity. Is done. As a result, the update of the UA information in the SIP server is executed without delay.

一方、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 priority control apparatus 101 as a result of the low priority determination as described above, the initial INVITE request is transmitted again from the UA according to a general SIP protocol retransmission mechanism (FIG. 22). Resend initial INVITE). In the priority control apparatus 101, since the initial INVITE request is already stored in the priority control apparatus 101, the received retransmission initial INVITE request is determined to be retransmission and discarded. Thereafter, when the transfer order of the low priority queue is reached, the initial INVITE request is transferred to the SIP server.

このように、UAとSIPサーバとの間に、本発明の第1ないし第7の実施の形態に係る優先制御装置101を挿入することで、UA情報の有効期限切れと、余分なSIP要求の転送、及び、SIPサーバの処理可能量以上のSIP要求転送による、SIPサーバの高負荷状態誘発を防止できるのである。   Thus, by inserting the priority control apparatus 101 according to the first to seventh embodiments of the present invention between the UA and the SIP server, the expiration of the UA information and the transfer of the extra SIP request In addition, it is possible to prevent a high load state of the SIP server from being transferred due to a SIP request transfer that exceeds the SIP server's processable amount.

以上好ましい実施の形態と実施例をあげて本発明を説明したが、本発明は必ずしも、上記実施の形態及び実施例に限定されるものでなく、その技術的思想の範囲内において様々に変形して実施することができる。   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.

本発明の第1の実施形態に係る優先制御装置の構成を示すブロック図である。It is a block diagram which shows the structure of the priority control apparatus which concerns on the 1st Embodiment of this invention. 本発明の第1の実施形態に係る優先制御装置におけるSIP再送要求判断情報の一例を示す図である。It is a figure which shows an example of the SIP retransmission request judgment information in the priority control apparatus which concerns on the 1st Embodiment of this invention. 本発明の第1の実施の形態に係る優先制御装置での、外部からメッセージを受信した場合の動作を示すフローチャートである。It is a flowchart which shows the operation | movement at the time of receiving the message from the outside in the priority control apparatus which concerns on the 1st Embodiment of this invention. 本発明の第1の実施の形態に係る優先制御装置での、SIPサーバへSIP要求を転送する場合の動作を示すフローチャートである。It is a flowchart which shows the operation | movement in the case of transferring a SIP request to a SIP server in the priority control apparatus which concerns on the 1st Embodiment of this invention. 本発明の第2の実施形態に係る優先制御装置の構成を示すブロック図である。It is a block diagram which shows the structure of the priority control apparatus which concerns on the 2nd Embodiment of this invention. 本発明の第2の実施の形態に係る優先制御装置での、外部からメッセージを受信した場合の動作を示すフローチャートである。It is a flowchart which shows the operation | movement at the time of receiving the message from the outside in the priority control apparatus which concerns on the 2nd Embodiment of this invention. 本発明の第2の実施の形態に係る優先制御装置での、SIPサーバへSIP要求を転送する場合の動作を示すフローチャートである。It is a flowchart which shows operation | movement in the case of transferring a SIP request to a SIP server in the priority control apparatus which concerns on the 2nd Embodiment of this invention. 本発明の第3の実施形態に係る優先制御装置の構成を示すブロック図である。It is a block diagram which shows the structure of the priority control apparatus which concerns on the 3rd Embodiment of this invention. 本発明の第3の実施の形態に係る優先制御装置での、外部からメッセージを受信した場合の動作を示すフローチャートである。It is a flowchart which shows the operation | movement at the time of receiving the message from the outside in the priority control apparatus which concerns on the 3rd Embodiment of this invention. 本発明の第4の実施形態に係る優先制御装置の構成を示すブロック図である。It is a block diagram which shows the structure of the priority control apparatus which concerns on the 4th Embodiment of this invention. 本発明の第4の実施形態に係る優先制御装置における挿入時刻の一例を示す図である。It is a figure which shows an example of the insertion time in the priority control apparatus which concerns on the 4th Embodiment of this invention. 本発明の第4の実施の形態に係る優先制御装置での、外部からメッセージを受信した場合の動作を示すフローチャートである。It is a flowchart which shows the operation | movement at the time of receiving the message from the outside in the priority control apparatus which concerns on the 4th Embodiment of this invention. 本発明の第4の実施の形態に係る優先制御装置での、SIPサーバへSIP要求を転送する場合の動作を示すフローチャートである。It is a flowchart which shows the operation | movement in the case of transferring a SIP request to a SIP server in the priority control apparatus which concerns on the 4th Embodiment of this invention. 本発明の第5の実施形態に係る優先制御装置の構成を示すブロック図である。It is a block diagram which shows the structure of the priority control apparatus which concerns on the 5th Embodiment of this invention. 本発明の第5の実施の形態に係る優先制御装置での、外部からメッセージを受信した場合の動作を示すフローチャートである。It is a flowchart which shows the operation | movement at the time of receiving the message from the outside in the priority control apparatus which concerns on the 5th Embodiment of this invention. 本発明の第6の実施形態に係る優先制御装置の構成を示すブロック図である。It is a block diagram which shows the structure of the priority control apparatus which concerns on the 6th Embodiment of this invention. 本発明の第6の実施の形態に係る優先制御装置での、外部からメッセージを受信した場合の動作を示すフローチャートである。It is a flowchart which shows the operation | movement at the time of receiving the message from the outside in the priority control apparatus which concerns on the 6th Embodiment of this invention. 本発明の第6の実施の形態に係る優先制御装置での、SIPサーバへSIP要求を転送する場合の動作を示すフローチャートである。It is a flowchart which shows the operation | movement in the case of transferring a SIP request to a SIP server in the priority control apparatus which concerns on the 6th Embodiment of this invention. 本発明の第7の実施形態に係る優先制御装置の構成を示すブロック図である。It is a block diagram which shows the structure of the priority control apparatus which concerns on the 7th Embodiment of this invention. 本発明の第7の実施の形態に係る優先制御装置での、外部からメッセージを受信した場合の動作を示すフローチャートである。It is a flowchart which shows the operation | movement at the time of receiving the message from the outside in the priority control apparatus which concerns on the 7th Embodiment of this invention. 本発明の第1ないし第7の実施の形態に係る優先制御装置を含む、SIPネットワークの構成を示すブロック図である。It is a block diagram which shows the structure of a SIP network including the priority control apparatus which concerns on the 1st thru | or 7th embodiment of this invention. 本発明の第1ないし第7の実施の形態に係る優先制御装置を含む、SIPネットワークの動作を示すシーケンス図である。It is a sequence diagram which shows operation | movement of a SIP network including the priority control apparatus which concerns on the 1st thru | or 7th embodiment of this invention. 一般的なSIPネットワークにおいて、UA間で通信する場合の動作シーケンス図である。It is an operation | movement sequence diagram in the case of communicating between UA in a general SIP network. 一般的なSIPネットワークにおいて、UA情報を更新する場合の動作シーケンス図である。It is an operation | movement sequence diagram in the case of updating UA information in a general SIP network. 従来技術1の構成を示すブロック図である。It is a block diagram which shows the structure of the prior art 1. FIG. 従来技術2の構成を示すブロック図である。It is a block diagram which shows the structure of the prior art 2. FIG. 従来技術3の基本原理を説明する図である。It is a figure explaining the basic principle of the prior art 3. FIG.

符号の説明Explanation of symbols

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要求抽出機能と、
から構成されることを特徴とする優先制御装置。
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要求に格納された識別子を処理中識別子から削除する識別子削除機能と、
から構成されることを特徴とする優先制御装置。
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要求抽出機能と、
から構成されることを特徴とする優先制御装置。
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要求の挿入時刻を削除する挿入時刻削除機能と、
から構成されることを特徴とする優先制御装置。
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:
請求項1記載の優先制御装置の機能と請求項4記載の優先制御装置の機能とから構成されることを特徴とする優先制御装置。 A priority control apparatus comprising the function of the priority control apparatus according to claim 1 and the function of the priority control apparatus according to claim 4. 請求項2記載の優先制御装置の機能と請求項4記載の優先制御装置の機能とから構成されることを特徴とする、優先制御装置。 A priority control apparatus comprising the function of the priority control apparatus according to claim 2 and the function of the priority control apparatus according to claim 4. 請求項3記載の優先制御装置の機能と請求項4記載の優先制御装置の機能とから構成されることを特徴とする優先制御装置。 A priority control apparatus comprising the function of the priority control apparatus according to claim 3 and the function of the priority control apparatus according to claim 4. 請求項1及び請求項5記載の優先制御装置において、
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要求数を1増加する一方、等しい場合には、SIPサーバが単位時間当たりに処理可能なSIP要求数に達したと判定する、転送SIP要求抽出機能とから構成されることを特徴とする請求項1から請求項7の何れか1項に記載の優先制御装置。 The number of SIP requests that the SIP server can process per unit time is stored in advance, a timer is set for each unit time, and the transfer SIP request extraction function manages the number of transferred SIP requests as a variable. The number of transferred SIP requests is equal to the number of SIP requests that the SIP server can process per unit time, and if not, the number of SIP requests that the SIP server can process per unit time A transfer SIP request extraction function for determining that the number of SIP requests that have been transferred has increased by one, and that the number of SIP requests that the SIP server can process per unit time has been reached. The priority control apparatus according to any one of claims 1 to 7, wherein the priority control apparatus comprises: 低優先キューの先頭のSIP要求に格納されているCall−IDヘッダの値を抽出し、前記識別子抽出機能から受け取ったCall−IDヘッダの値と比較した結果、一致すれば「存在」として終了し、一致しなければ、先頭から2番目のSIP要求について同様の処理を再度実行するという処理を低優先キューの先頭から順番に実行していき、全てのSIP要求のCall−IDヘッダの値が一致しない場合には、「存在しない」として終了する、キュー検索機能とから構成されることを特徴とする請求項3から請求項7の何れか1項に記載の優先制御装置。 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 identifier extraction function. If they do not match, the same process is executed again for the second SIP request from the top in order from the top of the low priority queue, and the values of the Call-ID headers of all SIP requests match. The priority control apparatus according to any one of claims 3 to 7, further comprising: a queue search function that terminates as “not present” if not. SIP要求の識別子であるCall−IDヘッダの値と、前記SIP要求一時格納機能が格納するキューに挿入する時刻との組から構成される挿入時刻を格納する挿入時刻格納機能とから構成されることを特徴とする請求項4から請求項7の何れか1項に記載の優先制御装置。 It is composed of an insertion time storage function for storing an insertion time composed of a value of a Call-ID header which is an identifier of a SIP request and a time to be inserted into a queue stored by the SIP request temporary storage function. The priority control apparatus according to any one of claims 4 to 7, characterized by: 前記転送SIP要求抽出機能がSIP要求のCall−IDヘッダの値を抽出し、該当Call−IDヘッダの値をキーに、挿入時刻格納機能が格納する挿入時刻を検索することで、該当Call−IDヘッダの値を持つSIP要求がキューに挿入された時刻を取得し、現在の時刻と比較した結果、挿入時刻と現時刻との差分がSIPプロトコルで規定されている有効期限以上の場合には有効期限切れと判定する一方、挿入時刻と現時刻との差分が有効期限未満の場合には有効期限切れではないと判定する、有効期限確認機能とから構成されることを特徴とする請求項4から請求項7の何れか1項に記載の優先制御装置。 The transfer SIP request extraction function extracts the value of the Call-ID header of the SIP request, and searches for the insertion time stored by the insertion time storage function using the value of the corresponding Call-ID header as a key. Valid when the SIP request having the header value is inserted into the queue and compared with the current time, and the difference between the insertion time and the current time is greater than or equal to the expiration date specified by the SIP protocol 5. An expiration date confirmation function that determines that the expiration date is not expired while the difference between the insertion time and the current time is less than the expiration date. 8. The priority control apparatus according to any one of 7 above. 請求項1から請求項12に記載の優先制御装置と、一般的なSIPサーバとから構成されることを特徴とするSIPシステム。 13. A SIP system comprising the priority control device according to claim 1 and a general 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プロキシー・サーバ機能を介して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要求抽出機能と、
前記転送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プロキシー・サーバ機能を介して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要求を破棄する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プロキシー・サーバを介して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要求抽出ステップと、
前記転送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プロキシー・サーバを介して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要求を破棄する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.
JP2007083774A 2007-03-28 2007-03-28 Priority control apparatus, SIP system, priority control program, and priority control method Expired - Fee Related JP4962854B2 (en)

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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

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