JP2009171054A - Distributed call control type ip telephony system - Google Patents

Distributed call control type ip telephony system Download PDF

Info

Publication number
JP2009171054A
JP2009171054A JP2008004887A JP2008004887A JP2009171054A JP 2009171054 A JP2009171054 A JP 2009171054A JP 2008004887 A JP2008004887 A JP 2008004887A JP 2008004887 A JP2008004887 A JP 2008004887A JP 2009171054 A JP2009171054 A JP 2009171054A
Authority
JP
Japan
Prior art keywords
terminal
call control
message
processing
telephone
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2008004887A
Other languages
Japanese (ja)
Other versions
JP5007450B2 (en
JP2009171054A5 (en
Inventor
Masaki Sasaki
昌樹 佐々木
Takashi Imai
崇 今井
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.)
Nakayo Telecommunications Inc
Original Assignee
Nakayo Telecommunications Inc
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 Nakayo Telecommunications Inc filed Critical Nakayo Telecommunications Inc
Priority to JP2008004887A priority Critical patent/JP5007450B2/en
Publication of JP2009171054A publication Critical patent/JP2009171054A/en
Publication of JP2009171054A5 publication Critical patent/JP2009171054A5/ja
Application granted granted Critical
Publication of JP5007450B2 publication Critical patent/JP5007450B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a technology capable of actualizing the call control server function using a plurality of IP telephone terminals. <P>SOLUTION: The plurality of telephone terminals 10 are connected to a LAN (Local Area Network) 70, in which a terminal 10-1 is in charge of general management and terminates a call to an external network and each of terminals other than the terminal 10-1 has a processing function according to a SIP (Session Initiation Protocol) message in call control server processing, respectively. In addition, the terminal 10-1 manages the content of processing by and the status of the terminal in its duty other than the terminal 10-1. If the terminal 10-1 receives a call origination to an external network 60 or a call termination from the external network 60, the terminal 10-1 distributes its processing according to a type of the SIP message. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、呼制装置を必要としないIP電話システムに関する。   The present invention relates to an IP telephone system that does not require a call control device.

従来のIP電話システムは、呼制御を管理する呼制御サーバ装置と前記呼制御サーバに帰属する複数の電話端末から構成される。   A conventional IP telephone system includes a call control server device that manages call control and a plurality of telephone terminals belonging to the call control server.

例えば特許文献1
特開2007−219637号公報
For example, Patent Document 1
JP 2007-219637 A

本発明の課題は呼制御サーバ装置を必要としないIP電話システムを提供することにある。   An object of the present invention is to provide an IP telephone system that does not require a call control server device.

上記課題を解決するために、本発明では
呼制御を統括する統括IP電話端末と、前記統括IP電話端末の指示に従って呼制御の一部を実行する複数の分散呼制御IP電話端末を含むIP電話システムであって、
前記統括IP電話端末および分散呼制御IP電話端末のそれぞれは、
当該IP電話システムの内線IP電話端末として自端末を制御する内線IP電話端末制御手段と、他のIP電話端末と共有する情報を蓄積する共有情報蓄積手段と、他のIP電話端末の前記共有情報蓄積手段から所定の情報を読出す共有情報読出し手段を有し、
前記統括IP電話端末は、
WANまたはLANを介して呼制御メッセージを受信する呼制御メッセージ受信手段と、前記呼制御メッセージ受信手段が受信した呼制御メッセージをいずれかのIP電話端末の共有情報蓄積手段の所定のエリアに書込む呼制御メッセージ書込み手段と、呼制御メッセージの種別を識別して当該呼制御メッセージの処理を分担する所定の分散呼制御IP電話端末へ当該呼制御メッセージの処理を要求する呼制御メッセージ処理要求手段と、前記分散呼制御IP電話端末が生成した呼制御メッセージをWANまたはLANを介して送信する呼制御メッセージ送信手段を有し、
前記分散呼制御IP電話端末のそれぞれは、
分担すべき呼制御メッセージの処理内容が予め定められており、前記統括IP電話端末から当該呼制御メッセージの処理を要求された場合に、前記統括IP電話端末が書込んだ呼制御メッセージを当該共有情報蓄積手段から読込んで所定の処理を実行する呼制御メッセージ処理手段と、当該呼制御メッセージに対する応答メッセージを生成する応答メッセージ生成手段を有する。
In order to solve the above problems, the present invention provides an IP telephone including a central IP telephone terminal that controls call control, and a plurality of distributed call control IP telephone terminals that execute part of call control in accordance with instructions from the central IP telephone terminal A system,
Each of the general IP telephone terminal and the distributed call control IP telephone terminal
Extension IP telephone terminal control means for controlling the terminal as an extension IP telephone terminal of the IP telephone system, shared information storage means for storing information shared with other IP telephone terminals, and the shared information of other IP telephone terminals Having shared information reading means for reading predetermined information from the storage means;
The general IP telephone terminal is
Call control message receiving means for receiving a call control message via WAN or LAN, and writing the call control message received by the call control message receiving means into a predetermined area of the shared information storage means of any IP telephone terminal Call control message writing means; call control message processing request means for requesting processing of the call control message to a predetermined distributed call control IP telephone terminal that identifies the type of call control message and shares the processing of the call control message; And a call control message transmitting means for transmitting a call control message generated by the distributed call control IP telephone terminal via WAN or LAN,
Each of the distributed call control IP telephone terminals
The processing contents of the call control message to be shared are determined in advance, and the call control message written by the central IP telephone terminal is shared when the central IP telephone terminal requests processing of the call control message. Call control message processing means for reading from the information storage means and executing predetermined processing, and response message generation means for generating a response message for the call control message.

本発明によれば、呼制御サーバ装置を必要としないので、呼制御サーバ装置分のコストや設置スペースを削減できる利点がある。   According to the present invention, since no call control server device is required, there is an advantage that the cost and installation space for the call control server device can be reduced.

以下に本発明の実施の形態について、図面を参照しながら説明する。なお、実質同一部位には同じ参照番号を付与し、説明は繰り返さない。   Embodiments of the present invention will be described below with reference to the drawings. In addition, the same reference number is given to substantially the same site | part, and description is not repeated.

図1を用いて本発明のシステム構成図について説明する。   A system configuration diagram of the present invention will be described with reference to FIG.

各電話端末10は通常の電話機能としてのSIP(Section Initiation Protcol)機能の他に、予め割り振られた呼制御サーバ装置(以下、SIPサーバ)の一部を処理する機能を有する。そしてこの電話端末10の複数台が連携してSIPサーバ機能を実現し、内線電話システムとして動作する。   Each telephone terminal 10 has a function of processing a part of a call control server device (hereinafter, SIP server) allocated in advance, in addition to a SIP (Section Initiation Protocol) function as a normal telephone function. A plurality of telephone terminals 10 cooperate to realize a SIP server function and operate as an extension telephone system.

本発明の電話端末10−1は、各担当プログラムのうち統括担当プログラムを具備し、他の担当プログラムを有する電話端末へ、呼制御処理の割り振りを行う。具体的に電話端末10−1は、電話端末10−2〜10−Nに対して、それぞれの担当プログラムの役割に応じてSIPサーバが行うSIPメッセージ処理を要求し、要求を受けた電話端末10は当該担当プログラムの処理を実行する。   The telephone terminal 10-1 according to the present invention includes a general responsible program among the responsible programs, and allocates call control processing to telephone terminals having other responsible programs. Specifically, the telephone terminal 10-1 requests the telephone terminals 10-2 to 10-N to perform SIP message processing performed by the SIP server in accordance with the role of the respective responsible program. Executes the processing of the program in charge.

また、相手電話端末20はSIPサーバとして電話端末10−1を登録し、外部ネットワーク60からのSIPメッセージは必ず電話端末10−1を介して電話端末10に送信される。つまり、電話端末10−1は、外部ネットワーク60からはSIPサーバと認識され、他の電話端末10から外部ネットワーク60への送信も必ず電話端末10−1を介して送信する。以降の説明では電話端末10−1を統括担当端末10−1と呼称する。   In addition, the partner telephone terminal 20 registers the telephone terminal 10-1 as a SIP server, and a SIP message from the external network 60 is always transmitted to the telephone terminal 10 via the telephone terminal 10-1. That is, the telephone terminal 10-1 is recognized as a SIP server from the external network 60, and transmissions from other telephone terminals 10 to the external network 60 are always transmitted via the telephone terminal 10-1. In the following description, the telephone terminal 10-1 is referred to as a general charge terminal 10-1.

電話端末10−2は、各担当プログラムのうちのINVITE担当プログラムを具備し、統括担当端末10−1からの要求によって、SIPサーバがINVITEを受け取った場合の処理を行う。以降の説明では電話端末10−2が呼制御処理に関しての処理を行う場合、INVITE担当端末10−2と呼称する。   The telephone terminal 10-2 includes an INVITE responsible program among the responsible programs, and performs processing when the SIP server receives INVITE in response to a request from the general responsible terminal 10-1. In the following description, when the telephone terminal 10-2 performs a process related to the call control process, it is referred to as an INVITE terminal 10-2.

電話端末10−3は、各担当プログラムのうちの180Ringing担当プログラムを具備し、統括担当端末10−1からの要求によって、SIPサーバが180Ringingを受け取った場合の処理を行う。以降の説明では電話端末10−3が呼制御処理に関しての処理を行う場合、180Ringing担当端末10−3と呼称する。   The telephone terminal 10-3 has a 180 Ringing charge program among the responsible programs, and performs processing when the SIP server receives 180 Ringing in response to a request from the general charge terminal 10-1. In the following description, when the telephone terminal 10-3 performs a process related to the call control process, it is referred to as a 180 Ringing terminal 10-3.

電話端末10−4は、各担当プログラムのうちの200OK担当プログラムを具備し、統括担当端末10−1からの要求によって、SIPサーバが200OKを受け取った場合の処理を行う。以降の説明では電話端末10−4が呼制御処理に関しての処理を行う場合、200OK担当端末10−4と呼称する。   The telephone terminal 10-4 has a 200OK program in charge of each of the programs in charge, and performs processing when the SIP server receives 200OK in response to a request from the supervisor terminal 10-1. In the following description, when the telephone terminal 10-4 performs a process related to the call control process, it is referred to as a 200OK terminal 10-4.

電話端末10−5は、各担当プログラムのうちのACK担当プログラムを具備し、統括担当端末10−1からの要求によって、SIPサーバがACKを受け取った場合の処理を行う。以降の説明では電話端末10−2が呼制御処理に関しての処理を行う場合、ACK担当端末10−5と呼称する。   The telephone terminal 10-5 has an ACK charge program among the responsible programs, and performs processing when the SIP server receives ACK in response to a request from the general charge terminal 10-1. In the following description, when the telephone terminal 10-2 performs a process related to the call control process, it is referred to as an ACK terminal 10-5.

同様に電話端末10−Nは、○○担当プログラムを具備し、SIPメッセージに応じた処理を行う。   Similarly, the telephone terminal 10-N has a program in charge of XX and performs processing according to the SIP message.

次に図2を用いて、電話端末10−1〜10−Nの各担当プログラムの動作についてさらに詳しく説明する。   Next, the operation of each responsible program of the telephone terminals 10-1 to 10-N will be described in more detail with reference to FIG.

図2の役割分担表のフィールドは、各電話端末10の電話端末IDと、各担当プログラムの名称、各担当プログラムの処理を示す。   The fields of the role assignment table in FIG. 2 indicate the telephone terminal ID of each telephone terminal 10, the name of each responsible program, and the processing of each responsible program.

レコード1081の統括担当端末10−1は、相手電話端末20および外部ネットワーク60および電話端末10からは仮想のSIPサーバとして動作し、SIPメッセージのやりとりは必ず統括担当端末10−1を介して送信される。   The supervising terminal 10-1 of the record 1081 operates as a virtual SIP server from the counterpart telephone terminal 20, the external network 60, and the telephone terminal 10, and the exchange of SIP messages is always transmitted via the supervising terminal 10-1. The

SIPメッセージを受信すると、SIPメッセージ毎に処理が割り当てられた統括担当端末以外の担当端末を検索して、該当する担当端末に対し、SIPメッセージ処理要求(呼制御メッセージ処理要求)を送信し、SIPメッセージの処理を要求する。各担当端末の処理が完了すると、SIPメッセージ処理完了通知と共に処理結果の通知を受け、当該担当端末から受け取った処理結果にSIPメッセージがある場合には、該当する端末に対してこれを送信する。   When the SIP message is received, a responsible terminal other than the supervisory responsible terminal to which processing is assigned for each SIP message is searched, and a SIP message processing request (call control message processing request) is transmitted to the corresponding responsible terminal. Request message processing. When the processing of each responsible terminal is completed, the notification of the processing result is received together with the SIP message processing completion notification. If there is a SIP message in the processing result received from the responsible terminal, it is transmitted to the corresponding terminal.

ここで、SIPメッセージ処理完了通知とは、統括担当端末10−1以外の担当端末が自担当呼制御処理を実行し、処理を完了したことを通知するためのIPパケットである。また、統括担当端末10−1以外の担当端末は自担当呼制御処理時に処理結果として従来SIPサーバがSIPメッセージを受信して次に送信するSIPメッセージを生成するが、これを各担当端末にて生成し、SIPメッセージ処理完了通知には生成したSIPメッセージを含めて送信される。   Here, the SIP message processing completion notification is an IP packet for notifying that the terminal in charge other than the supervisor terminal 10-1 has executed its own call control process and has completed the process. In addition, the responsible terminals other than the general responsible terminal 10-1 generate a SIP message that the conventional SIP server receives and then transmits the SIP message as a processing result at the time of its own call control processing. The SIP message processing completion notification is generated and transmitted including the generated SIP message.

レコード1082のINVITE担当端末10−2は、統括担当端末10−1から、SIPメッセージ処理要求(INVITE処理要求)を受信すると、統括担当端末10−1のSIPメッセージを解析して、送信先電話端末を検索する。そして検索できた場合には、送信先電話端末へのINVITEと相手電話端末20への100Tryingを生成し、検索できなかった場合には、404Not
Foundを生成し、統括担当端末10−1に対して、処理が完了したことを通知するSIPメッセージ処理完了通知として送信する。
When receiving the SIP message processing request (INVITE processing request) from the overall responsible terminal 10-1, the INVITE responsible terminal 10-2 of the record 1082 analyzes the SIP message of the overall responsible terminal 10-1 and transmits the destination telephone terminal. Search for. If the search is successful, an INVITE to the destination telephone terminal and 100 Trying to the other telephone terminal 20 are generated.
Found is generated and transmitted to the overall terminal 10-1 as a SIP message processing completion notification for notifying that the processing has been completed.

レコード1083の180Ringing担当端末10−3は、統括担当端末10−1から、SIPメッセージ処理要求(180Ringing処理要求)を受信すると、統括担当端末10−1のSIPメッセージを解析して、送信先電話端末10への180Ringingを生成し、統括担当端末10−1にSIPメッセージ処理完了通知として送信する。   Upon receiving the SIP message processing request (180 Ringing processing request) from the overall responsible terminal 10-1, the 180 Ringing responsible terminal 10-3 of the record 1083 analyzes the SIP message of the overall responsible terminal 10-1 and transmits it to the destination telephone terminal. 180 Ringing to 10 is generated and transmitted to the supervisor terminal 10-1 as a SIP message processing completion notification.

レコード1084の200OK担当端末10−4は、統括担当端末10−1から、SIPメッセージ処理要求を受信すると、統括担当端末10−1のSIPメッセージを解析して、送信先電話端末10への200OKを生成し、送信先電話端末10への180Ringingを生成し、統括担当端末10−1にSIPメッセージ処理完了通知として送信する。   When the 200OK terminal 10-4 in the record 1084 receives the SIP message processing request from the supervisor terminal 10-1, the 200OK terminal 10-1 analyzes the SIP message of the supervisor terminal 10-1 and performs 200OK to the destination telephone terminal 10. And 180 Ringing to the destination telephone terminal 10 is generated and transmitted to the overall terminal 10-1 as a SIP message processing completion notification.

レコード1085のACK担当端末10−5は、統括担当端末10−1から、SIPメッセージ処理要求を受信すると、統括担当端末10−1のSIPメッセージを解析して、送信先電話端末10へのACKを生成し、統括担当端末10−1にSIPメッセージ処理完了通知として送信する。   When the ACK terminal 10-5 of the record 1085 receives the SIP message processing request from the central terminal 10-1, the ACK terminal 10-5 analyzes the SIP message of the central terminal 10-1 and sends an ACK to the destination telephone terminal 10. It is generated and transmitted to the supervisor terminal 10-1 as a SIP message processing completion notification.

レコード1086の○○担当端末10−Nは、電話端末10−2〜10−5と同様にSIPメッセージに応じた処理を行い、SIPメッセージ処理完了通知を送信する。   The XX responsible terminal 10-N of the record 1086 performs processing according to the SIP message in the same manner as the telephone terminals 10-2 to 10-5, and transmits a SIP message processing completion notification.

尚、各SIPメッセージ処理を要求するまたは、SIPメッセージを送信する場合に、本発明の特徴の一つであるライト/リード処理を用いたメモリ制御方法を用いる。   When each SIP message processing is requested or a SIP message is transmitted, a memory control method using write / read processing which is one of the features of the present invention is used.

次に図3のメモリ配置図を用いて、ライト/リード処理について説明する。   Next, write / read processing will be described using the memory layout diagram of FIG.

電話端末10のメモリ空間には、統括担当プログラム等、担当プログラム1001及びローカルデータ1002、グローバルデータ1003、端末機能プログラム1005、端末機能データ1006がそれぞれ展開される。   In the memory space of the telephone terminal 10, a responsible program 1001, a local data 1002, a global data 1003, a terminal function program 1005, and a terminal function data 1006 are developed.

尚、図3のメモリアドレスは一例であり、プログラムサイズ等に応じて設定すればよい。   The memory address in FIG. 3 is an example, and may be set according to the program size and the like.

ここで、担当プログラム1001とは、図2で説明したSIPサーバがSIPメッセージ毎に割り振られた担当プログラムであり、電話端末10−1には統括担当プログラム1001−1が、電話端末10−2にはINVITE担当プログラム1001−2が、電話端末10−3には180Ringing担当プログラム1001−3が、電話端末10−nには○○担当プログラムがそれぞれ展開されている(図示せず)。   Here, the responsible program 1001 is a responsible program in which the SIP server described in FIG. 2 is allocated for each SIP message, and the overall responsible program 1001-1 is assigned to the telephone terminal 10-2. INVITE responsible program 1001-2, 180Ringing responsible program 1001-3 is developed in telephone terminal 10-3, and XX responsible program is expanded in telephone terminal 10-n (not shown).

ローカルデータ1002とは、各担当プログラムの処理において変数や一時データの保存等、自担当プログラム内で使用するスタティックなデータを示す。   The local data 1002 indicates static data used in its own program such as storage of variables and temporary data in the processing of each program.

グローバルデータ1003とは、各担当プログラムの処理においてSIPメッセージや、検索結果、処理結果等の他の担当端末と処理を共有するデータのことを示す。グローバルデータ1003は、さらに処理毎に複数のメッセージボックス1004を持ち、メッセージボックスのそれぞれには、メッセージボックス番号が割り振られている。また、各担当端末10はこの端末間で展開されているメッセージボックス1004の使用状態を常に監視している。   The global data 1003 indicates data that shares processing with other responsible terminals such as SIP messages, search results, and processing results in the processing of each responsible program. The global data 1003 further includes a plurality of message boxes 1004 for each process, and a message box number is assigned to each message box. In addition, each responsible terminal 10 constantly monitors the usage state of the message box 1004 developed between the terminals.

そして各担当端末10は、自担当プログラムの処理が完了またはライト/リード処理がある場合に、他の担当端末が使用していないメッセージボックスを参照し、当該データと共にライト/リード処理要求を送信する。また受信したライト/リード処理要求がメッセージボックス1004の容量を超えるデータであった場合には、2つ以上のメッセージボックス間で展開する。   When each responsible terminal 10 completes processing of its own responsible program or has a write / read process, each responsible terminal 10 refers to a message box not used by another responsible terminal and transmits a write / read process request together with the data. . If the received write / read processing request is data exceeding the capacity of the message box 1004, it is expanded between two or more message boxes.

次に図4を用いて、本発明の電話端末10の機能ブロックについて説明する。   Next, functional blocks of the telephone terminal 10 according to the present invention will be described with reference to FIG.

電話端末10は、外部接続IF部101と、通信制御部102と、主制御部103と、担当呼制御処理部104と、ライト/リード処理部105と、端末機能処理部106と、マンマシンIF部107と、状態管理部108と、記憶部109とから構成される。   The telephone terminal 10 includes an external connection IF unit 101, a communication control unit 102, a main control unit 103, a responsible call control processing unit 104, a write / read processing unit 105, a terminal function processing unit 106, and a man-machine IF. Unit 107, state management unit 108, and storage unit 109.

外部接続IF部101は、LAN70よりIPパケットの信号を受けとると通信制御部102に渡し、通信制御部102からIPパケットの信号を受け取るとLAN70に送出する外部接続用インターフェースである。   The external connection IF unit 101 is an external connection interface that sends an IP packet signal from the LAN 70 to the communication control unit 102 and sends an IP packet signal from the communication control unit 102 to the LAN 70.

通信制御部102は、外部接続IF部101を介して、LAN70との通信一般を制御し、主制御部103から渡されるIPパケットを外部接続IF部101に渡し、外部接続IF部101から渡されるIPパケットを主制御部103に渡す。   The communication control unit 102 controls general communication with the LAN 70 via the external connection IF unit 101, passes an IP packet passed from the main control unit 103 to the external connection IF unit 101, and is passed from the external connection IF unit 101. The IP packet is passed to the main control unit 103.

主制御部103は、通信制御部102、担当呼制御処理部104、ライト/リード処理部105、状態管理部108、端末機能処理部106、記憶部109と接続し、接続した各ブロックと連携して自電話端末10の処理全般を行う。   The main control unit 103 is connected to the communication control unit 102, the assigned call control processing unit 104, the write / read processing unit 105, the state management unit 108, the terminal function processing unit 106, and the storage unit 109, and cooperates with each connected block. The overall processing of the own telephone terminal 10 is performed.

担当呼制御処理部104は、主制御部103と接続し、図2で説明した各担当端末の処理のうち、自担当端末の担当呼制御処理を行うブロックである。   The assigned call control processing unit 104 is connected to the main control unit 103, and is a block that performs assigned call control processing of the own assigned terminal among the processes of each assigned terminal described in FIG.

自端末が統括担当端末であった場合、主制御部103、通信制御部102と連携して外部ネットワーク60またはLAN70のSIPメッセージを検出する。そして検出したSIPメッセージをローカルデータメモリ部115に記憶し、ライト/リード処理部105に対して、グローバルデータ1003のライト処理要求の送信を指示する。   When the own terminal is the supervisor terminal, the SIP message of the external network 60 or the LAN 70 is detected in cooperation with the main control unit 103 and the communication control unit 102. Then, the detected SIP message is stored in the local data memory unit 115 and the write / read processing unit 105 is instructed to transmit a write processing request for the global data 1003.

また、ライト/リード処理部105からライト処理要求の応答としてメッセージボックス番号を受けると、ローカルデータメモリ部115に記憶されたSIPメッセージからSIPメッセージの種類を抽出し、抽出したSIPメッセージの種類をキーとして役割分担テーブルから、分散処理の要求先の担当端末のIPアドレスを特定する。   When a message box number is received as a response to the write processing request from the write / read processing unit 105, the SIP message type is extracted from the SIP message stored in the local data memory unit 115, and the extracted SIP message type is set as the key. From the role assignment table, the IP address of the terminal in charge of the distributed processing request destination is specified.

ここで役割分担テーブルとは、図示しないが図2で説明した役割分担表の電話端末IDのフィールドと担務のフィールド及び各電話端末のIPアドレスを電話端末IDのレコード毎に保存したテーブルを示す。   Here, the role assignment table is a table in which the telephone terminal ID field, the duty field, and the IP address of each telephone terminal of the role assignment table described in FIG.

そして、要求先の担当端末に対して、メッセージボックス番号を含むSIPメッセージ処理要求を生成し、主制御部103、通信制御部102と連携して要求先の担当端末に対してこれを送信する。   Then, an SIP message processing request including a message box number is generated for the requesting responsible terminal, and is transmitted to the requesting responsible terminal in cooperation with the main control unit 103 and the communication control unit 102.

また、要求先の担当端末から、SIPメッセージ処理要求の応答としてSIPメッセージ処理完了通知を受信すると、SIPメッセージ処理完了通知に含まれるSIPメッセージを抽出し、自端末のSIPメッセージとしてこれを送信する。   When a SIP message processing completion notification is received as a response to the SIP message processing request from the requesting terminal in charge, the SIP message included in the SIP message processing completion notification is extracted and transmitted as the SIP message of the own terminal.

自端末が統括担当端末10−1以外の担当端末であった場合は、主制御部103、通信制御部102と連携して統括担当玉津10−1からのSIPメッセージ処理要求を検出する。そして検出したSIPメッセージ処理要求をローカルデータメモリ部115に記憶し、SIPメッセージ処理要求に含まれるメッセージボックス番号を抽出して、ライト/リード処理部105に対して、グローバルデータ1003の当該メッセージボックス番号のリード処理要求を送信する。   When the own terminal is a terminal in charge other than the general charge terminal 10-1, the SIP message processing request from the general charge Tamatsu 10-1 is detected in cooperation with the main control unit 103 and the communication control unit 102. The detected SIP message processing request is stored in the local data memory unit 115, the message box number included in the SIP message processing request is extracted, and the message box number of the global data 1003 is sent to the write / read processing unit 105. Send a read processing request.

次に、ライト/リード処理部105からリード処理要求の応答としてリードしたデータを受けとると、リードしたデータをローカルデータ部115に記憶する。そしてプログラムメモリ部113の自担当プログラムの処理を開始する。   Next, when the read data is received from the write / read processing unit 105 as a response to the read processing request, the read data is stored in the local data unit 115. Then, processing of the program in charge in the program memory unit 113 is started.

ここで各担当プログラムの処理とは、一般的なSIPメッセージに係る処理であり、説明を省略する。尚、自担当プログラムの処理中にグローバルデータ1003のライト/リード制御が発生した場合には、同様にライト/リード処理要求を送信し、結果をローカルデータメモリ部115に記憶して処理を続ける。   Here, the process of each responsible program is a process related to a general SIP message, and a description thereof will be omitted. If write / read control of global data 1003 occurs during the processing of its own program, a write / read processing request is similarly transmitted, the result is stored in the local data memory unit 115, and the processing is continued.

自担当プログラムの処理が完了すると、自端末が統括担当端末10−1以外の担当端末は処理結果として送信するSIPメッセージを生成する。そして主制御部103、通信制御部102と連携して、統括担当端末10−1に対し、生成したSIPメッセージを含むSIPメッセージ処理完了通知を送信する。   When the processing of the self-responsible program is completed, the self-terminal generates a SIP message to be transmitted as a processing result by the terminal in charge other than the supervisory terminal 10-1. Then, in cooperation with the main control unit 103 and the communication control unit 102, a SIP message processing completion notification including the generated SIP message is transmitted to the overall terminal 10-1.

ライト/リード処理部105は、主制御部103に接続し、図3で説明したグローバルデータのメッセージボックスのライト/リード処理及びライト/リード処理要求を生成するブロックであり、主制御部103、通信制御部102と連携してライト/リード処理要求を検出すると、メモリボックス番号を抽出し、抽出したメモリボックス番号をキーにメッセージボックス管理部114に記憶されるメッセージボックスアドレステーブルの該当するメモリアドレスを抽出し、ライト/リード処理を行う。   The write / read processing unit 105 is a block that is connected to the main control unit 103 and generates the global data message box write / read processing and write / read processing request described with reference to FIG. When a write / read processing request is detected in cooperation with the control unit 102, the memory box number is extracted, and the corresponding memory address in the message box address table stored in the message box management unit 114 is extracted using the extracted memory box number as a key. Extract and perform write / read processing.

ここで、メッセージボックスアドレステーブルとはメッセージボックス管理部114に記憶され、メモリボックス番号と各端末のメモリアドレスの対応テーブルである。   Here, the message box address table is a correspondence table of the memory box number and the memory address of each terminal, which is stored in the message box management unit 114.

リード処理要求を受信した場合、リード処理要求にふくまれるメッセージボックス番号をキーに、メッセージボックスアドレステーブルから該当するメモリアドレスを抽出し、抽出したメモリアドレスのデータをリードデータとして読み出す。そして、主制御部103、通信制御部102と連携して、リードデータを含むリード処理完了通知を、リード処理要求を送信した担当端末に送信する。   When a read processing request is received, the corresponding memory address is extracted from the message box address table using the message box number included in the read processing request as a key, and the data at the extracted memory address is read as read data. Then, in cooperation with the main control unit 103 and the communication control unit 102, a read processing completion notification including read data is transmitted to the terminal in charge who has transmitted the read processing request.

ライト処理要求を受信した場合、ライト処理要求に含まれるライトデータとメッセージボックス番号を抽出し、抽出したメッセージボックス番号をキーに、メッセージボックス管理テーブルから該当するメモリアドレスを抽出し、該当するメモリアドレスにライトデータを書き込む。そして、主制御部103、通信制御部102と連携してライト処理要求を送信した担当端末にライト処理が完了したことをライト処理完了通知として送信する。   When a write process request is received, the write data and message box number included in the write process request are extracted, and the corresponding memory address is extracted from the message box management table using the extracted message box number as a key. Write data to. Then, in cooperation with the main control unit 103 and the communication control unit 102, the completion of the write process is transmitted as a write process completion notification to the terminal in charge that has transmitted the write process request.

また、主制御部103、通信制御部102と連携してライト/リード処理完了通知を検出すると、リード処理用完了通知であった場合、リード処理用完了通知に含まれるリードデータを担当呼制御処理部104に渡し、ライト処理完了通知であった場合、担当呼制御処理部104に渡す。   When the write / read processing completion notification is detected in cooperation with the main control unit 103 and the communication control unit 102, if the read processing completion notification is detected, the read data included in the read processing completion notification is handled by the assigned call control processing. If it is a write processing completion notification, it is passed to the assigned call control processing unit 104.

さらに、担当呼制御処理部104からライト/リード処理要求の送信指示を受けると、のメッセージボックス管理テーブルから使用していないメッセージボックス番号を検索する。   Further, when a transmission instruction for a write / read processing request is received from the assigned call control processing unit 104, the unused message box number is searched from the message box management table.

ここでメッセージ管理テーブルとは、グローバルデータ1003に展開されているメッセージボックス番号と、使用状態を関連付けたテーブルであり、さらにメッセージボックス番号のみメモリアドレスを、ライト/リード処理が行われる毎にテーブルを更新する。   Here, the message management table is a table in which the message box number expanded in the global data 1003 is associated with the use state. Further, only the message box number is assigned a memory address, and the table is stored each time write / read processing is performed. Update.

端末機能処理部106は、主制御部103、マンマシンIF部107に接続し、端末としての電話機能の呼処理や図示しないダイヤルキー、ハンドセット、スピーカ、LCD等表示機器等入出力デバイスの制御全般を行う。   The terminal function processing unit 106 is connected to the main control unit 103 and the man-machine IF unit 107, and performs general phone call function processing as a terminal and control of input / output devices such as dial keys, handsets, speakers, LCDs and other display devices (not shown). I do.

マンマシンIF部107は端末機能処理部106に接続され、図示しないダイヤルキー、ハンドセット、スピーカ、LCD等表示機器等入出力デバイスを有し、入力デバイスからの情報をデジタル信号として端末機能処理部106に渡し、端末機能処理部106から送られてきたデジタル信号の情報を出力デバイスにて表示する。   The man-machine IF unit 107 is connected to the terminal function processing unit 106 and includes input / output devices such as dial keys, handsets, speakers, LCDs and the like (not shown), and the terminal function processing unit 106 uses information from the input device as a digital signal. The digital signal information sent from the terminal function processing unit 106 is displayed on the output device.

状態管理部108は、主制御部103に接続され、自端末10が統括担当端末であった場合に、図示しない役割分担テーブルを保存し、主制御部103の指示に応じてSIPメッセージ担当端末を参照する記憶部である。尚、自端末10がSIPメッセージ担当端末であった場合は、状態管理部108は動作しない。   The state management unit 108 is connected to the main control unit 103 and saves a role assignment table (not shown) when the own terminal 10 is the overall charge terminal, and changes the SIP message charge terminal according to an instruction from the main control unit 103. A storage unit to be referred to. If the terminal 10 is a SIP message terminal, the state management unit 108 does not operate.

記憶部109は、主制御部103及び端末機能処理部106と接続し、各ブロックからの指示に従いデータを参照するメモリ記憶部である。また、記憶部109は、担当呼制御メモリ部110、端末機能メモリ部111から構成される。   The storage unit 109 is a memory storage unit that is connected to the main control unit 103 and the terminal function processing unit 106 and refers to data according to an instruction from each block. In addition, the storage unit 109 includes a call control memory unit 110 and a terminal function memory unit 111.

尚、本実施例では説明を分かりやすくするために、状態管理部108と記憶部109を分けて説明しているが状態管理部108は記憶部109内に含まれていてもよい。   In the present embodiment, the state management unit 108 and the storage unit 109 are described separately for easy understanding, but the state management unit 108 may be included in the storage unit 109.

担当呼制御メモリ部110は、図2に示した役割分担に係る記憶部109の担当プログラムに関する記憶部であり、グローバルデータメモリ部112、プログラムメモリ部113、メッセージボックス管理部114、ローカルデータメモリ部115から構成され、各電話端末に分散される担当呼制御処理に利用される記憶部である。   The assigned call control memory unit 110 is a storage unit related to the assigned program of the storage unit 109 related to the role sharing shown in FIG. 2, and includes a global data memory unit 112, a program memory unit 113, a message box management unit 114, and a local data memory unit. 115 is a storage unit used for assigned call control processing that is distributed to each telephone terminal.

グローバルデータメモリ部112は図3で説明したグローバルデータが記憶されるメモリ領域であり、メッセージボックスのデータやSIPメッセージなどのデータを記憶する。   The global data memory unit 112 is a memory area in which the global data described in FIG. 3 is stored, and stores data such as message box data and SIP messages.

プログラムメモリ部113は図3で説明したプログラムデータが記憶されるメモリ領域である。   The program memory unit 113 is a memory area for storing the program data described with reference to FIG.

メッセージボックス管理部114は、メッセージボックス管理テーブルとメッセージボックスアドレステーブルを記憶するメモリ領域である。   The message box management unit 114 is a memory area that stores a message box management table and a message box address table.

ローカルデータメモリ部115は、図3で説明したローカルデータが記憶されるメモリ領域である。   The local data memory unit 115 is a memory area in which the local data described with reference to FIG. 3 is stored.

端末機能メモリ部111は端末機能に関する記憶部であり、端末機能プログラムメモリ部116、端末機能データメモリ部117とから構成される。   The terminal function memory unit 111 is a storage unit related to a terminal function, and includes a terminal function program memory unit 116 and a terminal function data memory unit 117.

端末機能プログラムメモリ部116は、図3で説明した端末機能プログラムが記憶されるメモリ領域であり、電話端末として動作するプログラムを記憶する。   The terminal function program memory unit 116 is a memory area in which the terminal function program described with reference to FIG. 3 is stored, and stores a program that operates as a telephone terminal.

端末機能データメモリ部117は、図3で説明した端末機能データが記憶されるメモリ領域であり、電話端末として動作するための設定データ等を記憶する。   The terminal function data memory unit 117 is a memory area in which the terminal function data described with reference to FIG. 3 is stored, and stores setting data and the like for operating as a telephone terminal.

次に図5を用いて、電話端末10の処理フローを説明する。本フローは予め担当プログラムが割り振られた複数の電話端末10の電源が投入されたが電話システムを構築した状態から開始される。   Next, the processing flow of the telephone terminal 10 will be described with reference to FIG. This flow starts from a state in which a plurality of telephone terminals 10 to which a program in charge is assigned are turned on but a telephone system is constructed.

先ず、マンマシンIF部107にキー操作またはオンフック操作があったか否かを判断する(S1)。ここでキー操作またはオンフック操作があった場合(S1:Yes)、電話端末10の端末機能処理部106は操作に応じて端末機能処理を行う(S2)とともに主制御部103に操作があったことを通知する。   First, it is determined whether or not a key operation or an on-hook operation has been performed on the man-machine IF unit 107 (S1). Here, when there is a key operation or an on-hook operation (S1: Yes), the terminal function processing unit 106 of the telephone terminal 10 performs terminal function processing in accordance with the operation (S2) and the main control unit 103 is operated. To be notified.

ここで、端末機能処理とはSIPプロトコルを用いた端末側の電話機能のことである。   Here, the terminal function processing is a telephone function on the terminal side using the SIP protocol.

キー入力操作またはオンフック操作でなかった場合(S1:No)、通信制御部102は、LAN70から外部接続IF部101を介して自端末宛のIPパケットを受信したか否かを判断する(S3)。自端末宛のIPパケットを受信していない場合(S3:No)、S1に戻る。   If it is not a key input operation or an on-hook operation (S1: No), the communication control unit 102 determines whether or not an IP packet addressed to itself is received from the LAN 70 via the external connection IF unit 101 (S3). . If an IP packet addressed to the terminal itself has not been received (S3: No), the process returns to S1.

自端末宛のIPパケットを受信した場合(S3:Yes)、通信制御部102はIPパケットを主制御部103に渡し、主制御部103は担当呼制御処理部104及びライト/リード処理部105と連携して受け取ったIPパケットを解析する。そしてIPパケットが担当呼制御処理のIPパケットであった場合(S4:Yes)、主制御部103はIPパケットを担当呼制御処理部104に渡し、渡された担当呼制御処理部104は図6、図7に後述する各担当端末に割り当てられた各種担当呼制御処理を行い(S5)、S1に戻る。   When an IP packet addressed to the terminal itself is received (S3: Yes), the communication control unit 102 passes the IP packet to the main control unit 103, and the main control unit 103 includes the assigned call control processing unit 104 and the write / read processing unit 105. Analyzes IP packets received in cooperation. If the IP packet is an IP packet for assigned call control processing (S4: Yes), the main control unit 103 passes the IP packet to the assigned call control processing unit 104, and the assigned assigned call control processing unit 104 receives the IP packet shown in FIG. Then, various responsible call control processes assigned to each responsible terminal described later in FIG. 7 are performed (S5), and the process returns to S1.

IPパケットがグローバルデータのライト/リード処理要求のIPパケットであった場合(S6:Yes)、主制御部103はIPパケットをライト/リード処理部105に渡す。   When the IP packet is an IP packet for global data write / read processing request (S6: Yes), the main control unit 103 passes the IP packet to the write / read processing unit 105.

そして、ライト/リード処理部105はライト/リード処理要求のIPパケットを受け取ると、ライト/リード処理要求を解析し、リードかライトかのフラグ情報、メッセージボックス番号、ライトであった場合にライトデータ、IPパケットの送信元アドレスを抽出しローカルデータメモリ部115に保存する。   When the write / read processing unit 105 receives the IP packet of the write / read processing request, it analyzes the write / read processing request, writes read / write flag information, a message box number, and write data when it is a write. The source address of the IP packet is extracted and stored in the local data memory unit 115.

抽出したフラグ情報がリードのフラグであった場合(S7:リード)、ライト/リード処理部105は抽出したメッセージボックス番号のデータを読み出す(S8)。そして、抽出したIPパケットの送信元にリードデータを送信し(S9)、S1に戻る。   When the extracted flag information is a read flag (S7: Read), the write / read processing unit 105 reads the data of the extracted message box number (S8). Then, read data is transmitted to the source of the extracted IP packet (S9), and the process returns to S1.

抽出したフラグ情報がライトのフラグであった場合(S7:ライト)、ライト/リード処理部105は抽出したメッセージボックス番号に対し、ライトデータを書き込む(S10)。そして、IPパケットの送信元にライトが完了したことを送信し(S11)、S1に戻る。   If the extracted flag information is a write flag (S7: write), the write / read processing unit 105 writes write data to the extracted message box number (S10). Then, the completion of writing is transmitted to the transmission source of the IP packet (S11), and the process returns to S1.

IPパケットが担当呼制御処理でもライト/リード処理でもなかった場合(S6:No)、着信等、端末側の処理と判断し、主制御部103はIPパケットを端末機能処理部106に渡して端末機能処理を行い(S2)、S1に戻る。   If the IP packet is not the assigned call control process or the write / read process (S6: No), it is determined that the process is on the terminal side, such as an incoming call, and the main control unit 103 passes the IP packet to the terminal function processing unit 106 to Function processing is performed (S2), and the process returns to S1.

次に図6を用いて、図5の担当端末処理のうち統括担当端末10−1の処理フローについて説明する。   Next, the processing flow of the overall responsible terminal 10-1 in the responsible terminal process of FIG. 5 will be described with reference to FIG.

S5で統括担当端末の担当呼制御処理が開始されると、担当呼制御処理部104は主制御部103から受け取ったSIPメッセージのIPパケットをローカルデータメモリ部115に記憶し、ライト/リード処理部105と連携し、ライト処理要求の送信を指示する。   When the assigned call control processing of the central responsible terminal is started in S5, the assigned call control processing unit 104 stores the IP packet of the SIP message received from the main control unit 103 in the local data memory unit 115, and the write / read processing unit. In cooperation with 105, an instruction to send a write processing request is given.

指示を受けたライト/リード処理部105はメッセージボックス管理部114のメッセージボックス管理テーブルから使用していないメッセージボックス番号を指定する(S501)。   Upon receiving the instruction, the write / read processing unit 105 designates an unused message box number from the message box management table of the message box management unit 114 (S501).

そして指定したメッセージボックス番号をキーにメッセージボックス管理部114のメッセージボックスアドレステーブルを検索し、自端末のメッセージボックス番号か否かを判断する(S502)   Then, the message box address table of the message box management unit 114 is searched using the designated message box number as a key, and it is determined whether or not it is the message box number of the own terminal (S502).

自端末のメッセージボックス番号であった場合(S502:Yes)、主制御部103に通知し、通知された主制御部103は、グローバルデータメモリ部112の該当するメッセージボックス番号のメモリアドレスにデータを記憶し(S503)、S506に進む。   If it is the message box number of its own terminal (S502: Yes), the main control unit 103 is notified, and the notified main control unit 103 stores data in the memory address of the corresponding message box number in the global data memory unit 112. Store (S503) and proceed to S506.

自端末のメッセージボックス番号であった場合(S502:No)、当該メッセージボックス番号の電話端末に対し、ライトのフラグ情報、空いているメッセージボックス番号、ライトするSIPメッセージを含むライト処理要求を生成して送信する(S504)。そして、ライト要求送信した電話端末からライト処理完了通知が受信されるまで待機する(S505)。   If it is the message box number of the terminal itself (S502: No), a write processing request including a write flag information, an empty message box number, and a SIP message to be written is generated for the telephone terminal of the message box number. (S504). Then, it waits until a write processing completion notification is received from the telephone terminal that has transmitted the write request (S505).

次に担当呼制御処理部104は、受け取ったSIPメッセージの種類を解析する。   Next, the assigned call control processing unit 104 analyzes the type of the received SIP message.

INVITEのSIPメッセージ(以下、INVITEメッセージ)であった場合(S506:Yes)、 担当呼制御処理部104は、INVITEメッセージをキーに状態管理部108の役割分担テーブルからINVITE担当端末を検索する(S507)。そして、検索したINVITE担当端末のIPアドレスを抽出し、抽出したIPアドレスを宛先としてS501で指定したメッセージボックス番号を含むINVITE処理要求を生成する。さらに、担当呼制御処理部104は、主制御部103、通信制御部102と連携して通信制御部102に生成したINVITE処理要求を外部接続IF部101を介してLAN上のINVITE担当端末にINVITE処理要求を送信する(S508)。   If the SIP message is an INVITE SIP message (hereinafter referred to as INVITE message) (S506: Yes), the assigned call control processing unit 104 searches the role assignment table of the state management unit 108 for the INVITE responsible terminal using the INVITE message as a key (S507). ). Then, the IP address of the searched INVITE terminal is extracted, and an INVITE processing request including the message box number designated in S501 is generated with the extracted IP address as the destination. Further, the assigned call control processing unit 104 sends the INVITE processing request generated in the communication control unit 102 in cooperation with the main control unit 103 and the communication control unit 102 to the INVITE terminal on the LAN via the external connection IF unit 101. A processing request is transmitted (S508).

180RingingのSIPメッセージ(以下、180Ringingメッセージ)であった場合(S509:Yes)、 担当呼制御処理部104は、180Ringingメッセージをキーに状態管理部108の役割分担テーブルから180Ringing担当端末を検索する(S510)。そして、検索した180Ringing担当端末のIPアドレスを抽出し、抽出したIPアドレスを宛先としてS501で指定したメッセージボックス番号を含む180Ringing処理要求を生成する。さらに、担当呼制御処理部104は、主制御部103、通信制御部102と連携して通信制御部102に生成した180Ringing処理要求を外部接続IF部101を介してLAN上の180Ringing担当端末に180Ringing処理要求を送信する(S511)。   If it is a 180 Ringing SIP message (hereinafter, “180 Ringing message”) (S509: Yes), the assigned call control processing unit 104 searches for the 180 Ringing responsible terminal from the role assignment table of the state management unit 108 using the 180 Ringing message as a key (S510). ). Then, the IP address of the searched 180 Ringing terminal is extracted, and a 180 Ringing processing request including the message box number specified in S501 is generated with the extracted IP address as the destination. Furthermore, the assigned call control processing unit 104 sends the 180 Ringing processing request generated in the communication control unit 102 in cooperation with the main control unit 103 and the communication control unit 102 to the 180 Ringing responsible terminal on the LAN via the external connection IF unit 101. A processing request is transmitted (S511).

200OKのSIPメッセージ(以下、200OKメッセージ)であった場合(S512:Yes)、 担当呼制御処理部104は、200OKメッセージをキーに状態管理部108の役割分担テーブルから200OK担当端末を検索する(S513)。そして、検索した200OK担当端末のIPアドレスを抽出し、抽出したIPアドレスを宛先としてS501で指定したメッセージボックス番号を含む200OK処理要求を生成する。さらに、担当呼制御処理部104は、主制御部103、通信制御部102と連携して通信制御部102に生成した200OK処理要求を外部接続IF部101を介してLAN上の200OK担当端末に200OK処理要求を送信する(S514)。   If it is a 200 OK SIP message (hereinafter, “200 OK message”) (S512: Yes), the assigned call control processing unit 104 searches the role assignment table of the state management unit 108 for a 200 OK assigned terminal using the 200 OK message as a key (S513). ). Then, the IP address of the searched 200OK terminal is extracted, and a 200OK processing request including the message box number designated in S501 is generated with the extracted IP address as the destination. Further, the assigned call control processing unit 104 sends the 200 OK processing request generated in the communication control unit 102 in cooperation with the main control unit 103 and the communication control unit 102 to the 200 OK terminal on the LAN via the external connection IF unit 101. A processing request is transmitted (S514).

ACKのSIPメッセージ(以下、ACKメッセージ)であった場合(S515:Yes)、 担当呼制御処理部104は、ACKメッセージをキーに状態管理部108の役割分担テーブルからACK担当端末を検索する(S516)。そして、検索したACK担当端末のIPアドレスを抽出し、抽出したIPアドレスを宛先としてS501で指定したメッセージボックス番号を含むACK処理要求を生成する。さらに、担当呼制御処理部104は、主制御部103、通信制御部102と連携して通信制御部102に生成したACK処理要求を外部接続IF部101を介してLAN上のACK担当端末にACK処理要求を送信する(S517)。   If the SIP message is an ACK SIP message (hereinafter, ACK message) (S515: Yes), the assigned call control processing unit 104 searches the role assignment table of the state management unit 108 for the ACK responsible terminal using the ACK message as a key (S516). ). Then, the IP address of the searched ACK terminal is extracted, and an ACK processing request including the message box number specified in S501 is generated with the extracted IP address as the destination. Further, the assigned call control processing unit 104 ACKs the ACK processing request generated in the communication control unit 102 in cooperation with the main control unit 103 and the communication control unit 102 to the ACK handling terminal on the LAN via the external connection IF unit 101. A processing request is transmitted (S517).

さらに抽出したSIPメッセージの種類が上記以外のであった場合(S515:No),同様に各SIPメッセージ要求処理を行う(S518)。尚、本説明では上記以外のSIPメッセージの処理については説明を省略する。   Further, when the extracted SIP message type is other than the above (S515: No), each SIP message request process is similarly performed (S518). In this description, description of SIP message processing other than the above is omitted.

各SIPメッセージ処理要求の送信が完了すると、SIPメッセージ処理完了通知が受信するまで待機する(S519)。   When transmission of each SIP message processing request is completed, the process waits until a SIP message processing completion notification is received (S519).

SIPメッセージ処理完了通知を受信すると(S519:Yes)、担当呼制御処理部104は、自担当呼制御処理完了時に生成したSIPメッセージを送信し(S520)、図5のS1に戻る。   When the SIP message processing completion notification is received (S519: Yes), the assigned call control processing unit 104 transmits the SIP message generated when the own assigned call control processing is completed (S520), and returns to S1 of FIG.

次に図7を用いて、S5で統括担当端末以外の担当端末の処理フローについて説明する。   Next, with reference to FIG. 7, the processing flow of the responsible terminal other than the supervisory responsible terminal will be described in S5.

図7の(a)は、INVITE担当端末の処理フローである。   (A) of FIG. 7 is a processing flow of the terminal in charge of INVITE.

まず、担当呼制御処理部104は主制御部103からINVITE処理要求のIPパケットを受け取るとローカルデータメモリ部115に記憶し、メッセージボックス番号を抽出する。そして、抽出したメッセージボックス番号からグローバルデータ1003に記憶されているINVITEメッセージをリードする。   First, when the assigned call control processing unit 104 receives the IP packet for the INVITE processing request from the main control unit 103, it stores it in the local data memory unit 115 and extracts the message box number. Then, the INVITE message stored in the global data 1003 is read from the extracted message box number.

具体的には、メッセージボックス番号をキーとしてメッセージボックスアドレステーブルを検索し、自端末のメッセージボックス番号が自端末のメッセージボックスか否かを判断する。   Specifically, the message box address table is searched using the message box number as a key, and it is determined whether or not the message box number of the own terminal is the message box of the own terminal.

そして自端末のメッセージボックスであった場合、メッセージボックスアドレステーブルから一致したメッセージボックス番号のメモリアドレスを抽出し、当該メモリアドレスに記憶されているINVITEメッセージをリードする。   If it is the message box of the own terminal, the memory address of the matched message box number is extracted from the message box address table, and the INVITE message stored in the memory address is read.

自端末のメッセージボックスでない場合、さらにメッセージボックス番号をキーとしてメッセージボックス管理テーブルを検索する。そして、一致したメッセージボックス番号の担当端末を抽出し、当該担当端末にリード要求を送信する。さらに、当該担当端末から、リード処理完了通知を受信すると、リード処理完了通知に含まれるINVITEメッセージのリードデータを抽出する。   If it is not the message box of its own terminal, the message box management table is further searched using the message box number as a key. Then, the terminal in charge with the matched message box number is extracted and a read request is transmitted to the terminal in charge. Further, when a read processing completion notification is received from the terminal in charge, the read data of the INVITE message included in the read processing completion notification is extracted.

つぎに、INVITEメッセージをリードすると、ローカルデータメモリ部115に記憶し、着信先のユーザID(外線番号)を抽出する。つぎに担当呼制御処理部104は主制御部103と連携して抽出した着信先のユーザIDをキーとして記憶部109の図示しない宛先テーブルから該当するユーザIDのレコードを検索する(S522)。   Next, when the INVITE message is read, the INVITE message is stored in the local data memory unit 115, and the destination user ID (external line number) is extracted. Next, the assigned call control processing unit 104 searches for a record of the corresponding user ID from a destination table (not shown) of the storage unit 109 using the destination user ID extracted in cooperation with the main control unit 103 as a key (S522).

ここで宛先テーブルとは、電話システムに帰属する電話端末10毎にユーザIDとIPのレコードを有するテーブルであり通常のSIPサーバが保持するテーブルである。   Here, the destination table is a table having a user ID and an IP record for each telephone terminal 10 belonging to the telephone system, and is a table held by a normal SIP server.

該当するユーザIDのレコードがある場合(S523:Yes)、担当呼制御処理部104は、該当する送信先のIPを宛先としたINVITEメッセージを生成し、送信元のIPアドレスを宛先として100Tryingメッセージを生成し、ローカルデータメモリ部115に記憶する(S524)。また、該当するユーザIDのレコードがない場合(S523:No)、INVITEメッセージを送信した送信元のIPを宛先として404Not Foundメッセージを生成し、ローカルデータメモリ部115に記憶する(S525)。そして統括担当端末に対して生成したSIPメッセージを含むSIPメッセージ処理完了通知を送信し(S526)、図5のS1に戻る。   If there is a record of the corresponding user ID (S523: Yes), the assigned call control processing unit 104 generates an INVITE message with the destination IP address as the destination, and sends a 100 Trying message with the source IP address as the destination. It is generated and stored in the local data memory unit 115 (S524). If there is no corresponding user ID record (S523: No), a 404 Not Found message is generated with the IP address of the transmission source that transmitted the INVITE message as the destination, and stored in the local data memory unit 115 (S525). Then, a SIP message processing completion notification including the generated SIP message is transmitted to the supervisor terminal (S526), and the process returns to S1 in FIG.

図7の(b)は、180Ringing担当端末の処理フローである。   FIG. 7B is a process flow of the 180 Ringing terminal.

まず、担当呼制御処理部104は主制御部103から180Ringing処理要求のIPパケットを受け取るとローカルデータメモリ部115に記憶し、メッセージボックス番号を抽出する。そして、抽出したメッセージボックス番号からグローバルデータ1003に記憶されている180Ringingメッセージをリードする(S541)。   First, when the assigned call control processing unit 104 receives the IP packet of the 180 Ringing processing request from the main control unit 103, it stores it in the local data memory unit 115 and extracts the message box number. Then, the 180 Ringing message stored in the global data 1003 is read from the extracted message box number (S541).

そして、180Ringingメッセージを解析し、送信先電話端末のIPアドレスを抽出する(S542)。そして抽出した送信先電話端末のIPアドレスを送信先IPアドレスとした180Ringingメッセージを生成する(S543)する。そして統括担当端末に対して生成したSIPメッセージを含むSIPメッセージ処理完了通知を送信し(S544)、図5のS1に戻る。   Then, the 180 Ringing message is analyzed, and the IP address of the destination telephone terminal is extracted (S542). Then, a 180 Ringing message is generated using the extracted IP address of the destination telephone terminal as the destination IP address (S543). Then, a SIP message processing completion notification including the generated SIP message is transmitted to the supervisor terminal (S544), and the process returns to S1 in FIG.

図7の(c)は、200OK担当端末の処理フローである。   (C) of FIG. 7 is a processing flow of the terminal in charge of 200OK.

まず、担当呼制御処理部104は主制御部103から200OK処理要求のIPパケットを受け取るとローカルデータメモリ部115に記憶し、メッセージボックス番号を抽出する。そして、抽出したメッセージボックス番号からグローバルデータ1003に記憶されている200OKメッセージをリードする(S561)。   First, the assigned call control processing unit 104 receives the 200 OK processing request IP packet from the main control unit 103, stores it in the local data memory unit 115, and extracts the message box number. Then, the 200OK message stored in the global data 1003 is read from the extracted message box number (S561).

そして、200OKメッセージを解析し、送信先電話端末のIPアドレスを抽出する(S562)。そして抽出した送信先電話端末のIPアドレスを送信先IPアドレスとした200OKメッセージを生成する(S563)する。そして統括担当端末に対して生成したSIPメッセージを含むSIPメッセージ処理完了通知を送信し(S564)、図5のS1に戻る。   Then, the 200OK message is analyzed, and the IP address of the destination telephone terminal is extracted (S562). Then, a 200 OK message is generated with the IP address of the extracted destination telephone terminal as the destination IP address (S563). Then, a SIP message processing completion notification including the generated SIP message is transmitted to the supervisor terminal (S564), and the process returns to S1 in FIG.

図7の(d)は、ACK担当端末の処理フローである。   (D) of FIG. 7 is a processing flow of the terminal in charge of ACK.

まず、担当呼制御処理部104は主制御部103からACK処理要求のIPパケットを受け取るとローカルデータメモリ部115に記憶し、メッセージボックス番号を抽出する。そして、抽出したメッセージボックス番号からグローバルデータ1003に記憶されているACKメッセージをリードする(S581)。   First, when the assigned call control processing unit 104 receives an IP packet for an ACK processing request from the main control unit 103, it stores it in the local data memory unit 115 and extracts a message box number. Then, the ACK message stored in the global data 1003 is read from the extracted message box number (S581).

そして、ACKメッセージを解析し、送信先電話端末のIPアドレスを抽出する(S582)。そして抽出した送信先電話端末のIPアドレスを送信先IPアドレスとしたACKメッセージを生成する(S583)する。そして統括担当端末に対して生成したSIPメッセージを含むSIPメッセージ処理完了通知を送信し(S584)、図5のS1に戻る。   Then, the ACK message is analyzed, and the IP address of the destination telephone terminal is extracted (S582). Then, an ACK message is generated with the extracted destination telephone terminal IP address as the destination IP address (S583). Then, a SIP message processing completion notification including the generated SIP message is transmitted to the supervisor terminal (S584), and the process returns to S1 in FIG.

また、上記以外のSIPメッセージの場合であっても、同様にグローバルデータ1003を介した担当呼制御処理を行う。   Even in the case of SIP messages other than those described above, the assigned call control process via the global data 1003 is similarly performed.

次に図8を用いて、本電話システムが相手電話端末20から電話端末10−3への着信を受け、通話するまでの動作シーケンスを説明する。   Next, an operation sequence from when the telephone system receives an incoming call from the other party telephone terminal 20 to the telephone terminal 10-3 and makes a telephone call will be described with reference to FIG.

まず、相手電話端末20から統括担当端末10−1に対してINVITEメッセージを受信すると(S101)、統括担当端末10−1は受信したINVITEメッセージをグローバルデータメモリ部112のメッセージボックスに保存する。そして受信したINVITEメッセージをキーとして状態管理部108の役割分担テーブルを検索して該当するINVITE担当端末10−2を抽出する。そして、抽出したINVITE担当端末10−2を宛先としたグローバルデータメモリ部112に保存されたメッセージボックスのメッセージボックス番号を含むINVITE処理要求を生成し、送信する(S102)。   First, when an INVITE message is received from the partner telephone terminal 20 to the general charge terminal 10-1 (S101), the general charge terminal 10-1 stores the received INVITE message in a message box of the global data memory unit 112. Then, using the received INVITE message as a key, the role assignment table of the state management unit 108 is searched to extract the corresponding INVITE terminal 10-2. Then, an INVITE processing request including the message box number of the message box stored in the global data memory unit 112 destined for the extracted INVITE terminal 10-2 is generated and transmitted (S102).

INVITE処理要求を受信したINVITE担当端末10−2は、INVITE処理要求に含まれるメッセージボックス番号の端末から、当該メッセージボックスのデータをリード処理を行う。そしてリードしたメッセージボックスのINVITE処理を実行し、電話端末10−3宛のINVITEメッセージと相手電話端末20宛の100Tryingメッセージを生成する。次に生成したSIPメッセージを含むINVITE処理完了通知を統括担当端末10−1に送信する(S103)。   Upon receiving the INVITE processing request, the INVITE terminal 10-2 performs read processing on the data in the message box from the terminal having the message box number included in the INVITE processing request. Then, the INVITE process of the read message box is executed, and an INVITE message addressed to the telephone terminal 10-3 and a 100 Trying message addressed to the partner telephone terminal 20 are generated. Next, an INVITE processing completion notification including the generated SIP message is transmitted to the overall terminal 10-1 (S103).

INVITE処理完了通知を受信した統括担当端末10−1はINVITEと100TryingのSIPメッセージを、自端末のSIPメッセージとして電話端末10−3に対してはINVITEメッセージを送信し(S104)、相手電話端末20に対しては100Tryingメッセージを送信する(S105)。   Upon receiving the INVITE processing completion notification, the supervisor terminal 10-1 transmits the INVITE and 100 Trying SIP messages, and transmits the INVITE message to the telephone terminal 10-3 as its own SIP message (S104). In response to this, a 100 Trying message is transmitted (S105).

次に、電話端末10−3はINVITEメッセージを受信すると、端末機能処理部106でINVITEの端末機能処理を行い、統括端末10−1に対し180Ringingと200OKを返す(S106、S110)。   Next, when the telephone terminal 10-3 receives the INVITE message, the terminal function processing unit 106 performs INVITE terminal function processing, and returns 180 Ringing and 200 OK to the overall terminal 10-1 (S106, S110).

統括担当端末10−1は、電話端末10−3から180Ringingメッセージを受信すると(S106)、統括担当端末10−1は受信したSIPメッセージをグローバルデータメモリ部112のメッセージボックスに保存する。そして受信したSIPメッセージをキーとして、状態管理部108の役割分担テーブルを参照して該当する180Ringing担当端末10−3の宛先を抽出する。そして、180Ringing担当端末10−3宛のグローバルデータメモリ部112に保存されたメッセージボックスのメッセージ番号を含む180Ringing処理要求を生成し、送信する(S107)。   When the supervising terminal 10-1 receives the 180 Ringing message from the telephone terminal 10-3 (S106), the supervising terminal 10-1 stores the received SIP message in the message box of the global data memory unit 112. Then, the destination of the corresponding 180 Ringing terminal 10-3 is extracted with reference to the role assignment table of the state management unit 108 using the received SIP message as a key. Then, a 180 Ringing processing request including the message number of the message box stored in the global data memory unit 112 addressed to the 180 Ringing terminal 10-3 is generated and transmitted (S107).

180Ringing処理要求を受信した180Ringing担当端末10−3は、180Ringing処理要求に含まれるメッセージボックス番号から、当該メッセージボックス番号が展開されている電話端末にリード要求を送信し、リード処理を行う。そしてリードしたメッセージボックスの180Ringing処理を実行し、相手電話端末20宛の180Ringingメッセージを生成し、180Ringingメッセージを含む180Ringing処理完了通知を統括担当端末10−1に送信する(S108)。   Upon receiving the 180 Ringing process request, the 180 Ringing terminal 10-3 transmits a read request from the message box number included in the 180 Ringing process request to the telephone terminal in which the message box number is expanded, and performs the read process. Then, the 180Ring process of the read message box is executed, a 180Ringing message addressed to the other party telephone terminal 20 is generated, and a 180Ringing process completion notification including the 180Ringing message is transmitted to the overall terminal 10-1 (S108).

180Ringing処理完了通知を受信した統括担当端末10−1は180RingingのSIPメッセージを、自端末のSIPメッセージとして相手電話端末20に対して180Ringingメッセージを送信する(S109)。   Receiving the 180Ringing process completion notification, the supervisory terminal 10-1 transmits a 180Ringing SIP message as a SIP message of its own terminal to the partner telephone terminal 20 (S109).

統括担当端末10−1は、電話端末10−3から200 OKメッセージを受信すると(S110)、統括担当端末10−1は受信したSIPメッセージをグローバルデータメモリ部112に保存する。そして受信したSIPメッセージをキーとして、状態管理部108の役割分担テーブルを参照して該当する200
OK担当端末10−3の宛先を抽出する。そして、200 OK担当端末10−3宛のグローバルデータメモリ部112に保存したSIPメッセージを含む200 OK処理要求を生成し、送信する(S111)。
When the supervisor terminal 10-1 receives the 200 OK message from the telephone terminal 10-3 (S110), the supervisor terminal 10-1 stores the received SIP message in the global data memory unit 112. Then, using the received SIP message as a key, the role assignment table of the state management unit 108 is referred to and the corresponding 200
The destination of the OK terminal 10-3 is extracted. Then, a 200 OK processing request including the SIP message stored in the global data memory unit 112 addressed to the 200 OK terminal 10-3 is generated and transmitted (S111).

200 OK処理要求を受信した200 OK担当端末10−3は、200 OK処理要求に含まれるメッセージボックス番号から、当該メッセージボックス番号が展開されている電話端末にリード要求を送信し、リード処理を行う。そしてリードしたメッセージボックスの200 OK処理を実行し、相手電話端末20宛の200 OKメッセージを生成し、200 OKメッセージを含む200 OK処理完了通知を統括担当端末10−1に送信する(S112)。   Upon receiving the 200 OK processing request, the 200 OK terminal 10-3 transmits a read request from the message box number included in the 200 OK processing request to the telephone terminal in which the message box number is expanded, and performs the read processing. . Then, the 200 OK process of the read message box is executed, a 200 OK message addressed to the other party telephone terminal 20 is generated, and a 200 OK process completion notice including the 200 OK message is transmitted to the overall responsible terminal 10-1 (S112).

200 OK処理完了通知を受信した統括担当端末10−1は200 OKのSIPメッセージを、自端末のSIPメッセージとして相手電話端末20に対して200 OKメッセージを送信する(S113)。   Upon receiving the 200 OK processing completion notification, the supervisor terminal 10-1 transmits a 200 OK SIP message as a SIP message of its own terminal to the partner telephone terminal 20 (S113).

統括担当端末10−1は、200OKを送信すると相手電話端末20はACKを送信する。   When the supervising terminal 10-1 transmits 200 OK, the partner telephone terminal 20 transmits ACK.

相手電話端末20から統括担当端末10−1に対してACKメッセージを受信すると(S114)、統括担当端末10−1は受信したACKメッセージをグローバルデータメモリ部112に保存する。そして受信したSIPメッセージをキーとして状態管理部108の役割分担テーブルを参照して該当するACK担当端末10−2を参照する。そして、参照したACK担当端末10−2を宛先としたグローバルデータメモリ部112に保存さあれたメッセージボックスのメッセージボックス番号を含むACK処理要求を生成し、送信する(S115)。   When the ACK message is received from the partner telephone terminal 20 to the general charge terminal 10-1 (S114), the general charge terminal 10-1 stores the received ACK message in the global data memory unit 112. Then, with reference to the role assignment table of the state management unit 108 using the received SIP message as a key, the corresponding ACK terminal 10-2 is referred to. Then, an ACK processing request including the message box number of the message box stored in the global data memory unit 112 destined for the referred ACK terminal 10-2 is generated and transmitted (S115).

ACK処理要求を受信したACK担当端末10−3は、ACK処理要求に含まれるメッセージボックス番号から、当該メッセージボックス番号が展開されている電話端末にリード要求を送信し、リード処理を行う。そしてリードしたメッセージボックスのACK処理を実行し、相手電話端末20宛のACKメッセージを生成し、ACKメッセージを含むACK処理完了通知を統括担当端末10−1に送信する(S116)。   The ACK terminal 10-3 that has received the ACK processing request transmits a read request from the message box number included in the ACK processing request to the telephone terminal in which the message box number is expanded, and performs the read processing. Then, the ACK process of the read message box is executed, an ACK message addressed to the other party telephone terminal 20 is generated, and an ACK process completion notification including the ACK message is transmitted to the overall charge terminal 10-1 (S116).

ACK処理完了通知を受信した統括担当端末10−1はACKのSIPメッセージを、自端末のSIPメッセージとして180Ringing担当端末10−3に対してACKメッセージを送信し(S117)、通話路が確立され音声データによる通話が開始される(S118)。 Upon receiving the ACK processing completion notification, the supervisor terminal 10-1 transmits an ACK SIP message as an SIP message of its own terminal to the 180 Ringing terminal 10-3 (S117), and the communication path is established and the voice is established. A data call is started (S118).

以上、本発明の一実施の形態を説明した。   The embodiment of the present invention has been described above.

本実施の形態では、SIPサーバの機能を複数の電話端末10で実現させるために、通常の電話機能を有する電話端末10のそれぞれはSIPサーバ処理の一部を処理し、さらにこのSIPサーバ機能の一部をSIPメッセージの種類毎に処理を担当するSIPメッセージ担当端末と、SIPメッセージ担当端末に処理を割り振る統括担当端末10−1に分けて処理した。このため、複数の電話端末10を配置するだけで内線電話システムの構築が可能となり、SIPサーバ等の設置にかかるスペースやコストを削減できる効果がある。   In the present embodiment, in order to realize the SIP server function in a plurality of telephone terminals 10, each of the telephone terminals 10 having a normal telephone function processes a part of the SIP server processing, and further, the SIP server function A part of the processing was divided into a SIP message handling terminal in charge of processing for each type of SIP message, and a general handling terminal 10-1 allocating processing to the SIP message handling terminal. For this reason, it is possible to construct an extension telephone system simply by arranging a plurality of telephone terminals 10, and there is an effect that it is possible to reduce the space and cost for installing a SIP server or the like.

また、本実施の形態では、各電話端末10にグローバルデータメモリ部112を持たせ、SIPサーバが行うメモリ制御(ライト/リード制御)をLAN上で行うことで、各電話端末10が有する空きメモリ領域を有効活用している。このため、電話システムの規模が拡大する場合でも、増加する電話端末のグローバルデータのメモリ領域が利用できるので、柔軟なシステム拡張ができる。   Further, in the present embodiment, each telephone terminal 10 has a global data memory unit 112, and memory control (write / read control) performed by the SIP server is performed on the LAN, so that each telephone terminal 10 has free memory. Effective use of the area. For this reason, even when the scale of the telephone system is expanded, the memory area of the increasing global data of the telephone terminal can be used, so that the system can be flexibly expanded.

さらに、グローバルデータメモリ部に展開されるデータは、メッセージボックス単位でのライト/リード制御なので端末毎のメモリ設計が自由である。   Furthermore, since the data developed in the global data memory section is write / read control in message box units, the memory design for each terminal is free.

尚、本実施の説明ではSIP制御を用いた場合を例に説明をしているが、本発明はこれに限定されない、例えばH323、MGCP等の呼制御機能をもつプロトコル一般に適用できる。   In the description of the present embodiment, the case where SIP control is used is described as an example. However, the present invention is not limited to this.

また、本実施例では説明を分かりやすくするために各処理端末の担当プログラムを1個と限定しているが、本発明はこれに限定されない。例えば電話端末10の性能または担当プログラム自体の処理時間等に応じてさらに複数の担当プログラムに分散してもよいし、電話端末10によって所有する担当プログラムの数が異なっていてもよい。複数の担当プログラムを担務することで、呼制御サーバに必要な電話端末数を少なくすると共に、各SIP担当端末にかかる負荷を分散することができる。   Further, in this embodiment, the number of programs in charge of each processing terminal is limited to one for easy understanding, but the present invention is not limited to this. For example, it may be distributed to a plurality of responsible programs depending on the performance of the telephone terminal 10 or the processing time of the responsible program itself, or the number of responsible programs owned by the telephone terminal 10 may be different. By managing a plurality of programs in charge, the number of telephone terminals required for the call control server can be reduced, and the load on each SIP terminal can be distributed.

さらに、本実施例では発着信に係る呼制御サーバについて説明したが本発明はこれに限定されない。例えばSIP制御をもちいたプレゼンスサーバやメールサーバ、ボイスメールサーバ等呼制御サーバに接続できるサーバ機能を本電話システムで分散してもよい。   Furthermore, although the call control server related to outgoing / incoming calls has been described in the present embodiment, the present invention is not limited to this. For example, a server function that can be connected to a call control server such as a presence server, a mail server, or a voice mail server using SIP control may be distributed in this telephone system.

さらに、本実施例ではグローバルメモリアドレスは自端末のグローバルアドレス空間のみを記憶しマルチキャスト/ブロードキャストでライト/リード処理を行ったが、本発明はこれに限定されない。例えば、グローバルアドレス空間毎に割り当てられている電話端末のIPアドレスをレコードとしてユニキャストでライト/リード処理を行ってもよい。これにより、ネットワークの負荷を減少させるという効果がある。   Furthermore, in this embodiment, the global memory address stores only the global address space of its own terminal and performs write / read processing by multicast / broadcast, but the present invention is not limited to this. For example, the IP address of the telephone terminal assigned for each global address space may be used as a record to perform write / read processing by unicast. This has the effect of reducing the load on the network.

さらに、本実施例では説明を分かりやすくするためにSIPメッセージ担当端末が担当する担当プログラムは1つと記載しているが、本発明はこれに限定されない。例えば、複数の担当プログラムを電話端末毎に重複して有しており、さらに統括担当端末10−1が状態管理部108の役割分担テーブル内で各電話端末の処理状態を監視し、各電話端末の状態に応じて振り分けしてもよい。これによってさらに処理における負荷を分散することが出来、割り当てられた1台の端末が、故障や未接続などの原因で一時的に電話端末がいなくなった場合であっても、他の電話端末で補うという効果もある。   Furthermore, in this embodiment, for the sake of easy understanding, the SIP message handling terminal is described as one program in charge, but the present invention is not limited to this. For example, a plurality of responsible programs are duplicated for each telephone terminal, and the overall responsible terminal 10-1 monitors the processing state of each telephone terminal in the role assignment table of the state management unit 108, and each telephone terminal You may sort according to the state. As a result, the processing load can be further distributed, and even if the assigned terminal is temporarily out of service due to a failure or disconnection, it is supplemented by another telephone terminal. There is also an effect.

さらに、本実施例では、分散処理をSIPメッセージ毎に分散する場合について説明したが、本発明はこれに限定されない。例えば、さらに処理を分散し統括担当端末の他に、INVITE処理を統括するINVITE処理統括電話端末を配置し、INVITE処理を分散して処理してもよい。これによって処理における負荷を分散する事が出来、さらに呼制御サーバの分散処理に必要なメモリ容量を減らすという効果がある。   Furthermore, in the present embodiment, the case where the distributed processing is distributed for each SIP message has been described, but the present invention is not limited to this. For example, an INVITE processing control telephone terminal that controls the INVITE processing may be arranged in addition to the terminal in charge of the processing to further distribute the processing, and the INVITE processing may be distributed and processed. As a result, the processing load can be distributed, and the memory capacity required for the distributed processing of the call control server can be reduced.

また、逆に接続台数が数台しかなく必要SIPメッセージ担当端末以下の場合には、複数のSIPメッセージを同時に処理するようにしてもよい。   Conversely, if there are only a few connected devices and the number is less than the required SIP message terminal, a plurality of SIP messages may be processed simultaneously.

さらに、本実施例では説明を分かりやすくするために、統括担当端末は、1台として記載しているが、本発明はこれに限定されない。例えば、統括担当端末が、図1上に図示していないキャリア側のSIPサーバに登録されていた場合に、登録できる回線の数だけ統括担当端末が存在し、統括担当端末が登録されていて、各統括担当端末は各SIPメッセージ担当端末の状態を管理し、それぞれがSIPサーバとして動作してもよい。これによってグローバルデータメモリを複数の統括担当端末で共有することが出来、容易に収容回線をふやすことができるという効果がある。   Further, in the present embodiment, for the sake of easy understanding, the overall terminal in charge is described as one, but the present invention is not limited to this. For example, if the supervisor terminal is registered in a carrier-side SIP server not shown in FIG. 1, there are as many supervisor terminals as the number of lines that can be registered, and the supervisor terminals are registered. Each supervising terminal manages the state of each SIP message terminal, and each terminal may operate as a SIP server. As a result, the global data memory can be shared by a plurality of supervising terminals, and there is an effect that the accommodation line can be easily increased.

