JP5056076B2 - Session control server and subscriber cache control method - Google Patents

Session control server and subscriber cache control method Download PDF

Info

Publication number
JP5056076B2
JP5056076B2 JP2007056602A JP2007056602A JP5056076B2 JP 5056076 B2 JP5056076 B2 JP 5056076B2 JP 2007056602 A JP2007056602 A JP 2007056602A JP 2007056602 A JP2007056602 A JP 2007056602A JP 5056076 B2 JP5056076 B2 JP 5056076B2
Authority
JP
Japan
Prior art keywords
subscriber
cache
queue
login
area
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
JP2007056602A
Other languages
Japanese (ja)
Other versions
JP2008219688A (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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2007056602A priority Critical patent/JP5056076B2/en
Publication of JP2008219688A publication Critical patent/JP2008219688A/en
Application granted granted Critical
Publication of JP5056076B2 publication Critical patent/JP5056076B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Computer And Data Communications (AREA)
  • Telephonic Communication Services (AREA)

Description

本発明は、IP電話システムに於けるセッション制御サーバ及び加入者キャッシュ制御方法に関する。 The present invention relates to a session control server and a subscriber cache control method in an IP telephone system.

IP(Internet Protocol)ネットワークを介してIP電話端末間で通話する為のセッション確立を制御するSIPプロキシサーバ(Session Initiation Protocol Proxy Server)は、IP電話端末のログイン情報及び電話番号を含む加入者情報を登録した加入者データベースを備えており、セッション確立の過程は、例えば、発IP電話端末が着IP電話端末の電話番号をダイヤルすると、SIPプロキシサーバに対してInviteメッセージを送信する。SIPプロキシサーバは、加入者情報を参照して、着IP電話端末側へInviteメッセージを送信し、着IP電話端末の応答により200 OKをSIPプロキシサーバへ送信し、SIPプロキシサーバは発IP電話端末へ200 OKを送信し、発IP電話端末はACKを送信し、SIPプロキシサーバは着IP電話端末へACKを送信する。それにより、発IP電話端末と着IP電話端末との間のセッションが確立される。   An SIP proxy server (Session Initiation Protocol Proxy Server) that controls establishment of a session for making a call between IP telephone terminals via an IP (Internet Protocol) network receives subscriber information including login information and telephone number of the IP telephone terminal. For example, when the calling IP telephone terminal dials the telephone number of the called IP telephone terminal, an Invite message is transmitted to the SIP proxy server. The SIP proxy server refers to the subscriber information, transmits an Invite message to the destination IP phone terminal side, and transmits 200 OK to the SIP proxy server in response to the response from the destination IP phone terminal. 200 OK is transmitted, the originating IP telephone terminal transmits ACK, and the SIP proxy server transmits ACK to the destination IP telephone terminal. Thereby, a session between the originating IP telephone terminal and the destination IP telephone terminal is established.

前述のIP電話端末間のセッション確立を制御するSIPプロキシサーバについては既に各種の構成が提案されている(例えば、特許文献1又は特許文献2参照)。又加入者情報を登録する加入者データベースは、ハードディスク装置により構成する場合が一般的であるが、アクセス速度が格段に速い半導体メモリを加入者キャッシュとして設け、加入者データベースに登録した加入者情報を、加入者キャッシュにも格納し、発IP電話端末側からのInviteメッセージに従って加入者キャッシュをアクセスして、セッション確立の処理を実行する構成が一般的となっている。   Various configurations have already been proposed for the SIP proxy server that controls session establishment between the IP telephone terminals described above (see, for example, Patent Document 1 or Patent Document 2). The subscriber database for registering subscriber information is generally configured by a hard disk device. However, a semiconductor memory having a remarkably fast access speed is provided as a subscriber cache, and the subscriber information registered in the subscriber database is stored. A configuration is generally used in which the data is also stored in the subscriber cache, and the session is established by accessing the subscriber cache in accordance with the Invite message from the calling IP telephone terminal side.

例えば、図14に示す従来例の概要を示すように、SIPプロキシサーバ101は、加入者データベース102と加入者キャッシュ103とを含む構成を有し、保守端末104からの加入者登録コマンドにより加入者情報を加入者データベース102に登録し、IP電話端末105からのRegisterコマンドにより、加入者データベース102から加入者情報を読出して、加入者キャッシュ103に格納する。同様に、IP電話端末106の加入者情報も加入者データベース102に登録し、Registerコマンドにより、加入者キャッシュ103に加入者情報を格納する。この状態に於いて、IP電話端末106がIP電話端末105の電話番号をダイヤルすることにより、SIPプロキシサーバ101に対してInviteメッセージが送出され、SIPプロキシサーバ101は、加入者キャッシュ103に格納された加入者情報に従って着呼側のIP電話端末105の呼び出しを行い、それに応答することにより、セッション確立となる。この加入者データベース102に登録された加入者情報は、ログインに従って加入者キャッシュ103にも格納され、最終的には、加入者データベース102に登録された加入者数Xと、加入者キャッシュ103に格納された加入者数Xとは同一で、且つ同一情報内容となる。   For example, as shown in the outline of the conventional example shown in FIG. 14, the SIP proxy server 101 has a configuration including a subscriber database 102 and a subscriber cache 103, and a subscriber is registered by a subscriber registration command from the maintenance terminal 104. The information is registered in the subscriber database 102, and the subscriber information is read from the subscriber database 102 by a Register command from the IP telephone terminal 105 and stored in the subscriber cache 103. Similarly, the subscriber information of the IP telephone terminal 106 is also registered in the subscriber database 102, and the subscriber information is stored in the subscriber cache 103 by a Register command. In this state, when the IP telephone terminal 106 dials the telephone number of the IP telephone terminal 105, an Invite message is sent to the SIP proxy server 101, and the SIP proxy server 101 is stored in the subscriber cache 103. The called IP telephone terminal 105 is called according to the subscriber information and responds to the call, thereby establishing a session. The subscriber information registered in the subscriber database 102 is also stored in the subscriber cache 103 according to login, and finally stored in the subscriber cache 103 and the number of subscribers X registered in the subscriber database 102. The same number of subscribers X and the same information content.

又SIPプロキシサーバに加入者キャッシュとしてのメモリを設け、加入者情報を外部データベースに登録し、IP電話端末からのRegisterコマンドにより、外部データベースから必要とする加入者情報のみをSIPプロキシサーバのメモリに格納し、発IP電話端末からの発呼(Invite)により、SIPプロキシサーバは、メモリに格納された加入者情報を基に着IP電話端末へInviteメッセージを送出する手段も知られている。この場合、全IP電話端末からのRegisterコマンドによって、最終的には、外部データベースに登録した加入者情報の全部を、加入者キャッシュに格納することになる(例えば、特許文献3参照)。
特開2004−523174号公報 特開2006−325038号公報 特開2006−244099号公報
Also, a memory serving as a subscriber cache is provided in the SIP proxy server, subscriber information is registered in an external database, and only the necessary subscriber information from the external database is stored in the memory of the SIP proxy server by a Register command from the IP telephone terminal. There is also known a means for storing and sending an Invite message to the destination IP telephone terminal based on the subscriber information stored in the memory by the SIP proxy server by calling (Invite) from the calling IP telephone terminal. In this case, all of the subscriber information registered in the external database is finally stored in the subscriber cache by the Register command from all IP telephone terminals (see, for example, Patent Document 3).
JP 2004-523174 A JP 2006-325038 A JP 2006-244099 A

SIPプロキシサーバに加入者キャッシュを設けて処理の高速化を図る従来例に於いては、内部又は外部に設けた加入者データベースに登録した加入者情報を加入者キャッシュに格納するものであるから、図14に示すように、加入者キャッシュと加入者データベースとの加入者数は同数となる。従って、大量の加入者に対してセッション確立のサービスを提供するSIPプロキシサーバに於いては、その加入者数に対応した大容量の加入者データベースと共に、略同一容量の加入者キャッシュを必要とすることなり、システムコストが非常に大きくなる問題がある。   In the conventional example in which the SIP proxy server is provided with a subscriber cache to increase the processing speed, the subscriber information registered in the subscriber database provided inside or outside is stored in the subscriber cache. As shown in FIG. 14, the number of subscribers in the subscriber cache and the subscriber database is the same. Therefore, a SIP proxy server that provides a session establishment service to a large number of subscribers requires a subscriber cache having substantially the same capacity as well as a large subscriber database corresponding to the number of subscribers. In other words, there is a problem that the system cost becomes very high.

本発明は、前述の問題点を解決するもので、少ない容量の加入者キャッシュの有効利用を図ることを目的とする。   An object of the present invention is to solve the above-described problems, and to effectively use a subscriber cache having a small capacity.

本発明のセッション制御サーバは、入者データベースからの加入者情報を、加入者キャッシュに書き込む領域を指示するポインタを含み、且つ加入者キャッシュの各領域に対応する加入者がログイン状態、ログアウト状態、通話中状態の何れであるかを管理する再利用候補テーブルを設け、この再利用候補テーブルは、前記ログアウト状態となった加入者に対応する前記加入者キャッシュ領域を示すログアウトキューと、前記ログイン状態となった加入者及び通話中状態となった加入者に対応する前記加入者キャッシュ領域を示すログインキューとを含、制御処理部は、グイン要求に対して前記加入者キャッシュの空き領域がない場合で、前記ログアウトキューがある場合、前記ログアウトキューの示す領域に、前記ログイン要求の加入者情報を、加入者データベースから読み出して上書き処理し、前記加入者キャッシュの空き領域がない場合で、前記ログアウトキューがない場合、前記ログインキューの示す領域に、前記ログイン要求の加入者情報を、加入者データベースから読み出して上書き処理する制御手段を備えている。 Session control server of the present invention, the subscriber information from the subscribers database, contains a pointer for indicating a write area to the subscriber cache, and subscriber login status corresponding to each region of the subscriber cache, logout status A reuse candidate table for managing whether the call is in a call state , and the reuse candidate table includes a logout queue indicating the subscriber cache area corresponding to the subscriber in the logout state, and the login look contains a login queue indicating the subscriber cache area corresponding to the subscriber who has become a subscriber and calling state in which the state, the control processing unit, free space of the subscriber cache for login request If no, if there is the logout queue, in the area indicated by the logout queue, addition of the login request The user information, in the absence of the subscriber database and overwriting processing is read from the free space of the subscriber cache, if there is no said logout queue, in the area indicated by the log queue, the subscriber information of the login request, Control means for reading from the subscriber database and overwriting is provided.

又前記再利用候補テーブルの前記ログインキューの先頭位置のポインタにより、最も使用頻度の低い加入者キャッシュの領域を指示し、再ログイン要求対応のログインキューのポインタを、このログインキューの最後尾にキューイングするように、制御処理部により制御処理する構成を備えている。   In addition, the least frequently used subscriber cache area is indicated by the pointer at the top position of the login queue in the reuse candidate table, and the login queue pointer corresponding to the re-login request is queued at the end of the login queue. So that the control processing unit performs control processing.

又前記再利用候補テーブルの前記ログアウトキューのログアウト加入者対応のポインタを最後尾にリンクするように制御処理し、使用頻度の低い先頭位置のポインタにより指示された前記加入者キャッシュの領域に、新たな加入者情報を上書きするように、前記制御処理部により制御処理する構成を備えている。   In addition, a control process is performed so that the pointer corresponding to the logout subscriber in the logout queue of the reuse candidate table is linked to the tail, and a new address is added to the area of the subscriber cache indicated by the pointer at the head position that is not frequently used. The control processing unit is configured to perform a control process so that new subscriber information is overwritten.

又本発明の加入者キャッシュ制御方法は、加入者データベースと加入者キャッシュと制御処理部とを含むSIPプロキシサーバに於いて、加入者キャッシュの領域対応の状態を管理し、且つその領域を指示するポインタを含むログインキューとログアウトキューとを有する再利用候補テーブルを備え、ログイン時に、再利用候補テーブルを参照し、使用頻度の低いことを示すポインタにより指示された加入者キャッシュの領域を選択して、その加入者キャッシュの領域に新たなログイン要求の加入者情報を書き込み、その領域を指示するログアウトキューのポインタを使用頻度の高いことを示す最後尾にリンクさせる制御処理過程を含むものである。   Further, the subscriber cache control method of the present invention manages the state corresponding to the area of the subscriber cache in the SIP proxy server including the subscriber database, the subscriber cache and the control processing unit, and indicates the area. A reuse candidate table having a login queue including a pointer and a logout queue is provided. At the time of login, the reuse candidate table is referred to, and an area of the subscriber cache indicated by the pointer indicating low use frequency is selected. This includes a control processing step of writing the subscriber information of a new login request in the area of the subscriber cache and linking the logout queue pointer indicating the area to the end indicating that the frequency of use is high.

又ログイン時の加入者対応の加入者情報が加入者キャッシュに存在するか否かを判定し、存在する場合は、加入者キャッシュの領域を指示するポインタを、再利用候補テーブルのログインキューの最後尾にキューイングし、存在しない場合は、再利用候補テーブルのログアウトキューを検索し、そのログアウトキューに、加入者キャッシュのログアウトの領域がない場合、再利用候補テーブルのログインキューを検索し、そのログインキューの先頭にリンクされたポインタにより指示された加入者キャッシュの領域に、ログインの加入者情報を上書きし、この加入者キャッシュの領域を指示するポインタを、再利用候補テーブルの最後尾にリンクさせる過程を含むことができる。   Also, it is determined whether or not subscriber information corresponding to the subscriber at the time of login exists in the subscriber cache, and if it exists, a pointer indicating the area of the subscriber cache is set at the end of the login queue of the reuse candidate table. If there is no logout area of the subscriber cache in the logout queue, the logout queue of the reuse candidate table is searched and the logout queue of the reuse candidate table is searched. The subscriber cache area indicated by the pointer linked to the head of the login queue is overwritten with the login subscriber information, and the pointer indicating this subscriber cache area is linked to the end of the reuse candidate table. Process.

加入者情報を登録した加入者データベースと、使用頻度等に対応した加入者情報のみを保持する加入者キャッシュと、この加入者キャッシュを有効利用する為の再利用候補テーブルとを含み、再利用候補テーブルにより、加入者キャッシュの使用頻度の低い領域のポインタにより指示された加入者キャッシュの加入者情報記憶領域に対して、ログイン要求の加入者情報を上書きするように制御することによって、加入者データベースに比較して少ない記憶領域の加入者キャッシュにより、セッション確立制御処理を行うことができ、従って、SIPプロキシサーバのコストダウンを図ることが可能となる。   A reuse candidate that includes a subscriber database in which subscriber information is registered, a subscriber cache that holds only subscriber information corresponding to usage frequency, and a reuse candidate table for effectively using the subscriber cache. The subscriber database is controlled by overwriting the subscriber information of the login request with respect to the subscriber information storage area of the subscriber cache indicated by the pointer of the less frequently used area of the subscriber cache according to the table. Therefore, the session establishment control process can be performed with a subscriber cache having a smaller storage area than that of the SIP cache server. Therefore, the cost of the SIP proxy server can be reduced.

本発明のセッション制御サーバは、図1を参照すると、加入者データベース2と加入者キャッシュ3と制御処理部8とを含むセッション制御サーバであって、加入者データベース2からの加入者情報を、加入者キャッシュ3に書き込む領域を指示するポインタを含み、且つ加入者キャッシュ3の各領域に対応する加入者がログイン状態、ログアウト状態、通話中状態の何れであるかを管理する再利用候補テーブル7を設け、この再利用候補テーブル7は、ログアウト状態となった加入者に対応する前記加入者キャッシュ領域を示すログアウトキュー7bと、ログイン状態となった加入者及び話中状態となった加入者に対応する前記加入者キャッシュ領域を示すログインキュー7aとを含、制御処理部8は、グイン要求に対して前記加入者キャッシュの空き領域がない場合で、前記ログアウトキューがある場合、前記ログアウトキューの示す領域に、前記ログイン要求の加入者情報を前記加入者データベースから読み出して上書き処理し、前記加入者キャッシュの空き領域がない場合で、前記ログアウトキューがない場合、前記ログインキューの示す領域に、前記ログイン要求の加入者情報を、前記加入者データベース2から読み出して上書き処理する制御手段を備えている。 Session control server of the present invention, referring to FIG. 1, a session control server includes a subscriber database 2 and the subscriber cache 3 and control unit 8, the subscriber information from the subscriber database 2, the subscriber A reuse candidate table 7 that includes pointers that indicate areas to be written to the subscriber cache 3 and that manages whether the subscriber corresponding to each area of the subscriber cache 3 is in a login state, a logout state, or a call state. provided, the reuse candidate table 7, and out queue 7b indicating the subscriber cache area corresponding to the subscriber a logout state, the subscriber a state in subscriber and passing story of a login status look contains a login queue 7a indicating the subscriber cache area corresponding, control processor 8, the subscription respect login request When there is no free space in the cache and there is the logout queue, the subscriber information of the login request is read from the subscriber database and overwritten in the area indicated by the logout queue, and the free space in the subscriber cache If no, the absence the logout queue, in the area indicated by the log queue, the subscriber information of the login request, and a control means for overwriting process reads from the subscriber database 2.

本発明の加入者キャッシュ制御方法は、加入者データベース2と加入者キャッシュ3と制御処理部8とを含むSIPプロキシサーバ1に於いて、加入者キャッシュ3の領域対応の状態を管理し、且つその領域を指示するポインタを含むログインキュー7aとログアウトキュー7bとを有する再利用候補テーブル7を備え、ログイン時に、再利用候補テーブル7を参照して、使用頻度の低いことを示すポインタにより指示された加入者キャッシュ3の領域を選択して、その加入者キャッシュ3の領域に新たなログイン要求の加入者情報を書き込み、その領域を指示するログアウトキュー7bのポインタを使用頻度の高いことを示す最後尾にリンクさせる制御処理過程を含むものである。   The subscriber cache control method of the present invention manages the state corresponding to the area of the subscriber cache 3 in the SIP proxy server 1 including the subscriber database 2, the subscriber cache 3, and the control processing unit 8. A reuse candidate table 7 having a login queue 7a and a logout queue 7b including pointers indicating areas is provided, and at the time of login, the reuse candidate table 7 is referred to and indicated by a pointer indicating low use frequency The area of the subscriber cache 3 is selected, the subscriber information of a new login request is written in the area of the subscriber cache 3, and the pointer of the logout queue 7b indicating the area is used frequently. It includes a control process to be linked to.

図1は、本発明の実施例1の説明図であり、1はSIPプロキシサーバ、2は加入者データベース、3は加入者キャッシュ、4は保守端末、5,6はIP電話端末、7は再利用候補テーブル、7aはログインキュー、7bはログアウトキュー、8は制御処理部を示す。なお、保守端末4及びIP電話端末5,6との間の送受信の制御手段及びネットワーク構成は図示を省略しているが、既に知られている各種の構成を適用することができる。又制御処理部8は、各部を制御すると共に、加入者データベース2と加入者キャッシュ3とに対するアクセス制御手段やセッション確立処理を行う手段等の処理手段を含むもので、プロセッサ等による制御処理手段により構成することができる。   FIG. 1 is an explanatory diagram of Embodiment 1 of the present invention, where 1 is a SIP proxy server, 2 is a subscriber database, 3 is a subscriber cache, 4 is a maintenance terminal, 5 and 6 are IP telephone terminals, and 7 is a re-transmission. A use candidate table, 7a is a login queue, 7b is a logout queue, and 8 is a control processing unit. Note that the control means and network configuration for transmission and reception between the maintenance terminal 4 and the IP telephone terminals 5 and 6 are not shown, but various known configurations can be applied. The control processing unit 8 controls each unit and includes processing means such as access control means for the subscriber database 2 and the subscriber cache 3 and means for performing session establishment processing. Can be configured.

又再利用候補テーブル7は、ログインキュー7aとログアウトキュー7bとを含み、加入者キャッシュ3の一部領域或いは加入者キャッシュ3と別個のメモリにより形成することができる。又加入者データベース2は、nX数の全加入者情報を登録できる記憶容量とした時、加入者キャッシュ3は、nX数の全加入者情報の中の使用頻度の高いX数の加入者情報のみを保持する記憶容量とする。この場合の使用頻度の高い加入者か否かを、再利用候補テーブル7により管理し、制御処理部8により、再利用候補テーブル7の更新制御と共に、加入者キャッシュ3に対する加入者データベース2からの加入者情報の書込み処理を行い、新たなログインにより、使用頻度の低い加入者対応の加入者キャッシュ3の領域に、新たな加入者情報を上書きすることにより、加入者キャッシュ3の記憶容量を少なくしても、セッション確立処理を高速で実行可能とする。従って、高速アクセス可能で且つ高価な加入者キャッシュ3を、加入者データベース2の記憶容量に比較して小容量構成とし、SIPプロキシサーバ1のコストダウンを図ることができる。   The reuse candidate table 7 includes a login queue 7a and a logout queue 7b, and can be formed by a partial area of the subscriber cache 3 or a memory separate from the subscriber cache 3. Further, when the subscriber database 2 has a storage capacity capable of registering all the nX number of subscriber information, the subscriber cache 3 has only the X number of subscriber information that is frequently used among the nX number of all subscriber information. Is the storage capacity to hold In this case, whether or not the subscriber is frequently used is managed by the reuse candidate table 7, and the control processing unit 8 controls the update of the reuse candidate table 7 together with the update from the subscriber database 2 to the subscriber cache 3. The storage capacity of the subscriber cache 3 is reduced by writing the subscriber information and overwriting the new subscriber information in the area of the subscriber cache 3 corresponding to the less frequently used subscriber by performing a new login. Even so, the session establishment process can be executed at high speed. Accordingly, it is possible to reduce the cost of the SIP proxy server 1 by setting the subscriber cache 3 that can be accessed at high speed and having a small capacity compared to the storage capacity of the subscriber database 2.

図2は、加入者キャッシュと再利用候補テーブルとの概要説明図であり、加入者キャッシュ3は、初期状態に相当する空き(1)の領域と、ログインによる加入者情報を格納したログインキャッシュの領域と、通話中の状態の通話中キャッシュの領域と、ログアウトを行った加入者情報対応のログアウトキャッシュの領域とを含み、加入者キャッシュ3の初期状態は、全領域が空きの領域となる。従って、新たなログインによる加入者情報は、空きの領域を順次選択して格納するから、加入者キャッシュ3の各領域は、空き領域の状態からログインキャッシュの状態に遷移し、セッション確立により通話を行う状態では、通話中キャッシュの状態に遷移し、通話終了によるログアウトによりログアウトキャッシュの状態に遷移する。   FIG. 2 is a schematic explanatory diagram of the subscriber cache and the reuse candidate table. The subscriber cache 3 includes a free (1) area corresponding to the initial state and a login cache storing subscriber information by login. In the initial state of the subscriber cache 3, the entire area is an empty area. Accordingly, subscriber information by new login is stored by selecting and selecting free areas sequentially, so that each area of the subscriber cache 3 transitions from the free area state to the login cache state and makes a call by establishing a session. In the state to be performed, the state transits to the in-call cache state, and transitions to the logout cache state by logout upon termination of the call.

再利用候補テーブル7は、加入者キャッシュ3の各領域の状態を管理し、ポインタにより領域を指示する構成を有し、ログアウトキュー7bとログインキュー7aとを含み、ログアウトキュー7bのポインタは、ログアウトにより最後尾にリンクされる。この場合、図示の上部ほど、過去に使用した加入者キャッシュの使用頻度の低い領域を指示するポインタとなる。従って、ログイン要求により、加入者キャッシュ3に空きがない場合、ログアウトキュー7bの先頭(上部)にリンクされている使用頻度の低い加入者キャッシュ3の領域を再利用し、加入者情報を上書きする。矢印(2)は、その場合のログアウトキャッシュ7bの古いものから新しい順を示すものである。   The reuse candidate table 7 manages the state of each area of the subscriber cache 3 and has a configuration in which the area is indicated by a pointer. The reuse candidate table 7 includes a logout queue 7b and a login queue 7a. Is linked at the end. In this case, the upper part of the figure is a pointer that indicates an area where the subscriber cache used in the past is less frequently used. Therefore, when there is no free space in the subscriber cache 3 due to the login request, the area of the subscriber cache 3 that is less frequently used linked to the head (upper part) of the logout queue 7b is reused and the subscriber information is overwritten. . The arrow (2) indicates the order of the logout cache 7b from the oldest to the newest in that case.

又ログインキュー7aは、加入者キャッシュ3のログインキャッシュ状態の領域と通話中キャッシュ状態の領域とに対するポインタにより構成され、ログイン時に最後尾にリンクされ、通話中になると、通話中キャッシュ状態に遷移し、終話によりログインキャッシュ状態に遷移し、ログインキュー7aの最後尾にリンクされる。その場合、矢印(3)は、古いものから新しい順を示すもので、加入者キャッシュ3に空き領域がなく、且つログアウトキュー7bを参照しても使用可能のキャッシュ領域が存在しないことを示す場合、ログインキュー7aの先頭にリンクされている通話中以外のキャッシュ領域を再利用し、新たにログインした加入者情報を上書きする。前述のように、再利用候補テーブル7を利用して、加入者キャッシュ3の領域が加入者データベース2の領域に比較して小さい場合でも、加入者キャッシュ3を有効利用することができる。   The login queue 7a is composed of pointers to the login cache state area and the in-call cache state area of the subscriber cache 3, and is linked at the end at the time of login. , Transition to the login cache state at the end of the talk, and linked to the tail of the login queue 7a. In this case, the arrow (3) indicates the order from the oldest to the newest, indicating that there is no free area in the subscriber cache 3 and that no usable cache area exists even if the logout queue 7b is referenced. The cache area linked to the head of the login queue 7a is reused, and the newly logged-in subscriber information is overwritten. As described above, by using the reuse candidate table 7, even when the area of the subscriber cache 3 is smaller than the area of the subscriber database 2, the subscriber cache 3 can be effectively used.

図3は、加入者キャッシュと再利用候補テーブルとの要部構成を示し、加入者キャッシュ3は、キャッシュ#1(Cache#1)〜キャッシュFF(CacheFF)とにより構成した場合を示し、それぞれDN,SIP−URI,Contactと、加入者キャッシュ3の領域の状態Statusを示すログインLogin,ログアウトLogout,通話中Talkingとを含み、例えば、Cache#1は、Loginにアンダーラインを付加して示すように、ログインの状態であり、Cache#2は、Logoutにアンダーラインを付加して示すようにログアウトの状態であることを表している。なお、これらは説明の便宜上のものである。   FIG. 3 shows a main configuration of the subscriber cache and the reuse candidate table, and the subscriber cache 3 is configured by a cache # 1 (Cache # 1) to a cache FF (Cache FF). , SIP-URI, Contact, and login Login, logout Logout, and talking Talking indicating the status of the area of the subscriber cache 3, for example, Cache # 1 is indicated by adding an underline to Login. The login state, Cache # 2 represents the logout state as indicated by adding an underline to Logout. These are for convenience of explanation.

又再利用候補テーブル7は、ログアウトキュー7bとログインキュー7aとを含み、それぞれ先頭Headと最後尾Tailとのリンクを形成し、ログアウトキュー7bは、Logout#1〜LogoutFFとを含み、それぞれ先頭Headからの順番Forward#と、最後尾Tailからの順番Backward#と、加入者キャッシュ3の領域位置を示すCache−oidとを含むものであり、又ログインキュー7aも、Login#1〜LoginFFとを含み、それぞれ先頭Headからの順番Forward#と、最後尾Tailからの順番Backward#と、加入者キャッシュ3の領域位置を示すCache−oidとを含む内容を有する場合を示す。又点線矢印は、加入者キャッシュ3のログイン状態の領域Cache#1を、ログインキュー7aのLogin#1のCache−oidにより示し、又加入者キャッシュ3のログアウト状態の領域Cache#2を、ログアウトキュー7bのLogout#2のCache−oidにより示す場合の一例である。   The reuse candidate table 7 includes a logout queue 7b and a login queue 7a, and forms a link between the head Head and tail tail, respectively. The logout queue 7b includes Logout # 1 to LogoutFF, and each head Head Order Forward #, order Backward # from the tail end, and Cache-oid indicating the area position of the subscriber cache 3, and the login queue 7a also includes Login # 1 to LoginFF. In this example, the contents include the order Forward # from the first head, the order Backward # from the tail of the tail, and the cache-oid indicating the area position of the subscriber cache 3. The dotted line arrow indicates the area Cache # 1 in the login state of the subscriber cache 3 by the Login # 1 Cache-oid of the login queue 7a, and the area Cache # 2 in the logout state of the subscriber cache 3 indicates the logout queue. This is an example in the case of 7b Logout # 2 Cache-oid.

図4は、ログイン時の加入者キャッシュと再利用候補テーブルとの要部内容説明図であり、同図の(A)は初回ログイン時、(B)は再ログイン時の内容の変更状態を示し、加入者キャッシュと再利用候補テーブルとは、ログイン処理により、上側の状態から下側の状態に遷移する。即ち、初回ログイン時には、再利用候補テーブルのログアウトキューの例えば太線枠で示すコンタクトなしに対応する加入者キャッシュの先頭の領域をログインキャッシュとし、再利用候補テーブルのログアウトキューのコンタクトなしを、ログインキューの最後尾に太線枠でコンタクトありとして示すようにリンクさせる。又図4の(B)に示す再ログイン時には、再利用候補テーブルのログインキューの例えば上側の太線枠で示すコンタクトありを、下側の太線枠で示すように、最後尾に再リンクさせる。従って、再利用候補テーブルのログインキューの最後尾のコンタクトありとして示す加入者キャッシュの領域を指示するポインタは、加入者キャッシュの最新のアクセス領域を指示するものとなる。   FIGS. 4A and 4B are explanatory diagrams of main contents of the subscriber cache and the reuse candidate table at the time of login. FIG. 4A shows a change state of contents at the time of re-login and FIG. The subscriber cache and the reuse candidate table transition from the upper state to the lower state by the login process. That is, when logging in for the first time, the top area of the subscriber cache corresponding to no contact indicated by, for example, a bold line in the logout queue of the reuse candidate table is set as the login cache, and no logout queue contact in the reuse candidate table is set as the login queue. Link as shown in the bold line frame at the end of the contact. Also, at the time of re-login shown in FIG. 4B, for example, the contact indicated by the upper thick line frame in the login queue of the reuse candidate table is relinked at the end as shown by the lower thick line frame. Therefore, the pointer indicating the area of the subscriber cache indicated as having the last contact in the login queue of the reuse candidate table indicates the latest access area of the subscriber cache.

図5は、ログイン時のフローチャートを示し、SIPプロキシサーバは、ログイン(Register受信)により、ログイン加入者のキャッシュデータが存在するか最利用候補テーブルのログアウトキューを参照してチェックする(A1)。そして、加入者キャッシュに存在するか否かを判定し(A2)、存在しない場合は、加入者キャッシュエリアを新規に捕捉する要求を行う(A3)。そして、捕捉可能か否かを判定し(A4)、捕捉可能の場合は、Contact,Expire設定、加入者CH(加入者キャッシュ)への書込みを行い(A5)、その加入者キャッシュの領域を指示するポインタを含むキャッシュ情報を、再利用候補テーブルのログインキューの最後尾にキューイングし(A6)、リクエスト成功を示す200 OKレスポンスを送出する(A7)。   FIG. 5 shows a flowchart at the time of login. The SIP proxy server checks whether there is cache data of the login subscriber by logging in (Register reception) with reference to the logout queue in the most used candidate table (A1). Then, it is determined whether or not it exists in the subscriber cache (A2). If it does not exist, a request for newly capturing the subscriber cache area is made (A3). Then, it is determined whether or not capture is possible (A4). If capture is possible, the setting of Contact, Expire, and writing to the subscriber CH (subscriber cache) are performed (A5), and the area of the subscriber cache is indicated. The cache information including the pointer to be queued is queued at the tail end of the login queue of the reuse candidate table (A6), and a 200 OK response indicating successful request is sent (A7).

又ステップ(A4)に於いて捕捉不可能の判定の場合は、再利用候補テーブルのログアウトキューを検索し、ログアウトキューによっても検索できない場合は、ログインキューを検索し(A8)、捕捉可能か否かを判定し(A9)、捕捉可能の場合は、捕捉した加入者キャッシュの領域に加入者情報を上書きする。この場合、Contact,Expire設定も加入者キャッシュへ書き込む(A10)。そして、該当キャッシュ情報を再利用候補テーブルのログインキューの最後尾にキューイングし(A11)、200 OKレスポンスを送出する(A12)。又ステップ(A9)に於いて、捕捉不可能の場合は、サービス利用不可を示す503 NGレスポンスを送出する(A13)。   If it is determined in step (A4) that it cannot be captured, the logout queue of the reuse candidate table is searched. If the logout queue cannot be searched, the login queue is searched (A8). (A9), and if it can be captured, the subscriber information is overwritten in the captured subscriber cache area. In this case, the Contact and Expire settings are also written to the subscriber cache (A10). Then, the cache information is queued at the tail end of the login queue of the reuse candidate table (A11), and a 200 OK response is sent (A12). In step (A9), if it cannot be captured, a 503 NG response indicating that the service cannot be used is sent (A13).

又ステップ(A2)に於いて、キャッシュに存在する判定の場合、Contact,Expireを設定、加入者キャッシュへ書込み(A14)、該当キャッシュ情報を、再利用候補テーブルのログインキューの最後尾にキューイングし(A15)、200 OKレスポンスを送出する(A16)。加入者キャッシュへの加入者情報の上書きを含む書き込みが成功すれば、再利用候補テーブルのログインキューの最新を示す最後尾に、加入者キャッシュの領域を指示するポインタを含む情報をリンクさせる。   If it is determined in step (A2) that the cache is present, “Contact” and “Expire” are set and written to the subscriber cache (A14), and the corresponding cache information is queued at the end of the login queue of the reuse candidate table. (A15), and a 200 OK response is transmitted (A16). If writing including overwriting of subscriber information to the subscriber cache is successful, information including a pointer indicating the area of the subscriber cache is linked to the tail of the login queue of the reuse candidate table indicating the latest.

図6は、通話開始時の加入者キャッシュと再利用候補テーブルとの要部内容説明図であり、通話開始時に於いて、加入者対象のキャッシュ無しの場合(A)と、キャッシュ有りの場合(B)とを示し、キャッシュ無しの場合(A)は、再利用候補テーブルのログアウトキュー(ログアウトキューがない場合はログインキュー)の先頭キャッシュエリアを再捕捉して該当加入者情報をログイン加入者に上書きし、再利用候補テーブル(ログインキュー)の最後尾に太線枠で示すようにリンクさせる。又通話を契機に加入者キャッシュの対応する領域の状態をログアウトから通話中に遷移させる。即ち、図6の(A)の上側に示す再利用候補テーブルのログアウトキューの太線枠で示すコンタクトなしを、下側に示すように、加入者キャッシュは、通話中キャッシュとし、且つ再利用候補テーブルのログインキューの最後尾に、太線枠で示すようにコンタクトありとしてキューイングする。   FIG. 6 is a diagram for explaining the main contents of the subscriber cache and the reuse candidate table at the start of the call. When the call is started, there is no subscriber target cache (A), and there is a cache ( B), and when there is no cache (A), the first cache area of the logout queue of the reuse candidate table (or the login queue if there is no logout queue) is recaptured and the corresponding subscriber information is sent to the login subscriber. Overwrite and link at the end of the reuse candidate table (login queue) as shown by the bold frame. In response to a call, the state of the corresponding area of the subscriber cache is changed from logout to during a call. That is, as shown on the lower side of the reuse candidate table shown in the upper part of the reuse candidate table shown in FIG. 6A, the subscriber cache is a call cache and the reuse candidate table is shown in the lower part. At the end of the login queue of, as indicated by the thick line frame, is queued as contacted.

又キャッシュ有りの場合(B)は、加入者キャッシュの対応領域の状態を、ログインキャッシュの状態から通話中キャッシュの状態に遷移させ、再利用候補テーブルのログインキューの位置の更新は行わない。例えば、図6の(B)の上側に示す加入者キャッシュのログインキャッシュと点線矢印で対応関係を示す再利用候補テーブルのログインキューの太線枠のコンタクトありの位置は、下側に示すようにそのままとし、これに対応する点線矢印で示す加入者キャッシュの領域の状態を、通話中キャッシュとして示すように遷移させる。   If there is a cache (B), the state of the corresponding area of the subscriber cache is changed from the state of the login cache to the state of the busy cache, and the position of the login queue in the reuse candidate table is not updated. For example, the position with the contact in the thick line frame of the login queue of the reuse candidate table whose correspondence is indicated by the dotted line arrow with the login cache of the subscriber cache shown on the upper side of FIG. 6B is as it is shown on the lower side. And the state of the area of the subscriber cache indicated by the dotted arrow corresponding thereto is transitioned as shown as a busy-call cache.

図7は、通話開始時のフローチャートであり、Invite受信により、発又は着加入者のキャッシュデータが存在するかチェックし(B1)、加入者キャッシュに存在するか否かを判定し(B2)、存在する場合は、加入者キャッシュに保持された加入者情報を読出して、閉塞状態、サービス契約状態等の情報をチェックし(B3)、チェックOKか否かを判定する(B4)。チェックOKの場合は、リクエスト成功を示す200 OKレスポンスを送出し(B5)、加入者キャッシュの対応領域の状態を通話中とする(B6)。   FIG. 7 is a flowchart at the start of a call. When Invite reception is performed, it is checked whether or not the calling or called subscriber cache data exists (B1), and it is determined whether or not it exists in the subscriber cache (B2). If it exists, the subscriber information held in the subscriber cache is read to check information such as the blocked status and service contract status (B3), and it is determined whether or not the check is OK (B4). If the check is OK, a 200 OK response indicating successful request is sent (B5), and the state of the corresponding area of the subscriber cache is set to be in a call (B6).

又ステップ(B2)に於いて、加入者キャッシュに存在しない判定の場合は、加入者キャッシュエリアを新規に捕捉要求し(B7)、捕捉OKか否かを判定し(B8)、捕捉OKの場合は、加入者キャッシュの該当領域に加入者情報を上書きし、且つ状態をチェックし(B9)、ログアウト又はExpire済みか否かを判定し(B10)、何れでもない場合は、ステップ(B3)に移行し、又何れかが済みの場合は、該当キャッシュ情報を再利用候補テーブルのログインキュー(in)の最後尾にキューイングし(B11)、この場合の処理は、禁止されていることを示す403レスポンスを送出する(B12)。又ステップ(B4)に於いてチェックOKではない判定の場合、リクエストエラー応答を示す4xx、又はサーバエラー応答を示す5xxのNGレスポンスを送出し(B13)、該当キャッシュ情報を再利用候補テーブルのログインキュー(in)の最後尾にキューイングする(B14)。又ステップ(B8)に於いて捕捉不可能の判定の場合は、再利用候補テーブルのログアウトキュー(out)→ログインキュー(in)の順に候補キャッシュを検索し(B15)、捕捉OKか否かを判定し(B16)、捕捉OKの場合は、ステップ(B9)に移行し、捕捉不可能の場合は、サービス利用不可を示す503レスポンスを送出する(B16)。   If it is determined in step (B2) that the subscriber cache does not exist, a request is made to capture a new subscriber cache area (B7), whether or not the capture is OK (B8). Overwrites the subscriber information in the corresponding area of the subscriber cache, checks the status (B9), determines whether logout or Expire has been completed (B10), and if none of them, goes to step (B3) If any of the cache information has been transferred or has been completed, the corresponding cache information is queued at the tail end of the login queue (in) of the reuse candidate table (B11), indicating that processing in this case is prohibited. A 403 response is sent (B12). If it is determined that the check is not OK in step (B4), a 4xx NG response indicating a request error response or a 5xx NG response indicating a server error response is sent (B13), and the corresponding cache information is logged into the reuse candidate table. Queue to the end of the queue (in) (B14). If it is determined in step (B8) that capture is impossible, the candidate cache is searched in the order of logout queue (out) → login queue (in) in the reuse candidate table (B15), and whether or not capture is OK. If it is determined that the acquisition is OK, the process proceeds to step (B9). If the acquisition is impossible, a 503 response indicating that the service cannot be used is transmitted (B16).

図8は、通話終了時の加入者キャッシュと再利用候補テーブルとの要部内容説明図であり、上側に示す加入者キャッシュの通話中キャッシュと、点線矢印で対応関係を示す再利用候補テーブルのログインキューの太線枠で示すコンタクトありを、通話終了により、下側に示すように、加入者キャッシュの通話中キャッシュの状態をログインキャッシュの状態に更新し、且つ再利用候補テーブルのログインキューは、太線枠のコンタクトありで示すように、最後尾にキューイングする。なお、最初から最後尾であれば、変更無しとなる。従って、この太線枠で示すログインキューのポインタにより指示する加入者キャッシュの領域は、最新のアクセス領域を示すことになる。   FIG. 8 is a diagram for explaining the main contents of the subscriber cache and the reuse candidate table at the end of the call. The call cache in the subscriber cache shown on the upper side and the reuse candidate table showing a correspondence relationship with dotted arrows When there is a contact indicated by the bold line frame of the login queue, as shown on the lower side by the end of the call, the state of the in-call cache of the subscriber cache is updated to the state of the login cache, and the login queue of the reuse candidate table is Cue at the end, as shown by the bold border contact. If it is from the beginning to the end, there is no change. Therefore, the subscriber cache area indicated by the login queue pointer indicated by the bold frame indicates the latest access area.

図9は、通話終了時のフローチャートであり、終話(Bye受信)により、Byeリクエストに対応するダイアログが存在するかチェックし(C1)、ダイアログの存在の有無を判定し(C2)、存在する場合は、終話状態を加入者キャッシュに書込み(C3)、200 OKレスポンスを送出し(C4)、該当キャッシュ情報を再利用候補テーブルのログインキュー(in)の最後尾にキューイングする。又ステップ(C2)に於いて、ダイアログが存在しない場合は、受信したByeリクエストは廃棄する(C6)。   FIG. 9 is a flowchart at the end of the call, and checks whether there is a dialog corresponding to the Bye request (C1) by ending the call (Bee reception), determines whether there is a dialog (C2), and exists. In this case, the end state is written in the subscriber cache (C3), a 200 OK response is sent (C4), and the corresponding cache information is queued at the end of the login queue (in) of the reuse candidate table. If there is no dialog in step (C2), the received Bye request is discarded (C6).

図10は、ログアウト時の加入者キャッシュと再利用候補テーブルとの要部内容説明図であり、上側に示す加入者キャッシュのログインキャッシュの領域と、点線矢印で対応関係を示す再利用候補テーブルのログインキューの太線枠のコンタクトありとを、ログアウトにより、下側に示すように、加入者キャッシュのログインキャッシュの状態を、ログアウトキャッシュの状態に遷移させ、これに対応する再利用候補テーブルのログアウトキューの最後尾に太線枠のコンタクトなしで示すようにキューイングする。   FIG. 10 is a diagram for explaining the main contents of the subscriber cache and the reuse candidate table at the time of logout. The reuse cache table of the reuse cache indicates the correspondence with the login cache area of the subscriber cache shown on the upper side and the dotted arrow. When there is a contact in the thick line frame of the login queue, by logging out, the login cache state of the subscriber cache is changed to the logout cache state as shown below, and the logout queue of the reuse candidate table corresponding to this is changed. At the end of the queue as shown without a thick border contact.

図11は、ログアウト時のフローチャートであり、ログアウト(De−Register受信)により、ログアウト加入者のキャッシュデータが存在するかチェックし(D1)、加入者キャッシュにログアウト加入者対応の情報が存在するか否かを判定し(D2)、存在しない場合は、加入者キャッシュエリアを新規に捕捉要求し(D3)、捕捉OKか否かを判定し(D4)、捕捉OKの場合は、加入者キャッシュ内に加入者情報を設定、Contact(=NULL)設定、Expire時間(=0)設定(図3の加入者キャッシュ3参照)し(D5)、該当キャッシュ情報の領域を指示するポインタを含む前述の図10に示すように、コンタクトありを、再利用候補テーブルのログアウトキュー(out)の最後尾にキューイングし(D6)、200 OKレスポンスを送出する(D7)。   FIG. 11 is a flowchart at the time of logout. By logout (De-Register reception), it is checked whether the logout subscriber's cache data exists (D1), and whether there is information corresponding to the logout subscriber in the subscriber cache. (D2), if it does not exist, request a new acquisition of the subscriber cache area (D3), determine whether the acquisition is OK (D4), and in the case of acquisition OK, in the subscriber cache In the above-mentioned figure, the subscriber information is set, the Contact (= NULL) setting, the Expire time (= 0) setting (see the subscriber cache 3 in FIG. 3) (D5), and the pointer indicating the area of the corresponding cache information. As shown in FIG. 10, the presence of contact is queued at the end of the logout queue (out) of the reuse candidate table (D ), And it sends a 200 OK response (D7).

又ステップ(D4)に於いて、捕捉OKでない場合は、再利用候補テーブルのログアウトキュー(out)→再利用候補テーブルのログインキュー(in)の順に検索し(D8)、捕捉OKか否かを判定し(D9)、捕捉OKの場合は、該当キャッシュデータの加入者情報を新規ログイン加入者に上書きし(D10)、該当キャッシュ情報を再利用候補テーブルのログアウトキュー(out)の最後尾にキューイングする(D12)。又ステップ(D9)に於いて、捕捉OKでない場合は、利用不可を示す503 NGを送出する(D16)。   In step (D4), if the capture is not OK, search is made in the order of the logout queue (out) of the reuse candidate table → the login queue (in) of the reuse candidate table (D8), and whether or not the capture is OK. If it is determined that the acquisition is OK, the subscriber information of the corresponding cache data is overwritten with the new login subscriber (D10), and the corresponding cache information is queued at the end of the logout queue (out) of the reuse candidate table. (D12). In step (D9), if the acquisition is not OK, 503 NG indicating that it cannot be used is sent (D16).

又ステップ(D2)に於いて、キャッシュ存在の場合は、前述のステップ(D5)と同様に、キャッシュ内に加入者情報を設定し、Contact(=NULL)設定、Expire時間(=0)設定(図3の加入者キャッシュ3参照)し(D13)、該当キャッシュ情報を再利用候補テーブルのログアウトキュー(out)の最後尾にキューイングし(D14)、200 OKレスポンスを送出する(D15)。   If the cache exists in step (D2), the subscriber information is set in the cache, the contact (= NULL) is set, and the expire time (= 0) is set (step 5). 3) (D13), the corresponding cache information is queued at the end of the logout queue (out) of the reuse candidate table (D14), and a 200 OK response is transmitted (D15).

図12は、加入者削除時の加入者キャッシュと再利用候補テーブルの要部内容説明図であり、上側に示す再利用候補テーブルのログインキューの太線枠で示すコンタクトありと対応する加入者キャッシュのログインキャッシュを、下側に示す加入者キャッシュのように空きキャッシュとして解放し、再利用候補テーブルのログインキューのリンクも×印で示すように削除する。   FIG. 12 is a diagram for explaining the main contents of the subscriber cache and the reuse candidate table when the subscriber is deleted. The subscriber cache corresponding to the presence of the contact indicated by the bold line frame in the login queue of the reuse candidate table shown on the upper side is shown in FIG. The login cache is released as an empty cache such as the subscriber cache shown below, and the login queue link in the reuse candidate table is also deleted as indicated by a cross.

図13は、加入者削除時のフローチャートであり、加入者削除コマンドに従って、加入者データベースに対象加入者が存在するか検索し(E1)、検索結果がOKか否かを判定し(E2)、OKの場合は、該当加入者のキャッシュデータの存在を、加入者キャッシュを制御するキャッシュ制御(図1の制御処理部8)に問合せ(E3)、加入者キャッシュに存在するか否かを判定し(E4)、存在する場合は、呼が存在するか否かを判定し(E5)、存在する場合は、加入者削除コマンドはNGとする(E6)。又ステップ(E2)に於ける判定で、検索結果がOKでない場合は、該当加入者無しであるから、加入者削除コマンドはNGとする(E7)。又ステップ(E4)に於いて、加入者キャッシュに存在しない判定結果の場合は、加入者データベースから加入者情報を削除し(E8)、加入者削除コマンドはOKとする(E9)。   FIG. 13 is a flowchart for deleting a subscriber. According to the delete subscriber command, the subscriber database is searched for the presence of the target subscriber (E1), and whether the search result is OK is determined (E2). In the case of OK, the cache control (control processing unit 8 in FIG. 1) that controls the subscriber cache is inquired about the existence of the cache data of the subscriber (E3), and it is determined whether or not the cache data exists in the subscriber cache. (E4) If it exists, it is determined whether or not a call exists (E5). If it exists, the subscriber deletion command is set to NG (E6). If it is determined in step (E2) that the search result is not OK, there is no corresponding subscriber, so the subscriber deletion command is NG (E7). In step (E4), if the determination result does not exist in the subscriber cache, the subscriber information is deleted from the subscriber database (E8), and the subscriber deletion command is OK (E9).

又ステップ(E5)に於いて、呼が存在する場合、加入者キャッシュ情報を削除し(E10)、再利用候補テーブルのログインキュー(in)とログアウトキュー(out)を検索し(E11)、存在するか否かを判定し(E12)、存在しない場合は、加入者データベースから加入者情報を削除し(E13)、加入者削除コマンドはOKとする(E15)、又ステップ(E12)に於いて、存在する判定結果の場合は、該当テーブルキューからキャッシュ情報を削除し(E14)、ステップ(E13)へ移行する。   If there is a call in step (E5), the subscriber cache information is deleted (E10), and the login queue (in) and logout queue (out) in the reuse candidate table are searched (E11). (E12), if not, the subscriber information is deleted from the subscriber database (E13), the subscriber deletion command is OK (E15), and in step (E12) If the determination result exists, the cache information is deleted from the corresponding table queue (E14), and the process proceeds to step (E13).

又図1に於いて、加入者データベース2を原本として、一定周期毎に加入者キャッシュ3を定期的に照合する。この照合結果、加入者キャッシュ3や再利用候補テーブル7にだけ存在する加入者情報は削除する。それにより、加入者キャッシュ3の領域の有効利用を図ることができる。又照合不一致の場合は、加入者データベース2に登録した加入者情報による上書き修正を行うことができる。それにより、加入者データベース2の加入者情報と、加入者キャッシュの加入者情報との整合性を保証して、SIPプロキシサーバ1によるセッション確立の信頼性を維持することができる。   Further, in FIG. 1, the subscriber cache 3 is periodically checked at regular intervals using the subscriber database 2 as an original. As a result of this collation, the subscriber information existing only in the subscriber cache 3 and the reuse candidate table 7 is deleted. As a result, the area of the subscriber cache 3 can be effectively used. If there is a mismatch, overwriting correction can be performed with the subscriber information registered in the subscriber database 2. Thereby, the consistency of the subscriber information in the subscriber database 2 and the subscriber information in the subscriber cache can be ensured, and the reliability of session establishment by the SIP proxy server 1 can be maintained.

又加入者キャッシュ3に対する定期ガーベッジ処理を実施する。即ち、処理プログラムを一時的にメモリ領域に格納し、そのプログラム処理終了によりメモリ領域を開放するガーベッジコレクションと同様に、必要でなくなった加入者キャッシュ3の領域を開放する為に、定期ガーベッジ処理を実施して、加入者キャッシュ上のログアウト状態のキャッシュ内容を解放する。それにより、ログアウトキューの削除を行うことができ、再利用候補テーブル7の小容量化を図ることができると共に、加入者キャッシュ3に空きキャッシュ領域を形成し、新規のログイン処理の高速化を図ることも可能となる。   Also, periodic garbage processing is performed on the subscriber cache 3. That is, in order to release the area of the subscriber cache 3 that is no longer necessary, the periodic garbage processing is performed in the same manner as the garbage collection in which the processing program is temporarily stored in the memory area and the memory area is released upon completion of the program processing. Execute to release the cache contents in the logout state on the subscriber cache. As a result, the logout queue can be deleted, the capacity of the reuse candidate table 7 can be reduced, and a free cache area is formed in the subscriber cache 3 to speed up the new login process. It is also possible.

(付記1)加入者データベースと加入者キャッシュと制御処理部とを含むSIPプロキシサーバに於いて、前記加入者データベースからの加入者情報を前記加入者キャッシュに書き込む領域を指示するポインタを含み、且つ該加入者キャッシュの各領域のログイン状態、ログアウト状態、通話中状態を管理する再利用候補テーブルを設け、該再利用候補テーブルは、前記ログアウト状態を管理するログアウトキューと、前記ログイン状態及び通話中状態を管理するログインキューとを含む構成を有し、前記制御処理部は、新たなログイン要求に対して前記再利用候補テーブルを参照し、前記加入者キャッシュの使用頻度の低い加入者対応の領域に、前記新たなログイン要求の加入者情報を前記加入者データベースから読み出して上書き処理する制御手段を備えたことを特徴とするSIPプロキシサーバ。
(付記2)前記再利用候補テーブルの前記ログインキューの先頭位置のポインタにより、最も使用頻度の低い前記加入者キャッシュの領域を指示し、再ログイン要求対応の前記ログインキューのポインタを該ログインキューの最後尾にキューイングするように前記制御処理部により制御処理する構成を備えたことを特徴とする付記1記載のSIPプロキシサーバ。
(付記3)前記再利用候補テーブルの前記ログアウトキューのログアウト加入者対応のポインタを最後尾にリンクするように制御処理し、使用頻度の低い先頭位置のポインタにより指示された前記加入者キャッシュの領域に、新たな加入者情報を上書きするように、前記制御処理部により制御処理する構成を備えたことを特徴とする付記1記載のSIPプロキシサーバ。
(Supplementary Note 1) In a SIP proxy server including a subscriber database, a subscriber cache, and a control processing unit, a pointer that indicates an area in which subscriber information from the subscriber database is written to the subscriber cache; A reuse candidate table for managing a login state, a logout state, and a call state in each area of the subscriber cache is provided. The reuse candidate table includes a logout queue for managing the logout state, the login state, and a call state. A login queue that manages a state, and the control processing unit refers to the reuse candidate table for a new login request, and the subscriber cache is used in an area corresponding to a low frequency of use of the subscriber cache Then, the subscriber information of the new login request is read from the subscriber database and overwritten. SIP proxy server, characterized in that it comprises a control means.
(Supplementary Note 2) The area of the subscriber cache that is least frequently used is indicated by the pointer at the head position of the login queue in the reuse candidate table, and the pointer of the login queue corresponding to the re-login request is set in the login queue. The SIP proxy server according to supplementary note 1, comprising a configuration in which control processing is performed by the control processing unit so as to queue at the end.
(Supplementary Note 3) The area of the subscriber cache indicated by the pointer at the head position that is used less frequently, by performing control processing so that the pointer corresponding to the logout subscriber in the logout queue of the reuse candidate table is linked to the tail. The SIP proxy server according to supplementary note 1, further comprising a configuration in which control processing is performed by the control processing unit so as to overwrite new subscriber information.

(付記4)前記再利用候補テーブルの終話加入者対応の前記ログインキューのポインタを、使用頻度の高い最後尾にリンクさせるように、前記制御処理部により制御処理する構成を備えたことを特徴とする付記1記載のSIPプロキシサーバ。
(付記5)前記制御処理部は、定期的に前記加入者キャッシュの加入者情報を前記加入者データベースの加入者情報と照合して、修正及び削除処理を行う手段を含むことを特徴とする付記1記載のSIPプロキシサーバ。
(Additional remark 4) It has the structure which performs the control process by the said control process part so that the pointer of the said log-in queue corresponding to the end-call subscriber of the said reuse candidate table may be linked with the last used frequently. The SIP proxy server according to appendix 1.
(Supplementary Note 5) The control processing unit includes means for periodically correcting and deleting the subscriber cache by comparing the subscriber information with the subscriber information in the subscriber database. The SIP proxy server according to 1.

(付記6)加入者データベースと加入者キャッシュと制御処理部とを含むSIPプロキシサーバの加入者キャッシュ制御方法に於いて、前記加入者キャッシュの領域対応の状態を管理し、且つ該領域を指示するポインタを含むログインキューとログアウトキューとを有する再利用候補テーブルを備え、ログイン時に前記再利用候補テーブルを参照し、使用頻度の低いことを示すポインタにより指示された前記加入者キャッシュの領域を選択して、該加入者キャッシュの領域に新たなログイン要求の加入者情報を書き込み、該領域を指示する前記ログアウトキューのポインタを使用頻度の高いことを示す最後尾にリンクさせる制御処理過程を含むことを特徴とする加入者キャッシュ制御方法。
(付記7)ログイン時の加入者対応の加入者情報が加入者キャッシュに存在するか否かを判定し、存在する場合は、該加入者キャッシュの領域を指示するポインタを、前記再利用候補テーブルのログインキューの最後尾にキューイングし、存在しない場合は、前記再利用候補テーブルのログアウトキューを検索し、該ログアウトキューに前記加入者キャッシュのログアウトの領域がない場合、前記再利用候補テーブルのログインキューを検索し、該ログインキューの先頭にリンクされたポインタにより指示された前記加入者キャッシュの領域に、前記ログインの加入者情報を上書きし、該加入者キャッシュの領域を指示するポインタを前記再利用候補テーブルの最後尾にリンクさせる過程を含むことを特徴とする付記6記載の加入者キャッシュ制御方法。
(Supplementary Note 6) In a subscriber cache control method of a SIP proxy server including a subscriber database, a subscriber cache, and a control processing unit, manages the state corresponding to the area of the subscriber cache and indicates the area A reuse candidate table having a login queue including a pointer and a logout queue, and refers to the reuse candidate table at the time of login, and selects an area of the subscriber cache indicated by the pointer indicating low usage frequency Including a control processing step of writing subscriber information of a new login request in the area of the subscriber cache and linking a pointer of the logout queue indicating the area to the tail indicating high use frequency. A subscriber cache control method.
(Supplementary note 7) It is determined whether or not subscriber information corresponding to the subscriber at the time of login exists in the subscriber cache, and if it exists, a pointer indicating the area of the subscriber cache is used as the reuse candidate table. If there is no logout area of the subscriber cache in the logout queue, the logout queue of the reuse candidate table is searched. A login queue is searched, the subscriber cache area indicated by the pointer linked to the head of the login queue is overwritten with the login subscriber information, and the pointer indicating the subscriber cache area is set to the pointer. The subscriber cache according to appendix 6, including a process of linking to the last part of the reuse candidate table Control method.

(付記8)ログアウト加入者対応の前記再利用候補テーブルの前記ログアウトキューのポインタを最後尾にリンクさせ、使用頻度の低い先頭位置のポインタにより指示された前記加入者キャッシュの領域に、新たな加入者情報を上書きする過程を含むことを特徴とする付記6記載の加入者キャッシュ制御方法。
(付記9)終話加入者対応の前記再利用候補テーブルの前記ログインキューのポインタを最後尾にリンクさせる過程を含むことを特徴とする付記6記載の加入者キャッシュ制御方法。
(付記10)前記加入者キャッシュの加入者情報を、定期的に前記加入者データベースに登録した加入者情報と照合し、加入者キャッシュのみに存在する加入者情報は削除し、照合不一致の加入者情報は修正する過程を含むことを特徴とする付記6記載の加入者キャッシュ制御方法。
(Supplementary note 8) The pointer of the logout queue of the reuse candidate table corresponding to the logout subscriber is linked at the end, and a new subscription is added to the area of the subscriber cache indicated by the pointer at the head position with low usage frequency. The subscriber cache control method according to claim 6, further comprising a step of overwriting subscriber information.
(Supplementary note 9) The subscriber cache control method according to supplementary note 6, including a step of linking a pointer of the login queue of the reuse candidate table corresponding to the end-call subscriber to the end.
(Supplementary Note 10) The subscriber information in the subscriber cache is periodically checked with the subscriber information registered in the subscriber database, the subscriber information existing only in the subscriber cache is deleted, and the verification mismatched subscribers are deleted. The subscriber cache control method according to appendix 6, wherein the information includes a correcting process.

本発明の実施例1の説明図である。It is explanatory drawing of Example 1 of this invention. 本発明の実施例1の加入者キャッシュと再利用候補テーブルとの概要説明図である。It is outline | summary explanatory drawing of the subscriber cache and reuse candidate table of Example 1 of this invention. 本発明の実施例1の加入者キャッシュと再利用候補テーブルとの要部内容説明図である。It is principal part content explanatory drawing of the subscriber cache and reuse candidate table of Example 1 of this invention. 本発明の実施例1のログイン時の加入者キャッシュと再利用候補テーブルとの説明図である。It is explanatory drawing of the subscriber cache at the time of login of Example 1 of this invention, and a reuse candidate table. 本発明の実施例1のログイン時のフローチャートである。It is a flowchart at the time of login of Example 1 of this invention. 本発明の実施例1の通話開始時の加入者キャッシュと再利用候補テーブルとの要部内容説明図である。It is principal part content explanatory drawing of the subscriber cache at the time of the telephone call start of Example 1 of this invention, and a reuse candidate table. 本発明の実施例1の通話開始時のフローチャートである。It is a flowchart at the time of the telephone call start of Example 1 of this invention. 本発明の実施例1の通話終了時の加入者キャッシュと再利用候補テーブルとの要部内容説明図である。It is principal part content explanatory drawing of the subscriber cache at the time of the telephone call end of Example 1 of this invention and a reuse candidate table. 本発明の実施例1の通話終了時のフローチャートである。It is a flowchart at the time of the telephone call end of Example 1 of this invention. 本発明の実施例1のログアウト時の加入者キャッシュと再利用候補テーブルとの要部内容説明図である。It is principal part content explanatory drawing of the subscriber cache at the time of logout of Example 1 of this invention, and a reuse candidate table. 本発明の実施例1のログアウト時のフローチャートである。It is a flowchart at the time of logout of Example 1 of this invention. 本発明の実施例1の加入者削除時の加入者キャッシュと再利用候補テーブルとの要部内容説明図である。It is principal part content explanatory drawing of the subscriber cache at the time of subscriber deletion of Example 1 of this invention, and a reuse candidate table. 本発明の実施例1の加入者削除時のフローチャートである。It is a flowchart at the time of subscriber deletion of Example 1 of this invention. 従来例の説明図である。It is explanatory drawing of a prior art example.

符号の説明Explanation of symbols

1 SIPプロキシサーバ
2 加入者データベース
3 加入者キャッシュ
4 保守端末
5,6 IP電話端末
7 再利用候補テーブル
7a ログインキュー
7b ログアウトキュー
8 制御処理部
DESCRIPTION OF SYMBOLS 1 SIP proxy server 2 Subscriber database 3 Subscriber cache 4 Maintenance terminal 5,6 IP telephone terminal 7 Reuse candidate table 7a Login queue 7b Logout queue 8 Control processing part

Claims (5)

加入者データベースから加入者キャッシュと制御処理部とを含むセッション制御サーバに於いて、
前記加入者データベースからの加入者情報を前記加入者キャッシュに書き込む領域を指示するポインタを含み、且つ該加入者キャッシュの各領域に対応する加入者がログイン状態、ログアウト状態、通話中状態の何れであるかを管理する再利用候補テーブルを設け、該再利用候補テーブルは、前記ログアウト状態となった加入者に対応する前記加入者キャッシュ領域を示すログアウトキューと、前記ログイン状態となった加入者及び通話中状態となった加入者に対応する前記加入者キャッシュ領域を示すログインキューとを含
前記制御処理部は、グイン要求に対して前記加入者キャッシュの空き領域がない場合で、前記ログアウトキューがある場合、前記ログアウトキューの示す領域に、前ログイン要求の加入者情報を前記加入者データベースから読み出して上書き処理し、前記加入者キャッシュの空き領域がない場合で、前記ログアウトキューがない場合、前記ログインキューの示す領域に、前記ログイン要求の加入者情報を前記加入者データベースから読み出して上書き処理する制御手段を備えた
ことを特徴とするセッション制御サーバ。
In a session control server including a subscriber cache and a control processing unit from a subscriber database,
A pointer indicating an area in which subscriber information from the subscriber database is written to the subscriber cache, and a subscriber corresponding to each area of the subscriber cache is in a login state, a logout state, or a call state . A reuse candidate table for managing whether there is a logout queue indicating the subscriber cache area corresponding to the subscriber in the logout state , the subscriber in the login state , and only contains the login queue indicating the subscriber cache area corresponding to the subscriber who has become a busy state,
The control processing unit, in the absence of free space of the subscriber cache against login request, if there is the logout queue, in the area indicated by the logout queue, the subscription subscriber information before Symbol login request When there is no free space in the subscriber cache and there is no logout queue, the subscriber information of the login request is read from the subscriber database in the area indicated by the login queue. A session control server characterized by comprising a control means for performing overwriting processing .
前記再利用候補テーブルの前記ログインキューの先頭位置のポインタにより、最も使用頻度の低い前記加入者キャッシュの領域を指示し、再ログイン要求対応の前記ログインキューのポインタを該ログインキューの最後尾にキューイングするように前記制御処理部により制御処理する構成を備えたことを特徴とする請求項1記載のセッション制御サーバ。 The least frequently used subscriber cache area is indicated by the pointer of the login queue head position in the reuse candidate table, and the login queue pointer corresponding to the re-login request is queued at the end of the login queue. The session control server according to claim 1, further comprising a configuration for performing control processing by the control processing unit so as to perform processing. 前記再利用候補テーブルの前記ログアウトキューのログアウト加入者対応のポインタを最後尾にリンクするように制御処理し、使用頻度の低い先頭位置のポインタにより指示された前記加入者キャッシュの領域に、新たな加入者情報を上書きするように、前記制御処理部により制御処理する構成を備えたことを特徴とする請求項1記載のセッション制御サーバ。 A control process is performed so that the pointer corresponding to the logout subscriber in the logout queue of the reuse candidate table is linked to the tail, and a new area is added to the area of the subscriber cache designated by the pointer at the head position with low usage frequency. The session control server according to claim 1, further comprising a configuration in which control processing is performed by the control processing unit so as to overwrite subscriber information. 加入者データベースと加入者キャッシュと制御処理部とを含むセッション制御サーバの加入者キャッシュ制御方法に於いて、
前記加入者キャッシュの領域対応の状態を管理し、且つ該領域を指示するポインタを含むログインキューとログアウトキューとを有する再利用候補テーブルを備え、ログイン時に前記再利用候補テーブルを参照し、使用頻度の低いことを示すポインタにより指示された前記加入者キャッシュの領域を選択して、該加入者キャッシュの領域に新たなログイン要求の加入者情報を書き込み、該領域を指示する前記ログアウトキューのポインタを使用頻度の高いことを示す最後尾にリンクさせる制御処理過程を含む
ことを特徴とする加入者キャッシュ制御方法。
In a subscriber cache control method of a session control server including a subscriber database, a subscriber cache, and a control processing unit,
A reuse candidate table having a login queue and a logout queue including a pointer indicating the area and managing a state corresponding to the area of the subscriber cache is referred to. The subscriber cache area indicated by the low pointer is selected, the subscriber information of the new login request is written into the subscriber cache area, and the logout queue pointer indicating the area is selected. A subscriber cache control method comprising a control processing step of linking to the tail indicating that the frequency of use is high.
ログイン時の加入者対応の加入者情報が加入者キャッシュに存在するか否かを判定し、存在する場合は、該加入者キャッシュの領域を指示するポインタを、前記再利用候補テーブルのログインキューの最後尾にキューイングし、存在しない場合は、前記再利用候補テーブルのログアウトキューを検索し、該ログアウトキューに前記加入者キャッシュのログアウトの領域がない場合、前記再利用候補テーブルのログインキューを検索し、該ログインキューの先頭にリンクされたポインタにより指示された前記加入者キャッシュの領域に、前記ログインの加入者情報を上書きし、該加入者キャッシュの領域を指示するポインタを前記再利用候補テーブルの最後尾にリンクさせる制御処理過程を含むことを特徴とする請求項4記載の加入者キャッシュ制御方法。 It is determined whether the subscriber information corresponding to the subscriber at the time of login exists in the subscriber cache. If there is, the pointer indicating the area of the subscriber cache is set in the login queue of the reuse candidate table. If it does not exist, the logout queue of the reuse candidate table is searched. If the logout area of the subscriber cache does not exist in the logout queue, the login queue of the reuse candidate table is searched. Then, the subscriber cache area indicated by the pointer linked to the head of the login queue is overwritten with the login subscriber information, and the pointer indicating the subscriber cache area is used as the reuse candidate table. subscriber cache according to claim 4, comprising a control process to link to the end Control method.
JP2007056602A 2007-03-07 2007-03-07 Session control server and subscriber cache control method Expired - Fee Related JP5056076B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007056602A JP5056076B2 (en) 2007-03-07 2007-03-07 Session control server and subscriber cache control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007056602A JP5056076B2 (en) 2007-03-07 2007-03-07 Session control server and subscriber cache control method

Publications (2)

Publication Number Publication Date
JP2008219688A JP2008219688A (en) 2008-09-18
JP5056076B2 true JP5056076B2 (en) 2012-10-24

Family

ID=39839156

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007056602A Expired - Fee Related JP5056076B2 (en) 2007-03-07 2007-03-07 Session control server and subscriber cache control method

Country Status (1)

Country Link
JP (1) JP5056076B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106209744B (en) * 2015-05-07 2019-08-06 阿里巴巴集团控股有限公司 Subscriber sign-in conversation management-control method, device and server

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09116641A (en) * 1995-10-20 1997-05-02 Fuji Xerox Co Ltd Line connecting device
US6516388B1 (en) * 2000-09-15 2003-02-04 Hewlett-Packard Company Method and apparatus for reducing cache pollution
JP4513604B2 (en) * 2005-03-03 2010-07-28 株式会社日立製作所 SIP server acceleration architecture

Also Published As

Publication number Publication date
JP2008219688A (en) 2008-09-18

Similar Documents

Publication Publication Date Title
US8396972B2 (en) Session control apparatus, software applied to session control apparatus, communication control method, and network system
US8903064B2 (en) Maintaining history information for a user across multiple types of end points
US9124669B2 (en) Cooperative client and server logging
CN101800712B (en) Gateway apparatus, information communication method, information communication program, and information communication system
CN107135249B (en) Data downloading method and device
CN111193688B (en) Method, device, equipment and medium for realizing video color ring
JP4593579B2 (en) Service cooperation apparatus, service cooperation system, service cooperation method, and computer program therefor
US8150007B2 (en) Fully redundant call recording
JP5366858B2 (en) Cluster system and system switching method in cluster system
JP5056076B2 (en) Session control server and subscriber cache control method
CN117061615A (en) Cache path acquisition method, device, computer equipment and storage medium
JP2014042128A (en) Speech communication recording system
CN113596083B (en) High-availability cloud communication call recovery method and system based on state tracking
KR20200046315A (en) Method for Subscription Expiration Management and M2M System applying the same
CN111770096B (en) Method and equipment for recovering registration state
US8234487B2 (en) Server apparatus and startup control method
WO2023005484A1 (en) User information registration method and apparatus
JP2006172296A (en) Cache deletion method and content relay server
CN110119251B (en) Buffer control method and system based on disk large flow
JP6352828B2 (en) Call control server and operation method of call control server
JP4091645B1 (en) Call control data retrieval system and call control data retrieval program
EP1058423B1 (en) Message delivery system
CN116501750A (en) Method for supporting application interface by object storage
JP2006195698A (en) Information processing apparatus and program
CN113051223A (en) Data processing method and device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20091208

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110729

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110809

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20110915

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20111007

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

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

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

Free format text: PAYMENT UNTIL: 20150810

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees