JP2005236893A - Terminal location detection apparatus, terminal location detection method, terminal location detection program, and recording medium - Google Patents

Terminal location detection apparatus, terminal location detection method, terminal location detection program, and recording medium Download PDF

Info

Publication number
JP2005236893A
JP2005236893A JP2004046674A JP2004046674A JP2005236893A JP 2005236893 A JP2005236893 A JP 2005236893A JP 2004046674 A JP2004046674 A JP 2004046674A JP 2004046674 A JP2004046674 A JP 2004046674A JP 2005236893 A JP2005236893 A JP 2005236893A
Authority
JP
Japan
Prior art keywords
terminal
switch
mac address
location
port
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
Application number
JP2004046674A
Other languages
Japanese (ja)
Inventor
Shige Cho
芝 張
Yasushi Yamazaki
裕史 山崎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2004046674A priority Critical patent/JP2005236893A/en
Publication of JP2005236893A publication Critical patent/JP2005236893A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To easily specify a geographical location where each terminal is installed, without utilizing a radio communication function in a network whereon terminals are connected by a cable. <P>SOLUTION: This apparatus is provided with a terminal install location management means and a means for assigning an IP address to a terminal. The terminal install location management means comprises: an information register means for registering a corresponding relationship between a port of a switch or the switch and a terminal install location; a terminal address acquisition means for acquiring a MAC address of a detection target terminal to which the IP address is assigned by the IP address assigning means; a switch information acquisition means for acquiring a MAC address learning table from the switch; a means for specifying a port or a switch to which the detection target terminal is connected, from the MAC address learning table acquired by the switch information acquisition means and the MAC address of the detection target terminal; and a means for specifying and making corresponding the location to install the detection target terminal from the corresponding relationship registered by the information register means and the port or the switch to which the detection target terminal is connected. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、端末位置検知装置、端末位置検知方法、端末位置検知プログラム、および記録媒体に関し、特に、端末およびスイッチ間がケーブルで接続された有線ネットワークでの端末の位置の検知に適用して有効な技術に関するものである。   The present invention relates to a terminal position detection device, a terminal position detection method, a terminal position detection program, and a recording medium, and in particular, is effective when applied to detection of a terminal position in a wired network in which a terminal and a switch are connected by a cable. Technology.

従来、複数の端末およびスイッチ等からなるネットワーク上で、前記端末の地理的(空間的)な位置を特定する方法として、無線LANのような無線通信機能を利用する方法がある(例えば、非特許文献1を参照)。   Conventionally, as a method for specifying the geographical (spatial) position of a terminal on a network including a plurality of terminals and switches, there is a method using a wireless communication function such as a wireless LAN (for example, non-patent). Reference 1).

前記無線通信機能を利用した端末の位置特定方法では、図18に示すように、ネットワーク内の部分的なロケーション(空間)7A,7B,7C毎にアクセスポイント9A,9B,9Cが設置されている。このとき、前記各アクセスポイント9A,9B,9Cはそれぞれ、例えば、図18に示したように、ケーブル5A,5B,5Cでスイッチ8のポート801,802,804に接続されている。また、前記スイッチ8には、端末位置検知装置1が接続されている。このとき、前記端末位置検知装置1には、あらかじめ前記各アクセスポイント9A,9B,9Cとロケーション7A,7B,7Cの対応情報を登録しておく。また、前記端末位置検知装置1には、無線通信機能を持つ端末6に関する情報、例えば、前記端末6のMACアドレス等も登録しておく。   In the terminal location method using the wireless communication function, as shown in FIG. 18, access points 9A, 9B, and 9C are installed for each of partial locations (spaces) 7A, 7B, and 7C in the network. . At this time, the access points 9A, 9B, and 9C are connected to the ports 801, 802, and 804 of the switch 8 by cables 5A, 5B, and 5C, as shown in FIG. 18, for example. Further, the terminal position detection device 1 is connected to the switch 8. At this time, correspondence information between the access points 9A, 9B, and 9C and the locations 7A, 7B, and 7C is registered in the terminal position detection device 1 in advance. In addition, information related to the terminal 6 having a wireless communication function, for example, the MAC address of the terminal 6 is registered in the terminal position detection device 1.

図18に示したようなネットワークにおいて前記端末6の位置、すなわち、前記端末6がどのロケーションにあるかを検知するときには、まず、前記端末位置検知装置1から前記端末6に検知用の信号を送る。前記端末6は、前記検知用の信号を受信すると、全てのアクセスポイント9A,9B,9Cに位置を知らせるための信号を送信する。前記各アクセスポイント9A,9B,9Cは、前記端末6から送信された信号を受信したら、その受信強度を前記端末位置検知装置1に送信する。そして、前記端末位置検知装置1では、各アクセスポイント9A,9B,9Cから送信された受信強度を比較し、受信強度が一番強いアクセスポイントを選出し、このアクセスポイントに対応したロケーション情報を前記端末6の所在位置とする。図18に示した例では、前記端末6はロケーション7Bにあるので、前記端末6から送信された信号の受信強度は、前記ロケーション7Bに設置されたアクセスポイント9Bが一番大きくなる。そのため、前記端末位置検知装置1は、前記端末6が前記ロケーション7Bにあることがわかる。   When detecting the position of the terminal 6 in the network as shown in FIG. 18, that is, where the terminal 6 is located, first, a detection signal is sent from the terminal position detection device 1 to the terminal 6. . When the terminal 6 receives the detection signal, the terminal 6 transmits a signal for informing the location to all the access points 9A, 9B, 9C. When each of the access points 9A, 9B, 9C receives a signal transmitted from the terminal 6, the access point 9A, 9B, 9C transmits the received intensity to the terminal position detecting device 1. Then, the terminal position detection device 1 compares the reception strengths transmitted from the access points 9A, 9B, 9C, selects the access point having the strongest reception strength, and stores the location information corresponding to the access point in the above-mentioned manner. The location of the terminal 6 is assumed. In the example shown in FIG. 18, since the terminal 6 is located at the location 7B, the reception point 9B installed at the location 7B has the highest reception strength of the signal transmitted from the terminal 6. Therefore, the terminal position detection device 1 knows that the terminal 6 is in the location 7B.

ところが、前記無線通信機能を用いて端末の位置を特定する場合、前記無線通信機能の通信帯域が狭いので、音声や画像、映像等の容量の大きいデータを転送する場合、転送時間が長くなる、パケットロス等の通信品質の低下が生じやすいという問題がある。特に、近年、パーソナルコンピュータ等の端末やネットワーク機器の低価格化、インターネット等の通信回線の高速化にともない、家庭内などで小規模なネットワーク(ホームネットワーク)を構築し、音声データや動画データの通信を行う機会が増えている。また、ホームネットワークでは、例えば、電話着信があったときに、ユーザに一番近い電話機に着信させるサービスや、ユーザの移動に合わせて音楽や動画を転送するサービス等が提案されている。   However, when specifying the position of the terminal using the wireless communication function, since the communication band of the wireless communication function is narrow, when transferring large capacity data such as voice, image, video, the transfer time becomes long. There is a problem that communication quality such as packet loss is likely to deteriorate. In particular, in recent years, with the lower prices of terminals such as personal computers and network devices and the speedup of communication lines such as the Internet, a small network (home network) has been built in the home, etc. Opportunities to communicate are increasing. Also, in the home network, for example, a service for receiving a telephone call closest to the user when a telephone call is received, a service for transferring music and moving images in accordance with the movement of the user, and the like have been proposed.

このように、前記ホームネットワーク等でユーザの位置や移動に合わせてデータの転送先を変えるようなサービスでは、例えば、音声データや動画データのように容量が大きいデータでも品質が安定した通信をするために、無線通信に比べて広帯域な有線LANケーブルで通信しないといけない場合がある。   As described above, in a service in which the data transfer destination is changed according to the position or movement of the user on the home network or the like, for example, communication with stable quality is performed even for data having a large capacity such as audio data or video data. For this reason, it may be necessary to communicate with a wired LAN cable that is wider than wireless communication.

しかしながら、従来は、前記端末にケーブルを接続して有線で通信する場合も、前記端末の位置を検知するためには、前記非特許文献1に記載されたような無線通信機能を利用しなければならない。つまり、前記端末の位置を検出するだけのために、前記端末に無線通信機能を付加しなければならない。
Chen.Y and Kobayashi.H, "Signal Strength Based Indoor Geolocation", IEEE Int Conf Commun, 2002
However, conventionally, even when a cable is connected to the terminal to perform wired communication, in order to detect the position of the terminal, a wireless communication function as described in Non-Patent Document 1 must be used. Don't be. That is, in order to detect only the position of the terminal, a wireless communication function must be added to the terminal.
Chen.Y and Kobayashi.H, "Signal Strength Based Indoor Geolocation", IEEE Int Conf Commun, 2002

本発明が解決しようとする問題点は、前記背景技術で説明したように、無線通信機能を利用して通信を行う端末の場合、地理的(空間的)な位置の特定は容易であるが、大容量データの通信の場合、パケットロス等の通信品質の低下が生じやすいという点である。また、その他の問題点として、端末にケーブルを接続して通信する場合、大容量データの通信における品質の低下は防げるが、端末の位置を特定するために、前記端末に無線通信機能の付加する必要があり、ネットワーク全体のコストが高くなるという点もある。   The problem to be solved by the present invention is that, as described in the background art, in the case of a terminal that performs communication using a wireless communication function, it is easy to specify a geographical (spatial) position, In the case of large-capacity data communication, communication quality such as packet loss is likely to deteriorate. As another problem, when communication is performed by connecting a cable to the terminal, it is possible to prevent deterioration in quality in communication of large-capacity data, but in order to specify the position of the terminal, a wireless communication function is added to the terminal. There is also a point that the cost of the entire network becomes high.

本発明の目的は、端末間がケーブルで接続されたネットワークにおいて、前記各端末が設置された地理的(空間的)な位置の特定を容易にすることが可能な端末位置検知装置、端末位置検知方法を提供することにある。   An object of the present invention is to provide a terminal position detection device and a terminal position detection capable of easily specifying a geographical (spatial) position where each terminal is installed in a network in which terminals are connected by a cable. It is to provide a method.

本発明の目的は、端末間がケーブルで接続されたネットワークにおいて、無線通信機能を利用しなくても前記各端末が設置された地理的(空間的)な位置を特定することが可能な端末位置検知装置、端末位置検知方法を提供することにある。   An object of the present invention is to identify a geographical position (spatial) where each terminal is installed without using a wireless communication function in a network in which terminals are connected by a cable. The object is to provide a detection device and a terminal position detection method.

本発明の前記ならびにその他の目的と新規な特徴は、本明細書の記述及び添付図面によって明らかになるであろう。   The above and other objects and novel features of the present invention will be apparent from the description of this specification and the accompanying drawings.

本願において開示される発明の概略を説明すれば、以下の通りである。   The outline of the invention disclosed in the present application will be described as follows.

(1) 2つ以上のポートを有する1つまたは2つ以上のスイッチと、前記スイッチのポートとケーブルで接続された端末からなり、前記スイッチのうち少なくとも前記端末が接続されたスイッチは前記ポートに直接接続された端末あるいは他のスイッチのMAC(Media Access Control)アドレスを前記ポートと対応付けたテーブル(以下、MACアドレス学習テーブルという)を保持しているネットワーク上で、前記端末の設置位置を検知する端末位置検知装置であって、前記端末の設置位置を管理する手段と、前記端末にIPアドレスを割り当てる手段とを備え、前記端末の設置位置を管理する手段は、前記スイッチのポートもしくは前記スイッチと前記端末の設置位置の対応関係を登録する情報登録手段と、前記IPアドレスを割り当てる手段でIPアドレスを割り当てた端末(以下、検知対象端末という)のMACアドレスを取得する端末アドレス取得手段と、前記スイッチから前記MACアドレス学習テーブルを取得するスイッチ情報取得手段と、前記スイッチ情報取得手段で取得したMACアドレス学習テーブルと前記検知対象端末のMACアドレスから、前記検知対象端末が接続されているポートもしくはスイッチを特定する手段と、前記情報登録手段で登録した対応関係と前記検知対象端末が接続されているポートもしくはスイッチから、前記検知対象端末の設置位置を特定して対応付けをする手段とを備える端末位置検知装置である。   (1) One or two or more switches having two or more ports and a terminal connected to the switch port by a cable, and at least a switch to which the terminal is connected is connected to the port. Detects the location of the terminal on a network that maintains a table (hereinafter referred to as the MAC address learning table) that associates the MAC (Media Access Control) address of a directly connected terminal or other switch with the port. A terminal position detecting device comprising: means for managing an installation position of the terminal; and means for assigning an IP address to the terminal, wherein the means for managing the installation position of the terminal is a port of the switch or the switch Information registration means for registering the correspondence between the installation location of the terminal and the IP address by means for assigning the IP address A terminal address acquisition means for acquiring a MAC address of a terminal to which the terminal is assigned (hereinafter referred to as a detection target terminal), a switch information acquisition means for acquiring the MAC address learning table from the switch, and a MAC acquired by the switch information acquisition means The means for identifying the port or switch to which the detection target terminal is connected from the address learning table and the MAC address of the detection target terminal, the correspondence registered by the information registration means, and the detection target terminal are connected A terminal position detecting device comprising means for identifying and associating an installation position of the detection target terminal from a port or a switch.

(2) 前記(1)において、前記検知対象端末が接続されているポートもしくはスイッチを特定する手段は、前記スイッチ情報取得手段で取得したMACアドレス学習テーブルの中から、前記検知対象端末のMACアドレスを含むテーブルを抽出する手段と、前記抽出したテーブルの、前記検知対象端末のMACアドレスと対応付けられたポートが他のスイッチのMACアドレスとも対応付けられているか判別する手段と、前記検知対象端末のMACアドレスと対応付けられたポートが他のスイッチのMACアドレスとも対応付けられている場合に、前記対応付けられた他のスイッチのMACアドレス学習テーブルを参照して、前記検知対象端末が直接接続されたスイッチを特定する手段とを備える。   (2) In the above (1), the means for specifying the port or switch to which the detection target terminal is connected is the MAC address of the detection target terminal from the MAC address learning table acquired by the switch information acquisition means. Means for extracting a table including: means for determining whether a port associated with a MAC address of the detection target terminal of the extracted table is also associated with a MAC address of another switch; and the detection target terminal When the port associated with the other MAC address is also associated with the MAC address of another switch, the detection target terminal is directly connected with reference to the MAC address learning table of the other associated switch. And a means for identifying the switched switch.

(3) 2つ以上のポートを有する1つまたは2つ以上のスイッチと、前記スイッチのポートとケーブルで接続された端末からなり、前記スイッチのうち少なくとも前記端末が接続されたスイッチは前記ポートに直接接続された端末あるいは他のスイッチのMAC(Media Access Control)アドレスを前記ポートと対応付けたテーブル(以下、MACアドレス学習テーブルという)を保持しているネットワーク上で、前記端末の設置位置を検知する端末位置検知方法であって、前記スイッチのポートもしくは前記スイッチと前記端末の設置位置の対応関係を登録するステップ1と、前記スイッチに接続された端末にIPアドレスを割り当てるステップ2と、前記ステップ2でIPアドレスを割り当てた端末(以下、検知対象端末という)のMACアドレスを取得するするステップ3と、前記スイッチから前記MACアドレス学習テーブルを取得するステップ4と、前記ステップ4で取得したMACアドレス学習テーブルと前記検知対象端末のMACアドレスから、前記検知対象端末が接続されているポートもしくはスイッチを特定するステップ5と、前記ステップ1で登録した対応関係と前記ステップ4で特定した前記検知対象端末が接続されているポートもしくはスイッチから、前記検知対象端末の設置位置を特定して対応付けをするステップ6とを有する端末位置検知方法である。   (3) One or two or more switches having two or more ports and a terminal connected to the switch port by a cable, and at least a switch to which the terminal is connected is connected to the port. Detects the location of the terminal on a network that maintains a table (hereinafter referred to as the MAC address learning table) that associates the MAC (Media Access Control) address of a directly connected terminal or other switch with the port. A terminal position detecting method for registering a correspondence relationship between a port of the switch or the switch and an installation position of the terminal; a step for assigning an IP address to a terminal connected to the switch; and the step 2. Obtain the MAC address of the terminal to which the IP address was assigned in step 2 (hereinafter referred to as the detection target terminal) Step 3, Step 4 for acquiring the MAC address learning table from the switch, Port from which the detection target terminal is connected based on the MAC address learning table acquired in Step 4 and the MAC address of the detection target terminal Step 5 for specifying the switch, and the correspondence relationship registered in Step 1 and the port or switch to which the detection target terminal specified in Step 4 is connected are specified and associated with each other. A terminal position detection method comprising:

(4) 前記(3)において、前記ステップ5は、前記ステップ4で取得したMACアドレス学習テーブルの中から、前記検知対象端末のMACアドレスを含むテーブルを抽出するステップ7と、前記抽出したテーブルの、前記検知対象端末のMACアドレスと対応付けられたポートが他のスイッチのMACアドレスとも対応付けられているか判別するステップ8と、前記検知対象端末のMACアドレスと対応付けられたポートが他のスイッチのMACアドレスとも対応付けられている場合に、前記対応付けられた他のスイッチのMACアドレス学習テーブルを参照するステップ9と、前記ステップ8および前記ステップ9を繰り返して、前記検知対象端末が直接接続されたスイッチを特定するステップ10とを有する。   (4) In the step (3), the step 5 includes a step 7 for extracting a table including the MAC address of the detection target terminal from the MAC address learning table acquired in the step 4; Determining whether the port associated with the MAC address of the detection target terminal is associated with the MAC address of another switch; and determining whether the port associated with the MAC address of the detection target terminal is another switch. When the MAC address is associated with the MAC address, the step 9 of referring to the MAC address learning table of the other associated switch, the step 8 and the step 9 are repeated, and the detection target terminal is directly connected. And step 10 for identifying the designated switch.

(5) 前記(3)または(4)において、外部から前記端末の設置位置の検索要求があった場合、あるいはあらかじめ定められた時間間隔で、前記各ステップの処理を行い、前記端末と設置位置の対応関係を更新する。   (5) In the above (3) or (4), when there is a search request for the installation position of the terminal from the outside, or at a predetermined time interval, the processing of each step is performed, and the terminal and the installation position Update the correspondence of.

本発明の端末位置検知装置は、前記(1)に記載したように、前記検知対象端末のMACアドレス、前記スイッチが保持するMACアドレス学習テーブル、および前記情報登録手段で登録した対応関係に基づいて、前記検知対象端末の設置位置を特定する。そのため、従来のような無線通信機能を利用しなくても、前記検知対象端末が設置された位置を容易に特定することができる。   As described in (1) above, the terminal position detection device of the present invention is based on the MAC address of the detection target terminal, the MAC address learning table held by the switch, and the correspondence registered by the information registration means. The installation position of the detection target terminal is specified. Therefore, it is possible to easily specify the position where the detection target terminal is installed without using a conventional wireless communication function.

また、端末位置検知装置が、前記(2)に記載したような各手段を備えていれば、例えば、前記MACアドレス学習テーブルを保持するスイッチが多段に接続されているネットワークにおいても、前記検知対象端末の設置位置を容易に特定することができる。   In addition, if the terminal position detection device includes each unit as described in (2) above, for example, even in a network in which switches holding the MAC address learning table are connected in multiple stages, the detection target The installation position of the terminal can be easily specified.

また、前記(1)に記載したような端末位置検知装置を用いて前記検知対象端末の設置位置を特定するときには、前記(3)に記載した各ステップを実行すればよいので、容易に特定することができる。また、前記(2)に記載したような端末位置検知装置の場合は、前記(4)に記載した各ステップを実行すればよい。   In addition, when the installation position of the detection target terminal is specified using the terminal position detection device as described in (1), the steps described in (3) may be executed. be able to. In the case of the terminal position detection device as described in (2) above, each step described in (4) may be executed.

また、前記端末は、接続するポートをあるポートから別のポートに換えた場合、例えば、自動的にIPアドレスを再取得する端末もあるが、端末の種類によっては、手動でIPアドレスを再取得しなければならない端末もある。自動的にIPアドレスを取得した場合や、ユーザが手動でIPアドレスを取得した場合は、前記IPアドレスを取得することで、および前記端末のMACアドレスと設置位置の対応関係が更新されるが、IPアドレスを再取得していないと、端末の実際の位置と端末位置検知装置で保持する対応関係が一致しなくなる。そのため、例えば、外部から前記端末の位置を検索したときに、実際に端末が設置されている位置とは別の位置情報を返してしまうことがある。このような問題を防ぐためには、前記MACアドレス学習テーブルを参照して、前記端末が現在どのポートに接続されているか解析し、前記端末とその設置位置の対応関係を更新すればよい。ただし、前記スイッチによっては、前記端末が一定時間通信を行わないと前記MACアドレス学習テーブルからその端末のMACアドレスが消えることがある。そこで、前記端末とその設置位置の対応関係を更新するときには、例えば、前記(5)に記載したように、外部から前記端末の設置位置の検索要求があった場合、あるいはあらかじめ定められた時間間隔で、前記端末と通信を行い、前記端末が現在接続されているポートを前記スイッチに学習させてから前記MACアドレス学習テーブルを取得すし、前記(3)または(4)に記載したようなステップを実行すればよい。   In addition, when the port to be connected is changed from one port to another, for example, there are terminals that automatically reacquire the IP address, but depending on the type of terminal, the IP address is manually reacquired Some terminals must be done. When the IP address is automatically acquired or when the user manually acquires the IP address, the correspondence between the MAC address of the terminal and the installation position is updated by acquiring the IP address, If the IP address is not reacquired, the actual position of the terminal and the correspondence held by the terminal position detection device will not match. Therefore, for example, when searching for the position of the terminal from the outside, position information different from the position where the terminal is actually installed may be returned. In order to prevent such a problem, it is only necessary to refer to the MAC address learning table, analyze which port the terminal is currently connected to, and update the correspondence between the terminal and its installation position. However, depending on the switch, the MAC address of the terminal may disappear from the MAC address learning table if the terminal does not communicate for a certain period of time. Thus, when updating the correspondence between the terminal and its installation position, for example, as described in (5) above, when there is a search request for the installation position of the terminal from the outside, or a predetermined time interval Then, communicating with the terminal, causing the switch to learn the port to which the terminal is currently connected, obtaining the MAC address learning table, and performing the steps as described in (3) or (4) Just do it.

また、前記(3)から(5)に記載したような各ステップをコンピュータに実行させるプログラムを用意すれば、パーソナルコンピュータのような汎用的な装置(計算機)を前記端末位置検知装置として用いることができる。この場合、前記プログラムは、例えば、磁気的,電気的,光学的な記録媒体を用いて提供することもできるし、インターネット等のネットワークを通して提供することもできる。   Further, if a program for causing a computer to execute the steps described in (3) to (5) above is prepared, a general-purpose device (computer) such as a personal computer can be used as the terminal position detection device. it can. In this case, the program can be provided using, for example, a magnetic, electrical, or optical recording medium, or can be provided through a network such as the Internet.

以下、本発明について、図面を参照して実施の形態(実施例)とともに詳細に説明する。
なお、実施例を説明するための全図において、同一機能を有するものは、同一符号を付け、その繰り返しの説明は省略する。
Hereinafter, the present invention will be described in detail together with embodiments (examples) with reference to the drawings.
In all the drawings for explaining the embodiments, parts having the same function are given the same reference numerals and their repeated explanation is omitted.

本発明の端末位置検知装置では、前記検知対象端末のMACアドレス、前記スイッチが保持するMACアドレス学習テーブル、および前記情報登録手段で登録した対応関係に基づいて、前記検知対象端末の設置位置を特定することで、無線通信機能を用いることなく、前記端末が設置された位置を検知する。   In the terminal position detection device of the present invention, the installation position of the detection target terminal is specified based on the MAC address of the detection target terminal, the MAC address learning table held by the switch, and the correspondence registered by the information registration unit Thus, the position where the terminal is installed is detected without using the wireless communication function.

図1は、本発明にかかる端末位置検知装置の概略構成を示す模式図である。
図1において、1は端末位置検知装置、101はDHCPサーバ、102は端末位置管理手段、102Aは情報登録手段、102Bは端末アドレス取得手段、102Cはスイッチ情報取得手段、102Dは情報処理手段、102Eはデータ管理手段、102Fは情報検索手段、103は処理制御手段、2はインテリジェントスイッチである。
FIG. 1 is a schematic diagram showing a schematic configuration of a terminal position detection apparatus according to the present invention.
In FIG. 1, 1 is a terminal location detection device, 101 is a DHCP server, 102 is a terminal location management means, 102A is an information registration means, 102B is a terminal address acquisition means, 102C is a switch information acquisition means, 102D is an information processing means, 102E Is a data management means, 102F is an information search means, 103 is a processing control means, and 2 is an intelligent switch.

本発明の端末位置検知装置1は、図1に示すように、ネットワークに接続された端末にIPアドレスを割り当てるDHCPサーバ101と、前記ネットワークに接続された端末の設置位置(以下、ロケーションという)を検知、管理する端末位置管理手段102と、前記DHCPサーバ101および端末位置管理手段102で行う処理を制御する処理制御手段103とにより構成される。   As shown in FIG. 1, a terminal position detection apparatus 1 according to the present invention includes a DHCP server 101 that assigns IP addresses to terminals connected to a network, and an installation position (hereinafter referred to as a location) of the terminals connected to the network. A terminal location management unit 102 that detects and manages, and a process control unit 103 that controls processing performed by the DHCP server 101 and the terminal location management unit 102 are configured.

また、前記端末位置管理手段102は、図1に示したように、前記インテリジェントスイッチ2のポートとロケーションの対応関係を登録する情報登録手段102Aと、ロケーションを検知する端末(以下、検知対象端末という)のMACアドレスを取得する端末アドレス取得手段102Bと、前記インテリジェントスイッチ2から前記MACアドレス学習テーブルを取得するスイッチ情報取得手段102Cと、前記検知対象端末のMACアドレスおよび前記MACアドレス学習テーブル、ならびに前記情報登録手段102Aにより登録したポートとロケーションの対応関係から前記検知対象端末のロケーションを特定する処理を行う情報処理手段102Dと、前記ポートとロケーションの対応関係および前記検知対象端末とロケーションの対応関係等を保持するデータ管理手段102Eと、外部から前記ネットワーク上の端末のロケーションを検索する情報検索手段102Fとを備える。   Further, as shown in FIG. 1, the terminal location management means 102 includes an information registration means 102A for registering the correspondence relationship between the port of the intelligent switch 2 and a location, a terminal for detecting a location (hereinafter referred to as a detection target terminal). ) Terminal address acquisition means 102B for acquiring the MAC address, switch information acquisition means 102C for acquiring the MAC address learning table from the intelligent switch 2, MAC address and MAC address learning table of the detection target terminal, and Information processing means 102D for performing processing for specifying the location of the detection target terminal from the correspondence relationship between the port and location registered by the information registration means 102A, the correspondence relationship between the port and the location, the correspondence relationship between the detection target terminal and the location, etc. Hold Provided that the data management unit 102E, and an information retrieval unit 102F for retrieving the location of the terminal on the network from the outside.

また、前記処理制御手段103には、例えば、図1に示すように、前記ネットワーク上のインテリジェントスイッチ2と接続される。   Further, the processing control means 103 is connected to the intelligent switch 2 on the network, for example, as shown in FIG.

前記インテリジェントスイッチ2は、Ethernetポート(Ethernetは登録商標)のような複数の通信ポート201,202,203,204を持つ。また、前記インテリジェントスイッチ2は、各ポート201,202,203,204の下に接続されている端末のMACアドレスを学習する機能を持つ。そして、学習したMACアドレスは前記ポートと対応付けされて学習テーブル(以下、MACアドレス学習テーブルという)に格納される。また、前記インテリジェントスイッチ2の中には、SNMP(Simple Network Management Protocol)エージェントがあり、外部から前記SNMPを用いて前記MACアドレス学習テーブルを取得することができるようになっている。   The intelligent switch 2 has a plurality of communication ports 201, 202, 203, 204 such as Ethernet ports (Ethernet is a registered trademark). The intelligent switch 2 has a function of learning the MAC address of a terminal connected under each port 201, 202, 203, 204. The learned MAC address is associated with the port and stored in a learning table (hereinafter referred to as a MAC address learning table). The intelligent switch 2 includes an SNMP (Simple Network Management Protocol) agent that can acquire the MAC address learning table from the outside using the SNMP.

図2および図3は、本発明の端末位置検知装置を用いた検知方法を説明するための模式図であり、図2は事前準備の手順を示すフロー図、図3は端末の位置の検知手順を示すフロー図である。   2 and 3 are schematic diagrams for explaining a detection method using the terminal position detection device of the present invention. FIG. 2 is a flowchart showing a preparation procedure, and FIG. 3 is a terminal position detection procedure. FIG.

本発明の端末位置検知装置1を用いて、ネットワーク上の端末のロケーション(設置位置)を検知するためには、まず、図2に示すように、前記端末位置検知装置1を設置する(ステップ301)。次に、前記インテリジェントスイッチ2を設置し、前記端末位置検知装置1と接続する(ステップ302)。次に、前記インテリジェントスイッチ2の各ポート201,202,203,204にケーブルを接続し、前記ケーブルを端末を設置する位置(ロケーション)まで配線する(ステップ303)。次に、前記情報登録手段102Aにより、前記インテリジェントスイッチ2の各ポート201,202,203,204に接続したケーブルの敷設先のロケーション情報を前記各ポートと対応づけて前記端末位置検知装置1に登録する(ステップ304)。   In order to detect the location (installation position) of the terminal on the network using the terminal position detection apparatus 1 of the present invention, first, the terminal position detection apparatus 1 is installed as shown in FIG. 2 (step 301). ). Next, the intelligent switch 2 is installed and connected to the terminal position detection device 1 (step 302). Next, a cable is connected to each port 201, 202, 203, 204 of the intelligent switch 2, and the cable is wired to a position (location) where a terminal is installed (step 303). Next, the information registration means 102A registers the location information of the laying destination of the cable connected to each port 201, 202, 203, 204 of the intelligent switch 2 in the terminal position detecting device 1 in association with each port. (Step 304).

このとき、前記ロケーションは、前記端末位置検知装置1あるいはネットワークの管理者が任意に定義することができる。そのため、例えば、家屋やビルの1階を第1ロケーション、2階を第2ロケーションとして定義することもできる。また、その他にも、例えば、1つの階のある部屋を第1ロケーション、その隣の部屋を第2ロケーションとしたり、ある部屋の中の特定エリアを第1ロケーション、別の特定エリアを第2ロケーションというように定義することもできる。   At this time, the location can be arbitrarily defined by the terminal position detection device 1 or a network administrator. Therefore, for example, the first floor of a house or building can be defined as a first location and the second floor as a second location. In addition, for example, a room on one floor is a first location, a room next to it is a second location, a specific area in a room is a first location, and another specific area is a second location. It can also be defined as follows.

以上の手順により、前記端末位置検知装置1に関する事前準備をしたら、次に、前記インテリジェントスイッチ2に端末を接続してネットワークを構築し、前記端末のロケーションを検知する。そのため、まず、図3に示すように、前記端末位置検知装置1のDHCPサーバ101および端末位置管理手段102を起動する(ステップ401)。次に、前記各ロケーションに敷設されたケーブルを、DHCPクライアント機能を起動した端末に接続する(ステップ402)。なお、前記ステップ402は、前記ケーブルを端末に接続した後、前記DHCPクライアント機能を起動させてもよい。   Once the terminal position detection device 1 is prepared in advance by the above procedure, a terminal is connected to the intelligent switch 2 to construct a network, and the location of the terminal is detected. Therefore, first, as shown in FIG. 3, the DHCP server 101 and the terminal location management means 102 of the terminal location detecting device 1 are activated (step 401). Next, the cable laid at each location is connected to the terminal that has activated the DHCP client function (step 402). The step 402 may activate the DHCP client function after connecting the cable to the terminal.

前記ケーブルを介して前記インテリジェントスイッチ2に接続した端末を、ネットワーク上の他の端末やインターネット等に接続するためには、前記端末にIPアドレスを割り当てる必要がある。そこで次に、前記インテリジェントスイッチ2に接続された端末にIPアドレスを割り当てる(ステップ403)。ここで、前記ステップ403の処理について簡単に説明する。前記DHCPクライアント機能を起動した端末に前記ケーブルを接続し、前記端末がネットワークに接続された状態になると、前記端末は、ブロードキャストでIPアドレスの申請要求をdiscoverパケットとしてネットワークに送信する。このdiscoverパケットを前記端末位置検知装置1の処理制御手段103が受信すると、IPアドレスの申請要求であると判定され、前記DHCPサーバ101に転送される。前記DHCPサーバ101は、IPアドレスのリスト(IPアドレスプール)を持っており、前記端末から申請があると、前記IPアドレスプールからIPアドレスを1つ選んでその端末(DHCPクライアント)に割り当て、offerパケットとして返信する。前記端末(DHCPクライアント)は、前記offerパケットを受信した後、そのIPアドレスを使いたいという意思を表すために、再びブロードキャストでRequestパケットを送信する。これを了承した前記DHCPサーバ101はPACKパケットを返信する。このとき、前記DHCPサーバ101では、前記PACKパケットを返信すると同時に、前記端末(DHCPクライアント)のMACアドレスとIPアドレスのペアをリリースファイルに記録する。   In order to connect a terminal connected to the intelligent switch 2 via the cable to another terminal on the network or the Internet, it is necessary to assign an IP address to the terminal. Then, next, an IP address is assigned to the terminal connected to the intelligent switch 2 (step 403). Here, the processing of step 403 will be briefly described. When the cable is connected to a terminal that has activated the DHCP client function and the terminal is connected to the network, the terminal transmits an application request for an IP address by broadcast as a discover packet to the network. When the processing control means 103 of the terminal position detection apparatus 1 receives this discover packet, it is determined that the request is an IP address application request and is transferred to the DHCP server 101. The DHCP server 101 has a list of IP addresses (IP address pool). When an application is made from the terminal, one IP address is selected from the IP address pool and assigned to the terminal (DHCP client). Reply as a packet. After receiving the offer packet, the terminal (DHCP client) transmits a Request packet again by broadcast in order to express an intention to use the IP address. The DHCP server 101 that acknowledges this returns a PACK packet. At this time, the DHCP server 101 sends back the PACK packet and simultaneously records the MAC address / IP address pair of the terminal (DHCP client) in a release file.

前記ステップ403で、前記ネットワークに接続された端末にIPアドレスを割り当てたら、次に、前記IPアドレスを割り当てた端末のロケーションを特定する(ステップ404)。   If an IP address is assigned to the terminal connected to the network in step 403, the location of the terminal to which the IP address is assigned is specified (step 404).

前記ステップ404で前記端末のロケーションを特定する手順について簡単に説明すると、まず、前記端末アドレス取得手段102Bが、前記ロケーションを特定する端末(以下検知対象端末という)のMACアドレスおよび割り当てられたIPアドレスを取得する。前記MACアドレスおよびIPアドレスの取得方法には、例えば、前記処理制御手段103と連携して前記DHCPサーバ101が前記端末に送信したPACKパケットをキャプチャし、前記PACKパケットから前記検知対象端末のMACアドレスと割り当てられたIPアドレスを取得する方法がある。この方法を利用する場合、前記検知対象端末のMACアドレスおよびIPアドレスを瞬時に取得することができる。また、その他にも、例えば、前記DHCPサーバ101のリリースファイルを解析する方法がある。前記リリースファイルには、前記検知対象端末を含めたIPアドレスを割り当てている全ての端末のMACアドレスと割り当てたIPアドレスのペアが記録されている。そのため、前記端末アドレス取得手段102Bが一定の時間間隔で前記リリースファイルを取得し、解析することで新たにネットワークに接続された前記検知対象端末のMACアドレスおよびIPアドレスを取得することができる。   The procedure for specifying the location of the terminal in step 404 will be briefly described. First, the MAC address and the assigned IP address of the terminal (hereinafter referred to as a detection target terminal) by which the terminal address acquisition unit 102B specifies the location. To get. The MAC address and IP address acquisition method includes, for example, capturing a PACK packet transmitted from the DHCP server 101 to the terminal in cooperation with the processing control unit 103, and detecting the MAC address of the detection target terminal from the PACK packet. And there is a way to get the assigned IP address. When this method is used, the MAC address and IP address of the detection target terminal can be obtained instantaneously. In addition, for example, there is a method of analyzing a release file of the DHCP server 101. In the release file, pairs of MAC addresses of all terminals to which IP addresses including the detection target terminal are assigned and assigned IP addresses are recorded. Therefore, the terminal address acquisition unit 102B can acquire the MAC address and IP address of the detection target terminal newly connected to the network by acquiring and analyzing the release file at regular time intervals.

また、前記端末アドレス取得手段102Bが取得した前記検知対象端末のMACアドレスおよびIPアドレスは、前記情報処理手段102Dに送られる。このとき、前記情報処理手段102Dは、前記スイッチ情報取得手段102Cに、前記検知対象端末が接続されたポートを特定させる。前記スイッチ情報取得手段102Cでは、前記インテリジェントスイッチ2から前記MACアドレス学習テーブルを取得し、前記検知対象端末のMACアドレスと対応づけられたポートを取得し、そのポート情報を前記情報処理手段102Dに渡す。   Further, the MAC address and IP address of the detection target terminal acquired by the terminal address acquisition unit 102B are sent to the information processing unit 102D. At this time, the information processing unit 102D causes the switch information acquiring unit 102C to identify the port to which the detection target terminal is connected. The switch information acquisition unit 102C acquires the MAC address learning table from the intelligent switch 2, acquires a port associated with the MAC address of the detection target terminal, and passes the port information to the information processing unit 102D. .

前記情報処理手段102Dは、前記検知対象端末と対応づけられたポート情報を受け取ったら、今度は、例えば、前記データ管理手段が保持している事前登録データ、すなわちポートとロケーションの対応関係が登録されたデータを参照する。そして、前記検知対象端末が接続されたポートと対応するロケーション情報を取得する。   When the information processing unit 102D receives the port information associated with the detection target terminal, this time, for example, the pre-registration data held by the data management unit, that is, the correspondence between the port and the location is registered. Refer to the data. Then, the location information corresponding to the port to which the detection target terminal is connected is acquired.

その後、例えば、端末のMACアドレスとロケーションの対応関係を表すテーブル(以下、端末位置管理テーブルという)に、前記検知対象端末のMACアドレスが登録されているか調べ、登録されていなければ、前記検知対象端末のMACアドレスと前記取得したロケーション情報の組を前記端末位置管理テーブルに追加する。また、前記検知対象端末のMACアドレスが登録されている場合は、すでに登録されているロケーション情報と取得したロケーション情報を比較する。このとき、ロケーション情報が同じであればそのまま処理を終了する。また、ロケーション情報が異なる場合は、すでに登録されているロケーション情報を取得したロケーション情報に更新する。   Thereafter, for example, it is checked whether or not the MAC address of the detection target terminal is registered in a table (hereinafter referred to as a terminal location management table) indicating the correspondence between the MAC address of the terminal and the location. A set of the MAC address of the terminal and the acquired location information is added to the terminal location management table. If the MAC address of the detection target terminal is registered, the already registered location information is compared with the acquired location information. At this time, if the location information is the same, the process ends. If the location information is different, the already registered location information is updated to the acquired location information.

以上のような手順で、ネットワークに接続された端末のロケーションを特定すれば、従来のような無線通信機能を利用しなくても、前記端末のロケーションを特定することができる。以下、いくつかのネットワーク構成の例を挙げ、それぞれの場合について、前記端末のロケーションを特定する具体的な処理手順を説明する。   If the location of the terminal connected to the network is specified by the procedure as described above, the location of the terminal can be specified without using the conventional wireless communication function. Hereinafter, several examples of network configurations will be given, and specific processing procedures for specifying the location of the terminal will be described for each case.

図4乃至図6は、本発明による実施例1の端末位置の検知方法を説明するための模式図であり、図4(a)は前記端末位置検知装置で端末の位置を検知するネットワークの構成例を示すブロック図、図4(b)は事前に登録するロケーション情報の一例を示すテーブル、図5は端末のロケーションを特定するステップの具体的な処理手順の一例を示すフロー図、図6(a)はDHCPサーバのリリースファイルの一例を示すテーブル、図6(b)はMACアドレス学習テーブルの一例を示す表、図6(c)は端末位置管理テーブルの一例を示す表である。   4 to 6 are schematic diagrams for explaining the terminal position detection method according to the first embodiment of the present invention, and FIG. 4A is a network configuration for detecting the terminal position by the terminal position detection device. 4 is a block diagram showing an example, FIG. 4B is a table showing an example of location information to be registered in advance, FIG. 5 is a flowchart showing an example of a specific processing procedure of the step of specifying the location of the terminal, and FIG. FIG. 6B is a table showing an example of a MAC address learning table, and FIG. 6C is a table showing an example of a terminal location management table.

本実施例1では、前記端末位置検知装置1を用いて、例えば、図4(a)に示すように、1つのインテリジェントスイッチ2と、前記インテリジェントスイッチ2の各ポート201,202,203,204とケーブル5A,5B,5C,5Dで直接接続された第1端末6A,第2端末6B,第3端末6C,第4端末6Dからなるネットワークにおいて、前記各端末6A,6B,6C,6Dのロケーションを特定(検知)する場合について説明する。   In the first embodiment, using the terminal position detection device 1, for example, as shown in FIG. 4A, one intelligent switch 2 and each port 201, 202, 203, 204 of the intelligent switch 2 In the network composed of the first terminal 6A, the second terminal 6B, the third terminal 6C, and the fourth terminal 6D directly connected by the cables 5A, 5B, 5C, and 5D, the locations of the terminals 6A, 6B, 6C, and 6D A case of specifying (detecting) will be described.

またこのとき、前記ネットワーク上には、図4(a)に示したように、第1ロケーション7Aと第2ロケーション7Bの2つのロケーションが定義されているとする。また、前記インテリジェントスイッチ2の第1ポート201および第2ポート202に接続されたケーブル5A,5Bは前記第1ロケーション7Aに敷設されているとし、第3ポート203および第4ポート204に接続されたケーブル5C,5Dは前記第2ロケーション7Bに敷設されているとする。すなわち、本実施例1の場合、前記ステップ304で登録する前記インテリジェントスイッチ2の各ポート201,202,203,204とロケーションの対応関係は、図4(b)に示したような位置情報対応テーブルで与えられる。   At this time, it is assumed that two locations of the first location 7A and the second location 7B are defined on the network as shown in FIG. The cables 5A and 5B connected to the first port 201 and the second port 202 of the intelligent switch 2 are installed in the first location 7A, and are connected to the third port 203 and the fourth port 204. Assume that the cables 5C and 5D are laid at the second location 7B. That is, in the case of the first embodiment, the correspondence relationship between each port 201, 202, 203, 204 of the intelligent switch 2 registered in step 304 and the location is a position information correspondence table as shown in FIG. Given in.

このようにして事前準備および前記ステップ401からステップ403までの手続きを済ませた後、前記ステップ404の処理を行うときには、例えば、図5に示すように、まず、前記検知対象端末のMACアドレスおよびIPアドレスを取得する(ステップ40401)。このとき、前記MACアドレスおよび前記IPアドレスは、例えば、前述のように、前記端末アドレス取得手段102Bにおいて、前記処理制御手段103と連携して前記DHCPサーバ101から返信されたPACKパケットをキャプチャして取得する。また、前記PACKパケットをキャプチャする代わりに、前記DHCPサーバ101が保持している、図6(a)に示すようなリリースファイルから取得してもよい。   After the preliminary preparation and the procedures from step 401 to step 403 are completed in this way, when performing the process of step 404, for example, as shown in FIG. An address is acquired (step 40401). At this time, for example, as described above, the MAC address and the IP address are obtained by capturing the PACK packet returned from the DHCP server 101 in cooperation with the processing control unit 103 in the terminal address acquisition unit 102B. get. Further, instead of capturing the PACK packet, it may be obtained from a release file as shown in FIG. 6A held by the DHCP server 101.

前記ステップ40401で取得した前記検知対象端末のMACアドレスおよびIPアドレスは、前記情報処理手段102Dに渡される。そして次に、前記スイッチ情報取得手段102Cにより前記インテリジェントスイッチ2から、図6(b)に示すような前記MACアドレス学習テーブルを取得する(ステップ40402)。そして、取得した前記MACアドレス学習テーブルから、前記検知対象端末のMACアドレスと対応するポート番号を取得する(ステップ40403)。このとき、例えば、前記検知対象端末のMACアドレスが前記第2端末6BのMACアドレスであるとすれば、図6(b)に示したMACアドレス学習テーブルから、前記第2端末6Bが接続されているのは第2ポート202であることがわかる。   The MAC address and IP address of the detection target terminal acquired in step 40401 are passed to the information processing means 102D. Next, the MAC address learning table as shown in FIG. 6B is acquired from the intelligent switch 2 by the switch information acquisition means 102C (step 40402). Then, a port number corresponding to the MAC address of the detection target terminal is acquired from the acquired MAC address learning table (step 40403). At this time, for example, if the MAC address of the detection target terminal is the MAC address of the second terminal 6B, the second terminal 6B is connected from the MAC address learning table shown in FIG. It can be seen that the second port 202 is present.

次に、事前に登録しておいた前記位置情報対応テーブルを参照して、前記ステップ40403で取得したポート番号と対応するロケーション情報を取得する(ステップ40404)。   Next, referring to the position information correspondence table registered in advance, the location information corresponding to the port number obtained in step 40403 is obtained (step 40404).

次に、例えば、前記データ管理手段102Eで保持している、端末のMACアドレスとロケーション情報の対応関係を表す端末位置管理テーブルを参照し、前記検知対象端末のMACアドレスと対応するロケーション情報が含まれているか調べる(ステップ40405,40406)。このとき、含まれていなければ、前記検知対象端末のMACアドレスと前記ステップ40404で取得したロケーション情報を対応づけて、前記端末位置管理テーブルに追加し(ステップ40407)、ステップ404の処理を終了する。   Next, for example, referring to a terminal location management table representing the correspondence between the MAC address of the terminal and the location information held by the data management unit 102E, the location information corresponding to the MAC address of the detection target terminal is included. (Steps 40405 and 40406). At this time, if not included, the MAC address of the detection target terminal is associated with the location information acquired in step 40404 and added to the terminal location management table (step 40407), and the process of step 404 is terminated. .

一方、前記端末位置管理テーブルに、すでに、前記検知対象端末のMACアドレスと対応するロケーション情報が含まれている場合は、次に、対応付けされているロケーション情報と前記ステップ40404で取得したロケーション情報が同一であるか判定する(ステップ40408)。このとき、同一であれば、前記検知対象端末のMACアドレスとロケーション情報の対応関係に変更がないことになるので、そのまま前記ステップ404の処理を終了する。また、ロケーション情報が異なる場合は、前記端末位置管理テーブルの前記検知対象端末のMACアドレスと対応付けされたロケーション情報を、前記ステップ40404で取得したロケーション情報に更新し(ステップ40409)、前記ステップ404の処理を終了する。そして、これらの処理を、前記第1端末6A,第2端末6B,第3端末6C,第4端末6Dの各端末のMACアドレスに対して行うと、図6(c)に示すように、前記各端末6A,6B,6C,6DのMACアドレスとロケーション情報が対応づけられた端末位置管理テーブルが得られる。   On the other hand, if the location information corresponding to the MAC address of the detection target terminal is already included in the terminal location management table, then the location information associated with the location information acquired in step 40404 Are the same (step 40408). At this time, if they are the same, there is no change in the correspondence between the MAC address of the detection target terminal and the location information, so the processing of step 404 is terminated as it is. If the location information is different, the location information associated with the MAC address of the detection target terminal in the terminal location management table is updated to the location information acquired in step 40404 (step 40409), and the step 404 Terminate the process. Then, when these processes are performed on the MAC addresses of the first terminal 6A, the second terminal 6B, the third terminal 6C, and the fourth terminal 6D, as shown in FIG. A terminal location management table in which the MAC address of each terminal 6A, 6B, 6C, 6D is associated with the location information is obtained.

以上のような手順で得られた前記各端末6A,6B,6C,6DのMACアドレスとロケーション情報が対応づけられた端末位置管理テーブルは、例えば、前記データ管理手段102Eで保持しておく。そうすると、例えば、前記ネットワークの外部にある端末から前記情報検索手段102Fを介して、前記ネットワーク上にある各端末6A,6B,6C,6Dのロケーションの検索要請を受けたときに、前記端末位置管理テーブルを参照することで、容易に、前記ネットワーク上の各端末のロケーションを通知することができる。   A terminal location management table in which the MAC address of each of the terminals 6A, 6B, 6C, and 6D obtained by the procedure as described above is associated with location information is held by, for example, the data management unit 102E. Then, for example, when a search request for the location of each terminal 6A, 6B, 6C, 6D on the network is received from a terminal outside the network via the information search means 102F, the terminal location management is performed. By referring to the table, the location of each terminal on the network can be easily notified.

またこのとき、前記検知対象端末のMACアドレスとともに取得したIPアドレスも合わせて、前記端末位置管理テーブルに登録しておけば、前記ネットワークの外部にある端末が前記ネットワーク上の端末のロケーションを検索するときに、前記MACアドレスの代わりに、前記IPアドレスを指定して検索することができる。   At this time, if the IP address acquired together with the MAC address of the detection target terminal is also registered in the terminal location management table, a terminal outside the network searches for the location of the terminal on the network. Sometimes, it is possible to search by specifying the IP address instead of the MAC address.

以上説明したように、本実施例1の端末位置検知方法によれば、DHCPサーバから取得した検知対象端末のMACアドレス、前記インテリジェントスイッチ2から取得したMACアドレス学習テーブル、事前に登録した前記位置情報対応テーブルを用いて、前記検知対象端末のロケーションを特定するため、無線通信機能がないネットワークでも、容易に端末の位置(ロケーション)を特定することができる。   As described above, according to the terminal position detection method of the first embodiment, the MAC address of the detection target terminal acquired from the DHCP server, the MAC address learning table acquired from the intelligent switch 2, the position information registered in advance. Since the location of the detection target terminal is specified using the correspondence table, the position (location) of the terminal can be easily specified even in a network without a wireless communication function.

また、有線のネットワークでも、容易に端末の位置を特定することができるので、音声や動画等の大容量のデータを転送するようなサービスでも、通信品質の低下を防ぐことができる。   In addition, since the location of the terminal can be easily specified even in a wired network, it is possible to prevent a reduction in communication quality even in a service that transfers a large amount of data such as voice and video.

また、本実施例1で説明したような方法で端末のロケーションを特定する場合、前記端末位置検知装置1は、コンピュータと、前記ステップ304やステップ404の処理を前記コンピュータに実行させるプログラムによっても実現することができる。このとき、前記プログラムは、例えば、磁気的,電気的,光学的な記録媒体によって提供することもできるし、インターネット等のネットワークを通して提供することもできる。   Further, when the location of a terminal is specified by the method described in the first embodiment, the terminal position detection device 1 is also realized by a computer and a program that causes the computer to execute the processing of step 304 and step 404. can do. At this time, the program can be provided by, for example, a magnetic, electrical, or optical recording medium, or can be provided through a network such as the Internet.

図7乃至図9は、前記実施例1の応用例を説明するための模式図であり、図7(a)はある時のネットワークの状態を示す図、図7(b)は第2端末を別のロケーションに移動させた状態を示す図、図8(a)は第2端末を移動する前の端末位置管理テーブル、図8(b)は第2端末を移動した後、IPアドレスの割り当てを再度要請した場合の端末位置管理テーブル、図8(c)は第2端末を移動した後、IPアドレスの割り当てを要請していない場合の端末位置管理テーブル、図9は端末位置管理テーブルの更新処理手順を示すフロー図である。   7 to 9 are schematic diagrams for explaining an application example of the first embodiment. FIG. 7A is a diagram illustrating a state of a network at a certain time, and FIG. 7B is a diagram illustrating a second terminal. FIG. 8A is a diagram showing a state where the terminal is moved to another location, FIG. 8A is a terminal position management table before moving the second terminal, and FIG. 8B is an IP address assignment after moving the second terminal. The terminal location management table when requested again, FIG. 8C shows the terminal location management table when no IP address assignment is requested after moving the second terminal, and FIG. 9 shows the update processing of the terminal location management table It is a flowchart which shows a procedure.

前記実施例1の端末位置検知方法では、図4(a)に示したように、前記各ケーブル5A,5B,5C,5Dに各端末6A,6B,6C,6Dを接続し、IPアドレスの割り当てを要請した直後に、前記各端末6A,6B,6C,6Dのロケーションを特定し、前記端末位置管理テーブルを作成する手順について説明したが、実際のネットワークでは、時間経過とともに、接続する端末の種類が変わる、あるいは同じ端末でも接続するロケーションが変わるといったことがある。そのような例として、例えば、最初は、図7(a)に示すように、前記第1ロケーション7Aに設置され前記インテリジェントスイッチ2の第2ポート202に接続されていた第2端末6Bが、ある期間が経過した後、図7(b)に示すように、第2ロケーションに設置され前記インテリジェントスイッチ2の第4ポート204に接続された場合を考える。   In the terminal position detection method of the first embodiment, as shown in FIG. 4A, the terminals 6A, 6B, 6C, and 6D are connected to the cables 5A, 5B, 5C, and 5D, and IP addresses are assigned. The procedure for specifying the location of each of the terminals 6A, 6B, 6C, and 6D and creating the terminal location management table immediately after requesting is described. However, in an actual network, the types of terminals to be connected as time passes May change, or the connection location may change even on the same terminal. As such an example, for example, as shown in FIG. 7A, there is a second terminal 6B that is initially installed in the first location 7A and connected to the second port 202 of the intelligent switch 2. Consider a case in which, after the period has elapsed, as shown in FIG. 7B, it is installed at the second location and connected to the fourth port 204 of the intelligent switch 2.

このとき、図7(a)に示したネットワーク構成で前記各端末6A,6B,6Cのロケーションを特定していれば、前記端末位置管理テーブルは、図8(a)に示したようになっている。そしてその後、図7(b)に示したネットワーク構成になったとき、ロケーションを換えた前記第2端末6BがIPアドレスの割り当てを再度要請すれば、その要請を契機に、再び前記第2端末6BのMACアドレスとロケーション情報の対応付けを行うために、図5に示したような処理が行われる。そして、前記端末位置管理テーブルは、図8(b)のようになり、前記第2端末6BのMACアドレスと対応するロケーション情報が第2ロケーション7Bに更新されるはずである。このように、端末を異なるポートに接続しなおしたときに、自動あるいは手動でIPアドレスの割り当てを再度要請していれば、前記端末位置管理テーブルで管理しているMACアドレスとロケーション情報の対応関係が実際の端末とロケーションの対応関係を反映しているので、外部から端末のロケーションを検索したときに正しいロケーション情報を得られると考えられる。   At this time, if the location of each of the terminals 6A, 6B, and 6C is specified in the network configuration shown in FIG. 7A, the terminal location management table is as shown in FIG. 8A. Yes. After that, when the network configuration shown in FIG. 7B is reached, if the second terminal 6B whose location has been changed requests the IP address assignment again, the second terminal 6B is triggered again by the request. In order to associate the MAC address with location information, a process as shown in FIG. 5 is performed. The terminal location management table is as shown in FIG. 8B, and the location information corresponding to the MAC address of the second terminal 6B should be updated to the second location 7B. In this way, when the terminal is reconnected to a different port, if the IP address assignment is requested again automatically or manually, the correspondence between the MAC address managed in the terminal location management table and the location information Reflects the correspondence between the actual terminal and the location, so it is considered that correct location information can be obtained when the location of the terminal is searched from the outside.

ところが、端末の種類によっては、接続するポートを換えたときに、自動的にIPアドレスの割り当てを再度要請することもなく、手動による要請もしていない場合がある。そのような場合、例えば、実際の第2端末6Bは、図7(b)に示すように第2ロケーション7Bに設置されているのに、前記端末位置管理テーブルでは、図8(c)に示すように、第1ロケーション7Aと対応づけられたままになってしまう。そのため、外部の端末からの要請で端末のロケーションを検索したときに、前記端末位置管理テーブルを参照してロケーション情報を返すと、誤ったロケーション情報を返してしまうことがある。   However, depending on the type of terminal, when the port to be connected is changed, an IP address assignment is not automatically requested again, and there is a case where no manual request is made. In such a case, for example, the actual second terminal 6B is installed in the second location 7B as shown in FIG. 7B, but the terminal location management table shows that in FIG. 8C. As such, it remains associated with the first location 7A. Therefore, when location information is returned by referring to the terminal location management table when searching for the location of the terminal by a request from an external terminal, incorrect location information may be returned.

このような問題を防ぐためには、端末の種類に応じて、前記端末位置管理テーブルではなく前記インテリジェントスイッチ2のMACアドレスを解析し、検索する端末のロケーションを特定する必要がある。ただし、前記インテリジェントスイッチ2の種類によっては、一定時間前記インテリジェントスイッチ2を介した他の端末との通信がない端末のMACアドレスを前記MACアドレス学習テーブルから削除することがある。そのため、このような場合は、前記MACアドレス学習テーブルを取得する前に、まず、図9に示すように、前記ロケーションを検索する端末と通信を行う必要があり、例えば、前記検索する端末のIPアドレスにPingコマンドを送る(ステップ40410)。次に、前記インテリジェントスイッチ2からMACアドレス学習テーブルを取得する(ステップ40411)。次に、前記取得したMACアドレス学習テーブルから前記検索する端末のMACアドレスと対応づけられたポート番号を取得する(ステップ40412)。次に、事前に登録した前記位置情報対応テーブルを参照して、前記ポート番号と対応するロケーション情報を取得する(ステップ40413)。そして、前記ステップ40413で取得したロケーション情報を、前記検索する端末のMACアドレスと対応するロケーション情報として検索を要請した端末に返信する(ステップ40414)。またこのとき、前記端末位置管理テーブルのロケーション情報を、前記ステップ40414で得られたロケーション情報に更新する(ステップ40415)。   In order to prevent such a problem, it is necessary to analyze the MAC address of the intelligent switch 2 instead of the terminal location management table and specify the location of the terminal to be searched according to the type of terminal. However, depending on the type of the intelligent switch 2, the MAC address of a terminal that has not communicated with another terminal via the intelligent switch 2 for a certain period of time may be deleted from the MAC address learning table. Therefore, in such a case, before obtaining the MAC address learning table, first, as shown in FIG. 9, it is necessary to communicate with a terminal that searches for the location. A Ping command is sent to the address (step 40410). Next, a MAC address learning table is acquired from the intelligent switch 2 (step 40411). Next, a port number associated with the MAC address of the terminal to be searched is acquired from the acquired MAC address learning table (step 40412). Next, the location information corresponding to the port number is acquired by referring to the position information correspondence table registered in advance (step 40413). The location information acquired in step 40413 is returned to the terminal that requested the search as location information corresponding to the MAC address of the terminal to be searched (step 40414). At this time, the location information in the terminal location management table is updated to the location information obtained in step 40414 (step 40415).

なお、前記ステップ40410からステップ40415までの処理は、例えば、ネットワーク外部の端末から検索の要請があったときに限らず、例えば、定期的に行ってもよい。定期的に行う場合は、前記ネットワーク外部の端末からの検索要求の代わりに、前記DHCPサーバ101から、図6(a)に示したようなリリースファイルを取得し、IPアドレスが割り当てられている端末のMACアドレスについて、前記ステップ40410からステップ40415のような処理を行えばよい。   Note that the processing from step 40410 to step 40415 is not limited to when a search request is received from a terminal outside the network, but may be performed periodically, for example. When periodically performing, instead of a search request from a terminal outside the network, a release file as shown in FIG. 6A is obtained from the DHCP server 101 and an IP address is assigned to the terminal. For the MAC address, the processing from step 40410 to step 40415 may be performed.

図10は、前記実施例1の端末位置検知方法の変形例を説明するための模式図であり、端末の位置を検知するネットワークの他の構成例を示すブロック図である。   FIG. 10 is a schematic diagram for explaining a modified example of the terminal position detection method of the first embodiment, and is a block diagram illustrating another configuration example of the network that detects the position of the terminal.

前記実施例1では、図4(a)に示したように、前記インテリジェントスイッチ2の各ポート201,202,203,204に直接前記各端末6A,6B,6C,6Dが接続されたネットワークを例に挙げて、前記各端末6A,6B,6C,6Dのロケーションを特定する方法について説明したが、これに限らず、前記インテリジェントスイッチ2の各ポート201,202,203,204のいずれかに2つ以上のポートを有するスイッチを接続し、前記スイッチに前記各端末6A,6B,6C,6D等を接続してもよい。そのような場合の例として、例えば、図10に示すように、前記インテリジェントスイッチ2の第1ポート201と接続されたケーブル5Aが前記第1ロケーション7Aにあるスイッチ8のポート804と接続されている場合を考える。このとき、前記スイッチ8に、2つ以上の空きポート801,802,803があれば、それらの空きポートに前記第1端末6Aや第2端末6Bを接続することができる。ただし、この場合、前記インテリジェントスイッチ2のMACアドレス学習テーブルでは、前記空きポート801,802,803に接続された端末のMACアドレスが前記第1ポート201と対応づけられるので、前記空きポート801,802,803に接続する端末は、同一のロケーション(第1ロケーション7A)に設置されていなければならない。このように、前記インテリジェントスイッチ2のポート201と接続されたケーブル5Aを他のスイッチ8に接続することで、1つのロケーション内でネットワークに接続することが可能な端末の最大数を増やすことができる。   In the first embodiment, as shown in FIG. 4A, a network in which the terminals 6A, 6B, 6C, and 6D are directly connected to the ports 201, 202, 203, and 204 of the intelligent switch 2 is taken as an example. In the above, the method of specifying the location of each of the terminals 6A, 6B, 6C, 6D has been described. However, the present invention is not limited to this, and there are two in each of the ports 201, 202, 203, 204 of the intelligent switch 2. A switch having the above ports may be connected, and the terminals 6A, 6B, 6C, 6D, etc. may be connected to the switch. As an example of such a case, for example, as shown in FIG. 10, the cable 5A connected to the first port 201 of the intelligent switch 2 is connected to the port 804 of the switch 8 in the first location 7A. Think about the case. At this time, if the switch 8 has two or more empty ports 801, 802, 803, the first terminal 6A and the second terminal 6B can be connected to these empty ports. However, in this case, in the MAC address learning table of the intelligent switch 2, the MAC address of the terminal connected to the free ports 801, 802, and 803 is associated with the first port 201, so the free ports 801 and 802 , 803 must be installed in the same location (first location 7A). Thus, by connecting the cable 5A connected to the port 201 of the intelligent switch 2 to the other switch 8, the maximum number of terminals that can be connected to the network in one location can be increased. .

図11および図12は、本発明による実施例2の端末位置の検知方法を説明するための模式図であり、図11(a)は前記端末位置検知装置で端末の位置を検知するネットワークの構成例を示すブロック図、図11(b)は事前に登録するロケーション情報の一例を示すテーブル、図12は端末のロケーションを特定するステップの具体的な処理手順の一例を示すフロー図である。   FIGS. 11 and 12 are schematic diagrams for explaining a terminal position detection method according to the second embodiment of the present invention. FIG. 11A is a network configuration in which the terminal position detection apparatus detects the position of the terminal. FIG. 11B is a table showing an example of location information registered in advance, and FIG. 12 is a flowchart showing an example of a specific processing procedure of the step of specifying the location of the terminal.

本実施例2では、前記端末位置検知装置1を用いて、例えば、図11(a)に示すように、第1ロケーション7Aおよび第2ロケーション7Bのそれぞれにインテリジェントスイッチ2A,2Bが設置されたネットワークにおいて、前記各インテリジェントスイッチ2A,2Bのポートに接続された端末のロケーションを特定(検知)する場合について説明する。   In the second embodiment, using the terminal position detection device 1, for example, as shown in FIG. 11A, a network in which intelligent switches 2A and 2B are installed in the first location 7A and the second location 7B, respectively. The case where the location of the terminal connected to the port of each intelligent switch 2A, 2B is specified (detected) will be described.

このとき、前記第1ロケーション7Aのインテリジェントスイッチ(以下、第1インテリジェントスイッチという)2Aは、例えば、図11(a)に示したように、第4ポート204Aと前記端末位置検知装置1がケーブル5Aで接続されているとする。また、前記第2ロケーション7Bのインテリジェントスイッチ(以下、第2インテリジェントスイッチという)2Bは、例えば、第4ポート204Bと前記端末位置検知装置1がケーブル5Bで接続されているとする。   At this time, the intelligent switch (hereinafter referred to as the first intelligent switch) 2A at the first location 7A is connected to the fourth port 204A and the terminal position detecting device 1 as shown in FIG. It is assumed that it is connected with. In the intelligent switch (hereinafter referred to as a second intelligent switch) 2B at the second location 7B, for example, a fourth port 204B and the terminal position detection device 1 are connected by a cable 5B.

また、前記第1ロケーション7Aには、例えば、図11(a)に示したように、第1端末6Aおよび第2端末6Bが設置され、それぞれケーブル5C,5Dにより前記第1インテリジェントスイッチ2Aの第2ポート202Aおよび第3ポート203Aに接続されているとする。同様に、前記第2ロケーション7Bには、例えば、第3端末6Bおよび第4端末6Dが設置され、それぞれケーブル5E,5Fにより前記第2インテリジェントスイッチ2Bの第2ポート202Bおよび第3ポート203Bに接続されているとする。   Further, for example, as shown in FIG. 11A, a first terminal 6A and a second terminal 6B are installed in the first location 7A, and the first intelligent switch 2A is connected to the first terminal 6A by cables 5C and 5D, respectively. It is assumed that they are connected to the 2 port 202A and the third port 203A. Similarly, for example, a third terminal 6B and a fourth terminal 6D are installed in the second location 7B, and are connected to the second port 202B and the third port 203B of the second intelligent switch 2B by cables 5E and 5F, respectively. Suppose that

このようなネットワークにおいて、接続された各端末6A,6B,6C,6Dのロケーションを特定するときには、まず、図2に示したような手順で事前準備を行う。このとき、前記事前準備で行うステップ304では、前記実施例1で説明した各ポートとロケーションの対応関係の代わりに、図11(b)に示すように、各ロケーション7A,7Bに設置されたインテリジェントスイッチ2A,2BのMACアドレスとロケーションの対応関係を表す位置情報対応テーブルを登録する。このような位置情報対応テーブルを登録した場合、前記第1インテリジェントスイッチ2Aあるいは前記第2インテリジェントスイッチ2Bに接続されている端末、すなわち各インテリジェントスイッチ2A,2BのMACアドレス学習テーブルにMACアドレスが登録されている端末は、全て前記各インテリジェントスイッチ2A,2Bと同じロケーションに設置されているとみなす。また、前記位置対応テーブルを登録する代わりに、前記各インテリジェントスイッチ2A,2BのMIB(Management Information Base)にロケーション情報を記述してもよい。   In such a network, when specifying the location of each of the connected terminals 6A, 6B, 6C, and 6D, first, advance preparation is performed according to the procedure shown in FIG. At this time, in step 304 performed in advance preparation, instead of the correspondence relationship between each port and location described in the first embodiment, as shown in FIG. 11B, it is installed in each location 7A, 7B. A position information correspondence table showing the correspondence between the MAC addresses of the intelligent switches 2A and 2B and locations is registered. When such a position information correspondence table is registered, MAC addresses are registered in the MAC address learning tables of the terminals connected to the first intelligent switch 2A or the second intelligent switch 2B, that is, the intelligent switches 2A and 2B. Are assumed to be installed at the same location as each of the intelligent switches 2A and 2B. Further, instead of registering the position correspondence table, location information may be described in a MIB (Management Information Base) of each intelligent switch 2A, 2B.

本実施例2のような構成のネットワークの場合も、基本的な処理は前記実施例1の場合と同じであり、前記事前準備が終了した後、図3に示したように前記ステップ401からステップ403までの処理を行い、前記各インテリジェントスイッチ2A,2Bに接続した各端末6A,6B,6C,6DにIPアドレスを割り当てる。   Also in the case of the network configured as in the second embodiment, the basic processing is the same as that in the first embodiment, and after the advance preparation is completed, as shown in FIG. Processing up to step 403 is performed, and IP addresses are assigned to the terminals 6A, 6B, 6C, and 6D connected to the intelligent switches 2A and 2B.

そして、前記IPアドレスが割り当てられた各端末6A,6B,6C,6Dのロケーションを特定するステップ404では、まず、図12に示すように、前記検知対象端末のMACアドレスおよび割り当てられたIPアドレスを取得し(ステップ40401)、続けて、前記各インテリジェントスイッチ2A,2BのMACアドレス学習テーブルを取得する(ステップ40402)。前記端末位置検知装置1でこの処理を行うときには、前記実施例1で説明したような方法で行えばよいので詳細な説明は省略する。   In step 404 for specifying the location of each of the terminals 6A, 6B, 6C, 6D to which the IP address is assigned, first, as shown in FIG. 12, the MAC address of the detection target terminal and the assigned IP address are determined. Obtain (step 40401), and then obtain the MAC address learning table of each intelligent switch 2A, 2B (step 40402). When this processing is performed by the terminal position detection device 1, it may be performed by the method described in the first embodiment, and thus detailed description thereof is omitted.

次に、取得した複数のMACアドレス学習テーブルの中から、前記検知対象端末のMACアドレスが含まれるテーブルを抽出する(ステップ40416)。   Next, a table including the MAC address of the detection target terminal is extracted from the acquired plurality of MAC address learning tables (step 40416).

次に、事前に登録した前記位置情報対応テーブルを参照し、前記ステップ40416で抽出したMACアドレス学習テーブルを保持するインテリジェントスイッチのMACアドレスと対応づけられたロケーション情報を取得する(ステップ40417)。   Next, the location information associated with the MAC address of the intelligent switch holding the MAC address learning table extracted in step 40416 is acquired by referring to the position information correspondence table registered in advance (step 40417).

こうして、前記検知対象端末が接続されているインテリジェントスイッチのMACアドレスと対応づけられたロケーションを特定したら、その後は、前記実施例1で説明した処理と同様に、前記ステップ40405からステップ40409の処理を行い、前記検知対象端末のMACアドレスとロケーションを対応付けた端末位置管理テーブルを作成、更新する。前記端末位置検知装置1で前記ステップ40405からステップ40409の処理を行うときには、前記実施例1で説明したような手順、方法で行えばよいので詳細な説明は省略する。   Thus, after identifying the location associated with the MAC address of the intelligent switch to which the detection target terminal is connected, the processing from step 40405 to step 40409 is performed similarly to the processing described in the first embodiment. To create and update a terminal location management table in which the MAC address and location of the detection target terminal are associated with each other. When the terminal position detection apparatus 1 performs the processing from step 40405 to step 40409, the procedure and method described in the first embodiment may be used, and detailed description thereof is omitted.

以上説明したように、本実施例2の端末位置検知方法によれば、ネットワーク上の各ロケーションのそれぞれにインテリジェントスイッチが設置されている場合でも、前記実施例1と同様、無線通信機能がなくても、容易に端末の位置(ロケーション)を特定することができる。   As described above, according to the terminal position detection method of the second embodiment, even when an intelligent switch is installed at each location on the network, there is no wireless communication function as in the first embodiment. Also, the position (location) of the terminal can be easily identified.

また、本実施例2で説明したような方法で端末のロケーションを特定する場合も、前記端末位置検知装置1は、コンピュータと、前記ステップ304やステップ404の処理を前記コンピュータに実行させるプログラムによっても実現することができる。このとき、前記プログラムは、例えば、磁気的,電気的,光学的な記録媒体によって提供することもできるし、インターネット等のネットワークを通して提供することもできる。   Also, when the location of the terminal is specified by the method described in the second embodiment, the terminal position detection device 1 is also executed by a computer and a program that causes the computer to execute the processes of steps 304 and 404. Can be realized. At this time, the program can be provided by, for example, a magnetic, electrical, or optical recording medium, or can be provided through a network such as the Internet.

また、詳細な説明は省略するが、本実施例2の端末位置検知方法の場合も、端末の種類によっては、前述のように、前記端末の接続位置を変えることにより、実際のロケーションと端末位置検知装置に保持されているロケーション情報が一致しなくなる場合がある。そのため、例えば、図8に示したような手順、すなわち、外部の端末からロケーションの検索要求があったとき、あるいは定期的に接続された端末と通信をし、各インテリジェントスイッチ2A,2BのMACアドレス学習テーブルを更新させた後、前記端末位置管理テーブルのロケーション情報を更新してもよい。   Although detailed description is omitted, also in the case of the terminal position detection method of the second embodiment, depending on the type of the terminal, as described above, the actual location and the terminal position can be changed by changing the connection position of the terminal. The location information held in the detection device may not match. Therefore, for example, the procedure shown in FIG. 8, that is, when there is a location search request from an external terminal, or communicates with a terminal connected periodically, and the MAC address of each intelligent switch 2A, 2B After updating the learning table, the location information of the terminal position management table may be updated.

図13は、前記実施例2の端末位置検知方法の変形例を説明するための模式図であり、端末の位置を検知するネットワークの他の構成例を示すブロック図である。   FIG. 13 is a schematic diagram for explaining a modified example of the terminal position detection method according to the second embodiment, and is a block diagram illustrating another configuration example of the network that detects the position of the terminal.

前記実施例2では、図11(a)に示したように、前記各インテリジェントスイッチ2A,2Bの第4ポート204A,204Bに接続されたケーブル5A,5Bが、前記端末位置検知装置1に直接接続されているネットワークを例に挙げて説明したが、これに限らず、前記端末位置検知装置1と前記各インテリジェントスイッチ2A,2Bの間に他のスイッチあるいはハブを設置してもよい。そのような場合の例として、例えば、図13に示すように、前記端末位置検知装置1とスイッチ8の第2ポート802と前記第1インテリジェントスイッチ2Aの第4ポート204Aを接続し、前記スイッチ8の第4ポート804と前記第2インテリジェントスイッチ2Bの第4ポート204Bを接続したネットワークを考える。このような場合も、前記ステップ40402において各インテリジェントスイッチ2A,2BのMACアドレス学習テーブルが取得できれば、前記各インテリジェントスイッチ2A,2Bに接続された端末のロケーションを特定することができる。また、このようなネットワークの場合、前記スイッチ8のあいているポート801,803に、他のインテリジェントスイッチを接続すれば、より多くのロケーションを設定することもできる。   In the second embodiment, as shown in FIG. 11A, the cables 5A and 5B connected to the fourth ports 204A and 204B of the intelligent switches 2A and 2B are directly connected to the terminal position detection device 1. However, the present invention is not limited to this, and other switches or hubs may be installed between the terminal position detection device 1 and the intelligent switches 2A and 2B. As an example of such a case, for example, as shown in FIG. 13, the terminal position detecting device 1, the second port 802 of the switch 8, and the fourth port 204A of the first intelligent switch 2A are connected, and the switch 8 A network in which the fourth port 804 of the second intelligent switch 2B and the fourth port 204B of the second intelligent switch 2B are connected is considered. Even in such a case, if the MAC address learning table of each intelligent switch 2A, 2B can be acquired in step 40402, the location of the terminal connected to each intelligent switch 2A, 2B can be specified. In the case of such a network, more locations can be set by connecting other intelligent switches to the ports 801 and 803 between the switches 8.

このように、前記端末位置検知装置1にスイッチあるいはハブを直接接続し、前記スイッチあるいはハブのポートに前記インテリジェントスイッチを接続することで、例えば、前記端末位置検知装置1の通信ポートの数が少ない場合でも、端末の数が多いネットワーク、あるいはロケーションの数が多いネットワークに対応させることができる。   In this way, by connecting a switch or hub directly to the terminal position detecting device 1 and connecting the intelligent switch to a port of the switch or hub, for example, the number of communication ports of the terminal position detecting device 1 is small. Even in this case, it is possible to cope with a network having a large number of terminals or a network having a large number of locations.

図14乃至図16は、本発明による実施例3の端末位置の検知方法を説明するための模式図であり、図14は端末の位置を検知するネットワークの構成例を示すブロック図、図15(a),図15(b),図15(c)はネットワーク上の各インテリジェントスイッチのMACアドレス学習テーブル、図16は検知対象端末が直接接続されているMACアドレス学習テーブルの抽出手順を説明するフロー図である。   14 to 16 are schematic diagrams for explaining a terminal position detection method according to the third embodiment of the present invention. FIG. 14 is a block diagram illustrating a configuration example of a network that detects the position of the terminal. a), FIG. 15B, and FIG. 15C are the MAC address learning tables of each intelligent switch on the network, and FIG. 16 is a flow for explaining the extraction procedure of the MAC address learning table to which the detection target terminal is directly connected. FIG.

本実施例3では、前記端末位置検知装置1を用いて、例えば、図14に示すように、前記端末位置検知装置1に接続された第1インテリジェントスイッチ2Aの各ポート201A,201Bに、各ロケーションに設置されたインテリジェントスイッチ2B,2Cが接続されているようなネットワークにおいて、前記各ロケーションに設置されたインテリジェントスイッチ2B,2Cに接続された端末のロケーションを特定(検知)する場合について説明する。   In the third embodiment, for example, as shown in FIG. 14, each location 201 is connected to each port 201 </ b> A, 201 </ b> B of the first intelligent switch 2 </ b> A connected to the terminal position detection device 1. In the network in which the intelligent switches 2B and 2C installed in the network are connected, the location of the terminal connected to the intelligent switches 2B and 2C installed in each location will be described (detected).

このようなネットワークの場合、前記事前準備や端末のロケーションの特定の手順は、基本的には前記実施例2で説明したような手順と同じである。ただし、本実施例3のようなネットワークの場合、1つの端末のMACアドレスが複数のインテリジェントスイッチに学習されることがある。つまり、前記実施例2で説明したステップ40416の処理を行うときに、前記検知対象端末のMACアドレスを含むMACアドレス学習テーブルが複数個あるため、前記検知対象端末がどのインテリジェントスイッチと直接接続されているか判断することができない。そのため、本実施例3のようなネットワークで端末のロケーションを特定するときには、前記検知対象端末が直接接続されているインテリジェントスイッチを特定する処理が必要となる。   In the case of such a network, the advance preparation and the specific procedure of the location of the terminal are basically the same as those described in the second embodiment. However, in the case of a network like the third embodiment, the MAC address of one terminal may be learned by a plurality of intelligent switches. That is, when performing the process of step 40416 described in the second embodiment, since there are a plurality of MAC address learning tables including the MAC address of the detection target terminal, which intelligent switch the detection target terminal is directly connected to Can't judge whether Therefore, when specifying the location of a terminal in a network like the present Example 3, the process which specifies the intelligent switch to which the said detection target terminal is directly connected is required.

本実施例3のネットワークにおいて、例えば、図14に示したように、前記第1ロケーション7Aに第1端末6Aおよび第2端末6Bが設置され、前記第2ロケーションに第3端末6Cおよび第4端末6Dが設置されており、前記各端末6A,6B,6C,6Dのうち、例えば、前記第2端末6Bが新しく接続された検知対象端末であるとする。このとき、前記第2端末6Bは、前記実施例1で説明したような手順で、前記DHCPサーバ101からIPアドレスを取得する。またこのとき、前記第2端末6Bは、前記第2インテリジェントスイッチ2Bの第3ポート203Bと接続されており、前記第2インテリジェントスイッチ2Bは第1インテリジェントスイッチ2Aの第2ポート202Aと接続されている。その結果、前記第1インテリジェントスイッチ2AのMACアドレス学習テーブルは、図15(a)に示すように、前記第1ポート201Aには、前記第2インテリジェントスイッチ2BのMACアドレス、前記第1端末6AのMACアドレス、前記第2端末6BのMACアドレスの3つが対応付けられることになる。そして、前記第2インテリジェントスイッチ2BのMACアドレス学習テーブルは、図15(b)に示すように、前記第2ポート202Bには第1端末6AのMACアドレスが、前記第3ポート203Bには第2端末6BのMACアドレスが対応付けられている。   In the network of the third embodiment, for example, as shown in FIG. 14, the first terminal 6A and the second terminal 6B are installed in the first location 7A, and the third terminal 6C and the fourth terminal are installed in the second location. It is assumed that 6D is installed, and among the terminals 6A, 6B, 6C, and 6D, for example, the second terminal 6B is a newly connected detection target terminal. At this time, the second terminal 6B acquires an IP address from the DHCP server 101 in the procedure as described in the first embodiment. At this time, the second terminal 6B is connected to the third port 203B of the second intelligent switch 2B, and the second intelligent switch 2B is connected to the second port 202A of the first intelligent switch 2A. . As a result, as shown in FIG. 15A, the MAC address learning table of the first intelligent switch 2A has the MAC address of the second intelligent switch 2B and the first terminal 6A of the first port 6A. Three MAC addresses and the MAC address of the second terminal 6B are associated with each other. Then, as shown in FIG. 15B, the MAC address learning table of the second intelligent switch 2B has the MAC address of the first terminal 6A in the second port 202B and the second address in the third port 203B. The MAC address of the terminal 6B is associated.

図12に示した処理における前記ステップ40402で、図15(a)および図15(b)に示したようなMACアドレス学習テーブルを取得した場合、どちらのテーブルにも検知対象端末である第2端末6BのMACアドレスと対応付けられたポートがあるため、そのままではロケーションを特定することができない。そこで、次のステップ40416では、まず、例えば、図16に示すように、第1インテリジェントスイッチ2AのMACアドレス学習テーブルを参照し、検知対象端末のMACアドレスと対応付けられたポートを特定する(ステップ40416a)。次に、前記ステップ40416aで特定したポートが、他のインテリジェントスイッチのMACアドレスとも対応付けられているか判定する(ステップ40416b)。このとき、他のスイッチのMACアドレスも対応付けられていたら、その対応付けられているスイッチのMACアドレス学習テーブルを参照し、前記検知対象端末のMACアドレスと対応付けられたポートを特定する(ステップ40416c)。   When the MAC address learning table as shown in FIG. 15A and FIG. 15B is acquired in the step 40402 in the process shown in FIG. 12, the second terminal that is the detection target terminal in both tables Since there is a port associated with the 6B MAC address, the location cannot be specified as it is. Therefore, in the next step 40416, first, for example, as shown in FIG. 16, the MAC address learning table of the first intelligent switch 2A is referred to, and the port associated with the MAC address of the detection target terminal is specified (step 40416a). Next, it is determined whether the port identified in step 40416a is also associated with the MAC address of another intelligent switch (step 40416b). At this time, if the MAC address of another switch is also associated, the port associated with the MAC address of the detection target terminal is identified by referring to the MAC address learning table of the associated switch (step 40416c).

そして、前記ステップ40416bおよびステップ40416cの処理を繰り返し、前記検知対象端末のMACアドレスと対応付けられたポートが、他のスイッチのMACアドレスと対応付けられていないMACアドレス学習テーブルを見つけたら、そのテーブル保持するスイッチが、前記検知対象端末が直接接続されたスイッチであると判断する(ステップ40416d)。   Then, by repeating the processing of step 40416b and step 40416c, if a port associated with the MAC address of the detection target terminal finds a MAC address learning table that is not associated with the MAC address of another switch, the table It is determined that the switch to be held is a switch to which the detection target terminal is directly connected (step 40416d).

本実施例3の場合、検知対象端末は前記第2端末6Bであり、前記ステップ40416で前記第1インテリジェントスイッチ2AのMACアドレス学習テーブルを参照すると、前記検知対象端末が対応付けられているポートは第1ポート201Aであると特定される。次に、前記ステップ40416で前記第1ポート201Aと対応付けられているMACアドレスを調べると、第2インテリジェントスイッチ2BのMACアドレスが含まれる。そのため、前記ステップ40416cで前記第2インテリジェントスイッチ2BのMACアドレス学習テーブルを参照すると、前記検知対象端末が対応付けられているポートは第3ポート203Bであると特定される。そして、再び前記ステップ40416bで前記第3ポート203Bと対応付けられているMACアドレスを調べると、前記検知対象端末(第2端末6B)のMACアドレスだけであり、他のスイッチのMACアドレスは含まれない。そのため、前記ステップ40416dで、前記検知対象端末が直接接続されているのは前記第2インテリジェントスイッチ2Bであると特定される。   In the case of the third embodiment, the detection target terminal is the second terminal 6B, and referring to the MAC address learning table of the first intelligent switch 2A in the step 40416, the port with which the detection target terminal is associated is It is identified as the first port 201A. Next, when the MAC address associated with the first port 201A is checked in the step 40416, the MAC address of the second intelligent switch 2B is included. Therefore, referring to the MAC address learning table of the second intelligent switch 2B in the step 40416c, the port associated with the detection target terminal is identified as the third port 203B. When the MAC address associated with the third port 203B is checked again in the step 40416b, only the MAC address of the detection target terminal (second terminal 6B) is included, and the MAC addresses of other switches are included. Absent. Therefore, in the step 40416d, it is specified that the detection target terminal is directly connected to the second intelligent switch 2B.

こうして、1つのスイッチ(MACアドレス学習テーブル)を特定すれば、その後は、前記実施例2で説明したような手順で前記検知対象端末のロケーションを特定することができる。   If one switch (MAC address learning table) is specified in this way, then the location of the detection target terminal can be specified by the procedure described in the second embodiment.

以上説明したように、本実施例3の端末位置検知方法によれば、インテリジェントスイッチが多段に設置されている場合でも、前記実施例1屋実施例2と同様に、無線通信機能がなくても、容易に端末の位置(ロケーション)を特定することができる。   As described above, according to the terminal position detection method of the third embodiment, even when intelligent switches are installed in multiple stages, as in the first embodiment and the second embodiment, there is no wireless communication function. The position (location) of the terminal can be easily identified.

また、本実施例3で説明したような方法で端末のロケーションを特定する場合も、前記端末位置検知装置1は、コンピュータと、前記ステップ304やステップ404の処理を前記コンピュータに実行させるプログラムによっても実現することができる。このとき、前記プログラムは、例えば、磁気的,電気的,光学的な記録媒体によって提供することもできるし、インターネット等のネットワークを通して提供することもできる。   Also, when the location of the terminal is specified by the method described in the third embodiment, the terminal position detection device 1 is also executed by a computer and a program that causes the computer to execute the processes in steps 304 and 404. Can be realized. At this time, the program can be provided by, for example, a magnetic, electrical, or optical recording medium, or can be provided through a network such as the Internet.

また、詳細な説明は省略するが、本実施例2の端末位置検知方法の場合も、端末の種類によっては、前述のように、前記端末の接続位置を変えることにより、実際のロケーションと端末位置検知装置に保持されているロケーション情報が一致しなくなる場合がある。そのため、例えば、図8に示したような手順、すなわち、外部の端末からロケーションの検索要求があったとき、あるいは定期的に接続された端末と通信をし、各インテリジェントスイッチ2A,2B,2CのMACアドレス学習テーブルを更新させた後、前記端末位置管理テーブルのロケーション情報を更新してもよい。   Although detailed description is omitted, also in the case of the terminal position detection method of the second embodiment, depending on the type of the terminal, as described above, the actual location and the terminal position can be changed by changing the connection position of the terminal. The location information held in the detection device may not match. Therefore, for example, the procedure shown in FIG. 8, that is, when there is a location search request from an external terminal or periodically communicates with a terminal connected to each intelligent switch 2A, 2B, 2C. After updating the MAC address learning table, the location information of the terminal location management table may be updated.

図17は、前記実施例3の端末位置検知方法の変形例を説明するための模式図であり、端末の位置を検知するネットワークの他の構成例を示すブロック図である。   FIG. 17 is a schematic diagram for explaining a modified example of the terminal position detection method according to the third embodiment, and is a block diagram illustrating another configuration example of the network that detects the position of the terminal.

前記実施例3では、図14に示したように、前記各ロケーション7A,7Bにインテリジェントスイッチ2B,2Cが設置されているネットワークを例に挙げて説明したが、これに限らず、あるロケーションのみにインテリジェントスイッチが設置されていてもよい。そのような場合の例として、例えば、図17に示すように、第1ロケーション7Aにのみ第2インテリジェントスイッチ2Bが設置されており、前記端末位置検知装置1と直接接続された第1インテリジェントスイッチ2Aの第1ポート201Aに前記第1ロケーション7Aに設置された第2インテリジェントスイッチ2Bが接続されているネットワークがある。このようなネットワークでは、前記第1ロケーション7Aの端末6A,6Bは前記第1ロケーション7Aに設置された第2インテリジェントスイッチ2Bのポート202B,203Bと直接接続される。そして、前記第2ロケーション7Bの端末6C,6Dは前記第1インテリジェントスイッチ2Aのポート203A,204Aと直接接続される。   In the third embodiment, as illustrated in FIG. 14, the network in which the intelligent switches 2B and 2C are installed in the locations 7A and 7B has been described as an example. However, the present invention is not limited to this. An intelligent switch may be installed. As an example of such a case, for example, as shown in FIG. 17, the second intelligent switch 2B is installed only in the first location 7A, and the first intelligent switch 2A directly connected to the terminal position detection device 1 is used. There is a network in which the second intelligent switch 2B installed at the first location 7A is connected to the first port 201A. In such a network, the terminals 6A and 6B at the first location 7A are directly connected to the ports 202B and 203B of the second intelligent switch 2B installed at the first location 7A. The terminals 6C and 6D at the second location 7B are directly connected to the ports 203A and 204A of the first intelligent switch 2A.

このように、前記実施例3で説明した端末位置の検知方法は、図14に示したように、全てのロケーションにインテリジェントスイッチが設置されていなければならないというわけではなく、ある特定のロケーションのみにインテリジェントスイッチが設置されていてもよい。また、特定のロケーションに属さないような状態でインテリジェントスイッチを多段に接続してポート数を増やし、ネットワーク上で定義するロケーションの数を増やしているネットワークでも、前記実施例3のような手順で端末のロケーションを容易に特定することができる。また、前記インテリジェントスイッチは、図14に示したような2段に限らず、3段以上に接続されていてもよく、その場合も前記実施例3のような手順で端末のロケーションを特定することができる。   As described above, the terminal position detection method described in the third embodiment does not have to have intelligent switches installed at all locations, as shown in FIG. 14, but only at a specific location. An intelligent switch may be installed. Even in a network in which intelligent switches are connected in multiple stages in a state that does not belong to a specific location to increase the number of ports and the number of locations defined on the network is increased, the terminal is operated in the procedure as in the third embodiment. Can be easily identified. Further, the intelligent switch is not limited to the two stages as shown in FIG. 14, and may be connected to three or more stages. In this case, the location of the terminal is specified by the procedure as in the third embodiment. Can do.

以上、本発明を、前記実施例に基づき具体的に説明したが、本発明は、前記実施例に限定されるものではなく、その要旨を逸脱しない範囲において、種々変更可能であることはもちろんである。   The present invention has been specifically described above based on the above-described embodiments. However, the present invention is not limited to the above-described embodiments, and various modifications can be made without departing from the scope of the present invention. is there.

本発明にかかる端末位置検知装置の概略構成を示す模式図である。It is a schematic diagram which shows schematic structure of the terminal position detection apparatus concerning this invention. 本発明の端末位置検知装置を用いた検知方法を説明するための模式図であり、事前準備の手順を示すフロー図である。It is a schematic diagram for demonstrating the detection method using the terminal position detection apparatus of this invention, and is a flowchart which shows the procedure of a prior preparation. 本発明の端末位置検知装置を用いた検知方法を説明するための模式図であり、端末の位置の検知手順を示すフロー図である。It is a schematic diagram for demonstrating the detection method using the terminal position detection apparatus of this invention, and is a flowchart which shows the detection procedure of the position of a terminal. 本発明による実施例1の端末位置の検知方法を説明するための模式図であり、図4(a)は前記端末位置検知装置で端末の位置を検知するネットワークの構成例を示すブロック図、図4(b)は事前に登録するロケーション情報の一例を示すテーブルである。FIG. 4A is a schematic diagram for explaining a terminal position detection method according to the first embodiment of the present invention, and FIG. 4A is a block diagram illustrating a configuration example of a network in which the terminal position detection device detects the position of the terminal; 4 (b) is a table showing an example of location information registered in advance. 本発明による実施例1の端末位置の検知方法を説明するための模式図であり、端末のロケーションを特定するステップの具体的な処理手順の一例を示すフロー図である。It is a schematic diagram for demonstrating the detection method of the terminal position of Example 1 by this invention, and is a flowchart which shows an example of the specific process sequence of the step which specifies the location of a terminal. 本発明による実施例1の端末位置の検知方法を説明するための模式図であり、図6(a)はDHCPサーバのリリースファイルの一例を示すテーブル、図6(b)はMACアドレス学習テーブルの一例を示す表、図6(c)は端末位置管理テーブルの一例を示す表である。FIG. 6A is a schematic diagram for explaining a terminal position detection method according to the first embodiment of the present invention, FIG. 6A is a table showing an example of a release file of a DHCP server, and FIG. 6B is a MAC address learning table; FIG. 6C is a table showing an example, and FIG. 6C is a table showing an example of the terminal location management table. 前記実施例1の応用例を説明するための模式図であり、図7(a)はある時のネットワークの状態を示す図、図7(b)は第2端末を別のロケーションに移動させた状態を示す図である。FIG. 7A is a schematic diagram for explaining an application example of the first embodiment, FIG. 7A is a diagram illustrating a state of a network at a certain time, and FIG. 7B is a diagram in which the second terminal is moved to another location. It is a figure which shows a state. 前記実施例1の応用例を説明するための模式図であり、図8(a)は第2端末を移動する前の端末位置管理テーブル、図8(b)は第2端末を移動した後、IPアドレスの割り当てを再度要請した場合の端末位置管理テーブル、図8(c)は第2端末を移動した後、IPアドレスの割り当てを要請していない場合の端末位置管理テーブルである。It is a schematic diagram for demonstrating the application example of the said Example 1, Fig.8 (a) is a terminal location management table before moving a 2nd terminal, FIG.8 (b) is after moving a 2nd terminal, FIG. 8C is a terminal location management table when the IP address assignment is not requested after moving the second terminal, when the IP address assignment is requested again. 前記実施例1の応用例を説明するための模式図であり、端末位置管理テーブルの更新処理手順を示すフロー図である。It is a schematic diagram for demonstrating the application example of the said Example 1, and is a flowchart which shows the update process procedure of a terminal location management table. 前記実施例1の端末位置検知方法の変形例を説明するための模式図であり、端末の位置を検知するネットワークの他の構成例を示すブロック図である。It is a schematic diagram for demonstrating the modification of the terminal position detection method of the said Example 1, and is a block diagram which shows the other structural example of the network which detects the position of a terminal. 本発明による実施例2の端末位置の検知方法を説明するための模式図であり、図11(a)は前記端末位置検知装置で端末の位置を検知するネットワークの構成例を示すブロック図、図11(b)は事前に登録するロケーション情報の一例を示すテーブルである。FIG. 11A is a schematic diagram for explaining a terminal position detection method according to the second embodiment of the present invention, and FIG. 11A is a block diagram illustrating a configuration example of a network in which the terminal position detection device detects the position of a terminal; 11 (b) is a table showing an example of location information registered in advance. 本発明による実施例2の端末位置の検知方法を説明するための模式図であり、端末のロケーションを特定するステップの具体的な処理手順の一例を示すフロー図である。It is a schematic diagram for demonstrating the detection method of the terminal position of Example 2 by this invention, and is a flowchart which shows an example of the specific process sequence of the step which specifies the location of a terminal. 前記実施例2の端末位置検知方法の変形例を説明するための模式図であり、端末の位置を検知するネットワークの他の構成例を示すブロック図である。It is a schematic diagram for demonstrating the modification of the terminal position detection method of the said Example 2, and is a block diagram which shows the other structural example of the network which detects the position of a terminal. 本発明による実施例3の端末位置の検知方法を説明するための模式図であり、端末の位置を検知するネットワークの構成例を示すブロック図である。It is a schematic diagram for demonstrating the detection method of the terminal position of Example 3 by this invention, and is a block diagram which shows the structural example of the network which detects the position of a terminal. 本発明による実施例3の端末位置の検知方法を説明するための模式図であり、図15(a),図15(b),図15(c)はネットワーク上の各インテリジェントスイッチのMACアドレス学習テーブルである。FIG. 15 is a schematic diagram for explaining a terminal position detection method according to the third embodiment of the present invention, and FIGS. 15A, 15B, and 15C illustrate MAC address learning of each intelligent switch on the network. It is a table. 本発明による実施例3の端末位置の検知方法を説明するための模式図であり、検知対象端末が直接接続されているMACアドレス学習テーブルの抽出手順を説明するフロー図である。It is a schematic diagram for demonstrating the terminal position detection method of Example 3 by this invention, and is a flowchart explaining the extraction procedure of the MAC address learning table to which the detection target terminal is directly connected. 前記実施例3の端末位置検知方法の変形例を説明するための模式図であり、端末の位置を検知するネットワークの他の構成例を示すブロック図である。It is a schematic diagram for demonstrating the modification of the terminal position detection method of the said Example 3, and is a block diagram which shows the other structural example of the network which detects the position of a terminal. 従来の無線欄機能を利用した端末の位置の検知方法を説明する図である。It is a figure explaining the detection method of the position of the terminal using the conventional radio column function.

符号の説明Explanation of symbols

1…端末位置検知装置
101…DHCPサーバ
102…端末位置管理手段
102A…情報登録手段
102B…端末アドレス取得手段
102C…スイッチ情報取得手段
102D…情報処理手段
102E…データ管理手段
102F…情報検索手段
103…処理制御手段
2,2A,2B,2C…インテリジェントスイッチ
201,202,203,204…インテリジェントスイッチのポート
5A,5B,5C,5D,5E,5F…ケーブル
6,6A,6B,6C,6D…端末
7A…第1ロケーション
7B…第2ロケーション
8…スイッチ
801,802,803,804…スイッチのポート
9A,9B,9C…アクセスポイント
DESCRIPTION OF SYMBOLS 1 ... Terminal position detection apparatus 101 ... DHCP server 102 ... Terminal position management means 102A ... Information registration means 102B ... Terminal address acquisition means 102C ... Switch information acquisition means 102D ... Information processing means 102E ... Data management means 102F ... Information search means 103 ... Processing control means 2, 2A, 2B, 2C ... Intelligent switch 201, 202, 203, 204 ... Intelligent switch port 5A, 5B, 5C, 5D, 5E, 5F ... Cable 6, 6A, 6B, 6C, 6D ... Terminal 7A ... 1st location 7B ... 2nd location 8 ... Switch 801, 802, 803, 804 ... Switch port 9A, 9B, 9C ... Access point

Claims (7)

2つ以上のポートを有する1つまたは2つ以上のスイッチと、前記スイッチのポートとケーブルで接続された端末からなり、前記スイッチのうち少なくとも前記端末が接続されたスイッチは前記ポートに直接接続された端末あるいは他のスイッチのMAC(Media Access Control)アドレスを前記ポートと対応付けたテーブル(以下、MACアドレス学習テーブルという)を保持しているネットワーク上で、前記端末の空間的な設置位置(以下、ロケーションという)を検知する端末位置検知装置であって、
前記端末とロケーションの対応関係を管理する手段と、前記端末にIPアドレスを割り当てる手段とを備え、
前記端末とロケーションの対応関係を管理する手段は、前記スイッチのポートもしくは前記スイッチと前記ロケーションの対応関係を登録する情報登録手段と、
前記IPアドレスを割り当てる手段でIPアドレスを割り当てた端末(以下、検知対象端末という)のMACアドレスを取得する端末アドレス取得手段と、
前記スイッチから前記MACアドレス学習テーブルを取得するスイッチ情報取得手段と、
前記スイッチ情報取得手段で取得したMACアドレス学習テーブルおよび前記検知対象端末のMACアドレスから、前記検知対象端末が接続されているポートもしくはスイッチを特定する手段と、
前記情報登録手段で登録した対応関係および前記検知対象端末が接続されているポートもしくはスイッチから、前記検知対象端末の設置位置を特定して対応付けをする手段とを備えることを特徴とする端末位置検知装置。
One or two or more switches having two or more ports and a terminal connected to the switch port by a cable, and at least a switch to which the terminal is connected is directly connected to the port. The location of the terminal (hereinafter referred to as the MAC address learning table) in a network that holds a table (hereinafter referred to as a MAC address learning table) in which the MAC (Media Access Control) address of the terminal or other switch is associated with the port. A terminal position detection device that detects a location)
Means for managing the correspondence between the terminal and location, and means for assigning an IP address to the terminal;
Means for managing the correspondence between the terminal and the location, information registration means for registering the correspondence between the port of the switch or the switch and the location;
Terminal address acquisition means for acquiring a MAC address of a terminal (hereinafter referred to as a detection target terminal) to which an IP address is assigned by means for assigning the IP address;
Switch information acquisition means for acquiring the MAC address learning table from the switch;
From the MAC address learning table acquired by the switch information acquisition means and the MAC address of the detection target terminal, means for specifying the port or switch to which the detection target terminal is connected;
A terminal position comprising: a correspondence relationship registered by the information registration means and a means for identifying and associating the installation position of the detection target terminal from a port or a switch to which the detection target terminal is connected Detection device.
請求項1の端末位置検知装置において、前記検知対象端末が接続されているポートもしくはスイッチを特定する手段は、前記スイッチ情報取得手段で取得したMACアドレス学習テーブルの中から、前記検知対象端末のMACアドレスを含むテーブルを抽出する手段と、
前記抽出したテーブルの、前記検知対象端末のMACアドレスと対応付けられたポートが他のスイッチのMACアドレスとも対応付けられているか判別する手段と、
前記検知対象端末のMACアドレスと対応付けられたポートが他のスイッチのMACアドレスとも対応付けられている場合に、前記対応付けられた他のスイッチのMACアドレス学習テーブルを参照して、前記検知対象端末が直接接続されたスイッチを特定する手段とを備えることを特徴とする端末位置検知装置。
2. The terminal position detection apparatus according to claim 1, wherein means for identifying a port or switch to which the detection target terminal is connected is selected from the MAC address learning table acquired by the switch information acquisition means. Means for extracting a table containing addresses;
Means for determining whether the port associated with the MAC address of the detection target terminal of the extracted table is also associated with the MAC address of another switch;
When the port associated with the MAC address of the detection target terminal is also associated with the MAC address of another switch, refer to the MAC address learning table of the other switch associated with the detection target Means for identifying a switch to which the terminal is directly connected.
2つ以上のポートを有する1つまたは2つ以上のスイッチと、前記スイッチのポートとケーブルで接続された端末からなり、前記スイッチのうち少なくとも前記端末が接続されたスイッチは前記ポートに直接接続された端末あるいは他のスイッチのMAC(Media Access Control)アドレスを前記ポートと対応付けたテーブル(以下、MACアドレス学習テーブルという)を保持しているネットワーク上で、前記端末の設置位置を検知する端末位置検知方法であって、
前記スイッチのポートもしくは前記スイッチと前記端末の設置位置の対応関係を登録するステップ1と、
前記スイッチに接続された端末にIPアドレスを割り当てるステップ2と、
前記ステップ2でIPアドレスを割り当てた端末(以下、検知対象端末という)のMACアドレスを取得するするステップ3と、
前記スイッチから前記MACアドレス学習テーブルを取得するステップ4と、
前記ステップ4で取得したMACアドレス学習テーブルと前記検知対象端末のMACアドレスから、前記検知対象端末が接続されているポートもしくはスイッチを特定するステップ5と、
前記ステップ1で登録した対応関係と前記ステップ4で特定した前記検知対象端末が接続されているポートもしくはスイッチから、前記検知対象端末の設置位置を特定して対応付けをするステップ6とを有することを特徴とする端末位置検知方法。
One or two or more switches having two or more ports and a terminal connected to the switch port by a cable, and at least a switch to which the terminal is connected is directly connected to the port. Terminal location that detects the location of the terminal on a network that holds a table (hereinafter referred to as a MAC address learning table) that associates the MAC (Media Access Control) address of the selected terminal or other switch with the port A detection method,
Registering the correspondence between the switch port or the switch and the installation position of the terminal;
Assigning an IP address to a terminal connected to the switch;
Obtaining a MAC address of a terminal to which an IP address is assigned in step 2 (hereinafter referred to as a detection target terminal);
Obtaining the MAC address learning table from the switch; and
Step 5 for identifying the port or switch to which the detection target terminal is connected from the MAC address learning table acquired in Step 4 and the MAC address of the detection target terminal;
Step 6 of identifying and associating the installation location of the detection target terminal from the port or switch connected to the detection target terminal identified in Step 4 and the correspondence relationship registered in Step 1 The terminal position detection method characterized by this.
請求項3の端末位置検知方法において、前記ステップ5は、前記ステップ4で取得したMACアドレス学習テーブルの中から、前記検知対象端末のMACアドレスを含むテーブルを抽出するステップ7と、
前記抽出したテーブルの、前記検知対象端末のMACアドレスと対応付けられたポートが他のスイッチのMACアドレスとも対応付けられているか判別するステップ8と、
前記検知対象端末のMACアドレスと対応付けられたポートが他のスイッチのMACアドレスとも対応付けられている場合に、前記対応付けられた他のスイッチのMACアドレス学習テーブルを参照するステップ9と、
前記ステップ8および前記ステップ9を繰り返して、前記検知対象端末が直接接続されたスイッチを特定するステップ10とを有することを特徴とする端末位置検知方法。
4. The terminal position detection method according to claim 3, wherein the step 5 includes extracting a table including the MAC address of the detection target terminal from the MAC address learning table acquired in the step 4.
Determining whether the port associated with the MAC address of the detection target terminal in the extracted table is also associated with the MAC address of another switch; and
When the port associated with the MAC address of the detection target terminal is also associated with the MAC address of another switch, referring to the MAC address learning table of the other associated switch;
A terminal position detecting method, comprising: repeating step 8 and step 9 to identify a switch to which the detection target terminal is directly connected.
請求項3または請求項4に記載の端末位置検知方法において、外部から前記端末の設置位置の検索要求があった場合、あるいはあらかじめ定められた時間間隔で、前記各ステップの処理を行い、前記端末と設置位置の対応関係を更新することを特徴とする端末位置検知方法。   5. The terminal position detection method according to claim 3, wherein when each of the terminals is requested to search for the installation position of the terminal, or at a predetermined time interval, the process of each step is performed, and the terminal is detected. And a terminal position detection method, wherein the correspondence relationship between the installation position and the installation position is updated. 前記請求項3乃至請求項5のいずれかに記載された各ステップをコンピュータに実行させる端末位置検知プログラム。   A terminal position detection program for causing a computer to execute each step according to any one of claims 3 to 5. 前記請求項6に記載の端末位置検知プログラムがコンピュータで読み取り可能な状態で記録された記録媒体。   A recording medium in which the terminal position detection program according to claim 6 is recorded in a computer-readable state.
JP2004046674A 2004-02-23 2004-02-23 Terminal location detection apparatus, terminal location detection method, terminal location detection program, and recording medium Pending JP2005236893A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004046674A JP2005236893A (en) 2004-02-23 2004-02-23 Terminal location detection apparatus, terminal location detection method, terminal location detection program, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004046674A JP2005236893A (en) 2004-02-23 2004-02-23 Terminal location detection apparatus, terminal location detection method, terminal location detection program, and recording medium

Publications (1)

Publication Number Publication Date
JP2005236893A true JP2005236893A (en) 2005-09-02

Family

ID=35019360

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004046674A Pending JP2005236893A (en) 2004-02-23 2004-02-23 Terminal location detection apparatus, terminal location detection method, terminal location detection program, and recording medium

Country Status (1)

Country Link
JP (1) JP2005236893A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006072853A (en) * 2004-09-03 2006-03-16 Matsushita Electric Works Ltd Position information system, and equipment, line concentrator and equipment management device used in this system
JP2007174401A (en) * 2005-12-22 2007-07-05 Matsushita Electric Works Ltd Position information system
JP2007174405A (en) * 2005-12-22 2007-07-05 Matsushita Electric Works Ltd Position information system
JP2007228382A (en) * 2006-02-24 2007-09-06 Fujitsu Ltd Topology information collection program, apparatus, and method
JP2007335923A (en) * 2006-06-12 2007-12-27 Hitachi Ltd Network system, and server
WO2008111212A1 (en) * 2007-03-15 2008-09-18 Fujitsu Limited Information processing device, and node position acquiring method and program
JP2008287302A (en) * 2007-05-15 2008-11-27 Hitachi Ltd Network system
JP2009171478A (en) * 2008-01-21 2009-07-30 Hitachi Ltd Telephone system
WO2010150314A1 (en) * 2009-06-25 2010-12-29 パイオニア株式会社 Mixer device, reproduction system, player, and program
JP2012138888A (en) * 2010-12-10 2012-07-19 Toshiba Corp Information processing device and information processing method
WO2012111833A1 (en) * 2011-02-18 2012-08-23 ヤマハ株式会社 Communication system, router, switching hub, and communication method

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006072853A (en) * 2004-09-03 2006-03-16 Matsushita Electric Works Ltd Position information system, and equipment, line concentrator and equipment management device used in this system
JP4635523B2 (en) * 2004-09-03 2011-02-23 パナソニック電工株式会社 POSITION INFORMATION SYSTEM AND DEVICE USED IN THE SYSTEM, CONCENTRATOR, AND DEVICE MANAGEMENT DEVICE
JP2007174401A (en) * 2005-12-22 2007-07-05 Matsushita Electric Works Ltd Position information system
JP2007174405A (en) * 2005-12-22 2007-07-05 Matsushita Electric Works Ltd Position information system
JP2007228382A (en) * 2006-02-24 2007-09-06 Fujitsu Ltd Topology information collection program, apparatus, and method
JP4681472B2 (en) * 2006-02-24 2011-05-11 富士通株式会社 Topology information collection program, topology information collection device, and topology information collection method
JP2007335923A (en) * 2006-06-12 2007-12-27 Hitachi Ltd Network system, and server
JPWO2008111212A1 (en) * 2007-03-15 2010-06-24 富士通株式会社 Information processing apparatus, node position acquisition method, and program
WO2008111212A1 (en) * 2007-03-15 2008-09-18 Fujitsu Limited Information processing device, and node position acquiring method and program
JP2008287302A (en) * 2007-05-15 2008-11-27 Hitachi Ltd Network system
JP2009171478A (en) * 2008-01-21 2009-07-30 Hitachi Ltd Telephone system
WO2010150314A1 (en) * 2009-06-25 2010-12-29 パイオニア株式会社 Mixer device, reproduction system, player, and program
JP4856786B2 (en) * 2009-06-25 2012-01-18 パイオニア株式会社 Mixer device, playback system, player, program, and control method of mixer device
JP2012138888A (en) * 2010-12-10 2012-07-19 Toshiba Corp Information processing device and information processing method
WO2012111833A1 (en) * 2011-02-18 2012-08-23 ヤマハ株式会社 Communication system, router, switching hub, and communication method
JP2012175294A (en) * 2011-02-18 2012-09-10 Yamaha Corp Communication system, switching hub and program
CN103503383A (en) * 2011-02-18 2014-01-08 雅马哈株式会社 Communication system, router, switching hub, and communication method
CN103503383B (en) * 2011-02-18 2016-08-10 雅马哈株式会社 Communication system, router, switch hub and communication means

Similar Documents

Publication Publication Date Title
CN102970765B (en) The methods of wireless connectivity devices and using this method can wireless connectivity devices
KR102283610B1 (en) Instrument control method and device
CN108632312A (en) Network function information interacting method and device
WO2009090707A1 (en) Communication terminal and method for controlling connection of communication device
US20100197236A1 (en) Communication terminal and device connection availability determining method
JP4558139B2 (en) Network management device
JP2006501712A (en) Dynamic network configuration
CN109408020A (en) It is a kind of to realize the method and apparatus for throwing screen service
JP2005236893A (en) Terminal location detection apparatus, terminal location detection method, terminal location detection program, and recording medium
CN103312715A (en) Web service oriented home network system architecture
CN109600410A (en) Data-storage system and method
CN103959827B (en) Communicator and its control method
JP2007318432A (en) Network terminal position information acquiring method and system
JP5293658B2 (en) Communication system, base station, communication apparatus, switch, and communication method
US8943195B2 (en) Node detection apparatus, node detection method and computer readable medium
JP2009542036A (en) Method and apparatus for retrieving and acquiring handover information using DHCP
CN108259523A (en) A kind of data transmission method and Internet of things system, Network Access Method
CN112866413A (en) Data transmission method and device, electronic equipment and computer readable storage medium
JPH10301877A (en) Network connection route searching method
JP2010050743A (en) Wireless communication device and control method thereof
US20160294465A1 (en) Information collection system, relay terminal, control method for relay terminal to connect to center system, sensor terminal, and control method for sensor terminal to connect to center system
JP6071947B2 (en) Terminal for position information service, wireless signal detection device and server
CN105703987A (en) Control method and apparatus for audio and video playing system
KR20090043216A (en) Apparatus and method for updating a network information based on a terminal
JP4527650B2 (en) Physical wiring control device, physical wiring control method, and physical wiring control program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060406

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080725

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080812

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20081209