JP2006238300A - Wireless communication device and wireless communication system using the same - Google Patents

Wireless communication device and wireless communication system using the same Download PDF

Info

Publication number
JP2006238300A
JP2006238300A JP2005053126A JP2005053126A JP2006238300A JP 2006238300 A JP2006238300 A JP 2006238300A JP 2005053126 A JP2005053126 A JP 2005053126A JP 2005053126 A JP2005053126 A JP 2005053126A JP 2006238300 A JP2006238300 A JP 2006238300A
Authority
JP
Japan
Prior art keywords
address
terminal
signal
wireless communication
response
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
JP2005053126A
Other languages
Japanese (ja)
Inventor
Haruhiko Hyozu
春彦 兵主
Haruhiro Kuboyama
晴弘 久保山
Mitsuyo Ishida
美津代 石田
Toshiaki Koizumi
豪章 小泉
Akinori Hashimoto
明典 橋本
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.)
Panasonic Electric Works Co Ltd
Original Assignee
Matsushita Electric Works Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Works Ltd filed Critical Matsushita Electric Works Ltd
Priority to JP2005053126A priority Critical patent/JP2006238300A/en
Publication of JP2006238300A publication Critical patent/JP2006238300A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To minimize traffic imposed on a master terminal when the master terminal automatically carry out address settings of terminals attended with extension of the terminals and revision of a communication path or like processing in a wireless communication device achieved as a relay terminal in a wireless communication system such as a wireless sensor system. <P>SOLUTION: In the wireless communication system adopting the multi-hop communication system wherein terminals T11 to T1m; T21 to T2n; T3 (referred to as T as a generic term) make communication with the master terminal 1 directly or via relay terminals T10, T20 (referred to as T0 as a generic term), the terminal T generates a tentative address in a step 1, the terminal T generates an address request signal by using the tentative address for a sender address, and transmits it through broadcast or multicast in a step 2. The relay terminal T0 responds thereto by acting as a representative of the master terminal 1, acquires a formal address from the master terminal 1, transfers it to the terminal T, and retransmits the formal address when the terminal T0 cannot obtain an acknowledgement signal. Thus, the traffic imposed on the master terminal can be minimized. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、中継端末として使用される無線通信装置およびそれに親端末と複数の端末とを備えて構成される無線通信システムに関し、特に親端末が端末のアドレスを自動的に付与するアドレス設定の方法に関する。   The present invention relates to a wireless communication apparatus used as a relay terminal and a wireless communication system configured to include a parent terminal and a plurality of terminals, and in particular, an address setting method in which a parent terminal automatically assigns an address of a terminal. About.

前記親端末と複数の端末とを備えて構成される通信システムは、たとえばビル内の監視装置などで実現される。その場合、温度や湿度などのセンサを搭載した多くの端末が分散して設置され、それらの端末からのデータを親端末が集約したり、該親端末を介して監視装置などの他の機器へその集約したデータを転送したり、該親端末や前記他の機器からの制御信号によって各端末を制御したりすることが、前記通信システムによって行われる。このような用途に用いられる通信システムには、テナントの入れ替わりやオフィスの模様替えなどに容易に対応することができ、また設置工事も容易な無線通信が好ましい。   A communication system including the parent terminal and a plurality of terminals is realized by a monitoring device in a building, for example. In that case, many terminals equipped with sensors such as temperature and humidity are installed in a distributed manner, and the parent terminal aggregates data from these terminals or to other devices such as a monitoring device via the parent terminal. The aggregated data is transferred and each terminal is controlled by the control signal from the parent terminal or the other device. The communication system used for such a purpose is preferably wireless communication that can easily cope with a tenant change, an office change, and the like and can be easily installed.

そして、その多くの端末の設置時や、新たな端末の増設時には、各端末にアドレスを設定する必要がある。この作業は非常に面倒であり、また端末に直接アドレスを入力するディップスイッチのような入力手段を設けると部品点数も多くなるので、従来から、アドレスを自動設定することが行われている。   When many terminals are installed or new terminals are added, it is necessary to set an address for each terminal. This operation is very troublesome, and if an input means such as a dip switch for directly inputting an address is provided in the terminal, the number of parts increases, so that the address is automatically set conventionally.

そのようなアドレス自動付与の技術は、たとえば本件出願人が、先に特許文献1で提案している。その未公開の技術によれば、端末は、予め定められる仮アドレスを送信元アドレスとして、親端末へアドレス要求信号を送信する。それを受信すると、親端末は、既に割当てたアドレスを記憶しているデータベースを検索し、未割当てのアドレスを抽出して、仮アドレスの端末に、正式アドレスを含むアドレス応答信号を返信する。こうして、重複のないアドレスが自動的に付与されている。
特願2004−276681号
Such an automatic address assignment technique has been previously proposed in Patent Document 1 by, for example, the present applicant. According to the undisclosed technology, the terminal transmits an address request signal to the parent terminal using a predetermined temporary address as a transmission source address. Upon receiving this, the parent terminal searches a database storing already assigned addresses, extracts unassigned addresses, and returns an address response signal including a formal address to the terminal of the temporary address. In this way, a unique address is automatically assigned.
Japanese Patent Application No. 2004-276681

上述の未公開の技術は、親端末と多くの端末から成る1:Nの通信システムである。したがって、各端末は直接親端末と通信して、その親端末でアドレス設定が正しく行われたかを判断しており、判断は容易で、またトラヒックは必要最小限のものとなる。   The above-mentioned undisclosed technology is a 1: N communication system including a parent terminal and many terminals. Accordingly, each terminal directly communicates with the parent terminal to determine whether the address setting is correctly performed at the parent terminal, and the determination is easy and the traffic is minimized.

しかしながら、前述のように中継端末を順に介してパケットが送信されてゆく、いわゆるマルチホップ方式の通信システムでは、親端末で、中継端末と端末との間の通信がうまくいっているかを判断することは難しく、またどこかで通信エラーが生じると、総ての経路で通信をやり直さなければならず、アドレス設定のトラヒックが増大してしまう。   However, in the so-called multi-hop communication system in which packets are transmitted sequentially through the relay terminals as described above, the parent terminal determines whether communication between the relay terminal and the terminal is successful. If a communication error occurs somewhere, communication must be performed again on all routes, increasing traffic for address setting.

本発明の目的は、親端末と端末とが中継端末を介して通信を行うマルチホップ方式の無線通信システムにおいて、端末に自動的にアドレス付与を行うにあたって、親端末へのトラヒックを削減することができる無線通信装置およびそれを用いる無線通信システムを提供することである。   An object of the present invention is to reduce traffic to a parent terminal when automatically assigning an address to a terminal in a multi-hop wireless communication system in which a parent terminal and a terminal communicate with each other via a relay terminal. It is to provide a wireless communication device that can be used and a wireless communication system using the same.

本発明の無線通信装置によれば、ワイヤレスセンサシステムなどの無線通信システムにおける中継端末として実現される無線通信装置において、端末の増設や通信経路の変更などに伴う端末のアドレス設定を自動で行うにあたって、端末が予め定められるまたは任意に発生した仮アドレスで、親端末に正式なアドレスの付与を求めるアドレス要求信号を送信すると、中継端末となる本発明の無線通信装置における信号処理部は、それを親端末に転送し、また親端末から受信した正式アドレスを含むアドレス応答信号を端末に転送するように、通常の転送と同様に、送信先アドレスや送信元アドレスの書換えを行う代理アドレス要求機能および代理アドレス応答機能を備える。   According to the wireless communication device of the present invention, in the wireless communication device realized as a relay terminal in a wireless communication system such as a wireless sensor system, the terminal address setting is automatically performed when the number of terminals is increased or the communication path is changed. When the terminal transmits a request signal for requesting a formal address to the parent terminal with a predetermined or arbitrarily generated temporary address, the signal processing unit in the wireless communication apparatus of the present invention, which becomes a relay terminal, Proxy address request function that rewrites the destination address and the source address in the same way as normal transfer so that the address response signal including the formal address received from the parent terminal is transferred to the terminal. A proxy address response function is provided.

一方、親端末が端末に直接アドレス付与を行う場合、通常、親端末は、正式アドレスの付与による端末からの応答確認信号を受信するまで前記アドレス応答信号を再送信することになるが、本発明の無線通信装置における信号処理部は、代理応答確認機能によって、先ず付与された正式アドレスを含むアドレス応答転送信号を端末に転送すると、親端末に代理応答確認信号を送信して前記正式アドレスを決定させ、親端末との間で、それ以降の通信が発生しないようにする。次に、端末との間では、前記アドレス応答転送信号を転送してから、正式アドレスの付与によって端末から送信される応答確認信号を受信するまで、前記アドレス応答転送信号を再送信する。   On the other hand, when the parent terminal directly assigns an address to the terminal, the parent terminal usually retransmits the address response signal until receiving a response confirmation signal from the terminal by giving the official address. The signal processing unit in the wireless communication apparatus first transmits an address response transfer signal including the assigned formal address to the terminal by the proxy response confirmation function, and transmits the proxy response confirmation signal to the parent terminal to determine the formal address. The subsequent communication is prevented from occurring with the parent terminal. Next, the address response transfer signal is retransmitted between the terminal and the terminal until the response confirmation signal transmitted from the terminal by receiving the official address is received after the address response transfer signal is transferred.

したがって、端末で正式アドレスを含むアドレス応答転送信号が正しく受信できなかったり、端末からの応答確認信号を中継端末が正しく受信できなかったりしても、再送信は中継端末となる該無線通信装置と端末との間で行われるので、親端末へのトラヒックを最小限にすることができる。   Therefore, even if the address response transfer signal including the official address cannot be correctly received by the terminal or the relay terminal cannot correctly receive the response confirmation signal from the terminal, the retransmission is performed with the wireless communication device serving as the relay terminal. Since the communication is performed with the terminal, traffic to the parent terminal can be minimized.

また、本発明の無線通信装置によれば、端末から正式アドレスを付与したことに対する応答確認信号を受信する前に、代理応答確認機能が親端末に代理応答確認信号を送信して正式アドレスを決定させているので、前記アドレス応答転送信号の予め定める回数の再送信によっても端末からの応答確認信号を受信できず、実際に正式アドレスを設定できているかどうか分からない場合に、要求取消し機能が、親端末に取消し信号を送信し、付与した正式アドレスを開放させる。したがって、アドレス資源を有効に使用することができる。   In addition, according to the wireless communication device of the present invention, before receiving a response confirmation signal for giving a formal address from the terminal, the proxy response confirmation function transmits a proxy response confirmation signal to the parent terminal to determine the formal address. Therefore, even when the address response transfer signal is retransmitted a predetermined number of times, it is not possible to receive a response confirmation signal from the terminal, and when it is not known whether the official address can be actually set, the request cancellation function is A cancellation signal is transmitted to the parent terminal, and the assigned formal address is released. Therefore, the address resource can be used effectively.

さらにまた、本発明の無線通信システムによれば、前記の無線通信装置を中継端末として備えるとともに、親端末および複数の端末を備えて成るマルチホップ通信方式の無線通信システムを構築する。したがって、アドレス自動設定時の親端末へのトラヒックを最小限にすることができるマルチホップ通信方式の無線通信システムを実現することができる。   Furthermore, according to the radio communication system of the present invention, a multi-hop communication system radio communication system including the above-described radio communication apparatus as a relay terminal and including a parent terminal and a plurality of terminals is constructed. Therefore, it is possible to realize a multi-hop communication wireless communication system capable of minimizing traffic to the parent terminal at the time of automatic address setting.

また、本発明の無線通信システムによれば、前記のマルチホップ通信方式の無線通信システムにおいて、中継端末の代理アドレス要求機能は、アドレス要求転送信号に添付すべき仮アドレスの代りに、前記仮アドレスよりもデータ長の短い任意の管理番号を添付し、親端末は、アドレス要求にその管理番号を受信すると正式アドレスを付与するように構成されており、中継端末の代理アドレス要求機能は、親端末から付与された正式アドレスを含むアドレス応答信号を受信すると、送信先アドレスを前記管理番号に対応した仮アドレスに書換えて前記アドレス応答転送信号を作成する。   Also, according to the wireless communication system of the present invention, in the wireless communication system of the multi-hop communication method, the proxy address request function of the relay terminal is the temporary address instead of the temporary address to be attached to the address request transfer signal. An arbitrary management number with a shorter data length is attached, and the parent terminal is configured to give a formal address when receiving the management number in the address request. The proxy address request function of the relay terminal is When the address response signal including the official address given from is received, the address response transfer signal is created by rewriting the transmission destination address to the temporary address corresponding to the management number.

したがって、親端末との間で、前記管理番号に対して正式アドレスを付与することを予め定めておくことで、親端末と中継端末との間のアドレス要求転送信号およびアドレス応答信号のデータ長を短くして、一層トラヒックを削減することができる。   Accordingly, the data length of the address request transfer signal and the address response signal between the parent terminal and the relay terminal is determined by predetermining that the official address is assigned to the management number with the parent terminal. It can be shortened to further reduce traffic.

さらにまた、本発明の無線通信システムによれば、中継端末は、アドレス要求異常通知機能を備え、仮アドレスが同一の複数のアドレス要求信号を受信したときに、当該アドレス要求信号が受け入れなかったことを示すアドレス設定エラー信号をブロードキャストまたはマルチキャストの同報通信で送信する。   Furthermore, according to the wireless communication system of the present invention, the relay terminal has an address request abnormality notification function, and when receiving a plurality of address request signals having the same temporary address, the address request signal was not accepted. An address setting error signal indicating is transmitted by broadcast or multicast broadcast communication.

したがって、端末がアドレス要求信号を送信した後、前記アドレス設定エラー信号を受信すれば、先のアドレス要求が受け入れなかったことを認識することができ、直ちに再要求の処理に移り、確実に正式アドレスを取得することができる。   Therefore, if the terminal receives the address setting error signal after transmitting the address request signal, it can recognize that the previous address request has not been accepted, and immediately proceeds to the re-request process to ensure that the official address Can be obtained.

また、本発明の無線通信システムによれば、端末の信号処理部は、起動からの時間を計測し、前記アドレス要求信号に、その計測した経過時間データを添付して送信しており、中継端末の代理アドレス応答機能は、複数のアドレス要求信号を衝突せずに受信したときに、親端末から受信したアドレス応答信号を、前記経過時間データに対応した時間だけずらして、前記アドレス応答転送信号を送信する。   Further, according to the wireless communication system of the present invention, the signal processing unit of the terminal measures the time from activation, and transmits the measured elapsed time data attached to the address request signal, and the relay terminal In the proxy address response function, when a plurality of address request signals are received without colliding, the address response signal received from the parent terminal is shifted by a time corresponding to the elapsed time data, and the address response transfer signal is changed. Send.

したがって、複数のアドレス要求信号をほぼ同時に受信しても、それぞれの端末へのアドレス応答転送信号が衝突する可能性は低くなり、正式アドレスを確実に設定することができる。   Therefore, even if a plurality of address request signals are received almost simultaneously, the possibility of collision of address response transfer signals to the respective terminals is reduced, and the formal address can be set reliably.

本発明の無線通信装置および無線通信システムによれば、ワイヤレスセンサシステムなどの無線通信システムにおける中継端末として実現される無線通信装置において、端末の増設や通信経路の変更などに伴う端末のアドレス設定を自動で行うにあたって、端末からのアドレス要求信号および親端末からのアドレス応答信号を通常の転送と同様にそれぞれ転送するとともに、アドレス応答転送信号を端末に転送すると、親端末に代理応答確認信号を送信して正式アドレスを決定させて親端末との間でそれ以降の通信が発生しないようにし、また前記アドレス応答転送信号を転送してから、正式アドレスの付与によって端末から送信される応答確認信号を受信するまで、端末へは前記アドレス応答転送信号を再送信する。   According to the wireless communication device and the wireless communication system of the present invention, in a wireless communication device realized as a relay terminal in a wireless communication system such as a wireless sensor system, the address setting of the terminal accompanying the expansion of the terminal or the change of the communication path is performed. When automatic, the address request signal from the terminal and the address response signal from the parent terminal are transferred in the same way as normal transfer, and when the address response transfer signal is transferred to the terminal, a proxy response confirmation signal is transmitted to the parent terminal. The official address is determined so that subsequent communication with the parent terminal does not occur, and after the address response transfer signal is transferred, a response confirmation signal transmitted from the terminal by giving the formal address is sent. The address response transfer signal is retransmitted to the terminal until it is received.

それゆえ、端末で正式アドレスを含むアドレス応答転送信号が正しく受信できなかったり、端末からの応答確認信号を正しく受信できなかったりしても、再送信は中継端末となる該無線通信装置と端末との間で行われるので、親端末へのトラヒックを最小限にすることができる。   Therefore, even if the address response transfer signal including the official address cannot be correctly received at the terminal or the response confirmation signal from the terminal cannot be correctly received, the retransmission is performed between the wireless communication apparatus and the terminal that are relay terminals. Therefore, traffic to the parent terminal can be minimized.

[実施の形態1]
図1は、本発明の実施の第1の形態に係る無線通信システムの構成を示す図である。この図1の例では、3つのグループの端末T11,T12,・・・,T1m;T21,・・・,T2n;T3(総称するときは、以下参照符号Tで示す)が、中継端末T10,T20(総称するときは、以下参照符号T0で示す)を介してマルチホップ通信方式で、または直接的に、親端末1と通信を行う。本発明では、システムが新規に設置、あるいは端末Tの増設や変更時に、各端末Tは親端末1にアドレス要求信号を送信し、自動的に正式アドレスを割当ててもらうようになっている。以下に、図2も参照して、その設定手順を説明する。図1において、○内の数字は、ステップ番号を表す。
[Embodiment 1]
FIG. 1 is a diagram showing a configuration of a radio communication system according to the first embodiment of the present invention. In the example of FIG. 1, three groups of terminals T11, T12,..., T1m; T21,..., T2n; T3 (generally referred to as reference symbol T below) are connected to relay terminals T10, Communication with the parent terminal 1 is performed in a multi-hop communication system or directly via T20 (indicated by the reference symbol T0 hereinafter). In the present invention, when a system is newly installed, or when the number of terminals T is increased or changed, each terminal T transmits an address request signal to the parent terminal 1 and is automatically assigned a formal address. The setting procedure will be described below with reference to FIG. In FIG. 1, the numbers in the circles represent step numbers.

親端末1は、既に割当てたアドレスを記憶しているデータベース1aを備えており、新たなアドレスを割当てるにあたって、このデータベース1aを参照することで、アドレスの重複がないように管理している。アドレス設定は、初回の電源投入時や、予め定める設定スイッチなどの操作によって端末Tが設定モードとなって開始され、端末Tは、ステップ1で、予め定める仮アドレスを発生する。前記仮アドレスには、最大アドレスなどの予め定められるアドレス、または乱数によって発生された任意のアドレスの内、何れが用いられてもよい。   The parent terminal 1 is provided with a database 1a that stores addresses that have already been allocated. When a new address is allocated, the master terminal 1 is managed by referring to this database 1a so that there is no duplication of addresses. The address setting is started when the power is turned on for the first time or when the terminal T is set to the setting mode by an operation of a predetermined setting switch or the like, and the terminal T generates a predetermined temporary address in Step 1. As the temporary address, any one of a predetermined address such as a maximum address or an arbitrary address generated by a random number may be used.

端末Tは、ステップ2で、その仮アドレスを送信元アドレスとし、予め記憶している親端末1のアドレスを送信先アドレスとして、図3(a)で示すようなパケットフォーマットのアドレス要求信号を作成し、親端末1または中継端末T0へ(以下、図2の中継端末T0を介する例で説明する)、ブロードキャストまたはマルチキャストで送信する。   In step 2, the terminal T creates a packet format address request signal as shown in FIG. 3A using the temporary address as the source address and the pre-stored address of the parent terminal 1 as the destination address. Then, it is transmitted by broadcast or multicast to the parent terminal 1 or the relay terminal T0 (hereinafter described in the example via the relay terminal T0 in FIG. 2).

前記アドレス要求信号を受信した中継端末T0は、ステップ3で、親端末1のアドレスを送信先アドレスとし、送信元アドレスを自機のアドレスに書換え、内容データに前記仮アドレスを格納した図3(b)で示すようなパケットフォーマットのアドレス要求転送信号を作成し、親端末1へ送信する。   In step 3, the relay terminal T0 that has received the address request signal uses the address of the parent terminal 1 as the transmission destination address, rewrites the transmission source address to its own address, and stores the temporary address in the content data (FIG. 3). An address request transfer signal in a packet format as shown in b) is created and transmitted to the parent terminal 1.

これに応答して、親端末1は、ステップ4で、データベース1aを参照して、空きアドレスの中から新たに付与すべき正式アドレスを決定する処理を行い、ステップ5で、送信先アドレスを中継端末T0のアドレスとし、送信元アドレスを自機のアドレスとし、内容データに前記仮アドレスと正式アドレスとを格納した図3(c)で示すようなパケットフォーマットのアドレス応答信号を作成し、要求のあった中継端末T0へ送信する。   In response to this, the parent terminal 1 refers to the database 1a in step 4 and performs a process of determining a formal address to be newly assigned from the free addresses, and relays the destination address in step 5. Create an address response signal in the packet format as shown in FIG. 3 (c) in which the address of the terminal T0 is used, the source address is the address of the own device, and the temporary address and the formal address are stored in the content data. Transmit to the relay terminal T0.

前記アドレス応答信号を受信した中継端末T0は、ステップ6で、送信先アドレスを仮アドレスに書換え、送信元アドレスを自機のアドレスに書換え、内容データに前記正式アドレスを格納した図3(d)で示すようなパケットフォーマットのアドレス応答転送信号を作成し、端末Tへ送信する。またこのとき、中継端末T0は、ステップ5’で、送信先アドレスを親端末1のアドレスとし、送信元アドレスを自機のアドレスとする図3(e)で示すようなパケットフォーマットの代理応答確認信号を作成し、親端末1へ送信する。   In step 6, the relay terminal T0 that has received the address response signal rewrites the transmission destination address with the temporary address, rewrites the transmission source address with the address of its own device, and stores the formal address in the content data. An address response transfer signal having a packet format as shown in FIG. At this time, the relay terminal T0 confirms the proxy response in the packet format as shown in FIG. 3 (e) with the destination address as the address of the parent terminal 1 and the source address as its own address in step 5 ′. A signal is created and transmitted to the parent terminal 1.

ステップ6で前記アドレス応答転送信号を受信した端末Tは、ステップ7で正式アドレスの受信処理を行い、ステップ8で受信したアドレスを正式アドレスに決定した後、ステップ9で、送信先アドレスを親端末1のアドレスとし、送信元アドレスを仮アドレスとする図3(f)で示すようなパケットフォーマットの応答確認信号を作成し、中継端末T0へ返信する。この応答確認信号が中継端末T0で所定期間W1内で受信されれば、設定動作を終了する。以降は、その正式アドレスを用いて、端末Tは、中継端末T0を介して、親端末1へ制御要求を発生したり、センサ検知結果を送信したり、親端末1からの呼出し要求に応じたりする。なお、前記応答確認信号は、送信先アドレスを中継端末T0のアドレスとし、送信元アドレスを正式アドレスとしてもよい。   The terminal T that has received the address response transfer signal in step 6 performs reception processing of the formal address in step 7, determines the address received in step 8 as the formal address, and then sets the transmission destination address as the parent terminal in step 9. A response confirmation signal in a packet format as shown in FIG. 3 (f) with the address of 1 as the temporary address as the source address is created and returned to the relay terminal T0. If this response confirmation signal is received by the relay terminal T0 within the predetermined period W1, the setting operation is terminated. Thereafter, using the official address, the terminal T generates a control request to the parent terminal 1 via the relay terminal T0, transmits a sensor detection result, or responds to a call request from the parent terminal 1. To do. In the response confirmation signal, the transmission destination address may be the address of the relay terminal T0, and the transmission source address may be the official address.

所定期間W1内で応答確認信号が受信されないとき、図2において仮想線で示すように、中継端末T0は、ステップ6’で前記アドレス応答転送信号を再送信し、ステップ9’で応答確認信号が受信されるのを待機する。同様の再送信を繰返し行って所定期間W2内で応答確認信号が受信されないとき、中継端末T0は、ステップ10で、図3(g)で示すようなパケットフォーマットの取消し信号を作成して親端末1へ送信し、割当てられた正式アドレスを開放させる。   When the response confirmation signal is not received within the predetermined period W1, as shown by a virtual line in FIG. 2, the relay terminal T0 retransmits the address response transfer signal in Step 6 ′, and the response confirmation signal is received in Step 9 ′. Wait for receipt. When the same retransmission is repeated and no response confirmation signal is received within the predetermined period W2, the relay terminal T0 creates a packet format cancellation signal as shown in FIG. 1 to release the assigned formal address.

図4は、親端末1の機能的構成を示すブロック図である。親端末1は、無線通信部11と、信号処理部12と、アドレス処理部13と、アドレス記憶部14とを備えて構成される。この親端末1は、監視装置などの他の機器に接続され、或いは前記他の機器に内蔵されており、端末T,T0からのデータを集約して前記他の機器へ転送したり、前記他の機器からの制御信号によって各端末T,T0を制御したりする。   FIG. 4 is a block diagram showing a functional configuration of the parent terminal 1. The parent terminal 1 includes a wireless communication unit 11, a signal processing unit 12, an address processing unit 13, and an address storage unit 14. The parent terminal 1 is connected to another device such as a monitoring device or built in the other device, and aggregates data from the terminals T and T0 and transfers the data to the other device, or the other device. The terminals T and T0 are controlled by a control signal from the device.

無線通信部11は、端末T,T0と無線通信可能であり、信号処理部12からのベースバンド信号を無線信号に変換し、また受信された無線信号を前記ベースバンド信号に変換して信号処理部12へ出力する無線信号処理部15と、端末T,T0との間で、前記無線信号を送受信するアンテナ16とを備えて構成される。信号処理部12は、アドレス処理部13で処理されたデータ情報を通信パケット形式に組立てを行って無線信号処理部15へ出力するとともに、無線信号処理部15で受信された通信パケットからデータ情報を再生する。アドレス処理部13は、アドレス記憶部14のアドレス情報を元に適切な処理を行い、前記正式アドレスの生成処理を行う。アドレス記憶部14は、データベース1aから成り、既に各端末T,T0に割当てている正式アドレスを記憶している。   The wireless communication unit 11 is capable of wireless communication with the terminals T and T0, converts the baseband signal from the signal processing unit 12 into a wireless signal, and converts the received wireless signal into the baseband signal for signal processing. A radio signal processing unit 15 that outputs to the unit 12 and an antenna 16 that transmits and receives the radio signal between the terminals T and T0 are configured. The signal processing unit 12 assembles the data information processed by the address processing unit 13 into a communication packet format and outputs the data information to the wireless signal processing unit 15, and receives data information from the communication packet received by the wireless signal processing unit 15. Reproduce. The address processing unit 13 performs appropriate processing based on the address information in the address storage unit 14 and performs the formal address generation processing. The address storage unit 14 is made up of the database 1a and stores the formal addresses already assigned to the terminals T and T0.

図5は、端末T,T0の機能的構成を示すブロック図である。本実施の形態では、端末Tと中継端末T0とを同一の構成として、コストの低減だけでなく、たとえば当初は端末Tとして設置され、後にその下流側にさらに他の端末Tが設置されて、中継端末T0として機能するような場合にも対応可能としている。端末T,T0は、無線通信部21と、信号処理部22と、仮アドレス発生部23と、アドレス記憶部24と、通信経路記憶部25と、通信経路処理部26とを備えて構成される。この端末T,T0には、特に末端の端末Tの場合に、図示しない温度や湿度などのセンサ、或いは図示しない各種の負荷機器が接続されており、該端末T,T0は、前記センサに予め定める周期でセンシングを行わせ、そのセンシング結果を親端末1に、予め定める周期で、または親端末1からのポーリングに応答して送信したり、親端末1からの制御信号に応答して、前記負荷機器の制御などを行う。   FIG. 5 is a block diagram showing a functional configuration of the terminals T and T0. In the present embodiment, the terminal T and the relay terminal T0 have the same configuration, not only cost reduction, but, for example, initially installed as the terminal T, and later another terminal T is installed downstream thereof, It is also possible to cope with a case where it functions as the relay terminal T0. The terminals T and T0 are configured to include a wireless communication unit 21, a signal processing unit 22, a temporary address generation unit 23, an address storage unit 24, a communication path storage unit 25, and a communication path processing unit 26. . Sensors such as temperature and humidity (not shown) or various load devices (not shown) are connected to the terminals T and T0, particularly in the case of the terminal T, and the terminals T and T0 are connected to the sensors in advance. Sensing is performed at a predetermined period, and the sensing result is transmitted to the parent terminal 1 at a predetermined period or in response to polling from the parent terminal 1, or in response to a control signal from the parent terminal 1, Control the load equipment.

無線通信部21は、親端末1または中継端末T0と通信可能であり、信号処理部22からのベースバンド信号を無線信号に変換し、また受信された無線信号を前記ベースバンド信号に変換して信号処理部22へ出力する無線信号処理部27と、親端末1または中継端末T0との間で、前記無線信号を送受信するアンテナ28とを備えて構成される。   The wireless communication unit 21 can communicate with the parent terminal 1 or the relay terminal T0, converts the baseband signal from the signal processing unit 22 into a wireless signal, and converts the received wireless signal into the baseband signal. A radio signal processing unit 27 that outputs to the signal processing unit 22 and an antenna 28 that transmits and receives the radio signal between the parent terminal 1 or the relay terminal T0 are configured.

信号処理部22は、前記センサのセンシング結果、仮アドレス発生部23で処理されたデータ情報、或いは無線信号処理部27で受信されたデータ情報などを、たとえば前述の図3で示すような通信パケット形式に組立てを行って無線信号処理部27へ出力し、また無線信号処理部27で受信された通信パケットからデータ情報を再生し、必要に応じて前記センサや負荷機器を制御するとともに、アドレス記憶部24のアドレス情報を元に適切な処理を行い、アドレス処理する。   The signal processing unit 22 uses the sensor result, the data information processed by the temporary address generation unit 23, or the data information received by the wireless signal processing unit 27, for example, as a communication packet as shown in FIG. The data is assembled into a format and output to the wireless signal processing unit 27. Also, data information is reproduced from the communication packet received by the wireless signal processing unit 27, and the sensors and load devices are controlled as necessary, and address storage is performed. Appropriate processing is performed based on the address information of the unit 24 to perform address processing.

仮アドレス発生部23は、アドレス要求時の仮アドレスを発生するものであり、前述のように予め定める最大アドレスなどを記憶していたり、乱数によって任意のアドレスを発生する回路などから成る。アドレス記憶部24は、予め定められる親端末1のアドレスおよび自機の正式アドレスを少なくとも記憶している。通信経路処理部26は、受信した通信パケットの送信先アドレスおよび/または送信元アドレスから、通信経路記憶部25に記憶されている経路選択情報に基づいて、適切な通信経路を選択する経路情報処理を行い、信号処理された(適宜アドレスが書換えられた)パケットを作成する。   The temporary address generator 23 generates a temporary address when an address is requested, and includes a circuit that stores a predetermined maximum address or the like as described above, or generates an arbitrary address using a random number. The address storage unit 24 stores at least a predetermined address of the parent terminal 1 and an official address of the own device. The communication route processing unit 26 selects a suitable communication route based on the route selection information stored in the communication route storage unit 25 from the transmission destination address and / or the transmission source address of the received communication packet. To create a signal-processed packet (the address is appropriately rewritten).

上述のように構成される端末T,T0において、以下に、先ず端末Tとして機能し、親端末1と直接の通信によって(図1では端末T3に対応)正式アドレスが付与される場合の動作について説明する。   In the terminals T and T0 configured as described above, the operation when the formal address is given first by functioning as the terminal T and given by direct communication with the parent terminal 1 (corresponding to the terminal T3 in FIG. 1) will be described below. explain.

図示しないスイッチの操作や電源投入などに応答して、信号処理部22は、アドレス記憶部24を確認し、自機に正式なアドレスが割振られていないかどうかを確認し、正式なアドレスが割振られていなければ、アドレス要求送信処理を開始する。正式なアドレスが割振られていても、故意にアドレスを変更したい場合は、アドレス要求送信処理を行うようにしてもよい。   In response to an operation of a switch (not shown) or power-on, the signal processing unit 22 checks the address storage unit 24 to check whether a formal address is allocated to the own device, and the formal address is allocated. If not, the address request transmission process is started. Even if a formal address is allocated, if it is desired to change the address intentionally, an address request transmission process may be performed.

アドレス要求送信処理では、信号処理部22は、先ず仮アドレス発生部23に仮アドレスを生成させ、その仮アドレスとアドレス記憶部24に記憶されている親端末1のアドレスとを通信パケットに組立てて、アドレス要求信号として無線通信部21へ与える。ここで、組立てられる通信パケットは、図3(a)で示すとおりである。図5の例では、アドレス記憶部24に親端末1のアドレスが既知であり、そのアドレスが送信先アドレスとして格納され、前記仮アドレスが送信元アドレスとして格納され、内容データにアドレス要求信号であることが示され(フラグなど)、その既知のアドレスの親端末1へユニキャスト送信される。これに対して、親端末1のアドレスが未知の場合、前記送信先アドレスに総ての装置を指定するブロードキャストパケットまたはマルチキャストパケットで送信が行われる。   In the address request transmission process, the signal processing unit 22 first causes the temporary address generation unit 23 to generate a temporary address, and assembles the temporary address and the address of the parent terminal 1 stored in the address storage unit 24 into a communication packet. The address request signal is given to the wireless communication unit 21. Here, the assembled communication packet is as shown in FIG. In the example of FIG. 5, the address of the parent terminal 1 is known in the address storage unit 24, the address is stored as a transmission destination address, the temporary address is stored as a transmission source address, and the content data is an address request signal. (Such as a flag) is transmitted to the parent terminal 1 having the known address. On the other hand, when the address of the parent terminal 1 is unknown, transmission is performed using a broadcast packet or a multicast packet that designates all devices as the transmission destination address.

アドレス要求信号を受信した親端末1は、無線通信部11を介して信号処理部12で受信信号を受け、アドレス要求受信処理によって、アドレス要求信号であることを認識すると、アドレス処理部13が正式アドレス生成処理によって、アドレス記憶部14のデータベースを検索し、未割当てのアドレスを信号処理部12に返信する。これに応答して信号処理部12は、アドレス応答送信処理によって、アドレス応答であることを表す情報(フラグなど)に、その未割当てのアドレス情報を図3(c)で示すように通信パケットに組込み、アドレス応答信号として、無線通信部11から、要求のあった端末Tへ送信する。   The master terminal 1 that has received the address request signal receives the received signal at the signal processing unit 12 via the wireless communication unit 11 and recognizes that it is an address request signal by the address request receiving process, then the address processing unit 13 By the address generation process, the database in the address storage unit 14 is searched and an unassigned address is returned to the signal processing unit 12. In response to this, the signal processing unit 12 performs address response transmission processing on information (flag or the like) indicating that it is an address response, and converts the unallocated address information into a communication packet as shown in FIG. As a built-in address response signal, it is transmitted from the wireless communication unit 11 to the requested terminal T.

アドレス応答信号を受けた端末Tでは、信号処理部22は、アドレス応答受信処理によって、通信パケットに組込まれているアドレス情報を、自機の正式アドレスとしてアドレス記憶部24に一時格納する。その格納したことを親端末1に知らせるために、信号処理部22は、応答確認送信処理によって、図3(f)で示すように、応答確認情報(フラグなど)を組込んだ通信パケットを組立て、応答確認信号として親端末1に返信する。その後、端末Tは一定時間待機し、同一のアドレスでの応答がなければ、正式アドレス決定処理によって、そのアドレスを正式に確定する。アドレス応答があれば、再度アドレス要求を送出する。   In the terminal T that has received the address response signal, the signal processing unit 22 temporarily stores the address information incorporated in the communication packet in the address storage unit 24 as its own address by the address response reception process. In order to inform the parent terminal 1 of the storage, the signal processing unit 22 assembles a communication packet incorporating response confirmation information (such as a flag) as shown in FIG. The response confirmation signal is returned to the parent terminal 1. Thereafter, the terminal T waits for a certain period of time, and if there is no response at the same address, the address is formally determined by a formal address determination process. If there is an address response, the address request is sent again.

前記応答確認信号を受けた親端末1は、応答確認処理によって、先に送信したアドレスを割当て済みアドレスとしてデータベースの変更を行う。ただし、応答確認信号の通信パケットが届かなかった場合、親端末1は、一定の時間後、アドレス応答を再度試みる。同じアドレス応答を受けた端末Tは、再度応答確認を行う。このような動作を繰返すことによって、無線通信の品質が不安定な状態でも、各端末Tに個別の正式アドレスを正しく割当てることが可能となる。親端末1は、上述のように正式アドレスを確定すると、さらに端末Tへ応答信号を返信する確認処理を行ってもよい。   Receiving the response confirmation signal, the parent terminal 1 changes the database by the response confirmation process using the previously transmitted address as the assigned address. However, when the communication packet of the response confirmation signal has not arrived, the parent terminal 1 tries the address response again after a certain time. The terminal T receiving the same address response confirms the response again. By repeating such an operation, it becomes possible to correctly assign individual formal addresses to the terminals T even when the quality of wireless communication is unstable. The master terminal 1 may further perform a confirmation process of returning a response signal to the terminal T when the official address is determined as described above.

なお、前記仮アドレスは任意に発生されたものである場合、既に他の端末で正式アドレスとして使用されている可能性もあるが、その仮アドレスを正式アドレスとしている端末があっても、自機が親端末1へアドレス要求信号を発生していない場合は、信号処理部12は、親端末1からの正式アドレスの返信を無視して取込まず、問題はない。   If the temporary address is arbitrarily generated, there is a possibility that it has already been used as an official address by another terminal. If the address request signal is not generated for the parent terminal 1, the signal processing unit 12 ignores the reply of the official address from the parent terminal 1 and does not take in, and there is no problem.

これに対して、中継端末T0として機能している状態で、他の端末Tからのアドレス要求信号を受信した場合の動作を説明する。親端末1および端末Tの動作は、上述と変化はないが、前述のように、端末Tでは、受信するアドレス応答信号がアドレス応答転送信号に変化し、親端末1では、受信するアドレス要求信号および応答確認信号がそれぞれアドレス要求転送信号および代理応答確認信号に変化するだけである。   On the other hand, the operation when an address request signal from another terminal T is received while functioning as the relay terminal T0 will be described. Although the operations of the parent terminal 1 and the terminal T are not changed as described above, as described above, at the terminal T, the received address response signal is changed to the address response transfer signal, and at the parent terminal 1, the received address request signal is received. The response confirmation signal only changes to an address request transfer signal and a proxy response confirmation signal, respectively.

中継端末T0では、無線通信部21で他の端末Tからのアドレス要求信号を受信すると、通信経路処理部26が通信経路を判断し、信号処理部22は、代理アドレス要求受信処理によって、その通信経路に対応して、図3(a)で示すパケットから図3(b)で示すパケットを組立て、アドレス要求転送信号として無線通信部21から親端末1へ通常のユニキャスト通信で送信する。   In the relay terminal T0, when the wireless communication unit 21 receives an address request signal from another terminal T, the communication route processing unit 26 determines the communication route, and the signal processing unit 22 performs the communication by proxy address request reception processing. Corresponding to the route, the packet shown in FIG. 3B is assembled from the packet shown in FIG. 3A, and transmitted as an address request transfer signal from the wireless communication unit 21 to the parent terminal 1 by normal unicast communication.

そのアドレス要求転送信号を受信した親端末1から、無線通信部21で図3(c)で示すアドレス応答信号を受信すると、信号処理部22は、代理アドレス応答送信処理によって、図3(d)で示すパケットを組立て、アドレス応答転送信号として無線通信部21へ与える。また、信号処理部22は、代理応答確認送信処理によって、図3(e)で示すパケットを組立て、代理応答確認信号として無線通信部21へ与える。そして、端末Tから所定期間W2内で応答確認信号が受信されないとき、信号処理部22は、取消し送信処理によって、図3(g)で示すような取消し信号を作成して無線通信部21へ与える。   When the wireless communication unit 21 receives the address response signal shown in FIG. 3C from the parent terminal 1 that has received the address request transfer signal, the signal processing unit 22 performs proxy address response transmission processing to perform FIG. Are given to the wireless communication unit 21 as an address response transfer signal. Further, the signal processing unit 22 assembles the packet shown in FIG. 3E by proxy response confirmation transmission processing, and provides the wireless communication unit 21 with the proxy response confirmation signal. When the response confirmation signal is not received from the terminal T within the predetermined period W2, the signal processing unit 22 creates a cancellation signal as shown in FIG. .

図6は端末1,T,T0の通常送信時の基本動作を説明するためのフローチャートであり、図7は端末1,T,T0の通常受信時の基本動作を説明するためのフローチャートである。端末1,T,T0は、定常状態では図7の受信動作を繰返しており、送信すべきパケットが発生して図6の送信動作を終了すると、或いは送信したパケットに対する応答を受信すべきときは図7の受信動作に移り、図7の受信動作によって送信すべきパケットが発生したときには図6で示す送信動作に移る。   FIG. 6 is a flowchart for explaining the basic operation of the terminals 1, T, T0 during normal transmission, and FIG. 7 is a flowchart for explaining the basic operation of the terminals 1, T, T0 during normal reception. The terminal 1, T, T0 repeats the reception operation of FIG. 7 in a steady state, and when a packet to be transmitted is generated and the transmission operation of FIG. 6 is terminated, or when a response to the transmitted packet is to be received The operation proceeds to the reception operation of FIG. 7, and when a packet to be transmitted is generated by the reception operation of FIG. 7, the operation proceeds to the transmission operation shown in FIG.

図6では、ステップP1で送信モードとなると、ステップP2で送信タイマをスタートさせ、ステップP3ではそのカウント値が予め定められた送信期間以内であるか否かが判断され、送信期間を経過していないときにはステップP4に移ってキャリアセンスを行い、他の端末からのキャリアが検出されているときにはステップP3に戻る。したがって、ステップP3において送信期間を経過したときには、前記送信期間内で通信可能にならず、ステップP5で送信失敗として処理を終了する。ステップP4で他の端末からのキャリアが検出されていないときにはステップP6に移り、送信すべきパケットの送信処理を行い、ステップP7で完了すると、ステップP1に戻る。   In FIG. 6, when the transmission mode is set at step P1, the transmission timer is started at step P2, and at step P3, it is determined whether or not the count value is within a predetermined transmission period, and the transmission period has elapsed. If not, the process moves to step P4 to perform carrier sense, and if a carrier from another terminal is detected, the process returns to step P3. Therefore, when the transmission period elapses in step P3, communication is not possible within the transmission period, and the process ends as a transmission failure in step P5. When a carrier from another terminal is not detected in step P4, the process moves to step P6, a transmission process of a packet to be transmitted is performed, and when completed in step P7, the process returns to step P1.

図7では、ステップP11で受信モードとなり、ステップP12でタイマをクリアして受信タイマとしてスタートさせ、ステップP13ではそのカウント値が予め定められた受信期間以内であるか否かが判断され、受信期間を経過していないときにはステップP14に移る。ステップP14ではキャリアセンスを行い、他の端末からのキャリアが検出されていないときには、ステップP15でさらにビット同期を行い、同期が取れるとステップP16で自機宛のパケットであるか否かが判断され、自機宛であるときにはステップP17で受信は正常に終了したと判断して、ステップP18で完了すると、ステップP11に戻る。   In FIG. 7, the reception mode is set at step P11, the timer is cleared and started as a reception timer at step P12, and at step P13, it is determined whether or not the count value is within a predetermined reception period. If not, the process proceeds to Step P14. In step P14, carrier sense is performed. When no carrier from another terminal is detected, bit synchronization is further performed in step P15. When synchronization is established, it is determined in step P16 whether the packet is addressed to the own device. If it is addressed to the own device, it is determined in step P17 that the reception has been normally completed.

これに対して、ステップP14で他の端末からのキャリアが検出されなかったとき、ステップP15でビット同期が取れなかったとき、またはステップP16で自機宛のパケットでなかったときはステップP11に戻って受信モードを継続し、ステップP13で規定の受信期間を経過したときにはステップP19に移り、受信は行えなかったと判断する。なお、ステップP12,P13は、データリンクレベルでの受信が必要なパケットが有る場合に処理が行われ、無い場合はステップP11からステップP14に移る。   On the other hand, when a carrier from another terminal is not detected at step P14, when bit synchronization cannot be obtained at step P15, or when the packet is not addressed to itself at step P16, the process returns to step P11. The reception mode is continued, and when the specified reception period has elapsed in step P13, the process proceeds to step P19, where it is determined that the reception could not be performed. Steps P12 and P13 are performed when there is a packet that needs to be received at the data link level. If there is no packet, the process proceeds from step P11 to step P14.

図8は、端末Tのアドレス要求時の信号処理部22の動作を説明するためのフローチャートである。前記設定スイッチの操作などによってステップS1でアドレス要求の割込みが発生すると、ステップS2で仮アドレス発生部23に乱数を発生させ、その乱数を用いてステップS3で、図3(a)で示すようなアドレス要求信号のパケットが組立てられる。   FIG. 8 is a flowchart for explaining the operation of the signal processing unit 22 when the address of the terminal T is requested. When an interrupt for an address request occurs in step S1 due to the operation of the setting switch or the like, a random number is generated in the temporary address generation unit 23 in step S2, and the random number is used in step S3, as shown in FIG. An address request signal packet is assembled.

前記アドレス要求信号が作成されると、ステップS4で前記送信モードとなり、ステップS5で前記所定の送信期間内にキャリアセンスによって送信可能となり、送信できたか否かが判断され、送信できなかった場合はステップS6でアドレス要求は失敗と判断して、ステップS1に戻る。これに対して、ステップS5で送信できるとステップS7で送信完了と判断し、ステップS8で受信モードに切換わる。   When the address request signal is generated, the transmission mode is set in step S4, and it is possible to transmit by carrier sense within the predetermined transmission period in step S5. In step S6, it is determined that the address request has failed, and the process returns to step S1. On the other hand, if transmission is possible in step S5, it is determined that transmission is complete in step S7, and the mode is switched to reception mode in step S8.

そして、ステップS9で、図3(c)で示すアドレス応答信号または図3(d)で示すアドレス応答転送信号が受信できたか否かが判断され、受信できなかったときはステップS10で予め定める受信期間が経過していないかが判断され、経過していないときにはステップS9に戻り、経過しているときにはステップS11で、それらの信号の受信は失敗と判断して、ステップS1に戻る。   In step S9, it is determined whether or not the address response signal shown in FIG. 3 (c) or the address response transfer signal shown in FIG. 3 (d) has been received. It is determined whether or not the period has elapsed. If it has not elapsed, the process returns to step S9. If it has elapsed, it is determined in step S11 that reception of these signals has failed, and the process returns to step S1.

一方、ステップS9でアドレス応答信号またはアドレス応答転送信号が受信できたときにはステップS12に移り、それらの信号の受信は成功と判断して、ステップS13で送信モードに切換わり、図3(f)で示す応答確認信号の送信処理を開始する。ステップS14では、所定の送信期間内にキャリアセンスによって送信可能となり、送信できたか否かが判断され、送信できなかった場合はステップS15で予め定める送信期間が経過していないかが判断され、経過していないときにはステップS14に戻り、経過しているときにはステップS16で、応答確認信号の送信は失敗と判断して処理を終了する。   On the other hand, when the address response signal or the address response transfer signal can be received in step S9, the process proceeds to step S12. It is determined that the reception of these signals is successful, and the mode is switched to the transmission mode in step S13. The transmission process of the response confirmation signal shown is started. In step S14, it becomes possible to transmit by carrier sense within a predetermined transmission period, and it is determined whether or not transmission is possible. If transmission is not possible, it is determined whether or not a predetermined transmission period has elapsed in step S15. If not, the process returns to step S14, and if it has elapsed, in step S16, it is determined that the transmission of the response confirmation signal has failed, and the process ends.

また、ステップS14で応答確認信号が送信できた場合は、ステップS17で送信成功と判断し、ステップS18で正式アドレス決定処理を開始して、アドレス記憶部24に記憶されている自機のアドレスを仮アドレスから受信した正式アドレスに書換え、ステップS19で正式アドレス決定処理を完了と判断して処理を終了する。   If the response confirmation signal can be transmitted in step S14, it is determined in step S17 that the transmission is successful, the formal address determination process is started in step S18, and the address of the own device stored in the address storage unit 24 is determined. The formal address received is rewritten from the temporary address, and the formal address determination process is determined to be completed in step S19, and the process is terminated.

図9は、親端末1のアドレス要求の受信時における信号処理部12の動作を説明するためのフローチャートである。受信モードにおいて、アドレス要求信号またはアドレス要求転送を受信すると、ステップS31で割込みが発生してアドレス要求受信処理を開始し、ステップS32で正しく受信されたか否かが判断され、受信できなかった場合はステップS33でアドレス要求信号の受信は失敗と判断して処理を終了する。   FIG. 9 is a flowchart for explaining the operation of the signal processing unit 12 when the parent terminal 1 receives an address request. In the reception mode, when an address request signal or address request transfer is received, an interrupt is generated in step S31 and address request reception processing is started. In step S32, it is determined whether or not the request has been received correctly. In step S33, it is determined that reception of the address request signal has failed, and the process is terminated.

一方、ステップS32でアドレス要求信号が正しく受信されると、ステップS34で受信成功と判断し、ステップS35でアドレス応答送信処理を開始し、アドレス処理部13がアドレス記憶部14を参照し、空きアドレスを検索する。図3(c)で示すようなアドレス応答信号のパケットの組立てが終了すると、ステップS37で送信モードに切換わる。ステップS38では、所定の送信期間内にキャリアセンスによって送信可能となり、送信できたか否かが判断され、送信できなかった場合はステップS39でアドレス応答信号の送信は失敗と判断して処理を終了する。ステップS38でアドレス応答信号が送信できた場合は、ステップS40で送信成功と判断し、ステップS41で応答確認受信処理を開始して、受信モードとなる。   On the other hand, if the address request signal is correctly received in step S32, it is determined that the reception is successful in step S34, the address response transmission process is started in step S35, the address processing unit 13 refers to the address storage unit 14, and the free address Search for. When the assembly of the address response signal packet as shown in FIG. 3C is completed, the mode is switched to the transmission mode in step S37. In step S38, transmission is possible by carrier sense within a predetermined transmission period, and it is determined whether or not transmission is possible. If transmission is not possible, it is determined in step S39 that transmission of the address response signal has failed, and the process is terminated. . If the address response signal can be transmitted in step S38, it is determined that the transmission is successful in step S40, and the response confirmation reception process is started in step S41 to enter the reception mode.

ステップS42では、応答確認信号または代理応答確認信号が正しく受信されたか否かが判断され、受信できなかった場合はステップS43で受信は失敗と判断して処理を終了し、正しく受信されるとステップS44で受信成功と判断し、さらにステップS45で受信モードを継続して取消し信号の受信処理を開始する。   In step S42, it is determined whether or not the response confirmation signal or the proxy response confirmation signal has been correctly received. If the response confirmation signal or the proxy response confirmation signal has not been received, it is determined in step S43 that the reception has failed. In step S44, it is determined that the reception has been successful. In step S45, the reception mode is continued to start reception processing for a cancel signal.

ステップS46では、前記取消し信号が受信されたか否かが判断され、受信できなかった場合はステップS47で予め定める受信期間が経過していないかが判断され、経過していないときにはステップS46に戻り、経過しているときにはステップS48で正式アドレスを決定して処理を終了する。これに対して、ステップS46で取消し信号が受信されるとステップS49に移り、一旦割当てた正式アドレスを開放する取消し処理を行って、処理を終了する。   In step S46, it is determined whether or not the cancel signal has been received. If it has not been received, it is determined in step S47 whether or not a predetermined reception period has elapsed. If not, the process returns to step S46. If so, the official address is determined in step S48 and the process is terminated. On the other hand, when a cancel signal is received in step S46, the process proceeds to step S49, where a cancel process for releasing the once assigned formal address is performed, and the process ends.

図10は、中継端末T0のアドレス要求時の信号処理部22の動作を説明するためのフローチャートである。受信モードにおいて、アドレス要求信号を受信すると、ステップQ1で割込みが発生して代理アドレス要求受信処理を開始し、ステップQ2で正しく受信されたか否かが判断され、受信できなかった場合はステップQ3でアドレス要求信号の受信は失敗と判断して処理を終了する。ステップQ2でアドレス要求信号が受信されると、ステップQ4で受信は成功と判断し、ステップQ6で送信モードに切換わり、重複が生じない状態で図3(b)で示すようなアドレス応答転送信号のパケットの組立てが終了すると、ステップQ7で所定の送信期間内に送信できたか否かが判断され、送信できなかった場合はステップQ8でアドレス要求転送信号の送信は失敗と判断して処理を終了する。ステップQ7でアドレス要求転送信号が送信できた場合は、ステップQ9で送信成功と判断し、ステップQ10で代理アドレス応答送信処理を開始して、受信モードとなる。   FIG. 10 is a flowchart for explaining the operation of the signal processing unit 22 when the address of the relay terminal T0 is requested. In the reception mode, when an address request signal is received, an interrupt is generated in step Q1, proxy address request reception processing is started, and it is determined in step Q2 whether or not it has been correctly received. The reception of the address request signal is determined to have failed, and the process is terminated. When the address request signal is received at step Q2, it is determined that the reception is successful at step Q4, the mode is switched to the transmission mode at step Q6, and an address response transfer signal as shown in FIG. When the assembly of the packet is completed, it is determined in step Q7 whether or not transmission has been completed within a predetermined transmission period. If transmission has failed, it is determined in step Q8 that the transmission of the address request transfer signal has failed and the processing is terminated. To do. If the address request transfer signal can be transmitted in step Q7, it is determined that the transmission is successful in step Q9, the proxy address response transmission process is started in step Q10, and the reception mode is set.

ステップQ11ではアドレス応答信号が受信できたか否かが判断され、受信できなかったときはステップQ12でアドレス応答信号の受信は失敗と判断して、処理を終了する。ステップQ11でアドレス応答信号が受信できたときにはステップQ13に移り、それらの信号の受信は成功と判断して、ステップQ14で代理応答確認送信処理も開始して、送信モードに切換わり、図3(e)で示す代理応答確認信号の送信処理を開始する。   In step Q11, it is determined whether or not the address response signal has been received. If the address response signal has not been received, it is determined in step Q12 that reception of the address response signal has failed, and the process is terminated. When the address response signal can be received in step Q11, the process proceeds to step Q13, and it is determined that the reception of these signals is successful. In step Q14, the proxy response confirmation transmission process is also started, and the mode is switched to the transmission mode. The proxy response confirmation signal transmission process shown in e) is started.

ステップQ15では、所定の送信期間内に送信できたか否かが判断され、送信できなかった場合はステップQ16で、代理応答確認信号の送信は失敗と判断して処理を終了する。一方、ステップQ15で代理応答確認信号が送信できた場合には、送信モードを継続してステップQ17に移り、図3(d)で示すアドレス応答転送信号の送信処理を開始する。ステップQ18では、所定の送信期間内に送信できたか否かが判断され、送信できなかった場合はステップQ19でアドレス応答転送信号の送信は失敗と判断して処理を終了する。   In step Q15, it is determined whether or not transmission has been completed within a predetermined transmission period. If transmission has failed, it is determined in step Q16 that transmission of the proxy response confirmation signal has failed, and the process ends. On the other hand, if the proxy response confirmation signal can be transmitted in step Q15, the transmission mode is continued and the process proceeds to step Q17 to start the address response transfer signal transmission process shown in FIG. In step Q18, it is determined whether or not transmission has been completed within a predetermined transmission period. If transmission has failed, it is determined in step Q19 that the transmission of the address response transfer signal has failed, and the process ends.

これに対して、ステップQ18でアドレス応答転送信号が送信できた場合は、ステップQ20で送信成功と判断し、ステップQ21で前記代理応答確認送信処理によって、応答確認信号の受信モードとなる。ステップQ22では、所定期間W1内で受信できたか否かが判断され、受信できたときにはステップQ23で受信は成功と判断して、処理を終了する。一方、ステップQ22で応答確認信号が受信できなかったときはステップQ24に移り、所定期間W2の受信期間が経過したか否かが判断され、経過していないときにはステップQ22に戻って応答確認信号が再送信されるのを待機し、経過するとステップQ25に移って、前記応答確認信号の受信は失敗と判断する。   On the other hand, if the address response transfer signal can be transmitted in step Q18, it is determined that the transmission is successful in step Q20, and the reception mode of the response confirmation signal is set by the proxy response confirmation transmission process in step Q21. In step Q22, it is determined whether or not the signal can be received within the predetermined period W1, and if it can be received, it is determined in step Q23 that the reception is successful, and the process is terminated. On the other hand, if the response confirmation signal cannot be received in step Q22, the process proceeds to step Q24, where it is determined whether or not the reception period of the predetermined period W2 has elapsed. If not, the process returns to step Q22 and the response confirmation signal is received. The system waits for re-transmission, and when it elapses, the process proceeds to step Q25, and the reception of the response confirmation signal is determined to have failed.

続いて、ステップQ26では取消し処理を開始して送信モードとなり、ステップQ27では所定の送信期間内に送信できたか否かが判断され、送信できなかった場合はステップQ26に戻って処理を繰返し、送信できた場合はステップQ28で送信は成功と判断して処理を終了する。   Subsequently, in step Q26, the canceling process is started and the transmission mode is set. In step Q27, it is determined whether or not the transmission can be performed within a predetermined transmission period. If the transmission cannot be performed, the process returns to step Q26 to repeat the process. If the transmission is successful, it is determined in step Q28 that the transmission is successful, and the process ends.

このように構成することで、マルチホップ通信方式の無線通信システムにおいて、中継端末T0が親端末1に代わって一部の応答代行処理を行うことで、端末Tで正式アドレスを含むアドレス応答転送信号が正しく受信できなかったり、端末Tからの応答確認信号を中継端末T0が正しく受信できなかったりしても、再送信は中継端末T0と端末Tとの間で行われるので、親端末1へのトラヒックを最小限にすることができる。また、通信が不安定になる可能性のある前記マルチホップ通信方式の無線通信システムにおいて、中継端末T0は端末Tとの間でアドレス応答転送および応答確認を繰返し行うことで、端末Tに、速やかに、かつ確実にアドレス設定を行うことができる。   With this configuration, in the wireless communication system of the multi-hop communication system, the relay terminal T0 performs a part of response proxy processing on behalf of the parent terminal 1, so that the address response transfer signal including the official address is transmitted at the terminal T. Even if the relay terminal T0 cannot correctly receive the response confirmation signal from the terminal T, the retransmission is performed between the relay terminal T0 and the terminal T. Traffic can be minimized. Further, in the wireless communication system of the multi-hop communication method in which communication may become unstable, the relay terminal T0 repeats address response transfer and response confirmation with the terminal T, so that the terminal T can be quickly In addition, the address can be set surely.

さらにまた、中継端末T0は、端末Tから正式アドレスを付与したことに対する応答確認信号を受信する前に、親端末1に代理応答確認信号を送信して正式アドレスを決定させているので、前記アドレス応答転送信号の予め定める回数の再送信によっても端末からの応答確認信号を受信できず、実際に正式アドレスを設定できているかどうか分からない場合に、親端末1に取消し信号を送信し、付与した正式アドレスを開放させるので、アドレス資源を有効に使用することができる。   Furthermore, since the relay terminal T0 transmits the proxy response confirmation signal to the parent terminal 1 before receiving the response confirmation signal for giving the formal address from the terminal T, the relay terminal T0 determines the formal address. If the response confirmation signal from the terminal cannot be received even by re-sending the response transfer signal a predetermined number of times, and if it is not known whether the official address has actually been set, a cancel signal is transmitted to the parent terminal 1 and given Since the official address is released, the address resource can be used effectively.

[実施の形態2]
図11は、本発明の実施の第2の形態に係る無線通信システムにおける通信パケットのデータ形式を示す図である。本実施の形態で使用する無線通信装置には、前述の図4や図5で示す構成を用いることができ、信号処理部12,22が管理する仮アドレスのデータ形式が異なるだけである。この図11(a)〜(g)で示す各信号は、前述の図3(a)〜(g)で示す信号にそれぞれ対応しており、各信号の機能に対する説明は省略する。
[Embodiment 2]
FIG. 11 is a diagram showing a data format of a communication packet in the wireless communication system according to the second embodiment of the present invention. The wireless communication apparatus used in this embodiment can use the configuration shown in FIGS. 4 and 5 described above, and only the data format of the temporary address managed by the signal processing units 12 and 22 is different. The signals shown in FIGS. 11A to 11G correspond to the signals shown in FIGS. 3A to 3G, respectively, and description of the function of each signal is omitted.

注目すべきは、本実施の形態では、図11(a)で示すアドレス要求信号において、仮アドレスの格納先が図3(a)と異なり、内容データに格納されることである。具体的には、端末Tの信号処理部22のアドレス要求送信処理では、送信元アドレスには仮アドレス設定中を示す仮アドレス設定コードを格納し、代りに仮アドレス発生部23で発生された仮アドレスを、内容データ部において、アドレス要求信号であることを表すコード(フラグなど)に続いて格納する。同様に、端末Tの応答確認送信処理では、図11(f)で示すように、送信元アドレスには前記仮アドレス設定コードを格納し、内容データ部には、応答確認信号であることを表すコードに続いて、仮アドレスが格納される。   It should be noted that in the present embodiment, in the address request signal shown in FIG. 11A, the temporary address storage destination is stored in the content data unlike FIG. 3A. Specifically, in the address request transmission process of the signal processing unit 22 of the terminal T, a temporary address setting code indicating that a temporary address is being set is stored in the transmission source address, and instead the temporary address generated by the temporary address generation unit 23 is stored. The address is stored in the content data section following a code (such as a flag) indicating an address request signal. Similarly, in the response confirmation transmission process of the terminal T, as shown in FIG. 11 (f), the temporary address setting code is stored in the transmission source address, and the response data is indicated in the content data portion. Following the code, a temporary address is stored.

また、アドレスが確定している中継端末T0から親端末1へのアドレス要求転送信号には、図11(b)で示すように、その仮アドレスを中継端末T0で読替え、仮アドレスよりもデータ長の短い任意の管理番号が送信される。このため、中継端末T0の信号処理部22の代理アドレス要求受信処理では、仮アドレスと自身の生成した管理番号との対応表を持つ。   Further, in the address request transfer signal from the relay terminal T0 to which the address is fixed to the parent terminal 1, as shown in FIG. 11B, the temporary address is read by the relay terminal T0, and the data length is longer than the temporary address. An arbitrary management number is transmitted. For this reason, the proxy address request reception process of the signal processing unit 22 of the relay terminal T0 has a correspondence table between the temporary address and the management number generated by itself.

そして、親端末1のアドレス応答送信処理では、図11(c)で示すように、管理番号に正式アドレスを添付したアドレス応答信号が返信される。中継端末T0は、代理アドレス応答送信処理で、このアドレス応答信号の管理番号を読替えて、図11(d)で示すアドレス応答転送信号を端末Tへ送信する。   Then, in the address response transmission process of the parent terminal 1, as shown in FIG. 11C, an address response signal in which the official address is attached to the management number is returned. In the proxy address response transmission process, the relay terminal T0 replaces the management number of this address response signal and transmits the address response transfer signal shown in FIG.

また、中継端末T0の信号処理部22の代理応答確認送信処理および取消し送信処理では、それぞれ図11(e)および図11(g)で示す代理応答確認信号および取消し信号を作成し、送信する。   Further, in the proxy response confirmation transmission process and the cancellation transmission process of the signal processing unit 22 of the relay terminal T0, the proxy response confirmation signal and the cancellation signal shown in FIGS. 11 (e) and 11 (g) are created and transmitted.

このように構成することで、端末Tと中継端末T0との間のアドレス要求信号およびアドレス応答転送信号のデータ長を短くして、乱数によって発生される仮アドレスが複数の端末間で重複することを防止することができる。また、中継端末T0と親端末1との間では、仮アドレスよりも短いデータ長の管理番号で仮アドレスを管理するので、一層トラヒックを削減することができる。   With this configuration, the data lengths of the address request signal and the address response transfer signal between the terminal T and the relay terminal T0 are shortened, and temporary addresses generated by random numbers are duplicated among a plurality of terminals. Can be prevented. Further, since the temporary address is managed between the relay terminal T0 and the parent terminal 1 using a management number having a data length shorter than that of the temporary address, traffic can be further reduced.

[実施の形態3]
図12は、本発明の実施の第3の形態に係る無線通信システムにおける端末T’,T0’の機能的構成を示すブロック図である。これらの端末T’,T0’は、前述の図5で示す端末T,T0に類似し、対応する部分には同一の参照符号を付して示し、その説明を省略する。注目すべきは、これらの端末T’,T0’では、信号処理部22aは、アドレス要求異常通知処理によって、アドレス要求信号がうまく受信できなかったときに、当該アドレス要求信号が受け入れなかったことを示すアドレス設定エラー信号をブロードキャストまたはマルチキャストで送信することである。このため、端末T’,T0’は、通信経路処理部26で仮アドレスと判定されると、それを一時格納する仮アドレス管理テーブル29を備えている。
[Embodiment 3]
FIG. 12 is a block diagram showing a functional configuration of terminals T ′ and T0 ′ in the radio communication system according to the third embodiment of the present invention. These terminals T ′ and T0 ′ are similar to the terminals T and T0 shown in FIG. 5 described above, and corresponding portions are denoted by the same reference numerals, and description thereof is omitted. It should be noted that in these terminals T ′ and T0 ′, when the address request signal could not be successfully received by the address request abnormality notification process, the signal processing unit 22a did not accept the address request signal. The address setting error signal shown is transmitted by broadcast or multicast. For this reason, when the communication path processing unit 26 determines that the terminals T ′ and T0 ′ are temporary addresses, the terminals T ′ and T0 ′ include a temporary address management table 29 that temporarily stores them.

図13および図14は、本実施の形態のアドレス付与動作を説明するための図である。これらの動作は、前述の図2の動作に類似しており、異なる点について説明する。図13では、複数の端末Tが同じ中継端末T0に対してほぼ同時にアドレス要求を発生してアドレス要求パケットが衝突している例である。中継端末T0’が、応答処理が終わるまでに複数の仮アドレスを受けたり、アドレス要求部まで正しく受信し、その後のデータが壊れていても同様である。親端末1および端末T,T0;T’,T0’は、前述のようにキャリアセンスによって、他の端末からのキャリアが検出されないときに送信を開始するようになっているが、図13で示す状況は、互いの発振したキャリアを検出できない隠れ端末の関係にあるときに、それらの端末の両方と通信可能な端末で生じる。   13 and 14 are diagrams for explaining the address assignment operation of the present embodiment. These operations are similar to the operations of FIG. 2 described above, and different points will be described. FIG. 13 shows an example in which a plurality of terminals T issue address requests to the same relay terminal T0 almost simultaneously and address request packets collide. The same applies to the case where the relay terminal T0 'receives a plurality of temporary addresses by the time the response processing is completed or receives correctly to the address request unit and the subsequent data is corrupted. The parent terminal 1 and the terminals T and T0; T ′ and T0 ′ are configured to start transmission when no carrier from another terminal is detected by carrier sense as described above. The situation occurs at terminals that are able to communicate with both of those terminals when they are in a hidden terminal relationship that cannot detect each other's oscillated carriers.

一方、図14の例は、衝突はしていないけれども複数の端末Tで同一の仮アドレスが使用されている例である。このような状況は、仮アドレス管理テーブル29に記憶されている先に受信された仮アドレスと、後に受信された仮アドレスとを比較することで判定することができる。   On the other hand, the example of FIG. 14 is an example in which the same temporary address is used in a plurality of terminals T although there is no collision. Such a situation can be determined by comparing the previously received temporary address stored in the temporary address management table 29 with the temporarily received temporary address.

このような状況になると、信号処理部22aは、アドレス要求異常通知処理によって、アドレス要求信号がうまく受け入れられなかったことを示す前記アドレス設定エラー信号を、たとえば前述の仮アドレスコード宛にマルチキャスト送信することで他の中継端末へ中継されなくすることができる。前述のアドレス設定エラー信号を受信した端末T0’は、新たな仮アドレスを発生し、再送信する。   In such a situation, the signal processing unit 22a multicast-transmits the address setting error signal indicating that the address request signal has not been successfully accepted by address request abnormality notification processing, for example, to the temporary address code described above. Thus, it is possible to prevent relaying to other relay terminals. The terminal T0 'that has received the address setting error signal generates a new temporary address and retransmits it.

そして、その再送信にあたって、端末T0’の信号処理部のアドレス要求送信処理では、タイマによって起動からの時間を計測しており、前記アドレス要求信号の内容データの部分に、その計測した経過時間データを添付して、その経過時間に対応した時間T11,T21だけずれて再送信する。これを受信した中継端末T0’の代理アドレス応答処理で親端末1から受信したアドレス応答信号を、前記経過時間データに対応した時間T12,T22だけずらして、前記アドレス応答転送信号を送信する。   In the re-transmission, in the address request transmission process of the signal processing unit of the terminal T0 ′, the time from activation is measured by a timer, and the measured elapsed time data is included in the content data portion of the address request signal. Is attached and retransmitted while being shifted by times T11 and T21 corresponding to the elapsed time. The address response transfer signal is transmitted by shifting the address response signal received from the parent terminal 1 by the proxy address response processing of the relay terminal T0 'that has received this by the times T12 and T22 corresponding to the elapsed time data.

図15は、アドレス要求の重複判定処理を詳しく説明するためのフローチャートである。この動作は、中継端末T0’において、前述の図9のステップS35〜S37間で行われる。先ずステップS51で、アドレス要求信号中の送信元アドレスである仮アドレスが仮アドレス管理テーブル29に格納され、ステップS52ではアドレス応答信号のパケットの組立てが終了して、アドレス応答の準備ができたか否かが判断され、準備ができているとステップS37に移ってアドレス応答信号が送信される。   FIG. 15 is a flowchart for explaining in detail the address request duplication determination process. This operation is performed in the relay terminal T0 'between steps S35 to S37 in FIG. First, in step S51, the temporary address which is the source address in the address request signal is stored in the temporary address management table 29. In step S52, the assembly of the address response signal packet is completed, and whether or not the address response is ready. Is determined, and if ready, the process proceeds to step S37 and an address response signal is transmitted.

一方、ステップS52でアドレス応答の準備ができていないときにはステップS53に移り、新たなアドレス要求が発生しているか否かが判断され、発生していないときにはステップS52に戻り、発生しているときにはステップS54に移る。ステップS54では、その新たに発生したアドレス要求の仮アドレスが仮アドレス管理テーブル29に格納されている、すなわち先に受信したアドレス要求信号と同じ仮アドレスであるか否かが判断され、同じ仮アドレスでないときにはステップS52に戻る。   On the other hand, when the address response is not ready in step S52, the process proceeds to step S53, where it is determined whether or not a new address request has been generated. If not, the process returns to step S52. The process moves to S54. In step S54, it is determined whether or not the temporary address of the newly generated address request is stored in the temporary address management table 29, that is, whether or not it is the same temporary address as the previously received address request signal. If not, the process returns to step S52.

これに対して、ステップS54で同じ仮アドレスであるときにはステップS55で不正要求と判断し、ステップS56でアドレス設定エラー送信処理を開始して送信モードとなる。ステップS57では、所定の送信期間内にキャリアセンスによって送信可能となり、送信できたか否かが判断され、送信できなかった場合はステップS58でアドレス設定エラー信号の送信は失敗と判断して処理を終了する。ステップS58でアドレス設定エラー信号が送信できた場合は、ステップS59で送信成功と判断し、ステップS60で仮アドレス管理テーブル29に格納されていた仮アドレスを破棄し、ステップS61でアドレス応答送信処理を中止する。   On the other hand, if it is the same temporary address in step S54, it is determined as an illegal request in step S55, and an address setting error transmission process is started in step S56 to enter the transmission mode. In step S57, transmission can be performed by carrier sense within a predetermined transmission period, and it is determined whether or not transmission is possible. If transmission is not possible, it is determined in step S58 that the transmission of the address setting error signal has failed and the process is terminated. To do. If the address setting error signal can be transmitted in step S58, it is determined in step S59 that the transmission is successful, the temporary address stored in the temporary address management table 29 is discarded in step S60, and address response transmission processing is performed in step S61. Cancel.

このように構成することで、端末T’がアドレス要求信号を送信した後、前記アドレス設定エラー信号を受信すれば、先のアドレス要求が受け入れなかったことを認識することができ、直ちに再要求の処理に移り、確実に正式アドレスを取得することができる。また、中継端末T0’が複数のアドレス要求信号をほぼ同時に受信しても、アドレス応答転送信号の送信タイミングを端末T’の起動からの経過時間に対応した時間T12,T22だけずらすことで、それらが衝突する可能性は低くなり、正式アドレスを確実に設定することができる。   With this configuration, when the terminal T ′ receives the address setting error signal after transmitting the address request signal, it can recognize that the previous address request has not been accepted, and immediately re-request Proceed to the process, and you can get the official address reliably. Even if the relay terminal T0 ′ receives a plurality of address request signals almost simultaneously, the transmission timing of the address response transfer signal is shifted by times T12 and T22 corresponding to the elapsed time from the activation of the terminal T ′. Is less likely to collide, and the official address can be set reliably.

本発明の実施の第1の形態に係る無線通信システムの構成を示す図である。It is a figure which shows the structure of the radio | wireless communications system which concerns on the 1st Embodiment of this invention. 本発明の実施の第1の形態によるアドレス付与動作の通信フローを示す図である。It is a figure which shows the communication flow of the address assignment operation | movement by the 1st Embodiment of this invention. 本発明の実施の第1の形態での通信パケットのパケットフォーマットを示す図である。It is a figure which shows the packet format of the communication packet in the 1st Embodiment of this invention. 親端末の機能的構成を示すブロック図である。It is a block diagram which shows the functional structure of a parent terminal. 端末および中継端末の機能的構成を示すブロック図である。It is a block diagram which shows the functional structure of a terminal and a relay terminal. 各端末の通常送信時の基本動作を説明するためのフローチャートである。It is a flowchart for demonstrating the basic operation | movement at the time of normal transmission of each terminal. 各端末の通常受信時の基本動作を説明するためのフローチャートである。It is a flowchart for demonstrating the basic operation | movement at the time of normal reception of each terminal. 端末のアドレス要求時の動作を説明するためのフローチャートである。It is a flowchart for demonstrating the operation | movement at the time of the address request | requirement of a terminal. 親端末のアドレス要求の受信時の動作を説明するためのフローチャートである。It is a flowchart for demonstrating the operation | movement at the time of reception of the address request | requirement of a parent terminal. 中継端末のアドレス要求時の動作を説明するためのフローチャートである。It is a flowchart for demonstrating the operation | movement at the time of the address request | requirement of a relay terminal. 本発明の実施の第2の形態に係る無線通信システムにおける通信パケットのデータ形式を示す図である。It is a figure which shows the data format of the communication packet in the radio | wireless communications system which concerns on the 2nd Embodiment of this invention. 本発明の実施の第3の形態に係る無線通信システムにおける端末および中継端末の機能的構成を示すブロック図である。It is a block diagram which shows the functional structure of the terminal and relay terminal in the radio | wireless communications system which concerns on the 3rd Embodiment of this invention. 本発明の実施の第3の形態のアドレス付与動作を説明するための図である。It is a figure for demonstrating the address provision operation | movement of the 3rd Embodiment of this invention. 本発明の実施の第3の形態のアドレス付与動作を説明するための図である。It is a figure for demonstrating the address provision operation | movement of the 3rd Embodiment of this invention. 本発明の実施の第3の形態によるアドレス要求の重複判定処理を詳しく説明するためのフローチャートである。It is a flowchart for demonstrating in detail the duplication determination process of the address request | requirement by the 3rd Embodiment of this invention.

符号の説明Explanation of symbols

1 親端末
1a データベース
11 無線通信部
12 信号処理部
13 アドレス処理部
14 アドレス記憶部
15 無線信号処理部
16 アンテナ
21 無線通信部
22,22a 信号処理部
23 仮アドレス発生部
24 アドレス記憶部
25 通信経路記憶部
26 通信経路処理部
27 無線信号処理部
28 アンテナ
29 仮アドレス管理テーブル
T;T’;T11,T12,・・・,T1m;T21,・・・,T2n;T3 端末
T0;T0’T10,T20 中継端末
DESCRIPTION OF SYMBOLS 1 Parent terminal 1a Database 11 Wireless communication part 12 Signal processing part 13 Address processing part 14 Address storage part 15 Wireless signal processing part 16 Antenna 21 Wireless communication part 22, 22a Signal processing part 23 Temporary address generation part 24 Address storage part 25 Communication path Storage unit 26 Communication path processing unit 27 Radio signal processing unit 28 Antenna 29 Temporary address management table T; T '; T11, T12, ..., T1m; T21, ..., T2n; T3 Terminal T0; T20 relay terminal

Claims (6)

端末と親端末との間に中継端末として介在される無線通信装置において、
前記親端末のアドレスを記憶しているアドレス記憶部と、
無線通信可能な無線通信部と、
前記無線通信部で送受信される信号を処理する信号処理部とを含み、
前記信号処理部は、
前記無線通信部で端末からのアドレス要求信号を受信すると、前記アドレス記憶部を参照して、送信先アドレスを親端末のアドレスに設定するとともに、送信元アドレスを前記端末の仮アドレスから自機のアドレスに書換えたアドレス要求転送信号を前記無線通信部から親端末へ転送する代理アドレス要求機能と、
前記親端末から付与された正式アドレスを含むアドレス応答信号を受信すると、送信先アドレスを自機のアドレスから前記端末の仮アドレスに書換えるとともに、送信元アドレスを親端末のアドレスから自機のアドレスに書換えたアドレス応答転送信号を端末へ転送する代理アドレス応答機能と、
前記アドレス応答転送信号を転送すると前記親端末に代理応答確認信号を送信して前記正式アドレスを決定させるとともに、前記アドレス応答転送信号を転送してから、正式アドレスの付与による端末からの応答確認信号を受信するまで前記アドレス応答転送信号を再送信する代理応答確認機能とを備えて成ることを特徴とする無線通信装置。
In a wireless communication device interposed as a relay terminal between a terminal and a parent terminal,
An address storage unit storing an address of the parent terminal;
A wireless communication unit capable of wireless communication;
A signal processing unit that processes a signal transmitted and received by the wireless communication unit,
The signal processing unit
When the wireless communication unit receives the address request signal from the terminal, the address storage unit is referred to, the transmission destination address is set to the address of the parent terminal, and the transmission source address is changed from the temporary address of the terminal to the own device. A proxy address request function for transferring an address request transfer signal rewritten to an address from the wireless communication unit to a parent terminal;
When an address response signal including the official address given from the parent terminal is received, the transmission destination address is rewritten from the address of the own machine to the temporary address of the terminal, and the source address is changed from the address of the parent terminal to the address of the own machine. Proxy address response function to transfer the address response transfer signal rewritten to
When the address response transfer signal is transferred, a proxy response confirmation signal is transmitted to the parent terminal to determine the formal address, and after the address response transfer signal is transferred, a response confirmation signal from the terminal by giving the formal address A wireless communication device comprising: a proxy response confirmation function for retransmitting the address response transfer signal until a signal is received.
前記信号処理部は、前記アドレス応答転送信号の予め定める回数の再送信によっても、端末からの応答確認信号を受信できない場合は、前記親端末に、付与した正式アドレスを開放させる取消し信号を送信する要求取消し機能をさらに備えることを特徴とする請求項1記載の無線通信装置。   If the signal processing unit cannot receive a response confirmation signal from the terminal even after a predetermined number of retransmissions of the address response transfer signal, the signal processing unit transmits a cancellation signal for releasing the assigned formal address to the parent terminal. The wireless communication apparatus according to claim 1, further comprising a request cancellation function. 前記請求項1または2記載の無線通信装置を中継端末として備えるとともに、親端末および複数の端末を備えて成り、通信パケットが中継端末を経由して転送されることを特徴とするマルチホップ通信方式の無線通信システム。   A multi-hop communication system comprising the wireless communication device according to claim 1 or 2 as a relay terminal, a parent terminal and a plurality of terminals, wherein a communication packet is transferred via the relay terminal Wireless communication system. 前記中継端末の代理アドレス要求機能は、前記仮アドレスに代えて、前記仮アドレスよりもデータ長の短い任意の管理番号を前記アドレス要求転送信号に添付して送信するとともに、前記仮アドレスと管理番号との対応関係を記憶しており、
前記親端末は、前記管理番号に対して正式アドレスを付与し、
前記中継端末の代理アドレス要求機能は、前記親端末から付与された正式アドレスを含むアドレス応答信号を受信すると、送信先アドレスを前記管理番号に対応した仮アドレスに書換えて前記アドレス応答転送信号を作成することを特徴とする請求項3記載の無線通信システム。
The proxy address request function of the relay terminal transmits, instead of the temporary address, an arbitrary management number having a data length shorter than the temporary address attached to the address request transfer signal, and the temporary address and the management number. Remembers the correspondence with
The parent terminal gives a formal address to the management number,
When the proxy address request function of the relay terminal receives an address response signal including the formal address given from the parent terminal, the address response transfer signal is created by rewriting the destination address to a temporary address corresponding to the management number The wireless communication system according to claim 3.
前記中継端末は、仮アドレスが同一の複数のアドレス要求信号を受信したときに、当該アドレス要求信号が受け入れなかったことを示すアドレス設定エラー信号をブロードキャストまたはマルチキャストで送信するアドレス要求異常通知機能を有することを特徴とする請求項3または4記載の無線通信システム。   When the relay terminal receives a plurality of address request signals having the same temporary address, the relay terminal has an address request error notification function that transmits an address setting error signal indicating that the address request signal is not accepted by broadcast or multicast. The wireless communication system according to claim 3 or 4, characterized by the above. 前記端末の信号処理部は、起動からの時間を計測し、前記アドレス要求信号に、その計測した経過時間データを添付して送信するアドレス要求機能を有し、
前記中継端末の代理アドレス応答機能は、複数のアドレス要求信号を受信したときに、前記アドレス応答転送信号を前記経過時間データに対応した時間だけずらして送信することを特徴とする請求項3〜5のいずれか1項に記載の無線通信システム。
The signal processing unit of the terminal has an address request function for measuring the time from activation and transmitting the measured elapsed time data attached to the address request signal,
6. The proxy address response function of the relay terminal, when receiving a plurality of address request signals, transmits the address response transfer signal shifted by a time corresponding to the elapsed time data. The wireless communication system according to any one of the above.
JP2005053126A 2005-02-28 2005-02-28 Wireless communication device and wireless communication system using the same Pending JP2006238300A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005053126A JP2006238300A (en) 2005-02-28 2005-02-28 Wireless communication device and wireless communication system using the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005053126A JP2006238300A (en) 2005-02-28 2005-02-28 Wireless communication device and wireless communication system using the same

Publications (1)

Publication Number Publication Date
JP2006238300A true JP2006238300A (en) 2006-09-07

Family

ID=37045427

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005053126A Pending JP2006238300A (en) 2005-02-28 2005-02-28 Wireless communication device and wireless communication system using the same

Country Status (1)

Country Link
JP (1) JP2006238300A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014516504A (en) * 2011-04-25 2014-07-10 コリア ユニバーシティ リサーチ アンド ビジネス ファウンデーション Apparatus and method for controlling backbone network for sensor network
US8942212B2 (en) 2007-02-19 2015-01-27 Nec Corporation Autoconfiguration system for wireless sensor network and its method, and gateway apparatus for wireless sensor network
WO2019240220A1 (en) * 2018-06-14 2019-12-19 住友電気工業株式会社 Wireless sensor system, wireless terminal device, communication control method and communication control program

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8942212B2 (en) 2007-02-19 2015-01-27 Nec Corporation Autoconfiguration system for wireless sensor network and its method, and gateway apparatus for wireless sensor network
JP2014516504A (en) * 2011-04-25 2014-07-10 コリア ユニバーシティ リサーチ アンド ビジネス ファウンデーション Apparatus and method for controlling backbone network for sensor network
WO2019240220A1 (en) * 2018-06-14 2019-12-19 住友電気工業株式会社 Wireless sensor system, wireless terminal device, communication control method and communication control program
JPWO2019240220A1 (en) * 2018-06-14 2020-07-02 住友電気工業株式会社 Wireless sensor system, wireless terminal device, communication control method, and communication control program
CN112262417A (en) * 2018-06-14 2021-01-22 住友电气工业株式会社 Wireless sensor system, wireless terminal device, communication control method, and communication control program
JP2021100269A (en) * 2018-06-14 2021-07-01 住友電気工業株式会社 Wireless sensor system, wireless terminal device, communication control method, and communication control program
US11395112B2 (en) 2018-06-14 2022-07-19 Sumitomo Electric Industries, Ltd. Wireless sensor system, wireless terminal device, communication control method and communication control program
JP7147897B2 (en) 2018-06-14 2022-10-05 住友電気工業株式会社 Wireless sensor system and communication control method
JP2022174205A (en) * 2018-06-14 2022-11-22 住友電気工業株式会社 Wireless sensor system and communication control method
US11683669B2 (en) 2018-06-14 2023-06-20 Sumitomo Electric Industries, Ltd. Wireless sensor system, wireless terminal device, communication control method and communication control program
JP7323031B2 (en) 2018-06-14 2023-08-08 住友電気工業株式会社 Wireless sensor system and communication control method
US11930431B2 (en) 2018-06-14 2024-03-12 Sumitomo Electric Industries, Ltd. Wireless sensor system, wireless terminal device, communication control method and communication control program

Similar Documents

Publication Publication Date Title
JP2937813B2 (en) Automatic routing method and system
CN1316793C (en) Router apparatus, route information distributing method, and communications system
EP0507579B1 (en) Multiplexed transmission between nodes with cyclic redundancy check calculation
KR100538223B1 (en) System and method for deleting tunnelling in the connection between mobile node and correspondent node
EP1207709B1 (en) Retransmission control method and the apparatus
JP2019009596A (en) On-vehicle communication device, communication control method and communication control program
JPS6276840A (en) Node equipment
JP2006238300A (en) Wireless communication device and wireless communication system using the same
US7626937B2 (en) System and method for network connection detection
US20060077929A1 (en) Apparatus and method for receiving LLC packet data of mobile communications system
JPH09270822A (en) Packet communication path test method
JPS6239934A (en) Data communication control system
JP5325183B2 (en) Wireless communication system
JP2006238301A (en) Wireless communication system and address setting method therefor
CN111490938A (en) Communication link checking method
JP4936469B2 (en) Communications system
JPH01289339A (en) Communication controller
JPH0650862B2 (en) Data communication control method
JP2925679B2 (en) Relay device
JP3036050B2 (en) Communication control device
KR100298483B1 (en) Multiple CPU Board Level Higher Communication Protocols
KR20120068526A (en) System and method for transmitting data based on udp
JPH10285211A (en) Network system
JPH11331308A (en) Data transmission system
JPH06311171A (en) Station number automatic setting system