JP4808228B2 - Wireless communication apparatus, wireless communication method, and wireless communication control program - Google Patents

Wireless communication apparatus, wireless communication method, and wireless communication control program Download PDF

Info

Publication number
JP4808228B2
JP4808228B2 JP2008049373A JP2008049373A JP4808228B2 JP 4808228 B2 JP4808228 B2 JP 4808228B2 JP 2008049373 A JP2008049373 A JP 2008049373A JP 2008049373 A JP2008049373 A JP 2008049373A JP 4808228 B2 JP4808228 B2 JP 4808228B2
Authority
JP
Japan
Prior art keywords
wireless communication
unit
information processing
pan
wireless
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
JP2008049373A
Other languages
Japanese (ja)
Other versions
JP2009207050A (en
Inventor
正憲 諸戸
陽次郎 沼田
知宏 青柳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2008049373A priority Critical patent/JP4808228B2/en
Publication of JP2009207050A publication Critical patent/JP2009207050A/en
Application granted granted Critical
Publication of JP4808228B2 publication Critical patent/JP4808228B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本件は無線通信装置、無線通信方法および無線通信制御プログラムに関し、特に親機と複数の子機とが無線通信を行う無線通信システムで用いられる無線通信装置、無線通信方法および無線通信制御プログラムに関する。   The present invention relates to a wireless communication device, a wireless communication method, and a wireless communication control program, and particularly to a wireless communication device, a wireless communication method, and a wireless communication control program used in a wireless communication system in which a parent device and a plurality of child devices perform wireless communication.

現在、情報家電やコンピュータなどの機器に短距離無線通信装置を搭載し、複数の機器が連携して情報処理を行えるようにした無線PAN(Personal Area Network)が注目されている。無線PANを用いることで、例えば、監視カメラや温度センサなどのセンサ装置から得られるセンシングデータをコンピュータに転送し、コンピュータがセンシングデータを解析して各種装置を制御するセンサネットワークを容易に実現することができる。なお、無線PANで用いることができる短距離無線通信方式として、例えば、ZigBeeがある。ZigBeeは、通信速度が低く通信可能距離も短い一方、無線通信に必要な消費電力が小さく無線通信装置を小型化できるという利点がある(例えば、非特許文献1参照)。   At present, wireless PANs (Personal Area Networks) in which short-range wireless communication devices are mounted on devices such as information home appliances and computers and information can be processed in cooperation with a plurality of devices are attracting attention. By using wireless PAN, for example, it is possible to easily realize a sensor network in which sensing data obtained from a sensor device such as a monitoring camera or a temperature sensor is transferred to a computer, and the computer analyzes the sensing data and controls various devices. Can do. For example, ZigBee is a short-range wireless communication method that can be used in a wireless PAN. ZigBee has the advantage that the communication speed is low and the communicable distance is short, while the power consumption required for wireless communication is small and the wireless communication device can be downsized (for example, see Non-Patent Document 1).

ここで、無線PANにおける複数の無線通信装置の接続形態(ネットワークトポロジ)としては、様々なものが考えられる。その1つに、無線PANを管理する親機(コーディネータ)と複数の子機(エンドデバイス)との間で無線リンクを確立し、子機は親機経由で無線通信を行うスター型トポロジがある。スター型トポロジは、無線PANシステム全体の消費電力をより低減できるという利点がある。しかし、その一方で、親機が故障すると子機間の通信が行えなくなるという問題もある。そのため、スター型トポロジでは、親機が故障したときに無線通信機能を回復するための対策が必要となる。   Here, various connection forms (network topologies) of a plurality of wireless communication apparatuses in the wireless PAN can be considered. One of these is a star topology in which a wireless link is established between a parent device (coordinator) that manages a wireless PAN and a plurality of child devices (end devices), and the child device performs wireless communication via the parent device. . The star topology has an advantage that the power consumption of the entire wireless PAN system can be further reduced. On the other hand, however, there is a problem that communication between the slave units cannot be performed if the master unit fails. For this reason, in the star topology, it is necessary to take measures to restore the wireless communication function when the master unit fails.

複数の通信装置の一部が故障したときに自動的に通信機能を回復する技術としては、以下のものが知られている。すなわち、親機の動作状態を監視し、異常が検出されるとシステムの制御機能を親機から他の装置に自動的に移譲する技術がある(例えば、特許文献1参照)。また、複数の伝送制御装置をループ状に結合しておき、動作異常が検知されると異常情報をループ状のネットワークで回送し、各伝送制御装置は異常情報に基づいてデータ伝送経路を自立的に変更する技術がある(例えば、特許文献2参照)。
特開平09−307572号公報 特開昭60−140457号公報 The Institute of Electrical and Electronics Engineers (IEEE), "Wireless Medium Access Control (MAC) and Physical Layer (PHY) Specifications for Low-Rate Wireless Personal Area Networks (WPANs)", IEEE Std 802.15.4-2006.
The following are known as techniques for automatically recovering the communication function when some of the plurality of communication devices fail. In other words, there is a technique for monitoring the operation state of the master unit and automatically transferring the control function of the system from the master unit to another device when an abnormality is detected (see, for example, Patent Document 1). In addition, a plurality of transmission control devices are coupled in a loop shape, and when an abnormal operation is detected, the abnormality information is forwarded through the loop network, and each transmission control device autonomously establishes a data transmission path based on the abnormality information. There is a technique to change to (for example, see Patent Document 2).
JP 09-307572 A JP-A-60-140457 The Institute of Electrical and Electronics Engineers (IEEE), "Wireless Medium Access Control (MAC) and Physical Layer (PHY) Specifications for Low-Rate Wireless Personal Area Networks (WPANs)", IEEE Std 802.15.4-2006.

ところで、スター型トポロジのネットワークでは、親機が故障したときに何れかの子機が新たな親機として機能することで、自動的に通信機能を回復させる方法も考えられる。しかし、無線PANにこの方法を適用する場合、何れの子機を新たな親機とするかの決定方法が問題となる。これは、無線PANでは、各子機は短距離無線通信を行うものであるため、他の全ての子機と無線通信可能とは限らないからである。一方、回復後の無線PANシステムは、故障前の無線PANシステムにできる限り近い無線通信機能を提供できることが望ましい。   By the way, in a star topology network, a method of automatically recovering the communication function by any one of the slave units functioning as a new master unit when the master unit fails can be considered. However, when this method is applied to the wireless PAN, there is a problem in how to determine which child device is a new parent device. This is because, in the wireless PAN, each slave unit performs short-range wireless communication, and thus it is not always possible to wirelessly communicate with all other slave units. On the other hand, it is desirable that the recovered wireless PAN system can provide a wireless communication function as close as possible to the wireless PAN system before the failure.

本件はこのような点に鑑みてなされたものであり、親機と複数の子機とが無線通信を行う無線通信システムにおいて、親機が故障したときに適切な子機が新たな親機として自動的に選択されるようにする無線通信装置、無線通信方法および無線通信制御プログラムを提供することを目的とする。   This case has been made in view of such points, and in a wireless communication system in which a parent device and a plurality of child devices perform wireless communication, an appropriate child device becomes a new parent device when the parent device fails. An object of the present invention is to provide a wireless communication device, a wireless communication method, and a wireless communication control program that are automatically selected.

上記課題を解決するために、親機および親機と無線通信を行う複数の子機を備え、複数の子機の少なくとも1つに情報処理装置が接続された無線通信システムにおける、複数の子機それぞれとして用いられる無線通信装置が提供される。この無線通信装置は、検知手段、確認手段および決定手段を有する。検知手段は、親機との通信を監視して親機の故障を検知する。確認手段は、検知手段で親機の故障を検知すると、自装置と無線通信可能な他の子機を確認して確認結果を報知すると共に、他の子機それぞれが報知したその子機についての確認結果を受信する。決定手段は、確認手段で得た確認結果から、情報処理装置が接続された子機と無線通信可能であり、かつ、情報処理装置が接続された子機と無線通信可能な他の子機と比較して通信可能相手数が最も多いと判断される場合、自装置が新たな親機となることを決定して報知する。   In order to solve the above-described problem, a plurality of slave units in a wireless communication system including a master unit and a plurality of slave units that perform wireless communication with the master unit and an information processing apparatus connected to at least one of the plurality of slave units A wireless communication device used as each is provided. The wireless communication apparatus includes a detection unit, a confirmation unit, and a determination unit. The detection means monitors communication with the parent device and detects a failure of the parent device. When the detecting unit detects a failure of the master unit, the checking unit checks other slave units that can wirelessly communicate with the own device and notifies the confirmation result, and confirms the slave unit notified by each of the other slave units. Receive the result. Based on the confirmation result obtained by the confirmation unit, the determining unit is capable of wireless communication with the slave unit to which the information processing device is connected, and other slave units capable of wireless communication with the slave unit to which the information processing device is connected. If it is determined that the number of communicable opponents is the largest, the own device is determined to be a new parent device and notified.

このような無線通信装置によれば、検知手段により、親機との通信が監視されて親機の故障が検知される。親機の故障が検知されると、確認手段により、自装置と無線通信可能な他の子機が確認されると共に、他の子機それぞれについての確認結果が受信される。そして、決定手段により、情報処理装置が接続された子機と無線通信可能であり、かつ、情報処理装置が接続された子機と無線通信可能な他の子機と比較して通信可能相手数が最も多いと判断される場合、自装置が新たな親機となることが決定される。   According to such a wireless communication apparatus, the communication with the parent device is monitored by the detection means, and a failure of the parent device is detected. When a failure of the parent device is detected, the confirmation unit confirms other child devices that can wirelessly communicate with the own device, and receives confirmation results for each of the other child devices. Then, by the determining means, the number of counterparts that can communicate with the slave unit to which the information processing apparatus is connected and can communicate with the slave unit to which the information processing apparatus is connected can be compared with other slave units. Is determined to be the new master unit.

また、上記課題を解決するために、親機および親機と無線通信を行う複数の子機を備え、複数の子機の少なくとも1つに情報処理装置が接続された無線通信システムの無線通信方法が提供される。この無線通信方法では、複数の子機それぞれが、親機との通信を監視して親機の故障を検知する。次に、複数の子機それぞれが、親機の故障を検知すると、自装置と無線通信可能な他の子機を確認して確認結果を報知すると共に、他の子機それぞれが報知したその子機についての確認結果を受信する。そして、複数の子機それぞれが、得られた確認結果から、情報処理装置が接続された子機と無線通信可能であり、かつ、情報処理装置が接続された子機と無線通信可能な他の子機と比較して通信可能相手数が最も多いと判断される場合、自装置が新たな親機となることを決定して報知する。   In order to solve the above-described problem, a wireless communication method for a wireless communication system including a parent device and a plurality of child devices that perform wireless communication with the parent device, and an information processing apparatus connected to at least one of the plurality of child devices Is provided. In this wireless communication method, each of a plurality of child devices monitors communication with the parent device to detect a failure of the parent device. Next, when each of the plurality of slave units detects a failure of the master unit, the slave unit confirms the other slave units that can wirelessly communicate with its own device and notifies the confirmation result, and the slave unit notified by each of the other slave units Receive confirmation results for. Then, each of the plurality of slave units is wirelessly communicable with the slave unit to which the information processing apparatus is connected, based on the obtained confirmation result, and other slave units that are capable of wireless communication with the slave unit to which the information processing apparatus is connected. When it is determined that the number of communicable counterparts is the largest compared to the slave unit, the own device is determined and notified as a new master unit.

このような無線通信方法によれば、各子機により、親機との通信が監視されて親機の故障が検知される。次に、親機の故障が検知されると、自装置と無線通信可能な他の子機が確認されると共に、他の子機それぞれについての確認結果が受信される。そして、情報処理装置が接続された子機と無線通信可能であり、かつ、情報処理装置が接続された子機と無線通信可能な他の子機と比較して通信可能相手数が最も多いと判断される場合、自装置が新たな親機となることが決定される。   According to such a wireless communication method, each slave unit monitors communication with the master unit and detects a failure of the master unit. Next, when a failure of the parent device is detected, other child devices capable of wireless communication with the own device are confirmed, and confirmation results for each of the other child devices are received. And, when there is the largest number of counterparts that can communicate wirelessly with the slave unit to which the information processing device is connected and compared to other slave units that are capable of wireless communication with the slave unit to which the information processing device is connected. When the determination is made, it is determined that the own device becomes a new parent device.

また、上記課題を解決するために、親機および親機と無線通信を行う複数の子機を備え、複数の子機の少なくとも1つに情報処理装置が接続された無線通信システムにおける、複数の子機それぞれとして用いられるコンピュータの機能を備えた無線通信装置を制御するための無線通信制御プログラムが提供される。この無線通信制御プログラムを実行するコンピュータの機能を備えた無線通信装置は、検知手段、確認手段および決定手段を有する。検知手段は、親機との通信を監視して親機の故障を検知する。確認手段は、検知手段で親機の故障を検知すると、自装置と無線通信可能な他の子機を確認して確認結果を報知すると共に、他の子機それぞれが報知したその子機についての確認結果を受信する。決定手段は、確認手段で得た確認結果から、情報処理装置が接続された子機と無線通信可能であり、かつ、情報処理装置が接続された子機と無線通信可能な他の子機と比較して通信可能相手数が最も多いと判断される場合、自装置が新たな親機となることを決定して報知する。   In order to solve the above-described problem, a plurality of slave units in a wireless communication system including a master unit and a plurality of slave units that perform wireless communication with the master unit and an information processing apparatus connected to at least one of the plurality of slave units are provided. There is provided a wireless communication control program for controlling a wireless communication apparatus having a computer function used as each slave unit. A wireless communication apparatus having the function of a computer that executes the wireless communication control program includes a detection unit, a confirmation unit, and a determination unit. The detection means monitors communication with the parent device and detects a failure of the parent device. When the detecting unit detects a failure of the master unit, the checking unit checks other slave units that can wirelessly communicate with the own device and notifies the confirmation result, and confirms the slave unit notified by each of the other slave units. Receive the result. Based on the confirmation result obtained by the confirmation unit, the determining unit is capable of wireless communication with the slave unit to which the information processing device is connected, and other slave units capable of wireless communication with the slave unit to which the information processing device is connected. If it is determined that the number of communicable opponents is the largest, the own device is determined to be a new parent device and notified.

このような無線通信制御プログラムを実行するコンピュータによれば、検知手段により、親機との通信が監視されて親機の故障が検知される。親機の故障が検知されると、確認手段により、自装置と無線通信可能な他の子機が確認されると共に、他の子機それぞれについての確認結果が受信される。そして、決定手段により、情報処理装置が接続された子機と無線通信可能であり、かつ、情報処理装置が接続された子機と無線通信可能な他の子機と比較して通信可能相手数が最も多いと判断される場合、自装置が新たな親機となることが決定される。   According to the computer that executes such a wireless communication control program, the detection unit monitors the communication with the parent device and detects a failure of the parent device. When a failure of the parent device is detected, the confirmation unit confirms other child devices that can wirelessly communicate with the own device, and receives confirmation results for each of the other child devices. Then, by the determining means, the number of counterparts that can communicate with the slave unit to which the information processing apparatus is connected and can communicate with the slave unit to which the information processing apparatus is connected can be compared with other slave units. Is determined to be the new master unit.

上記無線通信装置、無線通信方法および無線通信制御プログラムによれば、親機と複数の子機とが無線通信を行う無線通信システムにおいて、親機が故障したときに適切な子機が新たな親機として自動的に選択される。   According to the wireless communication device, the wireless communication method, and the wireless communication control program, in a wireless communication system in which a parent device and a plurality of child devices perform wireless communication, an appropriate child device becomes a new parent device when the parent device fails. Automatically selected as the machine.

以下、本発明の実施の形態を図面を参照して詳細に説明する。まず、本発明の概要について説明し、その後、実施の形態の具体的な内容を説明する。
図1は、本実施の形態の概要を示す図である。図1に示すシステムは、親機と複数の子機とが無線通信を行う無線通信システムである。この無線通信システムは、情報処理装置10、親機20および子機30,30a,30b,30cを有する。情報処理装置10は子機30cに接続されている。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. First, an outline of the present invention will be described, and then specific contents of the embodiment will be described.
FIG. 1 is a diagram showing an outline of the present embodiment. The system shown in FIG. 1 is a wireless communication system in which a parent device and a plurality of child devices perform wireless communication. This wireless communication system includes an information processing apparatus 10, a master unit 20, and slave units 30, 30a, 30b, and 30c. The information processing apparatus 10 is connected to the slave unit 30c.

情報処理装置10は、親機20および子機30,30a,30b,30cとデータ送受信を行い所定の情報処理を行う装置であり、例えば、PC(Personal Computer)である。情報処理装置10は、例えば、親機20および子機30,30a,30b,30c経由でデータを収集する。   The information processing apparatus 10 is an apparatus that performs data transmission / reception with the parent device 20 and the child devices 30, 30a, 30b, and 30c and performs predetermined information processing, and is, for example, a PC (Personal Computer). The information processing apparatus 10 collects data via the parent device 20 and the child devices 30, 30a, 30b, and 30c, for example.

親機20は、ネットワークを管理する無線通信装置である。親機20は、子機30,30a,30b,30cと無線通信を行い、子機30,30a,30b,30cが送受信するデータを中継する。例えば、親機20は、子機30,30a,30bから情報処理装置10宛てのデータを受信すると、受信データを子機30cに転送する。   The base unit 20 is a wireless communication device that manages a network. Master device 20 performs wireless communication with slave devices 30, 30a, 30b, and 30c, and relays data transmitted and received by slave devices 30, 30a, 30b, and 30c. For example, when receiving data addressed to the information processing apparatus 10 from the slave units 30, 30a, 30b, the master unit 20 transfers the received data to the slave unit 30c.

子機30,30a,30b,30cは、親機20と無線でデータ送受信を行う無線通信装置である。子機30は、検知手段31、確認手段32および決定手段33を有する。なお、子機30a,30b,30cもこれらと同様の手段を有する。   The subunit | mobile_unit 30,30a, 30b, 30c is a radio | wireless communication apparatus which transmits / receives data with the main | base station 20 by radio | wireless. The subunit | mobile_unit 30 has the detection means 31, the confirmation means 32, and the determination means 33. FIG. In addition, the subunit | mobile_unit 30a, 30b, 30c also has a means similar to these.

検知手段31は、親機20と子機30との間の無線通信を継続的に監視し、親機20の故障の有無を判断する。例えば、検知手段31は、子機30から親機20への送信が所定回数以上連続して失敗したときに、親機20が故障していると判断する。そして、検知手段31は、親機20の故障を検知すると、確認手段32に故障発生を通知する。   The detection unit 31 continuously monitors the wireless communication between the parent device 20 and the child device 30, and determines whether or not the parent device 20 has a failure. For example, the detection unit 31 determines that the master unit 20 has failed when transmission from the slave unit 30 to the master unit 20 has failed continuously for a predetermined number of times. And if the detection means 31 detects the failure of the main | base station 20, it will notify the confirmation means 32 of failure occurrence.

確認手段32は、検知手段31から故障発生の通知を受けると、子機30と無線通信可能な範囲内に存在する他の子機を確認する。これは、例えば、他の子機が発信する所定の無線信号を検出できたか否かによって判断することができる。そして、確認手段32は、通信可能相手の確認結果を無線で報知する。報知された確認結果は、子機30と無線通信可能範囲内に存在する他の子機によって受信される。また、確認手段32は、同様にして他の子機が報知した確認結果を無線で受信する。その後、確認手段32は、得られた子機30および他の子機についての確認結果を、決定手段33に通知する。   When the confirmation unit 32 receives the notification of the occurrence of the failure from the detection unit 31, the confirmation unit 32 confirms other slave units that exist within a range where wireless communication with the slave unit 30 is possible. This can be determined, for example, based on whether or not a predetermined radio signal transmitted by another slave unit has been detected. And the confirmation means 32 alert | reports the confirmation result of the communicable other party on radio. The notified confirmation result is received by the other handset that exists within the wireless communicable range with the handset 30. In addition, the confirmation unit 32 receives the confirmation result notified by other slave units in a similar manner. Thereafter, the confirmation unit 32 notifies the determination unit 33 of the confirmation results of the obtained slave unit 30 and other slave units.

決定手段33は、確認手段32から取得した通信可能相手の確認結果に基づいて、故障した親機20に代わって子機30が新たな親機となるか否かを決定する。具体的には、決定手段33は、情報処理装置10と接続された子機30cと無線通信可能であり、かつ、子機30cと無線通信可能な他の子機と比較して通信可能相手数が最も多い場合に、子機30が新たな親機となると決定する。そして、決定手段33は、新たな親機となることを決定したときは、その旨を無線で報知する。報知を受けた子機は、子機30を新たな親機と認めて無線通信を再開する。   The determination unit 33 determines whether or not the child device 30 becomes a new parent device in place of the failed parent device 20 based on the confirmation result of the communicable partner acquired from the confirmation device 32. Specifically, the determining unit 33 is capable of wireless communication with the child device 30c connected to the information processing apparatus 10 and can communicate with the other child devices that can wirelessly communicate with the child device 30c. Is determined to be the new parent device. And when the determination means 33 determines that it becomes a new main | base station, it will alert | report that to radio | wireless. The slave unit that has received the notification recognizes the slave unit 30 as a new master unit and resumes wireless communication.

言い換えれば、子機30が子機30cと無線通信可能でない場合には、子機30は新たな親機とはならない。これは、子機30の通信可能相手の確認結果から判断することができる。また、子機30が子機30cと無線通信可能な場合であっても、子機30cと無線通信可能であり子機30よりも通信可能相手数が多いものが存在する場合には、子機30は新たな親機とはならない。これは、他の子機から受信した確認結果から判断することができる。一方、上記2つの条件を具備する場合には、子機30が新たな親機となる。子機30a,30b,30cでも、上記と同様の判断処理が行われる。   In other words, if the handset 30 is not wirelessly communicable with the handset 30c, the handset 30 is not a new base unit. This can be determined from the confirmation result of the communicable counterpart of the slave unit 30. Even when the slave unit 30 is capable of wireless communication with the slave unit 30c, if there are those that can communicate wirelessly with the slave unit 30c and have more communication partners than the slave unit 30, the slave unit 30 30 is not a new parent machine. This can be determined from the confirmation results received from other slave units. On the other hand, when the above two conditions are satisfied, the slave unit 30 becomes a new master unit. In the slave units 30a, 30b, and 30c, the same determination process as described above is performed.

このような無線通信システムによれば、検知手段31により、親機20との通信が監視されて親機20の故障が検知される。親機20の故障が検知されると、確認手段32により、子機30と無線通信可能な他の子機が確認されると共に、他の子機それぞれについての確認結果が受信される。そして、決定手段33により、情報処理装置10が接続された子機30cと無線通信可能であり、かつ、子機30cと無線通信可能な他の子機と比較して通信可能相手数が最も多いと判断される場合、子機30が新たな親機となることが決定される。   According to such a wireless communication system, the detection unit 31 monitors communication with the parent device 20 and detects a failure of the parent device 20. When a failure of the parent device 20 is detected, the confirmation unit 32 confirms other child devices that can wirelessly communicate with the child device 30 and receives confirmation results for each of the other child devices. Then, the determining means 33 is capable of wireless communication with the child device 30c to which the information processing apparatus 10 is connected, and has the largest number of communicable counterparts compared to other child devices that are capable of wireless communication with the child device 30c. If it is determined, it is determined that the child device 30 becomes a new parent device.

これにより、親機20が故障したときに適切な子機が新たな親機として自動的に選択されることになる。すなわち、新たな親機として、少なくとも情報処理装置10が接続された子機30cと無線通信可能なものが選択される。このとき、子機30cと無線通信可能なもの(親機候補)が複数存在する場合、通信可能相手数が最も多いものが選択される。従って、故障から回復した後の無線通信システムは、できる限り多くの子機が情報処理装置10と通信可能な接続形態となり、親機20の故障による影響を最小限に抑えることができる。なお、上記判断処理は子機30,30a,30b,30cそれぞれが自立的に行うことができる。   As a result, when the parent device 20 fails, an appropriate child device is automatically selected as a new parent device. That is, as a new parent device, one capable of wireless communication with at least the child device 30c to which the information processing apparatus 10 is connected is selected. At this time, when there are a plurality of devices (parent device candidates) that can wirelessly communicate with the child device 30c, the device with the largest number of communicable opponents is selected. Therefore, the wireless communication system after recovering from the failure has a connection form in which as many slave units as possible can communicate with the information processing apparatus 10, and the influence of the failure of the master unit 20 can be minimized. In addition, each of the slave units 30, 30a, 30b, and 30c can be independently performed by the determination process.

以下、本実施の形態の具体的内容を図面を参照して詳細に説明する。
図2は、本実施の形態のシステム構成を示す図である。本実施の形態に係る無線通信システムは、センサ装置が搭載された無線通信装置から情報処理装置にセンシングデータを継続的に送信するシステムである。この無線通信システムは、無線通信装置100,100a,100b,100c,100d,100e,100f,100gおよび情報処理装置200を有する。情報処理装置200は、無線通信装置100bに接続されている。
Hereinafter, the specific content of this Embodiment is demonstrated in detail with reference to drawings.
FIG. 2 is a diagram showing a system configuration of the present embodiment. The wireless communication system according to the present embodiment is a system that continuously transmits sensing data from a wireless communication device equipped with a sensor device to an information processing device. This wireless communication system includes wireless communication devices 100, 100 a, 100 b, 100 c, 100 d, 100 e, 100 f, 100 g and an information processing device 200. The information processing device 200 is connected to the wireless communication device 100b.

無線通信装置100,100a,100b,100c,100d,100e,100f,100gは、IEEE802.15.4で規定された短距離無線通信方式に従って、互いに無線通信可能な通信装置である。また、無線通信装置100,100a,100b,100c,100d,100e,100f,100gは、監視カメラや温度センサなどの所定のセンサ装置を搭載している。   The wireless communication devices 100, 100a, 100b, 100c, 100d, 100e, 100f, and 100g are communication devices that can wirelessly communicate with each other in accordance with a short-range wireless communication method defined in IEEE 802.15.4. The wireless communication devices 100, 100a, 100b, 100c, 100d, 100e, 100f, and 100g are equipped with a predetermined sensor device such as a monitoring camera or a temperature sensor.

ここで、無線通信装置100,100a,100b,100c,100d,100e,100f,100gは、1つの無線PANを形成している。無線通信装置100は、この無線PANを管理するコーディネータとして機能しており、無線PANの管理データを保持している。無線通信装置100a,100b,100c,100d,100e,100f,100gは、コーディネータと無線通信を行うエンドデバイスとして機能している。   Here, the wireless communication devices 100, 100a, 100b, 100c, 100d, 100e, 100f, and 100g form one wireless PAN. The wireless communication device 100 functions as a coordinator that manages the wireless PAN, and holds wireless PAN management data. The wireless communication devices 100a, 100b, 100c, 100d, 100e, 100f, and 100g function as end devices that perform wireless communication with the coordinator.

無線通信装置100a,100c,100d,100e,100f,100gは、センサ装置から得られたセンシングデータを、継続的に無線通信装置100に無線送信する。無線通信装置100は、無線通信装置100a,100c,100d,100e,100f,100gから受信したセンシングデータおよび無線通信装置100に搭載されたセンサ装置から得られたセンシングデータを、情報処理装置200が接続された無線通信装置100bに無線送信する。無線通信装置100bは、無線通信装置100から受信したセンシングデータおよび無線通信装置100bに搭載されたセンサ装置から得られたセンシングデータを、情報処理装置200に出力する。   The wireless communication devices 100a, 100c, 100d, 100e, 100f, and 100g continuously transmit the sensing data obtained from the sensor device to the wireless communication device 100 wirelessly. The wireless communication device 100 connects the sensing data received from the wireless communication devices 100a, 100c, 100d, 100e, 100f, and 100g and the sensing data obtained from the sensor device mounted on the wireless communication device 100 to the information processing device 200. Wirelessly transmitted to the wireless communication apparatus 100b. The wireless communication device 100b outputs the sensing data received from the wireless communication device 100 and the sensing data obtained from the sensor device mounted on the wireless communication device 100b to the information processing device 200.

情報処理装置200は、無線通信装置100,100a,100b,100c,100d,100e,100f,100gに搭載されたセンサ装置のセンシングデータを収集して解析する装置であり、例えば、PCである。情報処理装置200は、無線通信装置100b経由でこれらセンシングデータを継続的に取得する。   The information processing device 200 is a device that collects and analyzes sensing data of sensor devices mounted on the wireless communication devices 100, 100a, 100b, 100c, 100d, 100e, 100f, and 100g, and is, for example, a PC. The information processing device 200 continuously acquires the sensing data via the wireless communication device 100b.

図3は、無線通信装置のハードウェア構成を示す図である。無線通信装置100は、CPU(Central Processing Unit)101、RAM(Random Access Memory)102、ROM(Read Only Memory)103、センサ部104、無線通信部105、入出力インタフェース106およびバス107を有する。CPU101、RAM102、ROM103、センサ部104、無線通信部105および入出力インタフェース106が、バス107に接続されている。   FIG. 3 is a diagram illustrating a hardware configuration of the wireless communication apparatus. The wireless communication apparatus 100 includes a CPU (Central Processing Unit) 101, a RAM (Random Access Memory) 102, a ROM (Read Only Memory) 103, a sensor unit 104, a wireless communication unit 105, an input / output interface 106, and a bus 107. A CPU 101, a RAM 102, a ROM 103, a sensor unit 104, a wireless communication unit 105, and an input / output interface 106 are connected to a bus 107.

CPU101は、無線通信装置100全体を制御する。すなわち、CPU101は、バス107を介してRAM102、ROM103、センサ部104、無線通信部105および入出力インタフェース106を制御する。   The CPU 101 controls the entire wireless communication device 100. That is, the CPU 101 controls the RAM 102, ROM 103, sensor unit 104, wireless communication unit 105, and input / output interface 106 via the bus 107.

RAM102は、CPU101がアクセスする読み書き可能なメモリである。RAM102には、CPU101に実行させるOS(Operating System)プログラムやアプリケーションプログラムの少なくとも一部が一時的に格納される。また、RAM102には、CPU101による処理に必要な各種データの少なくとも一部が一時的に格納される。   The RAM 102 is a readable / writable memory accessed by the CPU 101. The RAM 102 temporarily stores at least part of an OS (Operating System) program and application programs to be executed by the CPU 101. The RAM 102 temporarily stores at least a part of various data necessary for processing by the CPU 101.

ROM103は、CPU101に実行させるプログラムおよび処理に必要な各種データを格納しておく不揮発性メモリである。ROM103としては、例えば、フラッシュメモリを用いることもできる。   The ROM 103 is a non-volatile memory that stores programs to be executed by the CPU 101 and various data necessary for processing. For example, a flash memory can be used as the ROM 103.

センサ部104は、無線通信装置100の外部環境を監視するセンサ装置であり、例えば、所定の場所の映像を継続的に取得する監視カメラや、所定の物体の温度を継続的に測定する温度センサなどである。センサ部104は、得られたセンシングデータをCPU101に出力する。   The sensor unit 104 is a sensor device that monitors the external environment of the wireless communication device 100. For example, a monitoring camera that continuously acquires images of a predetermined location, or a temperature sensor that continuously measures the temperature of a predetermined object Etc. The sensor unit 104 outputs the obtained sensing data to the CPU 101.

無線通信部105は、IEEE802.15.4の規定に従って、他の無線通信装置と無線通信を行う。無線通信部105は、他の無線通信装置から受信した無線信号を復調・復号し、得られたデータをCPU101に出力する。また、無線通信部105は、CPU101から取得した送信データを変調・符号化し、得られた送信信号を無線出力する。   The wireless communication unit 105 performs wireless communication with other wireless communication devices in accordance with IEEE802.15.4. The wireless communication unit 105 demodulates and decodes a wireless signal received from another wireless communication device, and outputs the obtained data to the CPU 101. Further, the wireless communication unit 105 modulates and encodes transmission data acquired from the CPU 101, and wirelessly outputs the obtained transmission signal.

入出力インタフェース106は、情報処理装置200を有線で接続可能なインタフェースである。情報処理装置200が接続されているとき、情報処理装置から取得したデータをCPU101に出力すると共に、CPU101から取得したデータを情報処理装置200に出力する。   The input / output interface 106 is an interface through which the information processing apparatus 200 can be connected by wire. When the information processing apparatus 200 is connected, the data acquired from the information processing apparatus is output to the CPU 101 and the data acquired from the CPU 101 is output to the information processing apparatus 200.

図4は、無線通信装置の機能を示すブロック図である。無線通信装置100は、受信部110、送信部120、PANデータ記憶部130および制御部140を有する。これらの機能は、ROM103に格納された所定の制御プログラムをCPU101に実行させることで、図3に示したハードウェアによって実現される。なお、接続管理部141は図1の検知手段31に対応し、コーディネータ決定部142は図1の確認手段32および決定手段33に対応する。   FIG. 4 is a block diagram illustrating functions of the wireless communication device. The wireless communication device 100 includes a reception unit 110, a transmission unit 120, a PAN data storage unit 130, and a control unit 140. These functions are realized by the hardware shown in FIG. 3 by causing the CPU 101 to execute a predetermined control program stored in the ROM 103. The connection management unit 141 corresponds to the detection unit 31 in FIG. 1, and the coordinator determination unit 142 corresponds to the confirmation unit 32 and the determination unit 33 in FIG.

受信部110は、他の無線通信装置が送信したセンシングデータを受信する。そして、受信部110は、無線通信装置100がコーディネータとして機能している場合、センシングデータを情報処理装置200宛てに転送するために送信部120に出力する。また、無線通信装置100に情報処理装置200が接続されている場合、センシングデータを情報処理装置200に出力する。また、受信部110は、他の無線通信装置が送信した制御メッセージを受信する。そして、受信部110は、制御メッセージを制御部140に出力する。   The receiving unit 110 receives sensing data transmitted by another wireless communication device. Then, when the wireless communication device 100 functions as a coordinator, the reception unit 110 outputs the sensing data to the transmission unit 120 in order to transfer the sensing data to the information processing device 200. Further, when the information processing apparatus 200 is connected to the wireless communication apparatus 100, the sensing data is output to the information processing apparatus 200. In addition, the receiving unit 110 receives a control message transmitted by another wireless communication device. Then, the reception unit 110 outputs a control message to the control unit 140.

送信部120は、無線通信装置100がコーディネータとして機能している場合、受信部110から取得したセンシングデータを情報処理装置200が接続されている無線通信装置に送信する。また、無線通信装置100がエンドデバイスとして機能している場合、センサ部104で得られたセンシングデータをコーディネータに送信する。また、送信部120は、制御部140からの指示に応じて制御メッセージを送信する。   When the wireless communication device 100 functions as a coordinator, the transmission unit 120 transmits the sensing data acquired from the reception unit 110 to the wireless communication device to which the information processing device 200 is connected. When the wireless communication apparatus 100 functions as an end device, the sensing data obtained by the sensor unit 104 is transmitted to the coordinator. In addition, the transmission unit 120 transmits a control message in response to an instruction from the control unit 140.

PANデータ記憶部130には、無線PANを管理するためのPANデータが格納されている。PANデータでは、例えば、PANの識別子(ID:IDentifier)、使用する通信チャネル、PANに参加しているエンドデバイスなどが定義される。ここで、無線通信装置100がコーディネータとして機能している場合、PANデータ記憶部130には、PANデータの原本が格納される。一方、無線通信装置100がエンドデバイスとして機能している場合、PANデータ記憶部130には、コーディネータが有するPANデータの複製が格納される。   The PAN data storage unit 130 stores PAN data for managing the wireless PAN. In the PAN data, for example, a PAN identifier (ID: IDentifier), a communication channel to be used, an end device participating in the PAN, and the like are defined. Here, when the wireless communication apparatus 100 functions as a coordinator, the PAN data storage unit 130 stores an original PAN data. On the other hand, when the wireless communication apparatus 100 functions as an end device, the PAN data storage unit 130 stores a copy of the PAN data that the coordinator has.

制御部140は、PANデータ記憶部130に格納されたPANデータを参照して、受信部110の受信処理および送信部120の送信処理を制御する。制御部140は、接続管理部141、コーディネータ決定部142およびPANデータ管理部143を有する。   The control unit 140 refers to the PAN data stored in the PAN data storage unit 130 and controls the reception process of the reception unit 110 and the transmission process of the transmission unit 120. The control unit 140 includes a connection management unit 141, a coordinator determination unit 142, and a PAN data management unit 143.

接続管理部141は、無線通信装置100と他の無線通信装置との間の無線リンクを管理し、必要に応じて受信部110および送信部120に無線リンクの確立および切断を指示する。すなわち、接続管理部141は、無線通信装置100がコーディネータとして機能している場合、無線通信装置100とエンドデバイスそれぞれとの間の無線リンクを管理する。また、無線通信装置100がエンドデバイスとして機能している場合、無線通信装置100とコーディネータとの間の無線リンクを管理する。   The connection management unit 141 manages a wireless link between the wireless communication device 100 and another wireless communication device, and instructs the reception unit 110 and the transmission unit 120 to establish and disconnect the wireless link as necessary. That is, when the wireless communication apparatus 100 functions as a coordinator, the connection management unit 141 manages the wireless link between the wireless communication apparatus 100 and each end device. When the wireless communication apparatus 100 functions as an end device, the wireless link between the wireless communication apparatus 100 and the coordinator is managed.

更に、接続管理部141は、無線通信装置100がエンドデバイスとして機能している場合、無線通信装置100とコーディネータとの間の通信状況を継続的に監視し、コーディネータが故障していないか確認する。もし、所定回数(例えば3回)連続してコーディネータへの送信処理が失敗した場合は、コーディネータが故障したものと判断する。   Further, when the wireless communication apparatus 100 functions as an end device, the connection management unit 141 continuously monitors the communication status between the wireless communication apparatus 100 and the coordinator, and confirms whether the coordinator has failed. . If the transmission process to the coordinator fails continuously for a predetermined number of times (for example, three times), it is determined that the coordinator has failed.

コーディネータ決定部142は、無線通信装置100がエンドデバイスとして機能している場合であって、接続管理部141でコーディネータが故障したと判断された場合に、無線PANを再構成するために無線通信装置100が新たなコーディネータになるべきか否かを決定する。コーディネータ決定処理の詳細は後述する。もし、無線通信装置100が新たなコーディネータになるべきと決定すると、その旨を制御メッセージとして他の無線通信装置に報知するよう送信部120に指示する。   The coordinator determining unit 142 is a wireless communication device for reconfiguring the wireless PAN when the wireless communication device 100 functions as an end device and the connection management unit 141 determines that the coordinator has failed. Determine if 100 should be the new coordinator. Details of the coordinator determination process will be described later. If it is determined that the wireless communication device 100 should become a new coordinator, the transmission unit 120 is instructed to notify other wireless communication devices as a control message.

PANデータ管理部143は、PANデータ記憶部130に格納されたPANデータを管理する。PANデータ管理部143は、無線通信装置100がエンドデバイスとして機能している場合、コーディネータが送信したPANデータの複製を受信部110から取得すると、それをPANデータ記憶部130に格納する。また、PANデータ管理部143は、無線通信装置100がコーディネータとして機能している場合、PANデータ記憶部130に格納されたPANデータを適宜更新すると共に、エンドデバイスにPANデータの複製を送信するよう送信部120に指示する。   The PAN data management unit 143 manages the PAN data stored in the PAN data storage unit 130. When the wireless communication apparatus 100 functions as an end device, the PAN data management unit 143 stores a copy of the PAN data transmitted by the coordinator from the reception unit 110 in the PAN data storage unit 130. In addition, when the wireless communication apparatus 100 functions as a coordinator, the PAN data management unit 143 appropriately updates the PAN data stored in the PAN data storage unit 130 and transmits a copy of the PAN data to the end device. Instructs the transmission unit 120.

なお、図4では無線通信装置100のモジュール構成を示したが、無線通信装置100a,100b,100c,100d,100e,100f,100gも無線通信装置100と同様のモジュール構成によって実現できる。   4 shows the module configuration of the wireless communication device 100, the wireless communication devices 100a, 100b, 100c, 100d, 100e, 100f, and 100g can also be realized by the same module configuration as the wireless communication device 100.

図5は、PANデータのデータ構造を示す図である。PANデータ131は、PANデータ記憶部130に格納されている。PANデータ131には、PAN−ID、通信チャネルおよびエンドデバイスを示す項目が設けられている。もし、無線通信装置100が複数のPANに参加中であるとき、PAN毎のPANデータがPANデータ記憶部130に格納される。PANデータ131は、PANデータ管理部143により適宜更新される。   FIG. 5 is a diagram illustrating a data structure of PAN data. The PAN data 131 is stored in the PAN data storage unit 130. The PAN data 131 includes items indicating a PAN-ID, a communication channel, and an end device. If the wireless communication apparatus 100 is participating in a plurality of PANs, PAN data for each PAN is stored in the PAN data storage unit 130. The PAN data 131 is appropriately updated by the PAN data management unit 143.

PAN−IDを示す項目には、無線PANを識別する識別情報が設定される。通信チャネルを示す項目には、無線PANで使用する通信チャネルの情報が設定される。なお、IEEE802.15.4の規定では、2.6GHz帯の通信チャネルとして、11番から26番までの16個の使用が認められている。エンドデバイスを示す項目には、無線PANに参加中のエンドデバイスを識別する識別情報が設定される。更に、情報処理装置200が接続されたエンドデバイスか否かを示す情報も設定される。ここで、“Y”は情報処理装置200が接続されていることを意味し、“N”は情報処理装置200が接続されていないことを意味する。   In the item indicating the PAN-ID, identification information for identifying the wireless PAN is set. In the item indicating the communication channel, information on the communication channel used in the wireless PAN is set. According to the IEEE 802.15.4 regulations, 16 channels from 11 to 26 are permitted to be used as 2.6 GHz communication channels. In the item indicating an end device, identification information for identifying an end device participating in the wireless PAN is set. Furthermore, information indicating whether or not the information processing apparatus 200 is an end device connected is also set. Here, “Y” means that the information processing apparatus 200 is connected, and “N” means that the information processing apparatus 200 is not connected.

次に、以上のような構成およびデータ構造を備える無線通信システムにおいて実行される処理の詳細を説明する。以下では、無線PANシステムが図2に示した接続関係を有する場合、すなわち、無線通信装置100がコーディネータとして機能し、無線通信装置100a,100b,100c,100d,100e,100f,100gがエンドデバイスとして機能している場合を考える。   Next, details of processing executed in a wireless communication system having the above-described configuration and data structure will be described. In the following, when the wireless PAN system has the connection relationship shown in FIG. 2, that is, the wireless communication device 100 functions as a coordinator, and the wireless communication devices 100a, 100b, 100c, 100d, 100e, 100f, and 100g serve as end devices. Consider a functioning case.

図6は、PAN再構成処理の手順を示すフローチャートである。以下、図6に示す処理をステップ番号に沿って説明する。
[ステップS1]無線通信装置100は、無線通信装置100a,100b,100c,100d,100e,100f,100gにPANデータの複製を配布しておく。無線通信装置100a,100b,100c,100d,100e,100f,100gは、無線通信装置100から受信したPANデータの複製を保持する。なお、この処理は、図4で示したPANデータ管理部143に相当するモジュールにより制御される。
FIG. 6 is a flowchart showing the procedure of the PAN reconfiguration process. In the following, the process illustrated in FIG. 6 will be described in order of step number.
[Step S1] The wireless communication device 100 distributes a copy of the PAN data to the wireless communication devices 100a, 100b, 100c, 100d, 100e, 100f, and 100g. The wireless communication devices 100a, 100b, 100c, 100d, 100e, 100f, and 100g hold a copy of the PAN data received from the wireless communication device 100. This process is controlled by a module corresponding to the PAN data management unit 143 shown in FIG.

[ステップS2]無線通信装置100a,100b,100c,100d,100e,100f,100gは、無線通信装置100との通信状況を監視し、コーディネータ(無線通信装置100)が故障したか否か判断する。故障したと判断した場合、処理がステップS3に進められる。故障していないと判断した場合、ステップS2の処理が繰り返される。なお、この処理は、図4で示した接続管理部141に相当するモジュールにより制御される。   [Step S2] The wireless communication devices 100a, 100b, 100c, 100d, 100e, 100f, and 100g monitor the communication status with the wireless communication device 100 and determine whether the coordinator (wireless communication device 100) has failed. If it is determined that a failure has occurred, the process proceeds to step S3. If it is determined that there is no failure, the process of step S2 is repeated. This process is controlled by a module corresponding to the connection management unit 141 shown in FIG.

[ステップS3]無線通信装置100a,100b,100c,100d,100e,100f,100gは、それぞれ新たなコーディネータになるか否かを決定する。新たなコーディネータになるには、少なくとも情報処理装置200が接続されたエンドデバイス(無線通信装置100b)と無線通信可能である必要がある。コーディネータ決定処理の詳細は後述する。ここでは、無線通信装置100aが新たなコーディネータになったとする。なお、この処理は、図4で示したコーディネータ決定部142に相当するモジュールにより制御される。   [Step S3] Each of the wireless communication devices 100a, 100b, 100c, 100d, 100e, 100f, and 100g determines whether or not to become a new coordinator. In order to become a new coordinator, it is necessary to be able to wirelessly communicate with at least the end device (wireless communication apparatus 100b) to which the information processing apparatus 200 is connected. Details of the coordinator determination process will be described later. Here, it is assumed that the wireless communication device 100a becomes a new coordinator. This process is controlled by a module corresponding to the coordinator determining unit 142 shown in FIG.

[ステップS4]無線通信装置100aは、自身が新たなコーディネータになることを無線で報知する。この報知情報を受信したエンドデバイスは、無線通信装置100aに無線PANへの参加要求を送信する。これにより、無線通信装置100aをコーディネータとする新たな無線PANが形成される。なお、この処理は、コーディネータ決定部142に相当するモジュールにより制御される。   [Step S4] The wireless communication device 100a wirelessly notifies that it is a new coordinator. The end device that has received the notification information transmits a request to participate in the wireless PAN to the wireless communication apparatus 100a. Thereby, a new wireless PAN having the wireless communication device 100a as a coordinator is formed. This process is controlled by a module corresponding to the coordinator determining unit 142.

[ステップS5]無線通信装置100b,100c,100d,100e,100f,100gは、それぞれ復帰後の無線PANに参加できたか否か判断する。参加の可否は、例えば、旧コーディネータ(無線通信装置100)の故障検知後、所定時間内に新たなコーディネータから報知情報を受信できたか否かによって判断できる。参加不可のエンドデバイスがある場合には、処理がステップS6に進められる。参加不可のエンドデバイスがない場合には、処理がステップS8に進められる。ここでは、無線通信装置100d,100eが復帰後の無線PANに参加できなかったとする。なお、この処理は、コーディネータ決定部142に相当するモジュールにより制御される。   [Step S5] The wireless communication devices 100b, 100c, 100d, 100e, 100f, and 100g each determine whether or not they can participate in the wireless PAN after the return. Whether or not to participate can be determined, for example, by whether or not broadcast information has been received from a new coordinator within a predetermined time after detecting a failure of the old coordinator (wireless communication apparatus 100). If there is an end device that cannot participate, the process proceeds to step S6. If there is no end device that cannot participate, the process proceeds to step S8. Here, it is assumed that the wireless communication devices 100d and 100e are unable to participate in the wireless PAN after the return. This process is controlled by a module corresponding to the coordinator determining unit 142.

[ステップS6]無線通信装置100d,100eは、それぞれ追加のコーディネータになるか否かを決定する。追加のコーディネータになるには、少なくともステップS4で形成された無線PANに参加しているエンドデバイスと無線通信可能である必要がある。ここでは、無線通信装置100eが追加のコーディネータになったとする。なお、この処理は、コーディネータ決定部142に相当するモジュールにより制御される。   [Step S6] Each of the wireless communication devices 100d and 100e determines whether or not to become an additional coordinator. To become an additional coordinator, it is necessary to be able to wirelessly communicate with at least the end devices participating in the wireless PAN formed in step S4. Here, it is assumed that the wireless communication device 100e becomes an additional coordinator. This process is controlled by a module corresponding to the coordinator determining unit 142.

[ステップS7]無線通信装置100eは、自身が追加のコーディネータになることを無線で報知する。この報知情報を受信したエンドデバイスは、無線通信装置100eに追加の無線PANへの参加要求を送信する。これにより、ステップS4で形成された無線PANとは別の無線通信装置100eをコーディネータとする無線PANが形成される。ここで、無線通信装置100aと無線通信装置100eの両方と無線通信可能なエンドデバイスは、両方の無線PANに参加することになる。このエンドデバイスは2つの無線PAN間でセンシングデータを中継するルータとして機能する。なお、この処理は、コーディネータ決定部142に相当するモジュールにより制御される。   [Step S7] The wireless communication device 100e wirelessly notifies that it is an additional coordinator. The end device that has received the broadcast information transmits a request for participation in the additional wireless PAN to the wireless communication apparatus 100e. As a result, a wireless PAN is formed with the wireless communication device 100e different from the wireless PAN formed in step S4 as a coordinator. Here, an end device capable of wireless communication with both the wireless communication device 100a and the wireless communication device 100e participates in both wireless PANs. This end device functions as a router that relays sensing data between two wireless PANs. This process is controlled by a module corresponding to the coordinator determining unit 142.

[ステップS8]無線通信装置100aは、無線PANに属するエンドデバイスから、ステップS1で配布された故障前の無線PANに対応するPANデータを取得する。そして、無線通信装置100aは、取得したPANデータに基づいて復帰後の無線PANに対応するPANデータを生成する。ステップS7が実行された場合には、無線通信装置100eも同様の処理を実行する。なお、この処理は、図4で示したPANデータ管理部143に相当するモジュールにより制御される。   [Step S8] The wireless communication device 100a acquires PAN data corresponding to the pre-failure wireless PAN distributed in step S1 from end devices belonging to the wireless PAN. Then, the wireless communication device 100a generates PAN data corresponding to the restored wireless PAN based on the acquired PAN data. When step S7 is executed, the wireless communication device 100e also executes the same process. This process is controlled by a module corresponding to the PAN data management unit 143 shown in FIG.

このようにして、コーディネータが故障すると、各エンドデバイスは自身が新たなコーディネータになるか否かを決定する。新たなコーディネータになるための条件は、少なくとも情報処理装置200が接続されたエンドデバイスと無線通信可能であることである。そして、新たなコーディネータが決定すると、スター型トポロジの無線PANが形成される。このとき、復帰後の無線PANに参加できなかったエンドデバイス(新たなコーディネータと無線通信可能でないエンドデバイス)がある場合は、別個の無線PANを形成する。その結果、複数の無線PANが形成されたときは、少なくとも1つの無線通信装置が無線PAN間でセンシングデータを中継するルータとして機能する。   In this way, if the coordinator fails, each end device determines whether it becomes a new coordinator. A condition for becoming a new coordinator is that wireless communication is possible with at least an end device to which the information processing apparatus 200 is connected. When a new coordinator is determined, a star topology wireless PAN is formed. At this time, if there is an end device that could not participate in the wireless PAN after return (an end device that is not capable of wireless communication with the new coordinator), a separate wireless PAN is formed. As a result, when a plurality of wireless PANs are formed, at least one wireless communication device functions as a router that relays sensing data between the wireless PANs.

図7は、コーディネータ決定処理の手順を示すフローチャートである。このフローチャートは、上記ステップS3で実行される処理をより詳細に記述したものである。ここでは、無線通信装置100aに着目することとする。以下、図7に示す処理をステップ番号に沿って説明する。   FIG. 7 is a flowchart showing the procedure of coordinator determination processing. This flowchart describes the process executed in step S3 in more detail. Here, attention is focused on the wireless communication device 100a. In the following, the process illustrated in FIG. 7 will be described in order of step number.

[ステップS31]無線通信装置100aは、確認要求を無線信号として報知する。この確認要求を受信できたエンドデバイス(無線通信装置100aの通信可能範囲内にいるエンドデバイス)は、無線通信装置100aに確認応答を送信する。確認応答には、少なくとも送信元エンドデバイスの識別情報が含まれている。   [Step S31] The wireless communication device 100a notifies the confirmation request as a wireless signal. An end device that has received this confirmation request (an end device within the communicable range of the wireless communication device 100a) transmits a confirmation response to the wireless communication device 100a. The confirmation response includes at least identification information of the source end device.

[ステップS32]無線通信装置100aは、通信可能範囲内にいるエンドデバイスからの確認応答を受信する。そして、無線通信装置100aは、確認応答から送信元エンドデバイスの識別情報を抽出する。これにより、無線通信装置100aは、通信可能範囲内に現在いるエンドデバイスを把握することができる。   [Step S32] The wireless communication device 100a receives a confirmation response from an end device within the communicable range. Then, the wireless communication device 100a extracts the identification information of the transmission source end device from the confirmation response. Thereby, the wireless communication apparatus 100a can grasp the end device currently in the communicable range.

[ステップS33]無線通信装置100aは、ステップS31で確認要求を報知してから所定時間経過後に、それまでに確認応答を受信したエンドデバイスとPANデータの複製とを照合する。そして、無線通信装置100aは、元の無線PANに参加していた自分自身を除く全てのエンドデバイスから確認応答を受信できたか否か判断する。全エンドデバイスから確認応答を得た場合には、処理がステップS37に進められる。確認応答を得られないエンドデバイスがある場合には、処理がステップS34に進められる。   [Step S33] The wireless communication device 100a collates the end device that has received the confirmation response so far with the copy of the PAN data after a predetermined time has passed since the confirmation request was notified in step S31. Then, the wireless communication device 100a determines whether or not confirmation responses have been received from all end devices other than itself participating in the original wireless PAN. If confirmation responses are obtained from all end devices, the process proceeds to step S37. If there is an end device that cannot obtain the confirmation response, the process proceeds to step S34.

[ステップS34]無線通信装置100aは、無線通信可能なエンドデバイスの確認結果を無線信号として報知する。この確認結果には、通信可能相手それぞれの識別情報が含まれている。   [Step S34] The wireless communication device 100a notifies a confirmation result of an end device capable of wireless communication as a wireless signal. This confirmation result includes identification information of each communicable partner.

[ステップS35]無線通信装置100aは、通信可能範囲内にいる他のエンドデバイスが報知した、そのエンドデバイスの通信可能相手の確認結果を受信する。この確認結果には、通信可能相手それぞれの識別情報が含まれている。   [Step S35] The wireless communication device 100a receives the confirmation result of the communicable partner of the end device notified by the other end device within the communicable range. This confirmation result includes identification information of each communicable partner.

[ステップS36]無線通信装置100aは、自身の通信可能相手の確認結果およびステップS35で受信した各エンドデバイスの通信可能相手の確認結果に基づいて、新たなコーディネータになる条件を具備しているか否か判断する。新たなコーディネータになる条件は、無線通信装置100aが情報処理装置200に接続されたエンドデバイス(無線通信装置100b)と無線通信可能であり、かつ、情報処理装置200に接続されたエンドデバイスと無線通信可能なものの中で通信可能相手数が最大であることである。条件を具備している場合には、処理がステップS37に進められる。条件を具備していない場合には、コーディネータ処理が終了する。   [Step S36] Whether or not the wireless communication device 100a has a condition to become a new coordinator based on the confirmation result of the communicable partner of itself and the confirmation result of the communicable partner of each end device received in step S35. Judge. The condition for becoming a new coordinator is that the wireless communication device 100a can wirelessly communicate with an end device (wireless communication device 100b) connected to the information processing device 200, and is wireless with the end device connected to the information processing device 200. The maximum number of communicable parties among communicable ones. If the conditions are satisfied, the process proceeds to step S37. If the conditions are not met, the coordinator process ends.

[ステップS37]無線通信装置100aは、自身が新たなコーディネータになることを決定する。
このようにして、無線通信装置100aは、元の無線PANに参加していた自分自身を除く全てのエンドデバイスと通信可能であることが判明すると、新たなコーディネータになることを決定する。また、無線通信装置100aは、全エンドデバイスと通信可能でない場合であっても、情報処理装置200に接続されたエンドデバイスと通信可能であって他のエンドデバイスも含めた候補の中で通信可能相手数が最大であることが判明すると、新たなコーディネータになることを決定する。
[Step S37] The wireless communication device 100a determines that it will become a new coordinator.
In this way, when it is determined that the wireless communication device 100a can communicate with all the end devices other than itself participating in the original wireless PAN, the wireless communication device 100a determines to become a new coordinator. Further, even when the wireless communication apparatus 100a cannot communicate with all end devices, the wireless communication apparatus 100a can communicate with the end devices connected to the information processing apparatus 200 and can communicate with candidates including other end devices. If it turns out that the number of opponents is the maximum, it decides to become a new coordinator.

なお、全エンドデバイスと通信可能な無線通信装置が複数あった場合や、情報処理装置200に接続されたエンドデバイスと通信可能であって通信可能相手数が最大の無線通信装置が複数あった場合など、複数の無線通信装置がコーディネータになることを決定した場合には、報知が早かったものが最終的にコーディネータになる。   When there are a plurality of wireless communication apparatuses that can communicate with all end devices, or when there are a plurality of wireless communication apparatuses that can communicate with the end devices connected to the information processing apparatus 200 and have the maximum number of communicable parties. For example, when it is determined that a plurality of wireless communication apparatuses become coordinators, the one that has been notified quickly becomes the coordinator.

次に、図2に示した無線PANシステムで図6,7に示したPAN再構成処理が実行されたときの、具体的な処理進行過程の例を説明する。
図8は、PAN再構成処理の例を示す第1の模式図である。図8に示すように、コーディネータである無線通信装置100は、予めエンドデバイスである無線通信装置100a,100b,100c,100d,100e,100f,100gに、PANデータの複製を配布しておく。無線通信装置100a,100b,100c,100d,100e,100f,100gは、無線通信装置100から受信したPANデータの複製を保持する。なお、無線通信装置100は、管理しているPANデータの全体を配布するのではなく、PANデータの一部のみを配布するようにしてもよい。また、エンドデバイスによって異なる部分データを配布するようにしてもよい。
Next, an example of a specific process progress process when the PAN reconfiguration process shown in FIGS. 6 and 7 is executed in the wireless PAN system shown in FIG. 2 will be described.
FIG. 8 is a first schematic diagram illustrating an example of the PAN reconstruction process. As shown in FIG. 8, the wireless communication apparatus 100 as a coordinator distributes a copy of PAN data to the wireless communication apparatuses 100a, 100b, 100c, 100d, 100e, 100f, and 100g as end devices in advance. The wireless communication devices 100a, 100b, 100c, 100d, 100e, 100f, and 100g hold a copy of the PAN data received from the wireless communication device 100. Note that the wireless communication apparatus 100 may distribute only a part of the PAN data instead of distributing the entire managed PAN data. Different partial data may be distributed depending on the end device.

図9は、PAN再構成処理の例を示す第2の模式図である。図9に示すように、無線通信装置100a,100b,100c,100d,100e,100f,100gは、無線通信装置100との間の無線通信を継続的に監視し、通信異常(例えば、連続して所定回数送信処理が失敗したこと)を発見すると、無線通信装置100に故障が発生したと判断する。なお、監視処理やデータ送受信処理のタイミングの関係上、必ずしも無線通信装置100a,100b,100c,100d,100e,100f,100g全てが同時に故障を検知するとは限らず、故障検知のタイミングは若干のずれが生じ得る。   FIG. 9 is a second schematic diagram illustrating an example of the PAN reconstruction process. As illustrated in FIG. 9, the wireless communication devices 100a, 100b, 100c, 100d, 100e, 100f, and 100g continuously monitor wireless communication with the wireless communication device 100, and communication abnormality (for example, continuously) If it is found that the transmission process has failed a predetermined number of times, it is determined that a failure has occurred in the wireless communication apparatus 100. Note that, due to the timing of the monitoring process and the data transmission / reception process, the wireless communication devices 100a, 100b, 100c, 100d, 100e, 100f, and 100g do not always detect the failure at the same time. Can occur.

図10は、PAN再構成処理の例を示す第3の模式図である。図10に示すように、無線通信装置100a,100b,100c,100d,100e,100f,100gは、無線通信装置100の故障を検知すると、無線通信装置100との間の無線リンクを切断し、自己の周辺に位置する無線通信装置を確認する。   FIG. 10 is a third schematic diagram illustrating an example of the PAN reconstruction process. As illustrated in FIG. 10, when the wireless communication devices 100a, 100b, 100c, 100d, 100e, 100f, and 100g detect a failure of the wireless communication device 100, they disconnect the wireless link with the wireless communication device 100, and Check the wireless communication devices located in the vicinity of.

ここでは、無線通信装置100aは4つの無線通信装置100b,100c,100f,100gと通信可能である。無線通信装置100bは2つの無線通信装置100a,100cと通信可能である。無線通信装置100cは3つの無線通信装置100a,100b,100fと通信可能である。無線通信装置100dは1つの無線通信装置100eと通信可能である。無線通信装置100eは2つの無線通信装置100d,100fと通信可能である。無線通信装置100fは4つの無線通信装置100a,100c,100e,100gと通信可能である。無線通信装置100gは2つの無線通信装置100a,100fと通信可能である。   Here, the wireless communication device 100a can communicate with the four wireless communication devices 100b, 100c, 100f, and 100g. The wireless communication device 100b can communicate with the two wireless communication devices 100a and 100c. The wireless communication device 100c can communicate with the three wireless communication devices 100a, 100b, and 100f. The wireless communication device 100d can communicate with one wireless communication device 100e. The wireless communication device 100e can communicate with the two wireless communication devices 100d and 100f. The wireless communication device 100f can communicate with the four wireless communication devices 100a, 100c, 100e, and 100g. The wireless communication device 100g can communicate with the two wireless communication devices 100a and 100f.

図11は、PAN再構成処理の例を示す第4の模式図である。図10に示したように、他の全ての無線通信装置と通信可能な無線通信装置は存在しないものの、情報処理装置200が接続された無線通信装置100bと通信可能な無線通信装置は2つ(無線通信装置100a,100c)存在する。そして、この2つのうち無線通信装置100aの方が通信可能相手数が多い。よって、新たなコーディネータとして無線通信装置100aが選択され、無線通信装置100aをコーディネータとし無線通信装置100b,100c,100f,100gをエンドデバイスとする新たな無線PANが形成される。   FIG. 11 is a fourth schematic diagram illustrating an example of the PAN reconstruction process. As shown in FIG. 10, there is no wireless communication device that can communicate with all other wireless communication devices, but there are two wireless communication devices that can communicate with the wireless communication device 100b to which the information processing device 200 is connected ( Wireless communication devices 100a, 100c). Of these two, the wireless communication device 100a has a larger number of communicable parties. Therefore, the wireless communication device 100a is selected as a new coordinator, and a new wireless PAN is formed with the wireless communication device 100a as a coordinator and the wireless communication devices 100b, 100c, 100f, and 100g as end devices.

その一方で、2つの無線通信装置(無線通信装置100d,100f)は、無線通信装置100aをコーディネータとする無線PANに参加することができない。そこで、この2つのうち無線通信装置100aをコーディネータとする無線PANに参加している無線通信装置と通信可能な無線通信装置100eが、追加のコーディネータとして選択される。その結果、無線通信装置100eをコーディネータとし無線通信装置100d,100fをエンドデバイスとする別個の無線PANが形成される。   On the other hand, the two wireless communication devices (wireless communication devices 100d and 100f) cannot participate in the wireless PAN having the wireless communication device 100a as a coordinator. Therefore, the wireless communication device 100e that can communicate with the wireless communication device participating in the wireless PAN having the wireless communication device 100a as a coordinator is selected as an additional coordinator. As a result, a separate wireless PAN having the wireless communication device 100e as a coordinator and the wireless communication devices 100d and 100f as end devices is formed.

このとき、無線通信装置100fは、2つの無線PANに参加し、無線PAN間でセンシングデータを中継するルータとして機能する。図11は、2つの無線PANが形成された後のネットワークトポロジを示している。   At this time, the wireless communication device 100f functions as a router that participates in two wireless PANs and relays sensing data between the wireless PANs. FIG. 11 shows the network topology after two wireless PANs are formed.

図12は、PAN再構成処理の例を示す第5の模式図である。図12に示すように、コーディネータである無線通信装置100aは、エンドデバイスである無線通信装置100b,100c,100f,100gから故障前の無線PANのPANデータを取得する。そして、無線通信装置100aは、無線通信装置100aが保持するPANデータと無線通信装置100b,100c,100f,100gから取得したPANデータとを参照して、新たな無線PANのPANデータを生成する。その後、無線通信装置100aは、図8に示したように、生成した新たなPANデータの複製を、無線通信装置100b,100c,100f,100gに配布する。   FIG. 12 is a fifth schematic diagram illustrating an example of the PAN reconstruction process. As illustrated in FIG. 12, the wireless communication device 100a serving as a coordinator acquires the PAN data of the wireless PAN before the failure from the wireless communication devices 100b, 100c, 100f, and 100g serving as end devices. Then, the wireless communication device 100a refers to the PAN data held by the wireless communication device 100a and the PAN data acquired from the wireless communication devices 100b, 100c, 100f, and 100g, and generates PAN data of a new wireless PAN. Thereafter, as shown in FIG. 8, the wireless communication device 100a distributes a copy of the generated new PAN data to the wireless communication devices 100b, 100c, 100f, and 100g.

同様に、コーディネータである無線通信装置100eは、エンドデバイスである無線通信装置100d,100fから故障前の無線PANのPANデータを取得する。そして、無線通信装置100eは、無線通信装置100eが保持するPANデータと無線通信装置100d,100fから取得したPANデータとを参照して、新たな無線PANのPANデータを生成する。その後、無線通信装置100eは、生成した新たなPANデータの複製を、無線通信装置100d,100fに配布する。   Similarly, the wireless communication device 100e as the coordinator acquires the PAN data of the wireless PAN before the failure from the wireless communication devices 100d and 100f as the end devices. Then, the wireless communication device 100e refers to the PAN data held by the wireless communication device 100e and the PAN data acquired from the wireless communication devices 100d and 100f, and generates PAN data of a new wireless PAN. Thereafter, the wireless communication device 100e distributes a copy of the generated new PAN data to the wireless communication devices 100d and 100f.

その結果、無線通信装置100dは、測定したセンシングデータを無線通信装置100eに送信する。無線通信装置100eは、測定したセンシングデータおよび無線通信装置100dから受信したセンシングデータを無線通信装置100fに送信する。無線通信装置100fは、測定したセンシングデータおよび無線通信装置100eから受信したセンシングデータを無線通信装置100aに送信する。無線通信装置100c,100gは、測定したセンシングデータを無線通信装置100aに送信する。無線通信装置100aは、測定したセンシングデータおよび無線通信装置100c,100f,100gから受信したセンシングデータを無線通信装置100bに送信する。無線通信装置100bは、測定したセンシングデータおよび無線通信装置100aから受信したセンシングデータを情報処理装置200に出力する。このようにして、無線通信装置100a,100b,100c,100d,100e,100f,100gで得られたセンシングデータが情報処理装置200に集約される。   As a result, the wireless communication device 100d transmits the measured sensing data to the wireless communication device 100e. The wireless communication device 100e transmits the measured sensing data and the sensing data received from the wireless communication device 100d to the wireless communication device 100f. The wireless communication device 100f transmits the measured sensing data and the sensing data received from the wireless communication device 100e to the wireless communication device 100a. The wireless communication devices 100c and 100g transmit the measured sensing data to the wireless communication device 100a. The wireless communication device 100a transmits the measured sensing data and the sensing data received from the wireless communication devices 100c, 100f, and 100g to the wireless communication device 100b. The wireless communication device 100b outputs the measured sensing data and the sensing data received from the wireless communication device 100a to the information processing device 200. In this way, sensing data obtained by the wireless communication devices 100a, 100b, 100c, 100d, 100e, 100f, and 100g is collected in the information processing device 200.

このような無線通信システムを用いることで、コーディネータが故障したときに適切なエンドデバイスが新たなコーディネータとして自動的に選択されることになる。すなわち、コーディネータとして、少なくとも所定の情報処理装置が接続されたエンドデバイスと無線通信可能なものが選択される。このとき、所定の情報処理装置が接続されたエンドデバイスと無線通信可能なもの(コーディネータ候補)が複数存在する場合、通信可能相手数が最も多いものが選択される。従って、所定の情報処理装置が接続されたエンドデバイスを含む無線PANは、できる限り多くのエンドデバイスが参加できるものとなる。   By using such a wireless communication system, an appropriate end device is automatically selected as a new coordinator when the coordinator fails. In other words, a coordinator that can wirelessly communicate with an end device to which at least a predetermined information processing apparatus is connected is selected. At this time, when there are a plurality of devices (coordinator candidates) capable of wireless communication with an end device to which a predetermined information processing apparatus is connected, the device having the largest number of communicable partners is selected. Therefore, a wireless PAN including an end device to which a predetermined information processing apparatus is connected can have as many end devices as possible to participate.

また、この無線PANに参加できなかったエンドデバイスがある場合には、所定の情報処理装置が接続されたエンドデバイスを含む無線PANと連携できるように、別個の無線PANが形成される。その結果、自動的に無線PANが再構成されて、コーディネータの故障による影響を最小限に抑えられる。また、コーディネータが管理するPANデータの複製を予めエンドデバイスに配布しておくため、新たなコーディネータはより迅速にPANデータを更新し無線PANの制御を開始できる。   If there is an end device that could not participate in this wireless PAN, a separate wireless PAN is formed so that it can cooperate with the wireless PAN including the end device to which the predetermined information processing apparatus is connected. As a result, the wireless PAN is automatically reconfigured to minimize the influence of the coordinator failure. In addition, since a copy of the PAN data managed by the coordinator is distributed to the end device in advance, the new coordinator can update the PAN data more quickly and start controlling the wireless PAN.

なお、本実施の形態では、センサネットワークの例を示したが、無線通信装置が備えるネットワーク再構成の機能は、他の種類のネットワークに応用することができる。また、本実施の形態では、無線通信方式としてIEEE802.15.4の規格を採用したが、他の無線通信方式を採用してもよい。   Note that although an example of a sensor network has been described in the present embodiment, the network reconfiguration function provided in the wireless communication apparatus can be applied to other types of networks. In the present embodiment, the IEEE 802.15.4 standard is adopted as a wireless communication method, but other wireless communication methods may be adopted.

また、本実施の形態では、各無線通信装置の処理機能をソフトウェアとして実装することとしたが、図4に示した処理機能をハードウェアとして実装するようにしてもよい。また、本実施の形態では、システム中に1つの情報処理装置を設けたが、複数の情報処理装置を設けるようにしてもよい。この場合、コーディネータになるために、情報処理装置が接続された無線通信装置の全てと通信可能であることを条件としてもよいし、情報処理装置が接続された無線通信装置の少なくとも1つと通信可能であることを条件としてもよい。   In the present embodiment, the processing function of each wireless communication device is implemented as software, but the processing function illustrated in FIG. 4 may be implemented as hardware. In this embodiment, one information processing apparatus is provided in the system. However, a plurality of information processing apparatuses may be provided. In this case, in order to become a coordinator, it may be a condition that communication is possible with all of the wireless communication devices to which the information processing device is connected, and communication with at least one of the wireless communication devices to which the information processing device is connected is possible. It is good also as a condition.

本実施の形態の概要を示す図である。It is a figure which shows the outline | summary of this Embodiment. 本実施の形態のシステム構成を示す図である。It is a figure which shows the system configuration | structure of this Embodiment. 無線通信装置のハードウェア構成を示す図である。It is a figure which shows the hardware constitutions of a radio | wireless communication apparatus. 無線通信装置の機能を示すブロック図である。It is a block diagram which shows the function of a radio | wireless communication apparatus. PANデータのデータ構造を示す図である。It is a figure which shows the data structure of PAN data. PAN再構成処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of a PAN reconstruction process. コーディネータ決定処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of a coordinator determination process. PAN再構成処理の例を示す第1の模式図である。It is a 1st schematic diagram which shows the example of a PAN reconstruction process. PAN再構成処理の例を示す第2の模式図である。It is a 2nd schematic diagram which shows the example of a PAN reconstruction process. PAN再構成処理の例を示す第3の模式図である。It is a 3rd schematic diagram which shows the example of a PAN reconstruction process. PAN再構成処理の例を示す第4の模式図である。It is a 4th schematic diagram which shows the example of a PAN reconstruction process. PAN再構成処理の例を示す第5の模式図である。It is a 5th schematic diagram which shows the example of a PAN reconstruction process.

符号の説明Explanation of symbols

10 情報処理装置
20 親機
30,30a,30b,30c 子機
31 検知手段
32 確認手段
33 決定手段
DESCRIPTION OF SYMBOLS 10 Information processing apparatus 20 Parent | base_unit 30,30a, 30b, 30c Subunit 31 Detection means 32 Confirmation means 33 Determination means

Claims (5)

親機および前記親機と無線通信を行う複数の子機を備え、前記複数の子機の少なくとも1つに情報処理装置が接続された無線通信システムにおける、前記複数の子機それぞれとして用いられる無線通信装置であって、
前記親機との通信を監視して前記親機の故障を検知する検知手段と、
前記検知手段で前記親機の故障を検知すると、自装置と無線通信可能な他の子機を確認して確認結果を報知すると共に、前記他の子機それぞれが報知した当該他の子機についての確認結果を受信する確認手段と、
前記確認手段で得た前記確認結果から、前記情報処理装置が接続された子機と無線通信可能であり、かつ、前記情報処理装置が接続された子機と無線通信可能な他の子機と比較して通信可能相手数が最も多いと判断される場合、自装置が新たな親機となることを決定して報知する決定手段と、
を有する無線通信装置。
A wireless device that includes a parent device and a plurality of child devices that perform wireless communication with the parent device, and is used as each of the plurality of child devices in a wireless communication system in which an information processing device is connected to at least one of the plurality of child devices. A communication device,
Detecting means for monitoring communication with the parent device and detecting a failure of the parent device;
When the detection unit detects a failure of the parent device, it confirms the other child device that can wirelessly communicate with the own device and notifies the confirmation result, and the other child device notified by each of the other child devices. Confirmation means for receiving the confirmation result of
From the confirmation result obtained by the confirmation means, other slave units that are capable of wireless communication with the slave unit to which the information processing device is connected and that are capable of wireless communication with the slave unit to which the information processing device is connected, If it is determined that the number of communicable counterparts is the largest in comparison, a determination means for determining and notifying that the own device becomes a new parent device,
A wireless communication device.
前記決定手段は、自装置が新たな親機とならない場合であって、新たな親機となった無線通信装置と無線通信可能でないことを検知した場合、前記新たな親機によって管理される無線通信システムとは別個の無線通信システムを形成することを決定することを特徴とする請求項1記載の無線通信装置。   The determination means is a wireless device managed by the new parent device when the own device does not become a new parent device and detects that wireless communication with the wireless communication device as a new parent device is not possible. The wireless communication apparatus according to claim 1, wherein the wireless communication apparatus determines to form a wireless communication system separate from the communication system. 前記複数の子機それぞれは、前記親機が有する前記無線通信システムを管理するためのネットワーク情報の少なくとも一部の複製を有しており、
前記決定手段で新たな親機となることを決定すると、前記他の子機から前記ネットワーク情報の複製を取得し、取得した情報に基づいて新たな無線通信システムに対応するネットワーク情報を生成する管理手段を更に有する、
ことを特徴とする請求項1記載の無線通信装置。
Each of the plurality of slave units has at least a copy of network information for managing the wireless communication system of the master unit,
When the determination unit determines to become a new parent device, a copy of the network information is acquired from the other child device, and network information corresponding to a new wireless communication system is generated based on the acquired information Further comprising means,
The wireless communication apparatus according to claim 1.
親機および前記親機と無線通信を行う複数の子機を備え、前記複数の子機の少なくとも1つに情報処理装置が接続された無線通信システムの無線通信方法であって、
前記複数の子機それぞれが、前記親機との通信を監視して前記親機の故障を検知し、
前記複数の子機それぞれが、前記親機の故障を検知すると、自装置と無線通信可能な他の子機を確認して確認結果を報知すると共に、前記他の子機それぞれが報知した当該他の子機についての確認結果を受信し、
前記複数の子機それぞれが、得られた前記確認結果から、前記情報処理装置が接続された子機と無線通信可能であり、かつ、前記情報処理装置が接続された子機と無線通信可能な他の子機と比較して通信可能相手数が最も多いと判断される場合、自装置が新たな親機となることを決定して報知する、
無線通信方法。
A wireless communication method of a wireless communication system comprising a parent device and a plurality of child devices that perform wireless communication with the parent device, wherein an information processing device is connected to at least one of the plurality of child devices,
Each of the plurality of slave units monitors communication with the master unit to detect a failure of the master unit,
When each of the plurality of slave units detects a failure of the master unit, the slave unit confirms another slave unit that can wirelessly communicate with its own device and notifies the confirmation result, and the other slave unit notifies Receive confirmation results for
Each of the plurality of slave units can wirelessly communicate with the slave unit to which the information processing apparatus is connected and wirelessly communicate with the slave unit to which the information processing apparatus is connected based on the obtained confirmation result. If it is determined that the number of communicable counterparts is the largest compared to other slave units, it will be determined and notified that the own device will be a new master unit,
Wireless communication method.
親機および前記親機と無線通信を行う複数の子機を備え、前記複数の子機の少なくとも1つに情報処理装置が接続された無線通信システムにおける、前記複数の子機それぞれとして用いられるコンピュータの機能を備えた無線通信装置を制御するための無線通信制御プログラムであって、
前記コンピュータの機能を備えた無線通信装置を、
前記親機との通信を監視して前記親機の故障を検知する検知手段、
前記検知手段で前記親機の故障を検知すると、自装置と無線通信可能な他の子機を確認して確認結果を報知すると共に、前記他の子機それぞれが報知した当該他の子機についての確認結果を受信する確認手段、
前記確認手段で得た前記確認結果から、前記情報処理装置が接続された子機と無線通信可能であり、かつ、前記情報処理装置が接続された子機と無線通信可能な他の子機と比較して通信可能相手数が最も多いと判断される場合、自装置が新たな親機となることを決定して報知する決定手段、
として機能させる無線通信制御プログラム。
A computer used as each of the plurality of slave units in a wireless communication system including a master unit and a plurality of slave units that perform wireless communication with the master unit, and an information processing apparatus connected to at least one of the plurality of slave units A wireless communication control program for controlling a wireless communication device having the function of
A wireless communication device having the function of the computer,
Detecting means for monitoring communication with the parent device and detecting a failure of the parent device;
When the detection unit detects a failure of the parent device, it confirms the other child device that can wirelessly communicate with the own device and notifies the confirmation result, and the other child device notified by each of the other child devices. Confirmation means for receiving the confirmation result of
From the confirmation result obtained by the confirmation means, other slave units that are capable of wireless communication with the slave unit to which the information processing device is connected and that are capable of wireless communication with the slave unit to which the information processing device is connected, If it is determined that the number of communicable counterparts is the largest in comparison, a determining means for determining and notifying that the own device becomes a new parent device,
Wireless communication control program that functions as
JP2008049373A 2008-02-29 2008-02-29 Wireless communication apparatus, wireless communication method, and wireless communication control program Expired - Fee Related JP4808228B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008049373A JP4808228B2 (en) 2008-02-29 2008-02-29 Wireless communication apparatus, wireless communication method, and wireless communication control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008049373A JP4808228B2 (en) 2008-02-29 2008-02-29 Wireless communication apparatus, wireless communication method, and wireless communication control program

Publications (2)

Publication Number Publication Date
JP2009207050A JP2009207050A (en) 2009-09-10
JP4808228B2 true JP4808228B2 (en) 2011-11-02

Family

ID=41148842

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008049373A Expired - Fee Related JP4808228B2 (en) 2008-02-29 2008-02-29 Wireless communication apparatus, wireless communication method, and wireless communication control program

Country Status (1)

Country Link
JP (1) JP4808228B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11290335B2 (en) * 2013-09-30 2022-03-29 Brother Kogyo Kabushiki Kaisha Communication apparatus

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4985745B2 (en) * 2009-10-30 2012-07-25 株式会社デンソー Perimeter monitoring system for moving objects
JP2012004987A (en) * 2010-06-18 2012-01-05 Sony Corp Relay device, relay method, radio communications system, base station, and radio communication apparatus
JP5710378B2 (en) * 2011-05-23 2015-04-30 シャープ株式会社 Wireless telemeter system
JP6131509B2 (en) * 2013-07-03 2017-05-24 パナソニックIpマネジメント株式会社 Communication terminal, communication method, and program
JP2017011529A (en) * 2015-06-23 2017-01-12 株式会社リコー Radio sensor network system
US11756436B2 (en) * 2019-05-10 2023-09-12 Ntt Docomo, Inc. Control device, program, and control method

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4806868B2 (en) * 2000-08-30 2011-11-02 ソニー株式会社 Communication apparatus and communication method
JP4073808B2 (en) * 2003-03-17 2008-04-09 シャープ株式会社 Network restructuring method, node, network restructuring program, and computer-readable storage medium storing the program
US20070002809A1 (en) * 2005-06-30 2007-01-04 Jukka Reunamaki Recovery techniques for wireless communications networks
EP1804433A1 (en) * 2005-12-30 2007-07-04 Nederlandse Organisatie voor toegepast-natuurwetenschappelijk Onderzoek TNO Initialization of a wireless communication network
JP2007295122A (en) * 2006-04-21 2007-11-08 Mitsubishi Electric Corp System of detecting fault in management terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11290335B2 (en) * 2013-09-30 2022-03-29 Brother Kogyo Kabushiki Kaisha Communication apparatus

Also Published As

Publication number Publication date
JP2009207050A (en) 2009-09-10

Similar Documents

Publication Publication Date Title
JP4808228B2 (en) Wireless communication apparatus, wireless communication method, and wireless communication control program
EP2076839B1 (en) Power management system for a field device on a wireless network
EP3020182B1 (en) Context-aware proximity services
JP5338567B2 (en) Wireless terminal and wireless system
US20080013502A1 (en) Wireless data bus
US8982754B2 (en) I/O driven node commissioning in a sleeping mesh network
JP5942734B2 (en) Data collection system, data collection method, adjacent information management server, and program
US20100054183A1 (en) Sensor network control method for data path establishment and recovery and sensor network therefor
Bernard et al. A low energy consumption MAC protocol for WSN
CN110446206B (en) Wireless network system and information transmission method
JP4492722B2 (en) Wireless communication apparatus and wireless communication system
EP2736301A1 (en) Method for communication between gateways in wsn, initiator gateway, and target gateway
CN106304241B (en) Data transmission method, repeater and gateway
JP7236750B2 (en) Method for monitoring equipment
EP4046414B1 (en) Operation apparatus and method for maintaining network connectivity of a network device based on self-related connection information obtained from monitoring maintenance messages
JP5438614B2 (en) Network reconstruction method and network system
Vakulya et al. Design of a sensor network based security system
KR20090021906A (en) Wireless sensor network and cluster optimising method therefor
ul Hassan et al. CNR: A cluster-based solution for connectivity restoration for mobile wsns
KR20130134827A (en) Wireless sensor network method
KR20160130594A (en) Resource management method for improve reliability and connectivity between sensor nodes in wireless sensor network of ship environment
JP6334476B2 (en) Communications system
KR20090097052A (en) Sensor network and method for composition thereof
WO2023011917A1 (en) A wireless control system comprising a dual-mode node
KR100962411B1 (en) Sensor network system and method for composition thereof

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20101018

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110810

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

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110816

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

Free format text: PAYMENT UNTIL: 20140826

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4808228

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees