JP2018036953A - Communication system, communication method, media relay server, and media relay program - Google Patents

Communication system, communication method, media relay server, and media relay program Download PDF

Info

Publication number
JP2018036953A
JP2018036953A JP2016170887A JP2016170887A JP2018036953A JP 2018036953 A JP2018036953 A JP 2018036953A JP 2016170887 A JP2016170887 A JP 2016170887A JP 2016170887 A JP2016170887 A JP 2016170887A JP 2018036953 A JP2018036953 A JP 2018036953A
Authority
JP
Japan
Prior art keywords
communication
call control
control server
server
communication terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2016170887A
Other languages
Japanese (ja)
Inventor
真吾 小俣
Shingo Komata
真吾 小俣
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone 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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2016170887A priority Critical patent/JP2018036953A/en
Publication of JP2018036953A publication Critical patent/JP2018036953A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)
  • Computer And Data Communications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Telephonic Communication Services (AREA)

Abstract

PROBLEM TO BE SOLVED: To suppress the influence of a communication failure caused by a failure of a processing server.SOLUTION: A first call control server 2a controls real-time communication between a first communication terminal 7a and a second communication terminal 7b. A media relay server 1 comprises: relay means 23 which, in real-time communication, relays communication data transmitted and received between the first communication terminal 7a and the first call control server 2a, and also relays communication data transmitted and received between the second communication terminal 7b and the first call control server 2a; and termination means 24 which, when a failure occurs on the first call control server 2a, terminates communication data transmitted and received between the first communication terminal 7a and the first call control server 2a to transmit the data to the second communication terminal 7b, and also terminates communication data transmitted and received between the second communication terminal 7b and the first call control server 2a to transmit the data to the first communication terminal 7a.SELECTED DRAWING: Figure 1

Description

本発明は、第1通信端末と第2通信端末とのリアルタイム通信を制御する通信システム、通信システムに用いられる通信方法、メディア中継サーバおよびメディア中継プログラムに関する。   The present invention relates to a communication system that controls real-time communication between a first communication terminal and a second communication terminal, a communication method used in the communication system, a media relay server, and a media relay program.

サーバの処理能力を向上させる方法として、複数のサーバを備えるシステムにおいて、これらの複数のサーバに分散して処理させる技術が普及している(例えば、非特許文献1および非特許文献2参照)。   As a method for improving the processing capability of a server, in a system including a plurality of servers, a technique for distributing the processing to the plurality of servers is widely used (for example, see Non-Patent Document 1 and Non-Patent Document 2).

これらの非特許文献に記載の分散システムでは、クライアントが送信したデータを、ロードバランサが一括して受信する。ロードバランサは、任意の振分サーバにデータを送信し、振分サーバは、データに含まれるキーとハッシュアルゴリズム等に基づいて特定される処理サーバに、データを入力する。このような技術において、同一キーを有するデータは、特定の処理サーバにおいて処理される。従って、通話開始から終話までなど一連の処理に用いられるデータに同一キーを設定することにより、特定の処理サーバが一貫して、一連のデータを処理することが可能になる。   In the distributed systems described in these non-patent documents, the load balancer receives the data transmitted by the client in a batch. The load balancer transmits data to an arbitrary distribution server, and the distribution server inputs the data to a processing server specified based on a key, a hash algorithm, and the like included in the data. In such a technique, data having the same key is processed in a specific processing server. Therefore, by setting the same key for data used for a series of processes such as from the start of a call to the end of a call, a specific processing server can process a series of data consistently.

入江 道生、西村 豪生、金子 雅志、別所 寿一、飯尾 政美、"スケールアウトと柔軟な構成変更を実現するセッション制御サーバのクラスタモデル "、[online]、平成23年2月28日、一般社団法人電子情報通信学会、[平成28年8月31日検索]、インターネット〈URL:https://www.ieice.org/jpn/event/taikaiarchives/show.php/2011G/pdf/b/b_06_011.pdf〉Michio Irie, Gosei Nishimura, Masashi Kaneko, Toshikazu Bessho, Masami Iio, “Cluster model of session control server that realizes scale-out and flexible configuration change”, [online], February 28, 2011, General Incorporated Association The Institute of Electronics, Information and Communication Engineers, [August 31, 2016 search], Internet <URL: https://www.ieice.org/jpn/event/taikaiarchives/show.php/2011G/pdf/b/b_06_011.pdf> 野口 博史、森谷 俊之、福元 健、"広域ネットワークにおける高可用サーバクラスタ構成方式に関する一検討"、[online]、平成26年3月4日、一般社団法人電子情報通信学会、[平成28年8月31日検索]、インターネット〈URL:https://www.ieice.org/jpn/event/taikaiarchives/show.php/2014G/pdf/b_06_104.pdf〉Hiroshi Noguchi, Toshiyuki Moriya, Takeshi Fukumoto, "A Study on Highly Available Server Cluster Configuration in Wide Area Network", [online], March 4, 2014, The Institute of Electronics, Information and Communication Engineers, [August 2016 31 days search], Internet <URL: https://www.ieice.org/jpn/event/taikaiarchives/show.php/2014G/pdf/b_06_104.pdf>

しかしながら、非特許文献に記載の分散システムにおいて、音声や映像等のリアルタイムデータを送受信する場合、処理サーバに障害が発生した際に、円滑な通信が実現できない問題がある。   However, in the distributed system described in the non-patent document, when transmitting and receiving real-time data such as voice and video, there is a problem that smooth communication cannot be realized when a failure occurs in the processing server.

具体的には、呼制御機能とリアルタイムデータを終端する機能を実装する物理サーバに障害が発生すると、代替サーバは、自身のIPアドレスやポート番号等を通信端末に通知するためのSIP(Session Initiation Protocol)メッセージを送信する。通信端末は、代替サーバからIPアドレス等を受信するまでの間、障害が発生した物理サーバにデータを送り続けるので、通信端末間の通信において、リアルタイムデータが送受信されず、無音区間が生じることになる。   Specifically, when a failure occurs in a physical server that implements a call control function and a function for terminating real-time data, an alternative server uses SIP (Session Initiation) to notify its communication terminal of its own IP address, port number, and the like. Protocol) message. Since the communication terminal continues to send data to the physical server where the failure has occurred until it receives an IP address or the like from the alternative server, real-time data is not transmitted and received during communication between the communication terminals, resulting in a silent period. Become.

従って本発明の目的は、複数の処理サーバが分散して処理する分散システムにおいて、処理サーバの障害に伴う通信障害の影響を抑制する通信システム、通信方法、メディア中継サーバおよびメディア中継プログラムを提供することである。   Accordingly, an object of the present invention is to provide a communication system, a communication method, a media relay server, and a media relay program that suppress the influence of a communication failure accompanying a failure of a processing server in a distributed system in which a plurality of processing servers perform processing in a distributed manner. That is.

上記課題を解決するために、本発明の第1の特徴は、第1通信端末と第2通信端末とのリアルタイム通信を制御する第1呼制御サーバと、第1呼制御サーバの障害発生時にリアルタイム通信を制御する第2呼制御サーバと、第1呼制御サーバおよび第2呼制御サーバに接続するメディア中継サーバを備える通信システムに関する。本発明の第1の特徴に係る通信システムの第1呼制御サーバは、第1通信端末と第2通信端末のリアルタイム通信を制御する。メディア中継サーバは、リアルタイム通信において、第1通信端末および第1呼制御サーバ間で送受信される通信データを中継するとともに、第2通信端末および第1呼制御サーバ間で送受信される通信データを中継する中継手段と、第1呼制御サーバに障害が発生すると、第1通信端末および第1呼制御サーバ間で送受信される通信データを終端して、第2通信端末に送信するとともに、第2通信端末および第1呼制御サーバ間で送受信される通信データを終端して、第1通信端末に送信する終端手段とを備え、第1呼制御サーバの障害発生後、第2呼制御サーバがリアルタイム通信を制御可能になると、終端手段は、通信データの終端を終了し、中継手段は、第1通信端末および第2呼制御サーバ間で送受信される通信データを中継するとともに、第2通信端末および第2呼制御サーバ間で送受信される通信データを中継する。   In order to solve the above problems, a first feature of the present invention is that a first call control server that controls real-time communication between a first communication terminal and a second communication terminal, and real-time when a failure occurs in the first call control server. The present invention relates to a communication system including a second call control server for controlling communication, a first call control server, and a media relay server connected to the second call control server. The first call control server of the communication system according to the first aspect of the present invention controls real-time communication between the first communication terminal and the second communication terminal. The media relay server relays communication data transmitted and received between the first communication terminal and the first call control server and relays communication data transmitted and received between the second communication terminal and the first call control server in real-time communication. When a failure occurs in the relay means and the first call control server, the communication data transmitted and received between the first communication terminal and the first call control server is terminated and transmitted to the second communication terminal, and the second communication Terminating means for terminating communication data transmitted / received between the terminal and the first call control server and transmitting the data to the first communication terminal. After the failure of the first call control server, the second call control server performs real-time communication. When the control becomes possible, the termination unit terminates the termination of the communication data, and the relay unit relays the communication data transmitted and received between the first communication terminal and the second call control server. Both relays communication data transmitted between the second communication terminal and the second call control server.

通信システムは、メディア中継サーバと同一のIPアドレスを有するスタンバイ系メディア中継サーバを備え、メディア中継サーバに障害が発生すると、スタンバイ系メディア中継サーバが、通信データの中継または終端を実行しても良い。   The communication system includes a standby media relay server having the same IP address as that of the media relay server. When a failure occurs in the media relay server, the standby media relay server may relay or terminate the communication data. .

本発明の第2の特徴は、第1通信端末と第2通信端末とのリアルタイム通信を制御する第1呼制御サーバと、第1呼制御サーバの障害発生時にリアルタイム通信を制御する第2呼制御サーバと、第1呼制御サーバおよび第2呼制御サーバに接続するメディア中継サーバを備える通信システムに用いられる通信方法に関する。本発明の第2の特徴に係る通信方法は、メディア中継サーバが、リアルタイム通信において、第1通信端末および第1呼制御サーバ間で送受信される通信データを中継するとともに、第2通信端末および第1呼制御サーバ間で送受信される通信データを中継するステップと、第1呼制御サーバが、第1通信端末と第2通信端末のリアルタイム通信を制御するステップと、第1呼制御サーバに障害が発生すると、メディア中継サーバが、第1通信端末および第1呼制御サーバ間で送受信される通信データを終端して、第2通信端末に送信するとともに、第2通信端末および第1呼制御サーバ間で送受信される通信データを終端して、第1通信端末に送信するステップと、第1呼制御サーバの障害発生後、第2呼制御サーバがリアルタイム通信を制御可能になると、メディア中継サーバが、通信データの終端を終了し、第1通信端末および第2呼制御サーバ間で送受信される通信データを中継するとともに、第2通信端末および第2呼制御サーバ間で送受信される通信データを中継するステップを備える。   The second feature of the present invention is that a first call control server that controls real-time communication between the first communication terminal and the second communication terminal, and second call control that controls real-time communication when a failure occurs in the first call control server. The present invention relates to a communication method used in a communication system including a server and a media relay server connected to a first call control server and a second call control server. In the communication method according to the second aspect of the present invention, the media relay server relays communication data transmitted and received between the first communication terminal and the first call control server in real-time communication, and the second communication terminal and the second communication terminal A step of relaying communication data transmitted / received between one call control server, a step of the first call control server controlling real-time communication between the first communication terminal and the second communication terminal, and a failure in the first call control server. When it occurs, the media relay server terminates communication data transmitted / received between the first communication terminal and the first call control server, transmits the data to the second communication terminal, and between the second communication terminal and the first call control server. Terminating the communication data transmitted / received at the first communication terminal and transmitting it to the first communication terminal, and after the failure of the first call control server, the second call control server performs real-time communication. When it becomes possible, the media relay server terminates the termination of the communication data, relays the communication data transmitted and received between the first communication terminal and the second call control server, and the second communication terminal and the second call control server. A step of relaying communication data transmitted and received between them.

本発明の第3の特徴は、第1通信端末と第2通信端末とのリアルタイム通信を制御する第1呼制御サーバと、第1呼制御サーバに接続するメディア中継サーバを備える通信システムに用いられるメディア中継サーバに関する。本発明の第3の特徴に係るメディア中継サーバは、リアルタイム通信において、第1通信端末および第1呼制御サーバ間で送受信される通信データを中継するとともに、第2通信端末および第1呼制御サーバ間で送受信される通信データを中継する中継手段と、第1呼制御サーバに障害が発生すると、第1通信端末および第1呼制御サーバ間で送受信される通信データを終端して、第2通信端末に送信するとともに、第2通信端末および第1呼制御サーバ間で送受信される通信データを終端して、第1通信端末に送信する終端手段を備える。   A third feature of the present invention is used in a communication system including a first call control server that controls real-time communication between a first communication terminal and a second communication terminal, and a media relay server connected to the first call control server. The media relay server. The media relay server according to the third aspect of the present invention relays communication data transmitted and received between the first communication terminal and the first call control server in real-time communication, and the second communication terminal and the first call control server. When a failure occurs in the first call control server and the relay means for relaying communication data transmitted / received between the first communication terminal and the second communication, the communication data transmitted / received between the first communication terminal and the first call control server is terminated. Termination means is provided that terminates communication data transmitted and received between the second communication terminal and the first call control server and transmits the data to the first communication terminal.

ここでメディア中継サーバは、第1呼制御サーバの障害発生時にリアルタイム通信を制御する第2呼制御サーバに接続し、第1呼制御サーバの障害発生後、第2呼制御サーバがリアルタイム通信を制御可能になると、終端手段は、通信データの終端を終了し、中継手段は、第1通信端末および第2呼制御サーバ間で送受信される通信データを中継するとともに、第2通信端末および第2呼制御サーバ間で送受信される通信データを中継しても良い。   Here, the media relay server is connected to a second call control server that controls real-time communication when a failure occurs in the first call control server, and after the failure occurs in the first call control server, the second call control server controls real-time communication. When possible, the termination unit terminates the termination of the communication data, and the relay unit relays the communication data transmitted and received between the first communication terminal and the second call control server, and the second communication terminal and the second call. You may relay the communication data transmitted / received between control servers.

また終端手段が、通信データを終端している間、通信データを録音する録音手段をさらに備えても良い。   The termination means may further comprise recording means for recording the communication data while terminating the communication data.

本発明の第4の特徴は、コンピュータに本発明の第3の特徴に記載の手段として機能させるメディア中継プログラムに関する。   A fourth feature of the present invention relates to a media relay program that causes a computer to function as the means described in the third feature of the present invention.

本発明によれば、複数の処理サーバが分散して処理する分散システムにおいて、処理サーバの障害に伴う通信障害の影響を抑制する通信システム、通信方法、メディア中継サーバおよびメディア中継プログラムを提供することができる。   The present invention provides a communication system, a communication method, a media relay server, and a media relay program that suppress the influence of a communication failure accompanying a failure of a processing server in a distributed system in which a plurality of processing servers perform processing in a distributed manner. Can do.

図1は、本発明の実施の形態に係る通信システムのシステム構成を説明する図である。FIG. 1 is a diagram illustrating a system configuration of a communication system according to an embodiment of the present invention. 図2は、第1通信端末および第2通信端末間の通信を、第1呼制御サーバが制御する場合を説明する図である。FIG. 2 is a diagram illustrating a case where the first call control server controls communication between the first communication terminal and the second communication terminal. 図3は、第1通信端末および第2通信端末間の通信を、メディア中継サーバが終端する場合を説明する図である。FIG. 3 is a diagram illustrating a case where the media relay server terminates communication between the first communication terminal and the second communication terminal. 図4は、第1通信端末および第2通信端末間の通信を、第2呼制御サーバが制御する場合を説明する図である。FIG. 4 is a diagram illustrating a case where the second call control server controls communication between the first communication terminal and the second communication terminal. 図5は、本発明の実施の形態に係る通信方法を説明するシーケンス図である(その1)。FIG. 5 is a sequence diagram for explaining a communication method according to the embodiment of the present invention (part 1). 図6は、本発明の実施の形態に係る通信方法を説明するシーケンス図である(その2)。FIG. 6 is a sequence diagram for explaining a communication method according to the embodiment of the present invention (part 2). 図7は、本発明の実施の形態に係るメディア中継サーバのハードウエア構成および機能ブロックを説明する図である。FIG. 7 is a diagram for explaining the hardware configuration and functional blocks of the media relay server according to the embodiment of the present invention. 図8は、メディア中継サーバの設定データのデータ構造とデータの一例を説明する図である。FIG. 8 is a diagram for explaining an example of the data structure and data of the setting data of the media relay server. 図9は、変形例に係るメディア中継サーバの多重構成を説明する図である。FIG. 9 is a diagram illustrating a multiplex configuration of a media relay server according to a modification. 図10は、変形例に係るメディア中継サーバのハードウエア構成および機能ブロックを説明する図である。FIG. 10 is a diagram for explaining the hardware configuration and functional blocks of a media relay server according to a modification.

次に、図面を参照して、本発明の実施の形態を説明する。以下の図面の記載において、同一または類似の部分には同一または類似の符号を付している。   Next, embodiments of the present invention will be described with reference to the drawings. In the following description of the drawings, the same or similar parts are denoted by the same or similar reference numerals.

(通信システム)
図1を参照して、本発明の実施の形態に係る通信システム9を説明する。通信システム9は、通信制御システム6、第1通信端末7a、第2通信端末7bおよびウェブサーバ8を備える。通信制御システム6、第1通信端末7a、第2通信端末7bおよびウェブサーバ8は、通信ネットワークによって、相互に通信可能に接続される。
(Communications system)
A communication system 9 according to an embodiment of the present invention will be described with reference to FIG. The communication system 9 includes a communication control system 6, a first communication terminal 7a, a second communication terminal 7b, and a web server 8. The communication control system 6, the first communication terminal 7a, the second communication terminal 7b, and the web server 8 are connected to be communicable with each other via a communication network.

本発明の実施の形態において、ウェブブラウザ経由で二者間通話を実現するC2D(Click to Dial)を用いて、第1通信端末7aおよび第2通信端末7bが、音声や映像などのリアルタイム通信を行う場合を説明する。   In the embodiment of the present invention, the first communication terminal 7a and the second communication terminal 7b perform real-time communication such as voice and video using C2D (Click to Dial) that realizes a two-party call via a web browser. The case where it performs is demonstrated.

ウェブサーバ8は、第1通信端末7aおよび第2通信端末7bにウェブ画面を提供する。   The web server 8 provides a web screen to the first communication terminal 7a and the second communication terminal 7b.

第1通信端末7aおよび第2通信端末7bは、話者が利用する通信端末であって、電話機やスマートフォンなどを想定する。本発明の実施の形態において第1通信端末7aは、一般ユーザが利用し、第2通信端末7bは、一般ユーザの問い合わせなどに応対するオペレータが利用する場合を説明する。   The 1st communication terminal 7a and the 2nd communication terminal 7b are communication terminals which a speaker uses, Comprising: A telephone, a smart phone, etc. are assumed. In the embodiment of the present invention, a case will be described in which the first communication terminal 7a is used by a general user, and the second communication terminal 7b is used by an operator who responds to a general user's inquiry.

C2Dにおいて第1通信端末7aは、例えば、ウェブサーバ8が提供する問い合わせ画面に自らの電話番号を入力し、「問い合わせ」ボタンをクリックする。その後ウェブサーバ8は、通信制御システム6に第1通信端末7aの電話番号を通知する。通信制御システム6は、第1コールとして、第1通信端末7aとのRTP(Real-time Transport Protocol)接続を実現するために、第1通信端末7aにINVITEメッセージを送信して、第1通信端末7aから200OKメッセージを受信する。さらに通信制御システム6は、第2コールとして、第2通信端末7bとのRTP接続を実現するために、第2通信端末7bにINVITEメッセージを送信して、第2通信端末7bから200OKメッセージを受信する。その後通信制御システム6は、第1通信端末7aとのRTP接続と第2通信端末7bとのRTP接続とを中継して、第1通信端末7aおよび第2通信端末7b間のリアルタイム通信を実現する。   In C2D, for example, the first communication terminal 7a inputs its own telephone number on an inquiry screen provided by the web server 8, and clicks an “inquiry” button. Thereafter, the web server 8 notifies the communication control system 6 of the telephone number of the first communication terminal 7a. As a first call, the communication control system 6 transmits an INVITE message to the first communication terminal 7a in order to realize an RTP (Real-time Transport Protocol) connection with the first communication terminal 7a. A 200 OK message is received from 7a. Further, the communication control system 6 transmits an INVITE message to the second communication terminal 7b and receives a 200OK message from the second communication terminal 7b in order to realize the RTP connection with the second communication terminal 7b as the second call. To do. Thereafter, the communication control system 6 relays the RTP connection with the first communication terminal 7a and the RTP connection with the second communication terminal 7b to realize real-time communication between the first communication terminal 7a and the second communication terminal 7b. .

なお、実施の形態において、C2Dにおける呼制御を説明するが、これに限られない。例えば、本発明の実施の形態は、第1通信端末7aが発信して第2通信端末7bが着信する通常の通話にも、適用することができる。   In the embodiment, call control in C2D will be described, but the present invention is not limited to this. For example, the embodiment of the present invention can be applied to a normal call in which the first communication terminal 7a makes a call and the second communication terminal 7b receives a call.

(通話制御システム)
通信制御システム6は、図1に示すように、メディア中継サーバ1、第1呼制御サーバ2a、第2呼制御サーバ2b、第1記憶装置3a、第2記憶装置3b、第1振分サーバ4a、第2振分サーバ4bおよびロードバランスサーバ5を備える。
(Call control system)
As shown in FIG. 1, the communication control system 6 includes a media relay server 1, a first call control server 2a, a second call control server 2b, a first storage device 3a, a second storage device 3b, and a first distribution server 4a. The second distribution server 4b and the load balance server 5 are provided.

ロードバランスサーバ5は、通信ネットワークを介して、第1通信端末7a、第2通信端末7bおよびウェブサーバ8に接続する。ロードバランスサーバ5は、第1通信端末7a、第2通信端末7bおよびウェブサーバ8から受信した信号を、第1振分サーバ4aおよび第2振分サーバ4bのうちの任意の振分サーバに入力する。また、メディア中継サーバ1から受信した信号を、通信ネットワークに送出する。   The load balance server 5 is connected to the first communication terminal 7a, the second communication terminal 7b, and the web server 8 via a communication network. The load balance server 5 inputs a signal received from the first communication terminal 7a, the second communication terminal 7b, and the web server 8 to any distribution server of the first distribution server 4a and the second distribution server 4b. To do. Further, the signal received from the media relay server 1 is transmitted to the communication network.

第1振分サーバ4aおよび第2振分サーバ4bは、ロードバランスサーバ5から受信した信号に含まれる識別子に基づいて、メディア中継サーバ1を介して、信号を処理する呼制御サーバ宛に信号を送信する。   Based on the identifier included in the signal received from the load balance server 5, the first distribution server 4a and the second distribution server 4b send a signal to the call control server that processes the signal via the media relay server 1. Send.

本発明の実施の形態においては、第1通信端末7aおよび第2通信端末7b間のリアルタイム通信において、共通する識別子を付与することにより、第1呼制御サーバ2aが、このリアルタイム通信を制御することを可能とする。   In the embodiment of the present invention, in the real-time communication between the first communication terminal 7a and the second communication terminal 7b, the first call control server 2a controls the real-time communication by assigning a common identifier. Is possible.

第1呼制御サーバ2aおよび第2呼制御サーバ2bは、通信端末間の通話や通信を制御する。本発明の実施の形態において、第1呼制御サーバ2aは、第1通信端末7aと第2通信端末7bとのリアルタイム通信を制御する。第2呼制御サーバ2bは、第1呼制御サーバ2aの障害発生時の代替機として機能する。第1記憶装置3aおよび第2記憶装置3bは、それぞれ、第1呼制御サーバ2aおよび第2呼制御サーバ2bが参照したり更新したりする、呼情報などのデータを記憶する。第1呼制御サーバ2aおよび第2呼制御サーバ2b間において、それぞれが保持する呼情報が共有され、障害が発生した際の代替機となるように準備される。   The first call control server 2a and the second call control server 2b control calls and communications between communication terminals. In the embodiment of the present invention, the first call control server 2a controls real-time communication between the first communication terminal 7a and the second communication terminal 7b. The second call control server 2b functions as an alternative device when a failure occurs in the first call control server 2a. The first storage device 3a and the second storage device 3b store data such as call information that is referred to and updated by the first call control server 2a and the second call control server 2b, respectively. Between the first call control server 2a and the second call control server 2b, the call information held by each is shared and prepared to be an alternative machine when a failure occurs.

メディア中継サーバ1は、第1通信端末7a、第2通信端末7bおよび第1呼制御サーバ2aまたは第2呼制御サーバ2b間で送受信されるリアルタイム通信に関する通信データを中継する。メディア中継サーバ1は、第1振分サーバ4aおよび第2振分サーバ4bが送信した信号を、第1呼制御サーバ2aまたは第2呼制御サーバ2bに送信する。またメディア中継サーバ1は、第1呼制御サーバ2aまたは第2呼制御サーバ2bから受信した信号を、ロードバランスサーバ5を介して、通信ネットワークに送出する。   The media relay server 1 relays communication data related to real-time communication transmitted and received between the first communication terminal 7a, the second communication terminal 7b, and the first call control server 2a or the second call control server 2b. The media relay server 1 transmits the signals transmitted by the first distribution server 4a and the second distribution server 4b to the first call control server 2a or the second call control server 2b. The media relay server 1 sends the signal received from the first call control server 2a or the second call control server 2b to the communication network via the load balance server 5.

(概要)
図2ないし図4を参照して、本発明の概要を説明する。
(Overview)
The outline of the present invention will be described with reference to FIGS.

図2は、第1通信端末7aおよび第2通信端末7b間の通信を、第1呼制御サーバ2aが制御する場合を説明する。図2に示すように、第1通信端末7aは、IPアドレス192.168.10.aaaであって、第1コール下流側RTPT1のために、ポート10000を用いる。第2通信端末7bは、IPアドレス192.168.10.bbbであって、第2コール下流側RTPT2のために、ポート20000を用いる。第1呼制御サーバ2aは、IPアドレス192.168.10.fffであって、第1コールRTPT3のためにポート60000を用い、第2コールRTPT4のためにポート60010を用いる。メディア中継サーバ1は、IPアドレス192.168.10.eeeであって、第1コール下流側RTPT1および第1コールRTPT3を中継するためにポート50000を用い、第2コール下流側RTPT2および第2コールRTPT4を中継するためにポート50010を用いる。   FIG. 2 illustrates a case where the first call control server 2a controls communication between the first communication terminal 7a and the second communication terminal 7b. As shown in FIG. 2, the first communication terminal 7a has an IP address of 192.168.10. aaa, use port 10000 for first call downstream RTPT1. The second communication terminal 7b has an IP address of 192.168.10. bbb, which uses port 20000 for the second call downstream RTPT2. The first call control server 2a has an IP address of 192.168.10. fff, using port 60000 for the first call RTPT3 and using port 60010 for the second call RTPT4. The media relay server 1 has an IP address of 192.168.10. eee, port 50000 is used to relay the first call downstream RTPT1 and the first call RTPT3, and port 50010 is used to relay the second call downstream RTPT2 and the second call RTPT4.

図3は、第1呼制御サーバ2aに障害が発生する場合を説明する。第1呼制御サーバ2aに障害が発生すると、メディア中継サーバ1は、リアルタイム通信に関するデータを、終端する。メディア中継サーバ1は、ポート50000の第1コール下流側RTPT1で受信したデータを、第1呼制御サーバ2aに送信することなく、ポート50010の第2コール下流側RTPT2に送信する。同様にメディア中継サーバ1は、ポート50010の第2コール下流側RTPT2で受信したデータを、第1呼制御サーバ2aに送信することなく、ポート50000の第1コール下流側RTPT1に送信する。   FIG. 3 illustrates a case where a failure occurs in the first call control server 2a. When a failure occurs in the first call control server 2a, the media relay server 1 terminates data related to real-time communication. The media relay server 1 transmits the data received at the first call downstream side RTPT1 of the port 50000 to the second call downstream side RTPT2 of the port 50010 without transmitting it to the first call control server 2a. Similarly, the media relay server 1 transmits the data received at the second call downstream side RTPT2 of the port 50010 to the first call downstream side RTPT1 of the port 50000 without transmitting the data to the first call control server 2a.

その間、第2呼制御サーバ2bは、第1呼制御サーバ2aの代替として機能する準備を行う。第2呼制御サーバ2bは、メディア中継サーバ1に、第1コールおよび第2コールのためのINVITEメッセージをそれぞれ送信する。メディア中継サーバ1からそれぞれのINVITEメッセージに対して200OKメッセージを受信すると、第2呼制御サーバ2bは、第1呼制御サーバ2aの代替として稼働する。   Meanwhile, the second call control server 2b prepares to function as an alternative to the first call control server 2a. The second call control server 2b transmits an INVITE message for the first call and the second call to the media relay server 1, respectively. When the 200OK message is received for each INVITE message from the media relay server 1, the second call control server 2b operates as an alternative to the first call control server 2a.

図4は、第1通信端末7aおよび第2通信端末7b間の通信を、第2呼制御サーバ2bが制御する場合を説明する。第2呼制御サーバ2bは、IPアドレス192.168.10.gggであって、新たな第1コールRTPT5のためにポート70000を用い、新たな第2コールRTPT6のためにポート70010を用いる。メディア中継サーバ1は、第1コール下流側RTPT1および新たな第1コールRTPT5を中継するためにポート50000を用い、第2コール下流側RTPT2および新たな第2コールRTPT6を中継するためにポート50010を用いる。   FIG. 4 illustrates a case where the second call control server 2b controls communication between the first communication terminal 7a and the second communication terminal 7b. The second call control server 2b has an IP address of 192.168.10. ggg, using port 70000 for the new first call RTPT5 and using port 70010 for the new second call RTPT6. The media relay server 1 uses the port 50000 to relay the first call downstream RTPT1 and the new first call RTPT5, and uses the port 50010 to relay the second call downstream RTPT2 and the new second call RTPT6. Use.

(通信方法)
図5および図6を参照して、本発明の実施の形態に係る通信方法を説明する。図5は、第1通信端末7aは、ウェブサーバ8を介して第1通信端末の電話番号を入力し、ウェブサーバ8がその電話番号を第1呼制御サーバ2aに入力した後の処理を開示する。
(Communication method)
With reference to FIG. 5 and FIG. 6, the communication method according to the embodiment of the present invention will be described. FIG. 5 discloses a process after the first communication terminal 7a inputs the telephone number of the first communication terminal via the web server 8, and the web server 8 inputs the telephone number to the first call control server 2a. To do.

ステップS1において第1呼制御サーバ2aは、INVITEメッセージF1をメディア中継サーバ1に送信する。このINVITEメッセージF1は、SDPに基づいて記載され、第1呼制御サーバ2aのIPアドレスおよび第1コール用のポート番号が設定される。   In step S1, the first call control server 2a transmits an INVITE message F1 to the media relay server 1. The INVITE message F1 is described based on SDP, and the IP address of the first call control server 2a and the port number for the first call are set.

ステップS2においてメディア中継サーバ1は、INVITEメッセージF2を、ロードバランスサーバ5を介して第1通信端末7aに送信する。INVITEメッセージF2は、メディア中継サーバ1のIPアドレスおよび第1コール用のポート番号が設定される。   In step S2, the media relay server 1 transmits an INVITE message F2 to the first communication terminal 7a via the load balance server 5. In the INVITE message F2, the IP address of the media relay server 1 and the port number for the first call are set.

ステップS3において第1通信端末7aは、200OKメッセージF3を、ロードバランスサーバ5を介してメディア中継サーバ1に送信する。200OKメッセージF3は、第1通信端末7aのIPアドレスおよび第1コール用のポート番号が設定される。   In step S <b> 3, the first communication terminal 7 a transmits a 200 OK message F <b> 3 to the media relay server 1 via the load balance server 5. In the 200 OK message F3, the IP address of the first communication terminal 7a and the port number for the first call are set.

ステップS4においてメディア中継サーバ1は、200OKメッセージF4を第1呼制御サーバ2aに送信する。200OKメッセージF4は、メディア中継サーバ1のIPアドレスおよび第1コール用のポート番号が設定される。   In step S4, the media relay server 1 transmits a 200 OK message F4 to the first call control server 2a. In the 200 OK message F4, the IP address of the media relay server 1 and the port number for the first call are set.

ステップS5において第1呼制御サーバ2aは、INVITEメッセージF5をメディア中継サーバ1に送信する。このINVITEメッセージF5は、第1呼制御サーバ2aのIPアドレスおよび第2コール用のポート番号が設定される。   In step S5, the first call control server 2a transmits an INVITE message F5 to the media relay server 1. In this INVITE message F5, the IP address of the first call control server 2a and the port number for the second call are set.

ステップS6においてメディア中継サーバ1は、INVITEメッセージF6を、ロードバランスサーバ5を介して第2通信端末7bに送信する。INVITEメッセージF6は、メディア中継サーバ1のIPアドレスおよび第2コール用のポート番号が設定される。   In step S6, the media relay server 1 transmits the INVITE message F6 to the second communication terminal 7b via the load balance server 5. In the INVITE message F6, the IP address of the media relay server 1 and the port number for the second call are set.

ステップS7において第2通信端末7bは、200OKメッセージF7を、ロードバランスサーバ5を介してメディア中継サーバ1に送信する。200OKメッセージF7は、第2通信端末7bのIPアドレスおよび第2コール用のポート番号が設定される。   In step S <b> 7, the second communication terminal 7 b transmits a 200 OK message F <b> 7 to the media relay server 1 via the load balance server 5. In the 200 OK message F7, the IP address of the second communication terminal 7b and the port number for the second call are set.

ステップS8においてメディア中継サーバ1は、200OKメッセージF8を第1呼制御サーバ2aに送信する。200OKメッセージF8は、メディア中継サーバ1のIPアドレスおよび第2コール用のポート番号が設定される。   In step S8, the media relay server 1 transmits a 200 OK message F8 to the first call control server 2a. In the 200 OK message F8, the IP address of the media relay server 1 and the port number for the second call are set.

ステップS1ないしステップS8の処理により、図2に示すように、第1コール下流側RTPT1、第2コール下流側RTPT2、第1コールRTPT3および第2コールRTPT4が、設定される。メディア中継サーバ1は、ポート50000を用いて、第1コール下流側RTPT1および第1コールRTPT3を中継し、ポート50010を用いて、第2コール下流側RTPT2および第2コールRTPT4を中継する。   As shown in FIG. 2, the first call downstream RTPT1, the second call downstream RTPT2, the first call RTPT3, and the second call RTPT4 are set by the processing of steps S1 to S8. The media relay server 1 relays the first call downstream RTPT1 and the first call RTPT3 using the port 50000, and relays the second call downstream RTPT2 and the second call RTPT4 using the port 50010.

その後、第1呼制御サーバ2aに障害が発生すると、メディア中継サーバ1は、ステップS11において、メディアの終端を開始する。具体的にはメディア中継サーバ1は、ポート50000の第1コール下流側RTPT1で受信したデータを、ポート50010の第2コール下流側RTPT2に送信する。またメディア中継サーバ1は、ポート50010の第2コール下流側RTPT2で受信したデータを、ポート50000の第1コール下流側RTPT1に送信する。メディア中継サーバ1は、ポート番号50000と50010とで、データを中継する。その間、第2呼制御サーバ2bからメディア中継サーバ1に、INVITEメッセージが送信され、第2呼制御サーバ2bが第1呼制御サーバ2aの代替として稼働するための準備を行う。   Thereafter, when a failure occurs in the first call control server 2a, the media relay server 1 starts terminating the media in step S11. Specifically, the media relay server 1 transmits the data received at the first call downstream side RTPT1 of the port 50000 to the second call downstream side RTPT2 of the port 50010. The media relay server 1 transmits the data received at the second call downstream side RTPT2 of the port 50010 to the first call downstream side RTPT1 of the port 50000. The media relay server 1 relays data with port numbers 50000 and 50010. Meanwhile, the INVITE message is transmitted from the second call control server 2b to the media relay server 1, and the second call control server 2b prepares to operate as an alternative to the first call control server 2a.

具体的には、ステップS12において第2呼制御サーバ2bは、INVITEメッセージF9をメディア中継サーバ1に送信する。このINVITEメッセージF9は、第2呼制御サーバ2bのIPアドレスおよび第1コール用のポート番号が設定される。   Specifically, in step S12, the second call control server 2b transmits an INVITE message F9 to the media relay server 1. In this INVITE message F9, the IP address of the second call control server 2b and the port number for the first call are set.

ステップS13においてメディア中継サーバ1は、200OKメッセージF10を第2呼制御サーバ2bに送信する。200OKメッセージF10は、メディア中継サーバ1のIPアドレスおよび第1コール用のポート番号が設定される。   In step S13, the media relay server 1 transmits a 200 OK message F10 to the second call control server 2b. In the 200 OK message F10, the IP address of the media relay server 1 and the port number for the first call are set.

ステップS14において第2呼制御サーバ2bは、INVITEメッセージF11をメディア中継サーバ1に送信する。このINVITEメッセージF11は、第2呼制御サーバ2bのIPアドレスおよび第2コール用のポート番号が設定される。   In step S14, the second call control server 2b transmits the INVITE message F11 to the media relay server 1. In this INVITE message F11, the IP address of the second call control server 2b and the port number for the second call are set.

ステップS15においてメディア中継サーバ1は、200OKメッセージF12を第2呼制御サーバ2bに送信する。200OKメッセージF12は、メディア中継サーバ1のIPアドレスおよび第2コール用のポート番号が設定される。   In step S15, the media relay server 1 transmits a 200 OK message F12 to the second call control server 2b. In the 200 OK message F12, the IP address of the media relay server 1 and the port number for the second call are set.

メディア中継サーバ1は、第1コールおよび第2コールのそれぞれについて、200OKメッセージを送信すると、ステップS16において、メディアの終端を終了する。その後、メディア中継サーバ1は、ポート50000を用いて、第1コール下流側RTPT1および新たな第1コールRTPT5を中継し、ポート50010を用いて、第2コール下流側RTPT2および新たな第2コールRTPT6を中継する。   When the media relay server 1 transmits the 200 OK message for each of the first call and the second call, in step S16, the media relay server 1 ends the termination of the media. Thereafter, the media relay server 1 relays the first call downstream RTPT1 and the new first call RTPT5 using the port 50000, and uses the port 50010 to relay the second call downstream RTPT2 and the new second call RTPT6. Relay.

(メディア中継サーバ)
図7を参照して、本発明の実施の形態に係るメディア中継サーバ1を説明する。メディア中継サーバ1は、記憶装置10、処理装置20および通信制御装置30を備える一般的なコンピュータである。一般的なコンピュータが所定の機能を実現するためのメディア中継プログラムを実行することにより、図7に示す各機能を実現する。
(Media relay server)
With reference to FIG. 7, the media relay server 1 according to the embodiment of the present invention will be described. The media relay server 1 is a general computer including a storage device 10, a processing device 20, and a communication control device 30. Each function shown in FIG. 7 is realized by a general computer executing a media relay program for realizing a predetermined function.

記憶装置10は、メディア中継プログラムを記憶するとともに、設定データ11および録音データ12を記憶する。   The storage device 10 stores a media relay program and also stores setting data 11 and recording data 12.

設定データ11は、図8に示すように、第1コールおよび第2コールに関して、メディア中継サーバ1が用いるポート番号と、呼制御サーバ、第1通信端末7aおよび第2通信端末7bの設定のデータである。   As shown in FIG. 8, the setting data 11 includes the port number used by the media relay server 1 and the setting data of the call control server, the first communication terminal 7a, and the second communication terminal 7b for the first call and the second call. It is.

メディア中継サーバポート番号は、メディア中継サーバ1が、第1コールまたは第2コールの中継で用いるポート番号である。   The media relay server port number is a port number used by the media relay server 1 for relaying the first call or the second call.

ペアポート番号は、通信データを終端する際に、中継先となるポート番号が設定される。メディア中継サーバポート番号に第1コールのポート番号が設定されている場合、ペアポート番号には、第2コールのポート番号が設定される。メディア中継サーバポート番号に第2コールのポート番号が設定されている場合、ペアポート番号には、第1コールのポート番号が設定される。   The pair port number is set to a port number as a relay destination when terminating communication data. When the port number of the first call is set as the media relay server port number, the port number of the second call is set as the pair port number. When the port number of the second call is set as the media relay server port number, the port number of the first call is set as the pair port number.

第1コール用のメディア中継サーバポート番号には、ペアポート番号のほか、第1コールで用いられる第1呼制御サーバ2aおよび第1通信端末7aのIPアドレスおよびポート番号が対応づけられる。第2コール用のメディア中継サーバポート番号には、ペアポート番号のほか、第2コールで用いられる第1呼制御サーバ2aおよび第2通信端末7bのIPアドレスおよびポート番号が対応づけられる。   In addition to the pair port number, the media call server port number for the first call is associated with the IP address and port number of the first call control server 2a and the first communication terminal 7a used in the first call. In addition to the pair port number, the media call server port number for the second call is associated with the IP address and port number of the first call control server 2a and the second communication terminal 7b used in the second call.

なお、第1呼制御サーバ2aが故障し、第2呼制御サーバ2bが代替として機能する場合、第1コール用および第2コール用のメディア中継サーバポート番号には、それぞれ、第1コールおよび第2コールで用いられる第2呼制御サーバ2bのIPアドレスおよびポート番号が対応づけられる。   When the first call control server 2a fails and the second call control server 2b functions as an alternative, the media call server port numbers for the first call and the second call are the first call and the second call, respectively. The IP address and port number of the second call control server 2b used for two calls are associated with each other.

録音データ12は、メディア中継サーバ1が通信データを終端している間の音声データであって、後述の録音手段25により録音されたものである。   The recorded data 12 is audio data while the media relay server 1 terminates the communication data, and is recorded by the recording means 25 described later.

処理装置20は、呼制御手段21、メディア制御手段22および呼制御サーバ障害監視手段26を備える。   The processing device 20 includes call control means 21, media control means 22, and call control server failure monitoring means 26.

呼制御手段21は、第1通信端末7aおよび第2通信端末7b間で呼を確立するためのINVITEメッセージおよび200OKメッセージを送受信する手段である。呼制御手段21は、第1通信端末7aおよび第2通信端末7bから200OKメッセージを受信した際に、設定データ11を更新する。また第1呼制御サーバ2aが故障し、第2呼制御サーバ2bが代替する際、第2呼制御サーバ2bに200OKメッセージを送信する際にも、設定データ11を更新する。   The call control means 21 is means for transmitting and receiving an INVITE message and a 200 OK message for establishing a call between the first communication terminal 7a and the second communication terminal 7b. The call control means 21 updates the setting data 11 when receiving a 200 OK message from the first communication terminal 7a and the second communication terminal 7b. In addition, when the first call control server 2a fails and the second call control server 2b substitutes, the setting data 11 is also updated when a 200 OK message is transmitted to the second call control server 2b.

本発明の実施の形態において、第1呼制御サーバ2aおよび第2呼制御サーバ2bは、第1コールと第2コールとに用いるポート番号の組み合わせが予め決められているとする。例えば、第1コールにおいてポート番号60000を使った場合、第2コールにおいて、ポート番号60010を使うように制御される。   In the embodiment of the present invention, it is assumed that the first call control server 2a and the second call control server 2b have predetermined combinations of port numbers used for the first call and the second call. For example, when the port number 60000 is used in the first call, the port number 60010 is controlled to be used in the second call.

このように、第1コールと第2コールとに用いるポート番号の組み合わせが予め決められている場合、呼制御手段21は、その組み合わせに応じて、メディア中継サーバ1においてペアとなるポート番号を特定する。さらに、メディア中継サーバ1は、ペアとなるポート番号に基づいて、設定データ11を更新することができる。また、設定データ11+において、第1コールおよび第2コールのペアとなるポート番号が特定されることにより、第1呼制御サーバ2aにおいて障害が発生し、メディア中継サーバ1において通信データを終端する際に、中継先のポート番号を特定することが可能になる。   As described above, when a combination of port numbers used for the first call and the second call is determined in advance, the call control means 21 specifies a pair of port numbers in the media relay server 1 according to the combination. To do. Furthermore, the media relay server 1 can update the setting data 11 based on the paired port numbers. Further, when the port number that is a pair of the first call and the second call is specified in the setting data 11+, a failure occurs in the first call control server 2a, and the communication data is terminated in the media relay server 1. In addition, the port number of the relay destination can be specified.

メディア制御手段22は、第1通信端末7aおよび第2通信端末7b間で送受信される通信データを制御する。メディア制御手段22は、中継手段23、終端手段24および録音手段25を備える。   The media control means 22 controls communication data transmitted and received between the first communication terminal 7a and the second communication terminal 7b. The media control unit 22 includes a relay unit 23, a termination unit 24, and a recording unit 25.

中継手段23は、第1通信端末7aおよび第2通信端末7b間のリアルタイム通信において、第1通信端末7aおよび第1呼制御サーバ2a間で送受信される通信データを中継するとともに、第2通信端末7bおよび第1呼制御サーバ2a間で送受信される通信データを中継する。第1呼制御サーバ2aの障害発生後、第2呼制御サーバ2bがリアルタイム通信を制御可能になると、中継手段23は、第1通信端末7aおよび第2呼制御サーバ2b間で送受信される通信データを中継するとともに、第2通信端末7bおよび第2呼制御サーバ2b間で送受信される通信データを中継する。   The relay means 23 relays communication data transmitted and received between the first communication terminal 7a and the first call control server 2a in the real-time communication between the first communication terminal 7a and the second communication terminal 7b, and the second communication terminal. The communication data transmitted and received between 7b and the first call control server 2a is relayed. After the failure of the first call control server 2a, when the second call control server 2b becomes able to control real-time communication, the relay means 23 transmits / receives communication data between the first communication terminal 7a and the second call control server 2b. And relays communication data transmitted and received between the second communication terminal 7b and the second call control server 2b.

中継手段23は、ポート50000において、第1通信端末7aから第1呼制御サーバ2a宛の信号を受信して、第1呼制御サーバ2aに転送し、第1呼制御サーバ2aから第1通信端末7a宛の信号を受信して、第1通信端末7aに転送する。また中継手段23は、ポート50010において、第2通信端末7bから第1呼制御サーバ2a宛の信号を受信して、第1呼制御サーバ2aに転送し、第1呼制御サーバ2aから第2通信端末7b宛の信号を受信して、第1通信端末7aに転送する。   The relay means 23 receives a signal addressed to the first call control server 2a from the first communication terminal 7a at the port 50000, transfers the signal to the first call control server 2a, and transfers the signal from the first call control server 2a to the first communication terminal. The signal addressed to 7a is received and transferred to the first communication terminal 7a. The relay unit 23 receives a signal addressed to the first call control server 2a from the second communication terminal 7b at the port 50010, transfers the signal to the first call control server 2a, and transmits the second communication from the first call control server 2a. A signal addressed to the terminal 7b is received and transferred to the first communication terminal 7a.

第2呼制御サーバ2bが第1呼制御サーバ2aの代替として機能する場合、中継手段23は、ポート50000において、第1通信端末7aから第2呼制御サーバ2b宛の信号を受信して、第2呼制御サーバ2bに転送し、第2呼制御サーバ2bから第1通信端末7a宛の信号を受信して、第1通信端末7aに転送する。また中継手段23は、ポート50010において、第2通信端末7bから第2呼制御サーバ2b宛の信号を受信して、第2呼制御サーバ2bに転送し、第2呼制御サーバ2bから第2通信端末7b宛の信号を受信して、第1通信端末7aに転送する。   When the second call control server 2b functions as an alternative to the first call control server 2a, the relay means 23 receives a signal addressed to the second call control server 2b from the first communication terminal 7a at the port 50000, and The call is transferred to the two-call control server 2b, receives a signal addressed to the first communication terminal 7a from the second call control server 2b, and transfers the signal to the first communication terminal 7a. The relay unit 23 receives a signal addressed to the second call control server 2b from the second communication terminal 7b at the port 50010, transfers the signal to the second call control server 2b, and transmits the second communication from the second call control server 2b. A signal addressed to the terminal 7b is received and transferred to the first communication terminal 7a.

終端手段24は、第1呼制御サーバ2aに障害が発生すると、第1通信端末7aおよび第1呼制御サーバ2a間で送受信される通信データを終端して、第2通信端末7bに送信するとともに、第2通信端末7bおよび第1呼制御サーバ2a間で送受信される通信データを終端して、第1通信端末7aに送信する。第1呼制御サーバ2aの障害発生後、第2呼制御サーバ2bがリアルタイム通信を制御可能になると、終端手段24は、通信データの終端を終了する。   When a failure occurs in the first call control server 2a, the termination unit 24 terminates communication data transmitted and received between the first communication terminal 7a and the first call control server 2a, and transmits the data to the second communication terminal 7b. The communication data transmitted / received between the second communication terminal 7b and the first call control server 2a is terminated and transmitted to the first communication terminal 7a. After the failure of the first call control server 2a, when the second call control server 2b becomes able to control real-time communication, the termination unit 24 terminates the termination of communication data.

ここで、第1呼制御サーバ2aが複数の通信端末間の通信を制御している場合、終端手段24は、これらの通信を終端する。その際終端手段24は、設定データ11を参照して、ペアとなるポート番号の組み合わせの通信を終端して、通信データを中継する。図8に示す例においてメディア中継サーバポート番号50000は、50010とペアである。従って終端手段24は、ポート50000において、第1通信端末7aから第1呼制御サーバ2a宛の信号を受信して、ポート50010において第2通信端末7bに転送する。終端手段24は、ポート50010において、第2通信端末7bから第1呼制御サーバ2a宛の信号を受信して、ポート50000において第1通信端末7aに転送する。   Here, when the first call control server 2a controls communication between a plurality of communication terminals, the termination unit 24 terminates these communications. At that time, the termination unit 24 refers to the setting data 11 and terminates the communication of the pair of port numbers to be paired and relays the communication data. In the example shown in FIG. 8, the media relay server port number 50000 is paired with 50010. Accordingly, the termination unit 24 receives a signal addressed to the first call control server 2a from the first communication terminal 7a at the port 50000 and transfers the signal to the second communication terminal 7b at the port 50010. The termination unit 24 receives a signal addressed to the first call control server 2a from the second communication terminal 7b at the port 50010, and transfers the signal to the first communication terminal 7a at the port 50000.

終端手段24は、第2呼制御サーバ2bが、第1呼制御サーバ2aの代替として機能するためにINVITEメッセージおよび200OKメッセージを送受信している間に、稼働する。第1呼制御サーバ2aの代替として第2呼制御サーバ2bが機能し始めると、終端手段24は、その処理を終了し、中継手段23によって、通信データは中継される。   Terminating means 24 operates while second call control server 2b is sending and receiving an INVITE message and a 200 OK message to function as an alternative to first call control server 2a. When the second call control server 2b starts to function as an alternative to the first call control server 2a, the termination unit 24 ends its processing, and the communication data is relayed by the relay unit 23.

録音手段25は、終端手段24が、通信データを終端している間、通信データを録音した録音データ12を記憶装置10に記憶する。録音手段25は、第1呼制御サーバ2aまたは第2呼制御サーバ2bにおいて通信データを録音できない場合、これらのサーバに変わって、通話データを録音する。録音されたデータは、顧客管理システム等で保管され、第1呼制御サーバ2aまたは第2呼制御サーバ2bで録音されたデータとマージされて管理される。   The recording unit 25 stores the recording data 12 in which the communication data is recorded in the storage device 10 while the termination unit 24 terminates the communication data. When the communication data cannot be recorded in the first call control server 2a or the second call control server 2b, the recording means 25 records the call data instead of these servers. The recorded data is stored by a customer management system or the like, and is managed by being merged with the data recorded by the first call control server 2a or the second call control server 2b.

呼制御サーバ障害監視手段26は、第1呼制御サーバ2aに障害が発生しているか否かを判定し、障害が発生している場合、メディア制御手段22に通知する。メディア制御手段22は、障害が発生すると、中継手段23による通信データの中継を中止し、終端手段24によって通信データを終端する。呼制御サーバ障害監視手段26は、例えば、第1呼制御サーバ2aにテストパケットを送信して、第1呼制御サーバ2aから応答がなかった場合に、第1呼制御サーバ2aに障害が発生したと判定する。   The call control server failure monitoring unit 26 determines whether or not a failure has occurred in the first call control server 2a, and notifies the media control unit 22 if a failure has occurred. When a failure occurs, the media control unit 22 stops relaying the communication data by the relay unit 23 and terminates the communication data by the termination unit 24. The call control server failure monitoring means 26, for example, transmits a test packet to the first call control server 2a, and a failure occurs in the first call control server 2a when there is no response from the first call control server 2a. Is determined.

本発明の実施の形態に係る通信システム9によれば、第1通信端末7aおよび第2通信端末7bは、第1呼制御サーバ2aの故障の有無にかかわらず、メディア中継サーバ1のIPアドレスおよびポート宛にデータを送信すればよい。また第1呼制御サーバ2aにおいて障害が発生したとしても、第2呼制御サーバ2bは、メディア中継サーバ1にINVITEメッセージを送信すればよく、第1通信端末7aおよび第2通信端末7bまで送信する必要がない。これにより、呼制御サーバの切り替えに要する時間を短縮することが可能になる。   According to the communication system 9 according to the embodiment of the present invention, the first communication terminal 7a and the second communication terminal 7b can receive the IP address of the media relay server 1 regardless of whether or not the first call control server 2a has failed. Send data to the port. Even if a failure occurs in the first call control server 2a, the second call control server 2b may send an INVITE message to the media relay server 1 and sends it to the first communication terminal 7a and the second communication terminal 7b. There is no need. As a result, the time required for switching the call control server can be shortened.

第2呼制御サーバ2bおよびメディア中継サーバ1がINVITEメッセージおよび200OKメッセージの送受信をする間、メディア中継サーバ1は、第1通信端末7aおよび第2通信端末7b間の通信データを中継し、必要に応じて録音する。これにより、第1個制御サーバ1aに障害が発生しても、第1通信端末7aおよび第2通信端末7b間で通信が可能になり、無音区間が生じにくくなる。   While the second call control server 2b and the media relay server 1 transmit and receive the INVITE message and the 200 OK message, the media relay server 1 relays the communication data between the first communication terminal 7a and the second communication terminal 7b and needs it. Record accordingly. Thereby, even if a failure occurs in the first control server 1a, it becomes possible to communicate between the first communication terminal 7a and the second communication terminal 7b, and a silent section is hardly generated.

このように通信システム9は、処理サーバの障害に伴う通信障害の影響を抑制することができる。   Thus, the communication system 9 can suppress the influence of the communication failure accompanying the failure of the processing server.

(変形例)
変形例において、メディア中継サーバ1が、多重化される場合を説明する。
(Modification)
In the modification, the case where the media relay server 1 is multiplexed will be described.

図9に示すように、アクト系メディア中継サーバ1aとスタンバイ系メディア中継サーバ1bは、同一のIPアドレスを有し、相互に通信可能に接続される。アクト系メディア中継サーバ1aに障害が発生すると、スタンバイ系メディア中継サーバ1bが、通信データの中継または終端を実行する。   As shown in FIG. 9, the act media relay server 1a and the standby media relay server 1b have the same IP address and are connected to be communicable with each other. When a failure occurs in the act media relay server 1a, the standby media relay server 1b executes communication data relay or termination.

図10を参照して、変形例に係るスタンバイ系メディア中継サーバ1bを説明する。アクト系メディア中継サーバ1aも同様の構成を備える。   A standby media relay server 1b according to a modification will be described with reference to FIG. The act media relay server 1a has the same configuration.

図10に備えるスタンバイ系メディア中継サーバ1bは、図7を参照して説明した本発明の実施の形態に係るメディア中継サーバ1と比較して、系間制御手段27を備える点が異なる。系間制御手段27は、同期手段28および引継手段29を備える。   The standby media relay server 1b provided in FIG. 10 differs from the media relay server 1 according to the embodiment of the present invention described with reference to FIG. The intersystem control unit 27 includes a synchronization unit 28 and a takeover unit 29.

同期手段28は、アクト系メディア中継サーバ1aとテスト信号を送受信するなどして、アクト系メディア中継サーバ1aの生死情報を、スタンバイ系メディア中継サーバ1bと共有する。また同期手段28は、通信データもアクト系メディア中継サーバ1aと同期するように制御する。   The synchronization unit 28 shares the life / death information of the act media relay server 1a with the standby media relay server 1b by transmitting / receiving a test signal to / from the act media relay server 1a. The synchronization means 28 also controls the communication data so that it is synchronized with the act media relay server 1a.

引継手段29は、一定期間、アクト系メディア中継サーバ1aから信号の受信がない場合、アクト系メディア中継サーバ1aが故障したとみなして、スタンバイ系メディア中継サーバ1bがアクト系メディア中継サーバ1aに変わって稼働するように、処理を引き継ぐ。具体的には、スタンバイ系メディア中継サーバ1bの呼制御手段21およびメディア制御手段22等が、アクト系メディア中継サーバ1aの各手段に変わって処理を実行する。   If no signal is received from the act media relay server 1a for a certain period of time, the takeover means 29 considers that the act media relay server 1a has failed, and the standby media relay server 1b changes to the act media relay server 1a. To take over the process. Specifically, the call control unit 21 and the media control unit 22 of the standby media relay server 1b execute processing instead of the units of the act media relay server 1a.

このように変形例に係るメディア中継サーバによれば、IPアドレスが共通する2つのサーバで多重化されるので、ごく短時間で処理の引継を行うことがでる。従って、第1通信端末7aおよび第2通信端末7b間での通信が寸断される時間が短くなり、無音区間が生じにくくなる。   As described above, according to the media relay server according to the modified example, since the IP addresses are multiplexed by the two servers in common, the processing can be taken over in a very short time. Therefore, the time during which communication between the first communication terminal 7a and the second communication terminal 7b is interrupted is shortened, and a silent section is less likely to occur.

(その他の実施の形態)
上記のように、本発明の実施の形態とその変形例によって記載したが、この開示の一部をなす論述および図面はこの発明を限定するものであると理解すべきではない。この開示から当業者には様々な代替実施の形態、実施例および運用技術が明らかとなる。
(Other embodiments)
As described above, the embodiments of the present invention and the modifications thereof have been described. However, it should not be understood that the descriptions and drawings constituting a part of this disclosure limit the present invention. From this disclosure, various alternative embodiments, examples, and operational techniques will be apparent to those skilled in the art.

本発明はここでは記載していない様々な実施の形態等を含むことは勿論である。従って、本発明の技術的範囲は上記の説明から妥当な特許請求の範囲に係る発明特定事項によってのみ定められるものである。   It goes without saying that the present invention includes various embodiments not described herein. Therefore, the technical scope of the present invention is defined only by the invention specifying matters according to the scope of claims reasonable from the above description.

1 メディア中継サーバ
2a 第1呼制御サーバ
2b 第2呼制御サーバ
3a 第1記憶装置
3b 第2記憶装置
4a 第1振分サーバ
4b 第2振分サーバ
5 ロードバランスサーバ
6 通信制御システム
7a 第1通信端末
7b 第2通信端末
8 ウェブサーバ
9 通信システム
10 記憶装置
11 設定データ
12 録音データ
20 処理装置
21 呼制御手段
22 メディア制御手段
23 中継手段
24 終端手段
25 録音手段
26 呼制御サーバ障害監視手段
27 系間制御手段
28 同期手段
29 引継手段
30 通信制御装置
DESCRIPTION OF SYMBOLS 1 Media relay server 2a 1st call control server 2b 2nd call control server 3a 1st memory | storage device 3b 2nd memory | storage device 4a 1st distribution server 4b 2nd distribution server 5 Load balance server 6 Communication control system 7a 1st communication Terminal 7b Second communication terminal 8 Web server 9 Communication system 10 Storage device 11 Setting data 12 Recording data 20 Processing device 21 Call control means 22 Media control means 23 Relay means 24 Termination means 25 Recording means 26 Call control server failure monitoring means 27 System Control means 28 Synchronizing means 29 Takeover means 30 Communication control device

Claims (7)

第1通信端末と第2通信端末とのリアルタイム通信を制御する第1呼制御サーバと、前記第1呼制御サーバの障害発生時に前記リアルタイム通信を制御する第2呼制御サーバと、前記第1呼制御サーバおよび前記第2呼制御サーバに接続するメディア中継サーバを備える通信システムであって、
前記第1呼制御サーバは、
前記第1通信端末と前記第2通信端末の前記リアルタイム通信を制御し、
前記メディア中継サーバは、
前記リアルタイム通信において、前記第1通信端末および前記第1呼制御サーバ間で送受信される通信データを中継するとともに、前記第2通信端末および前記第1呼制御サーバ間で送受信される通信データを中継する中継手段と、
前記第1呼制御サーバに障害が発生すると、前記第1通信端末および前記第1呼制御サーバ間で送受信される通信データを終端して、前記第2通信端末に送信するとともに、前記第2通信端末および前記第1呼制御サーバ間で送受信される通信データを終端して、前記第1通信端末に送信する終端手段とを備え、
前記第1呼制御サーバの障害発生後、前記第2呼制御サーバが前記リアルタイム通信を制御可能になると、
前記終端手段は、通信データの終端を終了し、
前記中継手段は、前記第1通信端末および前記第2呼制御サーバ間で送受信される前記通信データを中継するとともに、前記第2通信端末および前記第2呼制御サーバ間で送受信される前記通信データを中継する
ことを特徴とする通信システム。
A first call control server that controls real-time communication between the first communication terminal and the second communication terminal; a second call control server that controls the real-time communication when a failure occurs in the first call control server; and the first call A communication system comprising a control server and a media relay server connected to the second call control server,
The first call control server
Controlling the real-time communication of the first communication terminal and the second communication terminal;
The media relay server is
In the real-time communication, relays communication data transmitted and received between the first communication terminal and the first call control server, and relays communication data transmitted and received between the second communication terminal and the first call control server. Relay means to
When a failure occurs in the first call control server, communication data transmitted and received between the first communication terminal and the first call control server is terminated and transmitted to the second communication terminal, and the second communication Termination means for terminating communication data transmitted and received between the terminal and the first call control server and transmitting the data to the first communication terminal;
After the failure of the first call control server, when the second call control server can control the real-time communication,
The termination means terminates the termination of communication data;
The relay means relays the communication data transmitted / received between the first communication terminal and the second call control server, and transmits / receives the communication data between the second communication terminal and the second call control server. A communication system characterized by relaying.
前記通信システムは、前記メディア中継サーバと同一のIPアドレスを有するスタンバイ系メディア中継サーバを備え、
前記メディア中継サーバに障害が発生すると、前記スタンバイ系メディア中継サーバが、前記通信データの中継または終端を実行する
ことを特徴とする請求項1に記載の通信システム。
The communication system includes a standby media relay server having the same IP address as the media relay server,
The communication system according to claim 1, wherein when a failure occurs in the media relay server, the standby media relay server executes relay or termination of the communication data.
第1通信端末と第2通信端末とのリアルタイム通信を制御する第1呼制御サーバと、前記第1呼制御サーバの障害発生時に前記リアルタイム通信を制御する第2呼制御サーバと、前記第1呼制御サーバおよび前記第2呼制御サーバに接続するメディア中継サーバを備える通信システムに用いられる通信方法であって、
前記メディア中継サーバが、前記リアルタイム通信において、前記第1通信端末および前記第1呼制御サーバ間で送受信される通信データを中継するとともに、前記第2通信端末および前記第1呼制御サーバ間で送受信される通信データを中継するステップと、
前記第1呼制御サーバが、前記第1通信端末と前記第2通信端末の前記リアルタイム通信を制御するステップと、
前記第1呼制御サーバに障害が発生すると、前記メディア中継サーバが、前記第1通信端末および前記第1呼制御サーバ間で送受信される通信データを終端して、前記第2通信端末に送信するとともに、前記第2通信端末および前記第1呼制御サーバ間で送受信される通信データを終端して、前記第1通信端末に送信するステップと、
前記第1呼制御サーバの障害発生後、前記第2呼制御サーバが前記リアルタイム通信を制御可能になると、前記メディア中継サーバが、通信データの終端を終了し、前記第1通信端末および前記第2呼制御サーバ間で送受信される前記通信データを中継するとともに、前記第2通信端末および前記第2呼制御サーバ間で送受信される前記通信データを中継するステップ
を備えることを特徴とする通信方法。
A first call control server that controls real-time communication between the first communication terminal and the second communication terminal; a second call control server that controls the real-time communication when a failure occurs in the first call control server; and the first call A communication method used in a communication system including a control server and a media relay server connected to the second call control server,
In the real-time communication, the media relay server relays communication data transmitted and received between the first communication terminal and the first call control server, and transmits and receives between the second communication terminal and the first call control server. Relaying communication data to be transmitted;
The first call control server controlling the real-time communication between the first communication terminal and the second communication terminal;
When a failure occurs in the first call control server, the media relay server terminates communication data transmitted / received between the first communication terminal and the first call control server and transmits it to the second communication terminal. And terminating communication data transmitted / received between the second communication terminal and the first call control server and transmitting the data to the first communication terminal;
After the failure of the first call control server, when the second call control server becomes able to control the real-time communication, the media relay server ends the termination of communication data, and the first communication terminal and the second communication terminal A communication method comprising: relaying the communication data transmitted / received between call control servers, and relaying the communication data transmitted / received between the second communication terminal and the second call control server.
第1通信端末と第2通信端末とのリアルタイム通信を制御する第1呼制御サーバと、前記第1呼制御サーバに接続するメディア中継サーバを備える通信システムに用いられる前記メディア中継サーバであって、
前記リアルタイム通信において、前記第1通信端末および前記第1呼制御サーバ間で送受信される通信データを中継するとともに、前記第2通信端末および前記第1呼制御サーバ間で送受信される通信データを中継する中継手段と、
前記第1呼制御サーバに障害が発生すると、前記第1通信端末および前記第1呼制御サーバ間で送受信される通信データを終端して、前記第2通信端末に送信するとともに、前記第2通信端末および前記第1呼制御サーバ間で送受信される通信データを終端して、前記第1通信端末に送信する終端手段
を備えることを特徴とするメディア中継サーバ。
The media relay server used in a communication system including a first call control server that controls real-time communication between a first communication terminal and a second communication terminal, and a media relay server connected to the first call control server,
In the real-time communication, relays communication data transmitted and received between the first communication terminal and the first call control server, and relays communication data transmitted and received between the second communication terminal and the first call control server. Relay means to
When a failure occurs in the first call control server, communication data transmitted and received between the first communication terminal and the first call control server is terminated and transmitted to the second communication terminal, and the second communication A media relay server comprising termination means for terminating communication data transmitted and received between a terminal and the first call control server and transmitting the data to the first communication terminal.
前記メディア中継サーバは、前記第1呼制御サーバの障害発生時に前記リアルタイム通信を制御する第2呼制御サーバに接続し、
前記第1呼制御サーバの障害発生後、前記第2呼制御サーバが前記リアルタイム通信を制御可能になると、
前記終端手段は、通信データの終端を終了し、
前記中継手段は、前記第1通信端末および前記第2呼制御サーバ間で送受信される前記通信データを中継するとともに、前記第2通信端末および前記第2呼制御サーバ間で送受信される前記通信データを中継する
ことを特徴とする請求項4に記載のメディア中継サーバ。
The media relay server is connected to a second call control server that controls the real-time communication when a failure occurs in the first call control server;
After the failure of the first call control server, when the second call control server can control the real-time communication,
The termination means terminates the termination of communication data;
The relay means relays the communication data transmitted / received between the first communication terminal and the second call control server, and transmits / receives the communication data between the second communication terminal and the second call control server. The media relay server according to claim 4, wherein the media relay server is relayed.
前記終端手段が、通信データを終端している間、通信データを録音する録音手段
をさらに備えることを特徴とする請求項4または5に記載のメディア中継サーバ。
The media relay server according to claim 4 or 5, further comprising recording means for recording communication data while the termination means terminates communication data.
コンピュータに、請求項4ないし請求項6のいずれか1項に記載のメディア中継サーバとして機能させるメディア中継プログラム。   A media relay program that causes a computer to function as the media relay server according to any one of claims 4 to 6.
JP2016170887A 2016-09-01 2016-09-01 Communication system, communication method, media relay server, and media relay program Pending JP2018036953A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016170887A JP2018036953A (en) 2016-09-01 2016-09-01 Communication system, communication method, media relay server, and media relay program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016170887A JP2018036953A (en) 2016-09-01 2016-09-01 Communication system, communication method, media relay server, and media relay program

Publications (1)

Publication Number Publication Date
JP2018036953A true JP2018036953A (en) 2018-03-08

Family

ID=61565894

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016170887A Pending JP2018036953A (en) 2016-09-01 2016-09-01 Communication system, communication method, media relay server, and media relay program

Country Status (1)

Country Link
JP (1) JP2018036953A (en)

Similar Documents

Publication Publication Date Title
US9900356B2 (en) Method and apparatus for transferring active communication session streams between devices
EP3396899B1 (en) System and method of multi-media conferencing between universal plug and play (upnp) enabled telephony devices and wireless area network (wan) devices
US20160344777A1 (en) System and method for providing a media communication conversation service
US20160204956A1 (en) Method and apparatus for communicating with an access node
US20190028414A1 (en) System And Method For Providing a Communications Layer to Enable Full Participation in a Distributed Computing Environment That Uses Multiple Message Types
WO2013164917A1 (en) Mobile communication system, call processing node, and communication control method
US20240048440A1 (en) Device Management System For Upgrading Telephony Device Firmware
WO2020189003A1 (en) Voice communication system and redundancy method for call control server
CN110493022B (en) Method, device and system for establishing three-party session
JP2013255178A (en) Load distribution control device, communication device, communication system, and load distribution control method
JP2018036953A (en) Communication system, communication method, media relay server, and media relay program
CN106973014B (en) Anycast route publishing system and method and electronic equipment
JP5519554B2 (en) Call control system and information redundancy method used for call control
JP5342578B2 (en) Call control system and information redundancy method used for call control
JP4523012B2 (en) Session control apparatus, control method, and program
JP5220059B2 (en) Network communication system and network communication method
US10277634B2 (en) System and method for provisioning and registration
JP6325433B2 (en) Standby system and session control method
JP7052118B1 (en) Communication interception system, communication interception device, communication interception method, and program
JP4464361B2 (en) Large-scale command system, gateway and its program
JP5715584B2 (en) APL-GW-FE
EP3941001A1 (en) Server system and redundancy method for processes
JP2009246522A (en) Call control device, terminal device, call control system, call control method, and computer program
JP6445313B2 (en) COMMUNICATION CONTROL DEVICE, SERVER, COMMUNICATION SYSTEM, AND COMMUNICATION CONTROL METHOD
JP6642992B2 (en) Communication system, communication management method, and communication management program