JP2011091589A - System and device for relieving session - Google Patents

System and device for relieving session Download PDF

Info

Publication number
JP2011091589A
JP2011091589A JP2009242946A JP2009242946A JP2011091589A JP 2011091589 A JP2011091589 A JP 2011091589A JP 2009242946 A JP2009242946 A JP 2009242946A JP 2009242946 A JP2009242946 A JP 2009242946A JP 2011091589 A JP2011091589 A JP 2011091589A
Authority
JP
Japan
Prior art keywords
call connection
information
connection
communication
call
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.)
Pending
Application number
JP2009242946A
Other languages
Japanese (ja)
Inventor
Tomosuke Honda
友介 本田
Hiroaki Miyata
裕章 宮田
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2009242946A priority Critical patent/JP2011091589A/en
Publication of JP2011091589A publication Critical patent/JP2011091589A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Telephonic Communication Services (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To solve a problem wherein, in relation to a session where rewriting of a memory of a session during state transition or the like is frequently performed, the state of an actually-used system may not agree with that of a standby system when the actually-used system is changed over to the standby system due to a fault or the like, a redundant gateway (GW) can not relieve the session. <P>SOLUTION: In this system, when the actually-used system of a GW is changed over to the standby system thereof, session connection information is acquired from the content of state notification from an SIP server, the session connection state of the GW is retrieved from a URI of an inquiry source by the GW including a function of continuing session connection of an SIP and inquiry of the state of the session connection from the GW, and the session connection state with an old actually-used system and information required for session connection are subjected to state notification to a new actually-used system of the GW. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、IP網における電話サービスのセッション救済方法に係わり、特にセッション制御及び管理を行う装置の障害時に、セッション情報を復旧するシステム及び装置に関する。   The present invention relates to a telephone service session recovery method in an IP network, and more particularly to a system and apparatus for recovering session information in the event of a failure of an apparatus that performs session control and management.

大容量回線の低価格化や通信業界の規制緩和などにより、安価に電話を行うことのできるVoIP(VoIP:Voice over Internet Protocol)技術を基盤としたIP(IP:Internet Protocol)電話が普及し、IP電話の利用者が増加傾向にある。また、従来の通信ネットワークは電話網、移動網、専用線網、放送網などサービス毎に垂直統合された独立したネットワークであったが、近年、複数存在していたネットワークを一つに統合してオペレーションコストを低減させる動きがある。統合後のネットワークは、IP網で構成されることが考えられ、従来の公衆回線電話網(PSTN:Public Switching Telephone Network)もIPで構成されたネットワークへ移行することが想定され、従来の公衆回線電話網の中継網がIPとなることが考えられる。   IP (IP: Internet Protocol) telephone based on VoIP (Voice over Internet Protocol) technology, which can make calls at low cost, due to the low price of large capacity lines and relaxation of regulations in the communication industry, The number of IP phone users is increasing. In addition, the conventional communication network is an independent network vertically integrated for each service such as a telephone network, a mobile network, a leased line network, and a broadcasting network. However, in recent years, a plurality of existing networks are integrated into one. There are moves to reduce operational costs. The network after integration is considered to be configured by an IP network, and it is assumed that a conventional public line telephone network (PSTN: Public Switching Telephony Network) is also shifted to a network configured by IP. It is conceivable that the telephone network is IP.

インターネット上でVoIP(Voice over IP)やインスタントメッセージング等のリアルタイムサービスに用いられるプロトコルとして、SIP(Session Initiation Protocol)の標準化が行われ、IETF RFC3261(非特許文献1)として制定されている。サービスの実現に当たっては、センタ側でSIPプロキシー(Proxy)の機能とSIP登録(Registrar)の機能を併せ持つSIPサーバと、PSTNのSTM(Syncronous Transfer Mode:同期転送モード)音声信号データとIP音声パケットとの相互変換や、SIPを使用して対向装置とセッション制御を行い、PSTNとIP網を接続するゲートウェイ(GW:Gateway)の提供が必要となる。   SIP (Session Initiation Protocol) has been standardized as a protocol used for real-time services such as VoIP (Voice over IP) and instant messaging on the Internet, and has been established as IETF RFC3261 (Non-patent Document 1). In realizing the service, a SIP server having a SIP proxy function and a SIP registration function on the center side, PSTN STM (Synchronous Transfer Mode) voice signal data and IP voice packet, It is necessary to provide a gateway (GW: Gateway) for connecting the PSTN and the IP network by performing mutual control of the communication and session control with the opposite device using SIP.

SIPサーバやGWは、複数の端末からの接続要求を受け付け、相手端末との通信(以降セッションと呼ぶ)の状態を管理している。従って、システムの実現に当たってはその信頼性および可用性に配慮した設計が重要となる。   The SIP server or GW accepts connection requests from a plurality of terminals and manages the state of communication (hereinafter referred to as a session) with the partner terminal. Therefore, in realizing the system, it is important to design in consideration of its reliability and availability.

一般に、システムの信頼性・可用性を確保する技術としてホットスタンバイ方式とコールドスタンバイ方式が知られている。ホットスタンバイは、同じ構成のシステムを2系統用意しておき、片方(現用系)を作動させ、もう一方(待機系)は同じ動作を行ないながら待機状態にしておく。待機系は現用系と常に同じ状態を保っておき、現用系に障害が発生すると即座に待機系に処理が引き継がれる。一方、コールドスタンバイは、同じ構成の2つのシステムを構築し、片方は通常通りに動作させておき、もう一方は待機として動作させずに待機させておく。通常動作を行っているシステムに障害が発生した場合に、待機のシステムを起動し、通常動作のシステムと同じ状態にした後に切り替える方式である。   Generally, a hot standby method and a cold standby method are known as techniques for ensuring the reliability and availability of the system. In hot standby, two systems having the same configuration are prepared, one (active system) is operated, and the other (standby system) is in a standby state while performing the same operation. The standby system always maintains the same state as the active system, and when a failure occurs in the active system, processing is immediately taken over by the standby system. On the other hand, in cold standby, two systems having the same configuration are constructed, one of which is operated as usual, and the other is kept on standby without being operated as standby. In this case, when a failure occurs in a system that performs normal operation, the standby system is started and switched to the same state as that of the normal operation system.

コールドスタンバイでは、障害が発生してから待機のシステムを起動して切り替えるため、障害発生時にはシステム全体の停止時間が長くなる。通常時には待機のシステムを稼動しておく必要がないため、コストを安く抑えられるというメリットがある。一方、ホットスタンバイは、常に待機のシステムも動作させているためコストがかかるが、障害発生時には瞬時に切り替えられるため、システム全体の停止時間は短くなり、耐障害性が高まるというメリットがある。   In cold standby, since a standby system is started and switched after a failure occurs, the entire system stop time is increased when a failure occurs. Since there is no need to operate a standby system in normal times, there is an advantage that the cost can be reduced. On the other hand, hot standby is costly because the standby system is always operated, but it is instantaneously switched when a failure occurs, so that there is an advantage that the entire system downtime is shortened and fault tolerance is increased.

電子交換機の分野においては、制御系装置内の異常でもセッション救済を実現し、現用系と待機系と、それらの系間で共有が必要なデータを記憶する領域を有する外部記憶装置と、外部記憶装置の接続系を切り替える切替スイッチを設け、系間の情報転送、運転同期を取る方式が開示されている(例えば、特許文献1参照)。   In the field of electronic exchanges, session relief is realized even if an abnormality occurs in a control system device, an external storage device having an active storage system, a standby system, and an area for storing data that must be shared between the systems, and an external storage There has been disclosed a method of providing a changeover switch for switching the connection system of devices to take information transfer and operation synchronization between the systems (for example, see Patent Document 1).

特開平5−244260号公報JP-A-5-244260

IETF(internet Engineering Task Force) RFC3261IETF (internet Engineering Task Force) RFC3261

従来の技術ではホットスタンバイ方式とコールドスタンバイ方式があるが、それぞれに課題がある。ホットスタンバイ方式では、CPU、メモリ、ディスク、ネットワークといった全てのハードウエアを二重化してこれを同時に動作させることでセッション救済を行う。コールドスタンバイ方式における引継ぎ方式として現用系システムの全メモリ内容を外部記憶装置にバックアップし、待機系システムはこれを再ロードして再開することでセッション救済を行う。   Conventional technologies include a hot standby method and a cold standby method, but each has its own problems. In the hot standby method, session relief is performed by duplicating all hardware such as CPU, memory, disk, and network and operating them simultaneously. As a takeover method in the cold standby method, the entire memory contents of the active system are backed up to an external storage device, and the standby system performs session relief by reloading and restarting it.

しかし、ホットスタンバイ方式及びコールドスタンバイ方式ともに、状態遷移中のセッション等のメモリの書き換えが頻繁に行われるセッションに関しては、障害等により現用系と待機系が切り替わった場合にホットスタンバイ方式のスタンバイ側へのメモリのコピーや、コールドスタンバイ方式の外部記憶装置へのバックアップが現用系と状態が一致していない場合があり、状態遷移中のセッションが救済できないといった課題がある。   However, in both the hot standby method and the cold standby method, for a session in which the memory is frequently rewritten, such as a session in the state transition, when the active system and the standby system are switched due to a failure or the like, the hot standby system is switched to the standby side. There is a case where the state of the copy of the memory or the backup to the external storage device of the cold standby system does not match the state of the active system, and there is a problem that the session during the state transition cannot be relieved.

本発明は、以上の点に鑑み、GWが障害等により現用系と待機系が切り替わった場合においても、状態遷移中のセッションを救済する方法を提供することを目的とする。   In view of the above, an object of the present invention is to provide a method for relieving a session during state transition even when the active system and the standby system are switched due to a failure or the like of the GW.

音声通信端末と通信する第1の通信部と、前記音声通信端末の呼接続を行う呼接続装置と通信する第2の通信部と、前記音声通信端末の呼接続を行う呼接続装置と通信する第3の通信部と、前記第1の通信部から通信要求を受信すると、前記第2の通信部を介して前記呼接続装置と前記音声通信端末の呼接続処理を行う第1の呼接続処理部と、予備の記第3の通信部を介して前記呼接続装置と前記音声通信端末の呼接続処理を行う第2の呼接続処理部と、障害発生時に、前記呼接続装置に対し前記第1の呼接続処理部が行っていた呼接続処理の接続情報を問い合わせる状態問い合わせ部と、前記呼接続装置から通知された接続通知を処理する状態通知処理部を有し、前記第1の呼接続処理部に障害が発生した場合、前記第2の呼接続処理部が前記第3の通信部を介して前記状態問い合わせ部により接続情報の要求メッセージを送信し、前記状態通知処理部により取得した呼接続処理の接続情報を基に呼接続処理を再開することを特徴とする通信装置およびシステムを提供する。   A first communication unit that communicates with a voice communication terminal, a second communication unit that communicates with a call connection device that performs call connection of the voice communication terminal, and a call connection device that performs call connection of the voice communication terminal When a communication request is received from a third communication unit and the first communication unit, a first call connection process for performing a call connection process between the call connection device and the voice communication terminal via the second communication unit A second call connection processing unit for performing a call connection process between the call connection device and the voice communication terminal via a third communication unit, and a spare communication unit. A status inquiry unit that inquires about connection information of a call connection process performed by one call connection processing unit, and a status notification processing unit that processes a connection notification notified from the call connection device, the first call connection When a failure occurs in the processing unit, the second call connection processing unit A connection information request message is transmitted by the state inquiry unit via the third communication unit, and call connection processing is resumed based on connection information of the call connection processing acquired by the state notification processing unit. Provided is a communication device and system.

本発明によると、GWが障害等により現用系と待機系が切り替わった場合においても、状態遷移中のセッションの救済を行うことにより、継続して接続処理を行うことができる。   According to the present invention, even when the GW is switched between the active system and the standby system due to a failure or the like, connection processing can be continuously performed by relieving the session during the state transition.

IP電話ネットワーク構成例を示す図Figure showing an example of IP telephone network configuration SIPサーバの主要部のブロック構成を示す図The figure which shows the block structure of the principal part of a SIP server. GWの主要部のブロック構成を示す図The figure which shows the block configuration of the principal part of GW GW(現用系)の接続管理テーブルの構成を示す図The figure which shows the structure of the connection management table of GW (active system). GW(待機系)の接続管理テーブルの構成を示す図The figure which shows the structure of the connection management table of GW (standby system). SIPサーバの加入者管理テーブルの構成を示す図The figure which shows the structure of the subscriber management table of a SIP server SIPサーバのセッション接続中情報管理テーブルの構成を示す図The figure which shows the structure of the session management information management table of a SIP server. SIPサーバの接続管理テーブルの構成を示す図The figure which shows the structure of the connection management table of a SIP server GWの現用系と待機系で固定のIPアドレスで動作する場合のセッション救済提供時の動作シーケンスの例を示す図The figure which shows the example of the operation | movement sequence at the time of session relief provision in the case of operate | moving with a fixed IP address in the active system and standby system of GW SIPサーバにおけるSIP処理部フローを示す図The figure which shows the SIP process part flow in a SIP server SIPサーバにおける状態問合せ及び状態通知処理フローを示す図The figure which shows the status inquiry and status notification processing flow in a SIP server GWにおける待機系の系切替え処理フローを示す図The figure which shows the system switching processing flow of the standby system in GW GWとSIPサーバ間のSIPメッセージの記述例(SQ101)Description example of SIP message between GW and SIP server (SQ101) GWとSIPサーバ間のSIPメッセージの記述例(SQ103/SQ104)Description example of SIP message between GW and SIP server (SQ103 / SQ104) GWとSIPサーバ間のSIPメッセージの記述例(SQ106)Description example of SIP message between GW and SIP server (SQ106) GWとSIPサーバ間のSIPメッセージの記述例(SQ108)Description example of SIP message between GW and SIP server (SQ108) GW(待機系)の接続管理テーブルの構成を示す図The figure which shows the structure of the connection management table of GW (standby system). SIPサーバの加入者管理テーブルの構成を示す図The figure which shows the structure of the subscriber management table of a SIP server SIPサーバのセッション接続中情報管理テーブルの構成を示す図The figure which shows the structure of the session management information management table of a SIP server. SIPサーバのセッション接続中情報管理テーブルの構成を示す図The figure which shows the structure of the session management information management table of a SIP server. SIPサーバのセッション接続中情報管理テーブルの構成を示す図The figure which shows the structure of the session management information management table of a SIP server. SIPサーバのセッション接続中情報管理テーブルの構成を示す図The figure which shows the structure of the session management information management table of a SIP server. SIPサーバの接続管理テーブルの構成を示す図The figure which shows the structure of the connection management table of a SIP server GWの現用系と待機系で個別のIPアドレスで動作する場合のセッション救済提供時の動作シーケンスの例を示す図The figure which shows the example of the operation | movement sequence at the time of session relief provision in the case of operate | moving with a separate IP address in the active system and standby system of GW SIPサーバにおける状態問合せ及び状態通知処理フローを示す図The figure which shows the status inquiry and status notification processing flow in a SIP server GWにおける待機系の系切替え処理フローを示す図The figure which shows the system switching processing flow of the standby system in GW GWとSIPサーバ間のSIPメッセージの記述例(SQ201)Description example of SIP message between GW and SIP server (SQ201) GWとSIPサーバ間のSIPメッセージの記述例(SQ203/SQ204)Description example of SIP message between GW and SIP server (SQ203 / SQ204) GWとSIPサーバ間のSIPメッセージの記述例(SQ208)Description example of SIP message between GW and SIP server (SQ208) GWとSIPサーバ間のSIPメッセージの記述例(SQ210)Description example of SIP message between GW and SIP server (SQ210) GWとSIPサーバ間のSIPメッセージの記述例(SQ206)Description example of SIP message between GW and SIP server (SQ206) セッション制御プロトコルのデータフォーマットを示す図Diagram showing session control protocol data format

以下、図面を用いて実施例について詳細に説明する。図1は、セッション制御プロトコルとしてSIPを用いた場合のIP電話ネットワークを示す構成例を示す図である。ネットワークでは、複数のIP電話端末1(1−2A、2B)、SIPサーバ2、各IP電話端末1とルータ(R)4(4−1〜3)を接続するためのL2SW3(3−1、2)および、PSTNで使用するアナログ電話端末や、ISDN端末(1−1A、2B)、PSTNのSTM音声信号データとIP音声パケットとの相互変換を行うGW5から構成される。   Hereinafter, embodiments will be described in detail with reference to the drawings. FIG. 1 is a diagram showing a configuration example showing an IP telephone network when SIP is used as a session control protocol. In the network, a plurality of IP telephone terminals 1 (1-2A, 2B), a SIP server 2, L2SW 3 (3-1, 3) for connecting each IP telephone terminal 1 and the router (R) 4 (4-1 to 3). 2) and an analog telephone terminal used in the PSTN, ISDN terminals (1-1A, 2B), and a GW 5 that performs mutual conversion between PSTM STM voice signal data and IP voice packets.

IP電話端末1(1−2A、2B)はIPネットワーク上で音声通話することができる電話機に相当するものである。SIPサーバ2は、インターネットなどのIPネットワーク上で、従来の電話交換機の役割を果たす装置である。(R)4(4−1〜3)とL2SW3(3−1、2)はIPネットワーク上でデータの転送を行う装置である。GW5はこのIPネットワークにアナログ電話末などを接続するために使用する装置である。   The IP telephone terminal 1 (1-2A, 2B) corresponds to a telephone capable of making a voice call on the IP network. The SIP server 2 is a device that plays the role of a conventional telephone exchange on an IP network such as the Internet. (R) 4 (4-1 to 3) and L2SW3 (3-1 and 2) are devices for transferring data on the IP network. The GW 5 is a device used to connect an analog telephone end to the IP network.

各電話端末間で通信を行う場合、まず、発呼端末1-1AからSIPサーバ2に対して登録を行う。次に、SIPサーバ2に対して、通信相手と通話するために、SIPサーバ2を介してSIPメッセージにて接続制御を行い、セッション接続完了後、発呼端末1−1Aと着呼端末1‐2B間にて通話が行われる。図2は、SIPサーバ2の主要部を示すブロック構成図である。   When communication is performed between telephone terminals, registration is first made from the calling terminal 1-1A to the SIP server 2. Next, in order to make a call with the communication partner to the SIP server 2, connection control is performed using a SIP message via the SIP server 2. After the session connection is completed, the calling terminal 1-1 A and the called terminal 1- A call is made between 2B. FIG. 2 is a block diagram showing the main part of the SIP server 2.

SIPサーバ2は、主にSIP処理部部20、回線IF21、制御部22、状態問合せ処理部23、接続管理テーブル24、セッション接続中情報管理テーブル25、加入者管理テーブル26から構成される。SIP処理部部20は、主にSIPのREGISTER処理(F21)、接続・切断登録処理(F22)、SUBSCRIBE受信処理(F23)、NOTIFY送信処理(F24)が行われる。   The SIP server 2 mainly includes a SIP processing unit 20, a line IF 21, a control unit 22, a state inquiry processing unit 23, a connection management table 24, a session connection information management table 25, and a subscriber management table 26. The SIP processing unit 20 mainly performs SIP REGISTER processing (F21), connection / disconnection registration processing (F22), SUBSCRIBE reception processing (F23), and NOTIFY transmission processing (F24).

回線IF21は、ネットワークとのインターフェース部であり、GW5やIP電話端末1−2A等と通信する呼制御プロトコルの送受信を行う。状態問合せ処理部23は、SIPサーバ2と接続される装置から受信した状態問合せメッセージから、メッセージの送信元アドレス2220を検索キーとしてセッション接続中情報管理テーブル25のURI710を検索し、該当のURI710のテーブル情報から状態通知メッセージを生成して、状態問合せメッセージの送信元へ生成した状態通知メッセージを送信する。   The line IF 21 is an interface unit with the network, and transmits and receives a call control protocol for communicating with the GW 5 and the IP telephone terminal 1-2A. The state inquiry processing unit 23 searches the URI 710 of the session connection information management table 25 from the state inquiry message received from the device connected to the SIP server 2 using the message source address 2220 as a search key, and the corresponding URI 710 A status notification message is generated from the table information, and the generated status notification message is transmitted to the transmission source of the status inquiry message.

接続管理テーブル24は、セッションの接続管理テーブルを持ち、課金に必要な接続開始時間や切断時間や発信者情報、着信者情報を管理する。セッション接続中情報管理テーブル25は、セッションの接続要求から切断要求までの1つのセッションの一連の状態を管理する。加入者管理テーブル26は、電話番号と該当電話番号を収容する装置のアドレスを管理する。制御部22は、SIPサーバ2内のSIP処理部20、回線IF21、状態問合せ処理部23、接続管理テーブル24、セッション接続中情報管理テーブル25、加入者管理テーブル26の制御を行う。   The connection management table 24 has a session connection management table, and manages connection start time, disconnection time, caller information, and callee information necessary for billing. The session connection information management table 25 manages a series of states of one session from a session connection request to a disconnection request. The subscriber management table 26 manages a telephone number and an address of a device that accommodates the telephone number. The control unit 22 controls the SIP processing unit 20, the line IF 21, the status inquiry processing unit 23, the connection management table 24, the session connection information management table 25, and the subscriber management table 26 in the SIP server 2.

図3は、GW5の主要部を示すブロック構成図である。GW5は、PSTNで使用するアナログ電話端末やISDN端末をIPネットワークに接続し、IPネットワークを介して通話可能にするための装置である。通話相手はIPネットワークに接続されたIP電話以外にも、同様にGWを介して接続されているアナログ電話端末やISDN端末の場合もある。   FIG. 3 is a block diagram showing the main part of the GW 5. The GW 5 is a device for connecting an analog telephone terminal or an ISDN terminal used in the PSTN to an IP network and making a call via the IP network. In addition to the IP telephone connected to the IP network, the other party may be an analog telephone terminal or ISDN terminal connected via the GW.

GW5は、主に回線IF(インタフェース)31と、現用系30Aと待機系30Sで構成される。現用系30Aは、制御部32、SIP処理部33、VoIP処理部34、接続管理テーブル35、状態問合せ部36、状態通知処理部37、IP回線IF38から構成される。SIP処理部33は、主に登録処理(F31)、接続・切断処理(F32)、SUBSCRIBE送信処理(F33)、NOTIFY受信処理(F34)が行われる。   The GW 5 mainly includes a line IF (interface) 31, an active system 30A, and a standby system 30S. The active system 30A includes a control unit 32, a SIP processing unit 33, a VoIP processing unit 34, a connection management table 35, a status inquiry unit 36, a status notification processing unit 37, and an IP line IF 38. The SIP processing unit 33 mainly performs registration processing (F31), connection / disconnection processing (F32), SUBSCRIBE transmission processing (F33), and NOTIFY reception processing (F34).

VoIP処理34は、IP回線IF38から受信したRTPパケットのデコード処理を行い電話回線IF31にTDMデータを出力する。また、電話回線IF31から受信したTDMデータをRTPパケットに変換してIP回線IF38にRTPパケットを出力する。電話回線IF31では、現用系30Aと待機系30Sの両方からデコード処理されたTDM信号が出力されるので現用系を選択して外部の電話端末へTDMデータを出力する。   The VoIP process 34 decodes the RTP packet received from the IP line IF 38 and outputs TDM data to the telephone line IF 31. Also, the TDM data received from the telephone line IF 31 is converted into an RTP packet, and the RTP packet is output to the IP line IF 38. In the telephone line IF31, decoded TDM signals are output from both the active system 30A and the standby system 30S, so the active system is selected and TDM data is output to an external telephone terminal.

接続管理テーブル35は、セッションの接続管理テーブルを持ち、セッションに必要な発信者情報や着信者情報、セッション情報を管理する。状態問合せ部36は、故障が発生した場合に新現用系からセッション状態をSIPサーバ2へ問い合わせるために状態問合せメッセージを生成する。   The connection management table 35 has a session connection management table, and manages caller information, callee information, and session information necessary for the session. The state inquiry unit 36 generates a state inquiry message for inquiring the session state from the new active system to the SIP server 2 when a failure occurs.

状態通知処理部37は、SIPサーバ2から返信された状態通知メッセージを受信し、状態通知メッセージに含まれるセッション情報を抽出して接続管理テーブル35の空きのエントリに受信したセッション情報を格納する。制御部32は、SIP処理部33、VoIP処理部34、接続管理テーブル35、状態問合せ部36、状態通知処理部37、IP回線IF38の制御を行う。待機系30Sは現用系30Aと同じ構成となる。   The status notification processing unit 37 receives the status notification message returned from the SIP server 2, extracts session information included in the status notification message, and stores the received session information in an empty entry in the connection management table 35. The control unit 32 controls the SIP processing unit 33, the VoIP processing unit 34, the connection management table 35, the status inquiry unit 36, the status notification processing unit 37, and the IP line IF 38. The standby system 30S has the same configuration as the active system 30A.

図4は、GW5の現用系30AのSIP処理部部33Aの接続・切断処理(F32A)にてSIPサーバ2との接続処理の状態を管理する接続管理テーブル35Aのデータフォーマットの一例を示す図である。   FIG. 4 is a diagram showing an example of the data format of the connection management table 35A for managing the state of the connection processing with the SIP server 2 in the connection / disconnection processing (F32A) of the SIP processing unit 33A of the active system 30A of the GW 5. is there.

接続管理テーブル35AはGW5を介して行われる呼接続処理、音声通信の状態を管理するためのテーブルである。   The connection management table 35A is a table for managing the state of call connection processing and voice communication performed via the GW 5.

接続管理テーブル35Aは、発信者の情報である電話番号と、発信者の電話番号を収容している装置のアドレス(IPアドレス)、セッション処理中に該当電話番号の端末又はGWがセッションを識別するための情報(Tag情報)を格納する発信者情報410と、着信者の情報である電話番号と、着信者の電話番号を収容している装置のアドレス(IPアドレス)、セッション処理中に該当電話番号の端末又はGWがセッションを識別するための情報(Tag情報)を格納する着信者情報420と、SIPの接続処理の状態を示すSIPステータス430と1つのセッションの一連の接続処理をグループ化して他の呼のセッションと区別するための識別情報(Call−ID440)と新たなリクエストの発行毎に増加するシーケンス番号(CSeq450)から構成される。   The connection management table 35A includes a telephone number that is caller information, an address (IP address) of a device that accommodates the caller's telephone number, and a terminal or GW of the corresponding telephone number identifies a session during session processing. Caller information 410 for storing information (Tag information), a telephone number that is information of the called party, an address (IP address) of a device that accommodates the telephone number of the called party, and a corresponding telephone during session processing Numbered terminal or GW is grouped with called party information 420 for storing information (Tag information) for identifying a session, SIP status 430 indicating the state of SIP connection processing, and a series of connection processing for one session. Identification information (Call-ID 440) for distinguishing from other call sessions and a sequence number that increases each time a new request is issued It consists of CSeq450).

本実施例では、IPとSIPを用いて説明する。例えば、エントリ480−1は、発信者情報410のユーザーと着信者情報420のユーザーがCall−ID:222222@BとCSeq:5555ACKを使用して、セッションが確立して発信者情報410のユーザーと着信者情報420のユーザー間で通話していることを示している。エントリ480−2は、発信者情報410のユーザーが着信者情報420のユーザーに発呼して、Call−ID:111111@AとCSeq:1011 INVITEを使用してセッション確立中であり、着信者情報420のユーザーに対して、呼び出ししている状態であることを示している。   In this embodiment, description will be made using IP and SIP. For example, the entry 480-1 indicates that the user of the caller information 410 and the user of the callee information 420 use the Call-ID: 222222 @ B and CSeq: 5555 ACK to establish the session and The callee information 420 indicates that the user is talking. The entry 480-2 indicates that the user of the caller information 410 makes a call to the user of the callee information 420, and a session is being established using Call-ID: 111111 @ A and CSeq: 1011 INVITE. This indicates that the user 420 is calling.

図5は、GW5の待機系30Sの接続管理テーブル35Sのデータフォーマットの一例を示す図である。データフォーマットの内容は現用系30Aと同じである。エントリ580−1は通話中の状態であり、状態が確立したため現用系の接続管理テーブル35Aから情報をコピーして情報を一致させている。   FIG. 5 is a diagram illustrating an example of a data format of the connection management table 35S of the standby system 30S of the GW 5. The content of the data format is the same as that of the active system 30A. The entry 580-1 is in a call state, and since the state has been established, information is copied from the active connection management table 35 A to match the information.

図6は、SIPサーバ2のSIP処理部部20のREGISTER処理(F21)にてSIPサーバ2に登録される各加入者情報を管理する加入者管理テーブル26のテーブル構成を示す図である。加入者管理テーブル26は、SIPサーバ2が提供する呼接続サービスに参加する利用者または電話端末に割り振られた電話番号とIPアドレスとの対応を格納する。   FIG. 6 is a diagram showing a table configuration of the subscriber management table 26 that manages each subscriber information registered in the SIP server 2 in the REGISTER process (F21) of the SIP processing unit 20 of the SIP server 2. The subscriber management table 26 stores correspondence between telephone numbers and IP addresses allocated to users or telephone terminals participating in the call connection service provided by the SIP server 2.

SIPサーバ2が交換機としての役割を果たす際には、発信側電話端末から受信側電話端末の電話番号を受信し、当該受信した電話番号を検索キーとして加入者管理テーブル26から受信側電話端末のIPアドレスを取り出し、呼接続メッセージを転送する。   When the SIP server 2 plays a role as an exchange, it receives the telephone number of the receiving telephone terminal from the calling telephone terminal, and uses the received telephone number as a search key from the subscriber management table 26 for the receiving telephone terminal. Take out the IP address and forward the call connection message.

加入者管理テーブル26は、加入者の電話番号610、加入者の電話番号610を収容している装置のアドレス(IPアドレス630)から構成される。本実施例では一例としてIPアドレスを用いて説明する。   The subscriber management table 26 includes a subscriber telephone number 610 and an address (IP address 630) of a device accommodating the subscriber telephone number 610. In this embodiment, an IP address will be described as an example.

図8は、SIPサーバ2のSIP処理部部20の接続・切断登録処理(F22)にてGW5やIP電話端末1-2A、1‐2Bとのセッション制御におけるINVITEや、接続登録処理および切断登録処理の各処理によりSIPサーバ2にて管理する接続管理テーブル24のテーブル構成を示す図である。SIPサーバ2が処理する呼接続に関する情報を管理するテーブルである。   FIG. 8 shows INVITE, connection registration processing and disconnection registration in session control with the GW 5 and IP telephone terminals 1-2A and 1-2B in the connection / disconnection registration processing (F22) of the SIP processing unit 20 of the SIP server 2. It is a figure which shows the table structure of the connection management table 24 managed by the SIP server 2 by each process of a process. It is a table which manages the information regarding the call connection which the SIP server 2 processes.

接続管理テーブル24は、接続開始時間810、切断時間820、セッションの接続処理の状態を示すステータス830、発信者の電話番号と該当電話番号を収容する装置のアドレス(IPアドレス)を格納する発信者情報840、着信者の電話番号と該当電話番号を収容する装置のアドレス(IPアドレス)を格納する着信者情報850から構成される。   The connection management table 24 stores a connection start time 810, a disconnection time 820, a status 830 indicating the state of session connection processing, a caller's telephone number and the address (IP address) of a device accommodating the corresponding telephone number. It includes information 840 and callee information 850 that stores the phone number of the callee and the address (IP address) of the device that accommodates the phone number.

図7は、SIPサーバ2のSIP処理部部20の接続・切断登録処理(F23)にてGW5やIP電話端末1-2A、1‐2Bとの接続処理の状態を管理するセッション接続中情報管理テーブル25のデータフォーマットの一例を示す図である。セッション接続中情報管理テーブル25は、先ほど説明した接続管理テーブル24の管理する呼接続処理のセッションの毎に現在どのシーケンス処理を行っているかまでを管理しており、後に説明するGW5でのセッション救済に利用されるものである。   FIG. 7 shows session connection information management for managing the state of connection processing with the GW 5 and the IP telephone terminals 1-2A and 1-2B in the connection / disconnection registration processing (F23) of the SIP processing unit 20 of the SIP server 2. It is a figure which shows an example of the data format of the table. The session connection information management table 25 manages which sequence processing is currently being performed for each call connection processing session managed by the connection management table 24 described above, and session remedy in the GW 5 described later. Is used.

セッション接続中情報管理テーブル25は、端末を収容している装置の場所を示すURI710(Uniform Resource Identifier)とURI単位にセッション接続中の端末情報を保持し、端末の情報である電話番号と、該当電話番号を収容している装置のアドレス(IPアドレス)、セッション処理中に該当電話番号の端末又はGWがセッションを識別するための情報(Tag情報)を格納する発信者情報720と、接続先の情報である電話番号と、該当電話番号を収容している装置のアドレス(IPアドレス)、セッション処理中に該当電話番号の端末又はGWがセッションを識別するための情報(Tag情報)を格納する着信者情報730と、SIPの接続処理の状態を示すSIPステータス740と1つのセッションの一連の接続処理をグループ化して他の呼のセッションと区別するための識別情報(Call−ID750)と新たなリクエストの発行毎に増加するシーケンス番号(CSeq760)と保持している端末情報が発信者か着呼者かを示すDIR770から構成される。   The session connection information management table 25 holds a URI 710 (Uniform Resource Identifier) indicating the location of the device accommodating the terminal, terminal information during the session connection for each URI, a telephone number that is terminal information, and a corresponding The address of the device accommodating the telephone number (IP address), the sender information 720 for storing information (Tag information) for identifying the session by the terminal or GW of the corresponding telephone number during the session processing, An incoming call that stores the telephone number that is information, the address (IP address) of the device accommodating the telephone number, and information (Tag information) for identifying the session by the terminal or GW of the telephone number during session processing User information 730, SIP status 740 indicating the state of SIP connection processing, and one set A series of connection processes of a group is grouped to distinguish it from other call sessions (Call-ID 750), a sequence number (CSeq 760) that increases every time a new request is issued, and held terminal information It consists of a DIR 770 indicating whether it is a caller or a callee.

本実施例では、IPとSIPを用いて説明する。例えば、エントリ780−1は、URI:20.0.0.1に収容する電話番号045−111−2222の端末から電話番号03−5000−1111の端末に発呼して通話していることを示している。このときの発呼で使用するSIPのCall−IDとCSeqは、それぞれCall−ID:222222@BとCSeq:5555 ACKを使用していることを示す。   In this embodiment, description will be made using IP and SIP. For example, the entry 780-1 indicates that the terminal having the telephone number 045-111-2222 accommodated in the URI: 20.0.0.1 is calling from the terminal having the telephone number 03-5000-1111 to make a call. Show. The SIP Call-ID and CSeq used for the call at this time indicate that Call-ID: 222222 @ B and CSeq: 5555 ACK are used, respectively.

図32は、GW5とSIPサーバ2の間で通信されるセッション制御プロトコルのデータフォーマットの一例を示す図である。図13〜図16で示すデータはデータ領域2230に格納される。   FIG. 32 is a diagram illustrating an example of a data format of a session control protocol communicated between the GW 5 and the SIP server 2. The data shown in FIGS. 13 to 16 is stored in the data area 2230.

セッション制御プロトコルのデータフォーマットは、送信先の装置のアドレスを示す送信先アドレス2210と、送信元の装置のアドレスを示す送信元アドレス2220と、送信するセッション制御プロトコルの情報を格納するデータ領域2230と、送信先アドレス2210と送信元アドレス2220とデータ領域2230のデータの誤り検出を行うためのFCS2240(Frame Check Sequence)で構成する。   The data format of the session control protocol includes a transmission destination address 2210 that indicates the address of the transmission destination device, a transmission source address 2220 that indicates the address of the transmission source device, and a data area 2230 that stores information on the session control protocol to be transmitted. The destination address 2210, the source address 2220, and an FCS 2240 (Frame Check Sequence) for detecting an error in data in the data area 2230.

例えば、GW5からSIPサーバ2へINVITEのセッション制御プロトコル(図9のSQ101)を送信するとき、送信先アドレス2210にSIPサーバ2のアドレスを格納し、送信元アドレス2220にGW5のアドレスを格納し、データ領域2230には、図13のSQ101のメッセージを格納する。FCS2240には、送信先アドレス2210と送信元アドレス2220とデータ領域2230の情報から生成多項式で算出した計算値を格納する。   For example, when the INVITE session control protocol (SQ101 in FIG. 9) is transmitted from the GW 5 to the SIP server 2, the address of the SIP server 2 is stored in the transmission destination address 2210, and the address of the GW 5 is stored in the transmission source address 2220. The data area 2230 stores the message of SQ101 in FIG. The FCS 2240 stores a calculation value calculated by a generator polynomial from information of the transmission destination address 2210, the transmission source address 2220, and the data area 2230.

次に、図1のシステムにおいてどのように呼接続処理が行われるか、および、障害時にどのように途中で中断された呼接続処理を救済するかを説明する。   Next, how the call connection process is performed in the system of FIG. 1 and how the call connection process that was interrupted in the event of a failure is relieved will be described.

具体的にはGW5に接続される電話端末1‐1Aと電話端末1‐1BのIPアドレスをGW5の現用系IPアドレスとし、待機系が現用系に変化した場合においても旧現用系30Aで使用していたIPアドレスを新現用系30Sで使用する場合の動作について説明する。   Specifically, the IP addresses of the telephone terminal 1-1A and the telephone terminal 1-1B connected to the GW 5 are used as the working IP addresses of the GW 5, and the old working system 30A is used even when the standby system is changed to the working system. The operation when the IP address that has been used is used in the new active system 30S will be described.

図9は本システムにおけるセッション救済提供時の動作シーケンスの一例である。故障時に新現用系30Sから状態を問い合わせる、状態問合せ信号は、SIPのSUBSCRIBEを例として以下に説明する。また、SIPサーバからの状態通知信号は、SIPのNOTIFYを例として以下に説明する。SUBSCRIBEとNOTIFYは一例であり、その他のメッセージでも状態問合せと状態通知を行うことで実現可能である。   FIG. 9 shows an example of an operation sequence at the time of providing session relief in this system. The status inquiry signal for inquiring the status from the new active system 30S in the event of a failure will be described below using SIP SUBSCRIBE as an example. The status notification signal from the SIP server will be described below using SIP NOTIFY as an example. SUBSCRIBE and NOTIFY are examples, and can be realized by performing status inquiry and status notification for other messages.

図10は、本システムにおけるセッション救済提供時のSIPサーバ2のSIP処理部の動作フローを示したフローチャートの一例である。図11は、本システムにおけるセッション救済提供時の状態問合せと状態通知処理の動作フローを示したフローチャートの一例である。図12は、本システムにおけるセッション救済提供時のGW5の待機系が現用系に系切替えしたときの新現用系30Sの動作フローを示したフローチャートの一例である。図13〜図16は、GW5とSIPサーバ2の間で通信するSIP信号のメッセージ情報である。以下、図1〜図16を用いてセッション救済方法の動作を説明する。   FIG. 10 is an example of a flowchart showing an operation flow of the SIP processing unit of the SIP server 2 when providing session relief in the present system. FIG. 11 is an example of a flowchart showing an operation flow of status inquiry and status notification processing when providing session relief in the present system. FIG. 12 is an example of a flowchart showing an operation flow of the new active system 30S when the standby system of the GW 5 at the time of providing session relief in this system is switched to the active system. 13 to 16 are message information of SIP signals communicated between the GW 5 and the SIP server 2. Hereinafter, the operation of the session relief method will be described with reference to FIGS.

まず、GW5及びIP電話端末1‐2A、IP電話端末1‐2Bの電源を入れた場合等、通話を可能とするために予めSIPサーバ2に対してREGISTERリクエストを送出して加入者管理テーブル26に電話番号610とIPアドレス630を登録する。   First, when the power of the GW 5, the IP telephone terminal 1-2A, and the IP telephone terminal 1-2B is turned on, a REGISTER request is sent to the SIP server 2 in advance in order to make a call, and the subscriber management table 26 The telephone number 610 and the IP address 630 are registered.

発呼端末1‐1Aから着呼端末1‐2Bの電話番号をダイヤルする(SQ100)。GW5ではダイヤルされた電話番号(M131‐1)と、発呼端末の情報(M131‐2)と、GW5のIPアドレス(M131‐3)から、SIPのINVITEリクエスト(M131)を生成してSIPサーバ2に送出する(SQ101)。SIPサーバ2では、SIPメッセージを受信するまで待機して、セッション処理関係のSIPメッセージを受信した場合(F101)、受信したSIPメッセージがINVITEリクエストかを判断して、INVITEリクエストの場合(F102)、INVITEリクエスト(M131)の着信者情報(M131‐1)の値である「0350002222」を検索キー情報として加入者管理テーブル26を検索し、「0350002222」が登録されているエントリ650−nのテーブルの中から着信者側のIPアドレス「IP4=11.0.0.2」を抽出する(F103)。   The telephone number of the called terminal 1-2B is dialed from the calling terminal 1-1A (SQ100). GW5 generates a SIP INVITE request (M131) from the dialed telephone number (M131-1), calling terminal information (M131-2), and GW5 IP address (M131-3) to generate a SIP server 2 (SQ101). The SIP server 2 waits until a SIP message is received and receives a session processing-related SIP message (F101). When the received SIP message is an INVITE request, the SIP server 2 determines that the received SIP message is an INVITE request (F102). The subscriber management table 26 is searched using “0350002222”, which is the value of the recipient information (M131-1) of the INVITE request (M131), as search key information, and the table of the entry 650-n in which “0350002222” is registered. The IP address “IP4 = 11.0.0.2” of the called party is extracted from the inside (F103).

更にSIPサーバ2は、検索した着信者のIPアドレスとINVETEリクエスト(M131)に含まれる情報から接続管理テーブル24の発呼端末と着呼端末の情報を図8(a)から図8(b)に更新する(F104)。具体的にはINVITEリクエスト(M131)のFROM情報の電話番号「0451111111」(M131−2)と、IPアドレス「20.0.0.1」(M131−3)をSIPサーバ2の接続管理テーブル24の発信者情報840に格納する。   Further, the SIP server 2 obtains the information on the calling terminal and the called terminal in the connection management table 24 from the information included in the searched IP address of the called party and the INVETE request (M131) from FIG. 8 (a) to FIG. 8 (b). (F104). Specifically, the telephone number “0451111111” (M131-2) in the FROM information of the INVITE request (M131) and the IP address “20.0.0.1” (M131-3) are stored in the connection management table 24 of the SIP server 2. Stored in the sender information 840.

また、INVITEリクエスト(M131)のTO情報の電話番号「0350002222」(M131−1)と、加入者管理テーブル26から抽出した着信先のIPアドレス「11.0.0.2」(F103)をSIPサーバ2の接続管理テーブル24の着信者情報850に格納する。更に、受信ステータス830にINVITE受信 180RINGING待ちに設定する。   Further, the telephone number “0350002222” (M131-1) of the TO information of the INVITE request (M131) and the destination IP address “11.0.0.2” (F103) extracted from the subscriber management table 26 are SIP. Stored in the callee information 850 of the connection management table 24 of the server 2. Further, the reception status 830 is set to wait for INVITE reception 180 RINGING.

次にSIPサーバ2は、セッション接続中情報管理テーブル25の発呼端末情報と着呼端末情報とSIPメッセージの情報を図7(a)から図7(b)に更新する(F105)。セッション接続中情報管理テーブル25は状態問合せ時に問合せ元のIPアドレスを検索キー情報としてURI710を検索するため、問合せ元のIPアドレスを端末情報として情報を格納する。   Next, the SIP server 2 updates the calling terminal information, the called terminal information and the SIP message information in the session connection information management table 25 from FIG. 7A to FIG. 7B (F105). The session connection information management table 25 stores information using the inquiry source IP address as terminal information in order to search the URI 710 using the inquiry source IP address as search key information at the time of status inquiry.

従って、1つセッション接続で、発呼端末の端末情報としたエントリ780‐3の情報と着呼端末の端末情報としたエントリ780‐4の情報の2つの情報を管理する。なお、問合せ元のIPアドレスを検索キー情報として検索する箇所を端末情報720と接続先情報730とすることで、エントリ数を1つに減らすことも可能である。   Therefore, in one session connection, two pieces of information are managed: entry 780-3 as terminal information of the calling terminal and entry 780-4 as terminal information of the called terminal. Note that the number of entries can be reduced to one by using the terminal information 720 and the connection destination information 730 as the search locations using the inquiry source IP address as search key information.

セッション接続中情報管理テーブル25の具体的な更新方法は、INVITEリクエスト(M131)のFROM情報の電話番号「0451111111」(M131−2)と、IPアドレス「20.0.0.1」(M131−3)と、tag情報「tag=qqqqqq」(M131−4)をSIPサーバ2のセッション接続中情報管理テーブル25の端末情報720に格納すると共に、セッション接続の方向を示すDIR770に発呼を格納する。   The specific method of updating the session connection information management table 25 includes the telephone number “0451111111” (M131-2) of the FROM information of the INVITE request (M131) and the IP address “20.0.0.1” (M131- 3) and the tag information “tag = qqqqqq” (M131-4) are stored in the terminal information 720 of the session connection information management table 25 of the SIP server 2 and the call is stored in the DIR 770 indicating the session connection direction. .

また、INVITEリクエスト(M131)のTO情報の電話番号「0350002222」(M131−1)と、加入者管理テーブル26から抽出した着信先のIPアドレス「11.0.0.2」(F103)をSIPサーバ2のセッション接続中情報管理テーブル25の接続先情報730に格納する。INVITEリクエスト(M131)のCall‐ID情報「111111@A」(M131‐5)とCSeq情報「1011 INVITE」(M131‐6)をそれぞれセッション接続中情報管理テーブル25のCall‐ID750とCSeq情報760に登録する。受信ステータス740にINVITE受信 180RINGING待ちとして、エントリ780‐3に登録する。   Further, the telephone number “0350002222” (M131-1) of the TO information of the INVITE request (M131) and the destination IP address “11.0.0.2” (F103) extracted from the subscriber management table 26 are SIP. Stored in the connection destination information 730 of the session connection information management table 25 of the server 2. Call-ID information “111111 @ A” (M131-5) and CSeq information “1011 INVITE” (M131-6) of the INVITE request (M131) are stored in Call-ID 750 and CSeq information 760 of the session connection information management table 25, respectively. sign up. The reception status 740 is registered in the entry 780-3 as INVITE reception 180 RINGING waiting.

更に、端末情報720と接続先情報730の登録内容を入れ替えと、セッション接続の方向を示すDIR770を発呼から着呼に変更した内容をエントリ780‐4を追加登録する。なお、URI710には、端末情報720の電話番号を検索キー情報として加入者管理テーブル26に格納されているIPアドレス「11.0.0.2」が格納される。上記の処理により、セッション接続中情報管理テーブル25のエントリ780‐3とエントリ780‐4の情報を図7(a)の状態から図7(b)の状態に内容を更新する。   Further, when the registration contents of the terminal information 720 and the connection destination information 730 are exchanged, the entry 780-4 is additionally registered with the contents in which the DIR 770 indicating the session connection direction is changed from an outgoing call to an incoming call. The URI 710 stores the IP address “11.0.0.2” stored in the subscriber management table 26 using the telephone number of the terminal information 720 as search key information. As a result of the above processing, the contents of the entries 780-3 and 780-4 in the session connection information management table 25 are updated from the state shown in FIG. 7A to the state shown in FIG. 7B.

次にSIPサーバ2は、着信先のIPアドレスを使用してINVITEリクエストを着呼端末1‐2Bへ送信する(F106,SQ102)。着呼端末1‐2Bは、INVITEリクエスト(SQ102)を受信すると、180 RINGINGをSIPサーバ2に返信する(SQ103)。SIPサーバ2では、受信したSIPメッセージより、INVITEリクエスト(SQ101)を受信したときと同様の処理を行う。   Next, the SIP server 2 transmits an INVITE request to the called terminal 1-2B using the destination IP address (F106, SQ102). When receiving the INVITE request (SQ102), the called terminal 1-2B returns 180 RINGING to the SIP server 2 (SQ103). The SIP server 2 performs the same process as when an INVITE request (SQ101) is received from the received SIP message.

このとき、SIPサーバ2では、受信したセッション処理関係のSIPメッセージがINVITEではないため、F103の処理は行わない。また、180 RINGINGのSIPメッセージには、着信側の端末からSIPメッセージのTO情報にtag情報「tag=456abc」(M132−1)を追記してくるので、SIPサーバ2ではセッション接続中情報管理テーブル25のエントリ780‐3の接続先情報730のtag情報とエントリ780‐4の端末情報720のtag情報の更新とSIPステータスの更新を行うことで、セッション接続中情報管理テーブル25を図7(b)から図7(c)に変更する。   At this time, the SIP server 2 does not perform the process of F103 because the received SIP message related to session processing is not INVITE. In addition, since the tag information “tag = 456abc” (M132-1) is added to the TO information of the SIP message from the terminal on the incoming call side in the SIP message of 180 RINGING, the SIP server 2 has a session connection information management table. By updating the tag information of the connection destination information 730 of the entry 780-3 of 25 and the tag information of the terminal information 720 of the entry 780-4 and the SIP status, the session connection information management table 25 is updated as shown in FIG. ) To FIG. 7 (c).

また、接続管理テーブル24のステータスも同様に更新し、接続管理テーブル24を図8(b)から図8(c)に変更する。   Similarly, the status of the connection management table 24 is updated, and the connection management table 24 is changed from FIG. 8B to FIG. 8C.

次に故障等によるGWの系切替えについて説明する。まず、系切替え前のGW5の現用系接続管理テーブル35Aについて説明する。GW5の現用系接続管理テーブル35Aは、SIPサーバ2とのSIPメッセージとGW5で予め持っている加入者の情報からテーブルを生成している。本実施例では、エントリ480‐1とエントリ480‐2が登録されている。   Next, GW system switching due to a failure or the like will be described. First, the working connection management table 35A of the GW 5 before system switching will be described. The active connection management table 35A of the GW 5 generates a table from the SIP message with the SIP server 2 and the subscriber information previously held in the GW 5. In this embodiment, entry 480-1 and entry 480-2 are registered.

一方、GW5の待機系接続管理テーブル35Sは、エントリ580‐1のみが登録されている。GW5の待機系30Sは通常は動作しないため、待機系30SでSIPメッセージを処理することはないが、エントリ580−1は発呼端末と着呼端末の間で通話中の状態に遷移したものであり、状態が確立したため現用系30Aの接続管理テーブル35Aからセッション情報をコピーして情報を一致させている。エントリ580−2は、現用系30Aでセッションの状態が確立していないため、現用系30Aからコピーしても状態が短期間で変化するため現用系30Aから状態のコピーをしていないため、エントリ580−2は空きエントリとなっている。   On the other hand, only the entry 580-1 is registered in the standby connection management table 35S of the GW 5. Since the standby system 30S of the GW 5 does not normally operate, the standby system 30S does not process the SIP message, but the entry 580-1 is a state in which a call is in progress between the calling terminal and the called terminal. Yes, since the state is established, the session information is copied from the connection management table 35A of the active system 30A to make the information consistent. Since the session state is not established in the active system 30A, the entry 580-2 does not copy the state from the active system 30A because the state changes in a short period even if copied from the active system 30A. 580-2 is an empty entry.

待機系30Sの接続管理テーブル35Sが図5(a)の状態でGW5の現用系と待機系が切り替わったとき、現用系の接続管理テーブル35Aと待機系の接続管理テーブル35Sの状態が一致しておらず、セッションを救済するために待機系の接続管理テーブル35Sの状態を現用系の接続管理テーブル35Aと同じ内容(図5(b))にする必要がある。以下にSIPサーバ2から180 RINGINGのSIPメッセージを受信したときに故障が発生したケースを一例としてGW5の系切替え動作について説明する。   When the active system and the standby system of the GW 5 are switched while the connection management table 35S of the standby system 30S is in the state shown in FIG. 5A, the states of the active system connection management table 35A and the standby system connection management table 35S match. In order to save the session, the state of the standby connection management table 35S needs to be the same as that of the active connection management table 35A (FIG. 5B). Hereinafter, the system switching operation of the GW 5 will be described by taking as an example a case where a failure has occurred when a 180 RINGING SIP message is received from the SIP server 2.

まず、GW5の現用系30Aで障害が発生したとき、GW5の現用系30Aから待機系30Sに対して故障の通知と運用系の切替え指示を行う(SQ105)。GW5の待機系30Sでは、運用系の切替え指示が現用系からあった場合(F121)、GW5の現用系30Aを待機系に変更し、待機系30Sを現用系に装置状態を変更することで系の切り替えを行う。なお、以下の説明では、新しく現用系となった切替え前の待機系を新現用系30Sと記載し、新しく待機系となった切替え前の現用系を旧現用系30Aと記載する。   First, when a failure occurs in the active system 30A of the GW 5, the active system 30A of the GW 5 notifies the standby system 30S of a failure and gives an instruction to switch the active system (SQ105). In the standby system 30S of GW5, when the active system switching instruction is issued from the active system (F121), the active system 30A of GW5 is changed to the standby system, and the standby system 30S is changed to the active system by changing the device state. Switch. In the following description, the standby system before switching that becomes the new active system is described as a new active system 30S, and the active system before switching that becomes the new standby system is described as the old active system 30A.

系を切り替えたとき、現用系30AでSIPサーバ2と通信していたときのIPアドレスを新現用系30Sに引き継ぎ、旧現用系30Aは、SIPサーバ2と通信していたIPアドレス以外のIPアドレスに変更する(F122)。
GW5の新現用系30Sは、SIPサーバ2に対して旧現用系30AでSIPサーバ2と通信していたときの状態の問合せを行う(F123)。状態の問合せは、GW5の状態問合せ部36Sで行い、例えば、SIPのSUBSCRIBEメッセージのフォーマットでEvent情報に状態の問合せを示す「status request」情報(M133‐1)を入れて状態問合せメッセージを生成して(M133)、SUBSCRIBE送信処理F33SがSIPサーバ2へ状態問合せメッセージを送信する(F123,SQ106)。SIPサーバ2ではSUBSCRIBE受信後、200 OKを返信する(SQ107)。
When the system is switched, the IP address when communicating with the SIP server 2 in the active system 30A is taken over to the new active system 30S, and the old active system 30A has an IP address other than the IP address communicating with the SIP server 2 (F122).
The new active system 30S of the GW 5 inquires of the SIP server 2 about the state when the old active system 30A communicated with the SIP server 2 (F123). The status inquiry is performed by the status inquiry unit 36S of the GW 5, and for example, a status inquiry message is generated by inserting “status request” information (M133-1) indicating the status query in the event information in the SIP SUBSCRIBE message format. (M133), the SUBSCRIBE transmission process F33S transmits a status inquiry message to the SIP server 2 (F123, SQ106). The SIP server 2 returns 200 OK after receiving SUBSCRIBE (SQ107).

SIPサーバ2では、SUBSCRIBE受信処理F23が状態問合せメッセージが他の装置から受信しないかを監視しており(F111)、状態問合せメッセージを受信した場合、状態問合せ処理部23に状態問合せメッセージの内容を通知する。状態問合せ処理部23では、問合せ元のIPアドレスを検索キー情報として、セッション接続中情報管理テーブル25のURI710を検索する(F112)。検索した結果、セッション接続中の端末情報がなかった場合(F113)、セッション接続中の端末情報がないことを問合せ元の装置に通知する(F115)。セッション接続中の端末情報がある場合(F113)、セッション接続状態の状態通知を行う。   In the SIP server 2, the SUBSCRIBE reception process F23 monitors whether or not the status inquiry message is received from another device (F111). When the status inquiry message is received, the status inquiry processing unit 23 sends the contents of the status inquiry message to the SIP server 2. Notice. The state inquiry processing unit 23 searches the URI 710 of the session connection information management table 25 using the inquiry source IP address as search key information (F112). As a result of the search, if there is no terminal information in the session connection (F113), the inquiry source apparatus is notified that there is no terminal information in the session connection (F115). When there is terminal information during session connection (F113), a state notification of the session connection state is performed.

状態通知処理は、状態問合せ処理部23で行い、例えば、NOTIFYメッセージのフォーマットでEvent情報に状態問合せに対する状態通知であることを示す「status request」情報(M135‐1)を入れてSIPヘッダ(M135‐2)を生成する。セッション接続中の情報は、SIPのボディ(M135‐3)に格納する。状態問合せ処理部23では、セッション接続中の情報は、セッション接続中情報管理テーブル25に登録されている情報から生成する。   The state notification processing is performed by the state inquiry processing unit 23. For example, the “status request” information (M135-1) indicating the state notification for the state inquiry is inserted into the event information in the NOTIFY message format, and the SIP header (M135) is inserted. -2) is generated. Information during session connection is stored in the SIP body (M135-3). In the state inquiry processing unit 23, information during session connection is generated from information registered in the session connection information management table 25.

例えば、セッション接続中情報管理テーブル25の図7(c)のエントリ780‐3の場合、Dir770からセッション接続の方向を確認し、端末情報720が発呼端末であり、接続先情報730が着呼端末であることを確認する。状態通知の内容は、SIPのステータス740と、発信者情報、着信者情報、SIP情報であるCall‐ID750とCSeq760情報から構成する。まず、SIPステータス740に格納されている「180 RINGING 200 OK待ち」の情報とCall-ID750に格納されている「111111@A」の情報とCSeq660に格納されている「1011 INVITE」の情報から、sip_status情報を生成する(M135‐4)。   For example, in the case of the entry 780-3 in FIG. 7C of the session connection information management table 25, the session connection direction is confirmed from the Dir 770, the terminal information 720 is the calling terminal, and the connection destination information 730 is the incoming call. Confirm that it is a terminal. The content of the status notification includes SIP status 740, caller information, callee information, and Call-ID 750 and CSeq 760 information which are SIP information. First, from the information of “180 RINGING 200 OK waiting” stored in the SIP status 740, the information of “111111 @ A” stored in the Call-ID 750, and the information of “1011 INVITE” stored in the CSeq 660, The sip_status information is generated (M135-4).

発信者情報であるFrom情報には、Dir770より発呼端末と判断した端末情報720に格納されている電話番号とIPアドレスと、Tagの情報から、From情報を生成する(M135‐5)。着信者情報であるTo情報には、Dir770より着呼端末と判断した接続先情報730に格納されている電話番号とIPアドレスと、Tagの情報から、To情報を生成する(M135‐6)。   From information, which is caller information, is generated from the telephone number and IP address stored in the terminal information 720 determined to be the calling terminal from Dir 770 and Tag information (M135-5). In the To information as the callee information, To information is generated from the telephone number and IP address stored in the connection destination information 730 determined as the called terminal from the Dir 770 and the Tag information (M135-6).

生成したsip_status情報(M135−4)とFrom情報(M135‐5)とTo情報(M135‐6)をSIPのボディ(M135‐3)情報として、SIPサーバ2では状態通知用に生成したSIPヘッダ(M135‐2)とSIPボディ(M135‐3)を1つのNOTIFYメッセージとしてNOTIFY送信処理F24から問合せ元であるGW5へ状態通知メッセージを送信する(F114,SQ108)。例えば、セッション接続中の端末が複数あった場合は、NOTIFYメッセージを端末の台数分のメッセージ送信や、1つのNOTIFYメッセージに複数の端末の情報を入れることもできる。   The generated SIP_status information (M135-4), From information (M135-5), and To information (M135-6) are used as SIP body (M135-3) information, and the SIP server 2 generates a SIP header (for status notification). M135-2) and the SIP body (M135-3) are sent as one NOTIFY message from the NOTIFY transmission process F24 to the GW 5 as the inquiry source (F114, SQ108). For example, when there are a plurality of terminals connected to the session, the NOTIFY message can be transmitted as many messages as the number of terminals, or information of a plurality of terminals can be included in one NOTIFY message.

GW5の新現用系30Sでは、SIPサーバからの状態通知があるまで待機して(F124)、NOTIFY受信処理F34Sが状態通知メッセージを受信すると、200 OKをSIPサーバ2に返信する(SQ109)。GW5の新現用系30Sは、状態通知メッセージの内容(M135)を状態通知処理部37Sへ引き渡し、状態通知処理部37Sでは受信した状態通知内容(M135)の情報から接続管理テーブル35Sの図5(a)の空きのエントリであるエントリ580‐2を図5(b)に更新する。   The new active system 30S of GW 5 stands by until there is a status notification from the SIP server (F124). When the NOTIFY reception process F34S receives the status notification message, it returns 200 OK to the SIP server 2 (SQ109). The new active system 30S of the GW 5 delivers the content of the status notification message (M135) to the status notification processing unit 37S, and the status notification processing unit 37S uses the received status notification content (M135) information in FIG. The entry 580-2 which is an empty entry in a) is updated to FIG.

