JP5722162B2 - COMMUNICATION CONTROL DEVICE, NETWORK SYSTEM, COMMUNICATION CONTROL METHOD, AND PROGRAM - Google Patents

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

Info

Publication number
JP5722162B2
JP5722162B2 JP2011184910A JP2011184910A JP5722162B2 JP 5722162 B2 JP5722162 B2 JP 5722162B2 JP 2011184910 A JP2011184910 A JP 2011184910A JP 2011184910 A JP2011184910 A JP 2011184910A JP 5722162 B2 JP5722162 B2 JP 5722162B2
Authority
JP
Japan
Prior art keywords
channel
router
communication
communication control
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
JP2011184910A
Other languages
Japanese (ja)
Other versions
JP2013046359A (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.)
Sharp Corp
Original Assignee
Sharp Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sharp Corp filed Critical Sharp Corp
Priority to JP2011184910A priority Critical patent/JP5722162B2/en
Publication of JP2013046359A publication Critical patent/JP2013046359A/en
Application granted granted Critical
Publication of JP5722162B2 publication Critical patent/JP5722162B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明の通信制御装置、ネットワークシステム、通信制御方法、およびプログラムに関する。本発明は、特に、ルータおよびエンドデバイスを管理する通信制御装置、ルータとエンドデバイスと通信制御装置とを備えるネットワークシステム、通信制御装置における通信制御方法、通信制御装置を制御するためのプログラム。   The present invention relates to a communication control device, a network system, a communication control method, and a program according to the present invention. The present invention particularly relates to a communication control apparatus that manages a router and an end device, a network system including the router, the end device, and the communication control apparatus, a communication control method in the communication control apparatus, and a program for controlling the communication control apparatus.

(1)従来、パーソナルネットワークとして、たとえば、ZigBee(登録商標)を用いたネットワークが知られている。非特許文献1には、ZigBee(登録商標)の機能の概要が説明されている。特に、非特許文献1(A.5 Frequency Agility)には、チャンネルを変更する機能である周波数アジリティ(Frequency Agility)の概要が説明されている。   (1) Conventionally, for example, a network using ZigBee (registered trademark) is known as a personal network. Non-Patent Document 1 describes an overview of the functions of ZigBee (registered trademark). In particular, Non-Patent Document 1 (A.5 Frequency Agility) describes an outline of frequency agility, which is a function of changing a channel.

非特許文献2には、ZigBee(登録商標)の仕様が開示されている。非特許文献2には、たとえば、ZigBee(登録商標)で用いられるコマンド等が開示されている。
以下、コーディネータ、ルータ、エンドデバイスという用語は、それぞれZigBee(登録商標)における論理デバイスの種別を表すものとする。それぞれの意味については後述する。また、ネットワークマネージャという用語は、周波数アジリティにおいてネットワークの管理を行なうZigBee(登録商標)ノードを意味する。通常はコーディネータがその役割を持つが、必ずしもそれには限らない。ネットワークマネージャは、ZigBee(登録商標)ネットワーク内に1台だけ存在する。
Non-Patent Document 2 discloses the specifications of ZigBee (registered trademark). Non-Patent Document 2 discloses, for example, commands used in ZigBee (registered trademark).
Hereinafter, the terms coordinator, router, and end device represent the types of logical devices in ZigBee (registered trademark). The meaning of each will be described later. The term network manager means a ZigBee (registered trademark) node that manages a network in frequency agility. Usually, the coordinator plays that role, but not necessarily. There is only one network manager in the ZigBee (registered trademark) network.

ZigBee(登録商標)を用いたネットワークにおけるコーディネータは、当該ネットワークを開始するに先立ち、予め設定されたチャンネルリスト(デフォルト・チャンネルリスト)におけるチャンネルの全てをスキャンする。コーディネータは、全てのチャンネルのうちで一番空いてそうなチャンネル(つまり、エネルギレベルの低いチャンネル)を選択する。コーディネータは、選択したチャンネルを用いてネットワークを開始する。いったんネットワークが開始されると、基本的には、チャンネルは変更されない。   A coordinator in a network using ZigBee (registered trademark) scans all channels in a preset channel list (default channel list) before starting the network. The coordinator selects the most likely channel (ie, the channel with the lowest energy level) among all channels. The coordinator starts the network using the selected channel. Once the network is started, basically the channel is not changed.

ところで、ZigBee(登録商標)におけるコーディネータがネットワークを開始した後に、たとえば以下の理由によって、チャンネルの状況が悪化する場合がある。ZigBee(登録商標)が利用する電波の周波数帯は、2.4GHz帯である。2.4GHz帯は、無線LAN、Bluetooth(登録商標)、電子レンジ、無線キーボードといった各種機器も使用する周波数帯域でもある。このため、当初はチャンネルの状況がよくても、上記のような各種機器が開始されることなどにより、チャンネルの状況が悪化する場合がある。より詳しく説明すると、以下の通りである。   By the way, after the coordinator in ZigBee (registered trademark) starts a network, the channel situation may be deteriorated for the following reasons, for example. The frequency band of radio waves used by ZigBee (registered trademark) is the 2.4 GHz band. The 2.4 GHz band is also a frequency band used by various devices such as a wireless LAN, Bluetooth (registered trademark), a microwave oven, and a wireless keyboard. For this reason, even if the channel condition is good at the beginning, the channel condition may deteriorate due to the start of various devices as described above. This will be described in more detail as follows.

図23は、ZigBee(登録商標)でのチャンネルの構成と、無線LAN(IEEE802.11b)でのチャンネルの構成とを説明するための図である。図23を参照して、無線LANでは、周波数が異なる4個のチャンネル1ch,6ch,11ch,14chが主に用いられる。また、ZigBee(登録商標)では、周波数が異なる16個のチャンネル11ch〜26chのいずれかのチャンネルが用いられる。たとえば無線LANが上記4個のチャンネルのうちあるチャンネルの使用を開始した場合、ZigBee(登録商標)における16個のチャンネルのいずれかのチャネルとの間で電波干渉が生じる可能性がある。このため、上述したように、ZigBee(登録商標)のコーディネータがネットワークを開始した時点では、空いていたチャンネルであっても、その後無線LANの使用開始により、そのチャンネルの状況が悪化する場合がある。   FIG. 23 is a diagram for explaining a channel configuration in ZigBee (registered trademark) and a channel configuration in a wireless LAN (IEEE802.11b). Referring to FIG. 23, in the wireless LAN, four channels 1ch, 6ch, 11ch, and 14ch having different frequencies are mainly used. In ZigBee (registered trademark), any one of 16 channels 11ch to 26ch having different frequencies is used. For example, when the wireless LAN starts using one of the four channels, radio wave interference may occur between any of the 16 channels in ZigBee (registered trademark). For this reason, as described above, even when a ZigBee (registered trademark) coordinator starts a network, even if the channel is vacant, the use of the wireless LAN thereafter may deteriorate the state of the channel. .

このような状況に対処するための機能として、周波数アジリティ(Frequency Agility)が知られている。周波数アジリティは、電波が干渉して、通信エラーが多くなった場合に、ネットワークマネージャがZigBee(登録商標)ネットワーク内の起きているノード(ウェイクフル・ノード)に対してチャンネル変更の指示を出し、干渉しないチャンネルへ移動させることで、ネットワークの効率と安定性を高める機能である。非特許文献1における“Appendix A”の項目“A.5”(P.396-398)には、上記周波数アジリティについての記載がなされている。以下、周波数アジリティについて、具体的に説明する。   As a function for dealing with such a situation, frequency agility is known. In the frequency agility, when the radio wave interferes and communication errors increase, the network manager issues a channel change instruction to the node (wake full node) in the ZigBee (registered trademark) network, It is a function that improves the efficiency and stability of the network by moving to a channel that does not interfere. The item “A.5” (P.396-398) of “Appendix A” in Non-Patent Document 1 describes the frequency agility. Hereinafter, frequency agility will be specifically described.

ルータは、通信の失敗カウントを記録する。ルータは、失敗カウントがしきい値を超えたら(メッセージ数が20以上あって、25%のメッセージが失敗)、予め設定されている全てのチャンネルをスキャンし、各チャンネルのエネルギレベルを取得する。ルータは、ネットワークマネージャに取得したエネルギレベルを通知する。ルータは、ネットワークをあふれさせることがないようにするため、1時間に最大4回まで通知するよう制限する。   The router records the communication failure count. When the failure count exceeds the threshold (the number of messages is 20 or more and 25% of the messages fail), the router scans all preset channels and obtains the energy level of each channel. The router notifies the acquired energy level to the network manager. The router limits the notification to a maximum of 4 times per hour so as not to flood the network.

ネットワークマネージャは、ルータからエネルギレベルの通知(Mgmt_NWK_UPdate_notify)を受信する。ネットワークマネージャは、当該エネルギレベルの通知に基づき、チャンネルを変更すべきか否かを決定する。また、ネットワークマネージャは、必要ならば、他のZigBee(登録商標)ノードに対して、エネルギレベルの通知を行うよう要求(Mgmt_NWK_UPdate_req)を出すこともできる。   The network manager receives an energy level notification (Mgmt_NWK_UPdate_notify) from the router. The network manager determines whether to change the channel based on the notification of the energy level. Further, the network manager can issue a request (Mgmt_NWK_UPdate_req) to notify the energy level to other ZigBee (registered trademark) nodes if necessary.

さらに、ネットワークマネージャは、チャンネルを変更すべきであると判断した場合には、どのチャンネルに変更すべきかについても決定する。チャンネル変更の決定については、ネットワークマネージャが自動で決定する場合もあるし、ネットワーク管理者(人間)の決定による場合もある。ネットワークマネージャは、チャンネルを変更するためのチャンネル変更コマンド(Mgmt_NWK_UPdate_req)を、ブロードキャストで送信する。   Further, if the network manager determines that the channel should be changed, the network manager also determines which channel to change. The channel change may be determined automatically by the network manager, or may be determined by the network manager (human). The network manager broadcasts a channel change command (Mgmt_NWK_UPdate_req) for changing the channel.

このブロードキャストの宛先アドレスは0xFFFDである。これは、RxOnWhenIdle = TRUE のノード(アイドル状態でも受信可能であるノード、つまり起きているノード)に対して届くという意味である。従って、チャンネル変更コマンドはZigBee(登録商標)ネットワーク内の起きているノード(ウェイクフル・ノード)に対して届く。   The destination address of this broadcast is 0xFFFD. This means that the node reaches RxOnWhenIdle = TRUE (a node that can be received even in an idle state, that is, a node that is waking up). Thus, the channel change command reaches the originating node (wake full node) in the ZigBee network.

上記ブロードキャストによりチャンネル変更コマンドを受信したノード(ルータおよび起きているエンドデバイス)は、当該チャンネル変更コマンドを、再ブロードキャストする。このようなブロードキャストの連続により、ネットワーク内の起きているノード(ウェイクフル・ノード)に、チャンネル変更コマンドが伝わる。   A node (router and a wake-up end device) that has received the channel change command by the broadcast re-broadcasts the channel change command. Due to the continuation of such a broadcast, a channel change command is transmitted to the wake-up node (wake full node) in the network.

ここで、スリープ状態に入るエンドデバイス(以下、「スリーピー・エンドデバイス(Sleepy end device)」と称する)は、起き上がっている間を除き、ブロードキャストによるチャンネル変更コマンドを受信できない。スリープ状態の期間に比べて起きている状態の期間は短いため、原則的には、スリーピー・エンドデバイスは(ブロードキャストで送信される)チャンネル変更コマンドを受信できない。それゆえ、スリーピー・エンドデバイスは、親(ルータまたはコーディネータ)がチャンネルを変えると当該親と通信できなくなる。したがって、スリーピー・エンドデバイスは、親と通信できなくなった場合に、他のチャンネルをサーチしなければならない。はじめは予め設定されているチャンネルリストをサーチする。この中に以前と同じネットワークを見つけられなければ、全チャンネルをサーチする。周波数アジリティを有効にした場合、このような仕様をスリーピー・エンドデバイス側に盛り込まなければならない(非特許文献2に記載されている)。   Here, an end device that enters a sleep state (hereinafter referred to as “Sleepy end device”) cannot receive a channel change command by broadcast except when it is awake. In principle, a sleepy end device cannot receive a channel change command (sent by broadcast) because the duration of the wake-up state is short compared to the sleep state. Therefore, the sleepy end device cannot communicate with the parent when the parent (router or coordinator) changes the channel. Therefore, the sleepy end device must search for another channel when it cannot communicate with the parent. First, a preset channel list is searched. If the same network as before cannot be found in this, all channels are searched. When frequency agility is enabled, such specifications must be included in the sleepy end device (described in Non-Patent Document 2).

また、ウェイクフル・ノードであっても、チャンネル変更コマンドを受信できない場合がある。ウェイクフル・ノードは、失敗カウントがしきい値を超えて、ネットワークマネージャと一定期間通信できなければ、現行チャンネル上で通信するには干渉状態が悪化しすぎたと判断して、他のチャンネルをサーチしなければならない。   Further, even a wakeful node may not receive a channel change command. If the wakeful node exceeds the threshold and cannot communicate with the network manager for a period of time, the wakeful node determines that the interference condition has deteriorated too much to communicate on the current channel and searches for other channels. Must.

チャンネル変更コマンドは、ZigBee(登録商標)ネットワーク内の起きているノード(ウェイクフル・ノード)が次々に再ブロードキャストしていきネットワーク全体のウェイクフル・ノードに伝わる。うまくいけばかなり高速にネットワーク全体のウェイクフル・ノードに伝わる。しかし、そもそもネットワークのチャンネル状況が悪化しているため、通信が失敗することも多い。また、チャンネル変更コマンドはブロードキャストで送信されるため、ブロードキャストの通信が失敗する場合も多い。ブロードキャストはユニキャストと異なり、ACKを確認していないためである。   The channel change command is rebroadcast one after another by a node (wake full node) in the ZigBee (registered trademark) network and is transmitted to the wake full node of the entire network. Hopefully it will travel fairly quickly to the wakeful nodes throughout the network. However, communication often fails because the channel conditions of the network have deteriorated in the first place. In addition, since the channel change command is transmitted by broadcast, broadcast communication often fails. This is because, unlike unicast, broadcast does not confirm ACK.

また、非特許文献2の575頁(“ANNEX E”)には、チャンネル変更コマンドである“Mgmt_NWK_Updat_req”を受信したの後の動作が規定されている。具体的に説明すると、チャンネル変更コマンドを受信したノードは、タイマを予め定められた時間(nwkNetworkBroadcastDeliveryTime)に設定し、当該タイマが切れた後にチャンネルを変更する。この時間はブロードキャスト送信にかかる時間を見積もったものであり、固定値である。ある実装によると3000msであった。このように、チャンネル変更コマンドには、チャンネルを変更するタイミングについての具体的な指示はない。どのタイミングでチャンネルを変更するかはそれぞれのノード(ウェイクフル・ノード)に委ねられている。   Further, on page 575 (“ANNEX E”) of Non-Patent Document 2, an operation after receiving “Mgmt_NWK_Updat_req” which is a channel change command is defined. Specifically, the node that has received the channel change command sets a timer at a predetermined time (nwkNetworkBroadcastDeliveryTime), and changes the channel after the timer expires. This time is an estimate of the time required for broadcast transmission, and is a fixed value. According to one implementation, it was 3000 ms. Thus, the channel change command has no specific instruction on the timing for changing the channel. The timing for changing the channel is left to each node (wake full node).

(2)また、従来、無線LAN(Local Area Network)においても、空いているチャンネルを自動で検出し、当該無線LANで利用するチャンネルを当該検出したチャンネルに設定する機能(以下、「AUTOチャンネル機能」と称する)が知られている。   (2) Conventionally, also in a wireless LAN (Local Area Network), a function of automatically detecting a vacant channel and setting a channel used in the wireless LAN to the detected channel (hereinafter referred to as “AUTO channel function”). Is known).

たとえば、非特許文献3には、AUTOチャンネル機能として、簡易設定機能であるAOSS(登録商標)(AirStation One-Touch Secure System)の設定時または電源オン時に自動で全チャンネルをスキャンし、空いているチャンネルに自動でチャンネルを設定するアクセスポイントが開示されている。   For example, in Non-Patent Document 3, as an AUTO channel function, all channels are automatically scanned when AOSS (registered trademark) (AirStation One-Touch Secure System), which is a simple setting function, is set or when the power is turned on. An access point for automatically setting a channel to a channel is disclosed.

また、非特許文献4にも同様に、AUTOチャンネル機能として、装置の起動時、チャンネル設定変更時、および無線機能設定変更時において、他の無線アクセスポイントが周囲に存在する環境であっても、空いているチャンネルを自動で検出し、電波状態のよいチャンネルを自動選択するアクセスポイントが開示されている。   Similarly, in the non-patent document 4, as an AUTO channel function, when an apparatus is activated, when a channel setting is changed, and when a wireless function setting is changed, even in an environment where other wireless access points exist in the vicinity, An access point that automatically detects a vacant channel and automatically selects a channel with a good radio wave condition is disclosed.

このように、無線LANにおけるAUTOチャンネル機能は、チャンネル設定変更時、装置の起動時、無線機能設定変更時のときだけ、自動的に空いているチャンネルを検出し、無線ALNで利用するチャンネルを選択する。また、AUTOチャンネル機能では、アクセスポイントの子ノードを引き連れた状態で、チャンネルを他のチャンネルに変更することはない。   As described above, the AUTO channel function in the wireless LAN automatically detects a free channel only when the channel setting is changed, when the device is started, or when the wireless function setting is changed, and the channel used for the wireless ALN is selected. To do. In the AUTO channel function, the channel is not changed to another channel while the child node of the access point is accompanied.

Drew Gislason著「ZIGBEE WIRELESS NETWORKING」(米国)、Newnes、2008年9月4日、p.396-398Drew Gislason "ZIGBEE WIRELESS NETWORKING" (USA), Newnes, September 4, 2008, p.396-398 ZigBee Alliance「ZIGBEE SPECIFICATION ZigBee Document053474r17」、ZigBee Standards Organization、2008年1月17日ZigBee Alliance “ZIGBEE SPECIFICATION ZigBee Document053474r17”, ZigBee Standards Organization, January 17, 2008 Buffalo、“AUTOチャンネル設定機能”、[online]、[平成23年7月26日検索]、インターネット<URL:http://buffalo.jp/products/catalog/item/w/wzr-hp-g54_p/>Buffalo, “AUTO channel setting function”, [online], [searched July 26, 2011], Internet <URL: http://buffalo.jp/products/catalog/item/w/wzr-hp-g54_p/ > NEC、“オートチャネルセレクト”、[online]、[平成23年7月26日検索]、インターネット<URL:http://121ware.com/product/atermstation/product/warpstar/wr8400n/feature2.html>NEC, “Auto Channel Select”, [online], [Search July 26, 2011], Internet <URL: http://121ware.com/product/atermstation/product/warpstar/wr8400n/feature2.html>

上述した周波数アジリティによってチャンネルを変更する場合、以下のような問題点がある。すなわち、チャンネル変更のコマンドはブロードキャストで送信されるため、大抵の期間スリープ状態にあるスリーピー・エンドデバイスはこのコマンドを原則的に受信することができない。   When changing a channel by the frequency agility mentioned above, there are the following problems. That is, since a channel change command is transmitted by broadcast, a sleepy end device that is in a sleep state for most periods cannot receive this command in principle.

参考までに、宛先アドレスが0xFFFFであるブロードキャストもある。これはスリープ状態に入るエンドデバイスを含めて全てのノードに対して届けられる。ただし、スリープ状態に入るエンドデバイスにも届けるためには、送信側がパケットを相当の期間保持しなければならず、ZigBee(登録商標)の通常コマンドでは一般的に用いられていない。   For reference, there is also a broadcast whose destination address is 0xFFFF. This is delivered to all nodes, including end devices that enter a sleep state. However, in order to deliver to an end device that enters the sleep state, the transmission side must hold the packet for a considerable period of time, and is not generally used in a normal command of ZigBee (registered trademark).

また、ブロードキャストでの送信は信頼性が低い。特に、周波数アジリティを実行しようとする場合には、ネットワークにおける伝送路状況は悪化しているはずである。このため、起きているノード(ルータ、ウェイクフル・エンドデバイス)であっても当該チャンネル変更コマンドを受信できる可能性は低い。   In addition, transmission by broadcast is not reliable. In particular, when trying to implement frequency agility, the transmission path conditions in the network should have deteriorated. For this reason, there is a low possibility that even the node (router, wakeful end device) that is waking up can receive the channel change command.

上記のように、スリーピー・エンドデバイスは原則的にチャンネル変更コマンドを受信できないため、スリーピー・エンドデバイスは親との通信できなくなると、親がチャンネルを変更したと推定して、他のチャンネルをサーチしなければならない。周波数アジリティを有効に設定した場合、スリーピー・エンドデバイス側にこの仕様を盛り込まなければならない。   As described above, the sleepy end device cannot receive the channel change command in principle, so when the sleepy end device cannot communicate with the parent, it is assumed that the parent has changed the channel and the other channel is searched. Must. When frequency agility is set to be valid, this specification must be included in the sleepy end device.

実際には、電子レンジなどによって、チャンネル状況が一般的に悪化して親と通信ができなくなる事はよくあることである。そのたびに他のチャンネルをサーチしなければならないのは、スリーピー・エンドデバイスにとって余計な負荷がかかることになる。親がチャンネルを変更していない場合であっても、スリーピー・エンドデバイスは他のチャンネルをサーチするので、リジョインするまでに時間がかかる要因となっている。   In practice, it is often the case that the channel condition generally deteriorates and communication with the parent becomes impossible due to a microwave oven or the like. The search for other channels each time places an extra load on the sleepy end device. Even if the parent does not change the channel, the sleepy end device searches for another channel, which is a factor that takes time to rejoin.

また、ウェイクフル・ノード(ルータ、または、ウェイクフル・エンドデバイス)であっても当該チャンネル変更コマンドを受信できない場合もある。よって、ウェイクフル・ノードもネットワークマネージャと通信できなくなったとき、他のチャンネルをサーチしなければならない。周波数アジリティを有効に設定した場合、ウェイクフル・ノード側にこの仕様を盛り込まなければならない。   In addition, even a wakeful node (router or wakeful end device) may not receive the channel change command. Thus, when the wakeful node can no longer communicate with the network manager, it must search for another channel. If frequency agility is enabled, this specification must be included on the wakeful node side.

本願発明は、上記の問題点に鑑みなされたものであって、その目的は、ネットワークにおけるチャンネルを変更する場合にネットワーク内の全てのノードに対して確実にチャンネル変更を指示することが可能な通信制御装置、ネットワークシステム、通信制御方法、およびプログラムを提供することにある。   The present invention has been made in view of the above problems, and its purpose is communication that can instruct all nodes in the network to change the channel reliably when changing the channel in the network. A control device, a network system, a communication control method, and a program are provided.

