JP3761509B2 - SIP server failure detection method in IP network - Google Patents
SIP server failure detection method in IP network Download PDFInfo
- Publication number
- JP3761509B2 JP3761509B2 JP2002341108A JP2002341108A JP3761509B2 JP 3761509 B2 JP3761509 B2 JP 3761509B2 JP 2002341108 A JP2002341108 A JP 2002341108A JP 2002341108 A JP2002341108 A JP 2002341108A JP 3761509 B2 JP3761509 B2 JP 3761509B2
- Authority
- JP
- Japan
- Prior art keywords
- sip server
- failure
- invite message
- sip
- health check
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Description
【0001】
【発明の属する技術分野】
本発明はIP網におけるSIPサーバ障害検出方式に関し、特にSIPサーバの呼制御機能の障害を検出することを可能とする、IP網におけるSIPサーバ障害検出方式に関する。
【0002】
【従来の技術】
近年のインターネットの発達に伴い、IP(Internet Protocol:インターネット・プロトコル)網を利用した各種のネットワークサービス、例えば、各種のコンテンツサービスやVoIP(Voice over IP:IP上の音声)サービスなどが提供されるようになってきている。
【0003】
そして、VoIPサービスなどのようにIP網を使用した電話サービスを実現するために、SIP(Session Initiation Protocol:セッション開始プロトコル)を搭載した所謂SIPサーバがIP網内に導入されるようになってきている。
【0004】
SIPは、IP網における電話サービスを実現するために、一般の電話サービスの有する呼の制御を行うためのプロトコルであり、インターネットの標準化を推進しているIETF(Internet Engineering TaskForce)のRFC(Request for Comments)2543にその仕様が述べられているものである。
【0005】
通信プロトコルとしてTCP/IP(Trasport Control Protocol/Internet Protocol)を使用するIP網において、IP網を構成するサーバやルータ、或いはゲートウェイや通信路の障害を検出するためには、通常、ICMP(Internet Control Message Protocol)のEchoコマンド(通称pingコマンド)を発信し、このコマンドを受信した装置がその応答を返す、というヘルスチェックの仕組みを利用して障害検出を行うようになっている(例えば、特許文献1参照。)。
【0006】
【特許文献1】
特開平10−242971号公報(図1、2、3)
【0007】
【発明が解決しようとする課題】
上述した従来のpingコマンドによるヘルスチェックの方式は、ICMPがTCP/IPと同一のネットワーク層(第3層)に実装されるため、IPパケットレベルの障害検出は可能となっている。しかし、障害検出を行いたい対向装置がSIPサーバである場合には、SIPはTCP/IPの上位層に実装されるため、SIPの有する呼制御機能の障害検出は行うことが出来ない。例えば、SIPサーバの呼制御機能が障害状態であるが、SIPサーバのTCP/IP以下の層の機能が正常状態である場合に、該SIPサーバがpingコマンドを受信すると、TCP/IP以下の層が正常であるため、pingコマンドの応答は正常に返送されてしまう。すなわち、pingコマンドだけでは、SIPサーバの呼制御機能の障害検出を正確に行うことは出来ない。
【0008】
本発明は、上述した事情を改善するために成されたものであり、本発明の目的は、対向SIPサーバに対し、pingコマンドの代わりにINVITEメッセージを用いたヘルスチェックを行うことにより、SIPサーバの呼制御機能の障害を検出することを可能とする、IP網におけるSIPサーバ障害検出方式を提供することにある。
【0009】
【課題を解決するための手段】
本発明のIP網におけるSIPサーバ障害検出方式は、SIP(Session Initiation Protocol:セッション開始プロトコル)を搭載した複数のSIPサーバが相互に接続されているIP(Internet Protocol)網において、1つのSIPサーバから対向するSIPサーバに送出されるSIPにおけるINVITEメッセージに対する応答信号が返送されない時に、前記1つのSIPサーバが前記対向するSIPサーバの呼制御機能の障害であることを検出し、
SIPサーバの各々は、電話の呼の生起を検知して呼の接続、解放等の制御を行う呼制御処理手段と、呼の接続先の決定などを行うルーティング処理手段と、対向するSIPサーバの障害を検出した場合に、障害となったSIPサーバに対してヘルスチェックを実行するヘルスチェック専用処理手段と、対向するSIPサーバの障害を検出した場合に該SIPサーバが障害状態にあることを登録する障害管理テーブルと、対向するSIPサーバにINVITEメッセージを再送する上限値を記憶する障害検出用再送閾値記憶部と、を備え、
呼が生起された場合に該呼の生起を検知したSIPサーバが、該呼のルーティング先となったSIPサーバに対してINVITEメッセージを送出し、該INVITEメッセージに対する応答信号が前記ルーティング先となったSIPサーバから返送されない場合にはINVITEメッセージを再送し、INVITEメッセージの再送を前記障害検出用再送閾値記憶部に記憶されている回数行っても、前記ルーティング先となったSIPサーバから応答信号が返送されない場合に、前記ルーティング先となったSIPサーバの呼制御機能の障害であることを検出し、前記ルーティング先となったSIPサーバの対地名を前記障害管理テーブルに登録し、
呼制御機能の障害であることを検出されたSIPサーバに対し、前記ヘルスチェック専用処理手段が、ヘルスチェックINVITEメッセージを送出し、前記ヘルスチェックINVITEメッセージに対する応答信号(エラー応答)が返送されない場合は前記障害であることを検出されたSIPサーバは、障害中であると判定して、定期的にヘルスチェックINVITEメッセージを送出することによりヘルスチェックを継続し、前記ヘルスチェックINVITEメッセージに対する応答信号(エラー応答)が返送された場合は前記障害であることを検出されたSIPサーバの障害が復旧したと判定して、前記障害管理テーブルに登録されていた該当SIPサーバの対地名を前記障害管理テーブルから削除し、
前記ヘルスチェックINVITEメッセージの形式は、SIPにおけるINVITEメッセージの一部分を特殊な形式に変更し、SIPにおけるルーティングが不可能な形式となっている、ことを特徴とする。
【0010】
また、SIPを搭載した複数のSIPサーバが相互に接続されているIP網において、1つのSIPサーバから対向するSIPサーバに送出されるSIPにおけるINVITEメッセージに対する応答信号が返送されない時に、前記1つのSIPサーバが前記対向するSIPサーバの呼制御機能の障害であることを検出し、
SIPサーバの各々は、電話の呼の生起を検知して呼の接続、解放等の制御を行う呼制御処理手段と、呼の接続先の決定などを行うルーティング処理手段と、対向するSIPサーバの障害を検出した場合に、障害となったSIPサーバに対してヘルスチェックを実行するヘルスチェック専用処理手段と、対向するSIPサーバの障害を検出した場合に該SIPサーバが障害状態にあることを登録する障害管理テーブルと、対向するSIPサーバにINVITEメッセージを再送する上限値を記憶する障害検出用再送閾値記憶部と、を備え、
呼が生起された場合に該呼の生起を検知したSIPサーバが、該呼のルーティング先となったSIPサーバに対してINVITEメッセージを送出し、該INVITEメッセージに対する応答信号が前記ルーティング先となったSIPサーバから返送されない場合にはINVITEメッセージを再送し、INVITEメッセージの再送を前記障害検出用再送閾値記憶部に記憶されている回数行っても、前記ルーティング先となったSIPサーバから応答信号が返送されない場合に、前記ルーティング先となったSIPサーバの呼制御機能の障害であることを検出し、前記ルーティング先となったSIPサーバの対地名を前記障害管理テーブルに登録し、
呼制御機能の障害であることを検出されたSIPサーバに対し、前記ヘルスチェック専用処理手段が、ヘルスチェックINVITEメッセージを送出し、前記ヘルスチェックINVITEメッセージに対する応答信号(エラー応答)が返送されない場合は前記障害であることを検出されたSIPサーバは、障害中であると判定して、定期的にヘルスチェックINVITEメッセージを送出することによりヘルスチェックを継続し、前記ヘルスチェックINVITEメッセージに対する応答信号(エラー応答)が返送された場合は前記障害であることを検出されたSIPサーバの障害が復旧したと判定して、前記障害管理テーブルに登録されていた該当SIPサーバの対地名を前記障害管理テーブルから削除し、
前記障害管理テーブルから対地名が削除されたSIPサーバに対しては、前記ヘルスチェック専用処理手段が実行していたヘルスチェックを行わないようにし、
前記ヘルスチェックINVITEメッセージの形式は、SIPにおけるINVITEメッセージの一部分を特殊な形式に変更し、SIPにおけるルーティングが不可能な形式となっている、ことを特徴とする。
【0011】
さらに、SIPを搭載した複数のSIPサーバが相互に接続されているIP網において、1つのSIPサーバから対向するSIPサーバに送出されるSIPにおけるINVITEメッセージに対する応答信号が返送されない時に、前記1つのSIPサーバが前記対向するSIPサーバの呼制御機能の障害であることを検出し、
SIPサーバの各々は、電話の呼の生起を検知して呼の接続、解放等の制御を行う呼制御処理手段と、呼の接続先の決定などを行うルーティング処理手段と、対向するSIPサーバの障害を検出した場合に、障害となったSIPサーバに対してヘルスチェックを実行するヘルスチェック専用処理手段と、対向するSIPサーバの障害を検出した場合に該SIPサーバが障害状態にあることを登録する障害管理テーブルと、対向するSIPサーバにINVITEメッセージを再送する上限値を記憶する障害検出用再送閾値記憶部と、を備え、
呼が生起された場合に該呼の生起を検知したSIPサーバが、該呼のルーティング先となったSIPサーバに対してINVITEメッセージを送出し、該INVITEメッセージに対する応答信号が前記ルーティング先となったSIPサーバから返送されない場合にはINVITEメッセージを再送し、INVITEメッセージの再送を前記障害検出用再送閾値記憶部に記憶されている回数行っても、前記ルーティング先となったSIPサーバから応答信号が返送されない場合に、前記ルーティング先となったSIPサーバの呼制御機能の障害であることを検出し、前記ルーティング先となったSIPサーバの対地名を前記障害管理テーブルに登録し、
呼制御機能の障害であることを検出されたSIPサーバに対し、前記ヘルスチェック専用処理手段が、ヘルスチェックINVITEメッセージを送出し、前記ヘルスチェックINVITEメッセージに対する応答信号(エラー応答)が返送されない場合は前記障害であることを検出されたSIPサーバは、障害中であると判定して、定期的にヘルスチェックINVITEメッセージを送出することによりヘルスチェックを継続し、前記ヘルスチェックINVITEメッセージに対する応答信号(エラー応答)が返送された場合は前記障害であることを検出されたSIPサーバの障害が復旧したと判定して、前記障害管理テーブルに登録されていた該当SIPサーバの対地名を前記障害管理テーブルから削除し、
前記ヘルスチェックINVITEメッセージの形式は、SIPにおけるINVITEメッセージの宛先電話番号を記載する部分を、全て空白文字で埋めたものであり、SIPにおけるルーティングが不可能な形式となっている、ことを特徴とする。
【0012】
また、SIPを搭載した複数のSIPサーバが相互に接続されているIP網において、1つのSIPサーバから対向するSIPサーバに送出されるSIPにおけるINVITEメッセージに対する応答信号が返送されない時に、前記1つのSIPサーバが前記対向するSIPサーバの呼制御機能の障害であることを検出し、
SIPサーバの各々は、電話の呼の生起を検知して呼の接続、解放等の制御を行う呼制御処理手段と、呼の接続先の決定などを行うルーティング処理手段と、対向するSIPサーバの障害を検出した場合に、障害となったSIPサーバに対してヘルスチェックを実行するヘルスチェック専用処理手段と、対向するSIPサーバの障害を検出した場合に該SIPサーバが障害状態にあることを登録する障害管理テーブルと、対向するSIPサーバにINVITEメッセージを再送する上限値を記憶する障害検出用再送閾値記憶部と、を備え、
呼が生起された場合に該呼の生起を検知したSIPサーバが、該呼のルーティング先となったSIPサーバに対してINVITEメッセージを送出し、該INVITEメッセージに対する応答信号が前記ルーティング先となったSIPサーバから返送されない場合にはINVITEメッセージを再送し、INVITEメッセージの再送を前記障害検出用再送閾値記憶部に記憶されている回数行っても、前記ルーティング先となったSIPサーバから応答信号が返送されない場合に、前記ルーティング先となったSIPサーバの呼制御機能の障害であることを検出し、前記ルーティング先となったSIPサーバの対地名を前記障害管理テーブルに登録し、
呼制御機能の障害であることを検出されたSIPサーバに対し、前記ヘルスチェック専用処理手段が、ヘルスチェックINVITEメッセージを送出し、前記ヘルスチェックINVITEメッセージに対する応答信号(エラー応答)が返送されない場合は前記障害であることを検出されたSIPサーバは、障害中であると判定して、定期的にヘルスチェックINVITEメッセージを送出することによりヘルスチェックを継続し、前記ヘルスチェックINVITEメッセージに対する応答信号(エラー応答)が返送された場合は前記障害であることを検出されたSIPサーバの障害が復旧したと判定して、前記障害管理テーブルに登録されていた該当SIPサーバの対地名を前記障害管理テーブルから削除し、
前記障害管理テーブルから対地名が削除されたSIPサーバに対しては、前記ヘルスチェック専用処理手段が実行していたヘルスチェックを行わないようにし、
前記ヘルスチェックINVITEメッセージの形式は、SIPにおけるINVITEメッセージの宛先電話番号を記載する部分を、全て空白文字で埋めたものであり、SIPにおけるルーティングが不可能な形式となっている、ことを特徴とする。
【0018】
【発明の実施の形態】
次に、本発明の実施の形態について図面を参照して説明する。
【0019】
図1は、本発明のIP網におけるSIPサーバ障害検出方式の一実施形態を示すブロック図である。
【0020】
図1に示す本実施の形態は、IP(Internet Protocol)網に複数n個のSIP(Session Initiation Protocol:セッション開始プロトコル)を搭載した所謂SIPサーバ10が、相互に網目状に設置されている内の、一部分の接続形態を示すものであり、SIPサーバ10−0に複数m個のSIPサーバ10−1、10−2、10−3、・・10−mが接続されている様子を示しており、その他のSIPサーバ10については図示を省略している。なお、SIPサーバ10は、SIPを搭載した情報処理装置で構成され、IP網における電話サービス等を実現するために、呼制御機能を有するサーバである。
【0021】
そして、SIPサーバ10−0に接続されているSIPサーバ10−1〜10−mの内の、SIPサーバ10−1、10−2、10−3は、SIPサーバ10−0から見て迂回ルートを設定可能なサーバであるため、1つのグループとしてグループ化されている。ここで、グループ化されているSIPサーバ10−1〜10−3には、以降の説明の容易化のため、別名として、対向SIPサーバA、対向SIPサーバB、対向SIPサーバCをそれぞれ付しておくものとする。また、これらの別名は、SIPサーバ10−0からの回線接続時の接続先としての対地名としても用いるものとする。
【0022】
次に、図2を参照して、SIPサーバ10の構成について説明する。
【0023】
図2は、SIPサーバの一例を示す詳細ブロック図である。
【0024】
図2において、SIPサーバ10は、電話の呼の生起を検知して呼の接続、解放等の制御を行う呼制御処理部11と、呼の接続先の決定などを行うルーティング処理部13と、対向して接続されているSIPサーバ10の障害を検出した場合に、障害となったSIPサーバ10に対してヘルスチェックを実行するヘルスチェック専用処理部12と、から構成されている。
【0025】
また、SIPサーバ10は、対向して接続されているSIPサーバ10の障害を検出した場合、該SIPサーバ10が障害状態にあることを登録する障害管理テーブル16を備えている。
【0026】
また、SIPサーバ10は、呼の接続を開始するにあたり、SIPのINVITEメッセージを接続先のSIPサーバ10に送出するようになっている。そして、INVITEメッセージに対する肯定応答(Ack)を受信した後、SIPで規定された手順に従って呼の接続、解放等を行うようになっている。肯定応答(Ack)を受信できなかった場合には、INVITEメッセージを再送し、再送を何回か繰り返しても肯定応答(Ack)を受信できなかった場合には、接続先のSIPサーバ10が障害状態にあるものと判断するようになっている。
【0027】
そこで、SIPサーバ10には、INVITEメッセージを何回再送したら、接続先のSIPサーバ10が障害状態にあるかを判定するための閾値として、障害検出用再送閾値15も備えられている。障害検出用再送閾値15の値は、SIPサーバ10内に予め設定可能であるものとし、例えば「6回」などの値を設定しておくものとする。
【0028】
次に、図3、4、5、6、7を参照して、本実施形態の動作について詳細に説明する。先ず図3、図4、図5を参照して、障害検出時の動作について説明する。
【0029】
図3は、本実施形態の障害検出時の動作を説明するフローチャートである。
【0030】
図3においては、SIPサーバ10−0が呼の生起を検知し、該呼をSIPサーバ10−1(対向SIPサーバA)にルーティングしようとした場合の動作を説明するものである。ここで、SIPサーバ10−1の呼制御処理部11は障害状態にあるものとし、INVITEメッセージに対する肯定応答(Ack)を返送出来ない状態であるものとする。
【0031】
先ず、SIPサーバ10−0は、呼の接続を開始するためのINVITEメッセージを、SIPサーバ10−1に対して送出する(図3のS301)。SIPサーバ10−1が障害状態に無ければ肯定応答(Ack)を返送するので呼の接続を行うことが可能となるが、現在、SIPサーバ10−1は障害中であるため、肯定応答(Ack)を返送しない。従って、SIPサーバ10−0はINVITEメッセージの再送を行う(S302)。
【0032】
SIPサーバ10−1は障害中であるため、ステップS302で再送されたINVITEメッセージに対しても肯定応答(Ack)を返送しない。SIPサーバ10−0は、障害検出用再送閾値15に設定されている値(例えば6回)まで、INVITEメッセージを再送する(S306)。しかし、SIPサーバ10−1は障害中であるため、何れのINVITEメッセージに対しても肯定応答(Ack)を返送しない。
【0033】
SIPサーバ10−0は、障害検出用再送閾値15に設定されている回数のINVITEメッセージを送出しても、SIPサーバ10−1から肯定応答(Ack)が返送されないため、SIPサーバ10−1の呼制御処理部11は障害状態であると判定し(S307)、SIPサーバ10−1すなわち対向SIPサーバAを障害対地とみなす。そして、障害とみなしたSIPサーバ10−1の対地名(対向SIPサーバA)を障害管理テーブル16に登録する(S308)。
【0034】
図4は、障害管理テーブルの一例を示す図である。
【0035】
図4において、障害管理テーブル16は、障害とみなしたSIPサーバ10の対地名を記載する障害SIPサーバの対地名欄161と、該当する障害SIPサーバのIPアドレスを記載するIPアドレス欄162と、該当する障害SIPサーバの接続されているポート番号を記載するポート番号欄163と、から構成されている。
【0036】
そして、上述のステップS308においては、SIPサーバ10−1が障害であるとみなされたため、SIPサーバ10−1の対地名すなわち「対向SIPサーバA」を、障害管理テーブル16の障害SIPサーバの対地名欄161に登録する(図4の165の行)。そして、必要に応じて、IPアドレス欄162にSIPサーバ10−1のIPアドレス「××××」を登録し、ポート番号欄163にポート番号「○○」を登録する(何れも図4の165の行)。
【0037】
ステップS308により、障害とみなしたSIPサーバ10−1の対地名(対向SIPサーバA)を障害管理テーブル16に登録すると、SIPサーバ10−0は、SIPサーバ10−0のヘルスチェック専用処理部12にこのことを通知する(図3のS309)。
【0038】
SIPサーバ10−0のヘルスチェック専用処理部12は、障害とみなされたSIPサーバ10−1に対し、特殊なフォーマットを有するINVITEメッセージ(「ヘルスチェックINVITE」メッセージと称することとする。)を定期的に送信する(図3のS310、S311など)ことにより、SIPサーバ10−1のヘルスチェックを行うようになる。
【0039】
ここで、図5を参照して、ヘルスチェックINVITEメッセージのフォーマットについて説明する。
【0040】
図5は、ヘルスチェックINVITEメッセージのフォーマットの一例を説明する図である。
【0041】
図5において、(a)は、SIPで規定されている通常のINVITEメッセージのフォーマットを示すものであり、INVITEメッセージの中に、着呼先を示す宛先電話番号欄501を有しており、宛先電話番号欄501には宛先の電話番号、例えば「01−2345−6789」、が記載されるようになっている。そして、このような形式のINVITEメッセージであれば、SIPの規定上、正しいルーティングが可能なようになっている。
【0042】
図5の(b)は、本実施形態で使用するヘルスチェックINVITEメッセージのフォーマットを示すものであり、(a)で示したと同一の位置の宛先電話番号欄502に、全て空白文字「△△−△△△△−△△△△」を記載した形式となっている。このような形式のヘルスチェックINVITEメッセージを、SIPサーバ10の呼制御処理部11が受信したものとすると、宛先電話番号欄502が全て空白文字で埋められているため、SIPの規定ではルーティングが不可能となり、図3の(*1)の注釈として示したように、SIPルーティングが出来ないINVITEメッセージとなる。そして、本実施形態においては、図5(b)に示した形式のヘルスチェックINVITEメッセージを、SIPサーバ10の間で行うヘルスチェックに使用するものとする。
【0043】
なお、図5(b)で示したヘルスチェックINVITEメッセージのフォーマットは、単なる一例であり、他のフォーマットであっても、SIPルーティングが出来ない形式となっていれば、それで本実施形態のヘルスチェックINVITEメッセージとして使用可能である。
【0044】
次に、図6を参照して、SIPサーバ10が障害中における本実施形態の動作について説明する。
【0045】
図6は、SIPサーバが障害中における本実施形態の動作を説明するフローチャートである。
【0046】
図6においては、SIPサーバ10−0が呼の生起を検知し、該呼をグループ化されているSIPサーバ10−1、10−2、10−3の何れかにルーティングしようとした場合の動作を説明するものである。
【0047】
図6において、新規の呼が発呼されると(図6のS601)、SIPサーバ10−0の呼制御処理部11がこれを検知し、該呼のルーティング先をルーティング処理部13に決定させる。ルーティング処理部13は、先ず、グループ化されているSIPサーバ10(10−1、10−2、10−3)の内のSIPサーバ10−1(対向SIPサーバA)にルーティングするよう決定する(S602)。そして、ルーティング先の対地(対向SIPサーバA)が、障害管理テーブル16に登録されているかのチェックを行う(S603)。次に、障害管理テーブル16にルーティング先の対地(対向SIPサーバA)が登録されているか否かの判定を行い(S604)、登録されていなければ(ステップS604で未登録)、呼制御処理部11にルーティング先(対向SIPサーバA)へそのままINVITEメッセージを送信させ(S605)、呼の接続処理を開始させるようにする。
【0048】
ルーティング先の対地(対向SIPサーバA)が、障害管理テーブル16に登録されている場合には(ステップS604で登録)、今決定したルーティング先(対向SIPサーバA)は障害であるため、グループ内の他のSIPサーバ10に迂回する処理を行う(S606)。すなわち、グループ内の次のSIPサーバ10−2(対向SIPサーバB)にルーティングするよう決定し(S607)、ルーティング先の対地(対向SIPサーバB)が、障害管理テーブル16に登録されているかのチェックを行う(S608)。そして、障害管理テーブル16にルーティング先の対地(対向SIPサーバB)が登録されているか否かの判定を行い(S609)、登録されていなければ(ステップS609で未登録)、呼制御処理部11にルーティング先(対向SIPサーバB)へそのままINVITEメッセージを送信させ(S610)、呼の接続処理を開始させるようにする。
【0049】
ルーティング先の対地(対向SIPサーバB)が、障害管理テーブル16に登録されている場合には(ステップS609で登録)、今決定したルーティング先(対向SIPサーバB)は障害であるため、グループ内の他のSIPサーバ10に迂回する処理を行う(S611)。
【0050】
このように、グループ内のSIPサーバ10(10−1、10−2、10−3)に対し、障害管理テーブル16に登録されていない対地が決定されるまで、他のSIPサーバ10への迂回を行い、グループ内のSIPサーバ10の全てが障害であった場合には、呼損としてルーティング処理を終了する。
【0051】
次に、図7を参照して、SIPサーバ10の障害が回復した時の本実施形態の動作について説明する。
【0052】
図7は、SIPサーバの障害が回復した時の本実施形態の動作を説明するフローチャートである。
【0053】
図7においては、SIPサーバ10−0がSIPサーバ10−1(対向SIPサーバA)の障害状態を検出していたため、SIPサーバ10−0のヘルスチェック専用処理部12がSIPサーバ10−1に対してヘルスチェックを行っており、SIPサーバ10−1の障害状態がある時点で回復した場合の、SIPサーバ10−0の動作を説明するものである。
【0054】
図7において、SIPサーバ10−1(対向SIPサーバA)が障害中であることを検出したSIPサーバ10−0は、SIPサーバ10−0のヘルスチェック専用処理部12によって、ヘルスチェックINVITEメッセージを送出する(図7のS701)。ステップS701で送出するヘルスチェックINVITEメッセージは、図5にて説明した通りの「SIPルーティングが出来ないINVITEメッセージ」である(図7の(*1)の注釈として示す)。これは、以降のステップにおいても同様である。
【0055】
ステップS701にてヘルスチェックINVITEメッセージを送出しても、SIPサーバ10−1は障害中であるため、何の応答も返送しない。そこで、SIPサーバ10−0のヘルスチェック専用処理部12は、続けて定期的にヘルスチェックINVITEメッセージを送出する(S702、S703)。ここでもSIPサーバ10−1は障害中であるため、何の応答も返送しない。
【0056】
図7のS704の時点で、SIPサーバ10−1の障害が回復したものとする。SIPサーバ10−0のヘルスチェック専用処理部12が、次のヘルスチェックINVITEメッセージを送出する(S705)。すると、この時点ではSIPサーバ10−1の障害が回復しているため、SIPサーバ10−1の呼制御処理部11は、ステップS705で送出されたヘルスチェックINVITEメッセージを受信可能な状態になっており、受信に対して応答信号を返送する(S706)。但し、ここで返送される応答信号は、通常のINVITEメッセージに対する応答信号(Ack)ではなく、ヘルスチェックINVITEメッセージ、すなわち、「SIPルーティングが出来ないINVITEメッセージ」、に対する応答信号であるため、ステップS706で返送される応答信号は、「SIPルーティングが出来ない」旨を示すところの応答信号(エラー応答)である。
【0057】
ステップS706で返送された応答信号(エラー応答)を受信したSIPサーバ10−0のヘルスチェック専用処理部12は、SIPサーバ10−1(対向SIPサーバA)の障害が回復したものと判断し、SIPサーバ10−0の障害管理テーブル16から該当するSIPサーバ10−1の対地名(対向SIPサーバA)を削除する(S707)。これにより、SIPサーバ10−0のヘルスチェック専用処理部12は、SIPサーバ10−1に対するヘルスチェックを行わないようになり、SIPサーバ10が正常に動作を行っている時の状態に復帰することとなる。
【0058】
以上、本実施形態の動作について詳細に説明した。
【0059】
上述した本実施形態においては、SIPを実装するSIPサーバの呼制御機能の障害を検出可能とする方式について説明したが、SIPに限らず、呼制御処理で用いるプロトコル信号を用いてヘルスチェックを行うようにすれば、他のプロトコルであっても呼制御処理レベルでの障害検出が可能となることは言うまでも無い。
【0060】
【発明の効果】
以上説明したように、本発明のIP網におけるSIPサーバ障害検出方式は、SIPにおけるINVITEメッセージによって対向SIPサーバの障害検出を行うようにしているので、SIPサーバの呼制御機能の障害を正確に検出可能となる、という効果を有している。
【0061】
また、障害を検出したSIPサーバに対してだけヘルスチェックを行うようにしているため、IP網に収容されている対向SIPサーバの全てに対してヘルスチェックを行う必要が無く、ヘルスチェックに要する負荷が軽減される、という効果を有している。
【0062】
さらに、ヘルスチェックを行う必要がある場合には、ヘルスチェック専用処理部によって行うため、呼制御処理部の行う呼制御処理に影響を与えることが無い、という効果を有している。
【図面の簡単な説明】
【図1】本発明のIP網におけるSIPサーバ障害検出方式の一実施形態を示すブロック図である。
【図2】SIPサーバの一例を示す詳細ブロック図である。
【図3】本実施形態の障害検出時の動作を説明するフローチャートである。
【図4】障害管理テーブルの一例を示す図である。
【図5】ヘルスチェックINVITEメッセージのフォーマットの一例を説明する図である。
【図6】SIPサーバが障害中における本実施形態の動作を説明するフローチャートである。
【図7】SIPサーバの障害が回復した時の本実施形態の動作を説明するフローチャートである。
【符号の説明】
10 SIPサーバ
11 呼制御処理部
12 ヘルスチェック専用処理部
13 ルーティング処理部
15 障害検出用再送閾値
16 障害管理テーブル[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a SIP server failure detection method in an IP network, and more particularly to a SIP server failure detection method in an IP network that enables detection of a failure in a call control function of a SIP server.
[0002]
[Prior art]
With the recent development of the Internet, various network services using the IP (Internet Protocol) network, for example, various content services and VoIP (Voice over IP: voice on IP) services are provided. It has become like this.
[0003]
In order to realize a telephone service using an IP network such as a VoIP service, a so-called SIP server equipped with a SIP (Session Initiation Protocol) has been introduced into the IP network. Yes.
[0004]
SIP is a protocol for controlling calls of a general telephone service in order to realize a telephone service in an IP network, and is an RFC (Request Engineering For) of IETF (Internet Engineering Task Force) that promotes standardization of the Internet. (Comments) 2543, the specification of which is described.
[0005]
In an IP network using TCP / IP (Transport Control Protocol / Internet Protocol) as a communication protocol, in order to detect a failure of a server, a router, a gateway, or a communication path constituting the IP network, usually, an ICMP (Internet Control) is used. A failure is detected using a health check mechanism in which an Echo command (commonly referred to as a ping command) of Message Protocol is transmitted and a device that receives the command returns a response (for example, Patent Documents). 1).
[0006]
[Patent Document 1]
JP-A-10-242971 (FIGS. 1, 2, and 3)
[0007]
[Problems to be solved by the invention]
In the health check method using the conventional ping command described above, ICMP is mounted on the same network layer (third layer) as TCP / IP, so that failure detection at the IP packet level is possible. However, when the opposite device that wants to detect a failure is a SIP server, since SIP is mounted on the upper layer of TCP / IP, failure detection of the call control function of SIP cannot be performed. For example, when the call control function of the SIP server is in a failure state but the function of the layer below the TCP / IP of the SIP server is normal, when the SIP server receives a ping command, the layer below the TCP / IP Is normal, the response of the ping command is returned normally. That is, the failure detection of the call control function of the SIP server cannot be accurately performed only with the ping command.
[0008]
The present invention has been made in order to improve the above-described circumstances, and an object of the present invention is to perform a health check using an INVITE message instead of a ping command for the opposite SIP server, thereby providing a SIP server. It is an object of the present invention to provide a SIP server failure detection method in an IP network that makes it possible to detect a failure in the call control function.
[0009]
[Means for Solving the Problems]
The SIP server failure detection method in the IP network of the present invention is based on a single SIP server in an IP (Internet Protocol) network in which a plurality of SIP servers equipped with SIP (Session Initiation Protocol) are connected to each other. When a response signal to the INVITE message in SIP sent to the opposite SIP server is not returned, the one SIP server detects that the call control function of the opposite SIP server is faulty ;
Each of the SIP servers includes a call control processing unit that detects the occurrence of a telephone call and controls connection and release of the call, a routing processing unit that determines a call connection destination, and the like, When a failure is detected, a health check dedicated processing means for performing a health check on the failed SIP server and registering that the SIP server is in a failure state when a failure of the opposing SIP server is detected A failure management table, and a failure detection retransmission threshold storage unit that stores an upper limit value for retransmitting the INVITE message to the opposing SIP server,
When a call is generated, the SIP server that has detected the occurrence of the call sends an INVITE message to the SIP server that is the routing destination of the call, and a response signal to the INVITE message is the routing destination. If not returned from the SIP server, the INVITE message is retransmitted, and even if the INVITE message is retransmitted the number of times stored in the failure detection retransmission threshold value storage unit, a response signal is returned from the SIP server that is the routing destination. If not, it is detected that there is a failure in the call control function of the SIP server that is the routing destination, and the ground name of the SIP server that is the routing destination is registered in the failure management table,
When the health check dedicated processing means sends a health check INVITE message to the SIP server detected to be a failure of the call control function, and a response signal (error response) to the health check INVITE message is not returned The SIP server that has been detected as being in failure determines that it is in failure, continues the health check by periodically sending out a health check INVITE message, and a response signal (error) to the health check INVITE message. If the response is returned, it is determined that the failure of the SIP server detected as the failure has been recovered, and the name of the corresponding SIP server registered in the failure management table is determined from the failure management table. Delete,
The format of the health check INVITE message is characterized in that a part of the INVITE message in SIP is changed to a special format and routing in SIP is impossible .
[0010]
In addition, in an IP network in which a plurality of SIP servers equipped with SIP are connected to each other, when a response signal to an INVITE message in SIP sent from one SIP server to the opposite SIP server is not returned, the one SIP Detecting that the server is a failure of the call control function of the opposing SIP server;
Each of the SIP servers includes a call control processing unit that detects the occurrence of a telephone call and controls connection and release of the call, a routing processing unit that determines a call connection destination, and the like, When a failure is detected, a health check dedicated processing means for performing a health check on the failed SIP server and registering that the SIP server is in a failure state when a failure of the opposing SIP server is detected A failure management table, and a failure detection retransmission threshold storage unit that stores an upper limit value for retransmitting the INVITE message to the opposing SIP server,
When a call is generated, the SIP server that has detected the occurrence of the call sends an INVITE message to the SIP server that is the routing destination of the call, and a response signal to the INVITE message is the routing destination. If not returned from the SIP server, the INVITE message is retransmitted, and even if the INVITE message is retransmitted the number of times stored in the failure detection retransmission threshold value storage unit, a response signal is returned from the SIP server that is the routing destination. If not, it is detected that there is a failure in the call control function of the SIP server that is the routing destination, and the ground name of the SIP server that is the routing destination is registered in the failure management table,
When the health check dedicated processing means sends a health check INVITE message to the SIP server detected to be a failure of the call control function, and a response signal (error response) to the health check INVITE message is not returned The SIP server that has been detected as being in failure determines that it is in failure, continues the health check by periodically sending out a health check INVITE message, and a response signal (error) to the health check INVITE message. If the response is returned, it is determined that the failure of the SIP server detected as the failure has been recovered, and the name of the corresponding SIP server registered in the failure management table is determined from the failure management table. Delete,
Do not perform the health check performed by the health check dedicated processing means for the SIP server whose ground name is deleted from the failure management table,
The format of the health check INVITE message is characterized in that a part of the INVITE message in SIP is changed to a special format and routing in SIP is impossible .
[0011]
Further, in the IP network in which a plurality of SIP servers equipped with SIP are connected to each other, when a response signal to the INVITE message in the SIP sent from one SIP server to the opposite SIP server is not returned, the one SIP Detecting that the server is a failure of the call control function of the opposing SIP server;
Each of the SIP servers includes a call control processing unit that detects the occurrence of a telephone call and controls connection and release of the call, a routing processing unit that determines a call connection destination, and the like, When a failure is detected, a health check dedicated processing means for performing a health check on the failed SIP server and registering that the SIP server is in a failure state when a failure of the opposing SIP server is detected A failure management table, and a failure detection retransmission threshold storage unit that stores an upper limit value for retransmitting the INVITE message to the opposing SIP server,
When a call is generated, the SIP server that has detected the occurrence of the call sends an INVITE message to the SIP server that is the routing destination of the call, and a response signal to the INVITE message is the routing destination. If not returned from the SIP server, the INVITE message is retransmitted, and even if the INVITE message is retransmitted the number of times stored in the failure detection retransmission threshold value storage unit, a response signal is returned from the SIP server that is the routing destination. If not, it is detected that there is a failure in the call control function of the SIP server that is the routing destination, and the ground name of the SIP server that is the routing destination is registered in the failure management table,
When the health check dedicated processing means sends a health check INVITE message to the SIP server detected to be a failure of the call control function, and a response signal (error response) to the health check INVITE message is not returned The SIP server that has been detected as being in failure determines that it is in failure, continues the health check by periodically sending out a health check INVITE message, and a response signal (error) to the health check INVITE message. If the response is returned, it is determined that the failure of the SIP server detected as the failure has been recovered, and the name of the corresponding SIP server registered in the failure management table is determined from the failure management table. Delete,
The format of the health check INVITE message is such that the part describing the destination telephone number of the INVITE message in SIP is filled with blank characters, and the routing in SIP is impossible. To do.
[0012]
In addition, in an IP network in which a plurality of SIP servers equipped with SIP are connected to each other, when a response signal to an INVITE message in SIP sent from one SIP server to the opposite SIP server is not returned, the one SIP Detecting that the server is a failure of the call control function of the opposing SIP server;
Each of the SIP servers includes a call control processing unit that detects the occurrence of a telephone call and controls connection and release of the call, a routing processing unit that determines a call connection destination, and the like, When a failure is detected, a health check dedicated processing means for performing a health check on the failed SIP server and registering that the SIP server is in a failure state when a failure of the opposing SIP server is detected A failure management table, and a failure detection retransmission threshold storage unit that stores an upper limit value for retransmitting the INVITE message to the opposing SIP server,
When a call is generated, the SIP server that has detected the occurrence of the call sends an INVITE message to the SIP server that is the routing destination of the call, and a response signal to the INVITE message is the routing destination. If not returned from the SIP server, the INVITE message is retransmitted, and even if the INVITE message is retransmitted the number of times stored in the failure detection retransmission threshold value storage unit, a response signal is returned from the SIP server that is the routing destination. If not, it is detected that there is a failure in the call control function of the SIP server that is the routing destination, and the ground name of the SIP server that is the routing destination is registered in the failure management table,
When the health check dedicated processing means sends a health check INVITE message to the SIP server detected to be a failure of the call control function, and a response signal (error response) to the health check INVITE message is not returned The SIP server that has been detected as being in failure determines that it is in failure, continues the health check by periodically sending out a health check INVITE message, and a response signal (error) to the health check INVITE message. If the response is returned, it is determined that the failure of the SIP server detected as the failure has been recovered, and the name of the corresponding SIP server registered in the failure management table is determined from the failure management table. Delete,
Do not perform the health check performed by the health check dedicated processing means for the SIP server whose ground name is deleted from the failure management table,
The format of the health check INVITE message is such that the part describing the destination telephone number of the INVITE message in SIP is filled with blank characters, and the routing in SIP is impossible. To do.
[0018]
DETAILED DESCRIPTION OF THE INVENTION
Next, embodiments of the present invention will be described with reference to the drawings.
[0019]
FIG. 1 is a block diagram showing an embodiment of a SIP server failure detection method in an IP network according to the present invention.
[0020]
In the present embodiment shown in FIG. 1, a so-called
[0021]
The SIP servers 10-1, 10-2, and 10-3 among the SIP servers 10-1 to 10-m connected to the SIP server 10-0 are detour routes as viewed from the SIP server 10-0. Are grouped as one group. Here, for simplification of the following explanation, the opposite SIP server A, the opposite SIP server B, and the opposite SIP server C are attached to the grouped SIP servers 10-1 to 10-3, respectively. Shall be kept. These aliases are also used as ground names as connection destinations when a line is connected from the SIP server 10-0.
[0022]
Next, the configuration of the
[0023]
FIG. 2 is a detailed block diagram illustrating an example of a SIP server.
[0024]
In FIG. 2, the
[0025]
Further, the
[0026]
Further, the
[0027]
Therefore, the
[0028]
Next, the operation of the present embodiment will be described in detail with reference to FIGS. First, an operation at the time of detecting a failure will be described with reference to FIGS.
[0029]
FIG. 3 is a flowchart for explaining the operation when a failure is detected according to this embodiment.
[0030]
In FIG. 3, the operation when the SIP server 10-0 detects the occurrence of a call and tries to route the call to the SIP server 10-1 (opposite SIP server A) will be described. Here, it is assumed that the call
[0031]
First, the SIP server 10-0 sends an INVITE message for starting a call connection to the SIP server 10-1 (S301 in FIG. 3). If the SIP server 10-1 is not in a failure state, an acknowledgment (Ack) is returned, so that the call can be connected. However, since the SIP server 10-1 is currently in failure, the acknowledgment (Ack) ) Is not returned. Accordingly, the SIP server 10-0 retransmits the INVITE message (S302).
[0032]
Since the SIP server 10-1 is in failure, no acknowledgment (Ack) is returned to the INVITE message retransmitted in step S302. The SIP server 10-0 retransmits the INVITE message up to a value (for example, 6 times) set in the failure detection retransmission threshold 15 (S306). However, since the SIP server 10-1 is in failure, no acknowledgment (Ack) is returned to any INVITE message.
[0033]
Even if the SIP server 10-0 sends the INVITE message for the number of times set in the failure
[0034]
FIG. 4 is a diagram illustrating an example of the failure management table.
[0035]
In FIG. 4, the failure management table 16 includes a failure SIP server
[0036]
In step S308 described above, since the SIP server 10-1 is considered to be faulty, the name of the destination of the SIP server 10-1, that is, "opposite SIP server A" is set to the fault SIP server pair in the fault management table 16. Registration is made in the place name column 161 (
[0037]
When the ground name (opposite SIP server A) of the SIP server 10-1 regarded as a failure is registered in the failure management table 16 in step S308, the SIP server 10-0 performs the health check dedicated
[0038]
The health check dedicated
[0039]
Here, the format of the health check INVITE message will be described with reference to FIG.
[0040]
FIG. 5 is a diagram for explaining an example of the format of the health check INVITE message.
[0041]
In FIG. 5, (a) shows the format of a normal INVITE message defined by SIP, and the INVITE message has a destination telephone number column 501 indicating a called destination, In the telephone number column 501, a destination telephone number, for example, “01-2345-6789” is described. And if it is an INVITE message of such a format, according to SIP prescription | regulation, correct routing is possible.
[0042]
FIG. 5B shows the format of the health check INVITE message used in the present embodiment. All blank characters “ΔΔ−” are placed in the destination telephone number field 502 at the same position as shown in FIG. “△△△△ − △△△△” ”. If the call
[0043]
It should be noted that the format of the health check INVITE message shown in FIG. 5B is merely an example. If the format is not capable of SIP routing even in other formats, the health check of this embodiment is performed. It can be used as an INVITE message.
[0044]
Next, with reference to FIG. 6, the operation of this embodiment when the
[0045]
FIG. 6 is a flowchart for explaining the operation of this embodiment when the SIP server is in failure.
[0046]
In FIG. 6, when the SIP server 10-0 detects the occurrence of a call and tries to route the call to any of the grouped SIP servers 10-1, 10-2, 10-3. Is described.
[0047]
In FIG. 6, when a new call is made (S601 in FIG. 6), the call
[0048]
If the routing destination (opposite SIP server A) is registered in the failure management table 16 (registered in step S604), the currently determined routing destination (opposite SIP server A) is faulty, so A process of detouring to another
[0049]
If the routing destination (opposite SIP server B) is registered in the failure management table 16 (registered in step S609), the currently determined routing destination (opposite SIP server B) is faulty, so A process of detouring to another
[0050]
In this way, the SIP server 10 (10-1, 10-2, 10-3) in the group is detoured to another
[0051]
Next, the operation of the present embodiment when the failure of the
[0052]
FIG. 7 is a flowchart for explaining the operation of this embodiment when the failure of the SIP server is recovered.
[0053]
In FIG. 7, since the SIP server 10-0 has detected the failure state of the SIP server 10-1 (opposite SIP server A), the health check dedicated
[0054]
In FIG. 7, the SIP server 10-0 that has detected that the SIP server 10-1 (opposite SIP server A) is in failure causes the health check dedicated
[0055]
Even if the health check INVITE message is sent in step S701, the SIP server 10-1 is in failure, so no response is returned. Therefore, the health check dedicated
[0056]
It is assumed that the failure of the SIP server 10-1 has been recovered at the time of S704 in FIG. The health check dedicated
[0057]
The health check dedicated
[0058]
The operation of this embodiment has been described in detail above.
[0059]
In the above-described embodiment, the method for detecting the failure of the call control function of the SIP server that implements the SIP has been described. However, the health check is performed using the protocol signal used in the call control process, not limited to the SIP. In this way, it goes without saying that failure detection at the call control processing level is possible even with other protocols.
[0060]
【The invention's effect】
As described above, the SIP server failure detection method in the IP network of the present invention detects the failure of the opposite SIP server by the INVITE message in the SIP, so the failure of the call control function of the SIP server is accurately detected. It has the effect that it becomes possible.
[0061]
In addition, since the health check is performed only for the SIP server in which the failure is detected, it is not necessary to perform the health check for all the opposite SIP servers accommodated in the IP network, and the load required for the health check Is reduced.
[0062]
Further, when it is necessary to perform a health check, the health check dedicated processing unit performs the health check. Therefore, the call control processing performed by the call control processing unit is not affected.
[Brief description of the drawings]
FIG. 1 is a block diagram showing an embodiment of a SIP server failure detection method in an IP network according to the present invention.
FIG. 2 is a detailed block diagram illustrating an example of a SIP server.
FIG. 3 is a flowchart illustrating an operation when a failure is detected according to the present embodiment.
FIG. 4 is a diagram illustrating an example of a failure management table.
FIG. 5 is a diagram illustrating an example of a format of a health check INVITE message.
FIG. 6 is a flowchart for explaining the operation of the present embodiment when the SIP server is in failure.
FIG. 7 is a flowchart for explaining the operation of the present embodiment when the failure of the SIP server is recovered.
[Explanation of symbols]
10
Claims (4)
SIPサーバの各々は、電話の呼の生起を検知して呼の接続、解放等の制御を行う呼制御処理手段と、呼の接続先の決定などを行うルーティング処理手段と、対向するSIPサーバの障害を検出した場合に、障害となったSIPサーバに対してヘルスチェックを実行するヘルスチェック専用処理手段と、対向するSIPサーバの障害を検出した場合に該SIPサーバが障害状態にあることを登録する障害管理テーブルと、対向するSIPサーバにINVITEメッセージを再送する上限値を記憶する障害検出用再送閾値記憶部と、を備え、
呼が生起された場合に該呼の生起を検知したSIPサーバが、該呼のルーティング先となったSIPサーバに対してINVITEメッセージを送出し、該INVITEメッセージに対する応答信号が前記ルーティング先となったSIPサーバから返送されない場合にはINVITEメッセージを再送し、INVITEメッセージの再送を前記障害検出用再送閾値記憶部に記憶されている回数行っても、前記ルーティング先となったSIPサーバから応答信号が返送されない場合に、前記ルーティング先となったSIPサーバの呼制御機能の障害であることを検出し、前記ルーティング先となったSIPサーバの対地名を前記障害管理テーブルに登録し、
呼制御機能の障害であることを検出されたSIPサーバに対し、前記ヘルスチェック専用処理手段が、ヘルスチェックINVITEメッセージを送出し、前記ヘルスチェックINVITEメッセージに対する応答信号(エラー応答)が返送されない場合は前記障害であることを検出されたSIPサーバは、障害中であると判定して、定期的にヘルスチェックINVITEメッセージを送出することによりヘルスチェックを継続し、前記ヘルスチェックINVITEメッセージに対する応答信号(エラー応答)が返送された場合は前記障害であることを検出されたSIPサーバの障害が復旧したと判定して、前記障害管理テーブルに登録されていた該当SIPサーバの対地名を前記障害管理テーブルから削除し、
前記ヘルスチェックINVITEメッセージの形式は、SIPにおけるINVITEメッセージの一部分を特殊な形式に変更し、SIPにおけるルーティングが不可能な形式となっている、ことを特徴とするIP網におけるSIPサーバ障害検出方式。In response to an INVITE message in a SIP sent from one SIP server to the opposite SIP server in an IP (Internet Protocol) network in which a plurality of SIP servers equipped with SIP (Session Initiation Protocol) are connected to each other When a response signal is not returned, the one SIP server detects that the call control function of the opposite SIP server is faulty ;
Each of the SIP servers includes a call control processing unit that detects the occurrence of a telephone call and controls connection and release of the call, a routing processing unit that determines a call connection destination, and the like, When a failure is detected, a health check dedicated processing means for performing a health check on the failed SIP server and registering that the SIP server is in a failure state when a failure of the opposing SIP server is detected A failure management table, and a failure detection retransmission threshold storage unit that stores an upper limit value for retransmitting the INVITE message to the opposing SIP server,
When a call is generated, the SIP server that has detected the occurrence of the call sends an INVITE message to the SIP server that is the routing destination of the call, and a response signal to the INVITE message is the routing destination. If not returned from the SIP server, the INVITE message is retransmitted, and even if the INVITE message is retransmitted the number of times stored in the failure detection retransmission threshold value storage unit, a response signal is returned from the SIP server that is the routing destination. If not, it is detected that there is a failure in the call control function of the SIP server that is the routing destination, and the ground name of the SIP server that is the routing destination is registered in the failure management table,
When the health check dedicated processing means sends a health check INVITE message to the SIP server detected to be a failure of the call control function, and a response signal (error response) to the health check INVITE message is not returned The SIP server that has been detected as being in failure determines that it is in failure, continues the health check by periodically sending out a health check INVITE message, and a response signal (error) to the health check INVITE message. If the response is returned, it is determined that the failure of the SIP server detected as the failure has been recovered, and the name of the corresponding SIP server registered in the failure management table is determined from the failure management table. Delete,
A SIP server failure detection method in an IP network, wherein the format of the health check INVITE message is such that a part of the INVITE message in SIP is changed to a special format and routing in SIP is impossible .
SIPサーバの各々は、電話の呼の生起を検知して呼の接続、解放等の制御を行う呼制御処理手段と、呼の接続先の決定などを行うルーティング処理手段と、対向するSIPサーバの障害を検出した場合に、障害となったSIPサーバに対してヘルスチェックを実行するヘルスチェック専用処理手段と、対向するSIPサーバの障害を検出した場合に該SIPサーバが障害状態にあることを登録する障害管理テーブルと、対向するSIPサーバにINVITEメッセージを再送する上限値を記憶する障害検出用再送閾値記憶部と、を備え、
呼が生起された場合に該呼の生起を検知したSIPサーバが、該呼のルーティング先となったSIPサーバに対してINVITEメッセージを送出し、該INVITEメッセージに対する応答信号が前記ルーティング先となったSIPサーバから返送されない場合にはINVITEメッセージを再送し、INVITEメッセージの再送を前記障害検出用再送閾値記憶部に記憶されている回数行っても、前記ルーティング先となったSIPサーバから応答信号が返送されない場合に、前記ルーティング先となったSIPサーバの呼制御機 能の障害であることを検出し、前記ルーティング先となったSIPサーバの対地名を前記障害管理テーブルに登録し、
呼制御機能の障害であることを検出されたSIPサーバに対し、前記ヘルスチェック専用処理手段が、ヘルスチェックINVITEメッセージを送出し、前記ヘルスチェックINVITEメッセージに対する応答信号(エラー応答)が返送されない場合は前記障害であることを検出されたSIPサーバは、障害中であると判定して、定期的にヘルスチェックINVITEメッセージを送出することによりヘルスチェックを継続し、前記ヘルスチェックINVITEメッセージに対する応答信号(エラー応答)が返送された場合は前記障害であることを検出されたSIPサーバの障害が復旧したと判定して、前記障害管理テーブルに登録されていた該当SIPサーバの対地名を前記障害管理テーブルから削除し、
前記障害管理テーブルから対地名が削除されたSIPサーバに対しては、前記ヘルスチェック専用処理手段が実行していたヘルスチェックを行わないようにし、
前記ヘルスチェックINVITEメッセージの形式は、SIPにおけるINVITEメッセージの一部分を特殊な形式に変更し、SIPにおけるルーティングが不可能な形式となっている、ことを特徴とするIP網におけるSIPサーバ障害検出方式。 In an IP network in which a plurality of SIP servers equipped with SIP are connected to each other, when a response signal to an INVITE message in SIP sent from one SIP server to the opposite SIP server is not returned, the one SIP server Detecting a failure of the call control function of the opposing SIP server;
Each of the SIP servers includes a call control processing unit that detects the occurrence of a telephone call and controls connection and release of the call, a routing processing unit that determines a call connection destination, and the like, When a failure is detected, a health check dedicated processing means for performing a health check on the failed SIP server and registering that the SIP server is in a failure state when a failure of the opposing SIP server is detected A failure management table, and a failure detection retransmission threshold storage unit that stores an upper limit value for retransmitting the INVITE message to the opposing SIP server,
When a call is generated, the SIP server that has detected the occurrence of the call sends an INVITE message to the SIP server that is the routing destination of the call, and a response signal to the INVITE message is the routing destination. If not returned from the SIP server, the INVITE message is retransmitted, and even if the INVITE message is retransmitted the number of times stored in the failure detection retransmission threshold value storage unit, a response signal is returned from the SIP server that is the routing destination. if not, to register detects that a failure of the call control functions of the SIP server that has become the routed, the pair place name of the SIP server that has become the routed to the failure management table,
When the health check dedicated processing means sends a health check INVITE message to the SIP server detected to be a failure of the call control function, and a response signal (error response) to the health check INVITE message is not returned The SIP server that has been detected as being in failure determines that it is in failure, continues the health check by periodically sending out a health check INVITE message, and a response signal (error) to the health check INVITE message. If the response is returned, it is determined that the failure of the SIP server detected as the failure has been recovered, and the name of the corresponding SIP server registered in the failure management table is determined from the failure management table. Delete,
Do not perform the health check performed by the health check dedicated processing means for the SIP server whose ground name is deleted from the failure management table,
A SIP server failure detection method in an IP network, wherein the format of the health check INVITE message is such that a part of the INVITE message in SIP is changed to a special format and routing in SIP is impossible .
SIPサーバの各々は、電話の呼の生起を検知して呼の接続、解放等の制御を行う呼制御処理手段と、呼の接続先の決定などを行うルーティング処理手段と、対向するSIPサーバの障害を検出した場合に、障害となったSIPサーバに対してヘルスチェックを実行するヘルスチェック専用処理手段と、対向するSIPサーバの障害を検出した場合に該SIPサーバが障害状態にあることを登録する障害管理テーブルと、対向するSIPサーバにINVITEメッセージを再送する上限値を記憶する障害検出用再送閾値記憶部と、を備え、
呼が生起された場合に該呼の生起を検知したSIPサーバが、該呼のルーティング先となったSIPサーバに対してINVITEメッセージを送出し、該INVITEメッセージに対する応答信号が前記ルーティング先となったSIPサーバから返送されない場合にはINVITEメッセージを再送し、INVITEメッセージの再送を前記障害検出用再送閾値記憶部に記憶されている回数行っても、前記ルーティング先となったSIPサーバから応答信号が返送されない場合に、前記ルーティング先となったSIPサーバの呼制御機能の障害であることを検出し、前記ルーティング先となったSIPサーバの対地名を前記障害管理テーブルに登録し、
呼制御機能の障害であることを検出されたSIPサーバに対し、前記ヘルスチェック専用処理手段が、ヘルスチェックINVITEメッセージを送出し、前記ヘルスチェックINVITEメッセージに対する応答信号(エラー応答)が返送されない場合は前記障害であることを検出されたSIPサーバは、障害中であると判定して、定期的にヘルスチェックINVITEメッセージを送出することによりヘルスチェックを継続し、前記ヘルスチェックINVITEメッセージに対する応答信号(エラー応答)が返送された場合は前記障害であることを検出されたSIPサーバの障害が復旧したと判定して、前記障害管理テーブルに登録されていた該当SIPサーバの対地名を前記障害管理テーブルから削除し、
前記ヘルスチェックINVITEメッセージの形式は、SIPにおけるINVITEメッセージの宛先電話番号を記載する部分を、全て空白文字で埋めたものであり、SIPにおけるルーティングが不可能な形式となっている、ことを特徴とするIP網におけるSIPサーバ障害検出方式。 In an IP network in which a plurality of SIP servers equipped with SIP are connected to each other, when a response signal to an INVITE message in SIP sent from one SIP server to the opposite SIP server is not returned, the one SIP server Detecting a failure of the call control function of the opposing SIP server;
Each of the SIP servers includes a call control processing unit that detects the occurrence of a telephone call and controls connection and release of the call, a routing processing unit that determines a call connection destination, and the like, When a failure is detected, a health check dedicated processing means for performing a health check on the failed SIP server and registering that the SIP server is in a failure state when a failure of the opposing SIP server is detected A failure management table, and a failure detection retransmission threshold storage unit that stores an upper limit value for retransmitting the INVITE message to the opposing SIP server,
When a call is generated, the SIP server that has detected the occurrence of the call sends an INVITE message to the SIP server that is the routing destination of the call, and a response signal to the INVITE message is the routing destination. If not returned from the SIP server, the INVITE message is retransmitted, and even if the INVITE message is retransmitted the number of times stored in the failure detection retransmission threshold value storage unit, a response signal is returned from the SIP server that is the routing destination. If not, it is detected that there is a failure in the call control function of the SIP server that is the routing destination, and the ground name of the SIP server that is the routing destination is registered in the failure management table,
When the health check dedicated processing means sends a health check INVITE message to the SIP server detected to be a failure of the call control function, and a response signal (error response) to the health check INVITE message is not returned The SIP server that has been detected as being in failure determines that it is in failure, continues the health check by periodically sending out a health check INVITE message, and a response signal (error) to the health check INVITE message. If the response is returned, it is determined that the failure of the SIP server detected as the failure has been recovered, and the name of the corresponding SIP server registered in the failure management table is determined from the failure management table. Delete,
The format of the health check INVITE message is such that the part describing the destination telephone number of the INVITE message in SIP is filled with blank characters, and the routing in SIP is impossible. SIP server failure detection method in an IP network.
SIPサーバの各々は、電話の呼の生起を検知して呼の接続、解放等の制御を行う呼制御処理手段と、呼の接続先の決定などを行うルーティング処理手段と、対向するSIPサーバの障害を検出した場合に、障害となったSIPサーバに対してヘルスチェックを実行するヘルスチェック専用処理手段と、対向するSIPサーバの障害を検出した場合に該SIPサーバが障害状態にあることを登録する障害管理テーブルと、対向するSIPサーバにINVITEメッセージを再送する上限値を記憶する障害検出用再送閾値記憶部と、を備え、
呼が生起された場合に該呼の生起を検知したSIPサーバが、該呼のルーティング先となったSIPサーバに対してINVITEメッセージを送出し、該INVITEメッセージに対する応答信号が前記ルーティング先となったSIPサーバから返送されない場合にはINVITEメッセージを再送し、INVITEメッセージの再送を前記障害検出用再送閾値記憶部に記憶されている回数行っても、前記ルーティング先となったSIPサーバから応答信号が返送されない場合に、前記ルーティング先となったSIPサーバの呼制御機能の障害であることを検出し、前記ルーティング先となったSIPサーバの対地名を前記障害管理テーブルに登録し、
呼制御機能の障害であることを検出されたSIPサーバに対し、前記ヘルスチェック専用処理手段が、ヘルスチェックINVITEメッセージを送出し、前記ヘルスチェックINVITEメッセージに対する応答信号(エラー応答)が返送されない場合は前記障害であることを検出されたSIPサーバは、障害中であると判定して、定期的にヘルスチェックINVITEメッセージを送出することによりヘルスチェックを継続し、前記ヘルスチェックINVITEメッセージに対する応答信号(エラー応答)が返送された場合は前記障害であることを検出されたSIPサーバの障害が復旧したと判定して、前記障害管理テーブルに登録されていた該当SIPサーバの対地名を前記障害管理テーブルから削除し、
前記障害管理テーブルから対地名が削除されたSIPサーバに対しては、前記ヘルスチェック専用処理手段が実行していたヘルスチェックを行わないようにし、
前記ヘルスチェックINVITEメッセージの形式は、SIPにおけるINVITEメッセージの宛先電話番号を記載する部分を、全て空白文字で埋めたものであり、SIPにおけるルーティングが不可能な形式となっている、ことを特徴とするIP網におけるSIPサーバ障害検出方式。 In an IP network in which a plurality of SIP servers equipped with SIP are connected to each other, when a response signal to an INVITE message in SIP sent from one SIP server to the opposite SIP server is not returned, the one SIP server Detecting a failure of the call control function of the opposing SIP server;
Each of the SIP servers includes a call control processing unit that detects the occurrence of a telephone call and controls connection and release of the call, a routing processing unit that determines a call connection destination, and the like, When a failure is detected, a health check dedicated processing means for performing a health check on the failed SIP server and registering that the SIP server is in a failure state when a failure of the opposing SIP server is detected A failure management table, and a failure detection retransmission threshold storage unit that stores an upper limit value for retransmitting the INVITE message to the opposing SIP server,
When a call is generated, the SIP server that has detected the occurrence of the call sends an INVITE message to the SIP server that is the routing destination of the call, and a response signal to the INVITE message is the routing destination. If not returned from the SIP server, the INVITE message is retransmitted, and even if the INVITE message is retransmitted the number of times stored in the failure detection retransmission threshold value storage unit, a response signal is returned from the SIP server that is the routing destination. If not, it is detected that there is a failure in the call control function of the SIP server that is the routing destination, and the ground name of the SIP server that is the routing destination is registered in the failure management table,
When the health check dedicated processing means sends a health check INVITE message to the SIP server detected to be a failure of the call control function, and a response signal (error response) to the health check INVITE message is not returned The SIP server that has been detected as being in failure determines that it is in failure, continues the health check by periodically sending out a health check INVITE message, and a response signal (error) to the health check INVITE message. If the response is returned, it is determined that the failure of the SIP server detected as the failure has been recovered, and the name of the corresponding SIP server registered in the failure management table is determined from the failure management table. Delete,
Do not perform the health check performed by the health check dedicated processing means for the SIP server whose ground name is deleted from the failure management table,
The format of the health check INVITE message is such that the part describing the destination telephone number of the INVITE message in SIP is filled with blank characters, and the routing in SIP is impossible. SIP server failure detection method in an IP network.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2002341108A JP3761509B2 (en) | 2002-11-25 | 2002-11-25 | SIP server failure detection method in IP network |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2002341108A JP3761509B2 (en) | 2002-11-25 | 2002-11-25 | SIP server failure detection method in IP network |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2004179764A JP2004179764A (en) | 2004-06-24 |
| JP3761509B2 true JP3761509B2 (en) | 2006-03-29 |
Family
ID=32703568
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2002341108A Expired - Fee Related JP3761509B2 (en) | 2002-11-25 | 2002-11-25 | SIP server failure detection method in IP network |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3761509B2 (en) |
Families Citing this family (14)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2006237950A (en) * | 2005-02-24 | 2006-09-07 | Saxa Inc | Ip telephone terminal and program |
| CN100454849C (en) * | 2005-08-05 | 2009-01-21 | 华为技术有限公司 | Fault Detection Methods in Next Generation Networks |
| JP4609345B2 (en) * | 2006-03-01 | 2011-01-12 | 日本電気株式会社 | Relay server, connection control method, and program |
| US8213295B2 (en) | 2006-09-12 | 2012-07-03 | Qualcomm Incorporated | Transaction timeout handling in communication session management |
| FR2907294A1 (en) * | 2006-10-16 | 2008-04-18 | France Telecom | METHOD FOR ROUTING A SIP MESSAGE IN CASE OF UNAVAILABLE INTERMEDIATE NODES |
| JP4924124B2 (en) * | 2007-03-16 | 2012-04-25 | 富士通株式会社 | SIP server |
| JP2010541348A (en) * | 2007-09-28 | 2010-12-24 | テレフオンアクチーボラゲット エル エム エリクソン(パブル) | Disaster recovery in IP multimedia subsystem networks |
| JP4599424B2 (en) | 2008-03-26 | 2010-12-15 | 株式会社東芝 | Telephone system, exchange device thereof, and transmission control method |
| US7995466B2 (en) * | 2008-03-26 | 2011-08-09 | Avaya Inc. | Failover/failback trigger using SIP messages in a SIP survivable configuration |
| EP2209283A1 (en) | 2009-01-20 | 2010-07-21 | Vodafone Group PLC | Node failure detection system and method for SIP sessions in communication networks. |
| KR101368693B1 (en) * | 2012-03-08 | 2014-03-03 | 텔코웨어 주식회사 | Method and apparatus for processing traffic in internet protocol multimedia subsystem network |
| JPWO2013132541A1 (en) * | 2012-03-09 | 2015-07-30 | ネクシオン株式会社 | Video data transmission system |
| KR101525312B1 (en) * | 2013-10-14 | 2015-06-02 | 주식회사 엘지유플러스 | Request response server transmitting retry signal into communication apparatus, control method thereof, and recording medium for recording program for executing the control method |
| CN113472568A (en) * | 2021-06-22 | 2021-10-01 | 深圳市亿联无限科技有限公司 | Voice gateway fault reporting calling method and system |
-
2002
- 2002-11-25 JP JP2002341108A patent/JP3761509B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2004179764A (en) | 2004-06-24 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3761509B2 (en) | SIP server failure detection method in IP network | |
| CN102439903B (en) | Method, device and system for realizing disaster recovery and backup | |
| US8239468B2 (en) | Session QoS control apparatus | |
| EP1349347B1 (en) | Method and apparatus for redundant signaling links | |
| EP1921809A1 (en) | A method for achieving fault detection of ip forwarding plane | |
| US7447796B2 (en) | System, method and program product to route message packets | |
| KR100693320B1 (en) | Source address selection system, router device, computer readable recording medium recording program for functioning computer as router device, communication node and source address selection method | |
| EP1727309A1 (en) | Methods and apparatus for monitoring link integrity for signaling traffic over a path traversing hybrid ATM/ethernet infrastructure in support of packet voice service provisioning | |
| JP2005229273A (en) | Server backup device | |
| CN101459547B (en) | Label forwarding path failure detection method and system | |
| EP2140670B1 (en) | Implementing an emergency services solution | |
| US20130232275A1 (en) | Apparatus and method for establishing connections | |
| JP4153502B2 (en) | Communication device and logical link error detection method | |
| EP1552662B1 (en) | System and method for communicating data between networks operating under different protocols | |
| JP2007060326A (en) | Session relay apparatus and session relief method | |
| Cisco | PRI Backhaul Using the Stream Control Transmission Protocol and the ISDN Q.921 User Adaptation Layer | |
| JP2000261478A (en) | Gateway device, transmitting method, receiving method, and information recording medium | |
| KR20060050694A (en) | Message routing method and pre-DNS resolver | |
| George et al. | Signaling system 7 (SS7) message transfer part 2 (MTP2)-user peer-to-peer adaptation layer (M2PA) | |
| JP5659826B2 (en) | COMMUNICATION DEVICE, COMMUNICATION METHOD, AND COMMUNICATION PROGRAM | |
| CN1937482B (en) | Method and device for intercommunication between H.323 network element and dual-homing softswitch equipment | |
| JP2009239550A (en) | CONGESTION CONTROL SYSTEM, METHOD, AND PROGRAM OF VoIP NETWORK | |
| JP4889620B2 (en) | IP packet relay method and gateway device in communication network | |
| US20040039823A1 (en) | System enabling the establishment of a telnet connection to a remote device not provided with a modem | |
| US6915349B1 (en) | Method for transferring MPOA packet |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20040423 |
|
| RD01 | Notification of change of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7421 Effective date: 20050322 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20050829 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20050906 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20051107 |
|
| 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: 20051213 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20060110 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100120 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110120 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110120 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120120 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130120 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130120 Year of fee payment: 7 |
|
| LAPS | Cancellation because of no payment of annual fees |