JP5639308B2 - COMMUNICATION SYSTEM, COMMUNICATION METHOD, PROGRAM, AND COMMUNICATION DEVICE - Google Patents

COMMUNICATION SYSTEM, COMMUNICATION METHOD, PROGRAM, AND COMMUNICATION DEVICE Download PDF

Info

Publication number
JP5639308B2
JP5639308B2 JP2014512571A JP2014512571A JP5639308B2 JP 5639308 B2 JP5639308 B2 JP 5639308B2 JP 2014512571 A JP2014512571 A JP 2014512571A JP 2014512571 A JP2014512571 A JP 2014512571A JP 5639308 B2 JP5639308 B2 JP 5639308B2
Authority
JP
Japan
Prior art keywords
communication
plug
communication device
wireless link
information
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
JP2014512571A
Other languages
Japanese (ja)
Other versions
JPWO2014080461A1 (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.)
Fujitsu Broad Solution and Consulting Inc
Original Assignee
Fujitsu Broad Solution and Consulting Inc
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 Fujitsu Broad Solution and Consulting Inc filed Critical Fujitsu Broad Solution and Consulting Inc
Application granted granted Critical
Publication of JP5639308B2 publication Critical patent/JP5639308B2/en
Publication of JPWO2014080461A1 publication Critical patent/JPWO2014080461A1/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing
    • H04W40/12Communication route or path selection, e.g. power-based or shortest path routing based on transmission quality or channel quality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Description

本発明は通信システム、通信方法、プログラムおよび通信装置に関する。   The present invention relates to a communication system, a communication method, a program, and a communication apparatus.

現在、無線通信を行う複数の通信装置を含む通信システムが利用されている。通信システムでは、第1,第2の通信装置同士が直接無線通信を行うことがある。あるいは、第1,第2の通信装置の間の無線通信を複数の他の通信装置が中継することもある。   Currently, a communication system including a plurality of communication devices that perform wireless communication is used. In the communication system, the first and second communication apparatuses may directly perform wireless communication. Alternatively, a plurality of other communication devices may relay wireless communication between the first and second communication devices.

後者の場合、第1の通信装置が第2の通信装置までの経路を認識していないことがある。また、第1,第2の通信装置を繋ぐ経路が複数存在することがある。そこで、経路を探索し、探索された複数の経路の中から何れかを選択するための方法が考えられている。   In the latter case, the first communication device may not recognize the route to the second communication device. There may be a plurality of paths connecting the first and second communication apparatuses. Therefore, a method for searching for a route and selecting one of the searched routes is considered.

例えば、近距離での無線通信を実現する技術にZigbee(登録商標)がある。Zigbeeでは、AODV(Ad Hoc On-Demand Distance Vector)と呼ばれる方法が経路の選択に用いられている。AODVでは、第1の通信装置が第2の通信装置までの経路を探索するためのRREQ(Route Request)と呼ばれる制御メッセージをブロードキャストで送信する。RREQおよびRREQに対するユニキャストの応答であるRREP(Route Reply)を用いて、第1,第2の通信装置間における最小コストの経路を選択する。   For example, Zigbee (registered trademark) is a technique for realizing wireless communication at a short distance. In Zigbee, a method called AODV (Ad Hoc On-Demand Distance Vector) is used for route selection. In AODV, a first communication device broadcasts a control message called RREQ (Route Request) for searching for a route to the second communication device. The lowest cost route between the first and second communication devices is selected using RREP (Route Reply), which is a unicast response to RREQ and RREQ.

IBS JAPAN株式会社、“初歩のZigbee”、[online]、平成22年5月13日、IBS JAPAN、[平成24年7月11日検索]、インターネット<URL:http://www.ibsjapan.co.jp/news/243.html>IBS JAPAN KK, “Introductory Zigbee”, [online], May 13, 2010, IBS JAPAN, [Search July 11, 2012], Internet <URL: http: // www. ibsjapan. co. jp / news / 243. html>

上記のように、制御メッセージをブロードキャストで送信して経路の探索を行うことが考えられる。しかし、この方法では、経路選択後のデータ転送に用いられない通信装置にも制御メッセージに関する通信処理を強いることになり非効率的であるという問題がある。通信装置で余計な処理が生ずると、その分電力を余計に消費してしまうことにもなる。   As described above, it is conceivable to search for a route by transmitting a control message by broadcast. However, this method has a problem that it is inefficient because a communication device that is not used for data transfer after route selection is forced to perform communication processing related to the control message. If extra processing occurs in the communication device, extra power is consumed accordingly.

一側面によれば、本発明は、通信経路を効率的に確立して通信できる通信システム、通信方法、プログラムおよび通信装置を提供することを目的とする。   According to one aspect, an object of the present invention is to provide a communication system, a communication method, a program, and a communication device that can establish a communication path efficiently and perform communication.

一実施態様によれば、無線通信を行う通信システムが提供される。この通信システムは、複数の通信装置と情報処理装置とを有する。複数の通信装置それぞれは、何れかの通信装置と自身から当該通信装置へ至るまでに中継する通信装置との順列を示す情報を含む経路情報を受信すると、経路情報に基づいて、自身と無線リンクを確立する相手である他の通信装置を特定し、他の通信装置と無線リンクを確立し、他の通信装置が順列の終端の通信装置以外であれば当該無線リンクを用いて他の通信装置に経路情報を送信し、その後、自身以外を宛先としたデータを受信すると受信した無線リンクとは異なる無線リンクを用いてデータを転送する。情報処理装置は、複数の通信装置のうちの少なくとも第1の通信装置と無線通信可能であり、自身と無線リンクを確立できない位置に配置された第2の通信装置と、第1の通信装置から第2の通信装置へ至るまでに中継する通信装置との順列を示す情報を含む経路情報を第1の通信装置へ送信し、その後、第2の通信装置を宛先としたデータを第1の通信装置に送信する。   According to one embodiment, a communication system for performing wireless communication is provided. This communication system has a plurality of communication devices and an information processing device. When each of the plurality of communication devices receives route information including information indicating a permutation between any one of the communication devices and the communication device that relays from the communication device to the communication device, the plurality of communication devices receive a wireless link with itself based on the route information. The other communication device that establishes the other communication device is established, a wireless link is established with the other communication device, and if the other communication device is other than the permutation terminal communication device, the other communication device is used by using the wireless link. When the route information is transmitted to the destination and then data destined for other than itself is received, the data is transferred using a wireless link different from the received wireless link. The information processing device is capable of wireless communication with at least the first communication device among the plurality of communication devices, and the second communication device disposed at a position where the wireless link cannot be established with itself, and the first communication device. Route information including information indicating a permutation with the communication device relaying up to the second communication device is transmitted to the first communication device, and then data destined for the second communication device is transmitted to the first communication device. Send to device.

また、一実施態様によれば、無線通信を行う複数の通信装置と、複数の通信装置のうちの少なくとも第1の通信装置と通信可能な情報処理装置とを含むシステムによって実行される通信方法が提供される。この通信方法では、情報処理装置と無線リンクを確立できない位置に配置された第2の通信装置と、第1の通信装置から第2の通信装置へ至るまでに中継する通信装置との順列を示す情報を情報処理装置から第1の通信装置へ送信し、情報に基づいて、第1の通信装置から第2の通信装置へ至るまでに中継する通信装置それぞれを用いて順列の隣り合う通信装置間の無線リンクを確立し、第2の通信装置を宛先としたデータを、情報処理装置から第1の通信装置に送信し、確立された無線リンクを用いて第2の通信装置へ転送する。   According to an embodiment, there is provided a communication method executed by a system including a plurality of communication devices that perform wireless communication and an information processing device that can communicate with at least a first communication device among the plurality of communication devices. Provided. In this communication method, a permutation between a second communication device arranged at a position where a wireless link cannot be established with the information processing device and a communication device relaying from the first communication device to the second communication device is shown. Between adjacent communication devices using a communication device that transmits information from the information processing device to the first communication device and relays the information from the first communication device to the second communication device based on the information. And the data addressed to the second communication device is transmitted from the information processing device to the first communication device, and transferred to the second communication device using the established wireless link.

また、一実施態様によれば、コンピュータによって実行されるプログラムであって、無線通信を行う複数の通信装置を含むシステムを制御するためのプログラムが提供される。このプログラムは、複数の通信装置のうちの少なくとも第1の通信装置と通信可能なコンピュータに、コンピュータと無線リンクを確立できない位置に配置された第2の通信装置と、第1の通信装置から第2の通信装置へ至るまでに中継する通信装置との順列を示す情報を第1の通信装置へ送信し、第1の通信装置から第2の通信装置へ至るまでに中継する通信装置それぞれにより情報に基づいて順列の隣り合う通信装置間の無線リンクが確立されると、第2の通信装置を宛先としたデータを第1の通信装置に送信する、処理を実行させる。   According to one embodiment, there is provided a program executed by a computer for controlling a system including a plurality of communication devices that perform wireless communication. The program is transmitted from a first communication device to a computer that can communicate with at least the first communication device among a plurality of communication devices, a second communication device that is disposed at a position where a wireless link cannot be established with the computer, and the first communication device. Information indicating a permutation with the communication device relaying up to the second communication device is transmitted to the first communication device, and information is transmitted by each of the communication devices relaying from the first communication device to the second communication device. When a wireless link between adjacent communication devices in the permutation is established based on the above, a process of transmitting data destined for the second communication device to the first communication device is executed.

また、一実施態様によれば、無線通信を行う通信装置が提供される。この通信装置は、制御部および通信部を有する。制御部は、自身と無線リンクを確立する相手である他の通信装置を示す情報を含み他の通信装置が経路の終端の通信装置であるか否かを識別可能な経路情報を受信すると、経路情報に基づいて、他の通信装置と無線リンクを確立する。通信部は、他の通信装置が終端の通信装置以外であれば当該無線リンクを用いて他の通信装置に経路情報を送信し、その後、自身以外を宛先としたデータを受信すると受信した無線リンクとは異なる無線リンクを用いてデータを転送する。   According to one embodiment, a communication device that performs wireless communication is provided. This communication apparatus has a control part and a communication part. When the control unit receives path information that includes information indicating another communication apparatus with which the wireless link is established with itself and can identify whether the other communication apparatus is a communication apparatus at the end of the path, Based on the information, a wireless link is established with another communication device. If the communication unit is other than the terminal communication device, the communication unit transmits the route information to the other communication device using the wireless link, and then receives the data destined for other than the own wireless link. Data is transferred using a different wireless link.

一実施態様によれば、通信経路を効率的に確立して通信できる。
本発明の上記および他の目的、特徴および利点は本発明の例として好ましい実施の形態を表す添付の図面と関連した以下の説明により明らかになるであろう。
According to one embodiment, communication can be established and established efficiently.
These and other objects, features and advantages of the present invention will become apparent from the following description taken in conjunction with the accompanying drawings which illustrate preferred embodiments by way of example of the present invention.

第1の実施の形態の通信システムを示す図である。It is a figure which shows the communication system of 1st Embodiment. 第2の実施の形態の通信システムを示す図である。It is a figure which shows the communication system of 2nd Embodiment. 第2の実施の形態の管理装置のハードウェア例を示す図である。It is a figure which shows the hardware example of the management apparatus of 2nd Embodiment. 第2の実施の形態のプラグ装置のハードウェア例を示す図である。It is a figure which shows the hardware example of the plug apparatus of 2nd Embodiment. 第2の実施の形態のソフトウェア例を示す図である。It is a figure which shows the example of software of 2nd Embodiment. 第2の実施の形態の制御データの例を示す図である。It is a figure which shows the example of the control data of 2nd Embodiment. 第2の実施の形態の制御データの例(続き)を示す図である。It is a figure which shows the example (continuation) of the control data of 2nd Embodiment. 第2の実施の形態の計測値テーブルの例を示す図である。It is a figure which shows the example of the measured value table of 2nd Embodiment. 第2の実施の形態のプラグデータの例を示す図である。It is a figure which shows the example of the plug data of 2nd Embodiment. 第2の実施の形態のリンク管理テーブルの例を示す図である。It is a figure which shows the example of the link management table of 2nd Embodiment. 第2の実施の形態のプラグ単位計測値テーブルの例を示す図である。It is a figure which shows the example of the plug unit measured value table of 2nd Embodiment. 第2の実施の形態の検索用の電文の例を示す図である。It is a figure which shows the example of the message | telegram for a search of 2nd Embodiment. 第2の実施の形態の接続/切断用の電文の例を示す図である。It is a figure which shows the example of the message | telegram for connection / disconnection of 2nd Embodiment. 第2の実施の形態の初期設定用の電文の例を示す図である。It is a figure which shows the example of the message | telegram for the initial setting of 2nd Embodiment. 第2の実施の形態の処理例を示すフローチャートである。It is a flowchart which shows the process example of 2nd Embodiment. 第2の実施の形態のプラグ登録例を示すシーケンスである。It is a sequence which shows the example of plug registration of 2nd Embodiment. 第2の実施の形態の親プラグによる検索例を示すフローチャートである。It is a flowchart which shows the example of a search by the parent plug of 2nd Embodiment. 第2の実施の形態の親プラグによる検索例を示すシーケンスである。It is a sequence which shows the example of a search by the parent plug of 2nd Embodiment. 第2の実施の形態の子プラグによる検索例を示すフローチャートである。It is a flowchart which shows the example of a search by the child plug of 2nd Embodiment. 第2の実施の形態の子プラグによる検索例を示すシーケンスである。It is a sequence which shows the example of a search by the child plug of 2nd Embodiment. 第2の実施の形態の初期設定例を示すフローチャートである。It is a flowchart which shows the example of an initial setting of 2nd Embodiment. 第2の実施の形態のデータ収集例を示すフローチャートである。It is a flowchart which shows the data collection example of 2nd Embodiment. 第2の実施の形態のデータ収集例(その1)を示すシーケンスである。It is a sequence which shows the data collection example (the 1) of 2nd Embodiment. 第2の実施の形態のデータ収集例(その2)を示すシーケンスである。It is a sequence which shows the data collection example (the 2) of 2nd Embodiment. 第2の実施の形態の接続例を示す図である。It is a figure which shows the example of a connection of 2nd Embodiment. 第2の実施の形態の切断例を示す図である。It is a figure which shows the example of a cutting | disconnection of 2nd Embodiment. 第2の実施の形態の計測データの表示例を示す図である。It is a figure which shows the example of a display of the measurement data of 2nd Embodiment.

以下、本実施の形態を図面を参照して説明する。
[第1の実施の形態]
図1は、第1の実施の形態の通信システムを示す図である。第1の実施の形態の通信システムは、情報処理装置1および通信装置2,3,4,5,6,7を含む。情報処理装置1および通信装置2,3,4,5,6,7は無線通信機能を有する。ただし、送受信するデータがない場合には、各装置間では無線リンクが確立されていないものとする。無線リンクが確立されていない装置間では、データの転送は行えない。例えば、通信装置2,3の間で無線リンクが確立されていなければ、情報処理装置1から通信装置2を介して通信装置3にデータを送信することはできない。ただし、無線リンクが確立されていなくても、通信装置間で報知される信号を用いて他の通信装置の存在を検出することはできる。
Hereinafter, the present embodiment will be described with reference to the drawings.
[First Embodiment]
FIG. 1 is a diagram illustrating a communication system according to a first embodiment. The communication system according to the first embodiment includes an information processing apparatus 1 and communication apparatuses 2, 3, 4, 5, 6, and 7. The information processing device 1 and the communication devices 2, 3, 4, 5, 6, and 7 have a wireless communication function. However, when there is no data to be transmitted / received, it is assumed that a wireless link is not established between the devices. Data cannot be transferred between devices that have not established a wireless link. For example, unless a wireless link is established between the communication devices 2 and 3, data cannot be transmitted from the information processing device 1 to the communication device 3 via the communication device 2. However, even if a wireless link is not established, the presence of another communication device can be detected using a signal notified between the communication devices.

情報処理装置1および通信装置2は無線リンクの確立が可能な位置に配置されている。無線リンクの確立が可能な位置とは、例えば、ある装置が発する無線通信用の電磁波が所定の強度以上で到達する範囲(無線リンクの確立が可能な範囲)内の一地点である。通信装置3,4は、通信装置2と無線リンクを確立可能な範囲R1内に配置されている。例えば、通信装置2,3の間に無線リンクが確立されていなくても、通信装置2は範囲R1内に配置された通信装置3,4の存在を検出することはできる。通信装置5,6は、通信装置3と無線リンクを確立可能な範囲R2内に配置されている。通信装置7は、通信装置4と無線リンクを確立可能な範囲R3内に配置されている。   The information processing device 1 and the communication device 2 are arranged at a position where a wireless link can be established. The position where the wireless link can be established is, for example, one point within a range (range where the wireless link can be established) in which radio communication electromagnetic waves emitted from a certain device reach at a predetermined intensity or higher. The communication devices 3 and 4 are arranged in a range R1 in which a wireless link with the communication device 2 can be established. For example, even if a wireless link is not established between the communication devices 2 and 3, the communication device 2 can detect the presence of the communication devices 3 and 4 arranged in the range R1. The communication devices 5 and 6 are disposed within a range R2 in which a wireless link with the communication device 3 can be established. The communication device 7 is disposed within a range R3 in which a wireless link with the communication device 4 can be established.

情報処理装置1は、通信装置2と無線通信可能である。情報処理装置1は、通信装置3,4,5,6,7とは無線リンクを直接確立することはできない。しかし、情報処理装置1は、通信装置2を介して、通信装置3,4,5,6,7との間でデータ転送が行える。   The information processing apparatus 1 can wirelessly communicate with the communication apparatus 2. The information processing apparatus 1 cannot directly establish a wireless link with the communication apparatuses 3, 4, 5, 6, and 7. However, the information processing apparatus 1 can perform data transfer with the communication apparatuses 3, 4, 5, 6, and 7 via the communication apparatus 2.

情報処理装置1は、記憶部1aおよび制御部1bを有する。記憶部1aは、RAM(Random Access Memory)などのメモリでもよい。制御部1bは、CPU(Central Processing Unit)などのプロセッサでもよい。例えば、情報処理装置1による情報処理は、記憶部1aに記憶されたプログラムを制御部1bが実行することで実現されてもよい。   The information processing apparatus 1 includes a storage unit 1a and a control unit 1b. The storage unit 1a may be a memory such as a RAM (Random Access Memory). The control unit 1b may be a processor such as a CPU (Central Processing Unit). For example, information processing by the information processing apparatus 1 may be realized by the control unit 1b executing a program stored in the storage unit 1a.

記憶部1aは、データの宛先となる通信装置と情報処理装置1から当該通信装置へ至るまでに中継する通信装置との順列を示す情報を含む経路情報を通信装置ごとに記憶する。当該順列は、目的の通信装置に到達するまでにホップする通信装置とその順番を示している。ここで、各通信装置を示す情報(例えば、アドレス)を次のとおりとする。通信装置2は“A”である。通信装置3は“B”である。通信装置4は“C”である。通信装置5は“D”である。通信装置6は“E”である。通信装置7は“F”である。   The storage unit 1a stores, for each communication device, path information including information indicating a permutation between the communication device that is the destination of data and the communication device that relays from the information processing device 1 to the communication device. The permutation indicates a communication device that hops to reach the target communication device and its order. Here, the information (for example, address) indicating each communication device is as follows. The communication device 2 is “A”. The communication device 3 is “B”. The communication device 4 is “C”. The communication device 5 is “D”. The communication device 6 is “E”. The communication device 7 is “F”.

このとき、情報処理装置1から通信装置3へ至るまでには通信装置2を経由する。よって、通信装置3に対する順列は“A,B”である。情報処理装置1から通信装置4へ至るまでには通信装置2を経由する。よって、通信装置4に対する順列は“A,C”である。情報処理装置1から通信装置5へ至るまでには通信装置2,3を経由する。よって、通信装置5に対する順列は“A,B,D”である。情報処理装置1から通信装置6へ至るまでには通信装置2,3を経由する。よって、通信装置6に対する順列は“A,B,E”である。情報処理装置1から通信装置7へ至るまでには通信装置2,4を経由する。よって、通信装置7に対する順列は“A,C,F”である。各順列の最も左側が始端であり、右側が終端である。   At this time, the communication apparatus 2 is routed from the information processing apparatus 1 to the communication apparatus 3. Therefore, the permutation for the communication device 3 is “A, B”. From the information processing device 1 to the communication device 4, the communication device 2 is used. Therefore, the permutation for the communication device 4 is “A, C”. From the information processing apparatus 1 to the communication apparatus 5, the communication apparatuses 2 and 3 are used. Therefore, the permutation for the communication device 5 is “A, B, D”. From the information processing device 1 to the communication device 6, the communication devices 2 and 3 are used. Therefore, the permutation for the communication device 6 is “A, B, E”. From the information processing apparatus 1 to the communication apparatus 7, the communication apparatuses 2 and 4 are used. Therefore, the permutation for the communication device 7 is “A, C, F”. The leftmost side of each permutation is the beginning, and the right side is the end.

制御部1bは、情報処理装置1と無線リンクを確立できない位置に配置された通信装置と通信する前に、当該通信装置と通信装置2から当該通信装置へ至るまでに中継する通信装置との順列を示す情報を含む経路情報を通信装置2に送信する。例えば、制御部1bは、情報処理装置1が通信装置5と通信する前に、通信装置5に対する順列“A,B,D”を示す情報を含む経路情報8を記憶部1aから取得する。制御部1bは、経路情報8を通信装置2に送信する。情報処理装置1が無線通信を行う無線部を有する場合、制御部1bは、経路情報8を送信するように無線部を制御してもよい(以下、同様)。   The control unit 1b performs a permutation between the communication device and a communication device that relays from the communication device 2 to the communication device before communicating with the information processing device 1 and a communication device arranged at a position where a wireless link cannot be established. Is transmitted to the communication device 2. For example, before the information processing device 1 communicates with the communication device 5, the control unit 1 b acquires path information 8 including information indicating the permutation “A, B, D” for the communication device 5 from the storage unit 1 a. The control unit 1 b transmits the route information 8 to the communication device 2. When the information processing apparatus 1 includes a wireless unit that performs wireless communication, the control unit 1b may control the wireless unit to transmit the route information 8 (the same applies hereinafter).

なお、送信される経路情報において、順列の先頭(例えば、順列“A,B,D”であれば“A”)は、通信装置2に送信されるフレームの宛先として指定されてもよい。その場合、例えば、フレームのヘッダの宛先部分に“A”が格納され、データ部分に残りの“B,D”が格納されることになる。   In the transmitted route information, the head of the permutation (for example, “A” if the permutation is “A, B, D”) may be specified as the destination of the frame transmitted to the communication device 2. In this case, for example, “A” is stored in the destination portion of the header of the frame, and the remaining “B, D” is stored in the data portion.

制御部1bは、その後、上記で無線リンクを確立させた何れかの通信装置を宛先としたデータを通信装置2に送信する。例えば、制御部1bは、通信装置5を宛先としたデータを通信装置2に送信する。制御部1bは、経路情報8に基づいて通信装置2,3,5間の無線リンクが確立された旨の応答を受信した後に、当該データを送信してもよい。   Thereafter, the control unit 1b transmits to the communication device 2 data destined for any of the communication devices that have established the wireless link as described above. For example, the control unit 1 b transmits data destined for the communication device 5 to the communication device 2. The control unit 1b may transmit the data after receiving a response indicating that the wireless link between the communication devices 2, 3, and 5 is established based on the path information 8.

通信装置2,3,4,5,6,7は、経路情報を受信すると、当該経路情報に基づいて、自身と無線リンクを確立する相手である他の通信装置を特定し、当該他の通信装置と無線リンクを確立する。例えば、通信装置2は、情報処理装置1から経路情報8を受信する。経路情報8では、通信装置2の次の通信装置として通信装置3が指定されている。通信装置2は、通信装置2と無線リンクを確立する相手を通信装置3と特定する。通信装置2は、通信装置3と無線リンクを確立する。   Upon receiving the route information, the communication devices 2, 3, 4, 5, 6, and 7 identify another communication device that is a counterpart to establish a wireless link with itself based on the route information, and perform the other communication. Establish a wireless link with the device. For example, the communication device 2 receives the route information 8 from the information processing device 1. In the route information 8, the communication device 3 is designated as the next communication device of the communication device 2. The communication device 2 identifies the communication device 3 as a counterpart to establish a wireless link with the communication device 2. The communication device 2 establishes a wireless link with the communication device 3.

通信装置2,3,4,5,6,7は、新たに確立した無線リンク先の他の通信装置が順列の終端の通信装置以外であれば当該無線リンクを用いて他の通信装置に経路情報を送信する。例えば、経路情報8でいえば、順列“A,B,D”の終端は“D”であり、これは通信装置5を示す。したがって、通信装置3は終端ではない。よって、通信装置2は確立した無線リンクを用いて通信装置3に経路情報8aを送信する。   The communication devices 2, 3, 4, 5, 6, and 7 use the wireless link to route to other communication devices if the other newly established wireless link destination communication device is other than the permutation terminal communication device. Send information. For example, in the route information 8, the end of the permutation “A, B, D” is “D”, which indicates the communication device 5. Therefore, the communication device 3 is not a termination. Therefore, the communication device 2 transmits the route information 8a to the communication device 3 using the established wireless link.

経路情報8aは、経路情報8に対して、通信装置2を示す情報“A”が省かれていてもよい。通信装置2を示す情報は、以降の処理には用いられないからである。また、通信処理のコストを軽減できるからである。この場合、経路情報8aに含まれる順列は“B,D”となる。上記と同様に、先頭の“B”をフレームのヘッダの宛先部分に格納してもよい。その場合は、残り部分である“D”がフレームのデータ部分に格納されることになる。   In the route information 8 a, the information “A” indicating the communication device 2 may be omitted from the route information 8. This is because the information indicating the communication device 2 is not used for subsequent processing. Moreover, it is because the cost of communication processing can be reduced. In this case, the permutation included in the route information 8a is “B, D”. Similarly to the above, the leading “B” may be stored in the destination portion of the header of the frame. In this case, the remaining part “D” is stored in the data part of the frame.

なお、通信装置3は、経路情報8aを受信すると、経路情報8aに基づいて通信装置5と無線リンクを確立することになる。ただし、通信装置3は、通信装置5に経路情報を送信しなくてよい。経路情報8aに含まれる順列“B,D”の終端は“D”であり、これは通信装置5を示すからである。このように経路情報8に基づいて、通信装置2,3の間、通信装置3,5の間で無線リンクが確立される。これによって、情報処理装置1および通信装置2,3,5を結ぶ通信経路が確立される。例えば、情報処理装置1から通信装置5へ、または、通信装置5から情報処理装置1へ、のデータ転送が可能となる。   When the communication device 3 receives the route information 8a, the communication device 3 establishes a wireless link with the communication device 5 based on the route information 8a. However, the communication device 3 does not have to transmit route information to the communication device 5. This is because the end of the permutation “B, D” included in the path information 8 a is “D”, which indicates the communication device 5. As described above, based on the path information 8, a wireless link is established between the communication devices 2 and 3 and between the communication devices 3 and 5. As a result, a communication path connecting the information processing device 1 and the communication devices 2, 3, 5 is established. For example, data transfer from the information processing apparatus 1 to the communication apparatus 5 or from the communication apparatus 5 to the information processing apparatus 1 is possible.

通信装置2,3,4,5,6,7は、その後、自身以外を宛先としたデータを受信すると、受信した無線リンクとは異なる無線リンクを用いてデータを転送する。例えば、通信装置2は、通信装置5を宛先としたデータを情報処理装置1から受信すると、通信装置3側の無線リンクを用いて当該データを転送する。通信装置3は、通信装置2から当該データを受信すると、通信装置5側の無線リンクを用いて当該データを転送する。そして、通信装置5は当該データを受信する。   Thereafter, when the communication devices 2, 3, 4, 5, 6, and 7 receive data destined for other than itself, the communication devices 2, 3, 4, 5, 6 and 7 transfer the data using a wireless link different from the received wireless link. For example, when the communication device 2 receives data destined for the communication device 5 from the information processing device 1, the communication device 2 transfers the data using a wireless link on the communication device 3 side. When the communication device 3 receives the data from the communication device 2, the communication device 3 transfers the data using the wireless link on the communication device 5 side. Then, the communication device 5 receives the data.

第1の実施の形態の通信システムによれば、順列“A,B,D”を示す情報を含む経路情報8が情報処理装置1から通信装置2へ送信される。経路情報8に基づいて、通信装置2から通信装置5へ至るまでに中継する通信装置3を用いて順列の隣り合う通信装置2,3間および通信装置3,5間の無線リンクが確立される。通信装置5を宛先としたデータが、情報処理装置1から通信装置2に送信され、確立された無線リンクを用いて通信装置5へ転送される。   According to the communication system of the first embodiment, route information 8 including information indicating the permutation “A, B, D” is transmitted from the information processing device 1 to the communication device 2. Based on the path information 8, wireless links are established between the adjacent communication devices 2 and 3 and between the communication devices 3 and 5 using the communication device 3 that relays from the communication device 2 to the communication device 5. . Data destined for the communication device 5 is transmitted from the information processing device 1 to the communication device 2 and transferred to the communication device 5 using the established wireless link.

これにより、通信経路を効率的に確立して通信できる。具体的には次のとおりである。
例えば、制御メッセージをブロードキャストで送信して経路探索を行うことも考えられる。この方法は、無線通信を中継する各ノードの配置が変化し得る場合には適しているものの、全ての場合に適しているとは限らない。例えば、各ノードの配置が固定されるような場合には適していないことがある。なぜなら、オンデマンドで経路選択を行うたびにブロードキャストの通信が発生すると、データ転送に用いられないことが明らかである通信装置にも制御メッセージに関する通信処理を強いることになり非効率的だからである。
As a result, communication can be established and established efficiently. Specifically, it is as follows.
For example, a route search may be performed by transmitting a control message by broadcast. Although this method is suitable when the arrangement of each node that relays wireless communication can change, it is not necessarily suitable for all cases. For example, it may not be suitable when the arrangement of each node is fixed. This is because if broadcast communication occurs every time route selection is performed on demand, a communication device that is clearly not used for data transfer is forced to perform communication processing related to the control message, which is inefficient.

より具体的には、上記の通信装置2,3,4,5,6,7でいえば、通信装置5との通信経路を確立するために、通信装置5に対するデータ転送とは無関係な通信装置4,7とも制御メッセージを送受信するのは非効率的である。また、通信装置で余計な処理が生ずると、その分電力を余計に消費してしまうことにもなる。   More specifically, in the communication devices 2, 3, 4, 5, 6, and 7 described above, a communication device that is not related to data transfer to the communication device 5 in order to establish a communication path with the communication device 5. It is inefficient to send and receive control messages to both 4 and 7. Further, if extra processing occurs in the communication device, extra power is consumed accordingly.

そこで、第1の実施の形態では、データ通信を行う前に、情報処理装置1によって指定された経路情報に基づいて、データ転送に用いる通信装置間で無線リンクを確立する。このため、データ転送に用いられない通信装置に通信を強いずに通信経路を確立できる。よって、余計な電力消費を抑えることができる。   Therefore, in the first embodiment, before performing data communication, a wireless link is established between communication devices used for data transfer based on the route information specified by the information processing device 1. For this reason, a communication path can be established without forcing communication to a communication device that is not used for data transfer. Therefore, unnecessary power consumption can be suppressed.

なお、制御部1bは、各通信装置に対する経路情報を予め生成して記憶部1aに格納してもよい。例えば、制御部1bは、ユーザによる経路情報の入力を許容し、当該入力された経路情報を記憶部1aに格納してもよい。また、例えば、制御部1bは、通信装置2,3,4,5,6,7に順次周辺の通信装置を検索させ、当該検索結果に基づいて、経路情報を生成し、記憶部1aに格納してもよい。制御部1bにより経路情報を生成させれば、ユーザに入力させるよりも、ユーザの負担を軽減できる。   The control unit 1b may generate route information for each communication device in advance and store it in the storage unit 1a. For example, the control unit 1b may allow the user to input route information and store the input route information in the storage unit 1a. Further, for example, the control unit 1b causes the communication devices 2, 3, 4, 5, 6, and 7 to sequentially search for peripheral communication devices, generates route information based on the search results, and stores the route information in the storage unit 1a. May be. If the route information is generated by the control unit 1b, the burden on the user can be reduced as compared with the case where the user inputs the route information.

更に、制御部1bは、所定の通信装置(例えば、通信装置5)を宛先としたデータを送信後、各通信装置を用いて、確立された無線リンクを切断してもよい。そうすれば、通信装置間のポーリングなどの通信を抑えて省電力化を図れる。   Further, the control unit 1b may disconnect the established wireless link using each communication device after transmitting data destined for a predetermined communication device (for example, the communication device 5). By doing so, communication such as polling between communication devices can be suppressed to save power.

[第2の実施の形態]
図2は、第2の実施の形態の通信システムを示す図である。第2の実施の形態の通信システムは、空調機10、照明機器20、TV(Television)受像器30、PC(Personal Computer)40、プリンタ50、管理装置100、プラグ装置200,200a,200b,200c,200d,200e,200fを有する。
[Second Embodiment]
FIG. 2 is a diagram illustrating a communication system according to the second embodiment. The communication system according to the second embodiment includes an air conditioner 10, an illumination device 20, a TV (Television) receiver 30, a PC (Personal Computer) 40, a printer 50, a management device 100, and plug devices 200, 200a, 200b, and 200c. , 200d, 200e, 200f.

各プラグ装置は、外部の電源(例えば、商用電源)から供給された電力を接続された電気機器(例えば、空調機10)に供給する。プラグ装置200にはTV受像器30の電源ケーブルが接続される。プラグ装置200aには照明機器20の電源ケーブルが接続される。プラグ装置200bには空調機10の電源ケーブルが接続される。プラグ装置200cにはPC40の電源ケーブルが接続される。プラグ装置200eにはプリンタ50の電源ケーブルが接続される。各プラグ装置は、接続された電気機器の消費電力などのセンサデータを計測可能なセンサデバイスを有する。また、各プラグ装置は、無線通信機能を有する。第2の実施の形態では無線通信にBluetooth(登録商標)が用いられる。   Each plug device supplies electric power supplied from an external power source (for example, commercial power source) to a connected electrical device (for example, the air conditioner 10). A power cable for the TV receiver 30 is connected to the plug device 200. A power cable of the lighting device 20 is connected to the plug device 200a. A power cable of the air conditioner 10 is connected to the plug device 200b. A power cable of the PC 40 is connected to the plug device 200c. A power cable of the printer 50 is connected to the plug device 200e. Each plug device has a sensor device capable of measuring sensor data such as power consumption of the connected electrical equipment. Each plug device has a wireless communication function. In the second embodiment, Bluetooth (registered trademark) is used for wireless communication.

管理装置100は、プラグ装置により計測されたセンサデータを定期的に収集し、収集したセンサデータを管理するコンピュータである。管理装置100は、無線通信機能を有する。管理装置100は、各プラグ装置とデータを送受信するための通信経路をプラグ装置ごとに管理する。また、管理装置100は、センサデータの収集先となるプラグ装置を検索したり、検索されたプラグ装置からセンサデータを収集したりするよう、プラグ装置を制御する。更に、管理装置100は、収集したセンサデータを可視化し、可視化したものを出力する。可視化したものとは、例えば、周期的に収集したセンサデータの累積値をグラフ化した画面などである。可視化したものの出力は、ディスプレイへの表示でもよいし、紙への印刷でもよい。   The management device 100 is a computer that periodically collects sensor data measured by the plug device and manages the collected sensor data. The management device 100 has a wireless communication function. The management device 100 manages a communication path for transmitting / receiving data to / from each plug device for each plug device. In addition, the management device 100 controls the plug device so as to search for a plug device that is a collection destination of sensor data and collect sensor data from the searched plug device. Furthermore, the management apparatus 100 visualizes the collected sensor data and outputs the visualized data. What is visualized is, for example, a screen in which cumulative values of sensor data collected periodically are graphed. The output of the visualization may be displayed on a display or printed on paper.

プラグ装置200,200dは、管理装置100にとって無線リンクの確立が可能な位置に配置されている。その他のプラグ装置は、管理装置100にとって無線リンクの確立が可能な位置に配置されていない。ここで、無線リンクが確立された状態とは、装置間の無線リンクがアクティブでありデータ転送を行える状態を示す。   The plug devices 200 and 200d are arranged at positions where the management device 100 can establish a wireless link. Other plug devices are not arranged at positions where the management device 100 can establish a wireless link. Here, the state in which the wireless link is established indicates a state in which the wireless link between the devices is active and data can be transferred.

プラグ装置200は、プラグ装置200a,200cと無線リンクの確立が可能な位置に配置されている。プラグ装置200aは、プラグ装置200bと無線リンクの確立が可能な位置に配置されている。プラグ装置200dは、プラグ装置200e,200fと無線リンクの確立が可能な位置に配置されている。以下の説明では、管理装置100と直接通信するプラグ装置200,200dを親プラグと呼ぶことがある。また、他のプラグ装置を介して管理装置100と間接的に通信可能なプラグ装置200a,200b,200c,200e,200fを子プラグと呼ぶことがある。   The plug device 200 is disposed at a position where a wireless link can be established with the plug devices 200a and 200c. The plug device 200a is arranged at a position where a wireless link can be established with the plug device 200b. The plug device 200d is disposed at a position where a wireless link can be established with the plug devices 200e and 200f. In the following description, the plug devices 200 and 200d that directly communicate with the management device 100 may be referred to as parent plugs. In addition, the plug devices 200a, 200b, 200c, 200e, and 200f that can indirectly communicate with the management device 100 via other plug devices may be referred to as child plugs.

親プラグは、センサデータの送受信を行なわない場合にも、管理装置100と無線リンクが確立されている。一方、子プラグは、センサデータの送受信を行わない場合には、管理装置100と無線リンクが確立されていない。   Even when the parent plug does not transmit / receive sensor data, a wireless link is established with the management apparatus 100. On the other hand, when the child plug does not transmit / receive sensor data, a wireless link is not established with the management apparatus 100.

図3は、第2の実施の形態の管理装置のハードウェア例を示す図である。管理装置100は、プロセッサ101、RAM102、HDD(Hard Disk Drive)103、無線部104、ディスプレイ105、入力デバイス106、ディスクドライブ107および機器接続部108を有する。各ユニットが管理装置100のバスに接続されている。   FIG. 3 is a diagram illustrating a hardware example of the management apparatus according to the second embodiment. The management apparatus 100 includes a processor 101, a RAM 102, an HDD (Hard Disk Drive) 103, a wireless unit 104, a display 105, an input device 106, a disk drive 107, and a device connection unit 108. Each unit is connected to the bus of the management apparatus 100.

プロセッサ101は、管理装置100の情報処理を制御する。プロセッサ101は、マルチプロセッサであってもよい。プロセッサ101は、例えばCPU、MPU(Micro Processing Unit)、DSP(Digital Signal Processor)、ASIC(Application Specific Integrated Circuit)、FPGA(Field Programmable Gate Array)またはPLD(Programmable Logic Device)などである。プロセッサ101は、CPU、MPU、DSP、ASIC、FPGA、PLDのうちの2以上の要素の組み合わせであってもよい。   The processor 101 controls information processing of the management apparatus 100. The processor 101 may be a multiprocessor. The processor 101 is, for example, a CPU, a micro processing unit (MPU), a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), or a programmable logic device (PLD). The processor 101 may be a combination of two or more elements of CPU, MPU, DSP, ASIC, FPGA, and PLD.

RAM102は、管理装置100の主記憶装置である。RAM102は、プロセッサ101に実行させるOS(Operating System)のプログラムやアプリケーションプログラムの少なくとも一部を一時的に記憶する。また、RAM102は、プロセッサ101による処理に用いる各種データを記憶する。   The RAM 102 is a main storage device of the management device 100. The RAM 102 temporarily stores at least part of an OS (Operating System) program and application programs to be executed by the processor 101. The RAM 102 stores various data used for processing by the processor 101.

HDD103は、管理装置100の補助記憶装置である。HDD103は、内蔵した磁気ディスクに対して、磁気的にデータの書き込みおよび読み出しを行う。HDD103には、OSのプログラム、アプリケーションプログラム、および各種データが格納される。管理装置100は、フラッシュメモリやSSD(Solid State Drive)などの他の種類の補助記憶装置を備えてもよく、複数の補助記憶装置を備えてもよい。   The HDD 103 is an auxiliary storage device of the management device 100. The HDD 103 magnetically writes and reads data to and from the built-in magnetic disk. The HDD 103 stores an OS program, application programs, and various data. The management device 100 may include other types of auxiliary storage devices such as flash memory and SSD (Solid State Drive), and may include a plurality of auxiliary storage devices.

無線部104は、プラグ装置200,200dとBluetoothによる直接の通信を行える無線インタフェースである。また、無線部104は、親プラグを介して子プラグと間接的に通信を行うこともできる。   The wireless unit 104 is a wireless interface that can directly communicate with the plug devices 200 and 200d using Bluetooth. Further, the wireless unit 104 can also communicate indirectly with the child plug via the parent plug.

なお、例えば、Wi−Fi(登録商標)(Wireless - Fidelity)およびZigbeeなど、Bluetooth以外の通信方式を採用してもよい。また、他の方式(例えば、無線LAN)で無線通信する無線インタフェースを備えてもよい。また、管理装置100は、無線部104に加えて、ネットワークに有線で接続して通信するための有線インタフェースを備えてもよい。   For example, a communication method other than Bluetooth, such as Wi-Fi (registered trademark) (Wireless-Fidelity) and Zigbee, may be employed. Moreover, you may provide the radio | wireless interface which carries out radio | wireless communication by another system (for example, wireless LAN). In addition to the wireless unit 104, the management apparatus 100 may include a wired interface for communicating by connecting to a network with a wire.

ディスプレイ105は、プロセッサ101の制御に従って、各種の画像を出力する。ディスプレイ105としては、例えば、液晶ディスプレイや有機EL(Electro Luminescence)ディスプレイを用いることができる。   The display 105 outputs various images according to the control of the processor 101. As the display 105, for example, a liquid crystal display or an organic EL (Electro Luminescence) display can be used.

入力デバイス106は、ユーザの操作に応じた入力信号をプロセッサ101に出力する。入力デバイス106としては、例えば、タッチパネルなどのポインティングデバイスおよびキーパッドなどを用いることができる。   The input device 106 outputs an input signal corresponding to a user operation to the processor 101. As the input device 106, for example, a pointing device such as a touch panel and a keypad can be used.

ディスクドライブ107は、レーザ光などを利用して、光ディスク11に記録されたプログラムやデータを読み取る駆動装置である。光ディスク11として、例えば、DVD(Digital Versatile Disc)、DVD−RAM、CD−ROM(Compact Disc Read Only Memory)、CD−R(Recordable)/RW(ReWritable)などを使用できる。ディスクドライブ107は、例えば、プロセッサ101からの命令に従って、光ディスク11から読み取ったプログラムやデータをRAM102またはHDD103に格納する。   The disk drive 107 is a drive device that reads a program and data recorded on the optical disk 11 using a laser beam or the like. As the optical disc 11, for example, a DVD (Digital Versatile Disc), a DVD-RAM, a CD-ROM (Compact Disc Read Only Memory), a CD-R (Recordable) / RW (ReWritable), or the like can be used. For example, the disk drive 107 stores the program and data read from the optical disk 11 in the RAM 102 or the HDD 103 in accordance with an instruction from the processor 101.

機器接続部108は、管理装置100に周辺機器を接続するための通信インタフェースである。例えば、機器接続部108にはメモリ装置12やリーダライタ装置13を接続できる。メモリ装置12は、機器接続部108との通信機能を搭載した記録媒体である。リーダライタ装置13は、メモリカード14へのデータの書き込み、またはメモリカード14からのデータの読み出しを行う装置である。メモリカード14は、カード型の記録媒体である。機器接続部108は、例えば、プロセッサ101からの命令に従って、メモリ装置12またはメモリカード14から読み取ったプログラムやデータをRAM102またはHDD103に格納する。   The device connection unit 108 is a communication interface for connecting peripheral devices to the management apparatus 100. For example, the memory device 12 and the reader / writer device 13 can be connected to the device connection unit 108. The memory device 12 is a recording medium equipped with a communication function with the device connection unit 108. The reader / writer device 13 is a device that writes data to the memory card 14 or reads data from the memory card 14. The memory card 14 is a card type recording medium. For example, the device connection unit 108 stores a program or data read from the memory device 12 or the memory card 14 in the RAM 102 or the HDD 103 in accordance with an instruction from the processor 101.

図4は、第2の実施の形態のプラグ装置のハードウェア例を示す図である。プラグ装置200は、メインボード200M、プロセッサ201、RAM202、フラッシュメモリ203、無線部204およびセンサ205、電源部206および給電部207を有する。電源部206は、メインボード200Mおよび給電部207と接続されている。プロセッサ201、RAM202、フラッシュメモリ203、無線部204およびセンサ205はメインボード200M上に実装されている。また、給電部207は、電源部206に加え、センサ205と接続されている。   FIG. 4 is a diagram illustrating a hardware example of the plug device according to the second embodiment. The plug device 200 includes a main board 200M, a processor 201, a RAM 202, a flash memory 203, a wireless unit 204 and a sensor 205, a power supply unit 206, and a power supply unit 207. The power supply unit 206 is connected to the main board 200M and the power supply unit 207. The processor 201, RAM 202, flash memory 203, wireless unit 204, and sensor 205 are mounted on the main board 200M. The power feeding unit 207 is connected to the sensor 205 in addition to the power source unit 206.

メインボード200Mは、プロセッサ201、RAM202、フラッシュメモリ203、無線部204およびセンサ205に、電源部206から供給される電力を供給する。
プロセッサ201、RAM202については、図3と同様のため、説明を省略する。
The main board 200M supplies the power supplied from the power supply unit 206 to the processor 201, the RAM 202, the flash memory 203, the wireless unit 204, and the sensor 205.
The processor 201 and the RAM 202 are the same as those in FIG.

フラッシュメモリ203は、プログラムおよびデータを記憶する不揮発性の記憶装置である。なお、プラグ装置200は、HDDやSSDなどの他の種類の記憶装置を備えてもよく、複数個の不揮発性の記憶装置を備えてもよい。   The flash memory 203 is a non-volatile storage device that stores programs and data. The plug device 200 may include other types of storage devices such as HDDs and SSDs, and may include a plurality of nonvolatile storage devices.

無線部204は、管理装置100およびプラグ装置(例えば、プラグ装置200a)とBluetoothによる通信を行える無線インタフェースである。
センサ205は、給電部207に接続された電気機器の消費電力を測定するセンサデバイスである。センサ205は、消費電力に加えて、周辺の気温、湿度または照度などを測定することもできる。センサ205は、気温、湿度および照度などを測定するために複数の種類のセンサデバイスを備えてもよい。
The wireless unit 204 is a wireless interface that can communicate with the management device 100 and the plug device (for example, the plug device 200a) by Bluetooth.
The sensor 205 is a sensor device that measures the power consumption of an electrical device connected to the power supply unit 207. In addition to power consumption, the sensor 205 can also measure ambient temperature, humidity, illuminance, and the like. The sensor 205 may include a plurality of types of sensor devices for measuring temperature, humidity, illuminance, and the like.

電源部206は、接続した外部の電源から供給された電力をメインボード200Mおよび給電部207に供給する。外部の電源とは、電源部206の有する凸型のコネクタ206aを介して接続する。   The power supply unit 206 supplies power supplied from the connected external power supply to the main board 200M and the power supply unit 207. An external power source is connected via a convex connector 206a included in the power source unit 206.

給電部207は、給電部207に接続された電気機器に電源部206から供給された電力を供給する。電気機器の電源ケーブルとは、給電部207の有する凹型のコネクタ207aを介して接続する。また、接続された電気機器の消費電力を示す物理状態をセンサ205へ出力する。給電部207は、コネクタ207a以外に複数のコネクタを有して、複数の電気機器に電力を供給可能であってもよい。   The power feeding unit 207 supplies the power supplied from the power source unit 206 to the electrical equipment connected to the power feeding unit 207. It connects with the power cable of an electric equipment via the concave connector 207a which the electric power feeding part 207 has. In addition, the physical state indicating the power consumption of the connected electrical device is output to the sensor 205. The power feeding unit 207 may have a plurality of connectors in addition to the connector 207a, and may be able to supply power to a plurality of electrical devices.

プラグ装置200a,200b,200c,200d,200e,200fも、プラグ装置200と同様のハードウェアで実現できる。
図5は、第2の実施の形態のソフトウェア例を示す図である。管理装置100は、記憶部110、制御部120および管理アプリ130を有する。
The plug devices 200a, 200b, 200c, 200d, 200e, and 200f can also be realized by the same hardware as the plug device 200.
FIG. 5 illustrates an example of software according to the second embodiment. The management apparatus 100 includes a storage unit 110, a control unit 120, and a management application 130.

記憶部110は、管理装置100がプラグ装置を制御するためのデータを含む制御データを記憶する。また、記憶部110は、各プラグ装置から収集したセンサデータを管理するための情報を含む計測値テーブルを記憶する。   The storage unit 110 stores control data including data for the management device 100 to control the plug device. Further, the storage unit 110 stores a measurement value table including information for managing sensor data collected from each plug device.

制御部120は、管理アプリ130の指示に基づいて、各子プラグとの通信を制御する。制御部120は、制御対象のプラグ装置を制御データに登録する。また、制御部120は、登録後、所定の位置に配置された各子プラグを検索するよう各プラグ装置に要求する。制御部120は、検索された子プラグと、制御データを更新する。   The control unit 120 controls communication with each child plug based on an instruction from the management application 130. The control unit 120 registers the plug device to be controlled in the control data. Moreover, the control part 120 requests | requires each plug apparatus to search each child plug arrange | positioned in the predetermined position after registration. The control unit 120 updates the searched child plug and control data.

更に、制御部120は、記憶部110に記憶された制御データに基づいて、管理装置100から所定の子プラグに接続を要求する。接続は、管理装置100から所定の子プラグに至るまでの通信経路に含まれる無線リンクを確立することで実現される。例えば、制御部120は、プラグ装置200bに対して接続を要求する。すると、プラグ装置200およびプラグ装置200a間の無線リンクと、プラグ装置200aおよびプラグ装置200b間の無線リンクとが確立される。   Furthermore, the control unit 120 requests connection from the management device 100 to a predetermined child plug based on the control data stored in the storage unit 110. The connection is realized by establishing a wireless link included in a communication path from the management apparatus 100 to a predetermined child plug. For example, the control unit 120 requests connection to the plug device 200b. Then, a wireless link between the plug device 200 and the plug device 200a and a wireless link between the plug device 200a and the plug device 200b are established.

プラグ装置に対する無線リンクが確立されると、制御部120は、確立された無線リンクを経由して、プラグ装置に対して現在時刻など、電力の計測のための初期設定を行う。また、制御部120は、確立された無線リンクを経由して、通信先となるプラグ装置から当該プラグ装置が計測したセンサデータを収集する。   When the wireless link to the plug device is established, the control unit 120 performs initial setting for power measurement such as the current time on the plug device via the established wireless link. In addition, the control unit 120 collects sensor data measured by the plug device from the plug device serving as a communication destination via the established wireless link.

また、制御部120は、所定の子プラグへの要求(例えば、初期設定やセンサデータの提供など)に対応する応答を受信すると、プラグ装置間で確立されている各無線リンクを切断するよう、無線リンクを確立しているプラグ装置に要求する。   Further, when receiving a response corresponding to a request to a predetermined child plug (for example, initial setting, provision of sensor data, etc.), the control unit 120 disconnects each wireless link established between the plug devices. Requests a plug device that has established a wireless link.

管理アプリ130は、プラグ装置200が計測したセンサデータを管理するアプリケーションソフトウェアである。管理アプリ130は、定期的に各プラグ装置から計測したセンサデータを収集するよう、制御部120に指示する。また、管理アプリ130は、記憶部110に記憶された計測値テーブルに基づいて、収集したセンサデータを可視化し、可視化したデータを出力する。   The management application 130 is application software that manages sensor data measured by the plug device 200. The management application 130 instructs the control unit 120 to periodically collect sensor data measured from each plug device. Further, the management application 130 visualizes the collected sensor data based on the measurement value table stored in the storage unit 110 and outputs the visualized data.

プラグ装置200は、記憶部210、通信部220および計測部230を有する。
記憶部210は、センサデータを計測するタイミングや自身のアドレスなど、プラグ装置200に関する情報を含むプラグデータを記憶する。また、記憶部210は、プラグ装置200が確立した無線リンクを管理するための情報を含むリンク管理テーブルを記憶する。更に、記憶部210は、センサデータの情報を含むプラグ単位計測値テーブルを記憶する。
The plug device 200 includes a storage unit 210, a communication unit 220, and a measurement unit 230.
The storage unit 210 stores plug data including information related to the plug device 200, such as the timing of sensor data measurement and the address of the storage unit 210. In addition, the storage unit 210 stores a link management table including information for managing the radio link established by the plug device 200. Furthermore, the storage unit 210 stores a plug unit measurement value table including information on sensor data.

計測部230は、プラグ装置200に接続されたTV受像器30などのセンサデータを、センサ205を用いて定期または不定期に計測する。そして、計測部230は、計測したセンサデータを、記憶部210に記憶されたプラグ単位計測値テーブルに格納する。また、計測部230は、管理装置100によるプラグ装置200の登録時に、管理装置100から通信部220が受信した設定値(例えば、センサデータの計測の周期など)を計測部230に設定する。   The measuring unit 230 measures sensor data such as the TV receiver 30 connected to the plug device 200 regularly or irregularly using the sensor 205. Then, the measurement unit 230 stores the measured sensor data in the plug unit measurement value table stored in the storage unit 210. In addition, the measurement unit 230 sets a setting value (for example, a sensor data measurement cycle) received by the communication unit 220 from the management device 100 in the measurement unit 230 when the management device 100 registers the plug device 200.

通信部220は、管理装置100の要求に応じて、プラグ単位計測値テーブルに格納されたセンサデータを管理装置100に送信する。
なお、プラグ装置が子プラグの場合、通信部220は、管理装置100の要求に応じて、計測部230が計測したセンサデータを、確立された無線リンクを用いて送信する。例えば、プラグ装置200aの通信部は、プラグ装置200aに接続された照明機器20の消費電力などのセンサデータを、プラグ装置200間に確立された無線リンクを用いて送信する。
The communication unit 220 transmits the sensor data stored in the plug unit measurement value table to the management apparatus 100 in response to a request from the management apparatus 100.
When the plug device is a child plug, the communication unit 220 transmits the sensor data measured by the measurement unit 230 using the established wireless link in response to a request from the management device 100. For example, the communication unit of the plug device 200a transmits sensor data such as power consumption of the lighting device 20 connected to the plug device 200a using a wireless link established between the plug devices 200.

また、通信部220は、プラグ装置200が管理装置100の収集先となるプラグ装置までの経路を中継する場合、受信したセンサデータを、受信した無線リンクとは異なる無線リンクを用いて管理装置100に転送する。例えば、管理装置100がプラグ装置200aに接続された照明機器20の消費電力などのセンサデータを収集する場合、通信部220は、プラグ装置200a側の無線リンクを用いて受信したセンサデータを、管理装置100側の無線リンクを用いて転送する。   Further, when the plug device 200 relays a route to the plug device that is the collection destination of the management device 100, the communication unit 220 uses the wireless link that is different from the received wireless link for the received sensor data. Forward to. For example, when the management device 100 collects sensor data such as power consumption of the lighting device 20 connected to the plug device 200a, the communication unit 220 manages the sensor data received using the wireless link on the plug device 200a side. Transfer is performed using a wireless link on the device 100 side.

なお、プラグ装置200a,200b,200c,200d,200e,200fもプラグ装置200と同様のソフトウェアで実現できる。
図6は、第2の実施の形態の制御データの例を示す図である。制御データ111は、記憶部110に記憶されている。制御データ111は、XML(Extensible Markup Language)を用いて記述されている。以下、制御データ111に便宜的に付した行番号を示して説明する。制御データ111は、所定のプラグ装置との通信を制御するための各プラグ装置に関するデータの一覧を示すタグ<plugList>(2行目の記述)を含む。
The plug devices 200a, 200b, 200c, 200d, 200e, and 200f can also be realized by the same software as the plug device 200.
FIG. 6 is a diagram illustrating an example of control data according to the second embodiment. The control data 111 is stored in the storage unit 110. The control data 111 is described using XML (Extensible Markup Language). In the following, description will be given by showing the line numbers attached to the control data 111 for convenience. The control data 111 includes a tag <plugList> (description on the second line) indicating a list of data related to each plug device for controlling communication with a predetermined plug device.

タグ<plugList>は、管理装置100に制御されるプラグ装置ごとに、管理装置100が制御するプラグ装置を示すタグ<plug>を有する。タグ<plug>に対応するプラグ装置は、”No”で示されるプラグ番号により識別される。プラグ番号には、各プラグ装置を識別するための番号が一意に設定される。   The tag <plugList> has a tag <plug> indicating a plug device controlled by the management device 100 for each plug device controlled by the management device 100. The plug device corresponding to the tag <plug> is identified by the plug number indicated by “No”. In the plug number, a number for uniquely identifying each plug device is set.

例えば、プラグ番号が1であるタグ<plug>は、<plug No=”1”>となる。タグ<plug No=”1”>は、プラグ装置200に関するデータを有する。この内容は、3〜16行目に対応する。タグ<plug No=”2”>は、プラグ装置200aに関するデータを有する。この内容は、17〜30行目に対応する。以下、各行に記述されたタグについて説明する。   For example, a tag <plug> whose plug number is 1 becomes <plug No = “1”>. The tag <plug No = “1”> has data regarding the plug device 200. This content corresponds to the 3rd to 16th lines. The tag <plug No = "2"> has data related to the plug device 200a. This content corresponds to the 17th to 30th lines. Hereinafter, tags described in each line will be described.

タグ<plug>は、タグ<available>、タグ<parent>、タグ<portNo>、タグ<connect>、タグ<plugAdr>、タグ<routing>、タグ<initialized>、タグ<electronicItemName>、タグ<targetCost>、タグ<adjustTemp>、タグ<adjustHumidity>およびタグ<location>を有する。   The tag <plug> is a tag <available>, a tag <parent>, a tag <portNo>, a tag <connect>, a tag <plugAdr>, a tag <routing>, a tag <initialized>, a tag <electronicItemName>, and a tag <targetCost> , Tag <adjustTemp>, tag <adjustHumidity>, and tag <location>.

タグ<available>には、自身のプラグ装置が制御部120により検出済であるか否かを示す情報が設定される。例えば、タグ<available>がtrueの場合、対応するプラグ装置が検出済であることを示す。また、タグ<available>がtrueの場合、対応するプラグ装置が未検出であることを示す。プラグ装置の初期登録時において、タグ<available>には、”false”が設定される。   In tag <available>, information indicating whether or not its own plug device has been detected by control unit 120 is set. For example, when the tag <available> is true, it indicates that the corresponding plug device has been detected. Further, when the tag <available> is true, it indicates that the corresponding plug device is not detected. At the time of initial registration of the plug device, “false” is set in the tag <available>.

タグ<parent>には、プラグが親プラグか否かを示す情報が設定される。例えば、タグ<parent>が”true”の場合、対応するプラグ装置は、親プラグであることを示す。また、タグ<parent>が”false”の場合、対応するプラグ装置は、子プラグであることを示す。   Information indicating whether or not the plug is a parent plug is set in the tag <parent>. For example, when the tag <parent> is “true”, it indicates that the corresponding plug device is a parent plug. If the tag <parent> is “false”, it indicates that the corresponding plug device is a child plug.

タグ<portNo>には、無線通信(例えば、Bluetooth SPP(Serial Port Profile))時のポート番号を示す。プラグ装置の初期登録時において、タグ<parent>には、”true”が設定される。タグ<connect>には、消費電力などのセンサデータが測定中か否かを示す情報が設定される。   A tag <portNo> indicates a port number at the time of wireless communication (for example, Bluetooth SPP (Serial Port Profile)). At the time of initial registration of the plug device, “true” is set in the tag <parent>. Information indicating whether sensor data such as power consumption is being measured is set in the tag <connect>.

タグ<plugAdr>には、プラグ装置のアドレスが設定される。アドレスは例えば48ビットの情報である。タグ<routing>には、管理装置100から対応するプラグ装置への通信経路を示す情報が設定される。通信経路を示す情報は、プラグ番号をカンマ(”,”)で連結した文字列である。例えば、タグ<routing>に、”1,2”が設定されている場合、管理装置100から当該プラグ装置へ至るまでに、No=1であるプラグ装置200、No=2であるプラグ装置200aを中継することを示す。親プラグの場合、当該タグには、値を設定しなくてもよい。   The tag <plugAdr> is set with the address of the plug device. The address is 48-bit information, for example. Information indicating a communication path from the management device 100 to the corresponding plug device is set in the tag <routing>. The information indicating the communication path is a character string obtained by connecting plug numbers with commas (","). For example, when “1, 2” is set in the tag <routing>, the plug device 200 with No = 1 and the plug device 200a with No = 2 are connected from the management device 100 to the plug device. Indicates relaying. In the case of the parent plug, it is not necessary to set a value for the tag.

タグ<initialized>には、プラグ装置が管理装置100による登録の際、初期化された日付が設定される。なお、プラグ装置が初期化されていない場合、空文字(””)が設定されてもよい。   The tag <initialized> is set with an initialization date when the plug device is registered by the management device 100. If the plug device has not been initialized, a null character (“”) may be set.

タグ<electronicItemName>には、プラグ装置に接続される電気機器の名称(例えば、プラグ装置200の場合、TV受像器)が設定される。タグ<targetCost>には、1ヶ月の電気代の目標金額が設定される。タグ<adjustTemp>には、センサ205が計測した周辺の温度の調整値(例えば、計測値±20℃)が設定される。   In the tag <electronicItemName>, a name of an electric device connected to the plug device (for example, a TV receiver in the case of the plug device 200) is set. In tag <targetCost>, a target amount of electricity bill for one month is set. The tag <adjustTemp> is set with an adjustment value (for example, measured value ± 20 ° C.) of the ambient temperature measured by the sensor 205.

タグ<adjustHumidity>には、センサ205が計測した周辺の湿度の調整値(例えば、計測値±20%)が設定される。タグ<location>には、プラグ装置の設置場所(例えば、リビングや子供部屋など)が設定される。   In the tag <adjustHumidity>, an adjustment value (for example, measured value ± 20%) of the surrounding humidity measured by the sensor 205 is set. In the tag <location>, a place where the plug device is installed (for example, a living room or a child's room) is set.

図7は、第2の実施の形態の制御データの例(続き)を示す図である。制御データ111の31〜44行目の記述はプラグ装置200bに関する情報である。制御データ111の45〜58行目の記述はプラグ装置200cに関する情報である。各タグの説明は、図6と同様であるため、説明を省略する。60行目には、制御データ111の2行目のタグ<plugList>に対応する</plugList>が記述されている。   FIG. 7 is a diagram illustrating an example (continued) of control data according to the second embodiment. The description on the 31st to 44th lines of the control data 111 is information relating to the plug device 200b. The description on lines 45 to 58 of the control data 111 is information relating to the plug device 200c. The description of each tag is the same as in FIG. In the 60th line, </ plugList> corresponding to the tag <plugList> in the second line of the control data 111 is described.

なお、制御データ111は、CSV(Comma-Separated Values)ファイルなど、XMLファイル以外を用いてもよい。また、制御データ111は、データベース(DB:Database)を用いて管理されてもよい。   The control data 111 may be other than an XML file such as a CSV (Comma-Separated Values) file. Further, the control data 111 may be managed using a database (DB: Database).

図8は、第2の実施の形態の計測値テーブルの例を示す図である。計測値テーブル112は、記憶部110に記憶されている。計測値テーブル112は、計測日、機器名称、計測時間、電気料金、積算電気量、CO2(carbon dioxide)排出量、一ヶ月連続使用量、電気単価、温度および湿度の項目を含む。   FIG. 8 is a diagram illustrating an example of a measurement value table according to the second embodiment. The measurement value table 112 is stored in the storage unit 110. The measurement value table 112 includes items of a measurement date, a device name, a measurement time, an electricity bill, an integrated electricity amount, a CO2 (carbon dioxide) emission amount, a monthly continuous use amount, an electricity unit price, temperature, and humidity.

計測日の項目には、プラグ装置がセンサデータを計測した日時が設定される。機器名称の項目には、プラグ装置に接続されている電気機器の名称が設定される。例えば、プラグ装置200の場合、機器名称の項目には、”TV受像器”が設定される。計測時間の項目には、プラグ装置に接続された電気機器の消費電力を集計した時間が設定される。   In the measurement date item, the date and time when the plug device measures the sensor data is set. In the item “device name”, the name of the electric device connected to the plug device is set. For example, in the case of the plug device 200, “TV receiver” is set in the item of the device name. In the item “measurement time”, a time in which the power consumption of the electrical equipment connected to the plug device is tabulated is set.

電気料金の項目には、前回の計測日から現在の計測日までにかかる電気料金(例えば、積算電気量×電気単価)が設定される。積算電気量の項目には、前回の計測日から現在の計測日までに計測したプラグ装置に接続された電気機器の消費電力が設定される。   In the item of electricity charge, an electricity charge (for example, accumulated electricity amount × electricity unit price) required from the previous measurement date to the current measurement date is set. In the item of accumulated electric quantity, the power consumption of the electric device connected to the plug device measured from the previous measurement date to the current measurement date is set.

CO2排出量の項目には、プラグ装置に接続された電気機器が前回の計測日から現在の計測日までに排出したCO2の排出量の算出値が設定される。CO2の排出量は、例えば、積算電気量×所定の値(例えば、CO2排出係数)により算出する。   In the item of CO2 emission amount, a calculated value of the CO2 emission amount discharged from the previous measurement date to the current measurement date by the electrical device connected to the plug device is set. The emission amount of CO2 is calculated by, for example, integrated electricity amount × predetermined value (for example, CO2 emission coefficient).

一ヶ月連続使用量の項目には、1ヶ月あたりに使用し続けた場合の電気料金が設定される。例えば、レコードが1時間ごとに登録されている場合、一ヶ月連続使用量=30(日)×24(時間)×電気料金となる。   In the item of continuous use amount for one month, an electricity charge when the use is continued per month is set. For example, when records are registered every hour, monthly usage amount = 30 (days) × 24 (hours) × electricity charge.

電気単価の項目には、所定の消費電力あたりにかかる料金の単価が設定される。温度の項目には、プラグ装置が用いて計測したプラグ装置の周辺の温度が設定される。湿度の項目には、プラグ装置200が計測したプラグ装置の周辺の湿度が設定される。   In the item of electricity unit price, a unit price of a charge per predetermined power consumption is set. In the temperature item, a temperature around the plug device measured by the plug device is set. In the humidity item, the humidity around the plug device measured by the plug device 200 is set.

図7〜図8で示すように、記憶部110には、制御データ111や計測値テーブル112など管理装置100が子プラグ間との通信を制御したり、収集したセンサデータを管理したりするための情報が記憶される。なお、照度などの他の種類の項目を設けて、照度などのセンサデータを設定してもよい。   As shown in FIGS. 7 to 8, in the storage unit 110, the management device 100 such as the control data 111 and the measurement value table 112 controls communication between child plugs and manages collected sensor data. Is stored. Note that other types of items such as illuminance may be provided to set sensor data such as illuminance.

図9は、第2の実施の形態のプラグデータの例を示す図である。プラグデータ211は、記憶部210に記憶されている。プラグデータ211は、プラグ装置に関するデータが格納される。プラグデータ211は、BD_ADDR、BD_NAMEおよびセンサモードの項目を有する。BD_ADDRの項目には、プラグ装置200のアドレスが設定される。BD_NAMEの項目には、プラグ装置200を登録した管理装置(例えば、管理装置100)によって指定された名前が設定される。例えば、”F−PLUG_A”という名前が指定される。   FIG. 9 is a diagram illustrating an example of plug data according to the second embodiment. Plug data 211 is stored in the storage unit 210. The plug data 211 stores data related to the plug device. The plug data 211 has items of BD_ADDR, BD_NAME, and sensor mode. The address of the plug device 200 is set in the BD_ADDR item. In the item of BD_NAME, a name designated by a management device (for example, the management device 100) that has registered the plug device 200 is set. For example, the name “F-PLUG_A” is designated.

センサモードの項目には、管理装置100による登録時に、センサ205による計測の周期が設定される。計測の周期は、例えば、1時間でもよいし、1分でもよい。センサモードの項目は、プラグデータ211に予め格納されていてもよいし、管理装置100による登録時や初期設定時に設定されてもよい。   In the sensor mode item, a measurement cycle by the sensor 205 is set at the time of registration by the management apparatus 100. The measurement period may be, for example, 1 hour or 1 minute. The sensor mode item may be stored in the plug data 211 in advance, or may be set at the time of registration or initial setting by the management apparatus 100.

図10は、第2の実施の形態のリンク管理テーブルの例を示す図である。リンク管理テーブル212は、記憶部210に記憶されている。リンク管理テーブル212には、ペアリングが完了した他のプラグ装置または管理装置100との無線リンクの情報が格納される。   FIG. 10 is a diagram illustrating an example of a link management table according to the second embodiment. The link management table 212 is stored in the storage unit 210. The link management table 212 stores information on radio links with other plug devices or management devices 100 that have been paired.

リンク管理テーブル212は、相手プラグのBD_ADDRおよびリンクキー(Link Key)の項目を有する。相手プラグのBD_ADDRの項目には、確立した無線リンク先のプラグ装置のアドレスが設定される。例えば、BD_ADDR”0x00000000000A”は無線部104のアドレスである。BD_ADDR”0x000000000002”はプラグ装置200aのアドレスである。リンクキーの項目には、確立した無線リンクに対応するリンクキーが設定される。リンクキーは、確立した無線リンクを用いた通信に用いられる情報である。例えば、リンクキー”KeyA”は無線部104と通信するための情報である。リンクキー”KeyB”はプラグ装置200aと通信するための情報である。   The link management table 212 includes BD_ADDR and link key items of the counterpart plug. The address of the established wireless link destination plug device is set in the BD_ADDR item of the counterpart plug. For example, BD_ADDR “0x00000000000000A” is the address of the wireless unit 104. BD_ADDR “0x000000000002” is an address of the plug device 200a. In the link key item, a link key corresponding to the established wireless link is set. The link key is information used for communication using the established wireless link. For example, the link key “KeyA” is information for communicating with the wireless unit 104. The link key “KeyB” is information for communicating with the plug device 200a.

Bluetoothのペアリングでは、装置同士で共通のPIN(Personal Identification Number)を用いて相互認証を行う。共通のPINが各装置に予め指定されてもよい。認証に成功すると、両装置でリンクキーが生成され、両装置でBD_ADDRおよびリンクキーのペアを保持することになる。   In Bluetooth pairing, mutual authentication is performed using a common PIN (Personal Identification Number) between devices. A common PIN may be designated in advance for each device. If the authentication is successful, both devices generate a link key, and both devices hold a BD_ADDR and link key pair.

図11は、第2の実施の形態のプラグ単位計測値テーブルの例を示す図である。プラグ単位計測値テーブル213は、記憶部210に記憶されている。プラグ単位計測値テーブル213には、計測部230により所定の周期で計測される1またはそれ以上の種類のセンサデータが格納される。計測されるセンサデータの種類は、消費電力、温度および湿度がある。なお、計測されるセンサデータの種類は、消費電力、温度および湿度の何れかでもよい。また、計測されるセンサデータの種類は、照度など他のセンサデータが含まれてもよい。   FIG. 11 is a diagram illustrating an example of a plug unit measurement value table according to the second embodiment. The plug unit measurement value table 213 is stored in the storage unit 210. The plug unit measurement value table 213 stores one or more types of sensor data measured by the measurement unit 230 at a predetermined cycle. The types of sensor data to be measured include power consumption, temperature, and humidity. Note that the type of sensor data to be measured may be any of power consumption, temperature, and humidity. Further, the type of sensor data to be measured may include other sensor data such as illuminance.

プラグ単位計測値テーブル213は、日時、消費電力、温度および湿度の項目を有する。日時の項目には、センサデータを計測した日時が設定される。消費電力の項目には、計測部230が計測したプラグ装置200に接続される電気機器(例えば、TV受像器30)の消費電力が設定される。温度の項目には、計測部230が計測したプラグ装置200の周辺の温度が設定される。湿度の項目には、計測部230が計測したプラグ装置200の周辺の湿度が設定される。   The plug unit measurement value table 213 includes items of date and time, power consumption, temperature, and humidity. In the date / time item, the date / time when the sensor data is measured is set. In the item of power consumption, the power consumption of an electric device (for example, the TV receiver 30) connected to the plug device 200 measured by the measurement unit 230 is set. In the temperature item, the temperature around the plug device 200 measured by the measurement unit 230 is set. In the humidity item, the humidity around the plug device 200 measured by the measurement unit 230 is set.

図9〜図11で示すように、記憶部210には、プラグデータ211やリンク管理テーブル212など、プラグ装置200がセンサデータの計測の周期を制御したり、無線リンクの確立を制御したりするための情報が記憶される。また、記憶部210には、プラグ単位計測値テーブル213など、周期的に計測したセンサデータが記憶される。   As shown in FIGS. 9 to 11, in the storage unit 210, the plug device 200 such as the plug data 211 and the link management table 212 controls the measurement period of sensor data, and controls the establishment of a wireless link. Information is stored. The storage unit 210 stores sensor data measured periodically, such as the plug unit measurement value table 213.

次に、管理装置100がプラグ装置を制御するために用いる電文の例を説明する。電文は、電文の送信元の装置(例えば、プラグ装置や管理装置100)から、無線リンクの確立が可能な位置に配置された装置に送信される。電文を受信した装置は、電文の宛先を確認する。宛先が自身のアドレスの場合、受信した装置は、電文の種別に応じた処理を実行する。宛先が自身のアドレス以外の場合、受信した装置は、電文を破棄する。   Next, an example of a message used for the management apparatus 100 to control the plug apparatus will be described. The electronic message is transmitted from a device (for example, the plug device or the management device 100) that is the transmission source of the electronic message to a device arranged at a position where a wireless link can be established. The device that has received the message confirms the destination of the message. When the destination is its own address, the received device executes processing according to the type of message. If the destination is other than its own address, the receiving device discards the message.

図12は、第2の実施の形態の検索用の電文の例を示す図である。図12(A)は、検索要求電文301を示す図である。検索要求電文301は、管理装置100が所定のプラグ装置に、当該プラグ装置が無線リンクの確立が可能なプラグ装置の検索を要求する電文である。検索要求電文301は、要求種別、検索回数および検索要求先BD_ADDRの項目を有する。   FIG. 12 is a diagram illustrating an example of a search message according to the second embodiment. FIG. 12A shows a search request message 301. The search request message 301 is a message requesting the management device 100 to request a predetermined plug device for a plug device that can establish a wireless link. The search request message 301 includes items of request type, number of searches, and search request destination BD_ADDR.

要求種別の項目には、管理装置100がプラグ装置に要求する電文の種別を示す情報が設定される。例えば、検索要求電文301の場合、要求種別の項目には、”検索要求”を示す情報が設定される。検索回数の項目には、管理装置100が検索要求電文301を同じプラグ装置に要求した回数が設定される。例えば、管理装置100は、検索回数が所定の値以上となったとき、検索に失敗した旨を出力する。検索要求先BD_ADDRの項目には、検索を要求するプラグ装置のアドレスが設定される。   Information indicating the type of message requested by the management apparatus 100 to the plug apparatus is set in the request type item. For example, in the case of the search request message 301, information indicating “search request” is set in the item of request type. The number of times the management device 100 has requested the search request message 301 from the same plug device is set in the search number field. For example, when the number of searches reaches a predetermined value or more, the management apparatus 100 outputs that the search has failed. In the search request destination BD_ADDR item, the address of the plug device that requests the search is set.

図12(B)は、検索応答電文302を示す図である。検索応答電文302は、プラグ装置が検索要求電文301に応じて検索した無線リンクの確立が可能なプラグ装置について応答する電文である。検索応答電文302は、応答種別、検索件数、BD_ADDRおよびプラグ名の項目を有する。   FIG. 12B is a diagram showing the search response message 302. The search response message 302 is a message for responding to a plug device that can establish a wireless link searched by the plug device according to the search request message 301. The search response message 302 includes items of response type, number of searches, BD_ADDR, and plug name.

応答種別の項目には、プラグ装置が管理装置100に応答する電文の種別を示す情報が設定される。例えば、検索応答電文302の場合、応答種別の項目には、”検索応答”を示す情報が設定される。検出件数の項目には、検索された無線リンクの確立が可能なプラグ装置の数が設定される。BD_ADDRの項目には、管理装置100に検索されたプラグ装置のアドレスが設定される。プラグ名の項目には、管理装置100によって付与された識別名が設定される。例えば、管理装置100は、一群のプラグに対して同じ識別名を付与して、他のデバイスと区別する。   In the response type item, information indicating the type of message that the plug device responds to the management device 100 is set. For example, in the case of the search response message 302, information indicating “search response” is set in the response type item. In the item of the number of detected cases, the number of plug devices that can establish the searched radio link is set. In the BD_ADDR item, the address of the plug device searched by the management device 100 is set. In the plug name item, an identification name given by the management apparatus 100 is set. For example, the management apparatus 100 assigns the same identification name to a group of plugs to distinguish them from other devices.

BD_ADDRおよびプラグ名の項目は、検索件数分設定される。例えば、検索件数が2件の場合、検索件数の項目以降のデータは、”BD_ADDR(1件目)”、”プラグ名(1件目)”、”BD_ADDR(2件目)”、”プラグ名(2件目)”の項目の順に設定される。   The items of BD_ADDR and plug name are set for the number of searches. For example, when the number of search cases is 2, the data after the search number items are “BD_ADDR (first case)”, “plug name (first case)”, “BD_ADDR (second case)”, “plug name” (Second item) "is set in the order of items.

このように、管理装置100が子プラグを検索する際、配置されたプラグ装置を制御するために、検索要求電文301および検索応答電文302が用いられる。
図13は、第2の実施の形態の接続/切断用の電文の例を示す図である。図13(A)は、接続要求電文311を示す図である。接続要求電文311は、管理装置100がデータを送受信する子プラグとの接続を要求する電文である。接続要求電文311は、要求種別および接続経路BD_ADDRの項目を有する。
As described above, when the management device 100 searches for a child plug, the search request message 301 and the search response message 302 are used to control the arranged plug devices.
FIG. 13 is a diagram illustrating an example of a connection / disconnection message according to the second embodiment. FIG. 13A is a diagram showing a connection request message 311. The connection request message 311 is a message for requesting a connection with the child plug for the management apparatus 100 to transmit and receive data. The connection request message 311 includes items of a request type and a connection route BD_ADDR.

要求種別の項目には、管理装置100がプラグ装置に要求する電文の種別を示す情報が設定される。例えば、接続要求電文311の場合、要求種別の項目には、”接続要求”を示す情報が設定される。   Information indicating the type of message requested by the management apparatus 100 to the plug apparatus is set in the request type item. For example, in the case of the connection request message 311, information indicating “connection request” is set in the item of request type.

接続経路BD_ADDRの項目には、管理装置100から接続を要求するプラグ装置へ至るまでの通信経路に含まれる子プラグのアドレスが設定される。接続経路BD_ADDRの項目は、通信経路に含まれる子プラグの数に応じて1または複数設けられる。接続経路BD_ADDRの項目が複数の場合、項目名は、親プラグに近い順に”接続経路BD_ADDR1”、”接続経路BD_ADDR2”のように、項目名と項番とが結合された文字列となる。また、この場合、管理装置100から接続を要求するプラグ装置へ至るまでの経路順に子プラグのアドレスが設定される。   In the item of the connection path BD_ADDR, an address of a child plug included in the communication path from the management apparatus 100 to the plug apparatus that requests connection is set. One or more items of the connection path BD_ADDR are provided depending on the number of child plugs included in the communication path. When there are a plurality of items of the connection route BD_ADDR, the item name is a character string in which the item name and the item number are combined, such as “connection route BD_ADDR1” and “connection route BD_ADDR2” in order from the parent plug. In this case, the addresses of the child plugs are set in order of the route from the management device 100 to the plug device that requests connection.

図13(B)は、接続応答電文312を示す図である。接続応答電文312は、管理装置100から所定のプラグ装置への接続要求電文311に対し、接続されたか否かを示す電文である。接続応答電文312は、応答種別、および接続結果の項目を有する。   FIG. 13B shows a connection response message 312. The connection response message 312 is a message indicating whether or not a connection request message 311 from the management device 100 to a predetermined plug device is connected. The connection response message 312 has items of response type and connection result.

応答種別の項目には、プラグ装置が管理装置100に応答する電文の種別を示す情報が設定される。例えば、接続応答電文312の場合、応答種別の項目には、”接続応答”を示す情報が設定される。   In the response type item, information indicating the type of message that the plug device responds to the management device 100 is set. For example, in the case of the connection response message 312, information indicating “connection response” is set in the response type item.

接続結果の項目には、管理装置100による接続要求に対する接続結果が設定される。例えば、接続に成功した場合、接続結果の項目には、”成功”を示す情報が設定される。また、接続に失敗した場合、接続結果の項目には、”失敗”を示す情報が設定される。   In the connection result item, a connection result for the connection request by the management apparatus 100 is set. For example, when the connection is successful, information indicating “success” is set in the connection result item. When the connection fails, information indicating “failure” is set in the connection result item.

図13(C)は、切断要求電文321を示す図である。切断要求電文321は、管理装置100と接続された子プラグとの切断を要求する電文である。切断要求電文321は、要求種別、切断BD_ADDRの項目を有する。   FIG. 13C is a diagram showing a disconnection request message 321. The disconnect request message 321 is a message requesting disconnection from the child plug connected to the management apparatus 100. The disconnect request message 321 has items of request type and disconnect BD_ADDR.

要求種別の項目には、管理装置100がプラグ装置に要求する電文の種別を示す情報が設定される。例えば、切断要求電文321の場合、要求種別の項目には、”切断要求”を示す情報が設定される。切断BD_ADDRの項目には、管理装置100が切断を要求するプラグ装置のアドレスが設定される。   Information indicating the type of message requested by the management apparatus 100 to the plug apparatus is set in the request type item. For example, in the case of the disconnect request message 321, information indicating “disconnect request” is set in the request type item. In the item of disconnection BD_ADDR, the address of the plug device for which the management device 100 requests disconnection is set.

図13(D)は、切断応答電文322を示す図である。切断応答電文322は、管理装置100から所定のプラグ装置への切断要求電文321に対し、切断されたか否かを示す電文である。切断応答電文322は、応答種別、および切断結果の項目を有する。   FIG. 13D is a diagram showing a disconnect response message 322. The disconnect response message 322 is a message indicating whether or not the disconnect request message 321 from the management device 100 to the predetermined plug device is disconnected. The disconnect response message 322 has items of response type and disconnect result.

応答種別の項目には、プラグ装置が管理装置100に応答する電文の種別を示す情報が設定される。例えば、切断応答電文322の場合、応答種別の項目には、”切断応答”を示す情報が設定される。   In the response type item, information indicating the type of message that the plug device responds to the management device 100 is set. For example, in the case of the disconnection response message 322, information indicating “disconnection response” is set in the response type item.

切断結果の項目には、管理装置100による切断要求に対する切断結果が設定される。例えば、切断に成功した場合、切断結果の項目には、”成功”を示す情報が設定される。また、切断に失敗した場合、切断結果の項目には、”失敗”を示す情報が設定される。   In the item of disconnection result, a disconnection result for the disconnection request by the management apparatus 100 is set. For example, when the disconnection is successful, information indicating “success” is set in the disconnection result item. When disconnection fails, information indicating “failure” is set in the disconnection result item.

このように、管理装置100が子プラグを接続する際、配置されたプラグ装置を制御するために、接続要求電文311および接続応答電文312が用いられる。また、管理装置100が子プラグを切断する際、配置されたプラグ装置を制御するために、切断要求電文321および切断応答電文322が用いられる。   As described above, when the management apparatus 100 connects the child plugs, the connection request message 311 and the connection response message 312 are used to control the arranged plug devices. Further, when the management device 100 disconnects the child plug, the disconnect request message 321 and the disconnect response message 322 are used to control the arranged plug device.

図14は、第2の実施の形態の初期設定用の電文の例を示す図である。図14(A)は、初期設定要求電文331を示す図である。初期設定要求電文331は、管理装置100が子プラグへの初期設定を要求する電文である。初期設定要求電文331は、要求種別、処理要求先BD_ADDRおよびパラメータの項目を有する。   FIG. 14 is a diagram illustrating an example of an initial setting message according to the second embodiment. FIG. 14A shows an initial setting request message 331. The initial setting request message 331 is a message for requesting the initial setting to the child plug by the management apparatus 100. The initial setting request message 331 has items of request type, processing request destination BD_ADDR, and parameters.

要求種別の項目には、管理装置100がプラグ装置に要求する電文の種別を示す情報が設定される。例えば、初期設定要求電文331の場合、要求種別の項目には、”初期設定要求”を示す情報が設定される。処理要求先BD_ADDRの項目には、管理装置100が初期設定するプラグ装置のアドレスが設定される。   Information indicating the type of message requested by the management apparatus 100 to the plug apparatus is set in the request type item. For example, in the case of the initial setting request message 331, information indicating “initial setting request” is set in the item of request type. In the item of processing request destination BD_ADDR, the address of the plug device initially set by the management device 100 is set.

パラメータの項目には、管理装置100がプラグ装置に初期設定する値が設定される。初期設定する値は、例えば、管理装置100とプラグ装置の時刻を一致させるために現在時刻が設定される場合がある。計測する物理量に対する補正値などを初期設定してもよい。例えば、制御データ111には、温度や湿度などの補正値を登録し得る。これらの情報を各プラグ装置に対して指定して、物理量の計測値を補正させてもよい。   In the parameter item, a value that is initially set in the plug device by the management device 100 is set. As the value to be initialized, for example, the current time may be set in order to match the time of the management device 100 and the plug device. A correction value or the like for the physical quantity to be measured may be initially set. For example, correction values such as temperature and humidity can be registered in the control data 111. These pieces of information may be designated for each plug device to correct the measured value of the physical quantity.

図14(B)は、初期設定応答電文332を示す図である。初期設定応答電文332は、管理装置100から所定のプラグ装置への初期設定要求電文331に対し、初期設定されたことを示す電文である。初期設定応答電文332は、応答種別、および応答内容の項目を有する。   FIG. 14B is a diagram showing an initial setting response message 332. The initial setting response message 332 is a message indicating that the initial setting request message 331 from the management device 100 to the predetermined plug device is initially set. The initial response message 332 has items of response type and response content.

応答種別の項目には、プラグ装置が管理装置100に応答する電文の種別を示す情報が設定される。例えば、初期設定応答電文332の場合、応答種別の項目には、”初期設定応答”を示す情報が設定される。応答内容の項目には、プラグ装置が管理装置100による初期設定要求に対する初期設定が完了したことを示す情報が設定される。   In the response type item, information indicating the type of message that the plug device responds to the management device 100 is set. For example, in the case of the initial setting response message 332, information indicating “initial setting response” is set in the response type item. In the response content item, information indicating that the initial setting for the initial setting request by the management apparatus 100 is completed by the plug apparatus is set.

図14(C)は、データ提供要求電文341を示す図である。データ提供要求電文341は、管理装置100が所定の子プラグにセンサデータの提供を要求する電文である。データ提供要求電文341は、要求種別、処理要求先BD_ADDRおよびパラメータの項目を有する。   FIG. 14C is a diagram showing a data provision request message 341. The data provision request message 341 is a message that the management device 100 requests the predetermined child plug to provide sensor data. The data provision request message 341 includes items of request type, processing request destination BD_ADDR, and parameters.

要求種別の項目には、管理装置100がプラグ装置に要求する電文の種別を示す情報が設定される。例えば、データ提供要求電文341の場合、要求種別の項目には、”データ提供要求”を示す情報が設定される。処理要求先BD_ADDRの項目には、管理装置100がセンサデータの提供を要求するプラグ装置のアドレスが設定される。   Information indicating the type of message requested by the management apparatus 100 to the plug apparatus is set in the request type item. For example, in the case of the data provision request message 341, information indicating “data provision request” is set in the item of request type. In the processing request destination BD_ADDR item, the address of the plug device for which the management device 100 requests provision of sensor data is set.

パラメータの項目には、管理装置100がプラグ装置に提供を要求する1またはそれ以上のセンサデータの種別が設定される。例えば、プラグ装置に接続される電気機器の消費電力の提供を要求する場合、パラメータの項目には、”消費電力”を示す情報が含まれる。プラグ装置の周辺の温度の提供を要求する場合、パラメータの項目には、”温度”を示す情報が含まれる。また、プラグ装置の周辺の湿度の提供を要求する場合、パラメータの項目には、”湿度”を示す情報が含まれる。なお、パラメータの項目に、プラグ装置の周辺の照度など、上記以外のセンサデータの種別を示す情報が含まれていてもよい。   In the parameter item, one or more types of sensor data that the management device 100 requests the plug device to provide are set. For example, when requesting the provision of power consumption of an electrical device connected to the plug device, the parameter item includes information indicating “power consumption”. When requesting the provision of the temperature around the plug device, the parameter item includes information indicating “temperature”. When requesting the provision of humidity around the plug device, the parameter item includes information indicating “humidity”. The parameter item may include information indicating the type of sensor data other than the above, such as the illuminance around the plug device.

図14(D)は、データ提供応答電文342を示す図である。データ提供応答電文342は、データ提供要求電文341の要求に応じて、プラグ装置が計測したセンサデータを応答する電文である。データ提供応答電文342は、応答種別、および応答内容の項目を有する。   FIG. 14D shows a data provision response message 342. The data provision response message 342 is a message that responds to sensor data measured by the plug device in response to a request from the data provision request message 341. The data provision response message 342 has items of response type and response content.

応答種別の項目には、プラグ装置が管理装置100に応答する電文の種別を示す情報が設定される。例えば、データ提供応答電文342の場合、応答種別の項目には、”データ提供応答”を示す情報が設定される。   In the response type item, information indicating the type of message that the plug device responds to the management device 100 is set. For example, in the case of the data provision response message 342, information indicating “data provision response” is set in the response type item.

応答内容の項目には、データ提供要求電文341のパラメータに指定されたセンサデータの種別ごとにプラグ装置が計測したセンサデータおよびこれらのセンサデータの計測日時を示す情報が設定される。例えば、図14(D)におけるデータ提供応答電文342の応答内容” 2012/9/1 14:00, 3W, 25℃, 49%”は、センサデータの計測日時が” 2012/9/1 14:00”、計測した消費電力が”3W”、計測した温度が”25℃”および計測した湿度が”49%”であることを示す情報である。   In the response content item, sensor data measured by the plug device for each type of sensor data specified in the parameter of the data provision request message 341 and information indicating the measurement date and time of these sensor data are set. For example, the response content “2012/9/1 14:00, 3W, 25 ° C., 49%” of the data provision response message 342 in FIG. 14D indicates that the sensor data measurement date is “2012/9/1 14: This is information indicating that the measured power consumption is “3 W”, the measured temperature is “25 ° C.”, and the measured humidity is “49%”.

このように、管理装置100が子プラグにデータを初期設定する際、初期設定要求電文331および初期設定応答電文332が用いられる。また、管理装置100が子プラグからセンサデータの提供を要求する際、データ提供要求電文341およびデータ提供応答電文342が用いられる。   Thus, when the management apparatus 100 initializes data in the child plug, the initial setting request message 331 and the initial setting response message 332 are used. Further, when the management apparatus 100 requests provision of sensor data from the child plug, a data provision request message 341 and a data provision response message 342 are used.

以上の説明では、各電文名に符号を付し、各項目の具体的な設定値を例示した。以下の説明では、各電文名に符号を付して引用するが、各電文の具体的な設定値は上記の例とは必ずしも同一でない点に注意されたい。   In the above description, each message name is given a symbol, and specific setting values of each item are exemplified. In the following description, each message name is quoted with a reference numeral, but it should be noted that the specific setting value of each message is not necessarily the same as the above example.

図15は、第2の実施の形態の処理例を示すフローチャートである。以下、図15に示す処理をステップ番号に沿って説明する。
(ステップS11)制御部120は、センサデータを収集する各プラグ装置に関する情報を制御データ111へ格納する(プラグの登録)。このとき、親プラグのリンク管理テーブル212には、管理装置100との無線リンクに関するレコードが登録される。その後、登録された各プラグ装置は、ユーザにより所定の位置に配置される。この際、各プラグ装置は、図2で説明した位置に配置されたものとする。
FIG. 15 is a flowchart illustrating an example of processing according to the second embodiment. In the following, the process illustrated in FIG. 15 will be described in order of step number.
(Step S11) The control unit 120 stores information on each plug device that collects sensor data in the control data 111 (plug registration). At this time, a record relating to a radio link with the management apparatus 100 is registered in the link management table 212 of the parent plug. Thereafter, each registered plug device is arranged at a predetermined position by the user. At this time, each plug device is assumed to be arranged at the position described with reference to FIG.

(ステップS12)制御部120は、親プラグと無線リンクを確立することで接続する。以後、管理装置100と親プラグは無線リンクが確立された状態となる。
(ステップS13)制御部120は、親プラグを制御することで無線リンクの確立が可能な子プラグを検索する。詳細は後述する。
(Step S12) The control unit 120 establishes a connection with the parent plug by establishing a wireless link. Thereafter, the management apparatus 100 and the parent plug are in a state where a wireless link is established.
(Step S13) The control unit 120 searches for a child plug capable of establishing a wireless link by controlling the parent plug. Details will be described later.

(ステップS14)制御部120は、ステップS11で登録されたプラグ装置において、未検出である子プラグが存在するか判定する。未検出である子プラグは、制御データにおけるプラグ装置が検出の有無を示す情報(タグ<available>)が”false”であるか否かにより判断する。未検出である子プラグが存在する場合、処理をステップS15へ進める。未検出である子プラグが存在しない場合、処理をステップS16へ進める。   (Step S14) The control unit 120 determines whether there is an undetected child plug in the plug device registered in step S11. The undetected child plug is determined based on whether or not the information (tag <available>) indicating whether or not the plug device in the control data is detected is “false”. If there is an undetected child plug, the process proceeds to step S15. If there is no undetected child plug, the process proceeds to step S16.

(ステップS15)制御部120は、子プラグを制御することで、子プラグを検索する。詳細は後述する。
(ステップS16)制御部120は、検索された各プラグ装置に対して初期設定するよう要求する。詳細は後述する。
(Step S15) The control unit 120 searches for a child plug by controlling the child plug. Details will be described later.
(Step S16) The control unit 120 requests the searched plug devices to make initial settings. Details will be described later.

(ステップS17)制御部120は、検索された各プラグ装置に対して計測したセンサデータを提供するよう要求する。ステップS17は、ステップS16の後に定期または不定期に実行される。   (Step S <b> 17) The control unit 120 requests each searched plug device to provide measured sensor data. Step S17 is executed regularly or irregularly after step S16.

このようにして、管理装置100は、所定の位置に配置された各プラグ装置からセンサデータを収集する。
なお、制御部120は、ステップS16で各プラグ装置に対する初期設定を実行する代わりに、ステップS11における各プラグ装置の登録時にプラグ装置を初期設定してもよい。この場合、プラグ装置は設定した時刻を保持するための電源を有する。
In this way, the management device 100 collects sensor data from each plug device arranged at a predetermined position.
Note that the control unit 120 may initialize the plug device at the time of registration of each plug device in step S11 instead of executing the initial setting for each plug device in step S16. In this case, the plug device has a power source for holding the set time.

また、制御部120は、親プラグを予め制御データ111に登録してもよいし、ステップS11とステップS12の間で親プラグを検索する処理を実行してもよい。
更に、ステップS17において、データ収集の指示は管理アプリ130により制御部120に与えられる。例えば、ユーザは、管理アプリ130に対してデータ収集の周期を指定できる。次に、ステップS11の処理を具体的に説明する。
Further, the control unit 120 may register the parent plug in the control data 111 in advance, or may execute a process for searching for the parent plug between step S11 and step S12.
Further, in step S <b> 17, a data collection instruction is given to the control unit 120 by the management application 130. For example, the user can specify a data collection cycle for the management application 130. Next, the process of step S11 will be specifically described.

図16は、第2の実施の形態のプラグ登録例を示すシーケンスである。以下、図16に示す処理をステップ番号に沿って説明する。各プラグ装置は、登録前に、管理装置100と無線リンクの確立が可能な位置に配置されているものとする。   FIG. 16 is a sequence illustrating an example of plug registration according to the second embodiment. In the following, the process illustrated in FIG. 16 will be described in order of step number. Each plug device is assumed to be arranged at a position where a wireless link can be established with the management device 100 before registration.

(ステップST101)管理装置100は、周囲に(無線リンクの確立が可能な範囲内に)応答の要求を送信することで、プラグ装置を検索する。プラグ装置200は、管理装置100から応答の要求を受信する。   (Step ST101) The management device 100 searches for a plug device by transmitting a response request to the surroundings (within a range in which a wireless link can be established). The plug device 200 receives a response request from the management device 100.

(ステップST102)プラグ装置200は、管理装置100の要求に対して応答する。管理装置100は、プラグ装置200から応答を受信する。
(ステップST103)管理装置100は、応答を受け付けたプラグ装置200とペアリングを行う。その中で、管理装置100は、初期登録の情報(BD_NAMEやセンサモードの指定など)をプラグ装置200に送信する。プラグ装置200は、管理装置100から初期登録の情報を受信する。プラグ装置200は、プラグデータ211に、管理装置100から指定されたBD_NAME(例えば、”F−PLUG_A”)やセンサモード(例えば、”1時間”)を登録する。プラグ装置200は、管理装置100が初期登録に必要なプラグ装置200に関する情報を含む情報を初期登録の応答として送信する。管理装置100は、プラグ装置200から初期登録の応答を受信する。そして、管理装置100は、受信した応答に基づいて、プラグ装置200に関する情報を制御データ111に登録する。
(Step ST102) The plug device 200 responds to the request from the management device 100. The management device 100 receives a response from the plug device 200.
(Step ST103) The management device 100 performs pairing with the plug device 200 that has received the response. Among them, the management apparatus 100 transmits initial registration information (such as BD_NAME and sensor mode designation) to the plug apparatus 200. The plug device 200 receives the initial registration information from the management device 100. The plug device 200 registers the BD_NAME (for example, “F-PLUG_A”) and the sensor mode (for example, “1 hour”) designated by the management device 100 in the plug data 211. The plug device 200 transmits information including information related to the plug device 200 necessary for the initial registration by the management device 100 as a response to the initial registration. The management device 100 receives the initial registration response from the plug device 200. Then, the management device 100 registers information related to the plug device 200 in the control data 111 based on the received response.

このようにして、管理装置100は、プラグ装置200を初期登録する。他のプラグ装置の初期登録についても、上記と同様のシーケンスにより行われる。なお、ステップST103では、ユーザによる操作を課してもよい。例えば、プラグ装置200に管理装置100とのペアリングを行うためのボタンを設けておき、管理装置100からペアリングの要求を受け付けたタイミングで当該ボタンが押下されたときにのみ、ペアリングが実行されるようにしてもよい。プラグ装置200には管理装置100からペアリングの要求を受け付けていることを示すLED(Light Emitting Diode)を設けてもよい。ユーザが当該要求を受け付けていることを視認できるようにするためである。   In this way, the management apparatus 100 performs initial registration of the plug apparatus 200. The initial registration of other plug devices is performed in the same sequence as described above. In step ST103, a user operation may be imposed. For example, a button for performing pairing with the management device 100 is provided in the plug device 200, and pairing is executed only when the button is pressed at the timing when a pairing request is received from the management device 100. You may be made to do. The plug device 200 may be provided with an LED (Light Emitting Diode) indicating that a pairing request is received from the management device 100. This is so that the user can visually recognize that the request has been accepted.

次に、図15のステップS13の処理を説明する。
図17は、第2の実施の形態の親プラグによる検索例を示すフローチャートである。以下、図17に示す処理をステップ番号に沿って説明する。
Next, the process of step S13 in FIG. 15 will be described.
FIG. 17 is a flowchart illustrating an example of search by the parent plug according to the second embodiment. In the following, the process illustrated in FIG. 17 will be described in order of step number.

(ステップS21)制御部120は、制御データ111を参照して、検索を要求する親プラグを1つ選択する。
(ステップS22)制御部120は、選択した親プラグに検索要求電文301を送信する。
(Step S <b> 21) The control unit 120 refers to the control data 111 and selects one parent plug that requests search.
(Step S22) The control unit 120 transmits the search request message 301 to the selected parent plug.

(ステップS23)制御部120は、検索要求電文301を送信した親プラグから、検索応答電文302を受信する。このとき、制御部120は、検索応答電文302に含まれる検索されたプラグ装置の情報から、プラグ名が管理装置100により指定されたプラグ名(”F−PLUG_A”)以外であるものを破棄する。第2の実施の形態の情報処理システムとは無関係な他のBluetooth機器を排除するためである。   (Step S23) The control unit 120 receives the search response message 302 from the parent plug that has transmitted the search request message 301. At this time, the control unit 120 discards the plug device information included in the search response message 302 that has a plug name other than the plug name (“F-PLUG_A”) specified by the management device 100. . This is to eliminate other Bluetooth devices that are unrelated to the information processing system of the second embodiment.

(ステップS24)制御部120は、検索応答電文302に含まれる情報に基づいて、検索された未検出である子プラグの経路情報を更新する。具体的には、制御部120は、検索応答電文302に含まれる子プラグのアドレスに基づいて、制御データ111から対応するプラグ装置に関する情報(タグ<Plug>)を特定する。そして、制御部120は、検索応答電文302に含まれる子プラグへ至るまでに中継したプラグ装置のアドレスを基に、経路情報を設定するためのプラグ番号(タグ<Plug No>)を特定する。そして、特定したプラグ番号を、特定したプラグ装置の経路情報(制御データ111のタグ<routing>)に設定する。また、制御部120は、検索された未検出である子プラグの検索の有無を示す情報(タグ<available>)を”true”に更新する。制御部120は、当該子プラグの親プラグか否かを示す情報(タグ<parent>)を”false”に更新する。   (Step S <b> 24) Based on the information included in the search response message 302, the control unit 120 updates the path information of the searched undetected child plug. Specifically, based on the address of the child plug included in the search response message 302, the control unit 120 specifies information (tag <Plug>) regarding the corresponding plug device from the control data 111. Then, the control unit 120 specifies a plug number (tag <Plug No>) for setting route information based on the address of the plug device relayed up to the child plug included in the search response message 302. Then, the specified plug number is set in the path information of the specified plug device (tag <routing> in the control data 111). In addition, the control unit 120 updates the information (tag <available>) indicating whether or not the searched undetected child plug is searched to “true”. The control unit 120 updates the information (tag <parent>) indicating whether or not it is the parent plug of the child plug to “false”.

(ステップS25)制御部120は、ステップS14と同様に、ステップS11で登録されたプラグ装置において、未検出である子プラグが存在するか判定する。未検出である子プラグが存在する場合、処理をステップS26へ進める。検索されていない子プラグが存在しない場合、処理を終了する。   (Step S25) As in step S14, the control unit 120 determines whether there is an undetected child plug in the plug device registered in step S11. If there is an undetected child plug, the process proceeds to step S26. If there is no child plug that has not been searched, the process ends.

(ステップS26)制御部120は、全ての親プラグに検索要求済か判定する。全ての親プラグに検索要求済の場合、処理を終了する。検索要求済でない親プラグが存在する場合、処理をステップS21へ進める。   (Step S <b> 26) The control unit 120 determines whether search requests have been issued to all parent plugs. If all parent plugs have been requested to be searched, the process ends. If there is a parent plug that has not been requested for search, the process proceeds to step S21.

ステップS24で説明したように、制御部120は、既に何れかのプラグ装置の配下に登録済である子プラグ(検出済の子プラグ)については、制御データ111に対して重複した登録を行わない。すなわち、各子プラグは先着順で何れかのプラグ装置の配下に設定されることになる。   As described in step S <b> 24, the control unit 120 does not perform redundant registration in the control data 111 for the child plugs that have already been registered under any of the plug devices (detected child plugs). . That is, each child plug is set under one of the plug devices in the order of arrival.

ステップS24において、制御部120は次のようにして経路情報を生成してもよい。具体的には、各プラグ装置は、検索された子プラグの電波強度を示す情報を検索応答に含めてもよい。制御部120は、当該電波強度に基づいて、各子プラグをどのプラグ装置の配下とするかを決定してもよい。例えば、ある子プラグがステップS24の方法で経路の末端にのみ登録されている場合、別のプラグ装置により、当該子プラグがより強い電波強度で検索されることが考えられる。この場合、制御部120は、当該子プラグが、新たに検索した当該別のプラグ装置の配下になるように経路情報を変更する。このようにすれば、より通信品質の良好な経路の選択が可能となる。   In step S24, the control unit 120 may generate route information as follows. Specifically, each plug device may include information indicating the radio field intensity of the searched child plug in the search response. The control unit 120 may determine which plug device is subordinate to each child plug based on the radio wave intensity. For example, when a certain child plug is registered only at the end of the path by the method of step S24, it is conceivable that the child plug is searched with a stronger radio wave intensity by another plug device. In this case, the control unit 120 changes the route information so that the child plug is under the newly searched other plug device. In this way, a route with better communication quality can be selected.

図18は、第2の実施の形態の親プラグによる検索例を示すシーケンスである。以下、図18に示す処理をステップ番号に沿って説明する。
(ステップST111)管理装置100は、親プラグであるプラグ装置200に検索要求電文301を送信する。プラグ装置200は、管理装置100から検索要求電文301を受信する。
FIG. 18 is a sequence illustrating an example of search by the parent plug according to the second embodiment. In the following, the process illustrated in FIG. 18 will be described in order of step number.
(Step ST111) The management device 100 transmits a search request message 301 to the plug device 200 that is the parent plug. The plug device 200 receives the search request message 301 from the management device 100.

(ステップST112)プラグ装置200は、子プラグであるプラグ装置200aを検出する。
(ステップST113)プラグ装置200は、子プラグであるプラグ装置200cを検出する。
(Step ST112) The plug device 200 detects the plug device 200a which is a child plug.
(Step ST113) The plug device 200 detects the plug device 200c which is a child plug.

(ステップST114)プラグ装置200は、管理装置100に検索したプラグ装置200a,200cのアドレスを含む検索応答電文302を送信する。管理装置100は、プラグ装置200から検索応答電文302を受信する。   (Step ST114) The plug device 200 transmits a search response message 302 including the addresses of the searched plug devices 200a and 200c to the management device 100. The management device 100 receives the search response message 302 from the plug device 200.

(ステップST115)管理装置100は、親プラグであるプラグ装置200dに検索要求電文301を送信する。プラグ装置200dは、管理装置100から検索要求電文301を受信する。   (Step ST115) The management device 100 transmits a search request message 301 to the plug device 200d that is the parent plug. The plug device 200d receives the search request message 301 from the management device 100.

(ステップST116)プラグ装置200dは、子プラグであるプラグ装置200eを検出する。
(ステップST117)プラグ装置200dは、子プラグであるプラグ装置200fを検出する。
(Step ST116) The plug device 200d detects the plug device 200e which is a child plug.
(Step ST117) The plug device 200d detects the plug device 200f that is a child plug.

(ステップST118)プラグ装置200dは、管理装置100に検索したプラグ装置200e,200fのアドレスを含む検索応答電文302を送信する。管理装置100は、プラグ装置200から検索応答電文302を受信する。   (Step ST118) The plug device 200d transmits a search response message 302 including the searched addresses of the plug devices 200e and 200f to the management device 100. The management device 100 receives the search response message 302 from the plug device 200.

図17〜図18で示すとおり、制御部120は、親プラグと検索要求電文301および検索応答電文302を送受信することで、子プラグを検索する。そして、制御部120は、検索応答電文302に含まれる情報に基づき、制御データ111における検索された子プラグの情報を更新する。   As illustrated in FIGS. 17 to 18, the control unit 120 searches for a child plug by transmitting / receiving a search request message 301 and a search response message 302 to / from a parent plug. Then, the control unit 120 updates the searched child plug information in the control data 111 based on the information included in the search response message 302.

また、ステップST112,ST113,ST116,ST117では、プラグ装置200,200dは検索要求で指定された回数だけ周囲の他のプラグ装置の検索を試みる。
次に、図15のステップS15の処理を説明する。
In steps ST112, ST113, ST116, and ST117, the plug devices 200 and 200d try to search other surrounding plug devices for the number of times specified by the search request.
Next, the process of step S15 in FIG. 15 will be described.

図19は、第2の実施の形態の子プラグによる検索例を示すフローチャートである。以下、図19に示す処理をステップ番号に沿って説明する。
(ステップS31)制御部120は、制御データ111を参照して、検索を要求する子プラグを1つ選択する。
FIG. 19 is a flowchart illustrating an example of search by a child plug according to the second embodiment. In the following, the process illustrated in FIG. 19 will be described in order of step number.
(Step S31) The control unit 120 refers to the control data 111 and selects one child plug that requests the search.

(ステップS32)制御部120は、選択した子プラグを要求先として接続要求電文311を親プラグに送信することで、選択した子プラグと親プラグを介して接続する。
管理装置100から選択した子プラグへ至るまでの通信経路に含まれる親プラグは、接続要求電文311を受信したら、まず、接続要求電文311の宛先を接続経路BD_ADDR1に更新する。次に、当該親プラグは、接続経路BD_ADDRに設定されている各アドレスを左シフトさせる。
(Step S32) The control unit 120 connects to the selected child plug via the parent plug by transmitting the connection request message 311 to the parent plug using the selected child plug as the request destination.
When the parent plug included in the communication path from the management apparatus 100 to the selected child plug receives the connection request message 311, the parent plug first updates the destination of the connection request message 311 to the connection path BD_ADDR1. Next, the parent plug shifts each address set in the connection path BD_ADDR to the left.

例えば、接続経路BD_ADDR1=”0x000000000001”、接続経路BD_ADDR2=”0x000000000002”、接続経路BD_ADDR3=”0x000000000003”が設定された接続要求電文311を親プラグが受信したとする。このとき、当該親プラグは、接続要求電文311の宛先を”0x000000000001”に更新する。次に、当該親プラグは、接続経路BD_ADDR1=”0x000000000002”、接続経路BD_ADDR2=”0x000000000003”となるようにシフトさせる(以下、この処理を”シフト”ということがある)。このとき、親プラグは、接続経路BD_ADDR3(空き状態となったフィールド)に空文字を示す情報(例えば、0x000000000000)を設定してもよい。このようにすれば、接続要求電文311を受信した各プラグは、当該電文の先頭に設定されたBD_ADDR1を、自身との無線リンクの確立先として効率的に認識できる。   For example, it is assumed that the parent plug receives the connection request message 311 in which the connection route BD_ADDR1 = "0x000000000001", the connection route BD_ADDR2 = "0x000000000002", and the connection route BD_ADDR3 = "0x000000000003" is set. At this time, the parent plug updates the destination of the connection request message 311 to “0x000000000001”. Next, the parent plug shifts so that the connection route BD_ADDR1 = "0x000000000002" and the connection route BD_ADDR2 = "0x000000000003" (hereinafter, this process may be referred to as "shift"). At this time, the parent plug may set information (for example, 0x000000000000) indicating an empty character in the connection path BD_ADDR3 (a field in the empty state). In this way, each plug that has received the connection request message 311 can efficiently recognize BD_ADDR1 set at the head of the message as the establishment destination of the wireless link with itself.

次に、親プラグは、更新後の接続経路BD_ADDR1に設定されたアドレスに対応する子プラグと無線リンクを確立する。そして、親プラグは、更新後の接続要求電文311を、無線リンクを確立した子プラグに転送する。以降、接続要求電文311を転送された子プラグでも同様の処理が繰り返される。   Next, the parent plug establishes a radio link with the child plug corresponding to the address set in the updated connection path BD_ADDR1. Then, the parent plug transfers the updated connection request message 311 to the child plug that has established the wireless link. Thereafter, the same processing is repeated for the child plug to which the connection request message 311 is transferred.

(ステップS33)制御部120は、接続された子プラグに検索要求電文301を送信する。
(ステップS34)制御部120は、接続された子プラグから検索応答電文302を受信する。このとき、制御部120は、検索応答電文302に含まれる検索されたプラグ装置の情報から、プラグ名が管理装置100により指定されたプラグ名(”F−PLUG_A”)以外であるものを破棄する。第2の実施の形態の情報処理システムとは無関係な他のBluetooth機器を排除するためである。
(Step S33) The control unit 120 transmits the search request message 301 to the connected child plug.
(Step S34) The control unit 120 receives the search response message 302 from the connected child plug. At this time, the control unit 120 discards the plug device information included in the search response message 302 that has a plug name other than the plug name (“F-PLUG_A”) specified by the management device 100. . This is to eliminate other Bluetooth devices that are unrelated to the information processing system of the second embodiment.

(ステップS35)制御部120は、ステップS24と同様に、検索応答電文302に含まれる情報に基づいて、検索された子プラグの経路情報を制御データ111に登録する。その方法はステップS24と同様である。また、ステップS24と同様に、既に何れかのプラグ装置の配下に登録済である子プラグ(検出済の子プラグ)については、重複した登録を行わない。すなわち、各子プラグは先着順で何れかのプラグ装置の配下に設定されることになる。   (Step S <b> 35) As in step S <b> 24, the control unit 120 registers the searched child plug route information in the control data 111 based on the information included in the search response message 302. The method is the same as step S24. Similarly to step S24, duplicate registration is not performed for child plugs that have already been registered under any of the plug devices (detected child plugs). That is, each child plug is set under one of the plug devices in the order of arrival.

(ステップS36)制御部120は、切断要求電文321を選択した子プラグに送信する。各プラグ装置は、当該子プラグへ切断要求電文321を転送し、当該子プラグから順番に親プラグまでの無線リンクをリレー式に切断していく。これにより、管理装置100から選択した子プラグへ至るまでに確立された各無線リンクが切断される。   (Step S36) The control unit 120 transmits the disconnection request message 321 to the selected child plug. Each plug device transfers a disconnection request message 321 to the child plug, and sequentially disconnects the radio link from the child plug to the parent plug in a relay manner. Thereby, each wireless link established from the management apparatus 100 to the selected child plug is disconnected.

(ステップS37)制御部120は、ステップS14と同様に、ステップS11で登録されたプラグ装置において、未検出である子プラグが存在するか判定する。未検出である子プラグが存在する場合、処理をステップS38へ進める。未検出である子プラグが存在しない場合、処理を終了する。   (Step S37) As in step S14, the control unit 120 determines whether there is an undetected child plug in the plug device registered in step S11. If there is an undetected child plug, the process proceeds to step S38. If there is no undetected child plug, the process ends.

(ステップS38)制御部120は、全ての子プラグに検索を要求したか判定する。全ての子プラグに検索を要求した場合、処理を終了する。全ての子プラグに検索を要求していない場合、処理をステップS31へ進める。   (Step S <b> 38) The control unit 120 determines whether search is requested for all the child plugs. When the search is requested to all the child plugs, the process is terminated. If no search is requested for all the child plugs, the process proceeds to step S31.

なお、ステップS36では、切断応答電文322を受信したプラグ装置は、ペアリングを解除せずに切断してもよいし、ペアリングの解除(リンク管理テーブル212の設定レコードの削除)まで行ってもよい。ペアリングを解除しなければ、再度無線リンクを確立する場合に、リンク管理テーブル212の情報を用いて簡易な処理で認証を行い、無線リンクを確立できる。   In step S36, the plug device that has received the disconnection response message 322 may disconnect without canceling the pairing, or even cancel the pairing (delete the setting record of the link management table 212). Good. If pairing is not canceled, when establishing a wireless link again, authentication can be performed by simple processing using information in the link management table 212 to establish a wireless link.

図20は、第2の実施の形態の子プラグによる検索例を示すシーケンスである。以下、図20に示す処理をステップ番号に沿って説明する。図20において、プラグ装置200は、管理装置100とプラグ装置200aとの無線通信を中継する。この場合において、管理装置100がプラグ装置200aに子プラグの検索を要求するときのシーケンスについて説明する。   FIG. 20 is a sequence illustrating an example of search by a child plug according to the second embodiment. In the following, the process illustrated in FIG. 20 will be described along with step numbers. In FIG. 20, the plug device 200 relays wireless communication between the management device 100 and the plug device 200a. In this case, a sequence when the management apparatus 100 requests the plug apparatus 200a to search for a child plug will be described.

(ステップST121)管理装置100は、プラグ装置200aを接続先とした接続要求電文311をプラグ装置200に送信する。プラグ装置200は、管理装置100から接続要求電文311を受信する。   (Step ST121) The management apparatus 100 transmits a connection request message 311 with the plug apparatus 200a as a connection destination to the plug apparatus 200. The plug device 200 receives the connection request message 311 from the management device 100.

(ステップST122)プラグ装置200は、プラグ装置200aとペアリングすることで、無線リンクを確立する。
(ステップST123)プラグ装置200は、接続応答電文312を管理装置100に送信する。管理装置100は、プラグ装置200から接続応答電文312を受信する。
(Step ST122) The plug device 200 establishes a wireless link by pairing with the plug device 200a.
(Step ST123) The plug device 200 transmits a connection response message 312 to the management device 100. The management device 100 receives the connection response message 312 from the plug device 200.

(ステップST124)管理装置100は、プラグ装置200aを要求先として検索要求電文301をプラグ装置200に送信する。プラグ装置200は、管理装置100からプラグ装置200aを要求先とした検索要求電文301を受信する。   (Step ST124) The management device 100 transmits a search request message 301 to the plug device 200 using the plug device 200a as a request destination. The plug device 200 receives from the management device 100 a search request message 301 with the plug device 200a as a request destination.

(ステップST125)プラグ装置200は、受信側でない無線リンクを用いて、検索要求電文301をプラグ装置200aに転送する。プラグ装置200aは、プラグ装置200から検索要求電文301を受信する。   (Step ST125) The plug device 200 transfers the search request message 301 to the plug device 200a using a wireless link that is not the receiving side. The plug device 200 a receives the search request message 301 from the plug device 200.

(ステップST126)検索の要求先であるプラグ装置200aは、自身と無線リンクの確立が可能なプラグ装置を検索する。その結果、プラグ装置200bを検出する。
(ステップST127)プラグ装置200aは、検出したプラグ装置の情報を含む検索応答電文302をプラグ装置200に送信する。プラグ装置200は、プラグ装置200aから検索応答電文302を受信する。
(Step ST126) The plug device 200a that is a search request destination searches for a plug device that can establish a wireless link with itself. As a result, the plug device 200b is detected.
(Step ST127) The plug device 200a transmits a search response message 302 including information on the detected plug device to the plug device 200. The plug device 200 receives the search response message 302 from the plug device 200a.

(ステップST128)プラグ装置200は、検索応答電文302を受信側でない無線リンクを用いて、管理装置100に転送する。管理装置100は、プラグ装置200から検索応答電文302を受信する。管理装置100は、検索応答電文302に含まれる検出したプラグ装置の情報を基に、制御データ111に経路情報を格納する。   (Step ST128) The plug device 200 transfers the search response message 302 to the management device 100 using a wireless link that is not the receiving side. The management device 100 receives the search response message 302 from the plug device 200. The management device 100 stores the path information in the control data 111 based on the detected plug device information included in the search response message 302.

(ステップST129)管理装置100は、プラグ装置200aを切断先として切断要求電文321をプラグ装置200に送信する。管理装置100からプラグ装置200aを切断先とした切断要求電文321を受信する。   (Step ST129) The management device 100 transmits a disconnection request message 321 to the plug device 200 with the plug device 200a as the disconnection destination. A disconnection request message 321 with the plug device 200a as the disconnection destination is received from the management device 100.

(ステップST130)プラグ装置200は、プラグ装置200aと確立された無線リンクを切断する。
(ステップST131)プラグ装置200は、切断応答電文322を管理装置100に送信する。管理装置100は、プラグ装置200から切断応答電文322を受信する。
(Step ST130) The plug device 200 disconnects the radio link established with the plug device 200a.
(Step ST131) The plug device 200 transmits a disconnection response message 322 to the management device 100. The management device 100 receives the disconnection response message 322 from the plug device 200.

図19〜図20で示すとおり、管理装置100は、確立された無線リンクを用いて接続された子プラグと検索要求電文301および検索応答電文302をリレー式に送受信することで、子プラグを検索する。そして、管理装置100は、検索された子プラグの情報に基づき、制御データ111における経路情報を更新する。また、ステップST126では、プラグ装置200aは検索要求で指定された回数だけ周囲の他のプラグ装置の検索を試みる。   As shown in FIG. 19 to FIG. 20, the management device 100 searches for a child plug by relaying the child plug connected with the established wireless link, the search request message 301 and the search response message 302 in a relay manner. To do. Then, the management apparatus 100 updates the path information in the control data 111 based on the retrieved child plug information. Further, in step ST126, the plug device 200a tries to search for other plug devices around the number of times specified by the search request.

次に、図15のステップS16の処理を説明する。
図21は、第2の実施の形態の初期設定例を示すフローチャートである。以下、図21に示す処理をステップ番号に沿って説明する。
Next, the process of step S16 in FIG. 15 will be described.
FIG. 21 is a flowchart illustrating an initial setting example according to the second embodiment. In the following, the process illustrated in FIG. 21 will be described in order of step number.

(ステップS41)制御部120は、制御データ111を参照し、検索されたプラグ装置からプラグ装置を1つ選択する。
(ステップS42)制御部120は、選択したプラグ装置が子プラグか判定する。プラグ装置が子プラグかは、制御データ111におけるプラグ装置が親プラグか否かを示す情報(タグ<parent>)が”false”であるかにより判断する。選択したプラグ装置が子プラグの場合、処理をステップS43へ進める。選択したプラグ装置が親プラグである場合、処理をステップS44へ進める。
(Step S41) The control unit 120 refers to the control data 111 and selects one plug device from the searched plug devices.
(Step S42) The control unit 120 determines whether the selected plug device is a child plug. Whether the plug device is a child plug is determined based on whether the information (tag <parent>) indicating whether or not the plug device in the control data 111 is a parent plug is “false”. If the selected plug device is a child plug, the process proceeds to step S43. If the selected plug device is a parent plug, the process proceeds to step S44.

(ステップS43)制御部120は、選択した子プラグと親プラグを介して接続する。具体的には、制御部120は、選択した子プラグを接続先とした接続要求電文311を送信する。   (Step S43) The control unit 120 connects to the selected child plug via the parent plug. Specifically, the control unit 120 transmits a connection request message 311 with the selected child plug as a connection destination.

(ステップS44)制御部120は、接続応答電文312を受信後、選択した子プラグを初期設定先とした初期設定要求電文331を送信する。初期設定要求電文331には、選択した子プラグへの初期設定の内容を示す情報が含まれる。   (Step S44) After receiving the connection response message 312, the control unit 120 transmits an initial setting request message 331 with the selected child plug as an initial setting destination. The initial setting request message 331 includes information indicating the contents of the initial setting for the selected child plug.

(ステップS45)制御部120は、選択した子プラグから初期設定応答電文332を受信する。
(ステップS46)制御部120は、ステップS42と同様に、選択したプラグ装置が子プラグか判定する。選択したプラグ装置が子プラグの場合、処理をステップS47へ進める。選択したプラグ装置が親プラグである場合、処理をステップS48へ進める。
(Step S45) The control unit 120 receives the initial setting response message 332 from the selected child plug.
(Step S46) As in step S42, the control unit 120 determines whether the selected plug device is a child plug. If the selected plug device is a child plug, the process proceeds to step S47. If the selected plug device is a parent plug, the process proceeds to step S48.

(ステップS47)制御部120は、ステップS36と同様に、選択した子プラグを切断する。具体的には、制御部120は、選択した子プラグを切断先とした切断要求電文321を送信する。   (Step S47) The control unit 120 cuts the selected child plug as in step S36. Specifically, the control unit 120 transmits a disconnection request message 321 with the selected child plug as the disconnection destination.

(ステップS48)制御部120は、全てのプラグ装置が選択されたか判定する。全てのプラグ装置が選択された場合、処理を終了する。未選択のプラグ装置が存在する場合、処理をステップS41へ進める。   (Step S48) The control unit 120 determines whether all plug devices have been selected. If all plug devices have been selected, the process ends. If there is an unselected plug device, the process proceeds to step S41.

このようにして、管理装置100は、初期設定要求電文331および初期設定応答電文332を各プラグ装置と送受信することで、各プラグ装置に対する初期設定を行う。次に、図15のステップS17の処理を説明する。   In this way, the management device 100 performs initial setting for each plug device by transmitting and receiving the initial setting request message 331 and the initial setting response message 332 to and from each plug device. Next, the process of step S17 in FIG. 15 will be described.

図22は、第2の実施の形態のデータ収集例を示すフローチャートである。以下、図22に示す処理をステップ番号に沿って説明する。前述のように、以下に示すステップS51〜S59の処理は、図15のステップS16の後、所定の周期で定期的に実行されることになる。   FIG. 22 is a flowchart illustrating an example of data collection according to the second embodiment. In the following, the process illustrated in FIG. 22 will be described in order of step number. As described above, the processing of steps S51 to S59 shown below is periodically executed at a predetermined cycle after step S16 of FIG.

(ステップS51)制御部120は、制御データ111を参照して、データ提供の要求先のプラグ装置を1つ選択する。
(ステップS52)制御部120は、ステップS42と同様に、選択したプラグ装置が子プラグか判定する。選択したプラグ装置が子プラグの場合、処理をステップS53へ進める。選択したプラグ装置が親プラグである場合、処理をステップS54へ進める。
(Step S <b> 51) The control unit 120 refers to the control data 111 and selects one plug device as a request destination of data provision.
(Step S52) As in step S42, the control unit 120 determines whether the selected plug device is a child plug. If the selected plug device is a child plug, the process proceeds to step S53. If the selected plug device is a parent plug, the process proceeds to step S54.

(ステップS53)制御部120は、選択した子プラグと親プラグを介して接続する。具体的には、制御部120は、選択した子プラグを接続先とした接続要求電文311を送信する。   (Step S53) The control unit 120 connects to the selected child plug via the parent plug. Specifically, the control unit 120 transmits a connection request message 311 with the selected child plug as a connection destination.

(ステップS54)制御部120は、接続応答電文312を受信後、選択した子プラグをデータ提供先としたデータ提供要求電文341を送信する。データ提供要求電文341には、選択した子プラグに提供を要求するセンサデータの種別を示す情報が含まれる。   (Step S <b> 54) After receiving the connection response message 312, the control unit 120 transmits a data provision request message 341 with the selected child plug as a data provision destination. The data provision request message 341 includes information indicating the type of sensor data requested to be provided to the selected child plug.

(ステップS55)制御部120は、選択した子プラグからデータ提供応答電文342を受信する。データ提供応答電文342には、データ提供要求電文341で指定したセンサデータの種別に対応し、要求先のプラグ装置が計測したセンサデータが含まれる。   (Step S55) The control unit 120 receives the data provision response message 342 from the selected child plug. The data provision response message 342 includes sensor data measured by the requested plug device corresponding to the type of sensor data specified in the data provision request message 341.

(ステップS56)制御部120は、データ提供応答電文342に含まれるセンサデータなどの情報に基づいて生成したレコードを計測値テーブル112に登録する。
(ステップS57)制御部120は、ステップS42と同様に、選択したプラグ装置が子プラグか判定する。選択したプラグ装置が子プラグの場合、処理をステップS58へ進める。選択したプラグ装置が親プラグである場合、処理をステップS59へ進める。
(Step S <b> 56) The control unit 120 registers a record generated based on information such as sensor data included in the data provision response message 342 in the measurement value table 112.
(Step S57) As in step S42, the control unit 120 determines whether the selected plug device is a child plug. If the selected plug device is a child plug, the process proceeds to step S58. If the selected plug device is a parent plug, the process proceeds to step S59.

(ステップS58)制御部120は、ステップS36と同様に、選択した子プラグを切断する。具体的には、制御部120は、選択した子プラグを切断先とした切断要求電文321を送信する。   (Step S58) The control unit 120 cuts the selected child plug in the same manner as in step S36. Specifically, the control unit 120 transmits a disconnection request message 321 with the selected child plug as the disconnection destination.

(ステップS59)制御部120は、全てのプラグ装置が選択されたか判定する。全てのプラグ装置が選択された場合、処理を終了する。未選択のプラグ装置が存在する場合、処理をステップS51へ進める。   (Step S59) The control unit 120 determines whether all plug devices have been selected. If all plug devices have been selected, the process ends. If there is an unselected plug device, the process proceeds to step S51.

なお、ステップS58では、切断応答電文322を受信したプラグ装置は、ペアリングを解除せずに切断してもよいし、ペアリングの解除(リンク管理テーブル212の設定レコードの削除)まで行ってもよい。ペアリングを解除しなければ、再度無線リンクを確立する場合に、リンク管理テーブル212の情報を用いて簡易な処理で認証を行い、無線リンクを確立できる。   In step S58, the plug device that has received the disconnect response message 322 may disconnect without canceling the pairing, or even cancel the pairing (delete the setting record of the link management table 212). Good. If pairing is not canceled, when establishing a wireless link again, authentication can be performed by simple processing using information in the link management table 212 to establish a wireless link.

図23は、第2の実施の形態のデータ収集例(その1)を示すシーケンスである。図23において、プラグ装置200は、管理装置100とプラグ装置200aとの無線通信を中継する。この場合において、管理装置100がプラグ装置200,200aからセンサデータを収集するときのシーケンスについて説明する。   FIG. 23 is a sequence illustrating a data collection example (part 1) according to the second embodiment. In FIG. 23, the plug device 200 relays wireless communication between the management device 100 and the plug device 200a. In this case, a sequence when the management apparatus 100 collects sensor data from the plug apparatuses 200 and 200a will be described.

(ステップST141)管理装置100は、プラグ装置200を要求先としてデータ提供要求電文341をプラグ装置200に送信する。プラグ装置200は、管理装置100から自身を要求先としたデータ提供要求電文341を受信する。   (Step ST141) The management apparatus 100 transmits a data provision request message 341 to the plug apparatus 200 with the plug apparatus 200 as a request destination. The plug device 200 receives from the management device 100 a data provision request message 341 whose request destination is itself.

(ステップST142)プラグ装置200は、データ提供応答電文342を管理装置100に送信する。データ提供応答電文342には、データ提供要求電文341に含まれるセンサデータの種別に対応するセンサデータが含まれる。管理装置100は、プラグ装置200からデータ提供応答電文342を受信する。そして、管理装置100は、データ提供応答電文342に含まれるセンサデータなどの情報に基づいて生成したレコードを計測値テーブル112に登録する。   (Step ST142) The plug device 200 transmits a data provision response message 342 to the management device 100. The data provision response message 342 includes sensor data corresponding to the type of sensor data included in the data provision request message 341. The management device 100 receives the data provision response message 342 from the plug device 200. Then, the management apparatus 100 registers a record generated based on information such as sensor data included in the data provision response message 342 in the measurement value table 112.

(ステップST143)管理装置100は、プラグ装置200aを接続先とした接続要求電文311をプラグ装置200に送信する。プラグ装置200は、管理装置100から接続要求電文311を受信する。   (Step ST143) The management device 100 transmits a connection request message 311 with the plug device 200a as a connection destination to the plug device 200. The plug device 200 receives the connection request message 311 from the management device 100.

(ステップST144)プラグ装置200は、プラグ装置200aとペアリングすることで、無線リンクを確立する。
(ステップST145)プラグ装置200は、接続応答電文312を管理装置100に送信する。管理装置100は、プラグ装置200から接続応答電文312を受信する。
(Step ST144) The plug device 200 establishes a wireless link by pairing with the plug device 200a.
(Step ST145) The plug device 200 transmits a connection response message 312 to the management device 100. The management device 100 receives the connection response message 312 from the plug device 200.

(ステップST146)管理装置100は、プラグ装置200aを要求先としてデータ提供要求電文341をプラグ装置200に送信する。プラグ装置200は、管理装置100からプラグ装置200aを要求先としたデータ提供要求電文341を受信する。   (Step ST146) The management apparatus 100 transmits a data provision request message 341 to the plug apparatus 200 using the plug apparatus 200a as a request destination. The plug device 200 receives from the management device 100 a data provision request message 341 with the plug device 200a as a request destination.

(ステップST147)プラグ装置200は、受信側でない無線リンクを用いて、データ提供要求電文341を転送する。プラグ装置200aは、プラグ装置200からデータ提供要求電文341を受信する。   (Step ST147) Plug device 200 transfers data provision request message 341 using a wireless link that is not the receiving side. The plug device 200 a receives the data provision request message 341 from the plug device 200.

(ステップST148)プラグ装置200aは、データ提供要求電文341に含まれるセンサデータの種別を示す情報に対応するセンサデータを含むデータ提供応答電文342をプラグ装置200に送信する。プラグ装置200は、プラグ装置200aからデータ提供応答電文342を受信する。   (Step ST148) The plug device 200a transmits a data provision response message 342 including sensor data corresponding to information indicating the type of sensor data included in the data provision request message 341 to the plug device 200. The plug device 200 receives the data provision response message 342 from the plug device 200a.

(ステップST149)プラグ装置200は、受信側でない無線リンクを用いて、データ提供要求電文341を転送する。管理装置100は、プラグ装置200からデータ提供応答電文342を受信する。そして、管理装置100は、データ提供応答電文342に含まれるセンサデータなどの情報に基づいて生成したレコードを計測値テーブル112に登録する。   (Step ST149) Plug device 200 transfers data provision request message 341 using a wireless link that is not the receiving side. The management device 100 receives the data provision response message 342 from the plug device 200. Then, the management apparatus 100 registers a record generated based on information such as sensor data included in the data provision response message 342 in the measurement value table 112.

(ステップST150)管理装置100は、プラグ装置200aを切断先として切断要求電文321をプラグ装置200に送信する。管理装置100からプラグ装置200aを切断先とした切断要求電文321を受信する。   (Step ST150) The management device 100 transmits a disconnection request message 321 to the plug device 200 with the plug device 200a as the disconnection destination. A disconnection request message 321 with the plug device 200a as the disconnection destination is received from the management device 100.

(ステップST151)プラグ装置200は、プラグ装置200aと確立された無線リンクを切断する。
(ステップST152)プラグ装置200は、切断応答電文322を管理装置100に送信する。管理装置100は、プラグ装置200から切断応答電文322を受信する。
(Step ST151) The plug device 200 disconnects the radio link established with the plug device 200a.
(Step ST152) The plug device 200 transmits a disconnection response message 322 to the management device 100. The management device 100 receives the disconnection response message 322 from the plug device 200.

図24は、第2の実施の形態のデータ収集例(その2)を示すシーケンスである。図24において、プラグ装置200,200aは、管理装置100とプラグ装置200bとの無線通信を中継する。この場合において、管理装置100がプラグ装置200bからセンサデータを収集するときのシーケンスについて説明する。以下、図24に示す処理をステップ番号に沿って説明する。   FIG. 24 is a sequence illustrating a data collection example (part 2) according to the second embodiment. In FIG. 24, the plug devices 200 and 200a relay wireless communication between the management device 100 and the plug device 200b. In this case, a sequence when the management apparatus 100 collects sensor data from the plug apparatus 200b will be described. In the following, the process illustrated in FIG. 24 will be described in order of step number.

(ステップST161)管理装置100は、プラグ装置200bを接続先とした接続要求電文311をプラグ装置200に送信する。プラグ装置200は、管理装置100から接続要求電文311を受信する。   (Step ST161) The management device 100 transmits a connection request message 311 with the plug device 200b as a connection destination to the plug device 200. The plug device 200 receives the connection request message 311 from the management device 100.

(ステップST162)プラグ装置200は、プラグ装置200aとペアリングすることで、無線リンクを確立する。
(ステップST163)プラグ装置200は、確立した無線リンクを用いて、プラグ装置200bを接続先とした接続要求電文311(シフト済のもの)を転送する。プラグ装置200aは、プラグ装置200から接続要求電文311を受信する。
(Step ST162) The plug device 200 establishes a wireless link by pairing with the plug device 200a.
(Step ST163) Using the established wireless link, the plug device 200 transfers a connection request message 311 (shifted) with the plug device 200b as a connection destination. The plug device 200 a receives the connection request message 311 from the plug device 200.

(ステップST164)プラグ装置200aは、プラグ装置200bとペアリングすることで、無線リンクを確立する。
(ステップST165)プラグ装置200aは、接続応答電文312をプラグ装置200に送信する。プラグ装置200は、プラグ装置200aから接続応答電文312を受信する。
(Step ST164) The plug device 200a establishes a wireless link by pairing with the plug device 200b.
(Step ST165) The plug device 200a transmits a connection response message 312 to the plug device 200. The plug device 200 receives the connection response message 312 from the plug device 200a.

(ステップST166)プラグ装置200は、受信側でない無線リンクを用いて、接続応答電文312を転送する。管理装置100は、プラグ装置200から接続応答電文312を受信する。   (Step ST166) The plug device 200 transfers the connection response message 312 using a wireless link that is not the receiving side. The management device 100 receives the connection response message 312 from the plug device 200.

(ステップST167)管理装置100は、プラグ装置200bを要求先としてデータ提供要求電文341をプラグ装置200に送信する。プラグ装置200は、管理装置100からプラグ装置200bを要求先としたデータ提供要求電文341を受信する。   (Step ST167) The management apparatus 100 transmits a data provision request message 341 to the plug apparatus 200 using the plug apparatus 200b as a request destination. The plug device 200 receives from the management device 100 a data provision request message 341 with the plug device 200b as a request destination.

(ステップST168)プラグ装置200は、受信側でない無線リンクを用いて、データ提供要求電文341を転送する。プラグ装置200aは、プラグ装置200からデータ提供要求電文341を受信する。   (Step ST168) Plug device 200 transfers data provision request message 341 using a wireless link that is not the receiving side. The plug device 200 a receives the data provision request message 341 from the plug device 200.

(ステップST169)プラグ装置200aは、受信側でない無線リンクを用いて、データ提供要求電文341を転送する。プラグ装置200bは、プラグ装置200aからデータ提供要求電文341を受信する。   (Step ST169) The plug device 200a transfers the data provision request message 341 using a wireless link that is not the receiving side. The plug device 200b receives the data provision request message 341 from the plug device 200a.

(ステップST170)プラグ装置200bは、データ提供要求電文341に含まれるセンサデータの種別を示す情報に対応するセンサデータを含むデータ提供応答電文342をプラグ装置200aに送信する。プラグ装置200aは、プラグ装置200bからデータ提供応答電文342を受信する。   (Step ST170) The plug device 200b transmits a data provision response message 342 including sensor data corresponding to information indicating the type of sensor data included in the data provision request message 341 to the plug device 200a. The plug device 200a receives the data provision response message 342 from the plug device 200b.

(ステップST171)プラグ装置200aは、受信側でない無線リンクを用いて、データ提供応答電文342を転送する。プラグ装置200は、プラグ装置200aからデータ提供応答電文342を受信する。   (Step ST171) The plug device 200a transfers the data provision response message 342 using a wireless link that is not the receiving side. The plug device 200 receives the data provision response message 342 from the plug device 200a.

(ステップST172)プラグ装置200は、受信側でない無線リンクを用いて、データ提供応答電文342を管理装置100に転送する。管理装置100は、プラグ装置200からデータ提供応答電文342を受信する。そして、管理装置100は、データ提供応答電文342に含まれるセンサデータなどの情報に基づいて生成したレコードを計測値テーブル112に格納する。   (Step ST172) The plug device 200 transfers the data provision response message 342 to the management device 100 using a wireless link that is not the receiving side. The management device 100 receives the data provision response message 342 from the plug device 200. Then, the management apparatus 100 stores a record generated based on information such as sensor data included in the data provision response message 342 in the measurement value table 112.

(ステップST173)管理装置100は、プラグ装置200bを切断先として切断要求電文321をプラグ装置200に送信する。プラグ装置200は、管理装置100からプラグ装置200bを切断先とした切断要求電文321を受信する。   (Step ST173) The management device 100 transmits a disconnection request message 321 to the plug device 200 with the plug device 200b as the disconnection destination. The plug device 200 receives from the management device 100 a disconnect request message 321 with the plug device 200b as the disconnection destination.

(ステップST174)プラグ装置200は、受信側でない無線リンクを用いて、切断要求電文321を転送する。プラグ装置200aは、プラグ装置200から切断要求電文321を受信する。   (Step ST174) The plug device 200 transfers the disconnection request message 321 using a wireless link that is not the receiving side. The plug device 200 a receives the disconnection request message 321 from the plug device 200.

(ステップST175)プラグ装置200aは、プラグ装置200bと確立された無線リンクを切断する。
(ステップST176)プラグ装置200aは、切断応答電文322をプラグ装置200に送信する。プラグ装置200は、プラグ装置200aから切断応答電文322を受信する。
(Step ST175) The plug device 200a disconnects the radio link established with the plug device 200b.
(Step ST176) The plug device 200a transmits a disconnection response message 322 to the plug device 200. The plug device 200 receives the disconnection response message 322 from the plug device 200a.

(ステップST177)プラグ装置200は、受信側の無線リンクを切断する。
(ステップST178)プラグ装置200は、受信側でない無線リンクを用いて、切断応答電文322を管理装置100に転送する。管理装置100は、プラグ装置200から切断応答電文322を受信する。
(Step ST177) Plug device 200 disconnects the radio link on the receiving side.
(Step ST178) The plug device 200 transfers the disconnection response message 322 to the management device 100 using a wireless link that is not the receiving side. The management device 100 receives the disconnection response message 322 from the plug device 200.

図22〜図24で示すように、管理装置100は、データ提供要求電文341およびデータ提供応答電文342を各プラグ装置とリレー式に送受信することで、各プラグ装置から所定の種別のセンサデータを収集する。そして、管理装置100は、収集したセンサデータを基に計測値テーブル112にレコード登録することで、収集したセンサデータを管理する。   As shown in FIGS. 22 to 24, the management device 100 transmits / receives a data provision request message 341 and a data provision response message 342 to / from each plug device in a relay manner, so that a predetermined type of sensor data is received from each plug device. collect. Then, the management device 100 manages the collected sensor data by registering records in the measurement value table 112 based on the collected sensor data.

また、ステップST173〜ST178のように、1つの切断要求電文321により、当該電文を転送した複数のプラグ装置間の無線リンクを切断できるので、個々のプラグ装置に対して切断要求電文を個別に送信する場合よりも通信コストを抑えることができる。   Further, as in steps ST173 to ST178, a single disconnect request message 321 can disconnect a wireless link between a plurality of plug devices to which the message has been transferred, so that a disconnect request message is individually transmitted to each plug device. The communication cost can be reduced compared with the case of doing so.

また、管理装置100は、各プラグ装置に対する初期設定も同様にして行える。図23〜図24において、データ提供要求電文341を初期設定要求電文331に読み替え、データ提供応答電文342を初期設定応答電文332に読み替えればよい。   In addition, the management apparatus 100 can similarly perform initial setting for each plug apparatus. 23 to 24, the data provision request message 341 may be replaced with the initial setting request message 331, and the data provision response message 342 may be replaced with the initial setting response message 332.

図25は、第2の実施の形態の接続例を示す図である。図25において、管理装置100がプラグ装置200bと接続する例について説明する。
(ステップST1)管理装置100は、プラグ装置200と無線リンクが確立されている。この状態で、まず、管理装置100は、接続先をプラグ装置200bとした接続要求電文311をプラグ装置200に送信する。
FIG. 25 is a diagram illustrating a connection example according to the second embodiment. In FIG. 25, an example in which the management apparatus 100 is connected to the plug apparatus 200b will be described.
(Step ST1) The management apparatus 100 has a wireless link established with the plug apparatus 200. In this state, first, the management apparatus 100 transmits a connection request message 311 with the connection destination as the plug apparatus 200b to the plug apparatus 200.

(ステップST2)プラグ装置200は、接続要求電文311を受信する。次に、プラグ装置200は、接続要求電文311に含まれる通信経路に基づいて、経由先であるプラグ装置200aを特定する。プラグ装置200は、特定したプラグ装置200aと無線リンクを確立する。そして、プラグ装置200は、確立した無線リンクを用いて、接続要求電文311(シフト済のもの)を転送する。   (Step ST2) The plug device 200 receives the connection request message 311. Next, the plug device 200 identifies the plug device 200a that is a transit destination based on the communication path included in the connection request message 311. The plug device 200 establishes a wireless link with the identified plug device 200a. Then, the plug device 200 transfers the connection request message 311 (shifted one) using the established wireless link.

(ステップST3)プラグ装置200aは、接続要求電文311を受信する。次に、プラグ装置200aは、接続要求電文311に含まれる通信経路に基づいて、経由先であるプラグ装置200bを特定する。プラグ装置200aは、特定したプラグ装置200bと無線リンクを確立する。   (Step ST3) The plug device 200a receives the connection request message 311. Next, the plug device 200a identifies the plug device 200b that is the route destination based on the communication path included in the connection request message 311. The plug device 200a establishes a wireless link with the identified plug device 200b.

このように、無線リンクの確立は、管理装置100から接続先の子プラグ(例えば、プラグ装置200b)に至るまでの通信経路の順に連鎖的に行われる。
図26は、第2の実施の形態の切断例を示す図である。図26において、管理装置100がプラグ装置200bを切断する例について説明する。
Thus, the establishment of the wireless link is performed in a chained order in the communication path from the management device 100 to the connection destination child plug (for example, the plug device 200b).
FIG. 26 is a diagram illustrating a cutting example according to the second embodiment. In FIG. 26, an example in which the management device 100 disconnects the plug device 200b will be described.

(ステップST11)管理装置100は、プラグ装置200bと接続されている。すなわち、管理装置100は、プラグ装置200,200aを経由してプラグ装置200bとデータの送受信が可能である。管理装置100は、切断先をプラグ装置200bとした切断要求電文321を送信する。プラグ装置200aは、切断先をプラグ装置200bとした切断要求電文321を受信する。すると、プラグ装置200aは、プラグ装置200bとの無線リンクを切断する。そして、プラグ装置200aは、切断応答電文322を、無線リンクを用いて送信する。   (Step ST11) The management device 100 is connected to the plug device 200b. That is, the management apparatus 100 can transmit and receive data to and from the plug apparatus 200b via the plug apparatuses 200 and 200a. The management device 100 transmits a disconnection request message 321 with the disconnection destination as the plug device 200b. The plug device 200a receives the cutting request message 321 with the cutting device as the plug device 200b. Then, the plug device 200a disconnects the wireless link with the plug device 200b. Then, the plug device 200a transmits the disconnection response message 322 using the wireless link.

(ステップST12)プラグ装置200は、切断応答電文322を受信する。次に、プラグ装置200は、プラグ装置200aとの無線リンクを切断する。そして、プラグ装置200は、受信側でない無線リンクを用いて、切断応答電文322を転送する。   (Step ST12) The plug device 200 receives the disconnection response message 322. Next, the plug device 200 disconnects the wireless link with the plug device 200a. Then, the plug device 200 transfers the disconnection response message 322 using a wireless link that is not the receiving side.

(ステップST13)管理装置100は、プラグ装置200から切断応答電文322を受信することで、プラグ装置200bへ至るまでの各無線リンクが切断されたことを確認する。なお、プラグ装置200は親プラグのため、管理装置100とプラグ装置200の無線リンクは確立されたままである。   (Step ST13) The management apparatus 100 receives the disconnection response message 322 from the plug apparatus 200, thereby confirming that each wireless link up to the plug apparatus 200b has been disconnected. Since the plug device 200 is a parent plug, the wireless link between the management device 100 and the plug device 200 remains established.

このように、無線リンクの切断は、切断先の子プラグ(例えば、プラグ装置200b)から管理装置100へ至るまでの通信経路の順に連鎖的に行われる。
なお、管理装置100は、接続した所定のプラグ装置からセンサデータを収集後、所定のプラグ装置を切断せずに、所定のプラグ装置と無線リンクが可能なプラグ装置と、接続しセンサデータを収集してもよい。例えば、図25〜図26において、管理装置100は、ステップST2のように、接続したプラグ装置200aからセンサデータを収集する。その後、ステップST3のように、プラグ装置200aとプラグ装置200bとの無線リンクを確立する。そして、管理装置100がプラグ装置200bと接続した状態で、管理装置100は、プラグ装置200bのセンサデータを収集する。
As described above, disconnection of the wireless link is performed in a chained order in the communication path from the disconnection target child plug (for example, the plug device 200b) to the management device 100.
The management device 100 collects sensor data from a connected plug device and then connects to a plug device that can be wirelessly linked to the predetermined plug device without disconnecting the predetermined plug device and collects sensor data. May be. For example, in FIGS. 25 to 26, the management device 100 collects sensor data from the connected plug device 200a as in step ST2. Thereafter, as in step ST3, a wireless link is established between the plug device 200a and the plug device 200b. Then, in a state where the management apparatus 100 is connected to the plug apparatus 200b, the management apparatus 100 collects sensor data of the plug apparatus 200b.

これにより、センサデータを収集するごとに切断し、新たな収集先と接続する場合に比べて、無線リンクを切断する処理と無線リンクを確立する処理の回数を削減できる。よって、データ収集を効率的に行える。   Thus, the number of times of disconnecting the wireless link and establishing the wireless link can be reduced as compared with the case of disconnecting each time sensor data is collected and connecting to a new collection destination. Therefore, data can be collected efficiently.

図27は、第2の実施の形態の計測データの表示例を示す図である。管理アプリ130は、記憶されている計測値テーブル112に格納されたデータを用いて、計測結果表示画面400を提供する。ユーザは、入力デバイス106を操作してマウスカーソルP1を用いた計測結果表示画面400に対する入力が可能である。計測結果表示画面400は、消費電力情報表示410、周辺情報表示420、料金推移表示430およびアドバイス表示440を有する。   FIG. 27 is a diagram illustrating a display example of measurement data according to the second embodiment. The management application 130 provides the measurement result display screen 400 using the data stored in the stored measurement value table 112. The user can input to the measurement result display screen 400 using the mouse cursor P1 by operating the input device 106. The measurement result display screen 400 includes a power consumption information display 410, a peripheral information display 420, a charge transition display 430, and an advice display 440.

消費電力情報表示410には、消費電力、使用料金および前月比が表示される。消費電力には、現在時刻の属する月の1日から現在時刻までにおける、全プラグ装置の消費電力の合計である。使用量は、消費電力に基づいて算出される電力の使用料金である。また、前月比は、現在の使用料金と、先月の1日から先月の同日同時間までにおける使用料金との差分である。周辺情報表示420の表示は、周期的(例えば、1時間ごと)に更新される。   The power consumption information display 410 displays power consumption, usage fee, and month-to-month ratio. The power consumption is the total power consumption of all plug devices from the first day of the month to which the current time belongs until the current time. The usage amount is a usage fee of power calculated based on power consumption. The month-on-month is the difference between the current usage fee and the usage fee from the first day of last month to the same time of the same day of last month. The display of the peripheral information display 420 is updated periodically (for example, every hour).

周辺情報表示420には、現在の温度、湿度および照度が表示される。温度は、所定のプラグ装置(例えば、空調機10が接続されたプラグ装置200b)の周辺における現在の温度である。湿度は、所定のプラグ装置の周辺における現在の湿度である。照度は、所定のプラグ装置の周辺における現在の照度に対応する文字列(例えば、”明るい”、”やや明るい”、”やや暗い”および”暗い”)である。例えば、照度が300ルクス以上の場合は”明るい”となり、照度が150〜299ルクスの範囲内の場合は”やや明るい”となる。なお、照度には、現在の照度を示す文字列が設定されてもよい。周辺情報表示420の表示は、周期的(例えば、1時間ごと)に更新される。   The peripheral information display 420 displays the current temperature, humidity, and illuminance. The temperature is a current temperature around a predetermined plug device (for example, the plug device 200b to which the air conditioner 10 is connected). Humidity is the current humidity around a given plug device. The illuminance is a character string (for example, “bright”, “slightly bright”, “slightly dark”, and “dark”) corresponding to the current illuminance around a predetermined plug device. For example, when the illuminance is 300 lux or more, it is “bright”, and when the illuminance is in the range of 150 to 299 lux, it is “slightly bright”. Note that a character string indicating the current illuminance may be set as the illuminance. The display of the peripheral information display 420 is updated periodically (for example, every hour).

料金推移表示430には、各プラグ装置に接続された電気機器の消費電力の推移を示すグラフ(例えば、折れ線グラフ)、累積ボタン431および時間単位ボタン432が表示される。表示させるグラフは、消費電力の累積値の推移か時間ごとの消費電力の推移かの何れかを選択できる。例えば、マウスカーソルP1により累積ボタン431が押下操作された場合、料金推移表示430には、消費電力の累積値の推移を示すグラフが表示される。同様に、時間単位ボタン432が押下操作された場合、料金推移表示430には、時間単位(例えば、1時間ごと)の消費電力の推移を示すグラフが表示される。   In the charge transition display 430, a graph (for example, a line graph) showing a transition of power consumption of the electrical equipment connected to each plug device, an accumulation button 431, and a time unit button 432 are displayed. The graph to be displayed can select either a transition of a cumulative value of power consumption or a transition of power consumption for each hour. For example, when the accumulation button 431 is pressed with the mouse cursor P1, the charge transition display 430 displays a graph indicating the transition of the cumulative value of power consumption. Similarly, when the time unit button 432 is pressed, the charge transition display 430 displays a graph indicating the transition of power consumption in time units (for example, every hour).

アドバイス表示440には、電力の節約などに関するアドバイスが表示される。表示するアドバイスは、周期的(例えば、1日1回)に更新される。アドバイスは、管理装置100に記憶された複数のアドバイスから無作為に選択されたものを表示させてもよい。   The advice display 440 displays advice related to power saving. The advice to be displayed is updated periodically (for example, once a day). As the advice, a randomly selected advice from a plurality of advices stored in the management apparatus 100 may be displayed.

第2の実施の形態の通信システムによれば、管理装置100が子プラグと通信する際、経路情報を含む接続要求電文311を、子プラグへ至る通信経路に含まれる親プラグに送信することで、管理装置100から子プラグへ至るまでの通信経路に無線リンクが確立される。管理装置100は、確立された無線リンクを用いて、プラグ装置の検索を要求したり、センサデータの提供を要求したりする電文を接続先の子プラグに送信する。これにより、通信経路を効率的に確立して、制御用の電文を送受信できる。   According to the communication system of the second embodiment, when the management apparatus 100 communicates with the child plug, the connection request message 311 including the path information is transmitted to the parent plug included in the communication path leading to the child plug. A wireless link is established on the communication path from the management apparatus 100 to the child plug. Using the established wireless link, the management device 100 transmits a telegram requesting a search for the plug device or requesting the provision of sensor data to the connected child plug. Thereby, a communication path can be established efficiently and a control message can be transmitted and received.

例えば、制御用の電文をブロードキャストで送信して経路探索を行う方法に比べ、管理装置100から接続先のプラグ装置へ至るまでの通信経路と無関係なプラグ装置に制御用の電文の送信を強いなくてよい。よって、プラグ装置の余計な処理が抑制され、システム全体の消費電力を抑制できる。   For example, compared to a method in which a control message is transmitted by broadcasting and a route search is performed, a control message is not strongly transmitted to a plug device unrelated to the communication path from the management device 100 to the connected plug device. It's okay. Therefore, unnecessary processing of the plug device is suppressed, and the power consumption of the entire system can be suppressed.

また、制御部120は、各プラグ装置に対する経路情報を予め生成して記憶部110に格納する。具体的には、制御部120は、検索要求電文301を送信することで、各プラグ装置に順次周辺のプラグ装置を検索させ、当該検索結果に基づいて、経路情報を生成し、制御データ111に格納する。ただし、制御部120は、ユーザによる経路情報の入力を許容し、当該入力された経路情報を記憶部110に格納してもよい。ただし、制御部120により経路情報を生成させた方が、制御データ111における各プラグ装置の経路情報をユーザに入力させるよりも、ユーザの負担を軽減できる。   In addition, the control unit 120 generates path information for each plug device in advance and stores it in the storage unit 110. Specifically, the control unit 120 transmits each search request message 301 to cause each plug device to sequentially search for peripheral plug devices, generates route information based on the search result, and stores the information in the control data 111. Store. However, the control unit 120 may allow the user to input route information and store the input route information in the storage unit 110. However, when the path information is generated by the control unit 120, it is possible to reduce the burden on the user, rather than allowing the user to input the path information of each plug device in the control data 111.

また、制御部120は、検索可能なプラグ装置を予め登録し、登録されたプラグ装置からのみセンサデータの提供を要求する。これにより、制御部120は、子プラグを検索したか否か容易に判断でき、センサデータを収集する子プラグを容易に特定できる。よって、制御部120による子プラグの検索の制御がより効率化される。   In addition, the control unit 120 registers in advance a searchable plug device, and requests provision of sensor data only from the registered plug device. Thereby, the control unit 120 can easily determine whether or not a child plug has been searched, and can easily identify a child plug that collects sensor data. Therefore, the control of the child plug search by the control unit 120 is made more efficient.

また、制御部120は、所定のプラグ装置(例えば、プラグ装置200b)からデータ提供要求電文341およびデータ提供応答電文342を用いてセンサデータを収集後、切断要求電文321を用いて、所定のプラグ装置へ至るまでの通信経路に確立された無線リンクを切断する。これにより、通信経路に含まれるプラグ装置間のポーリングなどの通信を抑えて省電力化を図れる。   In addition, the control unit 120 collects sensor data using a data provision request message 341 and a data provision response message 342 from a predetermined plug device (for example, the plug device 200b), and then uses a disconnect request message 321 to perform a predetermined plug. The wireless link established in the communication path to the device is disconnected. As a result, it is possible to save power by suppressing communication such as polling between plug devices included in the communication path.

また、管理装置100との間で無線リンクを直接に確立できないプラグ装置200a,200b,200cとも、管理装置100はプラグ装置200を介して通信できる。このため、管理装置100とデータの送受信を行うプラグ装置の配置範囲を拡大することができる。特に、Bluetoothを用いる場合にも通信範囲を効率的に拡大可能となる。   In addition, the management device 100 can communicate with the plug devices 200 a, 200 b, and 200 c that cannot directly establish a wireless link with the management device 100 via the plug device 200. For this reason, the arrangement range of the plug device that transmits and receives data to and from the management device 100 can be expanded. In particular, the communication range can be efficiently expanded even when Bluetooth is used.

また、第2の実施の形態では、Bluetoothで無線通信する場合を例示したが、Wi−FiやZigbeeなどにおいても、第2の実施の形態の情報処理を適用し得る。
また、ルーティングを行うために、プラグ装置間の経路を示す情報を各プラグ装置が収集することも考えられる。そして、例えば、各プラグ装置が、各経路の中から最小コストの経路を選択することも考えられる。しかし、この経路を示す情報は、比較的データ量が大きい。プラグ装置間の経路の組み合わせは多数存在し得るからである。このため、当該経路を示す情報を収集するとなると、プラグ装置のメモリを圧迫し得る。一方、第2の実施の形態では、各プラグ装置は管理装置100によって提供された経路を用いて通信する。よって、各プラグ装置で経路を収集しなくてよい。このため、各プラグ装置において経路制御用のメモリ領域を節約することができる。
Further, in the second embodiment, the case where wireless communication is performed using Bluetooth is exemplified, but the information processing of the second embodiment can be applied to Wi-Fi, Zigbee, and the like.
In order to perform routing, each plug device may collect information indicating a route between the plug devices. For example, each plug device may select a route with the lowest cost from each route. However, the information indicating this route has a relatively large amount of data. This is because there can be many combinations of paths between plug devices. For this reason, when information indicating the path is collected, the memory of the plug device can be compressed. On the other hand, in the second embodiment, each plug device communicates using a route provided by the management device 100. Therefore, it is not necessary to collect routes by each plug device. For this reason, the memory area for path control can be saved in each plug device.

なお、第1の実施の形態の情報処理は、情報処理装置1および通信装置2,3,4,5,6,7にプログラムを実行させることで実現できる。また、第2の実施の形態の情報処理は、管理装置100およびプラグ装置200,200a,200b,200c,200d,200e,200fにプログラムを実行させることで実現できる。プログラムは、コンピュータ読み取り可能な記録媒体(例えば、光ディスク11、メモリ装置12およびメモリカード14など)に記録できる。   The information processing according to the first embodiment can be realized by causing the information processing apparatus 1 and the communication apparatuses 2, 3, 4, 5, 6, and 7 to execute programs. The information processing according to the second embodiment can be realized by causing the management apparatus 100 and the plug apparatuses 200, 200a, 200b, 200c, 200d, 200e, and 200f to execute a program. The program can be recorded on a computer-readable recording medium (for example, the optical disk 11, the memory device 12, and the memory card 14).

プログラムを流通させる場合、例えば、当該プログラムを記録した可搬記録媒体が提供される。また、プログラムを他のコンピュータの記憶装置に格納しておき、ネットワーク経由でプログラムを配布することもできる。コンピュータは、例えば、可搬記録媒体に記録されたプログラムまたは他のコンピュータから受信したプログラムを、記憶装置に格納し、当該記憶装置からプログラムを読み込んで実行する。ただし、可搬記録媒体から読み込んだプログラムを直接実行してもよく、他のコンピュータからネットワークを介して受信したプログラムを直接実行してもよい。   When distributing the program, for example, a portable recording medium in which the program is recorded is provided. It is also possible to store the program in a storage device of another computer and distribute the program via a network. The computer stores, for example, a program recorded on a portable recording medium or a program received from another computer in a storage device, and reads and executes the program from the storage device. However, a program read from a portable recording medium may be directly executed, or a program received from another computer via a network may be directly executed.

また、上記の情報処理の少なくとも一部を、DSP、ASIC、PLDなどの電子回路で実現することもできる。
上記については単に本発明の原理を示すものである。更に、多数の変形や変更が当業者にとって可能であり、本発明は上記に示し、説明した正確な構成および応用例に限定されるものではなく、対応する全ての変形例および均等物は、添付の請求項およびその均等物による本発明の範囲とみなされる。
In addition, at least a part of the information processing described above can be realized by an electronic circuit such as a DSP, ASIC, or PLD.
The above merely illustrates the principle of the present invention. In addition, many modifications and variations will be apparent to practitioners skilled in this art and the present invention is not limited to the precise configuration and application shown and described above, and all corresponding modifications and equivalents may be And the equivalents thereof are considered to be within the scope of the invention.

1 情報処理装置
1a 記憶部
1b 制御部
2,3,4,5,6,7 通信装置
8,8a 経路情報
R1,R2,R3 範囲
DESCRIPTION OF SYMBOLS 1 Information processing apparatus 1a Memory | storage part 1b Control part 2,3,4,5,6,7 Communication apparatus 8,8a Route information R1, R2, R3 Range

Claims (12)

無線通信を行う通信システムであって、
何れかの通信装置と自身から当該通信装置へ至るまでに中継する通信装置との順列を示す情報を含む経路情報を受信すると、前記経路情報に基づいて、自身と無線リンクを確立する相手である他の通信装置を特定し、前記他の通信装置と無線リンクを確立し、前記他の通信装置が前記順列の終端の通信装置以外であれば当該無線リンクを用いて前記他の通信装置に前記経路情報を送信し、その後、自身以外を宛先としたデータを受信すると受信した無線リンクとは異なる無線リンクを用いてデータを転送する複数の通信装置と、
前記複数の通信装置のうちの少なくとも第1の通信装置と無線通信可能であり、自身と無線リンクを確立できない位置に配置された第2の通信装置と、前記第1の通信装置から前記第2の通信装置へ至るまでに中継する通信装置との順列を示す情報を含む経路情報を前記第1の通信装置へ送信し、その後、前記第2の通信装置を宛先としたデータを前記第1の通信装置に送信する情報処理装置と、
を有する通信システム。
A communication system for performing wireless communication,
Upon receiving route information including information indicating a permutation between any one of the communication devices and the communication device that relays from itself to the communication device, it is a partner that establishes a wireless link with itself based on the route information Identify another communication device, establish a wireless link with the other communication device, and if the other communication device is other than the communication device at the end of the permutation, use the wireless link to connect the other communication device to the other communication device. A plurality of communication devices that transmit route information and then transfer data using a wireless link different from the received wireless link when receiving data destined for other than itself;
A second communication device that is wirelessly communicable with at least the first communication device of the plurality of communication devices and is located at a position where a wireless link with the first communication device cannot be established; and the second communication device to the second communication device. Route information including information indicating a permutation with a communication device that relays to the first communication device is transmitted to the first communication device, and then data destined for the second communication device is transmitted to the first communication device. An information processing device that transmits to the communication device;
A communication system.
前記情報処理装置は、前記第1および前記第2の通信装置に周囲の他の通信装置を検索させ、検索された結果に基づいて、検索された他の通信装置に至るまでに中継する通信装置の順列を示す情報を生成する、請求の範囲第1項記載の通信システム。   The information processing apparatus causes the first communication apparatus and the second communication apparatus to search for other communication apparatuses in the vicinity, and relays until reaching the other communication apparatus searched based on the searched result The communication system according to claim 1, which generates information indicating a permutation of. 前記情報処理装置は、検索された他の通信装置を含む順列を示す情報が生成されていない場合に、当該他の通信装置に至るまでに中継する通信装置の順列を示す情報を生成する、請求の範囲第2項記載の通信システム。   The information processing device generates information indicating a permutation of a communication device to be relayed up to the other communication device when information indicating a permutation including the searched other communication device is not generated. The communication system according to claim 2 in the range. 前記複数の通信装置それぞれは、所定の識別子を保持し、前記情報処理装置に対する検索結果の応答に、検索された他の通信装置を示す情報に対応付けて当該他の通信装置から取得した識別子を含め、
前記情報処理装置は、前記第1および前記第2の通信装置による検索結果に、当該他の通信装置を示す情報に対して前記情報処理装置に対応する識別子が含まれている場合に、当該他の通信装置に至るまでに中継する通信装置の順列を示す情報を生成する、
請求の範囲第2項および第3項記載の通信システム。
Each of the plurality of communication devices holds a predetermined identifier, and an identifier acquired from the other communication device in association with information indicating the other communication device searched for in a response to the search result for the information processing device. Including
The information processing apparatus, when the search result by the first and second communication devices includes an identifier corresponding to the information processing device with respect to information indicating the other communication device, Generating information indicating a permutation of communication devices to be relayed up to the communication device of
The communication system according to claims 2 and 3.
前記情報処理装置は、第2の通信装置を宛先としたデータを送信した後に、前記第1の通信装置から前記第2の通信装置に至るまでの無線リンクを切断させる、請求の範囲第1項乃至第4項の何れか1項に記載の通信システム。   The information processing apparatus, after transmitting data destined for a second communication apparatus, disconnects a wireless link from the first communication apparatus to the second communication apparatus. The communication system according to any one of Items 4 to 4. 前記情報処理装置は、前記第2の通信装置を宛先とした切断の要求を送信し、
前記第1および前記第2の通信装置と前記第1の通信装置から前記第2の通信装置へ至るまでに中継する通信装置とは、当該切断の要求を前記第2の通信装置に転送し、前記第2の通信装置から前記第1の通信装置まで順番に通信装置間の無線リンクを切断する、
請求の範囲第5項記載の通信システム。
The information processing apparatus transmits a disconnection request addressed to the second communication apparatus,
The first and second communication devices and the communication device that relays from the first communication device to the second communication device transfer the disconnection request to the second communication device, Disconnecting the wireless link between the communication devices in order from the second communication device to the first communication device;
The communication system according to claim 5.
前記情報処理装置は、前記第2の通信装置に送信するデータが発生するたびに前記第1の通信装置から前記第2の通信装置へ至るまでに中継する通信装置との順列を示す情報を含む経路情報を前記第1の通信装置へ送信する、請求の範囲第5項または第6項記載の通信システム。   The information processing device includes information indicating a permutation with a communication device that relays data from the first communication device to the second communication device every time data to be transmitted to the second communication device is generated. The communication system according to claim 5 or 6, wherein route information is transmitted to the first communication device. 前記複数の通信装置それぞれは、電気機器に接続され、電気機器で消費される電力を計測し、前記情報処理装置からの要求に応じて計測した電力の情報を提供する、請求の範囲第1項乃至第7項の何れか1項に記載の通信システム。   Each of the plurality of communication devices is connected to an electrical device, measures the power consumed by the electrical device, and provides information on the measured power in response to a request from the information processing device. The communication system according to any one of Items 7 to 7. 前記情報処理装置は、電力の計測に用いられる設定情報を前記第2の通信装置宛に送信する、請求の範囲第8項記載の通信システム。   The communication system according to claim 8, wherein the information processing apparatus transmits setting information used for power measurement to the second communication apparatus. 無線通信を行う複数の通信装置と、前記複数の通信装置のうちの少なくとも第1の通信装置と通信可能な情報処理装置とを含むシステムによって実行される通信方法であって、
前記情報処理装置と無線リンクを確立できない位置に配置された第2の通信装置と、前記第1の通信装置から前記第2の通信装置へ至るまでに中継する通信装置との順列を示す情報を前記情報処理装置から前記第1の通信装置へ送信し、
前記情報に基づいて、前記第1の通信装置から前記第2の通信装置へ至るまでに中継する通信装置それぞれを用いて前記順列の隣り合う通信装置間の無線リンクを確立し、
前記第2の通信装置を宛先としたデータを、前記情報処理装置から前記第1の通信装置に送信し、確立された無線リンクを用いて前記第2の通信装置へ転送する、
通信方法。
A communication method executed by a system including a plurality of communication devices that perform wireless communication and an information processing device that can communicate with at least a first communication device of the plurality of communication devices,
Information indicating a permutation between a second communication device arranged at a position where a wireless link cannot be established with the information processing device and a communication device relaying from the first communication device to the second communication device. Transmitting from the information processing device to the first communication device;
Based on the information, establish a wireless link between adjacent communication devices in the permutation using each communication device that relays from the first communication device to the second communication device,
Data destined for the second communication device is transmitted from the information processing device to the first communication device and transferred to the second communication device using an established wireless link;
Communication method.
無線通信を行う複数の通信装置を含むシステムを制御するためのプログラムであって、前記複数の通信装置のうちの少なくとも第1の通信装置と通信可能なコンピュータに、
前記コンピュータと無線リンクを確立できない位置に配置された第2の通信装置と、前記第1の通信装置から前記第2の通信装置へ至るまでに中継する通信装置との順列を示す情報を前記第1の通信装置へ送信し、
前記第1の通信装置から前記第2の通信装置へ至るまでに中継する通信装置それぞれにより前記情報に基づいて前記順列の隣り合う通信装置間の無線リンクが確立されると、前記第2の通信装置を宛先としたデータを前記第1の通信装置に送信する、
処理を実行させるプログラム。
A program for controlling a system including a plurality of communication devices that perform wireless communication, the computer being capable of communicating with at least a first communication device of the plurality of communication devices,
Information indicating a permutation between a second communication device arranged at a position where a wireless link cannot be established with the computer and a communication device relaying from the first communication device to the second communication device 1 to the communication device
When a wireless link between adjacent communication devices in the permutation is established based on the information by each communication device that relays from the first communication device to the second communication device, the second communication Transmitting data destined for the device to the first communication device;
A program that executes processing.
無線通信を行う通信装置であって、
自身と無線リンクを確立する相手である他の通信装置を示す情報を含み前記他の通信装置が経路の終端の通信装置であるか否かを識別可能な経路情報を受信すると、前記経路情報に基づいて、前記他の通信装置と無線リンクを確立する制御部と、
前記他の通信装置が前記終端の通信装置以外であれば当該無線リンクを用いて前記他の通信装置に前記経路情報を送信し、その後、自身以外を宛先としたデータを受信すると受信した無線リンクとは異なる無線リンクを用いてデータを転送する通信部と、
を有する通信装置。
A communication device for performing wireless communication,
When receiving route information that includes information indicating another communication device with which the wireless link is established with itself and can identify whether the other communication device is a communication device at the end of the route, Based on the control unit for establishing a wireless link with the other communication device,
If the other communication device is other than the terminal communication device, the wireless link is transmitted when the route information is transmitted to the other communication device using the wireless link, and then data other than itself is received. A communication unit for transferring data using a wireless link different from
A communication device.
JP2014512571A 2012-11-21 2012-11-21 COMMUNICATION SYSTEM, COMMUNICATION METHOD, PROGRAM, AND COMMUNICATION DEVICE Expired - Fee Related JP5639308B2 (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2012/080124 WO2014080461A1 (en) 2012-11-21 2012-11-21 Communication system, communication method, program and communication apparatuses

Publications (2)

Publication Number Publication Date
JP5639308B2 true JP5639308B2 (en) 2014-12-10
JPWO2014080461A1 JPWO2014080461A1 (en) 2017-01-05

Family

ID=50775666

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014512571A Expired - Fee Related JP5639308B2 (en) 2012-11-21 2012-11-21 COMMUNICATION SYSTEM, COMMUNICATION METHOD, PROGRAM, AND COMMUNICATION DEVICE

Country Status (2)

Country Link
JP (1) JP5639308B2 (en)
WO (1) WO2014080461A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006050460A (en) * 2004-08-06 2006-02-16 Matsushita Electric Ind Co Ltd Radio node device and multi-hop radio system
JP2008205929A (en) * 2007-02-21 2008-09-04 Matsushita Electric Works Ltd Communication system
JP2010021653A (en) * 2008-07-08 2010-01-28 Sharp Corp Specified low power radio telemetry system
JP2010074691A (en) * 2008-09-22 2010-04-02 Nec Tokin Corp Ad-hoc network wireless communication method
JP2012100265A (en) * 2010-10-29 2012-05-24 Fujitsu Ltd Wireless network device, wireless network system, and method for selection control of routing

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006050460A (en) * 2004-08-06 2006-02-16 Matsushita Electric Ind Co Ltd Radio node device and multi-hop radio system
JP2008205929A (en) * 2007-02-21 2008-09-04 Matsushita Electric Works Ltd Communication system
JP2010021653A (en) * 2008-07-08 2010-01-28 Sharp Corp Specified low power radio telemetry system
JP2010074691A (en) * 2008-09-22 2010-04-02 Nec Tokin Corp Ad-hoc network wireless communication method
JP2012100265A (en) * 2010-10-29 2012-05-24 Fujitsu Ltd Wireless network device, wireless network system, and method for selection control of routing

Also Published As

Publication number Publication date
JPWO2014080461A1 (en) 2017-01-05
WO2014080461A1 (en) 2014-05-30

Similar Documents

Publication Publication Date Title
JP5781104B2 (en) Information providing system, information providing apparatus, shopping program, and information providing method
JP2011097633A (en) Home network system
JP5163653B2 (en) Portable terminal, in-vehicle device, priority transmission method, and priority transmission program
US10953323B2 (en) Radio communication terminal, method for controlling the same, and information storage medium
JP6316536B2 (en) Information processing system, information processing apparatus, information processing program, and information processing method
JP2012063975A (en) Communication apparatus and firmware update system for communication apparatus
JP2006295813A (en) Data collection system, data collection method and data collection program
CN105453610A (en) Service discovery technique in wireless communication network for forming p2p group
JP2005197880A (en) Information distribution system, information distribution method, mobile, server, and information distribution terminal
JP4854412B2 (en) Communication control device and communication control method
JP5639308B2 (en) COMMUNICATION SYSTEM, COMMUNICATION METHOD, PROGRAM, AND COMMUNICATION DEVICE
JP2006526305A (en) Home network system
JP5807398B2 (en) Mobile terminal, point exchange system, point exchange method, and point exchange program
CN109478127A (en) The method of image forming apparatus and the status information for sending image forming apparatus
JP2018032184A (en) Extended guarantee system and server device
JP2016139911A (en) Radio network situation presentation device and program
JP2006005753A (en) Method, system, server and program for deriving communication topology
JP2005202518A (en) Adaptor
JP6418804B2 (en) Advertisement server, advertisement system, and advertisement transmission method
JP6241532B2 (en) COMMUNICATION SYSTEM, COMMUNICATION DEVICE, CONTROL METHOD, COMMUNICATION METHOD, AND COMPUTER PROGRAM
JP5251643B2 (en) Terminal device and program
JP5467598B2 (en) Wireless terminal and server
JP2013097641A (en) Medical information management system and medical information management method
WO2010084843A1 (en) Server, terminal, server program, and terminal program
JP6036593B2 (en) COMMUNICATION SYSTEM, COMMUNICATION DEVICE, CONTROL METHOD, COMMUNICATION METHOD, AND COMPUTER PROGRAM

Legal Events

Date Code Title Description
A975 Report on accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A971005

Effective date: 20140909

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20141023

R150 Certificate of patent or registration of utility model

Ref document number: 5639308

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees