JP2008306314A - Adjacent node conforming method in multi-hop communications network, and node of the multi-hop communications network - Google Patents

Adjacent node conforming method in multi-hop communications network, and node of the multi-hop communications network Download PDF

Info

Publication number
JP2008306314A
JP2008306314A JP2007149729A JP2007149729A JP2008306314A JP 2008306314 A JP2008306314 A JP 2008306314A JP 2007149729 A JP2007149729 A JP 2007149729A JP 2007149729 A JP2007149729 A JP 2007149729A JP 2008306314 A JP2008306314 A JP 2008306314A
Authority
JP
Japan
Prior art keywords
node
hello message
adjacent
adjacent node
nodes
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
JP2007149729A
Other languages
Japanese (ja)
Other versions
JP4720794B2 (en
Inventor
Yukio Okada
幸夫 岡田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Electric Works Co Ltd
Original Assignee
Panasonic Electric Works Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Panasonic Electric Works Co Ltd filed Critical Panasonic Electric Works Co Ltd
Priority to JP2007149729A priority Critical patent/JP4720794B2/en
Publication of JP2008306314A publication Critical patent/JP2008306314A/en
Application granted granted Critical
Publication of JP4720794B2 publication Critical patent/JP4720794B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To immediately detect that a root for communication data transmission between nodes has become unavailable, and to make the detected root not to be selected at next route selection. <P>SOLUTION: In a multi-hop communications network constituted of a plurality of nodes N, a communication quality acquisition means 12 transmits a "hello message" in a suitable timing, and determines a link cost for direct communication with an adjacent node N, to register the cost in an adjacent node table Tb1. A root for communication data transmission is selected for each node N, by using the link cost registered in the adjacent node table Tb1. If an acknowledgement from a destination node N is not received, after a source node N on the root transmits communication data, to the adjacent node when the communication data is transmitted using the selected root, an evaluation value modification means 15 increases the link cost with the destination node N, in an adjacent node table Tb1 of the source node N. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、通信ネットワーク上に存在するノード間で通信する際に、他のノードによる通信の中継を可能にしたマルチホップ通信ネットワークにおいて、情報を伝送するノード間で適切なルートを選択するためのマルチホップ通信ネットワークにおける隣接ノード確認方法と、当該隣接ノード確認方法に対応したマルチホップ通信ネットワークのノードに関するものである。   The present invention is a method for selecting an appropriate route between nodes transmitting information in a multi-hop communication network that enables relaying of communication by other nodes when communicating between nodes existing on the communication network. The present invention relates to an adjacent node confirmation method in a multihop communication network and a node of a multihop communication network corresponding to the adjacent node confirmation method.

従来から、通信ネットワーク上に存在するノード(すなわち、通信端末)間で通信する際に、情報を伝送しようとするノード間で通信を直接行うことができない場合に、他のノードを通信の中継に用いることによって通信を可能にする技術が知られており、とくに通信ネットワークの一つである無線ネットワークにおいてこの技術を用いることが提案されている。この種の無線ネットワークは、マルチホップ無線ネットワークと呼ばれている。   Conventionally, when communicating between nodes (that is, communication terminals) existing on a communication network, when communication cannot be performed directly between nodes to which information is to be transmitted, another node is used as a relay for communication. A technique for enabling communication by using this technique is known, and it has been proposed to use this technique particularly in a wireless network that is one of communication networks. This type of wireless network is called a multi-hop wireless network.

無線ネットワークでは、ノードが移動したり雑音の影響を受けることにより、通信のルートの通信品質が時間経過に伴って変化する上に、通信可能であったノードとのルートが不通になって通信ネットワークのネットワークトポロジが時間経過に伴って変化するから、ノード間で通信を維持するには、ノード間で経路情報を交換し、使用可能なルートを探索するとともに使用可能なルートのうち通信品質のよいルートを選択することが必要である。   In wireless networks, the communication quality of the communication route changes over time due to the movement of the node and the influence of noise, and the route to the node that was able to communicate is interrupted. In order to maintain communication between nodes, it is necessary to exchange route information between nodes, search for usable routes, and have good communication quality among the available routes. It is necessary to select a route.

ところで、無線ネットワークにおける上述の問題は、電力線を伝送路に用いる電力線搬送通信(以下、「PLC」(Power Line Communication)と略称する)の技術を用いて構築した通信ネットワークであるPLCネットワークにおいても生じる。PLCネットワークの用途としては、たとえば、集合住宅において各住戸と管理室とにそれぞれノードを設置することによって、各住戸の設備機器を集中監視・制御するシステムが提案されている。   By the way, the above-mentioned problem in the wireless network also occurs in a PLC network which is a communication network constructed using a technique of power line carrier communication (hereinafter abbreviated as “PLC” (Power Line Communication)) using a power line as a transmission path. . As an application of the PLC network, for example, a system that centrally monitors and controls the equipment of each dwelling unit by installing a node in each dwelling unit and a management room in an apartment house has been proposed.

この種のシステムでは、電力線をルートに用いて高周波の搬送波信号を用いて情報を伝送するものであるから、搬送波信号には微弱な電力を用いており、集合住宅のように電力線の総延長が長くなると、各住戸に設置したノードから管理室のノードに対して通信を直接行うことができない場合が生じる。また、PLCネットワークはノードを電力線に接続するものであるから、電力線に接続された負荷機器により発生する雑音が通信品質に影響し、ノードを電力線のコンセントに接続する場合にはコンセントに対するノードの抜き差しによってネットワークトポロジが変化することになる。   In this type of system, the power line is used as a route to transmit information using a high-frequency carrier signal, so weak power is used for the carrier signal, and the total extension of the power line is similar to that of an apartment house. If it becomes longer, there may be a case where communication cannot be performed directly from the node installed in each dwelling unit to the node in the management room. In addition, because the PLC network connects nodes to power lines, noise generated by load equipment connected to the power lines affects communication quality. Will change the network topology.

したがって、PLCネットワークにおいても、マルチホップ無線ネットワークと同様に、他のノードを通信の中継に用いるとともに、ルートを探索し選択するマルチホップ通信ネットワークの技術が要求される。PLCネットワークにマルチホップ通信ネットワークの技術を適用した事例は知られている(たとえば、特許文献1参照)。   Accordingly, in the PLC network as well as the multi-hop wireless network, a technique for a multi-hop communication network that uses other nodes for relaying communication and searches for and selects a route is required. A case where a technology of a multi-hop communication network is applied to a PLC network is known (for example, see Patent Document 1).

ところで、マルチホップ通信ネットワークでは、通信を開始する前にどのノードを通るルートを用いるかを探索して選択しなければならない。ルートの探索は、通信しようとする出発点のノードと到着点のノードとの間に存在する可能なルートを見つけ出す処理であり、ルートの選択は、可能なルートのうち通信品質が上位であるルートを選び出す処理である。   By the way, in a multi-hop communication network, it is necessary to search and select which node a route is used before starting communication. The route search is a process of finding a possible route existing between the starting point node and the arriving point node to be communicated, and the route selection is a route having a higher communication quality among the possible routes. This is the process of selecting.

ルートを探索するには、まず他のノードの中継なしに通信することができるノードの対(言い換えれば、ノード間のリンク)を検出する必要がある。このようなリンクがわかれば、リンクを辿ることにより通信データの出発点と到着点とのノードを結ぶルートを追跡することができる。一方、ルートを選択するには、リンクごとの通信品質を評価する必要がある。すなわち、探索により得られたルートのうちで、通信品質が良好であるルートを採用するのが望ましいから、各リンクの通信品質を適宜の評価値で評価し、この評価値を用いて出発点から到着点までの通信品質を推定し、通信品質が良好なルートを選択するのである。   To search for a route, it is first necessary to detect a pair of nodes (in other words, a link between nodes) that can communicate without relaying other nodes. If such a link is known, it is possible to trace a route connecting nodes between the start point and the arrival point of communication data by following the link. On the other hand, in order to select a route, it is necessary to evaluate the communication quality for each link. In other words, it is desirable to adopt a route with good communication quality among the routes obtained by searching. Therefore, evaluate the communication quality of each link with an appropriate evaluation value, and use this evaluation value from the starting point. The communication quality up to the arrival point is estimated, and a route with good communication quality is selected.

他のノードの中継なしに通信することができるノードの対を検出する技術としては、特許文献1において、各ノードが適時にハローメッセージと称する信号を送受信し、ハローメッセージをノードが受信することによって受信方向の通信品質を取得し、さらに受信側のノードから受信方向の通信品質を含むハローメッセージを送信することにより、送信側のノードに送信方向の通信品質を取得させる技術が示されている。
特開2006−67557号公報
As a technique for detecting a pair of nodes that can communicate without relaying other nodes, in Patent Document 1, each node transmits and receives a signal called a hello message in a timely manner, and the node receives the hello message. A technique is disclosed in which a communication quality in the transmission direction is acquired by the transmission-side node by acquiring communication quality in the reception direction and transmitting a hello message including the communication quality in the reception direction from the reception-side node.
JP 2006-67557 A

ところで、マルチホップ通信ネットワークではネットワークトポロジが時間経過に伴って変化しており、この変化は各ノードがハローメッセージを一定の時間間隔で送信し、他のノードがハローメッセージを受信することにより検出している。   By the way, in a multi-hop communication network, the network topology changes with the passage of time, and this change is detected by each node sending a hello message at regular intervals and other nodes receiving the hello message. ing.

ハローメッセージには、各ノードが自アドレスのみを送信する第1のハローメッセージと、他のノードからのハローメッセージを受信することにより得られる受信方向の通信品質および当該ハローメッセージを送信したノードのアドレスの情報を含む第2のハローメッセージとがある。   The hello message includes the first hello message in which each node transmits only its own address, the communication quality in the receiving direction obtained by receiving the hello message from another node, and the address of the node that has transmitted the hello message. There is a second hello message including the following information.

たとえば、ノードが通信ネットワークに新規に参入すると、既存のノードの第1のハローメッセージに応答して、新規に参入したノードが第2のハローメッセージを送信し既存のノードに対して通信品質を要求し、この要求を受信した既存のノードが第2のハローメッセージにより応答することによって、新規のノードと既存のノードとの間のリンクの品質を確認する。また、既存のノードにおいていずれかのノードが消失したり、他のノードとの間でハローメッセージが一方通行になる場合なども生じる。   For example, when a node newly enters the communication network, in response to the first hello message of the existing node, the newly entered node sends a second hello message and requests the communication quality from the existing node. Then, the existing node that has received this request responds with the second hello message, thereby confirming the quality of the link between the new node and the existing node. In addition, there is a case where one of the existing nodes disappears or the hello message is one-way with another node.

このようなネットワークトポロジの変化に対応するために、他のノードの中継なしに通信可能な隣接ノードについて、ハローメッセージにより取得した通信品質と隣接ノードのアドレスとを隣接ノードテーブルに登録し、隣接ノードテーブルに登録されている隣接ノードのアドレスおよび通信品質の情報を含む第2のハローメッセージを適時に送信して通信品質の取得を要求し、要求に応答して送信された第2のハローメッセージにより通信品質を常時確認している。   In order to cope with such a change in the network topology, the communication quality acquired by the hello message and the address of the adjacent node are registered in the adjacent node table for the adjacent node that can communicate without relaying by other nodes. The second hello message including the address of the adjacent node registered in the table and the communication quality information is transmitted in a timely manner to request acquisition of the communication quality, and the second hello message transmitted in response to the request The communication quality is constantly checked.

したがって、通信ネットワークに隣接ノードのアドレスおよび通信品質の情報を含む第2のハローメッセージが頻繁に送信されることになり、トラフィックの増加につながっている。また、第1のハローメッセージと第2のハローメッセージを同一パケットに格納して送信することも可能であるが、パケットが長くなるため、やはりトラフィックが増加する。したがって、ネットワークトポロジの検出に用いる処理によって、本来のデータ通信に使用可能な帯域が狭められるという問題が生じる。   Accordingly, the second hello message including the address of the adjacent node and the communication quality information is frequently transmitted to the communication network, leading to an increase in traffic. In addition, it is possible to store the first hello message and the second hello message in the same packet and transmit them, but since the packet becomes longer, the traffic also increases. Therefore, there is a problem that the bandwidth that can be used for the original data communication is narrowed by the process used for detecting the network topology.

本発明は上記事由に鑑みて為されたものであり、その目的は、第2のハローメッセージの送信回数を従来よりも低減することにより、ハローメッセージによるトラフィックを低減し、本来のデータ通信に用いることができる帯域を広げることを可能としたマルチホップ通信ネットワークにおける隣接ノード確認方法、マルチホップ通信ネットワークのノードを提供することにある。   The present invention has been made in view of the above reasons, and its purpose is to reduce the number of times the second hello message is transmitted compared to the prior art, thereby reducing the traffic due to the hello message and using it for original data communication. An object of the present invention is to provide an adjacent node confirmation method in a multi-hop communication network and a node of the multi-hop communication network that can expand a bandwidth that can be used.

請求項1の発明は、複数個のノードを備えノード間での通信時に他のノードによる通信の中継を可能としたマルチホップ通信ネットワークにおいて他のノードによる中継なしに通信可能なノードである隣接ノードを確認する方法であって、各ノードは、自アドレスを含むハローメッセージを規定の時間間隔毎に送信しており、隣接ノードについてアドレスと通信品質とを対応付けて登録する隣接ノードテーブルを備え、隣接ノードのアドレスおよび通信品質の情報を含まない第1のハローメッセージを送信する通常モードと、隣接ノードテーブルから選択した隣接ノードのアドレスおよび当該隣接ノードからの受信方向の通信品質の情報を含む第2のハローメッセージを送信する確認モードとを有し、隣接ノードとの間の通信品質を確認することが必要になる事象が生じたときに通常モードから確認モードに移行し、確認モードでは、制限された送信回数内で第2のハローメッセージを送信した後に通常モードに復帰することを特徴とする。   The invention according to claim 1 is an adjacent node which is a node capable of communicating without relaying by other nodes in a multi-hop communication network having a plurality of nodes and enabling relaying of communications by other nodes when communicating between the nodes. Each node is transmitting a hello message including its own address for each specified time interval, and has an adjacent node table that registers and associates addresses and communication quality for adjacent nodes, A normal mode in which the first hello message not including the address of the adjacent node and the communication quality is transmitted, the address of the adjacent node selected from the adjacent node table, and the communication quality information in the reception direction from the adjacent node. 2 for confirming the communication quality between adjacent nodes. When an event that requires the above occurs, the mode is changed from the normal mode to the confirmation mode. In the confirmation mode, the second hello message is transmitted within the limited number of transmissions, and then the normal mode is restored. .

請求項2の発明では、請求項1の発明において、前記確認モードに移行する事象は、隣接ノードテーブルに隣接ノードの受信方向の通信品質のみの登録であることを特徴とする。   According to a second aspect of the present invention, in the first aspect of the present invention, the event that shifts to the confirmation mode is registration of only the communication quality in the receiving direction of the adjacent node in the adjacent node table.

請求項3の発明では、請求項1の発明において、前記確認モードに移行する事象は、隣接ノードテーブルに登録されていないノードから自ノードのアドレスを含む第2のハローメッセージの受信であることを特徴とする。   In the invention of claim 3, in the invention of claim 1, the event that shifts to the confirmation mode is reception of a second hello message including the address of the own node from a node not registered in the adjacent node table. Features.

請求項4の発明は、請求項1の発明において、前記確認モードに移行する事象は、隣接ノードテーブルに受信方向の通信品質のみが登録されているノードからの第2のハローメッセージの受信であることを特徴とする。   According to a fourth aspect of the present invention, in the first aspect of the invention, the event that shifts to the confirmation mode is reception of a second hello message from a node in which only communication quality in the reception direction is registered in the adjacent node table. It is characterized by that.

請求項5の発明では、請求項1の発明において、前記確認モードに移行する事象は、隣接ノードテーブルに受信方向と送信方向との通信品質が登録されているノードからのハローメッセージを受信しない状態が制限された送信回数に相当する時間継続していることであることを特徴とする。   In the invention of claim 5, in the invention of claim 1, the event of shifting to the confirmation mode is a state in which a hello message is not received from a node whose communication quality in the reception direction and transmission direction is registered in the adjacent node table. Is that the period of time corresponding to the limited number of transmissions is continued.

請求項6の発明では、請求項1ないし請求項5のいずれかの発明において、前記確認モードに移行する事象は、ハローメッセージの受信時に検出される受信方向の通信品質と前記隣接ノードテーブルに登録されている受信方向の通信品質との差分が規定した許容範囲外となることであることを特徴とする。   In the invention of claim 6, in the invention of any one of claims 1 to 5, the event of shifting to the confirmation mode is registered in the communication quality in the receiving direction detected when the hello message is received and in the adjacent node table. The difference between the received communication quality and the received communication quality is outside the specified allowable range.

請求項7の発明では、請求項1ないし請求項6のいずれかの発明において、前記確認モードに移行する事象は、前記時間間隔に前記送信回数を乗じた時間よりも長い一定時間毎の時間経過であることを特徴とする。   In the invention of claim 7, in the invention of any one of claims 1 to 6, the event that shifts to the confirmation mode is a time lapse of a fixed time longer than a time obtained by multiplying the time interval by the number of transmissions. It is characterized by being.

請求項8の発明は、複数個のノードを備えノード間での通信時に他のノードによる通信の中継を可能としたマルチホップ通信ネットワークに用いるノードであって、自アドレスを含むハローメッセージを規定の時間間隔毎に送信する通信手段と、隣接ノードについてアドレスと通信品質とを対応付けて登録する隣接ノードテーブルと、ハローメッセージを受信したときに受信方向の通信品質を隣接ノードテーブルに登録する通信品質取得手段と、隣接ノードのアドレスおよび通信品質の情報を含まない第1のハローメッセージを送信する通常モードと隣接ノードテーブルに登録されている隣接ノードのアドレスおよび当該隣接ノードからの受信方向の通信品質の情報を含む第2のハローメッセージを送信する確認モードとの動作モードを備えるリンク確認手段と、隣接ノードから受信した第2のハローメッセージに自アドレスが含まれるときに当該第2のハローメッセージに含まれる送信方向の通信品質を隣接ノードテーブルに登録する通信品質登録手段とを備え、リンク確認手段は、隣接ノードとの間の通信品質を確認することが必要になる事象が生じたときに通常モードから確認モードに移行し、確認モードでは制限された送信回数内で第2のハローメッセージを送信した後に通常モードに復帰することを特徴とする。   The invention of claim 8 is a node used in a multi-hop communication network having a plurality of nodes and capable of relaying communication by other nodes at the time of communication between the nodes, and specifying a hello message including its own address. Communication means for transmitting at each time interval, adjacent node table for registering addresses and communication quality in association with adjacent nodes, and communication quality for registering communication quality in the receiving direction in the adjacent node table when a hello message is received Normal mode for transmitting the first hello message not including information on the acquisition node, the address of the adjacent node and the communication quality, the address of the adjacent node registered in the adjacent node table, and the communication quality in the receiving direction from the adjacent node An operation mode with a confirmation mode for transmitting a second hello message including the information of Link confirmation means; and communication quality registration means for registering the communication quality in the transmission direction included in the second hello message in the adjacent node table when the second hello message received from the adjacent node includes its own address. The link confirmation means shifts from the normal mode to the confirmation mode when an event that requires confirmation of the communication quality with the adjacent node occurs, and in the confirmation mode, the second is performed within the limited number of transmissions. It is characterized by returning to the normal mode after transmitting the hello message.

なお、送信回数の制限は、送信回数を規定の最大回数に制限する場合と、送信回数を制限時間によって制限する場合とがある。   Note that the number of transmissions may be limited to a case where the number of transmissions is limited to a predetermined maximum number, or a case where the number of transmissions is limited by a time limit.

請求項1、8の発明の構成によれば、隣接ノードの存在を確認することが必要になる事象が生じたときに、制限された送信回数だけ第2のハローメッセージを送信するから、従来のように第2のハローメッセージをつねに送信する場合に比較すると、1回の送信当たりの平均のデータ長を短くすることができ、結果的に、制限を付けることなく第2のハローメッセージを送信する場合に比較して低トラフィック化が可能になる。   According to the configuration of the first and eighth aspects of the invention, when an event that requires the presence of an adjacent node occurs, the second hello message is transmitted a limited number of times. Thus, compared to the case where the second hello message is always transmitted, the average data length per transmission can be shortened, and as a result, the second hello message is transmitted without limitation. The traffic can be reduced compared to the case.

請求項2の発明の構成によれば、隣接ノードテーブルに隣接ノードの受信方向の通信品質のみが登録されているノードが、第2のハローメッセージを送信するから、第1のハローメッセージを受信して受信側の通信品質のみが隣接ノードテーブルに登録されているときに、ただちに送信側の通信品質の獲得を要求することができる。   According to the configuration of the invention of claim 2, since the node in which only the communication quality in the reception direction of the adjacent node is registered in the adjacent node table transmits the second hello message, the first hello message is received. Thus, when only the communication quality on the receiving side is registered in the adjacent node table, the acquisition of the communication quality on the transmitting side can be requested immediately.

請求項3の発明の構成によれば、隣接ノードテーブルに登録されていないノードから自ノードのアドレスを含む第2のハローメッセージを受信したノードが、第2のハローメッセージを送信するから、隣接ノードとして認識していなかったノードにリンク品質を通知し、相互に双方向の通信品質を取得することができる。   According to the configuration of the invention of claim 3, since the node that has received the second hello message including the address of its own node from a node that is not registered in the adjacent node table transmits the second hello message, It is possible to notify the link quality to nodes that have not been recognized as, and to obtain bidirectional communication quality.

請求項4の発明の構成によれば、受信方向の通信品質のみが登録されているノードについて第2のハローメッセージの受信により送信方向の通信品質を取得することができる。さらに、受信方向と送信方向との双方向の通信品質を取得した後にも制限された送信回数内で第2のハローメッセージを送信するから、通信品質の変化にも対応することができる。   According to the configuration of the invention of claim 4, the communication quality in the transmission direction can be acquired by receiving the second hello message for the node in which only the communication quality in the reception direction is registered. Furthermore, since the second hello message is transmitted within the limited number of transmissions even after acquiring the bidirectional communication quality between the reception direction and the transmission direction, it is possible to cope with a change in communication quality.

請求項5の発明の構成によれば、受信方向と送信方向との通信品質が登録されているノードであっても長時間に亘ってハローメッセージを受信しないときには、第2のハローメッセージを送信して当該ノードが隣接ノードとして存在しているか否かを確認することができる。また、当該ノードと通信できなくなったと判断した場合、第2のハローメッセージによってその棟が当該ノードにされるため、当該ノードもリンク断を認識でき、リンク状態の認識不一致を回避できる。   According to the configuration of the fifth aspect of the present invention, even if the communication quality in the receiving direction and the transmitting direction is registered, the second hello message is transmitted when the hello message is not received for a long time. Thus, it can be confirmed whether or not the node exists as an adjacent node. Further, when it is determined that communication with the node is no longer possible, the ridge is made the node by the second hello message, so that the node can also recognize the link disconnection and avoid the link state recognition mismatch.

請求項6の発明の構成によれば、ハローメッセージの受信により検出された受信方向の通信品質が隣接ノードテーブルに登録されている通信品質に対して許容範囲を超えて変化したときには、通信品質を修正する必要があるから、第2のハローメッセージを送信することにより、最新の通信品質に更新することができる。   According to the configuration of the invention of claim 6, when the communication quality in the receiving direction detected by receiving the hello message changes beyond the allowable range with respect to the communication quality registered in the adjacent node table, the communication quality is Since it needs to be corrected, it can be updated to the latest communication quality by transmitting the second hello message.

請求項7の発明の構成によれば、各ノードが一定時間毎に第2のハローメッセージを送信するから、隣接ノードとの間の通信品質の変動の有無を一定時間毎に検出することができ、隣接ノードとの間の通信品質の変動に対応して隣接ノードテーブルの内容を最新の通信品質に更新することができる。   According to the configuration of the seventh aspect of the invention, since each node transmits the second hello message at regular time intervals, it is possible to detect the presence or absence of fluctuations in communication quality with adjacent nodes at regular time intervals. The content of the adjacent node table can be updated to the latest communication quality in response to a change in communication quality with the adjacent node.

(基本構成)
マルチホップ通信ネットワークにおいて、通信データの出発点と到着点となるノードの間のルートを決めるには、他のノードの中継なしに直接通信が可能なノードの対を検出するとともに、対になる各ノード間のリンクにおける通信品質を評価することが必要である。また、通信データの出発点と到着点との間で取りうる通信経路(ルート)を探索し、通信可能なルートのうち通信品質の高いルートを選択することが必要である。
(Basic configuration)
In a multi-hop communication network, in order to determine the route between nodes that are the starting point and the arriving point of communication data, a pair of nodes that can communicate directly without relaying other nodes is detected, and It is necessary to evaluate the communication quality in the link between nodes. Further, it is necessary to search for a communication path (route) that can be taken between the starting point and the arriving point of the communication data, and to select a route with high communication quality among communicable routes.

以下に説明する実施形態では、ルートの通信品質に関する評価に、隣接するノードが送信した信号の受信強度と、情報を伝送するルート内に含まれるノードについて隣接するノードを結ぶリンクの本数(以下、「ホップ数」と呼ぶ)とを用いる(ノードが隣接するとは、2つのノード間で他のノードによる中継なしに通信が可能であることを意味し、隣接ノードの間はホップ数が1である)。したがって、ホップ数は、ルートを構成するノード(ルートの両端のノードを含む)の個数から1を引いた値になる。ルートの通信品質は、信号強度が大きくホップ数が少ないほどよいと評価し、探索されたルートのなかで通信品質ができるだけよいルートを選択する。   In the embodiment described below, for the evaluation of the communication quality of the route, the reception strength of the signal transmitted by the adjacent node and the number of links connecting the adjacent nodes with respect to the nodes included in the route transmitting the information (hereinafter, (Referred to as “hop count”) means that two nodes are able to communicate between two nodes without being relayed by another node, and the number of hops between adjacent nodes is one ). Therefore, the number of hops is a value obtained by subtracting 1 from the number of nodes constituting the route (including nodes at both ends of the route). The route communication quality is evaluated to be better as the signal strength is larger and the number of hops is smaller, and a route with the best communication quality is selected from the searched routes.

たとえば、直接通信が可能なノード間の信号強度を複数段階(たとえば、10段階)に分割してコード化した値(以下、このコードをSQ(Signal Quality)と呼ぶ)を用い、通信ネットワーク内における通信データを伝送する2ノード間の通信品質を、次式で求められるルートコストによって評価する。つまり、ルートコストが通信品質の評価値になる。
(ルートコスト)=Ka×(ルート内の各リンクに関するSQ値の総和)+Kb×(ホップ数)
ただし、Ka,Kbは重み係数である。なお、以下では、Kb=0の場合について説明する。
For example, a value obtained by dividing the signal strength between nodes capable of direct communication into a plurality of stages (for example, 10 stages) and coding (hereinafter, this code is referred to as SQ (Signal Quality)) is used in the communication network. Communication quality between two nodes transmitting communication data is evaluated by a route cost obtained by the following equation. That is, the route cost becomes an evaluation value of communication quality.
(Route cost) = Ka × (sum of SQ values for each link in the route) + Kb × (hop count)
However, Ka and Kb are weighting factors. Hereinafter, a case where Kb = 0 is described.

通信データの出発点と到着点となるノードの間に中継する2個のノードの存在するルートがあり、各リンクのSQが、それぞれ3、4、5であれば、ルートコストは、Ka×(3+4+5)+Kb×3=12・Ka+3・Kbになる。   If there is a route with two nodes to be relayed between the node that is the starting point and the arriving point of communication data, and the SQ of each link is 3, 4, and 5, respectively, the route cost is Ka × ( 3 + 4 + 5) + Kb.times.3 = 12.Ka + 3.Kb.

ところで、ルートコストのうち各リンクごとのSQ値に重み係数Kaを乗じた値は、直接通信が可能な互いに隣接ノードとなる2個のノード間のリンクに関する通信品質の評価値であって、以下ではこの評価値をリンクコストと呼ぶ。リンクコストは、通信する2個のノード間において、どちらのノードを送信側とするかによって変化することがあるから、相手ノードからの信号の受信強度により得られるリンクコスト(受信側の通信品質の評価値)を受信リンクコストと呼び、自ノードから〜の信号を相手ノードが受信したときの受信強度により得られるリンクコスト(送信側の通信品質の評価値)を送信リンクコストと呼ぶ。   By the way, the value obtained by multiplying the SQ value for each link in the route cost by the weighting factor Ka is an evaluation value of the communication quality regarding the link between two nodes that are adjacent nodes capable of direct communication. Then, this evaluation value is called a link cost. The link cost may change depending on which node is the transmitting side between two communicating nodes. Therefore, the link cost obtained from the reception strength of the signal from the other node (the communication quality of the receiving side) (Evaluation value) is called a reception link cost, and a link cost (evaluation value of communication quality on the transmission side) obtained from the reception strength when the other node receives a signal from the own node is called a transmission link cost.

各ノードは隣接ノードに関して受信リンクコストおよび送信リンクコストを相手ノードのアドレスに対応付けて登録する隣接ノードテーブルを備える。通信ネットワーク内の各リンクのリンクコストは、受信リンクコストと送信リンクコストとのうち値の大きいほうを用いる。つまり、各リンクのリンクコストを通信品質の悪いほうで評価する。   Each node includes an adjacent node table that registers the received link cost and the transmitted link cost in association with the address of the counterpart node with respect to the adjacent node. As the link cost of each link in the communication network, the larger one of the reception link cost and the transmission link cost is used. That is, the link cost of each link is evaluated based on the worse communication quality.

隣接ノードテーブルは、図6に示すように、隣接ノードごとに付与されているアドレス(隣接ノードアドレス)と、隣接ノードごとの受信リンクコストと、隣接ノードごとの送信リンクコストとの各項目を登録するフィールドを備える。ルートコストは上述した演算により求められたルートコストである。ただし、ルートに含まれる各リンクのリンクコストは重み係数Kaをすでに乗じてあるから、Ka×(ルート内の各リンクに関するSQ値の総和)は、ルートに含まれる各リンクのリンクコストの総和によって求められる。上位コストについては後述する。なお、隣接ノードテーブルでは、実際には、上位コストに関するデータとして、ルート上のノードのアドレスとルートの各リンクのリンクコストとの情報を保持しているが、ここでは、説明を簡単にするために、上位コストをルート上のリンクコストの合計として扱いノードのアドレスについては考慮しない。   As shown in FIG. 6, the adjacent node table registers items such as an address assigned to each adjacent node (adjacent node address), a reception link cost for each adjacent node, and a transmission link cost for each adjacent node. Field. The route cost is a route cost obtained by the above-described calculation. However, since the link cost of each link included in the route has already been multiplied by the weighting factor Ka, Ka × (the sum of SQ values for each link in the route) is determined by the sum of the link costs of each link included in the route. Desired. The higher cost will be described later. Note that the adjacent node table actually holds information on the address of the node on the route and the link cost of each link of the route as data on the higher cost, but here, for the sake of simplicity of explanation. In addition, the higher cost is treated as the sum of the link costs on the route, and the address of the node is not considered.

まず、隣接する2個のノードに着目してリンクコストを取得する動作を説明する。1個のノードに複数のノードが隣接する場合であってもリンクコストを取得する基本的な手順は同様である。リンクコストの取得には、通信データとは別に適宜の時間間隔で送信するハローメッセージを用いる。各ノードはハローメッセージに自アドレスを含めてブロードキャスト送信により送信する。   First, an operation for acquiring a link cost by focusing on two adjacent nodes will be described. Even when a plurality of nodes are adjacent to one node, the basic procedure for acquiring a link cost is the same. In order to obtain the link cost, a hello message transmitted at an appropriate time interval is used separately from the communication data. Each node transmits the hello message including its own address by broadcast transmission.

いま、図5に示すように、リンクコストを求める2個のノードA,Bに着目し、ノードAが最初にハローメッセージを送信する場合を想定する。ノードAからハローメッセージH1を送信すると、ノードBがノードAが送信したハローメッセージH1を直接受信できる場合には、ノードBにおいて受信リンクコストを取得する。ノードBが取得した受信リンクコストは、図6(a)のように、ノードBの隣接ノードテーブルにおいて、ノードAの隣接ノードアドレスに対応付けて登録される(ここでは、受信リンクコストが「8」)。ハローメッセージH1の送信は適時に行うが、通常は一定の時間間隔で定期的に行う。   Now, as shown in FIG. 5, paying attention to the two nodes A and B for which the link cost is obtained, a case where the node A first transmits a hello message is assumed. When transmitting the hello message H1 from the node A, if the node B can directly receive the hello message H1 transmitted by the node A, the node B acquires the received link cost. The received link cost acquired by the node B is registered in association with the adjacent node address of the node A in the adjacent node table of the node B as shown in FIG. 6A (here, the received link cost is “8”). "). Although the hello message H1 is transmitted in a timely manner, it is usually periodically transmitted at regular time intervals.

次に、ノードBでは、ハローメッセージH1の送信元であるノードAのアドレスと受信リンクコストとを情報に含めたハローメッセージH2を送信する。このハローメッセージH2を受信したノードAでは、ハローメッセージH2によってノードBからの信号を受信したときの受信リンクコストを求めることができるから、図6(b)のように、この受信リンクコストをノードBのアドレスに対応付けて隣接ノードテーブルに登録する(ここでは、受信リンクコストが「5」)。また、ハローメッセージH2には、自アドレスと相手ノードBがハローメッセージH1を受信したときの受信リンクコストとが含まれているから、この受信リンクコストをノードAからノードBへの送信リンクコストとしノードBのアドレスに対応付けて隣接ノードテーブルに登録する(つまり、ノードBに対する送信リンクコストは「8」)。   Next, the node B transmits the hello message H2 including the address of the node A that is the transmission source of the hello message H1 and the received link cost. Since the node A that has received the hello message H2 can determine the received link cost when the signal from the node B is received by the hello message H2, the received link cost is set to the node as shown in FIG. It is registered in the adjacent node table in association with the address B (here, the received link cost is “5”). Further, since the hello message H2 includes the own address and the reception link cost when the partner node B receives the hello message H1, this reception link cost is set as the transmission link cost from the node A to the node B. It is registered in the adjacent node table in association with the address of Node B (that is, the transmission link cost for Node B is “8”).

その後、ノードAはふたたびハローメッセージH3を送信する。このハローメッセージH3は、ノードBからハローメッセージH2を受信したときの受信リンクコストとノードBのアドレスとを情報に含んでいる。したがって、ノードBではハローメッセージH3に含まれる情報としてノードAにハローメッセージH2を送信したときの送信リンクコストを取得することができる(つまり、ノードAに対する送信リンクコストは「5」)。ノードBでは、図6(c)のように、ノードAから受け取った受信リンクコストをノードBからノードAへの送信リンクコストとしノードAのアドレスに対応付けて隣接ノードテーブルに登録する。   After that, the node A transmits the hello message H3 again. The hello message H3 includes the received link cost and the address of the node B when the hello message H2 is received from the node B in the information. Therefore, the node B can acquire the transmission link cost when the hello message H2 is transmitted to the node A as the information included in the hello message H3 (that is, the transmission link cost for the node A is “5”). In the node B, as shown in FIG. 6C, the reception link cost received from the node A is set as the transmission link cost from the node B to the node A and registered in the adjacent node table in association with the address of the node A.

上述のように、互いに隣接ノードとなるノードA,Bの間では、ハローメッセージH1〜H3を3回送受信することにより、双方向のリンクコストを隣接ノードテーブルに登録することができる。また、上述の手順から明らかなように、3個のハローメッセージH1〜H3の送受信後には、隣接するノードの隣接ノードテーブルの内容は相補的な内容になる。ここに、相補的であるということは、一方の内容が失われても他方の内容を復元できることになる。   As described above, the bidirectional link cost can be registered in the adjacent node table by transmitting and receiving the hello messages H1 to H3 three times between the nodes A and B which are adjacent nodes. Further, as is apparent from the above-described procedure, after the transmission / reception of the three hello messages H1 to H3, the contents of the adjacent node table of the adjacent nodes become complementary contents. Here, being complementary means that even if one content is lost, the other content can be restored.

ところで、実際の通信ネットワークは、図7に示すように、多数個(図示例では7個)のノードN0〜N6を含んでいる。ノードN0〜N6は対等に扱うことが可能であるが、ここでは、1つのノードN0を親ノードとしたマスタースレーブ型の通信ネットワークを用いて説明する。マスタースレーブ型の通信ネットワークでは、親ノードN0を除く他のノードN1〜N6は子ノードであり、通信データを伝送するルートの一端は親ノードN0になり、他端はいずれかの子ノードN1〜N6になる。マスタースレーブ型の通信ネットワークでは、通信データを伝送するルートの一端になる子ノードN1〜N6を除く子ノードN1〜N6は、必要に応じて通信を中継する。各子ノードN1〜N6は親ノードN0との間に介在する子ノードN1〜N6の個数が多いほど(つまり、ホップ数が大きいほど)下位であるということができる。どの子ノードN1〜N6が親ノードN0との間のルートに含まれて中継を行うかは、以下に説明する手順で決められる。また、マスタースレーブ型の通信ネットワークは説明の都合上で用いるが、各ノードN0〜N6は対等な関係であってもよい。   Incidentally, the actual communication network includes a large number (seven in the illustrated example) of nodes N0 to N6 as shown in FIG. Although the nodes N0 to N6 can be handled equally, here, description will be made using a master-slave type communication network in which one node N0 is a parent node. In the master-slave type communication network, the other nodes N1 to N6 other than the parent node N0 are child nodes, one end of the route for transmitting communication data is the parent node N0, and the other end is one of the child nodes N1 to N6. Become. In the master-slave type communication network, the child nodes N1 to N6 excluding the child nodes N1 to N6 that become one end of the route for transmitting communication data relay communication as necessary. Each child node N1 to N6 can be said to be lower as the number of child nodes N1 to N6 intervening with the parent node N0 increases (that is, as the number of hops increases). Which child node N1 to N6 is included in the route with the parent node N0 and relays is determined by the procedure described below. Further, although a master-slave type communication network is used for convenience of explanation, the nodes N0 to N6 may have an equal relationship.

上述したように、隣接するノードN0〜N6の間ではハローメッセージH1〜H3を3回送受信することにより、受信リンクコストと送信リンクコストとを取得することができる。   As described above, the reception link cost and the transmission link cost can be acquired by transmitting and receiving the hello messages H1 to H3 three times between the adjacent nodes N0 to N6.

ここで、図7に示す通信ネットワーク(ネットワークトポロジは、リンクコストの取得途中で変化しないものとする)について考察する。マルチホップ通信ネットワークでは、隣接ノードテーブルにデータが登録されるまでは、中継なしに直接通信することができるノードN0〜N6が未知であるから、隣接ノードを探索するために送信するハローメッセージH1〜H3はブロードキャストで送信される。   Here, the communication network shown in FIG. 7 (the network topology is assumed not to change during acquisition of the link cost) is considered. In a multi-hop communication network, until data is registered in the adjacent node table, nodes N0 to N6 that can be directly communicated without relay are unknown, so the hello messages H1 to H1 that are transmitted to search for adjacent nodes are unknown. H3 is transmitted by broadcast.

すなわち、各ノードN0〜N6では、それぞれブロードキャストによってハローメッセージ(ハローメッセージH1に相当)を送信する。ただし、マスタースレーブ型の通信ネットワークであるから、親ノードN0からハローメッセージの送信を開始する。親ノードN0に隣接する子ノードN1,N2がハローメッセージを受信すると、子ノードN1,N2は、図5および図6を用いて説明した手順で親ノードN0との間で受信リンクコストおよび送信リンクコストを求める。   That is, each of the nodes N0 to N6 transmits a hello message (corresponding to the hello message H1) by broadcasting. However, since it is a master-slave type communication network, transmission of a hello message is started from the parent node N0. When the child nodes N1 and N2 adjacent to the parent node N0 receive the hello message, the child nodes N1 and N2 receive the link cost and the transmission link with the parent node N0 according to the procedure described with reference to FIGS. Find the cost.

子ノードN1,N2が送信リンクコストを取得すると、各子ノードN1,N2はブロードキャストによってハローメッセージを送信する。親ノードN0は、受信リンクコストおよび送信リンクコストをすでに取得しているが、子ノードN1,N2が送信したハローメッセージ(ハローメッセージH1に相当)に応答する。このような動作を順次繰り返すことによって、各子ノードN1〜N6は隣接するノードとの間の受信リンクコストおよび送信リンクコストを取得し、隣接ノードテーブルに隣接ノードとの間の受信リンクコストおよび送信リンクコストを登録する。   When the child nodes N1 and N2 acquire the transmission link cost, each of the child nodes N1 and N2 transmits a hello message by broadcasting. The parent node N0 has already acquired the reception link cost and the transmission link cost, but responds to the hello message (corresponding to the hello message H1) transmitted by the child nodes N1 and N2. By repeating such an operation sequentially, each of the child nodes N1 to N6 acquires the reception link cost and the transmission link cost with the adjacent node, and the reception link cost and the transmission with the adjacent node in the adjacent node table. Register the link cost.

子ノードN6を例として、受信リンクコストの取得後に送信リンクコストを取得するまでの手順をさらに詳しく説明する。子ノードN6は、隣接する子ノードN1,N3,N4,N5からハローメッセージを受信するから、図8に示すように、各子ノードN1,N3,N4,N5ごとの受信リンクコストを隣接ノードアドレスに対応付けて隣接ノードテーブルに登録する。   Taking the child node N6 as an example, the procedure from acquisition of the reception link cost to acquisition of the transmission link cost will be described in more detail. Since the child node N6 receives the hello message from the adjacent child nodes N1, N3, N4, and N5, as shown in FIG. 8, the received link cost for each child node N1, N3, N4, and N5 is set to the adjacent node address. And registered in the adjacent node table.

ここで、各子ノードN1,N3,N4,N5よりも上位のノードについては、それぞれが受信リンクコストと送信リンクコストを保有しているから、受信リンクコストと送信リンクコストとの大きいほうを当該子ノードN1,N3,N4,N5のリンクコストとし、上位の各子ノードN1,N3,N4,N5のいずれかを通って親ノードN0に至るルートについて、各子ノードN1,N3,N4,N5ごとにリンクコストの和の最小値を求める。このようにして求めた最小値を、各子ノードN1,N3,N4,N5ごとの「上位コスト」と呼ぶ。この時点では、子ノードN6は、隣接する各子ノードN1,N3,N4,N5との間の送信リンクコストを取得していないが、子ノードN1,N3,N4,N5では送信リンクコストをすでに取得して上位コストを決定しているのである。上位コストも隣接ノードテーブルに登録される。上述したように、上位コストに関する情報は、実際には、各子ノードN1,N3,N4,N5から親ノードN0までのルート上の各ノードのアドレスと各リンクのリンクコストとの個々の情報として登録されており、上位コストを求めるにはルート上のリンクについてリンクコストの総和を求める。   Here, since each of the nodes higher than the child nodes N1, N3, N4, and N5 has a reception link cost and a transmission link cost, the larger of the reception link cost and the transmission link cost The link costs of the child nodes N1, N3, N4, and N5 are used, and the child nodes N1, N3, N4, and N5 are routed to reach the parent node N0 through any one of the upper child nodes N1, N3, N4, and N5. Each time, the minimum value of the sum of link costs is obtained. The minimum value obtained in this way is called “higher cost” for each of the child nodes N1, N3, N4, and N5. At this time, the child node N6 has not acquired the transmission link cost between the adjacent child nodes N1, N3, N4, and N5. However, the child node N1, N3, N4, and N5 have already acquired the transmission link cost. It is obtained and the upper cost is determined. The higher cost is also registered in the adjacent node table. As described above, the information on the higher-order cost is actually as individual information on the address of each node on the route from each child node N1, N3, N4, N5 to the parent node N0 and the link cost of each link. In order to obtain the higher-order cost that has been registered, the sum of the link costs is obtained for the links on the route.

いま、図7における各ノードN0〜N6の間で、子ノードN1,N3,N4,N5と子ノードN6との間を除いては送信リンクコストが決定され、その値が隣接するノードN0〜N5を結ぶ直線(リンク)に対応付けて表記した値であるものとする。また、子ノードN1,N3,N4,N5と子ノードN6との間では、ハローメッセージの検出によって、受信リンクコストのみが既知になっているものとする(図7において*を付記した値は受信リンクコストである)。   Now, the transmission link cost is determined between the nodes N0 to N6 in FIG. 7 except between the child nodes N1, N3, N4 and N5 and the child node N6, and the value is determined by the adjacent nodes N0 to N5. It is assumed that the value is described in association with a straight line (link) connecting. Also, it is assumed that only the received link cost is known by detecting the hello message between the child nodes N1, N3, N4, N5 and the child node N6 (values marked with * in FIG. 7 are received). Link cost).

図7によれば、子ノードN1,N3,N4,N5が送出したハローメッセージを子ノードN6が受信することにより取得される受信リンクコストは、それぞれ15,28,6,7であり、図8に示すように、子ノードN6の隣接ノードテーブルに、子ノードN1,N3,N4,N5のアドレスが隣接ノードアドレスとして登録されるとともに、それぞれの受信リンクコストが登録される。   According to FIG. 7, the received link costs acquired when the child node N6 receives the hello message sent from the child nodes N1, N3, N4, and N5 are 15, 28, 6, and 7, respectively. As shown in FIG. 4, the addresses of the child nodes N1, N3, N4, and N5 are registered as the adjacent node addresses in the adjacent node table of the child node N6, and the received link costs are registered.

図8の例では、各子ノードN1,N3,N4,N5ごとの親ノードN0へのルートの中でリンクコストが最小になるのは、それぞれ親ノードN0、子ノードN1→親ノードN0、子ノードN2→親ノードN0(または子ノードN1→親ノードN0)、子ノードN3→子ノードN1→親ノードN0のルートであって、各ルートの送信リンクコストの総和(つまり、上位コスト)は、それぞれ11,20(=11+9),30(=20+10または=11+9+10),16(=11+5)になる。   In the example of FIG. 8, the link cost is the smallest among the routes to the parent node N0 for each of the child nodes N1, N3, N4, and N5. The parent node N0, the child node N1 → the parent node N0, The route of the node N2 → the parent node N0 (or the child node N1 → the parent node N0), the child node N3 → the child node N1 → the parent node N0, and the sum of the transmission link costs of each route (that is, the higher cost) is 11, 20 (= 11 + 9), 30 (= 20 + 10 or = 11 + 9 + 10), 16 (= 11 + 5), respectively.

そこで、隣接する各子ノードN1,N3,N4,N5と着目する子ノードN6との間の受信リンクコストと、隣接する各子ノードN1,N3,N4,N5のそれぞれの上位コストとの加算値を、着目する子ノードN6から親ノードN0への送信リンクコストを反映する仮のルートコストとする。このようにして求めた仮のルートコストは、着目する子ノードN6の隣接ノードテーブルにおいて、隣接する各子ノードN1,N3,N4,N5に対応付けて「ルートコスト」の項目に登録される。図8において、ルートコストに*を付記しているのは、上位コストと受信リンクコストとによって求めた仮のルートコストであることを示す。   Therefore, the added value of the reception link cost between each adjacent child node N1, N3, N4, N5 and the child node N6 of interest and the upper cost of each adjacent child node N1, N3, N4, N5 Is a provisional route cost reflecting the transmission link cost from the child node N6 of interest to the parent node N0. The temporary route cost obtained in this way is registered in the item of “route cost” in association with each adjacent child node N1, N3, N4, N5 in the adjacent node table of the child node N6 of interest. In FIG. 8, the addition of * to the route cost indicates a provisional route cost obtained from the higher cost and the received link cost.

ところで、子ノードN6の隣接ノードテーブルにおいて送信リンクコストを求めるには、子ノードN6から隣接する各子ノードN1,N3,N4,N5のそれぞれにハローメッセージを送信する必要がある。ただし、子ノードN6から親ノードN0へのルートが複数存在する場合には、リンクコストの総和がなるべく小さいルートを選択するのが望ましい。   By the way, in order to obtain the transmission link cost in the adjacent node table of the child node N6, it is necessary to transmit a hello message from the child node N6 to each of the adjacent child nodes N1, N3, N4, and N5. However, when there are a plurality of routes from the child node N6 to the parent node N0, it is desirable to select a route with the smallest possible link cost.

上述した例では、着目する子ノードN6に隣接する子ノードN1,N3,N4,N5が4個あり、各子ノードN1,N3,N4,N5を通って親ノードN0に至るルートについて、各子ノードN1,N3,N4,N5ごとにそれぞれリンクコストの総和の最小値を上位コストとして求めているから、上位コストを求めた4種類のルートについて通信品質(リンクコスト)を比較すれば、着目する子ノードN6が親ノードN0に情報を送信するのに適したルートを選択することができると考えられる。   In the example described above, there are four child nodes N1, N3, N4, and N5 adjacent to the child node N6 of interest, and each child node N1, N3, N4, and N5 passes through each child node N1, N3, N4, and N5. Since the minimum value of the sum of the link costs is obtained as the higher cost for each of the nodes N1, N3, N4, and N5, attention is given if the communication quality (link cost) is compared for the four types of routes for which the higher cost is obtained. It is considered that the child node N6 can select a route suitable for transmitting information to the parent node N0.

そこで、着目する子ノードN6から親ノードN0に向かうルートを仮のルートコストによって評価する。ここで、子ノードN6に隣接する4個の各子ノードN1,N3,N4,N5に対して、着目する子ノードN6からそれぞれハローメッセージを送信してもよいが、実際に用いるルートは1種類であるから、予備のルートを含めて通信品質の上位から適数個のルート(2ルート程度)を選択してハローメッセージを送信する。図8の例では、着目する子ノードN6に隣接する子ノードN1,N3,N4,N5のうち、仮のルートコストが上位の2番までになっているのが、子ノードN1と子ノードN5とであるから、この2個の子ノードN1,N5に対してのみ子ノードN6からハローメッセージ(図5のハローメッセージH2に相当)を送信する。   Therefore, the route from the child node N6 of interest to the parent node N0 is evaluated based on the temporary route cost. Here, the target child node N6 may transmit a hello message to each of the four child nodes N1, N3, N4, and N5 adjacent to the child node N6, but one type of route is actually used. Therefore, an appropriate number of routes (about two routes) are selected from the highest communication quality including the spare route, and a hello message is transmitted. In the example of FIG. 8, the child nodes N1, N3, N4, and N5 adjacent to the child node N6 of interest have temporary route costs up to the second highest, that is, the child node N1 and the child node N5. Therefore, the hello message (corresponding to the hello message H2 in FIG. 5) is transmitted from the child node N6 only to the two child nodes N1 and N5.

このハローメッセージを受け取った子ノードN1,N5は、ハローメッセージ(図5のハローメッセージH3に相当)を用いて子ノードN6に対して、子ノードN1,N5に登録した受信リンクコストを返送する。すなわち、図9のように、子ノードN6では子ノードN1,N5に対する送信リンクコストを取得することができる。このように送信リンクコストを取得した子ノードN1,N5を通って親ノードN0に至るルートについては、送信リンクコストと上位コストとを加算することによって、仮のルートコストではなく正式のルートコストを得ることができるから、ルートコストの値を更新する。すなわち、図9のように、送信リンクコストを取得したノードN1,N5に対しては正式のルートコストが求められ、他のノードN3,N4に対しては仮のルートコストが用いられる。   Receiving this hello message, the child nodes N1 and N5 use the hello message (corresponding to the hello message H3 in FIG. 5) to return the received link cost registered in the child nodes N1 and N5 to the child node N6. That is, as shown in FIG. 9, the child node N6 can acquire the transmission link cost for the child nodes N1 and N5. As for the route that reaches the parent node N0 through the child nodes N1 and N5 that have acquired the transmission link cost in this way, by adding the transmission link cost and the higher-order cost, the formal route cost is obtained instead of the temporary route cost. Since it can be obtained, the value of the route cost is updated. That is, as shown in FIG. 9, a formal route cost is obtained for the nodes N1 and N5 that have acquired the transmission link cost, and a temporary route cost is used for the other nodes N3 and N4.

上述の手順によって、親ノードN0との通信を行う子ノードN6において、子ノードN1,N5が通信を中継する2つのルートについて正式のルートコストが得られる。正式のルートコストが得られていることは、隣接ノードについて受信リンクコストと送信リンクコストとの双方向のリンクコストが求められていることになるから、以下では、この状態を「2WAY」と呼び、隣接ノードについて受信リンクコストのみが得られている場合を「1WAY」と呼ぶ。また、リンクコストが得られていないか隣接ノードが消失した状態を「LOST」と呼ぶ。   By the above-described procedure, in the child node N6 that communicates with the parent node N0, the formal route cost is obtained for the two routes that the child nodes N1 and N5 relay the communication. The fact that the official route cost is obtained means that a bidirectional link cost between the reception link cost and the transmission link cost is required for the adjacent node. Hereinafter, this state is referred to as “2WAY”. The case where only the reception link cost is obtained for the adjacent node is referred to as “1WAY”. The state where the link cost is not obtained or the adjacent node has disappeared is called “LOST”.

子ノードN6が親ノードN0と通信を行う際には、ルートコスト(親ノードN0に向かうリンクコストの総和)が最小であるルートを最良のルートとして選択する。このようなルートの探索および選択には、たとえば、ダイクストラ法などの最少リンクコストルート選択アルゴリズムを用いればよい。選択されたルートは、トポロジ通知メッセージを用いて親ノードN0に通知され、親ノードN0では子ノードN6までのルート情報を入手することができる。トポロジ通知メッセージは適時に送信すればよいが、通常は一定の時間間隔で定期的に送信される。   When the child node N6 communicates with the parent node N0, the route having the minimum route cost (the sum of the link costs toward the parent node N0) is selected as the best route. For such route search and selection, for example, a minimum link cost route selection algorithm such as Dijkstra method may be used. The selected route is notified to the parent node N0 using the topology notification message, and the parent node N0 can obtain route information to the child node N6. The topology notification message may be transmitted in a timely manner, but is normally transmitted periodically at regular time intervals.

つまり、図9の例では、子ノードN5を通るルートについてルートコストが得られているから、子ノードN6→子ノードN5→子ノードN1→親ノードN0のルートを用いてトポロジ通知メッセージが送信される。このとき、子ノードN6は、子ノードN5だけではなく、正式のルートコストを求めた2個の子ノードN1,N5についてのルートコストをトポロジ通知メッセージに情報として含め、ユニキャストで子ノードN5に送信する。子ノードN5から親ノードN0までに経由する子ノードN1は、子ノードN5において既知であるから、子ノードN5は子ノードN6から受け取ったトポロジ通知メッセージの内容をユニキャストで子ノードN1に送信する。同様にして子ノードN1は親ノードN0に向かってトポロジ通知メッセージを送信する。親ノードN0では、受信したトポロジ通知メッセージの内容を用いて、子ノードN6との間のネットワークトポロジを把握する。   That is, in the example of FIG. 9, since the route cost is obtained for the route passing through the child node N5, the topology notification message is transmitted using the route of the child node N6 → the child node N5 → the child node N1 → the parent node N0. The At this time, the child node N6 includes not only the child node N5 but also the route cost for the two child nodes N1 and N5 for which the official route cost has been obtained as information in the topology notification message, and unicasts to the child node N5. Send. Since the child node N1 passing from the child node N5 to the parent node N0 is known in the child node N5, the child node N5 transmits the contents of the topology notification message received from the child node N6 to the child node N1 by unicast. . Similarly, the child node N1 transmits a topology notification message toward the parent node N0. The parent node N0 grasps the network topology with the child node N6 using the content of the received topology notification message.

各子ノードN1〜N6の隣接ノードテーブルに受信リンクコストおよび送信リンクコストを登録するために用いられるハローメッセージは、図10に示すように、送信元であるノードの自アドレスSIDと、メッセージの種類を示すタイプTYと、送信元のノードの種類を示すノード種別NCと、ハローメッセージの内容に応じて4種類から少なくとも1種類が選択されるサブメッセージSB1,SB2,SB3,SB4とを有している。   As shown in FIG. 10, the hello message used to register the reception link cost and the transmission link cost in the adjacent node table of each child node N1 to N6 includes the own address SID of the node that is the transmission source, and the message type. TY indicating node type, node type NC indicating the type of the source node, and sub-messages SB1, SB2, SB3, and SB4 in which at least one type is selected from four types according to the content of the hello message. Yes.

ハローメッセージでは、タイプTYはハローメッセージを示し、ノード種別NCはハローメッセージの送信元であるから親ノードの場合と子ノードの場合とがある。図5に示したハローメッセージH1,H2,H3はタイプTYは同じであるが、それぞれ異なるサブメッセージSB1,SB2,SB3,SB4を有している。   In the hello message, the type TY indicates a hello message, and the node type NC is the source of the hello message, so there are cases of a parent node and a child node. The Hello messages H1, H2, and H3 shown in FIG. 5 have the same type TY but have different sub-messages SB1, SB2, SB3, and SB4.

サブメッセージSB1は、各子ノードN1〜N6が親ノードN0との通信の際に形成するルートのホップ数(つまり、親ノードN0までのノード数)と、ルート上の各ノードのアドレスおよび各ノード間のリンクコストの情報を持ち、図5のハローメッセージH1の内容として下位の子ノードN1〜N6に伝送される。サブメッセージSB1の内容を受信した下位の子ノードN1〜N6は上位コストを知ることができる。   The sub message SB1 includes the number of hops of the route that each child node N1 to N6 forms when communicating with the parent node N0 (that is, the number of nodes up to the parent node N0), the address of each node on the route, and each node. The link cost information is transmitted to the lower child nodes N1 to N6 as the contents of the hello message H1 in FIG. The lower child nodes N1 to N6 that have received the content of the sub message SB1 can know the upper cost.

サブメッセージSB2は、隣接ノードについて受信リンクコストのみが得られている「1WAY」の子ノードN1〜N6が、受信リンクコストが上位である適数個の隣接ノードについて、アドレスおよびリンクコスト(相手ノードの送信リンクコスト)の情報を持ち、図5のハローメッセージH2の内容としてハローメッセージH1の送信元である上位のノードに伝送される。   The sub-message SB2 indicates that the child nodes N1 to N6 of “1WAY” for which only the reception link cost is obtained for the adjacent nodes are the addresses and link costs (partner nodes) for an appropriate number of adjacent nodes having higher reception link costs. The transmission link cost) is transmitted to the upper node that is the transmission source of the hello message H1 as the content of the hello message H2 in FIG.

サブメッセージSB3は、受信リンクコストと送信リンクコストとが得られている「2WAY」のノードが、ハローメッセージH2により検出した受信リンクコストを相手側の子ノードN1〜N6に返送する際に用いる。つまり、下位の隣接ノードのアドレスおよびリンクコスト(相手ノードの送信リンクコスト)の情報をもち、図5のハローメッセージH3の内容として下位の子ノードN1〜N6に伝送される。   The sub message SB3 is used when the node “2WAY” from which the reception link cost and the transmission link cost are obtained returns the reception link cost detected by the hello message H2 to the child nodes N1 to N6 on the other side. That is, it has information on the address and link cost of the lower adjacent node (transmission link cost of the partner node), and is transmitted to the lower child nodes N1 to N6 as the contents of the hello message H3 in FIG.

サブメッセージSB4は、ハローメッセージによって隣接ノードの消失を検出したときに(上位ノードのハローメッセージに対して下位ノードの応答がないときに)消失した隣接ノードのアドレスを親ノードN0に向かって通知する際に用いられ、消失した隣接ノードのアドレスおよびリンクコストを情報に持つ。   The sub message SB4 notifies the parent node N0 of the address of the adjacent node that is lost when the loss of the adjacent node is detected by the hello message (when the lower node does not respond to the hello message of the upper node). The information includes the address and link cost of the adjacent node that has been used and disappeared.

したがって、各サブメッセージSB1,SB2,SB3,SB4は、図11に示すように、サブメッセージタイプSTYにより4種類のサブメッセージSB1,SB2,SB3,SB4を区別し、サブメッセージSB1,SB2,SB3,SB4に含まれるノード数(サブメッセージSB1では親ノードN0までのホップ数)LNと、各ノードのアドレスNIDおよびリンクコストLCとの情報を持つ可変長のフォーマットを有する。   Therefore, each sub message SB1, SB2, SB3, SB4 distinguishes four types of submessages SB1, SB2, SB3, SB4 by sub message type STY as shown in FIG. It has a variable-length format having information on the number of nodes included in SB4 (the number of hops to the parent node N0 in the sub message SB1), the address NID of each node, and the link cost LC.

上述のように、ハローメッセージH1には、送信元の子ノードN1〜N6から親ノードN0までのルート上のノードのアドレスおよびリンクコストが含まれるから、ハローメッセージH1を受信した下位の子ノードN1〜N6の隣接ノードテーブルには、図12に示すように、親ノードN0までの各ノードごとに1ホップ目から順にリンクコスト(LC)およびアドレス(NID)が個別に保持される。このようなノードごとのリンクコストおよびアドレスが図6の上位コストの内容に相当する。また、図12に示す隣接ノードテーブルでは、リンク状態(1WAY、2WAY、LOST)を項目に備えている。リンク状態に相当する情報は、受信リンクコストと送信リンクコストとの情報の有無によっても知ることが可能である。   As described above, since the hello message H1 includes the addresses and link costs of the nodes on the route from the child nodes N1 to N6 of the transmission source to the parent node N0, the lower child node N1 that has received the hello message H1. In the adjacent node table of N6, as shown in FIG. 12, the link cost (LC) and the address (NID) are individually held in order from the first hop for each node up to the parent node N0. The link cost and address for each node correspond to the contents of the higher cost in FIG. In the adjacent node table shown in FIG. 12, the link status (1WAY, 2WAY, LOST) is included in the item. The information corresponding to the link state can be known by the presence / absence of information on the reception link cost and the transmission link cost.

トポロジ通知メッセージは、図13に示すように、メッセージの種類を示すタイプTYと、送信元のノードの種類を示すノード種別NCと、3種類のサブメッセージSb1,Sb2,Sb3とのフィールドを備える。つまり、トポロジ通知メッセージのフォーマットはハローメッセージとほぼ同様である。ただし、サブメッセージSb1,Sb2,Sb3の内容は異なる。   As shown in FIG. 13, the topology notification message includes fields of a type TY indicating the type of message, a node type NC indicating the type of the transmission source node, and three types of sub messages Sb1, Sb2, and Sb3. That is, the format of the topology notification message is almost the same as that of the hello message. However, the contents of the sub messages Sb1, Sb2, and Sb3 are different.

トポロジ通知メッセージでは、タイプTYはトポロジ通知メッセージを示し、ノード種別NCはトポロジ通知メッセージの送信元のノードであるから子ノードになる。   In the topology notification message, the type TY indicates a topology notification message, and the node type NC is a child node because it is a node that is the transmission source of the topology notification message.

サブメッセージSb1は、親ノードN0へのルートを示し、トポロジ通知メッセージの送信元である子ノード(上述の例では子ノードN6)を含めて、親ノードN0までのルートに含まれる子ノード(上述の例では、子ノードN6,N5,N1)のアドレスが順に並べられる。つまり、ハローメッセージにおけるサブメッセージSb1とほぼ同様の内容になるが、自ノードのアドレスを含む点が相違する。   The sub message Sb1 indicates a route to the parent node N0 and includes child nodes (child node N6 in the above example) including the child node (child node N6 in the above example) included in the route to the parent node N0. In this example, the addresses of the child nodes N6, N5, N1) are arranged in order. That is, the content is almost the same as that of the sub message Sb1 in the hello message, except that the address of the own node is included.

サブメッセージSb2は、送信元の子ノード(上述の例では子ノードN6)に隣接する上位側のノードのうちルートコストを求めた子ノード(上述の例では子ノードN1,N5)のアドレスが並べられる。   The sub message Sb2 includes the addresses of the child nodes (child nodes N1 and N5 in the above example) for which the root cost is obtained among the higher-level nodes adjacent to the child node of the transmission source (child node N6 in the above example). It is done.

サブメッセージSb3は、隣接ノードであったノードのうち隣接ノードではなくなったノードのアドレスである。つまり、子ノード(上述の例では子ノードN6)から親ノードN0へのルートを形成しなくなった子ノードを親ノードN0に通知する。   The sub message Sb3 is an address of a node that is no longer an adjacent node among nodes that are adjacent nodes. That is, the child node that has not formed a route from the child node (child node N6 in the above example) to the parent node N0 is notified to the parent node N0.

各サブメッセージSb1,Sb2,Sb3は可変長である。また、サブメッセージSb1はトポロジ通知メッセージに必須であって省略することはできないが、サブメッセージSb2,Sb3は省略することが可能である。   Each sub message Sb1, Sb2, Sb3 has a variable length. The sub message Sb1 is essential for the topology notification message and cannot be omitted, but the sub messages Sb2 and Sb3 can be omitted.

(実施形態)
本実施形態は、上述した基本構成に以下の機能を付加したものである。以下の説明では、基本構成と同様に、親ノードN0と子ノードN1〜N6とを備えるマスタースレーブ型の通信ネットワークを想定するが、以下に説明する技術は、マスタースレーブ型以外の通信ネットワークにおいても適用可能である。
(Embodiment)
In the present embodiment, the following functions are added to the basic configuration described above. In the following description, similarly to the basic configuration, a master-slave type communication network including a parent node N0 and child nodes N1 to N6 is assumed. However, the technology described below is applicable to communication networks other than the master-slave type. Applicable.

ノードNは、通信機能を備えるとともに後述する処理を行うマイクロコンピュータを備えた通信端末であって、図1に示すように、通信手段11を備える。通信手段11は、通信データを送受信するほか、ハローメッセージやトポロジ通知メッセージの送受信なども行っている。   The node N is a communication terminal having a communication function and a microcomputer that performs processing to be described later, and includes a communication unit 11 as shown in FIG. The communication unit 11 transmits and receives communication data, and also transmits and receives hello messages and topology notification messages.

ノードNには、上述したように隣接ノードテーブルTb1が設けられる。隣接ノードテーブルTb1の内容は、上述したように、隣接ノードアドレス、受信リンクコスト、送信リンクコストなどであり、通信品質取得手段12が通信手段11を介して他のノードとの間でハローメッセージを送受信することにより、隣接ノードテーブルTb1の内容が登録される。ハローメッセージには自アドレスが含まれる。   The node N is provided with the adjacent node table Tb1 as described above. As described above, the contents of the adjacent node table Tb1 are the adjacent node address, the reception link cost, the transmission link cost, etc., and the communication quality acquisition means 12 sends a hello message to other nodes via the communication means 11. By transmitting and receiving, the contents of the adjacent node table Tb1 are registered. The hello message includes its own address.