本発明のある局面に従うと、通信制御装置は、ルータとエンドデバイスとを備えたネットワークシステムを管理する。通信制御装置は、ルータと通信制御装置との間の通信エラーが発生したことに基づき、当該ルータから、予め定められた複数のチャンネルの各々のエネルギレベルを表したエネルギレベル情報を、複数のチャンネルにおける1つのチャンネルを用いて受信する通信手段と、エネルギレベル情報に基づき、複数のチャンネルの中から変更先となるチャンネルを決定するチャンネル決定手段とを備える。通信手段は、変更前のチャンネルを用いたユニキャストによって、チャンネル情報をルータおよびエンドデバイスに送信する。通信手段は、記チャンネル情報の送信の後に、変更前のチャンネルを用いたユニキャストによって、決定されたチャンネルへの変更タイミングを表したタイミング情報を、ルータおよびエンドデバイスに送信する。   According to an aspect of the present invention, the communication control apparatus manages a network system including a router and an end device. Based on the occurrence of a communication error between the router and the communication control device, the communication control device receives energy level information representing each energy level of a plurality of predetermined channels from the router. Communication means for receiving using one channel and channel determining means for determining a channel to be changed from a plurality of channels based on energy level information. The communication means transmits the channel information to the router and the end device by unicast using the channel before the change. After the transmission of the channel information, the communication means transmits timing information indicating the change timing to the determined channel to the router and the end device by unicast using the channel before the change.

本発明の他の局面に従うと、通信制御装置は、ルータとエンドデバイスとを備えたネットワークシステムを管理する。通信制御装置は、予め定められた複数のチャンネルの1つを用いてルータと通信する通信手段と、複数のチャンネルの中から変更先となるチャンネルを指定する外部入力を受け付ける受付手段とを備える。通信手段は、変更前のチャンネルを用いたユニキャストによって、指定されたチャンネルを表したチャンネル情報を、ルータおよびエンドデバイスに送信する。通信手段は、チャンネル情報の送信の後に、変更前のチャンネルを用いたユニキャストによって、指定されたチャンネルへの変更タイミングを表したタイミング情報を、ルータおよびエンドデバイスに送信する。   According to another aspect of the present invention, the communication control device manages a network system including a router and an end device. The communication control device includes a communication unit that communicates with a router using one of a plurality of predetermined channels, and a reception unit that receives an external input that designates a channel to be changed from among the plurality of channels. The communication means transmits channel information representing the designated channel to the router and the end device by unicast using the channel before the change. After the transmission of the channel information, the communication means transmits timing information indicating the change timing to the designated channel to the router and the end device by unicast using the channel before the change.

本発明のさらに他の局面に従うと、通信制御装置は、ルータとエンドデバイスとを備えたネットワークシステムを管理する。通信制御装置は、ルータと通信制御装置との間の通信エラーが発生したことに基づき、当該ルータから、予め定められた複数のチャンネルの各々のエネルギレベルを表したエネルギレベル情報を、複数のチャンネルにおける1つのチャンネルを用いて受信する通信手段と、エネルギレベル情報をディスプレイに表示させる表示制御手段と、エネルギレベル情報が表示されたことに基づき、複数のチャンネルの中から変更先となるチャンネルを指定する外部入力を受け付ける受付手段とを備える。通信手段は、変更前のチャンネルを用いたユニキャストによって、指定されたチャンネルを表したチャンネル情報を、ルータおよびエンドデバイスに送信する。通信手段は、チャンネル情報の送信の後に、変更前のチャンネルを用いたユニキャストによって、決定されたチャンネルへの変更タイミングを表したタイミング情報を、ルータおよびエンドデバイスに送信する。   According to still another aspect of the present invention, the communication control apparatus manages a network system including a router and an end device. Based on the occurrence of a communication error between the router and the communication control device, the communication control device receives energy level information representing each energy level of a plurality of predetermined channels from the router. A communication means for receiving using one channel in the display, a display control means for displaying energy level information on the display, and a channel to be changed from a plurality of channels based on the display of the energy level information Receiving means for receiving external input. The communication means transmits channel information representing the designated channel to the router and the end device by unicast using the channel before the change. After the transmission of the channel information, the communication means transmits timing information indicating the change timing to the determined channel to the router and the end device by unicast using the channel before the change.

好ましくは、通信制御装置は、チャンネル情報の通信に要した時間を測定する測定手段と、測定された時間に基づき、ルータとエンドデバイスとについての各々の変更タイミングを決定するタイミング決定手段とをさらに備える。   Preferably, the communication control device further includes a measurement unit that measures a time required for communication of the channel information, and a timing determination unit that determines each change timing for the router and the end device based on the measured time. Prepare.

好ましくは、通信制御装置は、タイミング情報を送信する順序を表した順序情報と、ルータと、エンドデバイスとについての各々の変更タイミングを予め記憶した記憶手段をさらに備える。通信手段は、記憶された変更タイミングに基づくタイミング情報を、順序情報に示された順序で、ルータとエンドデバイスとに送信する。   Preferably, the communication control device further includes storage means for storing in advance order information indicating the order in which the timing information is transmitted, and each change timing for the router and the end device. The communication means transmits timing information based on the stored change timing to the router and the end device in the order indicated by the order information.

好ましくは、記憶手段は、通信制御装置とルータと間のユニキャストに対して予め設定された第1の時間を表す第1の時間情報と、通信制御装置とエンドデバイスとの間のユニキャストに対して予め設定された第2の時間を表す第2の時間情報とをさらに記憶している。通信制御装置は、ルータとエンドデバイスとの台数と、順序情報と、第1の時間情報と、第2の時間情報とに基づき、ルータとエンドデバイスとについての各々の変更タイミングを決定するタイミング決定手段をさらに備える。タイミング決定手段は、決定した各変更タイミングを、ルータとエンドデバイスとについての各々の変更タイミングとして、記憶手段に記憶させる。   Preferably, the storage means includes first time information indicating a first time preset for unicast between the communication control apparatus and the router, and unicast between the communication control apparatus and the end device. In addition, second time information representing a second time set in advance is further stored. The communication control apparatus determines timing for determining each change timing for the router and the end device based on the number of routers and end devices, the order information, the first time information, and the second time information. Means are further provided. The timing determination means stores the determined change timings in the storage means as the respective change timings for the router and the end device.

本発明のさらに他の局面に従うと、ネットワークシステムは、ルータと、ルータを親とするエンドデバイスと、ルータおよびエンドデバイスの動作を制御する通信制御装置を備える。ルータは、通信制御装置との間の通信エラーが発生したことに基づき、予め定められた複数のチャンネルの各々のエネルギレベルを表したエネルギレベル情報を、複数のチャンネルにおける1つのチャンネルを用いて、通信制御装置に送信する。通信制御装置は、ルータと通信制御装置との間の通信エラーが発生したことに基づき、当該ルータから、予め定められた複数のチャンネルの各々のエネルギレベルを表したエネルギレベル情報を、複数のチャンネルにおける1つのチャンネルを用いて受信する通信手段と、エネルギレベル情報に基づき、複数のチャンネルの中から変更先となるチャンネルを決定するチャンネル決定手段とを備える。通信手段は、変更前のチャンネルを用いたユニキャストによって、チャンネル情報をルータおよびエンドデバイスに送信する。通信手段は、チャンネル情報の送信の後に、変更前のチャンネルを用いたユニキャストによって、決定されたチャンネルへの変更タイミングを表したタイミング情報を、ルータおよびエンドデバイスに送信する。ルータおよびエンドデバイスは、変更指令に基づき、通信制御装置とのチャンネルを、変更前のチャンネルから決定されたチャンネルに変更する。通信制御装置は、変更指令を送信した後、ルータおよびエンドデバイスとのチャンネルを、エネルギレベル情報を受信したチャンネルから決定されたチャンネルに変更する。   According to still another aspect of the present invention, a network system includes a router, an end device having the router as a parent, and a communication control device that controls operations of the router and the end device. Based on the occurrence of a communication error with the communication control device, the router uses energy level information representing each energy level of a plurality of predetermined channels, using one channel among the plurality of channels, Sent to the communication control device. Based on the occurrence of a communication error between the router and the communication control device, the communication control device receives energy level information representing each energy level of a plurality of predetermined channels from the router. Communication means for receiving using one channel and channel determining means for determining a channel to be changed from a plurality of channels based on energy level information. The communication means transmits the channel information to the router and the end device by unicast using the channel before the change. After the transmission of the channel information, the communication means transmits timing information indicating the change timing to the determined channel to the router and the end device by unicast using the channel before the change. Based on the change command, the router and the end device change the channel with the communication control device to a channel determined from the channel before the change. After transmitting the change command, the communication control device changes the channel with the router and the end device from the channel that received the energy level information to the determined channel.

本発明のさらに他の局面に従うと、ネットワークシステムは、ルータと、ルータを親とするエンドデバイスと、ルータおよびエンドデバイスの動作を制御する通信制御装置を備える。通信制御装置は、予め定められた複数のチャンネルの1つを用いてルータと通信する通信手段と、複数のチャンネルの中から変更先となるチャンネルを指定する外部入力を受け付ける受付手段とを備える。通信手段は、変更前のチャンネルを用いたユニキャストによって、指定されたチャンネルを表したチャンネル情報を、ルータおよびエンドデバイスに送信する。通信手段は、チャンネル情報の送信の後に、変更前のチャンネルを用いたユニキャストによって、指定されたチャンネルへの変更タイミングを表したタイミング情報を、ルータおよびエンドデバイスに送信する。ルータおよびエンドデバイスは、チャンネル情報とタイミング情報とを受信する。ルータおよびエンドデバイスは、通信制御装置とのチャンネルを、変更前のチャンネルから、タイミング情報に示された変更タイミングでチャンネル情報に示されたチャンネルに変更する。通信制御装置は、タイミング情報を送信した後、ルータおよびエンドデバイスとのチャンネルを、変更前のチャンネルから指定されたチャンネルに変更する。   According to still another aspect of the present invention, a network system includes a router, an end device having the router as a parent, and a communication control device that controls operations of the router and the end device. The communication control device includes a communication unit that communicates with a router using one of a plurality of predetermined channels, and a reception unit that receives an external input that designates a channel to be changed from among the plurality of channels. The communication means transmits channel information representing the designated channel to the router and the end device by unicast using the channel before the change. After the transmission of the channel information, the communication means transmits timing information indicating the change timing to the designated channel to the router and the end device by unicast using the channel before the change. Routers and end devices receive channel information and timing information. The router and the end device change the channel with the communication control device from the channel before the change to the channel indicated in the channel information at the change timing indicated in the timing information. After transmitting the timing information, the communication control device changes the channel with the router and end device from the channel before the change to the designated channel.

本発明のさらに他の局面に従うと、ネットワークシステムは、ルータと、ルータを親とするエンドデバイスと、ルータおよびエンドデバイスの動作を制御する通信制御装置を備える。通信制御装置は、ルータと通信制御装置との間の通信エラーが発生したことに基づき、当該ルータから、予め定められた複数のチャンネルの各々のエネルギレベルを表したエネルギレベル情報を、複数のチャンネルにおける1つのチャンネルを用いて受信する通信手段と、エネルギレベル情報をディスプレイに表示させる表示制御手段と、エネルギレベル情報が表示されたことに基づき、複数のチャンネルの中から変更先となるチャンネルを指定する外部入力を受け付ける受付手段とを備える。通信手段は、変更前のチャンネルを用いたユニキャストによって、指定されたチャンネルを表したチャンネル情報を、ルータおよびエンドデバイスに送信する。通信手段は、チャンネル情報の送信の後に、変更前のチャンネルを用いたユニキャストによって、決定されたチャンネルへの変更タイミングを表したタイミング情報を、ルータおよびエンドデバイスに送信する。ルータおよびエンドデバイスは、変更指令に基づき、通信制御装置とのチャンネルを、変更前のチャンネルから決定されたチャンネルに変更する。通信制御装置は、変更指令を送信した後、ルータおよびエンドデバイスとのチャンネルを、エネルギレベル情報を受信したチャンネルから指定されたチャンネルに変更する。   According to still another aspect of the present invention, a network system includes a router, an end device having the router as a parent, and a communication control device that controls operations of the router and the end device. Based on the occurrence of a communication error between the router and the communication control device, the communication control device receives energy level information representing each energy level of a plurality of predetermined channels from the router. A communication means for receiving using one channel in the display, a display control means for displaying energy level information on the display, and a channel to be changed from a plurality of channels based on the display of the energy level information Receiving means for receiving external input. The communication means transmits channel information representing the designated channel to the router and the end device by unicast using the channel before the change. After the transmission of the channel information, the communication means transmits timing information indicating the change timing to the determined channel to the router and the end device by unicast using the channel before the change. Based on the change command, the router and the end device change the channel with the communication control device to a channel determined from the channel before the change. After transmitting the change command, the communication control device changes the channel with the router and the end device from the channel that received the energy level information to the designated channel.

本発明のさらに他の局面に従うと、通信制御方法は、ルータとエンドデバイスとを備えたネットワークシステムを管理する通信制御装置における通信制御方法である。通信制御方法は、通信制御装置が、ルータと通信制御装置との間の通信エラーが発生したことに基づき、当該ルータから、予め定められた複数のチャンネルの各々のエネルギレベルを表したエネルギレベル情報を、複数のチャンネルにおける1つのチャンネルを用いて受信するステップと、通信制御装置が、エネルギレベル情報に基づき、複数のチャンネルの中から変更先となるチャンネルを決定するステップと、通信制御装置が、変更前のチャンネルを用いたユニキャストによって、チャンネル情報をルータおよびエンドデバイスに送信するステップと、通信制御装置が、チャンネル情報の送信の後に、変更前のチャンネルを用いたユニキャストによって、決定されたチャンネルへの変更タイミングを表したタイミング情報を、ルータおよびエンドデバイスに送信するステップとを備える。   According to still another aspect of the present invention, a communication control method is a communication control method in a communication control apparatus that manages a network system including a router and an end device. In the communication control method, energy level information representing the energy level of each of a plurality of predetermined channels from the router based on the occurrence of a communication error between the router and the communication control device. Are received using one channel among the plurality of channels, the communication control device determines a channel to be changed from the plurality of channels based on the energy level information, and the communication control device includes: The step of transmitting the channel information to the router and the end device by unicast using the channel before the change, and the communication control unit are determined by the unicast using the channel before the change after the transmission of the channel information. Timing information indicating the timing of channel changes And transmitting to the end device.

本発明のさらに他の局面に従うと、通信制御方法は、ルータとエンドデバイスとを備えたネットワークシステムを管理する通信制御装置における通信制御方法である。通信制御方法は、通信制御装置が、予め定められた複数のチャンネルの1つを用いてルータと通信するステップと、通信制御装置が、複数のチャンネルの中から変更先となるチャンネルを指定する外部入力を受け付けるステップと、通信制御装置が、変更前のチャンネルを用いたユニキャストによって、指定されたチャンネルを表したチャンネル情報を、ルータおよびエンドデバイスに送信するステップと、通信制御装置が、チャンネル情報の送信の後に、変更前のチャンネルを用いたユニキャストによって、指定されたチャンネルへの変更タイミングを表したタイミング情報を、ルータおよびエンドデバイスに送信するステップとを備える。   According to still another aspect of the present invention, a communication control method is a communication control method in a communication control apparatus that manages a network system including a router and an end device. The communication control method includes a step in which a communication control device communicates with a router using one of a plurality of predetermined channels, and an external in which the communication control device designates a channel to be changed from among the plurality of channels. A step of receiving an input; a step in which the communication control device transmits channel information representing the designated channel to the router and the end device by unicast using the channel before the change; And transmitting the timing information indicating the change timing to the designated channel to the router and the end device by unicast using the channel before the change.

本発明のさらに他の局面に従うと、通信制御方法は、ルータとエンドデバイスとを備えたネットワークシステムを管理する通信制御装置における通信制御方法である。通信制御方法は、通信制御装置が、ルータと通信制御装置との間の通信エラーが発生したことに基づき、当該ルータから、予め定められた複数のチャンネルの各々のエネルギレベルを表したエネルギレベル情報を、複数のチャンネルにおける1つのチャンネルを用いて受信するステップと、通信制御装置が、エネルギレベル情報をディスプレイに表示させるステップと、通信制御装置が、エネルギレベル情報が表示されたことに基づき、複数のチャンネルの中から変更先となるチャンネルを指定する外部入力を受け付けるステップと、通信制御装置が、変更前のチャンネルを用いたユニキャストによって、指定されたチャンネルを表したチャンネル情報を、ルータおよびエンドデバイスに送信するステップと、通信制御装置が、チャンネル情報の送信の後に、変更前のチャンネルを用いたユニキャストによって、決定されたチャンネルへの変更タイミングを表したタイミング情報を、ルータおよびエンドデバイスに送信するステップとを備える。   According to still another aspect of the present invention, a communication control method is a communication control method in a communication control apparatus that manages a network system including a router and an end device. In the communication control method, energy level information representing the energy level of each of a plurality of predetermined channels from the router based on the occurrence of a communication error between the router and the communication control device. On the basis of the display of the energy level information, the step of displaying the energy level information on the display, the step of displaying the energy level information on the display. The step of receiving an external input for designating a channel to be changed from among the channels of the communication, and the communication control unit, by unicast using the channel before the change, channel information representing the designated channel, the router and the end The step of transmitting to the device and the communication controller After transmission of, and transmitting the unicast channel using the pre-change, the timing information represents the timing of changing to the determined channel, the routers and end devices.

本発明のさらに他の局面に従うと、プログラムは、上記の通信制御方法を通信制御装置に実行させる。   When the further another situation of this invention is followed, a program makes a communication control apparatus perform said communication control method.

本発明によれば、ネットワークにおけるチャンネルを変更する場合にネットワーク内の全てのノードに対して確実にチャンネル変更を指示できる。すなわち、スリーピー・エンドデバイスなどは、親と通信できなくなった場合に、他のチャンネルをサーチするという仕様を盛り込まなくてよい。   ADVANTAGE OF THE INVENTION According to this invention, when changing the channel in a network, a channel change can be reliably instruct | indicated with respect to all the nodes in a network. That is, the sleepy end device or the like does not have to include a specification for searching for another channel when communication with the parent becomes impossible.

本発明の実施の形態に係るネットワークの概略構成を示した図である。It is the figure which showed schematic structure of the network which concerns on embodiment of this invention. ネットワークの通信経路を含んだ概略構成を示した図である。It is the figure which showed schematic structure including the communication path | route of a network. コーディネータと、ルータと、エンドデバイスとの機能をまとめた対比図である。It is a contrast diagram which put together the function of a coordinator, a router, and an end device. ゲートウェイのブロック図である。It is a block diagram of a gateway. エアコンのブロック図である。It is a block diagram of an air conditioner. 消費電力測定器のハードウェア構成を表した図である。It is a figure showing the hardware constitutions of the power consumption measuring device. ゲートウェイによるチャンネル情報の送信処理を説明するための図である。It is a figure for demonstrating the transmission process of the channel information by a gateway. ゲートウェイによるタイミング情報の送信処理を説明するための図である。It is a figure for demonstrating the transmission process of the timing information by a gateway. 設定されたタイマの設定時間の一例を説明するための図である。It is a figure for demonstrating an example of the setting time of the set timer. ゲートウェイの処理のフローを表したフローチャートである。It is a flowchart showing the flow of processing of a gateway. 他のゲートウェイの処理のフローを表したフローチャートである。It is a flowchart showing the flow of processing of another gateway. ゲートウェイにおける設定ツールを表示させるための選択画面を表した図である。It is a figure showing the selection screen for displaying the setting tool in a gateway. ローカルノードについての設定画面を表した図である。It is a figure showing the setting screen about a local node. リモートノードについての設定画面を表した図である。It is a figure showing the setting screen about a remote node. チャンネル自動切替モードにおける、ネットワーク全体についての設定画面を表した図である。It is a figure showing the setting screen about the whole network in channel automatic switching mode. チャンネル手動切替モードにおける、ネットワーク全体についての設定画面332を表した図である。It is a figure showing the setting screen 332 about the whole network in channel manual switching mode. ゲートウェイの機能ブロック図である。It is a functional block diagram of a gateway. ゲートウェイがエネルギレベルの通知(Mgmt_NWK_UPdate_notify)を受取ったときのログを表した図である。It is a figure showing the log when a gateway receives the notification (Mgmt_NWK_UPdate_notify) of an energy level. ゲートウェイにおける実装方法を説明するための図である。It is a figure for demonstrating the mounting method in a gateway. 他の実施の形態のゲートウェイ1001の処理のフローを表したフローチャートである。It is a flowchart showing the flow of the process of the gateway 1001 of other embodiment. ネットワーク全体についての設定画面を表した図である。It is a figure showing the setting screen about the whole network. ゲートウェイの機能ブロック図である。It is a functional block diagram of a gateway. ZigBee(登録商標)でのチャンネルの構成と、無線LAN(IEEE802.11b)でのチャンネルの構成とを説明するための図である。FIG. 3 is a diagram for explaining a channel configuration in ZigBee (registered trademark) and a channel configuration in a wireless LAN (IEEE802.11b).

以下、図面を参照しつつ、本発明の実施の形態に係るネットワークについて説明する。以下の説明では、同一の部品には同一の符号を付してある。それらの名称および機能も同じである。したがって、それらについての詳細な説明は繰り返さない。   Hereinafter, a network according to an embodiment of the present invention will be described with reference to the drawings. In the following description, the same parts are denoted by the same reference numerals. Their names and functions are also the same. Therefore, detailed description thereof will not be repeated.

〔実施の形態1〕
<A.ネットワークの概要>
図1は、本発明の実施の形態に係るネットワークの概略構成を示した図である。図1を参照して、ネットワークZは、低速無線通信ネットワーク(主にZigBee(登録商標)を想定)を示す。ネットワークEは、高速通信ネットワーク(主に、Ethernet(登録商標)やWiFi(登録商標)を想定)を示す。ネットワークZは、ゲートウェイ(通信制御装置)1001と、ブロードバンドルータ1002と、複数の消費電力測定器1004と、複数の家電機器(エアコン1005,冷蔵庫1006,洗濯乾燥機1007など)と、複数の各種センサ(温湿度センサや照度センサ、人感センサなど)1008とを備える。
[Embodiment 1]
<A. Network Overview>
FIG. 1 is a diagram showing a schematic configuration of a network according to an embodiment of the present invention. With reference to FIG. 1, a network Z indicates a low-speed wireless communication network (mainly assuming ZigBee (registered trademark)). The network E indicates a high-speed communication network (mainly assuming Ethernet (registered trademark) or WiFi (registered trademark)). The network Z includes a gateway (communication control device) 1001, a broadband router 1002, a plurality of power consumption measuring devices 1004, a plurality of home appliances (such as an air conditioner 1005, a refrigerator 1006, and a washing dryer 1007), and a plurality of various sensors. (Temperature / humidity sensor, illuminance sensor, human sensor, etc.) 1008.

ゲートウェイ1001と、複数の消費電力測定器1004と、複数の家電機器1005,1006,1007と、複数の各種センサ1008とは、それぞれ、低速無線通信モジュールCM(以下、「無線モジュール」とも称する)を備える。図1では、低速無線通信モジュールCMのアンテナが外部アンテナのように図示されているが、アンテナはそれぞれの機器に内蔵されていてもよい。   The gateway 1001, the plurality of power consumption measuring devices 1004, the plurality of home appliances 1005, 1006, and 1007, and the plurality of various sensors 1008 each include a low-speed wireless communication module CM (hereinafter also referred to as “wireless module”). Prepare. In FIG. 1, the antenna of the low-speed wireless communication module CM is illustrated as an external antenna, but the antenna may be incorporated in each device.

また、ゲートウェイ1001と、複数の消費電力測定器1004と、複数の家電機器1005〜1007と、各種センサ1008とにより、ネットワークZを構成する。   Further, the gateway Z1, the plurality of power consumption measuring devices 1004, the plurality of home appliances 1005 to 1007, and the various sensors 1008 constitute a network Z.

ゲートウェイ1001は、低速無線通信モジュールCMを備えた情報処理端末である。ゲートウェイ1001は、入力手段と表示手段とを備える。以下では、一例として、ゲートウェイ1001がタッチパネル付きディスプレイを備える構成であるとして説明する。   The gateway 1001 is an information processing terminal provided with a low-speed wireless communication module CM. The gateway 1001 includes input means and display means. Hereinafter, as an example, the gateway 1001 will be described as a configuration including a display with a touch panel.

ゲートウェイ1001は、高速通信ネットワークによりブロードバンドルータ1002に接続されている。ゲートウェイ1001は、複数の消費電力測定器1004との間で低速度の無線通信を行なう。図1に消費電力測定器1004は1つしか描かれていないが実際には複数台存在するものとする。また、ゲートウェイ1001は、家電機器1005〜1007および各種センサ1008との間においても、低速度の無線通信を行なう。   The gateway 1001 is connected to the broadband router 1002 by a high-speed communication network. The gateway 1001 performs low-speed wireless communication with a plurality of power consumption measuring devices 1004. Although only one power consumption measuring device 1004 is depicted in FIG. 1, it is assumed that there are actually a plurality of power consumption measuring devices 1004. The gateway 1001 also performs low-speed wireless communication with the home appliances 1005 to 1007 and the various sensors 1008.

以下では、詳細については後述するが、消費電力測定器1004はルータまたはエンドデバイスとして動作している。また、家電機器1005,1006,1007および各種センサ1008についても、ルータまたはエンドデバイスとして動作している。   Although details will be described later, the power consumption measuring device 1004 operates as a router or an end device. The home appliances 1005, 1006, 1007 and various sensors 1008 also operate as routers or end devices.

図2は、ネットワークZの通信経路を含んだ概略構成を示した図である。以下では、ネットワークZとして、家電向けの短距離無線通信規格の一つであるZigBee(登録商
標)を用いた例について説明する。なお、ZigBee(登録商標)は、Blootooth(登録商標)よりも低速かつ伝送距離も短いが、省電力かつ低コストという利点がある。
FIG. 2 is a diagram showing a schematic configuration including a communication path of the network Z. Below, the example using ZigBee (trademark) which is one of the short-range wireless communication standards for household appliances as the network Z is demonstrated. ZigBee (registered trademark) has lower speed and shorter transmission distance than Bluetooth (registered trademark), but has an advantage of power saving and low cost.

図2を参照して、ネットワークZは、ゲートウェイ1001と、ゲートウェイ1001との間で通信を行なう複数の通信機器11〜16とを備えている。なお、ゲートウェイ1001は、コーディネータとして機能する。各通信機器11〜16は、ルータまたはエンドデバイスのいずれかとして機能している。なお、通信機器は、6個に限定されるものではなく、ネットワークZに含まれるルータおよびエンドデバイスの数だけ存在する。また、図1の複数の消費電力測定器1004と、複数の家電機器1005,1006,1007と、複数の各種センサ1008とにおける各機器が、通信機器のいずれかに相当する。   Referring to FIG. 2, network Z includes a gateway 1001 and a plurality of communication devices 11 to 16 that communicate with gateway 1001. The gateway 1001 functions as a coordinator. Each of the communication devices 11 to 16 functions as either a router or an end device. Note that the number of communication devices is not limited to six, and there are as many communication devices as the number of routers and end devices included in the network Z. In addition, each device in the plurality of power consumption measuring devices 1004, the plurality of home appliances 1005, 1006, and 1007, and the plurality of various sensors 1008 in FIG. 1 corresponds to one of communication devices.

通信機器11,14は、ルータとして機能している。通信機器12,13,15,16は、エンドデバイスとして機能している。つまり、通信機器12,13,15,16は、データの中継を行なわない。   The communication devices 11 and 14 function as routers. The communication devices 12, 13, 15, and 16 function as end devices. That is, the communication devices 12, 13, 15, and 16 do not relay data.

通信機器11は、通信機器12,13の親機である。つまり、通信機器12,13は、通信機器11を介してコーディネータであるゲートウェイ1001と通信する。また、通信機器14は、通信機器15の親機である。つまり、通信機器15は、通信機器14を介してゲートウェイ1001と通信する。通信機器16は、ルータを介さず、ゲートウェイ1001と通信する。   The communication device 11 is a parent device of the communication devices 12 and 13. That is, the communication devices 12 and 13 communicate with the gateway 1001 that is a coordinator via the communication device 11. The communication device 14 is a parent device of the communication device 15. That is, the communication device 15 communicates with the gateway 1001 via the communication device 14. The communication device 16 communicates with the gateway 1001 without using a router.

図2における丸印で囲まれた数字1〜6は、ゲートウェイ1001が通信を行なう順序を表している。詳しくは後述するが、ゲートウェイ1001は、数字で指定された順序通り(つまり、1,2,3,4,5,6…の順)に、各通信機器11〜16とユニキャストを行なう(図7〜図9)。なお、ゲートウェイ1001は、当該順序を表した順序情報を予め格納している。   Numbers 1 to 6 surrounded by circles in FIG. 2 represent the order in which the gateway 1001 performs communication. As will be described in detail later, the gateway 1001 performs unicast with each of the communication devices 11 to 16 in the order designated by numerals (that is, in the order of 1, 2, 3, 4, 5, 6...) (FIG. 7 to 9). Note that the gateway 1001 stores in advance order information representing the order.

以下では、ネットワークZの詳細な説明を行なう前に、まず、ZigBee(登録商標)で使用されるデバイスについて説明する。ZigBee(登録商標)で使用されるデバイスは、物理デバイスと論理デバイスとの観点から区分される。   In the following, before detailed description of the network Z, devices used in ZigBee (registered trademark) will be described first. Devices used in ZigBee (registered trademark) are classified from the viewpoints of physical devices and logical devices.

物理デバイスの観点から、ZigBee(登録商標)で使用されるデバイスは、IEEE802.15.4の規格に応じて、フル機能を備えたFFD(Full-Function Device
)と、一部の機能を省略したRFD(Reduced-Function Device)とに分類できる。FFDは、ルーティング機能が備わっている。このため、FFDは、データを中継することができる。一方、RFDは、ルーティング機能が備わっていない。このため、RFDは、データを中継することができない。
From the viewpoint of a physical device, a device used in ZigBee (registered trademark) is an FFD (Full-Function Device) having a full function according to the IEEE 802.15.4 standard.
) And RFD (Reduced-Function Device) in which some functions are omitted. The FFD has a routing function. For this reason, FFD can relay data. On the other hand, the RFD does not have a routing function. For this reason, the RFD cannot relay data.

論理デバイスの観点から、ZigBee(登録商標)で使用されるデバイスは、コーディネータと、ルータと、エンドデバイスとに分類できる。コーディネータは、ネットワークに必ず1つだけ存在する。ルータは、ネットワーク内に複数存在することが可能である。ルータによって、データがノードを次々に渡っていくマルチホップネットワークを実現できる。   From the viewpoint of logical devices, devices used in ZigBee (registered trademark) can be classified into coordinators, routers, and end devices. There is always only one coordinator in the network. There can be a plurality of routers in the network. A router can realize a multi-hop network in which data passes one node after another.

コーディネータおよびルータは、ルーティング機能が備わるFFDでなければならい。エンドデバイスは、FFDであってもRFDであってもよい。   The coordinator and router must be FFDs with a routing function. The end device may be FFD or RFD.

図3は、コーディネータと、ルータと、エンドデバイスとの機能をまとめた対比図である。図3を参照して、エンドデバイスには、スリーピー・エンドデバイスと、ウェイクフル・エンドデバイス(Wakeful end device)とがある。スリーピー・エンドデバイスとウェイクフル・エンドデバイスとの相違点については、後述する。   FIG. 3 is a comparison diagram summarizing the functions of the coordinator, the router, and the end device. Referring to FIG. 3, the end devices include a sleepy end device and a wakeful end device. Differences between the sleepy end device and the wakeful end device will be described later.

コーディネータ(つまり、ゲートウェイ1001)は、上述したようにネットワークの立ち上げ機能を有するが、ルータおよびエンドデバイスは、ネットワークの立ち上げ機能を有していない。また、コーディネータおよびルータは、中継機能を有するが、エンドデバイスは中継機能を有していない。   The coordinator (that is, the gateway 1001) has a network startup function as described above, but the router and the end device do not have a network startup function. Further, the coordinator and the router have a relay function, but the end device does not have the relay function.

コーディネータおよびルータは、スリープ不可である。スリーピー・エンドデバイスは、スリープできる。より詳しくは、スリーピー・エンドデバイスは、定期的にスリープ状態から起き上がる。一方、ウェイクフル・エンドデバイスは、スリープせずに起きている。   The coordinator and router cannot sleep. Sleepy end devices can sleep. More specifically, the sleepy end device periodically wakes up from a sleep state. On the other hand, the wakeful end device is awake without sleeping.

スリーピー・エンドデバイスがスリープできる理由は、常に受信する必要がないためである。従って、一般的に言えばコーディネータとルータの消費電力は高くなる。スリーピー・エンドデバイスの消費電力は低くなる。ウェイクフル・エンドデバイスの消費電力は、常時起きているため、スリーピー・エンドデバイスの消費電力よりも高くなる。なお、参考までに、ある消費電力測定器をルータとして動作させた場合の消費電力の実測値は約0.4Wであり、スリーピー・エンドデバイスとして動作させた場合の消費電力の実測値は約0.1Wであった。   The reason that the sleepy end device can sleep is that it does not always need to receive. Therefore, generally speaking, the power consumption of the coordinator and the router is high. The power consumption of sleepy end devices is low. The power consumption of the wakeful end device is higher than the power consumption of the sleepy end device because it always occurs. For reference, an actual measurement value of power consumption when a certain power consumption measuring device is operated as a router is about 0.4 W, and an actual measurement value of power consumption when operated as a sleepy end device is about 0. It was 1W.

以下では、ネットワークZには、エンドデバイスは、全てスリーピー・エンドデバイスであるとして説明を行なう。つまり、ネットワークZには、ウェイクフル・エンドデバイスは含まれていないものとして説明する。   In the following description, it is assumed in the network Z that all end devices are sleepy end devices. That is, the network Z is described as not including a wakeful end device.

<B.ゲートウェイの構成>
図4は、ゲートウェイ1001のブロック図である。図4を参照して、ゲートウェイ1001は、制御部1101と、操作部1102と、表示部1103と、高速通信インターフェイス部1104と、電源部1105と、無線RF(Radio Freaquency)内蔵通信コントローラ部1106と、アンテナ1107と、設定ボタン1108とを備える。
<B. Gateway configuration>
FIG. 4 is a block diagram of the gateway 1001. Referring to FIG. 4, gateway 1001 includes control unit 1101, operation unit 1102, display unit 1103, high-speed communication interface unit 1104, power supply unit 1105, and wireless RF (Radio Freaquency) built-in communication controller unit 1106. , An antenna 1107 and a setting button 1108.

無線RF内蔵通信コントローラ部1106は、CPU(Central Processing Unit)1161と、ROM(Read Only Memory)1162と、RAMRandom Access Memory)1163と、GPIO(General Purpose Input/Output)1164と、無線RF部1165と、UART(Universal Asynchronous Receiver Transmitter)1166とを含む。なお、無線RF内蔵通信コントローラ部1106が、ZigBee(登録商標)コーディネータ部に該当する。また、ROM1162と、RAM1163と、UART1166と、GPIO1164と、無線RF部1165とは、それぞれ、CPU1161に接続されている。   A wireless RF built-in communication controller unit 1106 includes a CPU (Central Processing Unit) 1161, a ROM (Read Only Memory) 1162, a RAM Random Access Memory (1633), a GPIO (General Purpose Input / Output) 1164, and a wireless RF unit 1165. UART (Universal Asynchronous Receiver Transmitter) 1166. Note that the wireless RF built-in communication controller unit 1106 corresponds to a ZigBee (registered trademark) coordinator unit. The ROM 1162, the RAM 1163, the UART 1166, the GPIO 1164, and the wireless RF unit 1165 are connected to the CPU 1161, respectively.

無線RF内蔵通信コントローラ部1106は、アンテナ1107と接続されている。無線RF内蔵通信コントローラ部1106は、ネットワークZ上に存在する通信機器との間の通信を制御する。   The wireless RF built-in communication controller unit 1106 is connected to the antenna 1107. The wireless RF built-in communication controller unit 1106 controls communication with communication devices existing on the network Z.

制御部1101のOS(Operating System)は、たとえばLinux(登録商標)を用いることができる。制御部1101は、CPU1161に比べて高性能なCPUを備えており、またメモリも豊富である。当該構成によって、ゲートウェイ1001は、高度な情報処理を実現できる。   As the OS (Operating System) of the control unit 1101, for example, Linux (registered trademark) can be used. The control unit 1101 includes a high-performance CPU compared to the CPU 1161, and has abundant memory. With this configuration, the gateway 1001 can realize advanced information processing.

操作部1102は、スイッチおよびタッチパネル等の入力デバイスである。表示部1103は、画像を表示するためのディスプレイ(たとえば、液晶ディスプレイ)である。   The operation unit 1102 is an input device such as a switch and a touch panel. The display unit 1103 is a display (for example, a liquid crystal display) for displaying an image.

高速通信インターフェイス部1104は、ブロードバンドルータ1002との間でEthernet(登録商標)またはWiFi(登録商標)を用いた通信を行なうためのインターフェイスである。電源部1105は、制御部1101と無線RF内蔵通信コントローラ部1106とに電力を供給する。   The high-speed communication interface unit 1104 is an interface for performing communication with the broadband router 1002 using Ethernet (registered trademark) or WiFi (registered trademark). The power supply unit 1105 supplies power to the control unit 1101 and the wireless RF built-in communication controller unit 1106.

制御部1101は、操作部1102、表示部1103と、高速通信インターフェイス部1104と、電源部1105と、無線RF内蔵通信コントローラ部1106とに接続されている。制御部1101は、ゲートウェイ1001の全体的な動作を制御する。制御部1101は、操作部1102からの入力を受け付ける。また、制御部1101は、表示部1103に出力指示を出す。   The control unit 1101 is connected to the operation unit 1102, the display unit 1103, the high-speed communication interface unit 1104, the power supply unit 1105, and the wireless RF built-in communication controller unit 1106. The control unit 1101 controls the overall operation of the gateway 1001. The control unit 1101 receives an input from the operation unit 1102. In addition, the control unit 1101 issues an output instruction to the display unit 1103.

<C.家電機器の構成>
図5は、エアコン1005(図1参照)のブロック図である。なお、他の家電機器1006,1007も類似のブロックを有するため、ここでは説明を繰り返さない。
<C. Configuration of home appliances>
FIG. 5 is a block diagram of an air conditioner 1005 (see FIG. 1). Note that other home appliances 1006 and 1007 also have similar blocks, and thus description thereof will not be repeated here.

図5を参照して、エアコン1005は、制御部1501と、操作部1502と、表示部1503と、センサ部1504と、電源部1505と、低速無線通信モジュール1506と、アンテナ1507と、制御対象1508とを備える。   Referring to FIG. 5, an air conditioner 1005 includes a control unit 1501, an operation unit 1502, a display unit 1503, a sensor unit 1504, a power supply unit 1505, a low-speed wireless communication module 1506, an antenna 1507, and a control target 1508. With.

操作部1502は、スイッチ等の入力デバイスである。表示部1503は、LED等の
出力デバイスである。センサ部1504は、たとえば、温度センサ、湿度センサである。電源部1505は、制御部1501と低速無線通信モジュール1506とに電力を供給する。
The operation unit 1502 is an input device such as a switch. The display unit 1503 is an output device such as an LED. The sensor unit 1504 is, for example, a temperature sensor or a humidity sensor. The power supply unit 1505 supplies power to the control unit 1501 and the low-speed wireless communication module 1506.

制御部1501は、操作部1502、表示部1503と、センサ部1504と、電源部1505と、低速無線通信モジュール1506とに接続されている。制御部1501は、エアコン1005の全体的な動作を制御する。制御部1501は、一般的に組込みマイコンで実現される。   The control unit 1501 is connected to the operation unit 1502, the display unit 1503, the sensor unit 1504, the power supply unit 1505, and the low-speed wireless communication module 1506. A control unit 1501 controls the overall operation of the air conditioner 1005. The control unit 1501 is generally realized by an embedded microcomputer.

制御部1501は、操作部1502からの入力を受け付ける。また、制御部1501は、表示部1503に出力指示を出す。また、制御部1501は、センサ部1504による入力を受け付ける。制御部1501は、コンプレッサ等の制御対象1508を制御する。   The control unit 1501 receives an input from the operation unit 1502. In addition, the control unit 1501 issues an output instruction to the display unit 1503. In addition, the control unit 1501 receives an input from the sensor unit 1504. The control unit 1501 controls a control target 1508 such as a compressor.

より詳しくは、制御部1501は、CPUと、RAMと、ROMと、UARTと、GPIOと、ADC(Analog Digital Converter)とで構成される。RAMと、ROMと、UARTと、GPIOとは、それぞれ、CPUに接続されている。ADCは、センサ部1504に接続される。   More specifically, the control unit 1501 includes a CPU, a RAM, a ROM, a UART, a GPIO, and an ADC (Analog Digital Converter). The RAM, ROM, UART, and GPIO are each connected to the CPU. The ADC is connected to the sensor unit 1504.

低速無線通信モジュール1506は、アンテナ1507と接続されている。低速無線通信モジュール1506は、ネットワークZ上に存在するゲートウェイ1001や通信機器との間の通信を制御する。低速無線通信モジュール1506は、CPUと、RAMと、ROMと、UARTと、GPIOと、無線RF部で構成される。RAMと、ROMと、UARTと、GPIOとは、それぞれ、CPUに接続されている。低速無線通信モジュール1506と制御部1501とはUARTで接続されている。   The low-speed wireless communication module 1506 is connected to the antenna 1507. The low-speed wireless communication module 1506 controls communication with the gateway 1001 and communication devices existing on the network Z. The low speed wireless communication module 1506 includes a CPU, a RAM, a ROM, a UART, a GPIO, and a wireless RF unit. The RAM, ROM, UART, and GPIO are each connected to the CPU. The low-speed wireless communication module 1506 and the control unit 1501 are connected by UART.

<D.消費電力測定器の構成>
図6は、消費電力測定器1004のハードウェア構成を表した図である。図6を参照して、消費電力測定器1004は、ソケット2101と、プラグ2102と、シャント抵抗2103と、電源部2104と、LED2105と、設定ボタン2106と、アンテナ2107と、電力センサ部2110と、無線RF内蔵通信コントローラ部2120と、配線2131と、配線2132と、配線2133とを備える。
<D. Configuration of power consumption measuring instrument>
FIG. 6 is a diagram illustrating a hardware configuration of the power consumption measuring device 1004. Referring to FIG. 6, a power consumption measuring device 1004 includes a socket 2101, a plug 2102, a shunt resistor 2103, a power supply unit 2104, an LED 2105, a setting button 2106, an antenna 2107, a power sensor unit 2110, A wireless RF built-in communication controller unit 2120, a wiring 2131, a wiring 2132, and a wiring 2133 are provided.

無線RF内蔵通信コントローラ部2120は、CPU2121と、ROM2122と、RAM2123と、GPIO2124と、無線RF部2125とを含む。   The wireless RF built-in communication controller unit 2120 includes a CPU 2121, a ROM 2122, a RAM 2123, a GPIO 2124, and a wireless RF unit 2125.

配線2132と配線2133とは、シャント抵抗2103により接続されている。シャント抵抗2103は電流を測定するために使われる微小な(数百マイクロΩ)抵抗である。   The wiring 2132 and the wiring 2133 are connected by a shunt resistor 2103. The shunt resistor 2103 is a very small (several hundred micro ohms) resistor used for measuring current.

ソケット2101とプラグ2102とは、配線2131〜2133およびシャント抵抗2103で接続されている。配線2131は、プラグ2102の一方の端子およびソケット2101の一方の端子に接続されている。配線2132は、プラグ2102の他方の端子とシャント抵抗2103の一方の端部とに接続されている。配線2133は、ソケット2101の他方の端子とシャント抵抗2103の他方の端部とに接続されている。   The socket 2101 and the plug 2102 are connected by wirings 2131 to 2133 and a shunt resistor 2103. The wiring 2131 is connected to one terminal of the plug 2102 and one terminal of the socket 2101. The wiring 2132 is connected to the other terminal of the plug 2102 and one end of the shunt resistor 2103. The wiring 2133 is connected to the other terminal of the socket 2101 and the other end of the shunt resistor 2103.

電源部2104は、配線2132に接続されている。電源部2104は、交流を直流に変換する。電源部2104は、変換により得られた直流電力を電力センサ部2110と無線RF内蔵通信コントローラ部2120とに与える。   The power supply unit 2104 is connected to the wiring 2132. The power supply unit 2104 converts alternating current into direct current. The power supply unit 2104 gives the DC power obtained by the conversion to the power sensor unit 2110 and the wireless RF built-in communication controller unit 2120.

電力センサ部2110は、配線2131と配線2132との間の電圧(電位差)とシャント抵抗2103に流れる電流の電流値とに基づいた周波数信号を、低速無線通信モジュール2120のGPIO2124に出力(パルス出力)する。   The power sensor unit 2110 outputs a frequency signal based on the voltage (potential difference) between the wiring 2131 and the wiring 2132 and the current value of the current flowing through the shunt resistor 2103 to the GPIO 2124 of the low-speed wireless communication module 2120 (pulse output). To do.

CPU2121は、GPIO2124から取得した上記周波数信号をデータ変換する。無線RF部2125は、データ変換により得られた信号を、アンテナ2107を用いてゲートウェイ1001に送信する。   The CPU 2121 performs data conversion on the frequency signal acquired from the GPIO 2124. The wireless RF unit 2125 transmits a signal obtained by data conversion to the gateway 1001 using the antenna 2107.

ROM2122には、CPU2121が実行するプログラム等が格納されている。RAM2123は、CPU2121が処理するデータおよび処理したデータを一時的に格納する。   The ROM 2122 stores programs executed by the CPU 2121. The RAM 2123 temporarily stores data processed by the CPU 2121 and processed data.

LED2105は、消費電力測定器1004のデータ処理状態を、点滅および/または点灯させる色等により表す。設定ボタン2106は、ユーザによる消費電力測定器1004の初期設定等のために用いられる。   The LED 2105 represents the data processing state of the power consumption measuring device 1004 by a blinking color and / or a lighting color. The setting button 2106 is used for initial setting of the power consumption measuring device 1004 by the user.

<E.ゲートウェイの処理内容>
以下では、ゲートウェイ1001の処理の概要について説明する。ゲートウェイ1001は、動作モードとして、チャンネルを自動で切り替えるモード(以下、「チャンネル自動切替モード」と称する)と、チャンネルを手動で切り替えるモード(以下、「チャンネル手動切替モード」と称する)とを備えている。
<E. Processing details of gateway>
Below, the outline | summary of the process of the gateway 1001 is demonstrated. The gateway 1001 includes, as operation modes, a mode for automatically switching channels (hereinafter referred to as “channel automatic switching mode”) and a mode for manually switching channels (hereinafter referred to as “channel manual switching mode”). Yes.

チャンネル自動切替モードでは、ゲートウェイ1001が、通信機器11などから報告される各チャンネルのエネルギレベル情報等に基づき、変更先チャンネルを自動選択し、通信システムZで用いるチャンネルを当該選択したチャンネルに変更する。一方、チャンネル手動切替モードでは、ユーザがエネルギレベルを確認した後等に、ゲートウェイ1001は、通信システムZで用いるチャンネルをユーザが指定したチャンネルに変更する。つまり、チャンネル手動切替モードでは、ゲートウェイ1001は、チャンネルを自動選択するのではなく、ユーザの指示に基づいたチャンネルを変更先のチャンネルとして設定する。   In the automatic channel switching mode, the gateway 1001 automatically selects a change destination channel based on the energy level information of each channel reported from the communication device 11 or the like, and changes the channel used in the communication system Z to the selected channel. . On the other hand, in the channel manual switching mode, after the user confirms the energy level, the gateway 1001 changes the channel used in the communication system Z to the channel designated by the user. That is, in the channel manual switching mode, the gateway 1001 does not automatically select a channel, but sets a channel based on a user instruction as a channel to be changed.

以下では、まず、ゲートウェイ1001の動作モードが「チャンネル自動切替モード」である場合について説明する。次いで、ゲートウェイ1001の動作モードが「チャンネル手動切替モード」である場合について説明する。なお、ゲートウェイ1001は、ユーザの指示により、動作モードを「チャンネル自動切替モード」と「チャンネル手動切替モード」との間で切り替えることができる。   Hereinafter, a case where the operation mode of the gateway 1001 is “channel automatic switching mode” will be described first. Next, a case where the operation mode of the gateway 1001 is “channel manual switching mode” will be described. The gateway 1001 can switch the operation mode between “channel automatic switching mode” and “channel manual switching mode” in accordance with a user instruction.

[E―1.チャンネル自動切替モード]
以下では、まず、ゲートウェイ1001がエネルギレベル情報をルータである通信機器から受信した場合における、チャンネルの変更の要否の判断と、変更先のチャンネルの決定との具体的な処理を説明する(E−1−1)。次いで、決定されたチャンネルへの変更指令の送信処理について説明する。
[E-1. Channel automatic switching mode]
In the following, specific processing of determining whether or not to change a channel and determining a channel to be changed when the gateway 1001 receives energy level information from a communication device as a router will be described (E -1-1). Next, a process for transmitting a change command to the determined channel will be described.

当該変更指令は、決定されたチャンネルを表したチャンネル情報と、決定された通信チャネルへの変更タイミングを表したタイミング情報とに分けられる。詳細については後述するが、ゲートウェイ1001は、チャンネル情報を送信した後に、タイミング情報を送信する。そこで、チャンネル情報の送信について説明した後(E−1−2,図7)、タイミング情報の送信について説明する(E−1−3,図8,図9)。最後に、タイミング情報におけるタイミングの設定例について説明する(E−1−4)。なお、「チャンネル情報」の通知コマンド及び「タイミング情報」の通知コマンドは、非特許文献2の記載の“Mgmt_NWK_Updat_req”とは異なるものである。   The change command is divided into channel information representing the determined channel and timing information representing the change timing to the determined communication channel. Although details will be described later, the gateway 1001 transmits timing information after transmitting channel information. Therefore, after describing transmission of channel information (E-1-2, FIG. 7), transmission of timing information will be described (E-1-3, FIG. 8, FIG. 9). Finally, an example of setting timing in the timing information will be described (E-1-4). The “channel information” notification command and the “timing information” notification command are different from “Mgmt_NWK_Updat_req” described in Non-Patent Document 2.

(E−1−1.エネルギレベル情報に基づくチャンネル変更処理の概要)
ゲートウェイ1001は、エネルギレベルを少なくとも1つのルータから受信したことに基づき、チャンネルの変更の要否を判断する。ゲートウェイ1001は、エネルギレベルを送信してこないルータがある場合には、当該ルータに対してエネルギレベルを通知するように指示してもよい。エネルギレベルの具体例については、後述する(図8)。
(E-1-1. Overview of channel change processing based on energy level information)
The gateway 1001 determines whether it is necessary to change the channel based on the reception of the energy level from at least one router. When there is a router that does not transmit the energy level, the gateway 1001 may instruct the router to notify the energy level. A specific example of the energy level will be described later (FIG. 8).

ゲートウェイ1001によるチャンネルを変更するか否かの判断基準は、様々に設定できる。例えば、以下のような判断基準を用いることができる。   Various criteria for determining whether to change the channel by the gateway 1001 can be set. For example, the following criteria can be used.

ネットワークマネージャ自身の送信失敗率を以下の式(1)によって求める。
送信失敗率=(送信失敗カウント)/(送信回数)*100 … (1)
ネットワークマネージャは、送信失敗率が50%未満ならば何もしない。
The transmission failure rate of the network manager itself is obtained by the following equation (1).
Transmission failure rate = (transmission failure count) / (number of transmissions) * 100 (1)
The network manager does nothing if the transmission failure rate is less than 50%.

また、ネットワークマネージャは、送信失敗率が前回チャネル使用時の送信失敗率より低ければ何もしない。前回チャネル使用時のデータがなければ、この判定は使われない。   Further, the network manager does nothing if the transmission failure rate is lower than the transmission failure rate when the previous channel is used. If there is no data for the previous channel use, this decision is not used.

ネットワークマネージャは、送信失敗率が50%以上、かつ前回チャネル時の送信失敗率より高ければ、チャネル変更を決断する。この場合、ネットワークマネージャは、エネルギレベルが低いチャネルを1つ選んで、チャネル変更コマンドを送信する。エネルギレベルが低いチャネルを選択するときに、各ルータから通知されたエネルギレベルの情報を用いることができる。   The network manager decides to change the channel if the transmission failure rate is 50% or higher and is higher than the transmission failure rate in the previous channel. In this case, the network manager selects one channel having a low energy level and transmits a channel change command. When a channel having a low energy level is selected, information on the energy level notified from each router can be used.

(E−1−2.チャンネル情報の送信処理)
図7は、ゲートウェイ1001によるチャンネル情報の送信処理を説明するための図である。具体的には、図7は、チャンネル情報の送信順序を説明するための図である。チャンネル情報の送信順序は、上述した順序情報(図2)に基づく。
(E-1-2. Channel information transmission processing)
FIG. 7 is a diagram for explaining channel information transmission processing by the gateway 1001. Specifically, FIG. 7 is a diagram for explaining the transmission order of channel information. The transmission order of channel information is based on the above-described order information (FIG. 2).

図7(a)を参照して、ゲートウェイ1001は、まず、変更前のチャンネルを用いたユニキャスト(UNICAST)によって、チャンネル情報を通信機器11に送信する。「ユニキャスト」とは、ネットワーク内で、単一のアドレスを指定して特定の相手に対してのみデータを送信することである。ユニキャストのときは、MAC層でACKを確認するので、相手に届いているかどうか分かる。   With reference to FIG. 7A, the gateway 1001 first transmits channel information to the communication device 11 by unicast (UNICAST) using the channel before the change. “Unicast” refers to transmitting data only to a specific partner by designating a single address in the network. In the case of unicast, since the ACK is confirmed in the MAC layer, it can be determined whether or not the other party has arrived.

図7(b)を参照して、ゲートウェイ1001は、次に、ユニキャストによって、チャンネル情報を通信機器14に送信する。以下、同様に、ゲートウェイ1001は、通信機器13,15,12,16に対して、チャンネル情報をユニキャストで送信する(図7(c)〜(f)参照)。   With reference to FIG.7 (b), the gateway 1001 next transmits channel information to the communication apparatus 14 by unicast. Hereinafter, similarly, the gateway 1001 transmits channel information to the communication devices 13, 15, 12, and 16 by unicast (see FIGS. 7C to 7F).

以上のように、ゲートウェイ1001は、チャンネル情報をユニキャストによってネットワークZ内の通信装置に送信する。このため、各通信装置は、チャンネル情報がブロードキャストされる場合に比べて、チャンネル情報を高い確率で受信することが可能となる。ユニキャストならば、MAC層でACKを確認し、ACKがなければ再送するからである。MAC層における最大再送回数は、設定にもよるが、ある実装では3回となっている。従って、最初の送信も含めると、最大4回送信することになる。また、アプリケーション層でも送信先ノードからの応答がないことを確認してリトライすることができる。なお、各通信機器は、チャンネル情報を受信しただけではチャンネルを変更しない。   As described above, the gateway 1001 transmits channel information to a communication device in the network Z by unicast. Therefore, each communication device can receive channel information with a higher probability than when channel information is broadcast. This is because ACK is confirmed in the MAC layer if unicast, and retransmitted if there is no ACK. The maximum number of retransmissions in the MAC layer is 3 in some implementations, depending on the setting. Therefore, if the first transmission is also included, it will be transmitted a maximum of four times. The application layer can also retry by confirming that there is no response from the destination node. Each communication device does not change the channel only by receiving the channel information.

ゲートウェイ1001が各通信装置に対してユニキャスト送信する順番については、ゲートウェイ1001が任意に決めることができる。順番に特段の意味がある訳ではないが、ここでは、ゲートウェイ1001が各通信装置を認識した(発見した)順番としている。   The gateway 1001 can arbitrarily determine the order in which the gateway 1001 performs unicast transmission to each communication device. Although there is no particular meaning in the order, here, the order in which the gateway 1001 recognizes (discovers) each communication device is used.

(E−1−3.タイミング情報の送信処理)
図8は、ゲートウェイ1001によるタイミング情報の送信処理を説明するための図である。具体的には、図8は、タイミング情報の送信順序を説明するための図である。タイミング情報の送信順序は、チャンネル情報と同じく、上述した順序情報(図2)に基づく。また、ゲートウェイ1001は、チャンネル情報の送信が完了した後に、タイミング情報をネットワークZ内の各通信機器にユニキャストで送信する。
(E-1-3. Transmission processing of timing information)
FIG. 8 is a diagram for explaining the timing information transmission processing by the gateway 1001. Specifically, FIG. 8 is a diagram for explaining the transmission order of timing information. The transmission order of the timing information is based on the above-described order information (FIG. 2), similarly to the channel information. The gateway 1001 transmits the timing information to each communication device in the network Z by unicast after the transmission of the channel information is completed.

「タイミング情報」とは、上述した処理によって決定された変更先のチャネルへの変更タイミングを表した情報である。各通信機器(ルータおよびスリーピー・エンドデバイス)は、「タイミング情報」を受信すると、指定されたタイミング(期間)が経過した後、先に受信していた変更先のチャンネルに変更する。(図9参照)
チャンネル情報をユニキャスト送信する過程で、もし1以上のノードから応答がなければ、ネットワーク全体のチャンネル切替を中止してもよい。ネットワーク内のすべてのノードを一斉にチャンネル切替できないからである。この場合、ゲートウェイ1001は、画面を通じて、ユーザに、チャンネル切替が中止になったという旨のメッセージを通知する。
“Timing information” is information representing the change timing to the change destination channel determined by the above-described processing. Upon receiving the “timing information”, each communication device (router and sleepy end device) changes to the channel of the change destination that has been received first after the designated timing (period) has elapsed. (See Figure 9)
In the process of unicasting channel information, if there is no response from one or more nodes, channel switching of the entire network may be stopped. This is because all nodes in the network cannot switch channels simultaneously. In this case, the gateway 1001 notifies the user through the screen that the channel switching has been canceled.

図8(a)を参照して、ゲートウェイ1001は、変更前のチャンネルを用いたユニキャストによって、タイミング情報を通信機器11に送信する。以下、同様に、ゲートウェイ1001は、通信機器14,13,15,12,16に対して、チャンネル情報をユニキャストで送信する(図8(b)〜(f)参照)。   With reference to FIG. 8A, the gateway 1001 transmits timing information to the communication device 11 by unicast using the channel before the change. Hereinafter, similarly, the gateway 1001 transmits the channel information to the communication devices 14, 13, 15, 12, 16 by unicast (see FIGS. 8B to 8F).

以上のように、ゲートウェイ1001は、タイミング情報をユニキャストによってネットワークZ内の通信装置に送信する。このため、各通信装置は、タイミング情報がブロードキャストされる場合に比べて、タイミング情報を高い確率で受信することが可能となる。   As described above, the gateway 1001 transmits timing information to communication devices in the network Z by unicast. Therefore, each communication device can receive the timing information with a higher probability than when the timing information is broadcast.

また、各通信装置は、タイミング情報を受信した時点において既にチャンネル情報を受信している。このため、各通信装置は、タイミング情報にて指示されたタイミングで、以後使用するチャンネルを、変更前のチャンネルからゲートウェイ1001において決定されたチャンネル(変更先のチャンネル)へと切替えることができる。   Each communication device has already received channel information at the time of receiving timing information. Therefore, each communication device can switch the channel to be used thereafter from the channel before the change to the channel determined by the gateway 1001 (the channel to be changed) at the timing indicated by the timing information.

上記のように、ゲートウェイ1001が、チャンネル情報とタイミング情報との両方を送信する理由は以下のとおりである。   As described above, the reason why the gateway 1001 transmits both channel information and timing information is as follows.

仮に、ゲートウェイ1001が、チャンネル情報だけを送信したとする。チャンネル情報を受信したそれぞれのノードは、受信した直後、または、予め定められた時間を経過した後、チャンネルを変更することになる。   Suppose that the gateway 1001 transmits only channel information. Each node that receives the channel information changes the channel immediately after receiving the channel information or after a predetermined time has elapsed.

ゲートウェイ1001は、すべてのノードにユニキャストで送信しようとしているので、中継路となっているノード(図2における通信機器11と通信機器14)が先にチャンネルを変更してしまうと、その先にいるノード(図2における通信機器12,13,15)には届かなくなってしまう。それゆえ、通信機器12,13、15は、親である通信機器11や通信機器14と通信できなくり、ネットワーク全体のチャンネル切替が失敗する。これを避けるには末端にいるノード(図2における通信機器12,13,15)から順に送信すれば良いが、この順序を調べ上げるのは困難である。アドホックネットワークなので、中継路もチャンネル状況に応じて変更しうるからである。   Since the gateway 1001 tries to transmit to all the nodes by unicast, if the nodes (communication device 11 and communication device 14 in FIG. 2) that are relay paths change the channel first, the gateway 1001 will transmit first. 2 (communication devices 12, 13, and 15 in FIG. 2) cannot be reached. Therefore, the communication devices 12, 13, and 15 cannot communicate with the parent communication device 11 and communication device 14, and channel switching of the entire network fails. In order to avoid this, it is sufficient to transmit from the nodes at the end (communication devices 12, 13, 15 in FIG. 2) in order, but it is difficult to examine this order. This is because it is an ad hoc network, and the relay path can be changed according to the channel status.

また、ゲートウェイ1001が、チャンネル情報を送信してから、タイミング情報を送信する理由は以下のとおりである。   The reason why the gateway 1001 transmits the timing information after transmitting the channel information is as follows.

ゲートウェイ1001は、すべてのノードにチャンネル情報を送信するので、このときすべてのノードから応答があるかどうかを確認できる。もし、1以上のノードから応答がなければネットワーク全体のチャンネル切替は成功しないので、チャンネル切替自体を途中で中止することできる。   Since the gateway 1001 transmits the channel information to all the nodes, it can be confirmed whether or not there is a response from all the nodes at this time. If there is no response from one or more nodes, the channel switching of the entire network will not succeed, so that the channel switching itself can be canceled halfway.

また、ゲートウェイ1001が、すべてのノードにチャンネル情報を送信するのに必要な時間を測定することができる。これを後続するタイミング情報に反映させることができる。   In addition, the time required for the gateway 1001 to transmit channel information to all nodes can be measured. This can be reflected in subsequent timing information.

(E−1−4.タイマの設定例)
次に、ゲートウェイ1001による、タイミング情報におけるタイマの設定方法について説明する。ここでの目的は、ネットワーク内のすべてのノードがなるべく同じタイミングでチャンネルを切り替えるようにすることである。一番目に送信する通信機器へのタイミング情報をどう設定するか、二番目以降に送信する通信機器へのタイミング情報をどう設定するか、を考えなければならない。ここでは2つの方法を説明する。
(E-1-4. Timer setting example)
Next, a timer setting method in the timing information by the gateway 1001 will be described. The purpose here is to have all nodes in the network switch channels as much as possible. It is necessary to consider how to set the timing information for the first communication device to be transmitted and how to set the timing information for the second and subsequent communication devices. Here, two methods will be described.

・方法1:(測定時間に基づく方法)
ゲートウェイ1001は、先にすべてのノードにチャンネル情報を送信しているので、このときにかかった時間を測定する。この時間(すべてのノードへ送信するのに必要な時間)をTaとする。まず、一番目に送信する通信機器11についてのタイミング情報(T1)を、以下の式(2)のように設定する。
・ Method 1: (Method based on measurement time)
Since the gateway 1001 has previously transmitted the channel information to all the nodes, the time taken at this time is measured. This time (the time required for transmission to all nodes) is Ta. First, timing information (T1) about the communication device 11 to be transmitted first is set as in the following equation (2).

T1=Ta+Ts … (2)
Tsは、余裕を持たせるための時間である。Tsは、たとえば3秒とする。
T1 = Ta + Ts (2)
Ts is a time for giving a margin. Ts is, for example, 3 seconds.

通信機器11は、タイミング情報T1を受信すると、受信してからT1(の期間)だけ経過した後、変更先のチャンネルに変更する。   When receiving the timing information T1, the communication device 11 changes to the channel to be changed after T1 (period) has elapsed since the reception.

二番目に送信する通信機器14についてのタイミング情報(T2)は以下の式(3)のように設定する。   Timing information (T2) for the communication device 14 to be transmitted second is set as in the following equation (3).

T2=Ta+Ts−Tc … (3)
Tcは、一番目の通信機器に送信した時刻と、現在時刻との差である(つまり、タイミング情報の送信を開始してから経過した時間を表す)。
T2 = Ta + Ts−Tc (3)
Tc is the difference between the time transmitted to the first communication device and the current time (that is, the time elapsed since the transmission of timing information was started).

通信機器14は、タイミング情報T2を受信すると、受信してからT2(の期間)だけ経過した後、変更先のチャンネルに変更する。   When receiving the timing information T2, the communication device 14 changes to the channel to be changed after T2 (period) has elapsed since the reception.

三番目以降に送信する通信機器についても、同様にタイミング情報を設定する。式(3)がTsを下回ればTsとする。最後に、ゲートウェイ1001は自身のチャンネルを変更する。   The timing information is set in the same manner for the third and subsequent communication devices. If Expression (3) is less than Ts, Ts is set. Finally, the gateway 1001 changes its channel.

具体的には、ゲートウェイ1001は、測定部とタイミング決定部とを備えている。測定部は、チャンネル情報の通信に要した時間Taを測定する。タイミング決定部は、測定された時間Taに基づき、ルータとスリーピー・エンドデバイスとについての各々の変更タイミングを決定する。より具体的には、タイミング決定部は、時間Taと、時間Tsと、時間Tcとに基づき、変更タイミングを決定する。   Specifically, the gateway 1001 includes a measurement unit and a timing determination unit. The measurement unit measures a time Ta required for communication of channel information. The timing determination unit determines the change timing of each of the router and the sleepy end device based on the measured time Ta. More specifically, the timing determination unit determines the change timing based on the time Ta, the time Ts, and the time Tc.

・方法2:(ネットワークZのノード個数に基づく方法)
ゲートウェイ1001は、ネットワークZにおけるノードの個数を把握しているので、ノードの個数から一番目に送信する通信機器へのタイミング情報を決定する。
ネットワークZにおけるルータの数をM個、および、スリーピー・エンドデバイスの数をN個とすると、一番目に送信する通信機器11についてのタイミング情報(T1)を、以下の式(4)で決定する。
Method 2: (Method based on the number of nodes in network Z)
Since the gateway 1001 knows the number of nodes in the network Z, the gateway 1001 determines timing information to the first communication device to be transmitted from the number of nodes.
When the number of routers in the network Z is M and the number of sleepy end devices is N, timing information (T1) about the communication device 11 to be transmitted first is determined by the following equation (4). .

T1 = Tr ×M + Te × N + Ts … (4)
式(4)おいて、Trは、ゲートウェイ1001と1つのルータとの間における上述したユニキャストでの通信に要する時間に基づき予め定められた時間である。Trは、たとえば0.3秒である。Teは、ゲートウェイ1001と1つのスリーピー・エンドデバイスとの間における上述したユニキャストでの通信に要する時間に基づき予め定められた時間である。Teは、たとえば1.6秒である。
T1 = Tr * M + Te * N + Ts (4)
In Expression (4), Tr is a time determined in advance based on the time required for the above-described unicast communication between the gateway 1001 and one router. Tr is 0.3 seconds, for example. Te is a predetermined time based on the time required for the above-described unicast communication between the gateway 1001 and one sleepy end device. Te is, for example, 1.6 seconds.

ルータは常時起きているので、通信はすぐに完了する。スリーピー・エンドデバイスは寝ている期間があるので、通信に時間を要する。   Since the router is always awake, communication is completed immediately. Since the sleepy end device has a sleeping period, it takes time to communicate.

また、Tsは、余裕を持たせるための時間である。つまり、Tsは、ゲートウェイ1001がタイミング情報を全てのノードに送信する前にいずれかのノードでチャンネルの変更が行なわれてしまう事態を極力防止するために設けられた時間である。Tsは、たとえば3秒である。   Ts is a time for giving a margin. That is, Ts is a time provided to prevent a situation where a channel is changed at any node before the gateway 1001 transmits timing information to all nodes. Ts is, for example, 3 seconds.

図9は、設定されたタイマの設定時間の一例を説明するための図である。具体的には、図9は、上記式(4)によってT1=12.0秒となった場合における、各通信機器11〜16に対するタイマの設定時間を表した図である。   FIG. 9 is a diagram for explaining an example of the set time of the set timer. Specifically, FIG. 9 is a diagram illustrating timer setting times for the communication devices 11 to 16 when T1 = 12.0 seconds is satisfied according to the above equation (4).

図9を参照して、ゲートウェイ1001は、通信機器11に対するタイマの設定時間を、12.0秒に設定する。つまり、ゲートウェイ1001は、通信機器11がタイミング情報を受信してから12.0秒後にチャンネルを変更するよう、通信機器11に指示する。   Referring to FIG. 9, gateway 1001 sets the timer setting time for communication device 11 to 12.0 seconds. That is, the gateway 1001 instructs the communication device 11 to change the channel 12.0 seconds after the communication device 11 receives the timing information.

また、ゲートウェイ1001は、順序情報に基づく順序が2番の通信機器14についてのタイマの設定時間を、11.7秒に設定する。つまり、ゲートウェイ1001は、通信機器14がタイミング情報を受信してから11.7秒後にチャンネルを変更するよう、通信機器14に指示する。ゲートウェイ1001は、12.0秒から、ゲートウェイ1001と通信機器11との間におけるタイミング情報の通信に要する時間に基づき予め定められた時間(つまり、Tr=0.3秒)を差し引くことにより、通信機器14についてのタイマの設定時間(以下、「設定時間T2」と称する)を算出する。   Further, the gateway 1001 sets the timer setting time for the communication device 14 having the second order based on the order information to 11.7 seconds. That is, the gateway 1001 instructs the communication device 14 to change the channel 11.7 seconds after the communication device 14 receives the timing information. The gateway 1001 performs communication by subtracting a predetermined time (that is, Tr = 0.3 seconds) from 12.0 seconds based on the time required for communication of timing information between the gateway 1001 and the communication device 11. A timer setting time for the device 14 (hereinafter referred to as “setting time T2”) is calculated.

また、ゲートウェイ1001は、順序情報に基づく順序が3番の通信機器13についてのタイマの設定時間を、11.4秒に設定する。つまり、ゲートウェイ1001は、通信機器13がタイミング情報を受信してから11.4秒後にチャンネルを変更するよう、通信機器13に指示する。ゲートウェイ1001は、11.7秒から、ゲートウェイ1001と通信機器14との間におけるタイミング情報の通信に要する時間に基づき予め定められた時間(つまり、Tr=0.3秒)を差し引くことにより、通信機器13についてのタイマの設定時間(以下、「設定時間T3」と称する)を算出する。   Further, the gateway 1001 sets the timer setting time for the communication device 13 whose order is 3 based on the order information to 11.4 seconds. That is, the gateway 1001 instructs the communication device 13 to change the channel 11.4 seconds after the communication device 13 receives the timing information. The gateway 1001 performs communication by subtracting a predetermined time (that is, Tr = 0.3 seconds) from 11.7 seconds based on the time required for communication of timing information between the gateway 1001 and the communication device 14. A timer set time for the device 13 (hereinafter referred to as “set time T3”) is calculated.

また、ゲートウェイ1001は、順序情報に基づく順序が4番の通信機器15についてのタイマの設定時間を、9.8秒に設定する。つまり、ゲートウェイ1001は、通信機器15がタイミング情報を受信してから9.8秒後にチャンネルを変更するよう、通信機器15に指示する。ゲートウェイ1001は、11.4秒から、ゲートウェイ1001と通信機器13との間におけるタイミング情報の通信に要する時間に基づき予め定められた時間(つまり、Te=1.6秒)を差し引くことにより、通信機器15についてのタイマの設定時間(以下、「設定時間T4」と称する)を算出する。   Further, the gateway 1001 sets the timer setting time for the communication device 15 whose order is 4 based on the order information to 9.8 seconds. That is, the gateway 1001 instructs the communication device 15 to change the channel 9.8 seconds after the communication device 15 receives the timing information. The gateway 1001 performs communication by subtracting a predetermined time (that is, Te = 1.6 seconds) from 11.4 seconds based on the time required for communication of timing information between the gateway 1001 and the communication device 13. A timer set time for the device 15 (hereinafter referred to as “set time T4”) is calculated.

また、ゲートウェイ1001は、順序情報に基づく順序が5番の通信機器12についてのタイマの設定時間を、8.2秒に決定する。つまり、ゲートウェイ1001は、通信機器12がタイミング情報を受信してから8.2秒後にチャンネルを変更するよう、通信機器12に指示する。ゲートウェイ1001は、9.8秒から、ゲートウェイ1001と通信機器15との間におけるタイミング情報の通信に要する時間に基づき予め定められた時間(つまり、Te=1.6秒)を差し引くことにより、通信機器12についてのタイマの設定時間(以下、「設定時間T5」と称する)を算出する。   Further, the gateway 1001 determines the timer setting time for the communication device 12 whose order is 5 based on the order information as 8.2 seconds. That is, the gateway 1001 instructs the communication device 12 to change the channel 8.2 seconds after the communication device 12 receives the timing information. The gateway 1001 performs communication by subtracting a predetermined time (that is, Te = 1.6 seconds) from the time required for communication of timing information between the gateway 1001 and the communication device 15 from 9.8 seconds. A timer set time for the device 12 (hereinafter referred to as “set time T5”) is calculated.

また、ゲートウェイ1001は、順序情報に基づく順序が6番の通信機器16についてのタイマの設定時間を、6.6秒に決定する。つまり、ゲートウェイ1001は、通信機器16がタイミング情報を受信してから6.6秒後にチャンネルを変更するよう、通信機器12に指示する。ゲートウェイ1001は、8.2秒から、ゲートウェイ1001と通信機器12との間におけるタイミング情報の通信に要する時間に基づき予め定められた時間(つまり、Te=1.6秒)を差し引くことにより、通信機器16についてのタイマの設定時間(以下、「設定時間T6」と称する)を算出する。   In addition, the gateway 1001 determines a timer setting time of 6.6 seconds for the communication device 16 whose order is 6 based on the order information. That is, the gateway 1001 instructs the communication device 12 to change the channel 6.6 seconds after the communication device 16 receives the timing information. The gateway 1001 performs communication by subtracting a predetermined time (that is, Te = 1.6 seconds) from the time required for communication of timing information between the gateway 1001 and the communication device 12 from 8.2 seconds. A timer set time for the device 16 (hereinafter referred to as “set time T6”) is calculated.

以上のように、ゲートウェイ1001が、順序情報が下位になるにつれ、タイマの設定時間を小さくすることにより、各通信機器は同じようなタイミングでチャンネルが切り替わる。   As described above, as the order information becomes lower, the gateway 1001 reduces the setting time of the timer, so that the channels of the communication devices are switched at the same timing.

なお、ゲートウェイ1001は、最後に自身のチャンネルを変更する。たとえば、ゲートウェイ1001は、順序情報における順序が最も下位の通信機器に対してタイミング情報を送信してから、チャンネルを変更する。または、予め定められた時間が経過した後に、チャンネルを変更すればよい。   Note that the gateway 1001 finally changes its own channel. For example, the gateway 1001 changes the channel after transmitting timing information to the communication device having the lowest order in the order information. Alternatively, the channel may be changed after a predetermined time has elapsed.

なお、方法1と方法2を組み合わせてもよい。すなわち、方法1において、すべてのノードにチャンネルを送信するのに必要な時間見積もりを、ネットワークZのノード個数に基づくものにしてもよい。あるいは、方法2において、一番目の通信機器に設定するタイミングを、測定時間に基づいて決定してもよい。   Note that Method 1 and Method 2 may be combined. That is, in Method 1, the time estimate required to transmit a channel to all nodes may be based on the number of nodes in the network Z. Or in method 2, you may determine the timing set to the 1st communication apparatus based on measurement time.

また、ゲートウェイ1001は、通信機器(11〜16)へ、チャンネル情報とタイミング情報とをユニキャストで送信するが、アプリケーション層で送信先ノードから応答がなければリトライしてもよい。   The gateway 1001 transmits channel information and timing information to the communication devices (11 to 16) by unicast, but may retry if there is no response from the transmission destination node in the application layer.

また、ゲートウェイ1001は、通信機器(11〜16)へ送信する過程で、送信先ノードからの応答を待たずに、次の通信機器へ送信してもよい。特に、ゲートウェイ1001が、スリーピー・エンドデバイスに送信しようとしたとき、スリーピー・エンドデバイスは大抵の期間寝ているためすぐに応答を返さない。ゲートウェイ1001は、送信先ノードからの応答を待っていると時間がかかるので、送信先ノードからの応答を待たずに、次の通信機器へ送信することもできる。送信先ノードからの応答は、送信した順番通りにはならない。例えば、通信機器13,15,12,16の順に送信したとしても、それらの応答は送信した順に返ってくるとは限らない。   The gateway 1001 may transmit to the next communication device without waiting for a response from the transmission destination node in the process of transmitting to the communication device (11 to 16). In particular, when the gateway 1001 tries to transmit to the sleepy end device, the sleepy end device does not respond immediately because it has slept for most of the time. Since the gateway 1001 takes time when waiting for a response from the transmission destination node, the gateway 1001 can also transmit to the next communication device without waiting for a response from the transmission destination node. Responses from the destination node do not follow the order of transmission. For example, even if the communication devices 13, 15, 12, and 16 are transmitted in the order, the responses are not always returned in the order of transmission.

[E−2.チャンネル手動切替モード]
以下では、チャンネル手動切替モードに関し、主としてチャンネル自動切替モードとの相違点について説明する。チャンネル自動切替モードと同様な処理については説明を繰り返さない。
[E-2. Channel manual switching mode]
In the following, with respect to the channel manual switching mode, differences from the channel automatic switching mode will be mainly described. The description of the same processing as in the automatic channel switching mode will not be repeated.

上述したように、チャンネル手動切替モードでは、ユーザがエネルギレベルを確認した後、ゲートウェイ1001は、通信システムZで用いるチャンネルをユーザが指定したチャンネルに変更する。したがって、ゲートウェイ1001は、チャンネルを自動選択しない。代わりに、ゲートウェイ1001は、ユーザからのチャンネルを指定する入力を受け付ける。   As described above, in the channel manual switching mode, after the user confirms the energy level, the gateway 1001 changes the channel used in the communication system Z to the channel designated by the user. Therefore, the gateway 1001 does not automatically select a channel. Instead, the gateway 1001 receives an input specifying a channel from the user.

ゲートウェイ1001は、指定されたチャンネルに、チャンネルを変更する。チャンネル手動切替モードの場合、当該指定されたチャンネルを表した情報が、上述した「チャンネル情報」に該当する。   The gateway 1001 changes the channel to the designated channel. In the channel manual switching mode, information representing the designated channel corresponds to the above-described “channel information”.

チャンネル手動切替モードにおいても、ゲートウェイ1001は、チャンネル情報の送信処理として、「E−1−2」で説明した処理を実行する。同様に、ゲートウェイ1001は、タイミング情報の送信処理として、「E−1−3」で説明した処理を実行する。この場合も、タイマの設定例として、「E−1−4」で示した例を用いることができる。   Also in the channel manual switching mode, the gateway 1001 executes the process described in “E-1-2” as the channel information transmission process. Similarly, the gateway 1001 executes the process described in “E-1-3” as the timing information transmission process. Also in this case, the example shown by “E-1-4” can be used as a setting example of the timer.

なお、ゲートウェイ1001は、チャンネル手動切替モードおよびチャンネル自動切替モードでは、ユーザがエネルギレベルを確認できるように、エネルギレベルを表示部1103に表示する。ただし、チャンネル自動切替モードでは、ゲートウェイ1001が自動でチャンネルを切り替えるため、エネルギレベルの表示は必須ではない。エネルギレベルの表示については、後述する(図15等)。   Note that the gateway 1001 displays the energy level on the display unit 1103 so that the user can check the energy level in the channel manual switching mode and the channel automatic switching mode. However, in the channel automatic switching mode, since the gateway 1001 automatically switches the channel, the display of the energy level is not essential. The display of the energy level will be described later (FIG. 15 and the like).

ユーザが、エネルギレベルに基づきチャンネルを1つ決定するのは多少の困難があるので、ゲートウェイ1001は、おすすめのチャンネルを1つ選択して表示するようにしてもよい。ユーザにはチャンネル切替を実行するかどうかだけを決断させるようにする。   Since it is somewhat difficult for the user to determine one channel based on the energy level, the gateway 1001 may select and display one recommended channel. Let the user decide only whether to perform channel switching.

<F.制御構造>
まず、チャンネル自動切替モードにおけるゲートウェイ1001における制御構造を説明する。次いで、チャンネル手動切替モードにおける、ゲートウェイ1001における制御構造を説明する。
<F. Control structure>
First, a control structure in the gateway 1001 in the automatic channel switching mode will be described. Next, a control structure in the gateway 1001 in the channel manual switching mode will be described.

[F−1.チャンネル自動切替モード]
図10は、チャンネル自動切替モードにおけるゲートウェイ1001の処理のフローを表したフローチャートである。図10を参照して、ステップS2において、ゲートウェイ1001は、ゲートウェイ1001とルータとの間の通信エラーが発生したことに基づき、当該ルータからエネルギレベル情報を受信する。ステップS4において、ゲートウェイ1001は、各ルータから受信したエネルギレベル情報に基づき、チャンネルを変更するか否かを判断する。
[F-1. Channel automatic switching mode]
FIG. 10 is a flowchart showing the processing flow of the gateway 1001 in the automatic channel switching mode. Referring to FIG. 10, in step S2, gateway 1001 receives energy level information from the router based on the occurrence of a communication error between gateway 1001 and the router. In step S4, the gateway 1001 determines whether or not to change the channel based on the energy level information received from each router.

ゲートウェイ1001は、チャンネルを変更すると判断した場合(ステップS4においてYES)、ステップS6において、変更先のチャンネルを決定する。ゲートウェイは、チャンネルを変更しないと判断した場合(ステップS4においてNO)、処理をステップS2に進める。   When gateway 1001 determines to change the channel (YES in step S4), gateway 1001 determines the channel to be changed in step S6. If the gateway determines not to change the channel (NO in step S4), the gateway advances the process to step S2.

ステップS8において、ゲートウェイ1001は、変更タイミングを表したタイミング情報を、ネットワークZを構成する通信機器(ルータおよびスリーピー・エンドデバイス)毎に生成する。ステップS10において、ゲートウェイ1001は、エネルギレベル情報を受信したチャンネルを用いたユニキャストによって、変更先のチャンネルを表したチャンネル情報を、ネットワークZを構成する各通信機器に順に送信する。   In step S8, the gateway 1001 generates timing information representing the change timing for each communication device (router and sleepy end device) that configures the network Z. In step S <b> 10, the gateway 1001 sequentially transmits channel information representing the channel to be changed to each communication device configuring the network Z by unicast using the channel that has received the energy level information.

ステップS12において、ゲートウェイ1001は、チャンネル情報の送信が完了したか否かを判断する。つまり、ゲートウェイ1001は、ネットワークZを構成する全ての通信機器へのチャンネル情報の送信が完了したか否かを判断する。ゲートウェイ1001は、チャンネル情報の送信が完了したと判断した場合(ステップS12においてYES)、ステップS14において、エネルギレベル情報を受信したチャンネルを用いたユニキャストによって、タイミング情報を、ネットワークZを構成する各通信機器に順に送信する。ゲートウェイ1001は、チャンネル情報の送信が完了していないと判断した場合(ステップS12においてNO)、処理をステップS10に進める。   In step S12, the gateway 1001 determines whether transmission of channel information is completed. That is, the gateway 1001 determines whether or not the transmission of channel information to all communication devices constituting the network Z has been completed. When gateway 1001 determines that the transmission of channel information has been completed (YES in step S12), in step S14, the timing information is transmitted to each component of network Z by unicast using the channel that has received the energy level information. It transmits to the communication equipment in order. If gateway 1001 determines that transmission of channel information has not been completed (NO in step S12), it proceeds to step S10.

ステップS16において、ゲートウェイ1001は、タイミング情報の送信が完了したか否かを判断する。つまり、ゲートウェイ1001は、ネットワークZを構成する全ての通信機器へのタイミング情報の送信が完了したか否かを判断する。ゲートウェイ1001は、タイミング情報の送信が完了したと判断した場合(ステップS16においてYES)、ステップS18において、エネルギレベル情報を受信したチャンネルから決定したいチャンネルへと、ゲートウェイ1001自身もチャンネルを変更する。ゲートウェイ1001は、タイミング情報の送信が完了していないと判断した場合(ステップS16においてNO)、処理をステップS14に進める。   In step S16, the gateway 1001 determines whether or not the transmission of the timing information has been completed. That is, the gateway 1001 determines whether or not the transmission of timing information to all communication devices constituting the network Z has been completed. When gateway 1001 determines that transmission of timing information has been completed (YES in step S16), in step S18, gateway 1001 itself also changes the channel from the channel that received the energy level information to the channel that it wants to determine. If gateway 1001 determines that transmission of timing information has not been completed (NO in step S16), it proceeds to step S14.

[F−2.チャンネル手動切替モード]
図11は、チャンネル手動切替モードにおける、ゲートウェイ1001の処理のフローを表したフローチャートである。図11を参照して、ステップS102において、ゲートウェイ1001は、ゲートウェイ1001とルータとの間の通信エラーが発生したことに基づき、当該ルータからエネルギレベル情報を受信する。ステップS104において、ゲートウェイ1001は、各ルータから受信したエネルギレベル情報を表示部1103に表示する。ステップS106において、ゲートウェイ1001は、ユーザから、チャンネルを変更するための指示を受け付けたか否かを判断する。
[F-2. Channel manual switching mode]
FIG. 11 is a flowchart showing the processing flow of the gateway 1001 in the channel manual switching mode. Referring to FIG. 11, in step S102, gateway 1001 receives energy level information from the router based on the occurrence of a communication error between gateway 1001 and the router. In step S104, the gateway 1001 displays the energy level information received from each router on the display unit 1103. In step S106, the gateway 1001 determines whether or not an instruction for changing a channel is received from the user.

ゲートウェイ1001は、チャンネルを変更するための指示を受け付けたと判断した場合(ステップS106においてYES)、ステップS108において、変更タイミングを表したタイミング情報を、ネットワークZを構成する通信機器(ルータおよびスリーピー・エンドデバイス)毎に生成する。ゲートウェイ1001は、チャンネルを変更するための指示を受け付けていないと判断した場合(ステップS106においてNO)、処理をステップS104に進める。   When gateway 1001 determines that an instruction to change the channel has been received (YES in step S106), in step S108, the timing information indicating the change timing is used as the communication device (router and sleepy end) that constitutes network Z. Generate every device). If gateway 1001 determines that it has not received an instruction to change the channel (NO in step S106), it advances the process to step S104.

ステップS110において、ゲートウェイ1001は、エネルギレベル情報を受信したチャンネルを用いたユニキャストによって、変更先のチャンネルを表したチャンネル情報を、ネットワークZを構成する各通信機器に順に送信する。ステップS112において、ゲートウェイ1001は、チャンネル情報の送信が完了したか否かを判断する。つまり、ゲートウェイ1001は、ネットワークZを構成する全ての通信機器へのチャンネル情報の送信が完了したか否かを判断する。ゲートウェイ1001は、チャンネル情報の送信が完了したと判断した場合(ステップS112においてYES)、ステップS114において、エネルギレベル情報を受信したチャンネルを用いたユニキャストによって、タイミング情報を、ネットワークZを構成する各通信機器に順に送信する。ゲートウェイ1001は、チャンネル情報の送信が完了していないと判断した場合(ステップS112においてNO)、処理をステップS110に進める。   In step S <b> 110, the gateway 1001 sequentially transmits channel information representing the channel to be changed to each communication device configuring the network Z by unicast using the channel that has received the energy level information. In step S112, the gateway 1001 determines whether transmission of channel information is completed. That is, the gateway 1001 determines whether or not the transmission of channel information to all communication devices constituting the network Z has been completed. When gateway 1001 determines that the transmission of channel information has been completed (YES in step S112), in step S114, gateway 1001 obtains timing information by unicast using the channel that has received the energy level information. It transmits to the communication equipment in order. If gateway 1001 determines that transmission of channel information has not been completed (NO in step S112), it proceeds to step S110.

ステップS116において、ゲートウェイ1001は、タイミング情報の送信が完了したか否かを判断する。つまり、ゲートウェイ1001は、ネットワークZを構成する全ての通信機器へのタイミング情報の送信が完了したか否かを判断する。ゲートウェイ1001は、タイミング情報の送信が完了したと判断した場合(ステップS116においてYES)、ステップS118において、エネルギレベル情報を受信したチャンネルから決定したいチャンネルへと、ゲートウェイ1001自身もチャンネルを変更する。ゲートウェイ1001は、タイミング情報の送信が完了していないと判断した場合(ステップS116においてNO)、処理をステップS114に進める。   In step S116, the gateway 1001 determines whether transmission of timing information is completed. That is, the gateway 1001 determines whether or not the transmission of timing information to all communication devices constituting the network Z has been completed. When gateway 1001 determines that the transmission of timing information has been completed (YES in step S116), in step S118, gateway 1001 itself also changes the channel from the channel that received the energy level information to the channel to be determined. If gateway 1001 determines that transmission of timing information has not been completed (NO in step S116), it proceeds to step S114.

<G.ユーザインターフェイス>
図12は、ゲートウェイ1001における設定ツールを表示させるための選択画面を表した図である。なお、当該選択画面、後述するローカルノードについての設定画面(図13)、後述するリモードノードについての設定画面(図14)、およびネットワーク全体についての設定画面(図15)は、制御部1101(図4参照)により実現される画面である。
<G. User interface>
FIG. 12 is a diagram showing a selection screen for displaying a setting tool in the gateway 1001. Note that the selection screen, a setting screen for a local node described later (FIG. 13), a setting screen for a remote node described later (FIG. 14), and a setting screen for the entire network (FIG. 15) are displayed on the control unit 1101 (FIG. 15). 4).

図12を参照して、ゲートウェイ1001は、表示部1103に、ローカルノードについての設定画面を表示させるためのオブジェクト301と、リモートノードについての選択画面を表示させるためのオブジェクト302と、ネットワーク全体についての設定画面を表示させるためのオブジェクト303とを表示する。ユーザが、指等でオブジェクトを表示している領域を選択することにより、ゲートウェイ1001は、選択されたオブジェクトに対応した設定画面を表示部1103に表示させる。   With reference to FIG. 12, the gateway 1001 displays an object 301 for displaying a setting screen for a local node, an object 302 for displaying a selection screen for a remote node, and an entire network on the display unit 1103. An object 303 for displaying the setting screen is displayed. When the user selects an area displaying an object with a finger or the like, the gateway 1001 causes the display unit 1103 to display a setting screen corresponding to the selected object.

図13は、ローカルノードについての設定画面310を表した図である。つまり、図12において、オブジェクト301が選択された後の遷移画面である。「ローカルノード」とは、本実施の形態では、ゲートウェイ1001の無線RF内蔵通信コントローラ部1106(図4参照)を指している。   FIG. 13 is a diagram showing a setting screen 310 for the local node. That is, it is a transition screen after the object 301 is selected in FIG. In this embodiment, the “local node” refers to the wireless RF built-in communication controller unit 1106 (see FIG. 4) of the gateway 1001.

図13を参照して、設定画面310には、「ローカルノードの情報表示」、「ローカルノードとの通信」、「デバイス状態」、「ジョイン許可状態」、「PanID(Personal Area Network IDentification)」、「論理チャンネル」の各項目が含まれる。また、設定画面310には、各々選択ボタンとして機能する3つのオブジェクト3101,3102,3103が含まれる。「ローカルノードの情報表示」の項目には、「IEEEアドレス」の項目と「論理タイプ」の項目とが含まれる。なお、図中において破線で囲まれた箇所は、テキストボックスである。   Referring to FIG. 13, setting screen 310 includes “local node information display”, “communication with local node”, “device status”, “join permission status”, “PanID (Personal Area Network IDentification)”, Each item of “logical channel” is included. The setting screen 310 includes three objects 3101, 3102, and 3103 that function as selection buttons. The item “local node information display” includes an item “IEEE address” and an item “logical type”. In the figure, a portion surrounded by a broken line is a text box.

ゲートウェイ1001の制御部1101は、設定画面310を表示する際に、ローカルノードである無線RF内蔵通信コントローラ部1106に、無線RF内蔵通信コントローラ部1106の状態を問合せする。当該問い合わせに基づき、設定画面の各項目の内容を更新する。以下、各項目について説明する。   When displaying the setting screen 310, the control unit 1101 of the gateway 1001 inquires of the wireless RF built-in communication controller 1106, which is a local node, about the state of the wireless RF built-in communication controller 1106. Based on the inquiry, the contents of each item on the setting screen are updated. Each item will be described below.

「論理タイプ」の項目は、ローカルノードが無線RF内蔵通信コントローラ部1106であるため、「コーディネータ」を表示している。また、ゲートウェイ1001の制御部1101は、無線RF内蔵通信コントローラ部1106と通信可能であるため、「ローカルノードとの通信」の項目には「通信可能」が表示される。さらに、ローカルノードがコーディネータとしての処理を開始しているため、制御部1101は、「デバイス状態」の項目に、「コーディネータとして開始しました」と表示する。また、制御部1101は、ゲートウェイ1001への参加を許可していない場合には、「ジョイン許可状態」の項目に「ジョイン禁止」を表示する。制御部1101は、「PanID」の項目に、ネットワークZのIDを表示する。制御部1101は、「論理チャンネル」の項目に、現在使用しているチャンネルを表示する。   The item “logical type” indicates “coordinator” because the local node is the wireless RF built-in communication controller unit 1106. Further, since the control unit 1101 of the gateway 1001 can communicate with the wireless RF built-in communication controller unit 1106, “communication possible” is displayed in the item “communication with local node”. Furthermore, since the local node has started processing as a coordinator, the control unit 1101 displays “Started as a coordinator” in the item “device state”. Further, when the participation in the gateway 1001 is not permitted, the control unit 1101 displays “join prohibition” in the “join permission state” item. The control unit 1101 displays the ID of the network Z in the item “PanID”. The control unit 1101 displays the currently used channel in the “logical channel” item.

ユーザがオブジェクト3101を選択すれば、制御部1101は、ローカルノードへ問合せを行なうことにより、ローカルノード情報を更新する。ユーザがオブジェクト3102を選択すれば、無線RF内蔵通信コントローラ部1106は、ペアリングを開始する。この場合、無線RF内蔵通信コントローラ部1106は、予め定められた時間である60秒間、ジョイン許可状態となる。ユーザがオブジェクト3103を選択すれば、制御部1101は、ローカルノードを初期化する。   When the user selects the object 3101, the control unit 1101 updates the local node information by making an inquiry to the local node. When the user selects the object 3102, the wireless RF built-in communication controller unit 1106 starts pairing. In this case, the wireless RF built-in communication controller unit 1106 is in a join permission state for 60 seconds, which is a predetermined time. If the user selects the object 3103, the control unit 1101 initializes the local node.

図14は、リモートノードについての設定画面320を表した図である。つまり、図12において、オブジェクト302が選択された後の遷移画面である。「リモートノード」とは、本実施の形態では、ネットワークZに含まれる各通信機器(ルータおよびスリーピー・エンドデバイス)を指している。   FIG. 14 shows a setting screen 320 for the remote node. That is, it is a transition screen after the object 302 is selected in FIG. In the present embodiment, the “remote node” refers to each communication device (router and sleepy end device) included in the network Z.

図14を参照して、設定画面320には、「リモートノードのリスト」の項目が含まれている。「リモートノードのリスト」の項目には、各リモートノードについての、識別子と、IEEEアドレスと、論理タイプと、最後に受信した時刻との情報が含まれる。また、リモートノードは、ラジオボタンにより選択可能となっている。たとえば、通信機器11,14の場合、論理タイプはルータとなる。また、通信機器12,13,15,16の場合、論理タイプはエンドデバイス(詳しくはスリーピー・エンドデバイス)となる。なお、「最後に受信した時刻」とは、ゲートウェイ1001の無線RF内蔵通信コントローラ部1106からデータを最後に受信した時刻を指している。なお、図中において破線で囲まれた箇所は、テキストボックスである。   Referring to FIG. 14, setting screen 320 includes an item “list of remote nodes”. The item of “remote node list” includes information on the identifier, IEEE address, logical type, and last received time for each remote node. The remote node can be selected by a radio button. For example, in the case of the communication devices 11 and 14, the logical type is router. In the case of the communication devices 12, 13, 15, and 16, the logical type is an end device (specifically, a sleepy end device). The “last received time” refers to the time at which data was last received from the wireless RF communication controller 1106 of the gateway 1001. In the figure, a portion surrounded by a broken line is a text box.

また、設定画面320には、各々選択ボタンとして機能する3つのオブジェクト3201,3202,3203が含まれる。ユーザがオブジェクト3201を選択すれば、ゲートウェイ1001は、リモートノードへ問合せを行なうことにより、全てのリモートノード情報を更新する。ユーザがオブジェクト3202を選択すれば、ゲートウェイ1001は、ラジオボタンにより選択された状態にあるリモートノードに対して、PING(Packet INternet Groper)を送信する。ユーザがオブジェクト3203を選択すれば、ゲートウェイ1001は、ラジオボタンで選択状態にあるリモートノードをネットワークZから除外する。ユーザがオブジェクト3204を選択すれば、ゲートウェイ1001は、ネットワークZを構成する全てのリモートノードに対してPINGを送信する。   The setting screen 320 includes three objects 3201, 3202, and 3203 each functioning as a selection button. If the user selects the object 3201, the gateway 1001 updates all remote node information by making an inquiry to the remote node. If the user selects the object 3202, the gateway 1001 transmits a PING (Packet Internet Groper) to the remote node selected by the radio button. When the user selects the object 3203, the gateway 1001 excludes the remote node selected by the radio button from the network Z. If the user selects the object 3204, the gateway 1001 transmits a PING to all remote nodes configuring the network Z.

図15は、チャンネル自動切替モードにおける、ネットワーク全体についての設定画面331を表した図である。つまり、図12において、オブジェクト303が選択された後の遷移画面である。図15を参照して、設定画面331には、「ネットワークの管理」の項目と、「現在のネットワークの状況」の項目と、3つのオブジェクト3303,3304,3305とを含む。オブジェクト3305は、ゲートウェイ1001の動作モードを、チャンネル自動切替モードからチャンネル手動切替モードに切り替えるためのボタンである。   FIG. 15 is a diagram showing a setting screen 331 for the entire network in the automatic channel switching mode. That is, it is a transition screen after the object 303 is selected in FIG. Referring to FIG. 15, setting screen 331 includes an item “network management”, an item “current network status”, and three objects 3303, 3304, and 3305. An object 3305 is a button for switching the operation mode of the gateway 1001 from the automatic channel switching mode to the manual channel switching mode.

図中において、破線で囲まれた箇所はテキストボックスである。当該テキストボックスは、書き込み可能である。ゲートウェイ1001は、上述したように、自動的にチャンネルを切り替える構成であるため、設定画面331では、ユーザからのチャンネルの変更指示を受け付けない。   In the figure, a portion surrounded by a broken line is a text box. The text box is writable. As described above, since the gateway 1001 is configured to automatically switch channels, the setting screen 331 does not accept a channel change instruction from the user.

図16は、チャンネル手動切替モードにおける、ネットワーク全体についての設定画面332を表した図である。つまり、図12において、オブジェクト303が選択された後の遷移画面である。図16を参照して、設定画面332には、「ネットワークの管理」の項目と、「現在のネットワークの状況」の項目と、4つのオブジェクト3301,3303,3304,3306と、エネルギレベルを示した画像3309とを含む。オブジェクト3306は、ゲートウェイ1001の動作モードを、チャンネル自動切替モードからチャンネル手動切替モードに切り替えるためのボタンである。   FIG. 16 is a diagram showing a setting screen 332 for the entire network in the channel manual switching mode. That is, it is a transition screen after the object 303 is selected in FIG. Referring to FIG. 16, the setting screen 332 shows an item “network management”, an item “current network status”, four objects 3301, 3303, 3304, 3306, and an energy level. And an image 3309. An object 3306 is a button for switching the operation mode of the gateway 1001 from the automatic channel switching mode to the manual channel switching mode.

図中において、破線で囲まれた箇所は、書き込み可能なテキストボックスである。ゲートウェイ1001は、上述したように、手動でチャンネルを切り替える構成であるため、設定画面332では、テキストボックスに対する入力により、ユーザからのチャンネルの変更指示を受け付ける。このように、設定画面332は、オブジェクト3305の代わりにオブジェクト3306を備える点と、チャンネルの入力を受付可能である点と、エネルギレベルを示した画像3309とを備える点とにおいて、設定画面331(図15)と相違する。   In the figure, a portion surrounded by a broken line is a writable text box. Since the gateway 1001 is configured to manually switch channels as described above, the setting screen 332 accepts a channel change instruction from the user by input to the text box. As described above, the setting screen 332 is different from the object 3305 in that the setting screen 331 ((3306) includes the object 3306, the point that the input of the channel can be received, and the image 3309 showing the energy level. 15).

ユーザは、エネルギレベルを示した画像3309によって、各ノードから送られてきた各チャンネルのエネルギレベルを認識することができる。それゆえ、ユーザは、当該エネルギレベルを参照することにより、条件の良いチャンネルを選択可能となる。   The user can recognize the energy level of each channel sent from each node by an image 3309 showing the energy level. Therefore, the user can select a channel with good conditions by referring to the energy level.

なお、エネルギレベルを示した画像3309の表示態様は、図16に示したものに限定されるものではなく、様々な表示態様を採ることができる。たとえば、スクロールバーを設け、ユーザからスクロール指示を受け付けることにより、全ての識別子のノードに関する11ch〜26chのエネルギレベルを表示するように、設定画面331を構成してもよい。また、エネルギレベルを示す画像3309を、設定画面331とは別の画面に表示するように、ゲートウェイ1001を構成してもよい。   Note that the display mode of the image 3309 showing the energy level is not limited to that shown in FIG. 16, and various display modes can be adopted. For example, the setting screen 331 may be configured to display the energy levels of 11ch to 26ch related to all identifier nodes by providing a scroll bar and receiving a scroll instruction from the user. Further, the gateway 1001 may be configured to display the image 3309 indicating the energy level on a screen different from the setting screen 331.

<H.ゲートウェイの機能的構成>
図17は、ゲートウェイ1001の機能ブロック図である。図17を参照して、ゲートウェイ1001は、通信部101と、チャンネル決定部102と、タイミング決定部103と、記憶部104と、表示制御部105と、表示部1103と、入力受付部107と、動作モード切替部109とを備える。
<H. Functional configuration of gateway>
FIG. 17 is a functional block diagram of the gateway 1001. 17, gateway 1001 includes communication unit 101, channel determination unit 102, timing determination unit 103, storage unit 104, display control unit 105, display unit 1103, input reception unit 107, And an operation mode switching unit 109.

動作モード切替部109は、入力受付部107を介して受け付けたユーザ指示に基づいて、ゲートウェイ1001の動作モードを、チャンネル自動切替モードとチャンネル手動切替モードとの間で切り替える。当該ユーザ指示は、具体的には、オブジェクト3305(図15)の選択、およびオブジェクト3306(図16)の選択である。   The operation mode switching unit 109 switches the operation mode of the gateway 1001 between the channel automatic switching mode and the channel manual switching mode based on the user instruction received via the input receiving unit 107. Specifically, the user instruction is selection of the object 3305 (FIG. 15) and selection of the object 3306 (FIG. 16).

[H−1.チャンネル自動切替モード]
(1)通信部101は、ルータである通信機器とゲートウェイ1001との間に通信エラーが発生したことに基づき、当該通信機器から、予め定められた複数の通信チャネルの各々のエネルギレベルを表したエネルギレベル情報を、複数のチャンネルにおける1つのチャンネル(現在用いているチャンネル)を用いて受信する。典型的には、通信部101は、ルータである通信機器とゲートウェイ1001との間に通信エラーが予め定められた回数発生したことに基づき、当該ルータからエネルギレベル情報を受信する。
[H-1. Channel automatic switching mode]
(1) The communication unit 101 represents the energy level of each of a plurality of predetermined communication channels from the communication device based on the occurrence of a communication error between the communication device as a router and the gateway 1001. Energy level information is received using a single channel (currently used channel) among a plurality of channels. Typically, the communication unit 101 receives energy level information from the router based on the occurrence of a predetermined number of communication errors between the communication device as a router and the gateway 1001.

チャンネル決定部102は、エネルギレベル情報に基づき、上記複数のチャンネルの中から変更先となるチャンネルを決定する。通信部101は、エネルギレベル情報を受信したチャンネル(変更前のチャンネル)を用いたユニキャストによって、決定されたチャンネルへの変更指令(チャンネル変更コマンド)を、ネットワークZにおける各通信機器(ルータおよびスリーピー・エンドデバイス)に送信する。   The channel determination unit 102 determines a channel to be changed from the plurality of channels based on the energy level information. The communication unit 101 sends a change command (channel change command) to the channel determined by unicast using the channel (the channel before change) that received the energy level information to each communication device (router and sleepy) in the network Z.・ Send to end device.

ところで、スリーピー・エンドデバイスは、大抵の期間はスリープ状態にある。また、チャンネルの変更を実行しようとする場合(つまり、周波数アジリティを実行しようとする場合)には、ネットワークにおける伝送路状況は悪化している。したがって、従来のようにチャンネル変更指令をブロードキャストする構成の場合には、起きているノードであっても当該チャンネル変更指令を受信できる可能性は低い。   By the way, the sleepy end device is in a sleep state for most periods. Further, when channel change is to be executed (that is, frequency agility is to be executed), the transmission path condition in the network is getting worse. Therefore, in the case of a configuration in which a channel change command is broadcasted as in the conventional case, it is unlikely that even a node that has occurred can receive the channel change command.

しかしながら、本実施の形態のように、チャンネル変更コマンドをユニキャストすることにより、チャンネル変更コマンドをブロードキャストする従来の構成に比べて、スリーピー・エンドデバイスが当該チャンネル変更指令を受信できる確率が大幅に向上する。それゆえ、スリーピー・エンドデバイスは、ゲートウェイ1001およびルータがチャンネルを変更する場合であっても、他のチャンネルをサーチする必要がなくなる。したがって、ゲートウェイ1001は、チャンネルを変更する場合にスリーピー・エンドデバイスにかかる負荷を低減可能となる。   However, by unicasting the channel change command as in this embodiment, the probability that the sleepy end device can receive the channel change command is greatly improved compared to the conventional configuration in which the channel change command is broadcast. To do. Therefore, the sleepy end device does not need to search for another channel even when the gateway 1001 and the router change the channel. Therefore, the gateway 1001 can reduce the load on the sleepy end device when the channel is changed.

以上のように、通信システムZは、上述したゲートウェイ1001の構成によって、ネットワークにおけるチャンネルを変更する場合にネットワーク内の全てのノードに対して確実にチャンネル変更を指示すること、および、スリーピー・エンドデバイスにかかる負荷を低減可能となる。   As described above, the communication system Z reliably instructs all nodes in the network to change the channel when the channel in the network is changed, and the sleepy end device. It becomes possible to reduce the load concerning.

(2)変更指令は、上述したように、決定されたチャンネルを表したチャンネル情報と、決定された通信チャネルへの変更タイミングを表したタイミング情報とを含む。   (2) As described above, the change command includes channel information representing the determined channel and timing information representing the change timing to the determined communication channel.

通信部101は、変更前のチャンネルを用いたユニキャストによって、チャンネル情報を各通信機器に送信する。通信部101は、チャネル情報の送信の後に、変更前のチャンネルを用いたユニキャストによって、タイミング情報を各通信機器に送信する。   The communication unit 101 transmits channel information to each communication device by unicast using the channel before the change. After transmitting the channel information, the communication unit 101 transmits the timing information to each communication device by unicast using the channel before the change.

したがって、上述したように、ゲートウェイ1001は、スリーピー・エンドデバイスが親を見失うこと、およびスリーピー・エンドデバイスが変更先のチャンネルの通知を受信できないことを防止できる。   Therefore, as described above, the gateway 1001 can prevent the sleepy end device from losing its parent and the sleepy end device from receiving notification of the channel to be changed.

(3)記憶部104は、タイミング情報を送信する順序を表した順序情報と、各通信装置の各々についてのチャンネルの変更タイミング(つまり、タイミング情報を受信してから設定時間T1,T2,T3,T4,T5、T6…で規定されるタイミング)を予め記憶している。なお、当該変更タイミングは、上述したように、式(4)等に基づく演算によって、予め算出された後、記憶部104に格納される。   (3) The storage unit 104 includes the order information indicating the order in which the timing information is transmitted and the channel change timing for each communication device (that is, the set times T1, T2, T3 after receiving the timing information). (Timing defined by T4, T5, T6...) Is stored in advance. Note that, as described above, the change timing is calculated in advance by an operation based on Expression (4) and the like, and then stored in the storage unit 104.

通信部101は、より詳しくは、記憶部104に記憶された変更タイミングに基づくタイミング情報を、上述した順序情報に示された順序で、各通信機器に送信する。   More specifically, the communication unit 101 transmits timing information based on the change timing stored in the storage unit 104 to each communication device in the order indicated by the order information described above.

(4)さらに詳しくは、記憶部104は、ゲートウェイ1001とルータである通信装置と間のユニキャストに対して予め設定された第1の時間(Tr)を表す第1の時間情報と、ゲートウェイ1001とスリーピー・エンドデバイスである通信装置との間のユニキャストに対して予め設定された第2の時間(Te)を表す第2の時間情報とを記憶している。また、記憶部104は、上述したTsについても記憶している。   (4) More specifically, the storage unit 104 includes first time information representing a first time (Tr) set in advance for unicast between the gateway 1001 and a communication device as a router, and the gateway 1001. And second time information representing a second time (Te) set in advance for unicast between the communication device that is a sleepy end device. The storage unit 104 also stores the above-described Ts.

タイミング決定部103は、ルータの台数とスリーピー・エンドデバイスの台数と、順序情報と、第1の時間情報と、第2の時間情報とに基づき、各通信装置についての各々の変更タイミングを決定する。タイミング決定部103は、決定した各変更タイミングを、各通信機器についての各々の変更タイミングとして、記憶部104に記憶させる。   The timing determination unit 103 determines each change timing for each communication device based on the number of routers, the number of sleepy end devices, order information, first time information, and second time information. . The timing determination unit 103 stores the determined change timings in the storage unit 104 as the change timings for the respective communication devices.

[H−2.チャンネル手動切替モード]
通信部101は、上述したとおり、ルータである通信機器とゲートウェイ1001との間に通信エラーが発生したことに基づき、当該通信機器から、予め定められた複数の通信チャネルの各々のエネルギレベルを表したエネルギレベル情報を、複数のチャンネルにおける1つのチャンネル(現在用いているチャンネル)を用いて受信する。典型的には、通信部101は、ルータである通信機器とゲートウェイ1001との間に通信エラーが予め定められた回数発生したことに基づき、当該ルータからエネルギレベル情報を受信する。
[H-2. Channel manual switching mode]
As described above, the communication unit 101 displays the energy level of each of a plurality of predetermined communication channels from the communication device based on the occurrence of a communication error between the communication device as a router and the gateway 1001. The received energy level information is received by using one channel (currently used channel) among a plurality of channels. Typically, the communication unit 101 receives energy level information from the router based on the occurrence of a predetermined number of communication errors between the communication device as a router and the gateway 1001.

表示制御部105は、エネルギレベル情報を表示部1103に表示させる。エネルギレベルの表示形式は、特に限定されるものではない。典型的には、表示制御部105は、後述するログの「Energy Values」に示した16個の値を、ルータごとに区別して表示する(図16)。   The display control unit 105 causes the display unit 1103 to display energy level information. The display format of the energy level is not particularly limited. Typically, the display control unit 105 displays 16 values shown in “Energy Values” of a log, which will be described later, separately for each router (FIG. 16).

入力受付部107は、外部入力を受け付ける。入力受付部107は、たとえば、エネルギレベル情報が表示部1103に表示されたことに基づき、複数のチャンネルの中から変更先となるチャンネルを指定する外部入力を受け付ける。なお、外部入力は、操作部1102に対するユーザ操作に基づく入力である。   The input receiving unit 107 receives an external input. For example, the input receiving unit 107 receives an external input that designates a channel to be changed from a plurality of channels based on the energy level information displayed on the display unit 1103. The external input is an input based on a user operation on the operation unit 1102.

通信部101は、エネルギレベル情報を受信したチャンネルを用いたユニキャストによって、指定されたチャンネルへの変更指令を、ネットワークZ内の各通信機器(ルータおよびスリーピー・エンドデバイス)に送信する。   The communication unit 101 transmits a change instruction to the designated channel to each communication device (router and sleepy end device) in the network Z by unicast using the channel that has received the energy level information.

なお、変更指令は、ゲートウェイ1001の場合と同様、チャンネル情報とタイミング情報とを含む。チャンネル情報とタイミング情報との送信の仕方は、図11のフローチャートに基づいて説明したので、ここでは説明を繰り返さない。   The change command includes channel information and timing information as in the case of the gateway 1001. Since the method of transmitting the channel information and the timing information has been described based on the flowchart of FIG. 11, the description will not be repeated here.

チャンネル手動切替モードにおいても、チャンネル自動切替モードの場合と同様に、通信システムZは、上述したゲートウェイ1001の構成によって、ネットワークにおけるチャンネルを変更する場合にネットワーク内の全てのノードに対して確実にチャンネル変更を指示すること、および、スリーピー・エンドデバイスにかかる負荷を低減可能となる。   Even in the channel manual switching mode, as in the case of the channel automatic switching mode, the communication system Z ensures the channel to all nodes in the network when the channel in the network is changed by the configuration of the gateway 1001 described above. It is possible to instruct a change and to reduce the load on the sleepy end device.

<I.エネルギレベルのデータ>
図18は、ゲートウェイ1001がエネルギレベルの通知(Mgmt_NWK_UPdate_notify)を受取ったときのログを表した図である。図18を参照して、中程の「Energy Values = {0xca,…(中略)…,0x56}」が、あるルータから送られてきたエネルギレベル情報である。エネルギレベル情報は、ZigBee(登録商標)では周波数が異なる16個のチャンネル11ch〜26chが用いられるため、各チャンネルに対応した16個のエネルギレベルを表した値を含む。エネルギレベルの値は0から255までの値をとり、値が大きいほどエネルギ(受信電力)の値が高いことを示している。TotalTransmissionsは送信回数を、TransmissionFailuresは送信失敗した回数を示している。
<I. Energy level data>
FIG. 18 is a diagram showing a log when the gateway 1001 receives an energy level notification (Mgmt_NWK_UPdate_notify). Referring to FIG. 18, “Energy Values = {0xca,... (Omitted)..., 0x56}” in the middle is energy level information transmitted from a certain router. Since the ZigBee (registered trademark) uses 16 channels 11ch to 26ch having different frequencies, the energy level information includes a value representing 16 energy levels corresponding to each channel. The value of the energy level takes a value from 0 to 255, and the larger the value, the higher the value of energy (reception power). TotalTransmissions indicates the number of transmissions, and TransmissionFailures indicates the number of transmission failures.

また、下側の「Energy Values = {0x69,…(中略)…,0x2c}」が、別のルータから送られてきたエネルギレベル情報である。どのルータから受信したかはSrcAddrを見れば分かる。ここに送信元ノードのショートアドレスが示されている。   The lower “Energy Values = {0x69,... (Omitted)..., 0x2c}” is energy level information sent from another router. You can find out which router it received from SrcAddr. Here, the short address of the source node is shown.

ゲートウェイ1001は、チャンネル自動切替モードの場合には、このようなエネルギレベル情報に基づき、「(E−1−1)」で説明した処理を行なうことによって、チャンネルを変更すべきか否かと、チャンネルを変更する場合にはどのチャンネルに変更すべきかとを判断する。   In the channel automatic switching mode, the gateway 1001 performs the process described in “(E-1-1)” on the basis of such energy level information, and determines whether the channel should be changed and the channel. When changing, it is determined which channel should be changed.

<J.実装例>
図19は、ゲートウェイ1001における実装方法を説明するための図である。つまり、図19は、ゲートウェイ1001におけるソフトウェア構造を表す図である。
<J. Implementation example>
FIG. 19 is a diagram for explaining a mounting method in the gateway 1001. That is, FIG. 19 is a diagram illustrating a software structure in the gateway 1001.

図19を参照して、無線RF内蔵通信コントローラ部1106は、設定アプリケーション1401と、機器制御ライブラリ1402と、Z−STACKモニタライブラリ1403と、UDP/IP1404と、Ethernet(登録商標)1405と、Ethernet(登録商標)1406と、UDP/IP(User Datagram Protocol / Internet Protocol)ポート12130と、Z−STACK/IPブリッジ1408と、Z−STACKモニタライブラリ1409とUART1410とを含む。   Referring to FIG. 19, the wireless RF built-in communication controller unit 1106 includes a setting application 1401, a device control library 1402, a Z-STACK monitor library 1403, a UDP / IP 1404, an Ethernet (registered trademark) 1405, and an Ethernet ( (Registered trademark) 1406, UDP / IP (User Datagram Protocol / Internet Protocol) port 12130, Z-STACK / IP bridge 1408, Z-STACK monitor library 1409, and UART 1410.

Z−STACK/IPブリッジ1408は、UDP/IPポート12130を開いて、各アプリケーションからコマンドを受け付ける。Z−STACK/IPブリッジ1408は、受け取ったコマンドを、UART1410を経由して、ZigBee(登録商標)コーディネータ部1106に伝える。   The Z-STACK / IP bridge 1408 opens a UDP / IP port 12130 and accepts a command from each application. The Z-STACK / IP bridge 1408 transmits the received command to the ZigBee (registered trademark) coordinator 1106 via the UART 1410.

<K.変形例>
[K−1.第1の変形例]
上記においては、ゲートウェイ1001が、ブロードバンドルータ1002を介して、外部のネットワークであるインターネットに接続されている構成を例に挙げて説明した(図1)。しかしながら、ネットワークZにおいて、無線RF内蔵通信コントローラ部1106と制御部1101とを有する一方、外部のネットワークとの中継機能を有しない通信制御装置を、ゲートウェイ1001の代わりに用いてもよい。
<K. Modification>
[K-1. First Modification]
In the above description, a configuration in which the gateway 1001 is connected to the Internet, which is an external network, via the broadband router 1002 has been described as an example (FIG. 1). However, in the network Z, a communication control device that includes the wireless RF built-in communication controller unit 1106 and the control unit 1101 but does not have a relay function with an external network may be used instead of the gateway 1001.

[K−2.第2の変形例]
上記においては、パーソナルエリアネットワークとしてZigBee(登録商標)を例に挙げて説明したが、これに限定されるものではない。パーソナルエリアネットワークとして、Z−Wave(登録商標)を用いることもできる。
[K-2. Second Modification]
In the above description, ZigBee (registered trademark) has been described as an example of the personal area network, but the personal area network is not limited to this. Z-Wave (registered trademark) can also be used as a personal area network.

[K−3.第3の変形例]
上記においては、ゲートウェイ1001の動作モードをチャンネル自動切替モードとチャンネル手動切替モードのとの間で切替可能である構成を例に挙げて説明したが、これに限定されるものではない。ゲートウェイを、上記動作モードとしてチャンネル自動切替モードまたはチャンネル手動切替モードをのみを有する構成としてもよい。
[K-3. Third Modification]
In the above description, the configuration in which the operation mode of the gateway 1001 can be switched between the automatic channel switching mode and the manual channel switching mode has been described as an example. However, the present invention is not limited to this. The gateway may be configured to have only the channel automatic switching mode or the channel manual switching mode as the operation mode.

〔実施の形態2〕
実施の形態1においては、まず、ルータがエルギレベルをゲートウェイ1001に通知し、ゲートウェイ1001がエネルギレベルに基づいて自動的にチャンネルを変更する構成(自動切替)を説明した。次いで、ルータがエルギレベルをゲートウェイ1001に通知し、ゲートウェイ1001が、エネルギレベルを表示するとともに、ユーザの指示に基づいたチャンネルに変更する構成(手動切替)について説明した。
[Embodiment 2]
In the first embodiment, the configuration in which the router notifies the Elgi level to the gateway 1001 and the gateway 1001 automatically changes the channel based on the energy level (automatic switching) has been described. Next, a configuration has been described in which the router notifies the Elgi level to the gateway 1001, and the gateway 1001 displays the energy level and changes to a channel based on a user instruction (manual switching).

つまり、実施の形態1では、周波数アジリティを部分的に実施しつつ、ネットワークマネージャが自動的にチャンネル変更する場合、または、ネットワークマネージャからユーザ(ネットワーク管理者)に通知し、ユーザ操作によってチャンネルを変更する場合について説明した。なお、実施の形態1のように、周波数アジリティを部分的に実施しておけば、チャンネルが干渉して通信エラーが多くなっている状態かどうか分かるという利点がある。   That is, in the first embodiment, when the network manager automatically changes the channel while partially implementing the frequency agility, or the network manager notifies the user (network administrator) and changes the channel by the user operation. Explained when to do. In addition, if the frequency agility is partially implemented as in the first embodiment, there is an advantage that it is possible to know whether or not there is a communication error due to channel interference.

本実施の形態では、周波数アジリティは直接関係なく、設定アプリケーションからユーザ操作(チャンネルの指定等)によってチャンネル変更をする構成について説明する。つまり、通信システム1が、実施の形態1のように周波数アジリティを実施しない構成について説明する。なお、以下では、主として、実施の形態1と異なる点について説明する。なお、説明の便宜上、実施の形態1のゲートウェイ1001,1001Aと区別するために、本実施の形態のゲートウェイを「ゲートウェイ1001B」と称する。   In the present embodiment, a description will be given of a configuration in which the channel is changed by a user operation (channel designation or the like) from the setting application regardless of the frequency agility. That is, a configuration in which the communication system 1 does not implement frequency agility as in the first embodiment will be described. In the following description, differences from the first embodiment will be mainly described. For convenience of description, the gateway of this embodiment is referred to as “gateway 1001B” in order to distinguish it from the gateways 1001 and 1001A of the first embodiment.

ゲートウェイ1001Bは、ユーザによってチャンネルが指定される構成であるため、動作モードとして、チャンネル手動切替モードを備えるが、チャンネル自動切替モードは備えない。   Since the gateway 1001B has a configuration in which a channel is designated by a user, the gateway 1001B includes a channel manual switching mode as an operation mode, but does not include a channel automatic switching mode.

ゲートウェイ1001Bは、ユーザによってチャンネルが指定される構成であるため、実施の形態1におけるチャンネル手動切替モードと同様、上述した「(E−1−1.エネルギレベル情報に基づくチャンネル変更処理の概要)」の処理は行なわない。ゲートウェイ1001は、上述した「(E−1−2.チャンネル情報の送信処理)」と「(E−1−3.タイミング情報の送信処理)」とをこの順に行なう。また、ゲートウェイ1001Bは、タイマの設定例として、たとえば「(E−1−4.タイマの設定例)」で説明した手法を用いればよい。   Since the gateway 1001B has a configuration in which a channel is designated by the user, the above-described “(E-1-1. Overview of channel change processing based on energy level information)” is the same as the channel manual switching mode in the first embodiment. No processing is performed. The gateway 1001 performs the above-described “(E-1-2. Channel information transmission process)” and “(E-1-3. Timing information transmission process)” in this order. Further, the gateway 1001B may use, for example, the method described in “(E-1-4. Timer setting example)” as a timer setting example.

<L.制御構造>
図20は、本実施の形態におけるゲートウェイ1001Bの処理のフローを表したフローチャートである。図20を参照して、ゲートウェイ1001Bは、ステップS106〜ステップS118の処理を実行する。当該ステップS106〜ステップS118の処理は、図11で説明したステップS106〜ステップS118と同内容の処理である。ただし、図20では、ステップS102、S104がないため、ステップS106でNOの場合には、処理をステップS106に戻すことになる。
<L. Control structure>
FIG. 20 is a flowchart showing the processing flow of gateway 1001B in the present embodiment. Referring to FIG. 20, gateway 1001B executes the processes of steps S106 to S118. The processing in steps S106 to S118 is the same as the processing in steps S106 to S118 described in FIG. However, since there are no steps S102 and S104 in FIG. 20, if NO in step S106, the process returns to step S106.

<M.ユーザインターフェイス>
図21は、本実施の形態における、ネットワーク全体についての設定画面333を表した図である。具体的には、図12において、オブジェクト303が選択された後の遷移画面である。図21を参照して、設定画面333には、「ネットワークの管理」の項目と、「現在のネットワークの状況」の項目と、3つのオブジェクト3301,3303,3304とを含む。なお、図中において、破線で囲まれた箇所はテキストボックスである。当該テキストボックスは、書き込み可能である。
<M. User interface>
FIG. 21 shows a setting screen 333 for the entire network in the present embodiment. Specifically, FIG. 12 shows a transition screen after the object 303 is selected. Referring to FIG. 21, setting screen 333 includes an item “network management”, an item “current network status”, and three objects 3301, 3303, and 3304. In the figure, a portion surrounded by a broken line is a text box. The text box is writable.

ユーザがPanIDとチャンネルとを指定した上でオブジェクト3301を選択することにより、ゲートウェイ1001Bは、ネットワークZの全ての通信機器(ノード)を一括変更する。具体的には、ゲートウェイ1001は、NVRAM(Non Volatile Random Access Memory)コンフィグ情報を書き換えて、リセットする。また、ゲートウェイ1001Bは、一括変更を実行する前に、ダイアログボックスを設定画面333内に表示することにより、ユーザに承認を求める。また、初期値は、ローカルノードで取得した値と同じとする。   When the user designates the PanID and the channel and selects the object 3301, the gateway 1001B collectively changes all the communication devices (nodes) of the network Z. Specifically, the gateway 1001 rewrites and resets NVRAM (Non Volatile Random Access Memory) configuration information. Further, the gateway 1001B prompts the user for approval by displaying a dialog box in the setting screen 333 before executing the batch change. The initial value is the same as the value acquired at the local node.

<N.ゲートウェイの機能的構成>
図22は、ゲートウェイ1001Bの機能ブロック図である。図22を参照して、ゲートウェイ1001Bは、通信部101と、タイミング決定部103と、記憶部104と、表示制御部105と、表示部1103と、入力受付部107とを備える。つまり、ゲートウェイ1001Bは、チャンネル決定部102と動作モード切替部109とを備えていない点において、実施の形態1のゲートウェイ1001と異なる(図17参照)。
<N. Functional configuration of gateway>
FIG. 22 is a functional block diagram of the gateway 1001B. Referring to FIG. 22, gateway 1001B includes a communication unit 101, a timing determination unit 103, a storage unit 104, a display control unit 105, a display unit 1103, and an input reception unit 107. That is, the gateway 1001B is different from the gateway 1001 of Embodiment 1 in that the channel determination unit 102 and the operation mode switching unit 109 are not provided (see FIG. 17).

通信部101は、予め定められた複数のチャンネルの1つを用いてルータである通信機器と通信する。入力受付部107は、当該複数のチャンネルの中から変更先となるチャンネルを指定する外部入力を受け付ける。通信部101は、変更前のチャンネルを用いたユニキャストによって、指定されたチャンネルへの変更指令を、各ルータおよびスリーピー・エンドデバイスに送信する。   The communication unit 101 communicates with a communication device that is a router using one of a plurality of predetermined channels. The input receiving unit 107 receives an external input that designates a channel to be changed from among the plurality of channels. The communication unit 101 transmits a change instruction to the designated channel to each router and the sleepy end device by unicast using the channel before the change.

詳しくは、上記変更指令は、指定されたチャンネルを表したチャンネル情報と、指定されたチャンネルへの変更タイミングを表したタイミング情報とを含んでいる。変更タイミングは、タイミング情報を受信したときからの時間として規定され、かつ各ルータとスリーピー・エンドデバイスとで個別に設定されている。   Specifically, the change command includes channel information representing the designated channel and timing information representing the change timing to the designated channel. The change timing is defined as the time from when the timing information is received, and is set individually for each router and the sleepy end device.

通信部101は、変更前のチャンネルを用いたユニキャストによって、チャンネル情報を各ルータおよびスリーピー・エンドデバイスに送信する。通信部101は、チャンネル情報の送信の後に、変更前のチャンネルを用いたユニキャストによって、タイミング情報を各ルータおよびスリーピー・エンドデバイスに送信する。   The communication unit 101 transmits channel information to each router and the sleepy end device by unicast using the channel before the change. After transmitting the channel information, the communication unit 101 transmits timing information to each router and the sleepy end device by unicast using the channel before the change.

以上の構成によって、通信システムZは、実施の形態1と同様に、上述したゲートウェイ1001Bの構成によって、ネットワークにおけるチャンネルを変更する場合にネットワーク内の全てのノードに対して確実にチャンネル変更を指示すること、および、スリーピー・エンドデバイスにかかる負荷を低減可能となる。   With the above configuration, the communication system Z reliably instructs all nodes in the network to change the channel when the channel in the network is changed by the configuration of the gateway 1001B described above, as in the first embodiment. And the load on the sleepy end device can be reduced.

なお、本実施の形態においても、実施の形態1で述べた変形例([K−1.第1の変形例]〜[K−3.第3の変形例])を適用可能である。   Also in the present embodiment, the modifications described in the first embodiment ([K-1. First modification] to [K-3. Third modification]) can be applied.

今回開示された実施の形態は例示であって、上記内容のみに制限されるものではない。本発明の範囲は特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内での全ての変更が含まれることが意図される。   The embodiment disclosed this time is an exemplification, and the present invention is not limited to the above contents. The scope of the present invention is defined by the terms of the claims, and is intended to include any modifications within the scope and meaning equivalent to the terms of the claims.

11〜16 通信機器、101 通信部、102 チャンネル決定部、103 タイミング決定部、104,104A 記憶部、105 表示制御部、107 入力受付部、108 通信時間測定部、109 動作モード切替部、310,320,331,332,333 設定画面、1001,1001A ゲートウェイ、1002 ブロードバンドルータ、1004 消費電力測定器、1005 エアコン、1006 冷蔵庫、1007 洗濯乾燥機、1008 各種センサ、1101,1501 制御部、1102,1502 操作部、1103 表示部、1104 高速通信インターフェイス部、1105,1505,2104 電源部、1106,1506,2120 無線RF内蔵通信コントローラ部、1107,1507,2107 アンテナ、1161,2121 CPU、1162,2122 ROM、1163,2123 RAM、1164,2124 GPIO、1165,2125 無線RF部、1403,1409 Z−STACKモニタライブラリ、1404 UDP/IP、1408 Z−STACK/IPブリッジ、1401 UART、1504 センサ部、1508 制御対象、2101 ソケット、2102 プラグ、2103 シャント抵抗、2106 設定ボタン、2110 電力センサ部、E,Z ネットワーク、CM 低速無線通信モジュール。   11-16 Communication device, 101 Communication unit, 102 Channel determination unit, 103 Timing determination unit, 104, 104A Storage unit, 105 Display control unit, 107 Input reception unit, 108 Communication time measurement unit, 109 Operation mode switching unit, 310, 320, 331, 332, 333 setting screen, 1001, 1001A gateway, 1002 broadband router, 1004 power consumption measuring device, 1005 air conditioner, 1006 refrigerator, 1007 washing dryer, 1008 various sensors, 1101, 1501 control unit, 1102, 1502 operation , 1103 Display unit, 1104 High-speed communication interface unit, 1105, 1505, 2104 Power supply unit, 1106, 1506, 2120 Communication controller unit with built-in wireless RF, 1107, 1507, 2107 Antenna 1161, 2121 CPU, 1162, 2122 ROM, 1163, 2123 RAM, 1164, 2124 GPIO, 1165, 2125 Wireless RF unit, 1403, 1409 Z-STACK monitor library, 1404 UDP / IP, 1408 Z-STACK / IP bridge, 1401 UART, 1504 sensor unit, 1508 Control target, 2101 socket, 2102 plug, 2103 shunt resistance, 2106 setting button, 2110 power sensor unit, E, Z network, CM Low-speed wireless communication module.

Claims (13)

ルータとエンドデバイスとを備えたネットワークシステムを管理する通信制御装置であって、
前記ルータと前記通信制御装置との間の通信エラーが発生したことに基づき、当該ルータから、予め定められた複数のチャンネルの各々のエネルギレベルを表したエネルギレベル情報を、前記複数のチャンネルにおける1つのチャンネルを用いて受信する通信手段と、
前記エネルギレベル情報に基づき、前記複数のチャンネルの中から変更先となるチャンネルを決定するチャンネル決定手段とを備え、
前記通信手段は、
前記変更前のチャンネルを用いたユニキャストによって、前記チャンネル情報を前記ルータおよび前記エンドデバイスに送信し、
前記チャンネル情報の送信の後に、前記変更前のチャンネルを用いたユニキャストによって、前記決定されたチャンネルへの変更タイミングを表したタイミング情報を、前記ルータおよび前記エンドデバイスに送信し、
前記通信制御装置は、
前記チャンネル情報の通信に要した時間を測定する測定手段と、
前記測定された時間に基づき、前記ルータと前記エンドデバイスとについての各々の前記変更タイミングを決定するタイミング決定手段とをさらに備える、通信制御装置。
A communication control apparatus for managing a network system including a router and an end device,
Based on the occurrence of a communication error between the router and the communication control device, energy level information representing the energy level of each of a plurality of predetermined channels is obtained from the router as 1 in the plurality of channels. Means for receiving using one channel;
Channel determining means for determining a channel to be changed from among the plurality of channels based on the energy level information;
The communication means includes
The channel information is transmitted to the router and the end device by unicast using the channel before the change,
After the transmission of the channel information, the timing information indicating the change timing to the determined channel is transmitted to the router and the end device by unicast using the channel before the change ,
The communication control device includes:
Measuring means for measuring the time required for communication of the channel information;
A communication control apparatus, further comprising: a timing determination unit that determines the change timing of each of the router and the end device based on the measured time .
ルータとエンドデバイスとを備えたネットワークシステムを管理する通信制御装置であって、
予め定められた複数のチャンネルの1つを用いて前記ルータと通信する通信手段と、
前記複数のチャンネルの中から変更先となるチャンネルを指定する外部入力を受け付ける受付手段とを備え、
前記通信手段は、
変更前のチャンネルを用いたユニキャストによって、前記指定されたチャンネルを表したチャンネル情報を、前記ルータおよび前記エンドデバイスに送信し、
前記チャンネル情報の送信の後に、前記変更前のチャンネルを用いたユニキャストによって、前記指定されたチャンネルへの変更タイミングを表したタイミング情報を、前記ルータおよび前記エンドデバイスに送信し、
前記通信制御装置は、
前記チャンネル情報の通信に要した時間を測定する測定手段と、
前記測定された時間に基づき、前記ルータと前記エンドデバイスとについての各々の前記変更タイミングを決定するタイミング決定手段とをさらに備える、通信制御装置。
A communication control apparatus for managing a network system including a router and an end device,
Communication means for communicating with the router using one of a plurality of predetermined channels;
Receiving means for receiving an external input for designating a channel to be changed from among the plurality of channels,
The communication means includes
Channel information representing the designated channel is transmitted to the router and the end device by unicast using the channel before the change,
After the transmission of the channel information, the timing information indicating the change timing to the designated channel is transmitted to the router and the end device by unicast using the channel before the change ,
The communication control device includes:
Measuring means for measuring the time required for communication of the channel information;
A communication control apparatus, further comprising: a timing determination unit that determines the change timing of each of the router and the end device based on the measured time .
ルータとエンドデバイスとを備えたネットワークシステムを管理する通信制御装置であって、
前記ルータと前記通信制御装置との間の通信エラーが発生したことに基づき、当該ルータから、予め定められた複数のチャンネルの各々のエネルギレベルを表したエネルギレベル情報を、前記複数のチャンネルにおける1つのチャンネルを用いて受信する通信手段と、
前記エネルギレベル情報をディスプレイに表示させる表示制御手段と、
前記エネルギレベル情報が表示されたことに基づき、前記複数のチャンネルの中から変更先となるチャンネルを指定する外部入力を受け付ける受付手段とを備え、
前記通信手段は、
前記変更前のチャンネルを用いたユニキャストによって、前記指定されたチャンネルを表したチャンネル情報を、前記ルータおよび前記エンドデバイスに送信し、
前記チャンネル情報の送信の後に、前記変更前のチャンネルを用いたユニキャストによって、前記決定されたチャンネルへの変更タイミングを表したタイミング情報を、前記ルータおよび前記エンドデバイスに送信し、
前記通信制御装置は、
前記チャンネル情報の通信に要した時間を測定する測定手段と、
前記測定された時間に基づき、前記ルータと前記エンドデバイスとについての各々の前記変更タイミングを決定するタイミング決定手段とをさらに備える、通信制御装置。
A communication control apparatus for managing a network system including a router and an end device,
Based on the occurrence of a communication error between the router and the communication control device, energy level information representing the energy level of each of a plurality of predetermined channels is obtained from the router as 1 in the plurality of channels. Means for receiving using one channel;
Display control means for displaying the energy level information on a display;
Receiving means for receiving an external input for designating a channel to be changed from among the plurality of channels based on the energy level information displayed;
The communication means includes
Channel information representing the designated channel is transmitted to the router and the end device by unicast using the channel before the change,
After the transmission of the channel information, the timing information indicating the change timing to the determined channel is transmitted to the router and the end device by unicast using the channel before the change ,
The communication control device includes:
Measuring means for measuring the time required for communication of the channel information;
A communication control apparatus, further comprising: a timing determination unit that determines the change timing of each of the router and the end device based on the measured time .
ルータとエンドデバイスとを備えたネットワークシステムを管理する通信制御装置であって、
前記ルータと前記通信制御装置との間の通信エラーが発生したことに基づき、当該ルータから、予め定められた複数のチャンネルの各々のエネルギレベルを表したエネルギレベル情報を、前記複数のチャンネルにおける1つのチャンネルを用いて受信する通信手段と、
前記エネルギレベル情報に基づき、前記複数のチャンネルの中から変更先となるチャンネルを決定するチャンネル決定手段とを備え、
前記通信手段は、
前記変更前のチャンネルを用いたユニキャストによって、前記チャンネル情報を前記ルータおよび前記エンドデバイスに送信し、
前記チャンネル情報の送信の後に、前記変更前のチャンネルを用いたユニキャストによって、前記決定されたチャンネルへの変更タイミングを表したタイミング情報を、前記ルータおよび前記エンドデバイスに送信し、
前記通信制御装置は、前記タイミング情報を送信する順序を表した順序情報と、前記ルータと、前記エンドデバイスとについての各々の前記変更タイミングを予め記憶した記憶手段をさらに備え、
前記通信手段は、前記記憶された変更タイミングに基づく前記タイミング情報を、前記順序情報に示された順序で、前記ルータと前記エンドデバイスとに送信する、通信制御装置。
A communication control apparatus for managing a network system including a router and an end device,
Based on the occurrence of a communication error between the router and the communication control device, energy level information representing the energy level of each of a plurality of predetermined channels is obtained from the router as 1 in the plurality of channels. Means for receiving using one channel;
Channel determining means for determining a channel to be changed from among the plurality of channels based on the energy level information;
The communication means includes
The channel information is transmitted to the router and the end device by unicast using the channel before the change,
After the transmission of the channel information, the timing information indicating the change timing to the determined channel is transmitted to the router and the end device by unicast using the channel before the change ,
The communication control device further includes storage means for storing in advance order information indicating the order in which the timing information is transmitted, the change timing of each of the router and the end device.
The communication control apparatus, wherein the communication unit transmits the timing information based on the stored change timing to the router and the end device in the order indicated by the order information .
ルータとエンドデバイスとを備えたネットワークシステムを管理する通信制御装置であって、
予め定められた複数のチャンネルの1つを用いて前記ルータと通信する通信手段と、
前記複数のチャンネルの中から変更先となるチャンネルを指定する外部入力を受け付ける受付手段とを備え、
前記通信手段は、
変更前のチャンネルを用いたユニキャストによって、前記指定されたチャンネルを表したチャンネル情報を、前記ルータおよび前記エンドデバイスに送信し、
前記チャンネル情報の送信の後に、前記変更前のチャンネルを用いたユニキャストによって、前記指定されたチャンネルへの変更タイミングを表したタイミング情報を、前記ルータおよび前記エンドデバイスに送信し、
前記通信制御装置は、前記タイミング情報を送信する順序を表した順序情報と、前記ルータと、前記エンドデバイスとについての各々の前記変更タイミングを予め記憶した記憶手段をさらに備え、
前記通信手段は、前記記憶された変更タイミングに基づく前記タイミング情報を、前記順序情報に示された順序で、前記ルータと前記エンドデバイスとに送信する、通信制御装置。
A communication control apparatus for managing a network system including a router and an end device,
Communication means for communicating with the router using one of a plurality of predetermined channels;
Receiving means for receiving an external input for designating a channel to be changed from among the plurality of channels,
The communication means includes
Channel information representing the designated channel is transmitted to the router and the end device by unicast using the channel before the change,
After the transmission of the channel information, the timing information indicating the change timing to the designated channel is transmitted to the router and the end device by unicast using the channel before the change ,
The communication control device further includes storage means for storing in advance order information indicating the order in which the timing information is transmitted, the change timing of each of the router and the end device.
The communication control apparatus, wherein the communication unit transmits the timing information based on the stored change timing to the router and the end device in the order indicated by the order information .
ルータとエンドデバイスとを備えたネットワークシステムを管理する通信制御装置であって、
前記ルータと前記通信制御装置との間の通信エラーが発生したことに基づき、当該ルータから、予め定められた複数のチャンネルの各々のエネルギレベルを表したエネルギレベル情報を、前記複数のチャンネルにおける1つのチャンネルを用いて受信する通信手段と、
前記エネルギレベル情報に基づき、前記複数のチャンネルの中から変更先となるチャンネルを決定するチャンネル決定手段とを備え、
前記通信手段は、
前記変更前のチャンネルを用いたユニキャストによって、前記チャンネル情報を前記ルータおよび前記エンドデバイスに送信し、
前記チャンネル情報の送信の後に、前記変更前のチャンネルを用いたユニキャストによって、前記決定されたチャンネルへの変更タイミングを表したタイミング情報を、前記ルータおよび前記エンドデバイスに送信し、
前記通信制御装置は、
前記通信制御装置と前記ルータとの間でユニキャストの通信に要する第1の時間を表す第1の時間情報と、前記通信制御装置と前記エンドデバイスとの間でユニキャストの通信に要する第2の時間を表す第2の時間情報とを予め記憶した記憶手段と、
前記ルータと前記エンドデバイスとの台数と、前記第1の時間情報と、前記第2の時間情報とに基づき、前記ルータと前記エンドデバイスとについての各々の前記変更タイミングを決定するタイミング決定手段とをさらに備える、通信制御装置。
A communication control apparatus for managing a network system including a router and an end device,
Based on the occurrence of a communication error between the router and the communication control device, energy level information representing the energy level of each of a plurality of predetermined channels is obtained from the router as 1 in the plurality of channels. Means for receiving using one channel;
Channel determining means for determining a channel to be changed from among the plurality of channels based on the energy level information;
The communication means includes
The channel information is transmitted to the router and the end device by unicast using the channel before the change,
After the transmission of the channel information, the timing information indicating the change timing to the determined channel is transmitted to the router and the end device by unicast using the channel before the change ,
The communication control device includes:
First time information indicating a first time required for unicast communication between the communication control device and the router, and a second time required for unicast communication between the communication control device and the end device. Storage means for storing in advance second time information representing the time of
Timing determining means for determining the respective change timings for the router and the end device based on the number of the routers and the end devices, the first time information, and the second time information; A communication control device further comprising:
ルータとエンドデバイスとを備えたネットワークシステムを管理する通信制御装置であって、
予め定められた複数のチャンネルの1つを用いて前記ルータと通信する通信手段と、
前記複数のチャンネルの中から変更先となるチャンネルを指定する外部入力を受け付ける受付手段とを備え、
前記通信手段は、
変更前のチャンネルを用いたユニキャストによって、前記指定されたチャンネルを表したチャンネル情報を、前記ルータおよび前記エンドデバイスに送信し、
前記チャンネル情報の送信の後に、前記変更前のチャンネルを用いたユニキャストによって、前記指定されたチャンネルへの変更タイミングを表したタイミング情報を、前記ルータおよび前記エンドデバイスに送信し、
前記通信制御装置は、
前記通信制御装置と前記ルータとの間でユニキャストの通信に要する第1の時間を表す第1の時間情報と、前記通信制御装置と前記エンドデバイスとの間でユニキャストの通信に要する第2の時間を表す第2の時間情報とを予め記憶した記憶手段と、
前記ルータと前記エンドデバイスとの台数と、前記第1の時間情報と、前記第2の時間情報とに基づき、前記ルータと前記エンドデバイスとについての各々の前記変更タイミングを決定するタイミング決定手段とをさらに備える、通信制御装置。
A communication control apparatus for managing a network system including a router and an end device,
Communication means for communicating with the router using one of a plurality of predetermined channels;
Receiving means for receiving an external input for designating a channel to be changed from among the plurality of channels,
The communication means includes
Channel information representing the designated channel is transmitted to the router and the end device by unicast using the channel before the change,
After the transmission of the channel information, the timing information indicating the change timing to the designated channel is transmitted to the router and the end device by unicast using the channel before the change ,
The communication control device includes:
First time information indicating a first time required for unicast communication between the communication control device and the router, and a second time required for unicast communication between the communication control device and the end device. Storage means for storing in advance second time information representing the time of
Timing determining means for determining the respective change timings for the router and the end device based on the number of the routers and the end devices, the first time information, and the second time information; A communication control device further comprising:
ルータとエンドデバイスとを備えたネットワークシステムを管理する通信制御装置であって、
前記ルータと前記通信制御装置との間の通信エラーが発生したことに基づき、当該ルータから、予め定められた複数のチャンネルの各々のエネルギレベルを表したエネルギレベル情報を、前記複数のチャンネルにおける1つのチャンネルを用いて受信する通信手段と、
前記エネルギレベル情報をディスプレイに表示させる表示制御手段と、
前記エネルギレベル情報が表示されたことに基づき、前記複数のチャンネルの中から変更先となるチャンネルを指定する外部入力を受け付ける受付手段とを備え、
前記通信手段は、
前記変更前のチャンネルを用いたユニキャストによって、前記指定されたチャンネルを表したチャンネル情報を、前記ルータおよび前記エンドデバイスに送信し、
前記チャンネル情報の送信の後に、前記変更前のチャンネルを用いたユニキャストによって、前記決定されたチャンネルへの変更タイミングを表したタイミング情報を、前記ルータおよび前記エンドデバイスに送信し、
前記通信制御装置は、
前記通信制御装置と前記ルータとの間でユニキャストの通信に要する第1の時間を表す第1の時間情報と、前記通信制御装置と前記エンドデバイスとの間でユニキャストの通信に要する第2の時間を表す第2の時間情報とを予め記憶した記憶手段と、
前記ルータと前記エンドデバイスとの台数と、前記第1の時間情報と、前記第2の時間情報とに基づき、前記ルータと前記エンドデバイスとについての各々の前記変更タイミングを決定するタイミング決定手段とをさらに備える、通信制御装置。
A communication control apparatus for managing a network system including a router and an end device,
Based on the occurrence of a communication error between the router and the communication control device, energy level information representing the energy level of each of a plurality of predetermined channels is obtained from the router as 1 in the plurality of channels. Means for receiving using one channel;
Display control means for displaying the energy level information on a display;
Receiving means for receiving an external input for designating a channel to be changed from among the plurality of channels based on the energy level information displayed;
The communication means includes
Channel information representing the designated channel is transmitted to the router and the end device by unicast using the channel before the change,
After the transmission of the channel information, the timing information indicating the change timing to the determined channel is transmitted to the router and the end device by unicast using the channel before the change ,
The communication control device includes:
First time information indicating a first time required for unicast communication between the communication control device and the router, and a second time required for unicast communication between the communication control device and the end device. Storage means for storing in advance second time information representing the time of
Timing determining means for determining the respective change timings for the router and the end device based on the number of the routers and the end devices, the first time information, and the second time information; A communication control device further comprising:
前記記憶手段は、前記タイミング情報を送信する順序を表した順序情報をさらに記憶しており、The storage means further stores order information representing an order of transmitting the timing information,
前記タイミング決定手段は、The timing determining means includes
前記台数と、前記順序情報と、前記第1の時間情報と、前記第2の時間情報とに基づき、前記ルータと前記エンドデバイスとについての各々の前記変更タイミングを決定し、Based on the number, the order information, the first time information, and the second time information, determine the change timing of each of the router and the end device,
前記決定した各変更タイミングを、前記ルータと前記エンドデバイスとについての各々の前記変更タイミングとして、前記記憶手段に記憶させ、Each determined change timing is stored in the storage means as the change timing for each of the router and the end device,
前記通信手段は、前記記憶された変更タイミングに基づく前記タイミング情報を、前記順序情報に示された順序で、前記ルータと前記エンドデバイスとに送信する、請求項6から8のいずれか1項に記載の通信制御装置。9. The communication device according to claim 6, wherein the communication unit transmits the timing information based on the stored change timing to the router and the end device in the order indicated by the order information. The communication control device described.
請求項1から9のいずれか1項に記載の通信制御装置と、前記ルータと、前記エンドデバイスとを備えたネットワークシステム。A network system comprising the communication control device according to claim 1, the router, and the end device. ルータとエンドデバイスとを備えたネットワークシステムを管理する通信制御装置における通信制御方法であって、
前記通信制御装置が、予め定められた複数のチャンネルの1つを用いて前記ルータと通信するステップと、
前記通信制御装置が、前記複数のチャンネルの中から変更先となるチャンネルを指定する外部入力を受け付けるステップと、
前記通信制御装置が、変更前のチャンネルを用いたユニキャストによって、前記指定されたチャンネルを表したチャンネル情報を、前記ルータおよび前記エンドデバイスに送信するステップと、
前記通信制御装置が、前記チャンネル情報の送信の後に、前記変更前のチャンネルを用いたユニキャストによって、前記指定されたチャンネルへの変更タイミングを表したタイミング情報を、前記ルータおよび前記エンドデバイスに送信するステップと、
前記通信制御装置が、前記チャンネル情報の通信に要した時間を測定するステップと、
前記通信制御装置が、前記測定された時間に基づき、前記ルータと前記エンドデバイスとについての各々の前記変更タイミングを決定するステップとを備える、通信制御方法。
A communication control method in a communication control apparatus for managing a network system including a router and an end device,
The communication control device communicating with the router using one of a plurality of predetermined channels;
The communication control device accepting an external input designating a channel to be changed from among the plurality of channels;
The communication control unit transmitting channel information representing the designated channel to the router and the end device by unicast using a channel before change;
After the transmission of the channel information, the communication control device transmits timing information indicating a change timing to the designated channel to the router and the end device by unicast using the channel before the change. And steps to
Measuring the time required for the communication control device to communicate the channel information;
A communication control method comprising: determining the change timing of each of the router and the end device based on the measured time .
ルータとエンドデバイスとを備えたネットワークシステムを管理する通信制御装置における通信制御方法であって、
前記通信制御装置が、予め定められた複数のチャンネルの1つを用いて前記ルータと通信するステップと、
前記通信制御装置が、前記複数のチャンネルの中から変更先となるチャンネルを指定する外部入力を受け付けるステップと、
前記通信制御装置が、変更前のチャンネルを用いたユニキャストによって、前記指定されたチャンネルを表したチャンネル情報を、前記ルータおよび前記エンドデバイスに送信するステップと、
前記通信制御装置が、前記チャンネル情報の送信の後に、前記変更前のチャンネルを用いたユニキャストによって、前記指定されたチャンネルへの変更タイミングを表したタイミング情報を、前記ルータおよび前記エンドデバイスに送信するステップとを備え、
前記通信制御装置は、前記通信制御装置と前記ルータとの間でユニキャストの通信に要する第1の時間を表す第1の時間情報と、前記通信制御装置と前記エンドデバイスとの間でユニキャストの通信に要する第2の時間を表す第2の時間情報とをメモリに予め記憶しており、
前記通信制御方法は、
前記通信制御装置が、前記ルータと前記エンドデバイスとの台数と、前記第1の時間情報と、前記第2の時間情報とに基づき、前記ルータと前記エンドデバイスとについての各々の前記変更タイミングを決定するステップをさらに備える、通信制御方法。
A communication control method in a communication control apparatus for managing a network system including a router and an end device,
The communication control device communicating with the router using one of a plurality of predetermined channels;
The communication control device accepting an external input designating a channel to be changed from among the plurality of channels;
The communication control unit transmitting channel information representing the designated channel to the router and the end device by unicast using a channel before change;
After the transmission of the channel information, the communication control device transmits timing information indicating a change timing to the designated channel to the router and the end device by unicast using the channel before the change. And a step of
The communication control device includes: first time information indicating a first time required for unicast communication between the communication control device and the router; and unicast between the communication control device and the end device. And second time information representing the second time required for the communication of is stored in the memory in advance,
The communication control method includes:
The communication control apparatus determines the change timing of each of the router and the end device based on the number of the routers and the end devices, the first time information, and the second time information. A communication control method further comprising a step of determining .
請求項11または12に記載の通信制御方法を前記通信制御装置に実行させるためのプログラム。 The program for making the said communication control apparatus perform the communication control method of Claim 11 or 12.
JP2011184910A 2011-08-26 2011-08-26 COMMUNICATION CONTROL DEVICE, NETWORK SYSTEM, COMMUNICATION CONTROL METHOD, AND PROGRAM Expired - Fee Related JP5722162B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011184910A JP5722162B2 (en) 2011-08-26 2011-08-26 COMMUNICATION CONTROL DEVICE, NETWORK SYSTEM, COMMUNICATION CONTROL METHOD, AND PROGRAM

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011184910A JP5722162B2 (en) 2011-08-26 2011-08-26 COMMUNICATION CONTROL DEVICE, NETWORK SYSTEM, COMMUNICATION CONTROL METHOD, AND PROGRAM

Publications (2)

Publication Number Publication Date
JP2013046359A JP2013046359A (en) 2013-03-04
JP5722162B2 true JP5722162B2 (en) 2015-05-20

Family

ID=48009890

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011184910A Expired - Fee Related JP5722162B2 (en) 2011-08-26 2011-08-26 COMMUNICATION CONTROL DEVICE, NETWORK SYSTEM, COMMUNICATION CONTROL METHOD, AND PROGRAM

Country Status (1)

Country Link
JP (1) JP5722162B2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6307700B2 (en) * 2013-09-27 2018-04-11 パナソニックIpマネジメント株式会社 refrigerator
JP5862652B2 (en) * 2013-12-18 2016-02-16 株式会社バッファロー Wireless connection apparatus, method for copying setting information related to wireless communication, and network system
JP6269025B2 (en) * 2013-12-18 2018-01-31 株式会社バッファロー Wireless connection apparatus, method for copying setting information related to wireless communication, and network system
JP2017147699A (en) * 2016-02-19 2017-08-24 Smk株式会社 Communication system
JP6468341B2 (en) * 2017-12-14 2019-02-13 株式会社バッファロー Wireless connection apparatus, method for copying setting information related to wireless communication, and network system
JP7476665B2 (en) 2020-05-22 2024-05-01 トヨタ自動車株式会社 Fuel supply system control device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3742057B2 (en) * 2002-12-25 2006-02-01 株式会社バッファロー Analysis technology of radio wave condition in wireless information communication
JP4950847B2 (en) * 2007-11-02 2012-06-13 株式会社東芝 Wireless communication device

Also Published As

Publication number Publication date
JP2013046359A (en) 2013-03-04

Similar Documents

Publication Publication Date Title
JP5722162B2 (en) COMMUNICATION CONTROL DEVICE, NETWORK SYSTEM, COMMUNICATION CONTROL METHOD, AND PROGRAM
US9842202B2 (en) Device proximity
US8089912B2 (en) Multicast communication method, accompanied with the relay node and wireless network system design
RU2573750C2 (en) Improved commissioning of wireless network systems
US7664066B2 (en) Wireless device, method for wireless communication system, and wireless communication system
CN110167043B (en) Equipment control method and device, Internet of things system, electronic equipment and storage medium
US9674720B2 (en) Wireless communication link debugging
JP2016533050A (en) Method for setting a node and set node
EP2529562B1 (en) I/o driven node commissioning in a sleeping mesh network
WO2010006099A1 (en) Access point rotation for sharing power load
KR20110053250A (en) Commissioning a network system
EP2706733A1 (en) Method for suspending traffic in control system of mesh network
JP2023515723A (en) Efficient commissioning of radio control systems
US20070076640A1 (en) Method and system for indicating wireless interconnectivity
JP2020191685A (en) Wireless sensor system, wireless terminal device, communication control method, and communication control program
JP5996905B2 (en) Control device, communication network system, and node information management method
JP2012129916A (en) Communication device
US20180159853A1 (en) Home network system using z-wave network and home automation device connection method using same
JP6282509B2 (en) Wireless device and wireless communication system including the same
KR20090093543A (en) Radio frequency sensor network system and data communication method thereof
JP2022525076A (en) Mobile devices, systems and methods
WO2020002048A1 (en) Optimize commissioning in zigbee network
JP2014086776A (en) Management node, program, and radio communication system
JP5980821B2 (en) Control device and communication control method
EP2640137B1 (en) Method for attaching control devices to control system in mesh network

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140404

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20141216

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20141217

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150213

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150325

R150 Certificate of patent or registration of utility model

Ref document number: 5722162

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees