JP2012070368A - Multi-hop communication method, multi-hop communication system, and communication terminal - Google Patents

Multi-hop communication method, multi-hop communication system, and communication terminal Download PDF

Info

Publication number
JP2012070368A
JP2012070368A JP2011185079A JP2011185079A JP2012070368A JP 2012070368 A JP2012070368 A JP 2012070368A JP 2011185079 A JP2011185079 A JP 2011185079A JP 2011185079 A JP2011185079 A JP 2011185079A JP 2012070368 A JP2012070368 A JP 2012070368A
Authority
JP
Japan
Prior art keywords
terminal
communication
parent
child
route
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2011185079A
Other languages
Japanese (ja)
Other versions
JP5870286B2 (en
Inventor
Yukio Okada
幸夫 岡田
Junichi Suzuki
淳一 鈴木
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 Corp
Original Assignee
Panasonic 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 Panasonic Corp filed Critical Panasonic Corp
Priority to JP2011185079A priority Critical patent/JP5870286B2/en
Publication of JP2012070368A publication Critical patent/JP2012070368A/en
Application granted granted Critical
Publication of JP5870286B2 publication Critical patent/JP5870286B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a multi-hop communication method, a multi-hop communication system, and a communication terminal that can prevent a slave terminal which cannot communicate with a master terminal from occurring by preventing slave terminals from concentrating under a particular master terminal.SOLUTION: In a multi-hop communication method, each of multiple master terminals 1 and each of multiple slave terminals 2 perform multi-hop communication with each other, and a slave terminal 2 constructs a communication route with a single master terminal 1. A slave terminal 2-1 constructing a communication route with a master terminal 1-1, if the remaining number of communication routes the master terminal 1-1 can construct with slave terminals 2 is equal to or less than a threshold value K1, constructs a communication route with a master terminal 1-2 which has the remaining number of communication routes it can construct with slave terminals 2 larger than a threshold value K2.

Description

本発明は、マルチホップ通信方法、マルチホップ通信システム、および通信端末に関するものである。   The present invention relates to a multihop communication method, a multihop communication system, and a communication terminal.

従来から、通信ネットワーク上に存在する通信端末間で通信する際に、情報を伝送しようとする通信端末間で通信を直接行うことができない場合に、他の通信端末を通信の中継に用いることによって通信を可能にするマルチホップ通信が知られている。このようなマルチホップ通信は、とくに通信ネットワークの一つである無線ネットワークにおいて用いられる。さらには、電力線搬送通信(以下、「PLC」(Power Line Communication)と略称する)の技術を用いて構築した通信ネットワークであるPLCネットワークにおいても、マルチホップ通信が用いられる。   Conventionally, when communicating between communication terminals existing on a communication network, when communication cannot be performed directly between communication terminals that are trying to transmit information, other communication terminals are used for relaying communication. Multi-hop communication that enables communication is known. Such multi-hop communication is used particularly in a wireless network which is one of communication networks. Furthermore, multi-hop communication is also used in a PLC network, which is a communication network constructed using a technology of power line carrier communication (hereinafter abbreviated as “PLC” (Power Line Communication)).

このような通信ネットワークでは、通信端末の接続・離脱、通信環境の変動等によって、通信可能であった通信端末が通信不可能となって、通信ネットワークのネットワークトポロジーが変化する場合がある。したがって、各通信端末間で良好に通信を行うためには、通信ネットワークのネットワークトポロジーが変化した場合に各通信端末間の通信ルートを構築することが必要となる(例えば、特許文献1,2参照)。   In such a communication network, communication terminals that can communicate with each other may become unable to communicate due to connection / disconnection of communication terminals, fluctuations in the communication environment, and the like, and the network topology of the communication network may change. Therefore, in order to perform good communication between the communication terminals, it is necessary to construct a communication route between the communication terminals when the network topology of the communication network changes (see, for example, Patent Documents 1 and 2). ).

通信ルートを構築する方法としては、例えば、通信端末間で経路情報を交換し、使用可能な通信ルートを探索するとともに使用可能な通信ルートのうち通信品質のよいルートを選択することによって、通信端末間の通信ルートを構築する方法がある。   As a method of constructing a communication route, for example, by exchanging route information between communication terminals, searching for a usable communication route and selecting a route with good communication quality from among the usable communication routes, the communication terminal There is a way to build a communication route between.

また、通信品質だけでなく、通信ルートのホップ数も考慮して通信ルートを選択することによって、通信端末間の通信ルートを構築する方法もある。   There is also a method for constructing a communication route between communication terminals by selecting a communication route in consideration of not only the communication quality but also the number of hops of the communication route.

特開2006−67557号公報JP 2006-67557 A 特開2008−244679号公報JP 2008-244679 A

最近では、複数台の親端末を所定範囲毎に設置し、各親端末が周辺に存在する複数の子端末との間で通信を行う通信ネットワークがあり、このような通信ネットワークにおいて、親端末と子端末との間の通信に上記マルチホップ通信を用いることが提案されている。そして、所定範囲毎に設けた親端末が、周辺の複数の子端末の各々から、直接的、または他の子端末を中継端末として用いて間接的に、所定の情報を取得する。   Recently, there are communication networks in which a plurality of parent terminals are installed for each predetermined range, and each parent terminal communicates with a plurality of child terminals in the vicinity. In such a communication network, It has been proposed to use the multi-hop communication for communication with a child terminal. Then, a parent terminal provided for each predetermined range acquires predetermined information from each of a plurality of peripheral child terminals directly or indirectly using another child terminal as a relay terminal.

上記親端末および子端末を用いた通信ネットワークでは、1台の親端末が複数の子端末との間で通信ルートを構築することによって、1台の親端末の配下に複数の子端末が設定される。そして、親端末は、配下となる複数の子端末との間で構築している通信ルートの各情報(ルート情報)を、例えばルートテーブルとしてメモリ上に保持する必要がある。しかし、ルートテーブルを格納するメモリの容量によって、このメモリに格納可能なルート情報の数(レコード数)にも上限がある。すなわち、1台の親端末との間で通信ルートを構築できる子端末の台数には上限がある。   In a communication network using the above parent terminal and child terminals, a single parent terminal establishes a communication route with a plurality of child terminals, thereby setting a plurality of child terminals under the control of one parent terminal. The And the parent terminal needs to hold | maintain each information (route information) of the communication route constructed | assembled between several subordinate subordinates on a memory as a route table, for example. However, depending on the capacity of the memory for storing the route table, there is an upper limit to the number of route information (number of records) that can be stored in this memory. That is, there is an upper limit on the number of child terminals that can establish a communication route with one parent terminal.

したがって、ある親端末の配下に子端末が集中し、この親端末に格納しているレコード数が上限に達した場合、この親端末とのみ通信ルートを構築可能な子端末は、この親端末と通信ルートを構築できない事態が発生する。   Therefore, when a child terminal is concentrated under a certain parent terminal and the number of records stored in the parent terminal reaches the upper limit, a child terminal that can establish a communication route only with this parent terminal A situation occurs where a communication route cannot be established.

このように、マルチホップ通信を用いた従来の通信ネットワークでは、特定の親端末の配下に子端末が集中し、親端末との間で通信不可となる子端末が発生するという課題があった。   As described above, the conventional communication network using multi-hop communication has a problem in that the child terminals are concentrated under the specific parent terminal, and the child terminals that cannot communicate with the parent terminal are generated.

本発明は、上記事由に鑑みてなされたものであり、その目的は、特定の親端末の配下に子端末が集中することなく、親端末との間で通信不可となる子端末の発生を抑制できるマルチホップ通信方法、マルチホップ通信システム、および通信端末を提供することにある。   The present invention has been made in view of the above reasons, and its purpose is to suppress the generation of child terminals that cannot communicate with the parent terminal without the child terminals being concentrated under the control of the specific parent terminal. An object is to provide a multihop communication method, a multihop communication system, and a communication terminal.

本発明のマルチホップ通信方法は、複数の親端末の各々と複数の子端末の各々とが互いにマルチホップ通信を行い、前記子端末は1台の前記親端末との間で通信ルートを構築するマルチホップ通信方法において、第1の前記親端末との間で通信ルートを構築している前記子端末は、前記第1の親端末が前記子端末との間で構築可能な通信ルートの残数が第1の閾値以下になった場合、前記子端末との間で構築可能な通信ルートの残数が第2の閾値を上回っている第2の前記親端末との間で通信ルートを構築することを特徴とする。   In the multi-hop communication method of the present invention, each of the plurality of parent terminals and each of the plurality of child terminals perform multi-hop communication with each other, and the child terminal establishes a communication route with the one parent terminal. In the multi-hop communication method, the child terminal that has established a communication route with the first parent terminal has a remaining number of communication routes that the first parent terminal can establish with the child terminal. When the value is equal to or lower than the first threshold, a communication route is established with the second parent terminal whose remaining number of communication routes that can be established with the child terminal exceeds the second threshold. It is characterized by that.

本発明のマルチホップ通信システムは、複数の親端末の各々と複数の子端末の各々とが互いにマルチホップ通信を行い、前記子端末は1台の親端末との間で通信ルートを構築するマルチホップ通信システムにおいて、前記親端末は、前記子端末との間で構築可能な通信ルートの残数を示す残レコード数情報を含み、自端末の生存を報知するハローパケットを送信し、前記親端末との間で通信ルートを構築している前記子端末は、自端末と通信ルートを構築している前記親端末の前記残レコード数情報を含み、自端末の生存を報知するハローパケットを送信し、前記親端末との間で通信ルートを構築していない前記子端末は、所定時間内に複数の前記ハローパケットを受信した場合、前記ハローパケットの送信元である前記親端末、および前記ハローパケットの送信元である前記子端末が通信ルートを構築している前記親端末の各々について、前記親端末との間に存在する通信ルートの少なくとも通信品質に基づいて通信コストを算出し、この通信コストが最も低い前記親端末との間で通信ルートを構築し、第1の前記親端末との間で通信ルートを構築している前記子端末は、前記第1の親端末、または前記第1の親端末との間で通信ルートを構築している前記子端末から受信した前記ハローパケットに基づく前記第1の親端末の前記残レコード数が第1の閾値以下になった場合、第2の前記親端末、または第2の前記親端末との間で通信ルートを構築している前記子端末から受信した前記ハローパケットに基づく前記第2の親端末の前記残レコード数が第2の閾値を上回っていれば、前記第2の親端末との間で通信ルートを構築することを特徴とする。   In the multi-hop communication system of the present invention, each of a plurality of parent terminals and each of a plurality of child terminals perform multi-hop communication with each other, and the child terminal establishes a communication route with one parent terminal. In the hop communication system, the parent terminal includes information on the number of remaining records indicating the remaining number of communication routes that can be established with the child terminal, and transmits a hello packet for notifying the existence of the own terminal, The child terminal that establishes a communication route with the terminal transmits a hello packet that includes the remaining record number information of the parent terminal that establishes a communication route with the own terminal and notifies the existence of the own terminal. The child terminal that has not established a communication route with the parent terminal receives the plurality of hello packets within a predetermined time, the parent terminal that is the transmission source of the hello packet; and For each of the parent terminals for which the child terminal that is the source of the low packet is building a communication route, a communication cost is calculated based on at least the communication quality of the communication route existing with the parent terminal, The child terminal constructing a communication route with the parent terminal having the lowest communication cost and constructing a communication route with the first parent terminal is the first parent terminal or the first When the number of remaining records of the first parent terminal based on the hello packet received from the child terminal constructing a communication route with one parent terminal is equal to or less than a first threshold, The number of remaining records of the second parent terminal based on the hello packet received from the child terminal that has established a communication route with the parent terminal or the second parent terminal is a second threshold value. If it exceeds Characterized by constructing a communication route between said second main terminal.

この発明において、前記第1の親端末との間で通信ルートを構築している前記子端末は、自端末が他の前記子端末と前記親端末との間で中継端末になっている場合、前記第1の親端末の前記残レコード数が前記第1の閾値以下になったとしても、前記第1の親端末との間で通信ルートを継続して構築することが好ましい。   In this invention, the child terminal that is building a communication route with the first parent terminal, when the own terminal is a relay terminal between the other child terminal and the parent terminal, Even if the number of remaining records of the first parent terminal becomes equal to or less than the first threshold value, it is preferable that a communication route is continuously established with the first parent terminal.

この発明において、前記第1の親端末との間で通信ルートを構築している前記子端末は、自端末が他の前記子端末と前記親端末との間で中継端末になっている場合、自端末を前記中継端末として用いる前記他の子端末の台数が減少するにつれて、前記第1の閾値を高くすることが好ましい。   In this invention, the child terminal that is building a communication route with the first parent terminal, when the own terminal is a relay terminal between the other child terminal and the parent terminal, It is preferable that the first threshold value be increased as the number of the other child terminals using the own terminal as the relay terminal decreases.

この発明において、前記第1の親端末との間で通信ルートを構築している前記子端末は、自端末が他の前記子端末と前記親端末との間で中継端末になっている場合、自端末を前記中継端末として用いる前記他の子端末の台数が減少するにつれて、前記第2の閾値を低くすることが好ましい。   In this invention, the child terminal that is building a communication route with the first parent terminal, when the own terminal is a relay terminal between the other child terminal and the parent terminal, It is preferable that the second threshold value is lowered as the number of the other child terminals using the own terminal as the relay terminal decreases.

この発明において、前記第1の親端末との間で通信ルートを構築している前記子端末は、前記第1の親端末の前記残レコード数が前記第1の閾値以下になった場合、前記第2の親端末の前記残レコード数が前記第2の閾値を上回っていれば、前記第1の親端末へ親端末変更通知パケットを送信するとともに、前記第2の親端末との間で通信ルートを構築し、前記親端末変更通知パケットを受信した前記第1の親端末は、自端末の残レコード数をインクリメントすることが好ましい。   In this invention, the child terminal constructing a communication route with the first parent terminal, when the number of remaining records of the first parent terminal is less than or equal to the first threshold, If the number of remaining records of the second parent terminal exceeds the second threshold value, a parent terminal change notification packet is transmitted to the first parent terminal and communication is performed with the second parent terminal. The first parent terminal that has constructed the route and received the parent terminal change notification packet preferably increments the number of remaining records of the terminal itself.

この発明において、前記第1の親端末との間で通信ルートを構築している前記子端末は、前記第1の親端末の前記残レコード数が前記第1の閾値以下になった場合、前記第2の親端末の前記残レコード数が前記第2の閾値を上回っていれば、前記第1の親端末へ親端末変更可能パケットを送信し、前記親端末変更可能パケットを受信した前記第1の親端末は、自端末の残レコード数が前記第1の閾値以下であれば、前記親端末変更可能パケットの送信元である前記子端末へ親端末変更許可パケットを送信するとともに、自端末の残レコード数をインクリメントし、前記親端末変更許可パケットを受信した前記子端末は、前記第2の親端末との間で通信ルートを構築することが好ましい。   In this invention, the child terminal constructing a communication route with the first parent terminal, when the number of remaining records of the first parent terminal is less than or equal to the first threshold, If the number of remaining records of the second parent terminal exceeds the second threshold value, the first parent terminal changeable packet is transmitted to the first parent terminal, and the first parent terminal changeable packet is received. If the number of remaining records of the terminal is equal to or less than the first threshold, the parent terminal transmits a parent terminal change permission packet to the child terminal that is the transmission source of the parent terminal changeable packet, The child terminal that increments the number of remaining records and receives the parent terminal change permission packet preferably establishes a communication route with the second parent terminal.

本発明の通信端末は、親端末と子端末とが互いに通信ルートを構築してマルチホップ通信を行い、第1の前記親端末との間で通信ルートを構築している前記子端末は、前記第1の親端末が前記子端末との間で構築可能な通信ルートの残数が第1の閾値以下になった場合、前記子端末との間で構築可能な通信ルートの残数が第2の閾値を上回っている第2の前記親端末との間で通信ルートを構築するマルチホップ通信システムの前記親端末に用いられる通信端末であって、前記子端末との間で構築可能な通信ルートの残数を示す残レコード数情報を含み、自端末の生存を報知するハローパケットを送信することを特徴とする。   In the communication terminal of the present invention, the parent terminal and the child terminal establish a communication route with each other to perform multi-hop communication, and the child terminal that establishes a communication route with the first parent terminal includes: When the remaining number of communication routes that can be established between the first parent terminal and the child terminal falls below the first threshold, the remaining number of communication routes that can be established with the child terminal is the second. A communication terminal used for the parent terminal of a multi-hop communication system that establishes a communication route with the second parent terminal that exceeds the threshold value of the communication terminal, and is a communication route that can be established with the child terminal It is characterized by transmitting a hello packet that includes information on the number of remaining records indicating the number of remaining terminals and that reports the existence of the terminal itself.

本発明の通信端末は、親端末との間で通信ルートを構築してマルチホップ通信を行う子端末に用いられる通信端末であって、第1の前記親端末との間で通信ルートを構築している場合、前記第1の親端末が前記子端末との間で構築可能な通信ルートの残数が第1の閾値以下になれば、前記子端末との間で構築可能な通信ルートの残数が第2の閾値を上回っている第2の前記親端末との間で通信ルートを構築することを特徴とする。   The communication terminal of the present invention is a communication terminal used for a child terminal that performs multi-hop communication by establishing a communication route with a parent terminal, and establishes a communication route with the first parent terminal. If the remaining number of communication routes that can be established between the first parent terminal and the child terminal falls below a first threshold, the remaining communication routes that can be established with the child terminal A communication route is established with the second parent terminal whose number exceeds the second threshold.

以上説明したように、本発明では、特定の親端末の配下に子端末が集中することなく、親端末との間で通信不可となる子端末の発生を抑制できるという効果がある。   As described above, according to the present invention, there is an effect that it is possible to suppress the generation of child terminals that cannot communicate with the parent terminal without the child terminals being concentrated under the control of the specific parent terminal.

本発明のマルチホップ通信システムが構成する無線ネットワークを示す概略図である。It is the schematic which shows the radio | wireless network which the multihop communication system of this invention comprises. 同上の通信端末の構成を示すブロック図である。It is a block diagram which shows the structure of a communication terminal same as the above. 同上の通信可能端末管理テーブルの構成を示すテーブル図である。It is a table figure which shows the structure of a communicable terminal management table same as the above. (a)(b)同上の通信ルートテーブルの構成を示すテーブル図である。(A) (b) It is a table figure which shows the structure of a communication route table same as the above. 同上のレコード・コストテーブルの構成を示すテーブル図である。It is a table figure which shows the structure of a record cost table same as the above. 同上の通信シーケンスを示すシーケンス図である。It is a sequence diagram which shows a communication sequence same as the above. (a)(b)同上の通信パケットのフォーマットを示す図である。(A) (b) It is a figure which shows the format of a communication packet same as the above. 実施形態3の従属端末テーブルの構成を示すテーブル図である。It is a table figure which shows the structure of the subordinate terminal table of Embodiment 3. 実施形態5の通信シーケンスを示すシーケンス図である。FIG. 10 is a sequence diagram illustrating a communication sequence according to the fifth embodiment.

以下、本発明の実施の形態を図面に基づいて説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

(実施形態1)
図1は、本実施形態のマルチホップ通信システムが構成する無線ネットワークの概略図である。この無線ネットワークは、複数の住戸Xで構成される住戸群で用いられ、住戸群内には、所定範囲毎(例えば、半径500m毎)に親となる通信端末1が設置され、各住戸Xには、子となる通信端末2が設置される。なお以降、親となる通信端末1は親端末1と称し、子となる通信端末2は子端末2と称す。さらに、親端末1を個別に識別する場合は、親端末1−1,1−2,1−3,...の符号を用い、子端末2を個別に識別する場合は、子端末2−1,2−2,2−3,...の符号を用いる。
(Embodiment 1)
FIG. 1 is a schematic diagram of a wireless network configured by the multi-hop communication system of the present embodiment. This wireless network is used in a dwelling unit group composed of a plurality of dwelling units X. Within the dwelling unit group, a parent communication terminal 1 is installed for each predetermined range (for example, every radius of 500 m). The communication terminal 2 as a child is installed. Hereinafter, the parent communication terminal 1 is referred to as a parent terminal 1 and the child communication terminal 2 is referred to as a child terminal 2. Further, when the parent terminals 1 are individually identified, the parent terminals 1-1, 1-2, 1-3,. . . When the child terminal 2 is individually identified using the code of the child terminal 2-1, 2-2, 2-3,. . . Is used.

そして、子端末2は、各住戸Xに関する所定情報を、1台の親端末1へ無線送信する機能を有する。親端末1は、各住戸Xに関する所定情報を複数の子端末2から無線で取得し、取得した所定情報を、図示しない上位の管理装置へ光ファイバ回線等を用いて送信する機能を有する。例えば、親端末1が、各住戸Xにおける電力使用量、ガス使用量、水道使用量等の検針情報を、子端末2から取得することによって、遠隔検針システムを構成できる。また、親端末1が、予め設定された所定の情報を子端末2との間で送受することによって、各住戸X内の機器の状態を監視する遠隔監視システム、各住戸X内の機器の状態を制御する遠隔制御システム等を構成することも可能である。   The child terminal 2 has a function of wirelessly transmitting predetermined information about each dwelling unit X to one parent terminal 1. The parent terminal 1 has a function of acquiring predetermined information related to each dwelling unit X wirelessly from the plurality of child terminals 2 and transmitting the acquired predetermined information to an upper management device (not shown) using an optical fiber line or the like. For example, a remote meter reading system can be configured by the master terminal 1 acquiring meter reading information such as power usage, gas usage, and water usage in each dwelling unit X from the child terminal 2. Moreover, the remote monitoring system which monitors the state of the apparatus in each dwelling unit X, when the parent terminal 1 transmits / receives the preset predetermined information between the child terminals 2, The state of the apparatus in each dwelling unit X It is also possible to configure a remote control system or the like that controls

この無線ネットワークでは、親端末1および子端末2は、マルチホップ通信により無線信号を互いに送受している。すなわち、本無線ネットワークでは、親端末1と各子端末2との間で直接または間接に通信が行われ、親端末1と直接通信できない子端末2は、通信可能な距離にある他の子端末2が通信パケットを順次中継することで、親端末1との間で通信を行っている。なお、親端末1−子端末2間の通信において、通信パケットを中継する他の子端末2を中継端末と称す。   In this wireless network, the parent terminal 1 and the child terminal 2 transmit and receive wireless signals to each other by multi-hop communication. That is, in this wireless network, communication is performed directly or indirectly between the parent terminal 1 and each child terminal 2, and the child terminal 2 that cannot directly communicate with the parent terminal 1 is connected to another child terminal within a communicable distance. 2 communicates with the parent terminal 1 by sequentially relaying communication packets. In communication between the parent terminal 1 and the child terminal 2, another child terminal 2 that relays communication packets is referred to as a relay terminal.

図2は、通信端末Aのブロック図である。本実施形態では、親端末1と子端末2とに同一の通信端末Aを用いており、例えば、通信端末Aは、ジャンパースイッチや切替スイッチ等の設定手段を用いて「親」に設定されることで親端末1として機能し、また「子」に設定されることで子端末2として機能する。また以降では、親端末1と子端末2とを区別しない場合、通信端末Aと称す。   FIG. 2 is a block diagram of the communication terminal A. In the present embodiment, the same communication terminal A is used for the parent terminal 1 and the child terminal 2. For example, the communication terminal A is set to “parent” using setting means such as a jumper switch or a changeover switch. It functions as the parent terminal 1 and functions as the child terminal 2 by being set to “child”. Further, hereinafter, when the parent terminal 1 and the child terminal 2 are not distinguished, they are referred to as communication terminals A.

通信端末Aは、記憶部10と、制御部20と、無線通信インタフェース部30とを備えて構成される。   The communication terminal A includes a storage unit 10, a control unit 20, and a wireless communication interface unit 30.

記憶部10は、ROMなどの不揮発性のメモリ、EEPROMなどの書換え可能な不揮発性のメモリ、RAMなどの揮発性のメモリからなる。そして記憶部10は、通信ルートや通信可能な隣接端末(直接通信可能な親端末1または子端末2)に関するリンク情報などを記憶するテーブル記憶部101を備える。さらに記憶部10は、通信端末Aを動作させるための制御プログラム等の各プログラムや、各プログラムの実行に必要な情報等も記憶している。   The storage unit 10 includes a nonvolatile memory such as a ROM, a rewritable nonvolatile memory such as an EEPROM, and a volatile memory such as a RAM. And the memory | storage part 10 is provided with the table memory | storage part 101 which memorize | stores the link information etc. regarding the communication route and the communicable adjacent terminal (the parent terminal 1 or the child terminal 2 which can be communicated directly). Further, the storage unit 10 stores each program such as a control program for operating the communication terminal A, information necessary for executing each program, and the like.

本実施形態では、親端末1、子端末2の各々に、ユニークな端末IDが割り付けられ、各通信端末Aの記憶部10には、自端末に割り付けられた端末IDも格納されている。本実施形態では、親端末1−1,1−2,1−3,....に、端末ID「M1」,「M2」,「M3」...が、予め割り付けられている。また、子端末2−1,2−2,2−3,....には、後述する通信ルートが構築された場合に、親端末1によって端末ID「T1」,「T2」,「T3」...が割り付けられる。   In this embodiment, a unique terminal ID is assigned to each of the parent terminal 1 and the child terminal 2, and the terminal ID assigned to the own terminal is also stored in the storage unit 10 of each communication terminal A. In this embodiment, the parent terminals 1-1, 1-2, 1-3,. . . . Terminal IDs “M1”, “M2”, “M3”. . . Are pre-allocated. Also, the child terminals 2-1, 2-2, 2-3,. . . . Includes a terminal ID “T1”, “T2”, “T3”, etc. by the parent terminal 1 when a communication route to be described later is established. . . Is assigned.

また、通信端末Aの各々には、シリアル番号(製造番号)やMACアドレス等の装置IDが予め割り付けられており、各通信端末Aの記憶部10には、この装置IDが予め格納されている。そして、通信端末Aが送受信する通信パケットは、この装置IDが付加されることによって通信制御がなされる。   Further, each communication terminal A is pre-assigned with a device ID such as a serial number (manufacturing number) or a MAC address, and the storage unit 10 of each communication terminal A stores this device ID in advance. . The communication packet transmitted and received by the communication terminal A is subjected to communication control by adding this device ID.

親端末1および子端末2のテーブル記憶部101には、図3に示す通信可能端末管理テーブルTB1が格納される。また、親端末1のテーブル記憶部101には、図4(a)に示す通信ルートテーブルTB21が格納され,子端末2のテーブル記憶部101には、図4(b)に示す通信ルートテーブルTB22、図5に示すレコード・コストテーブルTB3が格納される。   The table storage unit 101 of the parent terminal 1 and the child terminal 2 stores a communicable terminal management table TB1 shown in FIG. The table storage unit 101 of the parent terminal 1 stores the communication route table TB21 shown in FIG. 4A, and the table storage unit 101 of the child terminal 2 stores the communication route table TB22 shown in FIG. The record cost table TB3 shown in FIG. 5 is stored.

通信可能端末管理テーブルTB1は、図3に示すように、他の通信端末Aによって中継されることなく、当該通信端末Aと直接通信することができる通信端末A(隣接端末)に関する情報(通信可能端末情報)を、テーブル形式で記憶している。具体的に、通信可能端末管理テーブルTB1は、隣接端末ID、端末種類、受信リンク通信品質、送信リンク通信品質、リンク通信品質の各フィールドが設けられている。   As shown in FIG. 3, the communicable terminal management table TB1 is information (communication is possible) regarding the communication terminal A (adjacent terminal) that can directly communicate with the communication terminal A without being relayed by another communication terminal A. Terminal information) is stored in a table format. Specifically, the communicable terminal management table TB1 includes fields of adjacent terminal ID, terminal type, reception link communication quality, transmission link communication quality, and link communication quality.

通信可能端末管理テーブルTB1において、隣接端末IDは、自端末と直接通信が可能な通信端末A(以降、隣接端末Aと称す)に割り付けられた端末IDである。端末種類は、隣接端末Aの種類(親端末1「親」または子端末2「子」)を示す。受信リンク通信品質は、隣接端末Aから自端末への通信リンクの通信品質を示す。送信リンク通信品質は、自端末から隣接端末Aへの通信リンクの通信品質を示す。リンク通信品質は、隣接端末Aと自端末との間の通信リンクにおける通信品質を示す。   In the communicable terminal management table TB1, the adjacent terminal ID is a terminal ID assigned to the communication terminal A (hereinafter referred to as the adjacent terminal A) that can directly communicate with the own terminal. The terminal type indicates the type of the adjacent terminal A (parent terminal 1 “parent” or child terminal 2 “child”). The reception link communication quality indicates the communication quality of the communication link from the adjacent terminal A to the own terminal. The transmission link communication quality indicates the communication quality of the communication link from the own terminal to the adjacent terminal A. The link communication quality indicates the communication quality in the communication link between the adjacent terminal A and the own terminal.

直接通信可能な2台の通信端末A−A間の通信リンクにおけるリンク通信品質は、例えば、通信品質値SQが用いられる。通信品質値SQは、直接通信可能な2台の通信端末A−A間の受信信号強度が大きいほど小さくなる10段階や20段階等の整数値で表される。すなわち、通信品質値SQは、その整数値が小さいほど、通信パケットの減衰が小さく、通信状態がよい。   For example, the communication quality value SQ is used as the link communication quality in the communication link between the two communication terminals A-A capable of direct communication. The communication quality value SQ is represented by an integer value such as 10 steps or 20 steps that becomes smaller as the received signal strength between the two communication terminals A-A capable of direct communication becomes larger. That is, as the communication quality value SQ is smaller, the communication packet is less attenuated and the communication state is better.

そして、通信パケットを受信する場所におけるノイズレベルが異なることから、通信リンクにおける双方向の通信品質は互いに異なり、通信リンクにおける双方向の通信品質は、受信リンク通信品質および送信リンク通信品質で構成される。受信リンク通信品質は、直接通信可能な2台の通信端末A−A間のリンクにおいて、自端末Aが他の通信端末Aから通信パケットを受信したときの受信信号強度である。送信リンク通信品質は、直接通信可能な2台の通信端末A−A間のリンクにおいて、自端末Aが他の通信端末Aへ通信パケットを送信し、他の通信端末Aが通信パケットを受信したときの受信信号強度である。   And since the noise level at the place where the communication packet is received is different, the bidirectional communication quality in the communication link is different from each other, and the bidirectional communication quality in the communication link is composed of the reception link communication quality and the transmission link communication quality. The The received link communication quality is a received signal strength when the own terminal A receives a communication packet from another communication terminal A in a link between two communication terminals A-A capable of direct communication. As for the transmission link communication quality, in the link between two communication terminals A-A capable of direct communication, the own terminal A transmits a communication packet to the other communication terminal A, and the other communication terminal A receives the communication packet. Is the received signal strength.

通信可能端末管理テーブルTB1においても、通信端末Aにおける受信リンク通信品質および送信リンク通信品質の各フィールドが設けられている。そして、通信端末A−A間で通信を行った場合に通信の確実性(信頼性)を保証する観点から、受信リンク通信品質と送信リンク通信品質とのうち、通信状態の悪い方(リンク通信品質の値が大きい方)が、2台の通信端末A−A間のリンク通信品質として採用される。   Also in the communicable terminal management table TB1, fields of reception link communication quality and transmission link communication quality in the communication terminal A are provided. Then, from the viewpoint of guaranteeing communication reliability (reliability) when communication is performed between the communication terminals A and A, one of the reception link communication quality and the transmission link communication quality having the worse communication state (link communication). The higher quality value) is adopted as the link communication quality between the two communication terminals A-A.

そして、親端末1と子端末2との間における通信ルートの通信品質の評価である後述のルート通信品質は、親端末1と子端末2との間の通信ルートを構成する各通信リンクのリンク通信品質の和が採用される。   The route communication quality, which will be described later, which is an evaluation of the communication quality of the communication route between the parent terminal 1 and the child terminal 2, is the link of each communication link constituting the communication route between the parent terminal 1 and the child terminal 2. The sum of communication quality is adopted.

なお、上述の通信品質値SQは、受信信号強度と関連付けられたが、受信信号強度に代えて、SN比、EVM(Error Vector Magnitude)、ビットエラーレート、パケットエラーレート等の他の要素と関連付けて算出してもよい。   The communication quality value SQ described above is associated with the received signal strength. However, instead of the received signal strength, the communication quality value SQ is associated with other elements such as an SN ratio, an EVM (Error Vector Magnitude), a bit error rate, and a packet error rate. May be calculated.

次に、親端末1と子端末2との間における通信ルートは、1乃至複数の通信リンクによって形成されている。そして、親端末1が保持する通信ルートテーブルTB21(図4(a)参照)は、親端末1−この親端末1の配下にある子端末2間における通信ルートに関する情報(通信ルート情報)を、テーブル形式で記憶している。具体的に、通信ルートテーブルTB21は、端末ID、ルート通信品質、ホップ数、ホップ先の各フィールドが設けられている。   Next, a communication route between the parent terminal 1 and the child terminal 2 is formed by one or more communication links. Then, the communication route table TB21 (see FIG. 4A) held by the parent terminal 1 includes information (communication route information) regarding the communication route between the parent terminal 1 and the child terminals 2 subordinate to the parent terminal 1. Stored in table format. Specifically, the communication route table TB21 is provided with terminal ID, route communication quality, hop count, and hop destination fields.

親端末1が保持する通信ルートテーブルTB21において、端末IDは、通信ルートが構築された配下の子端末2に割り付けられた端末IDである。ルート通信品質は、端末IDフィールドに登録された子端末2までの通信ルートにおける通信品質を示す。ホップ数は、端末IDフィールドに登録された子端末2までの通信ルートにおけるホップ数を示す。ホップ先は、端末IDフィールドに登録された子端末2までの通信ルートにおいて、各ホップにおける送信先の通信端末Aを示す。   In the communication route table TB21 held by the parent terminal 1, the terminal ID is a terminal ID assigned to the subordinate child terminal 2 in which the communication route is constructed. The route communication quality indicates the communication quality in the communication route to the child terminal 2 registered in the terminal ID field. The number of hops indicates the number of hops in the communication route to the child terminal 2 registered in the terminal ID field. The hop destination indicates the communication terminal A of the transmission destination at each hop in the communication route to the child terminal 2 registered in the terminal ID field.

ここで、通信ルートテーブルTB21において、上記複数のフィールドで構成される行単位はレコードであり、この行数をレコード数と称する(すなわち、通信ルートテーブルTB21の行数が、レコード数である)。このレコード数は、テーブル記憶部101のメモリ容量によって上限が決まっており、1台の親端末1と通信ルートを構築できる子端末2の台数にも上限がある。   Here, in the communication route table TB21, the unit of line composed of the plurality of fields is a record, and the number of lines is referred to as the number of records (that is, the number of lines in the communication route table TB21 is the number of records). The upper limit of the number of records is determined by the memory capacity of the table storage unit 101, and there is also an upper limit on the number of child terminals 2 that can construct a communication route with one parent terminal 1.

以降、親端末1の通信ルートテーブルTB21に登録可能なレコード数の上限値から、現在登録済のレコード数を引いた値を、残レコード数と称す。この残レコード数は、親端末1の各々が子端末2との間で構築可能な通信ルートの残数に相当する。すなわち、残レコード数が多いほど、この親端末1との間で通信ルートを構築可能な子端末2の残台数が多く、残レコード数が少ないほど、この親端末1との間で通信ルートを構築可能な子端末2の残台数が少なくなる。   Hereinafter, a value obtained by subtracting the number of currently registered records from the upper limit of the number of records that can be registered in the communication route table TB21 of the parent terminal 1 is referred to as a remaining record number. The number of remaining records corresponds to the remaining number of communication routes that can be established between the parent terminal 1 and the child terminal 2. That is, the larger the number of remaining records, the larger the remaining number of child terminals 2 that can construct a communication route with the parent terminal 1, and the smaller the number of remaining records, the more the communication route with the parent terminal 1 becomes. The remaining number of child terminals 2 that can be constructed is reduced.

次に、子端末2が保持する通信ルートテーブルTB22(図4(b)参照)は、子端末2−この子端末2と通信可能な親端末1間の通信ルートに関する情報(通信ルート情報)を、テーブル形式で記憶している。具体的に、通信ルートテーブルTB22は、端末ID、ルート通信品質、ホップ数、ホップ先の各フィールドが設けられている。   Next, the communication route table TB22 (see FIG. 4B) held by the child terminal 2 includes information (communication route information) regarding the communication route between the child terminal 2 and the parent terminal 1 that can communicate with the child terminal 2. , Stored in table format. Specifically, the communication route table TB22 includes fields for terminal ID, route communication quality, hop count, and hop destination.

子端末2が保持する通信ルートテーブルTB22において、端末IDは、この子端末2と通信可能な親端末1に割り付けられた端末IDである。ルート通信品質は、端末IDフィールドに登録された親端末1までの通信ルートにおける通信品質を示す。ホップ数は、端末IDフィールドに登録された親端末1までの通信ルートにおけるホップ数を示す。ホップ先は、端末IDフィールドに登録された親端末1までの通信ルートにおいて、各ホップにおける送信先の通信端末Aを示す。   In the communication route table TB22 held by the child terminal 2, the terminal ID is a terminal ID assigned to the parent terminal 1 that can communicate with the child terminal 2. The route communication quality indicates the communication quality in the communication route to the parent terminal 1 registered in the terminal ID field. The number of hops indicates the number of hops in the communication route to the parent terminal 1 registered in the terminal ID field. The hop destination indicates the destination communication terminal A at each hop in the communication route to the parent terminal 1 registered in the terminal ID field.

通信ルートテーブルTB21,TB22において、ホップ数は、自端末から通信先端末までの通信ルートにおける通信端末Aの台数である。例えば、子端末2−4が子端末2−3および子端末2−1を介して親端末1と通信を行う通信ルートの場合は、ホップ数は「3」となる。ホップ先は、自端末から通信先端末に至るまでに経由する通信端末Aの端末IDが経由順に登録され、最後は、端末IDフィールドに登録された通信端末Aの端末IDが登録される。   In the communication route tables TB21 and TB22, the number of hops is the number of communication terminals A in the communication route from the own terminal to the communication destination terminal. For example, in the case of a communication route in which the child terminal 2-4 communicates with the parent terminal 1 via the child terminal 2-3 and the child terminal 2-1, the number of hops is “3”. As the hop destination, the terminal IDs of the communication terminals A that are routed from the own terminal to the communication destination terminal are registered in order of passage, and finally, the terminal IDs of the communication terminals A registered in the terminal ID field are registered.

次に、子端末2が保持するレコード・コストテーブルTB3(図5参照)は、親端末1の残レコード数に関する情報、および親端末1との間の通信コストに関する情報を、テーブル形式で記憶している。具体的に、レコード・コストテーブルTB3は、端末ID、残レコード数、通信コストの各フィールドが設けられている。   Next, the record cost table TB3 (see FIG. 5) held by the child terminal 2 stores information on the number of remaining records of the parent terminal 1 and information on the communication cost with the parent terminal 1 in a table format. ing. Specifically, the record cost table TB3 includes fields for terminal ID, number of remaining records, and communication cost.

子端末2が保持するレコード・コストテーブルTB3において、端末IDは、親端末1に割り付けられた端末IDである。残レコード数は、端末IDフィールドに登録された親端末1の残レコード数を示す。通信コストは、端末IDフィールドに登録された親端末1との間に存在する通信ルートの通信コストを示す。   In the record cost table TB3 held by the child terminal 2, the terminal ID is a terminal ID assigned to the parent terminal 1. The number of remaining records indicates the number of remaining records of the parent terminal 1 registered in the terminal ID field. The communication cost indicates the communication cost of the communication route existing between the parent terminal 1 registered in the terminal ID field.

次に、無線通信インタフェース部30は、無線信号を用いて他の通信端末Aとの間で通信を行うための通信インタフェース回路である。   Next, the wireless communication interface unit 30 is a communication interface circuit for performing communication with another communication terminal A using a wireless signal.

制御部20は、通信端末Aの各部を制御することによって通信端末A全体の動作を制御する装置であり、例えば、マイクロプロセッサおよびその周辺回路等で構成される。そして、制御部20は、テーブル処理部201と、通信処理部202と、送信タイマ部203とを備えて、直接または間接に子端末2と親端末1との間の通信ルートを構築するための処理である通信ルート構築処理を実行する。   The control unit 20 is a device that controls the operation of the entire communication terminal A by controlling each unit of the communication terminal A, and includes, for example, a microprocessor and its peripheral circuits. And the control part 20 is provided with the table process part 201, the communication process part 202, and the transmission timer part 203, and constructs | assembles the communication route between the child terminal 2 and the parent terminal 1 directly or indirectly. A communication route construction process, which is a process, is executed.

テーブル処理部201は、記憶部10のテーブル記憶部101に記憶されている各テーブルの登録内容を管理する。通信処理部202は、無線通信インタフェース部30を用いて、他の通信端末Aとの間で通信パケットを送受信し、後述の動作を行うことによって、親端末1と子端末2との間の通信ルートを構築するための通信ルート構築処理を行う。送信タイマ部203は、所定の時間の経過を計る計時手段であり、所定の時間間隔で通信処理部202に各種通信パケットの送信タイミングの到来を通知する。   The table processing unit 201 manages the registration contents of each table stored in the table storage unit 101 of the storage unit 10. The communication processing unit 202 transmits / receives communication packets to / from another communication terminal A using the wireless communication interface unit 30 and performs an operation described later, thereby performing communication between the parent terminal 1 and the child terminal 2. A communication route construction process for constructing a route is performed. The transmission timer unit 203 is a time measuring unit that measures the elapse of a predetermined time, and notifies the communication processing unit 202 of arrival of transmission timings of various communication packets at predetermined time intervals.

次に、本無線ネットワークにおける通信ルートの構築について、図6のシーケンスを用いて説明する。   Next, the construction of a communication route in this wireless network will be described using the sequence of FIG.

まず、通信端末Aが起動されると、各通信端末Aの制御部20における送信タイマ部203は、ハローパケット(Hello Packet、以下、「Hパケット」と称する)を送信すべく計時を開始する。送信タイマ部203は、タイムアップすると、Hパケットの送信タイミングである旨を通信処理部202に通知する。通信処理部202は、この通知を受けると、Hパケットを無線ネットワークに同報通信で送信する。   First, when the communication terminal A is activated, the transmission timer unit 203 in the control unit 20 of each communication terminal A starts timing to transmit a hello packet (hereinafter referred to as “H packet”). When the time is up, the transmission timer unit 203 notifies the communication processing unit 202 that it is the transmission timing of the H packet. Upon receiving this notification, the communication processing unit 202 transmits the H packet to the wireless network by broadcast communication.

Hパケットは、各通信端末Aが、他の通信端末Aに対して自端末の生存を報知する通信パケットである。図7(a)は、Hパケットのフォーマットを示し、送信元端末ID部と、送信先端末ID部と、オペレーションコード部と、端末種類部と、通信ルート部と、残レコード数部とを備えて構成される。   The H packet is a communication packet in which each communication terminal A notifies the other communication terminals A of the existence of its own terminal. FIG. 7 (a) shows the format of the H packet, which includes a source terminal ID part, a destination terminal ID part, an operation code part, a terminal type part, a communication route part, and a remaining record number part. Configured.

Hパケットの送信元端末ID部は、Hパケットを送信した通信端末Aの端末IDが収容される。送信先端末ID部は、Hパケットの送信先となる通信端末Aの端末IDが収容され、Hパケットの場合は、ブロードキャスト等の同報通信のコード「BC」が収容される。オペレーションコード部は、Hパケットのコードが収容される。端末種類部は、Hパケットを送信した通信端末Aが親端末1と子端末2とのいずれであるかを識別するための情報が収容される。   The transmission packet terminal ID part of the H packet accommodates the terminal ID of the communication terminal A that has transmitted the H packet. The transmission destination terminal ID portion accommodates the terminal ID of the communication terminal A that is the transmission destination of the H packet. In the case of the H packet, the transmission destination code ID “BC” is accommodated. The operation code portion stores the code of the H packet. The terminal type section stores information for identifying whether the communication terminal A that has transmitted the H packet is the parent terminal 1 or the child terminal 2.

さらにHパケットの通信ルート部は、子端末2から親端末1までの通信ルートを表す通信ルート情報、およびこの通信ルートの通信品質を表すルート品質情報が収容される。通信ルート情報は、子端末2から親端末1までの通信ルートにおいて経由する通信端末Aの端末IDが順に並べられることによって表される。ルート品質情報は、通信ルート内のリンク通信品質の和で表され、このリンク通信品質の和をルート通信品質と称す。   Further, the communication route part of the H packet accommodates communication route information indicating the communication route from the child terminal 2 to the parent terminal 1 and route quality information indicating the communication quality of this communication route. The communication route information is expressed by sequentially arranging the terminal IDs of the communication terminals A that pass through the communication route from the child terminal 2 to the parent terminal 1. The route quality information is represented by the sum of link communication qualities in the communication route, and this sum of link communication qualities is referred to as route communication quality.

例えば、子端末2−4が子端末2−3および子端末2−1を介して親端末1との間で通信ルートを構築し、そのルート通信品質が17であるとする。この場合、子端末2−4が送信するHパケットの通信ルート部には、「T4→T3→T1→M1;17」が収容される。この通信ルートのホップ数は「3」になる。また、親端末1が送信するHパケットの通信ルート部は、「null」(または空データ)となり、ホップ数「0」、ルート通信品質「0」に相当する。   For example, it is assumed that the child terminal 2-4 establishes a communication route with the parent terminal 1 via the child terminal 2-3 and the child terminal 2-1, and the route communication quality is 17. In this case, “T4 → T3 → T1 → M1; 17” is accommodated in the communication route part of the H packet transmitted by the child terminal 2-4. The number of hops of this communication route is “3”. Further, the communication route part of the H packet transmitted by the parent terminal 1 is “null” (or empty data), which corresponds to the hop number “0” and the route communication quality “0”.

また、Hパケットを送信した通信端末Aが親端末1である場合、Hパケットの残レコード数部は、Hパケットの送信元である親端末1の残レコード数が収容される。Hパケットを送信した通信端末Aが子端末2である場合、Hパケットの残レコード数部は、Hパケットの送信元である子端末2が通信ルートを構築している親端末1の残レコード数が収容される。   When the communication terminal A that has transmitted the H packet is the parent terminal 1, the remaining record number portion of the H packet contains the number of remaining records of the parent terminal 1 that is the transmission source of the H packet. When the communication terminal A that has transmitted the H packet is the child terminal 2, the remaining record number portion of the H packet is the number of remaining records of the parent terminal 1 in which the child terminal 2 that is the transmission source of the H packet constructs a communication route. Is housed.

なお、Hパケットは、無線ネットワークの通信トラフィックを抑制するために、通信端末Aが親端末1に設定されている場合、および通信端末Aが、親端末1までの通信ルートが構築されている子端末2である場合に、各通信端末Aから送信される。そして、このHパケットの送信処理は、起動後、一定時間間隔で行われる。   The H packet is a child in which the communication terminal A is set as the parent terminal 1 and the communication terminal A has established a communication route to the parent terminal 1 in order to suppress communication traffic of the wireless network. When it is the terminal 2, it is transmitted from each communication terminal A. The H packet transmission processing is performed at regular time intervals after activation.

また、Hパケット以外の通信パケットについても、通信端末Aの通信処理部202は、通信パケットを受信すると、受信リンク通信品質を算出すると共に、そのオペレーションコードを参照することによって、受信した通信パケットの種類を判別する。   For communication packets other than the H packet, when the communication processing unit 202 of the communication terminal A receives the communication packet, it calculates the received link communication quality and refers to the operation code of the received communication packet. Determine the type.

具体的に図6において、親端末1−1、1−2がHパケットを送信する(S1,S2)。親端末1−1が送信したHパケットを受信した子端末2−1では、通信処理部202が、この受信したHパケットの端末種類部を参照することによって、このHパケットを送信した通信端末Aの種類を判断する。Hパケットを送信した通信端末Aが親端末1であると判断した場合、子端末2−1は、親端末1−1と直接通信可能であると判断し、「子端末2−1→親端末1−1」の通信ルートが存在すると判断する。そして、子端末2−1のテーブル処理部201は、受信したHパケットの送信元端末ID部および端末種類部を参照することによって、端末IDおよび端末種類を取り出す。そして、テーブル記憶部101の通信可能端末管理テーブルTB1に新たなレコードを設け、この取り出した端末ID、端末種類、および算出した受信リンク通信品質を、隣接端末ID、端末種類、受信リンク通信品質にそれぞれ登録する。そして、子端末2−1のテーブル処理部201は、親端末1−1の受信リンク通信品質を仮のリンク通信品質として、通信可能端末管理テーブルTB1のリンク通信品質に登録する。   Specifically, in FIG. 6, the parent terminals 1-1 and 1-2 transmit H packets (S1, S2). In the child terminal 2-1 that has received the H packet transmitted by the parent terminal 1-1, the communication processing unit 202 refers to the terminal type part of the received H packet, and thereby the communication terminal A that has transmitted this H packet. Determine the type. When it is determined that the communication terminal A that has transmitted the H packet is the parent terminal 1, the child terminal 2-1 determines that it can communicate directly with the parent terminal 1-1, and determines that “the child terminal 2-1 → the parent terminal”. It is determined that the communication route of “1-1” exists. Then, the table processing unit 201 of the child terminal 2-1 extracts the terminal ID and the terminal type by referring to the transmission source terminal ID part and the terminal type part of the received H packet. Then, a new record is provided in the communicable terminal management table TB1 of the table storage unit 101, and the extracted terminal ID, terminal type, and calculated received link communication quality are changed to the adjacent terminal ID, terminal type, and received link communication quality. Register each. Then, the table processing unit 201 of the child terminal 2-1 registers the received link communication quality of the parent terminal 1-1 as the temporary link communication quality in the link communication quality of the communicable terminal management table TB1.

ここで、この受信リンク通信品質を仮のリンク通信品質としたのは、上述したように、リンク通信品質が受信リンク通信品質および送信リンク通信品質のうちの悪い方(数値の大きい方)とされるが、この送信リンク通信品質が現時点では分からないためである。   Here, the reception link communication quality is assumed to be the provisional link communication quality, as described above, where the link communication quality is the worse of the reception link communication quality and the transmission link communication quality (the one with the larger numerical value). This is because the transmission link communication quality is not known at the present time.

さらに、親端末1−1が送信したHパケットを受信した子端末2−1では、通信処理部202が、この受信したHパケットの残レコード数部を参照することによって、このHパケットを送信した親端末1−1の残レコード数を取得する。そして、子端末2−1のテーブル処理部201は、テーブル記憶部101のレコード・コストテーブルTB3において、親端末1−1の端末IDに対応して、親端末1−1の残レコード数を登録する。   Further, in the child terminal 2-1, which has received the H packet transmitted by the parent terminal 1-1, the communication processing unit 202 transmits the H packet by referring to the remaining record number part of the received H packet. The number of remaining records of the parent terminal 1-1 is acquired. Then, the table processing unit 201 of the child terminal 2-1 registers the number of remaining records of the parent terminal 1-1 in the record / cost table TB3 of the table storage unit 101 corresponding to the terminal ID of the parent terminal 1-1. To do.

そして、子端末2−1が、親端末1−1からのHパケットを受信してから一定時間内に、親端末1−2からのHパケットも受信した場合、上記同様に、通信可能端末管理テーブルTB1に新たなレコードを設ける。そして、親端末1−2のHパケットから取り出した端末ID、端末種類、および算出した受信リンク通信品質を、通信可能端末管理テーブルTB1の隣接端末ID、端末種類、受信リンク通信品質にそれぞれ登録する。そして、子端末2−1のテーブル処理部201は、親端末1−2の受信リンク通信品質を仮のリンク通信品質として、通信可能端末管理テーブルTB1のリンク通信品質に登録する。   When the child terminal 2-1 receives the H packet from the parent terminal 1-2 within a certain time after receiving the H packet from the parent terminal 1-1, similarly to the above, the communicable terminal management A new record is provided in the table TB1. Then, the terminal ID extracted from the H packet of the parent terminal 1-2, the terminal type, and the calculated reception link communication quality are registered in the adjacent terminal ID, terminal type, and reception link communication quality of the communicable terminal management table TB1, respectively. . Then, the table processing unit 201 of the child terminal 2-1 registers the received link communication quality of the parent terminal 1-2 as the temporary link communication quality in the link communication quality of the communicable terminal management table TB1.

さらに、親端末1−2が送信したHパケットを受信した子端末2−1では、通信処理部202が、この受信したHパケットの残レコード数部を参照することによって、このHパケットを送信した親端末1−2の残レコード数を取得する。そして、子端末2−1のテーブル処理部201は、テーブル記憶部101のレコード・コストテーブルTB3において、親端末1−2の端末IDに対応して、親端末1−2の残レコード数を登録する。   Further, in the child terminal 2-1, which has received the H packet transmitted by the parent terminal 1-2, the communication processing unit 202 transmits the H packet by referring to the remaining record number portion of the received H packet. The number of remaining records of the parent terminal 1-2 is acquired. Then, the table processing unit 201 of the child terminal 2-1 registers the number of remaining records of the parent terminal 1-2 in the record / cost table TB3 of the table storage unit 101 corresponding to the terminal ID of the parent terminal 1-2. To do.

そして、複数の親端末1−1,1−2からHパケットを直接受信した子端末2−1では、通信処理部202が、記憶部10を参照して、自端末に端末IDが割り付けられているか否かを判断する。自端末に端末IDが割り付けられていない場合、子端末2−1は、端末IDの割り付けを要求する親端末1(すなわち、通信ルートを構築する親端末1)を決定するために、以下の処理を行う。   In the child terminal 2-1, which directly receives the H packet from the plurality of parent terminals 1-1 and 1-2, the communication processing unit 202 refers to the storage unit 10 and assigns a terminal ID to the own terminal. Determine whether or not. When the terminal ID is not assigned to the own terminal, the child terminal 2-1 determines the parent terminal 1 that requests the assignment of the terminal ID (that is, the parent terminal 1 that constructs the communication route) as follows. I do.

まず、複数の親端末1−1,1−2からHパケットを直接受信した子端末2−1では、通信処理部202が、親端末1−1,1−2との間に存在する各通信ルートの通信コストを算出する。   First, in the child terminal 2-1, which directly receives H packets from the plurality of parent terminals 1-1, 1-2, the communication processing unit 202 communicates with each communication existing between the parent terminals 1-1, 1-2. Calculate the communication cost of the route.

子端末2において、子端末2−親端末1間の通信ルートの通信コストは、通信ルートのルート通信品質(リンク通信品質の和)と、通信ルートのホップ数とに基づいて算出される。   In the child terminal 2, the communication cost of the communication route between the child terminal 2 and the parent terminal 1 is calculated based on the route communication quality (sum of link communication quality) of the communication route and the number of hops of the communication route.

通信コストの算出式は、
通信コスト=Ka×[Hパケットの通信ルート部に含まれるルート通信品質+通信可能端末管理テーブルTB1のリンク通信品質]+Kb×[Hパケットの通信ルート部に含まれる通信ルート情報に基づくホップ数+1]
で表される。なお、Kaは、通信ルートのルート通信品質(リンク通信品質の和)の重み係数である。Kbは、通信ルートのホップ数の重み係数である。
The communication cost formula is:
Communication cost = Ka × [Route communication quality included in communication route portion of H packet + Link communication quality of communication enable terminal management table TB1] + Kb × [Number of hops based on communication route information included in communication route portion of H packet + 1 ]
It is represented by Ka is a weighting factor of route communication quality (sum of link communication quality) of the communication route. Kb is a weighting factor of the number of hops of the communication route.

上記のように算出された通信コストは、親端末1−子端末2間の通信ルートにおける通信品質レベルであり、通信コストの値が低いほど、通信ルートにおける通信品質レベルが高くなる。   The communication cost calculated as described above is the communication quality level in the communication route between the parent terminal 1 and the child terminal 2, and the communication quality level in the communication route becomes higher as the value of the communication cost is lower.

ここで、親端末1が送信するHパケットの通信ルート部は、「null」(または空データ)となり、ホップ数「0」、ルート通信品質「0」に相当する。したがって、親端末1からHパケットを直接受信した子端末2と親端末1との間の通信コストは、
通信コスト=Ka×[通信可能端末管理テーブルTB1のリンク通信品質]+Kb×[1]
で表される。
Here, the communication route part of the H packet transmitted by the parent terminal 1 is “null” (or empty data), which corresponds to the number of hops “0” and the route communication quality “0”. Therefore, the communication cost between the child terminal 2 and the parent terminal 1 that directly received the H packet from the parent terminal 1 is
Communication cost = Ka × [Link communication quality of communicable terminal management table TB1] + Kb × [1]
It is represented by

そして、子端末2−1の通信処理部202は、Hパケットの送信元である親端末1−1,1−2について、上記通信コストを算出する。そして、子端末2−1のテーブル処理部201は、テーブル記憶部101のレコード・コストテーブルTB3において、親端末1−1,1−2の各端末IDに対応して、親端末1−1,1−2の各通信コストを登録する。   Then, the communication processing unit 202 of the child terminal 2-1 calculates the communication cost for the parent terminals 1-1 and 1-2 that are H packet transmission sources. Then, the table processing unit 201 of the child terminal 2-1 corresponds to each terminal ID of the parent terminals 1-1 and 1-2 in the record / cost table TB3 of the table storage unit 101. Each communication cost of 1-2 is registered.

そして、子端末2−1の通信処理部202は、親端末1−1,1−2のうち、通信コストが低いほうに、端末IDの割り付けを要求するアドレス要求パケットを送信する(S3)。ここでは、親端末1−1の通信コストが、親端末1−2の通信コストより低く、子端末2−1は、親端末1−1へアドレス要求パケットを送信するものとする。なお、子端末2−1が、1台の親端末1からのみHパケットを受信した場合は、この親端末1に対して端末IDの割り付けを要求する。   Then, the communication processing unit 202 of the child terminal 2-1 transmits an address request packet for requesting terminal ID allocation to the lower one of the parent terminals 1-1 and 1-2 (S3). Here, it is assumed that the communication cost of the parent terminal 1-1 is lower than the communication cost of the parent terminal 1-2, and the child terminal 2-1 transmits an address request packet to the parent terminal 1-1. When the child terminal 2-1 receives the H packet from only one parent terminal 1, the child terminal 2-1 requests the parent terminal 1 to assign a terminal ID.

また上述の構成では、子端末2が、仮のリンク通信品質に基づいて、アドレス要求パケットの送信先となる親端末1を選択している。しかしながら、アドレス要求パケットの送信先となる親端末1を決定する方法は、以下の方法でもよい。まず、子端末2は、複数の親端末1からHパケットを受信した場合、仮のリンク通信品質が高い2台以上の親端末1を選び、この選んだ2台以上の親端末1の各々との間で双方向のルート通信品質を調査する。そして、双方向のルート通信品質から求めた通信コストが最も低い親端末1へアドレス要求パケットを送信する。   In the above configuration, the child terminal 2 selects the parent terminal 1 that is the destination of the address request packet based on the provisional link communication quality. However, the following method may be used as a method of determining the parent terminal 1 that is the transmission destination of the address request packet. First, when the child terminal 2 receives H packets from a plurality of parent terminals 1, the child terminal 2 selects two or more parent terminals 1 with high provisional link communication quality, and each of the selected two or more parent terminals 1 and Investigate the bidirectional route communication quality between. Then, the address request packet is transmitted to the parent terminal 1 having the lowest communication cost obtained from the bidirectional route communication quality.

このように、子端末2が複数の親端末1からHパケットを受信した場合、通信ルートのルート通信品質と、通信ルートのホップ数とに基づいて、各親端末1との間の通信コストを算出する。そして、複数の親端末1のうち、通信コストが最も低い親端末1(すなわち、通信ルートの通信品質レベルが最も高い親端末1)との間で通信ルートを構築する。   Thus, when the child terminal 2 receives H packets from a plurality of parent terminals 1, the communication cost between each parent terminal 1 is reduced based on the route communication quality of the communication route and the number of hops of the communication route. calculate. Then, a communication route is established with the parent terminal 1 having the lowest communication cost (that is, the parent terminal 1 having the highest communication quality level of the communication route) among the plurality of parent terminals 1.

子端末2が送信するアドレス要求パケットは、例えば、図7(b)に示すように、送信元端末ID部と、送信先端末ID部と、送信通信ルート部と、オペレーションコード部と、配布アドレス部と、隣接端末部と、リンク通信品質部とを備える。   For example, as shown in FIG. 7B, the address request packet transmitted by the child terminal 2 includes a transmission source terminal ID portion, a transmission destination terminal ID portion, a transmission communication route portion, an operation code portion, a distribution address. Unit, an adjacent terminal unit, and a link communication quality unit.

アドレス要求パケットの送信元端末ID部は、アドレス要求パケットを送信した通信端末Aの端末IDが収容される。送信先端末ID部は、アドレス要求パケットの送信先となる通信端末Aの端末IDが収容される。端末IDが未設定である子端末2の場合、送信元端末ID部には、「予約端末ID」が設定される。   The transmission source terminal ID portion of the address request packet accommodates the terminal ID of the communication terminal A that has transmitted the address request packet. The transmission destination terminal ID portion accommodates the terminal ID of the communication terminal A that is the transmission destination of the address request packet. In the case of the child terminal 2 in which the terminal ID is not set, “reserved terminal ID” is set in the transmission source terminal ID portion.

送信通信ルート部は、アドレス要求パケットを送信する際の通信ルートに関する情報を収容する。その情報は、送信元の子端末2から送信先の親端末1までの通信ルートに従って、端末IDが並べられることによって表される。アドレス要求パケットを受信した通信端末Aは、受信したアドレス要求パケットの送信通信ルート部に基づいて、アドレス要求パケットの送信先(転送先、中継先)の通信端末Aを判断し、アドレス要求パケットをこの送信先の通信端末Aに転送(中継)する。   The transmission communication route unit accommodates information related to a communication route when transmitting an address request packet. The information is represented by arranging terminal IDs according to the communication route from the child terminal 2 as the transmission source to the parent terminal 1 as the transmission destination. The communication terminal A that has received the address request packet determines the communication terminal A as the transmission destination (forwarding destination, relay destination) of the address request packet based on the transmission communication route part of the received address request packet, and determines the address request packet. Transfer (relay) to this destination communication terminal A.

オペレーションコード部は、アドレス要求コードが収容される。   The operation code part accommodates an address request code.

配布アドレス部は、アドレス要求パケットの場合、「null」(または空データ)が収容される。   In the case of an address request packet, the distribution address portion contains “null” (or empty data).

隣接端末部は、アドレス要求パケットの場合、子端末2が受信したHパケットの送信元の通信端末Aの端末IDを収容する。   In the case of an address request packet, the adjacent terminal unit accommodates the terminal ID of the communication terminal A that is the transmission source of the H packet received by the child terminal 2.

リンク通信品質部は、子端末2が受信したHパケットの送信元の通信端末Aとの間におけるリンク通信品質を収容する。端末IDが未設定である子端末2は、アドレス要求パケットのリンク通信品質部に、受信リンク通信品質を仮のリンク通信品質として収容する。   The link communication quality unit accommodates the link communication quality with the communication terminal A that is the transmission source of the H packet received by the child terminal 2. The child terminal 2 for which the terminal ID is not set accommodates the received link communication quality as a temporary link communication quality in the link communication quality part of the address request packet.

子端末2−1が親端末1−1へ送信するアドレス要求パケットをより具体的に例示すると、送信元端末ID部には「予約端末ID」が収容され、送信先端末ID部には「M1」が収容され、送信通信ルート部には「予約端末ID→M1」が収容される。さらに、オペレーションコード部には「アドレス要求コード」が収容され、配布アドレス部には「null」が収容され、その隣接端末部には「M1」が収容され、そのリンク通信品質部には例えば「4」が収容される。   More specifically, the address request packet transmitted from the child terminal 2-1 to the parent terminal 1-1 is illustrated as “reserved terminal ID” in the transmission source terminal ID portion and “M1 in the transmission destination terminal ID portion. "Is accommodated, and" reserved terminal ID → M1 "is accommodated in the transmission communication route part. Furthermore, the operation code part contains “address request code”, the distribution address part contains “null”, the adjacent terminal part contains “M1”, and the link communication quality part contains “ 4 "is accommodated.

子端末2−1が送信したアドレス要求パケットを受信した親端末1−1では、通信処理部202が、アドレス要求パケットを送信した子端末2−1に端末IDを割り付ける。ここでは、子端末2−1に端末ID「T1」が割り付けられるものとする。   In the parent terminal 1-1 that has received the address request packet transmitted from the child terminal 2-1, the communication processing unit 202 assigns a terminal ID to the child terminal 2-1 that has transmitted the address request packet. Here, it is assumed that the terminal ID “T1” is assigned to the child terminal 2-1.

親端末1−1の通信処理部202は、受信したアドレス要求パケットに含まれる隣接端末ID「M1」、リンク通信品質「4」をそれぞれ取り出す。親端末1−1の通信処理部202は、アドレス要求パケットの隣接端末部に端末ID「M1」が収容されていることから、端末ID「T1」を割り付ける子端末2−1が、親端末1−1と直接通信可能であり、親端末1−1と子端末2−1との間で、「M1→T1」の通信ルートが構築されたと判断する。なお、アドレス要求パケットに収容されているリンク通信品質「4」は、親端末1−1においては、親端末1−1→子端末2−1の送信リンク通信品質である。   The communication processing unit 202 of the parent terminal 1-1 extracts the adjacent terminal ID “M1” and the link communication quality “4” included in the received address request packet. Since the terminal ID “M1” is accommodated in the adjacent terminal part of the address request packet, the communication terminal unit 202 of the parent terminal 1-1 determines that the child terminal 2-1 to which the terminal ID “T1” is assigned is the parent terminal 1 -1 can be directly communicated, and it is determined that a communication route of “M1 → T1” is established between the parent terminal 1-1 and the child terminal 2-1. The link communication quality “4” accommodated in the address request packet is the transmission link communication quality of the parent terminal 1-1 → the child terminal 2-1, in the parent terminal 1-1.

また、親端末1−1の通信処理部202は、アドレス要求パケットを受信した際に算出した受信リンク通信品質と送信リンク通信品質とを比較する。そして、通信状態の悪いリンク通信品質(数値が大きい方)を親端末1−1と子端末2−1との間におけるリンク通信品質とする。例えば、アドレス要求パケットを受信した際に算出した受信リンク通信品質が「5」である場合では、送信リンク通信品質「4」と受信リンク通信品質「5」とが比較され、リンク通信品質「5」となる。親端末1−1は、端末ID「T1」の子端末2−1と直接通信可能であるので、このリンク通信品質「5」が、親端末1−1と子端末2−1との間のルート通信品質となる。   In addition, the communication processing unit 202 of the parent terminal 1-1 compares the received link communication quality calculated when the address request packet is received with the transmitted link communication quality. Then, the link communication quality (the larger numerical value) having a poor communication state is set as the link communication quality between the parent terminal 1-1 and the child terminal 2-1. For example, when the reception link communication quality calculated when the address request packet is received is “5”, the transmission link communication quality “4” is compared with the reception link communication quality “5”, and the link communication quality “5” is compared. " Since the parent terminal 1-1 can directly communicate with the child terminal 2-1 having the terminal ID “T1”, the link communication quality “5” is determined between the parent terminal 1-1 and the child terminal 2-1. It becomes route communication quality.

親端末1−1では、テーブル処理部201が、子端末2−1に割り付けた隣接端末ID「T1」と、端末種類「子」と、受信リンク通信品質「5」と、送信リンク通信品質「4」と、リンク通信品質「5」とを、通信可能端末管理テーブルTB1に登録する。受信リンク通信品質「5」は、子端末2−1→親端末1−1のリンクにおける通信品質であり、送信リンク通信品質「4」は、親端末1−1→子端末2−1のリンクにおける通信品質である。   In the parent terminal 1-1, the table processing unit 201, the adjacent terminal ID “T1” assigned to the child terminal 2-1, the terminal type “child”, the reception link communication quality “5”, and the transmission link communication quality “ 4 ”and link communication quality“ 5 ”are registered in the communicable terminal management table TB1. The reception link communication quality “5” is the communication quality in the link of the child terminal 2-1 → the parent terminal 1-1, and the transmission link communication quality “4” is the link of the parent terminal 1-1 → the child terminal 2-1. Is the communication quality.

さらに、親端末1−1では、テーブル処理部201が、子端末2−1に割り付けた端末ID「T1」と、ルート通信品質「5」と、ホップ数「1」と、第1ホップ「T1」とを、通信ルートテーブルTB21に登録する。   Further, in the parent terminal 1-1, the table processing unit 201 uses the terminal ID “T1” assigned to the child terminal 2-1, the route communication quality “5”, the number of hops “1”, and the first hop “T1”. Is registered in the communication route table TB21.

そして、親端末1−1は、アドレス要求パケットを送信した子端末2−1に、アドレス応答パケットを送信する(S4)。   Then, the parent terminal 1-1 transmits an address response packet to the child terminal 2-1 that has transmitted the address request packet (S4).

このアドレス応答パケットは、例えば、図7(b)に示すように、送信元端末ID部と、送信先端末ID部と、送信通信ルート部と、オペレーションコード部と、配布アドレス部と、隣接端末部と、リンク通信品質部とを備える。すなわち、アドレス応答パケットは、前述のアドレス要求パケットと同様のフォーマットで構成されている。   For example, as shown in FIG. 7B, the address response packet includes a transmission source terminal ID unit, a transmission destination terminal ID unit, a transmission communication route unit, an operation code unit, a distribution address unit, and an adjacent terminal. And a link communication quality unit. That is, the address response packet has a format similar to that of the above-described address request packet.

アドレス応答パケットの送信元端末ID部は、アドレス応答パケットを送信した通信端末Aの端末IDが収容される。送信先端末ID部は、アドレス応答パケットの送信先となる通信端末Aの端末IDが収容される。端末IDが未設定の子端末2へアドレス応答パケットを送信する場合、送信先端末ID部には、ブロードキャスト等の同報通信のコード「BC」が収容される。   The transmission source terminal ID portion of the address response packet accommodates the terminal ID of the communication terminal A that has transmitted the address response packet. The transmission destination terminal ID portion accommodates the terminal ID of the communication terminal A that is the transmission destination of the address response packet. When an address response packet is transmitted to the child terminal 2 whose terminal ID has not been set, a broadcast communication code “BC” such as broadcast is accommodated in the transmission destination terminal ID portion.

送信通信ルート部は、アドレス応答パケットを送信する際の通信ルートに関する情報を収容する。その情報は、送信元の親端末1から送信先の子端末2までの通信ルートに従って、端末IDが並べられることによって表される。アドレス応答パケットを受信した通信端末Aは、受信したアドレス応答パケットの送信通信ルート部に基づいて、アドレス応答パケットの送信先(転送先、中継先)の通信端末Aを判断し、アドレス応答パケットをこの送信先の通信端末Aに転送(中継)する。アドレス応答パケットの場合、送信先となる子端末2は端末IDがまだ未設定であるため、この送信通信ルート部の最後(末尾)は、同報通信、例えば、ブロードキャスト等の同報通信のコード「BC」が登録される。   The transmission communication route unit accommodates information related to a communication route when transmitting an address response packet. The information is represented by arranging terminal IDs in accordance with a communication route from the transmission source parent terminal 1 to the transmission destination child terminal 2. The communication terminal A that has received the address response packet determines the communication terminal A as the transmission destination (forwarding destination, relay destination) of the address response packet based on the transmission communication route part of the received address response packet, and determines the address response packet. Transfer (relay) to this destination communication terminal A. In the case of an address response packet, since the terminal ID of the child terminal 2 as the transmission destination has not yet been set, the last (end) of the transmission communication route part is a code for broadcast communication such as broadcast communication, for example. “BC” is registered.

オペレーションコード部は、アドレス応答コードが収容される。   The operation code part accommodates an address response code.

配布アドレス部は、アドレス応答パケットの場合、アドレス要求パケットの送信元の子端末2に割り付ける端末IDを収容する。   In the case of an address response packet, the distribution address part accommodates a terminal ID assigned to the child terminal 2 that is the transmission source of the address request packet.

隣接端末部は、子端末2が受信したHパケットの送信元の通信端末Aの端末IDを収容する。   The adjacent terminal unit accommodates the terminal ID of the communication terminal A that is the transmission source of the H packet received by the child terminal 2.

リンク通信品質部は、子端末2が受信したHパケットの送信元の通信端末Aとの間におけるリンク通信品質を収容する。   The link communication quality unit accommodates the link communication quality with the communication terminal A that is the transmission source of the H packet received by the child terminal 2.

親端末1−1が作成するアドレス応答パケットをより具体的に例示すると、送信元端末ID部には「M1」が収容され、送信先端末ID部には「BC」が収容され、送信通信ルート部には「M1→BC」が収容される。さらに、オペレーションコード部には「アドレス応答コード」が収容され、配布アドレス部には「T1」が収容され、その隣接端末部には「M1」が収容され、そのリンク通信品質部には「5」が収容される。   More specifically, an example of the address response packet created by the parent terminal 1-1 includes “M1” in the transmission source terminal ID portion, “BC” in the transmission destination terminal ID portion, and a transmission communication route. The section contains “M1 → BC”. Furthermore, the operation code part contains “address response code”, the distribution address part contains “T1”, the adjacent terminal part contains “M1”, and the link communication quality part contains “5”. Is contained.

そして、親端末1−1が送信したアドレス応答パケットを受信した子端末2−1では、通信処理部202が、この受信したアドレス応答パケットに収容されている配布アドレス「T1」、隣接端末ID「M1」、リンク通信コスト「5」をそれぞれ取り出す。   In the child terminal 2-1 that has received the address response packet transmitted by the parent terminal 1-1, the communication processing unit 202 has the distribution address “T1” and the adjacent terminal ID “ M1 ”and link communication cost“ 5 ”are extracted.

そして、子端末2−1は、自端末の端末IDに「T1」を設定する。さらに、子端末2−1では、テーブル処理部201が、通信可能端末管理テーブルTB1内において、隣接端末ID「M1」に対応して、送信リンク通信コスト「5」を登録する。   Then, the child terminal 2-1 sets “T1” as the terminal ID of the own terminal. Further, in the child terminal 2-1, the table processing unit 201 registers the transmission link communication cost “5” corresponding to the adjacent terminal ID “M1” in the communicable terminal management table TB1.

また、子端末2−1の通信処理部202は、通信可能端末管理テーブルTB1内において、隣接端末ID「M1」に対応する受信リンク通信品質「4」と送信リンク通信品質「5」とを比較する。そして、通信状態の悪いリンク通信品質(数値が大きい方)を親端末1−1と子端末2−1との間におけるリンク通信品質とする。この場合、リンク通信品質「5」に更新される。   Further, the communication processing unit 202 of the child terminal 2-1 compares the received link communication quality “4” corresponding to the adjacent terminal ID “M1” with the transmitted link communication quality “5” in the communicable terminal management table TB1. To do. Then, the link communication quality (the larger numerical value) having a poor communication state is set as the link communication quality between the parent terminal 1-1 and the child terminal 2-1. In this case, the link communication quality is updated to “5”.

そして、子端末2−1は、上述したように、「子端末2−1→親端末1−1」の通信ルートが構築可能であると判断されているので、リンク通信品質「5」が、親端末1−1と子端末2−1との間のルート通信品質とされる。すなわち、子端末2−1は、親端末1−1との間において、ホップ数「1」、ルート通信品質「5」の通信ルートが構築されている。したがって、子端末2−1のテーブル処理部201は、通信ルートテーブルTB22に、親端末1の端末ID「M1」、ルート通信品質「5」、ホップ数「1」、第1ホップ「M1」を登録する。   Then, as described above, since the child terminal 2-1 is determined that the communication route of “child terminal 2-1 → parent terminal 1-1” can be established, the link communication quality “5” The route communication quality between the parent terminal 1-1 and the child terminal 2-1. That is, the child terminal 2-1 has a communication route with the number of hops “1” and the route communication quality “5” established with the parent terminal 1-1. Therefore, the table processing unit 201 of the child terminal 2-1 adds the terminal ID “M1”, the route communication quality “5”, the number of hops “1”, and the first hop “M1” of the parent terminal 1 to the communication route table TB22. sign up.

このように、親端末1(親端末1−1)と子端末2(子端末2−1)とが直接通信可能な場合、親端末1のHパケット送信工程、子端末2のアドレス要求パケット送信工程、親端末1のアドレス応答パケット送信工程の3つの工程が実行される。そして、これらの工程が実行されることによって、子端末2の端末ID(通信アドレス)が設定され、互いに直接通信可能な親端末1と子端末2との間の通信ルートが双方で構築される。   Thus, when the parent terminal 1 (parent terminal 1-1) and the child terminal 2 (child terminal 2-1) can communicate directly, the H packet transmission process of the parent terminal 1, the address request packet transmission of the child terminal 2 The three steps of the step and the address response packet transmission step of the parent terminal 1 are executed. Then, by executing these steps, the terminal ID (communication address) of the child terminal 2 is set, and a communication route between the parent terminal 1 and the child terminal 2 that can directly communicate with each other is established on both sides. .

次に親端末1−1までの通信ルートが構築された子端末2−1は、送信タイマ部203から通知を受け、Hパケットの送信タイミングになると、Hパケットを無線ネットワークに同報通信で送信する(S5)。   Next, the child terminal 2-1 for which the communication route to the parent terminal 1-1 has been established receives notification from the transmission timer unit 203 and transmits the H packet to the wireless network by broadcast communication when the H packet transmission timing comes. (S5).

子端末2−1が送信するHパケットの送信元端末ID部は、Hパケットを送信した通信端末2−1の端末ID「T1」が収容される。送信先端末ID部は、通信パケットの送信先となる通信端末Aの端末IDが収容され、Hパケットの場合は、ブロードキャスト等の同報通信のコード「BC」が収容される。オペレーションコード部は、Hパケットのコードが収容される。端末種類部は、Hパケットを送信した通信端末Aが親端末1と子端末2とのいずれであるかを識別するための情報が収容される。   The terminal ID “T1” of the communication terminal 2-1 that has transmitted the H packet is accommodated in the transmission source terminal ID portion of the H packet transmitted by the child terminal 2-1. The transmission destination terminal ID portion accommodates the terminal ID of the communication terminal A that is the transmission destination of the communication packet. In the case of the H packet, the transmission destination code ID “BC” is accommodated. The operation code portion stores the code of the H packet. The terminal type section stores information for identifying whether the communication terminal A that has transmitted the H packet is the parent terminal 1 or the child terminal 2.

さらに子端末2−1が送信するHパケットの通信ルート部は、子端末2−1から親端末1−1までの通信ルートを表す通信ルート情報、およびこの通信ルートの通信品質を表すルート品質情報が収容される。ここでは、子端末2−1の端末ID「T1」、親端末1−1の端末ID「M1」、子端末2−1と親端末1−1との間に構築された通信ルートのルート通信品質「5」から、「T1→M1;5」が通信ルート部に収容される。   Further, the communication route part of the H packet transmitted from the child terminal 2-1 includes communication route information representing the communication route from the child terminal 2-1 to the parent terminal 1-1 and route quality information representing the communication quality of this communication route. Is housed. Here, the terminal ID “T1” of the child terminal 2-1, the terminal ID “M1” of the parent terminal 1-1, and route communication of the communication route established between the child terminal 2-1 and the parent terminal 1-1. From the quality “5”, “T1 → M1; 5” is accommodated in the communication route part.

さらに子端末2−1が送信するHパケットの残レコード数部は、子端末2−1が通信ルートを構築している親端末1−1の残レコード数が収容される。   Further, the remaining record number portion of the H packet transmitted by the child terminal 2-1 contains the number of remaining records of the parent terminal 1-1 in which the child terminal 2-1 constructs a communication route.

親端末1−1までの通信ルートが構築された子端末2−1が送信したHパケットを受信した子端末2、例えば子端末2−2では、通信処理部202が、この受信したHパケットの端末種類部を参照することによって、Hパケットを送信した通信端末Aを判断する。そして、Hパケットを送信した通信端末Aが子端末2であると判断されると、この受信したHパケットの通信ルート部を参照する。子端末2−1が送信したHパケットの通信ルート部には、親端末1−1までの通信ルート「T1→M1;5」が含まれており、子端末2−2は、親端末1−1と通信可能であると判断する。すなわち、「子端末2−2→子端末2−1→親端末1−1」の通信ルートが構築可能であると判断する。   In the child terminal 2 that has received the H packet transmitted by the child terminal 2-1 for which the communication route to the parent terminal 1-1 has been constructed, for example, the child terminal 2-2, the communication processing unit 202 transmits the received H packet. The communication terminal A that has transmitted the H packet is determined by referring to the terminal type section. When it is determined that the communication terminal A that has transmitted the H packet is the child terminal 2, the communication route part of the received H packet is referred to. The communication route part of the H packet transmitted from the child terminal 2-1 includes the communication route “T1 → M1; 5” to the parent terminal 1-1. 1 is determined to be communicable. That is, it is determined that a communication route of “child terminal 2-2 → child terminal 2-1 → parent terminal 1-1” can be constructed.

そして、子端末2−2のテーブル処理部201は、子端末2−1から受信したHパケットの送信元端末ID部および端末種類部を参照することによって、端末IDおよび端末種類を取り出す。そして、テーブル記憶部101の通信可能端末管理テーブルTB1に新たなレコードを設け、この取り出した端末ID、端末種類、および算出した受信リンク通信品質を、隣接端末ID、端末種類、受信リンク通信品質にそれぞれ登録する。そして、子端末2−2のテーブル処理部201は、受信リンク通信品質を仮のリンク通信品質として、通信可能端末管理テーブルTB1のリンク通信品質に登録する。   Then, the table processing unit 201 of the child terminal 2-2 extracts the terminal ID and the terminal type by referring to the transmission source terminal ID part and the terminal type part of the H packet received from the child terminal 2-1. Then, a new record is provided in the communicable terminal management table TB1 of the table storage unit 101, and the extracted terminal ID, terminal type, and calculated received link communication quality are changed to the adjacent terminal ID, terminal type, and received link communication quality. Register each. Then, the table processing unit 201 of the child terminal 2-2 registers the received link communication quality as the temporary link communication quality in the link communication quality of the communicable terminal management table TB1.

さらに、子端末2−1が送信したHパケットを受信した子端末2−2では、通信処理部202が、この受信したHパケットの残レコード数部を参照することによって、子端末2−1が通信ルートを構築している親端末1−1の残レコード数を取得する。そして、子端末2−2のテーブル処理部201は、テーブル記憶部101のレコード・コストテーブルTB3において、親端末1−1の端末IDに対応して、親端末1−1の残レコード数を登録する。   Further, in the child terminal 2-2 that has received the H packet transmitted by the child terminal 2-1, the communication processing unit 202 refers to the remaining record number part of the received H packet, so that the child terminal 2-1 The number of remaining records of the parent terminal 1-1 constructing the communication route is acquired. The table processing unit 201 of the child terminal 2-2 registers the number of remaining records of the parent terminal 1-1 in the record / cost table TB3 of the table storage unit 101 corresponding to the terminal ID of the parent terminal 1-1. To do.

さらに、子端末2−3が、親端末1−2との間で通信リンクを既に構築しているとする。そして、子端末2−2が、子端末2−1からのHパケットを受信してから一定時間内に、子端末2−3からのHパケットも受信したとする(S6)。子端末2−3が送信したHパケットを受信した子端末2−2では、通信処理部202が、この受信したHパケットの端末種類部を参照することによって、Hパケットを送信した通信端末Aを判断する。そして、Hパケットを送信した通信端末Aが子端末2であると判断されると、この受信したHパケットの通信ルート部を参照する。子端末2−3が送信したHパケットの通信ルート部には、親端末1−2までの通信ルートが含まれており、子端末2−2は、親端末1−2と通信可能であると判断する。すなわち、「子端末2−2→子端末2−3→親端末1−2」の通信ルートが構築可能であると判断する。   Furthermore, it is assumed that the child terminal 2-3 has already established a communication link with the parent terminal 1-2. Then, it is assumed that the child terminal 2-2 also receives the H packet from the child terminal 2-3 within a predetermined time after receiving the H packet from the child terminal 2-1 (S6). In the child terminal 2-2 that has received the H packet transmitted by the child terminal 2-3, the communication processing unit 202 refers to the terminal type part of the received H packet, thereby determining the communication terminal A that has transmitted the H packet. to decide. When it is determined that the communication terminal A that has transmitted the H packet is the child terminal 2, the communication route part of the received H packet is referred to. The communication route part of the H packet transmitted by the child terminal 2-3 includes the communication route to the parent terminal 1-2, and the child terminal 2-2 can communicate with the parent terminal 1-2. to decide. That is, it is determined that a communication route of “child terminal 2-2 → child terminal 2-3 → parent terminal 1-2” can be constructed.

そして、子端末2−2のテーブル処理部201は、上記同様に、子端末2−3のHパケットから取り出した端末ID、端末種類、および算出した受信リンク通信品質を、通信可能端末管理テーブルTB1の隣接端末ID、端末種類、受信リンク通信品質にそれぞれ登録する。そして、子端末2−2のテーブル処理部201は、受信リンク通信品質を仮のリンク通信品質として、通信可能端末管理テーブルTB1のリンク通信品質に登録する。   Then, similarly to the above, the table processing unit 201 of the child terminal 2-2 uses the terminal ID extracted from the H packet of the child terminal 2-3, the terminal type, and the calculated received link communication quality as the communicable terminal management table TB1. Are registered in the adjacent terminal ID, terminal type, and received link communication quality. Then, the table processing unit 201 of the child terminal 2-2 registers the received link communication quality as the temporary link communication quality in the link communication quality of the communicable terminal management table TB1.

さらに、子端末2−3が送信したHパケットを受信した子端末2−2では、通信処理部202が、この受信したHパケットの残レコード数部を参照することによって、子端末2−3が通信ルートを構築している親端末1−2の残レコード数を取得する。そして、子端末2−2のテーブル処理部201は、テーブル記憶部101のレコード・コストテーブルTB3において、親端末1−2の端末IDに対応して、親端末1−2の残レコード数を登録する。   Further, in the child terminal 2-2 that has received the H packet transmitted by the child terminal 2-3, the communication processing unit 202 refers to the remaining record number part of the received H packet, so that the child terminal 2-3 The number of remaining records of the parent terminal 1-2 constructing the communication route is acquired. Then, the table processing unit 201 of the child terminal 2-2 registers the number of remaining records of the parent terminal 1-2 corresponding to the terminal ID of the parent terminal 1-2 in the record / cost table TB3 of the table storage unit 101. To do.

このように複数の通信端末A(ここでは、子端末2−1,2−3)からHパケットを直接受信した子端末2−2では、通信処理部202が、記憶部10を参照して、自端末に端末IDが割り付けられているか否かを判断する。自端末に端末IDが割り付けられていない場合、子端末2−2は、端末IDの割り付けを要求する親端末1を決定するために、以下の処理を行う。   Thus, in the child terminal 2-2 that directly receives the H packet from the plurality of communication terminals A (here, the child terminals 2-1 and 2-3), the communication processing unit 202 refers to the storage unit 10, It is determined whether or not a terminal ID is assigned to the own terminal. When the terminal ID is not assigned to the own terminal, the child terminal 2-2 performs the following process to determine the parent terminal 1 that requests the assignment of the terminal ID.

まず、複数の子端末2−1,2−3からHパケットを直接受信した子端末2−2では、通信処理部202が、子端末2−1,2−3のそれぞれを介した各通信ルートの通信コストを算出する。   First, in the child terminal 2-2 that directly receives the H packet from the plurality of child terminals 2-1, 2-2, the communication processing unit 202 transmits each communication route via each of the child terminals 2-1, 2-3. The communication cost is calculated.

子端末2において、子端末2−親端末1間の通信ルートの通信コストは、通信ルートのルート通信品質(リンク通信品質の和)と、通信ルートのホップ数とに基づいて算出される。   In the child terminal 2, the communication cost of the communication route between the child terminal 2 and the parent terminal 1 is calculated based on the route communication quality (sum of link communication quality) of the communication route and the number of hops of the communication route.

通信コストの算出式は、
通信コスト=Ka×[Hパケットの通信ルート部に含まれるルート通信品質+通信可能端末管理テーブルTB1のリンク通信品質]+Kb×[Hパケットの通信ルート部に含まれる通信ルート情報に基づくホップ数+1]
で表される。なお、Kaは、通信ルートのルート通信品質(リンク通信品質の和)の重み係数である。Kbは、通信ルートのホップ数の重み係数である。
The communication cost formula is:
Communication cost = Ka × [Route communication quality included in communication route portion of H packet + Link communication quality of communication enable terminal management table TB1] + Kb × [Number of hops based on communication route information included in communication route portion of H packet + 1 ]
It is represented by Ka is a weighting factor of route communication quality (sum of link communication quality) of the communication route. Kb is a weighting factor of the number of hops of the communication route.

上記のように算出された通信コストは、親端末1−子端末2間の通信ルートにおける通信品質レベルであり、通信コストの値が低いほど、通信ルートにおける通信品質レベルが高くなる。   The communication cost calculated as described above is the communication quality level in the communication route between the parent terminal 1 and the child terminal 2, and the communication quality level in the communication route becomes higher as the value of the communication cost is lower.

そして、子端末2−2の通信処理部202は、Hパケットの送信元である子端末2−1,2−3のそれぞれを介した各通信ルート(すなわち、親端末1−1、親端末1−2までの各通信ルート)について、上記通信コストを算出する。そして、子端末2−2のテーブル処理部201は、テーブル記憶部101のレコード・コストテーブルTB3において、親端末1−1,1−2の各端末IDに対応して、親端末1−1,1−2の各通信コストを登録する。   Then, the communication processing unit 202 of the child terminal 2-2 transmits each communication route (that is, the parent terminal 1-1, the parent terminal 1) via each of the child terminals 2-1 and 2-3 that are transmission sources of the H packet. The communication cost is calculated for each communication route up to -2. Then, the table processing unit 201 of the child terminal 2-2 corresponds to each terminal ID of the parent terminals 1-1 and 1-2 in the record / cost table TB 3 of the table storage unit 101. Each communication cost of 1-2 is registered.

そして、親端末1−1,1−2のうち、通信コストが低いほう(すなわち、通信品質レベルが高いほう)に、端末IDの割り付けを要求するアドレス要求パケットを送信する(S7)。ここでは、子端末2−1を介した親端末1−1の通信ルートの通信コストが、子端末2−3を介した親端末1−2の通信ルートの通信コストより低く、子端末2−2は、子端末2−1を介してアドレス要求パケットを送信するものとする。なお、子端末2−2が、1台の通信端末AからのみHパケットを受信した場合は、この通信端末Aを介した通信ルートを用いて端末IDの割り付けを要求する。   Then, among the parent terminals 1-1 and 1-2, an address request packet for requesting allocation of terminal IDs is transmitted to the lower communication cost (that is, the higher communication quality level) (S7). Here, the communication cost of the communication route of the parent terminal 1-1 via the child terminal 2-1 is lower than the communication cost of the communication route of the parent terminal 1-2 via the child terminal 2-3. 2 transmits an address request packet via the child terminal 2-1. When the child terminal 2-2 receives the H packet from only one communication terminal A, it requests the terminal ID assignment using the communication route via the communication terminal A.

このように、子端末2が複数の端末装置AからHパケットを受信した場合、通信ルートのルート通信品質と、通信ルートのホップ数とに基づいて、各端末装置Aを介して親端末1に至る通信ルートの通信コストを算出する。そして、複数の端末装置Aのうち、通信コストが最も低い通信ルートを形成する端末装置Aを介して、親端末1との間で通信ルートを構築する。   In this way, when the child terminal 2 receives H packets from a plurality of terminal devices A, it is sent to the parent terminal 1 via each terminal device A based on the route communication quality of the communication route and the number of hops of the communication route. The communication cost of the communication route to reach is calculated. Then, a communication route is established with the parent terminal 1 via the terminal device A that forms the communication route with the lowest communication cost among the plurality of terminal devices A.

子端末2−2が子端末2−1を介して送信するアドレス要求パケットをより具体的に例示すると、送信元端末ID部には「予約端末ID」が収容され、送信先端末ID部には「T1」が収容され、送信通信ルート部には「予約端末ID→T1→M1」が収容される。さらに、オペレーションコード部には「アドレス要求コード」が収容され、配布アドレス部には「null」が収容され、その隣接端末部には「T1」が収容され、そのリンク通信品質部には例えば「3」が収容される。   More specifically, an example of an address request packet transmitted from the child terminal 2-2 via the child terminal 2-1, "reserved terminal ID" is accommodated in the transmission source terminal ID portion, and the transmission destination terminal ID portion includes “T1” is accommodated, and “reservation terminal ID → T1 → M1” is accommodated in the transmission communication route part. Furthermore, the operation code part contains “address request code”, the distribution address part contains “null”, the adjacent terminal part contains “T1”, and the link communication quality part contains “ 3 "is accommodated.

子端末2−2が送信したアドレス要求パケットを受信した子端末2−1では、通信処理部202が、アドレス要求パケットの送信通信ルート部を参照することによって、アドレス要求パケットの次の送信先が親端末1−1であると判断する。そして、通信処理部202は、次の送信先である親端末1−1の端末ID「M1」に送信先端末ID部を書き換えた後に、アドレス要求パケットを送信する(S8)。   In the child terminal 2-1 that has received the address request packet transmitted by the child terminal 2-2, the communication processing unit 202 refers to the transmission communication route part of the address request packet, so that the next transmission destination of the address request packet is It is determined that the terminal is the parent terminal 1-1. Then, the communication processing unit 202 rewrites the destination terminal ID part to the terminal ID “M1” of the parent terminal 1-1 that is the next destination, and then transmits the address request packet (S8).

子端末2−1が送信するアドレス要求パケット80bをより具体的に例示すると、送信元端末ID部には「T1」が収容され、送信先端末ID部には「M1」が収容され、送信通信ルート部には「予約端末ID→T1→M1」が収容される。さらに、オペレーションコード部には「アドレス要求コード」が収容され、配布アドレス部には「null」が収容され、その隣接端末部には「T1」が収容され、そのリンク通信品質部には「3」が収容される。   More specifically, the address request packet 80b transmitted by the child terminal 2-1 is exemplified by “T1” being accommodated in the transmission source terminal ID portion and “M1” being accommodated in the transmission destination terminal ID portion. “Reservation terminal ID → T1 → M1” is accommodated in the route portion. Furthermore, the operation code part contains “address request code”, the distribution address part contains “null”, its adjacent terminal part contains “T1”, and its link communication quality part contains “3”. Is contained.

子端末2−1が中継したアドレス要求パケットを受信した親端末1−1では、通信処理部202が、アドレス要求パケットを送信した子端末2−2に端末IDを割り付ける。ここでは、子端末2−2に端末ID「T2」が割り付けられるものとする。   In the parent terminal 1-1 that has received the address request packet relayed by the child terminal 2-1, the communication processing unit 202 assigns a terminal ID to the child terminal 2-2 that has transmitted the address request packet. Here, the terminal ID “T2” is assigned to the child terminal 2-2.

親端末1−1の通信処理部202は、受信したアドレス要求パケットに含まれる隣接端末ID「T1」、リンク通信品質「3」をそれぞれ取り出す。親端末1−1の通信処理部202は、アドレス要求パケットの隣接端末部に端末ID「T1」が収容されていることから、端末ID「T2」を割り付ける子端末2−2は、親端末1−1、端末ID「T1」に対応する子端末2−1に至る通信ルートによって通信可能であると判断する。そして、通信処理部202は、親端末1−1から、子端末2−1を経由して子端末2−2に至る通信ルート(M1→T1→T2)の通信ルートが構築されたと判断する。   The communication processing unit 202 of the parent terminal 1-1 extracts the adjacent terminal ID “T1” and the link communication quality “3” included in the received address request packet. Since the communication processing unit 202 of the parent terminal 1-1 has the terminal ID “T1” accommodated in the adjacent terminal part of the address request packet, the child terminal 2-2 to which the terminal ID “T2” is assigned is the parent terminal 1 −1, it is determined that communication is possible through a communication route to the child terminal 2-1 corresponding to the terminal ID “T1”. Then, the communication processing unit 202 determines that a communication route (M1 → T1 → T2) from the parent terminal 1-1 to the child terminal 2-2 via the child terminal 2-1 has been established.

さらに、親端末1−1の通信処理部202は、受信したアドレス要求パケットに含まれるリンク通信品質部から取り出したリンク通信品質「3」が、子端末2−1と子端末2−2との間におけるリンク通信品質であると判断する。通信処理部202は、親端末1−1から子端末2−1に至る通信ルートのルート通信品質「5」に、このリンク通信品質「3」を加算することによって、親端末1−1と子端末2−3との間における通信ルートのルート通信品質「8」を算出する。   Further, the communication processing unit 202 of the parent terminal 1-1 determines that the link communication quality “3” extracted from the link communication quality unit included in the received address request packet indicates that the child terminal 2-1 and the child terminal 2-2. It is determined that the link communication quality is between. The communication processing unit 202 adds the link communication quality “3” to the route communication quality “5” of the communication route from the parent terminal 1-1 to the child terminal 2-1, so that the parent terminal 1-1 and the child terminal 1-1 are connected. The route communication quality “8” of the communication route with the terminal 2-3 is calculated.

親端末1−1では、テーブル処理部201が、子端末2−2に割り付けた端末ID「T2」と、ルート通信品質「8」と、ホップ数「2」と、第1ホップ「T1」と、第2ホップ「T2」とを、通信ルートテーブルTB21に登録する。   In the parent terminal 1-1, the table processing unit 201 assigns the terminal ID “T2”, the route communication quality “8”, the number of hops “2”, and the first hop “T1” assigned to the child terminal 2-2. The second hop “T2” is registered in the communication route table TB21.

そして、親端末1−1は、アドレス応答パケットを送信する(S9)。   Then, the parent terminal 1-1 transmits an address response packet (S9).

親端末1−1が作成するアドレス応答パケットをより具体的に例示すると、送信元端末ID部には「M1」が収容され、送信先端末ID部には「T1」が収容され、送信通信ルート部には「M1→T1→BC」が収容される。さらに、オペレーションコード部には「アドレス応答コード」が収容され、配布アドレス部には「T2」が収容され、その隣接端末部には「T1」が収容され、そのリンク通信品質部には「3」が収容される。   More specifically, an example of the address response packet created by the parent terminal 1-1 includes “M1” in the transmission source terminal ID portion and “T1” in the transmission destination terminal ID portion. The section contains “M1 → T1 → BC”. Furthermore, the operation code part contains “address response code”, the distribution address part contains “T2”, the adjacent terminal part contains “T1”, and the link communication quality part contains “3”. Is contained.

そして、親端末1−1が送信したアドレス応答パケットを受信した子端末2−1では、通信処理部202が、アドレス応答パケットの送信通信ルート部を参照することによって、アドレス応答パケットの次の送信先が子端末2−2であると判断する。そして、通信処理部202は、次の送信先である同報通信のコード「BC」に送信先端末ID部を書き換えた後に、アドレス応答パケットを送信する(S10)。   Then, in the child terminal 2-1 that has received the address response packet transmitted by the parent terminal 1-1, the communication processing unit 202 refers to the transmission communication route part of the address response packet, so that the next transmission of the address response packet is performed. It is determined that the destination is the child terminal 2-2. Then, the communication processing unit 202 rewrites the destination terminal ID part to the broadcast communication code “BC” which is the next destination, and then transmits an address response packet (S10).

子端末2−1が送信するアドレス応答パケットをより具体的に例示すると、送信元端末ID部には「T1」が収容され、送信先端末ID部には「BC」が収容され、送信通信ルート部には「M1→T1→BC」が収容される。さらに、オペレーションコード部には「アドレス応答コード」が収容され、配布アドレス部には「T2」が収容され、その隣接端末部には「T1」が収容され、そのリンク通信品質部には「3」が収容される。   More specifically, the address response packet transmitted by the child terminal 2-1 is exemplified. “T1” is accommodated in the transmission source terminal ID portion, “BC” is accommodated in the transmission destination terminal ID portion, and the transmission communication route The section contains “M1 → T1 → BC”. Furthermore, the operation code part contains “address response code”, the distribution address part contains “T2”, the adjacent terminal part contains “T1”, and the link communication quality part contains “3”. Is contained.

そして、子端末2−1が中継したアドレス応答パケットを受信した子端末2−2では、通信処理部202が、この受信したアドレス応答パケットに収容されている配布アドレス「T2」、隣接端末ID「T1」、リンク通信品質「3」をそれぞれ取り出す。   Then, in the child terminal 2-2 that has received the address response packet relayed by the child terminal 2-1, the communication processing unit 202 has the distribution address “T 2” and the adjacent terminal ID “ T1 ”and link communication quality“ 3 ”are respectively extracted.

そして、子端末2−2は、自端末の端末IDに「T2」を設定する。さらに、子端末2−2では、テーブル処理部201が、通信可能端末管理テーブルTB1内において、隣接端末ID「T1」に対応して、送信リンク通信品質「3」を登録する。   Then, the child terminal 2-2 sets “T2” to the terminal ID of the own terminal. Further, in the child terminal 2-2, the table processing unit 201 registers the transmission link communication quality “3” corresponding to the adjacent terminal ID “T1” in the communicable terminal management table TB1.

また、子端末2−2の通信処理部202は、通信可能端末管理テーブルTB1内において、隣接端末ID「T1」に対応する受信リンク通信品質と送信リンク通信品質とを比較する。そして、通信状態の悪いリンク通信品質(数値が大きい方)を子端末2−1と子端末2−2との間におけるリンク通信品質とする。ここでは、リンク通信品質「3」とする。   Further, the communication processing unit 202 of the child terminal 2-2 compares the reception link communication quality corresponding to the adjacent terminal ID “T1” with the transmission link communication quality in the communicable terminal management table TB1. Then, the link communication quality (the one with the larger numerical value) having a poor communication state is set as the link communication quality between the child terminal 2-1 and the child terminal 2-2. Here, the link communication quality is “3”.

そして、子端末2−2は、上述したように、「子端末2−2→子端末2−1→親端末1−1」の通信ルートが構築可能であると判断されている。そこで、子端末2−2のテーブル処理部201は、通信可能端末管理テーブルTB1から子端末2−1とのリンク通信品質を読み出す。さらにテーブル処理部201は、子端末2−1から受信したHパケットの通信ルート部に収容されている子端末2−1と親端末1−1との間のルート通信品質「5」に、子端末2−1とのリンク通信品質「3」を加算する。そして、この加算結果「8」が、親端末1−1との間のルート通信品質とされる。   Then, as described above, the child terminal 2-2 is determined to be able to construct a communication route of “child terminal 2-2 → child terminal 2-1 → parent terminal 1-1”. Therefore, the table processing unit 201 of the child terminal 2-2 reads the link communication quality with the child terminal 2-1 from the communicable terminal management table TB1. Furthermore, the table processing unit 201 sets the route communication quality “5” between the child terminal 2-1 and the parent terminal 1-1 contained in the communication route portion of the H packet received from the child terminal 2-1 to the child communication 2-1. The link communication quality “3” with the terminal 2-1 is added. The addition result “8” is the route communication quality with the parent terminal 1-1.

すなわち、子端末2−2は、親端末1−1との間において、ホップ数「2」、ルート通信品質「8」で、「T2→T1→M1」の通信ルートが構築されている。したがって、子端末2−2のテーブル処理部201は、通信ルートテーブルTB22に、親端末1−1の端末ID「M1」、通信コスト「8」、ホップ数「2」、第1ホップ「T1」、第2ホップ「M1」を登録する。   That is, a communication route of “T2 → T1 → M1” is constructed between the child terminal 2-2 and the parent terminal 1-1 with the number of hops “2” and the route communication quality “8”. Therefore, the table processing unit 201 of the child terminal 2-2 stores the terminal ID “M1”, the communication cost “8”, the number of hops “2”, and the first hop “T1” of the parent terminal 1-1 in the communication route table TB22. The second hop “M1” is registered.

このように、親端末1−1と子端末2−2とが、子端末2−1を介して間接的に通信可能な場合、子端末2−1のHパケット送信工程、子端末2−2のアドレス要求パケット送信工程、親端末1−1のアドレス応答パケット送信工程の3つの工程が実行される。そして、これらの工程が実行されることによって、子端末2−2の端末ID(通信アドレス)が設定され、互いに間接的に通信可能な親端末1−1と子端末2−2との間の通信ルートが双方で構築される。   As described above, when the parent terminal 1-1 and the child terminal 2-2 can indirectly communicate with each other via the child terminal 2-1, the H packet transmission process of the child terminal 2-1, the child terminal 2-2. The address request packet transmission process and the address response packet transmission process of the parent terminal 1-1 are executed. Then, by executing these steps, the terminal ID (communication address) of the child terminal 2-2 is set, and between the parent terminal 1-1 and the child terminal 2-2 that can indirectly communicate with each other. A communication route is established on both sides.

このように、本実施形態では、親端末1と直接通信可能な子端末2、親端末1と間接的に通信可能な子端末2のいずれにおいても、通信ルートのルート通信品質、通信ルートのホップ数を考慮して、通信ルートを構築している。また、起動後の子端末2が、親端末1との間で最初に通信ルートを構築する場合、Hパケットに含まれる残レコード数を考慮することなく、いずれかの親端末1との間で通信ルートを構築することを優先させている。   Thus, in the present embodiment, the route communication quality of the communication route, the hop of the communication route, in any of the child terminal 2 that can directly communicate with the parent terminal 1 and the child terminal 2 that can indirectly communicate with the parent terminal 1. The communication route is constructed considering the number. In addition, when the child terminal 2 after startup establishes a communication route with the parent terminal 1 for the first time, without considering the number of remaining records included in the H packet, Prioritize building communication routes.

なお、親端末1−子端末2間に構築される通信ルートは、親端末1との間で通信ルートを構築した子端末2がHパケットを送信することによって、ホップ数3以上の通信ルートも上記同様に構築できる。   Note that the communication route established between the parent terminal 1 and the child terminal 2 is a communication route having a hop number of 3 or more when the child terminal 2 that has established a communication route with the parent terminal 1 transmits an H packet. It can be constructed in the same way as above.

次に、各子端末2が、いずれかの親端末1との間で上記のように通信ルートを構築した後の処理について説明する。   Next, processing after each child terminal 2 has established a communication route with any one of the parent terminals 1 as described above will be described.

まず、Hパケットは、無線ネットワークの通信トラフィックを抑制するために、通信端末Aが親端末1に設定されている場合、および通信端末Aが、親端末1までの通信ルートが構築されている子端末2である場合に、各通信端末Aから送信される。そして、各通信端末AにおけるHパケットの送信処理は、通信端末A毎に一定時間間隔で行われる。   First, in order to suppress communication traffic of the wireless network, the H packet is a child in which the communication terminal A is set to the parent terminal 1 and the communication terminal A has a communication route to the parent terminal 1 constructed. When it is the terminal 2, it is transmitted from each communication terminal A. And the transmission process of H packet in each communication terminal A is performed for every communication terminal A at a fixed time interval.

したがって、子端末2は、上記のように親端末1との間で通信ルートを構築した後も、直接通信可能な(隣接する)親端末1および子端末2からHパケット(図7(a)参照)を受信する。Hパケットを送信した通信端末Aが親端末1である場合、Hパケットの残レコード数部は、Hパケットの送信元である親端末1の残レコード数が収容される。Hパケットを送信した通信端末Aが子端末2である場合、Hパケットの残レコード数部は、Hパケットの送信元である子端末2が通信ルートを構築している親端末1の残レコード数が収容される。   Therefore, the child terminal 2 can generate an H packet from the parent terminal 1 and the child terminal 2 that can communicate directly with each other even after the communication route is established with the parent terminal 1 as described above (FIG. 7A). Reference) is received. When the communication terminal A that has transmitted the H packet is the parent terminal 1, the remaining record number portion of the H packet contains the number of remaining records of the parent terminal 1 that is the transmission source of the H packet. When the communication terminal A that has transmitted the H packet is the child terminal 2, the remaining record number portion of the H packet is the number of remaining records of the parent terminal 1 in which the child terminal 2 that is the transmission source of the H packet constructs a communication route. Is housed.

そして、ある親端末1との間で通信ルートを構築した後にHパケットを受信した子端末2では、通信処理部202が、受信したHパケットに含まれる残レコード数を取得する。すなわち、通信処理部202は、現在自端末との間で通信ルートを構築している親端末1の残レコード数だけでなく、無線ネットワーク内の他の親端末1の各々の残レコード数も取得できる。そして、この子端末2のテーブル処理部201は、テーブル記憶部101のレコード・コストテーブルTB3において、無線ネットワーク内の他の親端末1の端末IDに対応して、親端末1の残レコード数を登録する。ここで、レコード・コストテーブルTB3に残レコード数が登録される親端末1は、当該子端末2との間に、直接または間接に通信ルートを構築可能な端末である。このレコード・コストテーブルTB3は、Hパケットを受信する度に、最新の残レコード数に更新される。   Then, in the child terminal 2 that has received the H packet after establishing a communication route with a certain parent terminal 1, the communication processing unit 202 acquires the number of remaining records included in the received H packet. That is, the communication processing unit 202 acquires not only the number of remaining records of the parent terminal 1 that is currently building a communication route with the own terminal, but also the number of remaining records of each of the other parent terminals 1 in the wireless network. it can. Then, the table processing unit 201 of the child terminal 2 calculates the remaining number of records of the parent terminal 1 in the record / cost table TB3 of the table storage unit 101 corresponding to the terminal ID of the other parent terminal 1 in the wireless network. sign up. Here, the parent terminal 1 in which the number of remaining records is registered in the record / cost table TB3 is a terminal that can establish a communication route directly or indirectly with the child terminal 2. The record cost table TB3 is updated to the latest remaining record number every time an H packet is received.

また、ある親端末1との間で通信ルートを構築した後にHパケットを受信した子端末2では、通信処理部202が、上記同様にルート通信品質とホップ数とに基づいて、各通信ルートの通信コストを算出する。そして、この子端末2のテーブル処理部201は、テーブル記憶部101のレコード・コストテーブルTB3において、無線ネットワーク内の他の親端末1の各端末IDに対応して、各通信コストを登録する。   Further, in the child terminal 2 that has received the H packet after establishing a communication route with a certain parent terminal 1, the communication processing unit 202 determines the communication route of each communication route based on the route communication quality and the number of hops as described above. Calculate communication costs. The table processing unit 201 of the child terminal 2 registers each communication cost in the record / cost table TB3 of the table storage unit 101 corresponding to each terminal ID of the other parent terminal 1 in the wireless network.

そして、親端末1との間で通信ルートを構築している子端末2の通信処理部202は、レコード・コストテーブルTB3を監視して、自端末と通信ルートを構築する親端末1を切り替えるか否かを判断している。   Then, the communication processing unit 202 of the child terminal 2 that establishes a communication route with the parent terminal 1 monitors the record / cost table TB3 and switches the parent terminal 1 that establishes the communication route with the own terminal. Judging whether or not.

例えば、親端末1−1との間で通信ルートを構築している子端末2−2の通信処理部202は、親端末1−1の残レコード数を監視し、親端末1−1の残レコード数を閾値K1(第1の閾値)と比較する。そして、親端末1−1の残レコード数が閾値K1を上回っている場合、親端末1−1との間で構築されている通信ルートを維持する。   For example, the communication processing unit 202 of the child terminal 2-2 that establishes a communication route with the parent terminal 1-1 monitors the number of remaining records of the parent terminal 1-1, and the remaining number of the parent terminal 1-1. The number of records is compared with a threshold value K1 (first threshold value). When the number of remaining records of the parent terminal 1-1 exceeds the threshold value K1, the communication route established with the parent terminal 1-1 is maintained.

しかし、親端末1−1の残レコード数が閾値K1以下になった場合、子端末2−2の通信処理部202は、レコード・コストテーブルTB3に登録している他の親端末1の残レコード数を閾値K2(第2の閾値)と比較する。そして、残レコード数が閾値K2を上回っている1乃至複数の他の親端末1のうち、レコード・コストテーブルTB3に登録している通信コストが最小である他の親端末1、例えば親端末1−2を選択する。なお、閾値K1と閾値K2とは、互いに同じ値でもよいし、互いに異なる値でもよい。   However, when the number of remaining records of the parent terminal 1-1 becomes equal to or less than the threshold value K1, the communication processing unit 202 of the child terminal 2-2 determines the remaining records of other parent terminals 1 registered in the record / cost table TB3. The number is compared with a threshold value K2 (second threshold value). Of the one or more other parent terminals 1 whose remaining records exceed the threshold K2, the other parent terminal 1, for example, the parent terminal 1, with the lowest communication cost registered in the record cost table TB3. -2. Note that the threshold value K1 and the threshold value K2 may be the same value or different values.

そして、子端末2−2の通信処理部202は、親端末1−2との間で新たな通信ルートを構築するために、親端末1−2に対して、アドレス要求パケットを送信する。以降、子端末2−2は、親端末1−2から上記同様にアドレス応答パケットを受信し、親端末1−2から割り付けられた新しい端末IDを自端末に設定する。すなわち、子端末2−2は、自端末と通信ルートを構築する親端末1を、親端末1−1から親端末1−2に切り替える。   Then, the communication processing unit 202 of the child terminal 2-2 transmits an address request packet to the parent terminal 1-2 in order to establish a new communication route with the parent terminal 1-2. Thereafter, the child terminal 2-2 receives the address response packet from the parent terminal 1-2 in the same manner as described above, and sets the new terminal ID assigned from the parent terminal 1-2 to the own terminal. That is, the child terminal 2-2 switches the parent terminal 1 that establishes a communication route with the own terminal from the parent terminal 1-1 to the parent terminal 1-2.

このように、自端末が通信ルートを構築している親端末1の残レコード数が少なくなった子端末2は、残レコード数に余裕がある他の親端末1との間で新たな通信ルートを構築する。したがって、特定の親端末1の配下に子端末2が集中することなく、親端末1との間で通信不可となる子端末2の発生を抑制できる。   In this way, the child terminal 2 whose number of remaining records of the parent terminal 1 for which the own terminal is building a communication route is reduced, is a new communication route with another parent terminal 1 that has a surplus in the number of remaining records. Build up. Therefore, the child terminals 2 that cannot communicate with the parent terminal 1 can be suppressed without the child terminals 2 being concentrated under the control of the specific parent terminal 1.

また、親端末1−1の残レコード数が閾値K1以下になった場合でも、レコード・コストテーブルTB3に登録している他の全ての親端末1の残レコード数が閾値K2以下であれば、子端末2−2は、親端末1−1との間で構築されている通信ルートを維持する。   Further, even when the number of remaining records of the parent terminal 1-1 is equal to or less than the threshold K1, if the number of remaining records of all the other parent terminals 1 registered in the record / cost table TB3 is equal to or less than the threshold K2, The child terminal 2-2 maintains a communication route established with the parent terminal 1-1.

(実施形態2)
本実施形態のマルチホップ通信システムの構成は、実施形態1と同様であり、同様の構成には同一の符号を付して説明は省略する。
(Embodiment 2)
The configuration of the multi-hop communication system of the present embodiment is the same as that of the first embodiment, and the same components are denoted by the same reference numerals and description thereof is omitted.

まず、親端末1との間で通信ルートを構築している本実施形態の子端末2は、無線ネットワーク内で、自端末が中継端末として機能しているか否かを認識している。ここで、親端末1−子端末2間の通信において、通信パケットを中継する子端末2を中継端末と称す。   First, the child terminal 2 of the present embodiment that has established a communication route with the parent terminal 1 recognizes whether or not the own terminal functions as a relay terminal in the wireless network. Here, in communication between the parent terminal 1 and the child terminal 2, the child terminal 2 that relays communication packets is referred to as a relay terminal.

具体的に、通信端末Aが送受信する通信パケットには、当該通信パケットの通信ルートに関する情報が含まれている(図7(a)に示すHパケットの通信ルート部、図7(b)に示すアドレス要求パケットおよびアドレス応答パケットの送信通信ルート部等)。この通信ルートに関する情報は、通信ルートにおいて経由する通信端末Aの端末IDが順に並べられることによって表されており、子端末2は、他の通信端末Aから受信した通信パケットを参照することによって、自端末が中継端末であるか否かを判定できる。すなわち、通信ルート中において、自端末の端末IDが末尾になく途中にあれば、自端末は中継端末である。   Specifically, the communication packet transmitted and received by the communication terminal A includes information related to the communication route of the communication packet (the communication route portion of the H packet shown in FIG. 7A and shown in FIG. 7B). Transmission request route part of address request packet and address response packet). The information regarding the communication route is represented by the terminal IDs of the communication terminals A passing through the communication route being arranged in order, and the child terminal 2 refers to the communication packet received from the other communication terminal A, It is possible to determine whether or not the own terminal is a relay terminal. That is, in the communication route, if the terminal ID of the terminal is not at the end and is in the middle, the terminal is a relay terminal.

このように、通信端末Aは、他の通信端末Aから受信した通信パケットを中継転送した場合に、自端末が中継端末であると判断するが、その後も中継端末であり続けるとは限らない。例えば、他の子端末2が無線ネットワークから離脱したり、伝送路状況の変化によって別の通信ルートに変更することによって、中継端末ではなくなる場合がある。したがって、他の通信端末Aから受信した通信パケットを中継転送してから一定時間Y1が経過するまでの間、自端末は中継端末であると判断すればよい。具体的には、通信パケットを中継転送した際に、時間Y1の計時を開始し、時間Y1が経過するまでに新たな通信パケットを中継転送した場合、時間Y1の計時を再スタートする。一方、時間Y1が経過するまでに新たな通信パケットを中継転送しなかった場合、自端末は中継端末ではないと判断する。   As described above, when the communication terminal A relays and forwards a communication packet received from another communication terminal A, the communication terminal A determines that the terminal is a relay terminal, but does not always continue to be a relay terminal. For example, when the other child terminal 2 leaves the wireless network or changes to another communication route due to a change in transmission path condition, it may not be a relay terminal. Therefore, it is only necessary to determine that the own terminal is a relay terminal until a predetermined time Y1 elapses after the communication packet received from another communication terminal A is relay-transferred. Specifically, when the communication packet is relayed and transferred, the timing of the time Y1 is started. When a new communication packet is relayed and transferred before the time Y1 elapses, the timing of the time Y1 is restarted. On the other hand, if a new communication packet is not relayed and transferred before the time Y1 elapses, it is determined that the own terminal is not a relay terminal.

そして、自端末が中継端末であると判定した子端末2は、自端末が通信ルートを構築している親端末1の残レコード数が閾値K1以下になったとしても、この親端末1との間で構築されている通信ルートを維持する。   Then, the child terminal 2 that has determined that its own terminal is a relay terminal, even if the number of remaining records of the parent terminal 1 with which the own terminal constructs a communication route becomes equal to or less than the threshold value K1, Maintain communication routes built between them.

無線ネットワークの中で、中継端末として機能している子端末2が、通信ルートを構築する親端末1を切り替えた場合、この子端末2を中継端末として用いている他の子端末2(以降、従属端末と称す)の通信ルートが失われる虞がある。また、中継端末として機能している子端末2が、通信ルートを構築する親端末1を切り替えることによって、従属端末の通信ルートも変更され、特定の親端末1の配下に子端末2が集中する虞もある。さらには、通信ルートを失った従属端末は、通信可能な新たな親端末1が存在しない場合、通信ルートを構築できない虞もある。   In the wireless network, when the child terminal 2 functioning as a relay terminal switches the parent terminal 1 for constructing a communication route, another child terminal 2 using the child terminal 2 as a relay terminal (hereinafter, There is a risk that the communication route of the subordinate terminal) will be lost. Further, when the child terminal 2 functioning as a relay terminal switches the parent terminal 1 for constructing the communication route, the communication route of the subordinate terminal is also changed, and the child terminal 2 is concentrated under the specific parent terminal 1. There is also a fear. Furthermore, there is a possibility that the subordinate terminal that has lost the communication route cannot construct the communication route when there is no new parent terminal 1 capable of communication.

しかし、本実施形態では、上記のように、中継端末として機能している子端末2は、通信ルートを構築している親端末1の残レコード数に関わらず、この親端末1との間で構築されている通信ルートを維持するので、上記問題は発生しない。すなわち、無線ネットワーク内における通信の信頼性を維持することができる。   However, in the present embodiment, as described above, the child terminal 2 functioning as a relay terminal is in contact with the parent terminal 1 regardless of the number of remaining records of the parent terminal 1 constructing the communication route. Since the established communication route is maintained, the above problem does not occur. That is, the reliability of communication within the wireless network can be maintained.

(実施形態3)
本実施形態のマルチホップ通信システムの構成は、実施形態1と同様であり、同様の構成には同一の符号を付して説明は省略する。
(Embodiment 3)
The configuration of the multi-hop communication system of the present embodiment is the same as that of the first embodiment, and the same components are denoted by the same reference numerals and description thereof is omitted.

まず、親端末1との間で通信ルートを構築している本実施形態の子端末2は、無線ネットワーク内で、自端末が中継端末として機能しているか否かを認識している。ここで、親端末1−子端末2間の通信において、通信パケットを中継する子端末2を中継端末と称す。   First, the child terminal 2 of the present embodiment that has established a communication route with the parent terminal 1 recognizes whether or not the own terminal functions as a relay terminal in the wireless network. Here, in communication between the parent terminal 1 and the child terminal 2, the child terminal 2 that relays communication packets is referred to as a relay terminal.

具体的に、通信端末Aが送受信する通信パケットには、当該通信パケットの通信ルートに関する情報が含まれている(図7(a)に示すHパケットの通信ルート部、図7(b)に示すアドレス要求パケットおよびアドレス応答パケットの送信通信ルート部等)。この通信ルートに関する情報は、通信ルートにおいて経由する通信端末Aの端末IDが順に並べられることによって表されており、子端末2は、他の通信端末Aから受信した通信パケットを参照することによって、自端末が中継端末であるか否かを判定できる。さらに、子端末2は、他の通信端末Aから受信した通信パケットを参照することによって、自端末を中継端末として用いている他の子端末2(以降、従属端末と称す)の台数も把握できる。なお、中継端末でない子端末2は、その従属端末の台数は「0」台となる。   Specifically, the communication packet transmitted and received by the communication terminal A includes information related to the communication route of the communication packet (the communication route portion of the H packet shown in FIG. 7A and shown in FIG. 7B). Transmission request route part of address request packet and address response packet). The information regarding the communication route is represented by the terminal IDs of the communication terminals A passing through the communication route being arranged in order, and the child terminal 2 refers to the communication packet received from the other communication terminal A, It is possible to determine whether or not the own terminal is a relay terminal. Furthermore, the child terminal 2 can grasp the number of other child terminals 2 (hereinafter referred to as subordinate terminals) using the own terminal as a relay terminal by referring to the communication packet received from the other communication terminal A. . The slave terminal 2 that is not a relay terminal has “0” slave terminals.

なお、従属端末は、他の子端末2が無線ネットワークから離脱したり、伝送路状況の変化によって別の通信ルートに変更することによって、従属端末ではなくなる場合がある。したがって、子端末2は、他の子端末2から受信した通信パケットを中継転送してから一定時間Y2が経過するまでの間、この他の子端末2は従属端末であると判断すればよい。具体的に、子端末2は、図8に示す従属端末テーブルTB4をテーブル記憶部101に格納している。従属端末テーブルTB4は、従属端末の端末IDと、この従属端末からの通信パケットを中継転送した最終時刻とを登録している。そして、子端末2は、従属端末テーブルTB4に端末IDが登録されている子端末2は従属端末であると判断する。そして、通信パケットを中継転送した最終時刻から時間Y2が経過した時点で、当該従属端末のレコードを削除すればよい。   The subordinate terminal may not be a subordinate terminal when another child terminal 2 leaves the wireless network or changes to another communication route due to a change in the transmission path condition. Therefore, the child terminal 2 may determine that the other child terminal 2 is a subordinate terminal until a predetermined time Y2 elapses after the communication packet received from the other child terminal 2 is relayed and transferred. Specifically, the child terminal 2 stores the subordinate terminal table TB4 shown in FIG. The subordinate terminal table TB4 registers the terminal ID of the subordinate terminal and the final time when the communication packet from the subordinate terminal is relayed and transferred. Then, the child terminal 2 determines that the child terminal 2 whose terminal ID is registered in the dependent terminal table TB4 is a dependent terminal. Then, when the time Y2 has elapsed from the last time when the communication packet was relayed and transferred, the record of the subordinate terminal may be deleted.

そして、本実施形態の子端末2は、自端末を中継端末として用いている従属端末の台数に応じて、閾値K1,K2を変動させる。   Then, the child terminal 2 of the present embodiment varies the threshold values K1 and K2 according to the number of subordinate terminals using the own terminal as a relay terminal.

例えば、従属端末の台数が増加すれば、閾値K1を低くし、さらには閾値K2を高くすることによって、子端末2が通信ルートを切り替える確率を低下させる。一方、従属端末の台数が減少すれば、閾値K1を高くし、さらには閾値K2を低くすることによって、子端末2が通信ルートを切り替える確率を増大させる。なお、閾値K1,K2の変動パターンは、従属端末の台数の変動に対して連続的、段階的のいずれでもよい。   For example, if the number of subordinate terminals increases, the threshold K1 is lowered and further the threshold K2 is raised, thereby reducing the probability that the child terminal 2 switches the communication route. On the other hand, if the number of dependent terminals decreases, the probability that the child terminal 2 switches the communication route is increased by increasing the threshold value K1 and further decreasing the threshold value K2. Note that the variation pattern of the threshold values K1 and K2 may be either continuous or stepwise with respect to the variation in the number of subordinate terminals.

ここで、無線ネットワークの中で、中継端末として機能している子端末2が、通信ルートを構築する親端末1を切り替えた場合、従属端末の通信ルートが失われる虞がある。また、中継端末として機能している子端末2が、通信ルートを構築する親端末1を切り替えることによって、従属端末の通信ルートも変更され、特定の親端末1の配下に子端末2が集中する虞もある。さらには、通信ルートを失った従属端末は、通信可能な新たな親端末1が存在しない場合、通信ルートを構築できない虞もある。   Here, when the child terminal 2 functioning as a relay terminal in the wireless network switches the parent terminal 1 for constructing the communication route, the communication route of the subordinate terminal may be lost. Further, when the child terminal 2 functioning as a relay terminal switches the parent terminal 1 for constructing the communication route, the communication route of the subordinate terminal is also changed, and the child terminal 2 is concentrated under the specific parent terminal 1. There is also a fear. Furthermore, there is a possibility that the subordinate terminal that has lost the communication route cannot construct the communication route when there is no new parent terminal 1 capable of communication.

そこで、中継端末として機能している子端末2は、自端末と通信ルートを構築している親端末1の残レコード数に関わらず、この親端末1との間で構築されている通信ルートを維持することで、上記問題を解決することが考えられる。しかし、この方法では、親端末1との間で通信不可となる子端末2の発生を抑制するという問題を解決できない虞がある。   Therefore, the child terminal 2 functioning as a relay terminal can determine the communication route established with the parent terminal 1 regardless of the number of remaining records of the parent terminal 1 that has established a communication route with the own terminal. It can be considered that the above problem can be solved by maintaining the above. However, this method may not solve the problem of suppressing the occurrence of the child terminal 2 that cannot communicate with the parent terminal 1.

しかし本実施形態において、中継端末として機能している子端末2は、上記のように、自端末を中継端末として用いている従属端末の台数に応じて、自端末が通信ルートを構築している親端末1を切り替える確率を変動させている。したがって、無線ネットワーク内における通信の信頼性を維持するとともに、特定の親端末1の配下に子端末2が集中することなく、親端末1との間で通信不可となる子端末2の発生を抑制することができる。   However, in the present embodiment, the child terminal 2 functioning as a relay terminal has a communication route established by the own terminal according to the number of subordinate terminals using the own terminal as a relay terminal as described above. The probability of switching the parent terminal 1 is varied. Therefore, the reliability of communication in the wireless network is maintained, and the occurrence of the child terminal 2 that cannot communicate with the parent terminal 1 is suppressed without the child terminals 2 being concentrated under the specific parent terminal 1. can do.

なお、従属端末の台数に応じて、閾値K1,K2の両方を変動させる構成、閾値K1,K2のいずれか一方のみを変動させる構成のいずれでもよい。   Note that either a configuration in which both threshold values K1 and K2 are changed or a configuration in which only one of threshold values K1 and K2 is changed in accordance with the number of subordinate terminals may be used.

(実施形態4)
本実施形態のマルチホップ通信システムの構成は、実施形態1と同様であり、同様の構成には同一の符号を付して説明は省略する。
(Embodiment 4)
The configuration of the multi-hop communication system of the present embodiment is the same as that of the first embodiment, and the same components are denoted by the same reference numerals and description thereof is omitted.

まず、子端末2−2が親端末1−1との間で通信ルートを構築しているものとする。そして、子端末2−2の通信処理部202は、親端末1−1の残レコード数を監視し、親端末1−1の残レコード数を閾値K1(第1の閾値)と比較する。そして、親端末1−1の残レコード数が閾値K1を上回っている場合、親端末1−1との間で構築されている通信ルートを維持する。   First, it is assumed that the child terminal 2-2 establishes a communication route with the parent terminal 1-1. Then, the communication processing unit 202 of the child terminal 2-2 monitors the number of remaining records of the parent terminal 1-1 and compares the number of remaining records of the parent terminal 1-1 with a threshold value K1 (first threshold value). When the number of remaining records of the parent terminal 1-1 exceeds the threshold value K1, the communication route established with the parent terminal 1-1 is maintained.

しかし、親端末1−1の残レコード数が閾値K1以下になった場合、子端末2−2の通信処理部202は、レコード・コストテーブルTB3に登録している他の親端末1の残レコード数を閾値K2(第2の閾値)と比較する。そして、残レコード数が閾値K2を上回っている1乃至複数の他の親端末1のうち、レコード・コストテーブルTB3に登録している通信コストが最小である他の親端末1、例えば親端末1−2を選択する。なお、閾値K1と閾値K2とは、互いに同じ値でもよいし、互いに異なる値でもよい。   However, when the number of remaining records of the parent terminal 1-1 becomes equal to or less than the threshold value K1, the communication processing unit 202 of the child terminal 2-2 determines the remaining records of other parent terminals 1 registered in the record / cost table TB3. The number is compared with a threshold value K2 (second threshold value). Of the one or more other parent terminals 1 whose remaining records exceed the threshold K2, the other parent terminal 1, for example, the parent terminal 1, with the lowest communication cost registered in the record cost table TB3. -2. Note that the threshold value K1 and the threshold value K2 may be the same value or different values.

そして、子端末2−2の通信処理部202は、親端末1−1へ親端末変更通知パケットを送信した後に、親端末1−2へアドレス要求パケットを送信する。   Then, the communication processing unit 202 of the child terminal 2-2 transmits an address request packet to the parent terminal 1-2 after transmitting the parent terminal change notification packet to the parent terminal 1-1.

子端末2−2から親端末変更通知パケットを受信した親端末1−1では、テーブル処理部201が、通信ルートテーブルTB21(図4(a)参照)内の子端末2−2に関する通信ルート情報を削除し、残レコード数を1つ増やす(インクリメントする)。   In the parent terminal 1-1 that has received the parent terminal change notification packet from the child terminal 2-2, the table processing unit 201 performs communication route information regarding the child terminal 2-2 in the communication route table TB21 (see FIG. 4A). And increment the remaining record count by one.

また、親端末1−2へアドレス要求パケットを送信した子端末2−2は、親端末1−2から上記同様にアドレス応答パケットを受信し、親端末1−2から割り付けられた新しい端末IDを自端末に設定する。すなわち、子端末2−2は、自端末と通信ルートを構築する親端末1を、親端末1−1から親端末1−2に切り替える。   In addition, the child terminal 2-2 that has transmitted the address request packet to the parent terminal 1-2 receives the address response packet from the parent terminal 1-2 in the same manner as described above, and receives the new terminal ID assigned from the parent terminal 1-2. Set to own terminal. That is, the child terminal 2-2 switches the parent terminal 1 that establishes a communication route with the own terminal from the parent terminal 1-1 to the parent terminal 1-2.

一方、子端末2−2が、親端末1−1へ親端末変更通知パケットを送信することなく、親端末1−2へアドレス要求パケットのみを送信した場合、親端末1−1は、自端末の配下から子端末2−2が離脱したことを検知するのに時間がかかる。例えば、子端末2は、一定時間毎にハローパケットやルート通知パケット等のルーティングプロトコルパケットを送信している。ルート通知パケットとは、自端末が親端末1との間で構築している通信ルート情報を格納したもので、自端末が通信ルートを構築している親端末1に対して送信される。そして、親端末1−1は、子端末2−2からハローパケットやルート通知パケット等のルーティングプロトコルパケットを一定期間受信できないことによって、子端末2−2が自端末の配下から離脱したことを検出できる。すなわち、親端末1−1は、子端末2−2が自端末の配下から実際に離脱してからある程度時間が経過した後に、子端末2−2の離脱を検出する。したがって、親端末1−1が子端末2−2の離脱を検出するまでに、親端末1−1の配下にある子端末2の台数が必要以上に低減したり、親端末1−2の配下にある子端末2の台数が必要以上に増加することが考えられる。   On the other hand, when the child terminal 2-2 transmits only the address request packet to the parent terminal 1-2 without transmitting the parent terminal change notification packet to the parent terminal 1-1, the parent terminal 1-1 It takes time to detect that the child terminal 2-2 has left the subordinate. For example, the child terminal 2 transmits a routing protocol packet such as a hello packet or a route notification packet at regular intervals. The route notification packet stores communication route information established between itself and the parent terminal 1, and is transmitted to the parent terminal 1 where the own terminal constructs a communication route. Then, the parent terminal 1-1 detects that the child terminal 2-2 has left the subordinate of its own terminal because it cannot receive a routing protocol packet such as a hello packet or a route notification packet from the child terminal 2-2 for a certain period. it can. That is, the parent terminal 1-1 detects the withdrawal of the child terminal 2-2 after a certain period of time has elapsed since the child terminal 2-2 actually left the subordinate of the own terminal. Therefore, until the parent terminal 1-1 detects the withdrawal of the child terminal 2-2, the number of child terminals 2 subordinate to the parent terminal 1-1 is reduced more than necessary, or the subordinates of the parent terminal 1-2 are subordinate. It is conceivable that the number of child terminals 2 in the network increases more than necessary.

本実施形態では、上記のように、通信ルートを構築する親端末1を切り替える子端末2は、現在の通信ルートを構築している旧親端末1に対して親端末変更通知パケットを送信するともに、新親端末1へアドレス要求パケットを送信する。したがって、旧親端末1は、配下の子端末2が自端末の配下から離脱したことをリアルタイムに検出でき、ルートテーブルTB21の残レコード数を最新値に変更したハローパケットを直ちに送信することができる。すなわち、残レコード数が増えたことを子端末2に通知することができ、不必要に多くの子端末2が自端末の配下から離脱することを防止できる。すなわち、旧親端末1の配下になる子端末2の台数が必要以上に低減することや、新親端末1の配下になる子端末2の台数が必要以上に増加することを防止でき、親端末1の配下になる子端末2の台数をより均一化できる。   In the present embodiment, as described above, the child terminal 2 that switches the parent terminal 1 that constructs the communication route transmits the parent terminal change notification packet to the old parent terminal 1 that constructs the current communication route. The address request packet is transmitted to the new parent terminal 1. Therefore, the old parent terminal 1 can detect in real time that the subordinate child terminal 2 has left the subordinate of its own terminal, and can immediately transmit a hello packet in which the number of remaining records in the route table TB21 is changed to the latest value. . That is, it is possible to notify the child terminal 2 that the number of remaining records has increased, and it is possible to prevent an unnecessarily large number of child terminals 2 from leaving the subordinates of the own terminal. That is, it is possible to prevent the number of child terminals 2 subordinate to the old parent terminal 1 from being unnecessarily reduced and the number of child terminals 2 subordinate to the new parent terminal 1 from being increased more than necessary. The number of child terminals 2 under 1 can be made more uniform.

(実施形態5)
本実施形態のマルチホップ通信システムの構成は、実施形態1と同様であり、同様の構成には同一の符号を付して説明は省略する。以下、本無線ネットワークにおける通信ルートの構築について、図9のシーケンスを用いて説明する。
(Embodiment 5)
The configuration of the multi-hop communication system of the present embodiment is the same as that of the first embodiment, and the same components are denoted by the same reference numerals and description thereof is omitted. Hereinafter, the construction of a communication route in the wireless network will be described using the sequence of FIG.

まず、子端末2−2が親端末1−1との間で通信ルートを構築しているものとする。そして、子端末2−2の通信処理部202は、親端末1−1の残レコード数を監視し、親端末1−1の残レコード数を閾値K1(第1の閾値)と比較する。そして、親端末1−1の残レコード数が閾値K1を上回っている場合、親端末1−1との間で構築されている通信ルートを維持する。   First, it is assumed that the child terminal 2-2 establishes a communication route with the parent terminal 1-1. Then, the communication processing unit 202 of the child terminal 2-2 monitors the number of remaining records of the parent terminal 1-1 and compares the number of remaining records of the parent terminal 1-1 with a threshold value K1 (first threshold value). When the number of remaining records of the parent terminal 1-1 exceeds the threshold value K1, the communication route established with the parent terminal 1-1 is maintained.

しかし、親端末1−1の残レコード数が閾値K1以下になった場合、子端末2−2の通信処理部202は、レコード・コストテーブルTB3に登録している他の親端末1の残レコード数を閾値K2(第2の閾値)と比較する。そして、残レコード数が閾値K2を上回っている1乃至複数の他の親端末1のうち、レコード・コストテーブルTB3に登録している通信コストが最小である他の親端末1、例えば親端末1−2を選択する。なお、閾値K1と閾値K2とは、互いに同じ値でもよいし、互いに異なる値でもよい。   However, when the number of remaining records of the parent terminal 1-1 becomes equal to or less than the threshold value K1, the communication processing unit 202 of the child terminal 2-2 determines the remaining records of other parent terminals 1 registered in the record / cost table TB3. The number is compared with a threshold value K2 (second threshold value). Of the one or more other parent terminals 1 whose remaining records exceed the threshold K2, the other parent terminal 1, for example, the parent terminal 1, with the lowest communication cost registered in the record cost table TB3. -2. Note that the threshold value K1 and the threshold value K2 may be the same value or different values.

そして、子端末2−2の通信処理部202は、親端末1−1へ親端末変更可能パケットを送信する(S21)。   Then, the communication processing unit 202 of the child terminal 2-2 transmits a parent terminal changeable packet to the parent terminal 1-1 (S21).

子端末2−2から親端末変更可能パケットを受信した親端末1−1では、通信処理部201が、自端末の通信ルートテーブルTB21における残レコード数が閾値K1以下であれば、親端末変更可能パケットの送信元である子端末2−2へ親端末変更許可パケットを送信する(S22)。さらに、親端末1−1のテーブル処理部201は、通信ルートテーブルTB21(図4(a)参照)内の子端末2−2に関する通信ルート情報を削除し、残レコード数を1つ増やす(インクリメントする)。   In the parent terminal 1-1 that has received the parent terminal changeable packet from the child terminal 2-2, the communication processing unit 201 can change the parent terminal if the number of remaining records in the communication route table TB21 of the own terminal is equal to or less than the threshold value K1. The parent terminal change permission packet is transmitted to the child terminal 2-2 that is the transmission source of the packet (S22). Further, the table processing unit 201 of the parent terminal 1-1 deletes the communication route information regarding the child terminal 2-2 in the communication route table TB21 (see FIG. 4A), and increases the number of remaining records by one (increment). To do).

そして、親端末1−1から親端末変更許可パケットを受信した子端末2−2は、親端末1−2へアドレス要求パケットを送信した後に(S23)、親端末1−2から上記同様にアドレス応答パケットを受信し、親端末1−2から割り付けられた新しい端末IDを自端末に設定する(S24)。すなわち、子端末2−2は、自端末と通信ルートを構築する親端末1を、親端末1−1から親端末1−2に切り替える。   Then, after receiving the parent terminal change permission packet from the parent terminal 1-1, the child terminal 2-2 transmits an address request packet to the parent terminal 1-2 (S23), and then, from the parent terminal 1-2, the address is the same as described above. The response packet is received, and the new terminal ID assigned by the parent terminal 1-2 is set in the own terminal (S24). That is, the child terminal 2-2 switches the parent terminal 1 that establishes a communication route with the own terminal from the parent terminal 1-1 to the parent terminal 1-2.

本実施形態では、上記のように、通信ルートを構築する親端末1を切り替える子端末2は、現在の通信ルートを構築している旧親端末1に対して親端末変更可能パケットを送信する。親端末変更可能パケットを受信した旧親端末1は、自端末の残レコード数が閾値K1以下であれば子端末2へ親端末変更許可パケットを送信する。子端末2は、旧端末1から親端末変更許可パケットを受信した後に、新親端末1へアドレス要求パケットを送信する。したがって、旧親端末1は、自端末の残レコード数に基づいて親端末変更許可パケットを送信するので、配下の子端末2が自端末の配下から離脱することをリアルタイムに検出できるとともに、不必要に多くの子端末2が自端末の配下から離脱することをより防止できる。   In the present embodiment, as described above, the child terminal 2 that switches the parent terminal 1 that constructs the communication route transmits the parent terminal changeable packet to the old parent terminal 1 that constructs the current communication route. The old parent terminal 1 that has received the parent terminal changeable packet transmits a parent terminal change permission packet to the child terminal 2 if the number of remaining records of the own terminal is equal to or less than the threshold value K1. After receiving the parent terminal change permission packet from the old terminal 1, the child terminal 2 transmits an address request packet to the new parent terminal 1. Therefore, since the old parent terminal 1 transmits a parent terminal change permission packet based on the number of remaining records of the own terminal, it is possible to detect in real time that the subordinate child terminal 2 leaves the subordinate of the own terminal, and is unnecessary. In addition, it is possible to further prevent many child terminals 2 from leaving the subordinates of the own terminal.

実施形態4の場合、旧親端末1の残レコード数が増加したことは、子端末2が旧親端末1からのハローパケットを受信することによって知ることができる。しかし、旧親端末1との間に構築されている通信ルートのホップ数が多い場合、子端末2に旧親端末1の最新の残レコード数の情報が伝わるには、ある程度の時間が必要である。   In the case of the fourth embodiment, the increase in the number of remaining records of the old parent terminal 1 can be known by the child terminal 2 receiving the hello packet from the old parent terminal 1. However, when the number of hops of the communication route established with the old parent terminal 1 is large, a certain amount of time is required for the child terminal 2 to receive information about the latest number of remaining records of the old parent terminal 1. is there.

一方、本実施形態では、親端末1が、子端末2の通信ルート変更の可否を、自端末の残レコード数に応じてリアルタイムに判断している。したがって、旧親端末1の配下にある子端末2の台数が必要以上に低減することや、新親端末1の配下にある子端末2の台数が必要以上に増加することを防止でき、親端末1の配下になる子端末2の台数をより均一化できる。   On the other hand, in this embodiment, the parent terminal 1 determines in real time whether or not the communication route of the child terminal 2 can be changed according to the number of remaining records of the own terminal. Therefore, it is possible to prevent the number of child terminals 2 subordinate to the old parent terminal 1 from being unnecessarily reduced and the number of child terminals 2 subordinate to the new parent terminal 1 from being increased more than necessary. The number of child terminals 2 under 1 can be made more uniform.

なお、上記各実施形態において、親端末1と子端末2とが、電力線搬送通信の技術を用いて構築した通信ネットワークであるPLCネットワークを構成してもよく、この場合も上記同様の効果を得ることができる。   In each of the above embodiments, the parent terminal 1 and the child terminal 2 may constitute a PLC network, which is a communication network constructed using the power line carrier communication technology, and in this case, the same effect as described above is obtained. be able to.

A 通信端末
1 親端末
2 子端末
10 記憶部
101 テーブル記憶部
20 制御部
201 テーブル処理部
202 通信処理部
A communication terminal 1 parent terminal 2 child terminal 10 storage unit 101 table storage unit 20 control unit 201 table processing unit 202 communication processing unit

Claims (9)

複数の親端末の各々と複数の子端末の各々とが互いにマルチホップ通信を行い、前記子端末は1台の前記親端末との間で通信ルートを構築するマルチホップ通信方法において、第1の前記親端末との間で通信ルートを構築している前記子端末は、前記第1の親端末が前記子端末との間で構築可能な通信ルートの残数が第1の閾値以下になった場合、前記子端末との間で構築可能な通信ルートの残数が第2の閾値を上回っている第2の前記親端末との間で通信ルートを構築することを特徴とするマルチホップ通信方法。   In the multi-hop communication method in which each of the plurality of parent terminals and each of the plurality of child terminals perform multi-hop communication with each other, and the child terminal establishes a communication route with one parent terminal, In the child terminal that is establishing a communication route with the parent terminal, the remaining number of communication routes that the first parent terminal can establish with the child terminal is equal to or less than a first threshold value. A communication route is established with the second parent terminal in which the remaining number of communication routes that can be established with the child terminal exceeds a second threshold value. . 複数の親端末の各々と複数の子端末の各々とが互いにマルチホップ通信を行い、前記子端末は1台の親端末との間で通信ルートを構築するマルチホップ通信システムにおいて、
前記親端末は、前記子端末との間で構築可能な通信ルートの残数を示す残レコード数情報を含み、自端末の生存を報知するハローパケットを送信し、
前記親端末との間で通信ルートを構築している前記子端末は、自端末と通信ルートを構築している前記親端末の前記残レコード数情報を含み、自端末の生存を報知するハローパケットを送信し、
前記親端末との間で通信ルートを構築していない前記子端末は、所定時間内に複数の前記ハローパケットを受信した場合、前記ハローパケットの送信元である前記親端末、および前記ハローパケットの送信元である前記子端末が通信ルートを構築している前記親端末の各々について、前記親端末との間に存在する通信ルートの少なくとも通信品質に基づいて通信コストを算出し、この通信コストが最も低い前記親端末との間で通信ルートを構築し、
第1の前記親端末との間で通信ルートを構築している前記子端末は、前記第1の親端末、または前記第1の親端末との間で通信ルートを構築している前記子端末から受信した前記ハローパケットに基づく前記第1の親端末の前記残レコード数が第1の閾値以下になった場合、第2の前記親端末、または第2の前記親端末との間で通信ルートを構築している前記子端末から受信した前記ハローパケットに基づく前記第2の親端末の前記残レコード数が第2の閾値を上回っていれば、前記第2の親端末との間で通信ルートを構築する
ことを特徴とするマルチホップ通信システム。
Each of the plurality of parent terminals and each of the plurality of child terminals perform multi-hop communication with each other, the child terminal in a multi-hop communication system that establishes a communication route with one parent terminal,
The parent terminal includes information on the number of remaining records indicating the remaining number of communication routes that can be established with the child terminal, and transmits a hello packet to notify the existence of the own terminal,
The child terminal that establishes a communication route with the parent terminal includes the remaining record number information of the parent terminal that establishes a communication route with the own terminal, and informs the survival of the own terminal Send
When the child terminal that has not established a communication route with the parent terminal receives a plurality of the hello packets within a predetermined time, the parent terminal that is the transmission source of the hello packet, and the hello packet The communication cost is calculated based on at least the communication quality of the communication route existing between the parent terminal and the parent terminal for which the child terminal as the transmission source has established the communication route. Build a communication route with the lowest parent terminal,
The child terminal constructing a communication route with the first parent terminal is the first parent terminal or the child terminal constructing a communication route with the first parent terminal. A communication route between the second parent terminal or the second parent terminal when the number of remaining records of the first parent terminal is less than or equal to a first threshold based on the hello packet received from If the number of remaining records of the second parent terminal based on the hello packet received from the child terminal constructing the network exceeds a second threshold, a communication route with the second parent terminal A multi-hop communication system characterized by constructing.
前記第1の親端末との間で通信ルートを構築している前記子端末は、自端末が他の前記子端末と前記親端末との間で中継端末になっている場合、前記第1の親端末の前記残レコード数が前記第1の閾値以下になったとしても、前記第1の親端末との間で通信ルートを継続して構築することを特徴とする請求項2記載のマルチホップ通信システム。   The child terminal that is establishing a communication route with the first parent terminal, when the own terminal is a relay terminal between the other child terminal and the parent terminal, 3. The multi-hop according to claim 2, wherein a communication route is continuously established with the first parent terminal even if the number of remaining records of the parent terminal becomes equal to or less than the first threshold. Communications system. 前記第1の親端末との間で通信ルートを構築している前記子端末は、自端末が他の前記子端末と前記親端末との間で中継端末になっている場合、自端末を前記中継端末として用いる前記他の子端末の台数が減少するにつれて、前記第1の閾値を高くすることを特徴とする請求項2記載のマルチホップ通信システム。   The child terminal that is establishing a communication route with the first parent terminal, when the own terminal is a relay terminal between the other child terminal and the parent terminal, The multi-hop communication system according to claim 2, wherein the first threshold is increased as the number of the other child terminals used as relay terminals decreases. 前記第1の親端末との間で通信ルートを構築している前記子端末は、自端末が他の前記子端末と前記親端末との間で中継端末になっている場合、自端末を前記中継端末として用いる前記他の子端末の台数が減少するにつれて、前記第2の閾値を低くすることを特徴とする請求項2または4記載のマルチホップ通信システム。   The child terminal that is establishing a communication route with the first parent terminal, when the own terminal is a relay terminal between the other child terminal and the parent terminal, 5. The multi-hop communication system according to claim 2, wherein the second threshold value is lowered as the number of the other child terminals used as relay terminals decreases. 前記第1の親端末との間で通信ルートを構築している前記子端末は、前記第1の親端末の前記残レコード数が前記第1の閾値以下になった場合、前記第2の親端末の前記残レコード数が前記第2の閾値を上回っていれば、前記第1の親端末へ親端末変更通知パケットを送信するとともに、前記第2の親端末との間で通信ルートを構築し、
前記親端末変更通知パケットを受信した前記第1の親端末は、自端末の残レコード数をインクリメントする
ことを特徴とする請求項2記載のマルチホップ通信システム。
The child terminal constructing a communication route with the first parent terminal, when the number of remaining records of the first parent terminal is less than or equal to the first threshold value, If the remaining number of records of the terminal exceeds the second threshold, a parent terminal change notification packet is transmitted to the first parent terminal, and a communication route is established with the second parent terminal. ,
The multi-hop communication system according to claim 2, wherein the first parent terminal that has received the parent terminal change notification packet increments the number of remaining records of the own terminal.
前記第1の親端末との間で通信ルートを構築している前記子端末は、前記第1の親端末の前記残レコード数が前記第1の閾値以下になった場合、前記第2の親端末の前記残レコード数が前記第2の閾値を上回っていれば、前記第1の親端末へ親端末変更可能パケットを送信し、
前記親端末変更可能パケットを受信した前記第1の親端末は、自端末の残レコード数が前記第1の閾値以下であれば、前記親端末変更可能パケットの送信元である前記子端末へ親端末変更許可パケットを送信するとともに、自端末の残レコード数をインクリメントし、
前記親端末変更許可パケットを受信した前記子端末は、前記第2の親端末との間で通信ルートを構築する
ことを特徴とする請求項2記載のマルチホップ通信システム。
The child terminal constructing a communication route with the first parent terminal, when the number of remaining records of the first parent terminal is less than or equal to the first threshold value, If the number of remaining records of the terminal exceeds the second threshold, a parent terminal changeable packet is transmitted to the first parent terminal,
The first parent terminal that has received the parent terminal changeable packet transmits a parent to the child terminal that is the transmission source of the parent terminal changeable packet if the number of remaining records of the terminal is equal to or less than the first threshold. While sending a terminal change permission packet, increment the number of remaining records of its own terminal,
The multi-hop communication system according to claim 2, wherein the child terminal that has received the parent terminal change permission packet establishes a communication route with the second parent terminal.
親端末と子端末とが互いに通信ルートを構築してマルチホップ通信を行い、第1の前記親端末との間で通信ルートを構築している前記子端末は、前記第1の親端末が前記子端末との間で構築可能な通信ルートの残数が第1の閾値以下になった場合、前記子端末との間で構築可能な通信ルートの残数が第2の閾値を上回っている第2の前記親端末との間で通信ルートを構築するマルチホップ通信システムの前記親端末に用いられる通信端末であって、
前記子端末との間で構築可能な通信ルートの残数を示す残レコード数情報を含み、自端末の生存を報知するハローパケットを送信する
ことを特徴とする通信端末。
The child terminal in which a parent terminal and a child terminal establish a communication route with each other to perform multi-hop communication, and a communication route is established with the first parent terminal. When the remaining number of communication routes that can be established with the child terminal is less than or equal to the first threshold value, the remaining number of communication routes that can be established with the child terminal is greater than the second threshold value. A communication terminal used for the parent terminal of a multi-hop communication system that establishes a communication route with two of the parent terminals,
A communication terminal including a remaining record number information indicating a remaining number of communication routes that can be established with the child terminal, and transmitting a hello packet that notifies the existence of the terminal itself.
親端末との間で通信ルートを構築してマルチホップ通信を行う子端末に用いられる通信端末であって、
第1の前記親端末との間で通信ルートを構築している場合、前記第1の親端末が前記子端末との間で構築可能な通信ルートの残数が第1の閾値以下になれば、前記子端末との間で構築可能な通信ルートの残数が第2の閾値を上回っている第2の前記親端末との間で通信ルートを構築する
ことを特徴とする通信端末。
A communication terminal used for a child terminal that performs multi-hop communication by establishing a communication route with a parent terminal,
When a communication route is established with the first parent terminal, the remaining number of communication routes that the first parent terminal can establish with the child terminal is equal to or less than a first threshold. A communication terminal is configured to establish a communication route with the second parent terminal in which the remaining number of communication routes that can be established with the child terminal exceeds a second threshold value.
JP2011185079A 2010-08-26 2011-08-26 Multi-hop communication method, multi-hop communication system, and communication terminal Expired - Fee Related JP5870286B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011185079A JP5870286B2 (en) 2010-08-26 2011-08-26 Multi-hop communication method, multi-hop communication system, and communication terminal

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2010190009 2010-08-26
JP2010190009 2010-08-26
JP2011185079A JP5870286B2 (en) 2010-08-26 2011-08-26 Multi-hop communication method, multi-hop communication system, and communication terminal

Publications (2)

Publication Number Publication Date
JP2012070368A true JP2012070368A (en) 2012-04-05
JP5870286B2 JP5870286B2 (en) 2016-02-24

Family

ID=46167044

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011185079A Expired - Fee Related JP5870286B2 (en) 2010-08-26 2011-08-26 Multi-hop communication method, multi-hop communication system, and communication terminal

Country Status (1)

Country Link
JP (1) JP5870286B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012253686A (en) * 2011-06-06 2012-12-20 Panasonic Corp Method and system for multi-hop communication
WO2015022845A1 (en) * 2013-08-12 2015-02-19 住友電気工業株式会社 Communication apparatus, communication system, communication control method, and communication control program
WO2019230521A1 (en) * 2018-06-01 2019-12-05 パナソニックIpマネジメント株式会社 Communication terminal, communication system, and program

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008244679A (en) * 2007-03-27 2008-10-09 Matsushita Electric Works Ltd Communication route construction method and communication terminal
JP2009033345A (en) * 2007-07-25 2009-02-12 Nippon Telegr & Teleph Corp <Ntt> Multi-hop network system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008244679A (en) * 2007-03-27 2008-10-09 Matsushita Electric Works Ltd Communication route construction method and communication terminal
JP2009033345A (en) * 2007-07-25 2009-02-12 Nippon Telegr & Teleph Corp <Ntt> Multi-hop network system

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012253686A (en) * 2011-06-06 2012-12-20 Panasonic Corp Method and system for multi-hop communication
WO2015022845A1 (en) * 2013-08-12 2015-02-19 住友電気工業株式会社 Communication apparatus, communication system, communication control method, and communication control program
JP2015037208A (en) * 2013-08-12 2015-02-23 住友電気工業株式会社 Communication device, communication system, communication control method, and communication control program
US10075366B2 (en) 2013-08-12 2018-09-11 Sumitomo Electric Industries, Ltd. Communication device, communication system, communication control method, and communication control program
WO2019230521A1 (en) * 2018-06-01 2019-12-05 パナソニックIpマネジメント株式会社 Communication terminal, communication system, and program
JP2019213008A (en) * 2018-06-01 2019-12-12 パナソニックIpマネジメント株式会社 Communication terminal, communication system, and program
JP7117549B2 (en) 2018-06-01 2022-08-15 パナソニックIpマネジメント株式会社 Communication terminal, communication system, and program

Also Published As

Publication number Publication date
JP5870286B2 (en) 2016-02-24

Similar Documents

Publication Publication Date Title
WO2013031314A1 (en) Wireless sensor network system
JP4765973B2 (en) Communication route construction method and communication terminal
KR101292861B1 (en) Registration of a new node to a meter reading wireless mesh network and associated system
KR101422966B1 (en) Network address field for nodes within a meter reading wireless mesh network and associated system
JP6197468B2 (en) COMMUNICATION DEVICE, COMMUNICATION SYSTEM, COMMUNICATION CONTROL METHOD, AND COMMUNICATION CONTROL PROGRAM
JP2008301268A (en) Method of searching communication route and communication terminal using the same
JP2013187615A (en) Ad hoc network system and method for collecting meter reading information
JP2013503588A (en) Address stripping and related systems in meter reading wireless mesh networks
CN105873169A (en) Wireless ad-hoc network communication method
WO2014125816A1 (en) Power line carrier communication terminal and meter reading terminal
JP5853227B2 (en) Multi-hop communication method, multi-hop communication system, and communication terminal
JP2014155133A (en) Network system and communication method therefor
JP5870285B2 (en) Multi-hop communication method, multi-hop communication system, and communication terminal
JP5870286B2 (en) Multi-hop communication method, multi-hop communication system, and communication terminal
JP6015072B2 (en) Communication system, communication apparatus, route switching method, and route switching program
JP5903616B2 (en) Multi-hop communication method, multi-hop communication system, and communication terminal
JP5796214B2 (en) Multi-hop communication method and multi-hop communication system
US20170208528A1 (en) Routing protocol for advanced metering infrastructure system
JP2007243932A (en) Wireless data communication system
JP2018182603A (en) Wireless communication system
JP5945771B2 (en) Communication system and communication terminal
JP5854450B2 (en) Wireless communication system, wireless communication apparatus, wireless communication method, and program
WO2012028918A1 (en) Multi-hop communication system
JP2017121027A (en) Communication system, communication unit and communication method
JP2017130752A (en) Slave machine and communication system

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20120118

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140514

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A711

Effective date: 20141008

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150116

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150331

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150601

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20150804

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150828

R151 Written notification of patent or utility model registration

Ref document number: 5870286

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

LAPS Cancellation because of no payment of annual fees