JP2014179866A - Server, network device, server system, and communication destination determination method - Google Patents

Server, network device, server system, and communication destination determination method Download PDF

Info

Publication number
JP2014179866A
JP2014179866A JP2013053438A JP2013053438A JP2014179866A JP 2014179866 A JP2014179866 A JP 2014179866A JP 2013053438 A JP2013053438 A JP 2013053438A JP 2013053438 A JP2013053438 A JP 2013053438A JP 2014179866 A JP2014179866 A JP 2014179866A
Authority
JP
Japan
Prior art keywords
server
life
sip server
network device
packet
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.)
Granted
Application number
JP2013053438A
Other languages
Japanese (ja)
Other versions
JP6127615B2 (en
Inventor
Takayuki Suzuki
隆幸 鈴木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP2013053438A priority Critical patent/JP6127615B2/en
Publication of JP2014179866A publication Critical patent/JP2014179866A/en
Application granted granted Critical
Publication of JP6127615B2 publication Critical patent/JP6127615B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

PROBLEM TO BE SOLVED: To resolve a problem that communication between network devices is disconnected, in such a general server system that the network device controls a communication path.SOLUTION: In a server system, a plurality of servers and a plurality of network devices are connected. The server does not reply the network device with a response packet when life-and-death confirmation packets for confirming life and death of the own devices are not received from all connected network devices. The network device establishes a communication path with any one server among the plurality of connected servers to perform communication. In a case where no response packet is returned to the life-and-death confirmation packet transmitted to a predetermined server in communication at present, the network device establishes a communication path with a server with the highest priority among the servers other than the predetermined server.

Description

本発明は、サーバ、ネットワーク機器、サーバシステム、通信先決定方法に関し、特に、
多重化されたサーバに障害が発生しても通信を継続するサーバ、ネットワーク機器、サーバシステム、通信先決定方法に関する。
The present invention relates to a server, a network device, a server system, and a communication destination determination method.
The present invention relates to a server, a network device, a server system, and a communication destination determination method that continue communication even when a failure occurs in a multiplexed server.

一般的に、システムの信頼性を高めるために、サーバを二重化したサーバシステムが知られている。   In general, in order to increase the reliability of the system, a server system in which servers are duplicated is known.

例えば、特許文献1には、SIP(Session Initiation Protocol)サーバを二重化したサーバシステムが開示されている。特許文献1のサーバシステムは、運用系SIPサーバに障害が発生した場合には、運用系SIPサーバを待機系に切り替え、待機系SIPサーバを運用系に切り替える。上述の切り替えを実現する為に、各SIPサーバは、以下の動作を行う。まず、各SIPサーバは、同一のIPアドレス(以下、「サービスIPアドレス」という)を持つ。各SIPサーバは、サービスIPアドレスを端末に登録する。次に、運用系SIPサーバは、自身に障害が発生した場合には、自身のサービスIPアドレスを無効化し、待機状態に移行する。一方、待機系SIPサーバは、運用系サーバに障害が発生した場合には、自身のサービスIPアドレスを有効化し、運用状態に移行する。その結果、特許文献1のサーバシステムは、上述の切り替えを実現でき、SIPサーバから端末までの通信経路を、障害のある運用系SIPサーバではなく、待機系SIPサーバを経由する経路に変更して、SIPサーバと端末間の通信を維持する。   For example, Patent Document 1 discloses a server system in which a SIP (Session Initiation Protocol) server is duplicated. When a failure occurs in the active SIP server, the server system of Patent Literature 1 switches the active SIP server to the standby system and switches the standby SIP server to the active system. In order to realize the switching described above, each SIP server performs the following operation. First, each SIP server has the same IP address (hereinafter referred to as “service IP address”). Each SIP server registers a service IP address with the terminal. Next, when a failure occurs in the active SIP server, the active SIP server invalidates its own service IP address and shifts to a standby state. On the other hand, when a failure occurs in the active server, the standby SIP server validates its own service IP address and shifts to the operating state. As a result, the server system of Patent Document 1 can realize the above-described switching, and the communication path from the SIP server to the terminal is changed to a path via the standby SIP server instead of the faulty active SIP server. , Maintaining communication between the SIP server and the terminal.

ところで、上述のサーバを二重化したサーバシステムには、サーバの障害を検知すると、特許文献1のサーバシステムのようにサーバ自身が通信経路を変更するシステムもあれば、サーバに接続されている各ネットワーク機器が通信経路を変更するシステムもある。   By the way, in the server system in which the above-described server is duplicated, there is a system in which the server itself changes the communication path as in the server system of Patent Document 1 when a server failure is detected, or each network connected to the server There is also a system in which a device changes a communication path.

後者のサーバシステムは、以下のように、サーバの障害を検知し、通信経路を変更する。なお、図1は、ネットワーク機器が通信経路を変更する一般的なサーバシステムの構成例を示す図である。図2は、ネットワーク機器が通信経路を変更する一般的なサーバシステムの動作を説明する為の図である。   The latter server system detects a server failure and changes the communication path as follows. FIG. 1 is a diagram illustrating a configuration example of a general server system in which a network device changes a communication path. FIG. 2 is a diagram for explaining the operation of a general server system in which a network device changes a communication path.

まず、サーバに接続されている各ネットワーク機器は、サーバの障害を検知する為、各サーバに死活確認パケットを送信する。例えば、図1の構成のサーバシステムでは、ネットワーク機器A、Bが、それぞれ、サーバ、すなわちプライマリサーバとセカンダリサーバに死活確認パケットを送信する。死活確認パケットは、サーバに障害が発生していないならば、応答を返すことを求めるパケットである。また、上述のプライマリサーバは運用系サーバ、セカンダリサーバは待機系サーバである。次に、各サーバは、ネットワーク機器から死活確認パケットを受信し、自身に障害がないことを確認すると、死活確認パケットを送信してきたネットワーク機器に応答パケットを返信する。例えば、上述のプライマリサーバとセカンダリサーバは、図2に示されるように、ネットワーク機器A、Bから死活確認パケットを受信し、自身に障害がないことを確認すると、ネットワーク機器A、Bに対し、応答パケットを返信する。各ネットワーク機器は、プライマリサーバから応答パケットを受信すると、プライマリサーバに障害がないものと判断し、まずは、プライマリサーバとの間で通信経路を確立する。その結果、各ネットワーク機器、例えばネットワーク機器A、Bは、プライマリサーバを経由して通信を行うことができる。その後、各ネットワーク機器は、各サーバに死活確認パケットを周期的に送信し続ける。各サーバは、死活確認パケットを受信し、自身に障害があることを確認したときは、死活確認パケットを送信してきたネットワーク機器に応答パケットを返信しない。各ネットワーク機器は、プライマリサーバから応答パケットを返信されない場合には、プライマリサーバに障害が発生したものと判断する。各ネットワーク機器は、プライマリサーバに障害が発生したものと判断すると、セカンダリサーバを新たな通信先に決定し、セカンダリサーバとの間で通信経路を確立する。その結果、各ネットワーク機器は、セカンダリサーバを経由して、すなわち通信経路を変更して、通信を継続することができる。なお、上述のネットワーク機器は、ルータやサーバであってもよい。   First, each network device connected to the server transmits a life / death confirmation packet to each server in order to detect a failure of the server. For example, in the server system having the configuration shown in FIG. 1, the network devices A and B transmit life and death confirmation packets to the servers, that is, the primary server and the secondary server, respectively. The life / death confirmation packet is a packet for requesting a response if a failure has not occurred in the server. The primary server described above is an active server, and the secondary server is a standby server. Next, each server receives the alive confirmation packet from the network device and, when confirming that there is no failure in itself, returns a response packet to the network device that has transmitted the alive confirmation packet. For example, as shown in FIG. 2, the primary server and the secondary server described above receive the alive confirmation packet from the network devices A and B and confirm that there is no failure in the network devices A and B. A response packet is returned. When each network device receives a response packet from the primary server, each network device determines that there is no failure in the primary server, and first establishes a communication path with the primary server. As a result, each network device, for example, network devices A and B, can communicate via the primary server. Thereafter, each network device continues to periodically transmit a life / death confirmation packet to each server. When each server receives the alive confirmation packet and confirms that it has a failure, it does not send a response packet back to the network device that has transmitted the alive confirmation packet. Each network device determines that a failure has occurred in the primary server when no response packet is returned from the primary server. When each network device determines that a failure has occurred in the primary server, it determines the secondary server as a new communication destination and establishes a communication path with the secondary server. As a result, each network device can continue communication via the secondary server, that is, by changing the communication path. Note that the above-described network device may be a router or a server.

特開2007−142976号公報JP 2007-142976 A

しかし、上述のネットワーク機器が通信経路を変更する一般的なサーバシステム(以下、「一般的なサーバシステム」という)では、ネットワーク機器間の通信が切断してしまうという課題があった。その理由を以下に説明する。なお、図3は、ネットワーク機器が通信経路を変更する一般的なサーバシステムの動作(通信切断時の動作)を説明する為の図である。   However, in the general server system (hereinafter referred to as “general server system”) in which the above-described network device changes the communication path, there is a problem that communication between the network devices is disconnected. The reason will be described below. FIG. 3 is a diagram for explaining an operation (operation when communication is disconnected) of a general server system in which a network device changes a communication path.

まず、上述の一般的なサーバシステムでは、各サーバは、各ネットワーク機器から死活確認パケットを受信することを前提とする。しかし、一般的なサーバシステムのサーバは、実際、様々な要因により、一部のネットワーク機器から死活確認パケットを受信できない場合がある。例えば、図3に示されるように、プライマリサーバは、ネットワーク機器Aに応答パケットを返した後、ネットワーク機器Bとの間で通信量が増加し、処理能力を超えると、ネットワーク機器Bからの死活確認パケットをロスし、受信できないことがある。また、プライマリサーバとネットワーク機器B間のケーブルが劣化して、プライマリサーバは、死活確認パケットを受信できないことがある。ここで、プライマリサーバは、一部のネットワーク機器(図3の例ではネットワーク機器B)から死活確認パケットを受信できないとき、そのネットワーク機器に応答パケットを返さない。その結果、プライマリサーバから応答パケットが返されないネットワーク機器(図3の例ではネットワーク機器B)は、セカンダリサーバを通信先と決定し、セカンダリサーバとの間で通信経路を確立する。一方、プライマリサーバから応答パケットが返されたネットワーク機器(図3の例ではネットワーク機器A)は、プライマリサーバとの間で確立した通信経路を継続する。その結果、各ネットワーク機器は、通信先が同じサーバでないので、通信経路が途切れ、通信が切断してしまうという課題が発生していた。   First, in the general server system described above, it is assumed that each server receives a life / death confirmation packet from each network device. However, a server in a general server system may not be able to receive a life / death confirmation packet from some network devices due to various factors. For example, as shown in FIG. 3, after the primary server returns a response packet to the network device A, the amount of communication with the network device B increases, and if the processing capacity is exceeded, the primary server is alive and dead from the network device B. Confirmation packets may be lost and cannot be received. In addition, the cable between the primary server and the network device B may deteriorate, and the primary server may not be able to receive the alive confirmation packet. Here, when the primary server cannot receive the alive check packet from some network devices (network device B in the example of FIG. 3), it does not return a response packet to the network device. As a result, the network device (network device B in the example of FIG. 3) to which no response packet is returned from the primary server determines the secondary server as the communication destination and establishes a communication path with the secondary server. On the other hand, the network device (network device A in the example of FIG. 3) to which the response packet is returned from the primary server continues the communication path established with the primary server. As a result, since each network device is not the same server as the communication destination, there is a problem that the communication path is interrupted and communication is disconnected.

本発明は、上記課題を解決するサーバ、ネットワーク機器、サーバシステム、通信先決定方法を提供することを目的とする。   An object of this invention is to provide the server, network apparatus, server system, and communication destination determination method which solve the said subject.

上記目的を達成するために、本発明のサーバは、接続されるネットワーク機器全てから自身の死活を確認するための死活確認パケットを受信していないと、応答パケットを前記ネットワーク機器に返さない。   In order to achieve the above object, the server of the present invention does not return a response packet to the network device unless it has received a life / death confirmation packet for confirming its own life / death from all connected network devices.

上記目的を達成するために、本発明のネットワーク機器は、接続された複数のサーバのうち、いずれかの前記サーバとの間で通信経路を確立し、通信を行うネットワーク機器であって、現在、通信を行っている所定の前記サーバに送信した死活確認パケットに対し、応答パケットが返されない場合、前記所定のサーバ以外の他の前記サーバのうち、優先度の最も高いサーバとの間で通信経路を確立する。   In order to achieve the above object, a network device of the present invention is a network device that establishes a communication path and communicates with any one of a plurality of connected servers. When a response packet is not returned for the life / death confirmation packet transmitted to the predetermined server that is performing communication, a communication path to the server having the highest priority among the other servers other than the predetermined server Establish.

上記目的を達成するために、本発明のサーバシステムは、複数のサーバと複数のネットワーク機器が接続されたサーバシステムであって、前記サーバは、接続されるネットワーク機器全てから自身の死活を確認するための死活確認パケットを受信していないと、応答パケットを前記ネットワーク機器に返さないサーバであり、前記ネットワーク機器は、接続された複数のサーバのうち、いずれかの前記サーバとの間で通信経路を確立し、通信を行うネットワーク機器であって、現在、通信を行っている所定の前記サーバに送信した死活確認パケットに対し、応答パケットが返されない場合、前記所定のサーバ以外の他の前記サーバのうち、優先度の最も高いサーバとの間で通信経路を確立するネットワーク機器である。   In order to achieve the above object, a server system of the present invention is a server system in which a plurality of servers and a plurality of network devices are connected, and the server confirms its own life and death from all the connected network devices. A server that does not return a response packet to the network device if no alive confirmation packet is received, and the network device communicates with any one of the connected servers. If a response packet is not returned for the life / death confirmation packet transmitted to the predetermined server that is currently communicating, the other server other than the predetermined server Among them, the network device establishes a communication path with the server having the highest priority.

上記目的を達成するために、本発明の通信先決定方法は、複数のサーバと複数のネットワーク機器が接続されたサーバシステムにおいて、前記ネットワーク機器が通信先の前記サーバを決定する通信先決定方法であって、前記ネットワーク機器は、所定の前記サーバに死活確認パケットを送信し、前記所定のサーバは、接続される前記ネットワーク機器全てから前記死活確認パケットを受信していないと、応答パケットを前記ネットワーク機器に返さず、前記ネットワーク機器は、前記応答パケットが返されない場合、前記所定のサーバ以外の他の前記サーバのうち、優先度の最も高いサーバを通信先に決定し、決定した前記サーバとの間で通信経路を確立する。   In order to achieve the above object, a communication destination determination method according to the present invention is a communication destination determination method in which a network device determines a server as a communication destination in a server system in which a plurality of servers and a plurality of network devices are connected. The network device transmits a life / death confirmation packet to the predetermined server, and if the predetermined server has not received the life / death confirmation packet from all of the connected network devices, a response packet is transmitted to the network. If the response packet is not returned to the network device, the network device determines the server having the highest priority among the other servers other than the predetermined server as the communication destination, and Establish a communication path between them.

本発明によれば、ネットワーク機器が通信経路を制御する一般的なサーバシステムは、サーバを経由して行われるネットワーク機器間の通信を継続することができる。   According to the present invention, a general server system in which a network device controls a communication path can continue communication between network devices performed via a server.

ネットワーク機器が通信経路を変更する一般的なサーバシステムの構成例を示す図である。It is a figure which shows the structural example of the general server system from which a network apparatus changes a communication path. ネットワーク機器が通信経路を変更する一般的なサーバシステムの動作を説明する為の図である。It is a figure for demonstrating operation | movement of the general server system from which a network apparatus changes a communication path. ネットワーク機器が通信経路を変更する一般的なサーバシステムの動作(通信切断時の動作)を説明する為の図である。It is a figure for demonstrating the operation | movement (operation | movement at the time of communication disconnection) of the general server system which a network apparatus changes a communication path. 本発明の第1の実施の形態におけるサーバシステムの構成例を示す図である。It is a figure which shows the structural example of the server system in the 1st Embodiment of this invention. 本発明の第1の実施の形態におけるサーバシステムが保持する死活確認リストを説明する為の図である。It is a figure for demonstrating the life / death confirmation list | wrist which the server system in the 1st Embodiment of this invention hold | maintains. 本発明の第1の実施の形態におけるサーバシステムの動作(通常時の動作)を説明する為の図である。It is a figure for demonstrating operation | movement (normal operation | movement) of the server system in the 1st Embodiment of this invention. 本発明の第1の実施の形態におけるサーバシステムの動作(プライマリSIPサーバが一部のネットワーク機器から死活確認パケットを受信できなくなった場合の動作)を説明する為の図である。It is a figure for demonstrating operation | movement of the server system in 1st Embodiment of this invention (Operation | movement when a primary SIP server becomes unable to receive a life / death confirmation packet from some network devices). 本発明の第1の実施の形態におけるサーバシステムの動作(プライマリSIPサーバに障害が発生した場合の動作)を説明する為の図である。It is a figure for demonstrating operation | movement (operation | movement when a failure generate | occur | produces in a primary SIP server) in the server system in the 1st Embodiment of this invention. 本発明の第1の実施の形態におけるサーバシステムの動作(通信先をセカンダリSIPサーバ12に変更した後の動作)を説明する為の図である。It is a figure for demonstrating operation | movement (operation | movement after changing the communication destination into the secondary SIP server 12) of the server system in the 1st Embodiment of this invention. 本発明の第1の実施の形態におけるサーバシステムの動作(プライマリSIPサーバが保守者によって復旧された場合の動作)を説明する為の図である。It is a figure for demonstrating operation | movement (operation | movement when a primary SIP server is recovered | restored by the maintenance person) in the 1st Embodiment of this invention. 本発明の第2の実施の形態におけるサーバシステムの構成例を示す図である。It is a figure which shows the structural example of the server system in the 2nd Embodiment of this invention.

次に本発明の実施形態について、図面を参照して詳細に説明する。   Next, embodiments of the present invention will be described in detail with reference to the drawings.

[第1の実施の形態]
[構成の説明]
まず、本発明の第1の実施の形態におけるサーバシステムの構成と機能について説明する。
[First Embodiment]
[Description of configuration]
First, the configuration and function of the server system in the first embodiment of the present invention will be described.

(1)本発明の第1の実施の形態におけるサーバシステムの構成
図4は、本発明の第1の実施の形態におけるサーバシステムの構成例を示す図である。図4に示されるように、本実施形態のサーバシステムは、SIP(Session Initiation Protocol)サーバが二重化されたシステムであって、プライマリSIPサーバ11と、セカンダリSIPサーバ12を備える。また、本実施形態のサーバシステムは、CA(Call Agent)サーバ21と、NW(Network)機器31と、加入者端末41と、PSTN(Public Switched Telephone Networks)網51を備える。
(1) Configuration of Server System in First Embodiment of the Present Invention FIG. 4 is a diagram showing a configuration example of a server system in the first embodiment of the present invention. As shown in FIG. 4, the server system according to the present embodiment is a system in which a SIP (Session Initiation Protocol) server is duplicated, and includes a primary SIP server 11 and a secondary SIP server 12. The server system of this embodiment includes a CA (Call Agent) server 21, an NW (Network) device 31, a subscriber terminal 41, and a PSTN (Public Switched Telephony Networks) network 51.

さらに、プライマリSIPサーバ11は、死活確認部110を備え、セカンダリSIPサーバ12は、死活確認部120を備える。CAサーバ21は、拠点切替部210を備え、NW機器31は、拠点切替部310を備える。   Further, the primary SIP server 11 includes a life and death confirmation unit 110, and the secondary SIP server 12 includes a life and death confirmation unit 120. The CA server 21 includes a site switching unit 210, and the NW device 31 includes a site switching unit 310.

CAサーバ21は、図4に示されるように、プライマリSIPサーバ11と、セカンダリSIPサーバ12と、PSTN網51に接続される。また、NW機器31は、プライマリSIPサーバ11と、セカンダリSIPサーバ12と、加入者端末41に接続される。   As shown in FIG. 4, the CA server 21 is connected to the primary SIP server 11, the secondary SIP server 12, and the PSTN network 51. The NW device 31 is connected to the primary SIP server 11, the secondary SIP server 12, and the subscriber terminal 41.

(2)本発明の第1の実施形態におけるサーバシステムを構成する各部位の機能
本実施形態のサーバシステムを構成する各部位の機能について説明する。なお、図5は、本発明の第1の実施の形態におけるサーバシステムが保持する死活確認リストを説明する為の図である。
(2) Functions of the respective parts constituting the server system in the first embodiment of the present invention The functions of the respective parts constituting the server system of the present embodiment will be described. FIG. 5 is a diagram for explaining a life / death confirmation list held by the server system according to the first embodiment of the present invention.

(2−1)プライマリSIPサーバ11の機能
プライマリSIPサーバ11は、一般的な通信機能、例えばパケット通信機能を備える。また、プライマリSIPサーバ11は、死活確認リストを保持する。死活確認リストとは、図5に示されるように、二重化されたサーバに接続されたネットワーク機器、すなわちNW機器31やCAサーバ21から死活確認パケットを受信しているのか否かを示すリストである。死活確認部110は、起動後、死活確認リストを初期状態にする。すなわち、死活確認部110は、死活確認リストを、NW機器31とCAサーバ21のいずれからも死活確認パケットを受信していないことを示すものにする。プライマリSIPサーバ11の死活確認部110は、上述のパケット通信機能によって、CAサーバ21から死活確認パケットを受信すると、死活確認リストを、図5に示されるように、CAサーバ21から死活確認パケットを受信していることを示すものに更新する。また、プライマリSIPサーバ11の死活確認部110は、NW機器31から死活確認パケットを受信すると、死活確認リストを、NW機器31から死活確認パケットを受信していることを示すものに更新する。さらに、死活確認部110は、死活確認パケットを受信すると、死活確認リストを確認し、自身に接続されたネットワーク機器全て、すなわちNW機器31とCAサーバ21両方から死活確認パケットを受信しているのかを確認する。死活確認部110は、自身に接続されたネットワーク機器全てから死活確認パケットを受信していない場合には、死活確認パケットを送信してきたネットワーク機器に応答パケットを返さない。死活確認部110は、自身に接続されたネットワーク機器全てから死活確認パケットを受信している場合には、死活確認パケットを送信してきたネットワーク機器に応答パケットを返す。また、死活確認部110は、CAサーバ21から死活確認パケットを受信できない状態となっているかを確認する。具体的には、死活確認部110は、CAサーバ21から死活確認パケットを受信した後、所定の時間以内に、次の死活確認パケットをCAサーバ21から受信するのかを確認する。死活確認部110は、所定の時間を経過しても、CAサーバ21から次の死活確認パケットを受信していないのであれば、CAサーバ21から死活確認パケットを受信できない状態となっていると認識する。死活確認部110は、CAサーバ21から死活確認パケットを受信できない状態となっていると認識すると、死活確認リストを、CAサーバ21から死活確認パケットを受信していないことを示すものに更新する。さらに、死活確認部110は、NW機器31から死活確認パケットを受信できない状態となっているかを確認する。具体的には、死活確認部110は、NW機器31から死活確認パケットを受信した後、所定の時間以内に、次の死活確認パケットをNW機器31から受信するのかを確認する。死活確認部110は、所定の時間を経過しても、NW機器31から次の死活確認パケットを受信していないのであれば、NW機器31から死活確認パケットを受信できない状態となっていると認識する。死活確認部110は、NW機器31から死活確認パケットを受信できない状態となっていると認識すると、死活確認リストを、NW機器31から死活確認パケットを受信していないことを示すものに更新する。さらに、プライマリSIPサーバ11は、自身に障害が発生しているかを検出する一般的な障害検出機能を備える。プライマリSIPサーバ11は、一般的な障害検出機能によって自身に障害があることを検出すると、死活確認リストを初期状態にし、死活確認パケットを受信しても応答パケットを返さない。
(2-1) Function of Primary SIP Server 11 The primary SIP server 11 has a general communication function, for example, a packet communication function. Further, the primary SIP server 11 holds a life / death confirmation list. The life and death confirmation list is a list indicating whether or not a life and death confirmation packet is received from a network device connected to the duplicated server, that is, the NW device 31 or the CA server 21, as shown in FIG. . The life and death confirmation unit 110 initializes the life and death confirmation list after activation. That is, the life and death confirmation unit 110 sets the life and death confirmation list to indicate that the life and death confirmation packet has not been received from either the NW device 31 or the CA server 21. When the life and death confirmation unit 110 of the primary SIP server 11 receives the life and death confirmation packet from the CA server 21 by the packet communication function described above, the life and death confirmation packet is sent from the CA server 21 as shown in FIG. Update to indicate that you are receiving. In addition, when the life and death confirmation unit 110 of the primary SIP server 11 receives the life and death confirmation packet from the NW device 31, the life and death confirmation list is updated to indicate that the life and death confirmation packet is received from the NW device 31. Further, when receiving the life / death confirmation packet, the life / death confirmation unit 110 confirms the life / death confirmation list, and whether the life / death confirmation packet is received from all the network devices connected to itself, that is, from both the NW device 31 and the CA server 21. Confirm. The life / death confirmation unit 110 does not return a response packet to the network device that has transmitted the life / death confirmation packet when the life / life confirmation packet has not been received from all the network devices connected to the life / death confirmation unit 110. The life / death confirmation unit 110 returns a response packet to the network device that has transmitted the life / death confirmation packet when the life / death confirmation packet is received from all the network devices connected to the life / life confirmation unit 110. In addition, the life / death confirmation unit 110 confirms whether the life / death confirmation packet cannot be received from the CA server 21. Specifically, the life / death confirmation unit 110 confirms whether the next life / death confirmation packet is received from the CA server 21 within a predetermined time after receiving the life / death confirmation packet from the CA server 21. The life / death confirmation unit 110 recognizes that the life / death confirmation packet cannot be received from the CA server 21 if the next life / life confirmation packet is not received from the CA server 21 even after a predetermined time has elapsed. To do. When the life and death confirmation unit 110 recognizes that the life and death confirmation packet cannot be received from the CA server 21, the life and death confirmation unit 110 updates the life and death confirmation list to indicate that the life and death confirmation packet has not been received from the CA server 21. Furthermore, the life / death confirmation unit 110 confirms whether the life / death confirmation packet cannot be received from the NW device 31. Specifically, the life / death confirmation unit 110 confirms whether the next life / death confirmation packet is received from the NW device 31 within a predetermined time after receiving the life / death confirmation packet from the NW device 31. The life / death confirmation unit 110 recognizes that the life / death confirmation packet cannot be received from the NW device 31 if the next life / life confirmation packet is not received from the NW device 31 even after a predetermined time has elapsed. To do. When the life and death confirmation unit 110 recognizes that the life and death confirmation packet cannot be received from the NW device 31, the life and death confirmation unit 110 updates the life and death confirmation list to indicate that no life and death confirmation packet has been received from the NW device 31. Further, the primary SIP server 11 has a general failure detection function for detecting whether a failure has occurred in itself. When the primary SIP server 11 detects that there is a failure by a general failure detection function, the primary SIP server 11 initializes the alive confirmation list and does not return a response packet even if the alive confirmation packet is received.

(2−2)セカンダリSIPサーバ12の機能
セカンダリSIPサーバ12は、プライマリSIPサーバ11と同じ機能を備える。
(2-2) Function of Secondary SIP Server 12 The secondary SIP server 12 has the same function as the primary SIP server 11.

(2−3)CAサーバ21の機能
CAサーバ21は、一般的な通信機能、例えばパケット通信機能を備えるネットワーク機器である。CAサーバ21の拠点切替部210は、上述のパケット通信機能を用い、所定の時間毎に、プライマリSIPサーバ11とセカンダリSIPサーバ12に対して、死活確認パケットを出力する。拠点切替部210は、プライマリSIPサーバ11に死活確認パケットを出力した後、応答パケットを受信すると、プライマリSIPサーバ11を通信先に決定する。なお、CAサーバ21の拠点切替部210は、切替フラグを保持する。切替フラグは、通信先がプライマリSIPサーバ11か、セカンダリSIPサーバ12かを示す変数である。拠点切替部210は、プライマリSIPサーバ11を通信先に決定すると、切替フラグを、通信先がプライマリSIPサーバ11であることを示す値(例えば0)に設定する。拠点切替部210は、プライマリSIPサーバ11に死活確認パケットを出力した後、応答パケットが返信されない場合には、セカンダリSIPサーバ12を新たな通信先に決定し、セカンダリSIPサーバ12との間で通信経路を確立する。拠点切替部210は、セカンダリSIPサーバ12を新たな通信先に決定すると、切替フラグを、通信先がセカンダリSIPサーバ12であることを示す値(例えば1)に変更する。なお、拠点切替部210は、通信先がセカンダリSIPサーバ12であることを示す切替フラグ(例えば値が1のフラグ)を保持すると、その後、プライマリSIPサーバ11から応答パケットが受信しても、通信先をプライマリSIPサーバ11と決定しない。なお、拠点切替部210は、起動後、切替フラグを、通信先がプライマリSIPサーバ11であることを示す値(例えば0)に設定する。
(2-3) Function of CA Server 21 The CA server 21 is a network device having a general communication function, for example, a packet communication function. The site switching unit 210 of the CA server 21 outputs a life / death confirmation packet to the primary SIP server 11 and the secondary SIP server 12 every predetermined time using the packet communication function described above. When the site switching unit 210 receives the response packet after outputting the life / death confirmation packet to the primary SIP server 11, the site switching unit 210 determines the primary SIP server 11 as a communication destination. Note that the site switching unit 210 of the CA server 21 holds a switching flag. The switching flag is a variable indicating whether the communication destination is the primary SIP server 11 or the secondary SIP server 12. When the base switching unit 210 determines the primary SIP server 11 as the communication destination, the base switching unit 210 sets the switching flag to a value (for example, 0) indicating that the communication destination is the primary SIP server 11. If the response packet is not returned after outputting the life / death confirmation packet to the primary SIP server 11, the site switching unit 210 determines the secondary SIP server 12 as a new communication destination and communicates with the secondary SIP server 12. Establish a route. When the site switching unit 210 determines the secondary SIP server 12 as a new communication destination, the site switching unit 210 changes the switching flag to a value (for example, 1) indicating that the communication destination is the secondary SIP server 12. If the base switching unit 210 holds a switching flag indicating that the communication destination is the secondary SIP server 12 (for example, a flag with a value of 1), even if a response packet is received from the primary SIP server 11 thereafter, the site switching unit 210 The destination is not determined as the primary SIP server 11. The site switching unit 210 sets the switching flag to a value (for example, 0) indicating that the communication destination is the primary SIP server 11 after activation.

(2−4)NW機器31の機能
NW機器31は、上述のCAサーバ21と同じ機能を備えるネットワーク機器である。
(2-4) Function of NW Device 31 The NW device 31 is a network device having the same function as the CA server 21 described above.

(2−5)加入者端末41の機能
加入者端末41は、SIPに対応した一般的な端末である。
(2-5) Function of subscriber terminal 41 The subscriber terminal 41 is a general terminal compatible with SIP.

[動作の説明]
まず、本実施形態のサーバシステムの動作の概略を以下に説明する。
[Description of operation]
First, an outline of the operation of the server system of this embodiment will be described below.

(1)本実施形態のサーバシステムの動作の概略
本実施形態のサーバシステムの各ネットワーク機器が、プライマリSIPサーバ11を経由して通信を行っている。そのとき、プライマリSIPサーバ11は、何らかの障害により、一部のネットワーク機器から死活確認パケットを受信できなくなると、他のネットワーク機器から死活確認パケットを受信したとしても、応答パケットを返信しない。各ネットワーク機器は、プライマリSIPサーバから応答パケットが返信されないので、プライマリSIPサーバ経由での通信に障害が発生したことを認識でき、セカンダリSIPサーバ12を新たな通信先に決定し、セカンダリSIPサーバ12との間で通信経路を確立する。各ネットワーク機器は、セカンダリSIPサーバ12を経由して通信を行い、通信を継続する。
(1) Outline of Operation of Server System of Present Embodiment Each network device of the server system of the present embodiment performs communication via the primary SIP server 11. At that time, if the primary SIP server 11 cannot receive the alive confirmation packet from some network devices due to some failure, even if the alive confirmation packet is received from another network device, the primary SIP server 11 does not return a response packet. Since each network device does not receive a response packet from the primary SIP server, it can recognize that a failure has occurred in communication via the primary SIP server, determine the secondary SIP server 12 as a new communication destination, and select the secondary SIP server 12. Establish a communication path with Each network device communicates via the secondary SIP server 12 and continues communication.

上述の本実施形態のサーバシステムの動作の詳細を、図6〜図10を用いて、以下に説明する。   Details of the operation of the server system according to the present embodiment will be described below with reference to FIGS.

(2)本実施形態のサーバシステムの動作の詳細
図6は、本発明の第1の実施の形態におけるサーバシステムの動作(通常時の動作)を説明する為の図である。図7は、本発明の第1の実施の形態におけるサーバシステムの動作(プライマリSIPサーバが一部のネットワーク機器から死活確認パケットを受信できなくなった場合の動作)を説明する為の図である。また、図8は、本発明の第1の実施の形態におけるサーバシステムの動作(プライマリSIPサーバに障害が発生した場合の動作)を説明する為の図である。図9は、本発明の第1の実施の形態におけるサーバシステムの動作(通信先をセカンダリSIPサーバ12に変更した後の動作)を説明する為の図である。さらに、図10は、本発明の第1の実施の形態におけるサーバシステムの動作(プライマリSIPサーバが保守者によって復旧された場合の動作)を説明する為の図である。
(2) Details of Operation of Server System According to this Embodiment FIG. 6 is a diagram for explaining the operation (normal operation) of the server system according to the first embodiment of the present invention. FIG. 7 is a diagram for explaining the operation of the server system according to the first embodiment of the present invention (operation when the primary SIP server becomes unable to receive the alive confirmation packet from some network devices). FIG. 8 is a diagram for explaining the operation of the server system according to the first embodiment of the present invention (operation when a failure occurs in the primary SIP server). FIG. 9 is a diagram for explaining the operation of the server system (operation after changing the communication destination to the secondary SIP server 12) in the first embodiment of the present invention. Furthermore, FIG. 10 is a diagram for explaining the operation of the server system (operation when the primary SIP server is restored by the maintenance person) in the first embodiment of the present invention.

なお、本実施形態のサーバシステムの動作の説明は、通常時の動作について説明し、その後に、プライマリSIPサーバ11が一部のネットワーク機器から死活確認パケットを受信できなくなった場合の動作について詳細を説明する。さらに、プライマリSIPサーバに障害が発生した場合の動作、通信先をセカンダリSIPサーバ12に変更した後の動作、プライマリSIPサーバが保守者によって復旧された場合の動作についてもあわせて説明する。   The description of the operation of the server system of this embodiment will explain the normal operation, and then the details of the operation when the primary SIP server 11 can no longer receive the alive confirmation packet from some network devices. explain. Further, an operation when a failure occurs in the primary SIP server, an operation after changing the communication destination to the secondary SIP server 12, and an operation when the primary SIP server is restored by the maintenance person will be described together.

(3)通常時の動作
本実施形態のサーバシステムは、通常、以下の動作を行う。
(3) Normal operation The server system of this embodiment normally performs the following operations.

まず、CAサーバ21の拠点切替部210は、図6に示されるように、起動すると、切替フラグを、通信先がプライマリSIPサーバ11であることを示す値、例えば、値0に設定する(S1)。   First, as shown in FIG. 6, the site switching unit 210 of the CA server 21 sets the switching flag to a value indicating that the communication destination is the primary SIP server 11, for example, a value 0 (S1). ).

