JP2008109379A - IP terminal equipment - Google Patents
IP terminal equipment Download PDFInfo
- Publication number
- JP2008109379A JP2008109379A JP2006290044A JP2006290044A JP2008109379A JP 2008109379 A JP2008109379 A JP 2008109379A JP 2006290044 A JP2006290044 A JP 2006290044A JP 2006290044 A JP2006290044 A JP 2006290044A JP 2008109379 A JP2008109379 A JP 2008109379A
- Authority
- JP
- Japan
- Prior art keywords
- mac address
- address
- terminal
- arp
- 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.)
- Pending
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Telephonic Communication Services (AREA)
Abstract
【課題】IPアドレスの重複設定が発生したとしても、セッションを中断せずに通信を継続することができる。
【解決手段】相手先とのセッション開始時に相手先から受信した第1相手側MACアドレスを格納する第1相手側MACアドレス格納部22と、相手先IPアドレス宛のARPパケットを送信すると共に、自側のIPアドレス宛のARPパケット又はARP応答を受信するARP通信部23と、相手先から受信したARP応答に搭載の第2相手側MACアドレスを格納する第2相手側MACアドレス格納部25と、第1相手側MACアドレスと第2相手側MACアドレスとが異なる場合、IPアドレス重複設定の発生と判断するIPアドレス重複設定判定部26と、IPアドレス重複設定の発生と判断されると、第1相手側MACアドレス以外のMACアドレスを発信元にしたパケットを破棄するパケット選別部12とを有している。
【選択図】図1Communication can be continued without interrupting a session even if duplicate IP address settings occur.
A first partner-side MAC address storage unit for storing a first partner-side MAC address received from the partner at the start of a session with the partner, and an ARP packet addressed to the partner IP address are transmitted. An ARP communication unit 23 that receives an ARP packet or an ARP response addressed to the IP address on the side, a second partner MAC address storage unit 25 that stores a second partner MAC address mounted in the ARP response received from the partner, When the first partner MAC address is different from the second partner MAC address, the IP address duplication setting judgment unit 26 judges that the IP address duplication setting has occurred, and if it is judged that the IP address duplication setting has occurred, the first A packet sorting unit 12 that discards packets originating from a MAC address other than the counterpart MAC address.
[Selection] Figure 1
Description
本発明は、例えばIPネットワーク上でMACアドレス及びIPアドレスを使用して相手端末とのセッションを確立する、例えばIP電話機、IPテレビ電話機及びIPドアホン装置等のIPネットワーク機器であるIP端末装置に関する。 The present invention relates to an IP terminal device that is an IP network device such as an IP phone, an IP videophone, and an IP door phone device that establishes a session with a counterpart terminal using, for example, a MAC address and an IP address on an IP network.
従来、このようなIP端末装置のIPネットワーク機器としては、IPネットワーク上でIPアドレスを個々に設定され、このIPアドレスを使用して相手端末とのセッションを確立することになるが、例えばIPネットワーク上の他のIP端末装置でIPアドレス誤設定操作により自端末と同一のIPアドレス重複設定が発生した場合、IPネットワーク機器を音声通信のIP電話機に適用したとすると、例えばダイヤル発信不可、通話音声の劣化、通話の強制切断等が生じ、様々な正常動作が妨げられるといった事態が生じる。 Conventionally, as an IP network device of such an IP terminal device, an IP address is individually set on the IP network, and a session with a counterpart terminal is established using this IP address. When the same IP address duplication setting as that of the own terminal occurs due to an incorrect IP address setting operation in the other IP terminal device above, assuming that the IP network device is applied to an IP telephone for voice communication, for example, dialing is not possible, call voice Deterioration of the phone, forced disconnection of the call, etc. occur, and various normal operations are hindered.
そこで、このような事態に対処すべく、IPネットワーク上で音声通信を実現するIP電話機においては、IPアドレスの衝突(重複)による動作異常の発生を速やかに検出するIPアドレス衝突検出機能と、このIPアドレス衝突検出機能を通じてIPアドレスの衝突(重複)を検出すると、このIPアドレスの衝突をユーザ側に報知する衝突報知機能とを備えたものが知られている(例えば特許文献1参照)。 Therefore, in order to cope with such a situation, in an IP telephone that realizes voice communication on an IP network, an IP address collision detection function that quickly detects the occurrence of an operation abnormality due to an IP address collision (duplication), and this When a collision (duplication) of an IP address is detected through an IP address collision detection function, there is known one having a collision notification function for notifying a user of this IP address collision (see, for example, Patent Document 1).
特許文献1のIP電話機としては、IPアドレス衝突検出機能を通じてIPネットワークに対して自側のIPアドレス宛のARPパケットを送信し、このARPパケットに対するARP応答を受信しなかった場合、IPアドレス重複設定が発生していないものと判断し、同ARPパケットに対するARP応答を受信した場合、IPアドレス重複設定の発生を検出し、衝突報知機能を通じてIPアドレスの衝突(IPアドレス重複設定の発生)を表示部に表示出力するものである。 If the IP phone of Patent Document 1 transmits an ARP packet addressed to its own IP address to the IP network through the IP address collision detection function and does not receive an ARP response to this ARP packet, the IP address duplication setting When it is determined that no IP address has occurred and an ARP response to the ARP packet is received, the occurrence of an IP address duplication setting is detected, and an IP address collision (occurrence of an IP address duplication setting) is displayed through the collision notification function. Display output.
従って、特許文献1のIP電話機によれば、IPアドレス衝突検出機能を通じてIPアドレス重複設定の発生を検出すると、このIPアドレス重複発生を報知すべく、自端末の表示部に表示出力するようにしたので、IP電話機(自端末)側のユーザは、表示部の表示内容を目視することで自端末のIPアドレス重複設定の発生を認識することができる。
しかしながら、上記特許文献1のIP電話機等のIP端末装置によれば、IPアドレス衝突検出機能を通じてIPアドレス重複設定の発生を検出すると、この重複設定の発生を報知すべく、自端末の表示部に表示出力するようにしたが、IP端末の管理者又はユーザは、この表示部の表示内容に基づき、IPアドレスの重複設定を解消すべく、手動で自端末のIPアドレスを新たなIPアドレスに変更する設定作業が必要になる。 However, according to the IP terminal device such as the IP telephone set disclosed in Patent Document 1, when the occurrence of the duplicate IP address setting is detected through the IP address collision detection function, the display unit of the terminal itself is notified to notify the occurrence of the duplicate setting. The IP terminal manager or user manually changed the IP address of the terminal to a new IP address to eliminate the duplicate IP address setting based on the display content of the display unit. Setting work is required.
また、上記特許文献1のIP端末装置によれば、例えば相手端末との通話中(セッション中)にIPアドレス重複設定の発生を検出した場合、手動で自端末のIPアドレスを変更して通話音声の劣化を解消することができるが、自端末のIPアドレスを変更する際には通話を中断しなければならず、通話の継続性を保持することができない。また、通話中(セッション中)においてはIPアドレス重複設定の発生を検出したとしても、手動で自端末のIPアドレスを変更しないことも考えられるが、このような場合には通話音声の劣化、若しくは通話の強制切断等で利用者は通話を正常に継続することができない。 Further, according to the IP terminal device of Patent Document 1, for example, when the occurrence of an IP address duplication setting is detected during a call with a counterpart terminal (during a session), the IP address of the own terminal is manually changed to call voice. However, when changing the IP address of the terminal itself, the call must be interrupted and the continuity of the call cannot be maintained. In addition, during the call (during a session), even if the occurrence of duplicate IP address settings is detected, it may be possible not to manually change the IP address of the terminal itself. The user cannot continue the call normally due to the forced disconnection of the call.
本発明は上記点に鑑みてなされたものであり、その目的とするところは、IPアドレスの重複設定が発生したとしても、IPアドレスの設定変更操作を要することなく、セッションを中断せずに通信を継続することができるIP端末装置を提供することにある。 The present invention has been made in view of the above points, and an object of the present invention is to perform communication without interrupting a session without requiring an IP address setting change operation even when duplicate IP address settings occur. It is to provide an IP terminal device capable of continuing.
上記目的を達成するために本発明のIP端末装置は、IPネットワーク上で相手端末とのセッション開始時に、この相手端末に対して自側のMACアドレスを送信すると共に、前記相手端末から相手端末側のMACアドレスを受信するMACアドレス通信手段と、このMACアドレス通信手段を通じて前記相手端末側のMACアドレスを受信すると、前記相手端末側のMACアドレスを格納する第1相手側MACアドレス格納手段と、前記相手端末のIPアドレス宛のARPパケットを繰り返し送信すると共に、自側のIPアドレス宛のARPパケット又はARP応答を受信するARP通信手段と、このARP通信手段を通じて前記相手端末からARPパケットを受信すると、このARPパケットに自側のMACアドレスを搭載して同ARPパケットに対するARP応答を返信するARP応答手段と、前記ARP通信手段を通じてARP応答を受信すると、この受信したARP応答に搭載のMACアドレスを格納する第2相手側MACアドレス格納手段と、前記第1相手側MACアドレス格納手段に格納中のMACアドレスと前記第2相手側MACアドレス格納手段に格納中のMACアドレスとを比較し、これらMACアドレスが異なる場合、前記IPネットワーク上で前記相手端末と同一のIPアドレスが重複設定されているものと判断するIPアドレス重複判定手段と、このIPアドレス重複判定手段にて前記相手端末と同一のIPアドレスが重複設定されているものと判断されると、前記第1相手側MACアドレス格納手段に格納中のMACアドレス以外のMACアドレスを発信元にしたパケットを受信したとしても、同パケットを破棄するパケット選別手段とを有するようにした。 In order to achieve the above object, the IP terminal device of the present invention transmits its own MAC address to the partner terminal at the start of a session with the partner terminal on the IP network, and from the partner terminal to the partner terminal side. MAC address communication means for receiving the MAC address of the other party, receiving the MAC address of the counterpart terminal through the MAC address communication means, first counterpart MAC address storage means for storing the MAC address of the counterpart terminal, When repeatedly transmitting an ARP packet addressed to the IP address of the counterpart terminal, and receiving an ARP packet from the counterpart terminal through the ARP communication means, an ARP communication means receiving the ARP packet or ARP response addressed to its own IP address, The ARP packet is loaded with its own MAC address and the ARP An ARP response means for returning an ARP response to the packet, a second counterpart MAC address storage means for storing an installed MAC address in the received ARP response when the ARP response is received through the ARP communication means, and the first counterpart When the MAC address stored in the MAC address storage means is compared with the MAC address stored in the second counterpart MAC address storage means, if these MAC addresses are different, the same as the counterpart terminal on the IP network An IP address duplication determination unit that determines that an IP address is set to be duplicated, and an IP address duplication judgment unit that determines that the same IP address as that of the counterpart terminal is duplicated. 1 MAC address other than the MAC address stored in the MAC address storage means Even packet was received in signal source, and to have a discarding packet sorting unit of the same packet.
上記のように構成された本発明のIP端末装置によれば、第1相手側MACアドレス格納手段に格納中のセッション開始時に受信した相手端末側のMACアドレスと、第2相手側MACアドレス格納手段に格納中のARP応答受信時に得たMACアドレスとを比較し、これらMACアドレスが異なる場合、前記IPネットワーク上で前記相手端末と同一のIPアドレスが重複設定されているものと判断し、前記第1相手側MACアドレス格納手段に格納中のMACアドレス以外のMACアドレスを発信元にしたパケットを受信したとしても、同パケットを破棄するようにした、すなわちセッション開始時に受信したMACアドレスを発信元にしたパケットのみを受信するようにしたので、IPアドレスの重複設定が発生したとしても、IPアドレスの設定変更操作を要することなく、セッションを中断せずに通信を継続することができる。 According to the IP terminal apparatus of the present invention configured as described above, the MAC address of the counterpart terminal received at the start of the session stored in the first counterpart MAC address storage means, and the second counterpart MAC address storage means Are compared with the MAC addresses obtained at the time of receiving the ARP response stored in the network, and if these MAC addresses are different, it is determined that the same IP address as that of the counterpart terminal is set on the IP network. 1 Even if a packet with a MAC address other than the MAC address stored in the other party's MAC address storage means is received, the packet is discarded. That is, the MAC address received at the start of the session is used as the source. So that only IP packets that have been received will be received. Without requiring the setting change operation for less, it is possible to continue communication without interrupting the session.
本願請求項1記載のIP端末装置は、IPネットワーク上で相手端末とのセッション開始時に、この相手端末に対して自側のMACアドレスを送信すると共に、前記相手端末からの相手端末側のMACアドレスを受信するMACアドレス通信手段と、このMACアドレス通信手段を通じて前記相手端末側のMACアドレスを受信すると、この相手端末側のMACアドレスを格納する第1相手側MACアドレス格納手段と、前記相手端末のIPアドレス宛のARPパケットを繰り返し送信すると共に、自側のIPアドレス宛のARPパケット又はARP応答を受信するARP通信手段と、このARP通信手段を通じて前記相手端末からARPパケットを受信すると、このARPパケットに自側のMACアドレスを搭載して同ARPパケットに対するARP応答を返信するARP応答手段と、前記ARP通信手段を通じてARP応答を受信すると、この受信したARP応答に搭載のMACアドレスを格納する第2相手側MACアドレス格納手段と、前記第1相手側MACアドレス格納手段に格納中のMACアドレスと前記第2相手側MACアドレス格納手段に格納中のMACアドレスとを比較し、これらMACアドレスが異なる場合、前記IPネットワーク上で前記相手端末と同一のIPアドレスが重複設定されているものと判断するIPアドレス重複判定手段と、このIPアドレス重複判定手段にて前記相手端末と同一のIPアドレスが重複設定されているものと判断されると、前記第1相手側MACアドレス格納手段に格納中のMACアドレス以外のMACアドレスを発信元にしたパケットを受信したとしても、同パケットを破棄するパケット選別手段とを有するようにした。 The IP terminal device according to claim 1 transmits a MAC address of its own side to the counterpart terminal at the start of a session with the counterpart terminal on the IP network, and the MAC address of the counterpart terminal side from the counterpart terminal MAC address communication means for receiving the MAC address of the counterpart terminal through the MAC address communication means, a first counterpart MAC address storage means for storing the MAC address of the counterpart terminal, and the counterpart terminal When the ARP packet addressed to the IP address is repeatedly transmitted, the ARP communication means for receiving the ARP packet addressed to the own IP address or the ARP response, and the ARP packet is received from the counterpart terminal through the ARP communication means, the ARP packet With its own MAC address and ARP response means for sending back an ARP response, and when receiving the ARP response through the ARP communication means, the second counterpart MAC address storage means for storing the MAC address mounted in the received ARP response, and the first counterpart side When the MAC address stored in the MAC address storage means and the MAC address stored in the second counterpart MAC address storage means are compared, and these MAC addresses are different, the same IP address as the counterpart terminal on the IP network If the IP address duplication determination unit determines that the address is set to be duplicated, and the IP address duplication determination unit determines that the same IP address as the counterpart terminal is duplicated, the first address MAC address other than the MAC address stored in the other party's MAC address storage means Even when receiving the packet, and to have a discarding packet sorting unit of the same packet.
従って、本願請求項1記載のIP端末装置によれば、第1相手側MACアドレス格納手段に格納中のセッション開始時に受信した相手端末側のMACアドレスと、第2相手側MACアドレス格納手段に格納中のARP応答受信時に得たMACアドレスとを比較し、これらMACアドレスが異なる場合、前記IPネットワーク上で前記相手端末と同一のIPアドレスが重複設定されているものと判断し、前記第1相手側MACアドレス格納手段に格納中のMACアドレス以外のMACアドレスを発信元にしたパケットを受信したとしても、同パケットを破棄するようにした、すなわちセッション開始時に受信したMACアドレスを発信元にしたパケットのみを受信するようにしたので、相手端末側にIPアドレスの重複設定が発生したとしても、自端末及び相手端末側ではIPアドレスの設定変更操作を要することなく、セッションを中断せずに通信を継続することができる。 Therefore, according to the IP terminal device according to claim 1 of the present application, the MAC address of the counterpart terminal received at the start of the session stored in the first counterpart MAC address storage means and the second counterpart MAC address storage means are stored. The MAC address obtained when the ARP response is received, and if these MAC addresses are different, it is determined that the same IP address as that of the counterpart terminal is set on the IP network, and the first counterpart Even if a packet with a MAC address other than the MAC address stored in the MAC address storage means is received, the packet is discarded, that is, a packet with the MAC address received at the start of the session as the source Even if the IP address duplication setting occurs on the partner terminal side, Without requiring the setting change operation of the IP address is the own terminal and the mating terminal, communication can be continued without interrupting the session.
また、本願請求項2記載のIP端末装置は、IPネットワーク上で相手端末とのセッション開始時に、この相手端末に対して自側のMACアドレスを送信すると共に、前記相手端末からの相手端末側のMACアドレスを受信するMACアドレス通信手段と、このMACアドレス通信手段を通じて前記相手端末側のMACアドレスを受信すると、この相手端末側のMACアドレスを格納する第1相手側MACアドレス格納手段と、前記相手端末のIPアドレス宛のARPパケットを繰り返し送信すると共に、自側のIPアドレス宛のARPパケット又はARP応答を受信するARP通信手段と、このARP通信手段を通じて前記相手端末からARPパケットを受信すると、このARPパケットに自側のMACアドレスを搭載して同ARPパケットに対するARP応答を返信するARP応答手段と、前記ARP通信手段を通じてARP応答を受信すると、この受信したARP応答に搭載のMACアドレスを格納する第2相手側MACアドレス格納手段と、前記第1相手側MACアドレス格納手段に格納中のMACアドレスと前記第2相手側MACアドレス格納手段に格納中のMACアドレスとを比較し、これらMACアドレスが異なる場合、前記IPネットワーク上で前記相手端末と同一のIPアドレスが重複設定されているものと判断するIPアドレス重複判定手段と、このIPアドレス重複判定手段にて前記相手端末と同一のIPアドレスが重複設定されているものと判断されると、前記第2相手側MACアドレス格納手段に格納中のMACアドレスを発信元にしたパケットを受信したとしても、同パケットを破棄するパケット選別手段とを有するようにした。
Further, the IP terminal device according to
従って、本願請求項2記載のIP端末装置によれば、第1相手側MACアドレス格納手段に格納中のセッション開始時に受信した相手端末側のMACアドレスと、第2相手側MACアドレス格納手段に格納中のARP応答受信時に得たMACアドレスとを比較し、これらMACアドレスが異なる場合、前記IPネットワーク上で前記相手端末と同一のIPアドレスが重複設定されているものと判断し、前記第2相手側MACアドレス格納手段に格納中のMACアドレスを発信元にしたパケットを受信したとしても、同パケットを破棄するようにした、すなわち相手端末と同一のIPアドレスが重複設定された他の装置からのパケットは受信しないようにしたので、相手端末側にIPアドレスの重複設定が発生したとしても、相手端末及び自端末側では、IPアドレスの設定変更操作を要することなく、セッションを中断せずに通信を継続することができる。
Therefore, according to the IP terminal device according to
また、本願請求項3記載のIP端末装置は、IPネットワーク上で相手端末とのセッションを確立するための自側のMACアドレスを格納した自端末MACアドレス格納手段と、自側のIPアドレス宛のARPパケットを繰り返し送信すると共に、自側のIPアドレス宛のARPパケット又はARP応答を受信するARP通信手段と、このARP通信手段を通じてARPパケットを受信すると、このARPパケットに自側のMACアドレスを搭載して同ARPパケットに対するARP応答を返信するARP応答手段と、前記ARP通信手段を通じてARP応答を受信すると、この受信したARP応答に搭載のMACアドレスを格納する受信応答MACアドレス格納手段と、この受信応答MACアドレス格納手段に格納中のMACアドレスと前記自端末MACアドレス格納手段に格納中のMACアドレスとを比較し、これらMACアドレスが異なる場合、前記IPネットワーク上で自端末と同一のIPアドレスが重複設定されているものと判断するIPアドレス重複判定手段と、このIPアドレス重複判定手段にて自端末と同一のIPアドレスが重複設定されているものと判断されると、前記受信応答MACアドレス格納手段に格納中のMACアドレスを搭載したIPアドレス重複通知を相手端末に通知するIPアドレス重複通知手段と、前記相手端末側のIPアドレス重複通知手段を通じてIPアドレス重複通知を受信するIPアドレス重複受信手段と、このIPアドレス重複受信手段を通じて前記相手端末側のIPアドレス重複通知を受信すると、このIPアドレス重複通知に搭載のMACアドレスを発信元にしたパケットを受信したとしても、同パケットを破棄するパケット選別手段とを有するようにした。
In addition, the IP terminal device according to
従って、本願請求項3記載のIP端末装置によれば、自側のMACアドレスを自端末MACアドレス格納手段に格納しておき、自側のIPアドレス宛のARPパケットをIPネットワーク上に送信し、同ARPパケットに対するARP応答を受信すると、この受信したARP応答に搭載のMACアドレスを受信応答MACアドレス格納手段に格納し、自端末MACアドレス格納手段に格納中のMACアドレスと受信応答MACアドレス格納手段に格納中のMACアドレスとを比較し、これらMACアドレスが異なる場合、前記IPネットワーク上で自端末と同一のIPアドレスが重複設定されているものと判断し、前記受信応答MACアドレス格納手段に格納中のMACアドレスを搭載したIPアドレス重複通知を相手端末に通知すると共に、相手端末側のIPアドレス重複通知手段からIPアドレス重複通知を受信すると、同IPアドレス重複通知に搭載のMACアドレスを発信元にしたパケットを受信したとしても、同パケットを破棄するようにした、すなわち相手端末と同一のIPアドレスが重複設定された他の装置からのパケットは受信しないようにしたので、自端末側に同一のIPアドレスの重複設定が発生したとしても、自端末及び相手端末側ではIPアドレスの設定変更操作を要することなく、セッションを中断せずに通信を継続することができる。
Therefore, according to the IP terminal device of
また、本願請求項4記載のIP端末装置は、IPネットワーク上で相手端末とのセッションを確立するための自側のMACアドレスを格納した自端末MACアドレス格納手段と、相手端末とのセッション開始時に、この相手端末に対して自側のMACアドレスを送信すると共に、前記相手端末からの相手端末側のMACアドレスを受信するMACアドレス通信手段と、このMACアドレス通信手段を通じて前記相手端末側のMACアドレスを受信すると、この相手端末側のMACアドレスを格納する相手側MACアドレス格納手段と、自側のIPアドレス宛のARPパケットを繰り返し送信すると共に、自側のIPアドレス宛のARPパケット又はARP応答を受信するARP通信手段と、このARP通信手段を通じてARPパケットを受信すると、このARPパケットに自側のMACアドレスを搭載して同ARPパケットに対するARP応答を返信するARP応答手段と、前記ARP通信手段を通じてARP応答を受信すると、この受信したARP応答に搭載のMACアドレスを格納する受信応答MACアドレス格納手段と、この受信応答MACアドレス格納手段に格納中のMACアドレスと前記自端末MACアドレス格納手段に格納中のMACアドレスとを比較し、これらMACアドレスが異なる場合、前記IPネットワーク上で自端末と同一のIPアドレスが重複設定されているものと判断するIPアドレス重複判定手段と、このIPアドレス重複判定手段にて自端末と同一のIPアドレスが重複設定されているものと判断されると、IPアドレス重複通知を前記相手端末に通知するIPアドレス重複通知手段と、前記相手端末側のIPアドレス重複通知手段を通じてIPアドレス重複通知を受信するIPアドレス重複受信手段と、このIPアドレス重複受信手段を通じて前記相手端末側のIPアドレス重複通知を受信すると、前記相手側MACアドレス格納手段に格納中のMACアドレス以外のMACアドレスを発信元にしたパケットを受信したとしても、同パケットを破棄するパケット選別手段とを有するようにした。 In addition, the IP terminal device according to claim 4 of the present application includes a self-terminal MAC address storage unit that stores a MAC address on its own side for establishing a session with the counterpart terminal on the IP network, and a session with the counterpart terminal. MAC address communication means for transmitting the MAC address of the partner terminal side to the partner terminal and receiving the MAC address of the partner terminal side from the partner terminal, and the MAC address of the partner terminal side through the MAC address communication means , Repeatedly transmits the ARP packet addressed to its own IP address and the ARP packet or ARP response addressed to its own IP address. ARP communication means to receive and receive ARP packets through this ARP communication means Then, when receiving the ARP response through the ARP communication means, the ARP response means for mounting the own MAC address in the ARP packet and returning the ARP response to the ARP packet, the MAC mounted in the received ARP response is received. When the MAC address stored in the reception response MAC address storage unit is compared with the MAC address stored in the reception response MAC address storage unit and the MAC address stored in the own terminal MAC address storage unit, and these MAC addresses are different An IP address duplication determination unit that determines that the same IP address as that of the own terminal is set on the IP network, and the same IP address as that of the own terminal is set by the IP address duplication determination unit. IP address duplication notification to the partner terminal IP address duplication notification means for receiving, IP address duplication reception means for receiving IP address duplication notification through the IP address duplication notification means on the counterpart terminal side, and IP address duplication notification on the counterpart terminal side through the IP address duplication reception means When receiving a packet having a MAC address other than the MAC address stored in the counterpart MAC address storing means, the packet selecting means for discarding the packet is provided.
従って、本願請求項4記載のIP端末装置によれば、自側のMACアドレスを自端末MACアドレス格納手段に格納しておき、セッション開始時に受信した相手端末側のMACアドレスを相手側MACアドレス格納手段に格納し、自側のIPアドレス宛のARPパケットをIPネットワーク上に送信し、同ARPパケットに対するARP応答を受信すると、この受信したARP応答に搭載のMACアドレスを受信応答MACアドレス格納手段に格納し、自端末MACアドレス格納手段に格納中のMACアドレスと受信応答MACアドレス格納手段に格納中のMACアドレスとを比較し、これらMACアドレスが異なる場合、前記IPネットワーク上で自端末と同一のIPアドレスが重複設定されているものと判断し、IPアドレス重複通知を相手端末に通知すると共に、前記相手端末側のIPアドレス重複通知手段を通じてIPアドレス重複通知を受信すると、前記相手側MACアドレス格納手段に格納中のMACアドレス以外のMACアドレスを発信元にしたパケットを受信したとしても、同パケットを破棄する、すなわちセッション開始時に受信した相手端末側のMACアドレスを発信元にしたパケットのみを受信するようにしたので、自端末側に同一のIPアドレスの重複設定が発生したとしても、自端末及び相手端末側ではIPアドレスの設定変更操作を要することなく、セッションを中断せずに通信を継続することができる。 Therefore, according to the IP terminal device according to claim 4, the MAC address of the own terminal is stored in the own terminal MAC address storage means, and the MAC address of the counterpart terminal received at the start of the session is stored in the counterpart MAC address. When the ARP packet addressed to its own IP address is transmitted to the IP network and the ARP response to the ARP packet is received, the MAC address installed in the received ARP response is stored in the reception response MAC address storage unit. The MAC address stored in the own terminal MAC address storage means and the MAC address stored in the reception response MAC address storage means are compared, and if these MAC addresses are different, the same as the own terminal on the IP network Judge that IP address is duplicated, and send IP address duplicate notification When notifying the hand terminal and receiving the IP address duplication notification through the IP address duplication notification means on the counterpart terminal side, a packet originating from a MAC address other than the MAC address stored in the counterpart MAC address storage means is sent. Even if it is received, the same packet is discarded, that is, only the packet that originates from the MAC address of the partner terminal received at the start of the session is received. Even if it occurs, it is possible to continue the communication without interrupting the session without requiring an IP address setting change operation on the own terminal and the partner terminal side.
以下、図面に基づいて本発明のIP端末装置に関わる実施の形態を示すIPネットワークシステムについて説明する。 Hereinafter, an IP network system showing an embodiment related to an IP terminal device of the present invention will be described with reference to the drawings.
(実施の形態1)
図1は第1の実施の形態を示すIPネットワークシステム全体の概略構成を示すブロック図である。
(Embodiment 1)
FIG. 1 is a block diagram showing a schematic configuration of the entire IP network system according to the first embodiment.
図1に示すIPネットワークシステム1Aは、IPネットワーク2を通じて複数台のIP端末3を通信接続した構成とし、各IP端末3は、IPネットワーク2との通信インタフェースを司るネットワークインタフェース部(以下、単にネットワークIF部と称する)11と、IPネットワーク2経由で他のIP端末3と音声パケット等のパケットを送受信するパケット選別部12と、音声通話を実現するハンドセット13と、ハンドセット13を通じて音声通話を符号化又は音声パケットを復号化するための処理を司る音声処理部14と、呼出操作や発信操作等の様々なコマンドを入力する操作部15と、操作部15からの呼制御コマンド入力に応じて音声通話機能の呼制御を司る呼制御部16と、IPネットワーク2に関わる通信制御を司るネットワーク制御部17と、後述する第1アドレス設定処理に関わる制御動作を司るアドレス設定処理部18Aとを有している。尚、各IP端末3としては、例えば一般住宅内の玄関外に配置した玄関子機や、室内に配置され、この玄関子機と通信接続する室内親機等のIPネットワーク機器を例とするが、例えばIP電話機、IPテレビ電話機の他に、PC上で動作するネットワークゲームのような音声通話機能の無いIPネットワーク機器もあるものとする。
An IP network system 1A shown in FIG. 1 has a configuration in which a plurality of
アドレス設定処理部18Aは、IPネットワーク2上でIP端末3毎に付与されたIPアドレスの重複設定の検出及び、同IPアドレス重複設定による影響を解消するための処理部であって、IPネットワーク2上でIP端末3(自端末3A及び相手端末3B)同士のセッション(通話)を開始する時に、この相手端末3Bに対して自側のMACアドレスを送信すると共に、相手端末3Bから相手端末側のMACアドレスを受信するMACアドレス通信部21と、このMACアドレス通信部21を通じて相手端末3B側のMACアドレスを受信すると、この相手端末3B側のMACアドレスを第1相手側MACアドレスとして格納する第1相手側MACアドレス格納部22と、IPネットワーク2に対して相手端末3BのIPアドレス宛のARPパケットを繰り返しブロードキャスト送信すると共に、自側のIPアドレス宛のARPパケット又はARP応答を受信するARP通信部23と、このARP通信部23を通じて自側のIPアドレス宛のARPパケットを受信すると、このARPパケットに自側のMACアドレスを搭載して同ARPパケットに対するARP応答を同ARPパケットの発信元に返信するARP応答部24と、ARP通信部23を通じてARP応答を受信すると、この受信したARP応答に搭載のMACアドレスを第2相手側MACアドレスとして格納する第2相手側MACアドレス格納部25と、第1相手側MACアドレス格納部22に格納中の第1相手側MACアドレスと第2相手側MACアドレス格納部25に格納中の第2相手側MACアドレスとを比較し、これらMACアドレスが異なる場合、IPネットワーク2上で相手端末3Bと同一のIPアドレスが他のIP端末3(他の端末3C)に重複設定されているものと判断するIPアドレス重複設定判定部26とを有している。尚、IP端末3の内、自端末3A及び相手端末3Bは音声通話機能(ピアツーピアのリアルタイム通信機能)を備えていることを前提とするが、IP端末3の他の端末3Cは音声通話機能を備えていなくても良いことは当然あり得るものである。
The address
例えば自端末3A側のパケット選別部12は、IPアドレス重複設定判定部26にて相手端末3Bと同一のIPアドレスが重複設定されているものと判断されると、第1相手側MACアドレス格納部22に格納中の第1相手側MACアドレス以外のMACアドレスを発信元にしたパケットを受信したとしても、同パケットを破棄すべく、そのパケット選別内容を設定更新するものである。
For example, if the IP address duplication
尚、請求項1記載のIP端末装置はIP端末3(自端末3A、相手端末3B及び他の端末3C)、IPネットワークはIPネットワーク2、相手端末は相手端末3B、MACアドレス通信手段はMACアドレス通信部21、第1相手側MACアドレス格納手段は第1相手側MACアドレス格納部22、ARP通信手段はARP通信部23、ARP応答手段はARP応答部24、第2相手側MACアドレス格納手段は第2相手側MACアドレス格納部25、IPアドレス重複判定手段はIPアドレス重複設定判定部26、パケット選別手段はパケット選別部12に相当するものである。
The IP terminal device according to claim 1 is an IP terminal 3 (own terminal 3A, a partner terminal 3B and another terminal 3C), an IP network is an
次に第1の実施の形態を示すIPネットワークシステム1Aの動作について説明する。図2は自端末3A内部の第1アドレス設定処理に関わる処理動作を示すフロー図である。 Next, the operation of the IP network system 1A showing the first embodiment will be described. FIG. 2 is a flowchart showing the processing operation related to the first address setting process inside the terminal 3A.
図2に示す第1アドレス設定処理は、相手端末3Bとのセッション(通話)中に相手端末3B側にIPアドレス重複設定が発生したとしても、自端末3A側でIPアドレス重複設定による影響を解消しながら、相手端末3Bとの通話を継続するために、自端末3A側のパケット選別部12のパケット選別内容を設定更新するための処理である。
The first address setting process shown in FIG. 2 eliminates the influence of the IP address duplication setting on the own terminal 3A side even if the IP address duplication setting occurs on the counterpart terminal 3B side during the session (call) with the counterpart terminal 3B. However, this is a process for setting and updating the packet selection content of the
図2において自端末3Aは、IPネットワーク2経由で相手端末3Bとのセッション(通話)を開始したか否かを判定する(ステップS11)。 In FIG. 2, the own terminal 3A determines whether or not a session (call) with the partner terminal 3B is started via the IP network 2 (step S11).
自端末3A側のMACアドレス通信部21は、相手端末3Bとのセッションを開始したと判定されると、IPネットワーク2経由で相手端末3Bに対して自側のMACアドレスを送信すると共に、相手端末3Bから相手端末3B側のMACアドレスを受信する(ステップS12)。
When it is determined that the session with the partner terminal 3B is started, the MAC
自端末3A側のMACアドレス通信部21は、相手端末3B側のMACアドレスを受信すると、このMACアドレスを第1相手側MACアドレスとして第1相手側MACアドレス格納部22に格納する(ステップS13)。
When the MAC
自端末3A側のARP通信部23は、相手端末3BのIPアドレス宛のARPパケットをIPネットワーク2に対してブロードキャスト送信する(ステップS14)。尚、相手端末3B側のARP応答部24は、IPネットワーク2経由で自側のIPアドレス宛のARPパケットを受信すると、所定時間内に同ARPパケットに対して自側のMACアドレスを搭載してARP応答をARPパケットの発信元に返信するものである。
The
自端末3A側のARP通信部23は、ARPパケットのブロードキャスト送信後、所定時間内に同ARPパケットに対するARP応答を受信したか否かを判定する(ステップS15)。
The
自端末3A側のARP通信部23は、IPネットワーク2を通じてARP応答を受信したと判定されると、ARP応答に搭載の相手側MACアドレスを第2相手側MACアドレスとして第2相手側MACアドレス格納部25に格納する(ステップS16)。
When it is determined that the
自端末3A側のIPアドレス重複設定判定部26は、第1相手側MACアドレス格納部22に格納中の第1相手側MACアドレスと第2相手側MACアドレス格納部25に格納中の第2相手側MACアドレスとを比較し(ステップS17)、これらMACアドレスが異なるか否かを判定する(ステップS18)。
The IP address duplication
自端末3A側のIPアドレス重複設定判定部26は、MACアドレスが異なると判定されると、IPネットワーク2上に相手端末3Bと同一のIPアドレスが重複設定されている、すなわちIPアドレス重複設定が発生したものと判断する(ステップS19)。
If it is determined that the MAC address is different, the IP address duplication setting
自端末3A側のパケット選別部12は、IPアドレス重複設定判定部26にてIPアドレス重複発生と判断されると、第1相手側MACアドレス格納部22に格納中の第1相手側MACアドレス以外のMACアドレスを発信元とするパケットを破棄するようにパケット選別内容を設定更新する(ステップS20)。
When the IP address duplication
その結果、パケット選別部12は、設定更新したパケット選別内容に基づき、第1相手側MACアドレス以外のMACアドレスを発信元にしたパケットを受信したとしても同パケットを破棄し、第1相手側MACアドレスを発信元にしたパケットのみを受信することになる。
As a result, the
さらに自端末3Aは、ステップS20にてパケット選別内容を設定更新すると、相手端末3Bとの通話が終了したか否かを判定する(ステップS21)。 Further, when the terminal 3A sets and updates the packet selection content in step S20, it determines whether or not the call with the partner terminal 3B is terminated (step S21).
自端末3Aは、相手端末3Bとの通話が終了したと判定されると、この第1アドレス設定処理に関わる処理動作を終了する。 When it is determined that the call with the counterpart terminal 3B has ended, the own terminal 3A ends the processing operation related to the first address setting process.
また、自端末3Aは、ステップS11にて相手端末3Bとのセッション(通話)が開始したのでなければ、同様に、この処理動作を終了する。 In addition, if the terminal 3A does not start a session (call) with the counterpart terminal 3B in step S11, the terminal 3A similarly ends this processing operation.
また、自端末3A側のARP通信部23は、ステップS15にて所定時間内にARP応答を受信したのでなければ、相手端末3Bとの通話が終了したか否かを監視すべく、ステップS21に移行する。
Further, if the
また、自端末3A側のIPアドレス重複設定判定部26は、ステップS18にて第1相手側MACアドレスと第2相手側MACアドレスとが同一の場合、IPアドレス重複設定の発生はないものと判断し、相手端末3Bとの通話が終了したか否かを監視すべく、ステップS21に移行する。
Also, the IP address duplication setting
また、自端末3Aは、ステップS21にて相手端末3Bとの通話が終了したのでなければ、相手端末3BのIPアドレス宛のARPパケットをブロードキャスト送信すべく、ステップS14に移行する。 If the call with the partner terminal 3B is not terminated in step S21, the terminal 3A moves to step S14 in order to broadcast the ARP packet addressed to the IP address of the partner terminal 3B.
図3は第1アドレス設定処理に関わる自端末3A、相手端末3B及び他の端末3Cの動作を端的に示すシーケンス図である。尚、説明の便宜上、自端末3AのMACアドレスはMAC−A、相手端末3BのMACアドレスはMAC−B、他の端末3CのMACアドレスはMAC−Cとし、相手端末3B及び他の端末3CのIPアドレスは同一(Addr−B)であるものとする。 FIG. 3 is a sequence diagram briefly showing operations of the own terminal 3A, the partner terminal 3B, and the other terminal 3C related to the first address setting process. For convenience of explanation, the MAC address of the terminal 3A is MAC-A, the MAC address of the partner terminal 3B is MAC-B, the MAC address of the other terminal 3C is MAC-C, and the partner terminal 3B and the other terminal 3C Assume that the IP addresses are the same (Addr-B).
自端末3Aは、IPネットワーク2経由で相手端末3Bからの呼出コマンドに相当するINVITEを受信した後(ステップS31)、この呼出コマンドに応答するOKを相手端末3Bに返信してセッション(通話)を開始することになる(ステップS32)。 After receiving the INVITE corresponding to the call command from the partner terminal 3B via the IP network 2 (Step S31), the terminal 3A returns an OK response to the call command to the partner terminal 3B and makes a session (call). It will start (step S32).
次に相手端末3Bは、IPネットワーク2経由で自側のMACアドレス(MAC−B)を自端末3Aに通知すると共に(ステップS33)、自端末3Aは、IPネットワーク2経由で自側のMACアドレス(MAC−A)を相手端末3Bに通知する(ステップS34)。尚、相手端末3B側の第1相手側MACアドレス格納部22は、自端末3A側のMACアドレス(MAC−A)を第1相手側MACアドレスとして格納し、自端末3A側の第1相手側MACアドレス格納部22は、相手端末3B側のMACアドレス(MAC−B)を第1相手側MACアドレスとして格納するものである。
Next, the counterpart terminal 3B notifies its own MAC address (MAC-B) to the own terminal 3A via the IP network 2 (step S33), and the own terminal 3A receives its own MAC address via the
次に相手端末3B及び自端末3Aは、お互いに相手側MACアドレスを格納すると、IPネットワーク2経由で音声パケットを送受信することで(ステップS35,36)、相手端末3B及び自端末3A間の音声通話を確立することになる。 Next, when the counterpart terminal 3B and the own terminal 3A store the other party's MAC address, they transmit and receive voice packets via the IP network 2 (steps S35 and S36), and the voice between the counterpart terminal 3B and the own terminal 3A. A call will be established.
また、自端末3A側のARP通信部23は、相手端末3BのIPアドレス(Addr−B)宛のARPパケットをIPネットワーク2に対してブロードキャスト送信した場合(ステップS37)、当然ながら相手端末3Bから同ARPパケットに対するARP応答を受信することになるが、他の端末3Cが相手端末3Bと同一のIPアドレス(Addr−B)であるため、他の端末3CからもARPパケットに対するARP応答を受信することになる(ステップS38)。
When the
自端末3A側のARP通信部23は、他の端末3CからARP応答を受信すると、同ARP応答に搭載のMACアドレス(MAC−C)を第2相手側MACアドレスとして第2相手側MACアドレス格納部25に格納する。
When receiving the ARP response from the other terminal 3C, the
しかし、自端末3A側のIPアドレス重複設定判定部26は、第1相手側MACアドレス格納部22に格納中の第1相手側MACアドレス(MAC−B)と第2相手側MACアドレス格納部25に格納中の第2相手側MACアドレス(MAC−C)とを比較し、これらMACアドレスが異なるため、第1相手側MACアドレス(MAC−B)以外のMACアドレスを発信元にしたパケットを受信したとしても、同パケットを破棄するように、自端末3A側のパケット選別部12のパケット選別内容を設定更新することになる。
However, the IP address duplication setting
その結果、自端末3A側のパケット選別部12は、設定更新したパケット選別内容に基づき、他の端末3CのMACアドレス(MAC−C)を発信元にしたパケット、例えば切断コマンドに相当するBYEを受信したとしても同パケットを破棄し(ステップS39)、相手端末3Bに対して音声パケットを送信しながら(ステップS40)、相手端末3BのMACアドレス(MAC−B)を発信元にしたパケット、例えば音声パケット及びBYE等のパケットを受信することになる(ステップS41,42)。
As a result, the
従って、第1の実施の形態によれば、相手端末3Bとのセッション(通話)開始時に受信した相手端末3B側のMACアドレスを第1相手側MACアドレスとして格納し、相手端末3BのIPアドレス宛のARPパケットをブロードキャスト送信後、所定時間内に同ARPパケットに対するARP応答を受信して同ARP応答に搭載のMACアドレスを第2相手側MACアドレスとして格納し、これら第1相手側MACアドレスと第2相手側MACアドレスとが異なる場合、第1相手側MACアドレス以外のMACアドレスを発信元にしたパケットを受信したとしても同パケットを破棄するように、自端末3A側のパケット選別部12のパケット選別内容を設定更新するようにしたので、IPネットワーク2上で相手端末3B側にIPアドレス重複設定が発生したとしても、自端末3A及び相手端末3B側では、IPアドレスの設定変更操作を要することなく、セッション(通話)を中断せずに通信を継続することができる。
Therefore, according to the first embodiment, the MAC address on the partner terminal 3B side received at the start of the session (call) with the partner terminal 3B is stored as the first partner MAC address, and addressed to the IP address of the partner terminal 3B. After the ARP packet is broadcasted, an ARP response to the ARP packet is received within a predetermined time, and the MAC address installed in the ARP response is stored as the second counterpart MAC address. 2 If the other party's MAC address is different, the packet of the
(実施の形態2)
次に第2の実施の形態を示すIPネットワークシステム1Bについて説明する。図4は第2の実施の形態を示すIPネットワークシステム1B内部の概略構成を示すブロック図である。尚、図1に示すIPネットワークシステム1Aと同一の構成については同一符号を付すことで、その重複する構成及び動作の説明については省略する。
(Embodiment 2)
Next, an
図4に示すIPネットワークシステム1Bと図1に示すIPネットワークシステム1Aとが異なるところは、IP端末3内部のIPアドレス重複設定判定部26にて第1相手側MACアドレスと第2相手側MACアドレスとが異なる場合に、第1相手側MACアドレス以外のMACアドレスを発信元にしたパケットを破棄するのではなく、第2相手側MACアドレスを発信元にしたパケットを破棄するように、自端末3A側のパケット選別部12のパケット選別内容を設定更新するアドレス設定処理部18Bにある。
The difference between the
図4に示すIP端末3内部のアドレス設定処理部18Bは、MACアドレス通信部21、第1相手側MACアドレス格納部22、ARP通信部23、ARP応答部24、第2相手側MACアドレス格納部25及びIPアドレス重複設定判定部26を備え、IPアドレス重複設定判定部26にて第1相手側MACアドレスと第2相手側MACアドレスとが異なる場合、第2相手側MACアドレスを発信元にしたパケットを破棄すべく、パケット選別部12のパケット選別内容を設定更新するものである。
The address
尚、請求項2記載のIP端末装置はIP端末3(自端末3A、相手端末3B及び他の端末3C)、IPネットワークはIPネットワーク2、相手端末は相手端末3B、MACアドレス通信手段はMACアドレス通信部21、第1相手側MACアドレス格納手段は第1相手側MACアドレス格納部22、ARP通信手段はARP通信部23、ARP応答手段はARP応答部24、第2相手側MACアドレス格納手段は第2相手側MACアドレス格納部25、IPアドレス重複判定手段はIPアドレス重複設定判定部26、パケット選別手段はパケット選別部12に相当するものである。
The IP terminal device according to
次に第2の実施の形態を示すIPネットワークシステム1Bの動作について説明する。図5は第2の実施の形態に関わる自端末3Aの第2アドレス設定処理に関わる処理動作を示すフロー図である。
Next, the operation of the
図5に示す第2アドレス設定処理は、相手端末3Bとのセッション(通話)中に相手端末3B側にIPアドレス重複設定が発生したとしても、自端末3A側でIPアドレス重複設定による影響を解消しながら、相手端末3Bとの通話を継続するために、自端末3A側のパケット選別部12のパケット選別内容を設定更新するための処理であって、IPアドレス重複設定の発生を検出すると、第2相手側MACアドレスを発信元にしたパケットを受信したとしても、同パケットを破棄するように、自端末側のパケット選別部12のパケット選別内容を設定更新するための処理である。
The second address setting process shown in FIG. 5 eliminates the influence of the IP address duplication setting on the own terminal 3A side even if the IP address duplication setting occurs on the counterpart terminal 3B side during the session (call) with the counterpart terminal 3B. On the other hand, in order to continue the call with the partner terminal 3B, a process for setting and updating the packet selection content of the
図5において自端末3Aは、ステップS11乃至ステップS19の処理動作を実行した後、ステップS19にてIPアドレス重複設定判定部26を通じて第1相手側MACアドレスと第2相手側MACアドレスとが異なる場合、第2相手側MACアドレスを発信元にしたパケットを破棄するように、パケット選別部12のパケット選別内容を設定更新し(ステップS20A)、相手端末3Bとの通話が終了したか否かを監視すべく、ステップS21に移行するものである。
In FIG. 5, the
その結果、自端末3A側のパケット選別部12は、設定更新したパケット選別内容に基づき、第2相手側MACアドレスを発信元にしたパケットを受信したとしても同パケットを破棄し、第2相手側MACアドレス以外のMACアドレスを発信元にしたパケットを受信することになる。
As a result, the
図6は第2アドレス設定処理に関わる自端末3A、相手端末3B及び他の端末3Cの動作を端的に示すシーケンス図である。尚、説明の便宜上、自端末3AのMACアドレスはMAC−A、相手端末3BのMACアドレスはMAC−B、他の端末3CのMACアドレスはMAC−Cとし、相手端末3B及び他の端末3CのIPアドレスは同一(Addr−B)であるものとする。 FIG. 6 is a sequence diagram briefly showing operations of the own terminal 3A, the partner terminal 3B, and the other terminal 3C related to the second address setting process. For convenience of explanation, the MAC address of the terminal 3A is MAC-A, the MAC address of the partner terminal 3B is MAC-B, the MAC address of the other terminal 3C is MAC-C, and the partner terminal 3B and the other terminal 3C Assume that the IP addresses are the same (Addr-B).
図6に示す自端末3A、相手端末3B及び他の端末3Cは、ステップS31乃至ステップS38の処理動作を実行すると、自端末3A側のIPアドレス重複設定判定部26は、第1相手側MACアドレス格納部22に格納中の第1相手側MACアドレス(MAC−B)と第2相手側MACアドレス格納部25に格納中の第2相手側MACアドレス(MAC−C)とを比較し、これらMACアドレスが異なるため、第2相手側MACアドレス(MAC−C)を発信元にしたパケットを破棄するように、自端末3A側のパケット選別部12のパケット選別内容を設定更新することになる。
When the own terminal 3A, the partner terminal 3B, and the other terminal 3C shown in FIG. 6 execute the processing operations of steps S31 to S38, the IP address duplication setting
その結果、自端末3A側のパケット選別部12は、ステップS39にて他の端末3CのMACアドレス(MAC−C)を発信元にしたパケット、例えば切断コマンドに相当するBYEを受信したとしても破棄し、ステップS40にて相手端末3Bに対して音声パケットを送信しながら、ステップS41及び42にて相手端末3BのMACアドレス(MAC−B)を発信元にしたパケット、例えば音声パケット及びBYE等のパケットを受信することになる。
As a result, even if the
従って、第2の実施の形態によれば、相手端末3Bとのセッション(通話)開始時に受信した相手端末3B側のMACアドレスを第1相手側MACアドレスとして格納し、相手端末3BのIPアドレス宛のARPパケットをブロードキャスト送信後、所定時間内に同ARPパケットに対するARP応答を受信して同ARP応答に搭載のMACアドレスを第2相手側MACアドレスとして格納し、これら第1相手側MACアドレスと第2相手側MACアドレスとが異なる場合、第2相手側MACアドレスを発信元にしたパケットを受信したとしても同パケットを破棄するように、自端末3A側のパケット選別部12のパケット選別内容を設定更新するようにしたので、IPネットワーク2上で相手端末3B側にIPアドレス重複設定が発生したとしても、自端末3A及び相手端末3B側では、IPアドレスの設定変更操作を要することなく、セッション(通話)を中断せずに通信を継続することができる。
Therefore, according to the second embodiment, the MAC address on the partner terminal 3B side received at the start of the session (call) with the partner terminal 3B is stored as the first partner MAC address, and addressed to the IP address of the partner terminal 3B. After the ARP packet is broadcasted, an ARP response to the ARP packet is received within a predetermined time, and the MAC address installed in the ARP response is stored as the second counterpart MAC address. 2 If the other party's MAC address is different, the packet selection content of the
(実施の形態3)
次に第3の実施の形態を示すIPネットワークシステム1Cについて説明する。図7は第3の実施の形態を示すIPネットワークシステム1C内部の概略構成を示すブロック図である。尚、図1に示すIPネットワークシステム1Aと同一の構成については同一符号を付すことで、その重複する構成及び動作の説明については省略する。
(Embodiment 3)
Next, an
図7に示すIPネットワークシステム1Cと図1に示すIPネットワークシステム1Aとが異なるところは、自端末3A内で自側の自端末MACアドレスを格納しておき、相手端末3Bとのセッション(通話)開始時に、自側(自端末3A)のIPアドレス宛のARPパケットをブロードキャスト送信し、同ARPパケットに対応するARP応答を所定時間内に受信し、同ARP応答に搭載のMACアドレスと自端末MACアドレスとが異なる場合、IPアドレス重複通知を同ARP応答に搭載されたMACアドレスを含めて相手端末3Bに通知すると共に、相手端末3B側ではIPアドレス重複通知を受信すると、同IPアドレス重複通知に含まれたMACアドレスを発信元にしたパケットを受信したとしても同パケットを破棄するように、相手端末3B側のパケット選別部12のパケット選別内容を設定更新するアドレス設定処理部18Cにある。
The
図7に示すIP端末3内部のアドレス設定処理部18Cは、IPネットワーク2上で相手端末3Bとのセッション(通話)を確立するための自側のMACアドレスを自端末MACアドレスとして格納した自端末MACアドレス格納部31と、IPネットワーク2に対して自側のIPアドレス宛のARPパケットを繰り返しブロードキャスト送信すると共に、自側のIPアドレス宛のARPパケット及びARP応答を受信するARP通信部32と、このARP通信部32を通じてARPパケットを受信すると、このARPパケットに自側のMACアドレスを搭載してARP応答として同ARPパケットの発信元に返信するARP応答部33と、ARP通信部32を通じてARP応答を受信すると、この受信したARP応答に搭載のMACアドレスを受信応答MACアドレスとして格納する受信応答MACアドレス格納部34と、この受信応答MACアドレス格納部34に格納中の受信応答MACアドレスと自端末MACアドレス格納部31に格納中の自端末MACアドレスとを比較し、これらMACアドレスが異なる場合、IPネットワーク2上で自端末3Aと同一のIPアドレスが他のIP端末3(他の端末3C)に重複設定されているものと判断するIPアドレス重複設定判定部35と、IPアドレス重複設定判定部35にて自端末3Aと同一のIPアドレスが重複設定されているものと判断されると、受信応答MACアドレス格納部34に格納中のMACアドレスを搭載したIPアドレス重複通知を相手端末3Bに通知するIPアドレス重複通知部36と、相手端末3B側のIPアドレス重複通知部36を通じてIPアドレス重複通知を受信するIPアドレス重複受信部37と、このIPアドレス重複受信部37にてIPアドレス重複通知を受信すると、このIPアドレス重複通知に搭載のMACアドレスを重複MACアドレスとして格納する重複MACアドレス格納部38とを有している。
The address
また、相手端末3B側のパケット選別部12は、重複MACアドレス格納部38に格納中の重複MACアドレスを発信元にしたパケットを受信したとしても、同パケットを破棄すべく、そのパケット選別内容を設定更新するものである。
Further, even if the
尚、請求項3記載のIP端末装置はIP端末3(自端末3A、相手端末3B及び他の端末3C)、IPネットワークはIPネットワーク2、相手端末は相手端末3B、自端末MACアドレス格納手段は自端末MACアドレス格納部31、ARP通信手段はARP通信部32、ARP応答手段はARP応答部33、受信応答MACアドレス格納手段は受信応答MACアドレス格納部34、IPアドレス重複判定手段はIPアドレス重複設定判定部35、IPアドレス重複通知手段はIPアドレス重複通知部36、IPアドレス重複受信手段はIPアドレス重複受信部37及び重複MACアドレス格納部38、パケット選別手段はパケット選別部12に相当するものである。
The IP terminal device according to
次に第3の実施の形態を示すIPネットワークシステム1Cの動作について説明する。図8は自端末3A内部の第1アドレス重複通知処理に関わる処理動作を示すフロー図である。
Next, the operation of the
図8に示す第1アドレス重複通知処理は、相手端末3Bとのセッション(通話)中に自端末3A側にIPアドレス重複設定が発生した場合、重複設定のMACアドレス(受信応答MACアドレス)を搭載したIPアドレス重複通知を相手端末3B側に通知するための処理である。 The first address duplication notification process shown in FIG. 8 includes a duplicate setting MAC address (reception response MAC address) when an IP address duplication setting occurs on the own terminal 3A side during a session (call) with the counterpart terminal 3B. This is a process for notifying the other terminal 3B side of the IP address duplication notification.
図8において自端末3Aは、IPネットワーク2経由で相手端末3Bとのセッション(通話)を開始したか否かを判定する(ステップS51)。 In FIG. 8, the own terminal 3A determines whether or not a session (call) with the partner terminal 3B is started via the IP network 2 (step S51).
自端末3A側のARP通信部32は、相手端末3Bとのセッションを開始したと判定されると、IPネットワーク2に対して自側のIPアドレス宛のARPパケットをブロードキャスト送信した後(ステップS52)、所定時間内に同ARPパケットに対するARP応答を受信したか否かを判定する(ステップS53)。
When it is determined that the
自端末3A側のARP通信部32は、所定時間内に同ARPパケットに対するARP応答を受信した判定されると、ARP応答に搭載のMACアドレスを受信応答MACアドレスとして受信応答MACアドレス格納部34に格納する(ステップS54)。
When it is determined that the
自端末3A側のIPアドレス重複設定判定部35は、受信応答MACアドレス格納部34に受信応答MACアドレスを格納すると、受信応答MACアドレス格納部34に格納中の受信応答MACアドレスと自端末MACアドレス格納部31に格納中の自端末MACアドレスとを比較し(ステップS55)、これらMACアドレスが異なるか否かを判定する(ステップS56)。
When the IP address duplication setting
自端末3A側のIPアドレス重複設定判定部35は、MACアドレスが異なると判定されると、IPネットワーク2上に自端末3Aと同一のIPアドレスが重複設定されている、すなわちIPアドレス重複設定が発生したものと判断し(ステップS57)、IPアドレス重複通知部36を通じて受信応答MACアドレス格納部34に格納中の受信応答MACアドレスを搭載したIPアドレス重複通知を相手端末3Bに通知し(ステップS58)、相手端末3Bとの通話が終了したか否かを判定する(ステップS59)。
If it is determined that the MAC address is different, the IP address duplication setting
自端末3Aは、相手端末3Bとの通話が終了したのであれば、この処理動作を終了する。 The own terminal 3A ends this processing operation if the call with the counterpart terminal 3B is ended.
また、自端末3Aは、ステップS51にて相手端末3Bとの通話を開始したのでなければ、この処理動作を終了する。 Also, if the terminal 3A itself has not started a call with the partner terminal 3B in step S51, this processing operation is terminated.
また、自端末3A側のARP通信部32は、ステップS53にて所定時間内にARP応答を受信したのでなければ、相手端末3Bとの通話が終了したか否かを監視すべく、ステップS59に移行する。
If the
また、自端末3A側のIPアドレス重複設定判定部35は、ステップS56にて受信応答MACアドレスと自端末MACアドレスとが異ならないと判定されると、正常に通信が行われているものと判断し、相手端末3Bとの通話が終了したか否かを監視すべく、ステップS59に移行する。また、自端末3A側のARP通信部32は、ステップS59にて相手端末3Bとの通話が終了したのでなければ、自側のIPアドレス宛のARPパケットをブロードキャスト送信すべく、ステップS52に移行する。
The IP address duplication setting
図8に示す第1アドレス重複通知処理によれば、相手端末3Bとのセッション(通話)開始時に、IPネットワーク2に対して自側のIPアドレス宛のARPパケットをブロードキャスト送信した後、所定時間内に同ARPパケットに対するARP応答を受信して同ARP応答に搭載のMACアドレスを受信応答MACアドレスとして格納し、格納中の自端末MACアドレスと受信応答MACアドレスとが異なる場合、IPネットワーク2上に自端末3Aと同一のIPアドレスが重複設定されていることを示すIPアドレス重複通知に受信応答MACアドレスを搭載して相手端末3B側に通知するようにしたので、相手端末3B側では、自端末3AからのIPアドレス重複通知に基づき、自端末3A側でIPアドレス重複設定が発生したことを認識することができる。
According to the first address duplication notification process shown in FIG. 8, at the start of a session (call) with the counterpart terminal 3B, an ARP packet addressed to its own IP address is broadcasted to the
次に図8に示す第1アドレス重複通知処理にて自端末3AからのIPアドレス重複通知を受信した相手端末3B側の処理動作について説明する。図9は相手端末3B側の第3アドレス設定処理に関わる処理動作を示すフロー図である。 Next, the processing operation on the partner terminal 3B side that has received the IP address duplication notification from its own terminal 3A in the first address duplication notification process shown in FIG. 8 will be described. FIG. 9 is a flowchart showing a processing operation related to the third address setting process on the counterpart terminal 3B side.
図9に示す第3アドレス設定処理は、自端末3AからのIPアドレス重複通知を受信すると、同IPアドレス重複通知に搭載のMACアドレスを発信元にしたパケットを受信したとしても、同パケットを破棄するように、相手端末3B側のパケット選別部12のパケット選別内容を設定更新するための処理である。
When the third address setting process shown in FIG. 9 receives the IP address duplication notification from its own terminal 3A, it discards the packet even if it receives a packet originating from the MAC address installed in the IP address duplication notification. In this manner, the packet selection content of the
図9において相手端末3Bは、相手先である自端末3Aとのセッション(通話)を開始したか否かを判定する(ステップS61)。 In FIG. 9, the partner terminal 3B determines whether or not a session (call) with the partner terminal 3A is started (step S61).
相手端末3B側のIPアドレス重複受信部36は、相手先である自端末3Aとのセッション(通話)を開始したと判定されると、IPネットワーク2経由で、相手先である自端末3AからIPアドレス重複通知を受信したか否かを判定する(ステップS62)。
When it is determined that the IP address
相手端末3B側のIPアドレス重複受信部36は、相手先である自端末3AからのIPアドレス重複通知を受信したと判定されると、このIPアドレス重複通知に搭載のMACアドレスを重複MACアドレスとして重複MACアドレス格納部37に格納する(ステップS63)。
When it is determined that the IP address
相手端末3B側のパケット選別部12は、重複MACアドレス格納部37に格納中の重複MACアドレスを発信元にしたパケットを受信したとしても、同パケットを破棄するように、パケット選別内容を設定更新する(ステップS64)。
The
相手端末3Bは、相手先である自端末3Aとの通話を終了したか否かを判定する(ステップS65)。相手端末3Bは、相手先である自端末3Aとの通話を終了したのであれば、この処理動作を終了する。また、相手端末3Bは、ステップS61にて通話を開始したのでなければ、この処理動作を終了する。 The partner terminal 3B determines whether or not the call with the partner terminal 3A is terminated (step S65). The partner terminal 3B ends this processing operation if the call with the partner terminal 3A is terminated. Further, the partner terminal 3B ends this processing operation unless the telephone conversation is started in step S61.
また、相手端末3B側のIPアドレス重複受信部37は、ステップS62にて相手先である自端末3AからIPアドレス重複通知を受信したのでなければ、相手先である自端末3Aとの通話が終了したか否かを監視すべく、ステップS65に移行する。
If the IP address
また、相手端末3Bは、ステップS65にて相手先である自端末3Aとの通話を終了したのでなければ、相手先である自端末3AからIPアドレス重複通知を受信したか否かを監視すべく、ステップS62に移行する。 In addition, unless the partner terminal 3B ends the call with the partner terminal 3A in step S65, the partner terminal 3B should monitor whether or not the IP address duplication notification is received from the partner terminal 3A. The process proceeds to step S62.
図9に示す第3アドレス設定処理によれば、例えば相手端末3B側のIPアドレス重複受信部37が自端末3A側のIPアドレス重複通知部36を通じてIPアドレス重複通知を受信すると、このIPアドレス重複通知に搭載のMACアドレスを重複MACアドレスとして重複MACアドレス格納部38に格納し、この重複MACアドレスを発信元にしたパケットを破棄するように、相手端末3B側のパケット選別部12のパケット選別内容を設定更新するようにしたので、相手端末3B側では、自端末3A側にIPアドレス重複設定が発生したとしても、IPアドレス重複設定の影響を受けることなく、自端末3Aとの通話を継続することができる。
According to the third address setting process shown in FIG. 9, for example, when the IP address
また、図10は第1アドレス重複通知処理及び第3アドレス設定処理に関わる自端末3A、相手端末3B及び他の端末3Cの動作を端的に示すシーケンス図である。尚、説明の便宜上、自端末3AのMACアドレスはMAC−A、相手端末3BのMACアドレスはMAC−B、他の端末3CのMACアドレスはMAC−Cとし、自端末3A及び他の端末3CのIPアドレスは同一(Addr−A)であるものとする。 FIG. 10 is a sequence diagram briefly showing operations of the own terminal 3A, the partner terminal 3B, and the other terminal 3C related to the first address duplication notification process and the third address setting process. For convenience of explanation, the MAC address of the own terminal 3A is MAC-A, the MAC address of the partner terminal 3B is MAC-B, the MAC address of the other terminal 3C is MAC-C, and the own terminal 3A and the other terminal 3C Assume that the IP addresses are the same (Addr-A).
自端末3Aは、IPネットワーク2経由で呼出コマンドに相当するINVITEを送信した後(ステップS71)、INVITEに対するOKの返信を相手端末3Bから受信すると(ステップS72)、セッション(通話)を開始することになる。 After transmitting INVITE corresponding to the call command via the IP network 2 (Step S71) and receiving an OK response to INVITE from the partner terminal 3B (Step S72), the own terminal 3A starts a session (call). become.
次に自端末3A及び相手端末3Bは、IPネットワーク2経由で音声パケットを送受信することで(ステップS73,74)、相手端末3B及び自端末3A間の音声通話を確立することになる。 Next, the local terminal 3A and the partner terminal 3B transmit and receive voice packets via the IP network 2 (steps S73 and S74), thereby establishing a voice call between the partner terminal 3B and the host terminal 3A.
また、自端末3A側のARP通信部32は、自側のIPアドレス宛のARPパケットをIPネットワーク2に対してブロードキャスト送信した場合(ステップS75)、他の端末3Cと自端末3Aとが同一のIPアドレス(Addr−A)であるため、他の端末3CからARPパケットに対するARP応答を受信することになる(ステップS76)。
Further, when the
自端末3A側のARP通信部32は、他の端末3CからARP応答を受信すると、同ARP応答に搭載のMACアドレス(MAC−C)を受信応答MACアドレスとして受信応答MACアドレス格納部34に格納する。
When receiving the ARP response from the other terminal 3C, the
しかし、自端末3A側のIPアドレス重複設定判定部35は、自端末MACアドレス格納部31に格納中の自端末MACアドレス(MAC−A)と受信応答MACアドレス格納部34に格納中の受信応答MACアドレス(MAC−C)とを比較し、これらMACアドレスが異なるため、IPアドレス重複通知部36を通じて同受信応答MACアドレス(MAC−C)を搭載のIPアドレス重複通知を相手端末3Bに通知する(ステップS77)。
However, the IP address duplication setting
相手端末3B側のIPアドレス重複受信部37は、自端末3AからIPアドレス重複通知を受信すると、このIPアドレス重複通知に搭載のMACアドレスを重複MACアドレスとして重複MACアドレス格納部38に格納し、この格納中の重複MACアドレスを発信元にしたパケットを受信したとしても同パケットを破棄するように、相手端末3B側のパケット選別部12のパケット選別内容を設定更新することになる。
Upon receiving the IP address duplication notification from its own terminal 3A, the IP address
その結果、相手端末3B側のパケット選別部12では、設定更新したパケット選別内容に基づき、他の端末3CのMACアドレス(MAC−C)、すなわち重複MACアドレスを発信元にしたパケット、例えばBYEを受信したとしても同パケットを破棄し(ステップS78)、自端末3Aに対して音声パケットを送信しながら(ステップS79)、自端末3AのMACアドレス(MAC−A)を発信元にしたパケット、例えば音声パケット及びBYE等のパケットを受信することになる(ステップS80,81)。
As a result, in the
従って、第3の実施の形態によれば、自側のMACアドレスを自端末MACアドレスとして格納しておき、IPネットワーク2に対して自側のIPアドレス宛のARPパケットをブロードキャスト送信し、同ARPパケットに対応するARP応答を所定時間内に受信し、同ARP応答に搭載の受信応答MACアドレスと自端末MACアドレスとが異なる場合、自端末3A側のIPアドレス重複設定発生を示すIPアドレス重複通知に同ARP応答に搭載のMACアドレスを搭載して相手端末3Bに通知すると共に、相手端末3B側ではIPアドレス重複通知を受信すると、同IPアドレス重複通知に搭載のMACアドレスを重複MACアドレスとして重複MACアドレス格納部38に格納し、この格納中の重複MACアドレスを発信元にしたパケットを受信したとしても同パケットを破棄するように、相手端末3B側のパケット選別部12のパケット選別内容を設定更新するようにしたので、IPネットワーク2上で自端末3A側にIPアドレス重複設定が発生したとしても、自端末3A及び相手端末3B側では、IPアドレスの設定変更操作を要することなく、セッション(通話)を中断せずに通信を継続することができる。
Therefore, according to the third embodiment, the local MAC address is stored as the local MAC address, the ARP packet addressed to the local IP address is broadcast to the
尚、上記第3の実施の形態においては、図8に示すステップS53にて所定時間内に自側のIPアドレス宛のARPパケットに対するARP応答を受信したか否かを判定し、ARP応答を受信したと判定されると、ARP応答に搭載のMACアドレスを受信応答MACアドレスとして格納し、これら受信応答MACアドレスと自端末MACアドレスとを比較し、これらMACアドレスが異なる場合にのみ、IPアドレス重複通知を相手端末3Bに通知するようにしたが、例えば自端末3Aが、自側のIPアドレス宛のARPパケットを送信後、自側が送信したARPパケットに対してはARP応答を返信しないような仕様の場合には、ステップS53にて所定時間内に自側のARPパケットに対するARP応答を受信した時点で、IPアドレス重複設定が発生したものと判断し、IPアドレス重複通知を相手端末3B側に通知するようにしても同様の効果が得られることは言うまでもない。 In the third embodiment, it is determined in step S53 shown in FIG. 8 whether or not an ARP response to the ARP packet addressed to its own IP address is received within a predetermined time, and the ARP response is received. If it is determined, the MAC address installed in the ARP response is stored as a reception response MAC address, the reception response MAC address is compared with the own terminal MAC address, and the IP address is duplicated only when these MAC addresses are different. The notification is sent to the counterpart terminal 3B. For example, after the own terminal 3A transmits an ARP packet addressed to its own IP address, it does not return an ARP response to the ARP packet transmitted by the own terminal. In this case, when an ARP response to the local ARP packet is received within a predetermined time in step S53, the IP address It is determined that the duplicate set is generated, it goes without saying that similar effects be reported in IP address duplicate notification to the partner terminal 3B side is obtained.
(実施の形態4)
次に第4の実施の形態を示すIPネットワークシステム1Dについて説明する。図11は第4の実施の形態を示すIPネットワークシステム1D内部の概略構成を示すブロック図である。尚、図1に示すIPネットワークシステム1Aと同一の構成については同一符号を付すことで、その重複する構成及び動作の説明については省略する。
(Embodiment 4)
Next, an
図11に示すIPネットワークシステム1Dと図1に示すIPネットワークシステム1Aとが異なるところは、IP端末3(自端末3A)が自側の自端末MACアドレスを格納しておき、相手端末3Bとのセッション(通話)開始時に相互受信した相手先のMACアドレスを相手側MACアドレスとして格納し、IPネットワーク2に対して自側のIPアドレス宛のARPパケットをブロードキャスト送信し、同ARPパケットに対応するARP応答を所定時間内に受信し、同ARP応答に搭載した受信応答MACアドレスと自端末MACアドレスとが異なる場合、IPアドレス重複通知を相手端末3Bに通知すると共に、相手端末3B側では相手先からIPアドレス重複通知を受信すると、相手側MACアドレス以外のMACアドレスを発信元にしたパケットを受信したとしても同パケットを破棄するように、相手端末3B側のパケット選別部12のパケット選別内容を設定更新するアドレス設定処理部18Dにある。
The
図11に示すIP端末3内部のアドレス設定処理部18Dは、IPネットワーク2上で相手端末3Bとのセッション(通話)を確立するための自側のMACアドレスを自端末MACアドレスとして格納した自端末MACアドレス格納部41と、相手端末3Bとのセッション(通話)開始時に、この相手端末3Bに対して自側のMACアドレスを送信すると共に、この相手端末3Bから相手端末3B側のMACアドレスを受信するMACアドレス通信部42と、このMACアドレス通信部42を通じて相手端末3B側のMACアドレスを受信すると、相手端末3BのMACアドレスを相手側MACアドレスとして格納する相手側MACアドレス格納部43と、IPネットワーク2に対して自側のIPアドレス宛のARPパケットを繰り返しブロードキャスト送信すると共に、自側のIPアドレス宛のARPパケット又はARP応答を受信するARP通信部44と、このARP通信部44を通じてARPパケットを受信すると、このARPパケットに自側のMACアドレスを搭載して同ARPパケットに対するARP応答を返信するARP応答部45と、ARP通信部44を通じてARP応答を受信すると、この受信したARP応答に搭載のMACアドレスを受信応答MACアドレスとして格納する受信応答MACアドレス格納部46と、この受信応答MACアドレス格納部46に格納中の受信応答MACアドレスと自端末MACアドレス格納部41に格納中の自端末MACアドレスとを比較し、これらMACアドレスが異なる場合、IPネットワーク2上で自端末3Aと同一のIPアドレスが他のIP端末3に重複設定されているものと判断するIPアドレス重複設定判定部47と、このIPアドレス重複設定判定部47にて同一のIPアドレスが重複設定されているものと判断されると、IPアドレス重複通知を相手端末3Bに通知するIPアドレス重複通知部48と、相手端末3B側のIPアドレス重複通知部48を通じてIPアドレス重複通知を受信するIPアドレス重複受信部49とを有している。
The address
また、パケット選別部12は、このIPアドレス重複受信部49を通じて相手先からIPアドレス重複通知を受信すると、相手側MACアドレス格納部43に格納中の相手側MACアドレス以外のMACアドレスを発信元にしたパケットを受信したとしても、同パケットを破棄するように、パケット選別内容を設定更新するものである。
Further, when receiving the IP address duplication notification from the counterpart through the IP address
尚、請求項4記載のIP端末装置はIP端末3(自端末3A、相手端末3B及び他の端末3C)、IPネットワークはIPネットワーク2、相手端末は相手端末3B、自端末MACアドレス格納手段は自端末MACアドレス格納部41、MACアドレス通信手段はMACアドレス通信部42、相手側MACアドレス格納手段は相手側MACアドレス格納部43、ARP通信手段はARP通信部44、ARP応答手段はARP応答部45、受信応答MACアドレス格納手段は受信応答MACアドレス格納部46、IPアドレス重複判定手段はIPアドレス重複設定判定部47、IPアドレス重複通知手段はIPアドレス重複通知部48、IPアドレス重複受信手段はIPアドレス重複受信部49、パケット選別手段はパケット選別部12に相当するものである。
The IP terminal device according to claim 4 is the IP terminal 3 (own terminal 3A, partner terminal 3B and other terminal 3C), the IP network is the
次に第4の実施の形態を示すIPネットワークシステム1Dの動作について説明する。図12は自端末3A内部の第2アドレス重複通知処理に関わる処理動作を示すフロー図である。
Next, the operation of the
図12に示す第2アドレス重複通知処理は、相手端末3Bとのセッション(通話)中に自端末3A側にIPアドレス重複設定が発生した場合、IPアドレス重複通知を相手端末3B側に通知するための処理である。 The second address duplication notification process shown in FIG. 12 is for notifying the other terminal 3B of the IP address duplication notification when the IP address duplication setting occurs on the own terminal 3A side during the session (call) with the other terminal 3B. It is processing of.
図12において自端末3Aは、IPネットワーク2経由で相手端末3Bとのセッション(通話)を開始したか否かを判定する(ステップS91)。 In FIG. 12, the own terminal 3A determines whether or not a session (call) with the counterpart terminal 3B is started via the IP network 2 (step S91).
自端末3A側のMACアドレス通信部42は、相手端末3Bとのセッションを開始したと判定されると、IPネットワーク2経由で相手端末3Bに対して自側のMACアドレスを送信すると共に、この相手端末3Bから相手端末3B側のMACアドレスを受信する(ステップS92)。
When it is determined that the MAC
自端末3A側のMACアドレス通信部42は、相手端末3B側のMACアドレスを受信すると、このMACアドレスを相手側MACアドレスとして相手側MACアドレス格納部43に格納する(ステップS93)。
When the MAC
自端末3A側のARP通信部44は、相手側MACアドレスを相手側MACアドレス格納部43に格納すると、IPネットワーク2に対して自側のIPアドレス宛のARPパケットをブロードキャスト送信した後(ステップS94)、所定時間内に同ARPパケットに対するARP応答を受信したか否かを判定する(ステップS95)。
After storing the counterpart MAC address in the counterpart MAC
自端末3A側のARP通信部44は、所定時間内に同ARPパケットに対するARP応答を受信した判定されると、ARP応答に搭載のMACアドレスを受信応答MACアドレスとして受信応答MACアドレス格納部46に格納する(ステップS96)。
If it is determined that the
自端末3A側のIPアドレス重複設定判定部47は、受信応答MACアドレス格納部46に受信応答MACアドレスを格納すると、受信応答MACアドレス格納部46に格納中の受信応答MACアドレスと自端末MACアドレス格納部41に格納中の自端末MACアドレスとを比較し(ステップS97)、これらMACアドレスが異なるか否かを判定する(ステップS98)。
When the IP address duplication setting
自端末3A側のIPアドレス重複設定判定部47は、MACアドレスが異なると判定されると、IPネットワーク2上に自端末3Aと同一のIPアドレスが重複設定されている、すなわちIPアドレス重複設定が発生したものと判断し(ステップS99)、IPアドレス重複通知部48を通じてIPアドレス重複通知を相手端末3Bに通知し(ステップS100)、相手端末3Bとの通話が終了したか否かを判定する(ステップS101)。
If it is determined that the MAC address is different, the IP address duplication setting
自端末3Aは、相手端末3Bとの通話が終了したのであれば、この処理動作を終了する。また、自端末3Aは、ステップS91にて相手端末3Bとの通話を開始したのでなければ、この処理動作を終了する。 The own terminal 3A ends this processing operation if the call with the counterpart terminal 3B is ended. In addition, if the terminal 3A has not started a call with the partner terminal 3B in step S91, the processing ends.
また、自端末3A側のARP通信部44は、ステップS95にて所定時間内にARP応答を受信したのでなければ、相手端末3Bとの通話が終了したか否かを監視すべく、ステップS101に移行する。
In addition, if the
また、自端末3A側のIPアドレス重複設定判定部47は、ステップS98にて受信応答MACアドレスと自端末MACアドレスとが異ならないと判定されると、正常に通信が行われているものと判断し、相手端末3Bとの通話が終了したか否かを監視すべく、ステップS101に移行する。
The IP address duplication setting
また、自端末3A側のARP通信部44は、ステップS101にて相手端末3Bとの通話が終了したのでなければ、IPネットワーク2に対して自側のIPアドレス宛のARPパケットをブロードキャスト送信すべく、ステップS94に移行する。
Further, the
図12に示す第2アドレス重複通知処理によれば、相手端末3Bとのセッション(通話)開始時に、IPネットワーク2に対して自側のIPアドレス宛のARPパケットをブローキャスト送信した後、所定時間内に同ARPパケットに対するARP応答を受信して同ARP応答に搭載のMACアドレスを受信応答MACアドレスとして格納し、格納中の自端末MACアドレスと受信応答MACアドレスとが異なる場合、IPネットワーク2上に自端末3Aと同一のIPアドレスが重複設定されていることを示すIPアドレス重複通知を相手端末3B側に通知するようにしたので、相手端末3B側では、自端末3AからのIPアドレス重複通知に基づき、自端末3A側でIPアドレス重複設定が発生したことを認識することができる。
According to the second address duplication notification process shown in FIG. 12, at the start of a session (call) with the counterpart terminal 3B, a predetermined time has elapsed after the ARP packet addressed to the IP address on the local side is broadcasted to the
次に図12に示す第2アドレス重複通知処理にて自端末3AからのIPアドレス重複通知を受信した相手端末3B側の処理動作について説明する。図13は相手端末3B側の第4アドレス設定処理に関わる処理動作を示すフロー図である。 Next, the processing operation on the partner terminal 3B side that has received the IP address duplication notification from its own terminal 3A in the second address duplication notification processing shown in FIG. 12 will be described. FIG. 13 is a flowchart showing a processing operation related to the fourth address setting process on the counterpart terminal 3B side.
図13に示す第4アドレス設定処理は、自端末3AからのIPアドレス重複通知を受信すると、相手側MACアドレス格納部43に格納中の相手側MACアドレス以外のMACアドレスを発信元にしたパケットを受信したとしても、同パケットを破棄するように、相手端末3B側のパケット選別部12のパケット選別内容を設定更新するための処理である。
In the fourth address setting process shown in FIG. 13, when the IP address duplication notification is received from the own terminal 3A, the packet having the source MAC address other than the counterpart MAC address stored in the counterpart MAC
図13において相手端末3Bは、相手先である自端末3Aとのセッション(通話)を開始したか否かを判定する(ステップS111)。 In FIG. 13, the counterpart terminal 3B determines whether or not a session (call) with the counterpart terminal 3A has started (step S111).
相手端末3B側のMACアドレス通信部42は、相手先との間で相手先に対して自側のMACアドレスを送信すると共に、相手先から相手先のMACアドレスを受信し(ステップS112)、相手先のMACアドレスを受信すると、この受信したMACアドレスを相手側MACアドレスとして相手側MACアドレス格納部43に格納する(ステップS113)。
The MAC
相手端末3B側のIPアドレス重複受信部49は、相手側MACアドレスを相手側MACアドレス格納部43に格納すると、IPネットワーク2経由で、相手先である自端末3AからIPアドレス重複通知を受信したか否かを判定する(ステップ114)。
The IP address
相手端末3B側のパケット選別部12は、相手先である自端末3AからのIPアドレス重複通知を受信したと判定されると、相手側MACアドレス格納部43に格納中の相手側MACアドレス以外のMACアドレスを発信元にしたパケットを受信したとしても同パケットを破棄するように、パケット選別内容を設定更新する(ステップS115)。
When it is determined that the
相手端末3Bは、相手先である自端末3Aとの通話を終了したか否かを判定する(ステップS116)。相手端末3Bは、相手先である自端末3Aとの通話を終了したのであれば、この処理動作を終了する。また、相手端末3Bは、ステップS111にて通話を開始したのでなければ、この処理動作を終了する。 The partner terminal 3B determines whether or not the call with the partner terminal 3A is terminated (step S116). The partner terminal 3B ends this processing operation if the call with the partner terminal 3A is terminated. Further, the partner terminal 3B ends this processing operation unless the telephone call is started in step S111.
また、相手端末3B側のIPアドレス重複受信部49は、ステップS114にて相手先である自端末3AからIPアドレス重複通知を受信したのでなければ、相手先である自端末3Aとの通話が終了したか否かを監視すべく、ステップS116に移行する。
If the IP address
また、相手端末3Bは、ステップS116にて相手先である自端末3Aとの通話を終了したのでなければ、相手先である自端末3AからIPアドレス重複通知を受信したか否かを監視すべく、ステップS114に移行する。 In addition, unless the partner terminal 3B ends the call with the partner terminal 3A in step S116, the partner terminal 3B should monitor whether or not the IP address duplication notification is received from the partner terminal 3A. The process proceeds to step S114.
図13に示す第4アドレス設定処理によれば、セッション(通話)開始時に相手先との間で自側のMACアドレスを相互に送受信し、同MACアドレスを相手側MACアドレスとして相手側MACアドレス格納部43に格納し、相手先のIPアドレス重複通知部48を通じてIPアドレス重複通知を受信すると、相手側MACアドレス格納部43に格納中の相手側MACアドレス以外のMACアドレスを発信元にしたパケットを受信したとしても同パケットを破棄するように、自側のパケット選別部12のパケット選別内容を設定更新するようにしたので、相手端末3B側では、自端末3A側にIPアドレス重複設定が発生したとしても、IPアドレス重複設定の影響を受けることなく、自端末3Aとの通話を継続することができる。
According to the fourth address setting process shown in FIG. 13, when the session (call) is started, the MAC address of the own side is mutually transmitted / received to / from the other party, and the other party MAC address is stored as the other party MAC address. When the IP address duplication notification is received through the other party's IP address
また、図14は第2アドレス重複通知処理及び第4アドレス設定処理に関わる自端末3A、相手端末3B及び他の端末3Cの動作を端的に示すシーケンス図である。尚、説明の便宜上、自端末3AのMACアドレスはMAC−A、相手端末3BのMACアドレスはMAC−B、他の端末3CのMACアドレスはMAC−Cとし、自端末3A及び他の端末3CのIPアドレスは同一(Addr−A)であるものとする。 FIG. 14 is a sequence diagram briefly showing the operations of the own terminal 3A, the partner terminal 3B, and the other terminal 3C related to the second address duplication notification process and the fourth address setting process. For convenience of explanation, the MAC address of the own terminal 3A is MAC-A, the MAC address of the partner terminal 3B is MAC-B, the MAC address of the other terminal 3C is MAC-C, and the own terminal 3A and the other terminal 3C Assume that the IP addresses are the same (Addr-A).
自端末3Aは、IPネットワーク2経由で呼出コマンドに相当するINVITEを送信した後(ステップS121)、INVITEに対するOKの返信を相手端末3Bから受信すると(ステップS122)、セッション(通話)を開始することになる。 After transmitting INVITE corresponding to the call command via the IP network 2 (step S121) and receiving an OK response to INVITE from the counterpart terminal 3B (step S122), the own terminal 3A starts a session (call). become.
次に自端末3Aは、IPネットワーク2経由で自側のMACアドレス(MAC−A)を相手端末3Bに通知すると共に(ステップS123)、相手端末3Bは、IPネットワーク2経由で自側のMACアドレス(MAC−B)を自端末3Aに通知する(ステップS124)。尚、相手端末3B側の相手側MACアドレス格納部43は、自端末3A側のMACアドレス(MAC−A)を相手側MACアドレスとして格納し、自端末3A側の相手側MACアドレス格納部43は、相手端末3B側のMACアドレス(MAC−B)を相手側MACアドレスとして格納するものである。
Next, the own terminal 3A notifies the other party terminal 3B of its own MAC address (MAC-A) via the IP network 2 (step S123), and the other party terminal 3B sends its own MAC address via the
自端末3A及び相手端末3Bは、相手側MACアドレスを格納すると、IPネットワーク2経由で音声パケットを送受信することで(ステップS125,126)、相手端末3B及び自端末3A間の音声通話を確立することになる。 When the own terminal 3A and the partner terminal 3B store the partner MAC address, they transmit and receive voice packets via the IP network 2 (steps S125 and 126), thereby establishing a voice call between the partner terminal 3B and the host terminal 3A. It will be.
また、自端末3A側のARP通信部44は、自側のIPアドレス宛のARPパケットをIPネットワーク2に対してブロードキャスト送信した場合(ステップS127)、他の端末3Cと自端末3Aとが同一のIPアドレス(Addr−A)であるため、他の端末3CからARPパケットに対するARP応答を受信することになる(ステップS128)。
When the
自端末3A側のARP通信部44は、他の端末3CからARP応答を受信すると、同ARP応答に搭載のMACアドレス(MAC−C)を受信応答MACアドレスとして受信応答MACアドレス格納部46に格納する。
When receiving the ARP response from the other terminal 3C, the
しかし、自端末3A側のIPアドレス重複設定判定部47は、自端末MACアドレス格納部41に格納中の自端末MACアドレス(MAC−A)と受信応答MACアドレス格納部46に格納中の受信応答MACアドレス(MAC−C)とを比較し、これらMACアドレスが異なるため、IPアドレス重複通知部48を通じてIPアドレス重複通知を相手端末3Bに通知する(ステップS129)。
However, the IP address duplication setting
相手端末3B側のIPアドレス重複受信部49は、自端末3AからIPアドレス重複通知を受信すると、相手側MACアドレス格納部43に格納中の相手側MACアドレス以外のMACアドレスを発信元にしたパケットを受信したとしても同パケットを破棄するように、相手端末3B側のパケット選別部12のパケット選別内容を設定更新することになる。
Upon receiving the IP address duplication notification from its own terminal 3A, the IP address
その結果、相手端末3B側のパケット選別部12では、設定更新したパケット選別内容に基づき、他の端末3CのMACアドレス(MAC−C)、すなわち相手側MACアドレス以外のMACアドレスを発信元にしたパケット、例えばBYEを受信したとしても同パケットを破棄し(ステップS130)、自端末3Aに対して音声パケットを送信しながら(ステップS131)、自端末3AのMACアドレス(MAC−A)を発信元にしたパケット、例えば音声パケット及びBYE等のパケットを受信することになる(ステップS132,133)。
As a result, the
従って、第4の実施の形態によれば、自側の自端末MACアドレスを格納しておき、相手端末3Bとのセッション(通話)開始時に受信した相手端末3B側のMACアドレスを相手側MACアドレスとして格納し、IPネットワーク2に対して自側のIPアドレス宛のARPパケットをブロードキャスト送信し、同ARPパケットに対応するARP応答を所定時間内に受信し、同ARP応答に搭載の受信応答MACアドレスと自端末MACアドレスとが異なる場合、IPアドレス重複通知を相手端末側3Bに通知すると共に、相手端末3B側ではIPアドレス重複通知を受信すると、相手側MACアドレス以外のMACアドレスを発信元にしたパケットを受信したとしても同パケットを破棄するように、自端末3A側のパケット選別内容を設定更新するようにしたので、IPネットワーク2上で自端末3A側にIPアドレス重複設定が発生したとしても、自端末3A及び相手端末3B側では、IPアドレスの設定変更操作を要することなく、セッションを中断せずに通信を継続することができる。
Therefore, according to the fourth embodiment, the local terminal MAC address of the local side is stored, and the MAC address of the counterpart terminal 3B received at the start of the session (call) with the counterpart terminal 3B is used as the counterpart MAC address. ARP packet addressed to its own IP address is broadcasted to the
尚、上記第4の実施の形態においては、図12に示すステップS95にて所定時間内に自側のIPアドレス宛のARPパケットに対するARP応答を受信したか否かを判定し、ARP応答を受信したと判定されると、ARP応答に搭載のMACアドレスを受信応答MACアドレスとして格納し、これら受信応答MACアドレスと自端末MACアドレスとを比較し、これらMACアドレスが異なる場合にのみ、IPアドレス重複通知を相手端末3Bに通知するようにしたが、例えば自端末3Aが、自側のIPアドレス宛のARPパケットを送信後、自側が送信したARPパケットに対してはARP応答を返信しないような仕様の場合には、ステップS95にて所定時間内に自側のARPパケットに対するARP応答を受信した時点で、IPアドレス重複設定が発生したものと判断し、IPアドレス重複通知を相手端末3B側に通知するようにしても同様の効果が得られることは言うまでもない。 In the fourth embodiment, it is determined in step S95 shown in FIG. 12 whether or not an ARP response to the ARP packet addressed to its own IP address is received within a predetermined time, and the ARP response is received. If it is determined, the MAC address installed in the ARP response is stored as a reception response MAC address, the reception response MAC address is compared with the own terminal MAC address, and the IP address is duplicated only when these MAC addresses are different. The notification is sent to the counterpart terminal 3B. For example, after the own terminal 3A transmits an ARP packet addressed to its own IP address, it does not return an ARP response to the ARP packet transmitted by the own terminal. In this case, when an ARP response to the local ARP packet is received within a predetermined time in step S95, the IP address is Determines that scan duplicate set is generated, it goes without saying that similar effects be reported in IP address duplicate notification to the partner terminal 3B side is obtained.
本発明のIP端末装置によれば、第1相手側MACアドレス格納手段に格納中のセッション開始時に受信した相手端末側のMACアドレスと、第2相手側MACアドレス格納手段に格納中のARP応答受信時に得たMACアドレスとを比較し、これらMACアドレスが異なる場合、前記IPネットワーク上で前記相手端末と同一のIPアドレスが重複設定されているものと判断し、前記第1相手側MACアドレス格納手段に格納中のMACアドレス以外のMACアドレスを発信元にしたパケットを受信したとしても、同パケットを破棄するようにした、すなわちセッション開始時に受信したMACアドレスを発信元にしたパケットのみを受信するようにしたので、IPアドレスの重複設定が発生したとしても、IPアドレスの設定変更操作を要することなく、セッションを中断せずに通信を継続することができるため、例えば通話音声機能を備えた複数のIPネットワーク機器を収容したIPネットワークシステムに有用である。 According to the IP terminal device of the present invention, the MAC address of the counterpart terminal received at the start of the session stored in the first counterpart MAC address storage means, and the ARP response received in the second counterpart MAC address storage means When the MAC addresses obtained are compared, and the MAC addresses are different, it is determined that the same IP address as that of the counterpart terminal is set on the IP network, and the first counterpart MAC address storage means Even if a packet whose source is a MAC address other than the MAC address stored in is received, the packet is discarded, that is, only a packet whose source is the MAC address received at the start of the session is received. Therefore, even if duplicate IP address settings occur, change the IP address settings. Without, since it is possible to continue communication without interrupting the session, for example, is useful for IP network system that accommodates a plurality of IP network devices with a call voice capabilities.
2 IPネットワーク
3 IP端末(IP端末装置)
12 パケット選別部(パケット選別手段)
21,42 MACアドレス通信部(MACアドレス通信手段)
22 第1相手側MACアドレス格納部(第1相手側MACアドレス格納手段)
23,32,44 ARP通信部(ARP通信手段)
24,33,45 ARP応答部(ARP応答手段)
25 第2相手側MACアドレス格納部(第2相手側MACアドレス格納手段)
26,35,47 IPアドレス重複設定判定部(IPアドレス重複設定判定手段)
31,41 自端末MACアドレス格納部(自端末MACアドレス格納手段)
34,46 受信応答MACアドレス格納部(受信応答MACアドレス格納手段)
36,48 IPアドレス重複通知部(IPアドレス重複通知手段)
37,49 IPアドレス重複受信部(IPアドレス重複受信手段)
38 重複MACアドレス格納部(IPアドレス重複受信手段)
43 相手側MACアドレス格納部(相手側MACアドレス格納手段)
2
12 Packet sorting unit (packet sorting means)
21, 42 MAC address communication unit (MAC address communication means)
22 First counterpart MAC address storage (first counterpart MAC address storage means)
23, 32, 44 ARP communication unit (ARP communication means)
24, 33, 45 ARP response unit (ARP response means)
25 Second partner MAC address storage (second partner MAC address storage means)
26, 35, 47 IP address duplication setting judgment unit (IP address duplication setting judgment means)
31, 41 Own terminal MAC address storage unit (own terminal MAC address storage means)
34, 46 Reception response MAC address storage (reception response MAC address storage means)
36, 48 IP address duplication notification section (IP address duplication notification means)
37, 49 IP address duplicate receiver (IP address duplicate receiver)
38 Duplicate MAC address storage (IP address duplicate receiving means)
43 Counterpart MAC address storage (partner MAC address storage means)
Claims (4)
このMACアドレス通信手段を通じて前記相手端末側のMACアドレスを受信すると、この相手端末側のMACアドレスを格納する第1相手側MACアドレス格納手段と、
前記相手端末のIPアドレス宛のARPパケットを繰り返し送信すると共に、自側のIPアドレス宛のARPパケット又はARP応答を受信するARP通信手段と、
このARP通信手段を通じて前記相手端末からARPパケットを受信すると、このARPパケットに自側のMACアドレスを搭載して同ARPパケットに対するARP応答を返信するARP応答手段と、
前記ARP通信手段を通じてARP応答を受信すると、この受信したARP応答に搭載のMACアドレスを格納する第2相手側MACアドレス格納手段と、
前記第1相手側MACアドレス格納手段に格納中のMACアドレスと前記第2相手側MACアドレス格納手段に格納中のMACアドレスとを比較し、これらMACアドレスが異なる場合、前記IPネットワーク上で前記相手端末と同一のIPアドレスが重複設定されているものと判断するIPアドレス重複判定手段と、
このIPアドレス重複判定手段にて前記相手端末と同一のIPアドレスが重複設定されているものと判断されると、前記第1相手側MACアドレス格納手段に格納中のMACアドレス以外のMACアドレスを発信元にしたパケットを受信したとしても、同パケットを破棄するパケット選別手段とを有することを特徴とするIP端末装置。 A MAC address communication means for transmitting a MAC address of its own side to the counterpart terminal at the start of a session with the counterpart terminal on the IP network, and receiving a MAC address of the counterpart terminal from the counterpart terminal;
When receiving the MAC address of the counterpart terminal side through the MAC address communication means, a first counterpart MAC address storage means for storing the MAC address of the counterpart terminal side;
ARP communication means for repeatedly transmitting an ARP packet addressed to the IP address of the counterpart terminal and receiving an ARP packet addressed to its own IP address or an ARP response;
When receiving an ARP packet from the counterpart terminal through the ARP communication means, an ARP response means for mounting the MAC address of the own side in the ARP packet and returning an ARP response to the ARP packet;
When receiving an ARP response through the ARP communication means, second counterpart MAC address storage means for storing the MAC address installed in the received ARP response;
The MAC address stored in the first counterpart MAC address storage means is compared with the MAC address stored in the second counterpart MAC address storage means, and if these MAC addresses are different, the counterpart on the IP network IP address duplication determination means for judging that the same IP address as that of the terminal is set to be duplicated;
If it is determined by the IP address duplication determination means that the same IP address as that of the counterpart terminal is duplicated, a MAC address other than the MAC address stored in the first counterpart MAC address storage means is transmitted. An IP terminal apparatus comprising: a packet selection unit that discards a packet even if the original packet is received.
このMACアドレス通信手段を通じて前記相手端末側のMACアドレスを受信すると、この相手端末側のMACアドレスを格納する第1相手側MACアドレス格納手段と、
前記相手端末のIPアドレス宛のARPパケットを繰り返し送信すると共に、自側のIPアドレス宛のARPパケット又はARP応答を受信するARP通信手段と、
このARP通信手段を通じて前記相手端末からARPパケットを受信すると、このARPパケットに自側のMACアドレスを搭載して同ARPパケットに対するARP応答を返信するARP応答手段と、
前記ARP通信手段を通じてARP応答を受信すると、この受信したARP応答に搭載のMACアドレスを格納する第2相手側MACアドレス格納手段と、
前記第1相手側MACアドレス格納手段に格納中のMACアドレスと前記第2相手側MACアドレス格納手段に格納中のMACアドレスとを比較し、これらMACアドレスが異なる場合、前記IPネットワーク上で前記相手端末と同一のIPアドレスが重複設定されているものと判断するIPアドレス重複判定手段と、
このIPアドレス重複判定手段にて前記相手端末と同一のIPアドレスが重複設定されているものと判断されると、前記第2相手側MACアドレス格納手段に格納中のMACアドレスを発信元にしたパケットを受信したとしても、同パケットを破棄するパケット選別手段とを有することを特徴とするIP端末装置。 A MAC address communication means for transmitting a MAC address of its own side to the counterpart terminal at the start of a session with the counterpart terminal on the IP network, and receiving a MAC address of the counterpart terminal from the counterpart terminal;
When receiving the MAC address of the counterpart terminal side through the MAC address communication means, a first counterpart MAC address storage means for storing the MAC address of the counterpart terminal side;
ARP communication means for repeatedly transmitting an ARP packet addressed to the IP address of the counterpart terminal and receiving an ARP packet addressed to its own IP address or an ARP response;
When receiving an ARP packet from the counterpart terminal through the ARP communication means, an ARP response means for mounting the MAC address of the own side in the ARP packet and returning an ARP response to the ARP packet;
When receiving an ARP response through the ARP communication means, second counterpart MAC address storage means for storing the MAC address installed in the received ARP response;
The MAC address stored in the first counterpart MAC address storage means is compared with the MAC address stored in the second counterpart MAC address storage means, and if these MAC addresses are different, the counterpart on the IP network IP address duplication determination means for judging that the same IP address as that of the terminal is set to be duplicated;
When it is determined by the IP address duplication determination means that the same IP address as that of the counterpart terminal is duplicated, a packet whose source is the MAC address stored in the second counterpart MAC address storage means An IP terminal apparatus comprising: a packet selection unit that discards the packet even if the packet is received.
自側のIPアドレス宛のARPパケットを繰り返し送信すると共に、自側のIPアドレス宛のARPパケット又はARP応答を受信するARP通信手段と、
このARP通信手段を通じてARPパケットを受信すると、このARPパケットに自側のMACアドレスを搭載して同ARPパケットに対するARP応答を返信するARP応答手段と、
前記ARP通信手段を通じてARP応答を受信すると、この受信したARP応答に搭載のMACアドレスを格納する受信応答MACアドレス格納手段と、
この受信応答MACアドレス格納手段に格納中のMACアドレスと前記自端末MACアドレス格納手段に格納中のMACアドレスとを比較し、これらMACアドレスが異なる場合、前記IPネットワーク上で自端末と同一のIPアドレスが重複設定されているものと判断するIPアドレス重複判定手段と、
このIPアドレス重複判定手段にて自端末と同一のIPアドレスが重複設定されているものと判断されると、前記受信応答MACアドレス格納手段に格納中のMACアドレスを搭載したIPアドレス重複通知を相手端末に通知するIPアドレス重複通知手段と、
前記相手端末側のIPアドレス重複通知手段を通じてIPアドレス重複通知を受信するIPアドレス重複受信手段と、
このIPアドレス重複受信手段を通じて前記相手端末側のIPアドレス重複通知を受信すると、このIPアドレス重複通知に搭載のMACアドレスを発信元にしたパケットを受信したとしても、同パケットを破棄するパケット選別手段とを有することを特徴とするIP端末装置。 A self-terminal MAC address storage means for storing a MAC address of the self-side for establishing a session with the counterpart terminal on the IP network;
ARP communication means for repeatedly transmitting an ARP packet addressed to its own IP address and receiving an ARP packet addressed to its own IP address or an ARP response;
When receiving an ARP packet through the ARP communication means, an ARP response means for mounting the MAC address of the own side in the ARP packet and returning an ARP response to the ARP packet;
When receiving an ARP response through the ARP communication means, a reception response MAC address storage means for storing a MAC address mounted in the received ARP response;
The MAC address stored in the reception response MAC address storage means is compared with the MAC address stored in the own terminal MAC address storage means. If these MAC addresses are different, the same IP address as the own terminal on the IP network IP address duplication determination means for determining that the address is set to be duplicated;
If it is determined by the IP address duplication determination means that the same IP address as that of the own terminal is duplicated, an IP address duplication notification loaded with the MAC address stored in the reception response MAC address storage means is sent to the other party. IP address duplication notification means for notifying the terminal;
IP address duplication receiving means for receiving an IP address duplication notification through the IP address duplication notification means on the counterpart terminal side;
When receiving the IP address duplication notification on the counterpart terminal side through this IP address duplication receiving means, even if a packet with the MAC address installed in the IP address duplication notification is received as a source, packet selection means for discarding the packet An IP terminal device comprising:
相手端末とのセッション開始時に、この相手端末に対して自側のMACアドレスを送信すると共に、前記相手端末から相手端末側のMACアドレス受信するMACアドレス通信手段と、
このMACアドレス通信手段を通じて前記相手端末側のMACアドレスを受信すると、この相手端末のMACアドレスを格納する相手側MACアドレス格納手段と、
自側のIPアドレス宛のARPパケットを繰り返し送信すると共に、自側のIPアドレス宛のARPパケット又はARP応答を受信するARP通信手段と、
このARP通信手段を通じてARPパケットを受信すると、このARPパケットに自側のMACアドレスを搭載して同ARPパケットに対するARP応答を返信するARP応答手段と、
前記ARP通信手段を通じてARP応答を受信すると、この受信したARP応答に搭載のMACアドレスを格納する受信応答MACアドレス格納手段と、
この受信応答MACアドレス格納手段に格納中のMACアドレスと前記自端末MACアドレス格納手段に格納中のMACアドレスとを比較し、これらMACアドレスが異なる場合、前記IPネットワーク上で自端末と同一のIPアドレスが重複設定されているものと判断するIPアドレス重複判定手段と、
このIPアドレス重複判定手段にて自端末と同一のIPアドレスが重複設定されているものと判断されると、IPアドレス重複通知を前記相手端末に通知するIPアドレス重複通知手段と、
前記相手端末側のIPアドレス重複通知手段を通じてIPアドレス重複通知を受信するIPアドレス重複受信手段と、
このIPアドレス重複受信手段を通じて前記相手端末側のIPアドレス重複通知を受信すると、前記相手側MACアドレス格納手段に格納中のMACアドレス以外のMACアドレスを発信元にしたパケットを受信したとしても、同パケットを破棄するパケット選別手段とを有することを特徴とするIP端末装置。
A self-terminal MAC address storage means for storing a MAC address of the self-side for establishing a session with the counterpart terminal on the IP network;
MAC address communication means for transmitting the MAC address of the own side to the counterpart terminal at the start of a session with the counterpart terminal, and receiving the MAC address of the counterpart terminal from the counterpart terminal;
When receiving the MAC address of the counterpart terminal through the MAC address communication means, the counterpart MAC address storage means for storing the MAC address of the counterpart terminal;
ARP communication means for repeatedly transmitting an ARP packet addressed to its own IP address and receiving an ARP packet addressed to its own IP address or an ARP response;
When receiving an ARP packet through the ARP communication means, an ARP response means for mounting the MAC address of the own side in the ARP packet and returning an ARP response to the ARP packet;
When receiving an ARP response through the ARP communication means, a reception response MAC address storage means for storing a MAC address mounted in the received ARP response;
The MAC address stored in the reception response MAC address storage means is compared with the MAC address stored in the own terminal MAC address storage means. If these MAC addresses are different, the same IP address as the own terminal on the IP network IP address duplication determination means for determining that the address is set to be duplicated;
If it is determined by the IP address duplication determination means that the same IP address as that of the own terminal is duplicated, an IP address duplication notification means for notifying the counterpart terminal of an IP address duplication notification;
IP address duplication receiving means for receiving an IP address duplication notification through the IP address duplication notification means on the counterpart terminal side;
When receiving the IP address duplication notification on the counterpart terminal side through the IP address duplication receiving means, even if a packet having a MAC address other than the MAC address stored in the counterpart MAC address storage means is received, An IP terminal apparatus comprising: a packet selection unit that discards a packet.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2006290044A JP2008109379A (en) | 2006-10-25 | 2006-10-25 | IP terminal equipment |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2006290044A JP2008109379A (en) | 2006-10-25 | 2006-10-25 | IP terminal equipment |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2008109379A true JP2008109379A (en) | 2008-05-08 |
Family
ID=39442376
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2006290044A Pending JP2008109379A (en) | 2006-10-25 | 2006-10-25 | IP terminal equipment |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2008109379A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2013105269A1 (en) * | 2012-01-13 | 2013-07-18 | 富士通株式会社 | Server device, information-processing system, address management method for server device, and address management program for server device |
-
2006
- 2006-10-25 JP JP2006290044A patent/JP2008109379A/en active Pending
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2013105269A1 (en) * | 2012-01-13 | 2013-07-18 | 富士通株式会社 | Server device, information-processing system, address management method for server device, and address management program for server device |
| JP5686204B2 (en) * | 2012-01-13 | 2015-03-18 | 富士通株式会社 | Server apparatus, information processing system, server apparatus address management method, and server apparatus address management program |
| JPWO2013105269A1 (en) * | 2012-01-13 | 2015-05-11 | 富士通株式会社 | Server apparatus, information processing system, server apparatus address management method, and server apparatus address management program |
| US9560007B2 (en) | 2012-01-13 | 2017-01-31 | Fujitsu Limited | Server apparatus, information processing system, address management method of server apparatus |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8275906B2 (en) | Communication terminal and communication switching method | |
| US8274970B2 (en) | Voice communication device with PSTN and internet pathway analysis, selection and handoff | |
| EP1324608A2 (en) | System and method for videoconference initiation | |
| US20080200174A1 (en) | Method and apparatus for automatically sending a captured image to a phone call participant | |
| JP2008172483A (en) | Communication system and door phone system | |
| KR100624690B1 (en) | Call Processing Device and Method in Video Communication Network | |
| US7693509B2 (en) | Mobile phone, incoming call notification method, and incoming call notification program | |
| US8588692B2 (en) | Communication terminal and communication service decision method | |
| JP2003264646A (en) | Communication system and communication control device | |
| US20070273749A1 (en) | Cellular phone system, video-phone call control device, cellular phone and video-phone call control method | |
| US20060034327A1 (en) | Communication device | |
| US6671883B1 (en) | Method and apparatus for lost connectivity recovery | |
| JP2008109379A (en) | IP terminal equipment | |
| JP2011139194A (en) | Communication system, communication method, communication terminal, and communication program | |
| CA2529912A1 (en) | Telephone system, switching system and management method of telephone system | |
| US20060215637A1 (en) | Visual communication server, visual communication program and visual communication method | |
| US6442614B1 (en) | Method and apparatus for lost connectivity recovery | |
| JP2002290550A (en) | Voice gateway apparatus, processing method therefor and program thereof | |
| US7864671B2 (en) | Connection control apparatus, connection control method, and program | |
| JP4939095B2 (en) | Content providing system and content switching method | |
| US20060221870A1 (en) | Image communication method and communication apparatus | |
| JP4924134B2 (en) | IP call system, IP terminal, conversation complementing method and conversation complementing program when disconnecting call | |
| JP2008530928A (en) | Local network system having at least one telephone terminal and multimedia terminal | |
| US7664024B2 (en) | VoIP network system for multicasting packets and a method of constructing the same | |
| JP4586713B2 (en) | Telephone communication system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| RD03 | Notification of appointment of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7423 Effective date: 20090911 |
|
| RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20090915 |