JP4792963B2 - Location information system - Google Patents

Location information system Download PDF

Info

Publication number
JP4792963B2
JP4792963B2 JP2005370971A JP2005370971A JP4792963B2 JP 4792963 B2 JP4792963 B2 JP 4792963B2 JP 2005370971 A JP2005370971 A JP 2005370971A JP 2005370971 A JP2005370971 A JP 2005370971A JP 4792963 B2 JP4792963 B2 JP 4792963B2
Authority
JP
Japan
Prior art keywords
port
message
information
address
management apparatus
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.)
Expired - Fee Related
Application number
JP2005370971A
Other languages
Japanese (ja)
Other versions
JP2007174404A (en
Inventor
尚弘 福田
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.)
Panasonic Corp
Panasonic Electric Works Co Ltd
Original Assignee
Panasonic Corp
Matsushita Electric Works Ltd
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 Panasonic Corp, Matsushita Electric Works Ltd filed Critical Panasonic Corp
Priority to JP2005370971A priority Critical patent/JP4792963B2/en
Publication of JP2007174404A publication Critical patent/JP2007174404A/en
Application granted granted Critical
Publication of JP4792963B2 publication Critical patent/JP4792963B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、施設内における電気機器の設置位置並びに、その電気機器の名称等を提供する位置情報システムに関し、詳しくは、位置情報取得にかかる通信負担を低減した位置情報システムに関する。   The present invention relates to a position information system that provides an installation position of an electric device in a facility, a name of the electric device, and the like, and more particularly to a position information system that reduces a communication burden related to acquisition of position information.

従来から、家電製品を有線ないし無線ネットワークを介して相互に接続し、屋内外からコントロールすることが試みられてきた。このような家庭内のネットワークは、ホームネットワークと呼ばれ、当該ネットワークの規約等を定めたHAVi(Home AV interoperability、登録商標)や、EchoNet(Energy Conservation and Homecare Network、登録商標)等の各種ミドルウェアが提案されている。そして、これらのミドルウェアを組み込んだ家電、いわゆるネットワーク家電が多数開発され、冷蔵庫、オーブンレンジ、ホームランドリーのホームネットワーク等が実用化されている。このようにネットワーク家電が多数接続されるようになると、同種の家電製品が多く存在する事態も想定され、ユーザが目的のネットワーク家電を操作できるよう、分かり易い仕組みを導入することが必要となる。   Conventionally, it has been attempted to connect home appliances to each other via a wired or wireless network and control them indoors and outdoors. Such a home network is called a home network, and various middleware such as HAVi (Home AV interoperability (registered trademark)) and EchoNet (Energy Conservation and Homecare Network (registered trademark)) that define the rules of the network are used. Proposed. Many home appliances incorporating these middleware, so-called network home appliances, have been developed, and refrigerators, microwave ovens, home laundry home networks, etc. have been put into practical use. When a large number of network home appliances are connected in this way, it is assumed that there are many similar home appliances, and it is necessary to introduce an easy-to-understand mechanism so that the user can operate the target network home appliance.

例えば、居間に設置したVTRと、寝室に設置したVTRとがある場合、当該VTRに指示を与えるホームサーバ等の画面に、単に「ビデオ1」、「ビデオ2」等と表示しただけでは、一体、何処にあるVTRなのかが分からず、意に反して他のVTRを操作してしまうことが起こりえる。然るに、ホームサーバ等の画面に、住宅の見取り図と共にネットワーク家電のアイコンを表示させるGUI(Graphical User Interface)を採用したり、ネットワーク家電が置かれている場所を文字情報によって表示させたりすれば、ユーザは、各ネットワーク家電の設置場所を直感的に理解することができ、誤操作をする確率は、格段に低くなることが期待される。   For example, if there is a VTR installed in the living room and a VTR installed in the bedroom, simply displaying “Video 1”, “Video 2”, etc. on the screen of the home server or the like that gives instructions to the VTR It is not possible to know where the VTR is, and it may happen that another VTR is operated unexpectedly. However, if a GUI (Graphical User Interface) that displays network home appliance icons on the home server screen is displayed on the screen of the home server, or if the location where the network home appliance is located is displayed by text information, the user Can intuitively understand the installation location of each network home appliance, and the probability of erroneous operation is expected to be much lower.

そこで、かかる課題に鑑み、“ネットワーク家電が何処の部屋にあるのか”について、各種の技術が提案されるに至っている。例えば、特開平11-96131号公報(特許文献1)に開示された発明では、図13に示すように、IEEE1394バスと接続される情報コンセントF0〜F4(以下、情報コンセントFnと呼ぶ)を設け、当該情報コンセントFnのコンフィグレーションメモリに、それぞれどの部屋に設置されているかを示す部屋情報を予め格納しておく。そして、各機器H0〜H9(以下、機器Hnと呼ぶ)が当該情報コンセントFnを介してIEEE1394バスに接続され、バスマネージャA2がトポロジマップを作成した際に、機器Hnがどの情報コンセントFnに接続されているかを判別することで、当該機器Hnが何処の部屋にあるのかを認識しようとするものである。   In view of such problems, various techniques have been proposed for “where the network home appliances are located”. For example, in the invention disclosed in Japanese Patent Laid-Open No. 11-96131 (Patent Document 1), as shown in FIG. 13, information outlets F0 to F4 (hereinafter referred to as information outlet Fn) connected to the IEEE1394 bus are provided. In the configuration memory of the information outlet Fn, room information indicating which room is installed is stored in advance. Each device H0 to H9 (hereinafter referred to as device Hn) is connected to the IEEE1394 bus via the information outlet Fn, and when the bus manager A2 creates a topology map, the device Hn is connected to which information outlet Fn. By determining whether the device Hn is in the room, it is intended to recognize where the device Hn is located.

また、特開2003-339086号公報(特許文献2)に開示された発明では、図14に示すように、電源コンセントI1〜I4(以下、電源コンセントIn)に接続され、電力線モデムを内蔵した電源アダプターJ1〜J3(以下、電源アダプターJnと呼ぶ)に、自己が設置されている部屋情報を予め記憶しておく。そして、各機器H10〜H13(以下、機器Hnと呼ぶ)が電源アダプターJnに接続されると、機器Hnは部屋情報要求を送信し、その部屋情報要求を受信した電源アダプターJnでは、当該要求を送信した機器Hnに対して部屋情報を返信して、機器Hnはその部屋情報を記憶する。次に、宅内サーバA3は、機器Hnに対して、部屋情報とその機器の情報を要求することで、機器Hnが何処の部屋にあるのかを認識しようとするものである。
特開平11−96131号公報 特開2003−339086号公報
In the invention disclosed in Japanese Patent Laid-Open No. 2003-339086 (Patent Document 2), as shown in FIG. 14, a power source connected to power outlets I1 to I4 (hereinafter referred to as power outlet In) and having a built-in power line modem. Room information in which the self is installed is stored in advance in the adapters J1 to J3 (hereinafter referred to as the power adapter Jn). When each of the devices H10 to H13 (hereinafter referred to as device Hn) is connected to the power adapter Jn, the device Hn transmits a room information request, and the power adapter Jn that has received the room information request transmits the request. The room information is returned to the transmitted device Hn, and the device Hn stores the room information. Next, the in-home server A3 requests room information and information about the device from the device Hn, thereby recognizing where the device Hn is located.
JP-A-11-96131 JP 2003-339086 A

以上のように、上記各特許文献に開示された発明によれば、機器Hn(ネットワーク家電)が何処の部屋にあるのかを認識することができた。しかしながら、その認識のためには、機器Hnが、他の機器Hnや電源アダプターJnなどと複数回に渡って通信を行わなければならず、当該機器Hnの通信インターフェースに負担をかけるという問題があった。より詳しく説明すると、特許文献1に開示された発明では、IEEE1394を採用しているため、機器Hnが情報コンセントFnに接続されると、コンフィグレーションプロセスによる多量の通信がなされる。すなわち、IEEE1394バス上にリセット信号が送信された後、各ノード間で親子関係の決定や、セルフIDパケットの通信がなされるため、ノード数に比例して通信量が増大するようになっている。   As described above, according to the invention disclosed in each of the above patent documents, it is possible to recognize where the device Hn (network home appliance) is located. However, in order to recognize this, the device Hn has to communicate with other devices Hn, the power adapter Jn, etc. multiple times, and there is a problem that the communication interface of the device Hn is burdened. It was. More specifically, since the invention disclosed in Patent Document 1 employs IEEE1394, when the device Hn is connected to the information outlet Fn, a large amount of communication is performed by the configuration process. That is, after the reset signal is transmitted on the IEEE1394 bus, the parent-child relationship is determined between the nodes and the communication of the self ID packet is performed, so that the communication amount increases in proportion to the number of nodes. .

また、特許文献2に開示された発明では、機器Hnを電源アダプターJnに接続すると、そのアダプターとの間で部屋情報の取得がなされ、次いで、宅内サーバA3へ機器情報と部屋情報を送信することになるため、同様に機器Hnの通信量は多い。この通信量の問題は、画像伝送などを行うAV家電では、それほどの問題とならない。多量のデータ伝送ができるように、高速な通信インターフェースを採用することになるからである。しかし、家庭の半数以上を占める白物家電では、制御ソフトウェアを更新するなどの場合を除き、多量のデータ伝送を必要としないため、必ずしも高価で高速な通信インターフェースを採用する必要はない。したがって、特に白物家電を考慮すると、機器Hnの通信負担をできるだけ減らすことが望まれる。   In the invention disclosed in Patent Document 2, when the device Hn is connected to the power adapter Jn, the room information is acquired with the adapter Hn, and then the device information and the room information are transmitted to the in-home server A3. Therefore, similarly, the communication amount of the device Hn is large. This problem of traffic is not so much a problem in AV home appliances that perform image transmission and the like. This is because a high-speed communication interface is adopted so that a large amount of data can be transmitted. However, white goods that occupy more than half of the homes do not require a large amount of data transmission except when the control software is updated. Therefore, it is not always necessary to adopt an expensive and high-speed communication interface. Therefore, especially considering white goods, it is desired to reduce the communication burden of the device Hn as much as possible.

また、上記各特許文献では、機器Hnと接続される情報コンセントFnないし電源アダプターJnにマイコンを搭載することが必要となり、システムコストが高くなるという問題があった。より詳しく説明すると、特許文献1に開示された発明では、情報コンセントFn自体がIEEE1394ノードとなっており、当該情報コンセントFnは、コンフィグレーションプロセス等を処理するための数ビットのマイコンを内蔵しなければならない。然るに、このようなマイコンを内蔵しようとすれば、電源コンセントが数百円程度なのに対して、数千円程度の高価なものとなり、これを住宅に複数個採用することは現実的でない。もっとも、同文献には、情報コンセントFnを一つのノードとして構成することも記載されており、この構成によれば、当該情報コンセントFnに用いるマイコンの数を減少させることが可能である。   Further, in each of the above patent documents, it is necessary to mount a microcomputer on the information outlet Fn or the power adapter Jn connected to the device Hn, which causes a problem that the system cost increases. More specifically, in the invention disclosed in Patent Document 1, the information outlet Fn itself is an IEEE1394 node, and the information outlet Fn must include a multi-bit microcomputer for processing the configuration process and the like. I must. However, if an attempt is made to incorporate such a microcomputer, the power outlet would be about several hundred yen, but it would be several thousand yen, and it would be impractical to use a plurality of such outlets in a house. However, this document also describes that the information outlet Fn is configured as one node. According to this configuration, the number of microcomputers used for the information outlet Fn can be reduced.

ところが、このような構成とした場合、各情報コンセントFnがポートに相当することになるため、通常、情報コンセント群から、ケーブルの最大接続長である4.5m以内に、機器Hnを設置しなければならない。然るに、住宅においては、その長さを超える位置に機器Hnを設置することがあるため、かかる長さの制約を受けないために、バス・ブリッジが使用されることになる。しかし、そのバス・ブリッジには、マイコンが使用されることになるため、結局、マイコンの数は減少させることができない。したがって、特許文献1に開示された発明では、複数個のマイコンが必要であり、高価なシステムとなる。また、特許文献2の電源アダプターJnは、機器Hnからの部屋情報要求を受けて、当該情報の返信処理をする必要があるため、数ビットのマイコンを内蔵する必要があり、同様にして、高価なシステムとなる。   However, in such a configuration, each information outlet Fn corresponds to a port, and therefore, the apparatus Hn must normally be installed within the maximum cable connection length of 4.5 m from the information outlet group. I must. However, since a device Hn may be installed at a position exceeding the length in a house, a bus bridge is used in order not to be restricted by the length. However, since a microcomputer is used for the bus bridge, the number of microcomputers cannot be reduced after all. Therefore, the invention disclosed in Patent Document 1 requires a plurality of microcomputers, resulting in an expensive system. In addition, the power adapter Jn of Patent Document 2 needs to receive a room information request from the device Hn and perform a reply process of the information. Therefore, it is necessary to incorporate a multi-bit microcomputer, and similarly, it is expensive. System.

本発明は、上述した実情に鑑みて提案されたものであり、特別な操作をすることなく簡便な手法により位置管理に必要となる情報を取得することで、機器の通信負担を低減することができる位置情報システムを提供することを目的とする。   The present invention has been proposed in view of the above-described circumstances, and it is possible to reduce the communication burden of a device by acquiring information necessary for position management by a simple method without performing a special operation. An object of the present invention is to provide a position information system that can be used.

本発明の位置情報システムは、上述した課題を解決するために、IPv6におけるNSメッセージに含まれるIPv6アドレスを、自己を一意に特定する固有の識別子である機器IDとして送信する機器と、前記機器が接続される複数のポートを有する集線装置と、前記ポートに接続された機器から送信される機器IDと、機器が接続されたポートを一意に特定するポート番号情報とに基づき、機器が接続された位置を特定して管理する機器管理装置とを備え、前記機器は、前記集線装置のポートに接続されたことに応じて、前記機器IDを含むNSメッセージを前記機器管理装置に送信し、前記集線装置は、前記機器から機器IDが送信されるのに伴い、前記機器が接続されたポートのポート番号情報を、前記機器IDを含むNSメッセージに含めて前記機器管理装置に送信する。 In order to solve the above-described problem, the location information system of the present invention transmits an IPv6 address included in an NS message in IPv6 as a device ID that is a unique identifier for uniquely identifying the device, and the device A device is connected based on a concentrator having a plurality of connected ports, a device ID transmitted from the device connected to the port, and port number information that uniquely identifies the port to which the device is connected. A device management device that identifies and manages a position, and the device transmits an NS message including the device ID to the device management device in response to being connected to a port of the concentrator, As the device ID is transmitted from the device, the device changes the port number information of the port to which the device is connected to the NS message including the device ID. And transmitted to the device management apparatus.

本発明によれば、集線装置に接続された機器が、集線装置のポートに接続されたことに応じて開始する所定の通信により機器IDが機器管理装置に送信され、機器から機器IDが送信されるのに伴い、集線装置により機器が接続されたポートのポート番号情報が機器管理装置に送信される。   According to the present invention, the device ID is transmitted to the device management device by the predetermined communication that starts when the device connected to the concentrator is connected to the port of the concentrator, and the device ID is transmitted from the device. As a result, the port number information of the port to which the device is connected by the line concentrator is transmitted to the device management device.

したがって、特別な操作をすることなく位置管理で必要となる機器ID、ポート番号情報を簡便な手法により確実に取得できるため、機器の通信負担を低減することが可能となる。   Therefore, the device ID and port number information necessary for location management can be obtained with a simple method without performing any special operation, and the communication burden on the device can be reduced.

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

まず、図1を用いて、本発明の実施の形態として示す位置情報システムの構成について説明をする。図1に示すように、位置情報システムは、複数の機器Hn(n=0,1,2,…)と、複数の機器Hnがそれぞれ接続され、それぞれ異なるロケーション(位置)に配置される情報コンセントFnと、複数のポートdnを有する集線装置(スイッチ装置)C0と、機器Hnの設置位置を管理する機器管理装置A1と、管理データベースA0とを備えている。   First, the configuration of a position information system shown as an embodiment of the present invention will be described with reference to FIG. As shown in FIG. 1, the position information system includes information outlets in which a plurality of devices Hn (n = 0, 1, 2,...) And a plurality of devices Hn are connected to each other and are located at different locations (positions). Fn, a line concentrator (switch device) C0 having a plurality of ports dn, a device management device A1 that manages the installation position of the device Hn, and a management database A0.

このような構成の位置情報システムは、機器管理装置A1と機器Hnとが集線装置C0介してデータ通信をすることで、情報コンセントFnを介して集線装置C0のポートdnに接続された機器Hnの設置位置を検出し、機器管理装置A1で一元管理することができる。   In the position information system having such a configuration, the device management device A1 and the device Hn perform data communication via the concentrator C0, so that the device Hn connected to the port dn of the concentrator C0 via the information outlet Fn. The installation position can be detected and centrally managed by the device management apparatus A1.

図1に示すように、情報コンセントFnは、機器Hnから導出された(又は接続された)通信線gnを介して機器Hnと接続される。集線装置C0は、ポートdn(n=1,2,3,4…)に接続された通信線en(n=0,1,2,3…)を介して情報コンセントFnと接続される。また、集線装置C0は、ポートdn(n=0)に接続された通信線b2を介して機器管理装置A1と接続される。機器管理装置A1と管理データベースA0は、通信線b1を介して接続されている。なお、機器Hnと情報コンセントFn、情報コンセントFnとポートdnとは、それぞれ1対1で対応している。   As shown in FIG. 1, the information outlet Fn is connected to the device Hn via a communication line gn derived (or connected) from the device Hn. The line concentrator C0 is connected to the information outlet Fn via the communication line en (n = 0, 1, 2, 3...) Connected to the port dn (n = 1, 2, 3, 4...). The line concentrator C0 is connected to the device management apparatus A1 via the communication line b2 connected to the port dn (n = 0). The device management apparatus A1 and the management database A0 are connected via a communication line b1. The device Hn and the information outlet Fn correspond to the information outlet Fn and the port dn on a one-to-one basis.

機器管理装置A1と管理データベースA0とを接続する通信線b1は、管理データベースA0と機器管理装置A1との間で情報の通信ができるものであれば、特に限定されるものではなく、例えば、USB(Universal Serial Bus)ケーブルやSCSI(Small Computer System Interface)などのシリアルバスを採用することができる。   The communication line b1 connecting the device management apparatus A1 and the management database A0 is not particularly limited as long as information communication is possible between the management database A0 and the device management apparatus A1, and for example, a USB A serial bus such as a (Universal Serial Bus) cable or SCSI (Small Computer System Interface) can be used.

集線装置C0と機器管理装置A1とを接続する通信線b2、集線装置C0と情報コンセントFnとを接続する通信線en、情報コンセントF0と機器Hnとを接続する通信線gnは、各装置間で通信ができるものであれば、特に限定されるものではなく、例えば、10BaseT、100BaseTX等のツイストペアケーブルなどが用いられ、情報コンセントFnでは、RJ45モジュラジャックが採用される。なお、必要に応じて、10Base−2、5等の同軸ケーブルを使用しても良いし、USBであっても良いものである。   The communication line b2 that connects the line concentrator C0 and the device management apparatus A1, the communication line en that connects the line concentrator C0 and the information outlet Fn, and the communication line gn that connects the information outlet F0 and the apparatus Hn are between the devices. There is no particular limitation as long as communication is possible. For example, twisted pair cables such as 10BaseT and 100BaseTX are used, and the information outlet Fn employs an RJ45 modular jack. If necessary, a coaxial cable such as 10Base-2 or 5 may be used, or a USB cable may be used.

機器Hnは、集線装置C0を介して機器管理装置A1とTCP/IPによるデータ通信を行うことができる。機器Hnは、位置情報システムにおける設置位置の検出対象であって、例えば、家電機器などである。   The device Hn can perform data communication by TCP / IP with the device management apparatus A1 via the line concentrator C0. The device Hn is a detection target of the installation position in the position information system, and is, for example, a home appliance.

機器Hnは、位置情報システムにおいて、少なくとも自身を一意に特定する機器固有の識別子となる機器ID、例えばOID(Object ID)を図示しないメモリ内に記憶している。機器Hnは、このような機器IDの他に、図示しないメモリ内に、位置情報システムでの制御において使用される変数(Variable)、イベント(Event)、関数(Function)などを記憶しており、機器管理装置A1に対して自発的に又は何らかのリクエストに応じて提示することができる。また、機器IDとしては、MACアドレスや、IPv6(Internet Protocol version 6)に対応している場合にはIPv6アドレスを利用するようにしてもよい。   In the position information system, the device Hn stores, in a memory (not shown), a device ID serving as a device-specific identifier that uniquely identifies itself, for example, an OID (Object ID). In addition to the device ID, the device Hn stores, in a memory (not shown), variables (variables), events (events), functions (functions), and the like used in control in the position information system. It can be presented voluntarily or in response to some request to the device management apparatus A1. Further, as the device ID, a MAC address or an IPv6 address may be used when it corresponds to IPv6 (Internet Protocol version 6).

集線装置C0は、レイヤ2スイッチ、すなわちスイッチングハブであり、ポートdnのリンク状態などをMIB(Management Information Base)として保持している。また、必要に応じて、PoE((Power over Ethernet(登録商標))などで電力供給をすることもできる。   The line concentrator C0 is a layer 2 switch, that is, a switching hub, and holds the link state of the port dn as a MIB (Management Information Base). Further, if necessary, power can be supplied by PoE ((Power over Ethernet (registered trademark)) or the like.

機器管理装置A1は、位置情報システムにおける中央制御装置であり、自身が保持する集線装置C0の管理ツールといったアプリケーションプログラムや各種データ、さらには、管理データベースに記憶された管理データと連携して機器Hnの位置管理を円滑に実行することができる。機器管理装置A1は、例えば、PC(Personal Computer)などで構成することができる。   The device management apparatus A1 is a central control device in the position information system, and is linked to application programs such as a management tool of the line concentrator C0 held by itself, various data, and management data stored in the management database in the form of the device Hn. It is possible to smoothly manage the location of the. The device management apparatus A1 can be configured by, for example, a PC (Personal Computer).

管理データベースA0は、例えば、ハードディスクなどの比較的大容量のデータ記憶手段である。管理データベースA0は、集線装置C0のポートdnの情報(ポート番号)と、ポートdnがそれぞれ何処に設置されているかを示す位置情報とを対応づけた位置情報データベースを保持している。また、管理データベースA0は、位置情報システムに対応する機器Hnに関するスペックなどの各種情報を記述した機器情報データベースを保持していてもよい。   The management database A0 is a relatively large-capacity data storage unit such as a hard disk. The management database A0 holds a position information database in which information on the port dn (port number) of the line concentrator C0 is associated with position information indicating where each port dn is installed. Further, the management database A0 may hold a device information database describing various information such as specifications related to the device Hn corresponding to the position information system.

管理データベースA0が保持する位置情報データベースは、例えば、図2のデータテーブルに示すように、管理識別用のインデックス毎に、集線装置C0のIPアドレス並びに各ポート番号、ポートdnに対応するロケーション情報、接続された機器Hnに固有の機器情報、機器ID、ポートのリンク状態、機器Hnの識別子であるMACアドレス(Media Access Control Address)などが対応付けられて構成される。   The location information database held by the management database A0 is, for example, as shown in the data table of FIG. 2, for each management identification index, the IP address of the concentrator C0, each port number, location information corresponding to the port dn, Device information, device ID, port link state, MAC address (Media Access Control Address) that is an identifier of the device Hn, and the like are associated with the connected device Hn.

なお、集線装置C0にポートdnに接続された機器HnのIPアドレスを記憶できる機能があれば、MACアドレスに限らずに、IPアドレス(Internet Protocol Address)を格納するようにしても良い。   If the concentrator C0 has a function capable of storing the IP address of the device Hn connected to the port dn, the IP address (Internet Protocol Address) may be stored without being limited to the MAC address.

また、集線装置C0のIPアドレスと、ポートdnに対応するロケーション情報については、図示しない入力手段により、ユーザないし施工者によって事前に入力するようになっている。   The IP address of the line concentrator C0 and the location information corresponding to the port dn are input in advance by a user or a contractor by an input unit (not shown).

一方、機器情報データベースは、機器固有の識別子と当該機器固有の情報とが対応づけられて格納されており、機器固有の情報としては、メーカ名(例えば、松下)、製品体系(例えば、製品名)、シリアル番号などが挙げられる。このデータベースは、必ずしも必要ではなく、通常は、機器管理装置A1とネットワークを介して遠隔に接続された図示しないサーバなどから必要に応じて適宜取得することができる。   On the other hand, the device information database stores a device-specific identifier and information specific to the device in association with each other. The device-specific information includes a manufacturer name (for example, Matsushita) and a product system (for example, a product name). ), Serial number, etc. This database is not always necessary, and can usually be acquired as needed from a server (not shown) or the like remotely connected to the device management apparatus A1 via a network.

このような構成の位置情報システムにおいて、機器管理装置A1が、情報コンセントFnを介して集線装置C0のポートdnに接続された機器Hnの位置を把握し管理するためには、どのような機器Hnがどのポートdnに接続されたかを検出する必要がある。具体的には、機器管理装置A1は、機器Hnの機器IDと、この機器IDが接続された集線装置のポートdnを一意に特定するポート番号とに基づき、機器Hnの位置を特定して管理を行う。したがって、機器管理装置A1は、機器Hnが集線装置C0のポートdnに接続された場合には、機器IDとポート番号とを取得する必要がある。   In the position information system having such a configuration, in order for the device management apparatus A1 to grasp and manage the position of the device Hn connected to the port dn of the line concentrator C0 via the information outlet Fn, what kind of device Hn It is necessary to detect which port dn is connected to. Specifically, the device management apparatus A1 identifies and manages the position of the device Hn based on the device ID of the device Hn and the port number that uniquely identifies the port dn of the line concentrator to which the device ID is connected. I do. Therefore, the device management apparatus A1 needs to acquire the device ID and the port number when the device Hn is connected to the port dn of the line concentrator C0.

そこで、この位置情報システムでは、情報コンセントFnを介して集線装置C0のポートdnに、機器Hnが接続されたことに応じて開始するTCP/IPによるデータ通信により、自ら機器IDを機器管理装置A1に送信し、機器Hnから機器IDが送信されるのに伴い、集線装置C0が、機器Hnが接続されたポートのポート番号を機器管理装置A1に送信している。これにより、機器管理装置A1は、機器IDとポート番号とを取得することができる。この機器IDとポート番号の機器管理装置A1による具体的な取得手法を、以下に示す(1)〜(4)にて説明をする。   Therefore, in this position information system, the device management apparatus A1 self-assigns the device ID by data communication based on TCP / IP that starts in response to the connection of the device Hn to the port dn of the concentrator C0 via the information outlet Fn. As the device ID is transmitted from the device Hn, the line concentrator C0 transmits the port number of the port to which the device Hn is connected to the device management apparatus A1. Thereby, apparatus management apparatus A1 can acquire apparatus ID and a port number. A specific method of acquiring the device ID and the port number by the device management apparatus A1 will be described in (1) to (4) below.

(1)Gratuitous ARP(Address Resolution Protocol)を利用した機器ID、ポート番号の送信手法
ARPは、TCP/IPに基づくデータ通信に先立ち、通信相手のMACアドレスを取得するために用いられるプロトコルである。機器Hnは、このARPを利用することで機器IDを機器管理装置A1に自ら送信することができる。ARPは、IPv4(Internet Protocol version 4)において標準的に備えられたプロトコルである。
(1) Transmission method of device ID and port number using Gratuitous ARP (Address Resolution Protocol) ARP is a protocol used to acquire a MAC address of a communication partner prior to data communication based on TCP / IP. The device Hn can transmit the device ID to the device management apparatus A1 by using this ARP. ARP is a standard protocol provided in IPv4 (Internet Protocol version 4).

Gratuitous ARPは、コンピュータ自身が持つARPテーブルの内容を強制的に更新させるために用いられるARPの一機能である。このGratuitous ARPの機能により、起動時においてネットワーク上で重複した問題のあるIPアドレスが存在するかどうかをチェックすることができる。   Gratuitous ARP is a function of ARP used to forcibly update the contents of the ARP table held by the computer itself. With this Gratuitous ARP function, it is possible to check whether there is a duplicate IP address having a problem on the network at the time of activation.

機器Hnは、集線装置C0のポートdnに接続された場合、重複したIPアドレスをチェックすべく、図3に示すタイミングチャートのように、Gratuitous ARPリクエストパケットをブロードキャストする(ステップS1)。図4に、Gratuitous ARPのパケットフォーマットを示す。機器Hnは、図4に示すように、このステップS1において送信するARPリクエストパケットに機器IDを添付する。   When connected to the port dn of the line concentrator C0, the device Hn broadcasts a Gratuitous ARP request packet as shown in the timing chart of FIG. 3 to check for duplicate IP addresses (step S1). FIG. 4 shows the packet format of Gratuitous ARP. As shown in FIG. 4, the device Hn attaches the device ID to the ARP request packet transmitted in step S1.

Gratuitous ARPリクエストパケットを受信した集線装置C0は、情報コンセントFnを介して機器Hnが接続されたポートdnのポート番号を、図5に示すように、このGratuitous ARPリクエストパケットに添付する(ステップS2)。   The line concentrator C0 that has received the Gratuitous ARP request packet attaches the port number of the port dn to which the device Hn is connected via the information outlet Fn to the Gratuitous ARP request packet as shown in FIG. 5 (Step S2). .

これにより、Gratuitous ARPリクエストパケットを受信した機器管理装置A1は、集線装置C0のポートdnに接続された機器Hnを一意に特定する固有の識別子である機器IDと、この機器IDが接続された集線装置C0のポートdnのポート番号とを一度に取得することができる。   As a result, the device management apparatus A1 that has received the Gratuitous ARP request packet, the device ID that is a unique identifier that uniquely identifies the device Hn connected to the port dn of the line concentrator C0, and the concentrator to which this device ID is connected. The port number of the port dn of the device C0 can be acquired at a time.

そして、Gratuitous ARPリクエストパケットを受信した機器管理装置A1は、図6に示すように、位置情報データベースに対し、取得した各ポートdnのリンク状態、機器Hnの機器IDを格納する。図6に示す例では、ポートD1、D2に機器Hnが接続されている旨のUPが格納され、その他のポートD3、D4には機器Hnが接続されていない旨のDOWNが格納される。また、リンクUPのポートD1、D2には、それぞれ機器H0、H1の機器IDとしてH0、H1が格納される。   Then, the device management apparatus A1 that has received the Gratuitous ARP request packet stores the acquired link state of each port dn and the device ID of the device Hn in the position information database, as shown in FIG. In the example shown in FIG. 6, UP indicating that the device Hn is connected is stored in the ports D1 and D2, and DOWN indicating that the device Hn is not connected is stored in the other ports D3 and D4. In addition, H0 and H1 are stored in the ports D1 and D2 of the link UP as device IDs of the devices H0 and H1, respectively.

なお、MACアドレスの情報は、機器HnがリンクDOWNしてもそのまま残り(例えば、図6のインデックス4)、新規に同一MACアドレスが登録されたときに(同インデックス1)、位置情報データベースから削除されるようになっている。   Note that the MAC address information remains as it is even if the device Hn is DOWN (for example, index 4 in FIG. 6), and is deleted from the position information database when the same MAC address is newly registered (same index 1). It has come to be.

このように、機器管理装置A1は、機器IDから、どの機器Hnがどのポートdnに接続されているかを認識することで、各機器Hnが何処の部屋に設置されているのかを認識することができる。   In this way, the device management apparatus A1 recognizes which device Hn is installed in which port by identifying which device Hn is connected to which port dn from the device ID. it can.

例えば、図6に示す例では、機器H0が「1階リビング」に、機器H1が「1階台所」に設置されていることが分かる。ところで、機器IDやMACアドレスを表示しても、ユーザには分かりづらいので、機器管理装置A1は、ポートdnに接続されている機器Hnの機器IDやMACアドレスから、機器情報データベースを参照して、図7に示すように、例えば、「松下電器、VTR、SN(シリアルナンバー)」、「松下電工、ドライヤー、SN」などの情報を取得して、SNを除く情報を、ロケーション情報と共に、ユーザに報知するようにしても良い(ステップS3)。   For example, in the example shown in FIG. 6, it can be seen that the device H0 is installed in the “1st floor living room” and the device H1 is installed in the “1st floor kitchen”. By the way, even if the device ID and MAC address are displayed, it is difficult for the user to understand, so the device management apparatus A1 refers to the device information database from the device ID and MAC address of the device Hn connected to the port dn. As shown in FIG. 7, for example, information such as “Matsushita Electric, VTR, SN (serial number)”, “Matsushita Electric, dryer, SN” is acquired, and the information excluding SN is added to the user along with the location information. May be notified (step S3).

機器管理装置A1は、このようにして取得した機器IDとポート番号とを用いることで機器Hnが接続された位置を特定し、管理することができる。また、機器ID、ポート番号を取得するまでの通信回数も非常に少ないため、機器Hnの通信負担を大幅に低減することができる。   The device management apparatus A1 can specify and manage the position where the device Hn is connected by using the device ID and the port number acquired in this way. In addition, since the number of communications until the device ID and port number are acquired is very small, the communication burden on the device Hn can be greatly reduced.

(2)IPv6(Internet Protocol version 6)のアドレス自動構成を利用した機器ID、ポート番号の送信手法
IPv6では、プラグ・アンド・プレイを実現するために、IPアドレスを自動で機器に設定することができるアドレス自動構成が標準機能として備えられている。IPv6に対応した機器は、ネットワーク上に流れている情報を用いてIPアドレスを生成して自身に設定をする。このタイミングを利用して、機器Hnから機器IDを送信し、機器IDの送信に伴い、集線装置C0から機器Hnが接続されたポートdnのポート番号を送信する。
(2) Device ID and port number transmission method using IPv6 (Internet Protocol version 6) address automatic configuration In IPv6, in order to realize plug and play, an IP address may be automatically set in a device. Address automatic configuration is provided as a standard function. A device compatible with IPv6 generates an IP address using information flowing on the network and sets the IP address. Utilizing this timing, the device ID is transmitted from the device Hn, and the port number of the port dn to which the device Hn is connected is transmitted from the line concentrator C0 along with the transmission of the device ID.

以下に、この手法による機器ID、ポート番号を送信する手法の一例を示すが、128bitで構成されるIPv6のユニークなIPアドレスを機器IDとして使用する場合と、機器IDとして機器Hnに与えられたOIDを用いる場合とを想定することができる。   An example of a method for transmitting a device ID and a port number according to this method is shown below. When a unique IP address of 128 bits is used as a device ID, it is given to the device Hn as a device ID. The case where OID is used can be assumed.

(機器IDとしてIPv6を使用する場合)
機器IDとしてIPv6を使用する場合、以下の図8、図9に示すタイミングチャートのようにして、それぞれ機器ID、ポート番号を送信することができる。
(When using IPv6 as device ID)
When IPv6 is used as the device ID, the device ID and the port number can be transmitted as shown in the timing charts shown in FIGS.

まず、図8に示すタイミングチャートを用いて、機器IDとしてIPv6を使用する場合について説明をする。図8に示すように、機器Hnが、情報コンセントFnを介して集線装置C0のポートdnに接続されると、プラグ・アンド・プレイを実現するためにアドレス自動構成が開始される。IPv6では、通常、機器Hnの通信インターフェースに対して、リンクローカルアドレスとグローバルアドレスの2つのIPアドレスを割り当てる。リンクローカルアドレスは、ルータで仕切られた1つのネットワークであるリンクにおいて制御用に用いられるIPアドレスであり、グローバルアドレスは通常のデータ通信に用いられるIPアドレスである。   First, the case where IPv6 is used as the device ID will be described using the timing chart shown in FIG. As shown in FIG. 8, when the device Hn is connected to the port dn of the concentrator C0 via the information outlet Fn, automatic address configuration is started in order to realize plug and play. In IPv6, normally, two IP addresses, a link local address and a global address, are assigned to the communication interface of the device Hn. The link local address is an IP address used for control in a link which is one network partitioned by routers, and the global address is an IP address used for normal data communication.

図8に示すように、何れかの機器Hnが、情報コンセントFnを介して集線装置C0の何れかのポートdnに接続(プラグイン)されると、プラグ・アンド・プレイを開始するべくアドレスの自動構成が開始される。図8では、機器Hnがまずリンクローカルアドレスを仮構成して、仮構成したリンクローカルアドレスが重複していないことを確認をするために、NS(Neighbor Solicitation)メッセージを集線装置C0を介してルータに送信する(ステップS11)。   As shown in FIG. 8, when any device Hn is connected (plugged in) to any port dn of the line concentrator C0 via the information outlet Fn, an address is set to start plug and play. Automatic configuration starts. In FIG. 8, the device Hn first tentatively configures a link local address, and in order to confirm that the tentatively configured link local address is not duplicated, an NS (Neighbor Solicitation) message is sent to the router via the concentrator C0. (Step S11).

リンクローカルアドレスは、IPv6のIPアドレスのプレフィックスを固定とし、インターフェースIDを自身で生成することで構成される。このリンクローカルアドレスを利用している端末が他に存在すれば、この端末からその旨を通知するNA(Neighbor Advertisement)メッセージが送信されることになる。   The link local address is configured by fixing the IPv6 IP address prefix and generating the interface ID by itself. If there is another terminal using this link local address, an NA (Neighbor Advertisement) message notifying that is transmitted from this terminal.

このとき、機器Hnは、仮構成したリンクローカルでネットワーク上のルータに対してプレフィックスの情報を含んだ情報であるRA(Router Advertisement)メッセージをリクエストするRS(Router Solicitation)メッセージを、集線装置C0を介してネットワークに送信してもよい。また、このRAメッセージは、定期的に送信されているため、機器Hnは、必ずしもRSメッセージを送る必要はない。   At this time, the device Hn sends an RS (Router Solicitation) message requesting an RA (Router Advertisement) message, which is information including prefix information, to the router on the network in the temporarily configured link local and the concentrator C0. Via the network. Moreover, since this RA message is periodically transmitted, the device Hn does not necessarily need to send an RS message.

NSメッセージを受信した集線装置C0は、機器Hnが接続されたポートdnのポート番号を付加してルータに送信する(ステップS12)。このとき、機器管理装置A1は、ルータに送信されるNSメッセージを監視しているため、NSメッセージのIPv6アドレスを機器IDとして取得し、NSメッセージに付加されたポート番号を取得する。機器管理装置A1は、機器IDからRSメッセージが送信されている場合には、このRSメッセージのIPv6アドレスを機器IDとして取得し、RSメッセージに付加されたポート番号を取得するようにしてもよい。   The line concentrator C0 that has received the NS message adds the port number of the port dn to which the device Hn is connected and transmits it to the router (step S12). At this time, since the device management apparatus A1 monitors the NS message transmitted to the router, the device management apparatus A1 acquires the IPv6 address of the NS message as the device ID and acquires the port number added to the NS message. When the RS message is transmitted from the device ID, the device management apparatus A1 may acquire the IPv6 address of the RS message as the device ID and acquire the port number added to the RS message.

これにより、NSメッセージ又はRSメッセージから機器管理装置A1は、集線装置C0のポートdnに接続された機器Hnを一意に特定する固有の識別子である機器IDと、この機器IDが接続された集線装置C0のポートdnのポート番号とを一度に取得することができる。   Accordingly, the device management apparatus A1 from the NS message or the RS message, the device ID that is a unique identifier for uniquely identifying the device Hn connected to the port dn of the line concentrator C0, and the line concentrator to which the device ID is connected. The port number of the port dn of C0 can be acquired at once.

これにより、機器管理装置A1は、図3に示したタイミングチャートのステップS3と同様にして機器情報を取得することができる(ステップS13)。   As a result, the device management apparatus A1 can acquire device information in the same manner as step S3 of the timing chart shown in FIG. 3 (step S13).

この図8に示すタイミングチャートでは、NSメッセージを受信した端末からNA(Neighbor Advertisement)メッセージが送信されず仮構成したリンクローカルアドレスに重複がないことから、仮構成したリンクローカルアドレスが使用される。また、機器Hnは、定期的又はRSメッセージに応じて送信されるRAメッセージを受信したことに応じて、RAメッセージに含まれるプレフィックスと、自身で生成したインターフェースIDとを合成してグローバルアドレスを構成することになる。   In the timing chart shown in FIG. 8, since the NA (Neighbor Advertisement) message is not transmitted from the terminal that received the NS message and there is no duplication in the temporarily configured link local address, the temporarily configured link local address is used. In addition, the device Hn composes a global address by combining the prefix included in the RA message and the interface ID generated by itself in response to receiving the RA message transmitted periodically or in response to the RS message. Will do.

機器管理装置A1は、このようにして取得した機器IDとポート番号とを用いることで機器Hnが接続された位置を特定し、管理することができる。また、機器ID、ポート番号を取得するまでの通信回数も非常に少ないため、機器Hnの通信負担を大幅に低減することができる。   The device management apparatus A1 can specify and manage the position where the device Hn is connected by using the device ID and the port number acquired in this way. In addition, since the number of communications until the device ID and port number are acquired is very small, the communication burden on the device Hn can be greatly reduced.

次に、図9に示すタイミングチャートを用いて、機器IDとしてIPv6を使用する場合について説明をする。図9に示すように、機器Hnが情報コンセントFnを介して集線装置C0のポートdnに接続されると、プラグ・アンド・プレイを実現するためにアドレス自動構成が開始される。   Next, the case where IPv6 is used as the device ID will be described using the timing chart shown in FIG. As shown in FIG. 9, when the device Hn is connected to the port dn of the concentrator C0 via the information outlet Fn, automatic address configuration is started in order to realize plug and play.

図9に示すタイミングチャートでは、機器Hnが定期的に送信されるRAメッセージ(ステップS21)を受信したことで、まずグローバルアドレスが構成されている。次に、機器Hnは、リンクローカルアドレスを仮構成して、仮構成したリンクローカルアドレスが重複していないことを確認するために、NSメッセージを集線装置C0を介してルータに送信する(ステップS22)。このとき、機器Hnは、RSメッセージを送信するようにしてもよい。   In the timing chart shown in FIG. 9, the global address is first configured by the device Hn receiving the RA message (step S <b> 21) periodically transmitted. Next, the device Hn temporarily configures the link local address and transmits an NS message to the router via the line concentrator C0 in order to confirm that the temporarily configured link local address is not duplicated (step S22). ). At this time, the device Hn may transmit an RS message.

NSメッセージを受信した集線装置C0は、機器Hnが接続されたポートdnのポート番号を付加してルータに送信する(ステップS23)。このとき、機器管理装置A1は、ルータに送信されるNSメッセージを監視しているため、NSメッセージのIPv6アドレスを機器IDとして取得し、NSメッセージに付加されたポート番号を取得する。機器管理装置A1は、機器IDからRSメッセージが送信されている場合には、このRSメッセージのIPv6アドレスを機器IDとして取得し、RSメッセージに付加されたポート番号を取得するようにしてもよい。   The line concentrator C0 that has received the NS message adds the port number of the port dn to which the device Hn is connected and transmits it to the router (step S23). At this time, since the device management apparatus A1 monitors the NS message transmitted to the router, the device management apparatus A1 acquires the IPv6 address of the NS message as the device ID and acquires the port number added to the NS message. When the RS message is transmitted from the device ID, the device management apparatus A1 may acquire the IPv6 address of the RS message as the device ID and acquire the port number added to the RS message.

これにより、NSメッセージ又はRSメッセージから機器管理装置A1は、集線装置C0のポートdnに接続された機器Hnを一意に特定する固有の識別子である機器IDと、この機器IDが接続された集線装置C0のポートdnのポート番号とを一度に取得することができる。   Accordingly, the device management apparatus A1 from the NS message or the RS message, the device ID that is a unique identifier for uniquely identifying the device Hn connected to the port dn of the line concentrator C0, and the line concentrator to which the device ID is connected. The port number of the port dn of C0 can be acquired at once.

したがって、機器管理装置A1は、図3に示したタイミングチャートのステップS3と同様にして機器情報を取得することができる(ステップS24)。   Therefore, the device management apparatus A1 can acquire device information in the same manner as Step S3 of the timing chart shown in FIG. 3 (Step S24).

この図9に示すタイミングチャートでは、NSメッセージを受信した端末からNAメッセージが一定時間内に送信されず仮構成したリンクローカルアドレスに重複がないことから、仮構成したリンクローカルアドレスが使用される。   In the timing chart shown in FIG. 9, since the NA message is not transmitted within a predetermined time from the terminal that received the NS message and there is no duplication in the temporarily configured link local address, the temporarily configured link local address is used.

機器管理装置A1は、このようにして取得した機器IDとポート番号とを用いることで機器Hnが接続された位置を特定し、管理することができる。また、機器ID、ポート番号を取得するまでの通信回数も非常に少ないため、機器Hnの通信負担を大幅に低減することができる。   The device management apparatus A1 can specify and manage the position where the device Hn is connected by using the device ID and the port number acquired in this way. In addition, since the number of communications until the device ID and port number are acquired is very small, the communication burden on the device Hn can be greatly reduced.

(機器IDとしてOIDを使用する場合)
機器IDとしてOIDを使用する場合、以下の図10に示すタイミングチャートのようにして、それぞれ機器ID、ポート番号を送信することができる。図10に示すように、機器Hnが、情報コンセントFnを介して集線装置C0のポートdnに接続されると、プラグ・アンド・プレイを実現するためにアドレス自動構成が開始される。
(When using OID as device ID)
When an OID is used as the device ID, the device ID and the port number can be transmitted as shown in the timing chart shown in FIG. As shown in FIG. 10, when the device Hn is connected to the port dn of the line concentrator C0 via the information outlet Fn, automatic address configuration is started to realize plug and play.

図10に示すタイミングチャートでは、機器Hnが定期的に送信されるRAメッセージ(ステップS31)受信したことで、まずグローバルアドレスが構成されている。次に、機器Hnは、リンクローカルアドレスを仮構成して、仮構成したリンクローカルアドレスが重複してないことを確認するために、NSメッセージを集線装置C0を介してルータに送信する(ステップS32)。機器Hnは、このステップS32において送信するNSメッセージに機器IDを添付する。このとき、機器Hnは、機器IDを添付したRSメッセージを送信するようにしてもよい。   In the timing chart shown in FIG. 10, the global address is first configured by receiving the RA message (step S31) that is periodically transmitted by the device Hn. Next, the device Hn temporarily configures the link local address and transmits an NS message to the router via the line concentrator C0 in order to confirm that the temporarily configured link local address is not duplicated (step S32). ). The device Hn attaches the device ID to the NS message transmitted in step S32. At this time, the device Hn may transmit an RS message with the device ID attached.

NSメッセージを受信した集線装置C0は、機器Hnが接続されたポートdnのポート番号を付加してルータに送信する(ステップS33)。このとき、機器管理装置A1は、ルータに送信されるNSメッセージを監視しているため、NSメッセージに付加された機器ID、ポート番号を取得する。機器管理装置A1は、機器IDからRSメッセージが送信されている場合には、このRSメッセージに付加された機器ID、ポート番号を取得するようにしてもよい。   The line concentrator C0 that has received the NS message adds the port number of the port dn to which the device Hn is connected and transmits it to the router (step S33). At this time, since the device management apparatus A1 monitors the NS message transmitted to the router, the device management apparatus A1 acquires the device ID and the port number added to the NS message. When the RS message is transmitted from the device ID, the device management apparatus A1 may acquire the device ID and the port number added to the RS message.

これにより、NSメッセージ又はRSメッセージから機器管理装置A1は、集線装置C0のポートdnに接続された機器Hnを一意に特定する固有の識別子である機器IDと、この機器IDが接続された集線装置C0のポートdnのポート番号とを一度に取得することができる。   Accordingly, the device management apparatus A1 from the NS message or the RS message, the device ID that is a unique identifier for uniquely identifying the device Hn connected to the port dn of the line concentrator C0, and the line concentrator to which the device ID is connected. The port number of the port dn of C0 can be acquired at once.

したがって、機器管理装置A1は、図3に示したタイミングチャートのステップS3と同様にして機器情報を取得することができる(ステップS34)。   Therefore, the device management apparatus A1 can acquire device information in the same manner as Step S3 of the timing chart shown in FIG. 3 (Step S34).

この図10に示すタイミングチャートでは、NSメッセージを受信した端末からNAメッセージが一定時間内に送信された(ステップS35)場合を示している。図10に示すように、機器Hnは、NAメッセージを受信したことで、仮構成したリンクローカルアドレスに重複があったとして、再びリンクローカルアドレスを仮構成しNSメッセージを集線装置C0を介してルータに送信する(ステップS36、ステップS37)。機器Hnは、一定時間内にNAメッセージを受信しなかった場合、仮構成したリンクローカルアドレスを使用する。   The timing chart shown in FIG. 10 shows a case where the NA message is transmitted from the terminal that has received the NS message within a predetermined time (step S35). As shown in FIG. 10, when the device Hn receives the NA message, the provisionally configured link local address is duplicated, and the link local address is temporarily configured again, and the NS message is routed through the line concentrator C0. (Step S36, step S37). When the device Hn does not receive the NA message within a certain time, the device Hn uses the provisionally configured link local address.

機器管理装置A1は、このようにして取得した機器IDとポート番号とを用いることで機器Hnが接続された位置を特定し、管理することができる。また、機器ID、ポート番号を取得するまでの通信回数も非常に少ないため、機器Hnの通信負担を大幅に低減することができる。   The device management apparatus A1 can specify and manage the position where the device Hn is connected by using the device ID and the port number acquired in this way. In addition, since the number of communications until the device ID and port number are acquired is very small, the communication burden on the device Hn can be greatly reduced.

(機器IDとして、IPv6、OIDを使用する場合)
機器IDとして、IPv6、OIDを使用する場合、以下の図11に示すタイミングチャートのようにして、それぞれ機器ID、ポート番号を送信することができる。図11に示すように、機器Hnが情報コンセントFnを介して集線装置C0のポートdnに接続されると、プラグ・アンド・プレイを実現するためにアドレス自動構成が開始される。
(When using IPv6 or OID as device ID)
When IPv6 or OID is used as the device ID, the device ID and the port number can be transmitted as shown in the timing chart shown in FIG. As shown in FIG. 11, when the device Hn is connected to the port dn of the concentrator C0 via the information outlet Fn, automatic address configuration is started in order to realize plug and play.

図11に示すタイミングチャートでは、機器Hnが定期的に送信されるRAメッセージ(ステップS41)を受信したことで、まずグローバルアドレスが構成されている。次に、機器Hnは、リンクローカルアドレスを仮構成して、仮構成したリンクローカルアドレスが重複していないことを確認するために、NSメッセージを集線装置C0を介してルータに送信する(ステップS42)。このとき、機器Hnは、RSメッセージを送信するようにしてもよい。   In the timing chart shown in FIG. 11, the global address is first configured by the device Hn receiving the RA message (step S41) periodically transmitted. Next, the device Hn temporarily configures the link local address and transmits an NS message to the router via the line concentrator C0 in order to confirm that the temporarily configured link local address is not duplicated (step S42). ). At this time, the device Hn may transmit an RS message.

NSメッセージを受信した集線装置C0は、機器Hnが接続されたポートdnのポート番号を付加してルータに送信する(ステップS43)。このとき、機器管理装置A1は、ルータに送信されるNSメッセージを監視しているため、NSメッセージのIPv6アドレスを機器IDとして取得し、NSメッセージに付加されたポート番号を取得する。機器管理装置A1は、機器IDからRSメッセージが送信されている場合には、このRSメッセージのIPv6アドレスを機器IDとして取得し、RSメッセージに付加されたポート番号を取得するようにしてもよい。   The line concentrator C0 that has received the NS message adds the port number of the port dn to which the device Hn is connected and transmits it to the router (step S43). At this time, since the device management apparatus A1 monitors the NS message transmitted to the router, the device management apparatus A1 acquires the IPv6 address of the NS message as the device ID and acquires the port number added to the NS message. When the RS message is transmitted from the device ID, the device management apparatus A1 may acquire the IPv6 address of the RS message as the device ID and acquire the port number added to the RS message.

これにより、NSメッセージ又はRSメッセージから機器管理装置A1は、集線装置C0のポートdnに接続された機器Hnを一意に特定する固有の識別子である機器ID(IPV6アドレス)と、この機器IDが接続された集線装置C0のポートdnのポート番号とを一度に取得することができる。   As a result, the device management apparatus A1 connects the device ID (IPV6 address), which is a unique identifier that uniquely identifies the device Hn connected to the port dn of the line concentrator C0, and the device ID from the NS message or the RS message. The port number of the port dn of the collected line concentrator C0 can be acquired at a time.

ここで、NSメッセージを受信した端末からNAメッセージが一定時間内に送信されたとする(ステップS44)。機器Hnは、このNAメッセージを受信したことで、仮構成したリンクローカルアドレスに重複があったとして、再びリンクローカルアドレスを仮構成し、機器ID(OID)を添付したNSメッセージを集線装置C0を介してルータに送信する(ステップS45、ステップS46)。NSメッセージを受信した集線装置C0は、機器Hnが接続されたポートdnのポート番号を付加してルータに送信する。このとき、機器管理装置A1は、ルータに送信されるNSメッセージを監視しているため、NSメッセージのOIDを機器IDとして取得し、NSメッセージに付加されたポート番号を取得する。   Here, it is assumed that the NA message is transmitted from the terminal that has received the NS message within a predetermined time (step S44). When the device Hn receives this NA message, it is assumed that there is an overlap in the temporarily configured link local address, and the link local address is temporarily configured again, and the NS message attached with the device ID (OID) is sent to the concentrator C0. To the router (step S45, step S46). The line concentrator C0 that has received the NS message adds the port number of the port dn to which the device Hn is connected and transmits it to the router. At this time, since the device management apparatus A1 monitors the NS message transmitted to the router, the device management apparatus A1 acquires the OID of the NS message as the device ID and acquires the port number added to the NS message.

これにより、NSメッセージ又はRSメッセージから機器管理装置A1は、集線装置C0のポートdnに接続された機器Hnを一意に特定する固有の識別子である機器ID(OID)と、この機器IDが接続された集線装置C0のポートdnのポート番号とを一度に取得することができる。   As a result, the device management apparatus A1 is connected to the apparatus ID (OID), which is a unique identifier for uniquely identifying the apparatus Hn connected to the port dn of the line concentrator C0, from the NS message or RS message. In addition, the port number of the port dn of the concentrator C0 can be acquired at a time.

したがって、機器管理装置A1は、図3に示したタイミングチャートのステップS3と同様にして機器情報を取得することができる(ステップS47)。   Therefore, the device management apparatus A1 can acquire device information in the same manner as Step S3 of the timing chart shown in FIG. 3 (Step S47).

OIDは、機器Hnに対してあらかじめユニークであるように設定される識別子であるため、128bitまで拡張されているが必ず重複しないと断定することができないIPv6を用いるよりも機器Hnを一意に特定する場合には有効となる。しかしながら、OIDを機器IDとして送信する場合、送信データ量が増えてしまう問題がある。   The OID is an identifier set in advance so as to be unique with respect to the device Hn. Therefore, the device Hn is uniquely identified rather than using IPv6 which is extended to 128 bits but cannot be determined unless it is necessarily duplicated. It is effective in some cases. However, when the OID is transmitted as the device ID, there is a problem that the transmission data amount increases.

そこで、図11に示すタイミングチャートで示した手法では、仮構成としたリンクローカルアドレスの重複確認のために送信されるNSメッセージで、まずIPv6を機器IDとするようにしてデータ量を低減させ、NAメッセージが返信された場合に、OIDを機器IDとして用いることで機器IDのユニーク性を確保するようにしている。   Therefore, in the method shown in the timing chart shown in FIG. 11, in the NS message transmitted for confirming the duplication of the link local address in the temporary configuration, the data amount is first reduced by using IPv6 as the device ID, When an NA message is returned, the uniqueness of the device ID is ensured by using the OID as the device ID.

機器Hnは、NAメッセージを一定時間内に受信しなかった場合、仮構成したリンクローカルアドレスを、リンクローカルアドレスとして使用する。   When the device Hn does not receive the NA message within a predetermined time, the device Hn uses the provisionally configured link local address as the link local address.

機器管理装置A1は、このようにして取得した機器IDとポート番号とを用いることで機器Hnが接続された位置を特定し、管理することができる。また、機器ID、ポート番号を取得するまでの通信回数も非常に少ないため、機器Hnの通信負担を大幅に低減することができる。   The device management apparatus A1 can specify and manage the position where the device Hn is connected by using the device ID and the port number acquired in this way. In addition, since the number of communications until the device ID and port number are acquired is very small, the communication burden on the device Hn can be greatly reduced.

(3)DHCP(Dynamic Host Configuration Protocol)を利用した機器ID、ポート番号の送信手法
DHCPは、ネットワーク内の機器に対してIPアドレスやサブネットマスクといったネットワーク情報を自動的に設定するためのプロトコルであり、IPv4において、プラグ・アンド・プレイを実現することができる。
(3) Device ID and port number transmission method using DHCP (Dynamic Host Configuration Protocol) DHCP is a protocol for automatically setting network information such as IP address and subnet mask for devices in the network. In IPv4, plug and play can be realized.

DHCPを利用するためには、ネットワーク内に配布するIPアドレスが設定されたDHCPサーバが構築されていることが前提となる。このDHCPサーバには、必要に応じてサブネットマスク、経路制御の情報、DNS(Domain Name System)サーバのアドレスなども設定することになる。DHCPによりIPアドレスを自動設定する場合、DHCPサーバが起ち上がっているネットワーク上において、DHCPクライアントは、DHCPサーバから提供されるIPアドレスの使用許可を求めるDHCPリクエストパケットを送信することになる。   In order to use DHCP, it is assumed that a DHCP server in which an IP address to be distributed in the network is set is constructed. In this DHCP server, a subnet mask, route control information, a DNS (Domain Name System) server address, and the like are set as necessary. When the IP address is automatically set by DHCP, the DHCP client transmits a DHCP request packet for requesting permission to use the IP address provided from the DHCP server on the network where the DHCP server is running.

したがって、機器HnをDHCPクライアントとし、機器管理装置A1をDHCPサーバとすれば集線装置C0のポートdnに接続された場合に送信されるDHCPリクエストパケットに機器ID、ポート番号を添付して機器管理装置A1に送信することができる。また、直接、機器管理装置A1をDHCPサーバとしない場合には、DHCPクライアントとした機器Hnと別途ネットワーク上に設けられたDHCPサーバとのDHCP通信を機器管理装置A1で監視できるようにする。これにより、機器管理装置A1は、DHCPリクエストパケットに添付された機器ID、ポート番号を取得することができる。   Therefore, if the device Hn is a DHCP client and the device management device A1 is a DHCP server, the device management device is attached with the device ID and the port number in the DHCP request packet transmitted when connected to the port dn of the concentrator C0. Can be sent to A1. When the device management apparatus A1 is not directly a DHCP server, the device management apparatus A1 can monitor the DHCP communication between the device Hn as a DHCP client and a DHCP server provided on a separate network. Thereby, the device management apparatus A1 can acquire the device ID and the port number attached to the DHCP request packet.

図12は、機器管理装置A1と接続されたネットワーク上にDHCPサーバが存在し、機器管理装置A1がDHCPクライアントである機器HnとDHCPサーバとのDHCP通信を監視している場合のタイミングチャートである。   FIG. 12 is a timing chart when a DHCP server exists on the network connected to the device management apparatus A1 and the device management apparatus A1 monitors the DHCP communication between the device Hn, which is a DHCP client, and the DHCP server. .

まず、機器Hnは、集線装置C0のポートdnに接続された場合、図12に示すタイミングチャートのように、DHCPリクエストパケットをブロードキャストする(ステップS51)。機器Hnは、このステップS51において送信するDHCPリクエストパケットに機器IDを添付する。   First, when the device Hn is connected to the port dn of the concentrator C0, it broadcasts a DHCP request packet as shown in the timing chart of FIG. 12 (step S51). The device Hn attaches the device ID to the DHCP request packet transmitted in step S51.

DHCPリクエストパケットを受信した集線装置C0は、情報コンセントFnを介して機器Hnが接続されたポートdnのポート番号を、このDHCPリクエストパケットに添付する(ステップS52)。   The line concentrator C0 that has received the DHCP request packet attaches the port number of the port dn to which the device Hn is connected via the information outlet Fn to the DHCP request packet (step S52).

これにより、DHCPリクエストパケットを受信した機器管理装置A1は、集線装置C0のポートdnに接続された機器Hnを一意に特定する固有の識別子である機器IDと、この機器Hnが接続された集線装置C0のポートdnのポート番号とを一度に取得することができる。   As a result, the device management apparatus A1 that has received the DHCP request packet receives the device ID that is a unique identifier for uniquely identifying the device Hn connected to the port dn of the line concentrator C0, and the line concentrator to which the device Hn is connected. The port number of the port dn of C0 can be acquired at once.

したがって、機器管理装置A1は、図3に示したタイミングチャートのステップS3と同様にして機器情報を取得することができる(ステップS53)。また、DHCPリクエストパケットを受信したDHCPサーバは、DHCPリプライパケットを機器Hnに送信する(ステップS54)。   Therefore, the device management apparatus A1 can acquire device information in the same manner as Step S3 of the timing chart shown in FIG. 3 (Step S53). Also, the DHCP server that has received the DHCP request packet transmits a DHCP reply packet to the device Hn (step S54).

機器管理装置A1は、このようにして取得した機器IDとポート番号とを用いることで機器Hnが接続された位置を特定し、管理することができる。また、機器ID、ポート番号を取得するまでの通信回数も非常に少ないため、機器Hnの通信負担を大幅に低減することができる。   The device management apparatus A1 can specify and manage the position where the device Hn is connected by using the device ID and the port number acquired in this way. In addition, since the number of communications until the device ID and port number are acquired is very small, the communication burden on the device Hn can be greatly reduced.

上述した実施の形態の特徴的な機能は、家電機器群がネットワーク接続されたホームネットワークや、設備装置群がネットワーク接続された設備ネットワークなどにも適用できる。   The characteristic functions of the above-described embodiment can be applied to a home network in which home appliance groups are connected to a network, an equipment network in which equipment groups are connected to a network, and the like.

ここで、ホームネットワークを構築する技術としては、ECHOネットの他、エミット(EMIT(Embedded Micro Internetworking Technology))と称される機器組み込み型ネットワーク技術などがあげられる。この組み込み型ネットワーク技術は、ネットワーク機器にEMITミドルウェアを組み込んでネットワークに接続できる機能を備え、EMIT技術と称されている。   Here, as a technology for constructing a home network, in addition to the ECHO network, an embedded network technology called EMIT (Embedded Micro Internetworking Technology) can be used. This embedded network technology has a function of incorporating EMIT middleware into a network device and connecting it to a network, and is called EMIT technology.

より具体的には、端末、中継機器、サーバ等のネットワーク機器にEMIT技術を実現するEMITソフトウェアを搭載して、当該EMITソフトウェアを搭載した端末、中継装置と、遠隔で制御又は監視するユーザ機器とをインターネット上に設けられたサーバを介して通信接続する。   More specifically, a network device such as a terminal, a relay device, or a server is equipped with EMIT software that realizes EMIT technology, and a terminal or relay device that includes the EMIT software, and a user device that is remotely controlled or monitored Are connected for communication via a server provided on the Internet.

なお、上述の実施の形態は本発明の一例である。このため、本発明は、上述の実施の形態に限定されることはなく、この実施の形態以外であっても、本発明に係る技術的思想を逸脱しない範囲であれば、設計等に応じて種々の変更が可能であることは勿論である。   The above-described embodiment is an example of the present invention. For this reason, the present invention is not limited to the above-described embodiment, and according to the design or the like, as long as the technical idea according to the present invention is not deviated from other embodiments. Of course, various modifications are possible.

本発明の実施の形態として示す位置情報システムの構成について説明するための図である。It is a figure for demonstrating the structure of the positional information system shown as embodiment of this invention. 位置情報データベースの初期状態を示す図である。It is a figure which shows the initial state of a positional infomation database. Gratuitous ARP(Address Resolution Protocol)を利用した機器ID、ポート番号の送信手法について説明するためのタイミングチャートである。It is a timing chart for demonstrating the transmission method of apparatus ID and a port number using Gratuitous ARP (Address Resolution Protocol). 機器IDが添付されたGratuitous ARPのパケットフォーマットを示した図である。It is the figure which showed the packet format of Gratuitous ARP to which apparatus ID was attached. ポート番号が添付されたGratuitous ARPのパケットフォーマットを示した図である。It is the figure which showed the packet format of Gratuitous ARP with which the port number was attached. 機器ID、ポート番号取得後の位置情報データベース構成の一例を示した図である。It is the figure which showed an example of the position information database structure after apparatus ID and port number acquisition. 機器情報取得後の位置情報データベースの構成の一例を示した図である。It is the figure which showed an example of the structure of the positional infomation database after apparatus information acquisition. IPv6(Internet Protocol version 6)のアドレス自動構成を利用した機器ID、ポート番号の送信手法について説明するためのタイミングチャートである。It is a timing chart for demonstrating the transmission method of apparatus ID and a port number using the address automatic structure of IPv6 (Internet Protocol version 6). 同IPv6のアドレス自動構成を利用した機器ID、ポート番号の送信手法について説明するためのタイミングチャートである。It is a timing chart for demonstrating the transmission method of apparatus ID and a port number using the address automatic configuration of the IPv6. 同IPv6のアドレス自動構成を利用した機器ID、ポート番号の送信手法について説明するためのタイミングチャートである。It is a timing chart for demonstrating the transmission method of apparatus ID and a port number using the address automatic configuration of the IPv6. 同IPv6のアドレス自動構成を利用した機器ID、ポート番号の送信手法について説明するためのタイミングチャートである。It is a timing chart for demonstrating the transmission method of apparatus ID and a port number using the address automatic configuration of the IPv6. DHCP(Dynamic Host Configuration Protocol)を利用した機器ID、ポート番号の送信手法について説明するための図である。It is a figure for demonstrating the transmission method of apparatus ID and a port number using DHCP (Dynamic Host Configuration Protocol). 従来技術として示すIEEE1394を用いたノードの位置情報システムについて説明するための図である。It is a figure for demonstrating the positional information system of the node using IEEE1394 shown as a prior art. 従来技術として示す電力線搬送による位置情報システムについて説明するための図である。It is a figure for demonstrating the positional information system by the power line conveyance shown as a prior art.

符号の説明Explanation of symbols

A0 管理データベース
A1 機器管理装置
C0 集線装置
Fn 情報コンセント
Hn 機器
dn ポート
en 通信線
gn 通信線
A0 Management Database A1 Device Management Device C0 Concentrator Fn Information Outlet Hn Device dn Port en Communication Line gn Communication Line

Claims (1)

IPv6におけるNSメッセージに含まれるIPv6アドレスを、自己を一意に特定する固有の識別子である機器IDとして送信する機器と、
前記機器が接続される複数のポートを有する集線装置と、
前記ポートに接続された機器から送信される機器IDと、機器が接続されたポートを一意に特定するポート番号情報とに基づき、機器が接続された位置を特定して管理する機器管理装置とを備え、
前記機器は、前記集線装置のポートに接続されたことに応じて、前記機器IDを含むNSメッセージを前記機器管理装置に送信し、
前記集線装置は、前記機器から機器IDが送信されるのに伴い、前記機器が接続されたポートのポート番号情報を、前記機器IDを含むNSメッセージに含めて前記機器管理装置に送信すること
を特徴とする位置情報システム。
A device that transmits an IPv6 address included in an NS message in IPv6 as a device ID that is a unique identifier that uniquely identifies the device;
A line concentrator having a plurality of ports to which the device is connected;
A device management device that identifies and manages the position where the device is connected based on the device ID transmitted from the device connected to the port and the port number information that uniquely identifies the port to which the device is connected; Prepared,
In response to being connected to the port of the line concentrator, the device transmits an NS message including the device ID to the device management apparatus.
As the device ID is transmitted from the device, the line concentrator includes port number information of the port to which the device is connected in an NS message including the device ID and transmits the information to the device management apparatus. Feature location information system.
JP2005370971A 2005-12-22 2005-12-22 Location information system Expired - Fee Related JP4792963B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005370971A JP4792963B2 (en) 2005-12-22 2005-12-22 Location information system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005370971A JP4792963B2 (en) 2005-12-22 2005-12-22 Location information system

Publications (2)

Publication Number Publication Date
JP2007174404A JP2007174404A (en) 2007-07-05
JP4792963B2 true JP4792963B2 (en) 2011-10-12

Family

ID=38300352

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005370971A Expired - Fee Related JP4792963B2 (en) 2005-12-22 2005-12-22 Location information system

Country Status (1)

Country Link
JP (1) JP4792963B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010087259A1 (en) * 2009-01-28 2010-08-05 三菱電機株式会社 Ip address delivery device and ip address delivery method
JP6052039B2 (en) * 2013-04-23 2016-12-27 コニカミノルタ株式会社 Information processing apparatus and network connection program
JP2016140003A (en) * 2015-01-29 2016-08-04 アズビル株式会社 Field equipment
WO2018109852A1 (en) * 2016-12-14 2018-06-21 三菱電機株式会社 Information collection device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3523616B2 (en) * 2001-07-24 2004-04-26 松下電器産業株式会社 Bus optimization method and communication node
JP2003348090A (en) * 2002-05-28 2003-12-05 Matsushita Electric Works Ltd Method for controlling loading device, load control signal repeater used for the same, supervisory and controlling device, and communication system using them
JPWO2004051935A1 (en) * 2002-12-05 2006-04-06 アライドテレシスホールディングス株式会社 User identification system, user identification device, user identification method, address translation device, and program

Also Published As

Publication number Publication date
JP2007174404A (en) 2007-07-05

Similar Documents

Publication Publication Date Title
KR100474483B1 (en) Aparatus for providing device information via network and method thereof
JP4624701B2 (en) Device information management apparatus and method via network
KR100474485B1 (en) Apparatus for controlling sub-network in home-network
US6480889B1 (en) Scheme for managing nodes connected to a home network according to their physical locations
KR100729758B1 (en) Method for providing service in IP based network system
JP4065434B2 (en) Router device and method for starting up router device
JP4792964B2 (en) Location information system
KR100867988B1 (en) Media for recording data structure of address management of sensor node, and method using the same
Lee et al. A home cloud-based home network auto-configuration using SDN
WO2000079729A2 (en) Gathering of device discovery information
JP2004194264A (en) Multi-master apparatus connecting network system and method of operating the same
JP4792963B2 (en) Location information system
JP4576637B2 (en) Network camera, management server and video distribution system
JP4792962B2 (en) Location information system
JP4635523B2 (en) POSITION INFORMATION SYSTEM AND DEVICE USED IN THE SYSTEM, CONCENTRATOR, AND DEVICE MANAGEMENT DEVICE
JP4515489B2 (en) Information management apparatus and information management method
JP2000312211A (en) Communication unit
KR100371328B1 (en) A home appliance network system and IP addressing
KR100455123B1 (en) Control message multicasting method and apparatus for universal plug and play network system
KR20040055446A (en) Control point and cognition method among control points
JP5135422B2 (en) Gateway device
KR100796893B1 (en) Home Network Site and Method for a connecting remote terminal to home network device using the same
JP2008211504A (en) Information transmitting device
KR20040066550A (en) Apparatus for bridging between Simple Network Management Protocol agent and Universal Plug and Paly Control Point, and Method for the same
Russell et al. One Microsoft Way Redmond, WA 98052

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080911

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110301

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110315

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110513

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20110628

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110711

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 4792963

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20140805

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees