JP2008148029A - Radio communication system and device - Google Patents

Radio communication system and device Download PDF

Info

Publication number
JP2008148029A
JP2008148029A JP2006333246A JP2006333246A JP2008148029A JP 2008148029 A JP2008148029 A JP 2008148029A JP 2006333246 A JP2006333246 A JP 2006333246A JP 2006333246 A JP2006333246 A JP 2006333246A JP 2008148029 A JP2008148029 A JP 2008148029A
Authority
JP
Japan
Prior art keywords
address
duplicate
memory
router
transmitted
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.)
Pending
Application number
JP2006333246A
Other languages
Japanese (ja)
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 JP2006333246A priority Critical patent/JP2008148029A/en
Publication of JP2008148029A publication Critical patent/JP2008148029A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To detect the overlap of all addresses in a system with an inexpensive configuration. <P>SOLUTION: One's own identification information is added to an address assigned to oneself for regularly sending from a router 20 and an end device 30 to a coordinator 10. In the coordinator 10, the address sent from the router 20 and the end device 30 corresponds to the identification information added to the address for writing in an address table TA for detecting overlap. When the sent address has already been written into the address table TA for detecting overlap, the identification information in the table TA corresponding to the address is compared with that added to the sent address. When both the pieces of identification information differ, the sent address is detected as an overlap address. <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 a general master station for the entire network, it also assigns addresses to devices that have a parent-child relationship with itself.

〔デバイス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.

図13にジグビーネットワークの単純な例を示す。同図において、1は最上位(第0層)に位置するコーディネータ、2−1,2−2はコーディネータ1の下層(第1層)に位置するルータ、3−1,3−2および3−3,3−4はルータ2−1および2−2の下層(第2層(最下位))に位置するエンドデバイスである。   FIG. 13 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 at the lower layer (first layer) of coordinator 1, 3-1, 3-2 and 3- 3 and 3-4 are end devices located in the lower layer (second layer (lowest layer)) of the routers 2-1 and 2-2.

なお、この例において、コーディネータ1の識別番号は#0、ルータ2−1,2−2の識別番号は#1,#2、エンドデバイス3−1〜3−4の識別番号は#3〜#6として設定されているものとする。これらの識別番号#0〜#6は、デバイス毎に固有に定められたものであり、変わることはない。また、このジグビーネットワークにおいて、コーディネータ1には、ネットワーク全体に対して付番可能なアドレスとしてアドレスブロックAD0〜AD6が定められ、このアドレスブロックのうち「AD0」が自己のアドレスとして割り当てられるものとする。   In this example, the identification number of the coordinator 1 is # 0, the identification numbers of the routers 2-1 and 2-2 are # 1 and # 2, and the identification numbers of the end devices 3-1 to 3-4 are # 3 to #. It is assumed that 6 is set. These identification numbers # 0 to # 6 are uniquely determined for each device and do not change. In this ZigBee network, the coordinator 1 is defined with address blocks AD0 to AD6 as addresses that can be assigned to the entire network, and “AD0” of these address blocks 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〜AD3」を送る。   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 (“◯”). Further, address blocks “AD1 to AD3” 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に対してアドレスAD4を割り当てるとともに、ルータ2−2の識別番号#2とルータ2−2に割り当てたアドレスAD4とを対応づけて親子関係有りとして接続情報テーブルT0に書き込む。また、ルータ2−2へ、下位のデバイスへ付番可能なアドレスとして、アドレスAD4を含むアドレスブロック「AD4〜AD6」を送る。   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 AD4 to the router 2-2, and also assigns the identification number # 2 of the router 2-2 and the address AD4 assigned to the router 2-2. Are written in the connection information table T0 as having a parent-child relationship. Also, the address block “AD4 to AD6” including the address AD4 is sent to the router 2-2 as an address that can be assigned to a lower device.

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

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

このジグビーネットワークでは、例えばエンドデバイス3−1の電源がオフとされると、エンドデバイス3−1に割り当てられたアドレスAD2が消失する。この場合、電源をオンとし、再起動すると、エンドデバイス3−1からルータ2−1へオーファンと呼ばれる接続要求(以下、オーファン接続要求と呼ぶ)が送られ、ルータ2−1が記憶している接続情報テーブルT1中のエンドデバイス3−1の識別番号#3に対応するアドレスAD2が読み出され、エンドデバイス3−1に再度割り当てられる。   In this ZigBee network, for example, when the power of the end device 3-1 is turned off, the address AD2 assigned to the end device 3-1 disappears. In this case, when the power is turned on and restarted, a connection request called orphan (hereinafter referred to as orphan connection request) is sent from the end device 3-1 to the router 2-1 and stored in the router 2-1. The address AD2 corresponding to the identification number # 3 of the end device 3-1 in the connection information table T1 is read out and reassigned to the end device 3-1.

また、このジグビーネットワークでは、例えばエンドデバイス3−1とルータ2−1との間の伝送路に電波障害などが発生した場合、エンドデバイス3−1からの情報(例えば、温度計測値、湿度計測値など)がルータ2−1で受信できなくなる。この場合、エンドデバイス3−1は人手によって、ルータ2−2が送信圏内にあれば、新たにルータ2−2とエンドデバイス3−1とで親子関係を結び、エンドデバイス3−1は自己の情報をルータ2−2へ送り、さらにその情報は上位のデバイスに送られる。これにより、通信経路が新たに規定され、エンドデバイス3−1からの情報が継続してコーディネータ1へ送られるものとなる。   Further, 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-1, information from the end device 3-1 (for example, temperature measurement value, humidity measurement) Value) cannot be received by the router 2-1. In this case, if the end device 3-1 is manually placed and the router 2-2 is within the transmission range, a new parent-child relationship is established between the router 2-2 and the end device 3-1, and the end device 3-1 Information is sent to the router 2-2, and the information is sent to a higher-level device. As a result, a new communication path is defined, and information from the end device 3-1 is continuously sent to the coordinator 1.

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

特開2006−5928号公報JP 2006-5928 A 特開2006−42370号公報JP 2006-42370 A 特開2005−64848号公報Japanese Patent Laid-Open No. 2005-64848 特開2005−204016号公報JP 2005-204016 A

しかしながら、上述したジグビーネットワークでは、ルータ2が下位のデバイスにアドレスを割り当てた後に、故障等によりルータ2内の接続情報テーブルT1が失われることがある。ここで、接続情報テーブルT1が失われたルータ2に新たなデバイスが親子接続を求めた場合、既に割り当てられているアドレスをその親子接続を求めたデバイスに重複して割り当ててしまう可能性がある。   However, in the ZigBee network described above, after the router 2 assigns an address to a lower device, the connection information table T1 in the router 2 may be lost due to a failure or the like. Here, when a new device requests a parent-child connection to the router 2 in which the connection information table T1 has been lost, there is a possibility that an already assigned address is duplicated and assigned to the device that has obtained the parent-child connection. .

例えば、今、図14(a)に示すように、ルータ2−1の接続情報テーブルT1には、エンドデバイス3−1との親子関係が定められているが、エンドデバイス3−2との親子関係はまだ定められていないものとする。ここで、何らかの異常によりルータ2−1内の接続情報テーブルT1が消失し(図14(b))、ルータ2−1とエンドデバイス3−1との親子関係が失われたとする。このような状態で、例えばエンドデバイス3−2をルータ2−1に近づけて電源をオンとすると(図14(c))、エンドデバイス3−2からルータ2−1へアソシエイト接続要求が送られ、ルータ2−1との間で親子関係が結ばれる。   For example, as shown in FIG. 14A, the connection information table T1 of the router 2-1 has a parent-child relationship with the end device 3-1, but the parent-child with the end device 3-2. The relationship has not yet been established. Here, it is assumed that the connection information table T1 in the router 2-1 is lost due to some abnormality (FIG. 14B), and the parent-child relationship between the router 2-1 and the end device 3-1 is lost. In this state, for example, when the end device 3-2 is brought close to the router 2-1 and the power is turned on (FIG. 14C), an associate connection request is sent from the end device 3-2 to the router 2-1. A parent-child relationship is established with the router 2-1.

この場合、ルータ2−1は、下位のデバイスへ割り当て可能なアドレスとしてアドレスAD2とAD3が残されているものと判断し、エンドデバイス3−2に対してアドレスAD2を割り当てるとともに、エンドデバイス3−2の識別番号#4とエンドデバイス3−2に割り当てたアドレスAD2とを対応づけて親子関係有りとして接続情報テーブルT1に書き込む。   In this case, the router 2-1 determines that the addresses AD2 and AD3 remain as addresses that can be assigned to the lower device, assigns the address AD2 to the end device 3-2, and also assigns the end device 3- 2 is associated with the address AD2 assigned to the end device 3-2 and written in the connection information table T1 as having a parent-child relationship.

このため、エンドデバイス3−1のアドレスとエンドデバイス3−2のアドレスとが同じアドレスAD2となり、アドレスの重複が生じ、コーディネータ1への情報が混乱してしまう。このようなアドレスの重複は、ルータ2−1,2−2との間でも同様にして生じる虞れがある。   For this reason, the address of the end device 3-1 and the address of the end device 3-2 become the same address AD <b> 2, duplication of addresses occurs, and information to the coordinator 1 is confused. Such address duplication may occur in the same way between the routers 2-1 and 2-2.

なお、ジグビーネットワークではないが、特許文献3や特許文献4には、アドレスの重複の問題を解決するための技術が示されている。これらの特許文献では、他のデバイスと自由に接続可能なデバイスの内部に、重複アドレス検出機能を設けている。この技術を上述したジグビーネットワークに応用すると、全てのデバイスに重複アドレス検出機能を付加することになり、非常に高価なシステムとなってしまう。   Although it is not a ZigBee network, Patent Documents 3 and 4 disclose techniques for solving the address duplication problem. In these patent documents, a duplicate address detection function is provided inside a device that can be freely connected to another device. When this technology is applied to the above-described ZigBee network, a duplicate address detection function is added to all devices, resulting in a very expensive system.

本発明は、このような課題を解決するためになされたもので、その目的とするところは、安価な構成で、システム内の全てのアドレスの重複を検出することができる無線通信システムを提供することにある。   The present invention has been made to solve such problems, and an object of the present invention is to provide a wireless communication system capable of detecting duplication of all addresses in the system with an inexpensive configuration. There is.

このような目的を達成するために、第1発明(請求項1に係る発明)は、最上位に位置する第1のデバイスと、最下位に位置し自己のメモリに自己に割り当てられたアドレスを記憶する第2のデバイスとを少なくとも備えたツリー構造の無線通信システムにおいて、第2のデバイスに、自己に割り当てられたアドレスに自己の識別情報を付加して第1のデバイスへ定期的に送信する手段を設け、第1のデバイスに、第2のデバイスより送信されてくるアドレスをそのアドレスに付加されている識別情報と対応づけてメモリに保存する手段と、第2のデバイスより送信されてきたアドレスが既にメモリに保存されていた場合、そのアドレスと対応して保存されている識別情報と送信されてきたアドレスに付加されている識別情報とを比較し、両者が異なっていた場合、送信されてきたアドレスを重複アドレスとして検出する手段とを設けたものである。   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, the second device is periodically transmitted to the first device by adding its own identification information to an address assigned to the second device. Means for storing the address transmitted from the second device in the memory in association with the identification information added to the address, and transmitted from the second device. When the address is already stored in the memory, the identification information stored corresponding to the address is compared with the identification information added to the transmitted address. If is different, it is provided with a means for detecting the address transmitted as a duplicate address.

この第1発明によれば、例えば、第1のデバイスをコーディネータ、第2のデバイスをルータもしくはエンドデバイスとする2層のツリー構造の無線通信システムとした場合、ルータもしくはエンドデバイスからコーディネータへ、自己に割り当てられたアドレスが自己の識別情報を付加して定期的に送信される。コーディネータは、ルータもしくはエンドデバイスからアドレスが送信されてきた場合、そのアドレスとそのアドレスに付加されている識別情報とを対応づけてメモリに保存する。また、コーディネータは、ルータもしくはエンドデバイスからアドレスが送信されてきた場合、そのアドレスが既にメモリに保存されているか否かを確認し、メモリに保存されていた場合、そのアドレスと対応して保存されている識別情報と送信されてきたアドレスに付加されている識別情報とを比較する。ここで、両者が異なっていれば、送信されてきたアドレスを重複アドレスとして検出する。この場合、重複アドレスを検出する機能はコーディネータのみに設ければよく、他のデバイス(ルータ、エンドデバイス)には不要なので、システム内の全てのアドレスの重複を安価な構成で検出することが可能となる。   According to the first aspect of the invention, for example, when a wireless communication system having a two-layer tree structure in which the first device is a coordinator and the second device is a router or an end device, the router or the end device sends a self- The address assigned to is periodically transmitted with its own identification information. When an address is transmitted from a router or an end device, the coordinator stores the address and identification information added to the address in association with each other. If the address is sent from the router or end device, the coordinator checks whether the address is already stored in the memory. If it is stored in the memory, the coordinator stores it in correspondence with the address. And the identification information added to the transmitted address are compared. Here, if both are different, the transmitted address is detected as a duplicate address. In this case, the function to detect duplicate addresses need only be provided in the coordinator, and is not required for other devices (routers and end devices), so it is possible to detect duplication of all addresses in the system with an inexpensive configuration. It becomes.

第2発明(請求項2に係る発明)は、第1発明において、第1のデバイスに、重複アドレスが検出された場合、その重複アドレスをメモリより削除するとともに、下位のデバイスに重複アドレスの削除要求をブロードキャストで送る手段を設け、第2のデバイスに、第1のデバイスからの重複アドレスの削除要求を受けて、自己に割り当てられているアドレスが重複アドレスであった場合、そのアドレスを自己のメモリから削除する手段と、重複アドレスを削除した後、上位のデバイスに再接続要求を行い、そのデバイスからアドレスを取得する手段とを設けたものである。   According to a second invention (invention according to claim 2), in the first invention, when a duplicate address is detected in the first device, the duplicate address is deleted from the memory, and the duplicate address is deleted in a lower device. A means for sending a request by broadcasting is provided, and when the second device receives a request for deleting a duplicate address from the first device and the address assigned to the second device is a duplicate address, A means for deleting from the memory and a means for making a reconnection request to a higher-level device after acquiring a duplicate address and acquiring an address from the device are provided.

この第2発明によれば、例えば、第1のデバイスをコーディネータ、第2のデバイスをルータもしくはエンドデバイスとする2層のツリー構造の無線通信システムとした場合、コーディネータは、重複アドレスを検出すると、その重複アドレスをメモリより削除し、下位のデバイス(ルータ、エンドデバイス)に重複アドレスの削除要求をブロードキャストで送る。
ルータもしくはエンドデバイスは、コーディネータからの重複アドレスの削除要求を受けて、自己に割り当てられているアドレスが重複アドレスであった場合、そのアドレスを自己のメモリから削除する。そして、この重複アドレスの削除後、上位の任意のデバイス(コーディネータ)に再接続要求を行い、そのデバイスからアドレスを取得する。
これにより、同じアドレスが割り当てられていたデバイスに異なるアドレスが与えられ、システム内のアドレスの重複が自動的に解消される。
According to the second invention, for example, when the wireless communication system has a two-layer tree structure in which the first device is a coordinator and the second device is a router or an end device, the coordinator detects a duplicate address, The duplicate address is deleted from the memory, and a duplicate address deletion request is sent by broadcast to lower devices (routers and end devices).
When the router or end device receives a duplicate address deletion request from the coordinator and the address assigned to it is a duplicate address, the router or end device deletes the address from its own memory. After deleting the duplicate address, a reconnection request is made to an arbitrary upper device (coordinator), and the address is acquired from the device.
As a result, different addresses are given to devices to which the same address is assigned, and address duplication in the system is automatically resolved.

第3発明(請求項3に係る発明)は、最上位に位置する第1のデバイスと、最下位に位置し自己のメモリに自己に割り当てられたアドレスを記憶する第2のデバイスと、この第1のデバイスと第2のデバイスとの間に位置し自己のメモリに自己に割り当てられたアドレスを記憶する第3のデバイスとを少なくとも備えたツリー構造の無線通信システムにおいて、第2のデバイスおよび第3のデバイスに、自己に割り当てられたアドレスに自己の識別情報を付加して第1のデバイスへ定期的に送信する手段を設け、第1のデバイスに、第2のデバイスおよび第3のデバイスより送信されてくるアドレスをそのアドレスに付加されている識別情報と対応づけてメモリに保存する手段と、第2のデバイスおよび第3のデバイスより送信されてきたアドレスが既にメモリに保存されていた場合、そのアドレスと対応して保存されている識別情報と送信されてきたアドレスに付加されている識別情報とを比較し、両者が異なっていた場合、送信されてきたアドレスを重複アドレスとして検出する手段とを設けたものである。   A third invention (invention according to claim 3) includes a first device located at the highest level, a second device located at the lowest level and storing an address assigned to the memory 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 stores a self-assigned address in its own memory, the second device and the second device 3 is provided with means for periodically transmitting to the first device by adding its own identification information to the address assigned to the third device. The second device and the third device are provided in the first device. Means for associating the transmitted address with the identification information added to the address and storing it in the memory; and the addresses transmitted from the second device and the third device. Is stored in the memory, the identification information stored corresponding to that address is compared with the identification information attached to the transmitted address. Means for detecting the received address as a duplicate address.

この第3発明によれば、例えば、第1のデバイスをコーディネータ、第2のデバイスをエンドデバイス、第3のデバイスをルータとする3層のツリー構造の無線通信システムとした場合、ルータからコーディネータへ、またエンドデバイスからルータを介してコーディネータへ、自己に割り当てられたアドレスが自己の識別情報を付加して定期的に送信される。コーディネータは、ルータやエンドデバイスからアドレスが送信されてきた場合、そのアドレスとそのアドレスに付加されている識別情報とを対応づけてメモリに保存する。また、コーディネータは、ルータやエンドデバイスからアドレスが送信されてきた場合、そのアドレスが既にメモリに保存されているか否かを確認し、メモリに保存されていた場合、そのアドレスと対応して保存されている識別情報と送信されてきたアドレスに付加されている識別情報とを比較する。ここで、両者が異なっていれば、送信されてきたアドレスを重複アドレスとして検出する。この場合、重複アドレスを検出する機能はコーディネータのみに設ければよく、他のデバイス(ルータ、エンドデバイス)には不要なので、システム内の全てのアドレスの重複を安価な構成で検出することが可能となる。   According to the third invention, for example, when a wireless communication system having a three-layer tree structure in which the first device is a coordinator, the second device is an end device, and the third device is a router, the router to the coordinator. In addition, the address assigned to itself is periodically transmitted from the end device to the coordinator via the router with its own identification information added. When an address is transmitted from a router or an end device, the coordinator stores the address and identification information added to the address in association with each other. In addition, when an address is sent from a router or end device, the coordinator checks whether or not the address is already stored in the memory. If it is stored in the memory, the coordinator is stored corresponding to the address. And the identification information added to the transmitted address are compared. Here, if both are different, the transmitted address is detected as a duplicate address. In this case, the function to detect duplicate addresses need only be provided in the coordinator, and is not required for other devices (routers and end devices), so it is possible to detect duplication of all addresses in the system with an inexpensive configuration. It becomes.

第4発明(請求項4に係る発明)は、第3発明において、第1のデバイスに、重複アドレスが検出された場合、その重複アドレスをメモリより削除するとともに、下位のデバイスに重複アドレスの削除要求をブロードキャストで送る手段を設け、第2および第3のデバイスに、第1のデバイスからの重複アドレスの削除要求を受けて、自己に割り当てられているアドレスが重複アドレスであった場合、そのアドレスを自己のメモリから削除する手段と、重複アドレスを削除した後、上位の任意のデバイスに再接続要求を行い、そのデバイスからアドレスを取得する手段とを設けたものである。   According to a fourth invention (invention according to claim 4), in the third invention, when a duplicate address is detected in the first device, the duplicate address is deleted from the memory, and the duplicate address is deleted in a lower device. A means for sending a request by broadcast is provided, and when the second and third devices receive a duplicate address deletion request from the first device and the address assigned to the second and third devices is a duplicate address, the address Is deleted from its own memory, and after deleting the duplicate address, a reconnection request is made to an arbitrary upper device, and an address is acquired from the device.

この第4発明によれば、例えば、第1のデバイスをコーディネータ、第2のデバイスをエンドデバイス、第3のデバイスをルータとする3層のツリー構造の無線通信システムとした場合、コーディネータは、重複アドレスを検出すると、その重複アドレスをメモリより削除し、下位のデバイス(ルータ、エンドデバイス)に重複アドレスの削除要求をブロードキャストで送る。
ルータは、コーディネータからの重複アドレスの削除要求を受けて、自己に割り当てられているアドレスが重複アドレスであった場合、そのアドレスを自己のメモリから削除する。そして、この重複アドレスの削除後、上位の任意のデバイス(コーディネータ)に再接続要求を行い、そのデバイスからアドレスを取得する。
エンドデバイスもルータと同様に、コーディネータからの重複アドレスの削除要求を受けて、自己に割り当てられているアドレスが重複アドレスであった場合、そのアドレスを自己のメモリから削除する。そして、この重複アドレスの削除後、上位の任意のデバイス(ルータ)に再接続要求を行い、そのデバイスからアドレスを取得する。
これにより、同じアドレスが割り当てられていたデバイスに異なるアドレスが与えられ、システム内のアドレスの重複が自動的に解消される。
According to the fourth aspect of the present invention, for example, when the wireless communication system has a three-layer tree structure in which the first device is a coordinator, the second device is an end device, and the third device is a router, When the address is detected, the duplicate address is deleted from the memory, and a duplicate address deletion request is sent by broadcast to a lower device (router, end device).
In response to a duplicate address deletion request from the coordinator, the router deletes the address from its own memory if the address assigned to it is a duplicate address. After deleting the duplicate address, a reconnection request is made to an arbitrary upper device (coordinator), and the address is acquired from the device.
Similarly to the router, the end device receives a duplicate address deletion request from the coordinator, and when the address assigned to itself is a duplicate address, the end device deletes the address from its own memory. After deleting the duplicate address, a reconnection request is made to an arbitrary upper device (router), and the address is acquired from the device.
As a result, different addresses are given to devices to which the same address is assigned, and address duplication in the system is automatically resolved.

第5発明(請求項5に係る発明)は、最上位に位置する第1のデバイスと、最下位に位置し自己のメモリに自己に割り当てられたアドレスを記憶する第2のデバイスと、この第1のデバイスと第2のデバイスとの間に位置し自己のメモリに自己に割り当てられたアドレスを記憶する第3のデバイスとを少なくとも備えたツリー構造の無線通信システムにおいて、第2のデバイスに、自己に割り当てられたアドレスに自己の識別情報を付加して上位のデバイスへ定期的に送信する手段を設け、第3のデバイスに、自己に割り当てられたアドレスに自己の識別情報を付加して上位のデバイスへ定期的に送信する手段と、1階層下のデバイスより定期的に送信されてくるアドレスをそのアドレスに付加されている識別情報と対応づけて第1のメモリに保存する手段と、1階層下のデバイスより定期的に送信されてきたアドレスが既に第1のメモリに保存されていた場合、そのアドレスと対応して保存されている識別情報と送信されてきたアドレスに付加されている識別情報とを比較し、両者が異なっていた場合、送信されてきたアドレスを重複アドレスとして検出する手段とを設け、第1のデバイスに、1階層下のデバイスより定期的に送信されてくるアドレスをそのアドレスに付加されている識別情報と対応づけて第2のメモリに保存する手段と、1階層下のデバイスより定期的に送信されてきたアドレスが既に第2のメモリに保存されていた場合、そのアドレスと対応して保存されている識別情報と送信されてきたアドレスに付加されている識別情報とを比較し、両者が異なっていた場合、送信されてきたアドレスを重複アドレスとして検出する手段とを設けたものである。   A fifth invention (invention according to claim 5) is a first device positioned at the highest level, a second device positioned at the lowest level and storing an 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 stores a self-assigned address in its own memory, the second device includes: A means for periodically transmitting the identification information to the higher-order device by adding the identification information to the self-assigned address is provided, and the third device is added with the identification information to the higher-order address. Means for periodically transmitting to a device of the first memory, and an address periodically transmitted from a device one layer below is associated with identification information added to the address in the first memory In the case where the storing means and the address periodically transmitted from the device one layer below are already stored in the first memory, the identification information stored corresponding to the address and the transmitted address Is compared with the identification information added to the device, and if both are different, a means for detecting the transmitted address as a duplicate address is provided. Means for storing the transmitted address in the second memory in association with the identification information added to the address, and the address periodically transmitted from the device one layer below is already stored in the second memory. If it was stored, the identification information stored corresponding to the address was compared with the identification information added to the transmitted address, and both were different. If, it is provided with a means for detecting the address transmitted as a duplicate address.

この第5発明によれば、例えば、第1のデバイスをコーディネータ、第2のデバイスをエンドデバイス、第3のデバイスをルータとする3層のツリー構造の無線通信システムとした場合、エンドデバイスから上位のデバイス(ルータ)へ、自己に割り当てられたアドレスが自己の識別情報を付加して定期的に送信される。また、ルータから上位のデバイス(コーディネータ)へ、自己に割り当てられたアドレスが自己の識別情報を付加して定期的に送信される。
ルータは、1階層下のデバイス(エンドデバイス)からアドレスが送信されてきた場合、そのアドレスとそのアドレスに付加されている識別情報とを対応づけて第1のメモリに保存する。また、ルータは、1階層下のデバイス(エンドデバイス)からアドレスが送信されてきた場合、そのアドレスが既に第1のメモリに保存されているか否かを確認し、第1のメモリに保存されていた場合、そのアドレスと対応して保存されている識別情報と送信されてきたアドレスに付加されている識別情報とを比較する。ここで、両者が異なっていれば、送信されてきたアドレスを重複アドレスとして検出する。
コーディネータは、1階層下のデバイス(ルータ)からアドレスが送信されてきた場合、そのアドレスとそのアドレスに付加されている識別情報とを対応づけて第2のメモリに保存する。また、コーディネータは、1階層下のデバイス(ルータ)からアドレスが送信されてきた場合、そのアドレスが既に第2のメモリに保存されているか否かを確認し、第2のメモリに保存されていた場合、そのアドレスと対応して保存されている識別情報と送信されてきたアドレスに付加されている識別情報とを比較する。ここで、両者が異なっていれば、送信されてきたアドレスを重複アドレスとして検出する。
この場合、重複アドレスを検出する機能はコーディネータおよびルータのみに設ければよく、エンドデバイスには不要なので、システム内の全てのアドレスの重複を安価な構成で検出することが可能となる。
According to the fifth aspect of the present invention, for example, in the case of a wireless communication system having a three-layer tree structure in which the first device is a coordinator, the second device is an end device, and the third device is a router, The address assigned to itself is periodically transmitted to the other device (router) with its own identification information added. Also, the address assigned to itself is periodically transmitted from the router to the higher-level device (coordinator) with its own identification information added.
When an address is transmitted from a device (end device) one level below, the router associates the address with identification information added to the address and stores it in the first memory. In addition, when an address is transmitted from a device (end device) one layer below, the router checks whether the address is already stored in the first memory, and is stored in the first memory. In the case where the address is stored, the identification information stored corresponding to the address is compared with the identification information added to the transmitted address. Here, if both are different, the transmitted address is detected as a duplicate address.
When an address is transmitted from a device (router) one layer below, the coordinator associates the address with the identification information added to the address and stores it in the second memory. In addition, when an address is transmitted from a device (router) one layer below, the coordinator checks whether or not the address is already stored in the second memory, and is stored in the second memory. In this case, the identification information stored corresponding to the address is compared with the identification information added to the transmitted address. Here, if both are different, the transmitted address is detected as a duplicate address.
In this case, the function for detecting duplicate addresses need only be provided in the coordinator and router, and is not necessary for the end device, so that duplication of all addresses in the system can be detected with an inexpensive configuration.

第6発明(請求項6に係る発明)は、第5発明において、第1のデバイスに、重複アドレスが検出された場合、その重複アドレスを第2のメモリより削除するとともに、下位のデバイスに重複アドレスの削除要求をブロードキャストで送る手段を設け、第3のデバイスに、重複アドレスが検出された場合、その重複アドレスを第1のメモリより削除するとともに、下位のデバイスに重複アドレスの削除要求をブロードキャストで送る手段と、上位のデバイスからの重複アドレスの削除要求を受けて、自己に割り当てられているアドレスが重複アドレスであった場合、そのアドレスを自己のメモリから削除する手段と、重複アドレスを削除した後、上位の任意のデバイスに再接続要求を行い、そのデバイスからアドレスを取得する手段とを設け、第2のデバイスに、上位のデバイスからの重複アドレスの削除要求を受けて、自己に割り当てられているアドレスが重複アドレスであった場合、そのアドレスを自己のメモリから削除する手段と、重複アドレスを削除した後、上位の任意のデバイスに再接続要求を行い、そのデバイスからアドレスを取得する手段を設けたものである。   According to a sixth invention (invention according to claim 6), in the fifth invention, when a duplicate address is detected in the first device, the duplicate address is deleted from the second memory and duplicated in a lower device. A means for sending an address deletion request by broadcasting is provided. When a duplicate address is detected in the third device, the duplicate address is deleted from the first memory, and a duplicate address deletion request is broadcast to the lower device. If the address assigned to itself is a duplicate address in response to a request for deleting a duplicate address from a higher-level device, the means for deleting the address from its own memory and the duplicate address are deleted. After that, there is a means for requesting reconnection to any upper device and obtaining an address from that device. When the second device receives a duplicate address deletion request from a higher-level device and the assigned address is a duplicate address, means for deleting the address from its own memory, and a duplicate address After deletion, a means for making a reconnection request to an arbitrary upper device and acquiring an address from the device is provided.

この第6発明によれば、例えば、第1のデバイスをコーディネータ、第2のデバイスをエンドデバイス、第3のデバイスをルータとする3層のツリー構造の無線通信システムとした場合、コーディネータは、重複アドレスを検出すると、その重複アドレスを第2のメモリより削除し、下位のデバイス(ルータ)に重複アドレスの削除要求をブロードキャストで送る。ルータは、重複アドレスを検出すると、その重複アドレスを第1のメモリより削除し、下位のデバイス(エンドデバイス)に重複アドレスの削除要求をブロードキャストで送る。
ルータは、コーディネータからの重複アドレスの削除要求を受けると、自己に割り当てられているアドレスが重複アドレスであった場合、そのアドレスを自己のメモリから削除する。そして、重複アドレスの削除後、上位の任意のデバイス(コーディネータ)に再接続要求を行い、そのデバイスからアドレスを取得する。
エンドデバイスは、ルータからの重複アドレスの削除要求を受けると、自己に割り当てられているアドレスが重複アドレスであった場合、そのアドレスを自己のメモリから削除する。そして、重複アドレスの削除後、上位の任意のデバイス(ルータ)に再接続要求を行い、そのデバイスからアドレスを取得する。
これにより、同じアドレスが割り当てられていたデバイスに異なるアドレスが与えられ、システム内のアドレスの重複が自動的に解消される。
According to the sixth aspect of the present invention, for example, when the wireless communication system has a three-layer tree structure in which the first device is a coordinator, the second device is an end device, and the third device is a router, the coordinator When the address is detected, the duplicate address is deleted from the second memory, and a duplicate address deletion request is broadcasted to a lower device (router). When the router detects the duplicate address, the router deletes the duplicate address from the first memory and sends a duplicate address deletion request to the lower device (end device) by broadcast.
When the router receives a duplicate address deletion request from the coordinator, if the address assigned to the router is a duplicate address, the router deletes the address from its own memory. After the duplicate address is deleted, a reconnection request is made to an arbitrary upper device (coordinator), and the address is acquired from the device.
When the end device receives a duplicate address deletion request from the router, if the address assigned to the end device is a duplicate address, the end device deletes the address from its own memory. After the duplicate address is deleted, a reconnection request is made to an arbitrary upper device (router), and the address is acquired from the device.
As a result, different addresses are given to devices to which the same address is assigned, and address duplication in the system is automatically resolved.

なお、本発明において、ツリー構造の無線通信システムは、3層のツリー構造に限られるものではなく、第1のデバイスと第2のデバイスで構成された2層のツリー構造としてもよく、また、第1のデバイスと第2のデバイスとの間に第3のデバイスを何層も設けた4層以上のツリー構造としてもよい。更に、このツリー構造の無線通信システムにおいて、第1のデバイスは1つであるが、第2のデバイスや第3のデバイスは状況に応じて多数設けられる。また、本発明は、無線通信システムとしてではなく、デバイス単体として構成することもできる。この場合、デバイスに、下位のデバイスより定期的に送信されてくるアドレスをそのアドレスに付加されている識別情報と対応づけてメモリに保存する手段と、下位のデバイスより送信されてきたアドレスが既にメモリに保存されていた場合、そのアドレスと対応して保存されている識別情報と送信されてきたアドレスに付加されている識別情報とを比較し、両者が異なっていた場合、送信されてきたアドレスを重複アドレスとして検出する手段とを設ける(第7発明(請求項7に係る発明))。また、重複アドレスが検出された場合、その重複アドレスをメモリより削除するとともに、下位のデバイスに重複アドレスの削除要求をブロードキャストで送る手段を設ける(第8発明(請求項8に係る発明))。この場合、デバイスは、コーディネータであってもよいし、ルータであってもよい。   In the present invention, the tree-structured wireless communication system is not limited to a three-layer tree structure, and may be a two-layer tree structure including a first device and a second device. A tree structure having four or more layers in which a plurality of third devices are provided between the first device and the second device may be used. Furthermore, in this tree-structured wireless communication system, there is one first device, but many second devices and third devices are provided depending on the situation. In addition, the present invention can be configured as a single device, not as a wireless communication system. In this case, the device periodically stores the address transmitted from the lower device in association with the identification information added to the address and the address transmitted from the lower device. If it is stored in the memory, the identification information stored corresponding to that address is compared with the identification information added to the transmitted address, and if they are different, the transmitted address Is provided as a duplicate address (seventh invention (invention according to claim 7)). In addition, when a duplicate address is detected, the duplicate address is deleted from the memory, and a means for broadcasting a duplicate address deletion request to a lower device is provided (eighth invention (invention according to claim 8)). In this case, the device may be a coordinator or a router.

第1発明によれば、第2のデバイスから自己に割り当てられたアドレスを自己の識別情報を付加して第1のデバイスへ定期的に送信するようにし、第1のデバイスにおいて、第2のデバイスより送信されてきたアドレスが既にメモリに保存されていた場合、そのアドレスと対応して保存されている識別情報と送信されてきたアドレスに付加されている識別情報とを比較し、両者が異なっていた場合、送信されてきたアドレスを重複アドレスとして検出するようにしたので、重複アドレスを検出する機能を第1のデバイスのみに設けるようにして、システム内の全てのアドレスの重複を安価な構成で検出することが可能となる。
第2発明によれば、第1のデバイスにおいて重複アドレスが検出された場合、第1のデバイスより下位のデバイスへ重複アドレスの削除要求をブロードキャストで送ることにより、重複アドレスを削除し、同じアドレスが割り当てられていたデバイスに異なるアドレスを与えるようにして、システム内の全てのアドレスの重複を自動的に解消することが可能となる。
According to the first invention, the address assigned to itself from the second device is periodically transmitted to the first device with its own identification information added, and the second device If the transmitted address is already stored in the memory, the identification information stored corresponding to the address is compared with the identification information added to the transmitted address, and the two are different. In this case, since the transmitted address is detected as a duplicate address, a function for detecting the duplicate address is provided only in the first device, so that all addresses in the system are duplicated with an inexpensive configuration. It becomes possible to detect.
According to the second invention, when a duplicate address is detected in the first device, the duplicate address is deleted by broadcasting a duplicate address deletion request to a device lower than the first device. By giving different addresses to assigned devices, it becomes possible to automatically eliminate duplication of all addresses in the system.

第3発明によれば、第2のデバイスおよび第3のデバイスから自己に割り当てられたアドレスを自己の識別情報を付加して第1のデバイスへ定期的に送信するようにし、第1のデバイスにおいて、第2のデバイスおよび第3のデバイスより送信されてきたアドレスが既にメモリに保存されていた場合、そのアドレスと対応して保存されている識別情報と送信されてきたアドレスに付加されている識別情報とを比較し、両者が異なっていた場合、送信されてきたアドレスを重複アドレスとして検出するようにしたので、重複アドレスを検出する機能を第1のデバイスのみに設けるようにして、システム内の全てのアドレスの重複を安価な構成で検出することが可能となる。
第4発明によれば、第1のデバイスにおいて重複アドレスが検出された場合、第1のデバイスより下位のデバイスへ重複アドレスの削除要求をブロードキャストで送ることにより、重複アドレスを削除し、同じアドレスが割り当てられていたデバイスに異なるアドレスを与えるようにして、システム内の全てのアドレスの重複を自動的に解消することが可能となる。
According to the third invention, the address assigned to itself from the second device and the third device is periodically transmitted to the first device by adding its own identification information, and in the first device When the addresses transmitted from the second device and the third device are already stored in the memory, the identification information stored corresponding to the addresses and the identification added to the transmitted address Compared with the information, if they are different, the transmitted address is detected as a duplicate address. Therefore, the function for detecting the duplicate address is provided only in the first device. It becomes possible to detect duplication of all addresses with an inexpensive configuration.
According to the fourth invention, when a duplicate address is detected in the first device, the duplicate address is deleted by broadcasting a duplicate address deletion request to a device lower than the first device, and the same address is By giving different addresses to assigned devices, it becomes possible to automatically eliminate duplication of all addresses in the system.

第5発明によれば、第2のデバイスおよび第3のデバイスから自己に割り当てられたアドレスを自己の識別情報を付加して上位のデバイスへ定期的に送信するようにし、第1のデバイスおよび第3のデバイスにおいて、1階層下のデバイスより定期的に送信されてきたアドレスが既にメモリに保存されていた場合、そのアドレスと対応して保存されている識別情報と送信されてきたアドレスに付加されている識別情報とを比較し、両者が異なっていた場合、送信されてきたアドレスを重複アドレスとして検出するようにしたので、重複アドレスを検出する機能をコーディネータおよびルータのみに設けるようにして、システム内の全てのアドレスの重複を安価な構成で検出することが可能となる。
第6発明によれば、第1のデバイスにおいて重複アドレスが検出された場合、第1のデバイスより下位のデバイスへ重複アドレスの削除要求をブロードキャストで送ることにより、また第3のデバイスにおいて重複アドレスが検出された場合、第3のデバイスより下位のデバイスへ重複アドレスの削除要求をブロードキャストで送ることにより、重複アドレスを削除し、同じアドレスが割り当てられていたデバイスに異なるアドレスを与えるようにして、システム内の全てのアドレスの重複を自動的に解消することが可能となる。
According to the fifth aspect of the invention, the addresses assigned to itself from the second device and the third device are periodically transmitted to the higher-level device with the identification information added thereto, In the device 3, if the address periodically transmitted from the device one layer below is already stored in the memory, it is added to the identification information stored corresponding to the address and the transmitted address. If the two are different from each other, the transmitted address is detected as a duplicate address. Therefore, the function for detecting the duplicate address is provided only in the coordinator and the router. It is possible to detect duplication of all addresses in the memory with an inexpensive configuration.
According to the sixth invention, when a duplicate address is detected in the first device, a duplicate address deletion request is broadcasted to a device lower than the first device, and the duplicate address is also found in the third device. If detected, a duplicate address deletion request is broadcasted to a device lower than the third device, so that the duplicate address is deleted and a different address is given to the device to which the same address is assigned. It becomes possible to automatically eliminate duplication of all addresses.

第7発明によれば、デバイスに、下位のデバイスより定期的に送信されてくるアドレスをそのアドレスに付加されている識別情報と対応づけてメモリに保存する手段と、送信されてきたアドレスが既にメモリに保存されていた場合、そのアドレスと対応して保存されている識別情報と送信されてきたアドレスに付加されている識別情報とを比較し、両者が異なっていた場合、送信されてきたアドレスを重複アドレスとして検出する手段とを設けるようにしたので、重複アドレスを検出する機能をコーディネータのみに設けたり、コーディネータおよびルータのみに設けたりして、ツリー構造の無線通信システム内の全てのアドレスの重複を安価な構成で検出することが可能となる。   According to the seventh aspect of the invention, the device stores the address periodically transmitted from the lower-level device in association with the identification information added to the address, and the transmitted address is already stored. If it is stored in the memory, the identification information stored corresponding to that address is compared with the identification information added to the transmitted address, and if they are different, the transmitted address Is provided as a duplicate address, so that a function for detecting duplicate addresses is provided only in the coordinator, or only in the coordinator and router, so that all addresses in the tree-structured wireless communication system can be detected. Duplication can be detected with an inexpensive configuration.

第8発明によれば、第7発明のデバイスに、重複アドレスが検出された場合、その重複アドレスをメモリより削除するとともに、下位のデバイスに重複アドレスの削除要求をブロードキャストで送る手段を設けるようにしたので、コーディネータより下位のデバイスへ重複アドレスの削除要求を与えたり、ルータより下位のデバイスへ重複アドレスの削除要求を与えたりして、重複アドレスを削除し、同じアドレスが割り当てられていたデバイスに異なるアドレスを与えるようにして、ツリー構造の無線通信システム内の全てのアドレスの重複を自動的に解消することが可能となる。   According to the eighth invention, when a duplicate address is detected in the device of the seventh invention, means for deleting the duplicate address from the memory and sending a duplicate address deletion request to the lower device by broadcasting are provided. Therefore, a duplicate address deletion request is given to a device lower than the coordinator, or a duplicate address deletion request is given to a device lower than the router, and the duplicate address is deleted. By giving different addresses, it becomes possible to automatically eliminate duplication of all addresses in the tree-structured wireless communication system.

以下、本発明を図面に基づいて詳細に説明する。
〔実施の形態1:重複検出機能をコーディネータのみに設けたシステム〕
図1はこの発明に係る無線通信システムの一例(実施の形態1)を示す概略図である。この無線通信システムは、ジグビーネットワークを利用した単純な例であり、最上位(第0層)に位置するコーディネータ10と、最下位(第2層)に位置するエンドデバイス30と、コーディネータ10とエンドデバイス30との間(第1層)に位置するルータ20とによって構成される。
Hereinafter, the present invention will be described in detail with reference to the drawings.
[Embodiment 1: System in which duplicate detection function is provided only in coordinator]
FIG. 1 is a schematic diagram showing an example (Embodiment 1) 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 (second layer), the coordinator 10 and the end. The router 20 is located between the devices 30 (first layer).

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

この無線通信システムにおいても、図13に示したジグビーネットワークと同様に、コーディネータ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, similarly to the ZigBee network shown in FIG. 13, when the router 20-1 is connected to the coordinator 10, the router 20-1 is brought close to the coordinator 10 and the power is turned on. 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とエンドデバイス30−1,30−2との間、ルータ20−2とエンドデバイス30−3,30−4との間で親子関係が結ばれる。これにより、ルータ20−2へアドレスAD4が割り当てられるとともに、コーディネータ10の接続情報テーブルT0にルータ20−2に割り当てたアドレスAD4と識別番号#2との対応関係が書き込まれる。また、エンドデバイス30−1,30−2にアドレスAD2,AD3が割り当てられるとともに、ルータ20−1の接続情報テーブルT1にエンドデバイス30−1,30−2に割り当てたアドレスAD2,AD3と識別番号#3,#4との対応関係が書き込まれる。また、エンドデバイス30−3,30−4にアドレスAD5,AD6が割り当てられるとともに、ルータ20−2の接続情報テーブルT1にエンドデバイス30−3,30−4に割り当てたアドレスAD5,AD6と識別番号#5,#6との対応関係が書き込まれる。   Similarly, between the coordinator 10 and the router 20-2, between the router 20-1 and the end devices 30-1 and 30-2, and between the router 20-2 and the end devices 30-3 and 30-4. The parent-child relationship is concluded. As a result, the address AD4 is assigned to the router 20-2, and the correspondence between the address AD4 assigned to the router 20-2 and the identification number # 2 is written in the connection information table T0 of the coordinator 10. The addresses AD2 and AD3 are assigned to the end devices 30-1 and 30-2, and the addresses AD2 and AD3 and the identification numbers assigned to the end devices 30-1 and 30-2 in the connection information table T1 of the router 20-1. The correspondence with # 3 and # 4 is written. The addresses AD5 and AD6 are assigned to the end devices 30-3 and 30-4, and the addresses AD5 and AD6 and the identification numbers assigned to the end devices 30-3 and 30-4 in the connection information table T1 of the router 20-2. The correspondence with # 5 and # 6 is written.

この無線通信システムにおいて、ルータ20およびエンドデバイス30は、自己に割り当てられたアドレスに自己の識別情報を付加し、コーディネータ10に定期的に送信する機能を備えている。例えば、エンドデバイス30−1は、自己に割り当てられたアドレスAD2に自己の識別番号#3を付加し、ルータ20−1を経由し、コーディネータ10に送る。ルータ20−1は、自己に割り当てられたアドレスAD1に自己の識別番号#1を付加し、コーディネータ10に送る。   In this wireless communication system, the router 20 and the end device 30 have a function of adding their own identification information to addresses assigned to themselves and periodically transmitting them to the coordinator 10. For example, the end device 30-1 adds its own identification number # 3 to the address AD2 assigned to itself and sends it to the coordinator 10 via the router 20-1. The router 20-1 adds its own identification number # 1 to the address AD1 assigned to itself and sends it to the coordinator 10.

また、この無線通信システムにおいて、コーディネータ10は、ルータ20およびエンドデバイス30から定期的に送られてくるアドレスをそのアドレスに付加されている識別番号と対応づけて重複検出用アドレステーブルTAに書き込む機能(重複検出用アドレス保存機能)、ルータ20およびエンドデバイス30から定期的に送られてきたアドレスが既にテーブルTAに書き込まれていた場合、そのアドレスと対応して書き込まれている識別情報と通知アドレスに付加されている識別情報とを比較し、両者が異なっていた場合、送られてきたアドレスを重複アドレスとして検出する機能(重複アドレス検出機能)、重複アドレスが検出された場合、その重複アドレスを重複検出用アドレステーブルTAより削除するとともに、そのアドレスを要求アドレスとして、下位のデバイス(ルータ20,エンドデバイス30)に重複アドレスの削除要求をブロードキャストで与える機能(重複アドレス削除要求機能)、および下位のデバイスとの親子関係を定めた接続情報テーブルT0に重複アドレスが含まれていた場合、そのアドレスを含む接続情報を削除する機能(接続情報削除機能)を備えている。   In this wireless communication system, the coordinator 10 also writes the address periodically sent from the router 20 and the end device 30 in association with the identification number added to the address in the duplicate detection address table TA. (Duplicate detection address storage function) When the address periodically sent from the router 20 and the end device 30 has already been written in the table TA, the identification information and the notification address written in correspondence with the address Compared with the identification information added to the URL, if both are different, the function to detect the sent address as a duplicate address (duplicate address detection function), if a duplicate address is detected, the duplicate address is It is deleted from the duplicate detection address table TA and its address Is a connection information table T0 that defines a function (duplicate address deletion request function) that gives a lower address device (router 20, end device 30) a request for deleting a duplicate address by broadcast and a parent-child relationship with the lower device. Has a function of deleting connection information including the address (connection information deletion function).

また、この無線通信システムにおいて、ルータ20およびエンドデバイス30は、コーディネータ10からの重複アドレスの削除要求を受けて、自己に割り当てられているアドレス(自アドレス)が重複アドレスであった場合、そのアドレスを削除する機能(重複アドレス削除機能)と、重複アドレスを削除した後、上位の任意のデバイスに再接続要求を行い、そのデバイスからアドレスを取得する機能(アドレス再取得機能)を有している。また、ルータ20は、上述した重複アドレス削除機能、アドレス再取得機能に加えて、コーディネータ10からの重複アドレスの削除要求を受けて、下位のデバイスとの親子関係を定めた接続情報テーブルT1に重複アドレスが含まれていた場合、そのアドレスを含む接続情報を削除する機能(接続情報削除機能)を有している。   Also, in this wireless communication system, when the router 20 and the end device 30 receive a duplicate address deletion request from the coordinator 10 and the address (self address) assigned to it is a duplicate address, the address Has a function to delete the IP address (duplicate address deletion function) and a function to request reconnection to any upper device after deleting the duplicate address and acquire the address from that device (address reacquisition function) . In addition to the duplicate address deletion function and the address reacquisition function described above, the router 20 receives a duplicate address deletion request from the coordinator 10 and duplicates the connection information table T1 that defines the parent-child relationship with the lower device. When an address is included, the connection information including the address is deleted (connection information deletion function).

図2にコーディネータ10の概略的なブロック図を示す。コーディネータ10は、処理部10Aと、RAM10Bと、EEPROM10Cと、RF回路(無線送受信回路)10Dとを備えている。処理部10Aは、上述した重複検出用アドレス保存機能、重複アドレス検出機能、重複アドレス削除要求機能、接続情報削除機能の他、基本的な機能として、ネットワーク宣言機能、親ノード機能、通信機能(ノード間通信機能、通信中継機能)などを備えている。これらの機能は、処理部10Aが実行するプログラムに従う処理動作として得られる。なお、EEPROM10Cには、コーディネータ10の識別番号、ネットワーク全体に対して付番可能なアドレスブロック、コーディネータ10に対して割り当てられるアドレス、接続情報テーブルT0、重複検出用アドレステーブルTAなどが格納される。   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. In addition to the above-described duplicate detection address storage function, duplicate address detection function, duplicate address deletion request function, and connection information deletion function, the processing unit 10A includes a network declaration function, a parent node function, a communication function (node Inter-communication function, communication relay function). These functions are obtained as processing operations according to a program executed by the processing unit 10A. The EEPROM 10C stores an identification number of the coordinator 10, an address block that can be assigned to the entire network, an address assigned to the coordinator 10, a connection information table T0, a duplicate detection address table TA, and the like.

図3にルータ20の概略的なブロック図を示す。ルータ20は、処理部20Aと、RAM20Bと、EEPROM20Cと、RF回路20Dとを備えている。処理部20Aは、上述した重複アドレス削除機能、アドレス再取得機能、接続情報削除機能の他、基本的な機能として、親ノード機能、通信機能(ノード間通信機能、通信中継機能)などを備えている。これらの機能は、処理部20Aが実行するプログラムに従う処理動作として得られる。なお、EEPROM20Cには、ルータ20の識別番号、上位のデバイスから送られてくる下位のデバイスに対して付番可能なアドレスブロック、接続情報テーブルT1などが格納される。RAM20Bには、ルータ20に対して割り当てられるアドレスなどが格納される。   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, communication relay function) and the like as basic functions in addition to the above-described duplicate address deletion function, address reacquisition function, and connection information deletion function. Yes. These functions are obtained as processing operations according to a program executed by the processing unit 20A. The EEPROM 20C stores an identification number of the router 20, an address block that can be assigned to a lower device sent from a higher device, a connection information table T1, and the like. The RAM 20B stores an address assigned to the router 20 and the like.

図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 duplicate address deletion function and the address reacquisition 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内の接続情報テーブルT1が失われることがある。ここで、接続情報テーブルT1が失われたルータ20に新たなデバイスが親子接続を求めた場合、既に割り当てられているアドレスをその親子接続を求めたデバイスに重複して割り当ててしまう可能性がある。
[Duplicate address]
In this wireless communication system, after the router 20 assigns an address to a lower device, the connection information table T1 in the router 20 may be lost due to some accident. Here, when a new device requests a parent-child connection to the router 20 in which the connection information table T1 has been lost, there is a possibility that an already assigned address is duplicated and assigned to the device that has obtained the parent-child connection. .

例えば、今、図5(a)に示すように、ルータ20−1の接続情報テーブルT1には、エンドデバイス30−1との親子関係が定められているが、エンドデバイス30−2との親子関係はまだ定められていないものとする。ここで、何らかの異常によりルータ20−1内の接続情報テーブルT1が消失し(図5(b))、ルータ20−1とエンドデバイス30−1との親子関係が失われたとする。このような状態で、例えばエンドデバイス30−2をルータ20−1に近づけて電源をオンとすると(図5(c))、エンドデバイス30−2からルータ20−1へアソシエイト接続要求が送られ、ルータ20−1との間で親子関係が結ばれる。   For example, as shown in FIG. 5A, the connection information table T1 of the router 20-1 has a parent-child relationship with the end device 30-1, but the parent-child relationship with the end device 30-2. The relationship has not yet been established. Here, it is assumed that the connection information table T1 in the router 20-1 is lost due to some abnormality (FIG. 5B), and the parent-child relationship between the router 20-1 and the end device 30-1 is lost. In this state, for example, when the end device 30-2 is brought close to the router 20-1 and the power is turned on (FIG. 5C), an associate connection request is sent from the end device 30-2 to the router 20-1. A parent-child relationship is established with the router 20-1.

この場合、ルータ20−1は、下位のデバイスへ割り当て可能なアドレスとしてアドレスAD2とAD3が残されているものと判断し、エンドデバイス30−2に対してアドレスAD2を割り当てるとともに、エンドデバイス30−2の識別番号#4とエンドデバイス30−2に割り当てたアドレスAD2とを対応づけて親子関係有りとして接続情報テーブルT1に書き込む。このため、エンドデバイス30−1のアドレスとエンドデバイス30−2のアドレスとが同じアドレスAD2となり、アドレスの重複が生じる。   In this case, the router 20-1 determines that the addresses AD2 and AD3 remain as addresses that can be assigned to the lower device, assigns the address AD2 to the end device 30-2, and also assigns the end device 30- 2 is associated with the address AD2 assigned to the end device 30-2 and written in the connection information table T1 as having a parent-child relationship. For this reason, the address of the end device 30-1 and the address of the end device 30-2 become the same address AD2, and address duplication occurs.

〔重複アドレスの検出〕
エンドデバイス30−2は、ルータ20−1からアドレスAD2が割り当てられると、定期的に、自己に割り当てられたアドレスAD2に自己の識別番号#4を付加し、ルータ20−1を経由して、コーディネータ10に送る(図5(d))。
[Duplicate address detection]
When the address AD2 is assigned from the router 20-1, the end device 30-2 periodically adds its own identification number # 4 to the address AD2 assigned to itself, and passes through the router 20-1. The data is sent to the coordinator 10 (FIG. 5D).

コーディネータ10は、エンドデバイス30−2から送られてくるアドレス(通知アドレス+識別番号)を受信し(図6に示すステップ101のYES)、エンドデバイス30−2からの通知アドレスが重複検出用アドレステーブルTAに書き込まれているか否かをチェックする(ステップ102)。ここで、通知されたアドレスが重複検出用アドレステーブルTAに書き込まれていなかった場合には、通知されたアドレスをそのアドレスに付加されている識別番号と対応して重複検出用アドレステーブルTAに書き込む(ステップ103)。   The coordinator 10 receives the address (notification address + identification number) sent from the end device 30-2 (YES in step 101 shown in FIG. 6), and the notification address from the end device 30-2 is a duplicate detection address. It is checked whether data is written in the table TA (step 102). Here, if the notified address is not written in the duplicate detection address table TA, the notified address is written in the duplicate detection address table TA in correspondence with the identification number added to the address. (Step 103).

通知されたアドレスが重複検出用アドレステーブルTAに書き込まれていた場合には、そのアドレスに対応する識別番号を重複検出用アドレステーブルTAから読み出して、通知されたアドレスに付加されている識別番号と比較する。ここで、識別番号が異なっていれば、通知されたアドレスを重複アドレスと判断し(ステップ104)、そのアドレスを対応する識別番号とともに重複検出用アドレステーブルTAから削除する(ステップ105)。   When the notified address is written in the duplicate detection address table TA, the identification number corresponding to the address is read from the duplicate detection address table TA, and the identification number added to the notified address and Compare. If the identification numbers are different, the notified address is determined as a duplicate address (step 104), and the address is deleted from the duplicate detection address table TA together with the corresponding identification number (step 105).

そして、重複アドレスと判断したアドレスが接続情報テーブルT0に含まれているか否かをチェックし(ステップ106)、接続情報テーブルT0に含まれていた場合には、その重複アドレスを含む接続情報を接続情報テーブルT0から削除したうえ(ステップ107)、下位のデバイスに重複アドレスの削除要求をブロードキャストで送る(ステップ108)。   Then, it is checked whether or not the address determined to be a duplicate address is included in the connection information table T0 (step 106). If it is included in the connection information table T0, the connection information including the duplicate address is connected. After deleting from the information table T0 (step 107), a duplicate address deletion request is sent by broadcast to the lower device (step 108).

なお、アドレスが同じで、識別番号も同じであれば、何もせずに、ステップ101へ戻る。また、識別番号が同じで、アドレスが異なる場合には、そのアドレスを重複検出用アドレステーブルTAから削除し(ステップ109)、通知されたアドレスをその識別番号に対応する新しいアドレスとして重複検出用アドレステーブルTAに書き込む(ステップ103)。   If the addresses are the same and the identification numbers are the same, the process returns to step 101 without doing anything. If the identification numbers are the same and the addresses are different, the addresses are deleted from the duplicate detection address table TA (step 109), and the notified address is used as a new address corresponding to the identification number. Write to table TA (step 103).

図5(d)に示した例では、コーディネータ10は、エンドデバイス30−2からのアドレスAD2を受信する(ステップ101のYES)。この場合、通知されたアドレスAD2は重複検出用アドレステーブルTAに書き込まれているので、そのアドレスに対応する識別番号#3を重複検出用アドレステーブルTAから読み出して、通知アドレスAD2に付加されている識別番号#4と比較する。   In the example shown in FIG. 5D, the coordinator 10 receives the address AD2 from the end device 30-2 (YES in Step 101). In this case, since the notified address AD2 is written in the duplication detection address table TA, the identification number # 3 corresponding to the address is read from the duplication detection address table TA and added to the notification address AD2. Compare with identification number # 4.

この比較の結果、識別番号が異なるので、コーディネータ10は、通知されたアドレスAD2を重複アドレスと判断し(ステップ104)、そのアドレスAD2を対応する識別番号とともに重複検出用アドレステーブルTAから削除する(ステップ105:図7(a))。   As a result of this comparison, since the identification numbers are different, the coordinator 10 determines that the notified address AD2 is a duplicate address (step 104) and deletes the address AD2 from the duplicate detection address table TA together with the corresponding identification number ( Step 105: FIG. 7 (a)).

そして、通知されたアドレスAD2が接続情報テーブルT0に含まれていないことを確認のうえ(ステップ106のNO)、アドレスAD2を要求アドレスとして、下位のデバイスに重複アドレスの削除要求をブロードキャストで送る(ステップ108、図7(a))。   Then, after confirming that the notified address AD2 is not included in the connection information table T0 (NO in step 106), the address AD2 is used as a request address, and a duplicate address deletion request is broadcasted to a lower-level device ( Step 108, FIG. 7 (a)).

なお、この例では、重複アドレスと判断されたアドレスAD2に対応づけられている識別番号#3も重複検出用アドレステーブルTAから削除するようにしたが、識別番号は削除せずに残しておくようにしてもよい。   In this example, the identification number # 3 associated with the address AD2 determined to be a duplicate address is also deleted from the duplicate detection address table TA, but the identification number is left without being deleted. It may be.

〔アドレスの重複解消〕
ルータ20は、コーディネータ10からの重複アドレスの削除要求を受けて(図8:ステップ201のYES)、要求アドレスが自アドレスであるか否かをチェックする(ステップ202)。要求アドレスが自アドレスであれば(ステップ202のYES)、自アドレスを削除する(ステップ203)。要求アドレスが自アドレスでなければ(ステップ202のNO)、その要求アドレスが接続情報テーブルT1に含まれているか否かをチェックする(ステップ206)。
[Resolve address duplication]
In response to the duplicate address deletion request from the coordinator 10 (FIG. 8: YES in step 201), the router 20 checks whether the requested address is its own address (step 202). If the request address is the self address (YES in step 202), the self address is deleted (step 203). If the request address is not its own address (NO in step 202), it is checked whether or not the request address is included in the connection information table T1 (step 206).

この場合、要求アドレスはアドレスAD2であり、自アドレスではないので、ステップ202のNOに応じてステップ206へ進み、要求アドレスAD2が接続情報テーブルT1に含まれているか否かをチェックする。そして、要求アドレスAD2が接続情報テーブルT1に含まれていることを確認し(ステップ206のYES)、要求アドレスAD2が含まれている接続情報を接続情報テーブルT1から削除する(ステップ207、図7(b))。   In this case, since the request address is the address AD2, not the own address, the process proceeds to step 206 in response to NO in step 202, and it is checked whether or not the request address AD2 is included in the connection information table T1. Then, it is confirmed that the request address AD2 is included in the connection information table T1 (YES in Step 206), and the connection information including the request address AD2 is deleted from the connection information table T1 (Step 207, FIG. 7). (B)).

なお、ルータ20−1は、要求アドレスが自アドレスであった場合(ステップ202のYES)、自身の電源をオフとすることによって、自アドレスを消去する(ステップ203)。そして、リスタートとし、上位の任意のデバイス(この例では、コーディネータ10)にアソシエイト接続要求(再接続要求)を送り、そのデバイスからアドレスを取得する(ステップ204,205)。   When the request address is the own address (YES in Step 202), the router 20-1 deletes the own address by turning off its own power (Step 203). Then, it is restarted, an associate connection request (reconnection request) is sent to an arbitrary upper device (in this example, the coordinator 10), and an address is acquired from the device (steps 204 and 205).

エンドデバイス30−1は、コーディネータ10からの重複アドレスの削除要求を受けて(図9:ステップ301のYES)、要求アドレスが自アドレスであるか否かをチェックする(ステップ302)。要求アドレスが自アドレスであれば(ステップ302のYES)、自アドレスを削除する(ステップ303)。   Upon receiving the duplicate address deletion request from the coordinator 10 (FIG. 9: YES in step 301), the end device 30-1 checks whether the requested address is its own address (step 302). If the request address is the self address (YES in step 302), the self address is deleted (step 303).

この場合、要求アドレスはアドレスAD2であり、自アドレスなので、ステップ302のYESに応じてステップ303へ進み、自身の電源をオフとすることによって、自アドレスを消去する(図7(b))。そして、この電源のオフ後、所定時間経過した後、自身の電源をオン(リスタート)とし、上位の任意のデバイス(この例では、ルータ20−1)にアソシエイト接続要求(再接続要求)を送り、そのデバイスからアドレスを取得する(ステップ304,305)。   In this case, since the request address is the address AD2 and is the own address, the process proceeds to step 303 in response to YES in step 302, and the own address is erased by turning off its own power supply (FIG. 7B). After a predetermined time elapses after the power is turned off, the power of the device is turned on (restarted), and an associate connection request (reconnection request) is sent to an arbitrary upper device (in this example, the router 20-1). The address is acquired from the device (steps 304 and 305).

この場合、図7(c)に示すように、エンドデバイス30−1からルータ20−1にアソシエイト接続要求が送られ(矢印(1))、ルータ20−1の接続情報テーブルT1にアドレスAD2と識別番号#3との対応が親子関係ありとして書き込まれ(矢印(2))、エンドデバイス30−1にアドレスAD2が割り当てられる(矢印(3))。   In this case, as shown in FIG. 7C, an associate connection request is sent from the end device 30-1 to the router 20-1 (arrow (1)), and the address AD2 is stored in the connection information table T1 of the router 20-1. The correspondence with the identification number # 3 is written as having a parent-child relationship (arrow (2)), and the address AD2 is assigned to the end device 30-1 (arrow (3)).

エンドデバイス30−2は、コーディネータ10からの重複アドレスの削除要求を受けて(図9:ステップ301のYES)、要求アドレスが自アドレスであるか否かをチェックする(ステップ302)。要求アドレスが自アドレスであれば(ステップ302のYES)、自アドレスを削除する(ステップ303)。   Upon receiving the duplicate address deletion request from the coordinator 10 (FIG. 9: YES in step 301), the end device 30-2 checks whether the request address is its own address (step 302). If the request address is the self address (YES in step 302), the self address is deleted (step 303).

この場合、要求アドレスはアドレスAD2であり、自アドレスなので、ステップ302のYESに応じてステップ303へ進み、自身の電源をオフとすることによって、自アドレスを消去する(図7(b))。そして、この電源のオフ後、所定時間経過した後、自身の電源をオン(リスタート)とし、上位の任意のデバイス(この例では、ルータ20−1)にアソシエイト接続要求(再接続要求)を送り、そのデバイスからアドレスを取得する(ステップ304,305)。   In this case, since the request address is the address AD2 and is the own address, the process proceeds to step 303 in response to YES in step 302, and the own address is erased by turning off its own power supply (FIG. 7B). After a predetermined time elapses after the power is turned off, the power of the device is turned on (restarted), and an associate connection request (reconnection request) is sent to an arbitrary upper device (in this example, the router 20-1). The address is acquired from the device (steps 304 and 305).

この場合、図7(c)に示すように、エンドデバイス30−3からルータ20−1にアソシエイト接続要求が送られ(矢印(4))、ルータ20−1の接続情報テーブルT1にアドレスAD3と識別番号#4との対応が親子関係ありとして書き込まれ(矢印(5))、エンドデバイス30−2にアドレスAD3が割り当てられる(矢印(6))。   In this case, as shown in FIG. 7C, an associate connection request is sent from the end device 30-3 to the router 20-1 (arrow (4)), and the address AD3 is stored in the connection information table T1 of the router 20-1. The correspondence with the identification number # 4 is written as having a parent-child relationship (arrow (5)), and the address AD3 is assigned to the end device 30-2 (arrow (6)).

なお、上述においては、エンドデバイス30−1,30−2間にアドレスの重複が生じた場合について説明したが、ルータ20−1,20−2間にアドレスの重複が生じたような場合にも、エンドデバイス30−1,30−2間と同様にして、コーディネータ10でアドレスの重複が検出され、自動的に解消されるものとなる。   In the above description, the case where address duplication occurs between the end devices 30-1 and 30-2 has been described, but the case where address duplication occurs between the routers 20-1 and 20-2 is also described. In the same manner as between the end devices 30-1 and 30-2, duplication of addresses is detected by the coordinator 10 and automatically resolved.

また、図1には単純な例を示したが、実際には最上位のコーディネータ10と最下位のエンドデバイス30との間にはルータ20が何層も位置し、さらにルータ20の数やエンドデバイス30の数も増大し、大規模な無線通信システムとされる。このようなシステムにおいても、図1に示した場合と同様にして、コーディネータ10でシステム内の全てのアドレスの重複を検出し、自動的に解消することができる。   Although a simple example is shown in FIG. 1, there are actually several layers of routers 20 between the highest level coordinator 10 and the lowest level end device 30. The number of devices 30 is also increased, resulting in a large-scale wireless communication system. In such a system as well, as in the case shown in FIG. 1, the coordinator 10 can detect duplication of all addresses in the system and automatically eliminate them.

このように、実施の形態1のシステムでは、コーディネータ10のみにアドレスの重複検出機能を設ければよく、ルータ20やエンドデバイス30にはアドレスの重複検出機能を設けなくてもよいので、安価な構成で、システム内の全てのアドレスの重複を検出することができるという効果が得られる。   As described above, in the system according to the first embodiment, only the coordinator 10 needs to have an address duplication detection function, and the router 20 and the end device 30 do not have to have an address duplication detection function. With the configuration, it is possible to detect the duplication of all addresses in the system.

〔実施の形態2:コーディネータの重複アドレス検出機能をルータに分散させたシステム〕
実施の形態1では、コーディネータ10のみでシステム内の全ての重複を検出するようにしているため、コーディネータ10の処理負荷やシステム全体の通信負荷が大きくなる。そこで、実施の形態2では、コーディネータ10の重複アドレス検出機能をルータ20に分散させたシステムとし、コーディネータ10の処理負荷やシステム全体の通信負荷を低減させるものとする。
[Embodiment 2: System in which coordinator's duplicate address detection function is distributed to routers]
In the first embodiment, since only the coordinator 10 detects all duplications in the system, the processing load on the coordinator 10 and the communication load on the entire system increase. Therefore, in the second embodiment, a system in which the duplicate address detection function of the coordinator 10 is distributed to the router 20 is assumed to reduce the processing load of the coordinator 10 and the communication load of the entire system.

この実施の形態2では、図10に示すように、エンドデバイス30−1,30−2からルータ20−1に定期的に自己のアドレスを自己の識別番号を付加して送るようにして、またエンドデバイス30−3,30−4からルータ20−2に定期的に自己のアドレスを自己の識別番号を付加して送るようにして、ルータ20−1および20−2に1階層下のデバイスに対する重複検出用アドレステーブルTBを作成させる。また、ルータ20−1,20−2からコーディネータ10に定期的に自己のアドレスを自己の識別番号を付加して送るようにして、コーディネータ10に1階層下のデバイスに対する重複検出用アドレステーブルTAを作成させる。   In the second embodiment, as shown in FIG. 10, the end device 30-1, 30-2 periodically sends its own address to the router 20-1 with its own identification number added, The end device 30-3, 30-4 periodically sends its own address to the router 20-2 with its own identification number added to the routers 20-1 and 20-2 with respect to the device one layer below. A duplicate detection address table TB is created. Further, the router 20-1, 20-2 periodically sends its own address to the coordinator 10 with its own identification number added, and the coordinator 10 is provided with a duplicate detection address table TA for the device one layer below. Let it be created.

〔アドレスの重複〕
例えば、今、図11(a)に示すように、ルータ20−1の接続情報テーブルT1には、エンドデバイス30−1との親子関係が定められているが、エンドデバイス30−2との親子関係はまだ定められていないものとする。また、ルータ20−1の重複検出用アドレステーブルTBには、エンドデバイス30−1のアドレスが識別番号と対応して書き込まれているものとする。
[Duplicate address]
For example, as shown in FIG. 11A, the connection information table T1 of the router 20-1 has a parent-child relationship with the end device 30-1, but the parent-child relationship with the end device 30-2. The relationship has not yet been established. In addition, it is assumed that the address of the end device 30-1 is written in correspondence with the identification number in the duplication detection address table TB of the router 20-1.

ここで、何らかの異常によりルータ20−1内の接続情報テーブルT1が消失し(図11(b))、ルータ20−1とエンドデバイス30−1との親子関係が失われたとする。このような状態で、例えばエンドデバイス30−2をルータ20−1に近づけて電源をオンとすると(図11(c))、エンドデバイス30−2からルータ20−1へアソシエイト接続要求が送られ、ルータ20−1との間で親子関係が結ばれる。   Here, it is assumed that the connection information table T1 in the router 20-1 is lost due to some abnormality (FIG. 11B), and the parent-child relationship between the router 20-1 and the end device 30-1 is lost. In this state, for example, when the end device 30-2 is brought close to the router 20-1 and the power is turned on (FIG. 11C), an associate connection request is sent from the end device 30-2 to the router 20-1. A parent-child relationship is established with the router 20-1.

この場合、ルータ20−1は、エンドデバイス30−2に対してアドレスAD2を割り当てるとともに、エンドデバイス30−2の識別番号#4とエンドデバイス30−2に割り当てたアドレスAD2とを対応づけて親子関係有りとして接続情報テーブルT1に書き込む。このため、エンドデバイス30−1のアドレスとエンドデバイス30−2のアドレスとが同じアドレスAD2となり、アドレスの重複が生じる。   In this case, the router 20-1 assigns the address AD2 to the end device 30-2, and associates the identification number # 4 of the end device 30-2 with the address AD2 assigned to the end device 30-2. Write to the connection information table T1 as having a relationship. For this reason, the address of the end device 30-1 and the address of the end device 30-2 become the same address AD2, and address duplication occurs.

〔重複アドレスの重複検出〕
エンドデバイス30−2は、ルータ20−1からアドレスAD2が割り当てられると、定期的に、自己に割り当てられたアドレスAD2に自己の識別番号#4を付加し、ルータ20−1に送る(図11(d))。
[Duplicate duplicate address detection]
When the address AD2 is assigned from the router 20-1, the end device 30-2 periodically adds its own identification number # 4 to the address AD2 assigned to itself and sends it to the router 20-1 (FIG. 11). (D)).

ルータ20−1は、エンドデバイス30−2から送られてくるアドレス(通知アドレス+識別番号)を受信し、エンドデバイス30−2からの通知アドレスが重複検出用アドレステーブルTBに書き込まれているか否かをチェックする。この場合、通知されたアドレスAD2は重複検出用アドレステーブルTBに書き込まれているので、そのアドレスに対応する識別番号#3を重複検出用アドレステーブルTBから読み出して、通知されたアドレスAD2に付加されている識別番号#4と比較する。   The router 20-1 receives the address (notification address + identification number) sent from the end device 30-2, and whether the notification address from the end device 30-2 is written in the duplication detection address table TB. To check. In this case, since the notified address AD2 is written in the duplicate detection address table TB, the identification number # 3 corresponding to the address is read from the duplicate detection address table TB and added to the notified address AD2. The identification number # 4 is compared.

この比較の結果、識別番号が異なるので、ルータ20−1は、通知されたアドレスAD2を重複アドレスと判断し、そのアドレスAD2を対応する識別番号とともに重複検出用アドレステーブルTBから削除する(図12(a))。また、通知されたアドレスAD2が接続情報テーブルT1に含まれていることを確認し、そのアドレスAD2を接続情報テーブルT1から削除したうえ、アドレスAD2を要求アドレスとし、エンドデバイス30−1および30−2に重複アドレスの削除要求をブロードキャストで送る(図12(a))。   Since the identification numbers are different as a result of the comparison, the router 20-1 determines that the notified address AD2 is a duplicate address, and deletes the address AD2 from the duplicate detection address table TB together with the corresponding identification number (FIG. 12). (A)). Further, it is confirmed that the notified address AD2 is included in the connection information table T1, the address AD2 is deleted from the connection information table T1, the address AD2 is used as a request address, and the end devices 30-1 and 30- 2 sends a duplicate address deletion request by broadcast (FIG. 12A).

〔アドレスの重複解消〕
エンドデバイス30−1は、ルータ20−1からの重複アドレスの削除要求を受けて、要求アドレスが自アドレスであるか否かをチェックする。この場合、要求アドレスはアドレスAD2であり、自アドレスなので、自身の電源をオフとし、自己アドレスを消去する(図12(b))。
[Resolve address duplication]
Upon receiving the duplicate address deletion request from the router 20-1, the end device 30-1 checks whether the requested address is its own address. In this case, the request address is the address AD2, and is the self address, so the power supply of the self is turned off and the self address is deleted (FIG. 12B).

そして、この電源のオフ後、所定時間経過した後、自身の電源をオン(リスタート)とし、ルータ20−1にアソシエイト接続要求(再接続要求)を送り、ルータ20−2からアドレスAD2を取得する(図12(c))。これにより、ルータ20−1の接続情報テーブルT1には、アドレスAD2がエンドデバイス30−1の識別番号#3と対応づけて、親子関係ありとして書き込まれる。   Then, after a predetermined time has elapsed after the power supply is turned off, the power supply is turned on (restarted), an associate connection request (reconnection request) is sent to the router 20-1, and the address AD2 is obtained from the router 20-2. (FIG. 12C). As a result, the address AD2 is written in the connection information table T1 of the router 20-1 as having a parent-child relationship in association with the identification number # 3 of the end device 30-1.

エンドデバイス30−2は、ルータ20−1からの重複アドレスの削除要求を受けて、要求アドレスが自アドレスであるか否かをチェックする。この場合、要求アドレスはアドレスAD2であり、自アドレスなので、自身の電源をオフとし、自己アドレスを消去する(図12(b))。   Upon receiving the duplicate address deletion request from the router 20-1, the end device 30-2 checks whether or not the request address is its own address. In this case, the request address is the address AD2, and is the self address, so the power supply of the self is turned off and the self address is erased (FIG. 12B).

そして、この電源のオフ後、所定時間経過した後、自身の電源をオン(リスタート)とし、ルータ20−1にアソシエイト接続要求(再接続要求)を送り、ルータ20−2からアドレスAD3を取得する(図12(c))。これにより、ルータ20−1の接続情報テーブルT1には、アドレスAD3がエンドデバイス30−2の識別番号#4と対応づけて、親子関係ありとして書き込まれる。   Then, after a predetermined time has elapsed after the power supply is turned off, the power supply is turned on (restarted), an associate connection request (reconnection request) is sent to the router 20-1, and the address AD3 is obtained from the router 20-2. (FIG. 12C). As a result, the address AD3 is written in the connection information table T1 of the router 20-1 in association with the identification number # 4 of the end device 30-2 as having a parent-child relationship.

エンドデバイス30−1は、ルータ20−1からアドレスAD2が割り当てられると、定期的に、自己に割り当てられたアドレスAD2に自己の識別番号#3を付加し、ルータ20−1へ送る。エンドデバイス30−2も同様に、ルータ20−1からアドレスAD3が割り当てられると、定期的に、自己に割り当てられたアドレスAD3に自己の識別番号#4を付加し、ルータ20−1へ送る。これにより、ルータ20−1には、エンドデバイス30−1および30−2からの通知アドレスを識別番号と対応して書き込んだ重複アドレス検出用テーブルTBが作成される(図12(d))。   When the address AD2 is assigned from the router 20-1, the end device 30-1 periodically adds its own identification number # 3 to the address AD2 assigned to itself and sends it to the router 20-1. Similarly, when the address AD3 is assigned from the router 20-1, the end device 30-2 periodically adds its own identification number # 4 to the address AD3 assigned to itself and sends it to the router 20-1. As a result, the duplicate address detection table TB in which the notification addresses from the end devices 30-1 and 30-2 are written in correspondence with the identification numbers is created in the router 20-1 (FIG. 12D).

なお、上述においては、エンドデバイス30−1,30−2間にアドレスの重複が生じた場合について説明したが、ルータ20−1,20−2間にアドレスの重複が生じた場合には、エンドデバイス30−1,30−2間と同様にして、コーディネータ10でアドレスの重複が検出され、自動的に解消されるものとなる。   In the above description, the case where address duplication occurs between the end devices 30-1 and 30-2 has been described. However, when address duplication occurs between the routers 20-1 and 20-2, the end In the same manner as between the devices 30-1 and 30-2, duplication of addresses is detected by the coordinator 10 and automatically resolved.

また、図10には単純な例を示したが、実際には最上位のコーディネータ10と最下位のエンドデバイス30との間にはルータ20が何層も位置し、さらにルータ20の数やエンドデバイス30の数も増大し、大規模な無線通信システムとされる。このようなシステムにおいても、図10に示した場合と同様にして、コーディネータ10やルータ20でシステム内の全てのアドレスの重複を検出し、自動的に解消することができる。   Although a simple example is shown in FIG. 10, there are actually several layers of routers 20 between the highest level coordinator 10 and the lowest level end device 30. The number of devices 30 is also increased, resulting in a large-scale wireless communication system. Even in such a system, as in the case shown in FIG. 10, duplication of all addresses in the system can be detected and automatically resolved by the coordinator 10 and the router 20.

このように、実施の形態2のシステムでは、コーディネータ10およびルータ20のみにアドレスの重複検出機能を設ければよく、エンドデバイス30にはアドレスの重複検出機能を設けなくてもよいので、安価な構成で、システム内の全てのアドレスの重複を検出することができるという効果が得られる。   Thus, in the system of the second embodiment, only the coordinator 10 and the router 20 need be provided with an address duplication detection function, and the end device 30 does not have to be provided with an address duplication detection function. With the configuration, it is possible to detect the duplication of all addresses in the system.

本発明に係る無線通信システムの一例(実施の形態1)を示す概略図である。It is the schematic which shows an example (Embodiment 1) 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 the process of the detection of the duplicate address in this radio | wireless communications system. コーディネータにおける重複アドレスの検出時の処理動作を示すフローチャートである。It is a flowchart which shows the processing operation at the time of the detection of the duplicate address in a coordinator. この無線通信システムにおけるアドレスの重複解消の過程を説明する図である。It is a figure explaining the process of address duplication elimination in this radio | wireless communications system. ルータにおけるアドレスの重複解消時の処理動作を示すフローチャートである。It is a flowchart which shows the processing operation at the time of address duplication elimination in a router. エンドデバイスにおけるアドレスの重複解理時の処理動作を示すフローチャートである。It is a flowchart which shows the processing operation at the time of address duplication resolution in an end device. 本発明に係る無線通信システムの他の例(実施の形態2)を示す概略図である。It is the schematic which shows the other example (Embodiment 2) of the radio | wireless communications system which concerns on this invention. この無線通信システムにおける重複アドレスの検出の過程を説明する図である。It is a figure explaining the process of the detection of the duplicate address in this radio | wireless communications system. この無線通信システムにおけるアドレスの重複解消の過程を説明する図である。It is a figure explaining the process of address duplication elimination in this radio | wireless communications system. 従来のジグビーネットワークの単純な例を示す図である。It is a figure which shows the simple example of the conventional ZigBee network. このジグビーネットワークで生じる可能性のあるアドレスの重複を説明する図である。It is a figure explaining the duplication of the address which may arise in this ZigBee network.

符号の説明Explanation of symbols

10…コーディネータ、10A…処理部、10B…ROM、10C…EEPROM、10D…RF回路、20(20−1,20−2)…ルータ、20A…処理部、20B…ROM、20C…EEPROM、20D…RF回路、30(30−1〜30−4)…エンドデバイス、30A…処理部、30B…ROM、30C…EEPROM、30D…RF回路、T0,T1…接続情報テーブル、TA,TB…重複アドレス検出用テーブル。   DESCRIPTION OF SYMBOLS 10 ... Coordinator, 10A ... Processing part, 10B ... ROM, 10C ... EEPROM, 10D ... RF circuit, 20 (20-1, 20-2) ... Router, 20A ... Processing part, 20B ... ROM, 20C ... EEPROM, 20D ... RF circuit, 30 (30-1 to 30-4) ... end device, 30A ... processing unit, 30B ... ROM, 30C ... EEPROM, 30D ... RF circuit, T0, T1 ... connection information table, TA, TB ... duplicate address detection For table.

Claims (8)

最上位に位置する第1のデバイスと、最下位に位置し自己のメモリに自己に割り当てられたアドレスを記憶する第2のデバイスとを少なくとも備えたツリー構造の無線通信システムにおいて、
前記第2のデバイスは、
自己に割り当てられたアドレスに自己の識別情報を付加して前記第1のデバイスへ定期的に送信する手段を備え、
前記第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:
Means for periodically transmitting to the first device by adding its own identification information to an address assigned to itself;
The first device is:
Means for storing the address transmitted from the second device in the memory in association with the identification information added to the address;
When the address transmitted from the second device is already stored in the memory, the identification information stored corresponding to the address is compared with the identification information added to the transmitted address. And a means for detecting the transmitted address as a duplicate address when they are different from each other.
請求項1に記載された無線通信システムにおいて、
前記第1のデバイスは、さらに、
前記重複アドレスが検出された場合、その重複アドレスを前記メモリより削除するとともに、下位のデバイスに重複アドレスの削除要求をブロードキャストで送る手段を備え、
前記第2のデバイスは、さらに、
前記第1のデバイスからの重複アドレスの削除要求を受けて、自己に割り当てられているアドレスが重複アドレスであった場合、そのアドレスを自己のメモリから削除する手段と、
前記重複アドレスを削除した後、上位の任意のデバイスに再接続要求を行い、そのデバイスからアドレスを取得する手段と
を備えることを特徴とする無線通信システム。
The wireless communication system according to claim 1, wherein
The first device further includes:
When the duplicate address is detected, the duplicate address is deleted from the memory, and a means for sending a duplicate address deletion request to a lower device by broadcasting is provided.
The second device further includes:
In response to the duplicate address deletion request from the first device, if the address assigned to itself is a duplicate address, means for deleting the address from its own memory;
A wireless communication system comprising: means for making a reconnection request to an arbitrary upper device after acquiring the duplicate address, and acquiring an address from the device.
最上位に位置する第1のデバイスと、最下位に位置し自己のメモリに自己に割り当てられたアドレスを記憶する第2のデバイスと、この第1のデバイスと第2のデバイスとの間に位置し自己のメモリに自己に割り当てられたアドレスを記憶する第3のデバイスとを少なくとも備えたツリー構造の無線通信システムにおいて、
前記第2のデバイスおよび第3のデバイスは、
自己に割り当てられたアドレスに自己の識別情報を付加して前記第1のデバイスへ定期的に送信する手段を備え、
前記第1のデバイスは、
前記第2のデバイスおよび第3のデバイスより送信されてくるアドレスをそのアドレスに付加されている識別情報と対応づけてメモリに保存する手段と、
前記第2のデバイスおよび第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 second device and the third device are:
Means for periodically transmitting to the first device by adding its own identification information to an address assigned to itself;
The first device is:
Means for storing the addresses transmitted from the second device and the third device in a memory in association with the identification information added to the addresses;
When the addresses transmitted from the second device and the third device are already stored in the memory, the identification information stored corresponding to the addresses and the transmitted address are added. A wireless communication system comprising: means for comparing the identification information and, if they are different from each other, detecting the transmitted address as a duplicate address.
請求項3に記載された無線通信システムにおいて、
前記第1のデバイスは、さらに、
前記重複アドレスが検出された場合、その重複アドレスを前記メモリより削除するとともに、下位のデバイスに重複アドレスの削除要求をブロードキャストで送る手段を備え、
前記第2および第3のデバイスは、さらに、
前記第1のデバイスからの重複アドレスの削除要求を受けて、自己に割り当てられているアドレスが重複アドレスであった場合、そのアドレスを自己のメモリから削除する手段と、
前記重複アドレスを削除した後、上位の任意のデバイスに再接続要求を行い、そのデバイスからアドレスを取得する手段と
を備えることを特徴とする無線通信システム。
The wireless communication system according to claim 3,
The first device further includes:
When the duplicate address is detected, the duplicate address is deleted from the memory, and a means for sending a duplicate address deletion request to a lower device by broadcasting is provided.
The second and third devices further include:
In response to the duplicate address deletion request from the first device, if the address assigned to itself is a duplicate address, means for deleting the address from its own memory;
A wireless communication system comprising: means for making a reconnection request to an arbitrary upper device after acquiring the duplicate address, and acquiring an address from the device.
最上位に位置する第1のデバイスと、最下位に位置し自己のメモリに自己に割り当てられたアドレスを記憶する第2のデバイスと、この第1のデバイスと第2のデバイスとの間に位置し自己のメモリに自己に割り当てられたアドレスを記憶する第3のデバイスとを少なくとも備えたツリー構造の無線通信システムにおいて、
前記第2のデバイスは、
自己に割り当てられたアドレスに自己の識別情報を付加して上位のデバイスへ定期的に送信する手段を備え、
前記第3のデバイスは、
自己に割り当てられたアドレスに自己の識別情報を付加して上位のデバイスへ定期的に送信する手段と、
1階層下のデバイスより定期的に送信されてくるアドレスをそのアドレスに付加されている識別情報と対応づけて第1のメモリに保存する手段と、
1階層下のデバイスより定期的に送信されてきたアドレスが既に前記第1のメモリに保存されていた場合、そのアドレスと対応して保存されている識別情報と送信されてきたアドレスに付加されている識別情報とを比較し、両者が異なっていた場合、前記送信されてきたアドレスを重複アドレスとして検出する手段とを備え、
前記第1のデバイスは、
1階層下のデバイスより定期的に送信されてくるアドレスをそのアドレスに付加されている識別情報と対応づけて第2のメモリに保存する手段と、
1階層下のデバイスより定期的に送信されてきたアドレスが既に前記第2のメモリに保存されていた場合、そのアドレスと対応して保存されている識別情報と送信されてきたアドレスに付加されている識別情報とを比較し、両者が異なっていた場合、前記送信されてきたアドレスを重複アドレスとして検出する手段と
を備えることを特徴とする無線通信システム。
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 second device is:
A means for periodically transmitting to an upper device by adding its own identification information to an address assigned to itself,
The third device is:
Means for periodically transmitting to the higher-level device by adding its own identification information to the address assigned to itself;
Means for associating an address periodically transmitted from a device under one layer with the identification information added to the address in a first memory;
When the address periodically transmitted from the device one layer below is already stored in the first memory, the identification information stored corresponding to the address is added to the transmitted address. And a means for detecting the transmitted address as a duplicate address when both are different from each other,
The first device is:
Means for associating an address periodically transmitted from a device under one layer with the identification information added to the address in a second memory;
When the address periodically transmitted from the device one layer below is already stored in the second memory, the identification information stored corresponding to the address is added to the transmitted address. And a means for detecting the transmitted address as a duplicate address when they are different from each other.
請求項5に記載された無線通信システムにおいて、
前記第1のデバイスは、さらに、
前記重複アドレスが検出された場合、その重複アドレスを前記第2のメモリより削除するとともに、下位のデバイスに重複アドレスの削除要求をブロードキャストで送る手段を備え、
前記第3のデバイスは、さらに、
前記重複アドレスが検出された場合、その重複アドレスを前記第1のメモリより削除するとともに、下位のデバイスに重複アドレスの削除要求をブロードキャストで送る手段と、
上位のデバイスからの重複アドレスの削除要求を受けて、自己に割り当てられているアドレスが重複アドレスであった場合、そのアドレスを自己のメモリから削除する手段と、
前記重複アドレスを削除した後、上位の任意のデバイスに再接続要求を行い、そのデバイスからアドレスを取得する手段とを備え、
前記第2のデバイスは、さらに、
上位のデバイスからの重複アドレスの削除要求を受けて、自己に割り当てられているアドレスが重複アドレスであった場合、そのアドレスを自己のメモリから削除する手段と、
前記重複アドレスを削除した後、上位の任意のデバイスに再接続要求を行い、そのデバイスからアドレスを取得する手段と
を備えることを特徴とする無線通信システム。
The wireless communication system according to claim 5, wherein
The first device further includes:
When the duplicate address is detected, the duplicate address is deleted from the second memory, and a duplicate address deletion request is broadcasted to a lower-level device.
The third device further includes:
When the duplicate address is detected, the duplicate address is deleted from the first memory, and a duplicate address deletion request is broadcasted to a lower device, and
In response to a duplicate address deletion request from a higher-level device, if the address assigned to itself is a duplicate address, means for deleting the address from its own memory;
A means for performing a reconnection request to an arbitrary upper device after deleting the duplicate address, and obtaining an address from the device; and
The second device further includes:
In response to a duplicate address deletion request from a higher-level device, if the address assigned to itself is a duplicate address, means for deleting the address from its own memory;
A wireless communication system comprising: means for making a reconnection request to an arbitrary upper device after acquiring the duplicate address, and acquiring an address from the device.
下位のデバイスより定期的に送信されてくるアドレスをそのアドレスに付加されている識別情報と対応づけてメモリに保存する手段と、
前記下位のデバイスより定期的に送信されてきたアドレスが既に前記メモリに保存されていた場合、そのアドレスと対応して保存されている識別情報と送信されてきたアドレスに付加されている識別情報とを比較し、両者が異なっていた場合、前記送信されてきたアドレスを重複アドレスとして検出する手段と
を備えることを特徴とするデバイス。
Means for storing the address periodically transmitted from the lower-level device in the memory in association with the identification information added to the address;
When an address periodically transmitted from the lower device has already been stored in the memory, identification information stored corresponding to the address and identification information added to the transmitted address; And a means for detecting the transmitted address as a duplicate address when the two are different from each other.
請求項7に記載されたデバイスにおいて、さらに、
前記重複アドレスが検出された場合、その重複アドレスを前記メモリより削除するとともに、下位のデバイスに重複アドレスの削除要求をブロードキャストで送る手段
を備えることを特徴とするデバイス。
The device of claim 7, further comprising:
A device comprising: means for deleting a duplicate address from the memory when the duplicate address is detected, and sending a duplicate address deletion request to a lower device by broadcast.
JP2006333246A 2006-12-11 2006-12-11 Radio communication system and device Pending JP2008148029A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006333246A JP2008148029A (en) 2006-12-11 2006-12-11 Radio communication system and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006333246A JP2008148029A (en) 2006-12-11 2006-12-11 Radio communication system and device

Publications (1)

Publication Number Publication Date
JP2008148029A true JP2008148029A (en) 2008-06-26

Family

ID=39607708

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006333246A Pending JP2008148029A (en) 2006-12-11 2006-12-11 Radio communication system and device

Country Status (1)

Country Link
JP (1) JP2008148029A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010028177A (en) * 2008-07-15 2010-02-04 Fuji Electric Systems Co Ltd Wireless communication network system, unregistered wireless terminal therefor, registered wireless terminal, id management wireless terminal, and program
JP2010028170A (en) * 2008-07-15 2010-02-04 Fuji Electric Systems Co Ltd Wireless communication network system, id management wireless terminal therefor, and program
JP2011077750A (en) * 2009-09-30 2011-04-14 Nec Access Technica Ltd Method, system and program for managing terminal device
JP2011259134A (en) * 2010-06-08 2011-12-22 Nec Access Technica Ltd Management method of terminal equipment, terminal equipment, program and network system
JP2012070132A (en) * 2010-09-22 2012-04-05 Yamatake Corp Radio communication system
JP2014123791A (en) * 2012-12-20 2014-07-03 Sharp Corp Radio telemeter system

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010028177A (en) * 2008-07-15 2010-02-04 Fuji Electric Systems Co Ltd Wireless communication network system, unregistered wireless terminal therefor, registered wireless terminal, id management wireless terminal, and program
JP2010028170A (en) * 2008-07-15 2010-02-04 Fuji Electric Systems Co Ltd Wireless communication network system, id management wireless terminal therefor, and program
JP2011077750A (en) * 2009-09-30 2011-04-14 Nec Access Technica Ltd Method, system and program for managing terminal device
JP2011259134A (en) * 2010-06-08 2011-12-22 Nec Access Technica Ltd Management method of terminal equipment, terminal equipment, program and network system
JP2012070132A (en) * 2010-09-22 2012-04-05 Yamatake Corp Radio communication system
CN102413567A (en) * 2010-09-22 2012-04-11 株式会社山武 Radio communication system
CN102413567B (en) * 2010-09-22 2014-10-15 阿自倍尔株式会社 Radio communication system
JP2014123791A (en) * 2012-12-20 2014-07-03 Sharp Corp Radio telemeter system

Similar Documents

Publication Publication Date Title
US7899053B2 (en) Optimal path routing method in wireless network
US20080008109A1 (en) Method and apparatus for bridging wireless control networks
JP2008148029A (en) Radio communication system and device
US9125044B2 (en) Method for generating and registering identification in wireless sensor network
US8732338B2 (en) Mesh network bridge routing
JPH09214516A (en) Moving terminal and movement corresponded network
CN102340410B (en) Cluster management system and method
KR101257618B1 (en) Wireless communication system
JP7187849B2 (en) Data collection system and data collection method
KR100425560B1 (en) Lan path control system and method capable of easy changing active port of terminal
KR102109911B1 (en) Method and its apparatus for controlling topology in beamforming system
JP2023512143A (en) Communication method adopting Bluetooth network and node and communication system applying same
CN104812021A (en) Method and device for accessing AC (access controller) by AP (access point)
JP2007329653A (en) Node management system, node, and terminal device for management
JP4851311B2 (en) Wireless communication system
JP2008148027A (en) Radio communication system and device
JP5893211B2 (en) Gateway device
JP5457124B2 (en) Wireless communication system
JP4933238B2 (en) Wireless communication system and device
JP5325183B2 (en) Wireless communication system
US10512026B2 (en) Technique for mediation in a residential network
CN107612719A (en) The data back up method and device of Internet of Things access point
JP4913572B2 (en) Wireless communication system and device
JP2007089010A (en) Wireless device and network system
US20150080028A1 (en) Notification method, notification system and terminal for scenery area based on Ad Hoc network