また、プライマリSIPサーバ11の死活確認部110とセカンダリSIPサーバ12の死活確認部120は、起動すると、死活確認リストを初期状態とする(S2)。   In addition, when the life and death confirmation unit 110 of the primary SIP server 11 and the life and death confirmation unit 120 of the secondary SIP server 12 are activated, the life and death confirmation list is set to an initial state (S2).

すなわち、プライマリSIPサーバ11の死活確認部110とセカンダリSIPサーバ12の死活確認部120は、死活確認リストを、NW機器31とCAサーバ21のいずれからも死活確認パケットを受信していないことを示すものにする。   That is, the life and death confirmation unit 110 of the primary SIP server 11 and the life and death confirmation unit 120 of the secondary SIP server 12 indicate that the life and death confirmation list has not been received from either the NW device 31 or the CA server 21. Make things.

さらに、NW機器31の拠点切替部310は、起動すると、切替フラグを、通信先がプライマリSIPサーバ11であることを示す値、例えば値0に設定する(S3)。   Furthermore, when activated, the site switching unit 310 of the NW device 31 sets the switching flag to a value indicating that the communication destination is the primary SIP server 11, for example, a value 0 (S3).

次に、CAサーバ21の拠点切替部210は、所定の時間になると、プライマリSIPサーバ11とセカンダリSIPサーバ12に対し、死活確認パケットを出力する(S4)。上述の所定の時間は、一定間隔毎のタイミングであり、本実施形態のサーバシステムのユーザによって、拠点切替部210に設定される。   Next, the base switching unit 210 of the CA server 21 outputs a life / death confirmation packet to the primary SIP server 11 and the secondary SIP server 12 at a predetermined time (S4). The predetermined time described above is a timing at regular intervals, and is set in the site switching unit 210 by the user of the server system of the present embodiment.

次に、プライマリSIPサーバ11の死活確認部110とセカンダリSIPサーバ12の死活確認部120は、図示していないが、CAサーバ21から死活確認パケットを受信すると、以下の処理を行う。   Next, the life and death confirmation unit 110 of the primary SIP server 11 and the life and death confirmation unit 120 of the secondary SIP server 12 perform the following processing when receiving a life and death confirmation packet from the CA server 21, although not shown.

(A)まず、死活確認部110と死活確認部120は、死活確認リストを確認し、自身に接続されたネットワーク機器全て、すなわちCAサーバ21とNW機器31両方から死活確認パケットを受信しているのかを確認する。現時点では、死活確認リストは、上述のS2の処理によって初期状態となっているので、死活確認部110と死活確認部120は、CAサーバ21とNW機器31両方から死活確認パケットを受信していることを確認できない。   (A) First, the life and death confirmation unit 110 and the life and death confirmation unit 120 confirm the life and death confirmation list, and receive life and death confirmation packets from all network devices connected to the life and death confirmation unit, that is, from both the CA server 21 and the NW device 31. Check if At this time, the life / death confirmation list is in the initial state by the process of S2 described above, and therefore the life / death confirmation unit 110 and the life / death confirmation unit 120 have received life / life confirmation packets from both the CA server 21 and the NW device 31. I can't confirm that.

(B)死活確認部110と死活確認部120は、CAサーバ21とNW機器31両方から死活確認パケットを受信していることを確認したときは、応答パケットを、CAサーバ21に返す。しかし、現時点では、死活確認部110と死活確認部120は、(A)に上述した通り、CAサーバ21とNW機器31両方から死活確認パケットを受信していることを確認できないので、CAサーバ21に応答パケットを返信しない。   (B) The life and death confirmation unit 110 and the life and death confirmation unit 120 return a response packet to the CA server 21 when confirming that the life and death confirmation packet has been received from both the CA server 21 and the NW device 31. However, at this time, the life and death confirmation unit 110 and the life and death confirmation unit 120 cannot confirm that the life and death confirmation packet is received from both the CA server 21 and the NW device 31 as described above in FIG. Do not send response packets to

(C)次に、死活確認部110と死活確認部120は、死活確認リストを、CAサーバ21から死活確認パケットを受信していることを示すものに更新する。   (C) Next, the life and death confirmation unit 110 and the life and death confirmation unit 120 update the life and death confirmation list to indicate that a life and death confirmation packet is received from the CA server 21.

(D)次に、死活確認部110と死活確認部120は、自身に備わる計時機能を動作させ、時間の計測を開始する。この処理は、後述の(E)にて、死活確認部110と死活確認部120が、CAサーバ21から死活確認パケットを受信できない状態となっているかを確認する為の処理である。   (D) Next, the life and death confirmation unit 110 and the life and death confirmation unit 120 operate a timekeeping function provided in itself, and start measuring time. This process is a process for confirming whether or not the life and death confirmation unit 110 and the life and death confirmation unit 120 are in a state in which the life and death confirmation packet cannot be received from the CA server 21 in (E) described later.

次に、NW機器31の拠点切替部310も、所定の時間になると、プライマリSIPサーバ11とセカンダリSIPサーバ12に対し、死活確認パケットを出力する(S5)。   Next, the base switching unit 310 of the NW device 31 also outputs a life / death confirmation packet to the primary SIP server 11 and the secondary SIP server 12 at a predetermined time (S5).

上述の所定の時間は、一定間隔毎のタイミングであり、本実施形態のサーバシステムのユーザによって、拠点切替部310に設定される。   The predetermined time described above is a timing at regular intervals, and is set in the base switching unit 310 by the user of the server system of the present embodiment.

次に、プライマリSIPサーバ11の死活確認部110とセカンダリSIPサーバ12の死活確認部120は、図示していないが、NW機器31から死活確認パケットを受信すると、以下の処理を行う。   Next, the life and death confirmation unit 110 of the primary SIP server 11 and the life and death confirmation unit 120 of the secondary SIP server 12 perform the following processing when receiving a life and death confirmation packet from the NW device 31, although not shown.

(a)まず、死活確認部110と死活確認部120は、死活確認リストを確認し、自身に接続されたネットワーク機器全て、すなわちCAサーバ21とNW機器31両方から死活確認パケットを受信しているのかを確認する。現時点では、死活確認部110と死活確認部120は、CAサーバ21とNW機器31両方から死活確認パケットを受信していることを確認できない。死活確認リストは、上述の(C)の処理によって、CAサーバ21からのみ死活確認パケットを受信していることを示すものとなっているからである。   (A) First, the life and death confirmation unit 110 and the life and death confirmation unit 120 confirm the life and death confirmation list, and receive life and death confirmation packets from all the network devices connected to the life and death confirmation unit, that is, from both the CA server 21 and the NW device 31. Check if At present, the life and death confirmation unit 110 and the life and death confirmation unit 120 cannot confirm that the life and death confirmation packet is received from both the CA server 21 and the NW device 31. This is because the life and death confirmation list indicates that the life and death confirmation packet is received only from the CA server 21 by the process (C) described above.

(b)死活確認部110と死活確認部120は、CAサーバ21とNW機器31両方から死活確認パケットを受信していることを確認したときは、応答パケットを、NW機器31に返す。現時点では、死活確認部110と死活確認部120は、(a)に上述した通り、CAサーバ21とNW機器31両方から死活確認パケットを受信していることを確認できないので、NW機器31に応答パケットを返信しない。   (B) The life / death confirmation unit 110 and the life / death confirmation unit 120 return a response packet to the NW device 31 when confirming that the life / death confirmation packet is received from both the CA server 21 and the NW device 31. At this time, the life and death confirmation unit 110 and the life and death confirmation unit 120 cannot confirm that the life and death confirmation packet has been received from both the CA server 21 and the NW device 31 as described above in FIG. Do not send packets back.

(c)次に、死活確認部110と死活確認部120は、死活確認リストを、NW機器31から死活確認パケットを受信していることを示すものに更新する。   (C) Next, the life and death confirmation unit 110 and the life and death confirmation unit 120 update the life and death confirmation list to indicate that a life and death confirmation packet has been received from the NW device 31.

(d)次に、死活確認部110と死活確認部120は、自身に備わる計時機能を動作させ、時間の計測を開始する。この処理は、後述の(e)にて、死活確認部110と死活確認部120が、CAサーバ21から死活確認パケットを受信できない状態となっているかを確認する為の処理である。   (D) Next, the life / death confirmation unit 110 and the life / death confirmation unit 120 operate a timekeeping function included in the life / death confirmation unit 120 and start measuring time. This process is a process for confirming whether or not the life and death confirmation unit 110 and the life and death confirmation unit 120 are in a state in which the life and death confirmation packet cannot be received from the CA server 21 in (e) described later.

上述の(A)〜(D)、(a)〜(d)の処理が行われた結果、死活確認リストは、図6に示されるように、CAサーバ21とNW機器31両方から死活確認パケットを受信していることを示すものとなっている(S19)。なお、CAサーバ21の拠点切替部210とNW機器31の拠点切替部310は、プライマリSIPサーバ11から応答パケットを受信していない。しかし、拠点切替部210と拠点切替部310は、起動後、初めてプライマリSIPサーバ11に送信した死活確認パケットについては、応答パケットが返信されなくても、セカンダリSIPサーバ12を新たな通信先に決定しないものとする。   As a result of the processing of (A) to (D) and (a) to (d) described above, the life and death confirmation list is obtained from both the CA server 21 and the NW device 31 as shown in FIG. Is received (S19). Note that the base switching unit 210 of the CA server 21 and the base switching unit 310 of the NW device 31 have not received a response packet from the primary SIP server 11. However, the site switching unit 210 and the site switching unit 310 determine the secondary SIP server 12 as a new communication destination even if a response packet is not returned for the life / death confirmation packet transmitted to the primary SIP server 11 for the first time after activation. Shall not.

次に、CAサーバ21の拠点切替部210は、次の所定の時間になると、再び、プライマリSIPサーバ11とセカンダリSIPサーバ12に対し、死活確認パケットを出力する(S4)。   Next, the base switching unit 210 of the CA server 21 outputs a life / death confirmation packet to the primary SIP server 11 and the secondary SIP server 12 again at the next predetermined time (S4).

次に、死活確認部110と死活確認部120は、図示していないが、CAサーバ21から死活確認パケットを受信すると、若しくは、上述の(D)から計測している時間が所定の時間を経過すると、以下の(E)の処理を行う。なお、ここでの所定の時間は、上述のS4で用いられる所定の時間よりも十分に長い時間であり、本実施形態のサーバシステムのユーザによって設定される。   Next, the life and death confirmation unit 110 and the life and death confirmation unit 120, although not shown, receive a life and death confirmation packet from the CA server 21, or the time measured from the above (D) has passed a predetermined time. Then, the following process (E) is performed. Note that the predetermined time here is sufficiently longer than the predetermined time used in S4 described above, and is set by the user of the server system of the present embodiment.

(E)死活確認部110と死活確認部120は、CAサーバ21から死活確認パケットを受信すると、自身に備わる計時機能を停止し、計測していた時間(以下、「計測時間」という)が所定の時間以内かを確認する。死活確認部110と死活確認部120は、計測時間が所定の時間以内であれば、CAサーバ21から次の死活確認パケットを受信しているので、CAサーバ21から死活確認パケットを受信できている状態と認識する。死活確認部110と死活確認部120は、CAサーバ21から死活確認パケットを受信できている状態と認識すると、受信した死活確認パケットについて、上述の(A)〜(D)の処理を実施する。一方、死活確認部110と死活確認部120は、計測時間が所定の時間以内でなければ、所定の時間を経過しても、CAサーバ21から死活確認パケットを受信しておらず、CAサーバ21から死活確認パケットを受信できない状態になっていると認識する。死活確認部110と死活確認部120は、CAサーバ21から死活確認パケットを受信できない状態になっていると認識すると、死活確認リストを、CAサーバ21から死活確認パケットを受信していないことを示すものに更新する。なお、死活確認部110と死活確認部120は、死活確認リストを更新後、CAサーバ21から死活確認パケットを受信すれば、その死活確認パケットについて上述の(A)〜(D)の処理を実施する。   (E) Upon receiving the life / death confirmation packet from the CA server 21, the life / death confirmation unit 110 and the life / death confirmation unit 120 stop the time keeping function provided therein, and the measured time (hereinafter referred to as “measurement time”) is predetermined. Check if it is within the time. The life / death confirmation unit 110 and the life / death confirmation unit 120 can receive the life / death confirmation packet from the CA server 21 because the next life / life confirmation packet is received from the CA server 21 if the measurement time is within a predetermined time. Recognize a state. When the life and death confirmation unit 110 and the life and death confirmation unit 120 recognize that the life and death confirmation packet is received from the CA server 21, the life and death confirmation packet is subjected to the processes (A) to (D) described above. On the other hand, if the measurement time is not within the predetermined time, the life and death confirmation unit 110 and the life and death confirmation unit 120 have not received the life and death confirmation packet from the CA server 21 even after the predetermined time has elapsed. It is recognized that the alive confirmation packet cannot be received from the mobile phone. If the life and death confirmation unit 110 and the life and death confirmation unit 120 recognize that the life and death confirmation packet cannot be received from the CA server 21, the life and death confirmation list indicates that the life and death confirmation packet has not been received from the CA server 21. Update to things. In addition, if the life / death confirmation unit 110 and the life / death confirmation unit 120 receive the life / death confirmation packet from the CA server 21 after updating the life / death confirmation list, the processes (A) to (D) described above are performed on the life / death confirmation packet. To do.

ここでは、通常時の動作を説明しているので、以下、死活確認部110と死活確認部120は、所定の時間以内に、CAサーバ21から次の死活確認パケットを受信し、再度、上述の(A)〜(D)の処理を実施したものとして説明を続ける。   Here, since the normal operation is described, the life and death confirmation unit 110 and the life and death confirmation unit 120 receive the next life and death confirmation packet from the CA server 21 within a predetermined time, and again, The description will be continued on the assumption that the processes (A) to (D) have been performed.

次に、死活確認部110と死活確認部120は、上述の(A)〜(D)の処理を実施した結果、応答パケットをCAサーバ21に返信する(S6)。死活確認リストが、上述の(d)において、CAサーバ21とNW機器31両方から死活確認パケットを受信していることを示すものとなっているからである。   Next, the life and death confirmation unit 110 and the life and death confirmation unit 120 return the response packet to the CA server 21 as a result of performing the processes (A) to (D) described above (S6). This is because the life / death confirmation list indicates that the life / death confirmation packet is received from both the CA server 21 and the NW device 31 in (d) described above.

次に、NW機器31の拠点切替部310は、次の所定の時間になると、プライマリSIPサーバ11とセカンダリSIPサーバ12に対し、死活確認パケットを出力する(S5)。   Next, the base switching unit 310 of the NW device 31 outputs a life / death confirmation packet to the primary SIP server 11 and the secondary SIP server 12 at the next predetermined time (S5).

次に、死活確認部110と死活確認部120は、図示していないが、NW機器31から死活確認パケットを受信すると、若しくは、上述の(d)から計測している時間が所定の時間を経過すると、以下の(e)の処理を行う。なお、ここでの所定の時間は、上述のS4で用いられる所定の時間よりも十分に長い時間であり、本実施形態のサーバシステムのユーザによって設定される。   Next, the life and death confirmation unit 110 and the life and death confirmation unit 120, although not shown, receive a life and death confirmation packet from the NW device 31, or the time measured from the above (d) has passed a predetermined time. Then, the following process (e) is performed. Note that the predetermined time here is sufficiently longer than the predetermined time used in S4 described above, and is set by the user of the server system of the present embodiment.

(e)死活確認部110と死活確認部120は、NW機器31から死活確認パケットを受信すると、自身に備わる計時機能を停止し、計測していた時間(以下、「計測時間」という)が所定の時間以内かを確認する。死活確認部110と死活確認部120は、計測時間が所定の時間以内であれば、NW機器31から次の死活確認パケットを受信しているので、NW機器31から死活確認パケットを受信できている状態と認識する。死活確認部110と死活確認部120は、NW機器31から死活確認パケットを受信できている状態と認識すると、受信した死活確認パケットについて、上述の(a)〜(d)の処理を実施する。一方、死活確認部110と死活確認部120は、計測時間が所定の時間以内でなければ、所定の時間を経過しても、NW機器31から死活確認パケットを受信しておらず、NW機器31から死活確認パケットを受信できない状態になっていると認識する。死活確認部110と死活確認部120は、NW機器31から死活確認パケットを受信できない状態になっていると認識すると、死活確認リストを、NW機器31から死活確認パケットを受信していないことを示すものに更新する。なお、死活確認部110と死活確認部120は、死活確認リストに更新後、NW機器31から死活確認パケットを受信すれば、その死活確認パケットについて上述の(a)〜(d)の処理を実施する。   (E) Upon receiving a life / death confirmation packet from the NW device 31, the life / death confirmation unit 110 and the life / death confirmation unit 120 stop the time keeping function provided in itself, and the measured time (hereinafter referred to as “measurement time”) is predetermined. Check if it is within the time. The life / death confirmation unit 110 and the life / death confirmation unit 120 have received the life / death confirmation packet from the NW device 31 because the next life / life confirmation packet is received from the NW device 31 if the measurement time is within a predetermined time. Recognize a state. When the life and death confirmation unit 110 and the life and death confirmation unit 120 recognize that the life and death confirmation packet can be received from the NW device 31, the life and death confirmation packet is subjected to the processes (a) to (d) described above. On the other hand, if the measurement time is not within the predetermined time, the life / death confirmation unit 110 and the life / death confirmation unit 120 have not received the life / death confirmation packet from the NW device 31 even if the predetermined time has elapsed, and the NW device 31 It is recognized that the alive confirmation packet cannot be received from the mobile phone. When the life and death confirmation unit 110 and the life and death confirmation unit 120 recognize that the life and death confirmation packet cannot be received from the NW device 31, the life and death confirmation list indicates that the life and death confirmation packet has not been received from the NW device 31. Update to things. In addition, if the life / death confirmation unit 110 and the life / death confirmation unit 120 receive the life / death confirmation packet from the NW device 31 after updating to the life / death confirmation list, the processes (a) to (d) described above are performed on the life / death confirmation packet. To do.

ここでは、通常時の動作を説明しているので、以下、死活確認部110と死活確認部120は、所定の時間以内にNW機器31から次の死活確認パケットを受信し、再度、上述の(a)〜(d)の処理を実施したものとして説明を続ける。   Here, since the normal operation is described, hereinafter, the life / death confirmation unit 110 and the life / death confirmation unit 120 receive the next life / death confirmation packet from the NW device 31 within a predetermined time, and again the above-mentioned ( The description will be continued assuming that the processing of a) to (d) has been performed.

次に、死活確認部110と死活確認部120は、上述の(a)〜(d)の処理を実施した結果、応答パケットをNW機器31に返信する(S7)。死活確認リストが、CAサーバ21とNW機器31両方から死活確認パケットを受信していることを示すものとなっているからである。   Next, the life / death confirmation unit 110 and the life / death confirmation unit 120 return the response packet to the NW device 31 as a result of performing the processes (a) to (d) described above (S7). This is because the life / death confirmation list indicates that the life / death confirmation packet is received from both the CA server 21 and the NW device 31.

次に、CAサーバ21の拠点切替部210とNW機器31の拠点切替部310は、セカンダリSIPサーバ12とプライマリSIPサーバ11から応答パケットを受信する。   Next, the site switching unit 210 of the CA server 21 and the site switching unit 310 of the NW device 31 receive response packets from the secondary SIP server 12 and the primary SIP server 11.

次に、CAサーバ21の拠点切替部210とNW機器31の拠点切替部310は、プライマリSIPサーバ11から応答パケットを受信すると、プライマリSIPサーバ11を通信先と決定する(S8)。また、CAサーバ21の拠点切替部210とNW機器31の拠点切替部310は、切替フラグを、通信先がプライマリSIPサーバ11であることを示す値、例えば、値0に設定する。   Next, when the base switching unit 210 of the CA server 21 and the base switching unit 310 of the NW device 31 receive the response packet from the primary SIP server 11, the primary SIP server 11 is determined as the communication destination (S8). Further, the base switching unit 210 of the CA server 21 and the base switching unit 310 of the NW device 31 set the switching flag to a value indicating that the communication destination is the primary SIP server 11, for example, a value of 0.

次に、CAサーバ21の拠点切替部210は、プライマリSIPサーバ11を通信先と決定すると、プライマリSIPサーバ11との間で通信経路を確立する(S9)。   Next, when the base switching unit 210 of the CA server 21 determines that the primary SIP server 11 is a communication destination, it establishes a communication path with the primary SIP server 11 (S9).

また、NW機器31の拠点切替部310も、プライマリSIPサーバ11を通信先と決定すると、プライマリSIPサーバ11との間で通信経路を確立する(S10)。   Further, when the base switching unit 310 of the NW device 31 determines that the primary SIP server 11 is a communication destination, the base switching unit 310 establishes a communication path with the primary SIP server 11 (S10).

上述の通信経路を確立するとは、公知の呼制御プロトコルを行って、ネットワーク機器とSIPサーバとの間で通信ができる状態にすることをいう。例えば、NW機器31の拠点切替部310は、プライマリSIPサーバ11に対し、INVITEメッセージ等の接続要求メッセージを送信し、プライマリSIPサーバ11は、接続許可を出す公知の呼制御プロトコルを行って、それらが通信できる状態にしてもよい。   Establishing the above-described communication path means performing a known call control protocol to enable communication between the network device and the SIP server. For example, the base switching unit 310 of the NW device 31 transmits a connection request message such as an INVITE message to the primary SIP server 11, and the primary SIP server 11 performs a known call control protocol for granting connection, May be able to communicate.

次に、CAサーバ21とNW機器31は、プライマリSIPサーバ11を経由して、通信を行う。   Next, the CA server 21 and the NW device 31 communicate via the primary SIP server 11.

以降、CAサーバ21、NW機器31、プライマリSIPサーバ11とセカンダリSIPサーバ12は、上述したS4〜S10までの動作(以下、「通常動作」という)を繰り返す。   Thereafter, the CA server 21, the NW device 31, the primary SIP server 11, and the secondary SIP server 12 repeat the above-described operations from S4 to S10 (hereinafter referred to as “normal operation”).

すなわち、CAサーバ21の拠点切替部210は、所定の時間になると、上述のS4を行い、NW機器31の拠点切替部310は、所定の時間になると、上述のS5を行う。これにより、プライマリSIPサーバ11の死活確認部110やセカンダリSIPサーバ12の死活確認部120は、上述の(A)〜(E)や(a)〜(e)の処理を行い、応答パケットをCAサーバ21やNW機器31に返す。CAサーバ21とNW機器31は、応答パケットを受信し、プライマリSIPサーバ11を通信先と決定する。CAサーバ21とNW機器31は、プライマリSIPサーバ11を経由して、通信を行う。   That is, the base switching unit 210 of the CA server 21 performs the above-described S4 when the predetermined time comes, and the base switching unit 310 of the NW device 31 performs the above-described S5 when the predetermined time comes. As a result, the life and death confirmation unit 110 of the primary SIP server 11 and the life and death confirmation unit 120 of the secondary SIP server 12 perform the processes (A) to (E) and (a) to (e) described above, and the response packet is transmitted to the CA. It returns to the server 21 and the NW device 31. The CA server 21 and the NW device 31 receive the response packet and determine the primary SIP server 11 as the communication destination. The CA server 21 and the NW device 31 communicate via the primary SIP server 11.

なお、上述の死活確認部110と死活確認部120は、所定の周期毎に、死活確認リストを初期状態にしてもよい。さらに、CAサーバ21やNW機器31は、応答パケットを受信できない回数が所定の回数以下である場合には、プライマリSIPサーバ12を通信先とするとしてもよい。所定の回数は、2以上の値であり、本実施形態のサーバシステムのユーザによって設定される。   The life and death confirmation unit 110 and the life and death confirmation unit 120 described above may make the life and death confirmation list in an initial state at every predetermined period. Furthermore, the CA server 21 and the NW device 31 may use the primary SIP server 12 as a communication destination when the number of times that the response packet cannot be received is equal to or less than a predetermined number. The predetermined number of times is a value of 2 or more, and is set by the user of the server system of this embodiment.

(4)プライマリSIPサーバ11が一部のネットワーク機器から死活確認パケットを受信できなくなった場合の動作
次に、プライマリSIPサーバ11が一部のネットワーク機器から死活確認パケットを受信できなくなった場合の動作を、図7を用いて説明する。なお、本実施形態のサーバシステムのCAサーバ21、NW機器31、プライマリSIPサーバ11、及びセカンダリSIPサーバ12のことを、以下「各種機器」と総称するものとする。
(4) Operation when primary SIP server 11 cannot receive alive confirmation packet from some network devices Next, operation when primary SIP server 11 cannot receive alive confirmation packet from some network devices Will be described with reference to FIG. Note that the CA server 21, the NW device 31, the primary SIP server 11, and the secondary SIP server 12 of the server system of the present embodiment are collectively referred to as “various devices” below.

まず、各種機器は、「(3)通常時の動作」に上述した通常動作を繰り返し実行し、CAサーバ21とNW機器31がプライマリSIPサーバ11を経由して通信を行っているものとする。   First, it is assumed that the various devices repeatedly execute the normal operation described above in “(3) Normal operation”, and the CA server 21 and the NW device 31 communicate with each other via the primary SIP server 11.

このとき、CAサーバ21やNW機器31の切替フラグは、図7に示されるように、通信先がプライマリSIPサーバ11であることを示す値、例えば値0である(S20)。   At this time, the switching flag of the CA server 21 and the NW device 31 is a value indicating that the communication destination is the primary SIP server 11, for example, a value 0, as shown in FIG. 7 (S20).

また、プライマリSIPサーバ11やセカンダリSIPサーバ12の死活確認リストは、CAサーバ21とNW機器31両方から死活確認パケットを受信していることを示すものとなっている(S21)。   In addition, the life and death confirmation lists of the primary SIP server 11 and the secondary SIP server 12 indicate that life and death confirmation packets are received from both the CA server 21 and the NW device 31 (S21).

そこに、プライマリSIPサーバ11が一部のネットワーク機器から死活確認パケットを受信できなくなったとする。以下では、図7のS5の処理に示されるように、プライマリSIPサーバ11が、NW機器31から死活確認パケットを受信できなくなった場合を例に説明を行う。このとき、各種機器は、以下の通りに動作する。   It is assumed that the primary SIP server 11 cannot receive the alive confirmation packet from some network devices. Hereinafter, as illustrated in the process of S <b> 5 of FIG. 7, the case where the primary SIP server 11 can no longer receive the alive confirmation packet from the NW device 31 will be described as an example. At this time, various devices operate as follows.

まず、プライマリSIPサーバの死活確認部110は、NW機器31から確認パケットを受信できないので、上述の(a)〜(d)の処理を実施できず、応答パケットをNW機器31に返信しない(S22)。   First, since the life / non-life confirmation unit 110 of the primary SIP server cannot receive the confirmation packet from the NW device 31, the processes (a) to (d) described above cannot be performed, and the response packet is not returned to the NW device 31 (S22). ).

また、プライマリSIPサーバの死活確認部110は、NW機器31から確認パケットを受信できないので、上述の(e)の処理を実施によって、死活確認リストを、NW機器31から死活確認パケットを受信していないことを示すものに更新する(S23)。   In addition, since the life / non-life confirmation unit 110 of the primary SIP server cannot receive the confirmation packet from the NW device 31, the life / non-life confirmation list is received from the NW device 31 by executing the process (e) described above. The information is updated to indicate that there is no data (S23).

次に、NW機器31の拠点切替部310は、図示していないが、プライマリSIPサーバ11から応答パケットが返信されないので、プライマリSIPサーバ11経由の通信に障害が発生したことを認識し、セカンダリSIPサーバ12を新たな通信先と決定する。なお、NW機器31の拠点切替部310は、セカンダリSIPサーバ12から応答パケットを受信していることを確認した上で、セカンダリSIPサーバ12を新たな通信先と決定してもよい。   Next, although not shown, the base switching unit 310 of the NW device 31 recognizes that a failure has occurred in communication via the primary SIP server 11 since a response packet is not returned from the primary SIP server 11, and the secondary SIP The server 12 is determined as a new communication destination. The site switching unit 310 of the NW device 31 may determine that the secondary SIP server 12 is a new communication destination after confirming that the response packet has been received from the secondary SIP server 12.

さらに、NW機器31の拠点切替部310は、切替フラグを、通信先がセカンダリSIPサーバ12であることを示す値、例えば値1に変更し、セカンダリSIPサーバ12との間で通信経路を確立する(S24)。   Further, the site switching unit 310 of the NW device 31 changes the switching flag to a value indicating that the communication destination is the secondary SIP server 12, for example, value 1, and establishes a communication path with the secondary SIP server 12. (S24).

ここで、CAサーバ21とNW機器31は、セカンダリSIPサーバ12を経由して通信できないので、CAサーバ21とNW機器31との間の通信は途切れてしまう。しかし、本実施形態のサーバシステムでは、一般的なサーバシステムと異なり、各ネットワーク機器間の通信が途切れるのは、一時的なものである。本実施形態のサーバシステムは、以下のように、各ネットワーク機器間の通信を復旧させ、通信を継続する。   Here, since the CA server 21 and the NW device 31 cannot communicate via the secondary SIP server 12, the communication between the CA server 21 and the NW device 31 is interrupted. However, in the server system of the present embodiment, unlike a general server system, communication between network devices is temporarily interrupted. The server system of the present embodiment restores communication between the network devices and continues communication as follows.

まず、CAサーバ21とNW機器31は、所定の時間になると、プライマリSIPサーバ11とセカンダリSIPサーバ12に死活確認パケットを出力する(S4、S5)。   First, the CA server 21 and the NW device 31 output a life / death confirmation packet to the primary SIP server 11 and the secondary SIP server 12 at a predetermined time (S4, S5).

このとき、上述のS5の処理において、NW機器31からプライマリSIPサーバ11に対して送信された死活確認パケットが、プライマリSIPサーバに届かない状態である。その為、プライマリSIPサーバ11は、CAサーバ21からのみ死活確認パケットを受信する。   At this time, in the process of S5 described above, the life / death confirmation packet transmitted from the NW device 31 to the primary SIP server 11 does not reach the primary SIP server. Therefore, the primary SIP server 11 receives the alive confirmation packet only from the CA server 21.

次に、プライマリSIPサーバ11の死活確認部110は、図示していないが、CAサーバ21から死活確認パケットを受信すると、その死活確認パケットについて、(A)〜(D)の処理を実施する。このとき、プライマリSIPサーバ11の死活確認部110は、上述のS23によって、死活確認リストが、NW機器31から死活確認パケットを受信していないことを示すものに更新されている。すなわち、死活確認リストは、CAサーバ21とNW機器31両方から死活確認パケットを受信していることを示すものとなっていない。その為、プライマリSIPサーバ11の死活確認部110は、(A)〜(D)の処理を実施してもCAサーバ21に応答パケットを返信しない。さらに、プライマリSIPサーバの死活確認部110は、NW機器31からは死活確認パケットを受信できないので、応答パケットをNW機器31に返信しない。   Next, the life and death confirmation unit 110 of the primary SIP server 11 receives the life and death confirmation packet from the CA server 21, but performs the processes (A) to (D) for the life and death confirmation packet. At this time, the life and death confirmation unit 110 of the primary SIP server 11 is updated to indicate that the life and death confirmation list has not received the life and death confirmation packet from the NW device 31 by S23 described above. That is, the life / death confirmation list does not indicate that the life / death confirmation packet is received from both the CA server 21 and the NW device 31. Therefore, the life and death confirmation unit 110 of the primary SIP server 11 does not return a response packet to the CA server 21 even if the processes (A) to (D) are performed. Furthermore, the life / non-life confirmation unit 110 of the primary SIP server cannot receive a life / non-life confirmation packet from the NW device 31, and therefore does not return a response packet to the NW device 31.

なお、セカンダリSIPサーバの死活確認部120は、通常動作を行っているので、応答パケットをCAサーバ21とNW機器31に返す(S25)。   Since the life and death confirmation unit 120 of the secondary SIP server performs a normal operation, the response packet is returned to the CA server 21 and the NW device 31 (S25).

次に、CAサーバ21の拠点切替部210は、プライマリSIPサーバ11から応答パケットを受信できないので、プライマリSIPサーバ11経由の通信に障害が発生したことを認識し、セカンダリSIPサーバ12を新たな通信先と決定する(S26)。   Next, since the site switching unit 210 of the CA server 21 cannot receive the response packet from the primary SIP server 11, it recognizes that a failure has occurred in communication via the primary SIP server 11, and makes the secondary SIP server 12 a new communication. The destination is determined (S26).

次に、CAサーバ21の拠点切替部210は、切替フラグを、通信先がセカンダリSIPサーバ12であることを示す値、例えば値1に変更し、セカンダリSIPサーバ12との間で通信経路を確立する(S27)。   Next, the base switching unit 210 of the CA server 21 changes the switching flag to a value indicating that the communication destination is the secondary SIP server 12, for example, a value 1 and establishes a communication path with the secondary SIP server 12. (S27).

次に、CAサーバ21とNW機器31は、セカンダリSIPサーバ12を経由して通信を行う。   Next, the CA server 21 and the NW device 31 communicate via the secondary SIP server 12.

以上のように、本実施形態のサーバシステムの各ネットワーク機器は、各ネットワーク機器間の通信経路を、セカンダリSIPサーバ12を経由するよう変更するので、通信を継続することができる。   As described above, each network device of the server system according to the present embodiment changes the communication path between the network devices so as to pass through the secondary SIP server 12, so that communication can be continued.

(5)プライマリSIPサーバに障害が発生した場合の動作
次に、プライマリSIPサーバに障害が発生した場合の動作について説明する。本実施形態のサーバシステムは、プライマリSIPサーバに障害が発生した場合、セカンダリSIPサーバ12にて通信を継続する。プライマリSIPサーバに障害が発生した場合の動作の詳細を、図8を用いて、以下に説明する。
(5) Operation when a failure occurs in the primary SIP server Next, an operation when a failure occurs in the primary SIP server will be described. In the server system of this embodiment, when a failure occurs in the primary SIP server, the secondary SIP server 12 continues communication. Details of the operation when a failure occurs in the primary SIP server will be described below with reference to FIG.

まず、各種機器は、「(3)通常時の動作」に上述した通常動作を繰り返し実行し、CAサーバ21とNW機器31がプライマリSIPサーバ11を経由して通信を行っているものとする。   First, it is assumed that the various devices repeatedly execute the normal operation described above in “(3) Normal operation”, and the CA server 21 and the NW device 31 communicate with each other via the primary SIP server 11.

すなわち、CAサーバ21とNW機器31は、所定の時間になると、上述のS4とS5を実施し、プライマリSIPサーバ11とセカンダリSIPサーバ12に死活確認パケットを送信する。また、プライマリSIPサーバ11やセカンダリSIPサーバ12は、死活確認パケットを受信すると、上述の(A)〜(E)や(a)〜(e)の処理を行い、応答パケットをCAサーバ21やNW機器31に返信することを繰り返している。   In other words, the CA server 21 and the NW device 31 perform the above-described S4 and S5 at a predetermined time, and transmit a life / death confirmation packet to the primary SIP server 11 and the secondary SIP server 12. Also, when the primary SIP server 11 or the secondary SIP server 12 receives the life / death confirmation packet, the primary SIP server 11 or the secondary SIP server 12 performs the processes (A) to (E) and (a) to (e) described above, and sends the response packet to the CA server 21 or NW. The reply to the device 31 is repeated.

このとき、CAサーバ21やNW機器31の切替フラグは、通信先がプライマリSIPサーバ11であることを示す値、例えば値0である(S30)。   At this time, the switch flag of the CA server 21 or the NW device 31 is a value indicating that the communication destination is the primary SIP server 11, for example, a value 0 (S30).

また、プライマリSIPサーバ11やセカンダリSIPサーバ12の死活確認リストは、CAサーバ21とNW機器31両方から死活確認パケットを受信していることを示すものとなっている(S31)。   In addition, the life and death confirmation lists of the primary SIP server 11 and the secondary SIP server 12 indicate that the life and death confirmation packets are received from both the CA server 21 and the NW device 31 (S31).

そこに、プライマリSIPサーバ11に障害が発生した場合、プライマリSIPサーバ11の死活確認部110は、図8に示されるように、自身に備わる一般的な障害検出機能で、障害発生を検知する(S32)。   If a failure occurs in the primary SIP server 11 there, the life / non-life confirmation unit 110 of the primary SIP server 11 detects the failure with a general failure detection function provided in itself (see FIG. 8) ( S32).

次に、CAサーバ21の拠点切替部210は、所定の時間になると、プライマリSIPサーバ11とセカンダリSIPサーバ12に死活確認パケットを出力する(S4)。   Next, the base switching unit 210 of the CA server 21 outputs a life / death confirmation packet to the primary SIP server 11 and the secondary SIP server 12 at a predetermined time (S4).

次に、プライマリSIPサーバ11の死活確認部110は、CAサーバ21からの死活確認パケットを受信するが、障害発生を検知しているので、応答パケットをCAサーバ21に返信しない。   Next, the alive confirmation unit 110 of the primary SIP server 11 receives the alive confirmation packet from the CA server 21, but does not send a response packet back to the CA server 21 because it detects the occurrence of a failure.

一方、セカンダリSIPサーバ12の死活確認部120は、CAサーバ21から死活確認パケットを受信すると、障害発生を検知していないので、通常通り、上述の(A)〜(E)の処理を行い、応答パケットをCAサーバ21に返信する(S33)。   On the other hand, when the life and death confirmation unit 120 of the secondary SIP server 12 receives the life and death confirmation packet from the CA server 21, it does not detect the occurrence of a failure, and thus performs the processes (A) to (E) as described above, A response packet is returned to the CA server 21 (S33).

次に、NW機器31の拠点切替部310は、所定の時間になると、プライマリSIPサーバ11とセカンダリSIPサーバ12に対し、死活確認パケットを出力する(S5)。   Next, the base switching unit 310 of the NW device 31 outputs a life / death confirmation packet to the primary SIP server 11 and the secondary SIP server 12 at a predetermined time (S5).

次に、プライマリSIPサーバ11の死活確認部110は、NW機器31からの死活確認パケットを受信するが、障害発生を検知しているので、応答パケットをNW機器31に返信しない。   Next, the alive confirmation unit 110 of the primary SIP server 11 receives the alive confirmation packet from the NW device 31, but does not return a response packet to the NW device 31 because it detects the occurrence of a failure.

次に、プライマリSIPサーバ11の死活確認部110は、障害発生を検知しているので、死活確認リストを初期状態とする(S34)。   Next, since the life and death confirmation unit 110 of the primary SIP server 11 detects the occurrence of a failure, the life and death confirmation list is set to an initial state (S34).

一方、セカンダリSIPサーバ12の死活確認部120は、NW機器31からの死活確認パケットを受信すると、障害発生を検知していないので、通常通り、上述の(a)〜(e)の処理を行い、NW機器31に応答パケットを返信する(S35)。   On the other hand, when the life / non-life confirmation unit 120 of the secondary SIP server 12 receives the life / non-life confirmation packet from the NW device 31, it does not detect the occurrence of a failure, and thus performs the processes (a) to (e) as described above. The response packet is returned to the NW device 31 (S35).

CAサーバ21の拠点切替部210とNW機器31の拠点切替部310は、プライマリSIPサーバ11から応答パケットを受信できないので、セカンダリSIPサーバ12を新たな通信先と決定する(S36)。   Since the site switching unit 210 of the CA server 21 and the site switching unit 310 of the NW device 31 cannot receive a response packet from the primary SIP server 11, the secondary SIP server 12 is determined as a new communication destination (S36).

なお、拠点切替部210と拠点切替部310は、上述のS36において、セカンダリSIPサーバ12から応答パケットを受信していることを確認した上で、セカンダリSIPサーバ12を新たな通信先と決定してもよい。   The site switching unit 210 and the site switching unit 310 confirm that the response packet is received from the secondary SIP server 12 in S36 described above, and then determine the secondary SIP server 12 as a new communication destination. Also good.

次に、CAサーバ21の拠点切替部210とNW機器31の拠点切替部310は、切替フラグを、通信先がセカンダリSIPサーバ12であることを示す値、例えば値1に変更し、セカンダリSIPサーバ12との間で通信経路を確立する(S37)。   Next, the base switching unit 210 of the CA server 21 and the base switching unit 310 of the NW device 31 change the switching flag to a value indicating that the communication destination is the secondary SIP server 12, for example, the value 1, and the secondary SIP server A communication path is established with 12 (S37).

次に、CAサーバ21とNW機器31は、セカンダリSIPサーバ12を経由して、通信を行う。   Next, the CA server 21 and the NW device 31 communicate via the secondary SIP server 12.

以上のように、CAサーバ21とNW機器31は、通信経路を、セカンダリSIPサーバ12を経由するよう変更して、通信を継続することができる。   As described above, the CA server 21 and the NW device 31 can continue communication by changing the communication path so as to pass through the secondary SIP server 12.

(6)通信先をセカンダリSIPサーバ12に変更した後の動作
次に、通信先をセカンダリSIPサーバ12に変更した後の動作について説明する。本実施形態のサーバシステムは、通信先をプライマリSIPサーバ11からセカンダリSIPサーバ12に変更した後、プライマリSIPサーバ11を経由する通信が復旧しても、通信先をプライマリSIPサーバ11に戻さない。プライマリSIPサーバ11を経由する通信は、不安定で再度切断する可能性があるからである。以下に、通信先をセカンダリSIPサーバ12に変更した後の動作の詳細を、図9を用いて説明する。なお、以下の動作は、上述の「(4)死活確認パケットがプライマリSIPサーバに届かなかった場合の動作」や「(5)プライマリSIPサーバに障害が発生した場合の動作」の後に実施されてもよい。
(6) Operation after Changing Communication Destination to Secondary SIP Server 12 Next, the operation after changing the communication destination to the secondary SIP server 12 will be described. The server system of the present embodiment does not return the communication destination to the primary SIP server 11 even if communication via the primary SIP server 11 is restored after the communication destination is changed from the primary SIP server 11 to the secondary SIP server 12. This is because the communication via the primary SIP server 11 is unstable and may be disconnected again. Details of the operation after changing the communication destination to the secondary SIP server 12 will be described below with reference to FIG. The following operations are performed after the above-mentioned “(4) Operation when the life and death confirmation packet does not reach the primary SIP server” and “(5) Operation when a failure occurs in the primary SIP server”. Also good.

まず、本実施形態のサーバシステムは、プライマリSIPサーバ11を経由する通信に障害があり、各ネットワーク機器は、通信先をプライマリSIPサーバ11からセカンダリSIPサーバ12に変更して、セカンダリSIPサーバ12と通信を行っている。   First, the server system of the present embodiment has a failure in communication via the primary SIP server 11, and each network device changes the communication destination from the primary SIP server 11 to the secondary SIP server 12, and We are communicating.

このとき、CAサーバ21とNW機器31の切替フラグは、通信先がセカンダリSIPサーバ12であることを示す値、例えば値1となっている(S40)。   At this time, the switch flag between the CA server 21 and the NW device 31 is a value indicating that the communication destination is the secondary SIP server 12, for example, a value 1 (S40).

また、プライマリSIPサーバ11が保持する死活確認リストは、CAサーバ21とNW機器31両方から死活確認パケットを受信済であることを示すものではなくなっている。ここでは、死活確認リストは、図9に示されるように、初期状態であるとして説明を続ける(S41)。   Further, the life / death confirmation list held by the primary SIP server 11 does not indicate that the life / death confirmation packet has been received from both the CA server 21 and the NW device 31. Here, the life and death confirmation list is assumed to be in the initial state as shown in FIG. 9 (S41).

上述の状態において、プライマリSIPサーバ11を経由する通信の障害が復旧し、正常に行えるようになったとする(S42)。   In the above-described state, it is assumed that the communication failure via the primary SIP server 11 has been recovered and can be normally performed (S42).

次に、CAサーバ21の拠点切替部210は、所定の時間になると、プライマリSIPサーバ11とセカンダリSIPサーバ12に対し、死活確認パケットを出力する(S4)。   Next, the base switching unit 210 of the CA server 21 outputs a life / death confirmation packet to the primary SIP server 11 and the secondary SIP server 12 at a predetermined time (S4).

次に、プライマリSIPサーバ11の死活確認部110とセカンダリSIPサーバ12の死活確認部120は、CAサーバ21から死活確認パケットを受信すると、上述の(A)〜(E)の処理を実施する。   Next, when the life / non-life confirmation unit 120 of the primary SIP server 11 and the life / non-life confirmation unit 120 of the secondary SIP server 12 receive the life / non-life confirmation packet from the CA server 21, the processes (A) to (E) described above are performed.

その結果、セカンダリSIPサーバ12の死活確認部120は、応答パケットをCAサーバ21に返信する(S43)。   As a result, the alive confirmation unit 120 of the secondary SIP server 12 returns a response packet to the CA server 21 (S43).

一方、プライマリSIPサーバ11の死活確認部110は、図示していないが、CAサーバ21から死活確認パケットを受信しているので、死活確認リストを、CAサーバ21から死活確認パケットを受信していることを示すものに更新する。なお、プライマリSIPサーバ11の死活確認部110は、CAサーバ21から死活確認パケットを受信しても、死活確認リストが初期状態である為、応答パケットをCAサーバ21に返信しない。   On the other hand, although not shown, the life / death confirmation unit 110 of the primary SIP server 11 receives the life / death confirmation packet from the CA server 21 and thus receives the life / life confirmation list from the CA server 21. Update to indicate that. Note that even if the life / death confirmation unit 110 of the primary SIP server 11 receives the life / death confirmation packet from the CA server 21, the life / death confirmation list is in an initial state, and therefore does not return a response packet to the CA server 21.

次に、NW機器31の拠点切替部310は、所定の時間になると、プライマリSIPサーバ11とセカンダリSIPサーバ12に対し、死活確認パケットを出力する(S5)。   Next, the base switching unit 310 of the NW device 31 outputs a life / death confirmation packet to the primary SIP server 11 and the secondary SIP server 12 at a predetermined time (S5).

次に、プライマリSIPサーバ11の死活確認部110とセカンダリSIPサーバ12の死活確認部120は、NW機器31から死活確認パケットを受信すると、上述の(a)〜(e)の処理を実施する。   Next, when the life / non-life confirmation unit 120 of the primary SIP server 11 and the life / non-life confirmation unit 120 of the secondary SIP server 12 receive the life / non-life confirmation packet from the NW device 31, the processes (a) to (e) described above are performed.

その結果、セカンダリSIPサーバ12の死活確認部120は、応答パケットをNW機器31に返信する(S44)。   As a result, the alive confirmation unit 120 of the secondary SIP server 12 returns a response packet to the NW device 31 (S44).

一方、プライマリSIPサーバ11の死活確認部110は、NW機器31から死活確認パケットを受信しているが、応答パケットをNW機器31に返信しない。死活確認リストが、CAサーバ21からのみ死活確認パケットを受信していることを示すものだからである。   On the other hand, the alive confirmation unit 110 of the primary SIP server 11 receives the alive confirmation packet from the NW device 31, but does not return a response packet to the NW device 31. This is because the life / death confirmation list indicates that the life / death confirmation packet is received only from the CA server 21.

次に、プライマリSIPサーバ11の死活確認部110は、NW機器31から死活確認パケットを受信しているので、死活確認リストを、死活確認リストは、CAサーバ21とNW機器31両方から受信していることを示すものに更新する(S45)。   Next, since the life and death confirmation unit 110 of the primary SIP server 11 has received the life and death confirmation packet from the NW device 31, the life and death confirmation list is received from both the CA server 21 and the NW device 31. (S45).

次に、CAサーバ21の拠点切替部210とNW機器31の拠点切替部310は、図示していないが、プライマリSIPサーバ11から応答パケットが返信されない為、セカンダリSIPサーバ12を通信先と決定し、セカンダリSIPサーバ12と通信を継続する。   Next, although not shown, the base switching unit 210 of the CA server 21 and the base switching unit 310 of the NW device 31 determine that the secondary SIP server 12 is a communication destination because a response packet is not returned from the primary SIP server 11. The communication with the secondary SIP server 12 is continued.

次に、CAサーバ21の拠点切替部210は、所定の時間になると、プライマリSIPサーバ11とセカンダリSIPサーバ12に対し、死活確認パケットを出力する(S4)。   Next, the base switching unit 210 of the CA server 21 outputs a life / death confirmation packet to the primary SIP server 11 and the secondary SIP server 12 at a predetermined time (S4).

次に、プライマリSIPサーバ11の死活確認部110とセカンダリSIPサーバ12の死活確認部120は、CAサーバ21から死活確認パケットを受信すると、上述の(A)〜(E)の処理を実施する。   Next, when the life / non-life confirmation unit 120 of the primary SIP server 11 and the life / non-life confirmation unit 120 of the secondary SIP server 12 receive the life / non-life confirmation packet from the CA server 21, the processes (A) to (E) described above are performed.

その結果、プライマリSIPサーバ11の死活確認部110とセカンダリSIPサーバ12の死活確認部120は、応答パケットを、CAサーバ21に返す(S6)。死活確認リストが、上述のS45にて、CAサーバ21とNW機器31両方から死活確認パケットを受信していることを示すものとなっているからである。   As a result, the alive confirmation unit 110 of the primary SIP server 11 and the alive confirmation unit 120 of the secondary SIP server 12 return a response packet to the CA server 21 (S6). This is because the life and death confirmation list indicates that the life and death confirmation packet is received from both the CA server 21 and the NW device 31 in S45 described above.

次に、NW機器31の拠点切替部310は、所定の時間になると、プライマリSIPサーバ11とセカンダリSIPサーバ12に対し、死活確認パケットを出力する(S5)。   Next, the base switching unit 310 of the NW device 31 outputs a life / death confirmation packet to the primary SIP server 11 and the secondary SIP server 12 at a predetermined time (S5).

次に、プライマリSIPサーバ11の死活確認部110とセカンダリSIPサーバ12の死活確認部120は、NW機器31から死活確認パケットを受信すると、上述の(a)〜(e)の処理を実施する。   Next, when the life / non-life confirmation unit 120 of the primary SIP server 11 and the life / non-life confirmation unit 120 of the secondary SIP server 12 receive the life / non-life confirmation packet from the NW device 31, the processes (a) to (e) described above are performed.

その結果、プライマリSIPサーバ11の死活確認部110とセカンダリSIPサーバ12の死活確認部120は、応答パケットを、NW機器31に返す(S7)。死活確認リストが、上述のS45にて、CAサーバ21とNW機器31両方から死活確認パケットを受信していることを示すものとなっているからである。   As a result, the alive confirmation unit 110 of the primary SIP server 11 and the alive confirmation unit 120 of the secondary SIP server 12 return a response packet to the NW device 31 (S7). This is because the life and death confirmation list indicates that the life and death confirmation packet is received from both the CA server 21 and the NW device 31 in S45 described above.

次に、CAサーバ21の拠点切替部210とNW機器31の拠点切替部310は、プライマリSIPサーバ11から応答パケットを受信するが、通信先がセカンダリSIPサーバ12であることを示す値、例えば値1である切替フラグを保持している。   Next, the base switching unit 210 of the CA server 21 and the base switching unit 310 of the NW device 31 receive a response packet from the primary SIP server 11, but a value indicating that the communication destination is the secondary SIP server 12, for example, a value A switching flag of 1 is held.

その為、CAサーバ21の拠点切替部210とNW機器31の拠点切替部310は、通信先をセカンダリSIPサーバ12のままとし、セカンダリSIPサーバ12と通信を継続する(S46)。すなわち、CAサーバ21とNW機器31は、セカンダリSIPサーバ12を経由して通信を継続する。   Therefore, the base switching unit 210 of the CA server 21 and the base switching unit 310 of the NW device 31 leave the communication destination as the secondary SIP server 12 and continue communication with the secondary SIP server 12 (S46). That is, the CA server 21 and the NW device 31 continue to communicate via the secondary SIP server 12.

上述の動作により、本実施形態のサーバシステムのCAサーバ21とNW機器31は、プライマリSIPサーバ11経由を経由する通信が復旧しても、通信先をプライマリSIPサーバ11に戻さないようにすることができる。   With the above-described operation, the CA server 21 and the NW device 31 of the server system according to the present embodiment do not return the communication destination to the primary SIP server 11 even if communication via the primary SIP server 11 is restored. Can do.

(7)プライマリSIPサーバが保守者によって復旧された場合の動作
最後に、保守者が障害のあるプライマリSIPサーバ11を復旧させた後の本実施形態のサーバシステムの動作について、図10を用いて以下に説明する。
(7) Operation when the primary SIP server is restored by the maintenance person Finally, the operation of the server system of this embodiment after the maintenance person restores the failed primary SIP server 11 with reference to FIG. This will be described below.

まず、本実施形態のサーバシステムは、セカンダリSIPサーバ12経由で通信を行っている。そこに、保守者が、障害のあるププライマリSIPサーバ11を復旧させ、さらに、以下の(イ)〜(ニ)の手順を行ったとする。   First, the server system of this embodiment performs communication via the secondary SIP server 12. Then, it is assumed that the maintenance person restores the failed primary SIP server 11 and further performs the following procedures (a) to (d).

(イ)まず、保守者は、障害のあるプライマリSIPサーバ11を復旧させると、図10に示されるように、プライマリSIPサーバ11の動作の正常性を確認する(S60)。   (A) First, when the failed primary SIP server 11 is restored, the maintenance person confirms the normal operation of the primary SIP server 11 as shown in FIG. 10 (S60).

(ロ)次に、保守者は、プライマリSIPサーバ11の動作に異常がなければ、プライマリSIPサーバ11の死活確認部110の保持している死活確認リストを初期状態とする(S61)。   (B) Next, if there is no abnormality in the operation of the primary SIP server 11, the maintenance person sets the life / death confirmation list held by the life / death confirmation unit 110 of the primary SIP server 11 to the initial state (S61).

(ハ)次に、保守者は、CAサーバ21の保持する切替フラグを、通信先がプライマリSIPサーバ11であることを示す値、例えば、値0に設定する(S62)。   (C) Next, the maintenance person sets the switch flag held by the CA server 21 to a value indicating that the communication destination is the primary SIP server 11, for example, the value 0 (S62).

(ニ)次に、保守者は、NW機器31の保持する切替フラグを、通信先がプライマリSIPサーバ11であることを示す値、例えば、値0に設定する(S63)。   (D) Next, the maintenance person sets a switching flag held by the NW device 31 to a value indicating that the communication destination is the primary SIP server 11, for example, a value 0 (S63).

次に、本実施形態のサーバシステムの各種機器は、図10に示されるように、上述の「(3)通常時の動作」で説明したS4〜S7の動作を開始する。   Next, as illustrated in FIG. 10, the various devices of the server system according to the present embodiment start the operations of S <b> 4 to S <b> 7 described in the above “(3) Normal operation”.

すなわち、CAサーバ21の拠点切替部210とNW機器31の拠点切替部310は、所定の時間になると、プライマリSIPサーバ11とセカンダリSIPサーバ12に対し、死活確認パケットを繰り返し送信する。プライマリSIPサーバ11の死活確認部110やセカンダリSIPサーバ12の死活確認部120は、死活確認パケットを受信する度に、上述の(A)〜(E)や(a)〜(e)の処理を行う。その結果、死活確認リストが、CAサーバ21とNW機器31両方から死活確認パケットを受信済であることを示すものとなって、死活確認部110や死活確認部120は、応答パケットをCAサーバ21やNW機器31に返信する。   That is, the base switching unit 210 of the CA server 21 and the base switching unit 310 of the NW device 31 repeatedly transmit a life / death confirmation packet to the primary SIP server 11 and the secondary SIP server 12 at a predetermined time. The alive confirmation unit 110 of the primary SIP server 11 and the alive confirmation unit 120 of the secondary SIP server 12 perform the processes (A) to (E) and (a) to (e) described above every time a alive confirmation packet is received. Do. As a result, the life and death confirmation list indicates that the life and death confirmation packet has been received from both the CA server 21 and the NW device 31, and the life and death confirmation unit 110 and the life and death confirmation unit 120 send the response packet to the CA server 21. Or reply to the NW device 31.

次に、CAサーバ21の拠点切替部210とNW機器31の拠点切替部310は、プライマリSIPサーバ11から応答パケットを受信すると、プライマリSIPサーバ11を通信先に決定する(S64)。このとき、切替フラグは、通信先がプライマリSIPサーバ11であることを示すものである。   Next, when the base switching unit 210 of the CA server 21 and the base switching unit 310 of the NW device 31 receive the response packet from the primary SIP server 11, the primary SIP server 11 is determined as the communication destination (S64). At this time, the switching flag indicates that the communication destination is the primary SIP server 11.

次に、CAサーバ21の拠点切替部210とNW機器31の拠点切替部310は、プライマリSIPサーバ11との間で通信経路を確立する(S65)。   Next, the base switching unit 210 of the CA server 21 and the base switching unit 310 of the NW device 31 establish a communication path with the primary SIP server 11 (S65).

次に、CAサーバ21とNW機器31は、プライマリSIPサーバ11を経由して、通信を行う。   Next, the CA server 21 and the NW device 31 communicate via the primary SIP server 11.

なお、上述では、SIPサーバに接続されるネットワーク機器は、CAサーバ21とNW機器31の2台であったが、これに限定せず、3台以上設定されていてもよい。   In the above description, the two network devices connected to the SIP server are the CA server 21 and the NW device 31, but the present invention is not limited to this, and three or more network devices may be set.

また、SIPサーバについても、上述ではプライマリSIPサーバ11とセカンダリSIPサーバ12の2台であったが、これに限定しない。3台以上設定されていてもよい。この場合、本実施形態のサーバシステムのユーザは、各SIPサーバの優先度を各ネットワーク機器に設定する。各ネットワーク機器は、現在、通信を行っているサーバに死活確認パケットを送信し、応答パケットが返されない場合、通信を行っているサーバ以外の他のサーバのうち、優先度の最も高いサーバを新たな通信先に決定し、そのサーバとの間で通信経路を確立する。   Also, in the above description, there are two SIP servers, the primary SIP server 11 and the secondary SIP server 12, but the present invention is not limited to this. Three or more units may be set. In this case, the user of the server system of this embodiment sets the priority of each SIP server for each network device. Each network device transmits a life / death confirmation packet to the server that is currently communicating, and if a response packet is not returned, the server with the highest priority is newly selected from other servers other than the server that is performing communication. The communication destination is determined and a communication path is established with the server.

[効果の説明]
本実施形態によれば、サーバシステムは、サーバを経由して行われるネットワーク機器間の通信を継続することができる。その理由を以下に説明する。
[Description of effects]
According to this embodiment, the server system can continue communication between network devices performed via the server. The reason will be described below.

まず、本実施形態のサーバシステムを構成するプライマリSIPサーバは、接続されるネットワーク機器のうち、一部のネットワーク機器から死活確認パケットを受信できない場合、全てのネットワーク機器に応答パケットを返信しない。その為、全てのネットワーク機器は、プライマリSIPサーバ経由の通信に障害が発生したことが認識でき、セカンダリSIPサーバを新たな通信先に決定し、そのセカンダリSIPサーバとの間で通信経路を確立することができる。その結果、ネットワーク機器全てが、同じサーバ、すなわちセカンダリSIPサーバを経由して通信を行うことができ、ネットワーク間の通信経路が途切れないので、本実施形態のサーバシステムは、ネットワーク間の通信を途切れないようにすることができる。   First, when the primary SIP server constituting the server system of the present embodiment cannot receive the alive confirmation packet from some network devices among the connected network devices, the primary SIP server does not return a response packet to all the network devices. Therefore, all network devices can recognize that a failure has occurred in communication via the primary SIP server, determine a secondary SIP server as a new communication destination, and establish a communication path with the secondary SIP server. be able to. As a result, all the network devices can communicate via the same server, that is, the secondary SIP server, and the communication path between the networks is not interrupted. Therefore, the server system of this embodiment interrupts communication between the networks. Can not be.

また、本実施形態によれば、サーバシステムは、プライマリSIPサーバ経由での通信が自然復旧したとしても、不安定で再度切断する可能性のあるプライマリSIPサーバ経由で通信を行わないようにすることができる。その理由は、各ネットワーク機器は、通信先がセカンダリSIPサーバであることを示す切替フラグを保持している場合には、通信先をプライマリSIPサーバ11に戻さないからである。この効果は、上述の「(6)通信先をセカンダリSIPサーバ12に変更した後の動作」でも述べている。   In addition, according to the present embodiment, even if communication via the primary SIP server is naturally recovered, the server system does not perform communication via the primary SIP server that is unstable and may be disconnected again. Can do. The reason is that each network device does not return the communication destination to the primary SIP server 11 when it holds a switching flag indicating that the communication destination is a secondary SIP server. This effect is also described in “(6) Operation after changing communication destination to secondary SIP server 12” described above.

[第2の実施の形態]
次に、本発明の第2の実施の形態について説明する。
[Second Embodiment]
Next, a second embodiment of the present invention will be described.

[構成の説明]
図11は、本発明の第2の実施の形態におけるサーバシステムの構成例を示す図である。
[Description of configuration]
FIG. 11 is a diagram illustrating a configuration example of a server system according to the second embodiment of the present invention.

第2の実施の形態におけるサーバシステムは、図11に示されるように、複数のネットワーク機器と複数のサーバから構成される。各ネットワーク機器は、複数のサーバと接続される。   As shown in FIG. 11, the server system according to the second embodiment includes a plurality of network devices and a plurality of servers. Each network device is connected to a plurality of servers.

各ネットワーク機器は、接続された複数のサーバのうち、いずれかのサーバとの間で通信経路を確立し、通信を行うネットワーク機器である。各ネットワーク機器は、現在、通信を行っている所定のサーバに送信した死活確認パケットに対し、応答パケットが返されない場合、所定のサーバ以外の他のサーバのうち、優先度の最も高いサーバとの間で通信経路を確立する。各サーバの優先度は、本実施形態のサーバシステムのユーザによってネットワーク機器に設定される。なお、上述の所定のサーバは、サーバのうち、優先度の最も高いサーバであってもよい。   Each network device is a network device that establishes a communication path with any one of a plurality of connected servers and performs communication. If a response packet is not returned for a life / death confirmation packet transmitted to a predetermined server that is currently communicating, each network device is assigned to the server with the highest priority among other servers other than the predetermined server. Establish a communication path between them. The priority of each server is set in the network device by the user of the server system of this embodiment. The predetermined server described above may be a server having the highest priority among the servers.

各サーバは、接続されるネットワーク機器全てから自身の死活を確認するための死活確認パケットを受信していないと、応答パケットをネットワーク機器に返さない。   Each server does not return a response packet to the network device unless it has received a life / death confirmation packet for confirming its own life / death from all the connected network devices.

[動作の説明]
各ネットワーク機器は、接続された複数のサーバのうち、所定のサーバとの間で通信経路を確立し、通信を行っている。すなわち、各ネットワーク機器は、所定のサーバを経由して通信を行っている。
[Description of operation]
Each network device establishes a communication path with a predetermined server among a plurality of connected servers, and performs communication. That is, each network device communicates via a predetermined server.

このとき、まず、各ネットワーク機器は、所定のサーバに死活確認パケットを送信する。   At this time, each network device first transmits a life / death confirmation packet to a predetermined server.

次に、所定のサーバは、接続されるネットワーク機器全てから死活確認パケットを受信していないと、応答パケットをネットワーク機器に返さない。   Next, the predetermined server does not return a response packet to the network device unless receiving the alive confirmation packet from all the connected network devices.

各ネットワーク機器は、送信した死活確認パケットに対し、応答パケットが返されない場合、所定のサーバ以外の他のサーバのうち、優先度の最も高いサーバとの間で通信経路を確立する。   Each network device establishes a communication path with a server having the highest priority among servers other than the predetermined server when a response packet is not returned in response to the transmitted alive confirmation packet.

その結果、各ネットワーク機器は、決定したサーバを経由して、互いに通信を行うことができる。   As a result, the network devices can communicate with each other via the determined server.

[効果の説明]
本実施形態によれば、サーバシステムは、サーバを経由して行われるネットワーク機器間の通信を継続することができる。その理由を以下に説明する。
[Description of effects]
According to this embodiment, the server system can continue communication between network devices performed via the server. The reason will be described below.

まず、本実施形態のサーバシステムを構成する各サーバは、接続されるネットワーク機器のうち、一部のネットワーク機器から死活確認パケットを受信できない場合、全てのネットワーク機器に応答パケットを返信しない。その為、全てのネットワーク機器は、現在通信先としているサーバ、すなわち所定のサーバを経由する通信に障害が発生したことを認識することができ、他の優先度の最も高いサーバとの間で通信経路を確立することができる。その結果、ネットワーク機器全てが、同じ他のサーバを経由して通信を行うことができ、ネットワーク間の通信経路が途切れないので、本実施形態のサーバシステムは、サーバを経由するネットワーク機器間の通信を継続することができる。   First, each server constituting the server system of the present embodiment does not return a response packet to all network devices when it cannot receive the alive confirmation packet from some of the connected network devices. Therefore, all network devices can recognize that a failure has occurred in communication via the server that is currently the communication destination, that is, the predetermined server, and communicate with other servers with the highest priority. A route can be established. As a result, all the network devices can communicate via the same other server, and the communication path between the networks is not interrupted. Therefore, the server system according to the present embodiment communicates between the network devices via the server. Can continue.

11 プライマリSIPサーバ
12 セカンダリSIPサーバ
21 CAサーバ
31 NW機器
41 加入者端末
51 PSTN網
110 死活確認部
120 死活確認部
210 拠点切替部
310 拠点切替部
DESCRIPTION OF SYMBOLS 11 Primary SIP server 12 Secondary SIP server 21 CA server 31 NW equipment 41 Subscriber terminal 51 PSTN network 110 Life / death confirmation part 120 Life / death confirmation part 210 Base switching part 310 Base switching part

Claims (10)

接続されるネットワーク機器全てから自身の死活を確認するための死活確認パケットを受信していないと、応答パケットを前記ネットワーク機器に返さない、
ことを特徴とするサーバ。
If a life / death confirmation packet for confirming its own life / death is not received from all connected network devices, a response packet is not returned to the network device,
A server characterized by that.
前記ネットワーク機器全てから前記死活確認パケットを受信し、且つ、自身の動作に異常がないときは、前記応答パケットを返し、それ以外の場合は、前記応答パケットを前記ネットワーク機器に返さない、
ことを特徴とする請求項1に記載のサーバ。
When the alive confirmation packet is received from all the network devices, and when there is no abnormality in its own operation, the response packet is returned; otherwise, the response packet is not returned to the network device.
The server according to claim 1.
接続された複数のサーバのうち、いずれかの前記サーバとの間で通信経路を確立し、通信を行うネットワーク機器であって、
現在、通信を行っている所定の前記サーバに送信した死活確認パケットに対し、応答パケットが返されない場合、前記所定のサーバ以外の他の前記サーバのうち、優先度の最も高いサーバとの間で通信経路を確立する、
ことを特徴とするネットワーク機器。
A network device that establishes a communication path with any one of the connected servers and performs communication,
If a response packet is not returned for the alive confirmation packet transmitted to the predetermined server that is currently communicating, among the other servers other than the predetermined server, the server with the highest priority Establish a communication path,
Network equipment characterized by this.
前記他のサーバにも前記死活確認パケットを送信し、前記応答パケットが返ってきた前記サーバの内、優先度の最も高いサーバとの間で通信経路を確立する、
ことを特徴とする請求項3に記載のネットワーク機器。
Sending the alive confirmation packet to the other server, and establishing a communication path with the server having the highest priority among the servers from which the response packet is returned.
The network device according to claim 3.
前記複数のサーバは、プライマリサーバとセカンダリサーバを含み、
前記プライマリサーバに送信した前記死活確認パケットに対し、前記応答パケットが返されない場合、前記セカンダリサーバとの間で通信経路を確立する、
ことを特徴とする請求項3乃至4のいずれか1項に記載のネットワーク機器。
The plurality of servers include a primary server and a secondary server,
In response to the alive confirmation packet transmitted to the primary server, if the response packet is not returned, establish a communication path with the secondary server,
The network device according to claim 3, wherein the network device is a network device.
前記セカンダリサーバとの間で通信経路を確立した後、前記プライマリサーバとの間では通信経路を確立しない、
ことを特徴とする請求項5に記載のネットワーク機器。
After establishing a communication path with the secondary server, do not establish a communication path with the primary server,
The network device according to claim 5, wherein:
通信先に対応する切替フラグを保持し、前記セカンダリサーバとの間で通信経路を確立する場合には、前記切替フラグの値を、通信先が前記セカンダリリサーバであることに対応する値とし、前記プライマリサーバに前記死活確認パケットを送信し、前記応答パケットが返ってきた場合であっても、前記切替フラグの値が、通信先が前記セカンダリリサーバであることに対応する値であれば、前記プライマリサーバとの間で通信経路を確立しない、
ことを特徴とする請求項6に記載のネットワーク機器。
When holding a switching flag corresponding to a communication destination and establishing a communication path with the secondary server, the value of the switching flag is a value corresponding to that the communication destination is the secondary server, Even when the alive confirmation packet is transmitted to the primary server and the response packet is returned, if the value of the switching flag is a value corresponding to the communication destination being the secondary reserver, Do not establish a communication path with the primary server,
The network device according to claim 6.
前記ネットワーク機器は、サーバとルータのいずれかを含む、
ことを特徴とする請求項3乃至7のいずれか1項に記載のネットワーク機器。
The network device includes either a server or a router,
The network device according to claim 3, wherein the network device is a network device.
複数のサーバと複数のネットワーク機器が接続されたサーバシステムであって、
前記サーバは、請求項1乃至2のいずれか1項に記載のサーバであり、
前記ネットワーク機器は、請求項3乃至8のいずれか1項に記載のネットワーク機器である、
ことを特徴とする、サーバシステム。
A server system in which a plurality of servers and a plurality of network devices are connected,
The server is the server according to any one of claims 1 to 2,
The network device is the network device according to any one of claims 3 to 8.
A server system characterized by that.
複数のサーバと複数のネットワーク機器が接続されたサーバシステムにおいて、前記ネットワーク機器が通信先の前記サーバを決定する通信先決定方法であって、
前記ネットワーク機器は、所定の前記サーバに死活確認パケットを送信し、前記所定のサーバは、接続される前記ネットワーク機器全てから前記死活確認パケットを受信していないと、応答パケットを前記ネットワーク機器に返さず、前記ネットワーク機器は、前記応答パケットが返されない場合、前記所定のサーバ以外の他の前記サーバのうち、優先度の最も高いサーバを通信先に決定し、決定した前記サーバとの間で通信経路を確立する、
ことを特徴とする通信先決定方法。
In a server system in which a plurality of servers and a plurality of network devices are connected, the network device is a communication destination determination method for determining the server of the communication destination,
The network device transmits a life / death confirmation packet to the predetermined server, and if the predetermined server has not received the life / death confirmation packet from all of the connected network devices, a response packet is returned to the network device. When the response packet is not returned, the network device determines a server having the highest priority among the other servers other than the predetermined server as a communication destination, and communicates with the determined server. Establish a route,
A communication destination determination method characterized by the above.
JP2013053438A 2013-03-15 2013-03-15 Server, network device, server system, communication destination determination method Active JP6127615B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013053438A JP6127615B2 (en) 2013-03-15 2013-03-15 Server, network device, server system, communication destination determination method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013053438A JP6127615B2 (en) 2013-03-15 2013-03-15 Server, network device, server system, communication destination determination method

Publications (2)

Publication Number Publication Date
JP2014179866A true JP2014179866A (en) 2014-09-25
JP6127615B2 JP6127615B2 (en) 2017-05-17

Family

ID=51699370

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013053438A Active JP6127615B2 (en) 2013-03-15 2013-03-15 Server, network device, server system, communication destination determination method

Country Status (1)

Country Link
JP (1) JP6127615B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2022531266A (en) * 2019-04-30 2022-07-06 グーグル エルエルシー Systems and methods for monitoring network devices

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000330814A (en) * 1999-05-19 2000-11-30 Toshiba Corp Duplexed server system
US20030005350A1 (en) * 2001-06-29 2003-01-02 Maarten Koning Failover management system
JP2007142976A (en) * 2005-11-21 2007-06-07 Hitachi Communication Technologies Ltd Sip server system
JP2009265690A (en) * 2008-04-21 2009-11-12 Toshiba Corp Cluster system and program
JP2010124152A (en) * 2008-11-18 2010-06-03 Toshiba Corp Failure diagnosis program, method and communication apparatus

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000330814A (en) * 1999-05-19 2000-11-30 Toshiba Corp Duplexed server system
US20030005350A1 (en) * 2001-06-29 2003-01-02 Maarten Koning Failover management system
JP2007142976A (en) * 2005-11-21 2007-06-07 Hitachi Communication Technologies Ltd Sip server system
JP2009265690A (en) * 2008-04-21 2009-11-12 Toshiba Corp Cluster system and program
JP2010124152A (en) * 2008-11-18 2010-06-03 Toshiba Corp Failure diagnosis program, method and communication apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2022531266A (en) * 2019-04-30 2022-07-06 グーグル エルエルシー Systems and methods for monitoring network devices
JP7317998B2 (en) 2019-04-30 2023-07-31 グーグル エルエルシー Systems and methods for monitoring network devices

Also Published As

Publication number Publication date
JP6127615B2 (en) 2017-05-17

Similar Documents

Publication Publication Date Title
US20190050304A1 (en) Method and Apparatus for Indirectly Assessing a Status of an Active Entity
EP2742673B1 (en) Method, device, and system for providing a survivability gateway service
CN110838991A (en) Gateway connection method, device, storage medium, electronic device and gateway device
CN102780635B (en) The method of pretection switch, TOR switch and system is realized based on TRILL network
CN104486128B (en) A kind of system and method for realizing redundancy heartbeat between dual controller node
CN101702712B (en) Detection technology and voice call backup linkage method and device thereof
US20180027028A1 (en) Terminal and Terminal Call Soft Switching Method
JP2006166244A (en) Network telephone system, and main device of the network telephone system
US9350872B2 (en) Recovery of established emergency calls
JP6127615B2 (en) Server, network device, server system, communication destination determination method
JP2006173768A (en) Telephone system, exchange system and terminal
CN103166922B (en) Call request processing method, system and device in point-to-point stacking network
JP4920715B2 (en) Gateway device, non-billing processing system, and non-billing processing method
CN102647397B (en) A kind of method and system of SIP meeting call protection
JP4857300B2 (en) Monitoring device, monitoring system and monitoring program
CA2865456A1 (en) Recovery of established emergency calls
KR20160030408A (en) Call service providing method and system for switching between public switched telephone network mode and voice over internet protocol mode
JP5322312B2 (en) PBX backup system
JP5227616B2 (en) IP telephone system and call relay method between a plurality of bases
JP2009055342A (en) Media gateway system compatible with sip
JP4762602B2 (en) Extension telephone system
JP2023033935A (en) Communication system, communication method, and communication program
JP2015171021A (en) Mobile communication system, determination method of sip server in mobile communication system
JP2014165632A (en) Network device
CN113055200A (en) Disaster recovery method, device, equipment and medium based on short message gateway centralization

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160217

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20161202

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20161227

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170223

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170327

R150 Certificate of patent or registration of utility model

Ref document number: 6127615

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150