JP2012070367A - 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
JP2012070367A
JP2012070367A JP2011185078A JP2011185078A JP2012070367A JP 2012070367 A JP2012070367 A JP 2012070367A JP 2011185078 A JP2011185078 A JP 2011185078A JP 2011185078 A JP2011185078 A JP 2011185078A JP 2012070367 A JP2012070367 A JP 2012070367A
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
JP2011185078A
Other languages
Japanese (ja)
Other versions
JP5870285B2 (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 JP2011185078A priority Critical patent/JP5870285B2/en
Publication of JP2012070367A publication Critical patent/JP2012070367A/en
Application granted granted Critical
Publication of JP5870285B2 publication Critical patent/JP5870285B2/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 determines a master terminal 1 with which the slave terminal 2 constructs a communication route based on the remaining number of communication routes which each of the master terminals 1 can construct with a slave terminal 2, the number of hops of each communication route existing between the own terminal and each of the master terminals 1, and communication quality of each communication route existing between the own terminal and each of the master terminals 1.

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 existing in the vicinity. In such a communication network, It has been proposed to use the multi-hop communication for communication between the mobile terminal and the 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.

しかしながら、通信ルートの通信品質およびホップ数に基づいて通信ルートを構築する従来の通信ネットワークでは、特定の親端末の配下に子端末が集中する状態が発生する虞がある。配下に子端末が集中した特定の親端末の残レコード数が0になると、その特定の親端末の近傍に新規参入した子端末は、遠くの親端末との間で通信ルートを構築する必要がある。しかし、遠くの親端末との間で構築される通信ルートは、通信品質の悪化、ホップ数の増大によって使用不可となる場合があり、いずれの親端末とも通信不可となって孤立する子端末が発生する虞がある。   However, in a conventional communication network that establishes a communication route based on the communication quality and the number of hops of the communication route, there is a possibility that a state in which child terminals are concentrated under a specific parent terminal may occur. When the number of remaining records of a specific parent terminal in which child terminals are concentrated becomes 0, a child terminal that newly enters the vicinity of the specific parent terminal needs to establish a communication route with a distant parent terminal is there. However, a communication route established with a distant parent terminal may be disabled due to deterioration in communication quality and an increase in the number of hops. May occur.

このように、通信ルートの通信品質およびホップ数に基づいて通信ルートを構築する従来の通信ネットワークでは、親端末との間で通信不可となる子端末が発生するという課題があった。   As described above, the conventional communication network that constructs the communication route based on the communication quality and the number of hops of the communication route has a problem that a child terminal that cannot communicate with the parent terminal occurs.

本発明は、上記事由に鑑みてなされたものであり、その目的は、特定の親端末の配下に子端末が集中することなく、親端末との間で通信不可となる子端末の発生を抑制できるマルチホップ通信方法、マルチホップ通信システム、および通信端末を提供することにある。   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台の前記親端末との間で通信ルートを構築するマルチホップ通信方法において、前記子端末は、前記親端末の各々が前記子端末との間で構築可能な通信ルートの残数と、自端末と前記親端末の各々との間に存在する各通信ルートのホップ数と、自端末と前記親端末の各々との間に存在する各通信ルートの通信品質とに基づいて、通信ルートを構築する前記親端末を決定することを特徴とする。   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 is configured so that each of the parent terminals can communicate with the remaining number of communication routes that can be established with the child terminal, and each communication existing between the own terminal and the parent terminal. The parent terminal for constructing a communication route is determined based on the number of hops of the route and the communication quality of each communication route existing between the own terminal and each of the parent terminals.

本発明のマルチホップ通信システムは、複数の親端末の各々と複数の子端末の各々とが互いにマルチホップ通信を行い、前記子端末は1台の親端末との間で通信ルートを構築するマルチホップ通信システムにおいて、前記親端末は、前記子端末との間で構築可能な通信ルートの残数を示す残レコード数情報を含み、自端末の生存を報知するハローパケットを送信し、前記親端末との間で通信ルートを構築している前記子端末は、自端末と通信ルートを構築している前記親端末の前記残レコード数情報を含み、自端末の生存を報知するハローパケットを送信し、前記親端末との間で通信ルートを構築していない前記子端末は、所定時間内に複数の前記ハローパケットを受信した場合、前記ハローパケットの送信元である前記親端末、および前記ハローパケットの送信元である前記子端末が通信ルートを構築している前記親端末の各々について、前記親端末の残レコード数と、前記親端末との間に存在する通信ルートのホップ数と、前記親端末との間に存在する通信ルートの通信品質とに基づいて通信コストを算出し、この通信コストが最も低い前記親端末との間で通信ルートを構築することを特徴とする。   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 The number of remaining records of the parent terminal, the number of hops of the communication route existing between the parent terminal, and the number of remaining records of the parent terminal for each of the parent terminals that the child terminal that is the source of the raw packet constructs a communication route, A communication cost is calculated based on communication quality of a communication route existing with the parent terminal, and a communication route is established with the parent terminal having the lowest communication cost.

この発明において、前記親端末との間で通信ルートを構築していない前記子端末は、所定時間内に複数の前記ハローパケットを受信した場合、前記ハローパケットの送信元である前記親端末、および前記ハローパケットの送信元である前記子端末が通信ルートを構築している前記親端末の各々のうち、自端末との間に存在する通信ルートのホップ数が所定の閾値以下である前記親端末を選択し、この選択した前記親端末について、前記親端末の残レコード数と、前記親端末との間に存在する通信ルートの通信品質とに基づいて通信コストを算出し、この通信コストが最も低い前記親端末との間で通信ルートを構築し、前記ホップ数の所定の閾値は、前記親端末毎に、この親端末の残レコード数が多いほど高く設定されることが好ましい。   In the present invention, 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 a transmission source of the hello packet; and Of the parent terminals that the child terminal that is the transmission source of the hello packet constructs a communication route, the number of hops of the communication route existing with the own terminal is less than or equal to a predetermined threshold value For the selected parent terminal, a communication cost is calculated based on the number of remaining records of the parent terminal and the communication quality of the communication route existing between the parent terminal. It is preferable that a communication route is established with the lower parent terminal, and the predetermined threshold value for the number of hops is set higher for each parent terminal as the number of remaining records of the parent terminal increases.

この発明において、前記親端末との間で通信ルートを構築していない前記子端末は、所定時間内に複数の前記ハローパケットを受信した場合、前記ハローパケットの送信元である前記親端末、および前記ハローパケットの送信元である前記子端末が通信ルートを構築している前記親端末の各々のうち、自端末との間に存在する通信ルートの通信品質の品質レベルが所定の閾値以上である前記親端末を選択し、この選択した前記親端末について、前記親端末の残レコード数と、前記親端末との間に存在する通信ルートのホップ数とに基づいて通信コストを算出し、この通信コストが最も低い前記親端末との間で通信ルートを構築し、前記通信品質の品質レベルの所定の閾値は、前記親端末毎に、この親端末の残レコード数が多いほど低く設定されることが好ましい。   In the present invention, 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 a transmission source of the hello packet; and The quality level of the communication quality of the communication route that exists between each of the parent terminals with which the child terminal that is the transmission source of the hello packet constructs a communication route is equal to or higher than a predetermined threshold value The parent terminal is selected, and the communication cost is calculated for the selected parent terminal based on the number of remaining records of the parent terminal and the number of hops of the communication route existing between the parent terminal and the communication A communication route is established with the parent terminal having the lowest cost, and the predetermined threshold of the quality level of the communication quality is set lower for each parent terminal as the number of remaining records of the parent terminal increases. Rukoto is preferable.

この発明において、前記親端末との間で通信ルートを構築していない前記子端末は、所定時間内に複数の前記ハローパケットを受信した場合、前記ハローパケットの送信元である前記親端末、および前記ハローパケットの送信元である前記子端末が通信ルートを構築している前記親端末の各々について、前記親端末の残レコード数と、前記親端末との間に存在する通信ルートのホップ数と、前記親端末との間に存在する通信ルートの通信品質との各々に重み付けを施して通信コストを算出し、前記残レコード数に施される重み付けは、前記ホップ数が多くなるにつれて、前記通信コストが高くなる方向に変動することが好ましい。   In the present invention, 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 a transmission source of the hello packet; and The number of remaining records of the parent terminal and the number of hops of the communication route existing between the parent terminal and each of the parent terminals that the child terminal that is the transmission source of the hello packet constructs a communication route, The communication cost of each communication route existing with the parent terminal is weighted to calculate the communication cost, and the weight applied to the number of remaining records is increased as the number of hops increases. It is preferable that the cost fluctuates in a higher direction.

この発明において、前記親端末は、前記子端末との間で構築可能な通信ルートの数が、前記ホップ数の範囲毎に設定されており、前記残レコード数情報は、前記ホップ数の範囲毎に前記子端末との間で構築可能な通信ルートの残数を示し、前記親端末との間で通信ルートを構築していない前記子端末は、所定時間内に複数の前記ハローパケットを受信した場合、前記ハローパケットの送信元である前記親端末、および前記ハローパケットの送信元である前記子端末が通信ルートを構築している前記親端末の各々について、前記親端末との間に存在する通信ルートのホップ数と、このホップ数が含まれる前記ホップ数の範囲に対応する前記親端末の残レコード数と、前記親端末との間に存在する通信ルートの通信品質とに基づいて通信コストを算出し、この通信コストが最も低い前記親端末との間で通信ルートを構築することが好ましい。   In this invention, the number of communication routes that can be established between the parent terminal and the child terminal is set for each range of the hop number, and the remaining record number information is set for each range of the hop number. Indicates the remaining number of communication routes that can be established with the child terminal, and the child terminal that has not established a communication route with the parent terminal has received a plurality of the hello packets within a predetermined time. In this case, the parent terminal that is the transmission source of the hello packet and the parent terminal that is the transmission source of the hello packet exist between the parent terminal and each of the parent terminals that establish a communication route. The communication cost based on the number of hops of the communication route, the number of remaining records of the parent terminal corresponding to the range of the hop number including the hop number, and the communication quality of the communication route existing between the parent terminal The Out, it is preferable to construct a communication route between the lowest the parent terminal the communication cost.

この発明において、前記親端末は、前記ホップ数の範囲毎に構築可能な通信ルートの数を、前記ホップ数の範囲毎に既に構築されている通信ルートの数に応じて変動させることが好ましい。   In the present invention, it is preferable that the parent terminal varies the number of communication routes that can be constructed for each range of the hop count according to the number of communication routes that are already constructed for each range of the hop count.

本発明の通信端末は、親端末と子端末とが互いに通信ルートを構築してマルチホップ通信を行い、前記子端末は、前記親端末が構築可能な通信ルートの残数に基づいて、通信ルートを構築する前記親端末を決定するマルチホップ通信システムの前記親端末に用いられる通信端末であって、前記子端末との間で構築可能な通信ルートの残数を示す残レコード数情報を含み、自端末の生存を報知するハローパケットを送信することを特徴とする。   The communication terminal of the present invention performs multi-hop communication by establishing a communication route between the parent terminal and the child terminal, and the child terminal determines the communication route based on the remaining number of communication routes that can be established by the parent terminal. A communication terminal used for the parent terminal of the multi-hop communication system for determining the parent terminal for constructing the information, including remaining record number information indicating the remaining number of communication routes that can be constructed with the child terminal, A hello packet for notifying the existence of the terminal itself is transmitted.

本発明の通信端末は、親端末との間で通信ルートを構築してマルチホップ通信を行う子端末に用いられる通信端末であって、前記親端末の各々が前記子端末との間で構築可能な通信ルートの残数と、自端末と前記親端末の各々との間に存在する各通信ルートのホップ数と、自端末と前記親端末の各々との間に存在する各通信ルートの通信品質とに基づいて、通信ルートを構築する前記親端末を決定することを特徴とする。   The communication terminal of the present invention is a communication terminal used for a child terminal that establishes a communication route with a parent terminal and performs multi-hop communication, and each of the parent terminals can be established with the child terminal. Remaining number of communication routes, the number of hops of each communication route existing between the own terminal and each of the parent terminals, and the communication quality of each communication route existing between the own terminal and each of the parent terminals And determining the parent terminal for constructing a communication route.

以上説明したように、本発明では、特定の親端末の配下に子端末が集中することなく、親端末との間で通信不可となる子端末の発生を抑制できるという効果がある。   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 the number table of remaining records 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. 実施形態5の残レコード数テーブルの構成を示すテーブル図である。It is a table figure which shows the structure of the remaining record number table of Embodiment 5. 同上の登録可能なレコード数の再設定を示す図である。It is a figure which shows resetting of the record number which can be registered same as the above.

以下、本発明の実施の形態を図面に基づいて説明する。   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との間で通信を行っている。   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.

図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 remaining record number 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の残レコード数に関する情報を、テーブル形式で記憶している。具体的に、残レコードテーブルTB3は、端末ID、残レコード数の各フィールドが設けられている。   Next, the remaining record number table TB3 (see FIG. 5) held by the child terminal 2 stores information on the remaining record number of the parent terminal 1 in a table format. Specifically, the remaining record table TB3 is provided with fields of terminal ID and number of remaining records.

子端末2が保持する残レコード数テーブルTB3において、端末IDは、親端末1に割り付けられた端末IDである。残レコード数は、端末IDフィールドに登録された親端末1の残レコード数を示す。   In the remaining record number 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.

次に、無線通信インタフェース部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 remaining record number 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 remaining record number 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間の通信ルートの通信コストは、通信ルートのルート通信品質(リンク通信品質の和)と、通信ルートのホップ数と、親端末1の残レコード数とに基づいて算出される。   In the child terminal 2, the communication cost of the communication route between the child terminal 2 and the parent terminal 1 includes the route communication quality of the communication route (the sum of the link communication quality), the number of hops of the communication route, and the number of remaining records of the parent terminal 1. Based on the above.

通信コストの算出式は、
通信コスト=Ka×[Hパケットの通信ルート部に含まれるルート通信品質+通信可能端末管理テーブルTB1のリンク通信品質]+Kb×[Hパケットの通信ルート部に含まれる通信ルート情報に基づくホップ数+1]+Kc×[1/残レコード数テーブルTB3の残レコード数]
で表される。なお、Kaは、通信ルートのルート通信品質(リンク通信品質の和)の重み係数である。Kbは、通信ルートのホップ数の重み係数である。Kcは、親端末1の残レコード数の重み係数である。
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 ] + Kc × [1 / number of remaining records in the number of remaining records table TB3]
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. Kc is a weighting coefficient of the number of remaining records of the parent terminal 1.

ここで、ルート通信品質には通信品質値SQが用いられるため、ルート通信品質はその値が小さいほどよく、ホップ数もその値が小さいほどよく、残レコード数はその値が大きいほどよい。そこで、各要素(ルート通信品質、ホップ数、残レコード数)の大小と通信コストの高低との関係より、重み係数Kcは、残レコード数の逆数に乗じられている。   Here, since the communication quality value SQ is used for the route communication quality, the smaller the value of the route communication quality, the smaller the value of the hop number, and the larger the value of the remaining record number. Therefore, the weighting factor Kc is multiplied by the reciprocal of the number of remaining records based on the relationship between the size of each element (route communication quality, the number of hops, the number of remaining records) and the communication cost.

上記のように算出された通信コストは、親端末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]+Kc×[1/残レコード数テーブルTB3の残レコード数]
で表される。
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] + Kc × [1 / number of remaining records in remaining record number table TB3]
It is represented by

そして、子端末2−1の通信処理部202は、Hパケットの送信元である親端末1−1,1−2について、上記通信コストを算出する。そして、親端末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 calculates the communication cost for the parent terminals 1-1 and 1-2 that are H packet transmission sources. Then, an address request packet for requesting allocation of the terminal ID is transmitted to the lower one of the communication costs among 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(すなわち、通信ルートの通信品質レベルが最も高い親端末1)との間で通信ルートを構築する。   As described above, when the child terminal 2 receives H packets from a plurality of parent terminals 1, each parent terminal 2 is based on the route communication quality of the communication route, the number of hops of the communication route, and the number of remaining records of the parent terminal 1. The communication cost with the terminal 1 is calculated. 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.

そして、本実施形態では、通信ルートのルート通信品質、通信ルートのホップ数だけでなく、親端末1の残レコード数も考慮して、通信コストを算出している。すなわち、親端末1の残レコード数が少なければ、通信コストが増大し、親端末1の残レコード数が多ければ、通信コストが低減する。したがって、特定の親端末1の配下に子端末2が集中することなく、親端末1との間で通信不可となる子端末2の発生を抑制できる。   In this embodiment, the communication cost is calculated considering not only the route communication quality of the communication route and the number of hops of the communication route, but also the number of remaining records of the parent terminal 1. That is, if the number of remaining records of the parent terminal 1 is small, the communication cost increases, and if the number of remaining records of the parent terminal 1 is large, the communication cost is reduced. 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.

子端末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. Then, 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 remaining record number 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 in the remaining record number table TB3 of the table storage unit 101 corresponding to the terminal ID of the parent terminal 1-2. 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間の通信ルートの通信コストは、通信ルートのルート通信品質(リンク通信品質の和)と、通信ルートのホップ数と、親端末1の残レコード数とに基づいて算出される。   In the child terminal 2, the communication cost of the communication route between the child terminal 2 and the parent terminal 1 includes the route communication quality of the communication route (the sum of the link communication quality), the number of hops of the communication route, and the number of remaining records of the parent terminal 1. Based on the above.

通信コストの算出式は、
通信コスト=Ka×[Hパケットの通信ルート部に含まれるルート通信品質+通信可能端末管理テーブルTB1のリンク通信品質]+Kb×[Hパケットの通信ルート部に含まれる通信ルート情報に基づくホップ数+1]+Kc×[1/残レコード数テーブルTB3の残レコード数]
で表される。なお、Kaは、通信ルートのルート通信品質(リンク通信品質の和)の重み係数である。Kbは、通信ルートのホップ数の重み係数である。Kcは、親端末1の残レコード数の重み係数である。
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 ] + Kc × [1 / number of remaining records in the number of remaining records table TB3]
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. Kc is a weighting coefficient of the number of remaining records of the parent terminal 1.

上記のように算出された通信コストは、親端末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までの各通信ルート)について、上記通信コストを算出する。そして、親端末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, 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, 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パケットを受信した場合、通信ルートのルート通信品質と、通信ルートのホップ数と、親端末1の残レコード数とに基づいて、各端末装置Aを介して親端末1に至る通信ルートの通信コストを算出する。そして、複数の端末装置Aのうち、通信コストが最も低い通信ルートを形成する端末装置Aを介して、親端末1との間で通信ルートを構築する。   Thus, when the child terminal 2 receives H packets from a plurality of terminal devices A, each terminal is based on the route communication quality of the communication route, the number of hops of the communication route, and the number of remaining records of the parent terminal 1. The communication cost of the communication route that reaches the parent terminal 1 via the device A 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.

そして、本実施形態では、通信ルートのルート通信品質、通信ルートのホップ数だけでなく、親端末1の残レコード数も考慮して、通信コストを算出している。すなわち、親端末1の残レコード数が少なければ、通信コストが増大し、親端末1の残レコード数が多ければ、通信コストが低減する。したがって、特定の親端末1の配下に子端末2が集中することなく、親端末1との間で通信不可となる子端末2の発生を抑制できる。   In this embodiment, the communication cost is calculated considering not only the route communication quality of the communication route and the number of hops of the communication route, but also the number of remaining records of the parent terminal 1. That is, if the number of remaining records of the parent terminal 1 is small, the communication cost increases, and if the number of remaining records of the parent terminal 1 is large, the communication cost is reduced. 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.

子端末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のいずれにおいても、通信ルートのルート通信品質、通信ルートのホップ数だけでなく、親端末1の残レコード数も考慮して、通信ルートを構築している。したがって、特定の親端末1の配下に子端末2が集中することなく、親端末1との間で通信不可となる子端末2の発生を抑制できる。   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 in consideration of not only the number but also the number of remaining records of the parent terminal 1. 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−子端末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と同様であり、同様の構成には同一の符号を付して説明は省略する。
(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.

本実施形態において、端末IDが割り付けられていない子端末2が複数の通信端末AからHパケットを直接受信した場合、子端末2は、端末IDの割り付けを要求する親端末1を決定するために、以下の処理を行う。   In this embodiment, when the child terminal 2 to which no terminal ID is assigned directly receives H packets from the plurality of communication terminals A, the child terminal 2 determines the parent terminal 1 that requests the assignment of the terminal ID. The following processing is performed.

まず、本実施形態では、複数の通信端末AからHパケットを受信した子端末2の通信処理部202は、Hパケットの送信元である各通信端末Aを用いた通信ルートのホップ数が所定の閾値R1以下であるか否かを判定する。この通信ルートのホップ数は、[Hパケットの通信ルート部に含まれる通信ルート情報に基づくホップ数+1]で求められる。   First, in the present embodiment, the communication processing unit 202 of the child terminal 2 that has received H packets from a plurality of communication terminals A has a predetermined number of hops of a communication route using each communication terminal A that is the transmission source of the H packets. It is determined whether or not it is equal to or less than a threshold value R1. The number of hops of this communication route is obtained by [number of hops based on communication route information included in communication route portion of H packet + 1].

そして、Hパケットの送信元である複数の通信端末Aのうち、上記のように求めた通信ルートのホップ数が所定の閾値R1以下である通信端末Aについてのみ、通信端末Aのそれぞれを介した各通信ルートの通信コストを算出する。   Then, among the plurality of communication terminals A that are the transmission source of the H packet, only the communication terminal A in which the number of hops of the communication route obtained as described above is equal to or less than the predetermined threshold R1 is passed through each of the communication terminals A. The communication cost of each communication route is calculated.

さらに、上記閾値R1は、通信ルートを構成する親端末1の残レコード数に応じて、通信ルート毎に変動する。具体的には、上記通信ルートを構成する親端末1の残レコード数が多いほど、各通信ルートにおける上記閾値R1は高く設定される。例えば、定数a,bとすると、R1=a×残レコード数+bで表される。   Further, the threshold value R1 varies for each communication route in accordance with the number of remaining records of the parent terminal 1 constituting the communication route. Specifically, the threshold R1 in each communication route is set higher as the number of remaining records of the parent terminal 1 constituting the communication route increases. For example, if constants a and b are used, R1 = a × number of remaining records + b.

例えば、複数の子端末2−1,2−3からHパケットを直接受信した子端末2−2では、通信処理部202が、子端末2−1,2−3のそれぞれを介した各通信ルートにおける上記閾値R1を算出する。ここで、子端末2−1が通信ルートを構築している親端末1の残レコード数が、子端末2−3が通信ルートを構築している親端末1の残レコード数より多いとする。この場合、子端末2−1を介した各通信ルートにおける上記閾値R1は、子端末2−3を介した各通信ルートにおける上記閾値R1より高く設定される。   For example, 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 threshold value R1 is calculated. Here, it is assumed that the number of remaining records of the parent terminal 1 with which the child terminal 2-1 constructs a communication route is larger than the number of remaining records of the parent terminal 1 with which the child terminal 2-3 constructs a communication route. In this case, the threshold value R1 in each communication route via the child terminal 2-1 is set higher than the threshold value R1 in each communication route via the child terminal 2-3.

一般に、子端末2の分布密度が高いエリアでは、親端末1の近傍に設置された子端末2がこの親端末1の配下になりやすく、この親端末1の残レコード数が少なくなり、上記閾値R1は低くなる。すなわち、この親端末1から遠い子端末2は、結果的に、この親端末1の配下になり難くなる(この親端末1から遠い子端末2は、他の近くの親端末1の配下になる)。一方、子端末2の分布密度が低いエリアでは、親端末1の近傍に設置された子端末2だけでは、残レコード数に余裕があるため、上記閾値R1は高くなる。すなわち、この親端末1から遠い子端末2は、結果的に、この親端末1の配下になり易くなる。   In general, in an area where the distribution density of the child terminals 2 is high, the child terminal 2 installed in the vicinity of the parent terminal 1 is likely to be under the parent terminal 1, and the number of remaining records of the parent terminal 1 is reduced. R1 is lowered. That is, as a result, the child terminal 2 far from the parent terminal 1 is less likely to be subordinate to the parent terminal 1 (the child terminal 2 far from the parent terminal 1 is subordinate to the other nearby parent terminal 1. ). On the other hand, in the area where the distribution density of the child terminals 2 is low, only the child terminal 2 installed in the vicinity of the parent terminal 1 has a surplus in the number of remaining records, so the threshold value R1 becomes high. That is, the child terminal 2 far from the parent terminal 1 tends to be under the control of the parent terminal 1 as a result.

したがって、子端末2の分布密度に関わらず、各親端末1の配下になる子端末2の台数を均一にすることができる。また、子端末2の分布密度が低いエリアでは、親端末1の台数を低減させることが可能となる。   Therefore, the number of child terminals 2 subordinate to each parent terminal 1 can be made uniform regardless of the distribution density of the child terminals 2. Further, in an area where the distribution density of the child terminals 2 is low, the number of parent terminals 1 can be reduced.

また、通信コストの算出式は、
通信コスト=Ka×[Hパケットの通信ルート部に含まれるルート通信品質+通信可能端末管理テーブルTB1のリンク通信品質]+Kc×[1/残レコード数テーブルTB3の残レコード数]
で表される。なお、Kaは、通信ルートのルート通信品質(リンク通信品質の和)の重み係数である。Kcは、親端末1の残レコード数の重み係数である。
The communication cost calculation formula is
Communication cost = Ka × [Route communication quality included in communication route part of H packet + Link communication quality of communicable terminal management table TB1] + Kc × [1 / number of remaining records in remaining record number table TB3]
It is represented by Ka is a weighting factor of route communication quality (sum of link communication quality) of the communication route. Kc is a weighting coefficient of the number of remaining records of the parent terminal 1.

上記のように算出された通信コストは、親端末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.

そして、Hパケットを受信した子端末2の通信処理部202は、通信コストが最も低い通信端末Aを介して(または通信コストが最も低い通信端末Aに対して)、端末IDの割り付けを要求するアドレス要求パケットを送信する。   Then, the communication processing unit 202 of the child terminal 2 that has received the H packet requests assignment of the terminal ID via the communication terminal A having the lowest communication cost (or to the communication terminal A having the lowest communication cost). Send an address request packet.

このように、子端末2が複数の端末装置AからHパケットを受信した場合、通信ルートのルート通信品質と、通信ルートのホップ数と、親端末1の残レコード数とに基づいて、各端末装置Aを介して親端末1に至る通信ルートの通信コストを算出する。そして、複数の端末装置Aのうち、通信コストが最も低い通信ルートを形成する端末装置Aを介して、親端末1との間で通信ルートを構築する。   Thus, when the child terminal 2 receives H packets from a plurality of terminal devices A, each terminal is based on the route communication quality of the communication route, the number of hops of the communication route, and the number of remaining records of the parent terminal 1. The communication cost of the communication route that reaches the parent terminal 1 via the device A 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.

(実施形態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.

本実施形態において、端末IDが割り付けられていない子端末2が複数の通信端末AからHパケットを直接受信した場合、子端末2は、端末IDの割り付けを要求する親端末1を決定するために、以下の処理を行う。   In this embodiment, when the child terminal 2 to which no terminal ID is assigned directly receives H packets from the plurality of communication terminals A, the child terminal 2 determines the parent terminal 1 that requests the assignment of the terminal ID. The following processing is performed.

まず、本実施形態では、複数の通信端末AからHパケットを受信した子端末2の通信処理部202は、Hパケットの送信元である各通信端末Aを用いた通信ルートのルート通信品質(リンク通信品質の和)が、所定の閾値R2以下であるか否かを判定する。ここで、ルート品質には、通信品質値SQが用いられており、通信品質値SQは、その整数値が小さいほど、通信パケットの減衰が小さく、通信状態がよい。すなわち、ルート通信品質が、所定の閾値R2以下であるか否かを判定することは、通信ルートの通信品質の品質レベルが所定の閾値R3以上であるか否かを判定することに相当する。   First, in this embodiment, the communication processing unit 202 of the child terminal 2 that has received H packets from a plurality of communication terminals A performs route communication quality (link) of a communication route using each communication terminal A that is the transmission source of the H packets. It is determined whether or not (sum of communication qualities) is equal to or less than a predetermined threshold value R2. Here, the communication quality value SQ is used for the route quality. The smaller the integer value of the communication quality value SQ, the smaller the attenuation of the communication packet and the better the communication state. That is, determining whether the route communication quality is equal to or lower than the predetermined threshold value R2 corresponds to determining whether the quality level of the communication quality of the communication route is equal to or higher than the predetermined threshold value R3.

この通信ルートのルート通信品質は、[Hパケットの通信ルート部に含まれるルート通信品質+通信可能端末管理テーブルTB1のリンク通信品質]で求められる。   The route communication quality of this communication route is obtained by [route communication quality included in communication route portion of H packet + link communication quality of communicable terminal management table TB1].

そして、Hパケットの送信元である複数の通信端末Aのうち、上記のように求めたルート通信品質が所定の閾値R2以下である(すなわち、通信ルートの通信品質の品質レベルが所定の閾値R3以上である)通信端末Aについてのみ、通信端末Aのそれぞれを介した各通信ルートの通信コストを算出する。   Then, among the plurality of communication terminals A that are the transmission source of the H packet, the route communication quality obtained as described above is equal to or lower than the predetermined threshold R2 (that is, the communication route quality level is the predetermined threshold R3). The communication cost of each communication route via each of the communication terminals A is calculated only for the communication terminal A).

さらに、上記閾値R2は、通信ルートを構成する親端末1の残レコード数に応じて、通信ルート毎に変動する。具体的には、上記通信ルートを構成する親端末1の残レコード数が多いほど、各通信ルートにおける上記閾値R2は高く設定される(すなわち、上記通信ルートを構成する親端末1の残レコード数が多いほど、各通信ルートにおける上記閾値R3は低く設定される)。例えば、定数a,bとすると、R2=a×残レコード数+bで表される。   Further, the threshold value R2 varies for each communication route according to the number of remaining records of the parent terminal 1 constituting the communication route. Specifically, as the number of remaining records of the parent terminal 1 constituting the communication route increases, the threshold R2 in each communication route is set higher (that is, the number of remaining records of the parent terminal 1 constituting the communication route). The more the number is, the lower the threshold value R3 in each communication route is set). For example, assuming constants a and b, R2 = a × number of remaining records + b.

例えば、複数の子端末2−1,2−3からHパケットを直接受信した子端末2−2では、通信処理部202が、子端末2−1,2−3のそれぞれを介した各通信ルートにおける上記閾値R2を算出する。ここで、子端末2−1が通信ルートを構築している親端末1の残レコード数が、子端末2−3が通信ルートを構築している親端末1の残レコード数より多いとする。この場合、子端末2−1を介した各通信ルートにおける上記閾値R2は、子端末2−3を介した各通信ルートにおける上記閾値R2より高く設定される。   For example, 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 threshold value R2 is calculated. Here, it is assumed that the number of remaining records of the parent terminal 1 with which the child terminal 2-1 constructs a communication route is larger than the number of remaining records of the parent terminal 1 with which the child terminal 2-3 constructs a communication route. In this case, the threshold value R2 in each communication route via the child terminal 2-1 is set higher than the threshold value R2 in each communication route via the child terminal 2-3.

上記のように構成することによって、子端末2の分布密度が低いエリアでは、親端末1の近傍に設置された子端末2だけでは、残レコード数に余裕があるため、上記閾値R2は高くなる。一般に、子端末2の分布密度が低いエリアでは、子端末2間の距離が長いため、リンク通信品質が悪化する傾向にあるが、多少リンク通信品質が悪い通信リンクも用いることによって、親端末1との間で通信ルートを構築し易くしている。   By configuring as described above, in an area where the distribution density of the child terminals 2 is low, only the child terminal 2 installed in the vicinity of the parent terminal 1 has a margin in the number of remaining records, and thus the threshold value R2 is increased. . In general, in an area where the distribution density of the child terminals 2 is low, the distance between the child terminals 2 is long, so that the link communication quality tends to deteriorate. However, by using a communication link with a somewhat poor link communication quality, the parent terminal 1 It is easy to build a communication route between

したがって、子端末2の分布密度に関わらず、各親端末1の配下になる子端末2の台数を均一にすることができる。また、子端末2の分布密度が低いエリアでは、親端末1の台数を低減させることが可能となる。   Therefore, the number of child terminals 2 subordinate to each parent terminal 1 can be made uniform regardless of the distribution density of the child terminals 2. Further, in an area where the distribution density of the child terminals 2 is low, the number of parent terminals 1 can be reduced.

また、通信コストの算出式は、
通信コスト=Kb×[Hパケットの通信ルート部に含まれる通信ルート情報に基づくホップ数+1]+Kc×[1/残レコード数テーブルTB3の残レコード数]
で表される。なお、Kbは、通信ルートのホップ数の重み係数である。Kcは、親端末1の残レコード数の重み係数である。
The communication cost calculation formula is
Communication cost = Kb × [number of hops based on communication route information included in communication route portion of H packet + 1] + Kc × [1 / number of remaining records in remaining record number table TB3]
It is represented by Kb is a weighting factor of the number of hops of the communication route. Kc is a weighting coefficient of the number of remaining records of the parent terminal 1.

上記のように算出された通信コストは、親端末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.

そして、Hパケットを受信した子端末2の通信処理部202は、通信コストが最も低い通信端末Aを介して(または通信コストが最も低い通信端末Aに対して)、端末IDの割り付けを要求するアドレス要求パケットを送信する。   Then, the communication processing unit 202 of the child terminal 2 that has received the H packet requests assignment of the terminal ID via the communication terminal A having the lowest communication cost (or to the communication terminal A having the lowest communication cost). Send an address request packet.

このように、子端末2が複数の端末装置AからHパケットを受信した場合、通信ルートのルート通信品質と、通信ルートのホップ数と、親端末1の残レコード数とに基づいて、各端末装置Aを介して親端末1に至る通信ルートの通信コストを算出する。そして、複数の端末装置Aのうち、通信コストが最も低い通信ルートを形成する端末装置Aを介して、親端末1との間で通信ルートを構築する。   Thus, when the child terminal 2 receives H packets from a plurality of terminal devices A, each terminal is based on the route communication quality of the communication route, the number of hops of the communication route, and the number of remaining records of the parent terminal 1. The communication cost of the communication route that reaches the parent terminal 1 via the device A 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.

(実施形態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.

本実施形態において、端末IDが割り付けられていない子端末2が複数の通信端末AからHパケットを直接受信した場合、子端末2は、端末IDの割り付けを要求する親端末1を決定するために、実施形態1と同様に、各通信ルートの通信コストを算出する。   In this embodiment, when the child terminal 2 to which no terminal ID is assigned directly receives H packets from the plurality of communication terminals A, the child terminal 2 determines the parent terminal 1 that requests the assignment of the terminal ID. As in the first embodiment, the communication cost of each communication route is calculated.

通信コストの算出式は、
通信コスト=Ka×[Hパケットの通信ルート部に含まれるルート通信品質+通信可能端末管理テーブルTB1のリンク通信品質]+Kb×[Hパケットの通信ルート部に含まれる通信ルート情報に基づくホップ数+1]+Kc×[1/残レコード数テーブルTB3の残レコード数]
で表される。なお、Kaは、通信ルートのルート通信品質(リンク通信品質の和)の重み係数である。Kbは、通信ルートのホップ数の重み係数である。Kcは、親端末1の残レコード数の重み係数である。
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 ] + Kc × [1 / number of remaining records in the number of remaining records table TB3]
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. Kc is a weighting coefficient of the number of remaining records of the parent terminal 1.

上記のように算出された通信コストは、親端末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の残レコード数の重み係数Kcが、通信ルートのホップ数が多くなるにつれて増大する。例えば、定数a,bとすると、Kc=a×通信ルートのホップ数+bで表される。すなわち、残レコード数に施される重み付けは、ホップ数が多くなるにつれて、通信コストが高くなる方向に変動する。   In this embodiment, the weight coefficient Kc of the number of remaining records of the parent terminal 1 increases as the number of hops of the communication route increases. For example, if the constants are a and b, they are expressed as Kc = a × the number of communication route hops + b. That is, the weighting applied to the number of remaining records varies in a direction in which the communication cost increases as the number of hops increases.

例えば、ホップ数が多い通信ルートとホップ数が少ない通信ルートがあり、両通信ルートにおいて、親端末1の残レコード数は同じであるとする。この場合、親端末1の残レコード数の重み係数Kcを、上記のように通信ルートのホップ数に応じて変動させているので、ホップ数が少ない通信ルートのほうが、ホップ数が多い通信ルートに比べて、通信ルートを構築する確率が高くなる。すなわち、子端末2は、親端末1に近いほど、この親端末1の残レコード数に関わらず、この親端末1との間で通信ルートを構築し易くなる。この構成は、物理配置上も妥当である。   For example, it is assumed that there are communication routes with a large number of hops and communication routes with a small number of hops, and the number of remaining records of the parent terminal 1 is the same in both communication routes. In this case, since the weighting coefficient Kc of the number of remaining records of the parent terminal 1 is changed according to the number of hops of the communication route as described above, the communication route with a smaller number of hops becomes a communication route with a larger number of hops. In comparison, the probability of constructing a communication route is increased. That is, the closer the child terminal 2 is to the parent terminal 1, the easier it is to establish a communication route with the parent terminal 1 regardless of the number of remaining records of the parent terminal 1. This configuration is also appropriate in terms of physical arrangement.

(実施形態5)
本実施形態のマルチホップ通信システムの構成は、実施形態1と同様であり、同様の構成には同一の符号を付して説明は省略する。
(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.

本実施形態の親端末1は、親端末1の通信ルートテーブルTB21に登録可能なレコード数(すなわち、子端末2との間で構築可能な通信ルートの数)が、ホップ数の範囲毎に設定されている。例えば、通信ルートテーブルTB21に登録可能なレコード数の上限が「100」である場合、ホップ数「1」,「2」,「3」,「4」,「5以上」の範囲毎に、通信ルートテーブルTB21に登録可能なレコード数「20」を設定する。すなわち、親端末1の通信ルートテーブルTB21に登録可能なレコード数の上限「100」を、通信ルートのホップ数の各範囲に対応させて5分割している。   In the parent terminal 1 of the present embodiment, the number of records that can be registered in the communication route table TB21 of the parent terminal 1 (that is, the number of communication routes that can be established with the child terminal 2) is set for each hop number range. Has been. For example, when the upper limit of the number of records that can be registered in the communication route table TB21 is “100”, communication is performed for each range of hop numbers “1”, “2”, “3”, “4”, “5 or more”. The number of records “20” that can be registered is set in the route table TB21. That is, the upper limit “100” of the number of records that can be registered in the communication route table TB21 of the parent terminal 1 is divided into five corresponding to each range of the number of hops of the communication route.

そして、親端末1は、ホップ数の範囲毎に、親端末1の通信ルートテーブルTB21に登録可能なレコード数「20」から、現在登録済のレコード数を引いた値を、ホップ数の範囲毎の残レコード数とする。   Then, for each hop number range, the parent terminal 1 obtains a value obtained by subtracting the currently registered record number from the record number “20” that can be registered in the communication route table TB21 of the parent terminal 1 for each hop number range. The number of remaining records.

そして、親端末1がHパケットを送信した場合、Hパケットの残レコード数部は、Hパケットの送信元である親端末1の残レコード数が、ホップ数の範囲毎に収容される。子端末2がHパケットを送信した場合、Hパケットの残レコード数部は、Hパケットの送信元である子端末2が通信ルートを構築している親端末1の残レコード数が、ホップ数の範囲毎に収容される。   When the parent terminal 1 transmits an H packet, the remaining record number portion of the H packet accommodates the number of remaining records of the parent terminal 1 that is the transmission source of the H packet for each hop count range. When the child terminal 2 transmits an H packet, the remaining number of records portion of the H packet indicates that the number of remaining records of the parent terminal 1 with which the child terminal 2 that is the transmission source of the H packet constructs a communication route is the number of hops. Accommodated per range.

そして、子端末2のテーブル記憶部101には、図8に示す残レコード数テーブルTB3が格納されており、残レコード数テーブルTB3は、親端末1の残レコード数に関する情報を、テーブル形式で記憶している。具体的に、残レコードテーブルTB3は、端末ID、ホップ数の各範囲における残レコード数の各フィールドが設けられている。   The table storage unit 101 of the child terminal 2 stores the remaining record number table TB3 shown in FIG. 8, and the remaining record number table TB3 stores information on the remaining record number of the parent terminal 1 in a table format. is doing. Specifically, the remaining record table TB3 includes fields for the number of remaining records in each range of the terminal ID and the number of hops.

子端末2が保持する残レコード数テーブルTB3において、端末IDは、親端末1に割り付けられた端末IDである。ホップ数の各範囲における残レコード数は、端末IDフィールドに登録された親端末1の残レコード数を、ホップ数の範囲毎に示す。   In the remaining record number 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 in each range of the number of hops indicates the number of remaining records of the parent terminal 1 registered in the terminal ID field for each range of the number of hops.

Hパケットを受信した子端末2では、通信処理部202が、この受信したHパケットの残レコード数部を参照することによって、この親端末1のホップ数の各範囲における残レコード数を取得する。そして、子端末2のテーブル処理部201は、テーブル記憶部101の残レコード数テーブルTB3において、親端末1の端末IDに対応して、親端末1−1の残レコード数をホップ数の範囲毎に登録する。   In the child terminal 2 that has received the H packet, the communication processing unit 202 acquires the number of remaining records in each range of the hop number of the parent terminal 1 by referring to the remaining record number portion of the received H packet. Then, the table processing unit 201 of the child terminal 2 corresponds to the terminal ID of the parent terminal 1 in the remaining record number table TB3 of the table storage unit 101, and sets the number of remaining records of the parent terminal 1-1 for each hop number range. Register with.

そして、端末IDが割り付けられていない子端末2が複数の通信端末AからHパケットを直接受信した場合、子端末2は、上記ホップ数の各範囲における残レコード数を考慮して、各通信ルートの通信コストを算出する。   When the child terminal 2 to which no terminal ID is assigned directly receives H packets from the plurality of communication terminals A, the child terminal 2 considers the number of remaining records in each range of the hop number, The communication cost is calculated.

通信コストの算出式は、
通信コスト=Ka×[Hパケットの通信ルート部に含まれるルート通信品質+通信可能端末管理テーブルTB1のリンク通信品質]+Kb×[Hパケットの通信ルート部に含まれる通信ルート情報に基づくホップ数+1]+Kc×[1/ホップ数に対応する残レコード数テーブルTB3の残レコード数]
で表される。なお、Kaは、通信ルートのルート通信品質(リンク通信品質の和)の重み係数である。Kbは、通信ルートのホップ数の重み係数である。Kcは、親端末1の残レコード数の重み係数である。
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 ] + Kc × [1 / number of remaining records in the number of remaining records table TB3 corresponding to the number of hops]
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. Kc is a weighting coefficient of the number of remaining records of the parent terminal 1.

上記算出式の右辺の第2項[Hパケットの通信ルート部に含まれる通信ルート情報に基づくホップ数+1]は、通信ルートのホップ数である。そして、上記算出式の右辺の第3項において、[ホップ数に対応する残レコード数テーブルTB3の残レコード数]とは、この通信ルートのホップ数が属するホップ数の範囲における残レコード数である。   The second term [number of hops based on communication route information included in communication route portion of H packet + 1] on the right side of the above calculation formula is the number of hops of the communication route. In the third term on the right side of the above calculation formula, [the number of remaining records in the remaining record number table TB3 corresponding to the number of hops] is the number of remaining records in the range of the number of hops to which the hop number of this communication route belongs. .

例えば、ある親端末1近傍の(通信ルートのホップ数が少ない)子端末2が無線ネットワークに新規参入したとする。しかし、通信ルートのホップ数が多い他の子端末2が、この親端末1と既に通信ルートを構築して、新規参入した子端末2がこの親端末との間で通信ルートを構築できない場合がある。   For example, it is assumed that a child terminal 2 in the vicinity of a certain parent terminal 1 (has a small number of communication route hops) newly enters the wireless network. However, there may be a case where another child terminal 2 having a large number of hops in the communication route has already established a communication route with this parent terminal 1 and the newly entered child terminal 2 cannot establish a communication route with this parent terminal. is there.

本実施形態では、ホップ数の範囲毎にレコード数を確保し、さらには、ホップ数の範囲毎の残レコード数を考慮した通信コストを算出するので、親端末1近傍の子端末2が、最も近い親端末1との間で通信ルートを構築できない事態を、回避しやすくなる。   In the present embodiment, the number of records is ensured for each range of hop counts, and further, the communication cost considering the number of remaining records for each range of hop counts is calculated. It becomes easy to avoid a situation where a communication route cannot be established with the nearby parent terminal 1.

また、通信ルートテーブルTB21に登録可能なレコード数の上限が「100」である場合、図9中の「○」のように、ホップ数「1」,「2」,「3」,「4」,「5以上」の範囲毎に、通信ルートテーブルTB21に登録可能なレコード数「20」を初期設定したとする。しかし、実際に通信ルートテーブルTB21に登録されたレコード数は、図9中の「●」に示されるように、ホップ数の範囲毎にばらつく場合がある。   When the upper limit of the number of records that can be registered in the communication route table TB21 is “100”, the number of hops “1”, “2”, “3”, “4” as shown by “◯” in FIG. , It is assumed that the number of records “20” that can be registered in the communication route table TB21 is initialized for each range of “5 or more”. However, the number of records actually registered in the communication route table TB21 may vary for each range of hop counts, as indicated by “●” in FIG.

そこで、親端末1の通信処理部202は、一定時間が経過する度に、通信ルートテーブルTB21に登録可能なレコード数を、ホップ数の範囲毎に既に登録されているレコード数に応じて変動させてもよい。例えば、図9中の「△」に示すように、ホップ数の範囲毎に、実際のレコード数に略比例する値に変更する。例えば、定数a,bとすると、登録可能なレコード数=a×登録済のレコード数+bで表される。   Therefore, the communication processing unit 202 of the parent terminal 1 changes the number of records that can be registered in the communication route table TB21 according to the number of records that are already registered for each range of hops every time a certain time elapses. May be. For example, as shown by “Δ” in FIG. 9, the value is changed to a value approximately proportional to the actual number of records for each hop number range. For example, if the constants are a and b, the number of records that can be registered = a × number of registered records + b.

ホップ数の範囲毎に実際に登録されるレコード数は、実環境に応じて異なる。そこで、実際のレコード数の分布状態に合わせて、ホップ数の範囲毎に登録可能なレコード数を変動させる。したがって、登録可能なレコード数を実環境に合わせて設定できるので、子端末2が、親端末1との間で通信ルートを構築できない事態を、回避しやすくなる。   The number of records actually registered for each hop count range varies depending on the actual environment. Therefore, the number of records that can be registered is varied for each range of hop counts in accordance with the distribution state of the actual number of records. Therefore, since the number of records that can be registered can be set in accordance with the actual environment, it is easy to avoid a situation in which the child terminal 2 cannot establish a communication route with the parent terminal 1.

なお、上記各実施形態において、親端末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台の前記親端末との間で通信ルートを構築するマルチホップ通信方法において、前記子端末は、前記親端末の各々が前記子端末との間で構築可能な通信ルートの残数と、自端末と前記親端末の各々との間に存在する各通信ルートのホップ数と、自端末と前記親端末の各々との間に存在する各通信ルートの通信品質とに基づいて、通信ルートを構築する前記親端末を決定することを特徴とするマルチホップ通信方法。   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 of the parent terminals, the child terminal The number of remaining communication routes that each of the parent terminals can establish with the child terminal, the number of hops of each communication route existing between the own terminal and each of the parent terminals, A multi-hop communication method, wherein the parent terminal for establishing a communication route is determined based on communication quality of each communication route existing between each of the parent terminals. 複数の親端末の各々と複数の子端末の各々とが互いにマルチホップ通信を行い、前記子端末は1台の親端末との間で通信ルートを構築するマルチホップ通信システムにおいて、
前記親端末は、前記子端末との間で構築可能な通信ルートの残数を示す残レコード数情報を含み、自端末の生存を報知するハローパケットを送信し、
前記親端末との間で通信ルートを構築している前記子端末は、自端末と通信ルートを構築している前記親端末の前記残レコード数情報を含み、自端末の生存を報知するハローパケットを送信し、
前記親端末との間で通信ルートを構築していない前記子端末は、所定時間内に複数の前記ハローパケットを受信した場合、前記ハローパケットの送信元である前記親端末、および前記ハローパケットの送信元である前記子端末が通信ルートを構築している前記親端末の各々について、前記親端末の残レコード数と、前記親端末との間に存在する通信ルートのホップ数と、前記親端末との間に存在する通信ルートの通信品質とに基づいて通信コストを算出し、この通信コストが最も低い前記親端末との間で通信ルートを構築する
ことを特徴とするマルチホップ通信システム。
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 For each of the parent terminals for which the child terminal as the transmission source has established a communication route, the number of remaining records of the parent terminal, the number of hops of the communication route existing between the parent terminal, and the parent terminal A communication cost is calculated based on the communication quality of a communication route existing between and a communication route is established with the parent terminal having the lowest communication cost.
前記親端末との間で通信ルートを構築していない前記子端末は、所定時間内に複数の前記ハローパケットを受信した場合、前記ハローパケットの送信元である前記親端末、および前記ハローパケットの送信元である前記子端末が通信ルートを構築している前記親端末の各々のうち、自端末との間に存在する通信ルートのホップ数が所定の閾値以下である前記親端末を選択し、この選択した前記親端末について、前記親端末の残レコード数と、前記親端末との間に存在する通信ルートの通信品質とに基づいて通信コストを算出し、この通信コストが最も低い前記親端末との間で通信ルートを構築し、前記ホップ数の所定の閾値は、前記親端末毎に、この親端末の残レコード数が多いほど高く設定されることを特徴とする請求項2記載のマルチホップ通信システム。   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 Among the parent terminals that the child terminal that is the transmission source constructs a communication route, select the parent terminal that has a communication route hop count that is less than or equal to a predetermined threshold between itself and the terminal, For the selected parent terminal, a communication cost is calculated based on the number of remaining records of the parent terminal and the communication quality of a communication route existing between the parent terminal, and the parent terminal having the lowest communication cost 3. The multi-hop device according to claim 2, wherein a communication route is established with each other, and the predetermined threshold for the number of hops is set higher for each parent terminal as the number of remaining records of the parent terminal increases. Up communication system. 前記親端末との間で通信ルートを構築していない前記子端末は、所定時間内に複数の前記ハローパケットを受信した場合、前記ハローパケットの送信元である前記親端末、および前記ハローパケットの送信元である前記子端末が通信ルートを構築している前記親端末の各々のうち、自端末との間に存在する通信ルートの通信品質の品質レベルが所定の閾値以上である前記親端末を選択し、この選択した前記親端末について、前記親端末の残レコード数と、前記親端末との間に存在する通信ルートのホップ数とに基づいて通信コストを算出し、この通信コストが最も低い前記親端末との間で通信ルートを構築し、前記通信品質の品質レベルの所定の閾値は、前記親端末毎に、この親端末の残レコード数が多いほど低く設定されることを特徴とする請求項2記載のマルチホップ通信システム。   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 parent terminal whose communication quality level of a communication route existing between itself and its own terminal is greater than or equal to a predetermined threshold among the parent terminals of which the child terminal that is the transmission source has established a communication route The communication cost is calculated for the selected parent terminal based on the number of remaining records of the parent terminal and the number of hops of the communication route existing between the parent terminal, and this communication cost is the lowest. A communication route is established with the parent terminal, and a predetermined threshold value of the communication quality level is set lower for each parent terminal as the number of remaining records of the parent terminal increases. Multi-hop communication system according to claim 2. 前記親端末との間で通信ルートを構築していない前記子端末は、所定時間内に複数の前記ハローパケットを受信した場合、前記ハローパケットの送信元である前記親端末、および前記ハローパケットの送信元である前記子端末が通信ルートを構築している前記親端末の各々について、前記親端末の残レコード数と、前記親端末との間に存在する通信ルートのホップ数と、前記親端末との間に存在する通信ルートの通信品質との各々に重み付けを施して通信コストを算出し、前記残レコード数に施される重み付けは、前記ホップ数が多くなるにつれて、前記通信コストが高くなる方向に変動することを特徴とする請求項2記載のマルチホップ通信システム。   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 For each of the parent terminals for which the child terminal as the transmission source has established a communication route, the number of remaining records of the parent terminal, the number of hops of the communication route existing between the parent terminal, and the parent terminal The communication cost is calculated by weighting each communication quality of the communication route existing between and the communication cost, and the weight applied to the number of remaining records increases as the number of hops increases. The multi-hop communication system according to claim 2, wherein the multi-hop communication system varies in a direction. 前記親端末は、前記子端末との間で構築可能な通信ルートの数が、前記ホップ数の範囲毎に設定されており、前記残レコード数情報は、前記ホップ数の範囲毎に前記子端末との間で構築可能な通信ルートの残数を示し、
前記親端末との間で通信ルートを構築していない前記子端末は、所定時間内に複数の前記ハローパケットを受信した場合、前記ハローパケットの送信元である前記親端末、および前記ハローパケットの送信元である前記子端末が通信ルートを構築している前記親端末の各々について、前記親端末との間に存在する通信ルートのホップ数と、このホップ数が含まれる前記ホップ数の範囲に対応する前記親端末の残レコード数と、前記親端末との間に存在する通信ルートの通信品質とに基づいて通信コストを算出し、この通信コストが最も低い前記親端末との間で通信ルートを構築する
ことを特徴とする請求項2記載のマルチホップ通信システム。
In the parent terminal, the number of communication routes that can be established with the child terminal is set for each range of the hop number, and the remaining record number information is stored in the child terminal for each range of the hop number. The remaining number of communication routes that can be established with
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 For each of the parent terminals for which the child terminal as the transmission source has established a communication route, the number of hops of the communication route existing between the parent terminal and the range of the number of hops including this hop number is included. The communication cost is calculated based on the corresponding number of remaining records of the parent terminal and the communication quality of the communication route existing between the parent terminal, and the communication route with the parent terminal having the lowest communication cost The multi-hop communication system according to claim 2, wherein the multi-hop communication system is constructed.
前記親端末は、前記ホップ数の範囲毎に構築可能な通信ルートの数を、前記ホップ数の範囲毎に既に構築されている通信ルートの数に応じて変動させることを特徴とする請求項6記載のマルチホップ通信システム。   7. The parent terminal varies the number of communication routes that can be constructed for each range of the hop count according to the number of communication routes that are already constructed for each range of the hop count. The multi-hop communication system described. 親端末と子端末とが互いに通信ルートを構築してマルチホップ通信を行い、前記子端末は、前記親端末が構築可能な通信ルートの残数に基づいて、通信ルートを構築する前記親端末を決定するマルチホップ通信システムの前記親端末に用いられる通信端末であって、
前記子端末との間で構築可能な通信ルートの残数を示す残レコード数情報を含み、自端末の生存を報知するハローパケットを送信する
ことを特徴とする通信端末。
A parent terminal and a child terminal establish a communication route with each other to perform multi-hop communication, and the child terminal determines the parent terminal that establishes a communication route based on the remaining number of communication routes that can be established by the parent terminal. A communication terminal used for the parent terminal of the multi-hop communication system to be determined,
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.
親端末との間で通信ルートを構築してマルチホップ通信を行う子端末に用いられる通信端末であって、
前記親端末の各々が前記子端末との間で構築可能な通信ルートの残数と、自端末と前記親端末の各々との間に存在する各通信ルートのホップ数と、自端末と前記親端末の各々との間に存在する各通信ルートの通信品質とに基づいて、通信ルートを構築する前記親端末を決定する
ことを特徴とする通信端末。
A communication terminal used for a child terminal that performs multi-hop communication by establishing a communication route with a parent terminal,
The remaining number of communication routes that each of the parent terminals can establish with the child terminal, the number of hops of each communication route existing between the own terminal and each of the parent terminals, the own terminal, and the parent A communication terminal characterized in that the parent terminal for establishing a communication route is determined based on communication quality of each communication route existing between each of the terminals.
JP2011185078A 2010-08-26 2011-08-26 Multi-hop communication method, multi-hop communication system, and communication terminal Expired - Fee Related JP5870285B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011185078A JP5870285B2 (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
JP2010190008 2010-08-26
JP2010190008 2010-08-26
JP2011185078A JP5870285B2 (en) 2010-08-26 2011-08-26 Multi-hop communication method, multi-hop communication system, and communication terminal

Publications (2)

Publication Number Publication Date
JP2012070367A true JP2012070367A (en) 2012-04-05
JP5870285B2 JP5870285B2 (en) 2016-02-24

Family

ID=46167043

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011185078A Expired - Fee Related JP5870285B2 (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) JP5870285B2 (en)

Cited By (4)

* 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
JP2016134755A (en) * 2015-01-19 2016-07-25 富士通コンポーネント株式会社 Communication system and communication instrument
JP2016144087A (en) * 2015-02-03 2016-08-08 株式会社東芝 Access point position optimization device and method
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 (6)

* 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
JP2016134755A (en) * 2015-01-19 2016-07-25 富士通コンポーネント株式会社 Communication system and communication instrument
JP2016144087A (en) * 2015-02-03 2016-08-08 株式会社東芝 Access point position optimization device and method
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
JP5870285B2 (en) 2016-02-24

Similar Documents

Publication Publication Date Title
JP5756908B2 (en) Multi-hop communication system, handset
JP5792661B2 (en) Ad hoc network system and meter reading information collection method
JP6355040B2 (en) Communication system and communication apparatus
JP2013055451A5 (en)
JP2013055451A (en) Radio sensor network system
JP2009302694A (en) Radio communication network system
JP2008244679A (en) Communication route construction method and communication terminal
JP2008301268A (en) Method of searching communication route and communication terminal using the same
JP5991635B2 (en) Power line carrier communication terminal and meter reading terminal
JP5870285B2 (en) Multi-hop communication method, multi-hop communication system, and communication terminal
JP2013503589A (en) Network address field of node in meter meter wireless mesh network and related system
JP5861090B2 (en) Multi-hop communication method, multi-hop communication system, and communication terminal
CN103563310A (en) System and method for high throughput communication in a mesh hybrid network background of the invention
JP5853227B2 (en) Multi-hop communication method, multi-hop communication system, and communication terminal
JP2014155133A (en) Network system and communication method therefor
JP5903616B2 (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
JP5796214B2 (en) Multi-hop communication method and multi-hop communication system
JPWO2014181379A1 (en) Wireless communication system and wireless communication method
JP5741651B2 (en) Packet relay system and wireless node
JP2013214834A (en) Communication system, communication device, path switching method, and path switching program
US10257763B2 (en) Routing protocol for advanced metering infrastructure system
KR20100119402A (en) Apparatus and method for routing multi-path
JP5945771B2 (en) Communication system and communication terminal
JP2018182603A (en) Wireless 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

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

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

LAPS Cancellation because of no payment of annual fees