JP2008148027A - Radio communication system and device - Google Patents

Radio communication system and device Download PDF

Info

Publication number
JP2008148027A
JP2008148027A JP2006333242A JP2006333242A JP2008148027A JP 2008148027 A JP2008148027 A JP 2008148027A JP 2006333242 A JP2006333242 A JP 2006333242A JP 2006333242 A JP2006333242 A JP 2006333242A JP 2008148027 A JP2008148027 A JP 2008148027A
Authority
JP
Japan
Prior art keywords
router
connection
parent
child
relationship
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
JP2006333242A
Other languages
Japanese (ja)
Other versions
JP5080072B2 (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 JP2006333242A priority Critical patent/JP5080072B2/en
Publication of JP2008148027A publication Critical patent/JP2008148027A/en
Application granted granted Critical
Publication of JP5080072B2 publication Critical patent/JP5080072B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To prevent the number of slave nodes connectable to a master node from being reduced. <P>SOLUTION: An end device 30-1 sends a connection confirmation request regularly to a host router 20-3 establishing a parent-child relationship. The router 20-3 sends back a connection confirmation response to the end device 30-1 each time when the connection confirmation request from the end device 30-1 is received. When the end device 30-1 is separated from the router 20-3 and does not exist because of failure, or the like, the connection confirmation request to the router 20-3 from the end device 30-1 stops. The router 20-3 deletes connection information indicating the parent-child relationship to the end device 30-1 in a connection information table T1 when the connection confirmation request from the end device 30-1 stops. <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.

図12にジグビーネットワークの単純な例を示す。同図において、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. 12 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(親ノード)へ切断(電源オフ)の通知を送り、ルータ2−3における接続情報テーブルT1からエンドデバイス3−1との親子関係を示す接続情報を消去する。   In this ZigBee network, for example, when the end device 3-1 is disconnected from the router 2-3, a notification of disconnection (power off) is sent from the end device 3-1 (child node) to the router 2-3 (parent node) The connection information indicating the parent-child relationship with the end device 3-1 is deleted from the connection information table T1 in the router 2-3.

また、このジグビーネットワークでは、例えばエンドデバイス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へ送られるものとなる。   Further, in this ZigBee network, for example, when a radio wave failure 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) cannot be received by the router 2-3. In this case, the end device 3-1 performs disconnection (power off) and reconnection (power on). This disconnection and reconnection may be reset by software. 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.

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

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

〔ケース1〕
しかしながら、上述したジグビーネットワークでは、親ノードから子ノードを切り離す際に、子ノードからの切断の通知が親ノードに届かなかった場合、親ノードに子ノードとの接続情報が残ったままとなる。また、子ノードが故障などにより存在しなくなった場合、親ノードに切断の通知が届かないために、親ノードに子ノードとの接続情報が残ったままとなる。これにより、親ノードに接続可能な子ノードの数が減少し、このようなことが繰り返されると、何れはその親ノードに接続可能な子ノードの数が0になってしまう。
[Case 1]
However, in the above-described ZigBee network, when disconnection notification from the child node does not reach the parent node when the child node is disconnected from the parent node, connection information with the child node remains in the parent node. Also, when the child node does not exist due to a failure or the like, the disconnection notification does not reach the parent node, so that the connection information with the child node remains in the parent node. As a result, the number of child nodes that can be connected to the parent node decreases, and if this is repeated, the number of child nodes that can be connected to the parent node eventually becomes zero.

例えば、今、図13(a)に示すように、ルータ2−3とエンドデバイス3−1との間に親子関係が結ばれており、ルータ2−3の接続情報テーブルT1にエンドデバイス3−1との親子関係を示す接続情報が書き込まれているものとする。ここで、ルータ2−3からのエンドデバイス3−1からの切り離しに際し、エンドデバイス3−1からの切断の通知がルータ2−3へ届かないと(図13(b))、ルータ2−3の接続情報テーブルT1にエンドデバイス3−1との親子関係を示す接続情報が残されてしまう。これにより、ルータ2−3に接続可能なデバイス数が減少し、このようなことが繰り返されると、何れはルータ2−3に接続可能なデバイス数が0になってしまう。このような問題は、ルータ2−1とルータ2−3との間やコーディネータ1とルータ2−1との間などでも同様にして生じる。   For example, as shown in FIG. 13A, a parent-child relationship is established between the router 2-3 and the end device 3-1, and the end device 3- is stored in the connection information table T1 of the router 2-3. It is assumed that connection information indicating a parent-child relationship with 1 is written. Here, when disconnecting from the end device 3-1 from the router 2-3, if the disconnection notification from the end device 3-1 does not reach the router 2-3 (FIG. 13B), the router 2-3 Connection information indicating the parent-child relationship with the end device 3-1 is left in the connection information table T 1. As a result, the number of devices connectable to the router 2-3 decreases, and if this is repeated, the number of devices connectable to the router 2-3 eventually becomes zero. Such a problem similarly occurs between the router 2-1 and the router 2-3 or between the coordinator 1 and the router 2-1.

〔ケース2〕
また、上述したジグビーネットワークでは、親ノードと子ノードとの間の伝送路に電波障害などが発生した場合、他のノードを経由して子ノードからの情報が継続して最上位のノードへ送られるが、親ノードに子ノードとの接続情報が残ったままとなる。これにより、親ノードに接続可能な子ノードの数が減少し、このようなことが繰り返されると、何れはその親ノードに接続可能な子ノードの数が0になってしまう。
[Case 2]
In addition, in the ZigBee network described above, when a radio wave interference or the like occurs in the transmission path between the parent node and the child node, information from the child node continues to be sent to the highest node via other nodes. However, the connection information with the child node remains in the parent node. As a result, the number of child nodes that can be connected to the parent node decreases, and if this is repeated, the number of child nodes that can be connected to the parent node eventually becomes zero.

例えば、今、図14(a)に示すように、ルータ2−3とエンドデバイス3−1との間に親子関係が結ばれており、ルータ2−3の接続情報テーブルT1にエンドデバイス3−1との親子関係を示す接続情報が書き込まれているものとする。また、ルータ2−4は、下位のデバイスとの親子関係を未だ結んでおらず、エンドデバイス3−1の通信圏内にあるものとする。このような状態で、ルータ2−3とエンドデバイス3−1との間の伝送路に電波障害などが発生すると(図14(b))、エンドデバイス3−1は、切断(電源オフ)、再接続(電源オン)を行う(図14(c))。   For example, as shown in FIG. 14A, a parent-child relationship is established between the router 2-3 and the end device 3-1, and the end device 3- is stored in the connection information table T1 of the router 2-3. It is assumed that connection information indicating a parent-child relationship with 1 is written. Further, it is assumed that the router 2-4 does not yet have a parent-child relationship with a lower-level device and is within the communication range of the end device 3-1. In this state, when a radio wave interference or the like occurs in the transmission path between the router 2-3 and the end device 3-1 (FIG. 14B), the end device 3-1 is disconnected (power off), Reconnection (power on) is performed (FIG. 14C).

これにより、エンドデバイス3−1とルータ2−4との間で親子関係が結ばれ、エンドデバイス3−1にアドレスAD6が割り当てられ、ルータ2−4を経由して、エンドデバイス3−1からの情報が継続してコーディネータ1へ送られるものとなる。この場合、ルータ2−3には、エンドデバイス3−1からの切断の通知が届かないので、ルータ2−3の接続情報テーブルT1にエンドデバイス3−1との親子関係を示す接続情報が残されてしまう。これにより、ルータ2−3に接続可能なデバイス数が減少し、このようなことが繰り返されると、何れはルータ2−3に接続可能なデバイス数が0になってしまう。このような問題は、ルータ2−1とルータ2−3との間やコーディネータ1とルータ2−1との間などでも同様にして生じる。   As a result, a parent-child relationship is established between the end device 3-1 and the router 2-4, the address AD6 is assigned to the end device 3-1, and the end device 3-1 passes through the router 2-4. Is continuously sent to the coordinator 1. In this case, since the disconnection notification from the end device 3-1 does not reach the router 2-3, connection information indicating the parent-child relationship with the end device 3-1 remains in the connection information table T1 of the router 2-3. Will be. As a result, the number of devices connectable to the router 2-3 decreases, and if this is repeated, the number of devices connectable to the router 2-3 eventually becomes zero. Such a problem similarly occurs between the router 2-1 and the router 2-3 or between the coordinator 1 and the router 2-1.

〔ケース3〕
また、上述したジグビーネットワークでは、親ノードと子ノードとの間の伝送路に電波障害などが発生した場合、他のノードを経由して、すなわち迂回経路を経由して、子ノードからの情報が継続してコーディネータへ送られるが、子ノードにその子ノード自身を親ノードとして別の下位のノードが接続されているような場合、この子ノードに接続されている下位のノードが連鎖的に切断されてしまうという問題が発生する。
[Case 3]
In addition, in the ZigBee network described above, when a radio wave interference or the like occurs in the transmission path between the parent node and the child node, information from the child node is transmitted via another node, that is, via a detour path. It is sent to the coordinator continuously, but if another child node is connected to the child node with the child node itself as the parent node, the child node connected to this child node is chained off. The problem of end up occurs.

例えば、図15(a)に示すように、ルータ2−1とルータ2−3および2−4との間に親子関係が結ばれており、ルータ2−3とエンドデバイス3−1および3−2との間に親子関係が結ばれているものとする。また、ルータ2−4は、下位のデバイスとの親子関係を未だ結んでおらず、ルータ2−3の通信圏内にあるものとする。このような状態で、ルータ2−1とルータ2−3との間の伝送路に電波障害などが発生すると(図15(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. 15A, 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 and 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. 15B), 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).

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

このような目的を達成するために、第1発明(請求項1に係る発明)は、最上位に位置する第1のデバイスと、最下位に位置し自己のメモリに自己に割り当てられたアドレスを記憶する第2のデバイスを少なくとも備えたツリー構造の無線通信システムにおいて、第1のデバイスに、自己と親子の接続関係を結んだ下位のデバイスとそのデバイスに割り当てたアドレスとの関係を示す接続情報をメモリに保存する手段と、自己と親子の接続関係を結んだ下位のデバイスから定期的に送られてくる接続確認要求が途絶えた場合、メモリに保存されているそのデバイスとそのデバイスに割り当てたアドレスとの関係を示す接続情報を削除する手段とを設けたものである。   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. In a tree-structured wireless communication system including at least a second device to be stored, connection information indicating a relationship between a lower device that has a self-parent-child connection relationship with the first device and an address assigned to the device. If the connection confirmation request sent periodically from the lower-level device that has a connection relationship between itself and the parent and child stops, the device stored in the memory and the device assigned to that device Means for deleting connection information indicating a relationship with an address is provided.

この第1発明によれば、例えば、第1のデバイスをコーディネータ、第2のデバイスをエンドデバイスとするツリー構造の無線通信システムとし、コーディネータとエンドデバイス(下位のデバイス)との間で親子の接続関係を結んでいるものとすると、コーディネータのメモリには、エンドデバイスとそのエンドデバイスに割り当てたアドレスとの関係を示す接続情報(エンドデバイスとの親子関係を示す接続情報)が保存される。また、エンドデバイスからは、コーディネータに定期的に接続確認要求が送られる。
この場合、コーディネータは、エンドデバイスから定期的に送られてくる接続確認要求が途絶えると、メモリに保存されているそのエンドデバイスとの親子関係を示す接続情報を削除する。したがって、エンドデバイスが切り離されたり、エンドデバイスが故障したり、エンドデバイスとの間の伝送路に電波障害が生じるなどした場合に、エンドデバイスからの切断の通知がコーディネータに届かなくても、そのエンドデバイスとの親子関係を示す接続情報がコーディネータに残されることはない。
According to the first aspect of the present invention, for example, a wireless communication system having a tree structure in which the first device is a coordinator and the second device is an end device, and the parent and child are connected between the coordinator and the end device (lower device). Assuming that the relationship is established, the coordinator's memory stores connection information indicating the relationship between the end device and the address assigned to the end device (connection information indicating the parent-child relationship with the end device). Further, a connection confirmation request is periodically sent from the end device to the coordinator.
In this case, when the connection confirmation request periodically sent from the end device is interrupted, the coordinator deletes the connection information indicating the parent-child relationship with the end device stored in the memory. Therefore, even if the end device is disconnected, the end device fails, or the transmission path to the end device has a radio interference, the disconnection notification from the end device does not reach the coordinator. Connection information indicating the parent-child relationship with the end device is not left in the coordinator.

第2発明(請求項1に係る発明)は、最上位に位置する第1のデバイスと、最下位に位置し自己のメモリに自己に割り当てられたアドレスを記憶する第2のデバイスと、この第1のデバイスと第2のデバイスとの間に位置し自己のメモリに自己に割り当てられたアドレスを記憶する第3のデバイスとを少なくとも備えたツリー構造の無線通信システムにおいて、第3のデバイスに、自己と親子の接続関係を結んだ下位のデバイスとそのデバイスに割り当てたアドレスとの関係を示す接続情報をメモリに保存する手段と、自己と親子の接続関係を結んだ下位のデバイスから定期的に送られてくる接続確認要求が途絶えた場合、メモリに保存されているそのデバイスとそのデバイスに割り当てたアドレスとの関係を示す接続情報を削除する手段とを設けたものである。   The second invention (the invention according to claim 1) is the first device located at the highest level, the second device located at the lowest level and storing the address assigned to itself in its own memory, In a tree-structured wireless communication system comprising at least a third device that is located between one device and a second device and that stores a self-assigned address in its own memory, the third device includes: A means for storing connection information indicating the relationship between a lower-level device that has a self-parent-child connection relationship and an address assigned to the device, and a lower-order device that has a self-parent-child connection relationship periodically. Means for deleting connection information indicating the relationship between the device stored in the memory and the address assigned to the device when the connection confirmation request sent is interrupted; It is those provided.

この第2発明によれば、例えば、第1のデバイスをコーディネータ、第2のデバイスをエンドデバイス、第3のデバイスをルータとするツリー構造の無線通信システムとし、ルータとエンドデバイス(下位のデバイス)との間で親子の接続関係を結んでいるものとすると、ルータのメモリには、エンドデバイスとそのエンドデバイスに割り当てたアドレスとの関係を示す接続情報(エンドデバイスとの親子関係を示す接続情報)が保存される。また、エンドデバイスからは、ルータに定期的に接続確認要求が送られる。
この場合、ルータは、エンドデバイスから定期的に送られてくる接続確認要求が途絶えると、メモリに保存されているそのエンドデバイスとの親子関係を示す接続情報を削除する。したがって、エンドデバイスが切り離されたり、エンドデバイスが故障したり、エンドデバイスとの間の伝送路に電波障害が生じるなどした場合に、エンドデバイスからの切断の通知がルータに届かなくても、そのエンドデバイスとの親子関係を示す接続情報がルータに残されることはない。
According to the second invention, for example, a wireless communication system having a tree structure in which a first device is a coordinator, a second device is an end device, and a third device is a router, and the router and the end device (lower device) If there is a parent-child connection relationship between the end device and the router, the router memory has connection information indicating the relationship between the end device and the address assigned to the end device (connection information indicating the parent-child relationship with the end device). ) Is saved. Further, the end device periodically sends a connection confirmation request to the router.
In this case, when the connection confirmation request periodically sent from the end device is interrupted, the router deletes the connection information indicating the parent-child relationship with the end device stored in the memory. Therefore, if the end device is disconnected, the end device fails, or there is a radio interference in the transmission path to the end device, the disconnection notification from the end device does not reach the router. Connection information indicating the parent-child relationship with the end device is not left in the router.

この第2発明において、ルータと親子の接続関係を結ぶ下位のデバイスは、そのルータの下位に位置する別のルータであってもよい。ここで、親ノードとなるルータを上位のルータ、子ノードとなるルータを下位のルータとすると、上位のルータのメモリには、下位のルータとの親子関係を示す接続情報が保存される。また、下位のルータからは、上位のルータに定期的に接続確認要求が送られる。
この場合、上位のルータは、下位のルータから定期的に送られてくる接続確認要求が途絶えると、メモリに保存されているその下位のルータとの親子関係を示す接続情報を削除する。したがって、下位のルータが切り離されたり、下位のルータが故障したり、下位のルータとの間の伝送路に電波障害などが発生したりした場合に、下位のルータからの切断の通知が上位のルータに届かなくても、その下位のルータとの親子関係を示す接続情報が上位のルータに残されることはない。
In this second invention, the lower-level device that connects the connection relationship between the router and the parent and child may be another router located under the router. Here, assuming that a router serving as a parent node is an upper router and a router serving as a child node is a lower router, connection information indicating a parent-child relationship with the lower router is stored in the memory of the upper router. Further, a connection confirmation request is periodically sent from the lower router to the upper router.
In this case, when the connection confirmation request periodically sent from the lower router stops, the upper router deletes the connection information indicating the parent-child relationship with the lower router stored in the memory. Therefore, when a lower router is disconnected, a lower router fails, or a radio wave failure occurs on the transmission path to the lower router, a disconnect notification from the lower router is sent to the upper router. Even if it does not reach the router, connection information indicating the parent-child relationship with the lower router is not left in the upper router.

第3発明(請求項3に係る発明)は、第2発明において、第3のデバイスに、自己と親子の接続関係を結んだ上位のデバイスに定期的に接続確認要求を送信する手段と、接続確認要求の受信に成功したことを知らせる上位のデバイスからの接続確認応答が途絶えた場合、下位のデバイスとの親子の接続関係を解消することなく、他のデバイスを経由した迂回経路を通して通信を継続する手段とを設けたものである。
この第3発明によれば、例えば、第1のデバイスをコーディネータ、第2のデバイスをエンドデバイス、第3のデバイスをルータとするツリー構造の無線通信システムとし、例えばルータ間で親子の接続関係を結んでおり、親ノードとなるルータを上位のルータ、子ノードとなるルータを下位のルータとすると、下位のルータから上位のルータへ定期的に接続確認要求が送られる。また、下位のルータからの接続確認要求の受信に成功する毎に、上位のルータから下位のルータへ接続確認応答が送られる。
ここで、下位のルータは、上位のルータとの間の伝送路に電波障害などが生じるなどして、上位のルータからの接続確認応答が途絶えると、下位のデバイスとの親子の接続関係を解消することなく、他のデバイスを経由した迂回経路を通して通信を継続する。この場合、下位のルータは、下位のデバイスとの親子の接続関係を解消しないので、下位のルータに接続されているルータやエンドデバイスが連鎖的に切断されてしまうことはない。なお、この場合の上位のデバイスは、コーディネータである場合も考えられる。
According to a third invention (invention according to claim 3), in the second invention, means for periodically transmitting a connection confirmation request to a higher-order device that has a parent-child connection relationship with the third device; If the connection confirmation response from the higher-level device that indicates that the confirmation request has been successfully received is interrupted, communication continues through the detour route via the other device without canceling the parent-child connection relationship with the lower-level device. Is provided.
According to the third invention, for example, a wireless communication system having a tree structure in which a first device is a coordinator, a second device is an end device, and a third device is a router. Assuming that the router as a parent node is an upper router and the router as a child node is a lower router, a connection confirmation request is periodically sent from the lower router to the upper router. Each time a connection confirmation request is successfully received from a lower router, a connection confirmation response is sent from the upper router to the lower router.
Here, the lower-level router cancels the parent-child connection relationship with the lower-level device when the connection confirmation response from the higher-level router is interrupted due to radio interference or the like in the transmission path with the upper-level router. Without continuing, communication is continued through a detour route via another device. 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. Note that the upper device in this case may be a coordinator.

なお、本発明は、無線通信システムとしてではなく、デバイス単体としても構成することができる。この場合、デバイスに、自己と親子の接続関係を結んだ下位のデバイスとそのデバイスに割り当てたアドレスとの関係を示す接続情報をメモリに保存する手段と、自己と親子の接続関係を結んだ下位のデバイスから定期的に送られてくる接続確認要求が途絶えた場合、メモリに保存されているそのデバイスとそのデバイスに割り当てたアドレスとの関係を示す接続情報を削除する手段とを設ける(第4発明((請求項4に係る発明)))。このデバイスは、ルータとして用いてもよいし、コーディネータとして用いてもよい。   Note that the present invention can be configured not as a wireless communication system but as a single device. In this case, the device stores in the memory connection information indicating the relationship between the lower-level device that has a self-parent-child connection relationship and the address assigned to the device, and the lower-level device that has the self-parent-child connection relationship. Means for deleting connection information indicating the relationship between the device stored in the memory and the address assigned to the device when the connection confirmation request periodically sent from the device is interrupted (fourth) Invention ((Invention according to Claim 4))). This device may be used as a router or a coordinator.

また、第4発明のデバイスに、さらに、自己と親子の接続関係を結んだ上位のデバイスに定期的に接続確認要求を送信する手段と、接続確認要求の受信に成功したことを知らせる上位のデバイスからの接続確認応答が途絶えた場合、下位のデバイスとの親子の接続関係を解消することなく、他のデバイスを経由した迂回経路を通して通信を継続する手段とを設けるようにしてもよい(第5発明(請求項5に係る発明))。このデバイスを用いると、上位のデバイスとの間の伝送路に電波障害などが生じた場合の迂回経路を通しての通信の継続に際し、自己に接続される下位のデバイスが連鎖的に切断されるということを防ぐことができる。   In addition, the device of the fourth invention further includes means for periodically transmitting a connection confirmation request to a higher-order device that has a parent-child connection relationship, and a higher-order device notifying that the connection confirmation request has been successfully received. When the connection confirmation response from the device is interrupted, there may be provided means for continuing communication through the detour route via another device without canceling the parent-child connection relationship with the lower device (fifth) Invention (Invention According to Claim 5)). If this device is used, the lower device connected to itself will be disconnected in a chained manner when communication is continued through the detour route in the event of a radio disturbance in the transmission path with the upper device. Can be prevented.

第1発明によれば、最上位の第1のデバイスに、自己と親子の接続関係を結んだ下位のデバイスから定期的に送られてくる接続確認要求が途絶えた場合、メモリに保存されているそのデバイスとそのデバイスに割り当てたアドレスとの関係を示す接続情報を削除する手段を設けたので、下位のデバイスが切り離されたり、下位のデバイスが故障したり、下位のデバイスとの間の伝送路に電波障害などが発生したりした場合に、下位のデバイスからの切断の通知が届かなくても、その下位のデバイスとの親子関係を示す接続情報が第3のデバイスに残されることがなく、第1のデバイス(親ノード)に接続可能な下位のデバイス(子ノード)の数を低減させないようにすることができる。   According to the first aspect of the present invention, when a connection confirmation request periodically sent from a lower-level device having a connection relationship between itself and a parent-child is cut off to the uppermost first device, it is stored in the memory. Since the means for deleting the connection information indicating the relationship between the device and the address assigned to the device is provided, the lower device is disconnected, the lower device fails, or the transmission path between the lower device If there is a radio interference in the device, the connection information indicating the parent-child relationship with the lower device is not left in the third device even if the disconnection notification from the lower device does not arrive. The number of lower-level devices (child nodes) connectable to the first device (parent node) can be prevented from being reduced.

第2発明によれば、第1のデバイスと第2のデバイスとの間に位置する第3のデバイスに、自己と親子の接続関係を結んだ下位のデバイスから定期的に送られてくる接続確認要求が途絶えた場合、メモリに保存されているそのデバイスとそのデバイスに割り当てたアドレスとの関係を示す接続情報を削除する手段を設けたので、下位のデバイスが切り離されたり、下位のデバイスが故障したり、下位のデバイスとの間の伝送路に電波障害などが発生したりした場合に、下位のデバイスからの切断の通知が届かなくても、その下位のデバイスとの親子関係を示す接続情報が第3のデバイスに残されることがなく、第3のデバイス(親ノード)に接続可能な下位のデバイス(子ノード)の数を低減させないようにすることができる。   According to the second aspect of the invention, the connection confirmation periodically sent from the lower device that has connected the parent and child to the third device located between the first device and the second device. When the request is interrupted, there is a means to delete the connection information indicating the relationship between the device stored in the memory and the address assigned to the device, so the lower device is disconnected or the lower device fails. Connection information that indicates the parent-child relationship with a lower-level device even if a disconnection notification is not received from the lower-level device when there is a radio wave interference or other problem on the transmission path to the lower-level device Is not left in the third device, and the number of lower-level devices (child nodes) that can be connected to the third device (parent node) can be prevented from being reduced.

第3発明によれば、第2発明において、第3のデバイスに、自己と親子の接続関係を結んだ上位のデバイスに定期的に接続確認要求を送信する手段と、接続確認要求の受信に成功したことを知らせる上位のデバイスからの接続確認応答が途絶えた場合、下位のデバイスとの親子の接続関係を解消することなく、他のデバイスを経由した迂回経路を通して通信を継続する手段とを設けたので、第3のデバイス(子ノード)と上位のデバイス(親ノード)との間の伝送路に電波障害などが生じた場合の迂回経路の形成に際し、子ノードに自己に割り当てられているアドレスや下位のデバイスとの親子関係を示す接続情報の記憶を保持させるようにして、子ノードに接続されている下位のノードが連鎖的に切断されてしまうことがないようにすることができる。   According to the third invention, in the second invention, means for periodically sending a connection confirmation request to a higher-level device that has a parent-child connection relationship with the third device, and successfully receiving the connection confirmation request In the event that the connection confirmation response from the higher-level device that informs you is lost, there is a means to continue communication through the detour route via other devices without canceling the parent-child connection relationship with the lower-level device. Therefore, when a detour path is formed when a radio wave failure occurs in the transmission path between the third device (child node) and the upper device (parent node), an address assigned to the child node or By storing the connection information indicating the parent-child relationship with the lower-level device, the lower-level nodes connected to the child node will not be disconnected in a chain. Can.

第4発明によれば、デバイスに、自己と親子の接続関係を結んだ下位のデバイスから定期的に送られてくる接続確認要求が途絶えた場合、メモリに保存されているそのデバイスとそのデバイスに割り当てたアドレスとの関係を示す接続情報を削除する手段を設けたので、このデバイスをコーディネータやルータとして用いることにより、第1発明と同様の効果を奏する。
第5発明によれば、第4発明のデバイスに、自己と親子の接続関係を結んだ上位のデバイスに定期的に接続確認要求を送信する手段と、接続確認要求の受信に成功したことを知らせる上位のデバイスからの接続確認応答が途絶えた場合、下位のデバイスとの親子の接続関係を解消することなく、他のデバイスを経由した迂回経路を通して通信を継続する手段とを設けたので、このデバイスをルータとして用いることにより、第3発明と同様の効果を奏する。
According to the fourth aspect of the present invention, when a connection confirmation request periodically sent from a lower-level device having a self-parent-child connection relationship to the device stops, the device stored in the memory and the device Since the means for deleting the connection information indicating the relationship with the assigned address is provided, using this device as a coordinator or router provides the same effect as the first invention.
According to the fifth invention, the device of the fourth invention is informed of means for periodically sending a connection confirmation request to a higher-level device that has established a parent-child connection relationship, and that the connection confirmation request has been successfully received. When the connection confirmation response from the upper device is interrupted, there is a means to continue communication through the detour route via other devices without canceling the parent-child connection relationship with the lower device. By using as a router, the same effects as in the third invention can be obtained.

以下、本発明を図面に基づいて詳細に説明する。
図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.

この無線通信システムにおいても、図12に示したジグビーネットワークと同様に、コーディネータ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. 12, 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は、下位のデバイスから定期的に送られてくる接続確認要求を受信する毎に、その接続確認要求の受信に成功したことを知らせる接続確認応答を返送する接続確認応答返送機能と、下位のデバイスから定期的に送られてくる接続確認要求が途絶えた場合、そのデバイスの識別番号とそのデバイスに割り当てたアドレスとの対応関係を接続情報テーブル(T0,T1)から削除する接続情報削除機能を有している。   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. When the return function and the connection confirmation request periodically sent from the lower device are interrupted, the correspondence between the identification number of the device and the address assigned to the device is deleted from the connection information table (T0, T1). Connection information deletion function.

また、ルータ20は、上位のデバイスからの接続確認応答が途絶えた場合、自己の電源を遮断することなく、通信圏内の他のルータ20へ中継要求を送り、この中継要求によって探索される迂回経路を通して通信を継続する迂回経路通信継続機能を有している。また、エンドデバイス30は、上位のデバイスからの接続確認応答が途絶えた場合、切断(電源オフ)、再接続(電源オン)を行う切断再接続機能を有している。また、コーディネータ10は、ルータ20から送られてくる中継要求を受信し、その中継要求を発信したルータ20までの最短経路を迂回経路として探索し、その迂回経路に位置するルータ20に対して中継要求を発信したルータ20からの通信を中継するように命ずる迂回経路探索中継機能を有している。   Further, when the connection confirmation response from the higher-level device is interrupted, the router 20 sends a relay request to another router 20 within the communication area without shutting down its own power supply, and the detour route searched by this relay request It has a detour route communication continuation function for continuing communication through. 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. Further, the coordinator 10 receives the relay request sent from the router 20, searches for the shortest route to the router 20 that has transmitted the relay request as a bypass route, and relays to the router 20 located on the bypass route. It has a detour route search relay function that orders to relay communication from the router 20 that has sent the 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) as basic functions in addition to the above-described connection confirmation response return function, connection information deletion function, and detour route search relay function. Function). 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 a parent node function, a communication function (inter-node communication function, inter-node communication function, in addition to the above-described connection confirmation request transmission function, connection confirmation response return function, connection information deletion function, and detour path communication continuation function. Communication 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.

〔エンドデバイスとルータとの間の接続確認〕
エンドデバイス30は、親子関係を結んでいる上位のルータ20に対し、接続確認要求を定期的に送信する。例えば、図1に示したエンドデバイス30−1とルータ20−3との間で説明すると、エンドデバイス30−1からルータ20−3へ接続確認要求が定期的に送られる(図5(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. 5A). 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としか親子関係を結んでおらず、その接続情報テーブルT1にはエンドデバイス30−1との親子関係を示す接続情報しか書き込まれていないものとする。   In FIG. 5A, the router 20-3 has a parent-child relationship only with the end device 30-1, and the connection information table T1 indicates connection information indicating the parent-child relationship with the end device 30-1. It is only written.

〔ルータからのエンドデバイスの切り離し、エンドデバイスの故障〕
図5(a)において、ルータ20−3からエンドデバイス30−1が切り離されると、或いはエンドデバイス30−1が故障などにより存在しなくなると、エンドデバイス30−1からのルータ20−3への接続確認要求が途絶える(図5(b))。この場合、ルータ20−3は、エンドデバイス30−1からの接続確認要求が途絶えたことを検出して、接続情報テーブルT1に書き込まれているエンドデバイス30−1との親子関係を示す接続情報を削除する(図5(c))。
[End device disconnection from router, end device failure]
In FIG. 5A, when the end device 30-1 is disconnected from the router 20-3, or when the end device 30-1 does not exist due to a failure or the like, the end device 30-1 transfers to the router 20-3. The connection confirmation request is interrupted (FIG. 5B). In this case, the router 20-3 detects that the connection confirmation request from the end device 30-1 has been interrupted, and the connection information indicating the parent-child relationship with the end device 30-1 written in the connection information table T1. Is deleted (FIG. 5C).

図6にこの場合のルータ20−3における処理動作を示す。ルータ20−3は、エンドデバイス30−1から送られてくる接続確認要求を待ち(ステップ101)、接続確認要求を受信すると(ステップ102のYES)、ソフトタイマTMのリセットを行うとともに(ステップ103)、接続確認応答をエンドデバイス30−1に返送する(ステップ104)。   FIG. 6 shows the processing operation in the router 20-3 in this case. The router 20-3 waits for a connection confirmation request sent from the end device 30-1 (step 101). When receiving the connection confirmation request (YES in step 102), the router 20-3 resets the soft timer TM (step 103). ), A connection confirmation response is returned to the end device 30-1 (step 104).

一方、ルータ20−3は、ソフトタイマTMにタイマ値Nをセットし(ステップ201)、一定時間が経過する毎にそのタイマ値のダウンカウントを行う(ステップ202,203,204の繰り返し)。このタイマ値のダウンカウント中、接続確認要求が受信されると(ステップ102のYES)、ソフトタイマTMのタイマ値がNに戻され(ステップ103)、タイマ値Nからのダウンカウントが再開される。このタイマ値Nは、定期的に送られてくる接続確認要求の周期に対応する値よりも大きい値として定められており、接続確認要求が正常な周期で送られてくれば、ソフトタイマTMのタイマ値は0となることはない。   On the other hand, the router 20-3 sets the timer value N in the soft timer TM (step 201), and counts down the timer value every time a certain time elapses (repetition of steps 202, 203, and 204). If a connection confirmation request is received during the countdown of the timer value (YES in step 102), the timer value of the soft timer TM is returned to N (step 103), and the downcount from the timer value N is resumed. . This timer value N is set as a value larger than the value corresponding to the period of the connection confirmation request sent periodically, and if the connection confirmation request is sent in a normal period, the soft timer TM The timer value never becomes zero.

このような処理動作中、エンドデバイス30−1からの接続確認要求が途絶えると、ソフトタイマTMのリセットが行われず、ダウンカウントが続行されて、そのタイマ値が0となる(ステップ203のYES)。この場合、ルータ20−3は、自己の接続情報テーブルT1に書き込まれているエンドデバイス30−1との親子関係を示す接続情報を削除する(ステップ205)。   If the connection confirmation request from the end device 30-1 is interrupted during such processing operation, the soft timer TM is not reset, the down-counting is continued, and the timer value becomes 0 (YES in step 203). . In this case, the router 20-3 deletes the connection information indicating the parent-child relationship with the end device 30-1 written in its own connection information table T1 (step 205).

したがって、エンドデバイス30−1がルータ20−3から切り離された場合に、エンドデバイス30−1からの切断の通知がルータ20−3に届かなくても、またエンドデバイス30−1が故障などにより存在しなくなっても、エンドデバイス30−1との親子関係を示す接続情報がルータ20−3に残されることがなく、ルータ20−3に接続可能な下位のデバイス(子ノード)の数が低減しないものとなる。   Accordingly, when the end device 30-1 is disconnected from the router 20-3, even if the disconnection notification from the end device 30-1 does not reach the router 20-3, or because the end device 30-1 is faulty or the like. Even if it does not exist, connection information indicating a parent-child relationship with the end device 30-1 is not left in the router 20-3, and the number of lower-level devices (child nodes) that can be connected to the router 20-3 is reduced. It will not do.

〔ルータとエンドデバイスとの間の伝送路に電波障害などが発生した場合〕
図7(a)において、ルータ20−3とエンドデバイス30−1との間の伝送路に電波障害などが発生すると、エンドデバイス30−1からのルータ20−3への接続確認要求が途絶える(図7(b))。この場合、ルータ20−3は、エンドデバイス30−1からの接続確認要求が途絶えたことを検出して、接続情報テーブルT1に書き込まれているエンドデバイス30−1との親子関係を示す接続情報を削除する(図7(c))。
[When there is a radio interference in the transmission path between the router and the end device]
In FIG. 7A, 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. 7B). In this case, the router 20-3 detects that the connection confirmation request from the end device 30-1 has been interrupted, and the connection information indicating the parent-child relationship with the end device 30-1 written in the connection information table T1. Is deleted (FIG. 7C).

なお、この例において、エンドデバイス30−1の通信圏内にルータ20−4が存在するものとする。また、ルータ20−4は、下位のデバイスとの親子関係を未だ結んでいないものとする。   In this example, 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.

一方、エンドデバイス30−1は、ルータ20−3への接続確認要求を送信した後、ルータ20−3からの接続確認応答を待つ。この場合、ルータ20−3は、エンドデバイス30−1との間の伝送路中の電波障害などの発生により、エンドデバイス30−1からの接続確認要求を受信することができず、その接続確認要求に対する接続確認応答を返送しない(図7(b))。エンドデバイス30−1は、ルータ20−3からの接続確認応答が途絶えたことを検出して、切断(電源オフ)、再接続(電源オン)を行い、通信圏内にあるルータ20−4と親子関係を結び、ルータ20−4を経由して通信を継続する(図7(c))。   On the other hand, the end device 30-1 transmits a connection confirmation request to the router 20-3, and then waits for a connection confirmation response from the router 20-3. In this case, the router 20-3 cannot receive the connection confirmation request from the end device 30-1 due to the occurrence of a radio wave interference in the transmission path with the end device 30-1, and the connection confirmation. A connection confirmation response to the request is not returned (FIG. 7B). The end device 30-1 detects that the connection confirmation response from the router 20-3 has been interrupted, disconnects (power off), and reconnects (power on). The relationship is established and communication is continued via the router 20-4 (FIG. 7C).

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

このような処理動作中、ルータ20−3からの接続確認応答が受信されなくなると(ステップ304のNO)、リトライ回数に1をプラスし(ステップ305)、一定時間の経過を待って(ステップ307)、ルータ20−3へ次の接続確認要求を送信する(ステップ302)。そして、リトライ回数が所定回数Nx以上となると(ステップ306のYES)、ルータ20−3からの接続確認応答が途絶えたと判断して、切断(電源オフ)、再接続(電源オン)を行う(ステップ308)。   If a connection confirmation response from the router 20-3 is not received during such processing operation (NO in step 304), 1 is added to the number of retries (step 305), and a certain time has passed (step 307). ), The next connection confirmation request is transmitted to the router 20-3 (step 302). When the number of retries exceeds the predetermined number Nx (YES in step 306), it is determined that the connection confirmation response from the router 20-3 has been interrupted, and disconnection (power off) and reconnection (power on) are performed (step) 308).

この切断、再接続により、エンドデバイス30−1とルータ20−4との間で親子関係が結ばれ、エンドデバイス30−1にアドレスAD6が割り当てられ、ルータ20−4を経由して、エンドデバイス30−1からの情報が継続してコーディネータ10へ送られるものとなる。   By this disconnection and reconnection, a parent-child relationship is established between the end device 30-1 and the router 20-4, the address AD6 is assigned to the end device 30-1, and the end device is routed through the router 20-4. Information from 30-1 is continuously sent to the coordinator 10.

したがって、ルータ20−3とエンドデバイス30−1との間の伝送路に電波障害などが発生した場合に、エンドデバイス30−1からの切断の通知がルータ20−3に届かなくても、エンドデバイス30−1との親子関係を示す接続情報がルータ20−3に残されることがなく、ルータ20−3に接続可能な下位のデバイス(子ノード)の数が低減しないものとなる。   Therefore, when a radio wave failure or the like occurs in the transmission path between the router 20-3 and the end device 30-1, even if the disconnection notification from the end device 30-1 does not reach the router 20-3, the end Connection information indicating a parent-child relationship with the device 30-1 is not left in the router 20-3, and the number of lower-level devices (child nodes) connectable to the router 20-3 is not reduced.

〔ルータ間の接続確認〕
ルータ20は、親子関係を結んでいる上位のルータ20に対し、接続確認要求を定期的に送信する。例えば、図1に示したルータ20−1とルータ20−3との間で説明すると、下位のルータ20−3から上位のルータ20−1へ接続確認要求が定期的に送られる(図9(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 a 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. 9 ( 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.

なお、図9(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. 9A, 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.

〔ルータ間の伝送路に電波障害などが発生した場合〕
図9(a)において、ルータ20−1と20−3との間の伝送路に電波障害などが発生すると、ルータ20−3からのルータ20−1への接続確認要求が途絶える(図9(b))。この場合、ルータ20−1は、図6に示したフローチャートに従い、ルータ20−3からの接続確認要求が途絶えたことを検出して、接続情報テーブルT1に書き込まれているルータ20−3との親子関係を示す接続情報を削除する(図9(c))。
[When radio wave interference occurs on the transmission path between routers]
In FIG. 9A, 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. 9 ( b)). In this case, the router 20-1 detects that the connection confirmation request from the router 20-3 has been interrupted according to the flowchart shown in FIG. 6, and communicates with the router 20-3 written in the connection information table T1. The connection information indicating the parent-child relationship is deleted (FIG. 9C).

一方、ルータ20−3は、ルータ20−1への接続確認要求を送信した後、ルータ20−1からの接続確認応答を待つ。この場合、ルータ20−1は、ルータ20−3との間の伝送路中の電波障害などの発生により、ルータ20−3からの接続確認要求を受信することができず、その接続確認要求に対する接続確認応答を返送しない(図9(b))。ルータ20−3は、ルータ20−1からの接続確認応答が途絶えたことを検出して、自己の電源を遮断することなく、通信圏内のルータ20−4を介してコーディネータ10へ中継要求を送り、この中継要求によって探索される迂回経路を通して通信を継続する(図9(c))。   On the other hand, after transmitting a connection confirmation request to the router 20-1, the router 20-3 waits for a connection confirmation response from the router 20-1. In this case, the router 20-1 cannot receive the connection confirmation request from the router 20-3 due to the occurrence of a radio wave interference in the transmission path with the router 20-3. A connection confirmation response is not returned (FIG. 9B). The router 20-3 detects that the connection confirmation response from the router 20-1 has been interrupted, and sends a relay request to the coordinator 10 via the router 20-4 in the communication area without shutting down its own power supply. Then, the communication is continued through the detour route searched by this relay request (FIG. 9C).

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

このような処理動作中、ルータ20−1からの接続確認応答が受信されなくなると(ステップ404のNO)、リトライ回数に1をプラスし(ステップ405)、一定時間の経過を待って(ステップ407)、ルータ20−1へ次の接続確認要求を送信する(ステップ402)。そして、リトライ回数が所定回数Nx以上となると(ステップ406のYES)、ルータ20−1からの接続確認応答が途絶えたと判断して、自己の電源を遮断することなく、通信圏内のルータ20−4へ中継要求を送り、この中継要求によって探索される迂回経路を通して通信を継続する(ステップ408)。   If a connection confirmation response from the router 20-1 is not received during such processing operation (NO in step 404), 1 is added to the number of retries (step 405), and a certain time has passed (step 407). ), The next connection confirmation request is transmitted to the router 20-1 (step 402). When the number of retries is equal to or greater than the predetermined number Nx (YES in step 406), 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 terminal, and the communication is continued through the detour route searched by the relay request (step 408).

ステップ408での通信の継続は次のようにして行う。ルータ20−3は、ルータ20−1からの接続確認応答が途絶えたと判断すると、通信圏内のルータ20−4へ自己のアドレスを付して中継要求を送る。この中継要求は、ルータ20−4からルータ20−1を通して、コーディネータ10へ送られる。コーディネータ10は、ルータ20−3からの中継要求を受信し、その中継要求を発信したルータ20−3までの最短経路を迂回経路として探索し、その迂回経路に位置するルータ20に対して中継要求を発信したルータ20−3からの通信を中継するように命ずる。   The communication in step 408 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, searches for the shortest route to the router 20-3 that has transmitted the relay request as a bypass route, and sends a relay request to the router 20 located on the bypass route. Is ordered to relay the communication from the router 20-3 that has transmitted.

これにより、迂回経路として例えば「ルータ20−3、ルータ20−4、ルータ20−1、コーディネータ10」という経路が形成され、この迂回経路を通してルータ20−3からの情報がコーディネータ10へ継続して送られるものとなる。   As a result, for example, a route “router 20-3, router 20-4, router 20-1, and coordinator 10” is formed as a detour route, and information from the router 20-3 continues to the coordinator 10 through this detour route. It will be sent.

したがって、ルータ20−1と20−3との間の伝送路に電波障害などが発生した場合に、ルータ20−3からの切断の通知がルータ20−1に届かなくても、ルータ20−3との親子関係を示す接続情報がルータ20−1に残されることがなく、ルータ20−1に接続可能な下位のデバイス(子ノード)の数が低減しないものとなる。また、この場合、ルータ20−3は、自己の電源を遮断しないので、自己に割り当てられているアドレスや接続情報テーブルT1に書き込まれている下位のデバイスとの親子関係を示す接続情報の記憶を保持し続ける。すなわち、この場合、ルータ20−3は、下位のデバイスとの親子の接続関係を解消することなく、迂回経路を通して通信を継続するので、ルータ20−3に接続されている下位のデバイス(エンドデバイス30−1、30−2)が連鎖的に切断されてしまうということがなくなる。   Therefore, when a radio wave failure or the like occurs in the transmission path between the routers 20-1 and 20-3, the router 20-3 does not receive a disconnection notification from the router 20-3. Is not left in the router 20-1, and the number of lower-level devices (child nodes) that can be connected to the router 20-1 is not reduced. In this case, since the router 20-3 does not shut down its own power supply, it stores the connection information indicating the parent-child relationship with the address assigned to itself and the lower device written in the connection information table T1. Keep holding. 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.

〔コーディネータとルータとの間の伝送路に電波障害などが発生した場合〕
上述においては、ルータ20−1と20−3との間の伝送路に電波障害などが発生した場合について説明したが、コーディネータ10とルータ20−1との間の伝送路に電波障害などが発生した場合も同様にして、コーディネータ10の接続情報テーブルT0からの接続情報の削除され、ルータ20−1の電源を遮断することなく、ルータ20−1とコーディネータ10との間の親子間の通信が迂回経路を通して継続して行われる。この場合の動作について図11を用いて説明する。
[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. In the same way, the connection information from the connection information table T0 of the coordinator 10 is deleted, and the communication between the parent and child between the router 20-1 and the coordinator 10 is performed without shutting off the power supply of the router 20-1. Continued through a detour route. The operation in this case will be described with reference to FIG.

図11(a)において、コーディネータ10とルータ20−1との間の伝送路に電波障害などが発生すると、ルータ20−1からのコーディネータ10への接続確認要求が途絶える(図11(b))。この場合、コーディネータ10は、ルータ20−1からの接続確認要求が途絶えたことを検出して、接続情報テーブルT0に書き込まれているルータ20−1との親子関係を示す接続情報を削除する(図11(c))。   In FIG. 11A, 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 to the coordinator 10 from the router 20-1 is interrupted (FIG. 11B). . In this case, the coordinator 10 detects that the connection confirmation request from the router 20-1 has been interrupted, and deletes the connection information indicating the parent-child relationship with the router 20-1 written in the connection information table T0 ( FIG. 11 (c)).

一方、ルータ20−1は、コーディネータ10への接続確認要求を送信した後、コーディネータ10からの接続確認応答を待つ。この場合、ルータ20−1は、コーディネータ10との間の伝送路中の電波障害などの発生により、コーディネータ10からの接続確認要求を受信することができず、その接続確認要求に対する接続確認応答を返送しない(図11(b))。ルータ20−1は、コーディネータ10からの接続確認応答が途絶えたことを検出して、自己の電源を遮断することなく、通信圏内のルータ20−2を経由してコーディネータ10へ中継要求を送り、この中継要求によって探索される迂回経路を通して通信を継続する(図11(c))。   On the other hand, after transmitting a connection confirmation request to the coordinator 10, the router 20-1 waits for a connection confirmation response from the coordinator 10. In this case, the router 20-1 cannot receive the connection confirmation request from the coordinator 10 due to the occurrence of radio wave interference in the transmission path with the coordinator 10, and sends a connection confirmation response to the connection confirmation request. It is not returned (FIG. 11 (b)). The router 20-1 detects that the connection confirmation response from the coordinator 10 has been interrupted, and sends a relay request to the coordinator 10 via the router 20-2 in the communication area without shutting down its own power supply. Communication is continued through the detour route searched by this relay request (FIG. 11 (c)).

また、上述した実施の形態では、コーディネータ10とルータ20とエンドデバイス30とを組み合わせたツリー構造の通信ネットワークとしたが、コーディネータ10にエンドデバイスのみを接続した2層構造の通信ネットワークとしてもよい。   In the above-described embodiment, a communication network having a tree structure in which the coordinator 10, the router 20, and the end device 30 are combined. However, a communication network having a two-layer structure in which only the end device is connected to the coordinator 10 may be used.

また、上述した実施の形態において、ルータ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 periodically sent to a higher-level device (the timing is 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 at the time of disconnecting an end device from a router. 接続確認要求受信時のルータにおける処理動作を示すフローチャートである。It is a flowchart which shows the processing operation in the router at the time of a connection confirmation request | requirement reception. ルータとエンドデバイスとの間の伝送路に電波障害などが発生した場合の動作を説明する図である。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 flowchart which shows the processing operation in the end device at the time of connection confirmation request | requirement transmission. ルータ間の伝送路に電波障害などが発生した場合の動作を説明する図である。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 | 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 simple example of the conventional ZigBee network. このジグビーネットワークにおいてルータからエンドデバイスを切り離した場合に生じる虞れのある問題を説明する図(ケース1)である。It is a figure (case 1) explaining the problem which may arise when an end device is disconnected from a router in this ZigBee network. このジグビーネットワークにおいてルータとエンドバイスとの間の伝送路に電波障害などが発生した場合に生じる虞れのある問題を説明する図(ケース2)である。It is a figure (case 2) explaining the problem which may arise when a radio wave disturbance etc. generate | occur | produce in the transmission line between a router and an end device in this ZigBee network. このジグビーネットワークにおいてルータ間の伝送路に電波障害などが発生した場合に生じる虞れのある問題を説明する図(ケース3)である。It is a figure (case 3) 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−6)…ルータ、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 unit, 10B ... ROM, 10C ... EEPROM, 10D ... RF circuit, 20 (20-1 to 20-6) ... Router, 20A ... Processing unit, 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 (5)

最上位に位置する第1のデバイスと、最下位に位置し自己のメモリに自己に割り当てられたアドレスを記憶する第2のデバイスを少なくとも備えたツリー構造の無線通信システムにおいて、
前記第1のデバイスは、
自己と親子の接続関係を結んだ下位のデバイスとそのデバイスに割り当てたアドレスとの関係を示す接続情報をメモリに保存する手段と、
自己と親子の接続関係を結んだ下位のデバイスから定期的に送られてくる接続確認要求が途絶えた場合、前記メモリに保存されているそのデバイスとそのデバイスに割り当てたアドレスとの関係を示す接続情報を削除する手段と
を備えることを特徴とする無線通信システム。
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 first device is:
Means for storing, in a memory, connection information indicating a relationship between a lower-level device having a connection relationship between the self and the parent and child and an address assigned to the device;
A connection indicating the relationship between the device stored in the memory and the address assigned to the device when a connection confirmation request periodically sent from a lower-level device having a connection relationship between itself and parent and child is interrupted A wireless communication system comprising: means for deleting information.
最上位に位置する第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:
Means for storing, in a memory, connection information indicating a relationship between a lower-level device having a connection relationship between the self and the parent and child and an address assigned to the device;
A connection indicating the relationship between the device stored in the memory and the address assigned to the device when a connection confirmation request periodically sent from a lower-level device having a connection relationship between itself and parent and child is interrupted A wireless communication system comprising: means for deleting information.
請求項2に記載された無線通信システムにおいて、
前記第3のデバイスは、さらに、
自己と親子の接続関係を結んだ上位のデバイスに定期的に接続確認要求を送信する手段と、
前記接続確認要求の受信に成功したことを知らせる前記上位のデバイスからの接続確認応答が途絶えた場合、下位のデバイスとの親子の接続関係を解消することなく、他のデバイスを経由した迂回経路を通して通信を継続する手段と
を備えることを特徴とする無線通信システム。
The wireless communication system according to claim 2,
The third device further includes:
Means for periodically sending a connection confirmation request to a higher-level device that has a connection relationship between the parent and child;
When the connection confirmation response from the higher-level device that informs that the connection confirmation request has been successfully received is interrupted, the connection relationship between the parent and child with the lower-level device is not canceled, and the detour route via another device is used. A wireless communication system comprising: means for continuing communication.
自己と親子の接続関係を結んだ下位のデバイスとそのデバイスに割り当てたアドレスとの関係を示す接続情報をメモリに保存する手段と、
自己と親子の接続関係を結んだ下位のデバイスから定期的に送られてくる接続確認要求が途絶えた場合、前記メモリに保存されているそのデバイスとそのデバイスに割り当てたアドレスとの関係を示す接続情報を削除する手段と
を備えることを特徴とするデバイス。
Means for storing, in a memory, connection information indicating a relationship between a lower-level device having a connection relationship between the self and the parent and child and an address assigned to the device;
A connection indicating the relationship between the device stored in the memory and the address assigned to the device when a connection confirmation request periodically sent from a lower-level device having a connection relationship between itself and parent and child is interrupted And a device for deleting information.
請求項4に記載されたデバイスにおいて、さらに、
自己と親子の接続関係を結んだ上位のデバイスに定期的に接続確認要求を送信する手段と、
前記接続確認要求の受信に成功したことを知らせる前記上位のデバイスからの接続確認応答が途絶えた場合、下位のデバイスとの親子の接続関係を解消することなく、他のデバイスを経由した迂回経路を通して通信を継続する手段と
を備えることを特徴とするデバイス。
The device of claim 4, further comprising:
Means for periodically sending a connection confirmation request to a higher-level device that has a connection relationship between the parent and child;
When the connection confirmation response from the higher-level device that informs that the connection confirmation request has been successfully received is interrupted, the connection relationship between the parent and child with the lower-level device is not canceled, and the detour route via another device is used. And a device for continuing communication.
JP2006333242A 2006-12-11 2006-12-11 Wireless communication system and device Active JP5080072B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006333242A JP5080072B2 (en) 2006-12-11 2006-12-11 Wireless communication system and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006333242A JP5080072B2 (en) 2006-12-11 2006-12-11 Wireless communication system and device

Publications (2)

Publication Number Publication Date
JP2008148027A true JP2008148027A (en) 2008-06-26
JP5080072B2 JP5080072B2 (en) 2012-11-21

Family

ID=39607706

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006333242A Active JP5080072B2 (en) 2006-12-11 2006-12-11 Wireless communication system and device

Country Status (1)

Country Link
JP (1) JP5080072B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009239747A (en) * 2008-03-27 2009-10-15 Kyocera Corp Radio terminal and radio communication method
JP2011077720A (en) * 2009-09-29 2011-04-14 Hitachi Ltd Radio communication network system and radio data communication device
JP2013504917A (en) * 2009-09-11 2013-02-07 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Mobile node assignment to routers in wPAN
WO2014080564A1 (en) * 2012-11-26 2014-05-30 パナソニック株式会社 Network system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001237764A (en) * 2000-02-24 2001-08-31 Nippon Telegr & Teleph Corp <Ntt> Multi-hop radio network and radio station
JP2003032300A (en) * 2001-05-10 2003-01-31 Nippon Telegr & Teleph Corp <Ntt> Multicast data communication method, multicast data communication system, relay apparatus, relay method, relay program, medium stored with relay program

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001237764A (en) * 2000-02-24 2001-08-31 Nippon Telegr & Teleph Corp <Ntt> Multi-hop radio network and radio station
JP2003032300A (en) * 2001-05-10 2003-01-31 Nippon Telegr & Teleph Corp <Ntt> Multicast data communication method, multicast data communication system, relay apparatus, relay method, relay program, medium stored with relay program

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009239747A (en) * 2008-03-27 2009-10-15 Kyocera Corp Radio terminal and radio communication method
JP2013504917A (en) * 2009-09-11 2013-02-07 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Mobile node assignment to routers in wPAN
JP2011077720A (en) * 2009-09-29 2011-04-14 Hitachi Ltd Radio communication network system and radio data communication device
WO2014080564A1 (en) * 2012-11-26 2014-05-30 パナソニック株式会社 Network system
JP2014107644A (en) * 2012-11-26 2014-06-09 Panasonic Corp Network system

Also Published As

Publication number Publication date
JP5080072B2 (en) 2012-11-21

Similar Documents

Publication Publication Date Title
JP4164704B2 (en) Network connection device switching method and network system using redundancy protocol and pseudo-redundant configuration means
US20080225699A1 (en) Router and method of supporting nonstop packet forwarding on system redundant network
US20050007951A1 (en) Routed split multilink trunking
JP4851311B2 (en) Wireless communication system
JPWO2004112327A1 (en) Router device and network connection method
KR101909400B1 (en) Method and system for managing network traffic
US20110305245A1 (en) Network switch
JP5080072B2 (en) Wireless communication system and device
TWI689185B (en) Communication system, communication device and program
EP2733894B1 (en) Communication system, communication route control method, and communication apparatus
JP2008148029A (en) Radio communication system and device
CN104717089A (en) Equipment switching method and routing bridge equipment and system
JP4933238B2 (en) Wireless communication system and device
JP2012070369A (en) Multi-hop communication method, multi-hop communication system, and communication terminal
JP6446891B2 (en) COMMUNICATION CONTROL DEVICE, COMMUNICATION CONTROL METHOD, AND COMMUNICATION CONTROL PROGRAM
JP4913572B2 (en) Wireless communication system and device
US8478264B2 (en) Wireless communication system
JP2001168899A (en) Network system
JP3895749B2 (en) Network connection method, virtual network connection device, and network connection system using the device
JP3395703B2 (en) Point-to-point communication network system and communication control method therefor
JP2006005611A (en) Non-interrupt switching device in stp
JP2004357194A (en) Apparatus and method for internetwork connection
JP2010268342A (en) Network device
JP3997771B2 (en) Data transfer method
JPH1023071A (en) Mobile communication system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20091130

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20111108

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20111122

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120113

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120321

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120518

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

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

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

Free format text: PAYMENT UNTIL: 20150907

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 5080072

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150