さらに、本実施例では呼制御サーバについて説明したが本発明はこれに限定されない。例えばSIP制御をもちいたプレゼンスサーバやメールサーバ、ボイスメールサーバ等呼制御サーバに接続できるサーバ機能を本電話システムで分散してもよい。   Furthermore, although the call control server has been described in the present embodiment, the present invention is not limited to this. For example, a server function that can be connected to a call control server such as a presence server, a mail server, or a voice mail server using SIP control may be distributed in this telephone system.

本IP電話システムのシステム構成図System configuration diagram of this IP phone system 役割分担表Role assignment table 本IP電話システムのメモリ配置図Memory layout of this IP phone system 本発明の電話端末のブロック構成図Block diagram of telephone terminal of the present invention 電話端末のフローチャートPhone terminal flowchart 統括担当端末のフローチャートFlow chart of the terminal in charge 統括担当端末以外の担当端末フローチャートFlow chart of the terminal in charge other than the supervisor terminal 着信処理シーケンスIncoming call processing sequence

符号の説明Explanation of symbols

10:電話端末、 10−1:電話端末(統括担当)、 10−2:電話端末(INVITE担当)、 10−3:電話端末(180Ringing担当)、 10−4電話端末(200OK担当)、 10−5:電話端末(ACK担当)、 10−N:電話端末(○○担当)、
20:相手電話端末、 60:外部ネットワーク、 70:LAN、 101:外部接続IF部、 102:通信制御部、 103:主制御部、 104:担当呼制御処理部、
105:ライト/リード処理部、 106:端末機能処理部、 107:マンマシンIF部、 108:状態管理部、 109:記憶部、 110:担当呼制御メモリ部、 111:端末機能プログラムメモリ部、
112:グローバルデータメモリ部、 113:プログラムメモリ部、 114:メッセージボックス管理部、 115:ローカルデータメモリ部、 116:端末機能メモリ部、
117:端末機能データメモリ部
10: Telephone terminal, 10-1: Telephone terminal (in charge of generalization), 10-2: Telephone terminal (in charge of INVITE), 10-3: Telephone terminal (in charge of 180 Ringing), 10-4 Telephone terminal (in charge of 200OK), 10- 5: Telephone terminal (ACK charge), 10-N: Telephone terminal (XX charge),
20: partner telephone terminal, 60: external network, 70: LAN, 101: external connection IF unit, 102: communication control unit, 103: main control unit, 104: assigned call control processing unit,
105: write / read processing unit, 106: terminal function processing unit, 107: man-machine IF unit, 108: state management unit, 109: storage unit, 110: assigned call control memory unit, 111: terminal function program memory unit,
112: Global data memory unit, 113: Program memory unit, 114: Message box management unit, 115: Local data memory unit, 116: Terminal function memory unit,
117: Terminal function data memory unit

Claims (2)

呼制御を統括する統括IP電話端末と、前記統括IP電話端末の指示に従って呼制御の一部を実行する複数の分散呼制御IP電話端末を含むIP電話システムであって、
前記統括IP電話端末および分散呼制御IP電話端末のそれぞれは、
当該IP電話システムの内線IP電話端末として自端末を制御する内線IP電話端末制御手段と、他のIP電話端末と共有する情報を蓄積する共有情報蓄積手段と、他の分散呼制御IP電話端末の前記共有情報蓄積手段から所定の情報を読出す共有情報読出し手段を有し、
前記統括IP電話端末は、
WANまたはLANを介して呼制御メッセージを受信する呼制御メッセージ受信手段と、前記呼制御メッセージ受信手段が受信した呼制御メッセージをいずれかの分散呼制御IP電話端末の共有情報蓄積手段の所定のエリアに書込む呼制御メッセージ書込み手段と、呼制御メッセージの種別を識別して当該呼制御メッセージの処理を分担する所定の分散呼制御IP電話端末へ当該呼制御メッセージの処理を要求する呼制御メッセージ処理要求手段と、前記分散呼制御IP電話端末が生成した呼制御メッセージをWANまたはLANを介して送信する呼制御メッセージ送信手段を有し、
前記分散呼制御IP電話端末のそれぞれは、
分担すべき呼制御メッセージの処理内容が予め定められており、前記統括IP電話端末から当該呼制御メッセージの処理を要求された場合に、前記統括IP電話端末が書込んだ呼制御メッセージを当該共有情報蓄積手段から読込んで所定の処理を実行する呼制御メッセージ処理手段と、当該呼制御メッセージに対する応答メッセージを生成する応答メッセージ生成手段を有することを特徴とする分散呼制御型IP電話システム。
An IP telephone system including a central IP telephone terminal that supervises call control and a plurality of distributed call control IP telephone terminals that execute part of call control in accordance with instructions from the central IP telephone terminal,
Each of the general IP telephone terminal and the distributed call control IP telephone terminal
Extension IP telephone terminal control means for controlling the own terminal as an extension IP telephone terminal of the IP telephone system, shared information storage means for storing information shared with other IP telephone terminals, and other distributed call control IP telephone terminals Having shared information reading means for reading predetermined information from the shared information storage means;
The general IP telephone terminal is
Call control message receiving means for receiving a call control message via a WAN or LAN, and a call control message received by the call control message receiving means for a predetermined area of shared information storage means of any distributed call control IP telephone terminal Call control message writing means for writing the call control message, and call control message processing for requesting processing of the call control message to a predetermined distributed call control IP telephone terminal for identifying the type of the call control message and sharing the processing of the call control message Request means, and call control message transmission means for transmitting a call control message generated by the distributed call control IP telephone terminal via WAN or LAN,
Each of the distributed call control IP telephone terminals
The processing contents of the call control message to be shared are determined in advance, and the call control message written by the central IP telephone terminal is shared when the central IP telephone terminal requests processing of the call control message. A distributed call control type IP telephone system, comprising: a call control message processing unit that reads from an information storage unit and executes predetermined processing; and a response message generation unit that generates a response message to the call control message.
請求項1に記載の電話システムおいて、
前記共有情報蓄積手段は、呼制御メッセージ単位に情報を蓄積する多数のメッセージボックスを有すると共に、前記多数のメッセージボックスのそれぞれには識別用のラベルが付与されており、
前記統括IP電話端末または分散呼制御IP電話端末は、前記ラベルにより前記共有情報蓄積手段にアクセスすることを特徴とする分散呼制御型IP電話システム。
The telephone system according to claim 1,
The shared information storage means has a number of message boxes for storing information in units of call control messages, and each of the number of message boxes is given an identification label,
The distributed call control type IP telephone system, wherein the central IP telephone terminal or the distributed call control IP telephone terminal accesses the shared information storage means by the label.
JP2008004887A 2008-01-11 2008-01-11 Distributed call control IP phone system Expired - Fee Related JP5007450B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008004887A JP5007450B2 (en) 2008-01-11 2008-01-11 Distributed call control IP phone system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008004887A JP5007450B2 (en) 2008-01-11 2008-01-11 Distributed call control IP phone system

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2012104439A Division JP5578193B2 (en) 2012-05-01 2012-05-01 Distributed call control IP phone terminal

Publications (3)

Publication Number Publication Date
JP2009171054A true JP2009171054A (en) 2009-07-30
JP2009171054A5 JP2009171054A5 (en) 2011-01-27
JP5007450B2 JP5007450B2 (en) 2012-08-22

Family

ID=40971791

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008004887A Expired - Fee Related JP5007450B2 (en) 2008-01-11 2008-01-11 Distributed call control IP phone system

Country Status (1)

Country Link
JP (1) JP5007450B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012151903A (en) * 2012-05-01 2012-08-09 Nakayo Telecommun Inc Distributed call control type ip telephone terminal

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04129399A (en) * 1990-09-20 1992-04-30 Fujitsu Ltd Load decentralizing control system for multiprocessor
JP2002165239A (en) * 2000-11-29 2002-06-07 Nec Corp Multiprocessor type call processing system
JP2007013304A (en) * 2005-06-28 2007-01-18 Nec Infrontia Corp Extension telephone system and extension telephone communication method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04129399A (en) * 1990-09-20 1992-04-30 Fujitsu Ltd Load decentralizing control system for multiprocessor
JP2002165239A (en) * 2000-11-29 2002-06-07 Nec Corp Multiprocessor type call processing system
JP2007013304A (en) * 2005-06-28 2007-01-18 Nec Infrontia Corp Extension telephone system and extension telephone communication method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012151903A (en) * 2012-05-01 2012-08-09 Nakayo Telecommun Inc Distributed call control type ip telephone terminal

Also Published As

Publication number Publication date
JP5007450B2 (en) 2012-08-22

Similar Documents

Publication Publication Date Title
US8644491B2 (en) Mechanism for multisite service state description
JP2008236241A (en) Telephone system and switching device thereof
JP5997198B2 (en) Terminal management apparatus, terminal, communication system, terminal management method, and program
JP5007450B2 (en) Distributed call control IP phone system
JP5578193B2 (en) Distributed call control IP phone terminal
JP4331253B2 (en) VoIP service system, call control server, and call control method
JP2008199395A (en) Radio terminal calling method of mobile communication system, gateway device and mobile communication system
US20170094062A1 (en) Ip telephone switching system and ip switching server
JP2008092102A (en) Telephone switching system
JP5733498B2 (en) Wireless communication system, method for disconnecting / connecting to communication system, program for disconnecting / connecting to communication system, and communication system
JP4905198B2 (en) IP phone system and IP phone terminal
JP2008099168A (en) Connection regulation method for peer-to-peer connection in sip terminal device
JP4189360B2 (en) Telephone exchange device and network telephone system
JP2005167421A (en) Voice communication system, and communication apparatus and telephone exchange for voice communication system
RU2014111332A (en) PRIVATE PHONE STATION WITH DEVICE MANAGEMENT SYSTEM
JP2013055550A (en) Terminal management device, remote control system, and remote control method
JP2022149475A (en) Call recording system and call recording method
JP2006270546A (en) Repeating device, repeating method, and repeating program
JP3974310B2 (en) Multimedia communication system
JP2005191970A (en) Telephone switching apparatus and network telephone switching system
JP4088175B2 (en) Switching network system and telephone switching device
JP2008289049A (en) Telephone system and telephone terminal
JP2007318624A (en) Ip telephone system, and master unit and slave unit used therein
KR100941802B1 (en) Private exchange system and method of transmission broadcasting data
JP2012257174A (en) Information management method, congestion control method, and congestion control device

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20101206

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20101206

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120416

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20120424

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120507

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20150608

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20150608

Year of fee payment: 3

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

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees