Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6660337B2 - Sorting device and sorting method - Google Patents
[go: Go Back, main page]

JP6660337B2 - Sorting device and sorting method - Google Patents

Sorting device and sorting method Download PDF

Info

Publication number
JP6660337B2
JP6660337B2 JP2017068343A JP2017068343A JP6660337B2 JP 6660337 B2 JP6660337 B2 JP 6660337B2 JP 2017068343 A JP2017068343 A JP 2017068343A JP 2017068343 A JP2017068343 A JP 2017068343A JP 6660337 B2 JP6660337 B2 JP 6660337B2
Authority
JP
Japan
Prior art keywords
signal
call
distribution
function
identifier
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.)
Active
Application number
JP2017068343A
Other languages
Japanese (ja)
Other versions
JP2018170710A (en
Inventor
光平 的場
光平 的場
智広 岡田
智広 岡田
麻衣子 新井
麻衣子 新井
紀貴 堀米
紀貴 堀米
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NTT Inc
NTT Inc USA
Original Assignee
Nippon Telegraph and Telephone Corp
NTT Inc USA
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, NTT Inc USA filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2017068343A priority Critical patent/JP6660337B2/en
Publication of JP2018170710A publication Critical patent/JP2018170710A/en
Application granted granted Critical
Publication of JP6660337B2 publication Critical patent/JP6660337B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Sub-Exchange Stations And Push- Button Telephones (AREA)
  • Telephonic Communication Services (AREA)

Description

本発明は、振り分け装置および振り分け方法に関する。   The present invention relates to a sorting device and a sorting method.

近年、分散処理の技術が向上し、システム処理能力の向上をスケールアウトにより実現する分散システムの開発が進んでいる。分散システムを構成する複数のサーバに信号を振り分ける方式には、コンシステント・ハッシュ法が用いられることが多い(非特許文献1参照)。コンシステント・ハッシュ法では、信号に付された振り分けキーに応じて、当該信号の処理を担当するサーバが決められている。分散システムに入力された信号は、振り分けキーに基づいて担当のサーバに振り分けられる。   In recent years, the technology of distributed processing has been improved, and the development of distributed systems for realizing an improvement in system processing capacity by scale-out has been progressing. As a method of distributing signals to a plurality of servers constituting a distributed system, a consistent hash method is often used (see Non-Patent Document 1). In the consistent hash method, a server in charge of processing a signal is determined according to a distribution key assigned to the signal. The signal input to the distributed system is distributed to the server in charge based on the distribution key.

従来技術として、いわゆるN−ACT構成をとる分散システムを構成する複数のSIP(Session Initiation Protocol)サーバによる2者間通話が実現されている。電話機間でやり取りされる通話の信号は、当該信号に付された振り分けキーに応じて、担当のSIPサーバによって処理される。振り分けキーは、例えば、信号に含まれるCall−id、Fromヘッダ、および、Toヘッダを所定の演算処理で組み合わせたものとすることができる。2者間通話では、振り分けキーは、2者間通話に関わる一連のトランザクション(INVITE〜BYE)で同一となり、信号は同じSIPサーバに振り分けられる。   As a conventional technique, a two-party call is realized by a plurality of SIP (Session Initiation Protocol) servers constituting a distributed system having a so-called N-ACT configuration. A signal of a call exchanged between telephones is processed by a SIP server in charge according to a distribution key assigned to the signal. The distribution key may be, for example, a combination of a Call-id, a From header, and a To header included in the signal by a predetermined calculation process. In a two-party call, the distribution key is the same in a series of transactions (INVITE to BYE) related to the two-party call, and the signal is distributed to the same SIP server.

入江 道生、他4名、“スケールアウト型セッション制御サーバにおける動的構成変更に関する一検討”、電子情報通信学会技術研究報告、vol.110、no.448、NS2010-236、pp.407-410、2011年03月Michio Irie and 4 others, "A Study on Dynamic Configuration Change in Scale-out Type Session Control Server", IEICE Technical Report, vol.110, no.448, NS2010-236, pp.407-410, March 2011

社内の電話機に導入されているビジネスフォン機能(PBX(Private Branch eXchange)機能:電話交換機能)を、複数のSIPサーバから構成される分散システム上で動作させたいという要望がある。このとき、各SIPサーバには、PBX機能をソフトウェアで実現するvPBX(virtual PBX。アプリケーションの1種。)を備える。   There is a demand that a business phone function (PBX (Private Branch eXchange) function: telephone exchange function) introduced in a telephone in a company be operated on a distributed system composed of a plurality of SIP servers. At this time, each SIP server includes a vPBX (virtual PBX, a type of application) that implements the PBX function by software.

しかし、PBX機能の一部(例:代表着信時のコールピック動作(他の人の電話に代理で応答する動作)、コールパークからの着信動作(保留した通話を別の電話機から応答させる動作))については、通話確立前では、当該PBX機能に関わる一連のトランザクションで振り分けキーが同一であることが保証されていない。このため、通話確立前では信号が別々のSIPサーバに振り分けられる場合があり、この場合、PBX機能が実現しない。結果として、従来では、複数のSIPサーバから構成される分散システムにPBX機能を導入することが困難となっている。なお、vPBXを相応に改造して、PBX機能を導入してもよいが、このような改造は、多大な労力とコストを要するため採用できない。   However, a part of the PBX function (eg, a call picking operation at the time of representative incoming call (operation to answer another person's phone on behalf), an incoming operation from a call park (operation to answer a held call from another telephone) Regarding the item ()), it is not guaranteed that the distribution key is the same in a series of transactions related to the PBX function before the call is established. Therefore, before the call is established, the signal may be distributed to different SIP servers, and in this case, the PBX function is not realized. As a result, it has conventionally been difficult to introduce the PBX function into a distributed system composed of a plurality of SIP servers. It should be noted that vPBX may be modified accordingly to introduce the PBX function, but such modification cannot be adopted because it requires a great deal of labor and cost.

このような背景を鑑みて本発明がなされたのであり、本発明は、複数のSIPサーバから構成される分散システムにて、電話交換機能を実現することを課題とする。   The present invention has been made in view of such a background, and an object of the present invention is to realize a telephone exchange function in a distributed system including a plurality of SIP servers.

前記した課題を解決するため、請求項1に記載の発明は、信号に付された振り分けキーに応じて、分散システムを構成する複数のSIP(Session Initiation Protocol)サーバに前記信号を振り分ける振り分け装置であって、前記信号を第1の信号として解析する解析部と、前記解析の結果をデータベースに書き込む書き込み部と、前記第1の信号が所定の電話交換機能を実現する処理に用いられる信号であるか否かを判定し、前記電話交換機能を実現する処理に用いられる信号である場合、前記データベースを参照して、前記第1の信号に係る通話で通話開始時に取得した第2の信号の識別子と、前記第1の信号の識別子とが異なるか否かを判定する判定部と、異なる場合には、前記第1の信号の識別子を、前記第2の信号の識別子に差し替え、前記第2の信号が振り分けられたSIPサーバに前記第1の信号を振り分ける振り分け部と、を備える、ことを特徴とする。   In order to solve the above-mentioned problem, the invention according to claim 1 is a distribution device that distributes the signal to a plurality of SIP (Session Initiation Protocol) servers configuring a distributed system according to a distribution key attached to the signal. An analyzing unit for analyzing the signal as a first signal; a writing unit for writing the result of the analysis into a database; and the first signal being a signal used for processing for realizing a predetermined telephone exchange function. It is determined whether or not the signal is a signal used for processing for realizing the telephone exchange function. If the signal is a signal used for processing for realizing the telephone exchange function, the identifier of the second signal acquired at the start of the call in the call related to the first signal with reference to the database. And a determining unit that determines whether the identifier of the first signal is different. If different, the identifier of the first signal is replaced with the identifier of the second signal. It comprises a distributing unit for distributing the first signal to the SIP server the second signal is allocated, and wherein the.

また、請求項3に記載の発明は、信号に付された振り分けキーに応じて、分散システムを構成する複数のSIPサーバに前記信号を振り分ける振り分け装置における振り分け方法であって、前記振り分け装置が、前記信号を第1の信号として解析する解析ステップと、前記解析の結果をデータベースに書き込む書き込みステップと、前記第1の信号が所定の電話交換機能を実現する処理に用いられる信号であるか否かを判定し、前記電話交換機能を実現する処理に用いられる信号である場合、前記データベースを参照して、前記第1の信号に係る通話で通話開始時に取得した第2の信号の識別子と、前記第1の信号の識別子とが異なるか否かを判定する判定ステップと、異なる場合には、前記第1の信号の識別子を、前記第2の信号の識別子に差し替え、前記第2の信号が振り分けられたSIPサーバに前記第1の信号を振り分ける振り分けステップと、を実行する、ことを特徴とする。   The invention according to claim 3 is a distribution method in a distribution device that distributes the signal to a plurality of SIP servers configuring a distributed system according to a distribution key attached to a signal, wherein the distribution device includes: An analysis step of analyzing the signal as a first signal, a writing step of writing the result of the analysis to a database, and whether the first signal is a signal used for processing for realizing a predetermined telephone exchange function If the signal is used for processing for realizing the telephone exchange function, referring to the database, the identifier of the second signal acquired at the start of the call in the call related to the first signal, A determining step of determining whether or not the identifier of the first signal is different; if not, replacing the identifier of the first signal with the identifier of the second signal; Replacement executes a sorting step of sorting the first signal to the SIP server to which the second signal is allocated, characterized in that.

請求項1,3に記載の発明によれば、所定の電話交換機能を実現する処理に用いられる複数種類の信号に付された振り分けキーの値が異なっていても、信号の識別子の差し替えによって、複数種類の信号を同じSIPサーバに送信することができる。
したがって、複数のSIPサーバから構成される分散システムにて、電話交換機能を実現することができる。
According to the first and third aspects of the present invention, even if the values of the sorting keys assigned to a plurality of types of signals used in the processing for realizing the predetermined telephone exchange function are different, the replacement of the signal identifier can A plurality of types of signals can be transmitted to the same SIP server.
Therefore, a telephone exchange function can be realized in a distributed system including a plurality of SIP servers.

また、請求項2に記載の発明は、請求項1に記載の振り分け装置であって、前記所定の電話交換機能は、コールピック機能、コールパーク機能、または、保留転送機能の何れかである、ことを特徴とする。   The invention according to claim 2 is the sorting device according to claim 1, wherein the predetermined telephone exchange function is any one of a call pick function, a call park function, and a hold transfer function. It is characterized by the following.

請求項2に記載の発明によれば、複数のSIPサーバから構成される分散システムにて、コールピック機能、コールパーク機能、または、保留転送機能を実現することができる。   According to the second aspect of the present invention, a call pick function, a call park function, or a hold transfer function can be realized in a distributed system including a plurality of SIP servers.

本発明によれば、複数のSIPサーバから構成される分散システムにて、電話交換機能を実現することができる。   According to the present invention, a telephone exchange function can be realized in a distributed system including a plurality of SIP servers.

本実施形態の振り分け装置の機能構成図である。FIG. 3 is a functional configuration diagram of the sorting device of the present embodiment. 振り分け装置が実行する処理を示すフローチャートである。It is a flowchart which shows the process which a distribution apparatus performs. 比較例1における、コールパークからの着信動作の説明図である。FIG. 8 is an explanatory diagram of an incoming call operation from a call park in Comparative Example 1. 比較例2における、コールパークからの着信動作の説明図である。FIG. 9 is an explanatory diagram of an incoming call operation from a call park in Comparative Example 2. 本実施例における、コールパークからの着信動作の説明図である。It is an explanatory view of the incoming operation from the call park in the present embodiment.

次に、本発明を実施するための形態について説明する。   Next, an embodiment for carrying out the present invention will be described.

≪構成≫
図1に示すように、本実施形態の振り分け装置1と、分散システムを構成するSIPサーバ2a〜2cと、電話機3A〜3Cとが通信可能に接続されている。なお、分散システムを構成するSIPサーバは、図1に示すように、3台に限定されず、2台以下でもよいし、4台以上でもよい。また、電話機は、図1に示すように、3台に限定されず、2台以下でもよいし、4台以上でもよい。
SIPサーバ2a〜2cは、PBX機能をソフトウェアで実現するvPBXを備えるサーバである。
電話機3A〜3Cは、PBX機能を利用した通信を行うSIP端末である。
振り分け装置1は、通信時に電話機3A〜3Cから受信した信号をSIPサーバ2a〜2cのいずれかに振り分ける。信号の振り分けは、例えば、コンシステント・ハッシュ法に従うようにしてもよいが、これに限定されない。
≪Configuration≫
As shown in FIG. 1, the distribution device 1 of the present embodiment, SIP servers 2a to 2c constituting a distributed system, and telephones 3A to 3C are communicably connected. The number of SIP servers constituting the distributed system is not limited to three as shown in FIG. 1, but may be two or less, or four or more. The number of telephones is not limited to three as shown in FIG. 1, but may be two or less, or four or more.
Each of the SIP servers 2a to 2c is a server including a vPBX that implements a PBX function by software.
The telephones 3A to 3C are SIP terminals that perform communication using the PBX function.
The distribution device 1 distributes signals received from the telephones 3A to 3C during communication to any of the SIP servers 2a to 2c. The signal distribution may be performed according to, for example, a consistent hash method, but is not limited thereto.

なお、振り分け装置1、SIPサーバ2a〜2c、および、電話機3A〜3Cはそれぞれ、CPU(Central Processing Unit)と、メモリと、ハードディスクなどの記憶手段(記憶部)と、ネットワークインタフェースとを有するコンピュータとして構成される。
このコンピュータは、CPUが、メモリ上に読み込んだプログラムを実行することにより、各機能を実現する。
Note that the distribution device 1, the SIP servers 2a to 2c, and the telephones 3A to 3C are each a computer having a CPU (Central Processing Unit), a memory, a storage unit (storage unit) such as a hard disk, and a network interface. Be composed.
In this computer, the CPU realizes each function by executing a program read into the memory.

振り分け装置1は、解析部11と、書き込み部12と、判定部13と、振り分け部14と、DB(データベース)15とを備える。
解析部11は、電話機3A〜3Cから受信した信号を解析する。具体的には、解析部11は、受信した信号の種類(INVITE、NOTIFYなど)を特定したり、受信した信号に含まれるCall−id、Fromヘッダ、および、Toヘッダを特定したりする。信号の解析により、当該信号が用いられる処理で実現されるPBX機能の種類を特定することができる。解析した信号が、コールパーク機能に用いられる信号である場合、解析部11は、信号からコールパーク番号を特定することができる。
The distribution device 1 includes an analysis unit 11, a writing unit 12, a determination unit 13, a distribution unit 14, and a DB (database) 15.
The analysis unit 11 analyzes signals received from the telephones 3A to 3C. Specifically, the analysis unit 11 specifies the type of the received signal (INVITE, NOTIFY, etc.), and specifies the Call-id, From header, and To header included in the received signal. By analyzing the signal, it is possible to specify the type of the PBX function realized by the processing using the signal. When the analyzed signal is a signal used for the call park function, the analyzing unit 11 can specify the call park number from the signal.

書き込み部12は、解析部11による解析の結果をDB15に書き込む。   The writing unit 12 writes the result of the analysis by the analysis unit 11 to the DB 15.

判定部13は、解析部11が解析した信号が、所定のPBX機能を実現する処理に用いられる信号であるか否かを判定する。信号がどのようなPBX機能を実現する処理に用いられる信号であるかという判定は、解析部11の解析の結果に基づいて実行可能な周知技術であるため、詳細な説明は省略する。例えば、パーク保留の判定は、電話機3A〜3Cが、SIP信号内のToヘッダ(例えば、sip:101@10.10.10.1)内にパーク番号を付与して発信した場合に可能となる。よって、判定部13は、対象の信号がコールパーク機能に用いられる信号である、と判定することができる。   The determination unit 13 determines whether the signal analyzed by the analysis unit 11 is a signal used for a process for realizing a predetermined PBX function. The determination as to what kind of PBX function the signal is used for realizing the signal is a well-known technique that can be executed based on the result of the analysis by the analysis unit 11, and thus detailed description is omitted. For example, the determination of park hold can be made when the telephones 3A to 3C assign a park number to a To header (for example, sip: 101@10.10.10.1) in a SIP signal and make a call. Therefore, the determination unit 13 can determine that the target signal is a signal used for the call park function.

また、例えば、コールピック動作の判定は、SIP信号内のReplacesヘッダ内のCall−id情報を読み取ることで可能となる。よって、判定部13は、対象の信号がコールピック機能に用いられる信号である、と判定することができる。   In addition, for example, a call pick operation can be determined by reading Call-id information in a Replaces header in a SIP signal. Therefore, the determination unit 13 can determine that the target signal is a signal used for the call pick function.

また、例えば、保留転送の判定は、INVITE信号内のSDP(Session Description Protocol)パラメータを読み取ったときに、音声データ形式として、a=sendonly等が格納されており、Call−idをDB15に格納するといった引き継ぎがなされたことで可能となる。よって、判定部13は、対象の信号が保留転送機能に用いられる信号である、と判定することができる。   Also, for example, when the SDP (Session Description Protocol) parameter in the INVITE signal is read, a = sendonly or the like is stored as the audio data format, and the Call-id is stored in the DB 15 when the hold transfer is determined. This is made possible by the handover. Therefore, the determination unit 13 can determine that the target signal is a signal used for the hold transfer function.

また、判定部13は、解析部11が解析した信号(第1の信号)が所定のPBX機能を実現する処理に用いられる信号である場合、DB15を参照して、解析部11が解析した信号に係る通話で通話開始時に取得した信号(第2の信号)のCall−id(識別子)と、解析部11が解析した信号の識別子とが異なるか否かを判定する。換言すれば、DB15には、解析部11が解析した信号がやり取りされた通話に関して、当該通話でやり取りされた信号群のCall−idが格納されている。そこで、判定部13は、PBX機能が実行された通話の開始時に取得されるINVITE信号のCall−idが存在するか否かをDB15から確認する。   In addition, when the signal (first signal) analyzed by the analysis unit 11 is a signal used for a process for realizing a predetermined PBX function, the determination unit 13 refers to the DB 15 to determine a signal analyzed by the analysis unit 11. It is determined whether or not the Call-id (identifier) of the signal (second signal) acquired at the start of the call in the call according to the above is different from the identifier of the signal analyzed by the analysis unit 11. In other words, the DB 15 stores the Call-id of a group of signals exchanged in the call with respect to the call in which the signal analyzed by the analysis unit 11 is exchanged. Therefore, the determination unit 13 checks from the DB 15 whether or not the Call-id of the INVITE signal acquired at the start of the call in which the PBX function is executed exists.

なお、先述したように、N−ACT構成をとる従来の分散システムにて、コンシステント・ハッシュ法によって信号の振り分けを実行した場合、PBX機能の一部については、通話確立前では、当該PBX機能に関わる一連のトランザクションで振り分けキーが同一であることが保証されていない。つまり、1つの通話でやり取りされる信号群のCall−idは、通話が確立するまでは同一とはならない。例えば、PBX機能がコールパーク機能である場合、パーク保留の保留前と保留解除後とでは異なるCall−idが用いられるという特性がある。そこで、振り分け装置1が受信した信号が、通話確立前の信号であるか通話確立後の信号であるかを判定することが好ましい。   As described above, in the conventional distributed system having the N-ACT configuration, when signal distribution is performed by the consistent hash method, a part of the PBX function is provided before the call is established. It is not guaranteed that the distribution key is the same in a series of transactions involving. That is, the Call-id of the signal group exchanged in one call is not the same until the call is established. For example, when the PBX function is the call park function, there is a characteristic that different Call-ids are used before and after the hold of the park hold. Therefore, it is preferable to determine whether the signal received by the sorting device 1 is a signal before the call is established or a signal after the call is established.

判定部13は、解析部11が信号を解析したときの結果に応じて、当該信号が通話確立前の信号であるか通話確立後の信号であるかを判定することができる。具体的には、例えば、SIP信号である場合には、判定部13は、ヘッダ内のCall−idの値を特定し、同じ通話で事前にやり取りされた他の信号のCall−idがDB15に格納されているかを判定することで、換言すれば、通話が完了していないCall−idの有無を判定することで、通話確立前の信号であるか否かを判定することができる。   The determination unit 13 can determine whether the signal is a signal before the call is established or a signal after the call is established, according to the result when the analysis unit 11 analyzes the signal. Specifically, for example, when the signal is a SIP signal, the determination unit 13 specifies the value of Call-id in the header, and the Call-id of another signal exchanged in advance in the same call is stored in the DB 15. By determining whether the signal is stored, in other words, by determining the presence or absence of the Call-id for which the call has not been completed, it is possible to determine whether or not the signal is a signal before the call is established.

また、判定部13は、SIP信号内に、WWW-Authenticateヘッダのない(ユーザ発の)イニシャルINVITEが有れば、当該信号が通話確立前の信号であると判定することができる。   Further, if there is an initial INVITE (from the user) without a WWW-Authenticate header in the SIP signal, the determination unit 13 can determine that the signal is a signal before a call is established.

振り分け部14は、判定部12によるこれらの判定の結果に応じて、解析部11が解析した信号の振り分け先(SIPサーバ2a〜2cのいずれか)を決定する。具体的には、振り分け部14は、DB15にアクセスし、解析部11が解析した(最新の)信号のCall−idと、DB15に事前に書き込まれていた信号であって、解析部11が解析した信号に係る通話の通話開始時に取得した信号のCall−idとを比較する。そして、両Call−idが異なる場合には、振り分け部14は、解析部11が解析した(最新の)信号のCall−idを、通話開始時に取得した信号のCall−idに差し替える。   The distribution unit 14 determines the distribution destination (any of the SIP servers 2a to 2c) of the signal analyzed by the analysis unit 11 according to the result of these determinations by the determination unit 12. More specifically, the distribution unit 14 accesses the DB 15, and the call-id of the (latest) signal analyzed by the analysis unit 11 and the signal written in advance in the DB 15. The call is compared with the Call-id of the signal obtained at the start of the call related to the signal. If the Call-ids are different, the allocating unit 14 replaces the Call-id of the (latest) signal analyzed by the analysis unit 11 with the Call-id of the signal acquired at the start of the call.

また、振り分け部14は、コンシステント・ハッシュ法に従い、電話機3A〜3Cから受信した信号に付された振り分けキーに応じて、当該信号の振り分け先(SIPサーバ2a〜2cのいずれか)に信号を振り分ける。振り分けキーは、例えば、信号に含まれるCall−id、Fromヘッダ、および、Toヘッダを所定の演算処理で組み合わせたものとすることができるが、これに限定されない。   Further, the distribution unit 14 transmits the signal to the destination of the signal (one of the SIP servers 2a to 2c) according to the distribution key assigned to the signal received from the telephones 3A to 3C according to the consistent hash method. Distribute. The distribution key can be, for example, a combination of a Call-id, a From header, and a To header included in the signal by a predetermined arithmetic process, but is not limited thereto.

先述したCall−idの差し替えがあった場合、振り分け部14は、コンシステント・ハッシュ法にしたがって、通話開始時に取得した信号を振り分けたSIPサーバに、解析部11が解析した(最新の)信号を振り分けることができる。つまり、通話でやり取りされた信号群を同じSIPサーバに振り分けることができる。   When the Call-id is replaced as described above, the distribution unit 14 transmits the (latest) signal analyzed by the analysis unit 11 to the SIP server that distributes the signal acquired at the start of the call according to the consistent hash method. Can be sorted. That is, it is possible to distribute a signal group exchanged in a call to the same SIP server.

DB15は、判定部12および変更部13がアクセス可能となるように、解析部11による解析の結果を保存する。   The DB 15 stores the result of the analysis by the analysis unit 11 so that the determination unit 12 and the change unit 13 can access.

≪処理≫
本実施形態の振り分け装置1が実行する処理について説明する。
図2に示すように、本実施形態の振り分け装置1が実行する処理は、電話機3A〜3Cから信号を取得した時に開始する。
≪Process≫
Processing executed by the sorting device 1 according to the present embodiment will be described.
As shown in FIG. 2, the process executed by the sorting device 1 of the present embodiment starts when signals are acquired from the telephones 3A to 3C.

まず、振り分け装置1は、解析部11によって、取得した信号を解析する(ステップS1)。
次に、振り分け装置1は、書き込み部12によって、解析部11による解析の結果をDB15に書き込む(ステップS2)。
First, the distribution device 1 analyzes the acquired signal by the analysis unit 11 (step S1).
Next, the distribution device 1 writes the analysis result by the analysis unit 11 to the DB 15 by the writing unit 12 (Step S2).

次に、振り分け装置1は、判定部13によって、解析部11が解析した信号が、所定のPBX機能を実現する処理に用いられる信号であるか否かを判定する(ステップS3)。換言すれば、判定部13は、取得した信号が用いられる処理で実現されるPBX機能の種類を特定する。所定のPBX機能を実現する処理に用いられる信号でない場合(ステップS3/No)、ステップS6に進む。この場合、当該信号がPBX機能を利用しない通常の通話(2者間の通話)の信号であり、本発明を特徴づけるCall−idの差し替えを必要としないことを意味する。   Next, the distribution device 1 causes the determination unit 13 to determine whether the signal analyzed by the analysis unit 11 is a signal used for a process for realizing a predetermined PBX function (Step S3). In other words, the determination unit 13 specifies the type of the PBX function realized by the process using the acquired signal. If the signal is not a signal used for processing for realizing a predetermined PBX function (step S3 / No), the process proceeds to step S6. In this case, the signal is a signal of a normal call (call between two parties) not using the PBX function, and means that it is not necessary to replace the Call-id which characterizes the present invention.

一方、所定のPBX機能を実現する処理に用いられる信号である場合(ステップS3/Yes)、振り分け装置1は、判定部13がDB15を参照することによって、(ステップS1で)解析部11が解析した信号のCall−id(第1の信号の識別子)が、当該信号に係る通話で通話開始時に取得した信号のCall−id(第2の信号の識別子)とは異なるか否かを判定する(ステップS4)。同じである場合(ステップS4/No)、ステップS6に進む。この場合、解析部11が解析した信号の振り分け先と、通話開始時に取得した信号の振り分け先とが偶然同じになり、本発明の目的を自ずと達成することができることを意味する。また、解析部11が解析した信号が通話開始時に取得した信号であった場合も「ステップS4/No」に便宜上該当するものとする。   On the other hand, when the signal is used for processing for realizing the predetermined PBX function (step S3 / Yes), the distribution device 1 performs the analysis by the analysis unit 11 (in step S1) by the determination unit 13 referring to the DB15. It is determined whether the Call-id (identifier of the first signal) of the obtained signal is different from the Call-id (identifier of the second signal) of the signal obtained at the start of the call in the call related to the signal ( Step S4). If they are the same (step S4 / No), the process proceeds to step S6. In this case, the distribution destination of the signal analyzed by the analysis unit 11 and the distribution destination of the signal acquired at the start of the call happen to be the same, which means that the object of the present invention can be achieved naturally. Also, the case where the signal analyzed by the analyzing unit 11 is the signal acquired at the start of the call is also assumed to correspond to “Step S4 / No” for convenience.

一方、両Call−idが異なる場合(ステップS4/Yes)、振り分け装置1は、振り分け部14によって、Call−idの差し替えを実行する(ステップS5)。具体的には、振り分け部15は、(ステップS1で)解析部11が解析した信号のCall−idを、通話開始時に取得した信号のCall−idに差し替える。これにより、解析部11が解析した信号に付された振り分けキーの値を、通話開始時に取得した信号に付された振り分けキーの値と同じにすることができる。   On the other hand, when both Call-ids are different (Step S4 / Yes), the distribution device 1 causes the distribution unit 14 to replace the Call-ids (Step S5). Specifically, the distribution unit 15 replaces the Call-id of the signal analyzed by the analysis unit 11 (at Step S1) with the Call-id of the signal acquired at the start of the call. Thus, the value of the distribution key assigned to the signal analyzed by the analysis unit 11 can be made the same as the value of the distribution key assigned to the signal acquired at the start of the call.

次に、振り分け装置1は、振り分け部14によって、振り分け処理を実行する(ステップS6)。具体的には、振り分け部14は、信号に付された振り分けキーに応じて、SIPサーバ2a〜2cのいずれかに信号を振り分ける。また、振り分け部14は、Call−idの差し替えによって、特定のPBX機能を実現する処理全体(INVITE〜BYE)を実行する特定のSIPサーバに、当該PBX機能を実現する処理に用いられる信号を集中して振り分ける。また、解析部11が解析した信号が通話開始時に取得した信号であった場合(ステップS4/No)、振り分け部14は、当該信号に付された振り分けキーに応じて、SIPサーバ2a〜2cのいずれかに信号を振り分ける。   Next, the distribution device 1 performs a distribution process by the distribution unit 14 (Step S6). Specifically, the distribution unit 14 distributes a signal to any of the SIP servers 2a to 2c according to a distribution key assigned to the signal. In addition, the distribution unit 14 concentrates the signal used for the processing for realizing the PBX function on the specific SIP server that executes the entire processing (INVITE to BYE) for realizing the specific PBX function by replacing the Call-id. And sort. If the signal analyzed by the analysis unit 11 is a signal acquired at the start of a call (step S4 / No), the distribution unit 14 sends the signals of the SIP servers 2a to 2c in accordance with the distribution key assigned to the signal. Distribute the signal to one of them.

図2の処理によれば、Call−id、Fromヘッダ、および、Toヘッダの組み合わせが異なり、振り分けキーの値がばらばらであるため、振り分け先が異なってしまう複数の信号を、特定のSIPサーバ(通話開始の処理を担当したSIPサーバ)へ狙い撃つことが可能となる。よって、特定のSIPサーバ上で電話交換機能を実現することができる。   According to the processing of FIG. 2, the combination of the Call-id, the From header, and the To header is different, and the values of the distribution keys are different. It is possible to aim and shoot at the SIP server that was in charge of the process of starting the call. Therefore, a telephone exchange function can be realized on a specific SIP server.

≪コールパークからの着信動作に関する具体例≫
本実施形態の具体例として、コールパークからの着信動作を採り上げ説明する。
具体 Specific example of call reception from call park≫
As a specific example of this embodiment, an incoming call operation from a call park will be described.

<比較例1>
まず、図3を参照して、後記の本実施例に対する比較例1として、電話機3A〜3Cに対して、分散システム上の1台のSIPサーバ2dが、コールパークからの着信動作(通常)に関する処理を実行する場合について説明する。
<Comparative Example 1>
First, referring to FIG. 3, as a comparative example 1 with respect to the present embodiment described later, one SIP server 2d on the distributed system is used for the telephones 3A to 3C regarding the incoming call operation (normal) from the call park. The case where the processing is executed will be described.

この説明の前提条件は以下の3つである。
前提条件1:電話機3B,3Cは、同一のコールパーク番号に所属している。
前提条件2:電話機3Aからの着信(通話開始)に対して電話機3Bが応答する。
前提条件3:電話機3Bにてパークボタンが押されると、電話機3Cに電話に出るように指示される。
The prerequisites for this description are the following three.
Precondition 1: the telephones 3B and 3C belong to the same call park number.
Precondition 2: The telephone 3B responds to an incoming call (call start) from the telephone 3A.
Precondition 3: When the park button is pressed on the telephone 3B, the telephone 3C is instructed to answer the telephone.

比較例1によるコールパークからの着信動作は、まず、電話機3Aからの着信に応答した電話機3Bは、パークボタンが押されると(ステップA1)、電話機3A,3B間のRTP(Real-time Transfer Protocol)による信号配信を中断され通話が保留される(破線矢印。通信未確立。)。このとき、SIPサーバ2dは、保留された通話にコールパーク番号を割り当てる。   In the incoming call operation from the call park according to the comparative example 1, first, the telephone 3B responding to the incoming call from the telephone 3A, when the park button is pressed (step A1), the RTP (Real-time Transfer Protocol) between the telephones 3A and 3B. ) Is interrupted and the call is suspended (dashed arrow, communication not established). At this time, the SIP server 2d assigns a call park number to the held call.

次に、SIPサーバ2dは、NOTIFY信号を電話機3B,3Cに送信することで(ステップA2)、コールパーク番号を通知する。このとき、電話機3B,3Cは、ランプ表示と鳴動を行う。   Next, the SIP server 2d notifies the call park number by transmitting a NOTIFY signal to the telephones 3B and 3C (step A2). At this time, the telephones 3B and 3C perform lamp display and ringing.

次に、電話機3Cは、SIPサーバ2dを経由して電話機3AにINVITE信号を送信し、電話機3Aから200OK等のメッセージを受信する(ステップA3)。このとき、電話機3Cは、INVITE信号のToヘッダに、電話機Aが保留されているコールパーク番号を含める。   Next, the telephone 3C transmits an INVITE signal to the telephone 3A via the SIP server 2d, and receives a message such as 200 OK from the telephone 3A (step A3). At this time, the telephone 3C includes, in the To header of the INVITE signal, the call park number in which the telephone A is held.

最後に、電話機3A,3C間でRTPによる信号配信がなされ、通信が確立する(ステップA4)。
比較例1のように、SIPサーバを1台だけ用意する場合には、コールパークからの着信動作の処理を確実に実現することができる。
Finally, a signal is delivered by RTP between the telephones 3A and 3C, and communication is established (step A4).
When only one SIP server is prepared as in Comparative Example 1, it is possible to reliably realize the processing of the incoming call operation from the call park.

<比較例2>
続いて、図4を参照して、後記の本実施例に対する比較例2として、電話機3A〜3Cに対して、分散システム上のSIPサーバ2a〜2c(N−ACT構成)が、コールパークからの着信動作に関する処理を実行する場合について説明する。前提条件は、比較例1と同様である。また、図4に示す振り分け装置1aは、従来の振り分け装置であって、コンシステント・ハッシュ法に従い、電話機3A〜3Cから受信した信号に付された振り分けキーに応じて、SIPサーバ2a〜2cのいずれかに信号を振り分ける。
<Comparative Example 2>
Subsequently, referring to FIG. 4, as a second comparative example with respect to the present embodiment described later, SIP servers 2 a to 2 c (N-ACT configuration) on a distributed system are provided to telephones 3 A to 3 C from a call park. A case where a process relating to an incoming call operation is executed will be described. The preconditions are the same as in Comparative Example 1. The distribution device 1a shown in FIG. 4 is a conventional distribution device, and according to a consistent hash method, according to a distribution key assigned to a signal received from the telephones 3A to 3C, the distribution device 1a of the SIP server 2a to 2c. Distribute the signal to one of them.

比較例1によるコールパークからの着信動作は、まず、比較例1のステップA1(図3)と同様、電話機3Aからの着信に応答した電話機3Bは、パークボタンが押されると(ステップB1)、電話機3A,3B間のRTPによる信号配信を中断され通話が保留される(破線矢印)。   First, as in step A1 of comparative example 1 (FIG. 3), the telephone 3B that has responded to the incoming call from telephone 3A presses the park button (step B1). The RTP signal distribution between the telephones 3A and 3B is interrupted, and the call is suspended (broken line arrow).

次に、SIPサーバ2aは、振り分け装置1aを経由してNOTIFY信号を電話機3B,3Cに送信することで(ステップB2)、コールパーク番号を通知する。このとき、電話機3B,3Cは、ランプ表示と鳴動を行う。   Next, the SIP server 2a notifies the call park number by transmitting a NOTIFY signal to the telephones 3B and 3C via the distribution device 1a (step B2). At this time, the telephones 3B and 3C perform lamp display and ringing.

次に、電話機3Cは、振り分け装置1aにINVITE信号を送信する(ステップB3)。このとき、電話機3Cは、INVITE信号のToヘッダに、電話機Aが保留されているコールパーク番号(単に、パーク番号と呼ぶ場合がある)を含め、電話機3Cからパーク番号宛のINVITE信号とする。しかし、このINVITE信号に付された振り分けキー、つまり、Call−id、Fromヘッダ、および、Toヘッダに基づく組み合わせは、電話機3A,3B間の信号に付された振り分けキー(ステップB1前に電話機3A,3B間で用いられていた振り分けキー)とは、異なった値を示す場合が多い。このため、電話機3Cからパーク番号宛のINVITE信号の振り分け先が必ずしも、NOTIFY信号を送信したSIPサーバ2aとなるとは限らない(図4では、SIPサーバ2cが振り分け先として図示されている)。   Next, the telephone 3C transmits an INVITE signal to the distribution device 1a (step B3). At this time, the telephone 3C includes an INVITE signal addressed to the park number from the telephone 3C, including the call park number in which the telephone A is held (may be simply called a park number) in the To header of the INVITE signal. However, the distribution key assigned to the INVITE signal, that is, the combination based on the Call-id, From header, and To header is the distribution key assigned to the signal between the telephones 3A and 3B (the telephone 3A before step B1). , 3B) often show different values. Therefore, the destination of the INVITE signal addressed to the park number from the telephone 3C is not always the SIP server 2a that transmitted the NOTIFY signal (in FIG. 4, the SIP server 2c is shown as the destination).

このように、比較例2によるコールパークからの着信動作は、一連のトランザクションで、振り分けキーが同一であることが保証されない。このため、分散システムの別のSIPサーバに信号が振り分けられてしまう可能性がある。結果として、コールパークからの着信動作が必ず実現されるとは限らない。   As described above, the incoming operation from the call park according to the comparative example 2 does not guarantee that the distribution key is the same in a series of transactions. For this reason, the signal may be distributed to another SIP server of the distributed system. As a result, the incoming operation from the call park is not always realized.

<本実施例>
続いて、図5を参照して、本実施例として、電話機3A〜3Cに対して、分散システム上のSIPサーバ2a〜2c(N−ACT構成)が、コールパークからの着信動作に関する処理を実行する場合について説明する。前提条件は、比較例1,2と同様である。また、本実施形態の振り分け装置1を用いる。
<Example>
Subsequently, referring to FIG. 5, as the present embodiment, for servers 3A to 3C, SIP servers 2a to 2c (N-ACT configuration) on a distributed system execute processing relating to an incoming operation from a call park. Will be described. The preconditions are the same as in Comparative Examples 1 and 2. Further, the sorting device 1 of the present embodiment is used.

まず、振り分け装置1は、電話機3Aから電話機3BにINVITE信号が送信される(ステップC1)。具体的には、まず、振り分け装置1の解析部11が、電話機3AからのINVITE信号(通話開始時に取得した信号)を解析する。次に、振り分け装置1の書き込み部12が、解析部11の解析結果をDB15に書き込む。電話機3AからのINVITE信号に対する解析部11の解析結果は、Fromヘッダ(3A@xxx.com)と、Toヘッダ(3B@xxx.com)と、電話機3Aから電話機3B宛のCall−id(1f3e@xxx.com)との関連情報(図5中の太枠)である。次に、振り分け部14が、コンシステント・ハッシュ法によって、INVITE信号に付された振り分けキーに応じてそのINVITE信号をSIPサーバ2aに振り分ける。次に、SIPサーバ2aは、振り分け装置1を経由してINVITE信号を電話機3Bに送信する。   First, the distribution device 1 transmits an INVITE signal from the telephone 3A to the telephone 3B (step C1). Specifically, first, the analysis unit 11 of the distribution device 1 analyzes an INVITE signal (a signal acquired at the start of a call) from the telephone 3A. Next, the writing unit 12 of the sorting device 1 writes the analysis result of the analysis unit 11 in the DB 15. The analysis result of the analyzing unit 11 with respect to the INVITE signal from the telephone 3A includes a From header (3A@xxx.com), a To header (3B@xxx.com), and a Call-id (1f3e @) from the telephone 3A to the telephone 3B. xxx.com) (bold frame in FIG. 5). Next, the distribution unit 14 distributes the INVITE signal to the SIP server 2a according to a distribution key assigned to the INVITE signal by a consistent hash method. Next, the SIP server 2a transmits an INVITE signal to the telephone 3B via the distribution device 1.

ステップC1により、電話機3A,3B間で通信が確立し、RTP(図示せず)による通話が開始される。その後、電話機3Bにてパークボタンが押下され、電話機3A,3B間のRTPによる信号配信を中断され通話が保留されたとする(通信未確立)。すると、SIPサーバ2aは、比較例2のステップB2と同様、振り分け装置1aを経由してNOTIFY信号を電話機3B,3Cに送信することで(ステップC2)、コールパーク番号を通知する。   By step C1, communication is established between the telephones 3A and 3B, and a telephone call by RTP (not shown) is started. Thereafter, it is assumed that the park button is pressed on the telephone 3B, the signal distribution by the RTP between the telephones 3A and 3B is interrupted, and the telephone call is suspended (communication not established). Then, the SIP server 2a notifies the call park number by transmitting a NOTIFY signal to the telephones 3B and 3C via the distribution device 1a (step C2), similarly to step B2 of the comparative example 2.

このとき、書き込み部12は、NOTIFY信号から、電話機3Aから電話機3B宛のCall−id(1f3e@xxx.com)と、コールパーク番号(101)とを取得し、DB15に書き込む。DB15では、NOTIFY信号から取得したCall−id(1f3e@xxx.com)をキーにして、Fromヘッダ(3A@xxx.com)と、Toヘッダ(3B@xxx.com)と、電話機3Aから電話機3B宛のCall−id(1f3e@xxx.com)との関連情報に、NOTIFY信号から取得したコールパーク番号(101)(図5中破線枠)が関連付けられる。   At this time, the writing unit 12 acquires the Call-id (1f3e@xxx.com) from the telephone 3A to the telephone 3B and the call park number (101) from the NOTIFY signal, and writes them in the DB 15. In the DB 15, using the Call-id (1f3e@xxx.com) obtained from the NOTIFY signal as a key, a From header (3A@xxx.com), a To header (3B@xxx.com), and the telephones 3A to 3B. The call park number (101) (dashed frame in FIG. 5) obtained from the NOTIFY signal is associated with the information related to the Call-id (1f3e@xxx.com) addressed to the address.

次に、電話機3Cは、比較例2のステップB3と同様、振り分け装置1にINVITE信号を送信する(ステップC3)。このとき、解析部11が、電話機3CからのINVITE信号を解析し、宛先となるパーク番号を取得する。また、判定部13は、解析部11の解析結果から、電話機3CからのINVITE信号が、コールパークの着信動作を実現する処理に用いられる信号であると判定することができる。なお、電話機3Cが送信するINVITE信号のCall−idは、1f3e@xxx.comとは異なるとする。   Next, the telephone 3C transmits an INVITE signal to the distribution device 1 as in Step B3 of Comparative Example 2 (Step C3). At this time, the analysis unit 11 analyzes the INVITE signal from the telephone 3C and acquires a destination park number. In addition, the determination unit 13 can determine from the analysis result of the analysis unit 11 that the INVITE signal from the telephone 3C is a signal used for a process of realizing a call park incoming call operation. It is assumed that the Call-id of the INVITE signal transmitted by the telephone 3C is different from 1f3e@xxx.com.

よって、判定部13は、電話機3CからのINVITE信号に関する判定の結果を振り分け部14に出力する。また、判定部13は、判定の結果に応じて、DB15にアクセスし、電話機3CからのINVITE信号のToヘッダ内にあるパーク番号をキーにして、パーク済のCall−idの有無を確認する。本実施例の場合、Fromヘッダ(3A@xxx.com)と、Toヘッダ(3B@xxx.com)と、電話機3Aから電話機3B宛のCall−id(1f3e@xxx.com)と、コールパーク番号(101)との関連情報がDB15に存在するため、パーク済のCall−idは有る。そこで、振り分け部14は、電話機3CからのINVITE信号のCall−idを1f3e@xxx.comに差し替える。これにより、電話機3CからのINVITE信号の振り分け先は、NOTIFY信号を電話機3B,3Cに送信したSIPサーバ2aになる。また、振り分け部14は、電話機3CからのINVITE信号に付された振り分けキーを、関連情報に含まれる、Fromヘッダ(3A@xxx.com)と、Toヘッダ(3B@xxx.com)と、電話機3Aから電話機3B宛のCall−id(1f3e@xxx.com)とに基づく組み合わせとすることができる。   Therefore, determination section 13 outputs the result of the determination regarding the INVITE signal from telephone 3C to distribution section 14. Further, in accordance with the result of the determination, the determination unit 13 accesses the DB 15 and uses the park number in the To header of the INVITE signal from the telephone 3C as a key to check for the presence or absence of a parked Call-id. In the case of the present embodiment, a From header (3A@xxx.com), a To header (3B@xxx.com), a Call-id (1f3e@xxx.com) from the telephone 3A to the telephone 3B, and a call park number Since the information related to (101) exists in the DB 15, there is a parked Call-id. Therefore, the distribution unit 14 replaces the Call-id of the INVITE signal from the telephone 3C with 1f3e@xxx.com. Thus, the destination of the INVITE signal from the telephone 3C is the SIP server 2a that has transmitted the NOTIFY signal to the telephones 3B and 3C. Further, the distribution unit 14 transmits the distribution key attached to the INVITE signal from the telephone 3C to the From header (3A@xxx.com), the To header (3B@xxx.com), the telephone A combination based on the Call-id (1f3e@xxx.com) from 3A to the telephone 3B can be used.

振り分け部14は、電話機3CからのINVITE信号をSIPサーバ2aに振り分ける。振り分け装置1は、振り分け部14によるCall−idの差し替えが無ければ電話機3CからのINVITE信号をSIPサーバ2cに振り分けていた(図5中の破線矢印D1参照)。しかし、振り分け装置1は、振り分け部14によるCall−idの差し替えによって、電話機3CからのINVITE信号を、電話機3A,3B間の通話を元々処理していたSIPサーバ2aに送信することができる。その結果、SIPサーバ2aが、コールパークからの着信動作を完了させることができる。   The distribution unit 14 distributes the INVITE signal from the telephone 3C to the SIP server 2a. The distribution device 1 distributes the INVITE signal from the telephone 3C to the SIP server 2c if the call-id is not replaced by the distribution unit 14 (see a dashed arrow D1 in FIG. 5). However, the sorting device 1 can transmit the INVITE signal from the telephone 3C to the SIP server 2a that originally processed the call between the telephones 3A and 3B by replacing the Call-id by the sorting unit 14. As a result, the SIP server 2a can complete the incoming operation from the call park.

≪コールピック機能、保留転送機能≫
本実施形態のロジックは、上記のコールパーク機能だけでなく、代表着信時のコールピック機能や保留転送機能といった他のPBX機能にも適用することができる。コールピック機能も保留転送機能も、コールパーク機能と同様、やり取りされる複数種類の信号を同一のSIPサーバで処理する必要がある。しかし、通話確立前にやり取りされる信号群において、Fromヘッダと、Toヘッダと、Call−idとに基づく組み合わせが同一ではなく、振り分けキーが同じにならないため、N−ACT構成をとる分散システムの場合、同じSIPサーバに信号が振り分けられるとは限らない。
≪Call pick function, hold transfer function≫
The logic of the present embodiment can be applied not only to the above-described call park function but also to other PBX functions such as a call picking function at the time of representative reception and a hold transfer function. As with the call park function, both the call pick function and the hold transfer function need to process a plurality of types of exchanged signals with the same SIP server. However, in the signal group exchanged before the call is established, the combination based on the From header, the To header, and the Call-id is not the same, and the distribution key is not the same. In this case, the signal is not always distributed to the same SIP server.

本実施形態によれば、振り分け装置1が、コールピック機能や保留転送機能を実現する通話完了前の処理に用いられる信号を解析することで、当該機能の一連のトランザクションの処理を最初に担当したSIPサーバ(INVITE信号を処理したSIPサーバ:通話開始時の処理を担当したSIPサーバ)を特定することができる。その結果、振り分け装置1は、前述したCall−idの差し替えによって、Fromヘッダと、Toヘッダと、Call−idとの組み合わせが異なる通信を、特定のSIPサーバへ狙い撃つことができ、コールピック機能や保留転送機能を実現することができる。   According to the present embodiment, the distribution device 1 first handles a series of transactions of the function by analyzing the signal used for the process before the completion of the call for realizing the call pick function and the hold transfer function. It is possible to specify the SIP server (the SIP server that has processed the INVITE signal: the SIP server that is in charge of processing at the start of a call). As a result, the sorting device 1 can aim at a specific SIP server for communication in which the combination of the From header, the To header, and the Call-id is different by replacing the above-mentioned Call-id with the call pick function. Or a hold transfer function.

≪まとめ≫
本実施形態によれば、所定の電話交換機能を実現する通信確立前の処理に用いられる複数種類の信号に付された振り分けキーの値が異なっていても、信号のCall−idの差し替えによって、複数種類の信号を同じSIPサーバに送信することができる。
したがって、複数のSIPサーバから構成される分散システムにて、電話交換機能を実現することができる。
また、PBX機能をソフトウェアで実現するvPBXを無改造で分散システムに搭載することができ、開発コストを削減することができる。
≪Summary≫
According to the present embodiment, even if the values of the distribution keys assigned to a plurality of types of signals used in the process before establishing communication for realizing a predetermined telephone exchange function are different, by replacing the Call-id of the signal, A plurality of types of signals can be transmitted to the same SIP server.
Therefore, a telephone exchange function can be realized in a distributed system including a plurality of SIP servers.
Further, the vPBX that realizes the PBX function by software can be mounted without modification on the distributed system, and the development cost can be reduced.

なお、本発明は、上記した実施形態に限定されることなく、その趣旨を逸脱しない範囲で変更することができる。
例えば、分散システムは、N−ACT構成に限らず、STB/ACT構成(ACTのSIPサーバは2台以上存在)にも本発明を適用することができる。
Note that the present invention is not limited to the above-described embodiment, and can be modified without departing from the spirit thereof.
For example, the present invention can be applied not only to the N-ACT configuration in the distributed system but also to the STB / ACT configuration (there are two or more ACT SIP servers).

1 振り分け装置
2a〜2c SIPサーバ
3A〜3C 電話機
11 解析部
12 書き込み部
13 判定部
14 振り分け部
15 DB(データベース)
DESCRIPTION OF SYMBOLS 1 Distributing apparatus 2a-2c SIP server 3A-3C Telephone 11 Analysis part 12 Writing part 13 Judgment part 14 Distribution part 15 DB (database)

Claims (3)

信号に付された振り分けキーに応じて、分散システムを構成する複数のSIP(Session Initiation Protocol)サーバに前記信号を振り分ける振り分け装置であって、
前記信号を第1の信号として解析する解析部と、
前記解析の結果をデータベースに書き込む書き込み部と、
前記第1の信号が所定の電話交換機能を実現する処理に用いられる信号であるか否かを判定し、前記電話交換機能を実現する処理に用いられる信号である場合、前記データベースを参照して、前記第1の信号に係る通話で通話開始時に取得した第2の信号の識別子と、前記第1の信号の識別子とが異なるか否かを判定する判定部と、
異なる場合には、前記第1の信号の識別子を、前記第2の信号の識別子に差し替え、前記第2の信号が振り分けられたSIPサーバに前記第1の信号を振り分ける振り分け部と、を備える、
ことを特徴とする振り分け装置。
A distribution device that distributes the signal to a plurality of SIP (Session Initiation Protocol) servers that constitute a distributed system according to a distribution key assigned to the signal,
An analyzer for analyzing the signal as a first signal;
A writing unit that writes the result of the analysis to a database,
It is determined whether the first signal is a signal used for processing for realizing a predetermined telephone exchange function, and if the first signal is a signal used for processing for realizing the telephone exchange function, refer to the database. A determination unit that determines whether the identifier of the second signal acquired at the start of the call in the call related to the first signal and the identifier of the first signal are different,
If different, an identifier for the first signal is replaced with an identifier for the second signal, and a distribution unit that distributes the first signal to the SIP server to which the second signal is distributed,
A sorting device, characterized in that:
前記所定の電話交換機能は、コールピック機能、コールパーク機能、または、保留転送機能の何れかである、
ことを特徴とする請求項1に記載の振り分け装置。
The predetermined telephone exchange function is any of a call pick function, a call park function, or a hold transfer function,
The sorting device according to claim 1, wherein:
信号に付された振り分けキーに応じて、分散システムを構成する複数のSIPサーバに前記信号を振り分ける振り分け装置における振り分け方法であって、
前記振り分け装置が、
前記信号を第1の信号として解析する解析ステップと、
前記解析の結果をデータベースに書き込む書き込みステップと、
前記第1の信号が所定の電話交換機能を実現する処理に用いられる信号であるか否かを判定し、前記電話交換機能を実現する処理に用いられる信号である場合、前記データベースを参照して、前記第1の信号に係る通話で通話開始時に取得した第2の信号の識別子と、前記第1の信号の識別子とが異なるか否かを判定する判定ステップと、
異なる場合には、前記第1の信号の識別子を、前記第2の信号の識別子に差し替え、前記第2の信号が振り分けられたSIPサーバに前記第1の信号を振り分ける振り分けステップと、を実行する、
ことを特徴とする振り分け方法。
A distribution method in a distribution device that distributes the signal to a plurality of SIP servers configuring a distributed system according to a distribution key assigned to a signal,
The sorting device,
An analyzing step of analyzing the signal as a first signal;
A writing step of writing the result of the analysis to a database,
It is determined whether the first signal is a signal used for processing for realizing a predetermined telephone exchange function, and if the first signal is a signal used for processing for realizing the telephone exchange function, refer to the database. A determination step of determining whether an identifier of the second signal acquired at the start of the call in the call related to the first signal is different from an identifier of the first signal;
If different, the step of replacing the identifier of the first signal with the identifier of the second signal and performing the distribution step of distributing the first signal to the SIP server to which the second signal has been distributed is executed. ,
A sorting method characterized by the fact that:
JP2017068343A 2017-03-30 2017-03-30 Sorting device and sorting method Active JP6660337B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017068343A JP6660337B2 (en) 2017-03-30 2017-03-30 Sorting device and sorting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017068343A JP6660337B2 (en) 2017-03-30 2017-03-30 Sorting device and sorting method

Publications (2)

Publication Number Publication Date
JP2018170710A JP2018170710A (en) 2018-11-01
JP6660337B2 true JP6660337B2 (en) 2020-03-11

Family

ID=64019511

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017068343A Active JP6660337B2 (en) 2017-03-30 2017-03-30 Sorting device and sorting method

Country Status (1)

Country Link
JP (1) JP6660337B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11689587B2 (en) * 2021-01-19 2023-06-27 Oracle International Corporation Methods, systems, and computer readable media for optimized inter-session border controller (SBC) attended call transfer with re-use of transfer target session

Also Published As

Publication number Publication date
JP2018170710A (en) 2018-11-01

Similar Documents

Publication Publication Date Title
JP5169362B2 (en) Session information replication method, call control server for executing the method, and program for the method
CN102025718A (en) Sip endpoint enhancer
US8719434B2 (en) Agnostic peripheral control for media communication appliances
CN107566671B (en) Network voice communication method and system, storage medium and electronic equipment
CN112398845B (en) Data transmission method, data transmission device, data transmission system and electronic equipment
CN113162865A (en) Load balancing method, server and computer storage medium
US20200045091A1 (en) On demand in-band signaling for conferences
CN116233481A (en) Media stream transmission method, media server and communication system
CN105516176A (en) Call center system, communication connection method and device of call center system
WO2023011057A1 (en) Communication method and apparatus
CN114528203B (en) Voice response system testing method, device, electronic device and storage medium
US20070180079A1 (en) Method and system for peer-to-peer stream
JP6660337B2 (en) Sorting device and sorting method
US20170163809A1 (en) Method and Device for Recording Multimedia Data
CN117201376A (en) IPPBX call pressure test method, device and medium based on WebRTC
CN108989267A (en) Gray scale dissemination method, system, equipment and storage medium based on SIP
TW201826174A (en) Method of Bidding Online Services
JP2015091125A (en) Method of expanding application interface for future application
US20110276669A1 (en) Method and System for Peer-to-Peer Stream
US10686844B2 (en) Trusted group identification code
US10904301B2 (en) Conference system and method for handling conference connection thereof
CN108476265B (en) Computing system for agent management
KR102893604B1 (en) Method and system of providing email phone call based on web real time communication
CN101170602B (en) a media information processing method, communication system and user terminal
CN111726282B (en) Communication method and device of web application, electronic equipment and storage medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190308

TRDD Decision of grant or rejection written
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20200129

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20200204

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200207

R150 Certificate of patent or registration of utility model

Ref document number: 6660337

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350