具体的には、状態通知メッセージ(M135)のFrom情報(M135‐5)から発信者情報510に発信者の電話番号とIPアドレスと、Tagの情報を格納する。状態通知メッセージ(M135)のTo情報(M135‐6)から着信者情報520に着信者の電話番号とIPアドレスと、Tagの情報を格納する。   Specifically, the sender's telephone number, IP address, and Tag information are stored in the sender information 510 from the From information (M135-5) of the status notification message (M135). From the To information (M135-6) of the status notification message (M135), the receiver's telephone number, IP address, and tag information are stored in the receiver information 520.

更に、状態通知メッセージ(M135)のsip_status情報(M135‐4)からSIPステータス530と、SIP情報であるCall‐ID540とCSeq550の情報を格納することで、空きエントリ580‐2にセッション情報を格納して接続管理テーブル35Sの図5(a)の状態から接続管理テーブル35Sの図5(b)の状態とし、旧現用系30Aの接続管理テーブル35Aと状態を一致させる(F125)。   Further, by storing the SIP status 530 and SIP information Call-ID 540 and CSeq 550 information from the sip_status information (M135-4) of the status notification message (M135), session information is stored in the empty entry 580-2. Then, the state of FIG. 5A of the connection management table 35S is changed to the state of FIG. 5B of the connection management table 35S, and the state is matched with the connection management table 35A of the former active system 30A (F125).

GW5は接続管理テーブル35Sの図5(b)の情報から装置内の動作状態を比較して、加入者に対して音源を正常に送出できているか等、系切替えをしなかった場合に本来動作すべき内容を実行できているかを確認する(F126)。動作状態に差分があった場合(F127)、装置内の状態を変更して系切替えを実行していなかった場合に本来動作すべき状態とする(F128)。   The GW 5 compares the operation state in the apparatus from the information in FIG. 5B of the connection management table 35S, and operates normally when the system is not switched, such as whether the sound source can be normally transmitted to the subscriber. It is confirmed whether the content to be executed has been executed (F126). When there is a difference in the operating state (F127), the state in the apparatus is changed to a state that should be originally operated when the system switching has not been executed (F128).

例えば、接続管理テーブル35Sの図5(b)のエントリ580‐2の場合、SIPのステータスが180 RINGINGであるため、180 RINGINGを受信するとGW5は発呼端末1‐1AにRBT(呼び出し音)を送出する必要があるが、新現用系30Sで発呼端末1‐1Aに対してRBT(呼び出し音)を送出しているか状態の比較を行い、送出していない場合、RBT(呼び出し音)の送出を行う。   For example, in the case of the entry 580-2 in FIG. 5B in the connection management table 35S, the SIP status is 180 RINGING, so when receiving 180 RINGING, the GW 5 sends an RBT (ringing sound) to the calling terminal 1-1A. Although it is necessary to send out, RBT (ringing tone) is compared with the status of whether the RBT (ringing tone) is being sent to the calling terminal 1-1A in the new active system 30S. I do.

以上の動作を行うことで、GW5は接続管理テーブル35Aと接続管理テーブル35Sの状態を合わせて、系切替え後のセッション接続中のセッションを救済する。状態を一致させた後は、通常状態のときと同じ動作である動作シーケンスSQ111〜SQ121の切断処理までを行う。   By performing the above operation, the GW 5 matches the states of the connection management table 35A and the connection management table 35S, and rescues the session that is connected to the session after the system switchover. After matching the states, the processing up to the disconnection processing of the operation sequences SQ111 to SQ121, which is the same operation as in the normal state, is performed.

実施例2では、実施例1とは異なり、現用系30Aと待機系30Sのそれぞれで使用するIPアドレスが変わる場合において、待機系が現用系に変化したときの動作について説明する。   In the second embodiment, unlike the first embodiment, an operation when the standby system is changed to the active system when the IP addresses used in the active system 30A and the standby system 30S are changed will be described.

図17は、GW5の待機系30Sの接続管理テーブル35Sのデータフォーマットの一例を示す図である。データフォーマットの内容は現用系30Aと同じである。エントリ1480−1は通話中の状態であり、状態が確立したため現用系の接続管理テーブル35Aから情報をコピーして情報を一致させている。   FIG. 17 is a diagram illustrating an example of a data format of the connection management table 35S of the standby system 30S of the GW 5. The content of the data format is the same as that of the active system 30A. The entry 1480-1 is in a call state, and since the state has been established, information is copied from the active connection management table 35A to match the information.

図18は、SIPサーバ2のSIP処理部部20のREGISTER処理(F21)にてSIPサーバ2に登録される各加入者情報を管理する加入者管理テーブル26のテーブル構成を示す図である。加入者管理テーブル26は、加入者の電話番号1510、加入者の電話番号1510を収容している装置のアドレス(IPアドレスA1520、IPアドレスB1530)、複数のアドレスが登録されている場合(IPアドレスAとIPアドレスB)に有効となっているアドレスを示す有効IPアドレス1540から構成される。   FIG. 18 is a diagram showing a table configuration of the subscriber management table 26 that manages each subscriber information registered in the SIP server 2 in the REGISTER process (F21) of the SIP processing unit 20 of the SIP server 2. In the subscriber management table 26, the subscriber telephone number 1510, the address of the device accommodating the subscriber telephone number 1510 (IP address A1520, IP address B1530), and a plurality of addresses are registered (IP address) A valid IP address 1540 indicating a valid address for A and IP address B).

IPアドレスAとIPアドレスBの組み合わせは装置運用時に予め装置情報として装置に登録されており、REGISTERリクエストにより、有効IPアドレスをIPアドレスA1520とIPアドレスB1530から選択して、選択した結果を有効IPアドレス1540に登録する。INVITE受信時は、有効IPアドレス1540を参照して、有効となっているIPアドレスを使用する。   The combination of IP address A and IP address B is registered in the device as device information in advance during device operation. A valid IP address is selected from IP address A 1520 and IP address B 1530 by a REGISTER request, and the selected result is the valid IP. Register at address 1540. When receiving INVITE, the valid IP address 1540 is referred to and the valid IP address is used.

図19〜図22は、SIPサーバ2のSIP処理部部20の接続・切断登録処理(F23)にてGW5やIP電話端末1-2A、1‐2Bとの接続処理の状態を管理するセッション接続中情報管理テーブル25のデータフォーマットの一例を示す図である。セッション接続中情報管理テーブル25は、端末を収容している装置の場所を示すURI1610の情報を保持する。   19 to 22 show session connection for managing the state of connection processing with the GW 5 and the IP telephone terminals 1-2A and 1-2B in the connection / disconnection registration processing (F23) of the SIP processing unit 20 of the SIP server 2. It is a figure which shows an example of the data format of the middle information management table. The session connection information management table 25 holds information of the URI 1610 indicating the location of the device accommodating the terminal.

URIは複数登録でき、例えば現用系30AのIPアドレスと待機系30SのIPアドレスの2つを登録する。本登録情報は、現用系30AのIPアドレスと待機系30SのIPアドレスの組み合わせは加入者管理テーブル26に登録されているものとする。予めセッション接続中情報管理テーブル25は、URI単位にセッション接続中の端末情報を保持し、端末の情報である電話番号と、該当電話番号を収容している装置のアドレス(IPアドレス)、セッション処理中に該当電話番号の端末又はGWがセッションを識別するための情報(Tag情報)を格納する発信者情報1620と、接続先の情報である電話番号と、該当電話番号を収容している装置のアドレス(IPアドレス)、セッション処理中に該当電話番号の端末又はGWがセッションを識別するための情報(Tag情報)を格納する着信者情報1630と、SIPの接続処理の状態を示すSIPステータス1640と1つのセッションの一連の接続処理をグループ化して他の呼のセッションと区別するための識別情報(Call−ID1650)と新たなリクエストの発行毎に増加するシーケンス番号(CSeq1660)と保持している端末情報が発信者か着呼者かを示すDIR1670から構成される。本実施例では、IPとSIPを用いて説明する。   A plurality of URIs can be registered. For example, two IP addresses of the active system 30A and the standby system 30S are registered. In this registration information, a combination of the IP address of the active system 30A and the IP address of the standby system 30S is registered in the subscriber management table 26. The session connection information management table 25 holds in advance terminal information during session connection in units of URIs, a telephone number that is terminal information, an address (IP address) of a device that accommodates the telephone number, and session processing. The caller information 1620 for storing information (Tag information) for identifying the session by the terminal or GW of the corresponding telephone number, the telephone number that is the connection destination information, and the device accommodating the corresponding telephone number Address (IP address), recipient information 1630 for storing information (Tag information) for identifying a session by the terminal or GW of the corresponding telephone number during session processing, and SIP status 1640 indicating the state of SIP connection processing, Identification information (Call−) for grouping a series of connection processes of one session and distinguishing them from other call sessions D1650) and the terminal information held with the sequence number (CSeq1660) that increases every issuance of new requests consists DIR1670 indicating whether the caller or callee. In this embodiment, description will be made using IP and SIP.

例えば、エントリ1680−1は、URI:20.0.0.1と20.0.0.10に収容される電話番号045−111−2222の端末から電話番号03−5000−1111の端末に発呼して通話していることを示している。このときの発呼で使用するSIPのCall−IDとCSeqは、それぞれCall−ID:222222@BとCSeq:5555 ACKを使用していることを示す。   For example, the entry 1680-1 is issued from the terminal having the telephone number 045-111-2222 accommodated in the URIs: 20.0.0.1 and 20.0.0.10. To the terminal having the telephone number 03-5000-1111. It shows that you are calling and talking. The SIP Call-ID and CSeq used for the call at this time indicate that Call-ID: 222222 @ B and CSeq: 5555 ACK are used, respectively.

図23は、SIPサーバ2のSIP処理部部20の接続・切断登録処理(F22)にてGW5やIP電話端末1-2A、1‐2Bとのセッション制御におけるINVITEや、接続登録処理および切断登録処理の各処理によりSIPサーバ2にて管理する接続管理テーブル24のテーブル構成を示す図である。接続管理テーブル24は、接続開始時間1710、切断時間1720、セッションの接続処理の状態を示すステータス1730、発信者の電話番号と該当電話番号を収容する装置のアドレス(IPアドレス)を格納する発信者情報1740、着信者の電話番号と該当電話番号を収容する装置のアドレス(IPアドレス)を格納する着信者情報1750から構成される。 次に、運用系が待機系に切り替わる際の動作を説明する。   FIG. 23 shows INVITE, connection registration processing and disconnection registration in the session control with the GW 5 and the IP telephone terminals 1-2A and 1-2B in the connection / disconnection registration processing (F22) of the SIP processing unit 20 of the SIP server 2. It is a figure which shows the table structure of the connection management table 24 managed by the SIP server 2 by each process of a process. The connection management table 24 stores a connection start time 1710, a disconnection time 1720, a status 1730 indicating the state of session connection processing, a caller's telephone number and an address (IP address) of a device accommodating the corresponding telephone number. It includes information 1740 and recipient information 1750 that stores the telephone number of the recipient and the address (IP address) of the device that accommodates the relevant telephone number. Next, an operation when the active system is switched to the standby system will be described.

具体的にはGW5に接続される電話端末1‐1Aと電話端末1‐1BのIPアドレスをGW5の現用系30AのIPアドレス 20.0.0.1と待機系30SのIPアドレス 20.0.0.10で運用系によって使用するIPアドレスが変わる場合において、待機系が現用系に変化したときの動作について説明する。   Specifically, the IP addresses of the telephone terminals 1-1A and 1-1B connected to the GW 5 are the IP addresses 20.0.0.1 of the active system 30A of the GW 5 and the IP addresses 20.0.0.1 of the standby system 30S. The operation when the standby system changes to the active system when the IP address used by the active system changes at 0.10 will be described.

図24は本実施例における本システムのセッション救済提供時の動作シーケンスの一例である。実施例1の図9から故障通知を示すREGISTER(SQ206)と200 OK(SQ208)が追加される。故障時に新現用系30Sから状態を問い合わせる状態問合せ信号は、SIPのSUBSCRIBEを例として以下に説明する。また、SIPサーバからの状態通知信号は、SIPのNOTIFYを例として以下に説明する。SUBSCRIBEとNOTIFYは一例であり、その他のメッセージでも状態問合せと状態通知を行うことで実現可能である。   FIG. 24 shows an example of an operation sequence at the time of providing session relief in this system in this embodiment. From FIG. 9 of the first embodiment, REGISTER (SQ206) and 200 OK (SQ208) indicating failure notification are added. The status inquiry signal for inquiring the status from the new active system 30S in the event of a failure will be described below using SIP SUBSCRIBE as an example. The status notification signal from the SIP server will be described below using SIP NOTIFY as an example. SUBSCRIBE and NOTIFY are examples, and can be realized by performing status inquiry and status notification for other messages.

図25は、本システムにおけるセッション救済提供時の状態問合せと状態通知処理の動作フローを示したフローチャートの一例である。図26は、本システムにおけるセッション救済提供時のGW5の待機系が現用系に系切替えしたときの新現用系30Sの動作フローを示したフローチャートの一例である。図27〜31は、GW5とSIPサーバ2の間で通信するSIP信号のメッセージ情報である。以下、図1〜図4と、図10と、図14〜図32を用いてセッション救済方法の動作を説明する。   FIG. 25 is an example of a flowchart showing an operation flow of status inquiry and status notification processing at the time of providing session relief in the present system. FIG. 26 is an example of a flowchart showing an operation flow of the new active system 30S when the standby system of the GW 5 at the time of providing session relief in this system is switched to the active system. 27 to 31 are message information of SIP signals communicated between the GW 5 and the SIP server 2. Hereinafter, the operation of the session relief method will be described with reference to FIGS. 1 to 4, FIG. 10, and FIGS. 14 to 32.

まず、GW5及びIP電話端末1‐2A、IP電話端末1‐2Bの電源を入れた場合等、通話を可能とするために予めSIPサーバ2に対してREGISTERリクエストを送出して加入者管理テーブル26に電話番号1510と現用系30Aと待機系30SのIPアドレスのうち有効なIPアドレスを有効IPアドレス1540に登録する。
(SIP処理部)
発呼端末1‐1Aから着呼端末1‐2Bの電話番号をダイヤルする(SQ200)。GW5ではダイヤルされた電話番号(M231‐1)と、発呼端末の情報(M231‐2)と、GW5のIPアドレス(M231‐3)から、SIPのINVITEリクエスト(M231)を生成してSIPサーバ2に送出する(SQ201)。
First, when the power of the GW 5, the IP telephone terminal 1-2A, and the IP telephone terminal 1-2B is turned on, a REGISTER request is sent to the SIP server 2 in advance in order to make a call, and the subscriber management table 26 The valid IP address is registered in the valid IP address 1540 among the IP addresses of the telephone number 1510, the active system 30A and the standby system 30S.
(SIP processing part)
The telephone number of the called terminal 1-2B is dialed from the calling terminal 1-1A (SQ200). The GW 5 generates a SIP INVITE request (M231) from the dialed telephone number (M231-1), calling terminal information (M231-2), and the GW5 IP address (M231-3) to generate a SIP server. 2 (SQ201).

SIPサーバ2では、SIPメッセージを受信するまで待機して、セッション処理関係のSIPメッセージを受信した場合(F101)、受信したSIPメッセージがINVITEリクエストかを判断して、INVITEリクエストの場合(F102)、INVITEリクエスト(M231)の着信者情報(M231‐1)の値である「0350002222」を検索キー情報として加入者管理テーブル26を検索し、「0350002222」が登録されているエントリ1550−nのテーブルの中から有効IPアドレス1540を参照し、複数あるIPアドレスの中から有効なIPアドレスAの「IP4=11.0.0.2」の着信者側のIPアドレス情報を抽出する(F103)。   The SIP server 2 waits until a SIP message is received and receives a session processing-related SIP message (F101). When the received SIP message is an INVITE request, the SIP server 2 determines that the received SIP message is an INVITE request (F102). The subscriber management table 26 is searched using “0350002222” that is the value of the recipient information (M231-1) of the INVITE request (M231) as search key information, and the table of the entry 1550-n in which “0350002222” is registered. The valid IP address 1540 is referred to, and the IP address information on the called party side of “IP4 = 11.0.0.2” of the valid IP address A is extracted from a plurality of IP addresses (F103).

更にSIPサーバ2は、検索した着信者のIPアドレスとINVETEリクエスト(M231)に含まれる情報から接続管理テーブル24の発呼端末と着呼端末の情報を図23(a)から図23(b)に更新する(F104)。具体的にはINVITEリクエスト(M231)のFROM情報の電話番号「0451111111」(M231−2)と、IPアドレス「20.0.0.1」(M231−3)をSIPサーバ2の接続管理テーブル24の発信者情報1740に格納する。   Further, the SIP server 2 obtains the information of the calling terminal and the called terminal in the connection management table 24 from the information included in the searched IP address of the called party and the INVETE request (M231) from FIG. 23 (a) to FIG. 23 (b). (F104). Specifically, the telephone number “0451111111” (M231-2) of the FROM information of the INVITE request (M231) and the IP address “20.0.0.1” (M231-3) are stored in the connection management table 24 of the SIP server 2. Stored in the sender information 1740.

また、INVITEリクエスト(M131)のTO情報の電話番号「0350002222」(M231−1)と、加入者管理テーブル26から抽出した着信先のIPアドレス「11.0.0.2」(F103)をSIPサーバ2の接続管理テーブル24の着信者情報1750に格納する。更に、受信ステータス1730にINVITE受信 180RINGING待ちに設定する。   Further, the telephone number “0350002222” (M231-1) of the TO information of the INVITE request (M131) and the destination IP address “11.0.0.2” (F103) extracted from the subscriber management table 26 are SIP. Stored in the callee information 1750 of the connection management table 24 of the server 2. Further, the reception status 1730 is set to wait for INVITE reception 180 RINGING.

次にSIPサーバ2は、セッション接続中情報管理テーブル25の発呼端末情報と着呼端末情報とSIPメッセージの情報を図19から図20に更新する(F105)。セッション接続中情報管理テーブル25は状態問合せ時に問合せ元のIPアドレスを検索キー情報としてURI1610を検索するため、問合せ元のIPアドレスを端末情報として情報を格納する。   Next, the SIP server 2 updates the calling terminal information, the called terminal information, and the SIP message information in the session connection information management table 25 from FIG. 19 to FIG. 20 (F105). The session connection information management table 25 stores information using the IP address of the inquiry source as terminal information in order to search the URI 1610 using the IP address of the inquiry source as search key information at the time of status inquiry.

従って、1つセッション接続で、発呼端末の端末情報としたエントリ1680‐3の情報と着呼端末の端末情報としたエントリ1680‐4の情報の2つの情報を管理する。問合せ元のIPアドレスを検索キー情報として検索する箇所を端末情報1620と接続先情報1630とすることで、エントリ数を1つに減らすことも可能である。   Therefore, in one session connection, two pieces of information are managed: information of entry 1680-3 as terminal information of the calling terminal and information of entry 1680-4 as terminal information of the called terminal. It is possible to reduce the number of entries to one by using the terminal information 1620 and the connection destination information 1630 as the search locations using the inquiry source IP address as search key information.

セッション接続中情報管理テーブル25の具体的な更新方法は、INVITEリクエスト(M231)のFROM情報の電話番号「0451111111」(M231−2)と、IPアドレス「20.0.0.1」(M231−3)と、tag情報「tag=qqqqqq」(M231−4)をSIPサーバ2のセッション接続中情報管理テーブル25の端末情報1620に格納すると共に、セッション接続の方向を示すDIR1670に発呼を格納する。   A specific method for updating the session connection information management table 25 is as follows: the telephone number “0451111111” (M231-2) of the FROM information of the INVITE request (M231) and the IP address “20.0.0.1” (M231- 3) and the tag information “tag = qqqqqq” (M231-4) are stored in the terminal information 1620 of the session connection information management table 25 of the SIP server 2 and the call is stored in the DIR 1670 indicating the session connection direction. .

また、INVITEリクエスト(M231)のTO情報の電話番号「0350002222」(M231−1)と、加入者管理テーブル26から抽出した着信先のIPアドレス「11.0.0.2」(F103)をSIPサーバ2のセッション接続中情報管理テーブル25の接続先情報1630に格納する。INVITEリクエスト(M231)のCall‐ID情報「111111@A」(M231‐5)とCSeq情報「1011 INVITE」(M231‐6)をそれぞれセッション接続中情報管理テーブル25のCall‐ID1650とCSeq情報1660に登録する。   Further, the telephone number “0350002222” (M231-1) of the TO information of the INVITE request (M231) and the destination IP address “11.0.0.2” (F103) extracted from the subscriber management table 26 are converted into SIP. Stored in the connection destination information 1630 of the session connection information management table 25 of the server 2. The Call-ID information “111111 @ A” (M231-5) and the CSeq information “1011 INVITE” (M231-6) of the INVITE request (M231) are stored in the Call-ID 1650 and the CSeq information 1660 of the session connection information management table 25, respectively. sign up.

受信ステータス1640にINVITE受信 180RINGING待ちとして、エントリ1680‐3に登録する。更に、端末情報1620と接続先情報1630の登録内容を入れ替えと、セッション接続の方向を示すDIR1670を発呼から着呼に変更した内容をエントリ1680‐4を追加登録する。なお、URI1610には、端末情報1620の電話番号を検索キー情報として加入者管理テーブル26に格納されているIPアドレスA1520とIPアドレスB1530が格納される。   The reception status 1640 is registered in the entry 1680-3 as INVITE reception 180 RINGING waiting. Further, when the registration contents of the terminal information 1620 and the connection destination information 1630 are exchanged, the entry 1680-4 is additionally registered with the contents in which the DIR 1670 indicating the session connection direction is changed from an outgoing call to an incoming call. The URI 1610 stores the IP address A 1520 and the IP address B 1530 stored in the subscriber management table 26 using the telephone number of the terminal information 1620 as search key information.

上記の処理により、セッション接続中情報管理テーブル25のエントリ1680‐3とエントリ1680‐4の情報を図19の状態から図20の状態に内容を更新する。次にSIPサーバ2は、着信先のIPアドレスを使用してINVITEリクエストを着呼端末1‐2Bへ送信する(F106,SQ202)。   As a result of the above processing, the contents of the entries 1680-3 and 1680-4 in the session connection information management table 25 are updated from the state of FIG. 19 to the state of FIG. Next, the SIP server 2 transmits an INVITE request to the called terminal 1-2B using the destination IP address (F106, SQ202).

着呼端末1‐2Bは、INVITEリクエスト(SQ202)を受信すると、180 RINGINGをSIPサーバ2に返信する(SQ203)。SIPサーバ2では、受信したSIPメッセージより、INVITEリクエスト(SQ201)を受信したときと同様の処理を行う。このとき、SIPサーバ2では、受信したセッション処理関係のSIPメッセージがINVITEではないため、F103の処理は行わない。   When receiving the INVITE request (SQ202), the called terminal 1-2B returns 180 RINGING to the SIP server 2 (SQ203). The SIP server 2 performs the same process as when an INVITE request (SQ201) is received from the received SIP message. At this time, the SIP server 2 does not perform the process of F103 because the received SIP message related to session processing is not INVITE.

また、180 RINGINGのSIPメッセージには、着信側の端末からSIPメッセージのTO情報にtag情報「tag=456abc」(M232−1)を追記してくるので、SIPサーバ2ではセッション接続中情報管理テーブル25のエントリ1680‐3の接続先情報1630のtag情報とエントリ1680‐4の端末情報1620のtag情報の更新とSIPステータスの更新を行うことで、セッション接続中情報管理テーブル25を図20から図21に変更する。また、接続管理テーブル24のステータスも同様に更新し、接続管理テーブル24を図23(b)から図23(c)に変更する。   Also, in the 180 RINGING SIP message, the tag information “tag = 456abc” (M232-1) is added to the TO information of the SIP message from the terminal on the called side, so that the SIP server 2 has a session connection information management table. By updating the tag information of the connection destination information 1630 of the 25 entry 1680-3, the tag information of the terminal information 1620 of the entry 1680-4, and the SIP status, the session connection information management table 25 is changed from FIG. Change to 21. Similarly, the status of the connection management table 24 is updated, and the connection management table 24 is changed from FIG. 23B to FIG. 23C.

次に故障等によるGWの現用系と待機系の切換えについて説明する。まず、系切替え前のGW5の現用系接続管理テーブル35Aについて説明する。GW5の現用系接続管理テーブル35Aは、SIPサーバ2とのSIPメッセージとGW5で予め持っている加入者の情報からテーブルを生成している。本実施例では、エントリ480‐1とエントリ480‐2が登録されている。   Next, switching between the active system and the standby system of the GW due to a failure or the like will be described. First, the working connection management table 35A of the GW 5 before system switching will be described. The active connection management table 35A of the GW 5 generates a table from the SIP message with the SIP server 2 and the subscriber information previously held in the GW 5. In this embodiment, entry 480-1 and entry 480-2 are registered.

一方、GW5の待機系接続管理テーブル35Sは、エントリ1480‐1のみが登録されている。GW5の待機系30Sは通常は動作しないため、待機系30SでSIPメッセージを処理することはないが、エントリ1480−1は発呼端末と着呼端末の間で通話中の状態に遷移したものであり、状態が確立したため現用系30Aの接続管理テーブル35Aからセッション情報をコピーして情報を一致させている。このとき、GW5に収容している電話端末1‐1Aは現用系のIPアドレス20.0.0.1と待機系のIPアドレス20.0.0.10でIPアドレスが異なるため、待機系30Sでは待機系で使用するIPアドレス 20.0.0.10にIPアドレスを書き換えて、エントリ1480−1の発信者情報1410のIPアドレスを登録する。   On the other hand, only the entry 1480-1 is registered in the standby connection management table 35S of GW5. Since the standby system 30S of the GW 5 does not normally operate, the standby system 30S does not process the SIP message, but the entry 1480-1 is a state in which a call is in progress between the calling terminal and the called terminal. Yes, since the state is established, the session information is copied from the connection management table 35A of the active system 30A to make the information consistent. At this time, the telephone terminal 1-1A accommodated in the GW 5 has different IP addresses between the active IP address 20.0.0.0.1 and the standby IP address 20.0.0.10. Then, the IP address is rewritten to the IP address 20.0.0.10. Used in the standby system, and the IP address of the sender information 1410 of the entry 1480-1 is registered.

エントリ1480−2は、現用系30Aでセッションの状態が確立していないため、現用系30Aからコピーしても状態が短期間で変化するため現用系から状態のコピーをしていないため、エントリ1480−2は空きエントリとなっている。待機系30Sの接続管理テーブル35Sが図17(a)の状態でGW5の現用系と待機系が切り替わったとき、現用系の接続管理テーブル35Aと待機系の接続管理テーブル35Sの状態が一致しておらず、セッションを救済するために待機系の接続管理テーブル35Sの状態を現用系の接続管理テーブル35Aと同じ内容(図17(b))にする必要がある。   Since the session state is not established in the active system 30A, the entry 1480-2 does not copy the state from the active system because the state changes in a short period even if copied from the active system 30A. -2 is an empty entry. When the active system and the standby system of the GW 5 are switched while the connection management table 35S of the standby system 30S is in the state of FIG. 17A, the states of the active system connection management table 35A and the standby system connection management table 35S match. In order to save the session, the state of the standby connection management table 35S needs to be the same as that of the active connection management table 35A (FIG. 17B).

以下にSIPサーバ2から180 RINGINGのSIPメッセージを受信したときに故障が発生したケースを一例としてGW5の系切替え動作について説明する。   Hereinafter, the system switching operation of the GW 5 will be described by taking as an example a case where a failure has occurred when a 180 RINGING SIP message is received from the SIP server 2.

まず、GW5の現用系30Aで障害が発生したとき、GW5の現用系30Aから待機系30Sに対して故障の通知と系の切替え指示を行う(SQ205)。GW5の待機系30Sでは、運用系の切替え指示が現用系からあった場合(F220)、GW5の現用系30Aを待機系に変更し、待機系30Sを現用系に装置状態を変更することで系の切り替えを行う(F221)。   First, when a failure occurs in the active system 30A of the GW 5, the active system 30A of the GW 5 issues a failure notification and a system switching instruction to the standby system 30S (SQ205). In the standby system 30S of the GW 5, when the active system switching instruction is issued from the active system (F220), the active system 30A of the GW 5 is changed to the standby system, and the standby system 30S is changed to the active system by changing the device state. Are switched (F221).

なお、以下の説明では、新しく現用系となった切替え前の待機系を新現用系30Sと記載し、新しく待機系となった切替え前の現用系を旧現用系30Aと記載する。GW5の新現用系30Sは、系が切り替わったことでGW5のIPアドレスが20.0.0.1から20.0.0.10に変更となったことをSIPサーバ2に通知するために、REGISTERメッセージを生成してSIPサーバ2へ送信する(SQ206,F222)。   In the following description, the standby system before switching that becomes the new active system is described as a new active system 30S, and the active system before switching that becomes the new standby system is described as the old active system 30A. In order to notify the SIP server 2 that the new working system 30S of the GW 5 has changed the IP address of the GW 5 from 20.0.0.0.1 to 20.0.0.10. A REGISTER message is generated and transmitted to the SIP server 2 (SQ206, F222).

SIPサーバ2ではREGISTERリクエストを受信した場合(F200)、200 OKを返信すると共に(SQ207)、REGISTERリクエスト内に記載されているTo情報の電話番号「0451111111」(M236‐1)を検索キー情報として加入者管理テーブル26の電話番号1510を検索して、該当の電話番号のエントリ情報を図18(a)から図18(b)に更新する。   When the SIP server 2 receives the REGISTER request (F200), it returns 200 OK (SQ207) and uses the telephone number “0451111111” (M236-1) of the To information described in the REGISTER request as search key information. The telephone number 1510 in the subscriber management table 26 is searched, and the entry information of the corresponding telephone number is updated from FIG. 18 (a) to FIG. 18 (b).

例えば、発呼端末1−1Aの場合、エントリ1550−1が該当するので、REGISTERリクエスト内に記載されているTo情報のIPアドレス「20.0.0.10」(M236‐2)と予め登録されているIPアドレスA1520とIPアドレスB1530と比較して、一致したIPアドレス「20.0.0.10」のIPアドレスBを有効IPアドレスとしてIPアドレス1540に内容を更新する(F205)。   For example, in the case of the calling terminal 1-1A, since the entry 1550-1 is applicable, the IP address “20.0.0.10” (M236-2) of the To information described in the REGISTER request is registered in advance. Compared to the IP address A1520 and the IP address B1530, the IP address B of the matched IP address “20.0.0.10” is updated to the IP address 1540 as the valid IP address (F205).

REGISTERリクエストの処理は、GW5に収容している全加入者について実行し、加入者管理テーブル26のテーブルの状態を図18(a)から図18(b)の状態に変更する。   The processing of the REGISTER request is executed for all the subscribers accommodated in the GW 5, and the state of the subscriber management table 26 is changed from the state shown in FIG. 18 (a) to the state shown in FIG. 18 (b).

更にSIPサーバ2では、GW5のIPアドレスが20.0.0.1から20.0.0.10に変更となるので、接続管理テーブル24の発信者情報1740と着信者情報1750と、セッション接続中情報管理テーブル25の端末情報1620と接続先情報1630に既に登録されているIPアドレス20.0.0.1のエントリ情報をIPアドレス20.0.0.10に情報を更新するため、接続管理テーブル24を図23(c)から図23(d)と変更し、更にセッション接続中情報管理テーブル25を図21から図22に変更する(F210)。   Further, in the SIP server 2, since the IP address of the GW 5 is changed from 20.0.0.0.1 to 20.0.0.10.10, the caller information 1740 and the callee information 1750 in the connection management table 24, and the session connection In order to update the entry information of the IP address 20.0.0.0.1 already registered in the terminal information 1620 and the connection destination information 1630 of the medium information management table 25 to the IP address 20.0.0.10. The management table 24 is changed from FIG. 23C to FIG. 23D, and the session connection information management table 25 is changed from FIG. 21 to FIG. 22 (F210).

GW5の新現用系30Sは、SIPサーバ2に対して旧現用系30AでSIPサーバ2と通信していたときの状態の問合せを行う(F223)。状態の問合せは、GW5の状態問合せ部36Sで行い、例えば、SUBSCRIBEメッセージのフォーマットでEvent情報に状態の問合せを示す「status request」情報(M233‐1)を入れて状態問合せメッセージを生成して(M233)、SUBSCRIBE送信処理F33SがSIPサーバ2へ状態問合せメッセージを送信する(F223,SQ208)。SIPサーバ2ではSUBSCRIBE受信後、200 OKを返信する(SQ209)。   The new active system 30S of the GW 5 inquires of the SIP server 2 about the state when the old active system 30A communicated with the SIP server 2 (F223). The status inquiry is performed by the status inquiry unit 36S of the GW 5, for example, by generating “status request” information (M233-1) indicating the status query in the event information in the format of the SUBSCRIBE message and generating a status inquiry message ( M233), the SUBSCRIBE transmission process F33S transmits a status inquiry message to the SIP server 2 (F223, SQ208). The SIP server 2 returns 200 OK after receiving SUBSCRIBE (SQ209).

SIPサーバ2では、SUBSCRIBE受信処理F23が状態問合せメッセージが他の装置から受信しないかを監視しており(F211)、状態問合せメッセージを受信した場合、状態問合せ処理部23に状態問合せメッセージの内容を通知する。   In the SIP server 2, the SUBSCRIBE reception processing F23 monitors whether or not the status inquiry message is received from another device (F211). When the status inquiry message is received, the status inquiry processing unit 23 sends the content of the status inquiry message. Notice.

状態問合せ処理部23では、問合せ元のIPアドレスを検索キー情報として、セッション接続中情報管理テーブル25のURI1610を検索する(F212)。検索した結果、セッション接続中の端末情報がなかった場合(F213)、セッション接続中の端末情報がないことを問合せ元の装置に通知する(F215)。セッション接続中の端末情報がある場合(F213)、セッション接続状態の状態通知を行う。   The state inquiry processing unit 23 searches the URI 1610 in the session connection information management table 25 using the IP address of the inquiry source as search key information (F212). As a result of the search, if there is no terminal information in the session connection (F213), the inquiry source apparatus is notified that there is no terminal information in the session connection (F215). When there is terminal information during session connection (F213), a session connection state is notified.

状態通知処理は、状態問合せ処理部23で行い、例えば、NOTIFYメッセージのフォーマットでEvent情報に状態問合せに対する状態通知であることを示す「status request」情報(235‐1)を入れてSIPヘッダ(M235‐2)を生成する。セッション接続中の情報は、SIPのボディ(M235‐3)に格納する。状態問合せ処理部23では、セッション接続中の情報は、セッション接続中情報管理テーブル25に登録されている情報から生成する。   The state notification processing is performed by the state inquiry processing unit 23. For example, the “status request” information (235-1) indicating the state notification for the state inquiry is inserted into the event information in the NOTIFY message format, and the SIP header (M235). -2) is generated. Information during session connection is stored in the SIP body (M235-3). In the state inquiry processing unit 23, information during session connection is generated from information registered in the session connection information management table 25.

例えば、セッション接続中情報管理テーブル25の図22のエントリ1680‐3の場合、Dir1670からセッション接続の方向を確認し、端末情報1620が発呼端末であり、接続先情報1630が着呼端末であることを確認する。状態通知の内容は、SIPのステータス1640と、発信者情報、着信者情報、SIP情報であるCall‐ID1650とCSeq1660情報から構成する。まず、SIPステータス1640に格納されている「180 RINGING 200 OK待ち」の情報とCall-ID1650に格納されている「111111@A」の情報とCSeq1660に格納されている「1011 INVITE」の情報から、sip_status情報を生成する(M235‐4)。   For example, in the case of entry 1680-3 of FIG. 22 in the session connection information management table 25, the direction of session connection is confirmed from Dir 1670, terminal information 1620 is the calling terminal, and connection destination information 1630 is the called terminal. Make sure. The content of the status notification includes SIP status 1640, caller information, callee information, and Call-ID 1650 and CSeq 1660 information which are SIP information. First, from the information of “180 RINGING 200 OK waiting” stored in the SIP status 1640, the information of “111111 @ A” stored in the Call-ID 1650, and the information of “1011 INVITE” stored in the CSeq 1660, The sip_status information is generated (M235-4).

発信者情報であるFrom情報には、Dir1670より発呼端末と判断した端末情報1620に格納されている電話番号とIPアドレスと、Tagの情報から、From情報を生成する(M235‐5)。着信者情報であるTo情報には、Dir1670より着呼端末と判断した接続先情報1630に格納されている電話番号とIPアドレスと、Tagの情報から、To情報を生成する(M235‐6)。生成したsip_status情報(M235−4)とFrom情報(M235‐5)とTo情報(M235‐6)をSIPのボディ(M235‐3)情報として、SIPサーバ2では状態通知用に生成したSIPヘッダ(M235‐2)とSIPボディ(M235‐3)を1つのNOTIFYメッセージとして、NOTIFY送信処理F24から問合せ元であるGW5へ状態通知メッセージを送信する(F214,SQ210)。   From information, which is caller information, is generated from the telephone number and IP address stored in the terminal information 1620 determined to be the calling terminal from the Dir 1670 and Tag information (M235-5). In the To information as the callee information, the To information is generated from the telephone number and IP address stored in the connection destination information 1630 determined as the called terminal from the Dir 1670 and the Tag information (M235-6). The generated SIP_status information (M235-4), From information (M235-5), and To information (M235-6) are used as SIP body (M235-3) information, and the SIP server 2 generates a SIP header for status notification ( M235-2) and the SIP body (M235-3) are used as one NOTIFY message, and the status notification message is transmitted from the NOTIFY transmission process F24 to the GW 5 as the inquiry source (F214, SQ210).

例えば、セッション接続中の端末が複数あった場合は、NOTIFYメッセージを端末の台数分のメッセージ送信や、1つのNOTIFYメッセージに複数の端末の情報を入れることもできる。   For example, when there are a plurality of terminals connected to the session, the NOTIFY message can be transmitted as many messages as the number of terminals, or information of a plurality of terminals can be included in one NOTIFY message.

GW5の新現用系30Sでは、SIPサーバからの状態通知があるまで待機して(F224)、NOTIFY受信処理F34Sが状態通知メッセージを受信すると、200 OKをSIPサーバ2に返信する(SQ211)。GW5の新現用系30Sは、状態通知メッセージの内容(M235)を状態通知処理部37Sへ引き渡し、状態通知処理部37Sでは受信した状態通知内容(M235)の情報から接続管理テーブル35Sの図17(a)の空きのエントリであるエントリ1480‐2を図17(b)に更新する。   The new active system 30S of the GW 5 stands by until there is a status notification from the SIP server (F224). When the NOTIFY reception process F34S receives the status notification message, it returns 200 OK to the SIP server 2 (SQ211). The new active system 30S of the GW 5 delivers the content of the status notification message (M235) to the status notification processing unit 37S, and the status notification processing unit 37S uses the received status notification content (M235) information in FIG. 17 of the connection management table 35S. The entry 1480-2 which is an empty entry in a) is updated to FIG.

具体的には、状態通知メッセージ(M235)のFrom情報(M235‐5)から発信者情報1410に発信者の電話番号とIPアドレスと、Tagの情報を格納する。状態通知メッセージ(M235)のTo情報(M235‐6)から着信者情報1420に着信者の電話番号とIPアドレスと、Tagの情報を格納する。更に、状態通知メッセージ(M235)のsip_status情報(M235‐4)からSIPステータス1430と、SIP情報であるCall‐ID1440とCSeq1450の情報を格納することで、空きエントリ1480‐2にセッション情報を格納して接続管理テーブル35Sの図17(a)の状態から接続管理テーブル35Sの図17(b)の状態とし、旧現用系30Aの接続管理テーブル35Aと状態を一致させる(F225)。   Specifically, the sender's telephone number, IP address, and Tag information are stored in the sender information 1410 from the From information (M235-5) of the status notification message (M235). From the To information (M235-6) of the status notification message (M235), the callee information 1420 stores the telephone number, IP address, and Tag information of the callee. Furthermore, by storing the SIP status 1430 and SIP information Call-ID 1440 and CSeq 1450 information from the sip_status information (M235-4) of the status notification message (M235), session information is stored in the empty entry 1480-2. Then, the state of FIG. 17A of the connection management table 35S is changed to the state of FIG. 17B of the connection management table 35S, and the state is matched with the connection management table 35A of the former active system 30A (F225).

GW5は接続管理テーブル35Sの図17(b)の情報から装置内の動作状態を比較して、加入者に対して音源を正常に送出できているか等、系切替えをしなかった場合に本来動作すべき内容を実行できているかを確認する(F226)。動作状態に差分があった場合(F227)、装置内の状態を変更して系切替えを実行していなかった場合に本来動作すべき状態とする(F228)。   The GW 5 compares the operation state in the apparatus from the information in FIG. 17B of the connection management table 35S, and operates originally when the system is not switched, such as whether the sound source can be normally transmitted to the subscriber. It is confirmed whether the content to be executed has been executed (F226). If there is a difference in the operating state (F227), the state in the apparatus is changed to a state that should be originally operated when system switching has not been executed (F228).

例えば、接続管理テーブル35Sの図17(b)のエントリ1480‐2の場合、SIPのステータスが180 RINGINGであるため、180 RINGINGを受信するとGW5は発呼端末1‐1AにRBT(呼び出し音)を送出する必要があるが、新現用系30Sで発呼端末1‐1Aに対してRBT(呼び出し音)を送出しているか状態の比較を行い、送出していない場合、RBT(呼び出し音)の送出を行う。以上の動作を行うことで、GW5は接続管理テーブル35Aと接続管理テーブル35Sの状態を合わせて、系切替え後のセッション接続中のセッションを救済する。状態を一致させた後は、通常状態のときと同じ動作である動作シーケンスSQ212〜SQ223の切断処理までを行う。   For example, in the case of entry 1480-2 in FIG. 17B of the connection management table 35S, since the SIP status is 180 RINGING, the GW 5 sends an RBT (ringing sound) to the calling terminal 1-1A when receiving 180 RINGING. Although it is necessary to send out, RBT (ringing tone) is compared with the status of whether the RBT (ringing tone) is being sent to the calling terminal 1-1A in the new active system 30S. I do. By performing the above operation, the GW 5 matches the states of the connection management table 35A and the connection management table 35S, and rescues the session that is connected to the session after the system switchover. After matching the states, the processing up to the disconnection processing of the operation sequences SQ212 to SQ223, which is the same operation as in the normal state, is performed.

1:電話端末 2:SIPサーバ 3:L2SW 4:ルータ 5:GW   1: Telephone terminal 2: SIP server 3: L2SW 4: Router 5: GW

Claims (24)

音声通信端末と通信する第1の通信部と、
前記音声通信端末の呼接続を行う呼接続装置と通信する第2の通信部と、
前記音声通信端末の呼接続を行う呼接続装置と通信する第3の通信部と、
前記第1の通信部から通信要求を受信すると、前記第2の通信部を介して前記呼接続装置と前記音声通信端末の呼接続処理を行う第1の呼接続処理部と、
予備の前記第3の通信部を介して前記呼接続装置と前記音声通信端末の呼接続処理を行う第2の呼接続処理部と、
障害発生時に、前記呼接続装置に対し前記第1の呼接続処理部が行っていた呼接続処理の接続情報を問い合わせる状態問い合わせ部と、
前記呼接続装置から通知された接続通知を処理する状態通知処理部を有し、
前記第1の呼接続処理部に障害が発生した場合、前記第2の呼接続処理部が前記第3の通信部を介して前記状態問い合わせ部により接続情報の要求メッセージを送信し、前記状態通知処理部により取得した呼接続処理の接続情報を基に呼接続処理を再開することを特徴とする通信装置。
A first communication unit that communicates with the voice communication terminal;
A second communication unit that communicates with a call connection device that performs call connection of the voice communication terminal;
A third communication unit that communicates with a call connection device that performs call connection of the voice communication terminal;
When a communication request is received from the first communication unit, a first call connection processing unit that performs a call connection process between the call connection device and the voice communication terminal via the second communication unit;
A second call connection processing unit for performing a call connection process between the call connection device and the voice communication terminal via the spare third communication unit;
A state inquiry unit for inquiring of the connection information of the call connection processing performed by the first call connection processing unit to the call connection device when a failure occurs;
A status notification processing unit for processing a connection notification notified from the call connection device;
When a failure occurs in the first call connection processing unit, the second call connection processing unit transmits a connection information request message by the state inquiry unit via the third communication unit, and the state notification A communication device that resumes call connection processing based on connection information of call connection processing acquired by a processing unit.
音声通信端末と通信する第1の通信部と、
前記音声通信端末の呼接続を行う呼接続装置と通信する第2の通信部と、
前記音声通信端末の呼接続を行う呼接続装置と通信する第3の通信部と、
前記第1の通信部から通信要求を受信すると、前記第2の通信部を介して前記呼接続装置と前記音声通信端末の呼接続処理を行う第1の呼接続処理部と、
予備の前記第3の通信部を介して前記呼接続装置と前記音声通信端末の呼接続処理を行う第2の呼接続処理部と、
障害発生時に、前記呼接続装置に対し前記第1の呼接続処理部が行っていた呼接続処理の接続情報を問い合わせる状態問い合わせ部と、
前記呼接続装置から通知された接続通知を処理する状態通知処理部を有し、
前記第1の呼接続処理部に障害が発生した場合、前記第2の呼接続処理部が前記第3の通信部を介して前記呼接続装置に対し登録要求を送信し、前記状態問い合わせ部により接続情報の要求メッセージを送信し、前記状態通知処理部により取得した呼接続処理の接続情報を基に呼接続処理を再開することを特徴とする通信装置。
A first communication unit that communicates with the voice communication terminal;
A second communication unit that communicates with a call connection device that performs call connection of the voice communication terminal;
A third communication unit that communicates with a call connection device that performs call connection of the voice communication terminal;
When a communication request is received from the first communication unit, a first call connection processing unit that performs a call connection process between the call connection device and the voice communication terminal via the second communication unit;
A second call connection processing unit for performing a call connection process between the call connection device and the voice communication terminal via the spare third communication unit;
A state inquiry unit for inquiring of the connection information of the call connection processing performed by the first call connection processing unit to the call connection device when a failure occurs;
A status notification processing unit for processing a connection notification notified from the call connection device;
When a failure occurs in the first call connection processing unit, the second call connection processing unit transmits a registration request to the call connection device via the third communication unit, and the state inquiry unit A communication apparatus that transmits a connection information request message and resumes the call connection process based on the connection information of the call connection process acquired by the state notification processing unit.
請求項1記載の通信装置であって、
前記第2の呼接続処理部により呼接続処理を再開する場合には、障害発生前に前記第2の通信部で使用していたアドレスを前記第3の通信部に設定することを特徴とする通信装置。
The communication device according to claim 1,
When the call connection processing is resumed by the second call connection processing unit, an address used in the second communication unit before the failure occurs is set in the third communication unit. Communication device.
請求項2記載の通信装置であって、
前記第2の呼接続処理部により呼接続処理を再開する場合には、障害発生前に前記第2の通信部で使用していたアドレスと異なるアドレスを前記第3の通信部に設定することを特徴とする通信装置。
The communication device according to claim 2,
When the call connection processing is resumed by the second call connection processing unit, an address different from the address used in the second communication unit before the failure occurs is set in the third communication unit. A communication device.
請求項1乃至4記載の通信装置であって、
前記第1の呼接続処理部による呼接続処理、又は、呼接続が確立している通話における接続情報を格納する接続管理テーブルを有し、
呼接続状態が変化するごとに前記接続管理テーブルを更新することを特徴とする通信装置。
The communication device according to claim 1, wherein:
A connection management table storing connection information in a call connection process by the first call connection processing unit or a call in which a call connection is established;
A communication apparatus that updates the connection management table every time a call connection state changes.
請求項5記載の通信装置であって、
呼接続処理が確立した通話の接続情報を前記接続管理テーブルに格納する場合は、予備の接続管理テーブルにも当該呼接続処理が確立した通話の接続情報を格納することを特徴とする通信装置。
The communication device according to claim 5,
In a case where connection information of a call established by call connection processing is stored in the connection management table, the communication apparatus is characterized in that connection information of a call established by the call connection processing is also stored in a spare connection management table.
請求項6記載の通信装置であって、
前記接続情報は、前記発信者情報と、前記着信者情報と、前記呼接続状態と、前記呼接続の識別情報を含むことを特徴とする通信装置。
The communication device according to claim 6, wherein
The communication apparatus includes the caller information, the callee information, the call connection status, and the identification information of the call connection.
請求項7記載の通信装置であって、
前記第2の呼接続処理部は、前記第1の呼接続処理部に障害が発生した場合、前記予備の接続管理テーブルを用いて呼接続処理を行うことを特徴とする通信装置。
The communication device according to claim 7,
The communication apparatus, wherein the second call connection processing unit performs call connection processing using the spare connection management table when a failure occurs in the first call connection processing unit.
請求項1乃至8記載の通信装置であって、
前記通知された呼接続処理の接続情報には、障害発生前の呼接続処理で使用していた発信者情報、着信者情報、呼接続の状態、呼接続の識別情報が含まれることを特徴とする通信装置。
The communication device according to claim 1, wherein
The notified connection information of the call connection process includes caller information, callee information, call connection status, and call connection identification information used in the call connection process before the failure occurred. Communication device.
請求項9記載の通信装置であって、
前記状態通知処理部は、前記受信した呼接続処理の接続情報を前記予備の接続管理テーブルに格納し、
前記第2の呼接続処理部は、当該格納された呼接続処理の接続情報を用いて中断された呼接続処理を再開することを特徴とする通信装置。
The communication device according to claim 9, wherein
The status notification processing unit stores connection information of the received call connection processing in the spare connection management table,
The second call connection processing unit resumes the interrupted call connection processing by using the stored connection information of the call connection processing.
請求項1乃至2記載の通信装置であって、
前記問い合わせはSIPのSUBSCRIBEメッセージにより送信することを特徴とする通信装置。
The communication device according to claim 1, wherein:
The inquiry is transmitted by a SIP SUBSCRIBE message.
請求項11記載の通信装置であって、
前記接続情報はSIPのNOTIFYメッセージにより受信することを特徴とする通信装置。
The communication device according to claim 11,
The communication information is received by a SIP NOTIFY message.
請求項7記載の通信装置であって、
前記呼接続の識別情報は、CALL−IDとCseqであることを特徴とする通信装置。
The communication device according to claim 7,
The call connection identification information is CALL-ID and Cseq.
請求項2記載の通信装置であって、
前記登録要求は、SIPのREGISTERメッセージであることを特徴とする通信装置。
The communication device according to claim 2,
The communication apparatus, wherein the registration request is a SIP REGISTER message.
音声通信端末同士の呼接続処理を行う呼接続装置であって、
前記音声通信端末と通信する通信部と、
前記音声通信端末同士の呼接続処理を行う呼接続処理部と、
前記音声通信端末同士の呼接続処理の接続情報を管理する呼接続中状態管理テーブルと、
前記呼接続中状態管理テーブルに格納された接続情報の要求メッセージを受信処理する状態問い合わせ処理部とを有し、
前記呼接続中状態管理テーブルは、前記呼接続処理部が前記通信部を介して行う呼接続処理の接続情報が更新される毎に当該呼接続処理の接続情報が格納され、
前記状態問い合わせ処理部は、前記格納した呼接続の接続情報の要求メッセージを受信すると当該格納した呼接続の接続情報を要求元装置に通知することを特徴とする呼接続装置。
A call connection device that performs call connection processing between voice communication terminals,
A communication unit communicating with the voice communication terminal;
A call connection processing unit for performing a call connection process between the voice communication terminals;
A call connection state management table for managing connection information of call connection processing between the voice communication terminals;
A state inquiry processing unit for receiving and processing a connection information request message stored in the call connection state management table;
The call connection state management table stores connection information of the call connection process each time connection information of the call connection process performed by the call connection processing unit via the communication unit is updated.
The state inquiry processing unit, when receiving the stored call connection connection information request message, notifies the request source apparatus of the stored call connection connection information.
請求項15記載の呼接続装置であって、
前記状態問い合わせ処理部は、前記受信した要求メッセージの送信元アドレスを検索キーとして前記呼接続中状態管理テーブルを検索し、前記要求元装置に通知する接続情報を取り出すことを特徴とする呼接続装置。
The call connection device according to claim 15,
The state inquiry processing unit searches the call connection state management table using a transmission source address of the received request message as a search key, and extracts connection information notified to the request source device. .
請求項16記載の呼接続装置であって、
前記状態問い合わせ処理部は、前記呼接続中状態管理テーブルを検索して前記要求元装置が要求する接続情報が見つからない場合はその旨を前記要求元装置に通知することを特徴とする呼接続装置。
The call connection device according to claim 16, wherein
The state inquiry processing unit searches the state management table during call connection and, when connection information requested by the request source device is not found, notifies the request source device to that effect .
請求項15乃至16記載の呼接続装置であって、
前記呼接続中状態テーブルに格納される呼接続の接続情報には、発信者情報、着信者情報、呼接続の状態、呼接続の識別情報が含まれることを特徴とする呼接続装置。
The call connection device according to any one of claims 15 to 16, comprising:
The call connection device stored in the call connection status table includes caller information, callee information, call connection status, and call connection identification information.
請求項15乃至18記載の呼接続装置であって、
前記要求メッセージはSIPのSUBSCRIBEメッセージであることを特徴とする呼接続装置。
The call connection device according to claim 15 to 18, comprising:
The call connection apparatus, wherein the request message is a SIP SUBSCRIBE message.
請求項15乃至19記載の呼接続装置であって、
前記前記要求元装置への通知はSIPのNOTIFYメッセージであることを特徴とする呼接続装置。
The call connection device according to claim 15 to 19, comprising:
The call connection device, wherein the notification to the request source device is a SIP NOTIFY message.
音声通信端末の呼接続処理を中継する通信装置と、音声通信端末同士の呼接続処理を行う呼接続装置からなる呼接続システムにおいて、
前記通信装置は、
音声通信端末と通信する第1の通信部と、前記音声通信端末の呼接続を行う呼接続装置と通信する第2の通信部と、前記音声通信端末の呼接続を行う呼接続装置と通信する第3の通信部と、前記第1の通信部から通信要求を受信すると、前記第2の通信部を介して前記呼接続装置と前記音声通信端末の呼接続処理を行う第1の呼接続処理部と、予備の前記第3の通信部を介して前記呼接続装置と前記音声通信端末の呼接続処理を行う第2の呼接続処理部と、障害発生時に、前記呼接続装置に対し前記第1の呼接続処理部が行っていた呼接続処理の接続情報を問い合わせる状態問い合わせ部と、前記呼接続装置から通知された接続通知を処理する状態通知処理部を有し、
前記第1の呼接続処理部に障害が発生した場合、前記第2の呼接続処理部が前記第3の通信部を介して前記状態問い合わせ部により接続情報の要求メッセージを送信し、前記状態通知処理部により取得した呼接続処理の接続情報を基に呼接続処理を再開し、
前記呼接続装置は、
前記音声通信端末と通信する通信部と、前記音声通信端末同士の呼接続処理を行う呼接続処理部と、前記音声通信端末同士の呼接続処理の接続情報を管理する呼接続中状態管理テーブルと、前記呼接続中状態管理テーブルに格納された接続情報の要求メッセージを受信処理する状態問い合わせ処理部とを有し、
前記呼接続中状態管理テーブルは、前記呼接続処理部が前記通信部を介して行う呼接続処理の接続情報が更新される毎に当該呼接続処理の接続情報が格納され、前記状態問い合わせ処理部は、前記格納した呼接続の接続情報の要求メッセージを受信すると当該格納した呼接続の接続情報を要求元装置に通知することを特徴とする呼接続システム。
In a call connection system comprising a communication device that relays call connection processing of voice communication terminals and a call connection device that performs call connection processing between voice communication terminals,
The communication device
A first communication unit that communicates with a voice communication terminal, a second communication unit that communicates with a call connection device that performs call connection of the voice communication terminal, and a call connection device that performs call connection of the voice communication terminal When a communication request is received from a third communication unit and the first communication unit, a first call connection process for performing a call connection process between the call connection device and the voice communication terminal via the second communication unit A second call connection processing unit that performs a call connection process between the call connection device and the voice communication terminal via the spare third communication unit, and the call connection device when the failure occurs. A state inquiry unit that inquires about connection information of call connection processing performed by one call connection processing unit, and a state notification processing unit that processes connection notification notified from the call connection device,
When a failure occurs in the first call connection processing unit, the second call connection processing unit transmits a connection information request message by the state inquiry unit via the third communication unit, and the state notification Resume the call connection process based on the connection information of the call connection process acquired by the processing unit,
The call connection device includes:
A communication unit that communicates with the voice communication terminal; a call connection processing unit that performs a call connection process between the voice communication terminals; and a call connection state management table that manages connection information of the call connection process between the voice communication terminals; A status inquiry processing unit for receiving and processing a connection information request message stored in the call connection status management table,
The call connection status management table stores connection information of the call connection process each time connection information of the call connection process performed by the call connection processing unit via the communication unit is updated. Receives the stored call connection connection information request message and notifies the request source apparatus of the stored call connection connection information.
請求項21記載の呼接続システムであって、
前記呼接続装置の前記状態問い合わせ処理部は、前記受信した要求メッセージの送信元アドレスを検索キーとして前記呼接続中状態管理テーブルを検索し、前記要求元装置に通知する接続情報を取り出すことを特徴とする呼接続システム。
The call connection system according to claim 21, wherein
The state inquiry processing unit of the call connection device searches the call connection state management table using a transmission source address of the received request message as a search key, and extracts connection information notified to the request source device. Call connection system.
請求項22記載の呼接続システムであって、
前記接続情報は、発信者情報と、着信者情報と、呼接続状態と、呼接続の識別情報を含むことを特徴とする呼接続システム。
The call connection system according to claim 22, wherein
The connection information includes caller information, callee information, call connection status, and call connection identification information.
請求項23記載の呼接続システムであって、
前記通信装置が送信する要求メッセージはSIPのSUBSCRIBEメッセージであり、
前記呼接続装置が送信する通知はSIPのNOTIFYメッセージであることを特徴とする呼接続システム。
The call connection system according to claim 23, wherein
The request message transmitted by the communication device is a SIP SUBSCRIBE message,
The notification transmitted by the call connection device is a SIP NOTIFY message.
JP2009242946A 2009-10-22 2009-10-22 System and device for relieving session Pending JP2011091589A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009242946A JP2011091589A (en) 2009-10-22 2009-10-22 System and device for relieving session

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009242946A JP2011091589A (en) 2009-10-22 2009-10-22 System and device for relieving session

Publications (1)

Publication Number Publication Date
JP2011091589A true JP2011091589A (en) 2011-05-06

Family

ID=44109428

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009242946A Pending JP2011091589A (en) 2009-10-22 2009-10-22 System and device for relieving session

Country Status (1)

Country Link
JP (1) JP2011091589A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014518464A (en) * 2011-05-30 2014-07-28 テレフオンアクチーボラゲット エル エム エリクソン(パブル) System and method for passive communication service

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014518464A (en) * 2011-05-30 2014-07-28 テレフオンアクチーボラゲット エル エム エリクソン(パブル) System and method for passive communication service
US9819700B2 (en) 2011-05-30 2017-11-14 Telefonaktiebolaget Lm Ericsson (Publ) System and method for passive communication services

Similar Documents

Publication Publication Date Title
CN103634490B (en) The gateway that a kind of enterprise network being provided for use SIP can be survived
US8446847B2 (en) System, device and method for implementing special call service
JP4470934B2 (en) Proxy server, communication system, communication method, and program
CN102177690B (en) Methods, systems, and computer readable media for providing sedation service in a telecommunications network
JP5275908B2 (en) Communication system, session control management server, and session control method
US20050198320A1 (en) Resilient application layer overlay framework for converged communication over internet protocol networks
US20050180317A1 (en) Server backup device
WO2001044890A9 (en) Sip-based feature control
JP2006279805A (en) Management server, backup server, and program
AU2005200060A1 (en) Managing routing path of voice over internet protocol (VoIP) system
WO2009026759A1 (en) A method and a system for the service of multiple terminals with one number ringing simultaneously
EP1715651A2 (en) Method and apparatus for enabling local survivability during network disruptions
CN101668097B (en) Escaping method for IP telephone set and communication device
WO2007079647A1 (en) A method, apparatus and system for network level backup of sip application system
JP2014535209A (en) SIP proxy failover method
CN100466641C (en) System for supporting multi ITSP based on SIP and realizing method
JP4599424B2 (en) Telephone system, exchange device thereof, and transmission control method
JP2011091589A (en) System and device for relieving session
JP4329747B2 (en) VoIP server, redundant system of VoIP server, and maintenance method thereof
US7852991B1 (en) Method and apparatus for updating a speed dialing list
US8331258B2 (en) Method and device for responding to termination service state change indication
JP2011097469A (en) Telephone system and exchange apparatus therefor
US7720974B2 (en) Global routable and grid identification for audio provider in media session
JP2008085916A (en) Main unit for communication system, and registration method used in the main unit
US8619636B1 (en) Methods and systems for creating optimized transmission paths for VoIP conference calls