JP2008148032A - Radio communication system and device - Google Patents

Radio communication system and device Download PDF

Info

Publication number
JP2008148032A
JP2008148032A JP2006333258A JP2006333258A JP2008148032A JP 2008148032 A JP2008148032 A JP 2008148032A JP 2006333258 A JP2006333258 A JP 2006333258A JP 2006333258 A JP2006333258 A JP 2006333258A JP 2008148032 A JP2008148032 A JP 2008148032A
Authority
JP
Japan
Prior art keywords
router
parent
child
level
communication
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.)
Granted
Application number
JP2006333258A
Other languages
Japanese (ja)
Other versions
JP4851311B2 (en
Inventor
Yoshitaka Osawa
義孝 大澤
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.)
Azbil Corp
Original Assignee
Azbil 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 Azbil Corp filed Critical Azbil Corp
Priority to JP2006333258A priority Critical patent/JP4851311B2/en
Publication of JP2008148032A publication Critical patent/JP2008148032A/en
Application granted granted Critical
Publication of JP4851311B2 publication Critical patent/JP4851311B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To prevent chain cutoff of a low-order node connected to a slave node and to prevent break off of communication between a master and a slave. <P>SOLUTION: Connection confirmation requests are periodically transmitted from a router 20-3 to a high-order router 20-1 having a master and slave relationship. The router 20-1 returns connection confirmation responses to the router 20-3 whenever the connection confirmation requests from the router 20-3 is received. When radio wave interference, etc. occurs on a transmission path between the routers 20-1 and 20-3, the connection confirmation responses from the router 20-1 to the router 20-3 are interrupted. The router 20-3, when the connection confirmation responses are interrupted, transmits relay requests to a coordinator 10 via other router 20-4 within a communication range without interrupting power supply of itself and continues communication between the master and the slave with the router 20-1 through a bypass route searched by the coordinator 10. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

この発明は、ツリー構造の無線通信システムおよびこの無線通信システムに用いられるデバイスに関するものである。   The present invention relates to a radio communication system having a tree structure and a device used in the radio communication system.

近年、無線通信を利用して、環境計測・監視・制御などを行うシステムが増加している。この環境計測・監視・制御などを行う無線通信システムでは、対象エリアが比較的広い、又は、対象エリア内に無線通信の障害物が多々存在する場合が多い。このような場合、対象エリアをカバーするためには、受信器と送信器の設置位置や電波状況等の環境により直接通信できなくても、他のデバイスを中継して通信を行うことができる無線通信ネットワークを利用することが有利である。   In recent years, systems that perform environmental measurement, monitoring, control, and the like using wireless communication are increasing. In a wireless communication system that performs environmental measurement, monitoring, control, and the like, there are many cases where the target area is relatively wide or there are many obstacles for wireless communication in the target area. In such a case, in order to cover the target area, even if it is not possible to communicate directly depending on the environment such as the installation position of the receiver and the transmitter and the radio wave condition, it is possible to perform communication by relaying other devices. It is advantageous to use a communication network.

この種の無線通信ネットワークとして、ジグビー(Zigbee(登録商標))プロトコルを利用した無線通信ネットワークが考えられている(例えば、特許文献1、特許文献2参照)。以下、このジグビープロトコルを利用した無線通信ネットワークをジグビーネットワークと呼ぶ。   As this type of wireless communication network, a wireless communication network using a Zigbee (registered trademark) protocol is considered (for example, see Patent Document 1 and Patent Document 2). Hereinafter, a wireless communication network using the ZigBee protocol is referred to as a ZigBee network.

ジグビーネットワークは、ツリー構造の無線通信ネットワークであり、次のような3種類のデバイスによって構成される。
〔デバイスA(ノードA)〕
コーディネータと呼ばれ、ネットワークの基層(最上位)に唯一存在し、下位デバイスと接続通信でき、ネットワーク内の全てのデバイスに対して命令するとともに、各デバイス固有の情報および各デバイスから送られてくる情報の収集を統括する。また、ネットワーク全体の総合親局の役割を果たすとともに、自己と親子の接続関係(以下、単に親子関係と呼ぶ)を結ぶデバイスにアドレスを付番する。
The ZigBee network is a tree-structured wireless communication network, and is composed of the following three types of devices.
[Device A (Node A)]
It is called a coordinator and exists only in the base layer (top layer) of the network, can communicate with lower-level devices, commands all devices in the network, and is sent from each device-specific information and each device. Supervise the collection of information. In addition to acting as an overall master station for the entire network, addresses are assigned to devices that connect the connection relationship between the self and the parent and child (hereinafter simply referred to as parent-child relationship).

〔デバイスB(ノードB)〕
ルータと呼ばれ、コーディネータよりも下層に存在し、上位デバイスおよび下位デバイスと接続通信でき、コーディネータからの命令を受けるとともに、下位デバイス(ルータ、又はエンドデバイス)を接続することができ、それらデバイスに対しては局地的な親局の役割を果たす。また、自己と親子関係を結ぶデバイスにアドレスを付番する。
[Device B (Node B)]
It is called a router and exists below the coordinator. It can communicate with upper devices and lower devices, receives commands from the coordinator, and can connect lower devices (routers or end devices) to these devices. On the other hand, it plays the role of a local master station. Also, addresses are assigned to devices that have a parent-child relationship with themselves.

〔デバイスC(ノードC)〕
エンドデバイスと呼ばれ、ネットワークの末端(最下位)に存在し、上位デバイスと接続通信でき、他のデバイスの親局にはならない。例えば、空調制御システムでは、温度センサや湿度センサなどのセンサがエンドデバイスとされる。
[Device C (Node C)]
It is called an end device, exists at the end (lowest level) of the network, can communicate with a higher level device, and does not become a master station of other devices. For example, in an air conditioning control system, a sensor such as a temperature sensor or a humidity sensor is an end device.

なお、ジグビーネットワークの各デバイスには、接続可能な下位デバイスの最大個数Cmと、ツリー構造の階層の最深度Lmがネットワークパラメータとして定められる。   For each device of the ZigBee network, the maximum number Cm of lower devices that can be connected and the lowest depth Lm of the hierarchy of the tree structure are determined as network parameters.

図11にジグビーネットワークの単純な例を示す。同図において、1は最上位(第0層)に位置するコーディネータ、2−1,2−2はコーディネータ1の下層(第1層)に位置するルータ、2−3〜2−6はルータ2−1〜2−2の下層(第2層)に位置するルータ、3−1〜3−8はルータ2−3〜2−6の下層(第3層(最下位))に位置するエンドデバイスである。   FIG. 11 shows a simple example of a ZigBee network. In the figure, 1 is a coordinator located at the highest level (0th layer), 2-1 and 2-2 are routers located below the coordinator 1 (first layer), and 2-3 to 2-6 are routers 2. Routers located in the lower layer (second layer) of 2-1 to 2-2, 3-1 to 3-8 are end devices located in the lower layer (third layer (lowest layer)) of the routers 2-3 to 2-6 It is.

なお、この例において、コーディネータ1の識別番号は#0、ルータ2−1〜2−6の識別番号は#1〜#6、エンドデバイス3−1〜3−8の識別番号は#7〜#14として設定されているものとする。これらの識別番号#0〜#14は、デバイス毎に固有に定められたものであり、変わることはない。また、このジグビーネットワークにおいて、コーディネータ1には、ネットワーク全体に対して付番可能なアドレスとしてアドレスブロックAD0〜AD14が定められ、このアドレスブロックのうち「AD0」が自己のアドレスとして割り当てられるものとする。   In this example, the identification number of the coordinator 1 is # 0, the identification numbers of the routers 2-1 to 2-6 are # 1 to # 6, and the identification numbers of the end devices 3-1 to 3-8 are # 7 to ##. 14 is set. These identification numbers # 0 to # 14 are uniquely determined for each device and do not change. In this ZigBee network, the coordinator 1 is defined with address blocks AD0 to AD14 as addresses that can be assigned to the entire network, and among these address blocks, “AD0” is assigned as its own address. .

コーディネータ1に対して、ルータ2−1を接続する場合、ルータ2−1をコーディネータ1に近づけて電源をオンとする。すると、ルータ2−1からコーディネータ1へアソシエイト(参加申請)と呼ばれる接続要求(以下、アソシエイト接続要求と呼ぶ)が送られる。コーディネータ1は、ルータ2−1からのアソシエイト接続要求を受けて、ルータ2−1に対してアドレスAD1を割り当てるとともに、ルータ2−1の識別番号#1とルータ2−1に割り当てたアドレスAD1とを対応づけて親子関係有り(「○」)として接続情報テーブルT0に書き込む。また、ルータ2−1へ、下位のデバイスへ付番可能なアドレスとして、アドレスAD1を含むアドレスブロック「AD1〜AD7」を送る。   When connecting the router 2-1 to the coordinator 1, the router 2-1 is brought close to the coordinator 1 and the power is turned on. Then, a connection request called “association (participation application)” (hereinafter referred to as “associate connection request”) is sent from the router 2-1 to the coordinator 1. In response to the associate connection request from the router 2-1, the coordinator 1 assigns the address AD1 to the router 2-1, and also identifies the identification number # 1 of the router 2-1 and the address AD1 assigned to the router 2-1. Are stored in the connection information table T0 as having a parent-child relationship (“◯”). In addition, address blocks “AD1 to AD7” including the address AD1 are sent to the router 2-1 as addresses that can be assigned to lower devices.

次に、ルータ2−2をコーディネータ1に近づけて電源をオンとすると、ルータ2−2からコーディネータ1へアソシエイト接続要求が送られる。コーディネータ1は、ルータ2−2からのアソシエイト接続要求を受けて、ルータ2−2に対してアドレスAD8を割り当てるとともに、ルータ2−2の識別番号#2とルータ2−2に割り当てたアドレスAD8とを対応づけて親子関係有りとして接続情報テーブルT0に書き込む。また、ルータ2−2へ、下位のデバイスへ付番可能なアドレスとして、アドレスAD8を含むアドレスブロック「AD8〜AD14」を送る。   Next, when the router 2-2 is brought close to the coordinator 1 and the power is turned on, an associate connection request is sent from the router 2-2 to the coordinator 1. Upon receiving the associate connection request from the router 2-2, the coordinator 1 assigns the address AD8 to the router 2-2, and also assigns the identification number # 2 of the router 2-2 and the address AD8 assigned to the router 2-2. Are written in the connection information table T0 as having a parent-child relationship. Further, the address block “AD8 to AD14” including the address AD8 is sent to the router 2-2 as an address that can be assigned to the lower device.

ルータ2−3をルータ2−1に近づけて電源をオンとすると、ルータ2−3からルータ2−1へアソシエイト接続要求が送られる。ルータ2−1は、ルータ2−3からのアソシエイト接続要求を受けて、ルータ2−3に対してアドレスAD2を割り当てるとともに、ルータ2−3の識別番号#3とルータ2−3に割り当てたアドレスAD2とを対応づけて親子関係有りとして接続情報テーブルT1に書き込む。また、ルータ2−3へ、下位のデバイスへ付番可能なアドレスとして、アドレスAD2を含むアドレスブロック「AD2〜AD4」を送る。   When the router 2-3 is brought close to the router 2-1 and the power is turned on, an associate connection request is sent from the router 2-3 to the router 2-1. In response to the associate connection request from the router 2-3, the router 2-1 assigns the address AD2 to the router 2-3, and also assigns the identification number # 3 of the router 2-3 and the address assigned to the router 2-3. AD2 is associated and written in the connection information table T1 as having a parent-child relationship. In addition, address blocks “AD2 to AD4” including the address AD2 are sent to the router 2-3 as addresses that can be assigned to lower devices.

エンドデバイス3−1をルータ2−3に近づけて電源をオンとすると、エンドデバイス3−1からルータ2−3へアソシエイト接続要求が送られる。ルータ2−3は、エンドデバイス3−1からのアソシエイト接続要求を受けて、エンドデバイス3−1に対してアドレスAD3を割り当てるとともに、エンドデバイス3−1の識別番号#7とエンドデバイス3−1に割り当てたアドレスAD3とを対応づけて親子関係有りとして接続情報テーブルT1に書き込む。以下、同様にして、各デバイスにアドレスが割り当てられる。   When the end device 3-1 is brought close to the router 2-3 and the power is turned on, an associate connection request is sent from the end device 3-1 to the router 2-3. Upon receiving the associate connection request from the end device 3-1, the router 2-3 assigns an address AD3 to the end device 3-1, and identifies the end device 3-1 with an identification number # 7 and the end device 3-1. The address AD3 assigned to is associated and written in the connection information table T1 as having a parent-child relationship. Hereinafter, similarly, an address is assigned to each device.

このジグビーネットワークでは、例えばエンドデバイス3−1とルータ2−3との間の伝送路に電波障害などが発生した場合、エンドデバイス3−1からの情報(例えば、温度計測値、湿度計測値など)がルータ2−3で受信できなくなる。この場合、エンドデバイス3−1は、切断(電源オフ)、再接続(電源オン)を行う。エンドデバイス3−1の電源がオフとされると、エンドデバイス3−1に割り当てられたアドレスAD3が消失する。また、例えばルータ2−4がエンドデバイス3−1の通信圏内にあり、ルータ2−4が下位のデバイスとの親子関係を未だ結んでいないものとした場合、エンドデバイス3−1の再接続により、エンドデバイス3−1とルータ2−4との間で親子関係が結ばれ、ルータ2−4からエンドデバイス3−1に新たなアドレスが割り当てられ、ルータ2−4を経由して、エンドデバイス3−1からの情報が継続してコーディネータ1へ送られるものとなる。   In this ZigBee network, for example, when a radio wave interference or the like occurs in the transmission path between the end device 3-1 and the router 2-3, information from the end device 3-1 (for example, temperature measurement value, humidity measurement value, etc.) ) Cannot be received by the router 2-3. In this case, the end device 3-1 performs disconnection (power off) and reconnection (power on). When the power of the end device 3-1 is turned off, the address AD3 assigned to the end device 3-1 disappears. Further, for example, when the router 2-4 is within the communication range of the end device 3-1, and the router 2-4 has not yet established a parent-child relationship with a lower device, the reconnection of the end device 3-1 The parent-child relationship is established between the end device 3-1 and the router 2-4, and a new address is assigned from the router 2-4 to the end device 3-1, and the end device passes through the router 2-4. Information from 3-1 is continuously sent to the coordinator 1.

なお、図11には単純な例を示したが、実際には最上位のコーディネータ1と最下位のエンドデバイス3との間にはルータ2がさらに何層も位置し、ルータ2の数やエンドデバイス3の数も増大し、大規模なネットワークとされる。   FIG. 11 shows a simple example. Actually, however, there are several layers of routers 2 between the highest level coordinator 1 and the lowest level end device 3. The number of devices 3 also increases, and the network is large.

特開2006−5928号公報JP 2006-5928 A 特開2006−42370号公報JP 2006-42370 A

しかしながら、上述したジグビーネットワークでは、親ノードと子ノードとの間の伝送路に電波障害などが発生した場合、他のノードを経由して子ノードからの情報が継続してコーディネータへ送られるが、すなわち迂回経路を通して子ノードからの情報が継続してコーディネータへ送られるが、子ノードにその子ノード自身を親ノードとして別の下位のノードが接続されているような場合、この子ノードに接続されている下位のノードが連鎖的に切断されてしまうという問題が発生する。また、子ノードとコーディネータとの間の通信は継続されるが、子ノードのアドレスが変わってしまうので、元の親ノードはその子ノードが親子関係にある子ノードであることを認識することができず、子ノードと元の親ノードとの間の親子間の通信が途切れてしまう。   However, in the ZigBee network described above, when a radio wave failure or the like occurs in the transmission path between the parent node and the child node, information from the child node is continuously sent to the coordinator via other nodes. In other words, information from the child node is continuously sent to the coordinator through the detour path, but when another child node is connected to the child node with the child node itself as the parent node, it is connected to this child node. There arises a problem that the lower nodes are disconnected in a chain. In addition, communication between the child node and the coordinator continues, but the address of the child node changes, so the original parent node can recognize that the child node is a child node in a parent-child relationship. Therefore, the communication between the parent and child between the child node and the original parent node is interrupted.

例えば、図12(a)に示すように、ルータ2−1とルータ2−3および2−4との間に親子関係が結ばれており、ルータ2−3とエンドデバイス3−1,3−2との間に親子関係が結ばれているものとする。また、ルータ2−4は、下位のデバイスとの親子関係を未だ結んでおらず、ルータ2−3の通信圏内にあるものとする。このような状態で、ルータ2−1とルータ2−3との間の伝送路に電波障害などが発生すると(図12(b))、ルータ2−3は、切断(電源オフ)、再接続(電源オン)を行う。この時、ルータ2−3の切断によって、ルータ2−3のアドレスAD2や接続情報テーブルT1の内容が消失し、ルータ2−3とエンドデバイス3−1および3−2との間が通信不能となり、エンドデバイス3−1および3−2が連鎖的に切断されてしまう(図15(c))。   For example, as shown in FIG. 12A, a parent-child relationship is established between the router 2-1 and the routers 2-3 and 2-4, and the router 2-3 and the end devices 3-1, 3- It is assumed that a parent-child relationship is established between the two. In addition, it is assumed that the router 2-4 has not yet formed a parent-child relationship with a lower-level device and is within the communication range of the router 2-3. In this state, when a radio wave failure or the like occurs in the transmission path between the router 2-1 and the router 2-3 (FIG. 12B), the router 2-3 is disconnected (power off) and reconnected. (Power on). At this time, when the router 2-3 is disconnected, the address AD2 of the router 2-3 and the contents of the connection information table T1 are lost, and communication between the router 2-3 and the end devices 3-1 and 3-2 becomes impossible. The end devices 3-1 and 3-2 are disconnected in a chained manner (FIG. 15C).

また、切断後の再接続により、ルータ2−3に新しいアドレスが割り当てられるので、ルータ2−1(元の親ノード)は、ルータ2−3を自分の子ノードであるとは認識することができず、ルータ2−3からのルータ2−4を介する情報を上位のデバイスに転送するのみで、ルータ2−1とルータ2−3との間の親子間の通信が途切れてしまう。この親子間の通信の途切れにより、例えばルータ2−1がルータ2−3からのデータに基づいて他の機器を制御しているような場合、その制御動作が行えなくなってしまう。   In addition, since a new address is assigned to the router 2-3 by reconnection after disconnection, the router 2-1 (original parent node) may recognize that the router 2-3 is its own child node. The communication between the parent and child between the router 2-1 and the router 2-3 is interrupted only by transferring the information from the router 2-3 via the router 2-4 to the higher-level device. Due to the interruption of communication between the parent and child, for example, when the router 2-1 controls another device based on the data from the router 2-3, the control operation cannot be performed.

本発明は、このような課題を解決するためになされたもので、その目的とするところは、親ノードと子ノードとの間の伝送路に電波障害などが生じた場合の迂回経路の形成に際し、子ノードに接続されている下位のノードが連鎖的に切断されてしまうことがなく、親ノードと子ノードとの間の親子間の通信が途切れることのない無線通信システムを提供することにある。   The present invention has been made to solve such a problem, and the object of the present invention is to form a detour path when a radio wave interference or the like occurs in the transmission path between the parent node and the child node. An object of the present invention is to provide a wireless communication system in which lower-level nodes connected to a child node are not disconnected in a chained manner, and communication between the parent node and the child node is not interrupted. .

このような目的を達成するために、第1発明(請求項1に係る発明)は、最上位に位置する第1のデバイスと、最下位に位置し自己のメモリに自己に割り当てられたアドレスを記憶する第2のデバイスと、この第1のデバイスと第2のデバイスとの間に位置し自己のメモリに自己に割り当てられたアドレスを記憶する第3のデバイスとを少なくとも備えたツリー構造の無線通信システムにおいて、第3のデバイスに、自己と親子の接続関係を結んだ上位のデバイスとの直接接続が不能となった場合、上位および下位のデバイスとの親子の接続関係を解消することなく、他のデバイスを経由した迂回経路を通して上位のデバイスとの間の通信を継続する通信継続手段を設けたものである。   In order to achieve such an object, the first invention (the invention according to claim 1) includes a first device located at the highest level and an address assigned to the own memory located at the lowest level. A tree-structured radio comprising at least a second device for storing and a third device for storing an address allocated between the first device and the second device and stored in the own memory. In the communication system, when the direct connection between the third device and the upper device having the parent-child connection relationship becomes impossible, the parent-child connection relationship with the upper and lower devices is not canceled. Communication continuation means is provided for continuing communication with a higher-level device through a detour route via another device.

この第1発明によれば、例えば、第1のデバイスをコーディネータ、第2のデバイスをエンドデバイス、第3のデバイスをルータとするツリー構造の無線通信システムとし、例えばルータ間で親子の接続関係を結んでおり、親ノードとなるルータを上位のルータ、子ノードとなるルータを下位のルータとした場合、上位のルータと下位のルータとの間の伝送路に電波障害などが生じるなどして、上位のルータとの直接接続が不能となると、下位のルータは、上位および下位のデバイスとの親子の接続関係を解消することなく、他のデバイスを経由した迂回経路を通して上位のルータとの間の通信を継続する。   According to the first aspect of the present invention, for example, a tree-structured wireless communication system in which a first device is a coordinator, a second device is an end device, and a third device is a router. If the router that is the parent node is the upper router and the router that is the child node is the lower router, there is radio interference in the transmission path between the upper router and the lower router, When the direct connection with the upper router is disabled, the lower router does not cancel the parent-child connection relationship with the upper and lower devices, and does not cancel the connection between the upper router and the upper router through the detour route via other devices. Continue communication.

この場合、下位のルータは、下位のデバイスとの親子の接続関係を解消しないので、下位のルータに接続されているルータやエンドデバイスが連鎖的に切断されてしまうことはない。また、下位のルータは上位のデバイスとの親子の接続関係を解消せず、上位のルータには下位のルータとの親子の接続関係を示す接続情報が残されるので、迂回経路を通して上位のルータとの間の通信を継続させた場合、下位のルータと上位のルータとの間の親子間の通信が途切れてしまうことはない。なお、この場合の上位のデバイスは、コーディネータである場合も考えられる。   In this case, since the lower router does not cancel the parent-child connection relationship with the lower device, the router and the end device connected to the lower router are not disconnected in a chain. In addition, the lower router does not cancel the parent-child connection relationship with the upper device, and the upper router is left with connection information indicating the parent-child connection relationship with the lower router. When the communication between the two routers is continued, the communication between the parent and child between the lower router and the upper router is not interrupted. Note that the upper device in this case may be a coordinator.

第2発明(請求項2に係る発明)は、第1発明において、第3のデバイスに、通信継続手段として、自己と親子の接続関係を結んだ上位のデバイスとの直接接続が不能となった場合、他のデバイスを経由して第1のデバイスに中継要求を送る手段と、第1のデバイスが中継要求に応じて探索した他のデバイスを経由した迂回経路を通して上位のデバイスとの間の通信を継続する手段とを設けたものである。
この第2発明によれば、例えば、上位のルータと下位のルータとの間の伝送路に電波障害などが生じるなどして、上位のルータとの直接接続が不能となると、下位のルータから他のデバイスを経由してコーディネータに中継要求が送られる。コーディネータは、この下位のルータからの中継要求に応じ、下位のルータと上位のルータとの間の他のデバイスを経由した迂回経路を探索する。例えば、下位のルータと上位のルータとの間の最短経路を迂回経路として探索し、その迂回経路に位置するデバイスに中継要求を発信した下位のルータからの通信を中継するように命ずる。
なお、この第2発明において、コーディネータに中継要求を送る場合の「他のデバイス」と迂回経路を通して通信を継続する場合の「他のデバイス」とは、同じであるとは限らない。
In the second invention (the invention according to claim 2), in the first invention, the third device cannot be directly connected to a higher-order device that has a parent-child connection relationship as a communication continuation means. In this case, the communication between the means for sending the relay request to the first device via the other device and the upper device through the detour route via the other device searched by the first device in response to the relay request. Is provided.
According to the second aspect of the present invention, when a direct connection with the upper router becomes impossible due to, for example, radio wave interference on the transmission path between the upper router and the lower router, A relay request is sent to the coordinator via the device. In response to the relay request from the lower router, the coordinator searches for a detour route via another device between the lower router and the upper router. For example, the shortest path between the lower router and the upper router is searched as a detour path, and the device located in the detour path is instructed to relay communication from the lower router that has transmitted the relay request.
In the second aspect of the present invention, the “other device” when sending a relay request to the coordinator and the “other device” when continuing communication through the detour path are not necessarily the same.

第3発明(請求項3に係る発明)は、第1発明において、第3のデバイスに、通信継続手段として、自己と親子の接続関係を結んだ上位のデバイスとの直接接続が不能となった場合、上位のデバイスと親子の接続関係を結んでいる上々位のデバイスに中継要求を送る手段と、上々位のデバイスが中継要求に応じて探索した他のデバイスを経由した迂回経路を通して上位のデバイスとの間の通信を継続する手段とを設けたものである。
この第3発明によれば、例えば、上位のルータと下位のルータとの間の伝送路に電波障害などが生じるなどして、上位のルータとの直接接続が不能となると、上位のルータと親子の接続関係を結んでいる上々位のデバイスに下位のルータから他のデバイスを経由して中継要求が送られる。上々位のデバイスは、この下位のルータからの中継要求に応じ、下位のルータと上位のルータとの間の他のデバイスを経由した迂回経路を探索する。例えば、下位のルータと上位のルータとの間の最短経路を迂回経路として探索し、その迂回経路に位置するデバイスに中継要求を発信した下位のルータからの通信を中継するように命ずる。この場合、迂回経路の探索は、中継要求を発信したノードの親ノード(上位のデバイス)を自己の子ノードとして持つ親ノード(上々位のデバイス)で行われるので、最上位のコーディネータで迂回経路の探索を行うよりも速やかに行われる。
なお、この第3発明において、上々位のデバイスに中継要求を送る場合の「他のデバイス」と迂回経路を通して通信を継続する場合の「他のデバイス」とは、同じであるとは限らない。
According to a third invention (invention according to claim 3), in the first invention, the third device cannot be directly connected to a higher-order device that has a parent-child connection relationship as a communication continuation means. The higher-level device through a detour route via the other device searched for in response to the relay request by means for sending the relay request to the upper-level device that has a parent-child connection relationship with the upper-level device And means for continuing the communication with each other.
According to the third aspect of the present invention, if a direct connection with the upper router becomes impossible due to, for example, a radio wave interference in the transmission path between the upper router and the lower router, The relay request is sent from the lower router to the upper-level device that has the above-mentioned connection relationship via the other device. The upper device searches for a detour route via another device between the lower router and the upper router in response to the relay request from the lower router. For example, the shortest path between the lower router and the upper router is searched as a detour path, and the device located in the detour path is instructed to relay communication from the lower router that has transmitted the relay request. In this case, the search for the bypass route is performed by the parent node (upper-level device) having the parent node (higher device) of the node that has transmitted the relay request as its own child node. This is done more quickly than searching.
In the third aspect of the invention, the “other device” when sending a relay request to a superior device and the “other device” when continuing communication through a detour route are not necessarily the same.

第4発明(請求項4に係る発明)は、第1〜第3発明において、第3のデバイスに、自己と親子の接続関係を結んだ上位のデバイスに定期的に接続確認要求を送信する手段と、接続確認要求の受信に成功したことを知らせる上位のデバイスからの接続確認応答を受信する手段とを設け、上位のデバイスからの接続確認応答が途絶えた場合に上位のデバイスとの直接接続が不能となったと判断するようにしたものである。
この第4発明によれば、例えば、下位のルータから上位のルータに定期的に接続確認要求が送信され、この接続確認要求が上位のルータで受信される毎に、上位のルータから下位のルータへ接続確認応答が返送される。下位のルータは、上位のルータからの接続確認応答が途絶えた場合に、上位のルータとの直接接続が不能となったと判断する。
According to a fourth invention (invention according to claim 4), in the first to third inventions, means for periodically transmitting a connection confirmation request to a third device having a connection relationship between itself and a parent and child And a means for receiving a connection confirmation response from the higher-level device notifying that the connection confirmation request has been successfully received, and when the connection confirmation response from the higher-level device is lost, direct connection with the higher-level device is established. It was decided that it was impossible.
According to the fourth aspect of the invention, for example, a connection confirmation request is periodically transmitted from the lower router to the upper router, and every time this connection confirmation request is received by the upper router, the upper router transmits to the lower router. A connection confirmation response is returned. The lower router determines that the direct connection with the upper router is disabled when the connection confirmation response from the upper router is interrupted.

第5発明(請求項5に係る発明)は、第1〜第4発明において、第3のデバイスに、自己と親子の接続関係を結んだ上位のデバイスとの直接接続が復旧した場合、迂回経路を通しての上位のデバイスとの通信の継続を解除し、上位のデバイスとの直接接続による通信を再開させる手段を設けたものである。
この第5発明によれば、例えば、下位のルータと上位のルータとの間の直接接続が復旧すると、迂回経路を通しての上位のルータとの通信の継続が解除され、上位のルータとの直接接続による通信が再開される。この場合、下位のルータは上位のルータとの親子の接続関係を解消しておらず、上位のルータには下位のルータとの親子関係を示す接続情報が残されているので、新たに親子関係を結ぶことなく、すぐに上位のルータと下位のルータとの間の直接接続による親子間の通信を再開させることができる。
According to a fifth invention (the invention according to claim 5), in the first to fourth inventions, when the direct connection between the third device and a higher-order device that has connected the parent and child is restored, the detour path Means for canceling the continuation of communication with the higher-level device through the network and resuming communication by direct connection with the higher-level device.
According to the fifth aspect of the invention, for example, when the direct connection between the lower router and the upper router is restored, the continuation of communication with the upper router through the detour path is released, and the direct connection with the upper router is established. Communication by is resumed. In this case, the lower-level router does not cancel the parent-child connection relationship with the upper-level router, and the upper-level router still has connection information indicating the parent-child relationship with the lower-level router. The communication between the parent and the child by the direct connection between the upper router and the lower router can be resumed immediately.

なお、本発明は、無線通信システムとしてではなく、デバイス単体としても構成することができる。この場合、デバイスに、自己と親子の接続関係を結んだ上位のデバイスとの直接接続が不能となった場合、上位のデバイスとの親子の接続関係を解消することなく、他のデバイスを経由した迂回経路を通して上位のデバイスとの間の通信を継続する通信継続手段を設ける(第6発明((請求項6に係る発明)))。このデバイスは、ルータとして用いてもよいし、エンドデバイスとして用いてもよい(第9発明((請求項9に係る発明)))。   Note that the present invention can be configured not as a wireless communication system but as a single device. In this case, if the device cannot directly connect to a higher-order device that has a parent-child connection relationship with itself, it passes through another device without canceling the parent-child connection relationship with the higher-level device. Communication continuation means for continuing communication with the host device through the detour path is provided (sixth invention ((invention according to claim 6)). This device may be used as a router or an end device (the ninth invention ((the invention according to claim 9)).

また、第6発明のデバイスに、通信継続手段として、自己と親子の接続関係を結んだ上位のデバイスとの直接接続が不能となった場合、他のデバイスを経由して第1のデバイスに中継要求を送る手段と、この中継要求に応じた第1のデバイスが探索した他のデバイスを経由した迂回経路を通して上位のデバイスとの間の通信を継続する手段とを設けるようにしてもよい(第7発明((請求項7に係る発明)))。
また、第6発明のデバイスに、通信継続手段として、自己と親子の接続関係を結んだ上位のデバイスとの直接接続が不能となった場合、上位のデバイスと親子の接続関係を結んでいる上々位のデバイスに他のデバイスを経由して中継要求を送る手段と、上々位のデバイスが中継要求に応じて探索した他のデバイスを経由した迂回経路を通して上位のデバイスとの間の通信を継続する手段とを設けるようにしてもよい(第8発明((請求項8に係る発明)))。
In addition, when a direct connection with a higher-order device that has a parent-child connection relationship cannot be established as a communication continuation unit with the device of the sixth invention, relay to the first device via another device Means for sending a request and means for continuing communication with a higher-order device through a detour route via another device searched by the first device in response to the relay request may be provided (first 7 inventions ((invention according to claim 7))).
In addition, when the direct connection between the device of the sixth invention and a higher-order device that has a parent-child connection relationship as a communication continuation means becomes impossible, the higher-order device has a parent-child connection relationship. Continues communication with the higher-level device through the detour route via the other device searched for in response to the relay request by means for sending the relay request to the higher-level device via the other device (8th invention ((invention according to claim 8))).

第1発明によれば、第1のデバイスと第2のデバイスとの間に位置する第3のデバイスに、自己と親子の接続関係を結んだ上位のデバイスとの直接接続が不能となった場合、上位および下位のデバイスとの親子の接続関係を解消することなく、他のデバイスを経由した迂回経路を通して上位のデバイスとの間の通信を継続する通信継続手段を設けたので、第3のデバイス(子ノード)と上位のデバイス(親ノード)との間の伝送路に電波障害などが生じた場合の迂回経路の形成に際し、子ノードに接続されている下位のノードが連鎖的に切断されてしまうことがないようにすることができる。また、下位のルータは上位のデバイスとの親子の接続関係を解消せず、上位のルータには下位のルータとの親子の接続関係を示す接続情報が残されるので、迂回経路を通して上位のルータとの間の通信を継続させた場合、子ノードと親ノードとの間の親子間の通信が途切れることがないようすることができる。   According to the first invention, when a third device located between the first device and the second device cannot be directly connected to a higher-level device that has a parent-child connection relationship with itself. Since the communication continuation means for continuing the communication with the upper device through the detour route via the other device without eliminating the parent-child connection relationship with the upper and lower devices, the third device is provided. When a detour path is formed when a radio wave failure occurs in the transmission path between the (child node) and the higher-level device (parent node), the lower-level nodes connected to the child node are disconnected in a chain. You can prevent it from happening. In addition, the lower router does not cancel the parent-child connection relationship with the upper device, and the upper router is left with connection information indicating the parent-child connection relationship with the lower router. When the communication between the nodes is continued, the communication between the parent and child between the child node and the parent node can be prevented from being interrupted.

第2発明によれば、第1発明において、第3のデバイスに、通信継続手段として、自己と親子の接続関係を結んだ上位のデバイスとの直接接続が不能となった場合、他のデバイスを経由して第1のデバイスに中継要求を送る手段と、第1のデバイスが中継要求に応じて探索した他のデバイスを経由した迂回経路を通して上位のデバイスとの間の通信を継続する手段とを設けたので、第1のデバイス(最上位のノード)に第3のデバイス(子ノード)と上位のデバイス(親ノード)との間の迂回経路を探索させ、この最上位のノードが探索した迂回経路を通して子ノードと親ノードと間の親子間の通信を継続させることができるようになる。   According to the second invention, in the first invention, when the third device becomes unable to directly connect to the higher-order device that has the parent-child connection relationship as a communication continuation means, A means for sending a relay request to the first device via, and a means for continuing communication with the higher-order device through a detour route via another device searched by the first device in response to the relay request. Since the first device (the highest node) is provided, the detour route between the third device (child node) and the upper device (parent node) is searched, and the detour searched by the highest node Communication between the parent and child between the child node and the parent node can be continued through the path.

第3発明によれば、第1発明において、第3のデバイスに、通信継続手段として、自己と親子の接続関係を結んだ上位のデバイスとの直接接続が不能となった場合、上位のデバイスと親子の接続関係を結んでいる上々位のデバイスに中継要求を送る手段と、上々位のデバイスが中継要求に応じて探索した他のデバイスを経由した迂回経路を通して上位のデバイスとの間の通信を継続する手段とを設けたので、中継要求を発信した子ノード(第3のデバイス)の親ノード(上位のデバイス)を自己の子ノードとして持つ親ノード(上々位のデバイス)で迂回経路の探索が行われ、第1のデバイス(最上位のデバイス)で迂回経路の探索を行わせるよりも、迂回経路の探索を速やかに行わせることができるようになる。   According to the third invention, in the first invention, when the third device becomes unable to directly connect to a higher-order device that has a parent-child connection relationship as a communication continuation means, A means for sending a relay request to a higher-level device that has a parent-child connection relationship, and a communication between a higher-level device through a detour route via another device searched by the higher-level device in response to the relay request. Search for a detour route by the parent node (upper-level device) having the parent node (higher device) of the child node (third device) that has transmitted the relay request as its own child node. Thus, the search for a detour route can be performed more quickly than the search for a detour route by the first device (the highest device).

第4発明によれば、第1〜第3発明において、第3のデバイスに、自己と親子の接続関係を結んだ上位のデバイスに定期的に接続確認要求を送信する手段と、接続確認要求の受信に成功したことを知らせる上位のデバイスからの接続確認応答を受信する手段とを設け、上位のデバイスからの接続確認応答が途絶えた場合に上位のデバイスとの直接接続が不能となったと判断するようにしたので、簡易な方法で、上位のデバイス(親ノード)との間の直接接続が不能となった状態を確認することができる。   According to a fourth invention, in the first to third inventions, means for periodically sending a connection confirmation request to a higher-level device that has established a parent-child connection relationship with the third device, and a connection confirmation request And a means for receiving a connection confirmation response from the higher-level device to notify that the reception has been successful. If the connection confirmation response from the higher-level device is interrupted, it is determined that the direct connection with the higher-level device has become impossible. Since it did in this way, the state where the direct connection with a high-order device (parent node) became impossible can be confirmed with a simple method.

第5発明によれば、第1〜第4発明において、第3のデバイスに、自己と親子の接続関係を結んだ上位のデバイスとの直接接続が復旧した場合、迂回経路を通しての上位のデバイスとの通信の継続を解除し、上位のデバイスとの直接接続による通信を再開させる手段を設けたので、新たに親子関係を結ぶことなく、すぐに第3のデバイスと上位のデバイスとの間の直接接続による親子間の通信を再開させることができるようになる。   According to the fifth invention, in the first to fourth inventions, when the direct connection between the third device and the higher-order device that has established the parent-child connection relationship is restored, Since the means for canceling the continuation of the communication and resuming the communication by direct connection with the higher-level device is provided, the direct communication between the third device and the higher-level device can be performed immediately without newly establishing a parent-child relationship. Communication between parent and child by connection can be resumed.

第6発明によれば、デバイスに、自己と親子の接続関係を結んだ上位のデバイスとの直接接続が不能となった場合、上位のデバイスとの親子の接続関係を解消することなく、他のデバイスを経由した迂回経路を通して上位のデバイスとの間の通信を継続する通信継続手段を設けたので、このデバイスをルータとして用いることにより、第1発明と同様の効果を奏する。
第7発明によれば、第6発明のデバイスに、通信継続手段として、自己と親子の接続関係を結んだ上位のデバイスとの直接接続が不能となった場合、他のデバイスを経由して第1のデバイスに中継要求を送る手段と、この中継要求に応じた第1のデバイスが探索した他のデバイスを経由した迂回経路を通して上位のデバイスとの間の通信を継続する手段とを設けるようにしたので、このデバイスをルータとして用いることにより、第2発明と同様の効果を奏する。
第8発明によれば、第6発明のデバイスに、通信継続手段として、自己と親子の接続関係を結んだ上位のデバイスとの直接接続が不能となった場合、上位のデバイスと親子の接続関係を結んでいる上々位のデバイスに他のデバイスを経由して中継要求を送る手段と、上々位のデバイスが中継要求に応じて探索した他のデバイスを経由した迂回経路を通して上位のデバイスとの間の通信を継続する手段とを設けたので、このデバイスをルータとして用いることにより、第3発明と同様の効果を奏する。
According to the sixth aspect of the present invention, when a direct connection with a higher-order device that has a parent-child connection relationship between itself and the parent device becomes impossible, the other child-to-parent connection relationship with the higher-order device is not canceled. Since the communication continuation means for continuing communication with the host device through the detour route via the device is provided, the same effect as that of the first invention can be obtained by using this device as a router.
According to the seventh aspect of the present invention, when a direct connection with a higher-order device that has a parent-child connection relationship becomes impossible as a communication continuation means with the device of the sixth aspect, Means for sending a relay request to one device, and means for continuing communication with a host device through a detour route via another device searched by the first device in response to the relay request. Therefore, by using this device as a router, the same effects as in the second invention can be obtained.
According to the eighth invention, when the device of the sixth invention is unable to connect directly to a higher-level device that has a parent-child connection relationship as a communication continuation means, the higher-level device and parent-child connection relationship Between the device that sends the relay request to the upper device that connects the other devices via the other device and the upper device through the detour route that passes through the other device searched by the upper device in response to the relay request Since the device is used as a router, the same effect as that of the third invention can be obtained.

第9発明によれば、最上位に位置する第1のデバイスと、最下位に位置し自己のメモリに自己に割り当てられたアドレスを記憶する第2のデバイスとを少なくとも備えたツリー構造の無線通信システムにおいて、第2のデバイスに、自己と親子の接続関係を結んだ上位のデバイスとの直接接続が不能となった場合、上位のデバイスとの親子の接続関係を解消することなく、他のデバイスを経由した迂回経路を通して上位のデバイスとの間の通信を継続する通信継続手段を設けたので、第2のデバイス(子ノード)と上位のデバイス(親ノード)との間の伝送路に電波障害などが生じた場合の迂回経路の形成に際し、子ノードと親ノードとの間の親子間の通信が途切れることがないようすることができる   According to the ninth invention, a tree-structured wireless communication comprising at least a first device located at the highest level and a second device located at the lowest level and storing an address assigned to itself in its own memory In the system, when a direct connection with a higher-order device that has a parent-child connection relationship with the second device becomes impossible in the system, the other device can be used without canceling the parent-child connection relationship with the higher-level device. Since there is a communication continuation means that continues communication with the higher-level device through a detour route that passes through the network, there is radio interference in the transmission path between the second device (child node) and the higher-level device (parent node). When a detour path is formed in the event that a problem occurs, the communication between the parent and child between the child node and the parent node can be prevented from being interrupted.

以下、本発明を図面に基づいて詳細に説明する。
図1はこの発明に係る無線通信システムの一例を示す概略図である。この無線通信システムは、ジグビーネットワークを利用した単純な例であり、最上位(第0層)に位置するコーディネータ10と、最下位(第3層)に位置するエンドデバイス30と、コーディネータ10とエンドデバイス30との間(第1層、第2層)に位置するルータ20とによって構成される。
Hereinafter, the present invention will be described in detail with reference to the drawings.
FIG. 1 is a schematic diagram showing an example of a wireless communication system according to the present invention. This wireless communication system is a simple example using a ZigBee network. The coordinator 10 is located at the highest level (0th layer), the end device 30 is located at the lowest level (third layer), the coordinator 10 and the end. The router 20 is located between the device 30 (first layer and second layer).

なお、この例において、コーディネータ10の識別番号は#0、ルータ20−1〜20−6の識別番号は#1〜#6、エンドデバイス30−1〜30−8の識別番号は#7〜#14として設定されているものとする。また、この無線通信システムにおいて、コーディネータ10には、ネットワーク全体に対して付番可能なアドレスとしてアドレスブロックAD0〜AD14が定められ、このアドレスブロックのうち「AD0」が自己のアドレスとして割り当てられるものとする。   In this example, the identification number of the coordinator 10 is # 0, the identification numbers of the routers 20-1 to 20-6 are # 1 to # 6, and the identification numbers of the end devices 30-1 to 30-8 are # 7 to ##. 14 is set. In this wireless communication system, the coordinator 10 is defined with address blocks AD0 to AD14 as addresses that can be assigned to the entire network, and among these address blocks, “AD0” is assigned as its own address. To do.

この無線通信システムにおいても、図11に示したジグビーネットワークと同様に、コーディネータ10に対して、ルータ20−1を接続する場合、ルータ20−1をコーディネータ10に近づけて電源をオンとする。すると、ルータ20−1からコーディネータ10へアソシエイト接続要求が送られ、コーディネータ10との間で親子関係が結ばれる。これにより、ルータ20−1へアドレスAD1が割り当てられ、コーディネータ10の接続情報テーブルT0にルータ20−1に割り当てたアドレスAD1と識別番号#1との対応関係が書き込まれる。   Also in this wireless communication system, when the router 20-1 is connected to the coordinator 10 as in the ZigBee network shown in FIG. 11, the power is turned on by bringing the router 20-1 close to the coordinator 10. Then, an associate connection request is sent from the router 20-1 to the coordinator 10, and a parent-child relationship is established with the coordinator 10. As a result, the address AD1 is assigned to the router 20-1, and the correspondence between the address AD1 assigned to the router 20-1 and the identification number # 1 is written in the connection information table T0 of the coordinator 10.

同様にして、コーディネータ10とルータ20−2との間、ルータ20−1とルータ20−3および20−4との間、ルータ20−2とルータ20−5および20−6との間、ルータ20−3とエンドデバイス30−1および30−2との間、ルータ20−4とエンドデバイス30−3および30−4との間、ルータ20−5とエンドデバイス30−5および30−6との間、ルータ20−6とエンドデバイス30−7および30−8との間で親子関係が結ばれる。   Similarly, between the coordinator 10 and the router 20-2, between the router 20-1 and the routers 20-3 and 20-4, between the router 20-2 and the routers 20-5 and 20-6, 20-3 and the end devices 30-1 and 30-2, between the router 20-4 and the end devices 30-3 and 30-4, and between the router 20-5 and the end devices 30-5 and 30-6. In the meantime, a parent-child relationship is established between the router 20-6 and the end devices 30-7 and 30-8.

これにより、ルータ20−2へアドレスAD8が割り当てられ、コーディネータ10の接続情報テーブルT0にルータ20−2に割り当てたアドレスAD8と識別番号#2との対応関係が書き込まれる。また、ルータ20−3,20−4にアドレスAD2,AD5が割り当てられ、ルータ20−1の接続情報テーブルT1にルータ20−3,20−4に割り当てたアドレスAD2,AD5と識別番号#3,#4との対応関係が書き込まれる。また、ルータ20−5,20−6にアドレスAD9,AD12が割り当てられ、ルータ20−2の接続情報テーブルT1にルータ20−5,20−6に割り当てたアドレスAD9,AD12と識別番号#5,#6との対応関係が書き込まれる。   As a result, the address AD8 is assigned to the router 20-2, and the correspondence between the address AD8 assigned to the router 20-2 and the identification number # 2 is written in the connection information table T0 of the coordinator 10. Addresses AD2 and AD5 are assigned to the routers 20-3 and 20-4, and the addresses AD2 and AD5 assigned to the routers 20-3 and 20-4 and the identification numbers # 3 and 3 are assigned to the connection information table T1 of the router 20-1. The correspondence with # 4 is written. Addresses AD9 and AD12 are assigned to the routers 20-5 and 20-6, and the addresses AD9 and AD12 assigned to the routers 20-5 and 20-6 and the identification numbers # 5 and 5 are assigned to the connection information table T1 of the router 20-2. The correspondence with # 6 is written.

また、エンドデバイス30−1,30−2にアドレスAD3,AD4が割り当てられ、ルータ20−3の接続情報テーブルT1にエンドデバイス30−1,30−2に割り当てたアドレスAD3,AD4と識別番号#7,#8との対応関係が書き込まれる。また、エンドデバイス30−3,30−4にアドレスAD6,AD7が割り当てられ、ルータ20−4の接続情報テーブルT1にエンドデバイス30−3,30−4に割り当てたアドレスAD6,AD7と識別番号#9,#10との対応関係が書き込まれる。   Also, the addresses AD3 and AD4 are assigned to the end devices 30-1 and 30-2, and the addresses AD3 and AD4 assigned to the end devices 30-1 and 30-2 and the identification number # are assigned to the connection information table T1 of the router 20-3. 7 and # 8 are written. Further, the addresses AD6 and AD7 are assigned to the end devices 30-3 and 30-4, and the addresses AD6 and AD7 assigned to the end devices 30-3 and 30-4 in the connection information table T1 of the router 20-4 and the identification number # 9, the correspondence with # 10 is written.

また、エンドデバイス30−5,30−6にアドレスAD10,AD11が割り当てられ、ルータ20−5の接続情報テーブルT1にエンドデバイス30−5,30−6に割り当てたアドレスAD10,AD11と識別番号#11,#12との対応関係が書き込まれる。また、エンドデバイス30−7,30−8にアドレスAD13,AD14が割り当てられ、ルータ20−6の接続情報テーブルT1にエンドデバイス30−7,30−8に割り当てたアドレスAD13,AD14と識別番号#13,#14との対応関係が書き込まれる。   Further, the addresses AD10 and AD11 are assigned to the end devices 30-5 and 30-6, and the addresses AD10 and AD11 and the identification number # assigned to the end devices 30-5 and 30-6 in the connection information table T1 of the router 20-5. 11 and # 12 are written. Further, the addresses AD13 and AD14 are assigned to the end devices 30-7 and 30-8, and the addresses AD13 and AD14 and the identification number # assigned to the end devices 30-7 and 30-8 in the connection information table T1 of the router 20-6. 13 and # 14 are written.

この無線通信システムにおいて、ルータ20およびエンドデバイス30は、定期的に上位のデバイスに接続確認要求を送信する接続確認要求送信機能を備えている。また、コーディネータ10およびルータ20は、下位のデバイスから定期的に送られてくる接続確認要求を受信する毎に、その接続確認要求の受信に成功したことを知らせる接続確認応答を返送する接続確認応答返送機能を有している。   In this wireless communication system, the router 20 and the end device 30 have a connection confirmation request transmission function for periodically transmitting a connection confirmation request to an upper device. Each time the coordinator 10 and the router 20 receive a connection confirmation request periodically sent from a lower device, the connection confirmation response returns a connection confirmation response notifying that the connection confirmation request has been successfully received. Has a return function.

また、ルータ20は、接続確認要求の受信に成功したことを知らせる上位のデバイスからの接続確認応答が途絶えた場合、自己の電源を遮断することなく、通信圏内の他のルータ20へ中継要求を送り、この中継要求によって探索される迂回経路を通して通信を継続する迂回経路通信継続機能、上位のデバイスからのそれまで途絶えていた接続確認応答の入力が再開された場合、迂回経路を通しての上位デバイスとの通信の継続を解除し、上位のデバイスとの直接接続による通信を再開する接続再開機能を有している。   Further, when the connection confirmation response from the higher-level device that informs that the connection confirmation request has been successfully received is interrupted, the router 20 sends a relay request to the other routers 20 within the communication range without shutting down its own power supply. If the connection confirmation response from the upper device that has been interrupted is resumed, the upper device through the detour route will continue to communicate with the upper device via the detour route. A connection resumption function for canceling the continuation of communication and resuming communication by direct connection with a host device.

また、エンドデバイス30は、上位のデバイスからの接続確認応答が途絶えた場合、切断(電源オフ)、再接続(電源オン)を行う切断再接続機能を有している。また、コーディネータ10は、ルータ20から送られてくる中継要求を受信し、その中継要求を発信したルータ20とそのルータ20の親ノード(上位のデバイス)との間の最短経路を迂回経路として探索し、その迂回経路に位置するルータ20に対して中継要求を発信したルータ20からの通信を中継するように命ずる迂回経路探索中継機能を有している。   Further, the end device 30 has a disconnection / reconnection function for disconnecting (powering off) and reconnecting (powering on) when the connection confirmation response from the host device is interrupted. The coordinator 10 receives the relay request sent from the router 20 and searches for the shortest path between the router 20 that has transmitted the relay request and the parent node (higher device) of the router 20 as a bypass path. In addition, it has a detour route search and relay function for instructing the router 20 located in the detour route to relay the communication from the router 20 that has transmitted the relay request.

図2にコーディネータ10の概略的なブロック図を示す。コーディネータ10は、処理部10Aと、RAM10Bと、EEPROM10Cと、RF回路(無線送受信回路)10Dとを備えている。処理部10Aは、上述した接続確認応答返送機能、迂回経路探索中継機能の他、基本的な機能として、ネットワーク宣言機能、親ノード機能、通信機能(ノード間通信機能、通信中継機能)などを備えている。これらの機能は、処理部10Aが実行するプログラムに従う処理動作として得られる。なお、EEPROM10Cにはコーディネータ10の識別番号が格納され、RAM10Bにはネットワーク全体に対して付番可能なアドレスブロック、コーディネータ10に対して割り当てられるアドレス、接続情報テーブルT0などが格納される。   FIG. 2 shows a schematic block diagram of the coordinator 10. The coordinator 10 includes a processing unit 10A, a RAM 10B, an EEPROM 10C, and an RF circuit (wireless transmission / reception circuit) 10D. The processing unit 10A includes a network declaration function, a parent node function, a communication function (inter-node communication function, communication relay function) and the like as basic functions in addition to the above-described connection confirmation response return function and detour route search relay function. ing. These functions are obtained as processing operations according to a program executed by the processing unit 10A. The EEPROM 10C stores the identification number of the coordinator 10, and the RAM 10B stores an address block that can be assigned to the entire network, an address assigned to the coordinator 10, a connection information table T0, and the like.

図3にルータ20の概略的なブロック図を示す。ルータ20は、処理部20Aと、RAM20Bと、EEPROM20Cと、RF回路20Dとを備えている。処理部20Aは、上述した接続確認要求送信機能、接続確認応答返送機能、迂回経路通信継続機能、接続再開機能の他、基本的な機能として、親ノード機能、通信機能(ノード間通信機能、通信中継機能)などを備えている。これらの機能は、処理部20Aが実行するプログラムに従う処理動作として得られる。なお、EEPROM20Cにはルータ20の識別番号が格納され、RAM20Bにはルータ20に対して割り当てられるアドレス、上位のデバイスから送られてくる下位のデバイスに対して付番可能なアドレスブロック、接続情報テーブルT1などが格納される。   FIG. 3 shows a schematic block diagram of the router 20. The router 20 includes a processing unit 20A, a RAM 20B, an EEPROM 20C, and an RF circuit 20D. The processing unit 20A includes, as basic functions, a parent node function, a communication function (inter-node communication function, communication) in addition to the above-described connection confirmation request transmission function, connection confirmation response return function, detour path communication continuation function, and connection resumption function. Relay function). These functions are obtained as processing operations according to a program executed by the processing unit 20A. The EEPROM 20C stores the identification number of the router 20, and the RAM 20B has an address assigned to the router 20, an address block that can be assigned to a lower device sent from a higher device, and a connection information table. T1 etc. are stored.

図4にエンドデバイス30の概略的なブロック図を示す。エンドデバイス30は、処理部30Aと、RAM30Bと、EEPROM30Cと、RF回路30Dとを備えている。処理部30Aは、上述した接続確認要求送信機能、切断再接続機能の他、基本的な機能として、子ノード機能、通信機能(ノード間通信機能)などを備えている。これらの機能は、処理部30Aが実行するプログラムに従う処理動作として得られる。なお、EEPROM30Cには、エンドデバイス30の識別番号などが格納される。RAM30Bには、エンドデバイス30に対して割り当てられるアドレスなどが格納される。   FIG. 4 shows a schematic block diagram of the end device 30. The end device 30 includes a processing unit 30A, a RAM 30B, an EEPROM 30C, and an RF circuit 30D. The processing unit 30A includes a child node function, a communication function (inter-node communication function), and the like as basic functions in addition to the connection confirmation request transmission function and the disconnection / reconnection function described above. These functions are obtained as processing operations according to a program executed by the processing unit 30A. The EEPROM 30C stores an identification number of the end device 30 and the like. The RAM 30B stores an address assigned to the end device 30 and the like.

〔ルータ間の接続確認〕
ルータ20は、親子関係を結んでいる上位のルータ20に対し、接続確認要求を定期的に送信する。例えば、図1に示したルータ20−1とルータ20−3との間で説明すると、下位のルータ20−3から上位のルータ20−1へ接続確認要求が定期的に送られる(図5(a)参照)。ルータ20−1は、ルータ20−3からの接続確認要求を受信する毎に、接続確認要求の受信に成功したことを知らせる接続確認応答をルータ20−3に返送する。
[Checking the connection between routers]
The router 20 periodically transmits a connection confirmation request to the upper router 20 having a parent-child relationship. For example, in the description between the router 20-1 and the router 20-3 shown in FIG. 1, a connection confirmation request is periodically sent from the lower router 20-3 to the upper router 20-1 (FIG. 5 ( a)). Each time the router 20-1 receives the connection confirmation request from the router 20-3, the router 20-1 returns a connection confirmation response notifying that the connection confirmation request has been successfully received to the router 20-3.

なお、図5(a)において、ルータ20−1は、ルータ20−3および20−4と親子関係を結んでおり、その接続情報テーブルT1にはルータ20−3および20−4との親子関係を示す接続情報が書き込まれているものとする。また、ルータ20−3は、エンドデバイス30−1および30−2と親子関係を結んでおり、その接続情報テーブルT1にはエンドデバイス30−1および30−2との親子関係を示す接続情報が書き込まれているものとする。また、ルータ20−4は、下位のデバイスとの親子関係を未だ結んでおらず、ルータ20−3の通信圏内にあるものとする。   In FIG. 5A, the router 20-1 has a parent-child relationship with the routers 20-3 and 20-4, and the connection information table T1 has a parent-child relationship with the routers 20-3 and 20-4. It is assumed that connection information indicating is written. The router 20-3 has a parent-child relationship with the end devices 30-1 and 30-2, and the connection information table T1 includes connection information indicating the parent-child relationship with the end devices 30-1 and 30-2. It shall be written. Further, it is assumed that the router 20-4 has not yet established a parent-child relationship with a lower-level device and is within the communication range of the router 20-3.

〔ルータ間の伝送路に電波障害などが発生した場合〕
図5(a)において、ルータ20−1と20−3との間の伝送路に電波障害などが発生すると、ルータ20−3からのルータ20−1への接続確認要求が途絶える(図5(b))。この場合、ルータ20−1は、ルータ20−3からの接続確認要求を受信することができず、その接続確認要求に対する接続確認応答を返送しない。
[When radio wave interference occurs on the transmission path between routers]
In FIG. 5A, when a radio wave interference or the like occurs in the transmission path between the routers 20-1 and 20-3, the connection confirmation request from the router 20-3 to the router 20-1 is interrupted (FIG. 5 ( b)). In this case, the router 20-1 cannot receive the connection confirmation request from the router 20-3, and does not return a connection confirmation response to the connection confirmation request.

一方、ルータ20−3は、ルータ20−1への接続確認要求を送信した後、ルータ20−1からの接続確認応答を待ち、ルータ20−1からの接続確認応答が途絶えたことを検出して、自己の電源を遮断することなく、通信圏内のルータ20−4を経由してコーディネータ10へ中継要求を送り、この中継要求によって探索される迂回経路を通してルータ20−1との間の通信を継続する(図5(c))。   On the other hand, after transmitting the connection confirmation request to the router 20-1, the router 20-3 waits for the connection confirmation response from the router 20-1, and detects that the connection confirmation response from the router 20-1 has been interrupted. Thus, the relay request is sent to the coordinator 10 via the router 20-4 in the communication area without shutting down its own power supply, and the communication with the router 20-1 is performed through the detour route searched by this relay request. Continue (FIG. 5C).

図6にこの場合のルータ20−3における処理動作を示す。ルータ20−3は、リトライ数を0としたうえ(ステップ101)、ルータ20−1へ接続確認要求を送信する(ステップ102)。そして、この接続確認要求に対してルータ20−1から返送されてくる接続確認応答を待ち(ステップ103)、接続確認応答を受信すると(ステップ104のYES)、一定時間の経過を待って(ステップ107)、ルータ20−1へ次の接続確認要求を送信する(ステップ102)。以下同様の処理動作を繰り返す。   FIG. 6 shows the processing operation in the router 20-3 in this case. The router 20-3 sets the number of retries to 0 (step 101), and transmits a connection confirmation request to the router 20-1 (step 102). Then, it waits for a connection confirmation response returned from the router 20-1 in response to this connection confirmation request (step 103). When a connection confirmation response is received (YES in step 104), it waits for a certain period of time (step 103). 107) The next connection confirmation request is transmitted to the router 20-1 (step 102). Thereafter, the same processing operation is repeated.

このような処理動作中、ルータ20−1からの接続確認応答が受信されなくなると(ステップ104のNO)、リトライ回数に1をプラスし(ステップ105)、一定時間の経過を待って(ステップ107)、ルータ20−1へ次の接続確認要求を送信する(ステップ102)。そして、リトライ回数が所定回数Nx以上となると(ステップ106のYES)、ルータ20−1からの接続確認応答が途絶えたと判断して、自己の電源を遮断することなく、通信圏内のルータ20−4へ中継要求を送り、この中継要求によって探索される迂回経路を通してルータ20−1との間の通信を継続する(ステップ108)。   If a connection confirmation response from the router 20-1 is not received during such processing operation (NO in step 104), 1 is added to the number of retries (step 105), and a certain time has passed (step 107). ), The next connection confirmation request is transmitted to the router 20-1 (step 102). When the number of retries is equal to or greater than the predetermined number Nx (YES in step 106), it is determined that the connection confirmation response from the router 20-1 has been interrupted, and the router 20-4 in the communication area is not cut off without shutting down its own power supply. The relay request is sent to the router 20-1, and the communication with the router 20-1 is continued through the detour route searched by the relay request (step 108).

ステップ108での通信の継続は次のようにして行う。ルータ20−3は、ルータ20−1からの接続確認応答が途絶えたと判断すると、通信圏内のルータ20−4へ自己のアドレスを付して中継要求を送る。この中継要求は、ルータ20−4からルータ20−1を通して、コーディネータ10へ送られる。コーディネータ10は、ルータ20−3からの中継要求を受信し、その中継要求を発信したルータ20−3とこのルータ20−3とルータ20−1(ルータ20−3の親ノード)との間の最短経路を迂回経路として探索し、その迂回経路に位置するルータ20に対してルータ20−3からの通信を中継するように命ずる。   The communication in step 108 is continued as follows. When the router 20-3 determines that the connection confirmation response from the router 20-1 has been interrupted, it sends a relay request with its own address to the router 20-4 in the communication area. This relay request is sent from the router 20-4 to the coordinator 10 through the router 20-1. The coordinator 10 receives the relay request from the router 20-3, and transmits the relay request between the router 20-3 and the router 20-3 and the router 20-1 (parent node of the router 20-3). The shortest route is searched as a bypass route, and the router 20 located in the bypass route is instructed to relay the communication from the router 20-3.

これにより、迂回経路として例えば「ルータ20−3、ルータ20−4、ルータ20−1」という経路が形成され、この迂回経路を通してルータ20−3からの情報がルータ20−1へ継続して送られるものとなる。この場合、ルータ20−3は、自己の電源を遮断しないので、自己に割り当てられているアドレスや下位のデバイスとの親子関係を示す接続情報の記憶を保持し続ける。すなわち、この場合、ルータ20−3は、下位のデバイスとの親子の接続関係を解消することなく、迂回経路を通して通信を継続するので、ルータ20−3に接続されている下位のデバイス(エンドデバイス30−1、30−2)が連鎖的に切断されてしまうということはない。また、ルータ20−3は下位のデバイスとの親子の接続関係を解消せず、ルータ20−1にはルータ20−3との親子関係を示す接続情報が残されるので、迂回経路を通してルータ20−3とルータ20−1との間の通信を継続させた場合、ルータ20−3とルータ20−1との間の親子間の通信が途切れてしまうことはない。   Thereby, for example, a route “router 20-3, router 20-4, router 20-1” is formed as a bypass route, and information from the router 20-3 is continuously transmitted to the router 20-1 through this bypass route. It will be. In this case, since the router 20-3 does not shut down its own power supply, it keeps storing the connection information indicating the address assigned to itself and the parent-child relationship with the lower-level device. That is, in this case, since the router 20-3 continues the communication through the detour route without canceling the parent-child connection relationship with the lower device, the lower device (end device) connected to the router 20-3. 30-1 and 30-2) are not cut in a chain. In addition, the router 20-3 does not cancel the parent-child connection relationship with the lower-level device, and the router 20-1 is left with connection information indicating the parent-child relationship with the router 20-3. Therefore, the router 20- 3 and the communication between the router 20-1 are continued, the communication between the parent and child between the router 20-3 and the router 20-1 is not interrupted.

〔ルータ間の伝送路に発生していた電波障害などが解消され場合〕
図7(a)において、ルータ20−1と20−3との間の伝送路に発生していた電波障害などが解消されると、ルータ20−3からの接続確認要求がルータ20−1で受信されるようになる(図7(b))。この場合、ルータ20−1は、ルータ20−3からの接続確認要求の受信に成功したことを知らせる接続確認応答を返送する。
[If the interference from the transmission path between routers is resolved]
In FIG. 7A, when a radio wave interference or the like that has occurred on the transmission path between the routers 20-1 and 20-3 is resolved, a connection confirmation request from the router 20-3 is received by the router 20-1. It will be received (FIG. 7B). In this case, the router 20-1 returns a connection confirmation response notifying that the connection confirmation request from the router 20-3 has been successfully received.

ルータ20−3は、ルータ20−1からのそれまで途絶えていた接続確認応答の入力が再開されると、迂回経路を通してのルータ20−3との通信の継続を解除し、ルータ20−1との直接接続による通信を再開する。この場合、ルータ20−3は自己に割り当てられているアドレスや下位のデバイスとの親子関係を示す接続情報の記憶を保持しており、ルータ20−1にはルータ20−3との親子関係を示す接続情報が残されているので、新たに親子関係を結ぶことなく、すぐにルータ20−3とルータ20−1との間の直接接続による親子間の通信を再開することができる。   When the input of the connection confirmation response that has been interrupted from the router 20-1 is resumed, the router 20-3 cancels the continuation of communication with the router 20-3 through the detour path, and the router 20-1 Restart communication by direct connection. In this case, the router 20-3 stores the connection information indicating the parent-child relationship with the address assigned to itself and the lower-level device, and the router 20-1 has the parent-child relationship with the router 20-3. Since the connection information shown is left, communication between the parent and the child by the direct connection between the router 20-3 and the router 20-1 can be immediately resumed without newly establishing a parent-child relationship.

〔コーディネータとルータとの間の伝送路に電波障害などが発生した場合〕
上述においては、ルータ20−1と20−3との間の伝送路に電波障害などが発生した場合について説明したが、コーディネータ10とルータ20−1との間の伝送路に電波障害などが発生した場合も同様にして、ルータ20−1の電源を遮断することなく、ルータ20−1とコーディネータ10との間の親子間の通信が迂回経路を通して継続して行われる。この場合の動作について図8を用いて説明する。
[When there is a radio interference in the transmission path between the coordinator and the router]
In the above description, a case where a radio wave interference or the like occurs in the transmission path between the routers 20-1 and 20-3 has been described. However, a radio wave interference occurs in the transmission path between the coordinator 10 and the router 20-1. Similarly, communication between the parent and child between the router 20-1 and the coordinator 10 is continuously performed through the detour path without shutting off the power supply of the router 20-1. The operation in this case will be described with reference to FIG.

図8(a)において、コーディネータ10とルータ20−1との間の伝送路に電波障害などが発生すると、ルータ20−1からのコーディネータ10への接続確認要求が途絶える(図8(b))。この場合、コーディネータ10は、ルータ20−1からの接続確認要求を受信することができず、その接続確認要求に対する接続確認応答を返送しない。   In FIG. 8A, when a radio wave failure or the like occurs in the transmission path between the coordinator 10 and the router 20-1, the connection confirmation request from the router 20-1 to the coordinator 10 is interrupted (FIG. 8B). . In this case, the coordinator 10 cannot receive the connection confirmation request from the router 20-1, and does not return a connection confirmation response to the connection confirmation request.

一方、ルータ20−1は、コーディネータ10への接続確認要求を送信した後、コーディネータ10からの接続確認応答を待ち、コーディネータ10からの接続確認応答が途絶えたことを検出して、自己の電源を遮断することなく、通信圏内のルータ20−2を経由してコーディネータ10へ中継要求を送り、この中継要求によって探索される迂回経路を通してコーディネータ10との間の親子間の通信を継続する(図8(c))。   On the other hand, after transmitting the connection confirmation request to the coordinator 10, the router 20-1 waits for a connection confirmation response from the coordinator 10, detects that the connection confirmation response from the coordinator 10 has stopped, and turns on its own power supply. Without interruption, a relay request is sent to the coordinator 10 via the router 20-2 in the communication area, and the communication between the parent and the child with the coordinator 10 is continued through the detour route searched by this relay request (FIG. 8). (C)).

なお、図7に示した例では、ルータ20−3からコーディネータ10へ中継要求を送り、コーディネータ10においてルータ20−1と20−3との間の迂回経路を探索するようにしたが、必ずしもコーディネータ10で迂回経路を探索するようにしなくてもよい。   In the example shown in FIG. 7, a relay request is sent from the router 20-3 to the coordinator 10, and the coordinator 10 searches for a detour route between the routers 20-1 and 20-3. It is not necessary to search for a detour route at 10.

例えば、図9(a)に示すように、コーディネータ10とエンドデバイス30との間にルータ20がさらに幾層も存在するような場合、ルータ20−1の親ノードとして位置しているルータ20−7(以下、このルータを上々位のルータと呼ぶ)にルータ20−3から中継要求を送るようにし(図9(b))、この上々位のルータ20−7において迂回経路の探索を行わせるようにしてもよい。   For example, as shown in FIG. 9A, when there are more layers of routers 20 between the coordinator 10 and the end device 30, the router 20- positioned as the parent node of the router 20-1. The relay request is sent from the router 20-3 to the router 7 (hereinafter, this router is referred to as the upper router) (FIG. 9B), and the upper router 20-7 searches for the detour route. You may do it.

この場合、上々位のルータ20−7は、探索した迂回経路に位置するルータ20に中継要求を発信したルータ20−3からの通信を中継するように命ずる。これにより、迂回経路として例えば「ルータ20−3、ルータ20−4、ルータ20−1」という経路が形成され、この迂回経路を通してルータ20−3とルータ20−1との間の親子間の通信が継続されるものとなる。   In this case, the upper router 20-7 instructs the router 20 located in the searched detour path to relay the communication from the router 20-3 that has transmitted the relay request. Thereby, for example, a route “router 20-3, router 20-4, router 20-1” is formed as a detour route, and communication between the parent and child between the router 20-3 and the router 20-1 through this detour route. Will continue.

〔エンドデバイスとルータとの間の接続確認〕
エンドデバイス30は、親子関係を結んでいる上位のルータ20に対し、接続確認要求を定期的に送信する。例えば、図1に示したエンドデバイス30−1とルータ20−3との間で説明すると、エンドデバイス30−1からルータ20−3へ接続確認要求が定期的に送られる(図10(a)参照)。ルータ20−3は、エンドデバイス30−1からの接続確認要求を受信する毎に、接続確認要求の受信に成功したことを知らせる接続確認応答をエンドデバイス30−1に返送する。
[Checking the connection between the end device and the router]
The end device 30 periodically transmits a connection confirmation request to the upper router 20 that has a parent-child relationship. For example, when explaining between the end device 30-1 and the router 20-3 shown in FIG. 1, a connection confirmation request is periodically sent from the end device 30-1 to the router 20-3 (FIG. 10A). reference). Each time the router 20-3 receives a connection confirmation request from the end device 30-1, the router 20-3 returns a connection confirmation response notifying that the connection confirmation request has been successfully received to the end device 30-1.

なお、図5(a)において、ルータ20−3は、エンドデバイス30−1および30−2と親子関係を結んでおらず、その接続情報テーブルT1にはエンドデバイス30−1および30−2との親子関係を示す接続情報が書き込まれているものとする。また、エンドデバイス30−1の通信圏内にルータ20−4が存在するものとする。また、ルータ20−4は、下位のデバイスとの親子関係を未だ結んでいないものとする。   In FIG. 5A, the router 20-3 does not have a parent-child relationship with the end devices 30-1 and 30-2, and the connection information table T1 includes the end devices 30-1 and 30-2. It is assumed that connection information indicating the parent-child relationship is written. In addition, it is assumed that the router 20-4 exists in the communication area of the end device 30-1. In addition, it is assumed that the router 20-4 has not yet established a parent-child relationship with a lower-level device.

〔ルータとエンドデバイスとの間の伝送路に電波障害などが発生した場合〕
図10(a)において、ルータ20−3とエンドデバイス30−1との間の伝送路に電波障害などが発生すると、エンドデバイス30−1からのルータ20−3への接続確認要求が途絶える(図10(b))。この場合、ルータ20−3は、エンドデバイス30−1からの接続確認要求を受信することができず、その接続確認要求に対する接続確認応答を返送しない。
[When there is a radio interference in the transmission path between the router and the end device]
In FIG. 10A, when a radio wave interference or the like occurs in the transmission path between the router 20-3 and the end device 30-1, the connection confirmation request to the router 20-3 from the end device 30-1 is interrupted ( FIG. 10B). In this case, the router 20-3 cannot receive the connection confirmation request from the end device 30-1, and does not return a connection confirmation response to the connection confirmation request.

一方、エンドデバイス30−1は、ルータ20−3への接続確認要求を送信した後、ルータ20−3からの接続確認応答を待ち、ルータ20−3からの接続確認応答が途絶えたことを検出して、切断(電源オフ)、再接続(電源オン)を行い、通信圏内にあるルータ20−4と親子関係を結び、ルータ20−4を経由して通信を継続する(図10(c))。この場合、エンドデバイス30−1とルータ20−3との親子関係は解消され、エンドデバイス30−1とルータ20−3との間では親子間の通信が行われなくなる。   On the other hand, after transmitting the connection confirmation request to the router 20-3, the end device 30-1 waits for a connection confirmation response from the router 20-3, and detects that the connection confirmation response from the router 20-3 has been interrupted. Then, disconnection (power off) and reconnection (power on) are performed, a parent-child relationship is established with the router 20-4 in the communication area, and communication is continued via the router 20-4 (FIG. 10C). ). In this case, the parent-child relationship between the end device 30-1 and the router 20-3 is canceled, and communication between the parent and child is not performed between the end device 30-1 and the router 20-3.

なお、上述した実施の形態において、ルータ20やエンドデバイス30からの接続確認要求の送信は、上位のデバイスへ定期的に送る通常の送信メッセージに接続確認用の特別メッセージを追加(同一パケットでタイミングを同期して送る)してもよく、通常の送信メッセージとは別に接続確認専用の特別メッセージを定期的に送るようにしてもよい。   In the above-described embodiment, a connection confirmation request is transmitted from the router 20 or the end device 30 by adding a special message for connection confirmation to a normal transmission message that is periodically transmitted to a higher-level device (timing in the same packet). May be sent synchronously), or a special message dedicated to connection confirmation may be sent periodically separately from the normal transmission message.

本発明に係る無線通信システムの一例を示す概略図である。It is the schematic which shows an example of the radio | wireless communications system which concerns on this invention. この無線通信システムに用いるコーディネータの概略的なブロック図である。It is a schematic block diagram of the coordinator used for this radio | wireless communications system. この無線通信システムに用いるルータの概略的なブロック図である。It is a schematic block diagram of the router used for this radio | wireless communications system. この無線通信システムに用いるエンドデバイスの概略的なブロック図である。It is a schematic block diagram of the end device used for this radio | wireless communications system. ルータ間の伝送路に電波障害などが発生した場合の動作を説明する図である。It is a figure explaining operation | movement when a radio wave interference etc. generate | occur | produce in the transmission path between routers. 接続確認要求送信時のルータにおける処理動作を示すフローチャートである。It is a flowchart which shows the processing operation in the router at the time of connection confirmation request | requirement transmission. ルータ間の伝送路に発生していた電波障害などが解消した場合の動作を説明する図であるIt is a figure explaining operation when the electric wave interference etc. which have occurred on the transmission line between routers are solved コーディネータとルータとの間の伝送路に電波障害などが発生した場合の動作を説明する図である。It is a figure explaining operation | movement when a radio wave disturbance etc. generate | occur | produce in the transmission path between a coordinator and a router. 上々位のルータで迂回経路の探索を行わせるようにした例を示す図である。It is a figure which shows the example which was made to search for a detour path | route with a high-order router. ルータとエンドデバイスとの間の伝送路に電波障害などが発生した場合の動作を説明する図である。It is a figure explaining operation | movement when a radio wave disturbance etc. generate | occur | produce in the transmission path between a router and an end device. 従来のジグビーネットワークの単純な例を示す図である。It is a figure which shows the simple example of the conventional ZigBee network. このジグビーネットワークにおいてルータ間の伝送路に電波障害などが発生した場合に生じる虞れのある問題を説明する図である。It is a figure explaining the problem which may arise when a radio wave disturbance etc. generate | occur | produce in the transmission path between routers in this ZigBee network.

符号の説明Explanation of symbols

10…コーディネータ、10A…処理部、10B…ROM、10C…EEPROM、10D…RF回路、20(20−1〜20−8)…ルータ、20A…処理部、20B…ROM、20C…EEPROM、20D…RF回路、30(30−1〜30−8)…エンドデバイス、30A…処理部、30B…ROM、30C…EEPROM、30D…RF回路、T0,T1…接続情報テーブル。   DESCRIPTION OF SYMBOLS 10 ... Coordinator, 10A ... Processing part, 10B ... ROM, 10C ... EEPROM, 10D ... RF circuit, 20 (20-1 to 20-8) ... Router, 20A ... Processing part, 20B ... ROM, 20C ... EEPROM, 20D ... RF circuit, 30 (30-1 to 30-8) ... end device, 30A ... processing unit, 30B ... ROM, 30C ... EEPROM, 30D ... RF circuit, T0, T1 ... connection information table.

Claims (9)

最上位に位置する第1のデバイスと、最下位に位置し自己のメモリに自己に割り当てられたアドレスを記憶する第2のデバイスと、この第1のデバイスと第2のデバイスとの間に位置し自己のメモリに自己に割り当てられたアドレスを記憶する第3のデバイスとを少なくとも備えたツリー構造の無線通信システムにおいて、
前記第3のデバイスは、
自己と親子の接続関係を結んだ上位のデバイスとの直接接続が不能となった場合、上位および下位のデバイスとの親子の接続関係を解消することなく、他のデバイスを経由した迂回経路を通して前記上位のデバイスとの間の通信を継続する通信継続手段
を備えることを特徴とする無線通信システム。
A first device located at the top, a second device located at the bottom and storing the address assigned to it in its own memory, and located between the first device and the second device A tree-structured wireless communication system comprising at least a third device for storing an address assigned to the memory in its own memory;
The third device is:
When direct connection with a higher-level device that has a parent-child connection relationship between itself and the parent-child connection becomes impossible, the parent-child connection relationship with the upper-level and lower-level devices is not canceled, and the above-described path is bypassed via another device. A wireless communication system comprising communication continuation means for continuing communication with an upper device.
請求項1に記載された無線通信システムにおいて、
前記通信継続手段は、
自己と親子の接続関係を結んだ上位のデバイスとの直接接続が不能となった場合、他のデバイスを経由して前記第1のデバイスに中継要求を送る手段と、
前記第1のデバイスが前記中継要求に応じて探索した他のデバイスを経由した迂回経路を通して前記上位のデバイスとの間の通信を継続する手段と
を備えることを特徴とする無線通信システム。
The wireless communication system according to claim 1, wherein
The communication continuation means includes
Means for sending a relay request to the first device via another device when a direct connection with a higher-level device that has made a parent-child connection relationship becomes impossible;
A wireless communication system comprising: means for continuing communication with the higher-level device through a detour route via another device searched by the first device in response to the relay request.
請求項1に記載された無線通信システムにおいて、
前記第3のデバイスと親子の接続関係を結んだ上位のデバイスを備え、
前記第3のデバイスの通信継続手段は、
前記上位のデバイスとの直接接続が不能となった場合、前記上位のデバイスと親子の接続関係を結んでいる上々位のデバイスに他のデバイスを経由して中継要求を送る手段と、
前記上々位のデバイスが前記中継要求に応じて探索した他のデバイスを経由した迂回経路を通して前記上位のデバイスとの間の通信を継続する手段と
を備えることを特徴とする無線通信システム。
The wireless communication system according to claim 1, wherein
An upper device having a parent-child connection relationship with the third device;
The communication continuation means of the third device is
Means for sending a relay request via another device to a higher-level device that has a parent-child connection relationship with the higher-level device when direct connection with the higher-level device becomes impossible;
A wireless communication system comprising: means for continuing communication with the higher-level device through a detour route via another device searched by the upper-level device in response to the relay request.
請求項1〜3の何れか1項に記載された無線通信システムにおいて、
前記第3のデバイスは、
自己と親子の接続関係を結んだ上位のデバイスに定期的に接続確認要求を送信する手段と、
前記接続確認要求の受信に成功したことを知らせる前記上位のデバイスからの接続確認応答を受信する手段とを備え、
前記通信継続手段は、
前記上位のデバイスからの前記接続確認応答が途絶えた場合に前記上位のデバイスとの直接接続が不能となったと判断する
ことを特徴とする無線通信システム。
In the radio | wireless communications system described in any one of Claims 1-3,
The third device is:
Means for periodically sending a connection confirmation request to a higher-level device that has a connection relationship between the parent and child;
Means for receiving a connection confirmation response from the higher-level device notifying that the connection confirmation request has been successfully received;
The communication continuation means includes
A wireless communication system, wherein when the connection confirmation response from the higher-level device is interrupted, it is determined that direct connection with the higher-level device is disabled.
請求項1〜4の何れか1項に記載された無線通信システムにおいて、
前記第3のデバイスは、さらに、
自己と親子の接続関係を結んだ上位のデバイスとの直接接続が復旧した場合、前記通信継続手段による前記迂回経路を通しての前記上位のデバイスとの通信の継続を解除し、前記上位のデバイスとの直接接続による通信を再開する手段
を備えることを特徴とする無線通信システム。
In the radio | wireless communications system as described in any one of Claims 1-4,
The third device further includes:
When the direct connection with the upper device that has connected the parent and child is restored, the communication continuation means cancels the continuation of communication with the upper device through the detour path, and A wireless communication system comprising: means for resuming communication by direct connection.
自己と親子の接続関係を結んだ上位のデバイスとの直接接続が不能となった場合、上位のデバイスとの親子の接続関係を解消することなく、他のデバイスを経由した迂回経路を通して前記上位のデバイスとの間の通信を継続する通信継続手段を備えることを特徴とするデバイス。   When direct connection with a higher-level device that has a connection relationship between itself and parent and child becomes impossible, the upper-level device can be connected via a detour route via another device without canceling the parent-child connection relationship with the higher-level device. A device comprising communication continuation means for continuing communication with a device. 請求項6に記載されたデバイスにおいて、
前記通信継続手段は、
自己と親子の接続関係を結んだ上位のデバイスとの直接接続が不能となった場合、他のデバイスを経由して前記第1のデバイスに中継要求を送る手段と、
前記第1のデバイスが前記中継要求に応じて探索した他のデバイスを経由した迂回経路を通して前記上位のデバイスとの間の通信を継続する手段と
を備えることを特徴とするデバイス。
The device of claim 6, wherein
The communication continuation means includes
Means for sending a relay request to the first device via another device when a direct connection with a higher-level device that has made a parent-child connection relationship becomes impossible;
A device comprising: means for continuing communication with the host device through a detour route via another device searched by the first device in response to the relay request.
請求項6に記載されたデバイスにおいて、
前記通信継続手段は、
自己と親子の接続関係を結んだ上位のデバイスとの直接接続が不能となった場合、前記上位のデバイスと親子の接続関係を結んでいる上々位のデバイスに他のデバイスを経由して中継要求を送る手段と、
前記上々位のデバイスが前記中継要求に応じて探索した他のデバイスを経由した迂回経路を通して前記上位のデバイスとの間の通信を継続する手段と
を備えることを特徴とするデバイス。
The device of claim 6, wherein
The communication continuation means includes
When a direct connection with a higher-level device that has a parent-child connection relationship between itself and the parent-child becomes impossible, a relay request is made to the upper-level device that has a parent-child connection relationship with the higher-level device via another device. Means for sending
And a means for continuing communication with the higher-level device through a detour route via another device searched by the upper-level device in response to the relay request.
最上位に位置する第1のデバイスと、最下位に位置し自己のメモリに自己に割り当てられたアドレスを記憶する第2のデバイスとを少なくとも備えたツリー構造の無線通信システムにおいて、
前記第2のデバイスは、
自己と親子の接続関係を結んだ上位のデバイスとの直接接続が不能となった場合、上位のデバイスとの親子の接続関係を解消することなく、他のデバイスを経由した迂回経路を通して前記上位のデバイスとの間の通信を継続する通信継続手段
を備えることを特徴とする無線通信システム。
In a tree-structured wireless communication system comprising at least a first device located at the highest level and a second device located at the lowest level and storing a self-assigned address in its own memory,
The second device is:
When direct connection with a higher-level device that has a connection relationship between itself and parent and child becomes impossible, the upper-level device can be connected via a detour route via another device without canceling the parent-child connection relationship with the higher-level device. A wireless communication system comprising communication continuation means for continuing communication with a device.
JP2006333258A 2006-12-11 2006-12-11 Wireless communication system Active JP4851311B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006333258A JP4851311B2 (en) 2006-12-11 2006-12-11 Wireless communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006333258A JP4851311B2 (en) 2006-12-11 2006-12-11 Wireless communication system

Publications (2)

Publication Number Publication Date
JP2008148032A true JP2008148032A (en) 2008-06-26
JP4851311B2 JP4851311B2 (en) 2012-01-11

Family

ID=39607711

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006333258A Active JP4851311B2 (en) 2006-12-11 2006-12-11 Wireless communication system

Country Status (1)

Country Link
JP (1) JP4851311B2 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011122939A (en) * 2009-12-10 2011-06-23 Kagoshima Univ Wireless sensor node and overhead wire monitoring system
US8094577B2 (en) 2008-07-14 2012-01-10 Electronics And Telecommunications Research Institute Apparatus and method for transceiving data using relay device in wireless communication system of centralized MAC
US8638691B2 (en) 2009-03-25 2014-01-28 Azbil Corporation Wireless communication system and parent node search method
US8958288B2 (en) 2008-07-14 2015-02-17 Electronics And Telecommunications Research Institute Method and apparatus for setting detour path in wideband high frequency wireless system using centralized MAC protocol
WO2015099142A1 (en) * 2013-12-26 2015-07-02 株式会社 東芝 Radio communication apparatus, radio communication system, and radio communication method
JP7407695B2 (en) 2020-12-21 2024-01-04 三菱電機株式会社 sensor network system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007535203A (en) * 2003-07-17 2007-11-29 センシキャスト・システムズ・インコーポレーテッド Wireless communication method and apparatus in mesh network

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007535203A (en) * 2003-07-17 2007-11-29 センシキャスト・システムズ・インコーポレーテッド Wireless communication method and apparatus in mesh network

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8094577B2 (en) 2008-07-14 2012-01-10 Electronics And Telecommunications Research Institute Apparatus and method for transceiving data using relay device in wireless communication system of centralized MAC
US8958288B2 (en) 2008-07-14 2015-02-17 Electronics And Telecommunications Research Institute Method and apparatus for setting detour path in wideband high frequency wireless system using centralized MAC protocol
US9900243B2 (en) 2008-07-14 2018-02-20 Electronics And Telecommunications Research Institute Method and apparatus for setting detour path in wideband high frequency wireless system using centralized MAC protocol
US10382318B2 (en) 2008-07-14 2019-08-13 Electronics And Telecommunications Research Institute Method and apparatus for setting detour path in wideband high frequency wireless system using centralized mac protocol
US10979344B2 (en) 2008-07-14 2021-04-13 Electronics And Telecommunications Research Institute Method and apparatus for setting detour path in wideband high frequency wireless system using centralized MAC protocol
US8638691B2 (en) 2009-03-25 2014-01-28 Azbil Corporation Wireless communication system and parent node search method
JP2011122939A (en) * 2009-12-10 2011-06-23 Kagoshima Univ Wireless sensor node and overhead wire monitoring system
WO2015099142A1 (en) * 2013-12-26 2015-07-02 株式会社 東芝 Radio communication apparatus, radio communication system, and radio communication method
JP2015126435A (en) * 2013-12-26 2015-07-06 株式会社東芝 Radio communication device, radio communication system, and radio communication method
JP7407695B2 (en) 2020-12-21 2024-01-04 三菱電機株式会社 sensor network system

Also Published As

Publication number Publication date
JP4851311B2 (en) 2012-01-11

Similar Documents

Publication Publication Date Title
KR100889881B1 (en) Apparatus and method for neighbor cache table synchronization
CA2564057C (en) Method of switching between network connection devices using redundancy protocol and pseudo redundant configuration setting means and network system
JP5365211B2 (en) Packet transfer system, packet transfer device, proxy device, program, and packet transfer device control method
JP4851311B2 (en) Wireless communication system
US20080225699A1 (en) Router and method of supporting nonstop packet forwarding on system redundant network
US20050007951A1 (en) Routed split multilink trunking
CA2427285A1 (en) Method and system for implementing ospf redundancy
CN100492984C (en) Method for realizing data transfer backup through address interpretation protocol messages
KR100425560B1 (en) Lan path control system and method capable of easy changing active port of terminal
JP6060688B2 (en) Transfer device, communication system, and roundabout path detection method
JP5080072B2 (en) Wireless communication system and device
TWI689185B (en) Communication system, communication device and program
JP2008148029A (en) Radio communication system and device
JPH0998180A (en) Fault avoid control method for ring network system
CN104717089A (en) Equipment switching method and routing bridge equipment and system
JP4933238B2 (en) Wireless communication system and device
JP3570996B2 (en) Network relay device and network management system
JP6446891B2 (en) COMMUNICATION CONTROL DEVICE, COMMUNICATION CONTROL METHOD, AND COMMUNICATION CONTROL PROGRAM
JP2006310903A (en) Line switching control method in redundant system
JP4913572B2 (en) Wireless communication system and device
JP2001168899A (en) Network system
JP2008219400A (en) Repeater and packet relaying method
JP3895749B2 (en) Network connection method, virtual network connection device, and network connection system using the device
JP2006005611A (en) Non-interrupt switching device in stp
JP2011101281A (en) Radio communication system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20091130

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110802

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110929

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

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

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 4851311

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20141028

Year of fee payment: 3