JP5574080B2 - IP telephone system and IP telephone terminal - Google Patents

IP telephone system and IP telephone terminal Download PDF

Info

Publication number
JP5574080B2
JP5574080B2 JP2009084045A JP2009084045A JP5574080B2 JP 5574080 B2 JP5574080 B2 JP 5574080B2 JP 2009084045 A JP2009084045 A JP 2009084045A JP 2009084045 A JP2009084045 A JP 2009084045A JP 5574080 B2 JP5574080 B2 JP 5574080B2
Authority
JP
Japan
Prior art keywords
terminal
telephone
storage unit
information
packet
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2009084045A
Other languages
Japanese (ja)
Other versions
JP2010239336A (en
Inventor
將人 土佐
高志 清水
豊 大部
Original Assignee
サクサ株式会社
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 サクサ株式会社 filed Critical サクサ株式会社
Priority to JP2009084045A priority Critical patent/JP5574080B2/en
Publication of JP2010239336A publication Critical patent/JP2010239336A/en
Application granted granted Critical
Publication of JP5574080B2 publication Critical patent/JP5574080B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

この発明は、IP(Internet Protocol)電話システムおよび当該IP電話システムに使用するIP電話端末に関する。   The present invention relates to an IP (Internet Protocol) telephone system and an IP telephone terminal used for the IP telephone system.

IPネットワークを通じて電話通信を行なうIP電話システムにおいては、従来、一般的には、IPネットワークに接続される複数のIP電話端末のIPアドレスを管理して、呼接続のための処理を行うSIP(Session Initiation Protocol)サーバが必須とされている(例えば特許文献1(特開2006−279204号公報)参照)。   2. Description of the Related Art In an IP telephone system that performs telephone communication through an IP network, conventionally, an SIP (Session) that manages the IP addresses of a plurality of IP telephone terminals connected to the IP network and performs processing for call connection. An Initiation Protocol) server is essential (see, for example, Patent Document 1 (Japanese Patent Laid-Open No. 2006-279204)).

特開2006−279204号公報JP 2006-279204 A

しかしながら、SIPサーバは、高価であり、IP電話システムの構築コストが高くなるという問題がある。また、IP電話システムの運用中は、SIPサーバを常時稼動させておく必要があり、運用コストも高くなるという問題もある。   However, the SIP server is expensive, and there is a problem that the construction cost of the IP telephone system becomes high. In addition, during the operation of the IP telephone system, it is necessary to keep the SIP server running at all times, and there is a problem that the operation cost increases.

また、SIPサーバが故障などによりダウンしてしまうと、IP電話システム全体がダウンしてしまうと言う問題もある。   There is also a problem that if the SIP server goes down due to a failure or the like, the entire IP telephone system goes down.

以上のことにかんがみ、この発明は、SIPサーバを用いずにIP電話システムを構築することができるようにすることを目的とする。   In view of the above, an object of the present invention is to make it possible to construct an IP telephone system without using a SIP server.

上記の課題を解決するために、この発明は、
IP(Internet Protocol)ネットワークに接続された複数個のIP電話端末のみからなる電話システムであって、
前記IP電話端末のそれぞれは、
前記IP電話端末を識別するための識別情報と当該IP電話端末の前記IPネットワーク上のIPアドレスとを対応付けた端末情報を、前記IPネットワーク上に接続されている互いに通信可能な全てのIP電話端末について記憶する端末一覧情報記憶部を備えると共に
前記IPネットワークに接続されたとき及び前記IPネットワークに接続された状態において自端末の前記IPネットワークでの生存時間よりも短い予め設定された時間間隔が経過したときに、前記自端末の端末情報と前記生存時間の情報をヘッダに含めた登録用パケットを、前記IPネットワークに送出し、前記登録用パケットの送出に対して前記IPネットワークの他の前記IP電話端末から送られてくる応答のパケットを受信して、前記応答のパケットに含まれる端末情報により自端末の前記端末一覧情報記憶部を更新する手段と、
前記登録用パケットを受信したときに、当該登録用パケットのヘッダに含まれる前記端末情報が前記端末一覧情報記憶部に記憶されているか否か判別し、記憶されていないと判別したときには、前記登録用パケットのヘッダに含まれる前記端末情報に対応付けた更新・削除タイマーに前記登録用パケットのヘッダに含まれる前記生存時間を設定して、当該更新・削除タイマーをスタートさせ、前記判別の結果、前記端末情報が前記端末一覧情報記憶部に記憶されていると判別したときには、前記登録用パケットのヘッダに含まれる前記端末情報に対応付けた前記更新・削除タイマーをリセットし、更に、前記登録用パケットの送信元の前記IP電話端末に対して、当該時点で自端末の前記端末一覧情報記憶部に記憶されている全ての前記IP電話端末の前記端末情報をヘッダに含めた応答のパケットを送信すると共に、前記登録用パケットのヘッダに含まれる前記端末情報を、自端末の前記端末一覧情報記憶部に記憶する手段と、
前記端末情報に対応付けた前記更新・削除タイマーのそれぞれについて、そのタイマー時間が前記生存時間を超えているか否かを判別し、前記タイマー時間が生存時間を超えた前記更新・削除タイマーを判別したときには、前記更新・削除タイマーに対応付けられている前記端末情報を、前記端末一覧情報記憶部から削除すると共に、前記削除した前記端末情報を含めた離脱要求のためのパケットを生成して、前記削除後の前記端末一覧情報記憶部に記憶されている前記端末情報で示される前記IP電話端末の全てに対して送信する手段と、
前記離脱要求のためのパケットを受信したときには、受信した前記離脱要求のためのパケットに含まれる前記端末情報を、自端末の前記端末一覧情報記憶部から削除する手段と、
を備えることを特徴とするIP電話システムを提供する。
In order to solve the above problems, the present invention provides:
A telephone system comprising only a plurality of IP telephone terminals connected to an IP (Internet Protocol) network,
Each of the IP telephone terminals
The IP terminal information associating the IP address on the network, all mutually communicable connected on the IP network IP identification information and those the IP telephone terminal for identifying the IP telephone terminal Rutotomoni with terminal-list information storage unit for storing the telephone terminal,
When short predetermined time interval than the survival time in the IP network of the terminal in a state and connected to the IP network when connected to the IP network has elapsed, the terminal information of the own terminal A registration packet including the lifetime information in a header is sent to the IP network, and a response packet sent from the other IP telephone terminal in the IP network is sent to the registration packet. Means for receiving and updating the terminal list information storage unit of the terminal with the terminal information included in the response packet;
When the registration packet is received, it is determined whether or not the terminal information included in the header of the registration packet is stored in the terminal list information storage unit. Setting the lifetime included in the header of the registration packet in the update / delete timer associated with the terminal information included in the header of the packet, starting the update / delete timer, the determination result, When it is determined that the terminal information is stored in the terminal list information storage unit, the update / delete timer associated with the terminal information included in the header of the registration packet is reset, and further, the registration information For the IP telephone terminal that is the source of the packet, all the IP stored in the terminal list information storage unit of the own terminal at that time Transmits a packet of the response to the terminal information included in the header of the talk terminal, the terminal information included in the header of the registration packet, means for storing in the terminal list information storage unit of its own terminal,
For each of the update / deletion timers associated with the terminal information, it is determined whether the timer time exceeds the survival time, and the update / deletion timer whose timer time exceeds the survival time is determined. Sometimes, the terminal information associated with the update / deletion timer is deleted from the terminal list information storage unit, and a packet for a withdrawal request including the deleted terminal information is generated, Means for transmitting to all of the IP telephone terminals indicated by the terminal information stored in the terminal list information storage unit after deletion;
Means for deleting the terminal information included in the received packet for leaving request from the terminal list information storage unit of the terminal when receiving the packet for leaving request;
Providing an IP telephone system comprising: a.

この発明によるIP電話システムを構成するIP電話端末は、IPネットワークに接続されたときに、自端末についての端末情報(IP電話端末を識別するための識別情報と、当該IP電話端末の前記IPネットワーク上のIPアドレスとを対応付けた情報)をヘッダに含めた登録用パケットをIPネットワークに送出する。   When the IP telephone terminal constituting the IP telephone system according to the present invention is connected to the IP network, the terminal information about the terminal itself (identification information for identifying the IP telephone terminal and the IP network of the IP telephone terminal) A registration packet including the header in the information associated with the above IP address) is sent to the IP network.

IPネットワークに既に接続されているIP電話端末は、直接に、あるいは、他のIP電話端末により転送されたものとして、この登録用パケットを受信する。そして、登録用パケットを受け取ったIP電話端末のそれぞれは、それぞれ自端末の端末一覧情報記憶部に、登録用パケットのヘッダに含まれている、IPネットワークに接続してきたIP電話端末の端末情報を追加記憶するようにする。   The IP telephone terminal already connected to the IP network receives this registration packet either directly or as transferred by another IP telephone terminal. Then, each IP telephone terminal that has received the registration packet stores the terminal information of the IP telephone terminal connected to the IP network included in the header of the registration packet in the terminal list information storage unit of each terminal. Add additional memory.

また、登録用パケットを受け取ったIP電話端末の1つは、登録用パケットの送信元のIP電話端末に対して、当該時点で自端末の端末一覧情報記憶部に記憶されている全てのIP電話端末の端末情報をヘッダに含めた応答のパケットを送信する。   Also, one of the IP telephone terminals that received the registration packet sends all the IP telephones stored in the terminal list information storage unit of the terminal at that time to the IP telephone terminal that is the transmission source of the registration packet. A response packet including the terminal information of the terminal in the header is transmitted.

登録用パケットを送出したIP電話端末は、この応答のパケットを受信し、そのヘッダに含まれている端末情報の全てを、自端末の端末一覧情報記憶部に記憶するようにする。   The IP telephone terminal that has transmitted the registration packet receives the response packet, and stores all of the terminal information included in the header in the terminal list information storage unit of the own terminal.

これにより、この発明によるIP電話システムにおいては、IP電話端末のそれぞれの端末一覧情報記憶部には、IPネットワークに接続される、当該IP電話システムを構成する全てのIP電話端末の端末情報が、共通に記憶されることになる。   Thereby, in the IP telephone system according to the present invention, the terminal list information storage unit of each IP telephone terminal stores the terminal information of all IP telephone terminals constituting the IP telephone system connected to the IP network. It will be stored in common.

したがって、この端末一覧情報記憶部に記憶された端末情報を用いることにより、IP電話端末で、発着信時の呼接続制御(アドレス解決)をすることができる。つまり、SIPサーバを用いることなく、電話通信を可能にするIP電話システムを構築することができる。   Therefore, by using the terminal information stored in the terminal list information storage unit, the IP telephone terminal can perform call connection control (address resolution) at the time of outgoing / incoming call. That is, it is possible to construct an IP telephone system that enables telephone communication without using a SIP server.

この発明によれば、SIPサーバを用いることなく、電話通信を可能にするIP電話システムを構築することができる。   According to the present invention, it is possible to construct an IP telephone system that enables telephone communication without using a SIP server.

この発明によるIP電話システムの実施形態の構成例を示すブロック図である。It is a block diagram which shows the structural example of embodiment of the IP telephone system by this invention. 実施形態のIP電話システムを構成するIP電話端末の構成例を示すブロック図である。It is a block diagram which shows the structural example of the IP telephone terminal which comprises the IP telephone system of embodiment. 実施形態のIP電話システムを構成するIP電話端末のIPネットワークへの接続時のシーケンス例を示す図である。It is a figure which shows the example of a sequence at the time of the connection to the IP network of the IP telephone terminal which comprises the IP telephone system of embodiment. 実施形態のIP電話システムを構成するIP電話端末のIPネットワークへの接続時のシーケンス例を示す図である。It is a figure which shows the example of a sequence at the time of the connection to the IP network of the IP telephone terminal which comprises the IP telephone system of embodiment. 図4のシーケンス例の続きを示す図である。FIG. 5 is a diagram showing a continuation of the sequence example of FIG. 4. 実施形態のIP電話システムを構成するIP電話端末のIPネットワークへの接続時のシーケンス例を示す図である。It is a figure which shows the example of a sequence at the time of the connection to the IP network of the IP telephone terminal which comprises the IP telephone system of embodiment. 図6のシーケンス例の続きを示す図である。FIG. 7 is a diagram showing a continuation of the sequence example of FIG. 6. 実施形態のIP電話システムを構成するIP電話端末のIP電話システムからの離脱時のシーケンス例を示す図である。It is a figure which shows the example of a sequence at the time of detachment | leave from the IP telephone system of the IP telephone terminal which comprises the IP telephone system of embodiment. 実施形態のIP電話システムを構成するIP電話端末のIP電話システムからの離脱時のシーケンス例を示す図である。It is a figure which shows the example of a sequence at the time of detachment | leave from the IP telephone system of the IP telephone terminal which comprises the IP telephone system of embodiment. 図9のシーケンス例の続きを示す図である。FIG. 10 is a diagram showing a continuation of the sequence example of FIG. 9. 実施形態のIP電話システムを構成するIP電話端末の自動更新のシーケンス例を示す図である。It is a figure which shows the example of a sequence of the automatic update of the IP telephone terminal which comprises the IP telephone system of embodiment. 実施形態のIP電話システムを構成するIP電話端末の自動削除のシーケンス例を示す図である。It is a figure which shows the example of a sequence of the automatic deletion of the IP telephone terminal which comprises the IP telephone system of embodiment. 実施形態のIP電話システムを構成するIP電話端末の端末情報が変更された時のシーケンス例を示す図である。It is a figure which shows the example of a sequence when the terminal information of the IP telephone terminal which comprises the IP telephone system of embodiment is changed. 図13のシーケンス例の続きを示す図である。It is a figure which shows the continuation of the sequence example of FIG. 実施形態のIP電話システムを構成するIP電話端末の処理動作を説明するためのフローチャートである。It is a flowchart for demonstrating the processing operation | movement of the IP telephone terminal which comprises the IP telephone system of embodiment. 実施形態のIP電話システムを構成するIP電話端末の処理動作を説明するためのフローチャートである。It is a flowchart for demonstrating the processing operation | movement of the IP telephone terminal which comprises the IP telephone system of embodiment. 実施形態のIP電話システムを構成するIP電話端末の処理動作を説明するためのフローチャートである。It is a flowchart for demonstrating the processing operation | movement of the IP telephone terminal which comprises the IP telephone system of embodiment. 実施形態のIP電話システムを構成するIP電話端末の処理動作を説明するためのフローチャートである。It is a flowchart for demonstrating the processing operation | movement of the IP telephone terminal which comprises the IP telephone system of embodiment. 実施形態のIP電話システムを構成するIP電話端末の処理動作を説明するためのフローチャートである。It is a flowchart for demonstrating the processing operation | movement of the IP telephone terminal which comprises the IP telephone system of embodiment. 実施形態のIP電話システムを構成するIP電話端末の処理動作を説明するためのフローチャートである。It is a flowchart for demonstrating the processing operation | movement of the IP telephone terminal which comprises the IP telephone system of embodiment. 実施形態のIP電話システムを構成するIP電話端末の処理動作を説明するためのフローチャートである。It is a flowchart for demonstrating the processing operation | movement of the IP telephone terminal which comprises the IP telephone system of embodiment. 実施形態のIP電話システムを構成するIP電話端末からの発呼時のシーケンス例を示す図である。It is a figure which shows the example of a sequence at the time of the call origination from the IP telephone terminal which comprises the IP telephone system of embodiment. 実施形態のIP電話システムを構成するIP電話端末からの発呼時のシーケンスの他の例を示す図である。It is a figure which shows the other example of the sequence at the time of the call origination from the IP telephone terminal which comprises the IP telephone system of embodiment. 実施形態のIP電話システムを構成するIP電話端末からの発呼時のシーケンスのさらに例を示す図である。It is a figure which shows the further example of the sequence at the time of the call origination from the IP telephone terminal which comprises the IP telephone system of embodiment. 実施形態のIP電話システムを構成するIP電話端末の発信時の処理動作を説明するためのフローチャートである。It is a flowchart for demonstrating the processing operation at the time of the transmission of the IP telephone terminal which comprises the IP telephone system of embodiment. 実施形態のIP電話システムを構成するIP電話端末の発信時の処理動作を説明するためのフローチャートである。It is a flowchart for demonstrating the processing operation at the time of the transmission of the IP telephone terminal which comprises the IP telephone system of embodiment. 実施形態のIP電話システムを構成するIP電話端末の着信時の処理動作を説明するためのフローチャートである。It is a flowchart for demonstrating the processing operation at the time of the incoming call of the IP telephone terminal which comprises the IP telephone system of embodiment.

以下、この発明によるIP電話システムの実施形態について、図を参照しながら説明する。   Embodiments of an IP telephone system according to the present invention will be described below with reference to the drawings.

図1は、この発明の実施形態が適用されるIP電話システムのシステム構成例を示す図である。この図1の例のIP電話システムは、IPネットワーク1に、複数台のIP電話端末2,2,・・・が接続されて構成される。この図1に示されるように、この実施形態のIP電話システムは、SIPサーバは備えない。   FIG. 1 is a diagram showing a system configuration example of an IP telephone system to which an embodiment of the present invention is applied. The IP telephone system of the example of FIG. 1 is configured by connecting a plurality of IP telephone terminals 2, 2,. As shown in FIG. 1, the IP telephone system of this embodiment does not include a SIP server.

[IP電話端末2の構成例]
図2は、この実施形態におけるIP電話端末2の構成例を示すブロック図である。
[Configuration example of IP telephone terminal 2]
FIG. 2 is a block diagram showing a configuration example of the IP phone terminal 2 in this embodiment.

この実施形態のIP電話端末2は、システムバス100に対して、CPU(Central Processing Unit)101、プログラム記憶用ROM(Read Only Memory)102、ワークエリア用RAM(Random Access Memory)103、電話通信用インターフェース104、パケット処理部105、通話音声入出力インターフェース106、操作入力インターフェース107、ディスプレイコントローラ108、のそれぞれが接続されている。   The IP telephone terminal 2 of this embodiment is connected to a system bus 100 with a CPU (Central Processing Unit) 101, a program storage ROM (Read Only Memory) 102, a work area RAM (Random Access Memory) 103, and telephone communication. The interface 104, the packet processing unit 105, the call voice input / output interface 106, the operation input interface 107, and the display controller 108 are connected to each other.

また、この実施形態では、システムバス100には、さらに、端末一覧情報記憶部109、登録時相手先記憶部110、電話帳メモリ111、更新・削除監視タイマー112、自端末更新タイマー113、が接続されている。   In this embodiment, the system bus 100 is further connected with a terminal list information storage unit 109, a registered partner storage unit 110, a telephone directory memory 111, an update / deletion monitoring timer 112, and a local terminal update timer 113. Has been.

CPU101は、ROM102に記憶されているプログラムに従って、以下に説明するような種々の処理を、RAM103をワークエリアとして用いてソフトウエア処理として実行する。   The CPU 101 executes various processes described below as software processes using the RAM 103 as a work area in accordance with a program stored in the ROM 102.

電話通信用インターフェース104は、IPネットワーク1に接続される。   The telephone communication interface 104 is connected to the IP network 1.

パケット処理部105は、電話通信用インターフェース104を通じて受信した呼制御用パケットや受話音声のパケットを分解して呼制御情報や受話音声信号を得、システムバス100に送出する。CPU101は、システムバス100に送出された呼制御情報を解析して、対応する呼制御処理を行う。また、システムバス100に送出された受話音声信号は、通話音声入出力インターフェース106を通じてハンドセットHSに送られる。   The packet processing unit 105 disassembles the call control packet and received voice packet received through the telephone communication interface 104 to obtain call control information and a received voice signal, and sends them to the system bus 100. The CPU 101 analyzes call control information sent to the system bus 100 and performs corresponding call control processing. Also, the received voice signal sent to the system bus 100 is sent to the handset HS through the call voice input / output interface 106.

パケット処理部105は、また、CPU101の制御に従って送信用の呼制御用パケットを生成し、あるいは通話音声入出力インターフェース106を通じて取り込まれた送話音声信号から送話音声パケットを生成して、システムバス100に送出する。これら送信用の呼制御用パケットおよび送話音声パケットは、CPU101の制御に従って電話通信用インターフェース104を通じて送信される。   The packet processing unit 105 also generates a call control packet for transmission in accordance with the control of the CPU 101, or generates a transmission voice packet from a transmission voice signal captured through the call voice input / output interface 106, and the system bus To 100. These transmission call control packets and transmission voice packets are transmitted through the telephone communication interface 104 under the control of the CPU 101.

通話音声入出力インターフェース106は、ハンドセットHSに接続されている。相手からの受話音声の音声信号は、CPU101の制御に従い、通話音声入出力インターフェース106を通じてハンドセットHSの受話器に供給される。また、ハンドセットHSの送話器のマイクロホンで収音された送話音声の音声信号は、CPU101の制御に従い、通話音声入出力インターフェース106を通じてシステムバス100に送出され、電話通信用インターフェース104を通じて相手方に送信される。   The call voice input / output interface 106 is connected to the handset HS. The voice signal of the received voice from the other party is supplied to the handset HS handset through the call voice input / output interface 106 under the control of the CPU 101. Also, the voice signal of the transmission voice collected by the microphone of the handset HS transmitter is sent to the system bus 100 through the call voice input / output interface 106 under the control of the CPU 101, and sent to the other party through the telephone communication interface 104. Sent.

操作入力インターフェース107には、テンキーやその他のファンクションキーなどを有する操作入力部114が接続されている。操作入力部114を通じてユーザによりキー入力操作が行われると、そのキー操作信号が操作入力インターフェース104を通じてシステムバス100に送られる。CPU101は、操作入力インターフェース107を通じてシステムバス100に送出されたキー操作信号から、いずれの操作キーが操作されたかを判別し、その判別結果に応じた処理を行うようにする。   An operation input unit 114 having a numeric keypad and other function keys is connected to the operation input interface 107. When a user performs a key input operation through the operation input unit 114, the key operation signal is sent to the system bus 100 through the operation input interface 104. The CPU 101 determines which operation key is operated from a key operation signal sent to the system bus 100 through the operation input interface 107, and performs processing according to the determination result.

ディスプレイコントローラ108には、例えばLCD(Liquid Crystal Display)からなるディスプレイ115が接続されており、CPU101による表示制御にしたがって、ディスプレイ115の表示画面に種々の表示がなされる。   A display 115 made of, for example, an LCD (Liquid Crystal Display) is connected to the display controller 108, and various displays are made on the display screen of the display 115 according to display control by the CPU 101.

端末一覧情報記憶部109は、IPネットワーク1に接続される、この実施形態のIP電話システムを構成する全てのIP電話端末2の端末識別情報とそのIPアドレスとを記憶する。この明細書では、IP電話端末2の端末識別情報とIPアドレスとの対の情報を含むものをIP電話端末2の端末情報と呼ぶ。つまり、端末一覧情報記憶部109には、この実施形態のIP電話システムを構成する全てのIP電話端末2の端末情報が記憶される。どのようにして、この端末一覧情報記憶部109に、全てのIP電話端末の端末情報が記憶されるかは、後で詳細に説明する。   The terminal list information storage unit 109 stores terminal identification information and IP addresses of all IP telephone terminals 2 that are connected to the IP network 1 and constitute the IP telephone system of this embodiment. In this specification, information including a pair of terminal identification information and IP address of the IP telephone terminal 2 is called terminal information of the IP telephone terminal 2. That is, the terminal list information storage unit 109 stores the terminal information of all IP telephone terminals 2 constituting the IP telephone system of this embodiment. How terminal information of all IP telephone terminals is stored in the terminal list information storage unit 109 will be described in detail later.

IP電話端末2の端末識別情報は、IP電話端末2のそれぞれを識別するための情報であり、例えば、MAC(Media Access Control)アドレス、電話番号(内線番号)、ユーザ名、端末製造番号、など当該IP電話端末2を識別することができるものであれば良い。以下に説明する例では、このIP電話端末2の端末識別情報は、電話番号(内線番号)を用いている。   The terminal identification information of the IP telephone terminal 2 is information for identifying each of the IP telephone terminals 2, for example, a MAC (Media Access Control) address, a telephone number (extension number), a user name, a terminal manufacturing number, etc. Any device capable of identifying the IP telephone terminal 2 may be used. In the example described below, the terminal identification information of the IP telephone terminal 2 uses a telephone number (extension number).

登録時相手先記憶部110は、それぞれのIP電話端末2が、IPネットワーク1に、登録要求のための「Register」メッセージ(パケット)を送出する際の相手先のIP電話端末2の宛先情報を記憶する。この例では、登録時相手先記憶部110には、相手先のIP電話端末2の端末情報が、宛先情報として記憶される。   The registration destination storage unit 110 stores the destination information of the destination IP telephone terminal 2 when each IP telephone terminal 2 sends a “Register” message (packet) for a registration request to the IP network 1. Remember. In this example, terminal information of the destination IP telephone terminal 2 is stored as destination information in the registration destination storage unit 110.

電話帳メモリ111は、電話通信の相手先の名称と、相手宛先情報とからなる電話帳情報を記憶する。この実施形態では、端末一覧情報記憶部109には、IPネットワーク1に接続される全てのIP電話端末2の端末情報が記憶されるので、この端末一覧情報記憶部109に記憶されているIP電話端末の端末情報が用いられて、電話帳メモリ111の電話帳情報は、簡単に作成される。例えば、端末一覧情報記憶部109に記憶されている端末情報の一覧から、ユーザが必要とする内線番号の端末情報を選択し、その選択した端末情報に対して、相手名称を登録入力することで、電話帳情報が作成可能である。   The phone book memory 111 stores phone book information including the name of the other party of the telephone communication and the destination address information. In this embodiment, since terminal information of all IP telephone terminals 2 connected to the IP network 1 is stored in the terminal list information storage unit 109, the IP telephones stored in the terminal list information storage unit 109 are stored. Using the terminal information of the terminal, the phone book information in the phone book memory 111 is easily created. For example, by selecting terminal information of an extension number required by the user from a list of terminal information stored in the terminal list information storage unit 109 and registering and inputting the partner name for the selected terminal information. Phone book information can be created.

更新・削除監視タイマー112は、後述するように、IPネットワーク1に接続されている、この実施形態のIP電話システムを構成するIP電話端末2が、IPネットワーク1に、正常に動作することができる状態で接続される状態を維持しているか否かを監視するためのタイマーである。この更新・削除監視タイマー112は、この実施形態では、端末一覧情報記憶部109に記憶されている自端末以外のIP電話端末のそれぞれについて、別々に設けられるものである。この更新・削除監視タイマー112の動作については後述する。   As will be described later, the update / deletion monitoring timer 112 can operate normally in the IP network 1 when the IP telephone terminal 2 that is connected to the IP network 1 and constitutes the IP telephone system of this embodiment. This is a timer for monitoring whether or not the state connected in the state is maintained. In this embodiment, the update / deletion monitoring timer 112 is provided separately for each IP telephone terminal other than the own terminal stored in the terminal list information storage unit 109. The operation of the update / deletion monitoring timer 112 will be described later.

自端末更新タイマー113は、IPネットワーク1に自端末が接続された後、自動更新するタイミングをタイマー管理するためのタイマーである。   The own terminal update timer 113 is a timer for managing the timing of automatic update after the own terminal is connected to the IP network 1.

[IP電話システムにおけるIP電話端末2の動作]
<IP電話端末2のIPネットワーク1への接続時の動作>
IP電話端末2は、IPネットワーク1に接続されると、当該接続されたことを周知の接続検知手法により検知し、IPネットワーク1に対して、相手先を指定した「Register」メッセージを自動送出する。この「Register」メッセージのパケットのヘッダフィールドの「Contact」ヘッダには、送信元のIP電話端末2の端末情報が含められる。
[Operation of IP Phone Terminal 2 in IP Phone System]
<Operation when IP telephone terminal 2 is connected to IP network 1>
When the IP telephone terminal 2 is connected to the IP network 1, the IP telephone terminal 2 detects the connection by a known connection detection method, and automatically sends a “Register” message designating the other party to the IP network 1. . The “Contact” header of the header field of the packet of the “Register” message includes the terminal information of the IP telephone terminal 2 that is the transmission source.

そして、この実施形態では、この「Register」メッセージの自動送出を契機とした、以下に説明するようなシーケンスが実行されて、IPネットワーク1に既に接続されているIP電話端末2は、新規に接続されたIP電話端末2の端末情報を端末一覧情報記憶部109に追加記憶し、また、新規に接続されたIP電話端末2は、既に接続されている全てのIP電話端末2の端末情報を、端末一覧情報記憶部109に追加記憶する。   In this embodiment, the IP telephone terminal 2 already connected to the IP network 1 is newly connected by executing the sequence described below triggered by the automatic transmission of the “Register” message. The terminal information of the IP telephone terminals 2 thus added is additionally stored in the terminal list information storage unit 109, and the newly connected IP telephone terminal 2 stores the terminal information of all the IP telephone terminals 2 already connected, It is additionally stored in the terminal list information storage unit 109.

ただし、IPネットワーク1に最初に接続される1台目のIP電話端末2(これを以下IP電話端末2Aとする)では、相手のIP電話端末2が存在しないので、以下の接続時のシーケンス動作は行われない。   However, in the first IP telephone terminal 2 (hereinafter referred to as IP telephone terminal 2A) that is connected to the IP network 1 first, there is no other IP telephone terminal 2, so the following sequence operation at the time of connection is as follows: Is not done.

〔2台目のIP電話端末2のIPネットワーク1への接続時〕
図3は、IPネットワーク1に対して、2台目のIP電話端末2(これを以下IP電話端末2Bとする)が接続されたときのシーケンス図である。
[When the second IP telephone terminal 2 is connected to the IP network 1]
FIG. 3 is a sequence diagram when a second IP telephone terminal 2 (hereinafter referred to as IP telephone terminal 2B) is connected to the IP network 1.

図3の例では、右側のIP電話端末2Aは、内線番号が「1001」で、IPアドレスが「192.168.0.1」であり、IPネットワーク1に対して既に接続されているものとしている。左側のIP電話端末2Bは、内線番号が「1002」で、IPアドレスが「192.168.0.2」であり、新規にIPネットワーク1に接続されたものである。   In the example of FIG. 3, it is assumed that the IP telephone terminal 2A on the right side has an extension number “1001”, an IP address “192.168.0.1”, and is already connected to the IP network 1. Yes. The left IP telephone terminal 2B has an extension number of “1002” and an IP address of “192.168.0.2” and is newly connected to the IP network 1.

なお、図3における吹き出し状部分109Fは、IP電話端末2のそれぞれが備える端末一覧情報記憶部109の記憶内容を示すものである。後述する他のシーケンス図においても同様である。なお、端末一覧情報記憶部109のそれぞれには、初期状態においては、自端末の端末情報のみが記憶されている。   Note that the balloon-shaped portion 109F in FIG. 3 indicates the stored contents of the terminal list information storage unit 109 provided in each IP telephone terminal 2. The same applies to other sequence diagrams to be described later. Each terminal list information storage unit 109 stores only terminal information of its own terminal in the initial state.

新規にIPネットワーク1に接続される内線番号「1002」のIP電話端末2Bにおいては、IPネットワーク1への接続前に、あるいは、IPネットワーク1に接続された後に、操作入力部114を通じて、接続登録用の「Register」メッセージの送り先として、内線番号「1001」のIP電話端末2Aの宛先情報(IPアドレスを含む)が入力され、登録時相手先記憶部110に記憶される。   In the IP telephone terminal 2B having the extension number “1002” newly connected to the IP network 1, connection registration is performed through the operation input unit 114 before connection to the IP network 1 or after connection to the IP network 1. The destination information (including the IP address) of the IP telephone terminal 2A having the extension number “1001” is input as the destination of the “Register” message for use, and stored in the destination storage unit 110 at the time of registration.

そして、IPネットワーク1に、内線番号「1002」のIP電話端末2Bが接続されると、当該IP電話端末2Bは、前述したように、当該接続を自動検出し、登録時相手先記憶部110に記憶されている宛先情報を読み出して、当該宛先情報で示される内線番号「1001」のIP電話端末2Aに、IPネットワーク1を通じて、接続登録用の「Register」メッセージを送る。   Then, when the IP telephone terminal 2B with the extension number “1002” is connected to the IP network 1, the IP telephone terminal 2B automatically detects the connection as described above and stores it in the registration destination storage unit 110. The stored destination information is read, and a “Register” message for connection registration is sent through the IP network 1 to the IP telephone terminal 2A having the extension number “1001” indicated by the destination information.

このとき、図3に示すように、この接続登録用の「Register」メッセージのパケットのヘッダフィールドの「Contact」ヘッダには、自IP電話端末2Bの端末情報「1002@192.168.0.2」が記述されている。なお、この「1002@192.168.0.2」なる記述は、SIPアドレスに対応しており、@の前の情報は、SIPアドレスではユーザ名と呼ばれる。   At this time, as shown in FIG. 3, in the “Contact” header of the header field of the “Register” message for connection registration, the terminal information “1002@192.168.0.2” of the own IP telephone terminal 2B is displayed. Is described. The description “1002@192.168.0.2” corresponds to the SIP address, and the information before the @ is called a user name in the SIP address.

また、「Register」メッセージのヘッダフィールドの「TTL(Time-to-live)」の値は、1回の転送を行わせるために「2」とされる。その他は、通常用いられる「Register」メッセージのパケットと同様とされる。   Also, the value of “TTL (Time-to-live)” in the header field of the “Register” message is set to “2” in order to perform one transfer. Others are the same as the packet of the “Register” message that is normally used.

IP電話端末2Aは、この「Register」メッセージを受け取ると、そのヘッダフィールドのTTLの値から1を減算した結果が、TTL=1であることから、端末一覧情報記憶部109に記憶されている他のIP電話端末2に、受信した「Register」メッセージを転送しようとするが、ここでは、端末一覧情報記憶部109には、他のIP電話端末が記憶されていないため、転送はしない。   When IP phone terminal 2A receives this “Register” message, the result of subtracting 1 from the TTL value of its header field is TTL = 1, so that the other stored in terminal list information storage unit 109 The received “Register” message is to be transferred to the IP telephone terminal 2, but here, since no other IP telephone terminals are stored in the terminal list information storage unit 109, no transfer is performed.

次に、IP電話端末2Aは、自端末の端末一覧情報記憶部109に記憶されている端末情報の全てを、ヘッダフィールドの「Contact」ヘッダに記述した「200OK」の応答パケットを、「Register」メッセージの送信元のIP電話端末2Bに送る。   Next, the IP telephone terminal 2A sends a “200 OK” response packet in which all the terminal information stored in the terminal list information storage unit 109 of its own terminal is described in the “Contact” header of the header field to “Register”. The message is sent to the IP telephone terminal 2B that is the sender of the message.

次に、IP電話端末2Aは、受信した「Register」メッセージのパケットのヘッダフィールドの「Contact」ヘッダに記述されているIP電話端末2Bの端末情報を、自端末の端末一覧情報記憶部109に追加記憶する。   Next, IP telephone terminal 2A adds the terminal information of IP telephone terminal 2B described in the “Contact” header of the header field of the received “Register” message packet to terminal list information storage section 109 of its own terminal. Remember.

一方、IP電話端末2Aからの「200OK」の応答パケットを受信した送信元のIP電話端末2Bは、当該「200OK」の応答パケットのヘッダフィールドの「Contact」ヘッダに記述されている端末情報を、自端末の端末一覧情報記憶部109に追加記憶する。   On the other hand, the source IP telephone terminal 2B that has received the “200 OK” response packet from the IP telephone terminal 2A receives the terminal information described in the “Contact” header of the header field of the “200 OK” response packet, It is additionally stored in the terminal list information storage unit 109 of the own terminal.

以上のようにして、2個のIP電話端末2A,2Bのそれぞれの端末一覧情報記憶部109の内容は、それぞれのIP電話端末の端末情報が追加されることで、全く同一となる。   As described above, the contents of the terminal list information storage unit 109 of each of the two IP telephone terminals 2A and 2B are exactly the same as the terminal information of each IP telephone terminal is added.

〔3台目のIP電話端末2のIPネットワーク1への接続時の動作〕
図4およびその続きである図5は、IPネットワーク1に対して、3台目のIP電話端末2(これを以下IP電話端末2Cとする)が接続されたときのシーケンス図である。この例では、3台目のIP電話端末2Cは、内線番号が「1003」で、IPアドレスが「192.168.0.3」である。
[Operation when the third IP telephone terminal 2 is connected to the IP network 1]
4 and subsequent FIG. 5 are sequence diagrams when a third IP telephone terminal 2 (hereinafter referred to as IP telephone terminal 2C) is connected to the IP network 1. FIG. In this example, the third IP telephone terminal 2C has an extension number of “1003” and an IP address of “192.168.0.3”.

新規にIPネットワーク1に接続される内線番号「1003」のIP電話端末2Cにおいては、前記のIP電話端末2Bの場合と同様に、IPネットワーク1への接続前に、あるいは、IPネットワーク1に接続された後に、操作入力部114を通じて、接続登録用の「Register」メッセージの送り先が入力され、登録時相手先記憶部110に記憶される。この例においては、内線番号「1002」のIP電話端末2Bの宛先情報が、IP電話端末2Cの登録時相手先情報として入力され、IP電話端末2Cの登録時相手先記憶部110に記憶される。   In the IP telephone terminal 2C having the extension number “1003” newly connected to the IP network 1, it is connected to the IP network 1 before or to the IP network 1, as in the case of the IP telephone terminal 2B. After that, the destination of the “Register” message for connection registration is input through the operation input unit 114 and stored in the registration destination storage unit 110. In this example, the destination information of the IP telephone terminal 2B having the extension number “1002” is input as the destination information when registering the IP telephone terminal 2C and stored in the destination storage unit 110 when registering the IP phone terminal 2C. .

そして、IPネットワーク1に、このIP電話端末2Cが接続されると、当該IP電話端末2Cは、前述したように、当該接続を自動検出し、登録時相手先記憶部110に記憶されている宛先情報を読み出して、当該宛先情報で示される内線番号「1002」のIP電話端末2Bに、IPネットワーク1を通じて、接続登録用の「Register」メッセージを送る。   When the IP telephone terminal 2C is connected to the IP network 1, the IP telephone terminal 2C automatically detects the connection and stores the destination stored in the registration destination storage unit 110 as described above. The information is read, and a “Register” message for connection registration is sent through the IP network 1 to the IP telephone terminal 2B having the extension number “1002” indicated by the destination information.

このとき、図4に示すように、この接続登録用の「Register」メッセージのパケットのヘッダフィールドの「Contact」ヘッダには、自IP電話端末2Cの端末情報「1003@192.168.0.3」が、記述されている。また、ヘッダフィールドの「TTL(Time-to-live)」の値は、「2」とされる。その他は、通常用いられる「Register」メッセージのパケットと同様である。   At this time, as shown in FIG. 4, the “Contact” header of the header field of the packet of the “Register” message for connection registration contains the terminal information “1003@192.168.0.3” of the IP phone terminal 2C. Is described. The value of “TTL (Time-to-live)” in the header field is “2”. Others are the same as the packet of the “Register” message that is normally used.

IP電話端末2Bは、この「Register」メッセージを受け取ると、そのヘッダフィールドのTTLの値から1を減算した結果が、TTL=1であることから、端末一覧情報記憶部109に記憶されている他のIP電話端末を探す。ここでは、他のIP電話端末とは、端末一覧情報記憶部109に記憶されている端末情報一覧のうちの、自端末以外のIP電話端末である。   Upon receiving this “Register” message, the IP telephone terminal 2B subtracts 1 from the TTL value of its header field, so that TTL = 1, so that the other stored in the terminal list information storage unit 109 Search for IP phone terminals. Here, the other IP telephone terminals are IP telephone terminals other than the own terminal in the terminal information list stored in the terminal list information storage unit 109.

当該他のIP電話端末の探索の結果、この例では、IP電話端末2Aが他の端末として見つかるので、IP電話端末2Bは、当該IP電話端末2Aに、受信した「Register」メッセージを転送する。この際に、転送する「Register」メッセージのヘッダフィールドのTTLは、元の「Register」のTTLの値から1を減算した値とし、ここでは、TTL=1とする。   As a result of the search for the other IP telephone terminal, in this example, the IP telephone terminal 2A is found as another terminal, so the IP telephone terminal 2B transfers the received “Register” message to the IP telephone terminal 2A. At this time, the TTL of the header field of the “Register” message to be transferred is a value obtained by subtracting 1 from the TTL value of the original “Register”, and here, TTL = 1.

次に、IP電話端末2Bは、自端末の端末一覧情報記憶部109に記憶されている端末情報の全てを、ヘッダフィールドの「Contact」ヘッダに記述した「200OK」の応答パケットを、「Register」メッセージの送信元のIP電話端末2Cに送る。   Next, the IP telephone terminal 2B sends a response packet of “200 OK” in which all the terminal information stored in the terminal list information storage unit 109 of the own terminal is described in the “Contact” header of the header field to “Register”. The message is sent to the IP telephone terminal 2C that is the source of the message.

次に、IP電話端末2Bは、受信した「Register」メッセージのパケットのヘッダフィールドの「Contact」ヘッダに記述されているIP電話端末2Cの端末情報を、自端末の端末一覧情報記憶部109に追加記憶する。   Next, IP telephone terminal 2B adds the terminal information of IP telephone terminal 2C described in the “Contact” header of the header field of the received “Register” message packet to terminal list information storage section 109 of the own terminal. Remember.

一方、IP電話端末2Bからの「200OK」の応答パケットを受信した送信元のIP電話端末2Cは、当該「200OK」の応答パケットのヘッダフィールドの「Contact」ヘッダに記述されている全ての端末情報を、自端末の端末一覧情報記憶部109に追加記憶する(図5参照)。   On the other hand, the source IP telephone terminal 2C that has received the “200 OK” response packet from the IP telephone terminal 2B receives all terminal information described in the “Contact” header of the header field of the “200 OK” response packet. Is additionally stored in the terminal list information storage unit 109 of the own terminal (see FIG. 5).

また、IP電話端末2Bからの「Register」メッセージの転送を受けたIP電話端末2Aは、そのヘッダフィールドのTTLの値から1を減算した結果が、TTL=0であることから、さらなる転送は不要と判断する。   The IP telephone terminal 2A that has received the transfer of the “Register” message from the IP telephone terminal 2B does not need further transfer because the result of subtracting 1 from the TTL value in the header field is TTL = 0. Judge.

そして、IP電話端末2Aは、自端末の端末一覧情報記憶部109に記憶されている端末情報の全てを、ヘッダフィールドの「Contact」ヘッダに記述した「200OK」の応答パケットを、その送信元、つまり転送元のIP電話端末2Bに送る。   The IP telephone terminal 2A then sends a response packet of “200 OK” in which all the terminal information stored in the terminal list information storage unit 109 of the own terminal is described in the “Contact” header of the header field, That is, it is sent to the IP telephone terminal 2B as the transfer source.

次に、IP電話端末2Aは、受信した「Register」メッセージのパケットのヘッダフィールドの「Contact」ヘッダに記述されているIP電話端末2Cの端末情報を、自端末の端末一覧情報記憶部109に追加記憶する(図5参照)。   Next, IP telephone terminal 2A adds the terminal information of IP telephone terminal 2C described in the “Contact” header of the header field of the received “Register” message packet to terminal list information storage section 109 of its own terminal. Store (see FIG. 5).

そして、IP電話端末2Aからの「200OK」の応答パケットを受信した転送元のIP電話端末2Bは、当該「200OK」の応答パケットのヘッダフィールドの「Contact」ヘッダに記述されている端末情報を、自端末の端末一覧情報記憶部109の記憶内容に追加記憶させる。ここで、転送元のIP電話端末2Bは、転送先からの「200OK」の応答パケットのヘッダフィールドの「Contact」ヘッダに記述されている端末情報と、自端末の端末一覧情報記憶部109の記憶内容とが一致しているときは、当該端末情報を上書きする(図5参照)。   Then, the IP phone terminal 2B that has received the “200OK” response packet from the IP phone terminal 2A receives the terminal information described in the “Contact” header of the header field of the “200OK” response packet. It is additionally stored in the stored contents of the terminal list information storage unit 109 of the own terminal. Here, the IP telephone terminal 2B of the transfer source stores the terminal information described in the “Contact” header of the header field of the “200 OK” response packet from the transfer destination and the storage of the terminal list information storage unit 109 of the own terminal. When the contents match, the terminal information is overwritten (see FIG. 5).

以上のようにして、3台目のIP電話端末2CがIPネットワーク1に接続されたときにも、3個のIP電話端末2A,2B,2Cのそれぞれの端末一覧情報記憶部109の内容は、全く同一となる。   As described above, even when the third IP telephone terminal 2C is connected to the IP network 1, the contents of the terminal list information storage unit 109 of each of the three IP telephone terminals 2A, 2B, 2C are: It will be exactly the same.

〔4台目のIP電話端末2のIPネットワーク1への接続時の動作〕
図6およびその続きである図7は、IPネットワーク1に対して、4台目のIP電話端末2(これを以下IP電話端末2Dとする)が接続されたときのシーケンス図である。この例では、4台目のIP電話端末2Dは、内線番号が「1004」で、IPアドレスが「192.168.0.4」である。
[Operation when the fourth IP telephone terminal 2 is connected to the IP network 1]
FIG. 6 and subsequent FIG. 7 are sequence diagrams when the fourth IP telephone terminal 2 (hereinafter referred to as IP telephone terminal 2D) is connected to the IP network 1. FIG. In this example, the fourth IP telephone terminal 2D has an extension number “1004” and an IP address “192.168.0.4”.

新規にIPネットワーク1に接続される内線番号「1004」のIP電話端末2Dにおいては、前記の場合と同様に、IPネットワーク1への接続前に、あるいは、IPネットワーク1に接続された後に、操作入力部114を通じて、接続登録用の「Register」メッセージの送り先が入力され、登録時相手先記憶部110に記憶される。この例においては、内線番号「1003」のIP電話端末2Cの宛先情報が、IP電話端末2Dの登録時相手先情報として入力され、IP電話端末2Dの登録時相手先記憶部110に記憶される。   In the IP telephone terminal 2D having the extension number “1004” newly connected to the IP network 1, the operation is performed before connection to the IP network 1 or after connection to the IP network 1, as in the above case. The destination of the “Register” message for connection registration is input through the input unit 114 and stored in the registration destination storage unit 110. In this example, the destination information of the IP telephone terminal 2C with the extension number “1003” is input as destination information when registering the IP telephone terminal 2D, and stored in the destination storage unit 110 when registering the IP telephone terminal 2D. .

そして、IPネットワーク1に、このIP電話端末2Dが接続されると、当該IP電話端末2Dは、前述したように、当該接続を自動検出し、登録時相手先記憶部110に記憶されている宛先情報を読み出して、当該宛先情報で示される内線番号「1003」のIP電話端末2Cに、IPネットワーク1を通じて、接続登録用の「Register」メッセージを送る。   When the IP telephone terminal 2D is connected to the IP network 1, the IP telephone terminal 2D automatically detects the connection and stores the destination stored in the registration destination storage unit 110 as described above. The information is read, and a “Register” message for connection registration is sent through the IP network 1 to the IP telephone terminal 2C having the extension number “1003” indicated by the destination information.

このとき、図6に示すように、この接続登録用の「Register」メッセージのパケットのヘッダフィールドの「Contact」ヘッダには、自IP電話端末2Dの端末情報「1004@192.168.0.4」が、記述されている。また、ヘッダフィールドの「TTL」の値は、「2」とされる。その他は、通常用いられる「Register」メッセージのパケットと同様である。   At this time, as shown in FIG. 6, in the “Contact” header of the header field of the “Register” message for connection registration, the terminal information “1004@192.168.0.4” of the own IP telephone terminal 2D is displayed. Is described. The value of “TTL” in the header field is “2”. Others are the same as the packet of the “Register” message that is normally used.

IP電話端末2Cは、この「Register」メッセージを受け取ると、そのヘッダフィールドのTTLの値から1を減算した結果が、TTL=1であることから、端末一覧情報記憶部109に記憶されている他のIP電話端末を探す。すると、IP電話端末2AおよびIP電話端末2Bが他の端末として見つかるので、IP電話端末2Cは、当該IP電話端末2AおよびIP電話端末2Bに、受信した「Register」メッセージを転送する。この際に、転送する「Register」メッセージのヘッダフィールドのTTLは、元の「Register」のTTLの値から1を減算した値とし、ここでは、TTL=1とする。   When IP phone terminal 2C receives this “Register” message, the result of subtracting 1 from the TTL value of its header field is TTL = 1, so that other information stored in terminal list information storage unit 109 is stored. Search for IP phone terminals. Then, since IP telephone terminal 2A and IP telephone terminal 2B are found as other terminals, IP telephone terminal 2C transfers the received “Register” message to IP telephone terminal 2A and IP telephone terminal 2B. At this time, the TTL of the header field of the “Register” message to be transferred is a value obtained by subtracting 1 from the TTL value of the original “Register”, and here, TTL = 1.

次に、IP電話端末2Cは、自端末の端末一覧情報記憶部109に記憶されている端末情報の全てを、ヘッダフィールドの「Contact」ヘッダに記述した「200OK」の応答パケットを、「Register」メッセージの送信元のIP電話端末2Dに送る。   Next, the IP telephone terminal 2C sends a response packet of “200 OK” in which all the terminal information stored in the terminal list information storage unit 109 of its own terminal is described in the “Contact” header of the header field to “Register”. The message is sent to the IP telephone terminal 2D that is the transmission source of the message.

次に、IP電話端末2Cは、受信した「Register」メッセージのパケットのヘッダフィールドの「Contact」ヘッダに記述されているIP電話端末2Dの端末情報を、自端末の端末一覧情報記憶部109に追加記憶する。   Next, IP telephone terminal 2C adds terminal information of IP telephone terminal 2D described in the “Contact” header of the header field of the received “Register” message packet to terminal list information storage section 109 of its own terminal. Remember.

一方、IP電話端末2Cからの「200OK」の応答パケットを受信した送信元のIP電話端末2Dは、当該「200OK」の応答パケットのヘッダフィールドの「Contact」ヘッダに記述されている全ての端末情報を、自端末の端末一覧情報記憶部109に追加記憶する(図7参照)。   On the other hand, the source IP telephone terminal 2D that has received the “200 OK” response packet from the IP telephone terminal 2C receives all the terminal information described in the “Contact” header of the header field of the “200 OK” response packet. Is additionally stored in the terminal list information storage unit 109 of the terminal itself (see FIG. 7).

また、IP電話端末2Cからの「Register」メッセージの転送を受けたIP電話端末2AおよびIP電話端末2Bは、そのヘッダフィールドのTTLの値から1を減算した結果が、TTL=0であることから、転送は不要と判断する。   Further, the IP telephone terminal 2A and the IP telephone terminal 2B that have received the transfer of the “Register” message from the IP telephone terminal 2C have a result of subtracting 1 from the TTL value of the header field, so that TTL = 0. , It is determined that the transfer is unnecessary.

そして、IP電話端末2AおよびIP電話端末2Bのそれぞれは、自端末の端末一覧情報記憶部109に記憶されている端末情報の全てを、ヘッダフィールドの「Contact」ヘッダに記述した「200OK」の応答パケットを、その送信元、つまり転送元のIP電話端末2Cに送る。   Then, each of the IP telephone terminal 2A and the IP telephone terminal 2B responds with “200 OK” in which all the terminal information stored in the terminal list information storage unit 109 of the own terminal is described in the “Contact” header of the header field. The packet is sent to the transmission source, that is, the IP telephone terminal 2C of the transfer source.

次に、IP電話端末2AおよびIP電話端末2Bのそれぞれは、受信した「Register」メッセージのパケットのヘッダフィールドの「Contact」ヘッダに記述されているIP電話端末2Dの端末情報を、自端末の端末一覧情報記憶部109に追加記憶する(図7参照)。   Next, each of IP telephone terminal 2A and IP telephone terminal 2B uses the terminal information of IP telephone terminal 2D described in the “Contact” header of the header field of the received “Register” message packet as its terminal. It is additionally stored in the list information storage unit 109 (see FIG. 7).

そして、IP電話端末2AおよびIP電話端末2Bのそれぞれからの「200OK」の応答パケットを受信した転送元のIP電話端末2Bは、当該「200OK」の応答パケットのヘッダフィールドの「Contact」ヘッダに記述されている端末情報を、自端末の端末一覧情報記憶部109の記憶内容に追加記憶させる。ここで、転送元のIP電話端末2Cは、転送先からの「200OK」の応答パケットのヘッダフィールドの「Contact」ヘッダに記述されている端末情報と、自端末の端末一覧情報記憶部109の記憶内容とが一致しているときは、当該端末情報を上書きする(図7参照)。   Then, the IP telephone terminal 2B that has received the “200 OK” response packet from each of the IP telephone terminal 2A and the IP telephone terminal 2B is described in the “Contact” header of the header field of the “200 OK” response packet. The stored terminal information is additionally stored in the stored contents of the terminal list information storage unit 109 of the own terminal. Here, the IP telephone terminal 2C of the transfer source stores the terminal information described in the “Contact” header of the header field of the “200 OK” response packet from the transfer destination and the storage of the terminal list information storage unit 109 of the own terminal. When the contents match, the terminal information is overwritten (see FIG. 7).

なお、転送元のIP電話端末2Cは、転送先からの「200OK」の応答パケットを受信する毎に、自端末の端末一覧情報記憶部109の記憶内容の追加記憶処理を実行する。   The IP phone terminal 2C as the transfer source executes an additional storage process of the stored contents of the terminal list information storage unit 109 of the own terminal every time it receives a “200 OK” response packet from the transfer destination.

以上のようにして、4台目のIP電話端末2CがIPネットワーク1に接続されたときにも、4個のIP電話端末2A,2B,2C,2Dのそれぞれの端末一覧情報記憶部109の内容は、全く同一となる。   As described above, even when the fourth IP telephone terminal 2C is connected to the IP network 1, the contents of the terminal list information storage unit 109 of each of the four IP telephone terminals 2A, 2B, 2C, 2D Are exactly the same.

すなわち、この実施形態では、新規に接続されたIP電話端末の端末情報は、「Register」メッセージの直接送信または転送により、IPネットワークに接続済みの他のIP電話端末に送られて、それぞれの端末一覧情報記憶部109に追加記憶される。そして、IPネットワークに接続済みの他のIP電話端末の端末情報の全ては、「200OK」の応答パケットに含められて、新規に接続されたIP電話端末に送られる。新規に接続されたIP電話端末は、「200OK」の応答パケットに含められたIPネットワークに接続済みの他のIP電話端末の端末情報の全てを、自端末の端末一覧情報記憶部109に追加記憶するようにする。   In other words, in this embodiment, the terminal information of the newly connected IP telephone terminal is sent to other IP telephone terminals connected to the IP network by direct transmission or transfer of the “Register” message. It is additionally stored in the list information storage unit 109. All of the terminal information of other IP telephone terminals already connected to the IP network is included in the “200 OK” response packet and sent to the newly connected IP telephone terminal. The newly connected IP telephone terminal additionally stores all terminal information of other IP telephone terminals already connected to the IP network included in the “200 OK” response packet in the terminal list information storage unit 109 of the own terminal. To do.

これにより、この実施形態のIP電話システムを構成する複数のIP電話端末2の全ての端末情報を、それぞれのIP電話端末2は、端末一覧情報として、それぞれの端末一覧情報記憶部109に、共通に、保持するようになる。したがって、後述もするように、この端末一覧情報記憶部109の端末情報を用いることにより、この実施形態のIP電話システムを構成する複数のIP電話端末2は、相互に電話通信することが可能になる。したがって、この実施形態のIP電話システムでは、SIPサーバは不要となる。   As a result, all the terminal information of the plurality of IP telephone terminals 2 constituting the IP telephone system of this embodiment is shared by each terminal list information storage unit 109 as terminal list information. To hold. Therefore, as will be described later, by using the terminal information in the terminal list information storage unit 109, a plurality of IP telephone terminals 2 constituting the IP telephone system of this embodiment can perform telephone communication with each other. Become. Therefore, in the IP telephone system of this embodiment, no SIP server is required.

<IP電話端末2のIPネットワーク1からの離脱時の動作>
図8は、IPネットワーク1に対して接続されて、この実施形態のIP電話システムを構成しているIP電話端末2の1つが、IPネットワーク1から外されて、離脱するときのシーケンス図である。この実施形態では、ユーザは、IP電話端末2をIPネットワーク1から外すのに先立ち、予め、定められた離脱要求の操作を、操作入力部114を通じて行うようにする。この実施形態では、例えば、通常入力としては存在しないであろうと推測されるキー操作(複数のキー操作を含む)が、この離脱要求の操作として、予め定義されている。
<Operation when IP phone terminal 2 leaves IP network 1>
FIG. 8 is a sequence diagram when one of the IP telephone terminals 2 connected to the IP network 1 and constituting the IP telephone system of this embodiment is disconnected from the IP network 1 and left. . In this embodiment, prior to disconnecting the IP telephone terminal 2 from the IP network 1, the user performs a predetermined withdrawal request operation through the operation input unit 114. In this embodiment, for example, a key operation (including a plurality of key operations) that is presumed not to exist as a normal input is defined in advance as an operation of this withdrawal request.

この図8の例は、図4、図5を用いて説明したようにして3台のIP電話端末2A,2B,2Cが、IPネットワーク1に接続されている状態において、IP電話端末2Cが、IPネットワーク1から外される前に、前述した離脱要求操作入力があった場合の例である。   In the example of FIG. 8, when the three IP telephone terminals 2A, 2B, and 2C are connected to the IP network 1 as described with reference to FIGS. This is an example in the case where the above-described withdrawal request operation input is made before being removed from the IP network 1.

IP電話端末2は、IP電話システムからの離脱時には、この実施形態では、ヘッダフィールドの端末の生存時間を示す「Expire」ヘッダの値を0(ゼロ)とした「Register」メッセージのパケットを、ユーザの操作に応じて送出するようにする。この明細書では、説明の都合上、「Expire」ヘッダの値を0(ゼロ)とした「Register」メッセージを、離脱要求を意味する「Un−Register」メッセージと称することとする。   In this embodiment, when the IP telephone terminal 2 leaves the IP telephone system, in this embodiment, the “Register” message packet in which the value of the “Expire” header indicating the lifetime of the terminal in the header field is set to 0 (zero) is transmitted to the user. Send in response to the operation. In this specification, for convenience of explanation, the “Register” message in which the value of the “Expire” header is 0 (zero) is referred to as an “Un-Register” message that means a withdrawal request.

図8の例では、実際のIPネットワーク1からの接続離脱に先立ち、ユーザの離脱要求操作に応じて、IP電話端末2Cは、登録時相手先記憶部110に記憶されている宛先情報を読み出して、当該宛先情報で示される内線番号「1002」のIP電話端末2Bに、IPネットワーク1を通じて、離脱要求の「Un−Register」メッセージを送る。   In the example of FIG. 8, prior to disconnection from the actual IP network 1, the IP telephone terminal 2 </ b> C reads destination information stored in the registration destination storage unit 110 in response to a user disconnection request operation. Then, a “Un-Register” message of a withdrawal request is sent through the IP network 1 to the IP telephone terminal 2B having the extension number “1002” indicated by the destination information.

このとき、図8に示すように、この離脱要求の「Un−Register」メッセージのパケットのヘッダフィールドの「Contact」ヘッダには、自IP電話端末2Cの端末情報「1003@192.168.0.3」が、離脱する端末を示すものとして記述されている。また、ヘッダフィールドの「TTL」の値は、「2」とされる。なお、前述したように、ヘッダフィールドの「Expire」ヘッダの値は0とされるが、図8では省略する。その他は、通常用いられる「Register」メッセージのパケットと同様である。   At this time, as shown in FIG. 8, in the “Contact” header of the header field of the packet of the “Un-Register” message of this leave request, the terminal information “1003@192.168.8.0. 3 "is described as indicating the terminal to leave. The value of “TTL” in the header field is “2”. As described above, the value of the “Expire” header in the header field is set to 0, but is omitted in FIG. Others are the same as the packet of the “Register” message that is normally used.

IP電話端末2Bは、この「Un−Register」メッセージを受け取ると、そのヘッダフィールドのTTLの値から1を減算した結果が、TTL=1であることから、端末一覧情報記憶部109に記憶されている他のIP電話端末を探す。ここでは、他のIP電話端末とは、端末一覧情報記憶部109に記憶されている端末情報一覧のうちの、自端末と送信元以外のIP電話端末である。   Upon receiving this “Un-Register” message, IP telephone terminal 2B stores the result of subtracting 1 from the TTL value of its header field, so that it is stored in terminal list information storage section 109 because TTL = 1. Find other IP phone terminals that have Here, the other IP telephone terminals are IP telephone terminals other than the own terminal and the transmission source in the terminal information list stored in the terminal list information storage unit 109.

当該他のIP電話端末の探索の結果、この例では、IP電話端末2Aが他の端末として見つかるので、IP電話端末2Bは、当該IP電話端末2Aに、受信した「Un−Register」メッセージを転送する。この際に、転送する「Un−Register」メッセージのヘッダフィールドのTTLは、元の「Un−Register」のTTLの値から1を減算した値とし、ここでは、TTL=1となる。   As a result of the search for the other IP telephone terminal, in this example, the IP telephone terminal 2A is found as another terminal, so the IP telephone terminal 2B forwards the received “Un-Register” message to the IP telephone terminal 2A. To do. At this time, the TTL of the header field of the “Un-Register” message to be transferred is a value obtained by subtracting 1 from the TTL value of the original “Un-Register”, and here, TTL = 1.

次に、「Un−Register」メッセージを直接に受信したIP電話端末2Bは、受信OKを示す「200OK」の応答パケットを、「Un−Register」メッセージの送信元のIP電話端末2Cに送る。   Next, the IP telephone terminal 2B that has directly received the “Un-Register” message sends a response packet “200 OK” indicating reception OK to the IP telephone terminal 2C that is the transmission source of the “Un-Register” message.

そして、次に、IP電話端末2Bは、受信した「Un−Register」メッセージの「Contact」ヘッダに記述されている端末情報を、自端末の端末一覧情報記憶部109に記憶されている端末情報一覧から削除する。   Next, the IP telephone terminal 2B receives the terminal information described in the “Contact” header of the received “Un-Register” message from the terminal information list stored in the terminal list information storage unit 109 of the own terminal. Delete from.

また、IP電話端末2Bからの「Un−Register」メッセージの転送を受けたIP電話端末2Aは、そのヘッダフィールドのTTLの値から1を減算した結果が、TTL=0であることから、さらなる転送は不要と判断する。   The IP telephone terminal 2A that has received the transfer of the “Un-Register” message from the IP telephone terminal 2B further subtracts 1 because the result of subtracting 1 from the TTL value in the header field is TTL = 0. Is deemed unnecessary.

そして、IP電話端末2Aは、「200OK」の応答パケットを、その送信元、つまり転送元のIP電話端末2Bに送る。次に、IP電話端末2Aは、受信した「Un−Register」メッセージの「Contact」ヘッダに記述されている端末情報を、自端末の端末一覧情報記憶部109に記憶されている端末情報一覧から削除する。   Then, IP telephone terminal 2A sends a response packet of “200 OK” to the transmission source, that is, IP telephone terminal 2B of the transfer source. Next, the IP telephone terminal 2A deletes the terminal information described in the “Contact” header of the received “Un-Register” message from the terminal information list stored in the terminal list information storage unit 109 of the own terminal. To do.

一方、「Un−Register」メッセージの送信元のIP電話端末2Cは、IP電話端末2Bからの「200OK」の応答パケットを受信したことにより、IPネットワーク1からの離脱完了と判断する。これにより、IP電話端末2Cを、IP電話システム上の支障なく、IPネットワーク1から外すことができる。   On the other hand, the IP telephone terminal 2C that is the transmission source of the “Un-Register” message determines that the departure from the IP network 1 has been completed by receiving the “200 OK” response packet from the IP telephone terminal 2B. As a result, the IP telephone terminal 2C can be disconnected from the IP network 1 without any trouble on the IP telephone system.

図9およびその続きである図10は、図6、図7を用いて説明したようにして、4台目のIP電話端末2Dが接続された状態において、当該4台目のIP電話端末2DがIPネットワーク1から外された場合の例である。   FIG. 9 and FIG. 10 that is a continuation thereof, as described with reference to FIG. 6 and FIG. 7, in a state where the fourth IP telephone terminal 2D is connected, It is an example when it is removed from the IP network 1.

図8の例と同様に、この例では、図9に示すように、実際のIPネットワーク1からの接続離脱に先立ち、ユーザの離脱要求操作に応じて、IP電話端末2Dは、登録時相手先記憶部110に記憶されている宛先情報を読み出して、当該宛先情報で示される内線番号「1003」のIP電話端末2Cに、IPネットワーク1を通じて、離脱要求の「Un−Register」メッセージを送る。   As in the example of FIG. 8, in this example, as shown in FIG. 9, the IP telephone terminal 2 </ b> D responds to the user's disconnection request operation before the actual disconnection from the IP network 1. The destination information stored in the storage unit 110 is read, and a “Un-Register” message of a withdrawal request is sent through the IP network 1 to the IP telephone terminal 2C having the extension number “1003” indicated by the destination information.

このとき、図9に示すように、この離脱要求の「Un−Register」メッセージのパケットのヘッダフィールドの「Contact」ヘッダには、自IP電話端末2Dの端末情報「1004@192.168.0.4」が、離脱する端末を示すものとして記述されている。また、ヘッダフィールドの「TTL」の値は、「2」とされる。なお、前述したように、ヘッダフィールドの「Expire」ヘッダの値は0とされるが、図9では省略する。   At this time, as shown in FIG. 9, in the “Contact” header of the header field of the “Un-Register” message of this withdrawal request, the terminal information “1004@192.168.8.0. "4" is described as indicating the terminal to leave. The value of “TTL” in the header field is “2”. As described above, the value of the “Expire” header in the header field is set to 0, but is omitted in FIG.

IP電話端末2Cは、この「Un−Register」メッセージを受け取ると、そのヘッダフィールドのTTLの値から1を減算した結果が、TTL=1であることから、端末一覧情報記憶部109に記憶されている他のIP電話端末を探す。   Upon receiving this “Un-Register” message, IP telephone terminal 2C stores the result of subtracting 1 from the TTL value of its header field because TTL = 1 and is stored in terminal list information storage section 109. Find other IP phone terminals that have

当該他のIP電話端末の探索の結果、この例では、IP電話端末2AおよびIP電話端末2Bが他の端末として見つかるので、IP電話端末2Cは、当該IP電話端末2AおよびIP電話端末2Bに、受信した「Un−Register」メッセージを転送する。この際に、転送する「Un−Register」メッセージのヘッダフィールドのTTLは、元の「Un−Register」のTTLの値から1を減算した値とし、ここでは、TTL=1となる。   As a result of searching for the other IP telephone terminal, in this example, since the IP telephone terminal 2A and the IP telephone terminal 2B are found as other terminals, the IP telephone terminal 2C is connected to the IP telephone terminal 2A and the IP telephone terminal 2B. Transfer the received “Un-Register” message. At this time, the TTL of the header field of the “Un-Register” message to be transferred is a value obtained by subtracting 1 from the TTL value of the original “Un-Register”, and here, TTL = 1.

次に、「Un−Register」メッセージを直接に受信したIP電話端末2Cは、受信OKを示す「200OK」の応答パケットを、「Un−Register」メッセージの送信元のIP電話端末2Dに送る。   Next, the IP telephone terminal 2C that has directly received the “Un-Register” message sends a “200 OK” response packet indicating reception OK to the IP telephone terminal 2D that is the transmission source of the “Un-Register” message.

そして、次に、IP電話端末2Bは、受信した「Un−Register」メッセージの「Contact」ヘッダに記述されている端末情報を、自端末の端末一覧情報記憶部109に記憶されている端末情報一覧から削除する。   Next, the IP telephone terminal 2B receives the terminal information described in the “Contact” header of the received “Un-Register” message from the terminal information list stored in the terminal list information storage unit 109 of the own terminal. Delete from.

また、IP電話端末2Cからの「Un−Register」メッセージの転送を受けたIP電話端末2AおよびIP電話端末2Bは、そのヘッダフィールドのTTLの値から1を減算した結果が、TTL=0であることから、さらなる転送は不要と判断する。   The IP phone terminal 2A and the IP phone terminal 2B that have received the transfer of the “Un-Register” message from the IP phone terminal 2C have TTL = 0 as a result of subtracting 1 from the TTL value in the header field. Therefore, it is determined that further transfer is unnecessary.

そして、IP電話端末2AおよびIP電話端末2Bは、「200OK」の応答パケットを、その送信元、つまり転送元のIP電話端末2Cに送る。次に、IP電話端末2AおよびIP電話端末2Bのそれぞれは、受信した「Un−Register」メッセージの「Contact」ヘッダに記述されている端末情報を、自端末の端末一覧情報記憶部109に記憶されている端末情報一覧から削除する(図10参照)。   Then, IP phone terminal 2A and IP phone terminal 2B send a response packet of “200 OK” to the transmission source, that is, IP phone terminal 2C of the transfer source. Next, each of IP telephone terminal 2A and IP telephone terminal 2B stores the terminal information described in the “Contact” header of the received “Un-Register” message in terminal list information storage section 109 of its own terminal. Is deleted from the terminal information list (see FIG. 10).

一方、「Un−Register」メッセージの送信元のIP電話端末2Dは、IP電話端末2Cからの「200OK」の応答パケットを受信したことにより、IPネットワーク1からの離脱完了と判断する。これにより、IP電話端末2Dを、IP電話システム上の支障なく、IPネットワーク1から外すことができる。   On the other hand, the IP telephone terminal 2D that is the transmission source of the “Un-Register” message determines that the departure from the IP network 1 is completed by receiving the “200 OK” response packet from the IP telephone terminal 2C. Thereby, IP telephone terminal 2D can be removed from IP network 1 without any trouble on the IP telephone system.

以上のようにして、IP電話端末2をIP電話システムから離脱させるときには、上述のようにして、「Un−Register」メッセージをIPネットワーク1に送出することにより、IP電話システムを構成する他の全てのIP電話端末2に、当該離脱するIP電話端末の端末情報が伝達されて、それぞれの端末一覧情報記憶部109から、当該離脱するIP電話端末の端末情報が削除される。   As described above, when the IP telephone terminal 2 is detached from the IP telephone system, the “Un-Register” message is sent to the IP network 1 as described above, thereby making it possible to all the other constituents of the IP telephone system. The terminal information of the IP telephone terminal to be detached is transmitted to the IP telephone terminal 2, and the terminal information of the IP telephone terminal to be detached is deleted from each terminal list information storage unit 109.

<IP電話端末2の端末情報の自動更新・自動削除>
上述したIP電話端末2のIPネットワーク1への接続時の動作シーケンス例においては、説明を省略したが、当該接続時にIP電話端末2から送出される「Register」メッセージのヘッダフィールドには、当該IP電話端末2のIPネットワーク1上での生存時間を示す「Expire」ヘッダが含まれている。そして、この実施形態では、この「Expire」ヘッダの生存時間の情報を用いられて、この実施形態のIP電話システムにおける各IP電話端末2の自動更新・自動削除の制御処理が、以下に説明するようにしてなされる。
<Automatic update / deletion of terminal information of IP phone terminal 2>
The description of the operation sequence example when the IP telephone terminal 2 is connected to the IP network 1 is omitted, but the header field of the “Register” message transmitted from the IP telephone terminal 2 at the time of the connection includes the IP An “Expire” header indicating the lifetime of the telephone terminal 2 on the IP network 1 is included. In this embodiment, the control process of automatic update / automatic deletion of each IP telephone terminal 2 in the IP telephone system of this embodiment using the information on the lifetime of this “Expire” header will be described below. It is made like this.

図11は、この実施形態のIP電話システムにおけるIP電話端末2の自動更新を説明するためのシーケンス図である。図11の例は、図3に示した最初の2台のIP電話端末2A,2BがIPネットワーク1に接続された状態におけるIP電話端末2Bについての自動更新を説明するためのシーケンス例である。   FIG. 11 is a sequence diagram for explaining automatic update of the IP telephone terminal 2 in the IP telephone system of this embodiment. The example of FIG. 11 is a sequence example for explaining the automatic update for the IP telephone terminal 2B in a state where the first two IP telephone terminals 2A and 2B shown in FIG.

すなわち、この実施形態では、IP電話端末2BがIPネットワーク1に接続されると、IP電話端末2Bからは、ヘッダフィールドの「Contact」ヘッダに、当該IP電話端末2Bの端末情報が記述されると共に、「Expire」ヘッダに生存時間の時間値が記述されている「Register」メッセージが、前述したように、IP電話端末1Aに宛てて送られる。この例では、生存時間の時間値は「3600秒(=1時間)」とされている。   That is, in this embodiment, when the IP telephone terminal 2B is connected to the IP network 1, the IP telephone terminal 2B describes the terminal information of the IP telephone terminal 2B in the “Contact” header of the header field. The “Register” message in which the time value of the lifetime is described in the “Expire” header is sent to the IP telephone terminal 1A as described above. In this example, the time value of the survival time is “3600 seconds (= 1 hour)”.

前述したように、IP電話端末2Aは、この「Register」メッセージを受けて、その「Contact」ヘッダに記述されているIP電話端末2Bの端末情報を、自端末の端末一覧情報記憶部109に追加記憶する。   As described above, IP telephone terminal 2A receives this “Register” message, and adds the terminal information of IP telephone terminal 2B described in its “Contact” header to terminal list information storage section 109 of its own terminal. Remember.

さらに、この実施形態では、IP電話端末2Aは、「Register」メッセージの「Expire」ヘッダに生存時間の時間値を、当該IP電話端末2B用の更新・削除監視タイマー112(このIP電話端末2B用の更新・削除監視タイマーを112Bとする)にセットし、当該「Register」メッセージを受けた時刻を起点として、この自動更新・削除タイマー112Bをスタートさせるようにする。   Furthermore, in this embodiment, the IP telephone terminal 2A uses the lifetime value in the “Expire” header of the “Register” message, and the update / deletion monitoring timer 112 for the IP telephone terminal 2B (for this IP telephone terminal 2B). The automatic update / deletion monitoring timer 112B is set to 112B), and the automatic update / deletion timer 112B is started from the time when the “Register” message is received.

なお、この図11の例は、2台のIP電話端末2A,2BのみがIPネットワーク1に接続されている場合のシーケンス例であったが、IPネットワーク1に3台以上のIP電話端末2が接続されている場合には、前述したように、IP電話端末2Bからの「Register」メッセージを直接に受信したIP電話端末2Aは、自端末の端末一覧情報記憶部109を参照して、IPネットワーク1に接続されている他の端末を探索し、探索の結果存在していると認識された他のIP電話端末2の全てに、「Register」メッセージを、転送するようにする。   The example in FIG. 11 is a sequence example in the case where only two IP telephone terminals 2A and 2B are connected to the IP network 1, but three or more IP telephone terminals 2 are connected to the IP network 1. When connected, as described above, the IP telephone terminal 2A that directly receives the “Register” message from the IP telephone terminal 2B refers to the terminal list information storage unit 109 of the own terminal, and The other terminal connected to 1 is searched, and the “Register” message is forwarded to all the other IP telephone terminals 2 recognized as existing as a result of the search.

転送された「Register」メッセージを受信したIP電話端末2は、IP電話端末2Aと同様にして、「Register」メッセージの「Contact」ヘッダに記述されているIP電話端末2Bの端末情報を、自端末の端末一覧情報記憶部109に追加記憶すると共に、「Register」メッセージの「Expire」ヘッダに生存時間の時間値を、当該IP電話端末2B用の更新・削除監視タイマー112Bにセットし、当該「Register」メッセージを受けた時刻を起点として、この自動更新・削除タイマー112Bをスタートさせるようにする。   The IP telephone terminal 2 that has received the transferred “Register” message receives the terminal information of the IP telephone terminal 2B described in the “Contact” header of the “Register” message in the same manner as the IP telephone terminal 2A. Is added and stored in the “Expire” header of the “Register” message, the time value of the lifetime is set in the update / deletion monitoring timer 112B for the IP telephone terminal 2B, and the “Register” The automatic update / delete timer 112B is started from the time when the message is received.

一方、IP電話端末2Bは、IPネットワーク1に接続した後、相手先のIP電話端末2Aからの「200OK」の応答パケットを受信したときには、自端末更新タイマー113に、接続時に送出した「Register」メッセージのヘッダフィールドの「Expire」ヘッダの生存時間の時間値よりも短い時間間隔、例えば生存時間の1/2の時間、この例では、1800秒(=30分)をセットする。   On the other hand, when the IP telephone terminal 2B receives the “200 OK” response packet from the counterpart IP telephone terminal 2A after connecting to the IP network 1, the “Register” sent to the local terminal update timer 113 at the time of connection is received. A time interval shorter than the time value of the lifetime of the “Expire” header in the header field of the message, for example, 1/2 time of the lifetime, in this example, 1800 seconds (= 30 minutes) is set.

そして、この自端末更新タイマー113が満了する毎に、この例では、1800秒(=30分)間隔で、IPネットワーク1への接続時と同じ「Register」メッセージを、登録時相手先記憶部110に記憶しているIP電話端末2Aに対して、繰り返し送出するようにする。   Then, every time the own terminal update timer 113 expires, in this example, the same “Register” message as when connecting to the IP network 1 is sent at an interval of 1800 seconds (= 30 minutes). Are repeatedly transmitted to the IP telephone terminal 2A stored in the network.

IP電話端末2Aは、「Register」メッセージを受信し、当該メッセージの「Contact」ヘッダに記述されている端末情報が、既に端末一覧情報記憶部109に記憶済みであると判別すると、当該端末情報のIP電話端末、ここではIP電話端末2B用の更新・削除監視タイマー112Bをリセットする。   When the IP telephone terminal 2A receives the “Register” message and determines that the terminal information described in the “Contact” header of the message has already been stored in the terminal list information storage unit 109, the IP telephone terminal 2A The update / deletion monitoring timer 112B for the IP telephone terminal, here, the IP telephone terminal 2B is reset.

なお、図示は省略するが、IPネットワーク1に3台以上のIP電話端末2が接続されている場合には、この自動更新のための「Register」メッセージを直接に受信したIP電話端末2Aは、自端末の端末一覧情報記憶部109を参照して、IPネットワーク1に接続されている他のIP電話端末2の全てに、当該自動更新のための「Register」メッセージを、転送するようにする。   Although not shown, when three or more IP telephone terminals 2 are connected to the IP network 1, the IP telephone terminal 2A that directly receives the “Register” message for automatic updating is With reference to the terminal list information storage unit 109 of the own terminal, the “Register” message for the automatic update is transferred to all of the other IP telephone terminals 2 connected to the IP network 1.

この自動更新のための「Register」メッセージの転送を受けた他の端末は、上述のIP電話端末2Aと同様の処理をして、自動更新のための「Register」メッセージを送出してきたIP電話端末2Bについての更新・削除タイマー112Bをリセットする。   The other terminal that has received the transfer of the “Register” message for automatic updating performs the same processing as the above-described IP telephone terminal 2A, and sends out the “Register” message for automatic updating. The update / delete timer 112B for 2B is reset.

そして、図11に示すように、「Register」メッセージを受信したIP電話端末2Aは、自端末の端末一覧情報記憶部109に記憶されている端末情報のうち、送信元のIP電話端末2Bの端末情報を除くものを「Contact」ヘッダに含めた「200OK」の応答メッセージをIP電話端末2Bに送信する。これは、「Register」メッセージを受信したIP電話端末の送信元への応答処理として前述したものと全く同様である。   Then, as shown in FIG. 11, the IP telephone terminal 2A that has received the “Register” message, among the terminal information stored in the terminal list information storage unit 109 of its own terminal, is the terminal of the IP telephone terminal 2B that is the transmission source A response message of “200 OK” including information excluding information in the “Contact” header is transmitted to the IP telephone terminal 2B. This is exactly the same as that described above as the response process to the transmission source of the IP telephone terminal that has received the “Register” message.

こうして、IP電話端末2がIPネットワーク1に接続されている間は、「Register」メッセージのヘッダフィールドの「Expire」ヘッダの生存時間の値よりも短い時間間隔で、IP電話端末2は、登録時相手先記憶部110に記憶されている相手端末に対して、「Register」メッセージの送出を繰り返す。   Thus, while the IP telephone terminal 2 is connected to the IP network 1, the IP telephone terminal 2 is registered at a time interval shorter than the lifetime value of the “Expire” header in the header field of the “Register” message. The transmission of the “Register” message is repeated with respect to the partner terminal stored in the partner storage unit 110.

これにより、当該「Register」メッセージの送出を繰り返すIP電話端末に対応する更新・削除監視タイマー112は、常にリセットされて更新される。したがって、更新・削除監視タイマー112のタイマー時間が満了にならない限り、当該IP電話端末2がIPネットワーク1に接続されていることを、各IP電話端末2は確認することができる。   As a result, the update / deletion monitoring timer 112 corresponding to the IP telephone terminal that repeatedly sends out the “Register” message is always reset and updated. Accordingly, each IP telephone terminal 2 can confirm that the IP telephone terminal 2 is connected to the IP network 1 as long as the timer time of the update / deletion monitoring timer 112 does not expire.

次に、図12は、この実施形態のIP電話システムにおけるIP電話端末2の自動削除を説明するためのシーケンス図である。図12の例は、3台以上のIP電話端末2がIPネットワーク1に接続されている状態において、上述のようにして、IP電話端末2Bが、自動更新のための「Register」メッセージを、IP電話端末2Aに対して繰り返し送出していたが、あるタイミングで、IP電話端末2BでのIPネットワーク1に対する接続が途切れる(リンクダウン)等により、自動更新のための「Register」メッセージを、送出しなくなった状態を示している。   Next, FIG. 12 is a sequence diagram for explaining automatic deletion of the IP telephone terminal 2 in the IP telephone system of this embodiment. In the example of FIG. 12, in the state where three or more IP telephone terminals 2 are connected to the IP network 1, as described above, the IP telephone terminal 2B sends an “Register” message for automatic updating to the IP Although it was repeatedly sent to the telephone terminal 2A, the “Register” message for automatic update is sent out at a certain timing when the connection to the IP network 1 at the IP telephone terminal 2B is interrupted (link down) or the like. It shows the state of disappearance.

すなわち、リンクダウンが生じる前の更新タイミングでは、図12に示すように、IP電話端末2Bからの「Register」メッセージを受け取ることで、IP電話端末2Aは、IP電話端末2Bについての更新・削除監視タイマー112Bをリセットすると共に、「200OK」の応答パケットをIP電話端末2Bに返す。   That is, at the update timing before the link down occurs, as shown in FIG. 12, by receiving the “Register” message from the IP telephone terminal 2B, the IP telephone terminal 2A monitors the update / deletion of the IP telephone terminal 2B. The timer 112B is reset and a response packet “200 OK” is returned to the IP telephone terminal 2B.

したがって、IP電話端末2Bについての更新・削除監視タイマー112Bは、リセット時点からのタイマー時間の計測を開始する。そして、ここでは、IP電話端末2Bはリンクダウンしているため、IP電話端末2Aは、リセット時点から1800秒(=30分)経過した時点でのIP電話端末2Bからの「Register」メッセージは受信しない。このため、IP電話端末2Bについての更新・削除監視タイマー112Bタイマー時間は3600秒(60分)にまで至り、タイマー時間が満了する。   Therefore, the update / deletion monitoring timer 112B for the IP telephone terminal 2B starts measuring the timer time from the reset point. Here, since the IP telephone terminal 2B is linked down, the IP telephone terminal 2A receives the “Register” message from the IP telephone terminal 2B when 1800 seconds (= 30 minutes) have elapsed since the reset point. do not do. Therefore, the update / deletion monitoring timer 112B timer time for the IP telephone terminal 2B reaches 3600 seconds (60 minutes), and the timer time expires.

IP電話端末2Aは、当該IP電話端末2Bについての更新・削除監視タイマー112Bのタイマー時間の満了を検知し、この検知に基づき、自端末の端末一覧情報記憶部109の端末情報一覧からIP電話端末2Bの端末情報を削除する。   The IP telephone terminal 2A detects the expiration of the timer time of the update / deletion monitoring timer 112B for the IP telephone terminal 2B, and based on this detection, the IP telephone terminal uses the terminal information list in the terminal list information storage unit 109 of the own terminal. 2B terminal information is deleted.

また、IP電話端末2Aは、IP電話端末2Bについての離脱要求の「Un−Register」メッセージを生成する。すなわち、「Contact」ヘッダにIP電話端末2Bの端末情報を記述した「Un−Register」メッセージを生成する。   Also, IP telephone terminal 2A generates a “Un-Register” message for a withdrawal request for IP telephone terminal 2B. That is, an “Un-Register” message in which the terminal information of the IP telephone terminal 2B is described in the “Contact” header is generated.

そして、IP電話端末2Aは、自端末の端末一覧情報記憶部109の端末情報一覧を参照し、自端末およびIP電話端末2Bとを除く他のIP電話端末2の全てに対して、生成したIP電話端末2Bについての離脱要求の「Un−Register」メッセージを送出する。ここでは、転送の必要はないので、送出される「Un−Register」メッセージのTTLは、TTL=1とされる。   Then, the IP telephone terminal 2A refers to the terminal information list in the terminal list information storage unit 109 of the own terminal, and generates the generated IP for all of the other IP telephone terminals 2 except the own terminal and the IP telephone terminal 2B. A “Un-Register” message of a withdrawal request for the telephone terminal 2B is transmitted. Here, since there is no need for transfer, the TTL of the “Un-Register” message to be transmitted is set to TTL = 1.

この「Un−Register」メッセージを受け取った他のIP電話端末2の全ては、図8〜図10に示したように、それぞれの自端末の端末一覧情報記憶部109からIP電話端末2Bの端末情報を削除する。   All of the other IP telephone terminals 2 that have received this “Un-Register” message, as shown in FIGS. 8 to 10, receive terminal information of the IP telephone terminal 2B from the terminal list information storage unit 109 of their own terminals. Is deleted.

以上のようにして、この実施形態では、IPネットワーク1に接続されたIP電話端末2のそれぞれについては、常に自動更新処理が行われると共に、自動更新処理がなされなかったときには、自動削除が行われる。したがって、図8〜図10に示したようなユーザの操作指示に基づく離脱要求操作がなされない場合でも、IPネットワーク1から離脱したIP電話端末2については、その離脱時から、この例では、最大3600秒(=1時間)経過後には、各IP電話端末2の端末一覧情報記憶部109から自動削除されることにより、IP電話システムから離脱するものとなる。   As described above, in this embodiment, for each of the IP telephone terminals 2 connected to the IP network 1, automatic update processing is always performed, and automatic deletion is performed when the automatic update processing is not performed. . Therefore, even when the withdrawal request operation based on the user operation instruction as shown in FIGS. 8 to 10 is not performed, the IP telephone terminal 2 that has left the IP network 1 has been After the elapse of 3600 seconds (= 1 hour), the terminal is automatically deleted from the terminal list information storage unit 109 of each IP telephone terminal 2, thereby leaving the IP telephone system.

<IP電話端末2のIPネットワーク1への再接続時(図示は省略)>
IP電話端末2が離脱された後、当該IP電話端末2がIPネットワーク1に再接続されたときには、図3〜図7を用いて説明した、IPネットワーク1へのIP電話端末2の接続時のシーケンスが実行されて、IP電話端末2の各端末一覧情報記憶部109のそれぞれに再記憶(再登録)されるものである。
<When reconnecting IP telephone terminal 2 to IP network 1 (not shown)>
When the IP telephone terminal 2 is reconnected to the IP network 1 after the IP telephone terminal 2 is disconnected, the IP telephone terminal 2 connected to the IP network 1 described with reference to FIGS. The sequence is executed and re-stored (re-registered) in each terminal list information storage unit 109 of the IP telephone terminal 2.

ただし、再接続時をしようとするIP電話端末2の登録時相手先記憶部110には、前回のIPネットワーク1への接続時の相手先が記憶されているので、当該再接続時をしようとするIP電話端末2は、その登録済みの相手先に対して、「Contact」ヘッダに自端末の端末情報を記述して、「Register」メッセージを送出する。   However, since the other party at the time of connection to the IP network 1 is stored in the registration destination storage unit 110 of the IP telephone terminal 2 to be reconnected, the previous connection is attempted. The IP telephone terminal 2 that describes the terminal information of its own terminal is described in the “Contact” header, and a “Register” message is transmitted to the registered counterpart.

しかし、登録時相手先記憶部110に記憶されている相手先のIP電話端末も、IP電話システムから離脱している場合もある。その場合には、再接続時をしようとするIP電話端末2は、この実施形態では、端末一覧情報記憶部109に記憶されている、離脱時における端末情報一覧を参照して他の相手先を登録時相手先として記憶すると共に、その新規登録した登録時相手先に対して、「Register」メッセージを送出する。   However, the IP telephone terminal of the other party stored in the other party storage unit 110 at the time of registration may be detached from the IP telephone system. In this case, in this embodiment, the IP telephone terminal 2 to be reconnected refers to the other terminal by referring to the terminal information list stored in the terminal list information storage unit 109 when leaving. While registering as a registration destination, a “Register” message is sent to the newly registered registration destination.

さらに、登録時相手先記憶部110に記憶されている相手先のIP電話端末がIP電話システムから離脱していて、かつ、端末一覧情報記憶部109には、他のIP電話端末の端末情報が記憶されていないと判別したときには、再接続時をしようとするIP電話端末2は、ユーザに登録時相手先の入力を促し、それに対応するユーザの相手先入力を受け付けて、それを登録時相手先として記憶すると共に、その新規登録した登録時相手先に対して、「Register」メッセージを送出する。   Furthermore, the IP telephone terminal of the other party stored in the other party storage unit 110 at the time of registration is detached from the IP telephone system, and the terminal list information storage unit 109 stores the terminal information of other IP telephone terminals. When it is determined that it is not stored, the IP telephone terminal 2 that tries to reconnect prompts the user to input the other party at the time of registration, receives the corresponding user's other party input, and accepts it as the other party at the time of registration. The “Register” message is sent to the newly registered partner at the time of registration as well as being stored as a destination.

また、再接続したIP電話端末2は、端末一覧情報記憶部109には、離脱時における端末情報一覧が記憶されているが、相手先から送られてくる「200OK」の応答パケットの「Contact」ヘッダに記述されている端末情報に、端末一覧情報記憶部109の内容を更新する。   In the reconnected IP phone terminal 2, the terminal list information storage unit 109 stores the terminal information list at the time of withdrawal, but the “200 OK” response packet “Contact” sent from the other party is stored. The contents of the terminal list information storage unit 109 are updated to the terminal information described in the header.

<IP電話端末2の端末情報変更時>
この実施形態では、IP電話端末2の端末情報が変更されたとき、すなわち、内線番号またはIPアドレスが変更されたことを検知したときには、その変更時に、自動的に、前述した再接続時と同様にして、変更後の端末情報を「Contact」ヘッダに記述した「Register」メッセージを、登録時相手先記憶部110に記憶されている相手先に対して送出するようにする。
<When changing terminal information of IP phone terminal 2>
In this embodiment, when the terminal information of the IP telephone terminal 2 is changed, that is, when it is detected that the extension number or the IP address is changed, the change is automatically performed in the same manner as the above-described reconnection. Then, the “Register” message in which the changed terminal information is described in the “Contact” header is transmitted to the other party stored in the other party storage unit 110 at the time of registration.

図13および図14は、IP電話端末2A,2B,2CがIPネットワーク1に接続されている状態において、IP電話端末2Cの端末情報のうち、IPアドレスが「192.168.0.3」から、「192.168.0.103」に変更された場合のシーケンス例を示すものである。   FIG. 13 and FIG. 14 show that the IP address is “192.168.0.3” from the terminal information of the IP telephone terminal 2C when the IP telephone terminals 2A, 2B, and 2C are connected to the IP network 1. The sequence example when it is changed to “192.168.0.103” is shown.

この例の場合に、IP電話端末2Cは、自端末の端末情報の変更がなされたことを検知すると、変更後の端末情報「1003:192.168.0.103」を「Contact」ヘッダに記述した「Register」メッセージを、登録時相手先記憶部110に記憶されている相手先であるIP電話端末2Bに対して送出する。   In the case of this example, when the IP telephone terminal 2C detects that the terminal information of its own terminal has been changed, it describes the changed terminal information “1003: 192.168.0.103” in the “Contact” header. The “Register” message is sent to the IP telephone terminal 2B which is the partner stored in the partner storage unit 110 at the time of registration.

IP電話端末2Bは、この「Register」メッセージを受け取ると、そのヘッダフィールドのTTLの値から1を減算した結果が、TTL=1であることから、端末一覧情報記憶部109に記憶されている他のIP電話端末を探す。すると、IP電話端末2Aが他の端末として見つかるので、IP電話端末2Bは、当該IP電話端末2Aに、受信した「Register」メッセージを転送する。この際に、転送する「Register」メッセージのヘッダフィールドのTTLは、元の「Register」のTTLの値から1を減算した値とし、ここでは、TTL=1とする。   Upon receiving this “Register” message, the IP telephone terminal 2B subtracts 1 from the TTL value of its header field, so that TTL = 1, so that the other stored in the terminal list information storage unit 109 Search for IP phone terminals. Then, since IP phone terminal 2A is found as another terminal, IP phone terminal 2B transfers the received “Register” message to IP phone terminal 2A. At this time, the TTL of the header field of the “Register” message to be transferred is a value obtained by subtracting 1 from the TTL value of the original “Register”, and here, TTL = 1.

次に、IP電話端末2Bは、受信した「Register」メッセージの「Contact」ヘッダの送信元の端末情報を認識し、自端末の端末一覧情報記憶部109に記憶されている端末情報のうち、送信元の端末情報を除く、全てを、ヘッダフィールドの「Contact」ヘッダに記述した「200OK」の応答パケットを、送信元のIP電話端末2Cに送る。   Next, IP telephone terminal 2B recognizes the terminal information of the transmission source of the “Contact” header of the received “Register” message, and transmits the terminal information stored in the terminal list information storage unit 109 of the own terminal. A response packet of “200 OK” in which everything except the original terminal information is described in the “Contact” header of the header field is sent to the source IP telephone terminal 2C.

なお、この例では、「Register」メッセージの「Contact」ヘッダの送信元の端末情報と、自端末の端末一覧情報記憶部109に記憶されている端末情報とを比較し、自端末の端末一覧情報記憶部109に記憶されている端末情報の中で、一部(内線番号またはIPアドレスのいずれか)が一致しているものがあれば、その端末情報は、送信元の端末情報として、「200OK」の応答パケットの「Contact」ヘッダに記述する端末情報から除外する。以下、同様である。   In this example, the terminal information of the transmission source in the “Contact” header of the “Register” message is compared with the terminal information stored in the terminal list information storage unit 109 of the own terminal, and the terminal list information of the own terminal is compared. If any part of the terminal information stored in the storage unit 109 matches (either extension number or IP address), the terminal information is “200 OK” as the terminal information of the transmission source. Is excluded from the terminal information described in the “Contact” header of the response packet. The same applies hereinafter.

そして、IP電話端末2Bは、「Register」メッセージの「Contact」ヘッダの送信元の端末情報(IP電話端末2Cの端末情報)と、自端末の端末一覧情報記憶部109に記憶されているIP電話端末2Cの端末情報とが一部異なっているので、IP電話端末2Cの端末情報を、新たに受け取った「Register」メッセージの「Contact」ヘッダの送信元の端末情報に変更して、端末一覧情報を更新する(図14参照)。   The IP telephone terminal 2B then transmits the terminal information (terminal information of the IP telephone terminal 2C) in the “Contact” header of the “Register” message and the IP telephone stored in the terminal list information storage unit 109 of the own terminal. Since the terminal information of the terminal 2C is partially different, the terminal information of the IP telephone terminal 2C is changed to the terminal information of the transmission source of the “Contact” header of the newly received “Register” message. Is updated (see FIG. 14).

一方、IP電話端末2Bからの「200OK」の応答パケットを受信した送信元のIP電話端末2Cは、当該「200OK」の応答パケットのヘッダフィールドの「Contact」ヘッダに記述されている全ての端末情報を、自端末の端末一覧情報記憶部109に追加記憶する(図14参照)。   On the other hand, the source IP telephone terminal 2C that has received the “200 OK” response packet from the IP telephone terminal 2B receives all terminal information described in the “Contact” header of the header field of the “200 OK” response packet. Is additionally stored in the terminal list information storage unit 109 of the terminal itself (see FIG. 14).

また、IP電話端末2Bからの「Register」メッセージの転送を受けたIP電話端末2Aは、そのヘッダフィールドのTTLの値から1を減算した結果が、TTL=0であることから、さらなる転送は不要と判断する。   The IP telephone terminal 2A that has received the transfer of the “Register” message from the IP telephone terminal 2B does not need further transfer because the result of subtracting 1 from the TTL value in the header field is TTL = 0. Judge.

そして、IP電話端末2Aは、自端末の端末一覧情報記憶部109に記憶されている端末情報のうちの送信元の端末情報を除く全てを、ヘッダフィールドの「Contact」ヘッダに記述した「200OK」の応答パケットを、その送信元、つまり転送元のIP電話端末2Bに送る。   Then, the IP telephone terminal 2A has “200 OK” in which all of the terminal information stored in the terminal list information storage unit 109 of the own terminal except the terminal information of the transmission source is described in the “Contact” header of the header field. Is sent to the transmission source, that is, the IP telephone terminal 2B as the transfer source.

次に、IP電話端末2Aは、「Register」メッセージの「Contact」ヘッダの送信元の端末情報(IP電話端末2Cの端末情報)と、自端末の端末一覧情報記憶部109に記憶されているIP電話端末2Cの端末情報とが一部異なっているので、IP電話端末2Cの端末情報を、新たに受け取った「Register」メッセージの「Contact」ヘッダの送信元の端末情報に変更して、端末一覧情報を更新する(図14参照)。   Next, the IP telephone terminal 2A transmits the terminal information (terminal information of the IP telephone terminal 2C) in the “Contact” header of the “Register” message, and the IP stored in the terminal list information storage unit 109 of the own terminal. Since the terminal information of the telephone terminal 2C is partially different, the terminal information of the IP telephone terminal 2C is changed to the terminal information of the transmission source of the “Contact” header of the newly received “Register” message, and the terminal list Information is updated (see FIG. 14).

そして、IP電話端末2Aからの「200OK」の応答パケットを受信した転送元のIP電話端末2Bは、当該「200OK」の応答パケットのヘッダフィールドの「Contact」ヘッダに記述されている端末情報を、自端末の端末一覧情報記憶部109の記憶内容に追加記憶させる。ここで、転送元のIP電話端末2Bは、転送先からの「200OK」の応答パケットのヘッダフィールドの「Contact」ヘッダに記述されている端末情報と、自端末の端末一覧情報記憶部109の記憶内容とが一致しているときは、当該端末情報を上書きする(図14参照)。   Then, the IP phone terminal 2B that has received the “200OK” response packet from the IP phone terminal 2A receives the terminal information described in the “Contact” header of the header field of the “200OK” response packet. It is additionally stored in the stored contents of the terminal list information storage unit 109 of the own terminal. Here, the IP telephone terminal 2B of the transfer source stores the terminal information described in the “Contact” header of the header field of the “200 OK” response packet from the transfer destination and the storage of the terminal list information storage unit 109 of the own terminal. When the contents match, the terminal information is overwritten (see FIG. 14).

以上は、端末情報のうち、IPアドレスが変更された場合であるが、内線番号が変更された場合も同様のシーケンスにより、そのIP電話端末2の端末情報の変更がなされる。すなわち、SIPアドレスのIPアドレスまたはユーザ名のいずれかが変更されたときには、上述した変更時のシーケンスがなされる。   The above is the case where the IP address of the terminal information is changed, but the terminal information of the IP telephone terminal 2 is also changed in the same sequence when the extension number is changed. That is, when either the IP address or the user name of the SIP address is changed, the above-described change sequence is performed.

また、内線番号とIPアドレスの両方が変更された場合は、IP電話端末2が再接続された場合と同様のシーケンスとなる。この場合、各IP電話端末2の端末一覧情報には、変更前の端末情報が残るが、前述した自動更新・削除シーケンスにより、端末情報の変更後、1時間後には、当該端末情報は自動削除されることになる。   Further, when both the extension number and the IP address are changed, the sequence is the same as when the IP telephone terminal 2 is reconnected. In this case, the terminal information before the change remains in the terminal list information of each IP telephone terminal 2, but the terminal information is automatically deleted one hour after the terminal information is changed by the above-described automatic update / delete sequence. Will be.

<IP電話端末2の処理動作>
以上説明した処理シーケンスを行う場合のIP電話端末2での処理動作について、以下に説明する。
<Processing of IP telephone terminal 2>
The processing operation in the IP telephone terminal 2 when performing the processing sequence described above will be described below.

〔IPネットワーク1への接続時の処理動作〕
図15に、IPネットワーク1に接続されたときの、IP電話端末2における処理動作の一例を示すフローチャートである。この図15のフローチャートの各ステップの処理動作は、CPU101が、ROM102に格納されているプログラムにしたがって、RAM103をワークエリアとして用いて実行するものである。後述するIP電話端末2の他の処理動作についても同様である。
[Processing when connecting to IP network 1]
FIG. 15 is a flowchart showing an example of processing operation in the IP telephone terminal 2 when connected to the IP network 1. The processing operation of each step in the flowchart of FIG. 15 is executed by the CPU 101 using the RAM 103 as a work area according to a program stored in the ROM 102. The same applies to other processing operations of the IP telephone terminal 2 described later.

IP電話端末2のCPU101は、IP電話端末2の電話通信用インターフェース104がIPネットワーク1に接続されたか否か判別する(ステップS101)。この接続には、IP電話端末2の全く新規の接続のみではなく、再接続を含むことは勿論である。   The CPU 101 of the IP telephone terminal 2 determines whether or not the telephone communication interface 104 of the IP telephone terminal 2 is connected to the IP network 1 (step S101). This connection includes not only a completely new connection of the IP telephone terminal 2 but also a reconnection.

ステップS101で、IP電話端末2がIPネットワーク1に接続されたと判別したときには、CPU101は、登録時相手先記憶部110に相手先が登録されているか否か判別する(ステップS102)。   When it is determined in step S101 that the IP telephone terminal 2 is connected to the IP network 1, the CPU 101 determines whether or not the other party is registered in the other party storage unit 110 during registration (step S102).

登録時相手先記憶部110に相手先が登録されていないと判別したときには、CPU101は、IPネットワーク1上に存在する(IPネットワーク1に既に接続されている)相手先となるIP電話端末2の宛先情報の入力を促すメッセージをディスプレイ115の画面に表示する(ステップS103)。   When it is determined that the other party is not registered in the other party storage unit 110 at the time of registration, the CPU 101 determines the IP telephone terminal 2 that is on the IP network 1 (already connected to the IP network 1). A message prompting for input of the destination information is displayed on the screen of the display 115 (step S103).

次に、CPU101は、このメッセージに応じてユーザにより入力される相手先のIP電話端末2の宛先情報を受け付けて、登録時相手先記憶部110に記憶する(ステップS104)。   Next, the CPU 101 accepts the destination information of the destination IP telephone terminal 2 input by the user in response to this message, and stores it in the registration destination counterpart storage unit 110 (step S104).

ステップS102で、登録時相手先記憶部110に相手先が登録されていると判別したとき、また、ステップS104の次には、CPU101は、自端末の端末情報を記述した「Contact」と、生存時間を例えば3600秒と記述した「Expire」ヘッドとを含む「Register」メッセージを、登録時相手先記憶部110に記憶されている相手先のIP電話端末2に対して送信する(ステップS105)。   When it is determined in step S102 that the other party is registered in the other party storage unit 110 at the time of registration, and next to step S104, the CPU 101 displays “Contact” describing the terminal information of the own terminal and the existence. For example, a “Register” message including an “Expire” head in which the time is described as 3600 seconds is transmitted to the destination IP telephone terminal 2 stored in the registration destination storage unit 110 (step S105).

次に、CPU101は、相手先から「200OK」の応答パケットを受信したか否か判別し(ステップS106)、「200OK」の応答パケットを受信していないと判別したときには、予め定めた所定時間経過したか否か判別し(ステップS107)、経過していないと判別したときには、ステップS106に戻る。   Next, the CPU 101 determines whether or not a “200 OK” response packet has been received from the other party (step S106). When it is determined that the “200 OK” response packet has not been received, a predetermined time has elapsed. It is determined whether or not (step S107), and when it is determined that it has not elapsed, the process returns to step S106.

また、ステップS107で、予め定めた所定時間経過したと判別したときには、CPU101は、自端末の端末一覧情報記憶部109に、他のIP電話端末2の端末情報が記憶されているか否か判別する(ステップS108)。   If it is determined in step S107 that a predetermined time has elapsed, the CPU 101 determines whether or not terminal information of another IP telephone terminal 2 is stored in the terminal list information storage unit 109 of the own terminal. (Step S108).

そして、ステップS108で、端末一覧情報記憶部109に、他のIP電話端末2の端末情報が記憶されていると判別したときには、CPU101は、端末一覧情報記憶部109の他のIP電話端末2の端末情報の1つを相手先として、登録時相手先記憶部110に記憶する(ステップS109)。そして、ステップS105に戻り、登録時相手先記憶部110の新たに記憶した相手先に、「Register」メッセージの送出を行い、このステップS105以降の処理を繰り返す。   When it is determined in step S108 that the terminal list information storage unit 109 stores the terminal information of the other IP phone terminals 2, the CPU 101 determines that the other IP phone terminals 2 of the terminal list information storage unit 109 are not connected. One of the terminal information is stored as a partner in the partner storage unit 110 upon registration (step S109). Then, returning to step S105, the “Register” message is sent to the newly stored partner in the registration partner storage unit 110, and the processing after step S105 is repeated.

また、ステップS108で、端末一覧情報記憶部109に、他のIP電話端末2の端末情報が記憶されていないと判別したときには、CPU101は、ステップS103に戻り、このステップS103以降の処理を繰り返す。   If it is determined in step S108 that terminal information of another IP telephone terminal 2 is not stored in the terminal list information storage unit 109, the CPU 101 returns to step S103 and repeats the processing from step S103 onward.

そして、ステップS106で、相手先から「200OK」の応答パケットを受信したと判別したときには、CPU101は、受信した「200OK」の応答のパケットの「Contact」ヘッダに記述されている端末情報により、自端末の端末一覧情報記憶部109の記憶内容を更新する(ステップS110)。   If it is determined in step S106 that a “200 OK” response packet has been received from the other party, the CPU 101 uses the terminal information described in the “Contact” header of the received “200 OK” response packet. The stored contents of the terminal list information storage unit 109 of the terminal are updated (step S110).

この場合、このステップS110では、前述したように、IP電話端末2を新規に接続した場合には、CPU101は、「Contact」ヘッダに記述されている端末情報を、自端末の端末一覧情報記憶部109に追加する。また、再接続の場合には、自端末の端末一覧情報記憶部109の記憶内容を、自端末の端末情報と「Contact」ヘッダに記述されている端末情報とからなる端末一覧情報に更新する。さらに、自動更新時の「200OK」の応答のパケットの受信時には、自端末の端末一覧情報記憶部109の記憶内容を、受信した「200OK」の応答のパケットの「Contact」ヘッダに記述されている端末情報に上書き更新する。   In this case, in this step S110, as described above, when the IP telephone terminal 2 is newly connected, the CPU 101 uses the terminal information described in the “Contact” header as the terminal list information storage unit of its own terminal. 109. In the case of reconnection, the stored contents of the terminal list information storage unit 109 of the own terminal are updated to terminal list information including the terminal information of the own terminal and the terminal information described in the “Contact” header. Further, when receiving a “200 OK” response packet at the time of automatic update, the contents stored in the terminal list information storage unit 109 of the terminal itself are described in the “Contact” header of the received “200 OK” response packet. Overwrite and update the terminal information.

次に、CPU101は、自端末更新タイマー113をセットした後、この自端末更新タイマー113が満了して、自動更新タイミングになったか否か判別し(ステップS111)、自動更新タイミングになったと判別したときには、ステップS105に戻り、このステップS105以降の処理を繰り返す。   Next, after setting the self-terminal update timer 113, the CPU 101 determines whether the self-terminal update timer 113 has expired and has reached an automatic update timing (step S111), and determines that the automatic update timing has come. Sometimes, the process returns to step S105, and the processes after step S105 are repeated.

〔「Register」メッセージの受信時の処理動作〕
図16および図17は、IP電話端末2が、他のIP電話端末2から「Register」メッセージのパケットを受信したときの処理動作の一例を示すフローチャートである。
[Processing when receiving "Register" message]
FIGS. 16 and 17 are flowcharts showing an example of the processing operation when the IP telephone terminal 2 receives a “Register” message packet from another IP telephone terminal 2.

CPU101は、IPネットワーク1を通じた「Register」メッセージの受信を待ち(ステップS201)、「Register」メッセージを受信したと判別したときには、受信した「Register」メッセージの「Contact」ヘッダに記述されている端末情報が、自端末の端末一覧情報記憶部109に記憶されているか否かを判別する(ステップS202)。   The CPU 101 waits for the reception of the “Register” message through the IP network 1 (step S201). When determining that the “Register” message has been received, the CPU 101 describes the terminal described in the “Contact” header of the received “Register” message. It is determined whether or not the information is stored in the terminal list information storage unit 109 of the own terminal (step S202).

受信した「Register」メッセージの「Contact」ヘッダに記述されている端末情報が、自端末の端末一覧情報記憶部109に記憶されていないと判別したときには、CPU101は、更新・削除監視タイマー112に、当該端末情報に対応付けた更新・削除監視タイマーを設ける。そして、CPU101は、受信した「Register」メッセージの「Expire」ヘッダに記述されている生存時間を、当該設けた更新・削除監視タイマーにセットして、タイマーをスタートする(ステップS203)。   When the CPU 101 determines that the terminal information described in the “Contact” header of the received “Register” message is not stored in the terminal list information storage unit 109 of the own terminal, the CPU 101 displays an update / deletion monitoring timer 112. An update / delete monitoring timer associated with the terminal information is provided. Then, the CPU 101 sets the survival time described in the “Expire” header of the received “Register” message in the provided update / deletion monitoring timer, and starts the timer (step S203).

受信した「Register」メッセージの「Contact」ヘッダに記述されている端末情報が、自端末の端末一覧情報記憶部109に記憶されていると判別したときには、CPU101は、当該「Contact」ヘッダに記述されている端末情報に対応付けられている更新・削除監視タイマーをリセットする(ステップS204)。これにより、「Register」メッセージの送信元端末のIP電話システムにおける自動更新がなされる。   When it is determined that the terminal information described in the “Contact” header of the received “Register” message is stored in the terminal list information storage unit 109 of the own terminal, the CPU 101 is described in the “Contact” header. The update / deletion monitoring timer associated with the current terminal information is reset (step S204). As a result, the IP phone system of the transmission source terminal of the “Register” message is automatically updated.

そして、ステップS203およびステップS204の次には、CPU101は、「Register」メッセージのヘッダフィールドの「TTL」の値を抽出し、TTL−1>0であるか否か判別する(ステップS205)。   Next to step S203 and step S204, the CPU 101 extracts the value of “TTL” in the header field of the “Register” message, and determines whether or not TTL-1> 0 (step S205).

そして、ステップS205で、TTL−1>0であると判別したときには、CPU101は、自端末の端末一覧情報記憶部109の端末一覧に、自端末および送信元端末以外の他の端末が記憶されているか否か判別する(ステップS206)。   When it is determined in step S205 that TTL-1> 0, the CPU 101 stores other terminals other than the own terminal and the transmission source terminal in the terminal list of the terminal list information storage unit 109 of the own terminal. It is determined whether or not there is (step S206).

ステップS205で、TTL−1>0ではないと判別したとき、また、ステップS206で、自端末の端末一覧情報記憶部109の端末一覧に、自端末および送信元端末以外の他の端末が記憶されていないと判別したときには、CPU101は、自端末の端末一覧情報記憶部109の端末一覧情報から、送信元の端末情報を除いた端末情報の全てを「Contact」ヘッダに記述した「200OK」の応答パケットを送信元のIP電話端末2に送信する(ステップS207)。   When it is determined in step S205 that TTL-1> 0 is not satisfied, and in step S206, terminals other than the own terminal and the transmission source terminal are stored in the terminal list of the terminal list information storage unit 109 of the own terminal. If it is determined that the terminal information is not present, the CPU 101 returns a “200 OK” response in which all of the terminal information excluding the terminal information of the transmission source is described in the “Contact” header from the terminal list information of the terminal list information storage unit 109 of the own terminal. The packet is transmitted to the source IP telephone terminal 2 (step S207).

次に、CPU101は、受信した「Register」メッセージの「Contact」ヘッダに記述されている端末情報により、自端末の端末一覧情報記憶部109の記憶内容を更新する(ステップS208)。すなわち、ステップS208では、「Contact」ヘッダに記述されている端末情報が、自端末の端末一覧情報記憶部109に存在しない場合には、追加記憶し、既に記憶されている場合には上書きする。また、端末情報の内線番号またはIPアドレスのいずれかが変更されていて不一致の場合には、新たに受信した端末情報に更新するようにする。そして、この処理ルーチンを終了する。   Next, the CPU 101 updates the stored contents of the terminal list information storage unit 109 of the terminal itself with the terminal information described in the “Contact” header of the received “Register” message (step S208). That is, in step S208, if the terminal information described in the “Contact” header does not exist in the terminal list information storage unit 109 of the own terminal, it is additionally stored, and if already stored, it is overwritten. If either the extension number or the IP address of the terminal information is changed and does not match, the terminal information is updated to the newly received terminal information. Then, this processing routine ends.

また、ステップS206で、自端末の端末一覧情報記憶部109の端末一覧に、自端末および送信元端末以外の他の端末が記憶されていると判別したときには、CPU101は、当該記憶されている他の端末の全てに対して、受信した「Register」メッセージを転送する。ただし、TTLを−1だけ減算して、この例では、TTL=1に変更する(図17のステップS211)。   When it is determined in step S206 that the terminal list of the terminal list information storage unit 109 of the own terminal stores other terminals other than the own terminal and the transmission source terminal, the CPU 101 The received “Register” message is transferred to all of the terminals. However, TTL is subtracted by −1, and in this example, TTL = 1 is changed (step S211 in FIG. 17).

次に、CPU101は、自端末の端末一覧情報記憶部109の端末一覧情報から、「Register」メッセージの送信元の端末情報を除いた端末情報の全てを「Contact」ヘッダに記述した「200OK」の応答パケットを送信元のIP電話端末2に送信する(ステップS212)。   Next, the CPU 101 stores “200 OK” in which all the terminal information except the terminal information of the transmission source of the “Register” message is described in the “Contact” header from the terminal list information in the terminal list information storage unit 109 of the own terminal. The response packet is transmitted to the source IP telephone terminal 2 (step S212).

次に、CPU101は、転送先からの「200OK」の応答パケットを待ち(ステップS213)、「200OK」の応答パケットを受信したと判別したときには、受信した「200OK」の応答のパケットの「Contact」ヘッダに記述されている端末情報により、自端末の端末一覧情報記憶部109の記憶内容を更新する(ステップS214)。   Next, the CPU 101 waits for a “200 OK” response packet from the transfer destination (step S 213), and when determining that the “200 OK” response packet has been received, the “Contact” of the received “200 OK” response packet. The content stored in the terminal list information storage unit 109 of the own terminal is updated with the terminal information described in the header (step S214).

〔IP電話端末のシステムからの離脱時の処理動作〕
図18は、IP電話端末のIP電話システムからの離脱時の処理動作の一例を説明するためのフローチャートである。
[Processing when leaving IP phone terminal system]
FIG. 18 is a flowchart for explaining an example of the processing operation when the IP telephone terminal leaves the IP telephone system.

CPU101は、IP電話端末2の操作入力部114を通じて、ユーザによるIP電話システムからの離脱要求操作があったかどうかを監視する(ステップS301)。   The CPU 101 monitors whether or not the user has requested to leave the IP telephone system through the operation input unit 114 of the IP telephone terminal 2 (step S301).

ステップS301で、離脱要求操作があったと判別したときには、CPU101は、「Contact」ヘッダに、自端末の端末情報を含め、「Expire」ヘッダの生存時間の値として「0」を記述した「Register」メッセージ、すなわち、「Un−Register」メッセージを、登録時相手先記憶部110に記憶されている登録時相手先に対して送信する(ステップS302)。なお、このとき、TTL=2としておく。   If it is determined in step S301 that a leave request operation has been performed, the CPU 101 includes “Register” in which “0” is described as the lifetime value of the “Expire” header, including the terminal information of the own terminal in the “Contact” header. A message, that is, an “Un-Register” message is transmitted to the registration partner stored in the registration partner storage unit 110 (step S302). At this time, TTL = 2 is set.

次に、CPU101は、相手先から「200OK」の応答パケットを受信したか否か判別し(ステップS303)、「200OK」の応答パケットを受信していないと判別したときには、予め定めた所定時間経過したか否か判別し(ステップS304)、経過していないと判別したときには、ステップS303に戻る。   Next, the CPU 101 determines whether or not a “200 OK” response packet has been received from the other party (step S303). If it is determined that the “200 OK” response packet has not been received, a predetermined time has elapsed. It is determined whether or not (step S304), and when it is determined that it has not elapsed, the process returns to step S303.

また、ステップS304で、予め定めた所定時間経過したと判別したときには、CPU101は、自端末の端末一覧情報記憶部109に、他のIP電話端末2の端末情報が記憶されているか否か判別する(ステップS305)。   If it is determined in step S304 that a predetermined time has elapsed, the CPU 101 determines whether terminal information of another IP telephone terminal 2 is stored in the terminal list information storage unit 109 of the own terminal. (Step S305).

そして、ステップS305で、端末一覧情報記憶部109に、他のIP電話端末2の端末情報が記憶されていないと判別したときには、CPU101は、IPネットワーク1上に存在する(IPネットワーク1に既に接続されている)相手先となるIP電話端末2の宛先情報の入力を促すメッセージをディスプレイ115の画面に表示し、このメッセージに対応したユーザの入力を受け付ける(ステップS306)。   If it is determined in step S305 that terminal information of another IP telephone terminal 2 is not stored in the terminal list information storage unit 109, the CPU 101 exists on the IP network 1 (already connected to the IP network 1). A message prompting the user to input destination information of the IP telephone terminal 2 that is the other party is displayed on the screen of the display 115, and the user's input corresponding to this message is accepted (step S306).

そして、ステップS306の次には、CPU101は、受け付けた相手先の宛先情報を、登録時相手先記憶部110に記憶し(ステップS307)、ステップS302に戻り、登録時相手先記憶部110の新たに記憶した相手先に、「Un−Register」メッセージの送出を行い、このステップS302以降の処理を繰り返す。   After step S306, the CPU 101 stores the received destination information of the destination in the registration destination storage unit 110 (step S307), returns to step S302, and stores the new registration destination storage unit 110. The “Un-Register” message is sent to the other party stored in step S302, and the processes in and after step S302 are repeated.

また、ステップS305で、端末一覧情報記憶部109に、他のIP電話端末2の端末情報が記憶されていると判別したときには、CPU101は、端末一覧情報記憶部109の他のIP電話端末2の端末情報の一つを相手先として、登録時相手先記憶部110に記憶する(ステップS307)。そして、ステップS302に戻り、登録時相手先記憶部110の新たに記憶した相手先に、「Un−Register」メッセージの送出を行い、このステップS302以降の処理を繰り返す。   If it is determined in step S 305 that the terminal list information storage unit 109 stores the terminal information of the other IP telephone terminals 2, the CPU 101 determines the other IP telephone terminals 2 of the terminal list information storage unit 109. One of the terminal information is stored in the registration destination storage unit 110 as a destination (step S307). Then, the process returns to step S302, the "Un-Register" message is sent to the newly stored partner in the registration partner storage unit 110, and the processing after step S302 is repeated.

そして、ステップS303で、「200OK」の応答パケットを受信したと判別したときには、CPU101は、IPネットワーク1からの離脱OKを、ディスプレイ115の表示画面に表示するなどして、ユーザに通知する(ステップS308)。以上で、この処理ルーチンを終了する。   If it is determined in step S303 that a response packet of “200 OK” has been received, the CPU 101 notifies the user of disconnection from the IP network 1 by displaying it on the display screen of the display 115 (step S303). S308). Thus, this processing routine is finished.

次に、図19は、IP電話端末2の、「Un−Register」メッセージの受信時の処理動作の例を説明するためのフローチャートである。   Next, FIG. 19 is a flowchart for explaining an example of the processing operation when the IP telephone terminal 2 receives the “Un-Register” message.

すなわち、IP電話端末2のCPU101は、「Un−Register」メッセージの受信を監視し(ステップS311)、「Un−Register」メッセージを受信したと判別したときには、そのヘッダフィールドのTTLの値を抽出し、TTL−1>0であるか否か判別する(ステップS312)。   That is, the CPU 101 of the IP telephone terminal 2 monitors the reception of the “Un-Register” message (step S311), and when determining that the “Un-Register” message has been received, extracts the TTL value of the header field. TTL-1> 0 is determined (step S312).

ステップS312で、TTL−1>0であると判別したときには、CPU101は、自端末の端末一覧情報記憶部109に、自端末および送信元のIP電話端末2以外の他のIP電話端末2が記憶されているか否か判別する(ステップS313)。このステップS313で、他のIP電話端末2が記憶されていると判別したときには、CPU101は、当該他のIP電話端末2の全てに対して、「Un−Register」メッセージを転送する(ステップS314)。ただし、TTLを−1だけ減算して、この例では、TTLの値は1に変更する。   When it is determined in step S312 that TTL-1> 0, the CPU 101 stores other IP telephone terminals 2 other than the own terminal and the source IP telephone terminal 2 in the terminal list information storage unit 109 of the own terminal. It is determined whether or not it has been performed (step S313). If it is determined in step S313 that another IP telephone terminal 2 is stored, the CPU 101 transfers an “Un-Register” message to all the other IP telephone terminals 2 (step S314). . However, TTL is subtracted by −1, and in this example, the value of TTL is changed to 1.

そして、CPU101は、送信元のIP電話端末2に対して、「200OK」の応答パケットを送信する(ステップS315)。次に、CPU101は、送信元から受信した「Un−Register」メッセージの「Contact」ヘッダに記述されている端末情報を、自端末の端末一覧情報記憶部109から削除する(ステップS316)。そして、この処理ルーチンを終了する。   Then, the CPU 101 transmits a “200 OK” response packet to the IP telephone terminal 2 that is the transmission source (step S315). Next, the CPU 101 deletes the terminal information described in the “Contact” header of the “Un-Register” message received from the transmission source from the terminal list information storage unit 109 of the own terminal (step S316). Then, this processing routine ends.

また、ステップS312で、TTL−1=1であると判別したときには、転送が必要ないと判断し、CPU101は、ステップS315にジャンプし、このステップS315以降の処理を実行する。同様に、ステップS313で、自端末の端末一覧情報記憶部109に、自端末および送信元のIP電話端末2以外の他のIP電話端末2が記憶されていないと判別したときにも、CPU101は、ステップS315にジャンプし、このステップS315以降の処理を実行する。   If it is determined in step S312 that TTL-1 = 1, the CPU 101 determines that transfer is not necessary, and the CPU 101 jumps to step S315, and executes the processing after step S315. Similarly, when it is determined in step S313 that no other IP telephone terminal 2 other than the own terminal and the source IP telephone terminal 2 is stored in the terminal list information storage unit 109 of the own terminal, the CPU 101 also Then, the process jumps to step S315, and the processes after step S315 are executed.

〔IP電話システムからのIP電話端末2の自動削除の処理動作〕
図20は、IP電話システムを構成し、IPネットワーク1に接続されているIP電話端末2のそれぞれにおいて実行されるIP電話端末2の自動削除についての処理動作の例を説明するためのフローチャートである。この図20の処理は、例えば、一定時間間隔で割り込み処理として繰り返す。
[Operation of automatic deletion of IP phone terminal 2 from IP phone system]
FIG. 20 is a flowchart for explaining an example of the processing operation for automatic deletion of the IP telephone terminal 2 executed in each of the IP telephone terminals 2 constituting the IP telephone system and connected to the IP network 1. . The process of FIG. 20 is repeated as an interrupt process at regular time intervals, for example.

CPU101は、自端末の端末一覧情報記憶部109に記憶されている自端末以外のIP電話端末2についての更新・削除監視タイマーをチェックする(ステップS401)。そして、CPU101は、このチェックの結果、更新・削除監視タイマーのタイマー時間が満了となっているIP電話端末2があるか否か判別し(ステップS402)、タイマー時間が満了となっているIP電話端末2は存在しないと判別したときには、この処理ルーチンをそのまま抜ける。   The CPU 101 checks the update / deletion monitoring timer for the IP telephone terminal 2 other than the own terminal stored in the terminal list information storage unit 109 of the own terminal (step S401). Then, as a result of this check, the CPU 101 determines whether there is an IP telephone terminal 2 for which the timer time of the update / deletion monitoring timer has expired (step S402), and the IP telephone for which the timer time has expired. When it is determined that the terminal 2 does not exist, this processing routine is directly exited.

ステップS402で、更新・削除監視タイマーのタイマー時間が満了となっているIP電話端末2があると判別したときには、CPU101は、端末一覧情報記憶部109からそのIP電話端末2の端末情報を削除する(ステップS403)。そして、削除後の端末一覧情報記憶部109に記憶されている自端末以外の全ての他のIP電話端末2に対して、削除したIP電話端末の端末情報を「Contact」ヘッダに記述した「Un−Register」メッセージを送信する(ステップS404)。この場合、転送の必要がないので、「Un−Register」メッセージのヘッダフィールドのTTLは、TTL=1とする。   When it is determined in step S402 that there is an IP telephone terminal 2 for which the timer time of the update / deletion monitoring timer has expired, the CPU 101 deletes the terminal information of the IP telephone terminal 2 from the terminal list information storage unit 109. (Step S403). Then, with respect to all other IP telephone terminals 2 other than the own terminal stored in the terminal list information storage unit 109 after deletion, the terminal information of the deleted IP telephone terminal is described as “Un” in the “Contact” header. -Register "message is transmitted (step S404). In this case, since there is no need for transfer, the TTL of the header field of the “Un-Register” message is set to TTL = 1.

そして、CPU101は、転送先からの「200OK」の応答パケットの受信を確認し(ステップS405)、その後、この処理ルーチンを終了する。   Then, the CPU 101 confirms the reception of the “200 OK” response packet from the transfer destination (step S405), and thereafter ends this processing routine.

〔端末情報の変更時の処理動作〕
図21は、端末情報の変更時の処理動作の例を説明するためのフローチャートであり、この例は、端末情報のうちのIPアドレスが変更されたときの処理動作例である。
[Processing when changing terminal information]
FIG. 21 is a flowchart for explaining an example of the processing operation when the terminal information is changed. This example is a processing operation example when the IP address in the terminal information is changed.

CPU101は、ユーザの操作入力部114を通じたキー入力操作により、端末情報、この例では、IPアドレスが変更されたか否かを監視し(ステップS501)、IPアドレスの変更操作があったと判別したときには、端末一覧情報記憶部109の自端末の端末情報を、変更されたIPアドレスを含むものに修正する(ステップS502)。   The CPU 101 monitors whether or not the terminal information, in this example, the IP address, has been changed by a key input operation through the operation input unit 114 of the user (step S501), and determines that the IP address has been changed. Then, the terminal information of the own terminal in the terminal list information storage unit 109 is modified to include the changed IP address (step S502).

そして、CPU101は、変更後のIPアドレスを含む自端末の端末情報を記述した「Contact」ヘッダと、この例では3600秒と生存時間を記述した「Expire」ヘッダとをヘッダフィールドに含む「Register」メッセージを、登録時相手先記憶部110に記憶されている相手先に送信する(ステップS503)。この「Register」メッセージのヘッダフィールドのTTLは、TTL=2とする。   Then, the CPU 101 includes a “Contact” header in which the terminal information of the terminal including the changed IP address is described, and an “Expire” header in which 3600 seconds and a lifetime are described in this example are included in the header field. A message is transmitted to the other party memorize | stored in the other party memory | storage part 110 at the time of registration (step S503). The TTL in the header field of this “Register” message is TTL = 2.

次に、CPU101は、相手先から「200OK」の応答パケットを受信したか否か判別し(ステップS504)、「200OK」の応答パケットを受信していないと判別したときには、予め定めた所定時間経過したか否か判別し(ステップS505)、経過していないと判別したときには、ステップS504に戻る。   Next, the CPU 101 determines whether or not a “200 OK” response packet has been received from the partner (step S504). When it is determined that a “200 OK” response packet has not been received, a predetermined time has elapsed. It is determined whether or not (step S505), and if it is determined that it has not elapsed, the process returns to step S504.

また、ステップS505で、予め定めた所定時間経過したと判別したときには、CPU101は、自端末の端末一覧情報記憶部109に、他のIP電話端末2の端末情報が記憶されているか否か判別する(ステップS506)。   If it is determined in step S505 that a predetermined time has elapsed, the CPU 101 determines whether terminal information of another IP telephone terminal 2 is stored in the terminal list information storage unit 109 of the terminal itself. (Step S506).

そして、ステップS506で、端末一覧情報記憶部109に、他のIP電話端末2の端末情報が記憶されていないと判別したときには、CPU101は、IPネットワーク1上に存在する(IPネットワーク1に既に接続されている)相手先となるIP電話端末2の宛先情報の入力を促すメッセージをディスプレイ115の画面に表示し、このメッセージに対応したユーザの入力を受け付ける(ステップS507)。   When it is determined in step S506 that terminal information of another IP telephone terminal 2 is not stored in the terminal list information storage unit 109, the CPU 101 exists on the IP network 1 (already connected to the IP network 1). A message prompting input of destination information of the IP telephone terminal 2 that is the other party is displayed on the screen of the display 115, and a user input corresponding to this message is accepted (step S507).

そして、ステップS507の次には、CPU101は、受け付けた相手先の宛先情報を、登録時相手先記憶部110に記憶し(ステップS508)、ステップS503に戻り、登録時相手先記憶部110の新たに記憶した相手先に、前記「Register」メッセージの送出を行い、このステップS503以降の処理を繰り返す。   After step S507, the CPU 101 stores the received destination information of the destination in the registration destination storage unit 110 (step S508), returns to step S503, and stores the new registration destination storage unit 110. The "Register" message is transmitted to the other party stored in the above, and the processes in and after step S503 are repeated.

また、ステップS506で、端末一覧情報記憶部109に、他のIP電話端末2の端末情報が記憶されていると判別したときには、CPU101は、端末一覧情報記憶部109の他のIP電話端末2の端末情報の一つを相手先として、登録時相手先記憶部110に記憶する(ステップS508)。そして、ステップS503に戻り、登録時相手先記憶部110の新たに記憶した相手先に、「Un−Register」メッセージの送出を行い、このステップS503以降の処理を繰り返す。   If it is determined in step S506 that terminal information of another IP telephone terminal 2 is stored in the terminal list information storage unit 109, the CPU 101 determines the other IP telephone terminals 2 of the terminal list information storage unit 109. One of the terminal information is stored in the registration partner storage unit 110 as a partner (step S508). Then, the process returns to step S503, the “Un-Register” message is sent to the newly stored partner in the registration partner storage unit 110, and the processes in and after step S503 are repeated.

そして、ステップS504で、「200OK」の応答パケットを受信したと判別したときには、CPU101は、「200OK」の応答パケットの「Contact」ヘッダに記述されている端末情報により、自端末の端末一覧情報記憶部109の記憶内容を更新する(ステップS509)。   If it is determined in step S504 that a “200 OK” response packet has been received, the CPU 101 stores the terminal list information of its own terminal based on the terminal information described in the “Contact” header of the “200 OK” response packet. The contents stored in the unit 109 are updated (step S509).

次に、CPU101は、自端末更新タイマー113が満了して、自動更新タイミングになったか否か判別し(ステップS510)、自動更新タイミングになったと判別したときには、ステップS503に戻り、このステップS503以降の処理を繰り返す。   Next, the CPU 101 determines whether or not the self-terminal update timer 113 has expired and has reached an automatic update timing (step S510). When determining that the automatic update timing has come, the CPU 101 returns to step S503, and after this step S503. Repeat the process.

<IP電話システムにおけるIP電話端末の電話発着信処理動作>
以上のようにして、実施形態のIP電話システムを構成する複数個のIP電話端末2の端末一覧情報記憶部109のそれぞれには、当該実施形態のIP電話システムを構成する複数個のIP電話端末2の端末情報が全て記憶される。そして、この実施形態では、IP電話端末2は、自端末の端末一覧情報記憶部109の記憶内容を用いることで、電話発着信動作を、SIPサーバを介さずに実行する。
<Telephone call processing of IP phone terminal in IP phone system>
As described above, each of the terminal list information storage units 109 of the plurality of IP telephone terminals 2 constituting the IP telephone system of the embodiment includes a plurality of IP telephone terminals constituting the IP telephone system of the embodiment. All the terminal information of 2 is stored. In this embodiment, the IP telephone terminal 2 uses the stored contents of the terminal list information storage unit 109 of the own terminal to execute the telephone call incoming / outgoing operation without going through the SIP server.

図22は、この実施形態におけるIP電話端末2間での発着信シーケンスを示す図である。   FIG. 22 is a diagram showing an outgoing / incoming sequence between IP telephone terminals 2 in this embodiment.

この実施形態のIP電話端末2では、電話帳メモリ111を備えるが、この電話帳メモリ111には、端末一覧情報記憶部109に端末情報が記憶されている相手先の、電話番号や名前などが登録されるものである。   The IP telephone terminal 2 of this embodiment includes a telephone directory memory 111. In this telephone directory memory 111, the telephone number and name of the other party whose terminal information is stored in the terminal list information storage unit 109 are stored. It is to be registered.

ユーザは、この電話帳メモリ111から選択することにより、あるいは、操作入力部114を通じて電話番号を直接に入力することにより、端末一覧情報記憶部109に端末情報が記憶されている相手先を指定して、発呼を行うことができる。   The user designates a partner whose terminal information is stored in the terminal list information storage unit 109 by selecting from the telephone directory memory 111 or by directly inputting a telephone number through the operation input unit 114. To make a call.

図22の例では、IP電話端末2Bのユーザが、端末一覧情報記憶部109の記憶内容109Fの「1001番」の相手先(この例では、IP電話端末2A)を選択して、発呼を行った状態を示している。   In the example of FIG. 22, the user of the IP telephone terminal 2B selects the “1001” counterpart (in this example, the IP telephone terminal 2A) in the stored contents 109F of the terminal list information storage unit 109 and makes a call. The state that has been performed is shown.

ユーザにより、上記の発呼操作がなされたIP電話端末2Bは、ヘッダフィールドの相手先情報として、前記「1001番」のIP電話端末2Aの端末情報(SIPアドレス)が記述されている「INVITE」メッセージを、IPネットワーク1を通じて送出する。なお、「INVITE」メッセージのヘッダフィールドの送信元情報としては、自端末の端末情報(SIPアドレス)が記述されている。   The IP telephone terminal 2B on which the call operation is performed by the user is “INVITE” in which the terminal information (SIP address) of the “1001” IP telephone terminal 2A is described as the destination information in the header field. The message is transmitted through the IP network 1. Note that the terminal information (SIP address) of the terminal itself is described as the transmission source information in the header field of the “INVITE” message.

この「INVITE」メッセージを受信したIP電話端末2Aは、自端末の端末一覧情報記憶部109の記憶内容を参照し、自端末宛の「INVITE」メッセージであり、「1002番」のIP電話端末2Bからの着信であることを判別する。そして、自端末宛の「INVITE」メッセージであることから、当該着信に対して正常に応答して、IP電話端末2Aは、「100Trying」メッセージを、送信元のIP電話端末2Bに返す。   The IP telephone terminal 2A that has received the “INVITE” message refers to the stored contents of the terminal list information storage unit 109 of the own terminal, is an “INVITE” message addressed to the own terminal, and is “1002” IP telephone terminal 2B. It is determined that the incoming call is from. Since it is an “INVITE” message addressed to the terminal itself, the IP telephone terminal 2A returns a “100 Trying” message to the transmission source IP telephone terminal 2B in response to the incoming call normally.

そして、IP電話端末2Aは、着信鳴動を行って着信を自端末のユーザに報知すると共に、送信元のIP電話端末2Bに、呼び出し中を示す「180Ringing」メッセージを送信する。   Then, IP phone terminal 2A performs incoming ringing to notify the user of the terminal itself of the incoming call, and transmits a “180 Ringing” message indicating that the call is in progress to IP phone terminal 2B of the transmission source.

そして、IP電話端末2Aのユーザが、着信鳴動に対応して、着信応答操作をすると、IP電話端末2Aは、「200OK」の応答パケットを送信元のIP電話端末2Bに送信する。これにより、IP電話端末2BとIP電話端末2Aとの間に通話路が生成され、両端末間で、通話が可能となる。   Then, when the user of the IP telephone terminal 2A performs an incoming call response operation in response to ringing, the IP telephone terminal 2A transmits a response packet of “200 OK” to the source IP telephone terminal 2B. As a result, a call path is generated between the IP phone terminal 2B and the IP phone terminal 2A, and a call can be made between the both terminals.

図22の例は、相手先の端末情報(SIPアドレス)が正しいので、正常に、発着信動作がなされた場合である。これに対して、例えば端末情報の変更の通知の受け取りに失敗したなどの何らかの原因で、IP電話端末2Bの端末一覧情報記憶部109の記憶内容が誤った古い内容になっていて、相手先情報が正しくない場合の発着信シーケンス例を図23に示す。   The example of FIG. 22 is a case where the terminal information (SIP address) of the other party is correct and thus the outgoing / incoming operation is normally performed. On the other hand, the stored contents of the terminal list information storage unit 109 of the IP telephone terminal 2B are erroneously old due to some reason such as failure to receive the notification of the change of the terminal information. FIG. 23 shows an example of an outgoing / incoming call sequence in the case where is not correct.

図23の例は、IP電話端末2Bのユーザが、「1001番」の相手先を選択して、発呼を行ったが、正しい相手先情報ではなかったので、通話路が形成されなかった状態を示している。   In the example of FIG. 23, the user of the IP telephone terminal 2B selects the “1001” partner and places a call, but the communication path is not formed because the destination information is not correct. Is shown.

すなわち、この図23の例では、IP電話端末2Bは、ヘッダフィールドの相手先情報として、前記「1001番」についての端末情報(SIPアドレス)である「1001@192.168.0.3」が記述されている「INVITE」メッセージを、IPネットワーク1を通じて送出する。   That is, in the example of FIG. 23, the IP telephone terminal 2B has “1001@192.168.0.3” which is terminal information (SIP address) for the “1001” as the destination information in the header field. The described “INVITE” message is transmitted through the IP network 1.

この例の端末情報のIPアドレスは、「192.168.0.3」であって、これは、この例では、IP電話端末2CのIPアドレスである。しかし、IP電話端末2Cは、「1003番」であって、「1001番」ではなく、このため、受信した「INVITE」メッセージは、SIPアドレスが自分宛でない(SIPアドレスは端末情報のそれと一致しているが、ユーザ名(この例では電話番号)が異なっている)として、着信を拒否し、送信元のIP電話端末2Bの不存在を示す「481 CALL//TRANSACTION Does Not Exist」メッセージ(相手先不存在メッセージと、以下称する)を送信する。   The IP address of the terminal information in this example is “192.168.0.3”, which is the IP address of the IP telephone terminal 2C in this example. However, the IP telephone terminal 2C is “1003” and not “1001”. Therefore, the received “INVITE” message is not addressed to the SIP address (the SIP address matches that of the terminal information). However, the user name (telephone number is different in this example) is rejected, and the “481 CALL // TRANSACTION Does Not Exist” message (partner) indicates that the IP telephone terminal 2B as the transmission source is rejected. (Hereinafter referred to as the “pre-existing message”).

この相手先不存在メッセージを受信したIP電話端末2Bは、自端末のディスプレイ115に、送信先は、目的の宛先ではない、つまり、宛先が誤っていることを示すメッセージ表示をし、ユーザに報知する。   The IP telephone terminal 2B that has received the destination non-existence message displays a message on the display 115 of its own terminal indicating that the transmission destination is not the intended destination, that is, the destination is incorrect, and notifies the user. To do.

なお、図23のシーケンス例では、IP電話端末2Cは、着信拒否とすることで終了するようにしたが、IP電話端末2Cは、着信を拒否した後、自端末の端末情報を「Contact」ヘッダに含めた「Register」メッセージを、自分以外の他の全てのIP電話端末に送信するようにする処理を行うようにしても良い。   In the sequence example of FIG. 23, the IP telephone terminal 2C is terminated by rejecting the incoming call. However, after the IP telephone terminal 2C rejects the incoming call, the terminal information of the own terminal is changed to the “Contact” header. The “Register” message included in the message may be transmitted to all other IP telephone terminals other than itself.

このようにすれば、IP電話端末2Cの正しい端末情報が全てのIP電話端末に伝達され、その後は、IP電話端末2Cは、正しく着信を受けることができるようになる。なお、誤っている端末情報は、自動更新されることはないので、その後、自動削除されることになる。   In this way, the correct terminal information of IP telephone terminal 2C is transmitted to all IP telephone terminals, and thereafter, IP telephone terminal 2C can receive incoming calls correctly. Note that erroneous terminal information is not automatically updated, and is therefore automatically deleted.

次に、図24のシーケンス例は、端末一覧情報記憶部109の記憶されている端末情報の相手先のIP電話端末に発呼を行ったが、IPネットワーク1には、当該対応するIP電話端末が存在しなかった場合のシーケンス例である。これは、例えば、発信先のIP電話端末が、離脱要求を行うことなく、IPネットワーク1から離脱してしまっていて、しかも、自動削除されるタイミングに未だ至っていない状態の際に生じる。   Next, in the sequence example of FIG. 24, a call is made to the IP telephone terminal that is the counterpart of the terminal information stored in the terminal list information storage unit 109, but the IP network 1 includes the corresponding IP telephone terminal. It is an example of a sequence when no exists. This occurs, for example, when the destination IP telephone terminal has left the IP network 1 without making a withdrawal request, and has not yet reached the timing for automatic deletion.

図24の例では、IP電話端末2Bのユーザが、端末一覧情報記憶部109の記憶内容109Fの「1001番」の相手先(この例では、IP電話端末2A)を選択して、発呼を行ったが、IP電話端末2Aが離脱していて応答がない状態を示している。   In the example of FIG. 24, the user of the IP telephone terminal 2B selects the “1001” counterpart (in this example, the IP telephone terminal 2A) in the stored contents 109F of the terminal list information storage unit 109 and makes a call. Although the IP telephone terminal 2A has been disconnected and no response has been made, this is shown.

すなわち、図24に示すように、この例では、IP電話端末2Bは、ユーザの「1001番」を相手先として指定した発呼操作を受けて、前記「1001番」のIP電話端末2Aの端末情報(SIPアドレス)が記述されている「INVITE」メッセージを、IPネットワーク1を通じて送出する。   That is, as shown in FIG. 24, in this example, the IP telephone terminal 2B receives the call operation specifying the user's "1001" as the other party, and the terminal of the "1001" IP telephone terminal 2A An “INVITE” message in which information (SIP address) is described is transmitted through the IP network 1.

しかし、応答がないため、IP電話端末2Bは、所定回数、「INVITE」メッセージを再送出する。当該所定回数の再送出に対しても、応答がないと判別すると、IP電話端末2Bは、発呼動作を停止すると共に、自端末の端末一覧情報記憶部109から、そのときの相手先の端末情報を削除する。   However, since there is no response, IP telephone terminal 2B retransmits the “INVITE” message a predetermined number of times. If it is determined that there is no response to the predetermined number of re-transmissions, the IP telephone terminal 2B stops the call operation, and from the terminal list information storage unit 109 of the own terminal, the terminal of the other party at that time Delete information.

そして、IP電話端末2Bは、端末一覧情報記憶部109に記憶されている他のIP電話端末に対して、当該削除した端末情報を「Contact」ヘッダに含めた「Un−Register」メッセージを送出し、その端末情報を削除させるようにする。   Then, IP phone terminal 2B sends an “Un-Register” message including the deleted terminal information in the “Contact” header to the other IP phone terminals stored in terminal list information storage section 109. , Delete the terminal information.

〔IP電話端末2での発信処理動作〕
以上のシーケンス例に示したIP電話端末2の発信時の、IP電話端末2の処理動作の例を説明するためのフローチャートを図25および図26に示す。
[Outgoing call processing operation at IP phone terminal 2]
FIG. 25 and FIG. 26 are flowcharts for explaining an example of the processing operation of the IP telephone terminal 2 when making a call from the IP telephone terminal 2 shown in the above sequence example.

すなわち、CPU101は、ユーザにより操作入力部114を通じて発信相手先の指定および発信操作がなされたか否か監視し(ステップS601)、発信相手先の指定および発信操作がなされたと判別したときには、端末一覧情報記憶部109のうちの指定された相手先の端末情報を、相手先SIPアドレスとして含む「INVITE」メッセージを生成して、IPネットワーク1に送出する(ステップS602)。   That is, the CPU 101 monitors whether or not the user has designated and sent a call through the operation input unit 114 (step S601), and when determining that the callee has been designated and sent, the terminal list information An “INVITE” message including the terminal information of the designated partner in the storage unit 109 as the partner SIP address is generated and sent to the IP network 1 (step S602).

次に、CPU101は、「200OK」の応答パケットを受信したか否かにより、相手先が着信応答したか否か判別し(ステップS603)、相手先応答を判別したときには、通話路を生成する(ステップS604)。そして、CPU101は、通話路の切断操作、または、切断要求メッセージを待って(ステップS605)、通話路を切断し(ステップS606)、この処理ルーチンを終了する。   Next, the CPU 101 determines whether or not the other party has made an incoming call response based on whether or not the response packet “200 OK” has been received (step S603). Step S604). Then, the CPU 101 waits for a call path disconnection operation or a disconnection request message (step S605), disconnects the call path (step S606), and ends this processing routine.

また、ステップS603で、相手先の応答がないと判別したときには、CPU101は、相手先不存在メッセージを受信したか否か判別し(ステップS607)、相手先不存在メッセージを受信したと判別したときには、相手先は目的の宛先ではないことをディスプレイ115の画面にメッセージ表示してユーザに報知する(ステップS608)。そして、この処理ルーチンを終了する。   If it is determined in step S603 that there is no response from the partner, the CPU 101 determines whether or not a partner non-existence message has been received (step S607), and if it is determined that a partner non-existence message has been received. Then, a message is displayed on the screen of the display 115 to notify the user that the other party is not the target destination (step S608). Then, this processing routine ends.

また、ステップS607で、相手先不存在メッセージを受信してはいないと判別したときには、CPU101は、発信時から予め定められた所定時間経過したか否か判別し(図26のステップS611)、所定時間経過してはいないと判別したときには、ユーザにより切断操作がなされたか否か判別する(ステップS612)。   If it is determined in step S607 that the partner non-existence message has not been received, the CPU 101 determines whether or not a predetermined time has elapsed from the time of transmission (step S611 in FIG. 26). If it is determined that the time has not elapsed, it is determined whether or not a cutting operation has been performed by the user (step S612).

そして、ステップS612で、ユーザにより切断操作されたと判別したときには、CPU101は、ステップS606にジャンプして、このステップS606以降の処理を実行する。また、ステップS612で、ユーザにより切断操作されてはいないと判別したときには、CPU101は、ステップS603に戻り、相手応答を監視する。   If it is determined in step S612 that the cutting operation has been performed by the user, the CPU 101 jumps to step S606, and executes the processing after step S606. If it is determined in step S612 that the user has not performed a disconnection operation, the CPU 101 returns to step S603 and monitors the other party's response.

ステップS611で、所定時間経過したと判別したときには、CPU101は、発信先として指定した相手先の端末情報を、端末一覧情報記憶部109から削除する(ステップS613)。そして、CPU101は、削除した端末情報を「Contact」ヘッダに記述した「Un−Register」メッセージを、端末一覧情報記憶部109の自端末以外の他のIP電話端末2の全てに対して送信する(ステップS614)。   If it is determined in step S611 that the predetermined time has elapsed, the CPU 101 deletes the terminal information of the partner designated as the transmission destination from the terminal list information storage unit 109 (step S613). Then, the CPU 101 transmits an “Un-Register” message in which the deleted terminal information is described in the “Contact” header to all the IP telephone terminals 2 other than the own terminal in the terminal list information storage unit 109 ( Step S614).

そして、CPU101は、「Register」メッセージの送信先からの「200OK」の応答パケットの受信を確認して、この処理ルーチンを終了する。   Then, the CPU 101 confirms the reception of the “200 OK” response packet from the transmission destination of the “Register” message, and ends this processing routine.

〔IP電話端末2での着信処理動作〕
以上のシーケンス例に示したIP電話端末2の着信時の、IP電話端末2の処理動作の例を説明するためのフローチャートを図27に示す。
[Incoming call processing at IP phone terminal 2]
FIG. 27 is a flowchart for explaining an example of the processing operation of the IP telephone terminal 2 when the IP telephone terminal 2 receives an incoming call shown in the above sequence example.

CPU101は、着信(自端末のIPアドレスを宛先情報に含む「INVITE」メッセージの受信)を監視し(ステップS701)、着信があったと判別したときには、自端末の端末情報(SIPアドレス)と、「INVITE」メッセージの相手先情報のSIPアドレスとを照合する(ステップS702)。そして、CPU101は、その照合の結果、自端末のSIPアドレスと、「INVITE」メッセージの相手先情報のSIPアドレスとが一致しているか否か、つまり、IPアドレスとユーザ名(ここでは電話番号)の両方が一致しているか否かを判別する(ステップS703)。   The CPU 101 monitors incoming calls (reception of an “INVITE” message including the IP address of the terminal itself in destination information) (step S701), and when determining that there is an incoming call, the CPU 101 stores the terminal information (SIP address) of the own terminal and “ The SIP address of the destination information of the “INVITE” message is collated (step S702). Then, as a result of the collation, the CPU 101 determines whether or not the SIP address of its own terminal matches the SIP address of the destination information of the “INVITE” message, that is, the IP address and the user name (here, the telephone number) It is determined whether or not both match (step S703).

ステップS703で、自端末宛の着信であると判別したときには、CPU101は、着信鳴動を行って着信をユーザに報知し(ステップS704)、ユーザによる着信応答操作があったか否か判別する(ステップS705)。   If it is determined in step S703 that the incoming call is directed to the terminal itself, the CPU 101 performs an incoming call to notify the user of the incoming call (step S704), and determines whether or not the user has performed an incoming call response operation (step S705). .

ステップS705で、着信応答操作がなされていないと判別したときには、CPU101は、発信元により切断されたか否か判別し(ステップS706)、切断されていないと判別したときには、ステップS704に戻り、このステップS704以降の処理を繰り返す。また、ステップS706で、切断されたと判別したときには、そのままこの処理ルーチンを終了する。   If it is determined in step S705 that the incoming call response operation has not been performed, the CPU 101 determines whether the caller has disconnected (step S706). If it is determined that the call has not been disconnected, the CPU 101 returns to step S704. The processing after S704 is repeated. If it is determined in step S706 that the connection has been cut, the processing routine is terminated.

また、ステップS705で、着信応答操作がなされたと判別したときには、CPU101は、発信元との間に通話路を生成する(ステップS707)。そして、CPU101は、通話路の切断操作、または、切断要求メッセージを待って(ステップS708)、通話路を切断し(ステップS709)、この処理ルーチンを終了する。   If it is determined in step S705 that an incoming call response operation has been performed, the CPU 101 generates a call path with the caller (step S707). Then, the CPU 101 waits for a call path disconnection operation or a disconnection request message (step S708), disconnects the call path (step S709), and ends this processing routine.

さらに、ステップS703で、自端末の端末情報(SIPアドレス)と、「INVITE」メッセージの相手先情報のSIPアドレスとが一致してはいない、つまり、自端末の端末情報(SIPアドレス)と、「INVITE」メッセージの相手先情報のIPアドレスは一致するが、ユーザ名(この例では電話番号)が異なると判別したときには、CPU101は、CPU101は、相手先不存在メッセージを生成して、送信元に送信する(ステップS710)。そして、この処理ルーチンを終了する。   Further, in step S703, the terminal information (SIP address) of the own terminal and the SIP address of the destination information of the “INVITE” message do not match, that is, the terminal information (SIP address) of the own terminal and “ When the IP address of the destination information in the “INVITE” message matches but the user name (phone number in this example) is different, the CPU 101 generates a destination non-existence message and sends it to the sender. Transmit (step S710). Then, this processing routine ends.

[実施形態の効果]
以上説明したように、この実施形態のIP電話システムにおいては、SIPサーバを用いることなく、IPネットワーク1に接続されたIP電話端末2間での通話が可能となる。
[Effect of the embodiment]
As described above, in the IP telephone system of this embodiment, a call can be made between the IP telephone terminals 2 connected to the IP network 1 without using a SIP server.

この場合に、この実施形態では、IP電話端末2は、IPネットワーク1に対して接続する際に、端末情報の登録をする必要があるが、そのためのSIPメッセージとしては、既存の「Register」メッセージを用いるので、構成が簡単になる。   In this case, in this embodiment, the IP telephone terminal 2 needs to register terminal information when connecting to the IP network 1, and an existing “Register” message is used as the SIP message for this purpose. Since this is used, the configuration is simplified.

また、上述の実施形態においては、IP電話システムに対するIP電話端末2の自動更新・削除がなされるので、IP電話端末2が故障して使用できなくなったときであっても、それに自動的に対応することができる。   In the above-described embodiment, since the IP phone terminal 2 is automatically updated and deleted from the IP phone system, even when the IP phone terminal 2 fails and cannot be used automatically can do.

[他の実施形態および変形例]
上述の実施形態では、IPネットワーク1への接続時に、登録された相手先に対して「Register」メッセージを送出するようにしたので、最初の接続時には、記憶部に相手先を登録するようにした。これは、この実施形態が、SIPにおいて規格上、既定されている「Register」を用いて接続登録することができるようにしたためである。
[Other Embodiments and Modifications]
In the above-described embodiment, since the “Register” message is sent to the registered partner when connecting to the IP network 1, the partner is registered in the storage unit at the first connection. . This is because this embodiment enables connection registration using the “Register” defined in the SIP standard.

しかし、最初の接続登録時には、特別の接続登録用のメッセージパケットを定義し、そのメッセージパケットに、接続登録するIP電話端末の端末情報を含めてIPネットワークに送出し、他のIP電話端末は、当該メッセージパケットを受信して、新規に接続されたIP電話端末の端末情報を検知し、それをそれぞれの端末一覧情報記憶部に追加記憶するようにすることができる。   However, at the time of the first connection registration, a message packet for special connection registration is defined, and the message packet including the terminal information of the IP telephone terminal to be registered for connection is sent to the IP network. It is possible to receive the message packet, detect the terminal information of the newly connected IP telephone terminal, and additionally store it in each terminal list information storage unit.

このようにすれば、IP電話端末2は、常に接続時に、その特別の接続登録用のメッセージパケットを自動的にIPネットワークに送出することができるので、上述の実施形態のようなユーザによる相手先の事前登録入力は不要となる。   In this way, the IP telephone terminal 2 can automatically send a message packet for the special connection registration to the IP network at the time of connection, so that the other party by the user as in the above-described embodiment No prior registration input is required.

また、上述の実施形態では、自動更新・自動削除用の監視タイマーは、端末一覧情報記憶部109に記憶される端末情報のすべてについて、各IP電話端末がそれぞれ備えるようにした。   Further, in the above-described embodiment, the monitoring timer for automatic update / automatic deletion is provided in each IP telephone terminal for all terminal information stored in the terminal list information storage unit 109.

しかし、上述の実施形態では、各IP電話端末2は、登録時相手先記憶部に記憶される相手先に対して、自動更新用の「Register」メッセージを送信するようにする。そこで、各IP電話端末2は、自分を相手先として「Register」メッセージを送信してくるIP電話端末の端末情報を、自動更新監視端末として、記憶するようにし、その監視端末についてのみ、それぞれ監視するようにし、その監視結果を他のIP電話端末に伝えるように構成してもよい。   However, in the above-described embodiment, each IP telephone terminal 2 transmits an “Register” message for automatic update to the other party stored in the other party storage unit at the time of registration. Therefore, each IP telephone terminal 2 stores the terminal information of the IP telephone terminal that transmits the “Register” message with the other party as the other party as an automatic update monitoring terminal, and monitors only the monitoring terminal. The monitoring result may be transmitted to another IP telephone terminal.

その場合には、IP電話端末は、自端末に転送ではなく、直接に「Register」メッセージを送信してくるIP電話端末を、自動更新監視端末として記憶し、その記憶したIP電話端末について、自動更新・削除を監視し、その監視結果を他のIP電話端末に送るようにすればよい。   In this case, the IP telephone terminal stores the IP telephone terminal that directly transmits the “Register” message as an automatic update monitoring terminal instead of forwarding to the own terminal, and the stored IP telephone terminal automatically Update / deletion may be monitored and the monitoring result sent to another IP telephone terminal.

また、上述の実施形態では、IPネットワーク1への接続時などに送出する「Register」メッセージのTTLは、TTL=2として、「Register」メッセージを直接に受信したIP電話端末が、他の全てのIP電話端末に転送するようにした。しかし、前記「Register」メッセージに含めるTTLは、3以上とするようにしても良い。   Further, in the above-described embodiment, the TTL of the “Register” message transmitted when connecting to the IP network 1 is TTL = 2, and the IP telephone terminal that directly receives the “Register” message has received all other Transfer to IP phone terminal. However, the TTL included in the “Register” message may be 3 or more.

その場合には、受信した「Register」メッセージのTTLがTTL>1であるIP電話端末は、自分と、送信元のIP電話端末の他の全てのIP電話端末に、TTLを−1した「Register」メッセージを転送するようにしても良い。この場合には、端末一覧情報は、複数回、繰り返し同じ情報が記憶更新されることになるが、IP電話システムを構成する複数のIP電話端末の全てが、同一の端末一覧情報を記憶することが、より保証されるものである。   In this case, the IP phone terminal whose TTL of the received “Register” message has TTL> 1 is set to “Register” in which TTL is set to −1 to itself and all other IP phone terminals of the source IP phone terminal. Message may be forwarded. In this case, the same information is repeatedly stored and updated a plurality of times in the terminal list information, but all of the plurality of IP telephone terminals constituting the IP telephone system store the same terminal list information. Is more guaranteed.

また、受信した「Register」メッセージのTTLがTTL>3であるIP電話端末は、自分および送信元のIP電話端末以外の他の任意の1個のIP電話端末に、TTLを−1した「Register」メッセージを転送し、転送により受信した「Register」メッセージのTTLがTTL=1であるIP電話端末が、自分と送信元以外の他の全てに、TTLを−1した「Register」メッセージを転送するようにしても良い。   In addition, an IP phone terminal whose TTL of the received “Register” message has TTL> 3 is set to “Register” in which TTL is set to −1 to any one IP phone terminal other than itself and the source IP phone terminal. The IP telephone terminal whose TTL of the “Register” message received by the transfer is TTL = 1 transfers the “Register” message with TTL minus −1 to all but the sender and the sender. You may do it.

1…IPネットワーク、2…IP電話端末、101…CPU、109…端末一覧情報記憶部、110…登録時相手先記憶部、112…更新・削除監視タイマー、103…自端末更新タイマー   DESCRIPTION OF SYMBOLS 1 ... IP network, 2 ... IP telephone terminal, 101 ... CPU, 109 ... Terminal list information storage part, 110 ... Registration other party storage part, 112 ... Update / deletion monitoring timer, 103 ... Own terminal update timer

Claims (7)

IP(Internet Protocol)ネットワークに接続された複数個のIP電話端末のみからなる電話システムであって、
前記IP電話端末のそれぞれは、
前記IP電話端末を識別するための識別情報と当該IP電話端末の前記IPネットワーク上のIPアドレスとを対応付けた端末情報を、前記IPネットワーク上に接続されている互いに通信可能な全てのIP電話端末について記憶する端末一覧情報記憶部を備えると共に
前記IPネットワークに接続されたとき及び前記IPネットワークに接続された状態において自端末の前記IPネットワークでの生存時間よりも短い予め設定された時間間隔が経過したときに、前記自端末の端末情報と前記生存時間の情報をヘッダに含めた登録用パケットを、前記IPネットワークに送出し、前記登録用パケットの送出に対して前記IPネットワークの他の前記IP電話端末から送られてくる応答のパケットを受信して、前記応答のパケットに含まれる端末情報により自端末の前記端末一覧情報記憶部を更新する手段と、
前記登録用パケットを受信したときに、当該登録用パケットのヘッダに含まれる前記端末情報が前記端末一覧情報記憶部に記憶されているか否か判別し、記憶されていないと判別したときには、前記登録用パケットのヘッダに含まれる前記端末情報に対応付けた更新・削除タイマーに前記登録用パケットのヘッダに含まれる前記生存時間を設定して、当該更新・削除タイマーをスタートさせ、前記判別の結果、前記端末情報が前記端末一覧情報記憶部に記憶されていると判別したときには、前記登録用パケットのヘッダに含まれる前記端末情報に対応付けた前記更新・削除タイマーをリセットし、更に、前記登録用パケットの送信元の前記IP電話端末に対して、当該時点で自端末の前記端末一覧情報記憶部に記憶されている全ての前記IP電話端末の前記端末情報をヘッダに含めた応答のパケットを送信すると共に、前記登録用パケットのヘッダに含まれる前記端末情報を、自端末の前記端末一覧情報記憶部に記憶する手段と、
前記端末情報に対応付けた前記更新・削除タイマーのそれぞれについて、そのタイマー時間が前記生存時間を超えているか否かを判別し、前記タイマー時間が前記生存時間を超えた前記更新・削除タイマーを判別したときには、前記更新・削除タイマーに対応付けられている前記端末情報を、前記端末一覧情報記憶部から削除すると共に、前記削除した前記端末情報を含めた離脱要求のためのパケットを生成して、前記削除後の前記端末一覧情報記憶部に記憶されている前記端末情報で示される前記IP電話端末の全てに対して送信する手段と、
前記離脱要求のためのパケットを受信したときには、受信した前記離脱要求のためのパケットに含まれる前記端末情報を、自端末の前記端末一覧情報記憶部から削除する手段と、
を備えることを特徴とするIP電話システム。
A telephone system comprising only a plurality of IP telephone terminals connected to an IP (Internet Protocol) network,
Each of the IP telephone terminals
The IP terminal information associating the IP address on the network, all mutually communicable connected on the IP network IP identification information and those the IP telephone terminal for identifying the IP telephone terminal Rutotomoni with terminal-list information storage unit for storing the telephone terminal,
When short predetermined time interval than the survival time in the IP network of the terminal in a state and connected to the IP network when connected to the IP network has elapsed, the terminal information of the own terminal A registration packet including the lifetime information in a header is sent to the IP network, and a response packet sent from the other IP telephone terminal in the IP network is sent to the registration packet. Means for receiving and updating the terminal list information storage unit of the terminal with the terminal information included in the response packet;
When the registration packet is received, it is determined whether or not the terminal information included in the header of the registration packet is stored in the terminal list information storage unit. Setting the lifetime included in the header of the registration packet in the update / delete timer associated with the terminal information included in the header of the packet, starting the update / delete timer, the determination result, When it is determined that the terminal information is stored in the terminal list information storage unit, the update / delete timer associated with the terminal information included in the header of the registration packet is reset, and further, the registration information For the IP telephone terminal that is the source of the packet, all the IP stored in the terminal list information storage unit of the own terminal at that time Transmits a packet of the response to the terminal information included in the header of the talk terminal, the terminal information included in the header of the registration packet, means for storing in the terminal list information storage unit of its own terminal,
For each of the update / delete timers associated with the terminal information, it is determined whether or not the timer time exceeds the lifetime, and the update / delete timer whose timer time exceeds the lifetime is determined. When deleting, the terminal information associated with the update / delete timer is deleted from the terminal list information storage unit, and a packet for a withdrawal request including the deleted terminal information is generated, Means for transmitting to all of the IP telephone terminals indicated by the terminal information stored in the terminal list information storage unit after the deletion;
Means for deleting the terminal information included in the received packet for leaving request from the terminal list information storage unit of the terminal when receiving the packet for leaving request;
IP telephone system comprising: a.
請求項1に記載のIP電話システムにおいて、
前記IP電話端末のそれぞれは、前記IPネットワークに接続されている他の前記IP電話端末の宛先情報を登録時相手先として記憶する登録時相手先記憶部を備え、前記登録用パケットを、前記登録時相手先記憶部に記憶されている前記IP電話端末に宛てて送出し、
前記登録用パケットを受信した前記IP電話端末は、前記登録用パケットの送信元の前記IP電話端末に対して、前記応答のパケットを送信すると共に、前記端末一覧情報記憶部に記憶されている、前記IPネットワークに接続されている他の前記IP電話端末に前記受信した前記登録用パケットを転送する
ことを特徴とするIP電話システム。
The IP telephone system according to claim 1,
Each of the IP telephone terminal includes a registration at the destination storage unit that stores destination information of the other of the IP telephone terminal connected to the IP network as the registration time of the destination, the registration packet, the registration sent addressed to the IP phone terminal end which is stored when the destination storage unit,
The IP telephone terminal that has received the registration packet transmits the response packet to the IP telephone terminal that is the transmission source of the registration packet, and is stored in the terminal list information storage unit. IP telephone system, characterized in that forwarding the registration the received packet in addition to the IP telephone terminal connected to the IP network.
請求項に記載のIP電話システムにおいて、
前記IP電話端末のそれぞれは、
前記登録用パケットを送出した後、予め定めた所定の時間の間に前記応答のパケットを受信しなかった時には、前記端末一覧情報記憶部に他の前記IP電話端末の前記端末情報が記憶されているか否か判別し、記憶されていないと判別したときには、新たに指定された前記端末情報を前記登録時相手先記憶部に記憶し、記憶されていると判別したときには、他の前記IP電話端末の前記端末情報を前記登録時相手先記憶部に記憶すると共に、新たに前記登録時相手先記憶部に記憶された前記他のIP電話端末に対して、前記登録用パケットを再送出する
ことを特徴とするIP電話システム。
In the IP telephone system according to claim 2 ,
Each of the IP telephone terminals
When the response packet is not received within a predetermined time after sending the registration packet , the terminal information of the other IP telephone terminals is stored in the terminal list information storage unit. If it is determined that it is not stored, the newly specified terminal information is stored in the registration destination storage unit, and if it is determined that it is stored, the other IP telephone terminal Storing the terminal information in the registration destination storage unit and retransmitting the registration packet to the other IP telephone terminal newly stored in the registration destination storage unit. A featured IP telephone system.
請求項1または請求項2に記載のIP電話システムにおいて、
前記IPネットワークに接続されている前記IP電話端末のIPアドレスが変更されたときに、当該IP電話端末は、変更後のIPアドレスと自端末を識別するための識別情報とを対応付けた前記端末情報をヘッダに含めた前記登録用パケットを、前記IPネットワークに送出し、
前記IPネットワークに接続されている前記IP電話端末のそれぞれは、直接または転送により前記登録用パケットを受け取って、前記登録用パケットのヘッダに含まれる前記IP電話端末の前記端末情報に、自身の前記端末一覧情報記憶部の対応する前記端末情報を一致させるように更新する
ことを特徴とするIP電話システム。
In the IP telephone system according to claim 1 or 2 ,
When the IP address of the IP telephone terminal connected to the IP network is changed, the terminal the IP telephone terminal, associating the identification information for identifying the IP address and the local terminal after change the registration packet including the information in the header, and transmitted to the IP network,
Each of the IP telephone terminal connected to the IP network, receiving said registration packet by direct or transfer, to the terminal information of the IP telephone terminals included in the header of the registration packet, its the An IP telephone system, wherein the corresponding terminal information in the terminal list information storage unit is updated to match.
請求項1または請求項2に記載のIP電話システムにおいて、
前記IPネットワークに接続されている前記IP電話端末は、ユーザからの前記IPネットワークよりの接続離脱要求を受けたときに、自端末の前記端末情報をヘッダに含めた前記離脱要求のためのパケットを生成して、前記IPネットワークに送出し、
前記IPネットワークに接続されている前記IP電話端末のそれぞれは、直接または転送により前記離脱要求のためのパケットを受け取って、前記離脱要求のためのパケットのヘッダに含まれる前記IP電話端末の前記端末情報を、自身の前記端末一覧情報記憶部から削除する
ことを特徴とするIP電話システム。
In the IP telephone system according to claim 1 or 2 ,
The IP telephone terminal connected to the IP network, when receiving a connection withdrawal request from the IP network from the user, a packet for the leave request, including the terminal information of its own terminal to the header Generated and sent to the IP network,
Wherein each of the IP telephone terminal connected to the IP network, receives a packet for the withdrawal request by direct or transfer, the terminal of the IP telephone terminals included in the header of the packet for the leave request An IP telephone system, wherein information is deleted from its own terminal list information storage unit.
請求項1に記載のIP電話システムにおいて、
前記端末一覧情報記憶部に前記端末情報が記憶されている前記IP電話端末に対して発呼を行った前記IP電話端末で、当該発呼に対する応答ないと判別したときに、前記発呼を行った前記IP電話端末は、発呼の宛先の前記IP電話端末の前記端末情報を自端末の前記端末一覧情報記憶部から削除すると共に、前記発呼の宛先の前記IP電話端末の前記端末情報をヘッダに含めた前記IPネットワークよりの前記離脱要求のためのパケットを、前記端末一覧情報記憶部に記憶されている他の前記IP電話端末に送信し、
前記離脱要求のためのパケットを受信した前記IP電話端末のそれぞれは、当該受信した前記離脱要求のためのパケットのヘッダに含まれる前記端末情報を、自端末の前記端末一覧情報記憶部から削除する
ことを特徴とするIP電話システム。
The IP telephone system according to claim 1,
In said IP telephone terminal the terminal information to the terminal list information storage unit makes a call to the IP telephone terminal stored, when it is determined that there is no response to the call, the call the IP telephone terminal is configured to delete the terminal information of the IP telephone terminal of the call destination from the terminal list information storage unit of its own terminal, the terminal information of the IP telephone terminal of the call destination been sends a packet for the withdrawal request from the IP network, including the header, in addition to the IP telephone terminal stored in the terminal list information storage unit,
Wherein each of the IP telephone terminal which has received the packet for the leave request, the terminal information included in the header of the packet for the received the Leave request is deleted from the terminal list information storage unit of its own terminal An IP telephone system characterized by the above.
IP電話端末を識別するための識別情報と当該IP電話端末のIPネットワーク上のIPアドレスとを対応付けた端末情報を、前記IPネットワーク上に接続されている互いに通信可能な全てのIP電話端末について記憶する端末一覧情報記憶部を備えると共に、
前記IPネットワークに接続されたとき及び前記IPネットワークに接続された状態において自端末の前記IPネットワークでの生存時間よりも短い予め設定された時間間隔が経過したときに、前記自端末の前記端末情報と前記生存時間の情報をヘッダに含めた登録用パケットを、前記IPネットワークに送出し、前記登録用パケットの送出に対して前記IPネットワークの他の前記IP電話端末から送られてくる応答のパケットを受信して、前記応答のパケットに含まれる端末情報により自端末の前記端末一覧情報記憶部を更新する手段と、
前記登録用パケットを受信したときに、当該登録用パケットのヘッダに含まれる前記端末情報が前記端末一覧情報記憶部に記憶されているか否か判別し、記憶されていないと判別したときには、前記登録用パケットのヘッダに含まれる前記端末情報に対応付けた更新・削除タイマーに前記登録用パケットのヘッダに含まれる前記生存時間を設定して、当該更新・削除タイマーをスタートさせ、前記判別の結果、前記端末情報が前記端末一覧情報記憶部に記憶されていると判別したときには、前記登録用パケットのヘッダに含まれる前記端末情報に対応付けた前記更新・削除タイマーをリセットし、更に、前記登録用パケットの送信元の前記IP電話端末に対して、当該時点で自端末の前記端末一覧情報記憶部に記憶されている全ての前記IP電話端末の前記端末情報をヘッダに含めた応答のパケットを送信すると共に、前記登録用パケットのヘッダに含まれる前記端末情報を、自端末の前記端末一覧情報記憶部に記憶する手段と、
前記端末情報に対応付けた前記更新・削除タイマーのそれぞれについて、そのタイマー時間が前記生存時間を超えているか否かを判別し、前記タイマー時間が前記生存時間を超えた前記更新・削除タイマーを判別したときには、前記更新・削除タイマーに対応付けられている前記端末情報を、前記端末一覧情報記憶部から削除すると共に、前記削除した前記端末情報を含めた離脱要求のためのパケットを生成して、前記削除後の前記端末一覧情報記憶部に記憶されている前記端末情報で示される前記IP電話端末の全てに対して送信する手段と、
前記離脱要求のためのパケットを受信したときには、受信した前記離脱要求のためのパケットに含まれる前記端末情報を、自端末の前記端末一覧情報記憶部から削除する手段と、
を備えるIP電話端末。
Identification information and those the IP telephony IP address and terminal information which associates on an IP network of the terminal, the all on the IP network which can communicate with each other are connected IP telephone terminal for identifying the IP telephone terminal A terminal list information storage unit for storing
The terminal information of the own terminal when connected to the IP network and when a preset time interval shorter than the lifetime of the own terminal in the IP network elapses when connected to the IP network And a registration packet including the life time information in a header is sent to the IP network, and a response packet sent from the other IP telephone terminal of the IP network in response to the transmission of the registration packet Means for updating the terminal list information storage unit of its own terminal with the terminal information included in the response packet;
When the registration packet is received, it is determined whether or not the terminal information included in the header of the registration packet is stored in the terminal list information storage unit. Setting the lifetime included in the header of the registration packet in the update / delete timer associated with the terminal information included in the header of the packet, starting the update / delete timer, the determination result, When it is determined that the terminal information is stored in the terminal list information storage unit, the update / delete timer associated with the terminal information included in the header of the registration packet is reset, and further, the registration information For the IP telephone terminal that is the source of the packet, all the IP stored in the terminal list information storage unit of the own terminal at that time Transmits a packet of the response to the terminal information included in the header of the talk terminal, the terminal information included in the header of the registration packet, means for storing in the terminal list information storage unit of its own terminal,
For each of the update / delete timers associated with the terminal information, it is determined whether or not the timer time exceeds the lifetime, and the update / delete timer whose timer time exceeds the lifetime is determined. When deleting, the terminal information associated with the update / delete timer is deleted from the terminal list information storage unit, and a packet for a withdrawal request including the deleted terminal information is generated, Means for transmitting to all of the IP telephone terminals indicated by the terminal information stored in the terminal list information storage unit after the deletion;
Means for deleting the terminal information included in the received packet for leaving request from the terminal list information storage unit of the terminal when receiving the packet for leaving request;
An IP phone terminal.
JP2009084045A 2009-03-31 2009-03-31 IP telephone system and IP telephone terminal Active JP5574080B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009084045A JP5574080B2 (en) 2009-03-31 2009-03-31 IP telephone system and IP telephone terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009084045A JP5574080B2 (en) 2009-03-31 2009-03-31 IP telephone system and IP telephone terminal

Publications (2)

Publication Number Publication Date
JP2010239336A JP2010239336A (en) 2010-10-21
JP5574080B2 true JP5574080B2 (en) 2014-08-20

Family

ID=43093301

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009084045A Active JP5574080B2 (en) 2009-03-31 2009-03-31 IP telephone system and IP telephone terminal

Country Status (1)

Country Link
JP (1) JP5574080B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5687221B2 (en) * 2012-01-26 2015-03-18 株式会社 日立産業制御ソリューションズ Communication system and communication method using the same
JP6230310B2 (en) * 2013-07-17 2017-11-15 キヤノン株式会社 COMMUNICATION DEVICE, ITS CONTROL METHOD, COMPUTER PROGRAM
KR101962225B1 (en) * 2017-04-04 2019-03-26 국방과학연구소 Method for Session Initiation Protocol(SIP) in Tactical Wireless Ad-hoc Networks

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4658412B2 (en) * 2001-09-20 2011-03-23 富士通株式会社 Data sharing device
JP3857572B2 (en) * 2001-11-20 2006-12-13 沖電気工業株式会社 IP telephone apparatus and IP telephone apparatus search method
JP2004192103A (en) * 2002-12-09 2004-07-08 Fujitsu Ltd Information distribution system through network
JP4798785B2 (en) * 2006-10-16 2011-10-19 岩崎通信機株式会社 Connection restriction method for peer-to-peer connection in SIP terminal device

Also Published As

Publication number Publication date
JP2010239336A (en) 2010-10-21

Similar Documents

Publication Publication Date Title
JP2005318503A (en) Presence server, session control server, packet relay system, server, and system
JP4672011B2 (en) IP telephone system and IP telephone method
JP4608493B2 (en) Wireless telephone system including voice over IP and POTS
JP5574080B2 (en) IP telephone system and IP telephone terminal
US8588390B2 (en) Telephone conversation relay server, voice telephone conversation system, and voice telephone conversation relay method
JP4663413B2 (en) Communication method and wireless communication terminal
JP4762662B2 (en) VPN connection system and VPN connection method
JP4387937B2 (en) Telephone system and switching system
JP4715146B2 (en) Presence information processing system, presence information processing method, and presence information processing program
JP2008160693A (en) Communication system
WO2007116513A1 (en) Communication terminal, management server, change recognition system, and change recognition method
KR100946675B1 (en) System and method for blocking spam in internet using reputation system
JP2008236470A (en) Ip telephone terminal and ip telephone system
KR100673246B1 (en) Method for providing the status information of terminated subscriber in mobile network
JP4869605B2 (en) Communication terminal and program
JP2007142842A (en) Call controller, and group communication control method
KR102143771B1 (en) D2D based system for confirming use status in mobile communication device
US7664024B2 (en) VoIP network system for multicasting packets and a method of constructing the same
JP3990390B2 (en) E-mail incoming notification device and e-mail incoming notification method
JP4002545B2 (en) Voice communication system and voice communication method
JP2005094646A (en) Ip telephone set and voip compatible router
JP2010187048A (en) Method of notifying information and mobile phone
JP2007336108A (en) Data communication device
JP2005317001A (en) Presence server, session control server and packet relay system
JP2006339938A (en) Important call preferential connection method and device therefor

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120124

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120412

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130731

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130813

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20131008

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140617

R150 Certificate of patent or registration of utility model

Ref document number: 5574080

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150