本実施形態では、たとえば、通信ネットワークに新規のノードNが参入する場合、既存のノードNとの間のリンクコストが変化した場合、既存のノードNが消失した場合などに対応して隣接ノードテーブルTb1のリンクコストを更新するものであり、そのため、サブメッセージSB2,SB3,SB4を持たない(ただし、SB1はあってもよい)ハローメッセージHaと、上述したいずれかのサブメッセージSB2、SB3,SB4を持つハローメッセージHb,Hc,Hdとを用いる。以下では、サブメッセージを持たないハローメッセージを第1のハローメッセージHaと呼び、サブメッセージSB2を持つハローメッセージを第2のハローメッセージHbと呼ぶ。   In the present embodiment, for example, when a new node N enters the communication network, a link cost with the existing node N changes, or an existing node N disappears, the adjacent node table corresponds to the case. The link cost of Tb1 is updated. Therefore, the hello message Ha which does not have the sub messages SB2, SB3 and SB4 (however, SB1 may be present) and any of the sub messages SB2, SB3 and SB4 described above. Hello messages Hb, Hc, and Hd having Hereinafter, a hello message having no sub message is referred to as a first hello message Ha, and a hello message having a sub message SB2 is referred to as a second hello message Hb.

ノードNには、隣接ノードからの第1のハローメッセージHaを通信手段11が受信したときに、第1のハローメッセージHaから受信リンクコストを求めて隣接ノードテーブルTb1に登録する通信品質取得手段12が設けられている。さらに、ノードNには、隣接ノードとの間のリンクコストを確認するためのリンク確認手段13が設けられる。リンク確認手段13は、第1のハローメッセージHaを送信する通常モードと、第2のハローメッセージHbを送信する確認モードとの2種類の動作モードを有している。リンク確認手段13が通信手段11を通して第2のハローメッセージHbを送信すると、隣接ノードに対してノードNの自アドレスとともに隣接ノードから自ノードへの送信リンクコストを与えることができる。   In the node N, when the communication unit 11 receives the first hello message Ha from the adjacent node, the communication quality acquisition unit 12 obtains the received link cost from the first hello message Ha and registers it in the adjacent node table Tb1. Is provided. Further, the node N is provided with a link confirmation unit 13 for confirming a link cost with an adjacent node. The link confirmation means 13 has two types of operation modes, a normal mode for transmitting the first hello message Ha and a confirmation mode for transmitting the second hello message Hb. When the link confirmation unit 13 transmits the second hello message Hb through the communication unit 11, the transmission link cost from the adjacent node to the own node can be given to the adjacent node together with the own address of the node N.

ノードNは、通信手段11が受信した第2のハローメッセージHbに自ノードのアドレスが含まれているときに、自ノードに付随する送信リンクコストを隣接ノードテーブルTb1に登録する通信品質登録手段14も備える。リンク確認手段13は、通信品質登録手段14が自ノードのアドレスを含む第2のハローメッセージHbを検出したときに、サブメッセージSB3,SB4を含むハローメッセージHc,Hdを送信する機能も備え、また通信品質登録手段14は、ハローメッセージHc,Hdを受信したときに隣接ノードテーブルTb1に対して後述する処理を行う機能を備える。   When the second hello message Hb received by the communication unit 11 includes the address of the own node, the node N registers the transmission link cost associated with the own node in the adjacent node table Tb1. Also equipped. The link confirmation unit 13 has a function of transmitting hello messages Hc and Hd including the sub messages SB3 and SB4 when the communication quality registration unit 14 detects the second hello message Hb including the address of the own node. The communication quality registration unit 14 has a function of performing processing to be described later on the adjacent node table Tb1 when the hello messages Hc and Hd are received.

以下、ノードNの動作を説明する。リンク確認手段13が通常モードで動作しているときには、第1のハローメッセージHaを一定時間毎に送信する。第1のハローメッセージHaはサブメッセージを持たず(ただし、SB1だけ持つ場合もある)データ長が短いから通信ネットワークのトラフィックを大幅に増加させることがない。   Hereinafter, the operation of the node N will be described. When the link confirmation means 13 is operating in the normal mode, the first hello message Ha is transmitted at regular intervals. The first hello message Ha does not have a sub message (but may have only SB1) and has a short data length, so the traffic on the communication network is not significantly increased.

一方、以下で説明する事象が生じたときには、リンク確認手段13は確認モードに移行する。確認モード確認モードでは、隣接ノードテーブルTb1に登録されている隣接ノードのうち規定の条件を満たす隣接ノードのアドレスおよび受信リンクコストを含む第2のハローメッセージHbを制限された送信回数内で送信する。制限された送信回数内で送信するとは、第2のハローメッセージHbの送信回数の最大値が制限されており、しかも第2のハローメッセージHbの送信後に当該ノードNが隣接ノードから自アドレスを含むハローメッセージHcを受信すると、送信回数が最大値に達していなくとも第2のハローメッセージHbの送信を終了することを意味している。したがって、第2のハローメッセージHbの1回の送信に隣接ノードが応答してサブメッセージSB3に自アドレスを含むハローメッセージHcを受信すると、第2のハローメッセージHbの送信を終了するが、ハローメッセージHcが得られなければ制限された送信回数の範囲内で第2のハローメッセージHbを繰り返して送信する。送信回数の制限は、回数自体で制限する場合と、有効期限を設定して時間により送信回数を制限する場合とがある。以下では、回数自体で送信回数を制限する場合について説明する。   On the other hand, when an event described below occurs, the link confirmation unit 13 shifts to the confirmation mode. In the confirmation mode confirmation mode, the second hello message Hb including the address of the adjacent node satisfying the prescribed condition and the reception link cost among the adjacent nodes registered in the adjacent node table Tb1 is transmitted within the limited number of transmissions. . To transmit within the limited number of transmissions, the maximum number of transmissions of the second hello message Hb is limited, and the node N includes its own address from the adjacent node after the transmission of the second hello message Hb. When the hello message Hc is received, it means that the transmission of the second hello message Hb is ended even if the number of transmissions does not reach the maximum value. Therefore, when the adjacent node responds to one transmission of the second hello message Hb and receives the hello message Hc including its own address in the sub message SB3, the transmission of the second hello message Hb is terminated. If Hc is not obtained, the second hello message Hb is repeatedly transmitted within the limited number of transmissions. The number of transmissions may be limited by the number of times itself or when the expiration date is set and the number of transmissions is limited by time. Hereinafter, a case where the number of transmissions is limited by the number of times itself will be described.

リンク確認手段13を確認モードに移行させて第2のハローメッセージHbを送信させる事象としては、自ノードが通信ネットワークに新規に参入した場合や新たな隣接ノードと通信可能になったような場合で、隣接ノードテーブルTb1に受信リンクコストのみが登録されている場合(つまり、「1WAY」)、ノードNが「2WAY」の状態であっても、ノードNにおいて第1のハローメッセージHaあるいは第2のハローメッセージHbの受信時に検出される受信リンクコストと隣接ノードテーブルTb1に登録されている受信リンクコストとの差分が規定した許容範囲外になった場合、ノードNにおいて規定した一定時間毎の時間が経過した場合などもある。   The event of causing the link confirmation means 13 to shift to the confirmation mode and transmitting the second hello message Hb is when the own node newly enters the communication network or when communication with a new adjacent node becomes possible. When only the received link cost is registered in the adjacent node table Tb1 (that is, “1WAY”), even if the node N is in the “2WAY” state, the node N has the first hello message Ha or the second When the difference between the received link cost detected at the time of receiving the hello message Hb and the received link cost registered in the adjacent node table Tb1 is out of the specified allowable range, the time per fixed time specified in the node N In some cases, it has passed.

また、通信ネットワークの初期状態では、それぞれのノードNが第1のハローメッセージHaを送信するから「1WAY」にはなるが、そのままでは第2のハローメッセージHbを送信しないから「2WAY」にならない。したがって、「1WAY」の隣接ノードのうち受信リンクコストが上位である(受信リンクコストを適宜の閾値と比較するのが望ましい)適数個のノードを選択し、これらのノードのアドレスおよび受信リンクコストの情報をサブメッセージSB2に含む第2のハローメッセージHbを送信する。なお、一定時間毎に通常モードから確認モードに移行する場合は、第1のハローメッセージHaや第2のハローメッセージHbを送信する時間間隔に第2のハローメッセージHbの送信回数の上限値を乗じた値よりも長い時間毎に、確認モードに移行させる。   In the initial state of the communication network, each node N transmits the first hello message Ha, so “1WAY” is set. However, since the second hello message Hb is not transmitted as it is, the node N does not become “2WAY”. Accordingly, among the adjacent nodes of “1WAY”, an appropriate number of nodes having a higher receiving link cost (preferably comparing the receiving link cost with an appropriate threshold) are selected, and the addresses of these nodes and the receiving link cost are selected. The second hello message Hb including the information in the sub message SB2 is transmitted. When shifting from the normal mode to the confirmation mode at regular intervals, the time interval for transmitting the first hello message Ha or the second hello message Hb is multiplied by the upper limit value of the number of transmissions of the second hello message Hb. The mode is shifted to the confirmation mode every time longer than the set value.

このような動作により、隣接ノードとの間のリンクの通信状態が変化し、リンクコストが大きく変化した場合には第2のハローメッセージHbを送信してリンクコストを再確認することができる。また、リンクコストの大幅な変化がない場合でも定期的に第2のハローメッセージHbを送信することによって、隣接ノードとの間のリンクコストを再確認し、変化があれば最新のリンクコストに更新することができる。ここに、第2のハローメッセージHbは送信回数が制限されているから、通信ネットワーク上のトラフィックの増加を抑制することができる。   By such an operation, when the communication state of the link with the adjacent node changes and the link cost changes greatly, the second hello message Hb can be transmitted to reconfirm the link cost. Even if there is no significant change in link cost, the second hello message Hb is periodically sent to reconfirm the link cost with the adjacent node, and if there is a change, update to the latest link cost. can do. Here, since the number of transmissions of the second hello message Hb is limited, an increase in traffic on the communication network can be suppressed.

第2のハローメッセージHbの送信回数を制限するために、本実施形態における各ノードNの隣接ノードテーブルTb1には、図2に示すように、有効期限または送信回数の項目を設けておく(図では両方を記載しているが一方があればよい)。通常モードと確認モードの間のモード切り替えは、隣接ノード毎に行なってもよいし、有効期限が残っている、あるいは送信回数が1以上であるような隣接ノードが1台以上存在している間は確認モードになるよう一括管理してもよい。ところで、送信回数の制限内で隣接ノードからハローメッセージHcの応答が得られない場合、あるいは、一定時間内に隣接ノードからのハローメッセージHaをまったく受信しない場合には、隣接ノードが通信不能になったと考えられる。隣接ノードが通信不能になるのは、隣接ノードが取り除かれるか故障するか通信品質が極端に低下した場合などが考えられる。   In order to limit the number of transmissions of the second hello message Hb, the adjacent node table Tb1 of each node N in this embodiment is provided with an item of an expiration date or the number of transmissions as shown in FIG. Then, both are listed, but only one is required). The mode switching between the normal mode and the confirmation mode may be performed for each adjacent node, or while the expiration date remains or there are one or more adjacent nodes whose transmission count is 1 or more. May be managed collectively so as to be in the confirmation mode. By the way, when the response of the hello message Hc cannot be obtained from the adjacent node within the limit of the number of transmissions, or when the hello message Ha from the adjacent node is not received at all within a certain time, the adjacent node becomes incapable of communication. It is thought. The adjacent node may be unable to communicate when the adjacent node is removed or fails or the communication quality is extremely lowered.

したがって、第2のハローメッセージHbを送信回数の制限内で複数回送信し、1回もハローメッセージHcの応答が得られない場合、あるいは、一定時間内に隣接ノードからのハローメッセージHaを全く受信しない場合には、ネットワークトポロジに変化が生じ、隣接ノードが消失して隣接ノードの状態が「LOST」に変化したと判断し、通信品質登録手段14は、隣接ノードテーブルTb1において当該隣接ノードのアドレスのみを残してリンクコストの情報を削除する。隣接ノードからのハローメッセージを全く受信しない場合でも、伝送路状態が片方向のみ通信不可能となっている場合には、LOSTと判断された側の隣接ノードでは、LOSTと判断したノードのハローメッセージを受信している可能性がある。すなわち、片側のノードでLOSTと判断し、他方のノードではリンクが正常に存在すると誤判断してしまい、リンク状態不一致が発生する。このため、隣接ノードが「LOST」になったことを、当該隣接ノードおよび周辺のノードNに通知する。   Therefore, the second hello message Hb is transmitted a plurality of times within the limit of the number of transmissions, and when no response to the hello message Hc is obtained, or the hello message Ha from the adjacent node is received at all within a certain time. If not, it is determined that the network topology has changed, the adjacent node has disappeared and the state of the adjacent node has changed to “LOST”, and the communication quality registration unit 14 determines the address of the adjacent node in the adjacent node table Tb1. Delete the link cost information leaving only. Even if no hello message is received from the adjacent node, if the transmission path state is incapable of communication in only one direction, the adjacent node on the side determined to be LOST will send a hello message to the node determined to be LOST. May have been received. In other words, it is determined that LOST is in one node, and it is erroneously determined that the link exists normally in the other node, and a link state mismatch occurs. For this reason, the adjacent node and the neighboring nodes N are notified that the adjacent node has become “LOST”.

隣接ノードが「LOST」になったことを周辺のノードNに通知するために、基本構成で説明した「LOST」のサブメッセージSB4を有するハローメッセージHdを送信する。「LOST」のサブメッセージSB4を有するハローメッセージHdは、確認モードにおける送信回数の最大値となる複数回送信する。つまり、各ノードNに対してネットワークトポロジの変化を確実に伝達する。仮に、サブメッセージSB4を有するハローメッセージがLOSTと判断された側の隣接ノードに一度も届かない場合、当該隣接ノードにおいて、一定期間ハローメッセージを受信しない状態になるため、当該隣接ノードは、SB4を有するハローメッセージを送信したノードとの間のリンクをLOSTと判断することになり、この場合も結果的には双方がLOSTと認識し、状態の不一致を回避できる。   In order to notify the neighboring node N that the adjacent node has become “LOST”, the hello message Hd including the “LOST” sub-message SB4 described in the basic configuration is transmitted. The hello message Hd having the “LOST” sub message SB4 is transmitted a plurality of times which is the maximum value of the number of transmissions in the confirmation mode. That is, the network topology change is reliably transmitted to each node N. If the hello message having the sub message SB4 never reaches the adjacent node determined to be LOST, the adjacent node does not receive the hello message for a certain period. The link with the node that has transmitted the hello message is determined to be LOST. In this case as well, both recognize as LOST as a result, and it is possible to avoid a state mismatch.

上述のように確認モードを設けて第2のハローメッセージHbを送信することによりノードNの状態は、図3、図4のように変化する。 図3と図4とは同内容を示している。   By providing the confirmation mode as described above and transmitting the second hello message Hb, the state of the node N changes as shown in FIGS. 3 and 4 show the same contents.

図3の横列は隣接ノードテーブルTb1の各ノードNの現在の状態を示し、それぞれ「LOST」(隣接ノードテーブルTb1に隣接ノードとして情報が存在しない状態)、「1WAY」(隣接ノードテーブルTb1に隣接ノードの受信リンクコストのみが登録されている状態)、「2WAY」(隣接ノードテーブルTb1に隣接ノードの受信リンクコストと送信リンクコストとが登録されている場合)を示す。   The horizontal row in FIG. 3 shows the current state of each node N in the adjacent node table Tb1, and “LOST” (state in which no information exists as an adjacent node in the adjacent node table Tb1) and “1WAY” (adjacent to the adjacent node table Tb1). In a state where only the reception link cost of the node is registered), “2WAY” (when the reception link cost and transmission link cost of the adjacent node are registered in the adjacent node table Tb1) is shown.

また、図3の縦列は隣接ノードからのハローメッセージにより獲得した隣接ノードの情報であり、上から順に、第1のハローメッセージHaを受信した場合、第2のハローメッセージHbを受信した場合、第2のハローメッセージHbに対する応答であって自アドレスを含むハローメッセージHcを受信した場合、「LOST」のサブメッセージSB4を含むハローメッセージHdであって自アドレスが含まれている場合、ハローメッセージを一定時間受信しない場合(この時間は、一定時間毎に確認モードに移行する場合の時間と同じでよい)を表している。   Also, the column in FIG. 3 is information on adjacent nodes acquired by the hello message from the adjacent node. When receiving the first hello message Ha from the top, when receiving the second hello message Hb, 2 is a response to the hello message Hb, and the hello message Hc including the own address is received. If the hello message Hd includes the sub message SB4 “LOST” and the own address is included, the hello message is fixed. This represents a case where the time is not received (this time may be the same as the time when the mode is shifted to the confirmation mode every certain time).

ノードNの状態は、ハローメッセージの受信状態に応じて変化し、必要に応じて、第2のハローメッセージHbの送信回数と隣接ノードテーブルTb1における隣接ノードの状態とを変化させる。図3において横列と縦列との交差する升目には、送信回数と隣接ノードの状態との変化を示している。図4では、ノードNの現状態を三角形の頂点で表し、各辺にはハローメッセージの受信状態と送信回数の変化とを対応付けるとともに、各辺の→の向きで状態変化の方向を示している。ここで、送信回数には、0にするかセットするかの変化があり、送信回数をセットすればセットした回数を限度として第2のハローメッセージHbを複数回送信することが可能になる。また、送信回数を0にした場合には、第2のハローメッセージHbは送信せず通常モードになる。   The state of the node N changes according to the reception state of the hello message, and changes the number of transmissions of the second hello message Hb and the state of the adjacent node in the adjacent node table Tb1 as necessary. In FIG. 3, changes in the number of transmissions and the state of adjacent nodes are shown in the cells where the row and the column intersect. In FIG. 4, the current state of the node N is represented by a triangular vertex, and each side is associated with the reception state of the hello message and the change in the number of transmissions, and the direction of state change is indicated by the → direction of each side. . Here, the number of transmissions varies depending on whether it is set to 0 or set. If the number of transmissions is set, the second hello message Hb can be transmitted a plurality of times up to the set number. When the number of transmissions is set to 0, the second hello message Hb is not transmitted and the normal mode is set.

まず、隣接ノードテーブルTb1に隣接ノードとして登録されていないノード(「LOST」のノード)について説明する。つまり、隣接ノードテーブルTb1に登録されていないから、多くの場合は第1のハローメッセージHaを受信することになる。この場合、送信回数を0にして当該隣接ノードを「1WAY」として記録する。つまり、受信リンクコストのみが登録される。   First, a node that is not registered as an adjacent node in the adjacent node table Tb1 (a “LOST” node) will be described. That is, since it is not registered in the adjacent node table Tb1, the first hello message Ha is received in many cases. In this case, the number of transmissions is set to 0 and the adjacent node is recorded as “1WAY”. That is, only the received link cost is registered.

一方、「LOST」のノードから第2のハローメッセージHbあるいはハローメッセージHcを受信する場合もある。これは、自ノードが先にハローメッセージHaを送信し、それを受信した隣接ノードがハローメッセージHbを送信してきた場合や、隣接ノードとして一度は登録されたことがあるが、その後のネットワークトポロジの変化などによって隣接ノードテーブルTb1から削除されているような場合である。この場合は、双方向のリンクコストの情報が得られるから、当該隣接ノードを「2WAY」にし、また、隣接ノードにリンク品質を通知する必要があるから、送信回数をセットする。   On the other hand, the second hello message Hb or hello message Hc may be received from the “LOST” node. This is because when the own node transmits the hello message Ha first and the adjacent node that receives it transmits the hello message Hb or has been registered as an adjacent node once, This is a case where it is deleted from the adjacent node table Tb1 due to a change or the like. In this case, since bidirectional link cost information is obtained, the adjacent node is set to “2WAY”, and the link quality needs to be notified to the adjacent node, so the number of transmissions is set.

通信ネットワークの初期状態には、ノードは「1WAY」になるから、そのうち受信リンクコストが上位のノードのアドレスおよび受信リンクコストをサブメッセージSB2に含む第2のハローメッセージHbを制限された送信回数内で送信する。第2のハローメッセージHbを受信した隣接ノードおよび第2のハローメッセージHbに応答するハローメッセージHcを受信したノードは、隣接ノードテーブルTb1を「2WAY」に変更することができる。   Since the node is “1WAY” in the initial state of the communication network, the second hello message Hb including the address of the node having the higher reception link cost and the reception link cost in the sub message SB2 is included in the number of transmissions limited. Send with. The adjacent node that has received the second hello message Hb and the node that has received the hello message Hc in response to the second hello message Hb can change the adjacent node table Tb1 to “2WAY”.

ところで、「1WAY」の隣接ノードから第2のハローメッセージHbを受信した場合には、送信回数をセットし、第2のハローメッセージHbを送信回数内で送信するとともに送信回数をデクリメントする。また、「1WAY」の隣接ノードからハローメッセージHcを受信した場合には、以後の第2のハローメッセージHbの送信が不要になるから送信回数を0にする。   By the way, when the second hello message Hb is received from the adjacent node of “1WAY”, the number of transmissions is set, the second hello message Hb is transmitted within the number of transmissions, and the number of transmissions is decremented. Further, when the hello message Hc is received from the adjacent node of “1WAY”, the transmission of the second hello message Hb after that becomes unnecessary, so the number of transmissions is set to zero.

受信リンクコストと送信リンクコストとがともに登録されているノード(「2WAY」のノード)については、「1WAY」から「2WAY」に移行する場合と同様であり、第2のハローメッセージHbを受信した場合は送信回数をセットし、隣接ノードからハローメッセージHcを受信した場合は送信回数を0にする。ただし、すでに「2WAY」であるから、その状態は維持される。   The node where both the reception link cost and the transmission link cost are registered (the node of “2WAY”) is the same as the case of shifting from “1WAY” to “2WAY”, and the second hello message Hb is received. In this case, the number of transmissions is set, and when the hello message Hc is received from an adjacent node, the number of transmissions is set to zero. However, since it is already “2WAY”, the state is maintained.

ところで、「1WAY」か「2WAY」かにかかわらず、ハローメッセージを有効期限内に受信しないか(第2のハローメッセージHbを複数回送信したときに一度も応答がないか)、あるいは「LOST」であるサブメッセージSB4を含むハローメッセージHdを受信した場合には、当該隣接ノードを「LOST」とする。以上の処理により、各隣接ノードの状態を適正に管理することができる。   By the way, regardless of whether it is “1WAY” or “2WAY”, the hello message is not received within the expiration date (whether the second hello message Hb is transmitted a plurality of times or there is no response), or “LOST”. When the hello message Hd including the sub message SB4 is received, the adjacent node is set to “LOST”. With the above processing, the state of each adjacent node can be properly managed.

上述した構成例は、従来構成において説明したPLCネットワークに用いることを想定しているが、他の有線の伝送路を用いる通信ネットワーク、あるいは小電力無線による無線LANのように無線の伝送路を用いる無線ネットワークなど、種々のマルチホップ通信ネットワークに上述の技術を適用してもよい。   The above-described configuration example is assumed to be used for the PLC network described in the conventional configuration, but uses a wireless transmission path such as a communication network using another wired transmission path, or a wireless LAN using low-power radio. The above-described technique may be applied to various multi-hop communication networks such as a wireless network.

さらにいえば、PLCネットワークには、10〜450kHzの低周波帯を利用する低速PLCと、2〜30MHzの高周波帯を利用する高速PLCとが知られており、低速PLCのノードは、高速PLCより伝送速度が遅いから、上述の構成のように低トラフィックでもネットワークトポロジを把握できることはとくに有効であり、また、通信ネットワーク全体のリンクを各ノードが持たなくとも隣接ノードテーブルがあればよいから、ノードに実装するメモリの容量を小さくすることができる。しかも、他の有線の伝送路を用いる場合に比較すると、PLCでは各ノードとなる電気機器のオン/オフや稼働状態によってネットワークトポロジや通信品質が変化しやすいから、本発明の技術は有効である。   Furthermore, the PLC network is known to have a low-speed PLC that uses a low frequency band of 10 to 450 kHz and a high-speed PLC that uses a high-frequency band of 2 to 30 MHz. Since the transmission speed is slow, it is particularly effective to be able to grasp the network topology even with low traffic as in the above configuration, and it is only necessary to have an adjacent node table even if each node does not have a link of the entire communication network. The capacity of the memory to be mounted on can be reduced. In addition, compared with the case where other wired transmission lines are used, the network topology and communication quality are easily changed in the PLC depending on the on / off and operating state of the electrical equipment serving as each node, so the technique of the present invention is effective. .

実施形態に用いるノードを示すブロック図である。It is a block diagram which shows the node used for embodiment. 同上に用いる隣接ノードテーブルの例を示す図である。It is a figure which shows the example of the adjacent node table used for the same as the above. 同上に用いるノードの状態変化を示す図である。It is a figure which shows the state change of the node used for the same as the above. 同上に用いるノードの状態遷移を示す動作説明図である。It is operation | movement explanatory drawing which shows the state transition of the node used for the same as the above. ハローメッセージを示す動作説明図である。It is operation | movement explanatory drawing which shows a hello message. ハローメッセージによる隣接ノードテーブルの変化を示す動作説明図である。It is operation | movement explanatory drawing which shows the change of the adjacent node table by a hello message. 通信ネットワークの構成例を示す図である。It is a figure which shows the structural example of a communication network. 隣接ノードテーブルの一例を示す図である。It is a figure which shows an example of an adjacent node table. 隣接ノードテーブルの一例を示す図である。It is a figure which shows an example of an adjacent node table. ハローメッセージのフォーマットを示す図である。It is a figure which shows the format of a hello message. ハローメッセージにおけるサブメッセージの構成例を示す図である。It is a figure which shows the structural example of the submessage in a hello message. 隣接ノードテーブルの一例を示す図である。It is a figure which shows an example of an adjacent node table. トポロジ通知メッセージのフォーマットを示す図である。It is a figure which shows the format of a topology notification message.

符号の説明Explanation of symbols

11 通信手段
12 通信品質取得手段
13 リンク確認手段
14 通信品質登録手段
H1〜H3 ハローメッセージ
Ha〜Hd ハローメッセージ
N ノード
N0〜N6 ノード
Tb1 隣接ノードテーブル
DESCRIPTION OF SYMBOLS 11 Communication means 12 Communication quality acquisition means 13 Link confirmation means 14 Communication quality registration means H1-H3 Hello message Ha-Hd Hello message N node N0-N6 node Tb1 Adjacent node table

Claims (8)

複数個のノードを備えノード間での通信時に他のノードによる通信の中継を可能としたマルチホップ通信ネットワークにおいて他のノードによる中継なしに通信可能なノードである隣接ノードを確認する方法であって、各ノードは、自アドレスを含むハローメッセージを規定の時間間隔毎に送信しており、隣接ノードについてアドレスと通信品質とを対応付けて登録する隣接ノードテーブルを備え、隣接ノードのアドレスおよび通信品質の情報を含まない第1のハローメッセージを送信する通常モードと、隣接ノードテーブルから選択した隣接ノードのアドレスおよび当該隣接ノードからの受信方向の通信品質の情報を含む第2のハローメッセージを送信する確認モードとを有し、隣接ノードとの間の通信品質を確認することが必要になる事象が生じたときに通常モードから確認モードに移行し、確認モードでは、制限された送信回数内で第2のハローメッセージを送信した後に通常モードに復帰することを特徴とするマルチホップ通信ネットワークにおける隣接ノード確認方法。   A method of confirming an adjacent node that is a node capable of communicating without relaying by another node in a multi-hop communication network having a plurality of nodes and capable of relaying communication by other nodes during communication between nodes. Each node transmits a hello message including its own address at a specified time interval, and has an adjacent node table that registers and registers addresses and communication qualities for adjacent nodes. A normal mode in which the first hello message that does not include the information is transmitted, and a second hello message that includes the address of the adjacent node selected from the adjacent node table and the communication quality information in the reception direction from the adjacent node is transmitted. It is necessary to confirm the communication quality between adjacent nodes. In the multi-hop communication network, wherein a transition is made from the normal mode to the confirmation mode when the error occurs, and in the confirmation mode, the second hello message is transmitted within the limited number of transmissions and then the normal mode is restored. Node confirmation method. 前記確認モードに移行する事象は、隣接ノードテーブルに隣接ノードの受信方向の通信品質のみの登録であることを特徴とする請求項1記載のマルチホップ通信ネットワークにおける隣接ノード確認方法。   2. The adjacent node confirmation method in a multi-hop communication network according to claim 1, wherein the event of shifting to the confirmation mode is registration of only the communication quality in the reception direction of the adjacent node in the adjacent node table. 前記確認モードに移行する事象は、隣接ノードテーブルに登録されていないノードから自ノードのアドレスを含む第2のハローメッセージの受信であることを特徴とする請求項1記載のマルチホップ通信ネットワークにおける隣接ノード確認方法。   2. The neighbor in the multi-hop communication network according to claim 1, wherein the event to shift to the confirmation mode is reception of a second hello message including an address of the own node from a node not registered in the neighbor node table. Node confirmation method. 前記確認モードに移行する事象は、隣接ノードテーブルに受信方向の通信品質のみが登録されているノードからの第2のハローメッセージの受信であることを特徴とする請求項1記載のマルチホップ通信ネットワークにおける隣接ノード確認方法。   2. The multi-hop communication network according to claim 1, wherein the event of shifting to the confirmation mode is reception of a second hello message from a node in which only communication quality in the reception direction is registered in the adjacent node table. Method for confirming adjacent nodes. 前記確認モードに移行する事象は、隣接ノードテーブルに受信方向と送信方向との通信品質が登録されているノードからのハローメッセージを受信しない状態が制限された送信回数に相当する時間継続していることであることを特徴とする請求項1記載のマルチホップ通信ネットワークにおける隣接ノード確認方法。   The event of shifting to the confirmation mode continues for a time corresponding to the number of transmissions in which the state of not receiving a hello message from a node whose communication quality in the reception direction and the transmission direction is registered in the adjacent node table is limited. The adjacent node confirmation method in the multi-hop communication network according to claim 1, wherein: 前記確認モードに移行する事象は、ハローメッセージの受信時に検出される受信方向の通信品質と前記隣接ノードテーブルに登録されている受信方向の通信品質との差分が規定した許容範囲外となることであることを特徴とする請求項1ないし請求項5のいずれか1項に記載のマルチホップ通信ネットワークにおける隣接ノード確認方法。   The event of transition to the confirmation mode is that the difference between the communication quality in the reception direction detected when the hello message is received and the communication quality in the reception direction registered in the adjacent node table is outside the allowable range defined. 6. The adjacent node confirmation method in a multi-hop communication network according to claim 1, wherein the adjacent node confirmation method is provided. 前記確認モードに移行する事象は、前記時間間隔に前記送信回数を乗じた時間よりも長い一定時間毎の時間経過であることを特徴とする請求項1ないし請求項6のいずれか1項に記載のマルチホップ通信ネットワークにおける隣接ノード確認方法。   7. The event according to claim 1, wherein the event that shifts to the confirmation mode is a lapse of time for each fixed time that is longer than a time obtained by multiplying the time interval by the number of transmissions. For confirming neighboring nodes in multi-hop communication networks. 複数個のノードを備えノード間での通信時に他のノードによる通信の中継を可能としたマルチホップ通信ネットワークに用いるノードであって、自アドレスを含むハローメッセージを規定の時間間隔毎に送信する通信手段と、隣接ノードについてアドレスと通信品質とを対応付けて登録する隣接ノードテーブルと、ハローメッセージを受信したときに受信方向の通信品質を隣接ノードテーブルに登録する通信品質取得手段と、隣接ノードのアドレスおよび通信品質の情報を含まない第1のハローメッセージを送信する通常モードと隣接ノードテーブルに登録されている隣接ノードのアドレスおよび当該隣接ノードからの受信方向の通信品質の情報を含む第2のハローメッセージを送信する確認モードとの動作モードを備えるリンク確認手段と、隣接ノードから受信した第2のハローメッセージに自アドレスが含まれるときに当該第2のハローメッセージに含まれる送信方向の通信品質を隣接ノードテーブルに登録する通信品質登録手段とを備え、リンク確認手段は、隣接ノードとの間の通信品質を確認することが必要になる事象が生じたときに通常モードから確認モードに移行し、確認モードでは制限された送信回数内で第2のハローメッセージを送信した後に通常モードに復帰することを特徴とするマルチホップ通信ネットワークのノード。   A node used in a multi-hop communication network that has a plurality of nodes and enables relaying of communication by other nodes during communication between nodes, and transmits a hello message including its own address at specified time intervals. An adjacent node table for registering the address and communication quality in association with each other for the adjacent node; a communication quality obtaining unit for registering the communication quality in the receiving direction in the adjacent node table when a hello message is received; A normal mode in which the first hello message not including the address and the communication quality information is transmitted, and the second node including the address of the adjacent node registered in the adjacent node table and the communication quality information in the receiving direction from the adjacent node. A link confirmation means having an operation mode with a confirmation mode for transmitting a hello message; Communication quality registration means for registering the communication quality in the transmission direction included in the second hello message in the adjacent node table when the second hello message received from the adjacent node includes its own address, and a link confirmation means Shifts from the normal mode to the confirmation mode when an event that requires confirmation of the communication quality between adjacent nodes occurs, and transmits the second hello message within the limited number of transmissions in the confirmation mode. A node of the multi-hop communication network, wherein the node returns to the normal mode after the operation.
JP2007149729A 2007-06-05 2007-06-05 Neighboring node confirmation method in multihop communication network, node of multihop communication network Active JP4720794B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007149729A JP4720794B2 (en) 2007-06-05 2007-06-05 Neighboring node confirmation method in multihop communication network, node of multihop communication network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007149729A JP4720794B2 (en) 2007-06-05 2007-06-05 Neighboring node confirmation method in multihop communication network, node of multihop communication network

Publications (2)

Publication Number Publication Date
JP2008306314A true JP2008306314A (en) 2008-12-18
JP4720794B2 JP4720794B2 (en) 2011-07-13

Family

ID=40234669

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007149729A Active JP4720794B2 (en) 2007-06-05 2007-06-05 Neighboring node confirmation method in multihop communication network, node of multihop communication network

Country Status (1)

Country Link
JP (1) JP4720794B2 (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011013165A1 (en) * 2009-07-27 2011-02-03 富士通株式会社 Node device, storage medium, and method for transmitting frame
JP2011055355A (en) * 2009-09-03 2011-03-17 Oki Electric Industry Co Ltd Wireless communication apparatus and program, and, wireless communication system
JP2012199703A (en) * 2011-03-18 2012-10-18 Fujitsu Ltd Wireless communication device and route construction method
WO2012147353A1 (en) * 2011-04-28 2012-11-01 パナソニック株式会社 Wireless communication system, wireless terminal, method for controlling wireless terminal, and program for controlling wireless terminal
JP2013518466A (en) * 2010-01-21 2013-05-20 ティーティーアイ インベンションズ ディー エルエルシー Mobile ad hoc rerouting method
JP2014138215A (en) * 2013-01-15 2014-07-28 Mitsubishi Electric Corp Node
CN105590430A (en) * 2014-10-23 2016-05-18 国家电网公司 Multipath micropower wireless meter reading method and multipath micropower wireless meter reading system
JP2017092549A (en) * 2015-11-04 2017-05-25 沖電気工業株式会社 Radio communication device and radio communication program
US10445087B2 (en) 2017-08-15 2019-10-15 Fujitsu Limited Communication system and method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003008588A (en) * 2001-06-20 2003-01-10 Japan Radio Co Ltd Radio communication system
JP2004289411A (en) * 2003-03-20 2004-10-14 Advanced Telecommunication Research Institute International Control method and controller for radio network
JP2006217461A (en) * 2005-02-07 2006-08-17 Funai Electric Co Ltd Information terminal to be connected to ad hoc network and ad hoc network constituted of information terminal
WO2007020941A1 (en) * 2005-08-18 2007-02-22 Nec Corporation Communication terminal and communication path control method in wireless multi-hop network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003008588A (en) * 2001-06-20 2003-01-10 Japan Radio Co Ltd Radio communication system
JP2004289411A (en) * 2003-03-20 2004-10-14 Advanced Telecommunication Research Institute International Control method and controller for radio network
JP2006217461A (en) * 2005-02-07 2006-08-17 Funai Electric Co Ltd Information terminal to be connected to ad hoc network and ad hoc network constituted of information terminal
WO2007020941A1 (en) * 2005-08-18 2007-02-22 Nec Corporation Communication terminal and communication path control method in wireless multi-hop network

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011013165A1 (en) * 2009-07-27 2011-02-03 富士通株式会社 Node device, storage medium, and method for transmitting frame
JP4820464B2 (en) * 2009-07-27 2011-11-24 富士通株式会社 Node device, storage medium, and frame transmission method
CN102415057A (en) * 2009-07-27 2012-04-11 富士通株式会社 Node device, storage medium, and method for transmitting frame
US8929375B2 (en) 2009-07-27 2015-01-06 Fujitsu Limited Node apparatus, storage medium and frame transmitting method
KR101301885B1 (en) 2009-07-27 2013-08-29 후지쯔 가부시끼가이샤 Node device, storage medium, and method for transmitting frame
JP2011055355A (en) * 2009-09-03 2011-03-17 Oki Electric Industry Co Ltd Wireless communication apparatus and program, and, wireless communication system
JP2013518466A (en) * 2010-01-21 2013-05-20 ティーティーアイ インベンションズ ディー エルエルシー Mobile ad hoc rerouting method
JP2012199703A (en) * 2011-03-18 2012-10-18 Fujitsu Ltd Wireless communication device and route construction method
WO2012147353A1 (en) * 2011-04-28 2012-11-01 パナソニック株式会社 Wireless communication system, wireless terminal, method for controlling wireless terminal, and program for controlling wireless terminal
JPWO2012147353A1 (en) * 2011-04-28 2014-07-28 パナソニック株式会社 Wireless communication system, wireless terminal, wireless terminal control method, and wireless terminal control program
JP6132160B2 (en) * 2011-04-28 2017-05-24 パナソニックIpマネジメント株式会社 Wireless communication system, wireless terminal, wireless terminal control method, and wireless terminal control program
JP2014138215A (en) * 2013-01-15 2014-07-28 Mitsubishi Electric Corp Node
CN105590430A (en) * 2014-10-23 2016-05-18 国家电网公司 Multipath micropower wireless meter reading method and multipath micropower wireless meter reading system
JP2017092549A (en) * 2015-11-04 2017-05-25 沖電気工業株式会社 Radio communication device and radio communication program
US10445087B2 (en) 2017-08-15 2019-10-15 Fujitsu Limited Communication system and method

Also Published As

Publication number Publication date
JP4720794B2 (en) 2011-07-13

Similar Documents

Publication Publication Date Title
JP4720794B2 (en) Neighboring node confirmation method in multihop communication network, node of multihop communication network
JP2008301444A (en) Method of evaluating route in multi-hop communication network, node of multi-hop communication network, and multi-hop communication network
US8217805B2 (en) Address stripping in a meter reading wireless mesh network and associated system
EP2474185B1 (en) Registration of a new node to a wireless mesh network with meter reading and associated system
JP5400630B2 (en) Wireless multi-hop communication device and transmission power control method thereof
CA2772295C (en) Network address field for nodes within a meter reading wireless mesh network and associated system
JP5036602B2 (en) Wireless ad hoc terminal and ad hoc network system
JP5455820B2 (en) Route selection method, communication apparatus, and communication system
US20080107033A1 (en) Radio communication network capable of radio communication with reduced overhead
JP2009071575A (en) Wireless multi-pop network, node, multicast path control method and program
US9590891B2 (en) Node apparatus, recording medium that has stored control program therein, and method of operating node apparatus
JP2011055394A (en) Wireless communication apparatus and wireless communication program
JP4720792B2 (en) Neighboring node search method in multihop communication network, node of multihop communication network
JP2007243932A (en) Wireless data communication system
WO2013100752A1 (en) A method for establishing an end-to-end route for traversing data
JP4706667B2 (en) Route evaluation method in multi-hop communication network, node of multi-hop communication network
JP5664768B2 (en) Node, link forming method and link forming program
JP4765997B2 (en) Communication route construction method and communication terminal device
US20210119905A1 (en) On-demand table and route update after a node failure in a wireless network
JP2008109614A (en) Communication method and radio communication terminal
JP2008042647A (en) Node constituting ad hoc/network
JP4385926B2 (en) Wireless communication system
CN117335839A (en) Communication method and related equipment

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100125

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20101019

A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20101105

A975 Report on accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A971005

Effective date: 20101126

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20101130

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110131

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110321

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

Free format text: PAYMENT UNTIL: 20140415

Year of fee payment: 3

R151 Written notification of patent or utility model registration

Ref document number: 4720794

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

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

Free format text: PAYMENT UNTIL: 20140415

Year of fee payment: 3