JP4329747B2 - VoIP server, redundant system of VoIP server, and maintenance method thereof - Google Patents

VoIP server, redundant system of VoIP server, and maintenance method thereof Download PDF

Info

Publication number
JP4329747B2
JP4329747B2 JP2005249575A JP2005249575A JP4329747B2 JP 4329747 B2 JP4329747 B2 JP 4329747B2 JP 2005249575 A JP2005249575 A JP 2005249575A JP 2005249575 A JP2005249575 A JP 2005249575A JP 4329747 B2 JP4329747 B2 JP 4329747B2
Authority
JP
Japan
Prior art keywords
voip
server
priority
sip server
voip server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2005249575A
Other languages
Japanese (ja)
Other versions
JP2007067670A (en
Inventor
聡 冨永
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yamaha Corp
Original Assignee
Yamaha Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yamaha Corp filed Critical Yamaha Corp
Priority to JP2005249575A priority Critical patent/JP4329747B2/en
Publication of JP2007067670A publication Critical patent/JP2007067670A/en
Application granted granted Critical
Publication of JP4329747B2 publication Critical patent/JP4329747B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Description

この発明は、VoIPのシグナリング等を行うVoIPサーバ、VoIPサーバの冗長システム及びそのメンテナンス方法に関するものである。   The present invention relates to a VoIP server that performs VoIP signaling and the like, a redundant system of VoIP servers, and a maintenance method thereof.

一般に、IP電話システムは、VoIP端末(IP電話機)、IPネットワーク、VoIPサーバから構成されている。このうちVoIPサーバは、VoIP端末からの発信を受け取って着信先VoIP端末への呼制御を行う手段と、IPネットワーク上のVoIP端末に位置情報の登録を受け付ける手段とを備えている。すなわち、VoIPサーバは、VoIP端末の発信者からの要求に応じて着信先を決定し、呼制御の中継を行う。   In general, an IP telephone system includes a VoIP terminal (IP telephone), an IP network, and a VoIP server. Among these, the VoIP server includes means for receiving a call from the VoIP terminal and controlling the call to the destination VoIP terminal, and means for receiving registration of location information in the VoIP terminal on the IP network. That is, the VoIP server determines a destination according to a request from the originator of the VoIP terminal, and performs call control relay.

このようなVoIPサーバのメンテナンスには、IP電話システムを停止させないまま行うこと(いわゆる無停止メンテナンス)が要求される。   Such maintenance of the VoIP server requires that the IP telephone system be performed without stopping (so-called non-stop maintenance).

また一般に、サーバシステムには、サーバに障害が発生してもシステムとして運用を継続させることが求められる。例えばクライアント・サーバシステムにおいてシステムがダウンした際に、待機系のサーバを自動的に運用系サーバとして切り換えるような冗長機能を有するサーバシステムが特許文献1に示されている。   In general, a server system is required to continue operation as a system even if a failure occurs in the server. For example, Patent Document 1 discloses a server system having a redundant function that automatically switches a standby server as an active server when a system goes down in a client / server system.

また、多数のクライアントからの要求を複数のサーバで分担して処理するためにロードバランサ(負荷分散装置)が用いられている。
特開2003−228527公報
In addition, a load balancer (load distribution device) is used to process requests from a large number of clients by sharing the processing among a plurality of servers.
JP 2003-228527 A

ところが、特許文献1に示されているシステムは、運用系サーバに障害が生じた際に待機系サーバに自動的に切り換えられるようにしたシステムであり、運用系サーバのメンテナンスを任意に行えるものではない。また、前記ロードバランサを用いることは単一サーバへのアクセス集中を防いでサービスレベルを維持するだけでなく可用性や耐障害性を向上させる上で有効ではあるが、複数のサーバとは別に専用の装置としてのロードバランサを設けなければならず、システム全体の規模が大がかりになり、非常にコスト高になるという問題があった。   However, the system disclosed in Patent Document 1 is a system that is automatically switched to a standby server when a failure occurs in the active server, and is not capable of arbitrarily maintaining the active server. Absent. The use of the load balancer is effective not only for maintaining the service level by preventing the concentration of access to a single server but also for improving availability and fault tolerance. There is a problem that a load balancer as a device has to be provided, and the scale of the entire system becomes large and the cost is very high.

そこで、この発明の目的は、システムの規模及びコストを増大させることなく無停止メンテナンスを容易且つ確実に行えるようにしたVoIPサーバ、VoIPサーバの冗長システム及びそのメンテナンス方法を提供することにある。   SUMMARY OF THE INVENTION An object of the present invention is to provide a VoIP server, a redundant system of VoIP servers, and a maintenance method thereof that can perform non-stop maintenance easily and reliably without increasing the scale and cost of the system.

この発明は、元々ルータの多重化を行うためのプロトコルであるVRRP(Virtual Router Redundancy Protocol)を利用して、VoIPサーバの冗長化と優先度の動的な変更によって、マスタモードとバックアップモードの設定を適宜行えるようにし、VoIPサーバを実質的に停止することなくメンテナンスを行えるようにしたものである。   The present invention uses VRRP (Virtual Router Redundancy Protocol), which is originally a protocol for multiplexing routers, to set the master mode and the backup mode by making the VoIP server redundant and changing the priority dynamically. Thus, maintenance can be performed without substantially stopping the VoIP server.

この発明のVoIPサーバは、VoIP端末から発信を受け取り、着信先のVoIP端末へ呼制御を行う呼制御手段と、VoIP端末のIPアドレスを特定するための位置情報の登録を行う登録手段とを有し、
前記VoIP端末からのパケットの受け取り先である仮想IPアドレスを設定する手段と、優先度の設定入力に応じて優先度を設定するとともに、他のVoIPサーバへ優先度の情報を含むVRRPパケットを送信し、他のVoIPサーバより受け取ったVRRPパケット(広告パケット)から優先度を読み取る優先度処理手段と、
前記位置情報を他のVoIPサーバとの間でミラーリングする手段と、
他のVoIPサーバから受け取った前記VRRPパケットに含まれている優先度が自身の優先度より順位が高いとき、(自身が)仮想IPアドレス向けのパケットに関する処理を行わないバックアップモードになり、マスタモードのVoIPサーバから一定時間以内にVRRPパケットを受け取らなかったとき、(自身が)仮想IPアドレス向けのパケットを受け取って前記呼制御及び登録を行い、且つ一定周期でVRRPパケットを送出するマスタモードになるモード設定手段と、を備えたことを特徴としている。
The VoIP server of the present invention has call control means for receiving a call from a VoIP terminal and controlling the call to the destination VoIP terminal, and registration means for registering location information for specifying the IP address of the VoIP terminal. And
A means for setting a virtual IP address that is a recipient of a packet from the VoIP terminal, a priority is set according to a priority setting input, and a VRRP packet including priority information is transmitted to another VoIP server Priority processing means for reading the priority from a VRRP packet (advertisement packet) received from another VoIP server;
Means for mirroring the location information with another VoIP server;
When the priority included in the VRRP packet received from another VoIP server has a higher rank than its own priority, the backup mode in which the processing for the packet for the virtual IP address is not performed (master mode) When it does not receive a VRRP packet from a VoIP server within a certain time, it receives a packet for a virtual IP address, performs the call control and registration, and sends out a VRRP packet at a certain period. And mode setting means.

また、この発明のVoIPサーバの冗長システムは、上記VoIPサーバを複数設けて、各VoIPサーバに異なった優先度を設定し、各VoIPサーバに同一の仮想IPアドレスを設定することにより構成する。この場合、最も優先度が高いVoIPサーバをマスタモードで動作させ、他のVoIPサーバをバックアップモードで動作させることによって冗長化する。   The redundant system of VoIP servers according to the present invention is configured by providing a plurality of VoIP servers, setting different priorities for each VoIP server, and setting the same virtual IP address for each VoIP server. In this case, redundancy is achieved by operating the VoIP server with the highest priority in the master mode and operating other VoIP servers in the backup mode.

また、この発明のVoIPサーバのメンテナンス方法は、上記VoIPサーバの冗長システムにおいて、メンテナンス対象のVoIPサーバの優先度を他のVoIPサーバの優先度より低くし、そのメンテナンス対象のVoIPサーバのモードをバックアップモードにすることによって任意のVoIPサーバのメンテナンスを可能とする。   In the VoIP server maintenance method of the present invention, in the redundant system of the VoIP server, the priority of the maintenance target VoIP server is made lower than the priority of the other VoIP servers, and the mode of the maintenance target VoIP server is backed up. Maintenance of an arbitrary VoIP server is enabled by setting the mode.

この発明によれば、優先度の設定入力によって、マスタモードであったVoIPサーバをバックアップモードに切り替えることができ、そのVoIPサーバのメンテナンスが可能となる。   According to the present invention, the VoIP server that has been in the master mode can be switched to the backup mode by the priority setting input, and maintenance of the VoIP server becomes possible.

しかも、バックアップモードであったVoIPサーバは、マスタモードであったVoIPサーバから位置情報をミラーリングしているので、位置情報をそのまま引き継ぐことができる。   Moreover, since the VoIP server in the backup mode mirrors the position information from the VoIP server in the master mode, the position information can be taken over as it is.

この発明の実施形態に係るVoIPサーバと、それを備えた冗長システム及びVoIPサーバのメンテナンス方法について各図を参照して説明する。
図1はVoIPサーバの冗長システムの構成を示すブロック図である。この実施形態では、シグナリングプロトコルとしてSIP(Session Initiation Protocol)を用いるので、以降VoIPサーバのことをSIPサーバという。
A VoIP server according to an embodiment of the present invention, a redundant system including the VoIP server, and a VoIP server maintenance method will be described with reference to the drawings.
FIG. 1 is a block diagram showing the configuration of a redundant system of VoIP servers. In this embodiment, since SIP (Session Initiation Protocol) is used as a signaling protocol, the VoIP server is hereinafter referred to as a SIP server.

インターネット等のネットワーク2には冗長化SIPサーバ1とVoIP端末3,4を備えていて、IP電話システムを構成している。   A network 2 such as the Internet is provided with a redundant SIP server 1 and VoIP terminals 3 and 4 to constitute an IP telephone system.

冗長化SIPサーバ1は、後述するように複数のSIPサーバから構成している。各SIPサーバはプロシキサーバ、リダイレクトサーバ、登録サーバ、ロケーションサーバの4つの機能を有している。VoIP端末3,4はSIPプロトコルによって冗長化SIPサーバ1との間で通信を行い、発信や応答等を行う。またRTP(Real-time Transport Protocol)によってVoIP端末同士で通話を行う。   The redundant SIP server 1 is composed of a plurality of SIP servers as will be described later. Each SIP server has four functions: a proxy server, a redirect server, a registration server, and a location server. The VoIP terminals 3 and 4 communicate with the redundant SIP server 1 using the SIP protocol, and perform transmission and response. In addition, VoIP terminals communicate with each other by RTP (Real-time Transport Protocol).

図2は上記冗長化SIPサーバの構成の一例を示すブロック図である。この例では第1のSIPサーバ11と第2のSIPサーバ12とで冗長化SIPサーバ1を構成している。この冗長化SIPサーバ1の第1のSIPサーバ11と、第2のSIPサーバ12と、ルータ13とはそれぞれ同一セグメントのLANに接続している。ルータ13はWANと上記LANとの間でルーティング制御を行う。SIPサーバ11,12のハードウェアの構成は同一であり、後述する制御によって一方がマスタモードで動作するとき、他方がバックアップモードで動作する。   FIG. 2 is a block diagram showing an example of the configuration of the redundant SIP server. In this example, the redundant SIP server 1 is constituted by the first SIP server 11 and the second SIP server 12. The first SIP server 11, the second SIP server 12, and the router 13 of the redundant SIP server 1 are connected to the same segment LAN. The router 13 performs routing control between the WAN and the LAN. The hardware configurations of the SIP servers 11 and 12 are the same, and when one operates in the master mode under the control described later, the other operates in the backup mode.

図2に示した例では2つのSIPサーバ11,12を用いたが、3つ以上のSIPサーバを設けてもよい。その場合も、1つのSIPサーバがマスタモードで動作し、他のSIPサーバはバックアップモードで動作する。   In the example shown in FIG. 2, two SIP servers 11 and 12 are used, but three or more SIP servers may be provided. Also in this case, one SIP server operates in the master mode, and the other SIP servers operate in the backup mode.

図3は登録時の処理手順を示す図である。VoIP端末3が自身(VoIP端末3)の位置情報を登録する場合、まず冗長化SIPサーバ1に対してREGISTERリクエストを行う。このREGISTERリクエストにはVoIP端末3のURI(例えばUserA@west.net)とVoIP端末3のIPアドレス情報を含んでいて、冗長化SIPサーバ1はこの関連付け情報を登録する。その後、冗長化SIPサーバ1はVoIP端末3に対して200OKレスポンスメッセージを応答する。   FIG. 3 is a diagram showing a processing procedure at the time of registration. When the VoIP terminal 3 registers its own (VoIP terminal 3) location information, it first makes a REGISTER request to the redundant SIP server 1. This REGISTER request includes the URI of the VoIP terminal 3 (for example, UserA@west.net) and the IP address information of the VoIP terminal 3, and the redundant SIP server 1 registers this association information. Thereafter, the redundant SIP server 1 returns a 200OK response message to the VoIP terminal 3.

図4は呼制御の手順の例を示す図である。呼制御は次の手順で行う。
(1)まずVoIP端末3は冗長化SIPサーバ1に対してinitial-INVITEリクエスト(セッション確立要求)を送る。
(2)冗長化SIPサーバ1は該当着信者のVoIP端末4に対してINVITEリクエストを送る。
(3)着信者側のVoIP端末4は、呼び出しのベルを鳴らすとともに、発信者へ呼び出し中を意味する180Ringingレスポンスを送る。
(4)冗長化SIPサーバ1は発信者側のVoIP端末3に対して180Ringingレスポンスを送る。
(5)着信者側のVoIP端末4は、受話器がオフフックされて応答があると、冗長化SIPサーバ1へ200OKレスポンスを送る。
(6)冗長化SIPサーバ1は発信者側のVoIP端末3に対して200OKレスポンスを送る。
(7)発信者側VoIP端末3は冗長化SIPサーバ1に対してACKリクエストを送る。
FIG. 4 is a diagram showing an example of a call control procedure. Call control is performed according to the following procedure.
(1) First, the VoIP terminal 3 sends an initial-INVITE request (session establishment request) to the redundant SIP server 1.
(2) The redundant SIP server 1 sends an INVITE request to the VoIP terminal 4 of the corresponding callee.
(3) The VoIP terminal 4 on the called party rings the ringing bell and sends a 180 Ringing response indicating that the calling is being performed to the calling party.
(4) The redundant SIP server 1 sends a 180 Ringing response to the VoIP terminal 3 on the caller side.
(5) The VoIP terminal 4 on the called party side sends a 200OK response to the redundant SIP server 1 when the handset is off-hook and there is a response.
(6) The redundant SIP server 1 sends a 200OK response to the VoIP terminal 3 on the caller side.
(7) The caller side VoIP terminal 3 sends an ACK request to the redundant SIP server 1.

(8)冗長化SIPサーバ1は該当着信者のVoIP端末4に対してACKリクエストを送る。これによりRTPによる回線接続が確立し通話可能となる。
(9)その後、通話が終了し、発信者側VoIP端末3の受話器がオンフックされると、冗長化SIPサーバ1に対して切断を意味するBYE(通話終了)リクエストを送る。
(8) The redundant SIP server 1 sends an ACK request to the VoIP terminal 4 of the corresponding callee. As a result, a line connection by RTP is established and a call can be made.
(9) After that, when the call ends and the receiver of the caller side VoIP terminal 3 is on-hooked, a BYE (call end) request indicating disconnection is sent to the redundant SIP server 1.

(10)冗長化SIPサーバ1は該当着信者のVoIP端末4に対してBYE(通話終了)リクエストを送る。
(11)着信者側VoIP端末4は冗長化SIPサーバ1へ200OKレスポンスを送る。
(12)冗長化SIPサーバ1は発信者側VoIP端末3に対して200OKレスポンスを送る。これにより呼制御が終了することになる。
図5・図6は上記冗長化SIPサーバの構成を示す機能ブロック図である。ここでSIPサーバの主な機能はVRRP制御部とVoIP制御部とで実現する。図5に示すように、VRRP制御部は他方のSIPサーバのVRRP制御部との間でVRRPパケットをやりとりする。またVoIP制御部は、他方のSIPサーバのVoIP制御部との間でVoIP端末の位置情報のミラーリングを行う。
(10) The redundant SIP server 1 sends a BYE (call end) request to the VoIP terminal 4 of the corresponding callee.
(11) The callee side VoIP terminal 4 sends a 200OK response to the redundant SIP server 1.
(12) The redundant SIP server 1 sends a 200OK response to the caller side VoIP terminal 3. As a result, call control ends.
5 and 6 are functional block diagrams showing the configuration of the redundant SIP server. Here, the main functions of the SIP server are realized by the VRRP control unit and the VoIP control unit. As shown in FIG. 5, the VRRP control unit exchanges VRRP packets with the VRRP control unit of the other SIP server. The VoIP control unit mirrors the location information of the VoIP terminal with the VoIP control unit of the other SIP server.

上記VRRPパケットのやりとりによって2つのSIPサーバ11,12のモードが定まる。VRRP制御部は優先度に関する情報を持っていて、基本的には優先度の高い方のSIPサーバがマスタモードとして動作し、低い方がバックアップモードとして動作する。   The mode of the two SIP servers 11 and 12 is determined by the exchange of the VRRP packet. The VRRP control unit has information on priority, and basically, the SIP server with the higher priority operates as the master mode, and the lower one operates as the backup mode.

上記2つのSIPサーバ11,12には同一の仮想IPアドレスを設定していて、VoIP端末3から冗長化SIPサーバ1に対して仮想IPアドレスでアクセスすることによって、マスタモードのSIPサーバから実アドレスで返答されることになる。また、着信者側のVoIP端末に対しては、最初のINVITEリクエストからマスタモードのSIPサーバの実アドレスを使用して通信する。これにより、呼が確立した後のSIPサーバとのやりとりはSIPサーバの実アドレスを用いたものとなる。   The same virtual IP address is set for the two SIP servers 11 and 12, and the real address is obtained from the master mode SIP server by accessing the redundant SIP server 1 from the VoIP terminal 3 with the virtual IP address. Will be answered. Further, communication is made to the VoIP terminal on the called party side using the real address of the SIP server in the master mode from the first INVITE request. As a result, the exchange with the SIP server after the call is established uses the real address of the SIP server.

図6は第1のSIPサーバ11又は第2のSIPサーバ12のいずれかをメンテナンスする場合の動作について説明するための図である。マスタモードとして動作していた第1のSIPサーバ11をメンテナンスする場合、その第1のSIPサーバ11の優先度を第2のSIPサーバ12の優先度より小さくすることによって、まず第2のSIPサーバ12をマスタモード、第1のSIPサーバ11をバックアップモードとして動作させる。マスタモードではVoIP端末3から前記REGISTER及びinitial-INVITEに対する処理を行い、バックアップモードのSIPサーバとの間で位置情報のミラーリングを行う。   FIG. 6 is a diagram for explaining the operation in the case where either the first SIP server 11 or the second SIP server 12 is maintained. When maintaining the first SIP server 11 that has been operating as the master mode, the first SIP server 11 is set to a lower priority than the second SIP server 12 by setting the priority of the first SIP server 11 first. 12 is operated in the master mode, and the first SIP server 11 is operated in the backup mode. In the master mode, the VoIP terminal 3 processes the REGISTER and initial-INVITE, and mirrors the location information with the backup mode SIP server.

したがってバックアップモードであったSIPサーバ12がマスタモードになった以降は、そのマスタモードになった第2のSIPサーバ12がVoIP端末3から新規の呼制御(initial-INVITE)や登録(REGISTER)制御を行う。一方、マスタモードであったSIPサーバ11がバックアップモードになった以降は新規の呼制御や登録を受け付けない。但し、第1のSIPサーバ11がマスタモードとして動作していたときに既に呼制御を始めていれば、第1のSIPサーバ11はその呼制御を継続して行う。   Therefore, after the SIP server 12 in the backup mode becomes the master mode, the second SIP server 12 in the master mode performs new call control (initial-INVITE) and registration (REGISTER) control from the VoIP terminal 3. I do. On the other hand, no new call control or registration is accepted after the SIP server 11 that has been in the master mode has entered the backup mode. However, if the call control has already started when the first SIP server 11 is operating in the master mode, the first SIP server 11 continues to perform the call control.

図7・図8は上記冗長化SIPサーバの動作手順を示している。
図7はモードの自動設定に関する処理手順である。まずVRRPパケットを受信し(S1)、自SIPサーバがマスタモードであるとき、受信したVRRPパケットに含まれているSIPサーバの優先度Prと自身の優先度Pmとの大小比較を行う。Pr>Pmの関係であれば、自SIPサーバをバックアップモードに設定する(S2→S3→S4)。その後、タイマTをリスタートする(S5)。このタイマTは自SIPサーバ以外の他のSIPサーバからVRRPパケットを受け取ってからの経過時間を計時するものである。
自SIPサーバがバックアップモードであるときは、単にタイマTをリスタートする(S2→S5)。
7 and 8 show the operation procedure of the redundant SIP server.
FIG. 7 shows a processing procedure related to automatic mode setting. First, a VRRP packet is received (S1), and when the SIP server is in the master mode, the SIP server priority Pr included in the received VRRP packet is compared with its own priority Pm. If Pr> Pm, the local SIP server is set to the backup mode (S2->S3-> S4). Thereafter, the timer T is restarted (S5). This timer T measures the elapsed time after receiving a VRRP packet from a SIP server other than its own SIP server.
When the own SIP server is in the backup mode, the timer T is simply restarted (S2 → S5).

上記タイマTは所定時間を計時した時点で満了する。このタイマTの計時が満了した場合、すなわち他のSIPサーバから所定時間を経過するまで上記Pr>Pmの関係を満たすVRRPパケットを受信しなかった場合、自SIPサーバがバックアップモードであれば、自SIPサーバをマスタモードに設定する(S11→S12)。そしてタイマTを停止する(S13)。自SIPサーバがマスタモードであれば、タイマTの計時を停止する(S11→S13)。   The timer T expires when a predetermined time is measured. When the timer T expires, that is, when a VRRP packet that satisfies the relationship of Pr> Pm is not received from another SIP server until a predetermined time has elapsed, if the SIP server is in backup mode, The SIP server is set to the master mode (S11 → S12). Then, the timer T is stopped (S13). If the own SIP server is in the master mode, the timer T stops counting (S11 → S13).

また、自SIPサーバがマスタモードであれば、上記タイマTとは別のタイマに従って一定周期でVRRPパケットを送出する。   If the local SIP server is in the master mode, VRRP packets are transmitted at a constant cycle according to a timer different from the timer T.

このようにして、マスタモードのSIPサーバから所定時間以内にVRRPパケットが届かなければ自身がマスタモードになり、VRRPパケットを受け取り、且つ受け取ったVRRPパケットに含まれている優先度の順位が自身の優先度の順位より高い場合、自SIPサーバはバックアップモードとなる。   In this way, if the VRRP packet does not arrive from the SIP server in the master mode within a predetermined time, it enters the master mode, receives the VRRP packet, and the priority ranking included in the received VRRP packet is If it is higher than the priority order, the local SIP server is in the backup mode.

図8はSIPサーバの通常運用時及びメンテナンス時の処理内容を示すフローチャートである。まず管理者は、通常状態での各種設定を行う(S21)。ここでの設定項目には、冗長化SIPサーバの仮想IPアドレス、各SIPサーバの実IPアドレス及び優先度を含んでいる。例えばマスタモードで動作させるSIPサーバの優先度としては“200”を設定し、バックアップモードで動作させるSIPサーバの優先度としては“100”を設定する。各SIPサーバはこの設定に応じたVRRP動作を開始する。   FIG. 8 is a flowchart showing the processing contents during normal operation and maintenance of the SIP server. First, the administrator performs various settings in the normal state (S21). The setting items here include the virtual IP address of the redundant SIP server, the actual IP address of each SIP server, and the priority. For example, “200” is set as the priority of the SIP server operated in the master mode, and “100” is set as the priority of the SIP server operated in the backup mode. Each SIP server starts a VRRP operation according to this setting.

その後、管理者は、必要に応じて通常/メンテナンスの状態の切替を行う(S22)。通常状態からメンテナンス状態への状態変更を行う場合、メンテナンス対象とするSIPサーバの優先度を下げる(S23→S24→S26)。例えば、優先度“200”のマスタモードであったSIPサーバの優先度を“2”とする。この優先度はバックアップモードのSIPサーバの優先度“100”より小さいので、そのメンテナンス対象サーバはバックアップモードに移行する。一方、バックアップモードであったSIPサーバはその優先度“100”が優先度“2”より大きいので、マスタモードへ移行する。   Thereafter, the administrator switches the normal / maintenance state as necessary (S22). When changing the state from the normal state to the maintenance state, the priority of the SIP server to be maintained is lowered (S23 → S24 → S26). For example, the priority of the SIP server that was in the master mode with the priority “200” is set to “2”. Since this priority is lower than the priority “100” of the SIP server in the backup mode, the maintenance target server shifts to the backup mode. On the other hand, since the priority “100” is higher than the priority “2”, the SIP server in the backup mode shifts to the master mode.

メンテナンス状態から通常状態への状態変更を行う場合、通常状態にするSIPサーバの優先度を元に戻す(S23→S24→S25)。上述の例では優先度“2”を“200”に戻す。この優先度は一時的にマスタモードで動作していたSIPサーバの優先度“100”より大きいので、その通常状態に戻す対象のSIPサーバはマスタモードに移行する。一方、マスタモードであったSIPサーバは、自SIPサーバの優先度“100”より大きな優先度“200”を持つSIPサーバが現れたことにより、バックアップモードへ移行する。   When changing the state from the maintenance state to the normal state, the priority of the SIP server to be changed to the normal state is restored (S23 → S24 → S25). In the above example, the priority “2” is returned to “200”. Since this priority is higher than the priority “100” of the SIP server that was temporarily operating in the master mode, the SIP server to be returned to the normal state shifts to the master mode. On the other hand, the SIP server in the master mode shifts to the backup mode when an SIP server having a priority “200” higher than the priority “100” of the local SIP server appears.

なお、メンテナンス対象のSIPサーバが、バックアップモードで動作しているSIPサーバである場合も、その優先度を、マスタモードになり得るSIPサーバの優先度“100”より小さな値に設定する。例えば“1”に設定する。この優先度は元々マスタモードであったSIPサーバがバックアップモードになったときの優先度“2”よりさらに小さいので、複数のSIPサーバがメンテナンス状態になった状態でも、優先度の順位関係を保つことができる。   Even when the maintenance target SIP server is a SIP server operating in the backup mode, the priority is set to a value smaller than the priority “100” of the SIP server that can be in the master mode. For example, it is set to “1”. Since this priority is lower than the priority “2” when the SIP server originally in the master mode becomes the backup mode, the priority order relationship is maintained even when the plurality of SIP servers are in the maintenance state. be able to.

ところで、上述したように、バックアップモードでは新規の呼制御(initial-INVITE)及び登録(REGISTER)の処理を行わず、これらの処理は新たにマスタモードになったSIPサーバが受け持つ。但しこのメンテナンス対象とするSIPサーバがマスタモードであったときに既に呼制御が始まっている呼については、その呼制御が終了するまで処理を継続することになる。この呼に関する情報には、呼識別子(CALL-ID)、タグ情報、呼状態等があり、これらはバックアップモードになった以降も、そのセッションが終了するまで保持する。   By the way, as described above, in the backup mode, new call control (initial-INVITE) and registration (REGISTER) processes are not performed, and these processes are handled by the SIP server newly in the master mode. However, for a call for which call control has already started when the SIP server to be maintained is in the master mode, the processing is continued until the call control ends. Information related to this call includes a call identifier (CALL-ID), tag information, a call state, and the like, which are retained until the session ends even after the backup mode is set.

図9は、マスタモードであった第1サーバをバックアップモードにした以降の時間経過に伴う呼量の変化の例を示している。第1サーバがマスタモードであるとき、第1サーバが全ての呼制御を行うので第1サーバの呼量の割合は100%であるが、時刻0でこの第1のSIPサーバがバックアップモードになり、第2のSIPサーバがマスタモードになった以降は第2のSIPサーバが新規の呼制御を開始するので、第2のSIPサーバの呼量が増大していく。この時間経過にともない、第1のSIPサーバの呼制御は通話の終了とともに次第に減少していく。ここで最大通話時間を例えば5分に定めておけば、第1のSIPサーバのメンテナンスのためにその優先度を下げた以降、5分後には全ての呼を第2のSIPサーバが受け持つことになって、第1のSIPサーバは全ての処理に対して開放状態となる。このことによって冗長化SIPサーバを停止することなく、メンテナンス対象とする第1のSIPサーバのメンテナンスが可能となる。   FIG. 9 shows an example of a change in call volume over time after the first server in the master mode is set to the backup mode. When the first server is in the master mode, since the first server performs all call control, the call volume ratio of the first server is 100%, but at the time 0, the first SIP server enters the backup mode. Since the second SIP server starts a new call control after the second SIP server enters the master mode, the call volume of the second SIP server increases. As this time elapses, the call control of the first SIP server gradually decreases as the call ends. If the maximum call time is set to 5 minutes, for example, the second SIP server will handle all calls after 5 minutes after the priority is lowered for maintenance of the first SIP server. Thus, the first SIP server becomes open for all processes. This allows maintenance of the first SIP server to be maintained without stopping the redundant SIP server.

なお、以上に示した実施形態ではSIPサーバを例に挙げたが、シグナリングプロトコルとしてH.323など他のプロトコルを用いるシステムにも同様に適用できる。   In the embodiment described above, the SIP server is taken as an example, but the present invention can be similarly applied to a system using another protocol such as H.323 as a signaling protocol.

SIPサーバとその冗長システムの全体の構成を示すブロック図である。It is a block diagram which shows the whole structure of a SIP server and its redundant system. 冗長化SIPサーバの構成を示すブロック図である。It is a block diagram which shows the structure of a redundant SIP server. 登録時の処理手順を示すブロック図である。It is a block diagram which shows the process sequence at the time of registration. 呼制御の処理手順を示すブロック図である。It is a block diagram which shows the process sequence of call control. 冗長化SIPサーバの機能ブロック図である。It is a functional block diagram of a redundant SIP server. 冗長化SIPサーバの機能ブロック図である。It is a functional block diagram of a redundant SIP server. SIPサーバのモードの設定に関する処理手順を示すフローチャートである。It is a flowchart which shows the process sequence regarding the setting of the mode of a SIP server. SIPサーバの通常時とメンテナンス時の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence at the time of the normal time of SIP server, and a maintenance. メンテナンス時の第1・第2のSIPサーバの処理する呼量の時間変化の例を示す図である。It is a figure which shows the example of the time change of the call volume which the 1st, 2nd SIP server at the time of a maintenance processes.

符号の説明Explanation of symbols

1…冗長化SIPサーバ、 2…ネットワーク、3,4…VoIP端末   DESCRIPTION OF SYMBOLS 1 ... Redundant SIP server, 2 ... Network, 3, 4 ... VoIP terminal

Claims (3)

VoIP端末から発信を受け取り、着信先のVoIP端末へ呼制御を行う呼制御手段と、VoIP端末のIPアドレスを特定するための位置情報の登録を行う登録手段とを有するVoIPサーバにおいて、
前記VoIP端末からのパケットの受け取り先である仮想IPアドレスを設定する手段と、
優先度の設定入力に応じて優先度を設定するとともに、他のVoIPサーバへ優先度の情報を含むVRRPパケットを送信し、他のVoIPサーバより受け取ったVRRPパケットから優先度を読み取る優先度処理手段と、
前記位置情報を他のVoIPサーバとの間でミラーリングする手段と、
他のVoIPサーバから受け取った前記VRRPパケットに含まれている優先度が自身の優先度より順位が高いとき、仮想IPアドレス向けのパケットに関する処理を行わないバックアップモードになり、マスタモードのVoIPサーバから一定時間以内にVRRPパケットを受け取らなかったとき、仮想IPアドレス向けのパケットを受け取って前記呼制御及び登録を行い、且つ一定周期でVRRPパケットを送出するマスタモードになるモード設定手段と、
を備えたVoIPサーバ。
Receiving outgoing from the VoIP terminal, a call control means for controlling calls to the destination of the VoIP terminal, and registering means for registering positional information for specifying the IP address of the VoIP terminal, the VoIP server having,
Means for setting a virtual IP address that is a recipient of a packet from the VoIP terminal;
Priority processing means for setting a priority according to a priority setting input, transmitting a VRRP packet including priority information to another VoIP server, and reading the priority from the VRRP packet received from the other VoIP server When,
Means for mirroring the location information with another VoIP server;
When the priority included in the VRRP packet received from another VoIP server has a higher rank than its own priority, the backup mode in which processing relating to the packet for the virtual IP address is not performed is performed, and the master mode VoIP server A mode setting means for receiving a packet for a virtual IP address when receiving a VRRP packet within a certain period of time, performing the call control and registration, and entering a master mode in which a VRRP packet is transmitted at a certain period;
VoIP server with
請求項1に記載のVoIPサーバを複数設けるとともに、各VoIPサーバに前記優先度を設定し、各VoIPサーバに同一の仮想IPアドレスを設定してなるVoIPサーバの冗長システム。   A redundant system of VoIP servers, wherein a plurality of VoIP servers according to claim 1 are provided, the priority is set for each VoIP server, and the same virtual IP address is set for each VoIP server. 請求項2に記載のVoIPサーバの冗長システムにおいて、メンテナンス対象のVoIPサーバの前記優先度を他のVoIPサーバの優先度より低くし、当該メンテナンス対象のVoIPサーバのモードをバックアップモードにするVoIPサーバのメンテナンス方法。   The redundant system of the VoIP server according to claim 2, wherein the priority of the maintenance target VoIP server is made lower than the priority of the other VoIP server, and the mode of the maintenance target VoIP server is set to the backup mode. Maintenance method.
JP2005249575A 2005-08-30 2005-08-30 VoIP server, redundant system of VoIP server, and maintenance method thereof Expired - Fee Related JP4329747B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005249575A JP4329747B2 (en) 2005-08-30 2005-08-30 VoIP server, redundant system of VoIP server, and maintenance method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005249575A JP4329747B2 (en) 2005-08-30 2005-08-30 VoIP server, redundant system of VoIP server, and maintenance method thereof

Publications (2)

Publication Number Publication Date
JP2007067670A JP2007067670A (en) 2007-03-15
JP4329747B2 true JP4329747B2 (en) 2009-09-09

Family

ID=37929384

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005249575A Expired - Fee Related JP4329747B2 (en) 2005-08-30 2005-08-30 VoIP server, redundant system of VoIP server, and maintenance method thereof

Country Status (1)

Country Link
JP (1) JP4329747B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090262724A1 (en) * 2006-08-18 2009-10-22 Nec Corporation Proxy server, communication system, communication method and program
JP2010147788A (en) * 2008-12-18 2010-07-01 Toshiba Corp Communication system, terminal registration method therefor, server unit and terminal device
JP5317185B2 (en) * 2009-01-30 2013-10-16 Necインフロンティア株式会社 Hot standby system and hot standby method
JP5607011B2 (en) * 2011-09-30 2014-10-15 富士通テレコムネットワークス株式会社 Server redundancy system, virtual router and server

Also Published As

Publication number Publication date
JP2007067670A (en) 2007-03-15

Similar Documents

Publication Publication Date Title
KR101458336B1 (en) A backup sip server for the survivability of an enterprise network using sip
US8125888B2 (en) Session initiation protocol survivable server
US7809846B2 (en) Resilient application layer overlay framework for converged communication over Internet protocol networks
EP2901651B1 (en) Application layer session routing
WO2008047920A1 (en) Proxy server, communication system, communication method, and program
US8972586B2 (en) Bypassing or redirecting a communication based on the failure of an inserted application
US9389969B2 (en) Method for SIP proxy failover
JP2007235556A (en) Relay server, and method and program for controlling connection
JP4329747B2 (en) VoIP server, redundant system of VoIP server, and maintenance method thereof
US8189764B2 (en) Server for transferring a communication message
JP4599424B2 (en) Telephone system, exchange device thereof, and transmission control method
JP2007266737A (en) Call control system and method, and server
JP4017592B2 (en) VoIP system and VoIP telephone
JP2009089001A (en) Ip telephone system, ip telephone terminal, and program
JP2006352543A (en) Sip telephone exchange system
JP2008048180A (en) SIP BASE EXCHANGE, CONTROL METHOD OF VoIP SYSTEM, AND CONTROL PROGRAM
JP4308237B2 (en) Exchange apparatus, communication system, and communication control method
JP2011082868A (en) Call relief system, call relief server, and call relief program for call relief server
JP2006180106A (en) Connection control system and connection control method and communication controller

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080314

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080812

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20081002

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20090526

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090608

R150 Certificate of patent or registration of utility model

Ref document number: 4329747

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20120626

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20120626

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20130626

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20140626

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees