JP6915756B1 - Router equipment and programs - Google Patents

Router equipment and programs Download PDF

Info

Publication number
JP6915756B1
JP6915756B1 JP2021000256A JP2021000256A JP6915756B1 JP 6915756 B1 JP6915756 B1 JP 6915756B1 JP 2021000256 A JP2021000256 A JP 2021000256A JP 2021000256 A JP2021000256 A JP 2021000256A JP 6915756 B1 JP6915756 B1 JP 6915756B1
Authority
JP
Japan
Prior art keywords
address
local
telephone number
telephone
source
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
JP2021000256A
Other languages
Japanese (ja)
Other versions
JP2022105444A (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 JP2021000256A priority Critical patent/JP6915756B1/en
Application granted granted Critical
Publication of JP6915756B1 publication Critical patent/JP6915756B1/en
Publication of JP2022105444A publication Critical patent/JP2022105444A/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

【課題】WAN側の保守端末により、LANに接続されているIP電話機の保守を可能とするルータ装置を提供する。【解決手段】ルータ装置1は、LAN6側からIP電話網5側へ中継される接続要求を検出すると、この接続要求の送信元番号が接続要求元のローカルアドレスに紐付けられて登録されているか否かを調べ、登録されていないならば、送信元番号をこのローカルアドレスに紐付けて登録するとともに、送信元番号をルータ装置1のグローバルアドレスに紐付けて管理サーバ4に登録し、送信元番号が異なるローカルアドレスに紐付けられて登録されているならば、送信元番号に紐付けるローカルアドレスを接続要求元のローカルIPアドレスに更新する。また、ルータ装置1は、IP電話網5側から宛先番号の指定を伴う各種要求を受信すると、この宛先番号に紐付けられて登録されているローカルアドレスにより特定されるIP電話機2−1に各種要求を中継する。【選択図】図1PROBLEM TO BE SOLVED: To provide a router device capable of maintaining an IP telephone connected to a LAN by a maintenance terminal on the WAN side. When the router device 1 detects a connection request relayed from the LAN 6 side to the IP telephone network 5 side, is the source number of the connection request linked to the local address of the connection request source and registered? If it is not registered, the source number is linked to this local address and registered, and the source number is linked to the global address of the router device 1 and registered in the management server 4, and the source is registered. If the number is linked to a different local address and registered, the local address linked to the source number is updated to the local IP address of the connection request source. Further, when the router device 1 receives various requests accompanied by the designation of the destination number from the IP telephone network 5, various types of IP telephones 2-1 are specified by the local address associated with the destination number. Relay the request. [Selection diagram] Fig. 1

Description

本発明は、ルータ装置に関し、特に、LAN(Local Area Network)に接続されたIP(Internet Protocol)電話機をWAN(Wide Area Network)に接続するのに好適なルータ装置に関する。 The present invention relates to a router device, and more particularly to a router device suitable for connecting an IP (Internet Protocol) telephone connected to a LAN (Local Area Network) to a WAN (Wide Area Network).

特許文献1には、IP電話機の電話番号を通知することで、このIP電話機のグローバルIPアドレスを取得することが可能なIP電話サービスシステムが開示されている。このIP電話サービスシステムにおいて、サービスサーバは、電話番号の指定を伴うIPアドレスの検索要求を受信すると、この電話番号に紐付けられて登録されているグローバルIPアドレスを検索し、検索したグローバルIPアドレスを検索要求の送信元に通知する。例えば、保守端末は、このIP電話サービスシステムを利用して、IP電話機の電話番号の指定を伴う検索要求をサービスサーバに送信し、このIP電話機のグローバルIPアドレスをサービスサーバから取得することにより、このIP電話機にアクセスしてこのIP電話機の保守を実施することができる。 Patent Document 1 discloses an IP telephone service system capable of acquiring a global IP address of an IP telephone by notifying the telephone number of the IP telephone. In this IP telephone service system, when the service server receives a search request for an IP address accompanied by a designation of a telephone number, it searches for a global IP address registered in association with this telephone number and searches for the global IP address. Notify the sender of the search request. For example, the maintenance terminal uses this IP telephone service system to send a search request with the designation of the telephone number of the IP telephone to the service server, and obtains the global IP address of the IP telephone from the service server. The IP telephone can be accessed and maintenance of the IP telephone can be performed.

特開2003−134172号公報Japanese Unexamined Patent Publication No. 2003-134172

しかしながら、IP電話機がLANに接続されている場合、IP電話機にはローカルIPアドレスが割り当てられ、グローバルIPアドレスは割り当てられない。このため、特許文献1に記載のIP電話サービスシステムでは、このIP電話機の情報(電話番号、グローバルIPアドレス)をサービスサーバに登録することができず、したがって、WANに接続された保守端末は、LANに接続されているIP電話機の保守を実施することができない。 However, when the IP telephone is connected to the LAN, the IP telephone is assigned a local IP address and not a global IP address. Therefore, in the IP telephone service system described in Patent Document 1, the information (telephone number, global IP address) of this IP telephone cannot be registered in the service server, and therefore, the maintenance terminal connected to the WAN cannot be registered. The IP telephone connected to the LAN cannot be maintained.

本発明は、上記事情に鑑みてなされたものであり、その目的は、WAN側の保守端末により、LANに接続されているIP電話機の保守を可能とするルータ装置を提供することにある。 The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a router device capable of maintaining an IP telephone connected to a LAN by a maintenance terminal on the WAN side.

上記課題を解決するために、本発明のルータ装置は、LAN側からWAN側へ中継される接続要求を監視し、LAN側からWAN側へ中継される接続要求を検出したならば、この接続要求の送信元電話番号がこの接続要求の送信元のローカルIPアドレスに紐付けられて登録されているか否かを調べる。そして、送信元電話番号が登録されていないならば、この送信元電話番号を接続要求の送信元のローカルIPアドレスに紐付けて登録するとともに、この送信元番号および自ルータ装置のグローバルIPアドレスの指定を伴う登録要求を、WANを介して所定の管理サーバに送信し、この送信元番号を自ルータ装置のグローバルIPアドレスに紐付けてこの管理サーバに登録する。また、送信元電話番号が接続要求の送信元以外のローカルIPアドレスに紐付けられて登録されているならば、この送信元電話番号に紐付けられて登録されているローカルIPアドレスを接続要求の送信元のローカルIPアドレスに更新する。さらに、ルータ装置は、電話番号の指定を伴う各種要求をWAN側から受信すると、この電話番号に紐付けられて登録されているローカルIPアドレスを検索し、LANを介してこのローカルIPアドレスにより特定されるIP電話機に、この受信した各種要求を中継する。 In order to solve the above problems, the router device of the present invention monitors the connection request relayed from the LAN side to the WAN side, and if it detects the connection request relayed from the LAN side to the WAN side, this connection request. Checks whether the source phone number of is registered in association with the local IP address of the source of this connection request. If the source telephone number is not registered, this source telephone number is linked to the local IP address of the source of the connection request and registered, and the source number and the global IP address of the local router device are registered. A registration request accompanied by a designation is sent to a predetermined management server via WAN, and this source number is linked to the global IP address of the local router device and registered in this management server. Also, if the source phone number is linked to a local IP address other than the source of the connection request and registered, the local IP address linked to this source phone number is used for the connection request. Update to the source's local IP address. Furthermore, when the router device receives various requests with the designation of the telephone number from the WAN side, it searches for the local IP address registered in association with this telephone number and identifies it by this local IP address via the LAN. The various received requests are relayed to the IP telephone to be received.

例えば、本発明は、
LAN(Local Area Network)をWAN(Wide Area Network)に接続するルータ装置であって、
前記LANに接続されているIP(Internet Protocol)電話機の電話番号を当該IP電話機のローカルIPアドレスに紐付けて記憶する記憶手段と、
前記LAN側から前記WAN側へ中継される接続要求を検出した場合に、当該接続要求の送信元の電話番号が前記記憶手段に記憶されていないならば、当該電話番号を当該接続要求の送信元のローカルIPアドレスに紐付けて前記記憶手段に記憶し、当該電話番号が当該接続要求の送信元以外のローカルIPアドレスに紐付けられて前記記憶手段に記憶されているならば、当該電話番号に紐付けられて前記記憶手段に記憶されているローカルIPアドレスを当該接続要求の送信元のローカルIPアドレスに更新する接続要求検出手段と、
前記接続要求の送信元の電話番号が当該接続要求の送信元のローカルIPアドレスに紐付けられて前記記憶手段に記憶された場合に、当該電話番号および自ルータ装置のグローバルIPアドレスの指定を伴う登録要求を、前記WANを介して所定の管理サーバに送信する登録要求送信手段と、
電話番号の指定を伴う各種要求を前記WAN側から受信した場合に、当該電話番号に紐付けられて前記記憶手段に記憶されているローカルIPアドレスを検索し、前記LANを介して、検索したローカルIPアドレスにより特定される前記IP電話機に当該各種要求を中継する中継手段と、
前記WAN側から、電話番号およびパケット取得条件の指定を伴うパケット取得要求を受信した場合に、当該電話番号に紐付けられて前記記憶手段に記憶されているローカルIPアドレスを送信元あるいは送信先とするパケットであって、当該パケット取得条件に合致するパケットの複製を、前記パケット取得要求の送信元に送信するパケット監視手段と、を有し、
前記中継手段は、
前記WAN側から前記パケット取得要求を受信した場合に、当該パケット取得要求で指定されている電話番号に紐付けられて前記記憶手段に記憶されているローカルIPアドレスにより特定される前記IP電話機に、当該パケット取得要求を中継しない
For example, the present invention
A router device that connects a LAN (Local Area Network) to a WAN (Wide Area Network).
A storage means for storing the telephone number of an IP (Internet Protocol) telephone connected to the LAN by associating it with the local IP address of the IP telephone.
When a connection request relayed from the LAN side to the WAN side is detected and the telephone number of the source of the connection request is not stored in the storage means, the telephone number is used as the source of the connection request. If the telephone number is associated with a local IP address of the above and stored in the storage means, and the telephone number is associated with a local IP address other than the source of the connection request and stored in the storage means, the telephone number is stored. A connection request detecting means that updates the local IP address associated with the storage means to the local IP address of the source of the connection request, and
When the telephone number of the source of the connection request is associated with the local IP address of the source of the connection request and stored in the storage means, the telephone number and the global IP address of the local router device are specified. A registration request transmission means for transmitting a registration request to a predetermined management server via the WAN, and
When various requests accompanied by the designation of a telephone number are received from the WAN side, the local IP address associated with the telephone number and stored in the storage means is searched, and the searched local is searched via the LAN. A relay means for relaying the various requests to the IP telephone specified by the IP address, and
When a packet acquisition request with a specified telephone number and packet acquisition conditions is received from the WAN side, the local IP address associated with the telephone number and stored in the storage means is used as the source or destination. A packet monitoring means for transmitting a duplicate of a packet that meets the packet acquisition condition to the source of the packet acquisition request.
The relay means
When the packet acquisition request is received from the WAN side, the IP telephone associated with the telephone number specified in the packet acquisition request and specified by the local IP address stored in the storage means can be used. The packet acquisition request is not relayed .

本発明において、ルータ装置は、自身のグローバルIPアドレスに紐付けて配下のIP電話機の電話番号を管理サーバに登録するので、保守端末は、IP電話機の電話番号に紐付けられたグローバルIPアドレスを管理サーバから取得することができる。そして、保守端末が、取得したグローバルIPアドレスにより特定されるルータ装置に、電話番号の指定を伴う各種要求を送信すると、ルータ装置は、指定された電話番号により特定されるIP電話機にこの各種要求を中継する。したがって、本発明によれば、WAN側の保守端末により、LANに接続されているIP電話機の保守を実施することができる。 In the present invention, the router device registers the telephone number of the subordinate IP telephone in the management server in association with its own global IP address, so that the maintenance terminal registers the global IP address associated with the telephone number of the IP telephone. It can be obtained from the management server. Then, when the maintenance terminal sends various requests accompanied by the designation of the telephone number to the router device specified by the acquired global IP address, the router device sends the various requests to the IP telephone specified by the specified telephone number. To relay. Therefore, according to the present invention, the maintenance terminal on the WAN side can perform maintenance on the IP telephone connected to the LAN.

図1は、本発明の一実施の形態に係るルータ装置を含むIP電話システムの概略構成図である。FIG. 1 is a schematic configuration diagram of an IP telephone system including a router device according to an embodiment of the present invention. 図2は、図1に示すIP電話システムにおいて、ルータ装置1がIP電話機2−1を管理サーバ4に登録する場合の動作例を説明するためのシーケンス図である。FIG. 2 is a sequence diagram for explaining an operation example when the router device 1 registers the IP telephone 2-1 in the management server 4 in the IP telephone system shown in FIG. 図3は、図1に示すIP電話システムにおいて、保守端末3がIP電話機2−1の保守を実施する場合の動作例を説明するためのシーケンス図である。FIG. 3 is a sequence diagram for explaining an operation example when the maintenance terminal 3 performs maintenance of the IP telephone 2-1 in the IP telephone system shown in FIG. 図4は、図1に示すIP電話システムにおいて、ルータ装置1がIP電話機2−1のパケット監視を実施する場合の動作例を説明するためのシーケンス図である。FIG. 4 is a sequence diagram for explaining an operation example when the router device 1 performs packet monitoring of the IP telephone 2-1 in the IP telephone system shown in FIG. 図5は、ルータ装置1の概略機能構成図である。FIG. 5 is a schematic functional configuration diagram of the router device 1. 図6は、ルータ装置1の登録要求送信処理を説明するためのフロー図である。FIG. 6 is a flow chart for explaining the registration request transmission process of the router device 1. 図7は、ルータ装置1の各種要求中継およびパケット監視処理を説明するためのフロー図である。FIG. 7 is a flow chart for explaining various request relays and packet monitoring processes of the router device 1.

以下に、本発明の一実施の形態について図面を参照して説明する。 Hereinafter, an embodiment of the present invention will be described with reference to the drawings.

図1は、本実施の形態に係るルータ装置1を含むIP電話システムの概略構成図である。 FIG. 1 is a schematic configuration diagram of an IP telephone system including the router device 1 according to the present embodiment.

図示するように、本実施の形態に係るルータ装置1は、LAN(Local Area Network)6に接続されたIP(Internet Protocol)電話機2−1を、WAN(Wide Area Network)であるIP電話網5に接続する。IP電話網5には、ルータ装置1の他に、IP電話機2−2、保守端末3、および、管理サーバ4が接続されている。IP電話機2−1、2−2は、IP電話網5が提供するIP電話サービスを利用して通話を行う。保守端末3は、IP電話機2−1、2−2の保守を実施する。そして、管理サーバ4は、IP電話機2−1、2−2各々の電話番号をそのグローバルIPアドレスに紐付けて管理する装置であり、特許文献1に記載のサービスサーバと実質的に同一である。 As shown in the figure, the router device 1 according to the present embodiment uses an IP (Internet Protocol) telephone 2-1 connected to a LAN (Local Area Network) 6 and an IP telephone network 5 which is a WAN (Wide Area Network). Connect to. In addition to the router device 1, the IP telephone 2-2, the maintenance terminal 3, and the management server 4 are connected to the IP telephone network 5. The IP telephones 2-1 and 2-2 make a call using the IP telephone service provided by the IP telephone network 5. The maintenance terminal 3 carries out maintenance of the IP telephones 2-1 and 2-2. The management server 4 is a device that manages the telephone numbers of the IP telephones 2-1 and 2-2 by associating them with their global IP addresses, and is substantially the same as the service server described in Patent Document 1. ..

図2は、図1に示すIP電話システムにおいて、ルータ装置1がIP電話機2−1を管理サーバ4に登録する場合の動作例を説明するためのシーケンス図である。 FIG. 2 is a sequence diagram for explaining an operation example when the router device 1 registers the IP telephone 2-1 in the management server 4 in the IP telephone system shown in FIG.

IP電話機2−1が、IP電話機2−2の電話番号を宛先電話番号とする接続要求(INVITEメッセージ)を送信したものとする(S100)。この接続要求は、ルータ装置1およびIP電話網5を介してIP電話機2−2に送信される。その後、IP電話機2−2が接続応答(200OKメッセージ)を返信すると(S101)、この接続応答がIP電話網5およびルータ装置1を介してIP電話機2−1に送信され、これにより、IP電話機2−1とIP電話機2−2との間に通話路が確立される(S102)。 It is assumed that the IP telephone 2-1 has transmitted a connection request (INVITE message) using the telephone number of the IP telephone 2-2 as the destination telephone number (S100). This connection request is transmitted to the IP telephone 2-2 via the router device 1 and the IP telephone network 5. After that, when the IP telephone 2-2 returns a connection response (200 OK message) (S101), this connection response is transmitted to the IP telephone 2-1 via the IP telephone network 5 and the router device 1, thereby causing the IP telephone. A telephone path is established between 2-1 and the IP telephone 2-2 (S102).

さて、ルータ装置1は、IP電話機2−1からIP電話網5に中継された接続要求を検出すると、接続要求の送信元電話番号(IP電話機2−1の電話番号)が登録されているか否か、および、登録されているならば、この送信元電話番号に紐付けられているローカルIPアドレスが接続要求の送信元のローカルIPアドレス(IP電話機2−1のローカルIPアドレス)であるか否かをチェックする(S103)。接続要求の送信元電話番号が登録されていない場合は、この送信元電話番号を接続要求の送信元のローカルIPアドレス(IP電話機2−1のローカルIPアドレス)に紐付けて登録する。また、接続要求の送信元電話番号は登録されているが、この送信元電話番号に紐付けられているローカルIPアドレスが接続要求の送信元以外のローカルIPアドレスである場合は、この送信元電話番号に紐付けられているローカルIPアドレスを接続要求の送信元のローカルIPアドレスに更新する。ここでは、IP電話機2−1の電話番号が登録されておらず、ルータ装置1は、IP電話機2−1の電話番号をIP電話機2−1のローカルIPアドレスに紐付けて登録したものとする(S104)。 When the router device 1 detects the connection request relayed from the IP telephone 2-1 to the IP telephone network 5, whether or not the source telephone number of the connection request (telephone number of the IP telephone 2-1) is registered. Or, if registered, whether or not the local IP address associated with this source telephone number is the local IP address of the source of the connection request (local IP address of IP telephone 2-1). Is checked (S103). If the source telephone number of the connection request is not registered, this source telephone number is associated with the local IP address of the source of the connection request (local IP address of the IP telephone 2-1) and registered. Also, if the source phone number of the connection request is registered, but the local IP address associated with this source phone number is a local IP address other than the source of the connection request, this source phone Update the local IP address associated with the number to the local IP address of the source of the connection request. Here, it is assumed that the telephone number of the IP telephone 2-1 is not registered, and the router device 1 is registered by associating the telephone number of the IP telephone 2-1 with the local IP address of the IP telephone 2-1. (S104).

IP電話機2−1の電話番号がそのローカルIPアドレスに紐付けられて新たに登録されると、ルータ装置1は、IP電話機2−1の電話番号およびルータ装置1のグローバルIPアドレスの指定を伴う登録要求を、IP電話網5を介して管理サーバ4に送信する(S105)。 When the telephone number of the IP telephone 2-1 is newly registered in association with the local IP address, the router device 1 is accompanied by the designation of the telephone number of the IP telephone 2-1 and the global IP address of the router device 1. The registration request is transmitted to the management server 4 via the IP telephone network 5 (S105).

これを受けて、管理サーバ4は、IP電話機2−1の電話番号をルータ装置1のグローバルIPアドレスに紐付けて登録し(S106)、その後、IP電話網5を介してルータ装置1に登録完了通知を送信する(S107)。 In response to this, the management server 4 associates the telephone number of the IP telephone 2-1 with the global IP address of the router device 1 and registers it (S106), and then registers it in the router device 1 via the IP telephone network 5. A completion notification is transmitted (S107).

図3は、図1に示すIP電話システムにおいて、保守端末3がIP電話機2−1の保守を実施する場合の動作例を説明するためのシーケンス図である。 FIG. 3 is a sequence diagram for explaining an operation example when the maintenance terminal 3 performs maintenance of the IP telephone 2-1 in the IP telephone system shown in FIG.

まず、保守端末3が、IP電話網5を介して、管理サーバ4に、IP電話機2−1の電話番号の指定を伴うアドレス要求を送信したものとする(S110)。これを受けて、管理サーバ4は、IP電話機2−1の電話番号に紐付けられているグローバルIPアドレス(ルータ装置1のグローバルIPアドレス)を検索する(S111)。そして、IP電話網5を介して、アドレス要求の送信元である保守端末3に、検索したグローバルIPアドレスを伴うアドレス通知を送信する(S112)。これにより、保守端末3は、IP電話機2−1のグローバルIPアドレスとして、ルータ装置1のグローバルIPアドレスを管理サーバ4から取得する。 First, it is assumed that the maintenance terminal 3 transmits an address request accompanied by designation of the telephone number of the IP telephone 2-1 to the management server 4 via the IP telephone network 5 (S110). In response to this, the management server 4 searches for the global IP address (global IP address of the router device 1) associated with the telephone number of the IP telephone 2-1 (S111). Then, an address notification accompanied by the searched global IP address is transmitted to the maintenance terminal 3 which is the source of the address request via the IP telephone network 5 (S112). As a result, the maintenance terminal 3 acquires the global IP address of the router device 1 from the management server 4 as the global IP address of the IP telephone 2-1.

つぎに、保守端末3は、IP電話網5を介して、管理サーバ4から取得したグローバルIPアドレスにより特定されるルータ装置1に、宛先電話番号としてIP電話機2−1の電話番号の指定を伴う各種要求(例えば状態通知要求、ただしパケット取得要求を除く)を送信したものとする(S113)。これを受けて、ルータ装置1は、保守端末3から受信した各種要求で指定されている宛先電話番号に紐付けられて登録されているローカルIPアドレスを検索する(S114)。そして、検索したローカルIPアドレスにより特定されるIP電話機2−1に、保守端末3から受信した各種要求を中継する(S115)。 Next, the maintenance terminal 3 specifies the telephone number of the IP telephone 2-1 as the destination telephone number to the router device 1 specified by the global IP address acquired from the management server 4 via the IP telephone network 5. It is assumed that various requests (for example, status notification requests, except for packet acquisition requests) have been transmitted (S113). In response to this, the router device 1 searches for a local IP address registered in association with the destination telephone number specified in various requests received from the maintenance terminal 3 (S114). Then, various requests received from the maintenance terminal 3 are relayed to the IP telephone 2-1 specified by the searched local IP address (S115).

IP電話機2−1は、ルータ装置1を介して保守端末3から各種要求を受信すると、その要求内容に従って処理(例えば状態情報の取得)を実施し、その実施結果を含む結果通知を返信する(S116)。この結果通知は、ルータ装置1およびIP電話網5を介して保守端末3に送信される。 When the IP telephone 2-1 receives various requests from the maintenance terminal 3 via the router device 1, it executes processing (for example, acquisition of status information) according to the request contents, and returns a result notification including the execution result (for example, the IP telephone 2-1 receives the various requests. S116). This result notification is transmitted to the maintenance terminal 3 via the router device 1 and the IP telephone network 5.

図4は、図1に示すIP電話システムにおいて、ルータ装置1がIP電話機2−1のパケット監視を実施する場合の動作例を説明するためのシーケンス図である。 FIG. 4 is a sequence diagram for explaining an operation example when the router device 1 performs packet monitoring of the IP telephone 2-1 in the IP telephone system shown in FIG.

まず、保守端末3が、IP電話網5を介して、IP電話機2−1のグローバルIPアドレスとして管理サーバ4から取得したグローバルIPアドレスにより特定されるルータ装置1に、宛先電話番号としてIP電話機2−1の電話番号の指定を伴うパケット取得要求を送信したものとする(S120)。 First, the maintenance terminal 3 connects to the router device 1 specified by the global IP address acquired from the management server 4 as the global IP address of the IP telephone 2-1 via the IP telephone network 5, and the IP telephone 2 as the destination telephone number. It is assumed that a packet acquisition request accompanied by the designation of the telephone number of -1 is transmitted (S120).

ルータ装置1は、保守端末3から受信したパケット取得要求で指定されている取得開始条件を満足したこと、すなわち取得開始時刻が到来したことを確認すると(S121)、ルータ装置1が中継するパケットのなかから、パケット取得要求で指定されている宛先電話番号に紐付けられているローカルIPアドレス(IP電話機2−1のローカルIPアドレス)を送信元アドレスあるいは送信先アドレスとするパケットの監視を開始する(S122)。そして、該当するパケットを検出したならば、このパケットを複製して記憶する(S123)。 When the router device 1 confirms that the acquisition start condition specified in the packet acquisition request received from the maintenance terminal 3 is satisfied, that is, the acquisition start time has arrived (S121), the router device 1 relays the packet. From among them, start monitoring packets with the local IP address (local IP address of IP telephone 2-1) associated with the destination phone number specified in the packet acquisition request as the source address or destination address. (S122). Then, when the corresponding packet is detected, this packet is duplicated and stored (S123).

それから、ルータ装置1は、保守端末3から受信したパケット取得要求で指定されている取得終了条件を満足したこと、すなわち複製パケットのデータ量が取得データ量に到達したことを確認すると(S124)、パケット取得要求で指定されている宛先電話番号に紐付けられているローカルIPアドレス(IP電話機2−1のローカルIPアドレス)を送信元アドレスあるいは送信先アドレスとするパケットの監視を終了する(S125)。そして、IP電話網5を介して、保守端末3に、記憶された複製パケットを含む結果通知を送信する(S126)。 Then, when the router device 1 confirms that the acquisition end condition specified in the packet acquisition request received from the maintenance terminal 3 is satisfied, that is, the data amount of the duplicate packet has reached the acquisition data amount (S124), Ends packet monitoring with the local IP address (local IP address of IP phone 2-1) associated with the destination phone number specified in the packet acquisition request as the source address or destination address (S125). .. Then, the result notification including the stored duplicate packet is transmitted to the maintenance terminal 3 via the IP telephone network 5 (S126).

つぎに、本実施の形態に係るルータ装置1の詳細について説明する。 Next, the details of the router device 1 according to the present embodiment will be described.

図5は、ルータ装置1の概略機能構成図である。 FIG. 5 is a schematic functional configuration diagram of the router device 1.

図示するように、ルータ装置1は、LANインターフェース部10と、IP電話網インターフェース部11と、IP電話機情報記憶部12と、中継部13と、接続要求検出部14と、登録要求部15と、複製パケット記憶部16と、パケット監視部17と、を備えている。 As shown in the figure, the router device 1 includes a LAN interface unit 10, an IP telephone network interface unit 11, an IP telephone information storage unit 12, a relay unit 13, a connection request detection unit 14, a registration request unit 15, and the like. It includes a duplicate packet storage unit 16 and a packet monitoring unit 17.

LANインターフェース部10は、LAN6に接続するためのインターフェースであり、IP電話網インターフェース部11は、IP電話網5に接続するためのインターフェースである。 The LAN interface unit 10 is an interface for connecting to the LAN 6, and the IP telephone network interface unit 11 is an interface for connecting to the IP telephone network 5.

IP電話機情報記憶部12には、LAN6に接続されているIP電話機(図1に示す例ではIP電話機2−1)毎に、IP電話機の電話番号がこのIP電話機のローカルIPアドレスに紐付けられて記憶されている。 In the IP telephone information storage unit 12, the telephone number of the IP telephone is associated with the local IP address of the IP telephone for each IP telephone (IP telephone 2-1 in the example shown in FIG. 1) connected to the LAN 6. Is remembered.

中継部13は、LANインターフェース部10を介してLAN6から受信したパケット、および、IP電話網インターフェース部11を介してIP電話網5から受信したパケットのルーティングを実施し、これらのパケットを、ルーティングにより決定された宛先に中継する。 The relay unit 13 routes the packets received from the LAN 6 via the LAN interface unit 10 and the packets received from the IP telephone network 5 via the IP telephone network interface unit 11, and these packets are routed by routing. Relay to the determined destination.

ここで、中継部13は、IP電話網インターフェース部11を介してIP電話網5から、宛先電話番号の指定を伴う各種要求(ただし、パケット取得要求を除く)を受信した場合、この宛先電話番号に紐付けられてIP電話機情報記憶部12に記憶されているローカルIPアドレスにより特定される端末(図1に示す例ではIP電話機2−1)に、この各種要求を中継する。また、中継部13は、IP電話網インターフェース部11を介してIP電話網5から、宛先電話番号の指定を伴うパケット取得要求を受信した場合、このパケット取得要求を、この宛先電話番号に紐付けられてIP電話機情報記憶部12に記憶されているローカルIPアドレスとともにパケット監視部17に通知する。 Here, when the relay unit 13 receives various requests (excluding the packet acquisition request) accompanied by the designation of the destination telephone number from the IP telephone network 5 via the IP telephone network interface unit 11, the destination telephone number is used. These various requests are relayed to a terminal (IP telephone 2-1 in the example shown in FIG. 1) specified by a local IP address associated with and stored in the IP telephone information storage unit 12. Further, when the relay unit 13 receives the packet acquisition request accompanied by the designation of the destination telephone number from the IP telephone network 5 via the IP telephone network interface unit 11, the relay unit 13 associates the packet acquisition request with the destination telephone number. The packet monitoring unit 17 is notified together with the local IP address stored in the IP telephone information storage unit 12.

接続要求検出部14は、中継部13によってLAN6側からIP電話網5側に中継される接続要求(INVITEメッセージ)を監視する。そして、該当する接続要求を検出した場合、IP電話機情報記憶部12を参照し、この接続要求で指定されている送信元電話番号が登録されていないならば、この送信元電話番号を接続要求の送信元のローカルIPアドレスに紐付けて登録する。また、この接続要求で指定されている送信元電話番号が登録されている場合、この送信元電話番号に紐付けられて登録されているローカルIPアドレスが接続要求の送信元以外のローカルIPアドレスであるならば、この送信元電話番号に紐付けられて登録されているローカルIPアドレスを接続要求の送信元のローカルIPアドレスに更新する。 The connection request detection unit 14 monitors the connection request (INVITE message) relayed from the LAN 6 side to the IP telephone network 5 side by the relay unit 13. Then, when the corresponding connection request is detected, the IP telephone information storage unit 12 is referred to, and if the source telephone number specified in this connection request is not registered, this source telephone number is used as the connection request. Register by associating with the local IP address of the source. If the source phone number specified in this connection request is registered, the local IP address registered in association with this source phone number is a local IP address other than the source of the connection request. If there is, the local IP address registered associated with this source telephone number is updated to the local IP address of the source of the connection request.

登録要求部15は、IP電話機情報記憶部12を監視し、IP電話機情報記憶部12に電話番号が新たに登録されると、この電話番号およびルータ装置1のグローバルIPアドレスの指定を伴う登録要求を、IP電話網インターフェース部11を介して管理サーバ4に送信する。そして、管理サーバ4から登録完了通知を受信する。 The registration request unit 15 monitors the IP telephone information storage unit 12, and when a telephone number is newly registered in the IP telephone information storage unit 12, a registration request accompanied by designation of the telephone number and the global IP address of the router device 1. Is transmitted to the management server 4 via the IP telephone network interface unit 11. Then, the registration completion notification is received from the management server 4.

複製パケット記憶部16は、後述のパケット監視部17により複製されたパケットを記憶する。 The duplicate packet storage unit 16 stores the packet duplicated by the packet monitoring unit 17, which will be described later.

パケット監視部17は、中継部13からパケット取得要求をローカルIPアドレスとともに受け取ると、このパケット取得要求で指定されている取得開始条件を満足するのを待ち、取得開始条件を満足したならば、中継部13により中継されるパケットのなかから、このパケット取得要求とともに中継部13から受け取ったローカルIPアドレスを送信元アドレスあるいは送信先アドレスとするパケットの監視を開始する。そして、該当するパケットを検出したならば、このパケットの複製を複製パケット記憶部16に記憶する。このパケットの監視および複製の処理を、パケット取得要求で指定されている取得終了条件を満足するまで行い、取得終了条件を満足したならば、それまでに複製パケット記憶部16に記憶した複製パケットを含む結果通知を、IP電話網インターフェース部11を介して、パケット取得要求の送信元(図1に示す例では保守端末3)に送信する。 When the packet monitoring unit 17 receives the packet acquisition request from the relay unit 13 together with the local IP address, the packet monitoring unit 17 waits for the acquisition start condition specified in the packet acquisition request to be satisfied, and if the acquisition start condition is satisfied, the packet monitoring unit 17 relays. Among the packets relayed by the unit 13, monitoring of the packet whose source address or destination address is the local IP address received from the relay unit 13 together with this packet acquisition request is started. Then, when the corresponding packet is detected, the duplicate of this packet is stored in the duplicate packet storage unit 16. This packet monitoring and duplication processing is performed until the acquisition end condition specified in the packet acquisition request is satisfied, and when the acquisition end condition is satisfied, the duplicate packet stored in the duplicate packet storage unit 16 up to that point is stored. The result notification including the result is transmitted to the source of the packet acquisition request (maintenance terminal 3 in the example shown in FIG. 1) via the IP telephone network interface unit 11.

図6は、ルータ装置1の登録要求送信処理を説明するためのフロー図である。 FIG. 6 is a flow chart for explaining the registration request transmission process of the router device 1.

まず、接続要求検出部14は、中継部13によってLAN6側からIP電話網5側に中継される接続要求を監視し、該当する接続要求を検出すると(S200でYES)、この接続要求の送信元電話番号がIP電話機情報記憶部12に登録済みであるか否かを確認する。そして、この接続要求の送信元電話番号がIP電話機情報記憶部12に登録済みである場合(S201でYES)、この送信元電話番号に紐付けられてIP電話機情報記憶部12に登録されているローカルIPアドレスが接続要求の送信元以外のローカルIPアドレスであるならば、このローカルIPアドレスを接続要求の送信元のローカルIPアドレスに更新し(S202)、S200に戻る。 First, the connection request detection unit 14 monitors the connection request relayed from the LAN 6 side to the IP telephone network 5 side by the relay unit 13, and when the corresponding connection request is detected (YES in S200), the transmission source of this connection request. It is confirmed whether or not the telephone number is registered in the IP telephone information storage unit 12. When the source telephone number of this connection request is already registered in the IP telephone information storage unit 12 (YES in S201), it is associated with this source telephone number and registered in the IP telephone information storage unit 12. If the local IP address is a local IP address other than the source of the connection request, this local IP address is updated to the local IP address of the source of the connection request (S202), and the process returns to S200.

一方、この接続要求の送信元電話番号がIP電話機情報記憶部12に登録されていないならば(S201でNO)、この送信元電話番号を接続要求の送信元のローカルIPアドレスに紐付けてIP電話機情報記憶部12に新規登録する(S203)。 On the other hand, if the source telephone number of this connection request is not registered in the IP telephone information storage unit 12 (NO in S201), this source telephone number is linked to the local IP address of the source of the connection request and IP. Newly registered in the telephone information storage unit 12 (S203).

つぎに、登録要求部15は、IP電話機情報記憶部12に電話番号が新規登録されると、この電話番号およびルータ装置1のグローバルIPアドレスの指定を伴う登録要求を、IP電話網インターフェース部11を介して管理サーバ4に送信する(S204)。そして、管理サーバ4から登録完了通知を受信し(S205)、S200に戻る。 Next, when the telephone number is newly registered in the IP telephone information storage unit 12, the registration request unit 15 makes a registration request with the designation of the telephone number and the global IP address of the router device 1 in the IP telephone network interface unit 11. It is transmitted to the management server 4 via (S204). Then, the registration completion notification is received from the management server 4 (S205), and the process returns to S200.

図7は、ルータ装置1の各種要求中継およびパケット監視処理を説明するためのフロー図である。 FIG. 7 is a flow chart for explaining various request relays and packet monitoring processes of the router device 1.

このフローは、中継部13がIP電話網インターフェース部11を介してIP電話網5から、宛先電話番号の指定を伴う各種要求を受信することにより開始される。 This flow is started when the relay unit 13 receives various requests with the designation of the destination telephone number from the IP telephone network 5 via the IP telephone network interface unit 11.

IP電話網5から受信した要求がパケット取得要求でない場合(S210でNO)、中継部13は、この要求で指定されている宛先電話番号に紐付けられてIP電話機情報記憶部12に記憶されているローカルIPアドレスを検索する(S211)。そして、LANインターフェース部10を介して、検索したローカルIPアドレスにより特定されるIP電話機(図1に示す例ではIP電話機2−1)に、IP電話網5から受信した要求を中継する(S212)。 When the request received from the IP telephone network 5 is not a packet acquisition request (NO in S210), the relay unit 13 is associated with the destination telephone number specified in this request and stored in the IP telephone information storage unit 12. Search for the local IP address that exists (S211). Then, the request received from the IP telephone network 5 is relayed to the IP telephone (IP telephone 2-1 in the example shown in FIG. 1) specified by the searched local IP address via the LAN interface unit 10 (S212). ..

一方、IP電話網5から受信した要求がパケット取得要求である場合(S210でYES)、中継部13は、このパケット取得要求で指定されている宛先電話番号に紐付けられてIP電話機情報記憶部12に記憶されているローカルIPアドレスを検索する(S213)。そして、この検索したローカルIPアドレスをパケット取得要求とともにパケット監視部17に通知する。 On the other hand, when the request received from the IP telephone network 5 is a packet acquisition request (YES in S210), the relay unit 13 is associated with the destination telephone number specified in the packet acquisition request and is associated with the IP telephone information storage unit. The local IP address stored in 12 is searched (S213). Then, the searched local IP address is notified to the packet monitoring unit 17 together with the packet acquisition request.

これを受けて、パケット監視部17は、中継部13から受け取ったパケット取得要求で指定されている取得開始条件を満足、すなわち取得開始時刻が到来するのを待ち(S214でNO)、この取得開始条件を満足したならば(S214でYES)、中継部13により中継されるパケットのなかから、このパケット取得要求とともに中継部13から受け取ったローカルIPアドレスを送信元アドレスあるいは送信先アドレスとするパケットの監視を開始する(S215)。 In response to this, the packet monitoring unit 17 satisfies the acquisition start condition specified in the packet acquisition request received from the relay unit 13, that is, waits for the acquisition start time to arrive (NO in S214), and starts this acquisition. If the condition is satisfied (YES in S214), among the packets relayed by the relay unit 13, the packet whose source address or destination address is the local IP address received from the relay unit 13 together with this packet acquisition request. Monitoring is started (S215).

つぎに、パケット監視部17は、中継部13により中継されるパケットのなかから、このパケット取得要求とともに中継部13から受け取ったローカルIPアドレスを送信元アドレスあるいは送信先アドレスとするパケットを検出したならば(S216でYES)、このパケットを複製して複製パケット記憶部16に記憶する(S217)。 Next, if the packet monitoring unit 17 detects a packet whose source address or destination address is the local IP address received from the relay unit 13 together with this packet acquisition request from the packets relayed by the relay unit 13. If (YES in S216), this packet is duplicated and stored in the duplicate packet storage unit 16 (S217).

パケット監視部17は、パケット取得要求で指定されている取得終了条件を満足、すなわち、複製パケット記憶部16に記憶した複製パケットのデータ量が取得データ量に到達するまで(S218でNO)、S216、S217の処理を実施する。そして、取得終了条件を満足したならば(S218でYES)、S215で開始したパケットの監視を終了する(S219)。 The packet monitoring unit 17 satisfies the acquisition end condition specified in the packet acquisition request, that is, until the data amount of the duplicate packet stored in the duplicate packet storage unit 16 reaches the acquisition data amount (NO in S218), S216. , S217 is carried out. Then, if the acquisition end condition is satisfied (YES in S218), the monitoring of the packet started in S215 is ended (S219).

それから、パケット監視部17は、複製パケット記憶部16に記憶されている複製パケットを含む結果通知を生成する。そして、IP電話網インターフェース部11を介して、パケット取得要求の送信元(図1に示す例では保守端末3)に、この結果通知を送信する(S220)。 Then, the packet monitoring unit 17 generates a result notification including the duplicated packet stored in the duplicated packet storage unit 16. Then, the result notification is transmitted to the source of the packet acquisition request (maintenance terminal 3 in the example shown in FIG. 1) via the IP telephone network interface unit 11 (S220).

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

本実施の形態に係るルータ装置1は、自身のグローバルIPアドレスに紐付けて配下のIP電話機2−1の電話番号を管理サーバ4に登録するので、保守端末3は、IP電話機2−1の電話番号に紐付けられたグローバルIPアドレスを管理サーバ4から取得することができる。そして、保守端末3が、取得したグローバルIPアドレスにより特定されるルータ装置1に、宛先電話番号の指定を伴う各種要求を送信すると、ルータ装置1は、指定された宛先電話番号により特定されるIP電話機2−1にこの各種要求(ただし、パケット取得要求を除く)を中継する。したがって、本実施の形態によれば、IP電話網5側の保守端末3により、グローバルIPアドレスが付与されていないLAN6側のIP電話機2−1の保守を実施することができる。 Since the router device 1 according to the present embodiment registers the telephone number of the subordinate IP telephone 2-1 in the management server 4 in association with its own global IP address, the maintenance terminal 3 is the IP telephone 2-1. The global IP address associated with the telephone number can be obtained from the management server 4. Then, when the maintenance terminal 3 transmits various requests accompanied by the designation of the destination telephone number to the router device 1 specified by the acquired global IP address, the router device 1 sends the IP specified by the designated destination telephone number. These various requests (excluding packet acquisition requests) are relayed to the telephone number 2-1. Therefore, according to the present embodiment, the maintenance terminal 3 on the IP telephone network 5 side can perform maintenance on the IP telephone 2-1 on the LAN 6 side to which the global IP address is not assigned.

また、本実施の形態に係るルータ装置1は、IP電話網5側からパケット取得要求を受信した場合に、このパケット取得要求で指定されている電話番号に紐付けられて記憶されているローカルIPアドレスを送信元あるいは送信先とするパケットであって、このパケット取得要求で指定されているパケット取得条件(例えば、取得開始条件および取得終了条件)に合致するパケットの複製を含む結果通知を、パケット取得要求の送信元(図1に示す例では保守端末3)に送信する。したがって、本実施の形態によれば、IP電話網5側の保守端末3により、グローバルIPアドレスが付与されていないLAN6側のIP電話機2−1が送受するパケットを調査することが可能となり、IP電話機2−1のセキュリティを強化することができる。 Further, when the router device 1 according to the present embodiment receives the packet acquisition request from the IP telephone network 5, the local IP associated with the telephone number specified in the packet acquisition request is stored. A result notification including a copy of a packet whose source or destination is an address and which meets the packet acquisition conditions (for example, acquisition start condition and acquisition end condition) specified in this packet acquisition request. It is transmitted to the source of the acquisition request (maintenance terminal 3 in the example shown in FIG. 1). Therefore, according to the present embodiment, the maintenance terminal 3 on the IP telephone network 5 side can investigate the packets sent and received by the IP telephone 2-1 on the LAN 6 side to which the global IP address is not assigned, and the IP can be investigated. The security of the telephone 2-1 can be strengthened.

なお、本発明は上記の実施の形態に限定されるものではなく、その要旨の範囲内で数々の変形が可能である。 The present invention is not limited to the above-described embodiment, and many modifications can be made within the scope of the gist thereof.

例えば、本実施の形態に係るルータ装置1において、登録要求部15は、自ルータ装置1に割り当てられるグローバルIPアドレスが更新された場合に、IP電話機情報記憶部12に記憶されている電話番号毎に、電話番号および更新された自ルータ装置1のグローバルIPアドレスの指定を伴う登録要求を管理サーバ4に自動送信するようにしてもよい。このようにすることにより、ルータ装置1のグローバルIPアドレスが変更された場合に、変更後のグローバルIPアドレスに紐付けて配下のIP電話機の電話番号を管理サーバ4に自動で登録することが可能となり、利便性が高まる。 For example, in the router device 1 according to the present embodiment, the registration requesting unit 15 receives each telephone number stored in the IP telephone information storage unit 12 when the global IP address assigned to the own router device 1 is updated. The registration request accompanied by the designation of the telephone number and the updated global IP address of the local router device 1 may be automatically transmitted to the management server 4. By doing so, when the global IP address of the router device 1 is changed, it is possible to automatically register the telephone number of the subordinate IP telephone in the management server 4 in association with the changed global IP address. And the convenience is improved.

また、本実施の形態では、パケット取得要求に含めるパケット取得条件(取得開始条件および取得終了条件)として、取得開始時刻および取得データ量を指定しているが、本発明はこれに限定されず、様々なパケット取得条件を指定することができる。例えば、パケット取得条件として、取得開始時刻および取得終了時刻を指定してもよいし、あるいは、通信相手のIPアドレスおよび取得データ量を指定してもよい。 Further, in the present embodiment, the acquisition start time and the amount of acquired data are specified as the packet acquisition conditions (acquisition start condition and acquisition end condition) to be included in the packet acquisition request, but the present invention is not limited to this. Various packet acquisition conditions can be specified. For example, the acquisition start time and the acquisition end time may be specified as the packet acquisition conditions, or the IP address and the amount of acquired data of the communication partner may be specified.

また、上記の実施の形態において、図5に示すルータ装置1の機能構成は、ASIC(Application Specific Integrated Circuit)、FPGA(Field Programmable Gate Array)などの集積ロジックICによりハード的に実現されるか、DSP(Digital Signal Processor)等の計算機によりソフトウエア的に実現される。あるいは、CPUと、メモリと、ハードディスク、フラッシュメモリ等の補助記憶装置と、NIC(Network Interface Card)等の通信インターフェースと、を備えたPC等の汎用コンピュータにおいて、CPUが所定のプログラムを補助記憶装置からメモリ上にロードして実行することにより実現される。 Further, in the above embodiment, whether the functional configuration of the router device 1 shown in FIG. 5 is realized by hardware such as an integrated logic IC such as an ASIC (Application Specific Integrated Circuit) or an FPGA (Field Programmable Gate Array). It is realized by software by a computer such as DSP (Digital Signal Processor). Alternatively, in a general-purpose computer such as a PC provided with a CPU, a memory, an auxiliary storage device such as a hard disk and a flash memory, and a communication interface such as an NIC (Network Interface Card), the CPU performs an auxiliary storage device for a predetermined program. It is realized by loading it on the memory from and executing it.

1:ルータ装置 2−1〜2−2:IP電話機
3:保守端末 4:管理サーバ 5:IP電話網
6:LAN 10:LANインターフェース部
11:IP電話網インターフェース部
12:IP電話機情報記憶部 13:中継部
14:接続要求検出部 15:登録要求部
16:複製パケット記憶部 17:パケット監視部
1: Router device 2-1 to 2-2: IP telephone 3: Maintenance terminal 4: Management server 5: IP telephone network 6: LAN 10: LAN interface unit 11: IP telephone network interface unit 12: IP telephone information storage unit 13 : Relay unit 14: Connection request detection unit 15: Registration request unit 16: Duplicate packet storage unit 17: Packet monitoring unit

Claims (3)

LAN(Local Area Network)をWAN(Wide Area Network)に接続するルータ装置であって、
前記LANに接続されているIP(Internet Protocol)電話機の電話番号を当該IP電話機のローカルIPアドレスに紐付けて記憶する記憶手段と、
前記LAN側から前記WAN側へ中継される接続要求を検出した場合に、当該接続要求の送信元の電話番号が前記記憶手段に記憶されていないならば、当該電話番号を当該接続要求の送信元のローカルIPアドレスに紐付けて前記記憶手段に記憶し、当該電話番号が当該接続要求の送信元以外のローカルIPアドレスに紐付けられて前記記憶手段に記憶されているならば、当該電話番号に紐付けられて前記記憶手段に記憶されているローカルIPアドレスを当該接続要求の送信元のローカルIPアドレスに更新する接続要求検出手段と、
前記接続要求の送信元の電話番号が当該接続要求の送信元のローカルIPアドレスに紐付けられて前記記憶手段に記憶された場合に、当該電話番号および自ルータ装置のグローバルIPアドレスの指定を伴う登録要求を、前記WANを介して所定の管理サーバに送信する登録要求送信手段と、
電話番号の指定を伴う各種要求を前記WAN側から受信した場合に、当該電話番号に紐付けられて前記記憶手段に記憶されているローカルIPアドレスを検索し、前記LANを介して、検索したローカルIPアドレスにより特定される前記IP電話機に当該各種要求を中継する中継手段と、
前記WAN側から、電話番号およびパケット取得条件の指定を伴うパケット取得要求を受信した場合に、当該電話番号に紐付けられて前記記憶手段に記憶されているローカルIPアドレスを送信元あるいは送信先とするパケットであって、当該パケット取得条件に合致するパケットの複製を、前記パケット取得要求の送信元に送信するパケット監視手段と、を有し、
前記中継手段は、
前記WAN側から前記パケット取得要求を受信した場合に、当該パケット取得要求で指定されている電話番号に紐付けられて前記記憶手段に記憶されているローカルIPアドレスにより特定される前記IP電話機に、当該パケット取得要求を中継しない
ことを特徴とするルータ装置。
A router device that connects a LAN (Local Area Network) to a WAN (Wide Area Network).
A storage means for storing the telephone number of an IP (Internet Protocol) telephone connected to the LAN by associating it with the local IP address of the IP telephone.
When a connection request relayed from the LAN side to the WAN side is detected and the telephone number of the source of the connection request is not stored in the storage means, the telephone number is used as the source of the connection request. If the telephone number is associated with a local IP address of the above and stored in the storage means, and the telephone number is associated with a local IP address other than the source of the connection request and stored in the storage means, the telephone number is stored. A connection request detecting means that updates the local IP address associated with the storage means to the local IP address of the source of the connection request, and
When the telephone number of the source of the connection request is associated with the local IP address of the source of the connection request and stored in the storage means, the telephone number and the global IP address of the local router device are specified. A registration request transmission means for transmitting a registration request to a predetermined management server via the WAN, and
When various requests accompanied by the designation of a telephone number are received from the WAN side, the local IP address associated with the telephone number and stored in the storage means is searched, and the searched local is searched via the LAN. A relay means for relaying the various requests to the IP telephone specified by the IP address, and
When a packet acquisition request with a specified telephone number and packet acquisition conditions is received from the WAN side, the local IP address associated with the telephone number and stored in the storage means is used as the source or destination. A packet monitoring means for transmitting a duplicate of a packet that meets the packet acquisition condition to the source of the packet acquisition request.
The relay means
When the packet acquisition request is received from the WAN side, the IP telephone associated with the telephone number specified in the packet acquisition request and specified by the local IP address stored in the storage means can be used. A router device that does not relay the packet acquisition request.
請求項1に記載のルータ装置であって、
前記登録要求送信手段は、
自ルータ装置に割り当てられているグローバルIPアドレスが変更された場合に、前記記憶手段に記憶されている電話番号毎に、当該電話番号および自ルータ装置の変更後のグローバルIPアドレスの指定を伴う登録要求を、前記WANを介して所定の管理サーバに送信する
ことを特徴とするルータ装置。
The router device according to claim 1.
The registration request transmission means is
When the global IP address assigned to the local router device is changed, registration is accompanied by designation of the telephone number and the changed global IP address of the local router device for each telephone number stored in the storage means. A router device characterized in that a request is transmitted to a predetermined management server via the WAN.
LAN(Local Area Network)をWAN(Wide Area Network)に接続するルータ装置としてコンピュータを機能させるためのプログラムであって、
前記プログラムは、
前記コンピュータを、
前記LANに接続されているIP(Internet Protocol)電話機の電話番号を当該IP電話機のローカルIPアドレスに紐付けて記憶する記憶手段、
前記LAN側から前記WAN側へ中継される接続要求を検出した場合に、当該接続要求の送信元の電話番号が前記記憶手段に記憶されていないならば、当該電話番号を当該接続要求の送信元のローカルIPアドレスに紐付けて前記記憶手段に記憶し、当該電話番号が当該接続要求の送信元以外のローカルIPアドレスに紐付けられて前記記憶手段に記憶されているならば、当該電話番号に紐付けられて前記記憶手段に記憶されているローカルIPアドレスを当該接続要求の送信元のローカルIPアドレスに更新する接続要求検出手段、
前記接続要求の送信元の電話番号が当該接続要求の送信元のローカルIPアドレスに紐付けられて前記記憶手段に記憶された場合に、当該電話番号および自ルータ装置のグローバルIPアドレスの指定を伴う登録要求を、前記WANを介して所定の管理サーバに送信する登録要求送信手段
電話番号の指定を伴う各種要求を前記WAN側から受信した場合に、当該電話番号に紐付けられて前記記憶手段に記憶されているローカルIPアドレスを検索し、前記LANを介して、検索したローカルIPアドレスにより特定される前記IP電話機に当該各種要求を中継する中継手段、および
前記WAN側から、電話番号およびパケット取得条件の指定を伴うパケット取得要求を受信した場合に、当該電話番号に紐付けられて前記記憶手段に記憶されているローカルIPアドレスを送信元あるいは送信先とするパケットであって、当該パケット取得条件に合致するパケットの複製を、前記パケット取得要求の送信元に送信するパケット監視手段として機能させ
前記中継手段は、
前記WAN側から前記パケット取得要求を受信した場合に、当該パケット取得要求で指定されている電話番号に紐付けられて前記記憶手段に記憶されているローカルIPアドレスにより特定される前記IP電話機に、当該パケット取得要求を中継しない
ことを特徴とするプログラム。
A program for operating a computer as a router device that connects a LAN (Local Area Network) to a WAN (Wide Area Network).
The program
The computer
A storage means for storing the telephone number of an IP (Internet Protocol) telephone connected to the LAN by associating it with the local IP address of the IP telephone.
When a connection request relayed from the LAN side to the WAN side is detected and the telephone number of the source of the connection request is not stored in the storage means, the telephone number is used as the source of the connection request. If the telephone number is associated with a local IP address of the above and stored in the storage means, and the telephone number is associated with a local IP address other than the source of the connection request and stored in the storage means, the telephone number is stored. A connection request detection means that updates the local IP address associated with the storage means to the local IP address of the source of the connection request.
When the telephone number of the source of the connection request is associated with the local IP address of the source of the connection request and stored in the storage means, the telephone number and the global IP address of the local router device are specified. A registration request transmitting means for transmitting a registration request to a predetermined management server via the WAN ,
When various requests accompanied by the designation of a telephone number are received from the WAN side, the local IP address associated with the telephone number and stored in the storage means is searched, and the searched local is searched via the LAN. A relay means for relaying the various requests to the IP telephone specified by the IP address , and
When a packet acquisition request with a specified telephone number and packet acquisition conditions is received from the WAN side, the local IP address associated with the telephone number and stored in the storage means is used as the source or destination. A replica of a packet that meets the packet acquisition conditions is made to function as a packet monitoring means for transmitting to the source of the packet acquisition request.
The relay means
When the packet acquisition request is received from the WAN side, the IP telephone associated with the telephone number specified in the packet acquisition request and specified by the local IP address stored in the storage means can be used. A program characterized in that the packet acquisition request is not relayed.
JP2021000256A 2021-01-04 2021-01-04 Router equipment and programs Active JP6915756B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021000256A JP6915756B1 (en) 2021-01-04 2021-01-04 Router equipment and programs

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021000256A JP6915756B1 (en) 2021-01-04 2021-01-04 Router equipment and programs

Publications (2)

Publication Number Publication Date
JP6915756B1 true JP6915756B1 (en) 2021-08-04
JP2022105444A JP2022105444A (en) 2022-07-14

Family

ID=77057550

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021000256A Active JP6915756B1 (en) 2021-01-04 2021-01-04 Router equipment and programs

Country Status (1)

Country Link
JP (1) JP6915756B1 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002190827A (en) * 2000-12-22 2002-07-05 Intec Web & Genome Informatics Corp Connection system for internet telephone between different networks
JP2003134253A (en) * 2001-10-22 2003-05-09 Hitachi Communication Technologies Ltd Ip phone system and method for managing ip phone
JP5629990B2 (en) * 2009-07-17 2014-11-26 株式会社ナカヨ Router device having IP address change function and IP telephone terminal

Also Published As

Publication number Publication date
JP2022105444A (en) 2022-07-14

Similar Documents

Publication Publication Date Title
JP4819953B2 (en) Control tunnel and direct tunnel setting method in IPv4 network-based IPv6 service providing system
KR100693320B1 (en) System for selecting source address, router apparatus, computer readable recording medium recording a program for causing a computer to function as the router apparatus, communicating node and method for selecting source address
JP2006262193A (en) Controller, packet transferring method, and packet processor
US9467372B2 (en) Methods and systems for processing internet protocol packets
CN110995873A (en) Gateway service interface discovery method, system, electronic device and storage medium
JP6558492B2 (en) Network address translation device, setting request device, communication system, communication method, and program
KR20110063328A (en) Remote procedure call(rpc) bind service with physical interface query and selection
EP2165502B1 (en) Lawful interception of data of a roaming mobile node
JP6915756B1 (en) Router equipment and programs
US8943123B2 (en) Server apparatus, network access method, and computer program
US9560058B2 (en) Monitoring device and monitoring method
JP2015220483A (en) Repeating device having dns-proxy function
JP3952181B2 (en) Network equipment
Cisco clear appletalk arp to show appletalk neighbors
Cisco DECnet Commands
Cisco DECnet Commands
WO2008069504A1 (en) Method for configuring control tunnel and direct tunnel in ipv4 network-based ipv6 service providing system
JP7230593B2 (en) Relay device and program
JPH08237717A (en) Mobile body corresponded router
KR101022144B1 (en) Handoff system of mobile internet protocol and method thereof
US11233726B2 (en) Methods, systems, and computer readable media for supporting multi-homed connections
WO2019063106A1 (en) First front-end node, client node, load balancer node, and methods performed thereby, for supporting data communication
JP4477318B2 (en) ROUTING CONTROL METHOD, DATA COLLECTING DEVICE, AND ROUTING CONTROL SYSTEM
CN118101561A (en) Method for sending message and node equipment
KR101493073B1 (en) Method for setting upstream server and apparatus thereof

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210104

A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20210104

A975 Report on accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A971005

Effective date: 20210121

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210330

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210517

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210628

R150 Certificate of patent or registration of utility model

Ref document number: 6915756

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150