JP2016152592A - Route information collection program, route information collection method, and node device - Google Patents

Route information collection program, route information collection method, and node device Download PDF

Info

Publication number
JP2016152592A
JP2016152592A JP2015030774A JP2015030774A JP2016152592A JP 2016152592 A JP2016152592 A JP 2016152592A JP 2015030774 A JP2015030774 A JP 2015030774A JP 2015030774 A JP2015030774 A JP 2015030774A JP 2016152592 A JP2016152592 A JP 2016152592A
Authority
JP
Japan
Prior art keywords
node
route
frame
information
communication
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
JP2015030774A
Other languages
Japanese (ja)
Other versions
JP6424668B2 (en
Inventor
和明 角
Kazuaki Sumi
和明 角
崇徳 長丸
Takanori Nagamaru
崇徳 長丸
千草 宮原
Chigusa Miyahara
千草 宮原
雄二 東原
Yuji Higashihara
雄二 東原
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2015030774A priority Critical patent/JP6424668B2/en
Publication of JP2016152592A publication Critical patent/JP2016152592A/en
Application granted granted Critical
Publication of JP6424668B2 publication Critical patent/JP6424668B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a technique for supporting tracking survey about a route when a communication failure occurs.SOLUTION: A node device included in a plurality of node devices constructing a communication network from a data transmission source to a data transmission destination receives communication information transmitted from other node device. Communication information added with identification information of a node device in a subsequent stage in a communication route of communication to the received communication information is transmitted to a node device in a preceding stage and the node device in the subsequent stage in the communication route.SELECTED DRAWING: Figure 1

Description

本明細書は、経路情報収集プログラム、経路情報収集方法、及びノード装置に関する。   The present specification relates to a route information collection program, a route information collection method, and a node device.

アドホック通信技術とは、アクセスポイントを介さずに機器同士が直接通信を行う通信技術をいう。近年、アドホック通信技術を適用した各通信機器が周囲の通信機器を認識して、無線アドホックネットワーク技術が注目されている。   Ad hoc communication technology refers to communication technology in which devices directly communicate with each other without using an access point. In recent years, each communication device to which the ad hoc communication technology is applied recognizes a surrounding communication device, and wireless ad hoc network technology has attracted attention.

アドホックネットワークのルーティングプロトコル(アドホックプロトコル)の一例として、リアクティブ型のAODV(Adhoc On Demand Distance Vector Algorithm)やプロアクティブ型のOLSR(Optimized Link State Routing)が挙げられる。さらに、アドホックプロトコルの一例として、通信要求に先立って、予め各ノードが自律的にデータ通信を行うための経路(ルート)を構築し、更に、最適な経路を随時学習し、経路変更するプロアクティブ型ルーティングプロトコルがある。   As an example of an ad hoc network routing protocol (ad hoc protocol), there are a reactive type AODV (Adhoc On Demand Distance Vector Algorithm) and a proactive type OLSR (Optimized Link State Routing). Furthermore, as an example of an ad hoc protocol, prior to a communication request, a path (route) for each node to autonomously perform data communication is built in advance, and an optimal route is learned as needed, and the route is changed proactively. There is a type routing protocol.

アドホックネットワークに関する技術の一例として、以下の技術がある。
第1技術として、複数の無線端末装置を経由して宛先の無線端末装置にパケットを送信するシステムにおけるパケットルーティング方法がある(例えば、特許文献1)。第1技術では、パケットを中継する無線端末装置が経路断を監視する。経路断を検出した無線端末装置が、パケットの宛先の無線端末装置に経路検索パケットを送信すると共に、送信元の無線端末装置に経路断を通知する。中継する無線端末装置は、経路検索パケットに従ってパケット転送の経路を再構築する。送信元の無線端末装置は、経路断の情報を受け取った場合に経路再構築を行う。
The following technologies are examples of technologies related to ad hoc networks.
As a first technique, there is a packet routing method in a system that transmits a packet to a destination wireless terminal device via a plurality of wireless terminal devices (for example, Patent Document 1). In the first technique, a wireless terminal device that relays a packet monitors path disconnection. The wireless terminal device that has detected the route disconnection transmits a route search packet to the destination wireless terminal device of the packet, and notifies the source wireless terminal device of the route disconnection. The relaying wireless terminal device reconstructs the packet transfer route according to the route search packet. The transmission source wireless terminal device performs route reconstruction when it receives information on route breakage.

第2技術として、複数の無線端末装置を経由して宛先の無線端末にパケットを送信するシステムにおけるパケットルーティング方法がある(例えば、特許文献2)。第2技術では、中継する無線端末装置が無線信号を用いて直接パケットを伝送している無線端末装置との通信が切断されたことを検出する。通信が切断されたことを検出した無線端末装置は、自装置がパケットの宛先の無線端末装置か送信元の無線端末装置のいずれ側に位置するか判断する。送信元の無線端末装置側にいると判断した無線端末装置は、パケットの宛先の無線端末装置への経路修復の要求信号をブロードキャストで送信する。パケットの宛先の無線端末装置は、経路修復の要求信号をした場合、パケットの送信元の無線端末装置宛に経路再構築の要求をブロードキャストで送信する。   As a second technique, there is a packet routing method in a system that transmits a packet to a destination wireless terminal via a plurality of wireless terminal devices (for example, Patent Document 2). In the second technique, it is detected that communication with a wireless terminal device that directly transmits a packet using a wireless signal is disconnected by a relaying wireless terminal device. The wireless terminal device that has detected that the communication has been disconnected determines whether the device is located on the side of the packet destination wireless terminal device or the transmission source wireless terminal device. The wireless terminal device that has been determined to be on the transmitting wireless terminal device side transmits a request signal for route repair to the wireless terminal device that is the destination of the packet by broadcast. When the wireless terminal device that is the destination of the packet makes a route repair request signal, the wireless terminal device broadcasts a route reconstruction request addressed to the wireless terminal device that is the source of the packet.

第3技術として、ネットワーク全体として、各ノード装置による自律分散処理の結果として、適切な経路が選択されてデータが送信される技術がある(例えば、特許文献3)。第3技術では、ノード装置が送信したことのあるフレームがネットワークを経由してノード装置自身に受信されると、前回選択した隣接ノード装置とは別の隣接ノード装置が送信先として試される。そして、送信可能な隣接ノード装置がないと、バックトラック手段によって上記第3の隣接ノード装置へと受信フレームが送信されるので、第3の隣接ノード装置に別の新たな経路を試させることができる。   As a third technique, there is a technique in which an appropriate route is selected and data is transmitted as a result of autonomous distributed processing by each node device as the entire network (for example, Patent Document 3). In the third technique, when a frame that has been transmitted by a node device is received by the node device itself via the network, an adjacent node device different from the previously selected adjacent node device is tried as a transmission destination. If there is no adjacent node device that can transmit, the received frame is transmitted to the third adjacent node device by the backtracking means, so that the third adjacent node device can try another new route. it can.

第4の技術として、ネットワーク中の通信経路の状態を監視する技術がある(例えば、特許文献4)。第4の技術では、複数のノード装置を含むネットワーク中の第1のノード装置は、通信品質を調査する対象の経路の終点のノード装置である終点ノード宛てのフレームの転送先のノード装置から、経路の調査に使用する第1の調査フレームの送信先を選択する。第1のノード装置は、第1の調査フレームの送信先として選択した第2のノード装置への第1の調査フレームの送信に失敗すると、第1のノード装置と前記第2のノード装置との間の通信が失敗したことを記録した第2の調査フレームを生成する。第1のノード装置は、第2の調査フレームの送信先とする第3のノード装置を、終点ノード宛てのフレームの転送先となるノード装置から選択する。第1のノード装置は、第3のノード装置に第2の調査フレームを送信することにより、第3のノード装置を介して、第1のノード装置と第2のノード装置との間の通信が失敗したことを、終点ノードに通知する。   As a fourth technique, there is a technique for monitoring the state of a communication path in a network (for example, Patent Document 4). In the fourth technique, a first node device in a network including a plurality of node devices is configured to transfer a frame addressed to an end node, which is a node device at the end of a route whose communication quality is to be investigated, The transmission destination of the first survey frame used for the route survey is selected. If the first node device fails to transmit the first survey frame to the second node device selected as the transmission destination of the first survey frame, the first node device and the second node device A second survey frame recording that the communication between the two has failed is generated. The first node device selects the third node device that is the transmission destination of the second survey frame from the node devices that are the transfer destination of the frame addressed to the end node. The first node device transmits the second investigation frame to the third node device, so that the communication between the first node device and the second node device is performed via the third node device. Notify the end node of the failure.

特開2005−269623号公報JP 2005-269623 A 特開2005−236687号公報JP 2005-236687 A 国際公開第2011/013165号International Publication No. 2011/013165 特開2014−183348号公報JP 2014-183348 A

アドホックネットワークを構築する各ノードは相互に通信することにより、経路情報を収集するためのフレーム(経路収集フレーム)は、その送信起点のノード(起点ノード)から対象ノードへ、中継を繰り返されながら送信される。経路収集フレームは、中継するノードを通過する毎に経路情報が累積して付加されていく。経路収集フレームが最終的に起点ノードに戻ってくることにより、起点ノードは、起点ノードと対象ノード間の経路情報を取得することができる。   Each node that constructs the ad hoc network communicates with each other, so that a frame for collecting route information (route collection frame) is transmitted from the transmission origin node (origin node) to the target node while being repeatedly relayed. Is done. Each time a route collection frame passes through a relaying node, route information is accumulated and added. When the route collection frame finally returns to the origin node, the origin node can acquire route information between the origin node and the target node.

しかしながら、通信障害の発生により経路収集フレームが途中で消失し、起点ノードに戻ってこない場合には、起点ノードは、起点ノードと対象ノード間の経路情報を全く取得することができない。そのため、通信障害が起きた経路についての追跡調査や特定をすることができない。   However, if the path collection frame disappears in the middle due to the occurrence of a communication failure and does not return to the origin node, the origin node cannot obtain any path information between the origin node and the target node. Therefore, it is not possible to follow up and identify the route where the communication failure has occurred.

本発明の一側面では、通信障害が発生した場合の経路についての追跡調査を支援する技術を提供する。   According to one aspect of the present invention, a technique for supporting a follow-up survey on a route when a communication failure occurs is provided.

本発明の一態様では、データ送信元からデータ送信先への通信ネットワークを構築する複数のノード装置に含まれるノード装置に、次の処理を実行させる。ノード装置は、他のノード装置から送信された通信情報を受信し、受信した通信情報に対して通信の通信経路における後段のノード装置の識別情報を付加した通信情報を、通信経路における前段のノード装置と後段のノード装置とに送信する。   In one aspect of the present invention, a node device included in a plurality of node devices constructing a communication network from a data transmission source to a data transmission destination is caused to execute the following process. The node device receives the communication information transmitted from the other node device, and adds the communication information obtained by adding the identification information of the subsequent node device in the communication path of communication to the received communication information to the previous node in the communication path. The data is transmitted to the device and the subsequent node device.

本発明の一側面では、通信障害が発生した場合の経路についての追跡調査を支援することができる。   According to one aspect of the present invention, it is possible to support a follow-up survey on a route when a communication failure occurs.

第4技術における、メッシュ状のアドホックネットワークでのトレースルート動作の一例を示す。An example of the trace route operation in the mesh-like ad hoc network in the fourth technology will be shown. 第4技術における、ホップ数が多い場合のトレースルート動作の一例を示す。An example of the trace route operation in the fourth technique when the number of hops is large is shown. 本実施形態におけるノード装置の一例を示す。An example of the node apparatus in this embodiment is shown. 本実施形態における、トレースルート動作の一例を示す。An example of the trace route operation in this embodiment will be described. 図4に対応する動作シーケンスを示す。The operation sequence corresponding to FIG. 4 is shown. 本実施形態における、ホップ数が多い場合のトレースルート動作の一例を示す。An example of the trace route operation when the number of hops is large in this embodiment will be described. 本実施形態における、アドホック制御データフレームのフォーマットの例を示す。The example of the format of the ad hoc control data frame in this embodiment is shown. 本実施形態におけるノードのハードウェア構成例である。It is a hardware configuration example of a node in the present embodiment. 本実施形態におけるフレーム送受信に関するノードの機能ブロック図の一例である。It is an example of the functional block diagram of the node regarding the frame transmission / reception in this embodiment. 本実施形態におけるリンクテーブルの一例を示す。An example of the link table in this embodiment is shown. 本実施形態におけるルーティングテーブルの一例を示す。An example of the routing table in this embodiment is shown. 本実施形態におけるTNDルーティングテーブルの一例を示す。An example of the TND routing table in this embodiment is shown. 本実施形態におけるTNDルーティングテーブルの更新例を示す。An example of updating the TND routing table in the present embodiment is shown. 本実施形態における起点ノードの経路収集フレーム(往路用)の送信処理フローを示す。6 shows a transmission processing flow of a route collection frame (for forward route) of a starting node in the present embodiment. 本実施形態における起点ノードの折り返しフレームの受信処理フローを示す。6 shows a reception processing flow of a return frame of a start node in the present embodiment. 本実施形態における起点ノードの経路収集フレーム(復路用)の受信処理フローを示す。6 shows a reception processing flow of a route collection frame (for return route) of an origin node in the present embodiment. 本実施形態における起点ノードの、経路収集フレーム(復路用)の受信待ち時間がタイムアウトになった場合の処理フローを示す。The processing flow when the reception waiting time of the route collection frame (for return route) of the origin node in this embodiment times out is shown. 本実施形態における中継ノードの経路収集フレーム(往路用)受信処理フローを示す。5 shows a flow of a relay node route collection frame (for forward route) reception process in the present embodiment. 本実施形態における中継ノードの折り返しフレームの受信処理フローを示す。6 shows a reception processing flow of a return frame of a relay node in the present embodiment. 本実施形態における中継ノードのバックトラックフレームの受信処理フローを示す。6 shows a reception processing flow of a backtrack frame of a relay node in the present embodiment.

例えば、上述した第4技術では、各ノードによって自律的に構築されたアドホックネットワークの中をどの様な経路でデータの疎通がされるか確認する事ができるトレースルート機能を持っている。このトレースルート機能では、送信起点のノードが送信した経路収集フレームに、中継する各ノードが自身の経路情報を付与して転送する。これにより、送信起点のノードから最終宛先の着信ノード迄の間に経由したノードの情報を識別することが可能である。また送信失敗による経路切り替えが発生した場合でも、その経路切り替えについての情報を含めて経路情報を取得することが可能である。   For example, the above-described fourth technology has a trace route function that can confirm the route through which data is communicated in an ad hoc network autonomously constructed by each node. In this trace route function, each relaying node adds its own route information to the route collection frame transmitted by the transmission origin node and transfers it. As a result, it is possible to identify the information of the node that has passed between the transmission origin node and the final destination destination node. Even when route switching occurs due to transmission failure, it is possible to acquire route information including information on the route switching.

上記トレースルート機能では、経路収集フレームが送信起点のノードまで戻ってきた場合に経路情報の取得が可能である。   With the trace route function, route information can be acquired when the route collection frame returns to the transmission origin node.

しかしながら、様々な外的要因で刻々と状況が変化する無線通信環境においては、ノード間で定期的に送受信している制御メッセージ(HELLO)よりも短い期間に、一時的に通信障害が発生する可能性がある。この場合、自律の経路情報変更が行われないため、経路途中において経路収集フレームの消失が起きると、経路収集フレームが送信起点のノードまで戻ってこない場合が考えられる。   However, in a wireless communication environment where the situation changes every moment due to various external factors, a communication failure may temporarily occur in a shorter period than the control message (HELLO) periodically transmitted and received between nodes. There is sex. In this case, since autonomous route information change is not performed, if the route collection frame is lost during the route, the route collection frame may not return to the transmission origin node.

その場合、送信起点のノードは、途中までの経路情報を取得することはできない。このようなケースになると、ping等を用いて保守者の手探りで障害発生パスを調査することになり、通信環境の保守に時間を要することになる。また、通信環境の保守対応が遅れることで、検針など業務データの到達率低下を引き起こしてしまう可能性がある。   In this case, the transmission origin node cannot acquire route information up to the middle. In such a case, the failure path is investigated by searching for the maintenance person using ping or the like, and it takes time to maintain the communication environment. In addition, a delay in the maintenance of the communication environment may cause a decrease in the arrival rate of business data such as meter reading.

図1は、第4技術における、メッシュ状のアドホックネットワークでのトレースルート動作の一例を示す。ノード装置(以下、「ノード」という)A〜Eは、無線アドホック通信技術を搭載した通信端末である。   FIG. 1 shows an example of a trace route operation in a mesh-like ad hoc network in the fourth technique. Node devices (hereinafter referred to as “nodes”) A to E are communication terminals equipped with wireless ad hoc communication technology.

まずは、図1(A)を用いて経路情報を取得することができる場合のトレースルート動作を説明する。図1(A)では、送信起点のノードAが、ターゲットとなるノードE宛に経路収集フレームを送信する場合について説明する。ここで、ノード間では、経路収集フレームが送受信される。中継するノードを通過する毎に、経路収集フレームには、その中継ノードから隣接する他の中継ノードへ送信可能か否かの経路情報が付与される。   First, the trace route operation when the route information can be acquired will be described with reference to FIG. FIG. 1A illustrates a case where the transmission origin node A transmits a route collection frame to the target node E. Here, route collection frames are transmitted and received between the nodes. Each time the relay node passes, the route collection frame is given route information indicating whether transmission is possible from the relay node to another adjacent relay node.

(A1)ノードAは、「ノードB宛送信結果」に「成功」を設定した経路情報を経路収集フレームに付与し、その経路収集フレームをノードB宛に送信する。その結果、ここでは、ノードB宛への送信が失敗したと想定する。   (A1) The node A assigns route information in which “success” is set in “transmission result for node B” to the route collection frame, and transmits the route collection frame to node B. As a result, it is assumed here that transmission to the node B has failed.

(A2)ノードAはノードB宛への経路収集フレームの送信失敗を検出し、経路収集フレームの「ノードB宛送信結果」を「失敗」に変更する。その後、ノードAは「ノードC宛送信結果」に「成功」を設定した経路情報をその経路収集フレームに付与し、その経路収集フレームをノードC宛に送信する。ノードAからノードCへの経路収集フレームの送信は正常に行われたとする。   (A2) The node A detects a failure in transmission of the route collection frame addressed to the node B, and changes the “transmission result addressed to the node B” of the route collection frame to “failure”. After that, the node A assigns route information in which “success” is set in “transmission result for node C” to the route collection frame, and transmits the route collection frame to node C. Assume that transmission of a route collection frame from node A to node C is normally performed.

(A3)ノードCは「ノードD宛送信結果」に「成功」を設定した経路情報を、受信した経路収集フレームに付与し、その経路収集フレームをノードD宛に送信する。ノードCからノードDへの経路収集フレームの送信は正常に行われたとする。   (A3) The node C assigns the route information in which “success” is set in “transmission result for node D” to the received route collection frame, and transmits the route collection frame to node D. Assume that transmission of a route collection frame from node C to node D is normally performed.

(A4)ノードDは「ノードE宛送信結果」に「成功」を設定した経路情報を、受信した経路収集フレームに付与し、その経路収集フレームをノードE宛に送信する。その結果、ここでは、ノードE宛への送信が失敗したと想定する。   (A4) The node D assigns the route information in which “success” is set in “transmission result for node E” to the received route collection frame, and transmits the route collection frame to node E. As a result, it is assumed here that transmission to the node E has failed.

(A5)ノードDはノードE宛への経路収集フレームの送信失敗を検出し、経路収集フレームの「ノードE宛送信結果」を「失敗」に変更する。その後、ノードDは、「ノードC宛送信結果」に「成功」に設定した経路情報をその経路収集フレームに付与し、その経路収集フレームをノードC宛に送信する(バックトラック)。ノードDからノードCへの経路収集フレームの送信は正常に行われたとする。   (A5) The node D detects a transmission failure of the route collection frame addressed to the node E, and changes the “transmission result addressed to the node E” of the route collection frame to “failure”. Thereafter, the node D assigns the route information set to “success” to the “transmission result addressed to the node C” to the route collection frame, and transmits the route collection frame to the node C (backtrack). It is assumed that transmission of the route collection frame from the node D to the node C is normally performed.

(A6)ノードCは「ノードA宛送信結果」に「成功」を設定した経路情報を、受信したフレームに付与し、その経路収集フレームをノードA宛に送信する。ノードCからノードAへの経路収集フレームの送信は正常に行われたとする。   (A6) The node C adds the route information in which “success” is set in the “transmission result addressed to the node A” to the received frame, and transmits the route collection frame to the node A. Assume that transmission of a route collection frame from node C to node A is normally performed.

次に、図1(B)を用いて、経路情報を取得することができない場合のトレースルート動作を説明する。   Next, the trace route operation when the route information cannot be acquired will be described with reference to FIG.

(B1)ノードAは、「ノードB宛送信結果」に「成功」を設定した経路情報を経路収集フレームに付与し、その経路収集フレームをノードB宛に送信する。その結果、ここでは、ノードB宛への送信が失敗したと想定する。   (B1) The node A assigns route information in which “success” is set in “transmission result for node B” to the route collection frame, and transmits the route collection frame to node B. As a result, it is assumed here that transmission to the node B has failed.

(B2)ノードAはノードB宛への経路収集フレームの送信失敗を検出し、経路収集フレームの「ノードB宛送信結果」を「失敗」に変更する。その後、ノードAは「ノードC宛送信結果」に「成功」を設定した経路情報をその経路収集フレームに付与し、その経路収集フレームをノードC宛に送信する。ノードAからノードCへの経路収集フレームの送信は正常に行われたとする。   (B2) Node A detects a failure in transmission of the route collection frame addressed to Node B, and changes the “transmission result addressed to Node B” of the route collection frame to “failure”. After that, the node A assigns route information in which “success” is set in “transmission result for node C” to the route collection frame, and transmits the route collection frame to node C. Assume that transmission of a route collection frame from node A to node C is normally performed.

(B3)ノードCは「ノードD宛送信結果」に「成功」を設定した経路情報を、受信した経路収集フレームに付与し、その経路収集フレームをノードD宛に送信する。ノードCからノードDへの経路収集フレームの送信は正常に行われたとする。   (B3) The node C assigns the route information in which “success” is set in “transmission result for node D” to the received route collection frame, and transmits the route collection frame to node D. Assume that transmission of a route collection frame from node C to node D is normally performed.

(B4)ノードDは「ノードE宛送信結果」に「成功」を設定した経路情報を、受信した経路収集フレームに付与し、その経路収集フレームをノードE宛に送信する。その結果、ここでは、ノードE宛への送信が失敗したと想定する。   (B4) The node D attaches the route information in which “success” is set in the “transmission result for node E” to the received route collection frame, and transmits the route collection frame to the node E. As a result, it is assumed here that transmission to the node E has failed.

(B5)ノードDはノードE宛への経路収集フレームの送信失敗を検出し、経路収集フレームの「ノードE宛送信結果」を「失敗」に変更する。この場合、ターゲットとなるノードEに対する経路は、ターゲットとなるノードEに到達する前に行き止まりになったので、経路収集フレームの進行方向がターゲットノードから送信起点のノードに変更される(バックトラック)。したがって、ノードDは、「ノードC宛送信結果」に「成功」に設定した経路情報をその経路収集フレームに付与し、その経路収集フレームをノードC宛に送信する。その結果、ここでは、ノードC宛への送信が失敗したと想定する。すると、ノードAは、上記(B3)、(B4)で追加された経路情報を得ることができないまま、経路収集フレーム(バックトラックフレーム)が消失する。   (B5) The node D detects a transmission failure of the route collection frame addressed to the node E, and changes the “transmission result addressed to the node E” of the route collection frame to “failure”. In this case, since the path to the target node E stops before reaching the target node E, the traveling direction of the path collection frame is changed from the target node to the transmission origin node (backtrack). . Therefore, the node D assigns the route information set to “success” in the “transmission result addressed to the node C” to the route collection frame, and transmits the route collection frame to the node C. As a result, it is assumed here that transmission to node C has failed. Then, the node A cannot receive the route information added in (B3) and (B4), and the route collection frame (backtrack frame) disappears.

(B6)ノードAは、バックトラックの経路収集フレームの受信待ち時間のタイムアウトを検出する。この場合、ノードAは、経路情報を何も得られず、経路収集の失敗となる。   (B6) The node A detects the timeout of the reception waiting time of the backtrack path collection frame. In this case, the node A cannot obtain any route information and fails in route collection.

図2は、第4技術における、ホップ数が多い場合のトレースルート動作の一例を示す。図2では、ノードA〜ノードZまでの経路を取得したいが、ノードXまでしか経路収集フレームが到達できず、経路収集フレーム(バックトラックフレーム)がノードF〜E間で消失してしまった場合の例を示す。   FIG. 2 shows an example of the trace route operation in the fourth technique when the number of hops is large. In FIG. 2, the route from node A to node Z is desired to be acquired, but the route collection frame can reach only node X, and the route collection frame (backtrack frame) is lost between nodes F to E. An example of

図2では、ノードAはノードAからノードZまでの経路を確認したいが、ノードXまでしか経路収集フレームが到達しなかったとする。すなわち、ノードXは、ノードY宛に経路収集フレームを送信するが、その送信が失敗したとする(B11)。   In FIG. 2, it is assumed that the node A wants to confirm the route from the node A to the node Z, but the route collection frame reaches only the node X. That is, the node X transmits a route collection frame addressed to the node Y, but the transmission fails (B11).

1つの通信経路が不通の場合、ノードXは、他の通信経路でノードYへ送信を試みる(B12)。経路収集フレームがノードYに届かず、他の不図示のノード(Y’,Y”)宛ても届かなかったとする。その結果、経路収集フレームの送信に対する受信確認(ACK)フレームを受信することができないので、ACK受信待ち時間の超過によるタイムアウトを検知すると、ノードXは、送信起点のノードへ経路収集フレームを送信する(バックトラック)(B13)。   When one communication path is disconnected, the node X tries to transmit to the node Y through another communication path (B12). It is assumed that the route collection frame does not reach the node Y and does not reach any other node (Y ′, Y ″) (not shown). As a result, an acknowledgment (ACK) frame for the transmission of the route collection frame may be received. Since it is not possible, when detecting a timeout due to exceeding the ACK reception waiting time, the node X transmits a path collection frame to the transmission origin node (backtrack) (B13).

ここで、前回の通信から時間が経ち、電波状況の変化等により通信不可になる場合がある。ノードE−F間の通信不具合により、経路収集フレーム(バックトラックフレーム)が消失したとする(B14)。バックトラックフレームが返ってこないと、ノードEは、通信経路が全くわからないため、どこで通信不具合が発生したのか特定が困難である。   Here, communication may be disabled due to changes in radio wave conditions, etc., since time has passed since the previous communication. It is assumed that the route collection frame (backtrack frame) is lost due to a communication failure between the nodes EF (B14). If the backtrack frame is not returned, the node E does not know the communication path at all, so it is difficult to identify where the communication failure has occurred.

図2によれば、ノードAは、ホップ数が多くなるほど、前回の通信(ノードAからノードZ向きのフレーム送信)からバックトラックフレームが戻ってくるまでの経過時間T1が大きくなる。その結果、電波状況の変化が起きる可能性が高くなり、通信不具合が起きる可能性も高くなる。ノードB〜Yのどのノードでも同様のことが起こり得るので、ホップ数が多くなるとその分バックトラックフレームが消失する可能性が高くなる。   According to FIG. 2, as the number of hops increases, the elapsed time T1 from the previous communication (frame transmission from the node A toward the node Z) to the return of the backtrack frame increases. As a result, there is a high possibility that a change in the radio wave situation will occur, and a possibility that a communication failure will occur. The same thing can happen in any of the nodes B to Y. Therefore, as the number of hops increases, the possibility that the backtrack frame is lost correspondingly increases.

このように、経路途中でフレームが消失してしまうような通信障害が起きた場合、障害発生エリアの絞り込みが全く行えないため、保守者が以下の様な調査を行う必要がある。保守者が各ノードの近くまで行き、リンクテーブルやルーティングテーブルの情報を参照し、送信元から最終宛先までの経路を調査する(ホップ数が多い場合、対象ノードが数十台に及ぶケースもある)。   As described above, when a communication failure occurs such that a frame is lost in the middle of the route, the failure occurrence area cannot be narrowed down at all. Therefore, the maintenance person needs to perform the following investigation. The maintenance person goes near each node, refers to the information in the link table and routing table, and investigates the route from the transmission source to the final destination. ).

また、調査した経路情報を元に、ぞれぞれのノードに対してトレースルートやpingなどの調査フレームを複数回使用して、原因となるパスの絞り込みを行う。また、これらの調査作業はアドホックルーティングの動作詳細を理解した保守者でなければ実施できず、保守者であれば誰でも実施できる訳ではないため、調査効率も悪くなる傾向にある。   Also, based on the investigated route information, the investigation path such as trace route and ping is used for each node a plurality of times to narrow down the path causing the problem. In addition, since these investigations can be performed only by a maintenance person who understands the details of the operation of ad hoc routing, and cannot be performed by any maintenance person, the efficiency of investigation tends to deteriorate.

そこで、本実施形態では、各中継ノードが、経路データを次ホップノード宛に送信すると共に、経路収集の送信起点ノード宛にその時点の経路データを送信する。送信起点ノードは経路収集フレームがどのノードまで届いたかを知ることができ、途中でフレームが消失した場合でも消失する前までの経路情報を得ることが可能となる。   Therefore, in this embodiment, each relay node transmits the route data to the next hop node and transmits the route data at that time to the transmission origin node of route collection. The transmission origin node can know to which node the route collection frame has arrived, and even if the frame is lost on the way, it is possible to obtain route information before the loss.

これにより、経路上の各ノードが、経路収集の送信起点のノード宛に経路収集フレームと同じフレーム(折り返しフレーム)を送信することにより、送信起点のノードは、経路上の各ノードまでの経路収集フレームの到達状況を把握することが可能となる。   As a result, each node on the route transmits the same frame (turnback frame) as the route collection frame to the node at the transmission origin of the route collection, so that the node at the transmission origin collects the route to each node on the route. It is possible to grasp the arrival status of the frame.

また、隣接ノード間での送信元のノードを管理する管理情報を活用することで、折り返しフレームが、経路収集フレームと同じ経路を辿って送信起点のノードまで転送されるので、直近で使用実績のある経路を使用することが可能となる。   In addition, by utilizing the management information for managing the source node between adjacent nodes, the loopback frame is transferred to the source node by following the same route as the route collection frame. A certain route can be used.

以下、本実施形態について、図面を参照して詳細に説明する。まず、本明細書での用語について説明をする。   Hereinafter, the present embodiment will be described in detail with reference to the drawings. First, terms used in this specification will be described.

「フレーム」とは、アドホックネットワークで用いるプロトコルに基づくデータ単位のことを指す。「フレーム」には、例えば、「ハローメッセージフレーム」、「データフレーム」が含まれるが、これらに限定はされない。   A “frame” refers to a data unit based on a protocol used in an ad hoc network. “Frame” includes, for example, “hello message frame” and “data frame”, but is not limited thereto.

「ハローメッセージフレーム(HELLOメッセージフレーム)」とは、制御情報を通信するための制御フレームの一種であり、ノード装置が、別のノード装置に対して互いの存在・状態の確認のために送出する特別なフレームのことを指す。なお、HELLOメッセージフレームを単に、HELLOメッセージと称する場合もある。   A “hello message frame (HELLO message frame)” is a type of control frame for communicating control information, and is transmitted from a node device to another node device to confirm each other's presence and state. It refers to a special frame. Note that the HELLO message frame may be simply referred to as a HELLO message.

「データフレーム」とは、ネットワークが(スタートノードからゴールノードへと)伝送しようとするデータのことを指す。   “Data frame” refers to data that the network intends to transmit (from the start node to the goal node).

「Global Destination(GD)」とは、アドホックネットワークにおいて最終的なあて先となるノードIDのことを指す。なお本明細書ではGDのことを、「グローバル宛先アドレス」と称することもある。   “Global Destination (GD)” refers to a node ID as a final destination in an ad hoc network. In the present specification, the GD may be referred to as a “global destination address”.

「Global Source(GS)」とは、アドホックネットワークにおいて最初の送り元であるノードIDのことを指す。なお本明細書ではGSのことを、「グローバル差出アドレス」と称することもある。   “Global Source (GS)” refers to a node ID that is the first transmission source in an ad hoc network. In the present specification, GS may be referred to as “global source address”.

「Local Destination(LD)」とは、「グローバル差出アドレス(GS)」のノードから「グローバル宛先アドレス(GD)」のノードへ送信されるフレームを中継する隣接するノード間における、フレームのあて先ノードIDのことを指す。なお本明細書ではLDのことを、「ローカル宛先アドレス」と称することもある。   “Local Destination (LD)” is a destination node ID of a frame between adjacent nodes that relay a frame transmitted from the node of “global source address (GS)” to the node of “global destination address (GD)”. Refers to that. In this specification, the LD may be referred to as a “local destination address”.

「Local Source(LS)」とは、「グローバル差出アドレス(GS)」のノードから「グローバル宛先アドレス(GD)」のノードへ送信されるフレームを中継する隣接するノード間における、フレームの送信元ノードIDのことを指す。なお本明細書ではLSのことを、「ローカル差出アドレス」と称することもある。   “Local Source (LS)” means a frame transmission source node between adjacent nodes that relay a frame transmitted from a node of “global source address (GS)” to a node of “global destination address (GD)” Refers to ID. In the present specification, LS may be referred to as “local source address”.

図3は、本実施形態におけるノード装置の一例を示す。ノード装置1は、データ送信元からデータ送信先への通信ネットワークを構築する複数のノード装置に含まれるノード装置である。ノード装置1は、受信部2、送信部3を含む。ノード装置1の一例として、ノード11(図9)が挙げられる。通信ネットワークの一例として、アドホックネットワークが挙げられる。   FIG. 3 shows an example of a node device in the present embodiment. The node device 1 is a node device included in a plurality of node devices that construct a communication network from a data transmission source to a data transmission destination. The node device 1 includes a reception unit 2 and a transmission unit 3. An example of the node device 1 is a node 11 (FIG. 9). An example of a communication network is an ad hoc network.

受信部2は、他のノード装置から送信された通信情報を受信する。受信部2の一例として、受信部26(図9)が挙げられる。   The receiving unit 2 receives communication information transmitted from other node devices. An example of the receiving unit 2 is the receiving unit 26 (FIG. 9).

送信部3は、受信した前記通信情報に対して通信の通信経路における後段のノード装置の識別情報を付加した通信情報を、通信経路における前段のノード装置と後段のノード装置とに送信する。より具体的には、送信部3は、前段のノード装置へ送信された通信情報である折り返し情報を、起点となる送信元を最終宛先として、前段のノード装置へ送信する。送信部3の一例として、ルーティング部23及び送信部27が挙げられる。後段のノード装置の識別情報の一例としては、後段ノードのノードIDが挙げられる。   The transmission unit 3 transmits communication information obtained by adding identification information of the subsequent node device in the communication path to the received communication information to the preceding node device and the subsequent node device in the communication path. More specifically, the transmission unit 3 transmits the return information, which is communication information transmitted to the preceding node device, to the preceding node device with the transmission source as the starting point as the final destination. An example of the transmission unit 3 includes a routing unit 23 and a transmission unit 27. An example of the identification information of the subsequent node device is the node ID of the subsequent node.

このように構成することにより、データ送信元(送信起点)のノードは、経路収集フレームの受信に依らず中継にて到達したノードまでの途中経路情報を取得することができるので、通信障害が発生した場合の経路についての追跡調査が容易になる。   By configuring in this way, the node of the data transmission source (transmission origin) can acquire the route information on the way to the node reached by the relay regardless of the reception of the route collection frame, so that a communication failure occurs. In this case, it becomes easy to follow up the route.

ノード装置1は、さらに、記憶部4を含む。ノード装置1は、前段のノード装置から通信情報を受信すると、前段のノード装置の識別情報を記憶部4に保持する。前段のノード装置の識別情報を保持する記憶部4の一例として、送信元(LS)ノード情報34を記憶するRAM14または不揮発性メモリ15(図8、図9)が挙げられる。このとき、送信部3は、後段のノード装置から折り返し情報を受信した場合、保持された識別情報を用いて、前段のノード装置へ折り返し情報を送信する。   The node device 1 further includes a storage unit 4. When the node device 1 receives the communication information from the preceding node device, the node device 1 holds the identification information of the preceding node device in the storage unit 4. As an example of the storage unit 4 that holds the identification information of the node device in the previous stage, there is the RAM 14 or the nonvolatile memory 15 (FIGS. 8 and 9) that stores the transmission source (LS) node information 34. At this time, when receiving the return information from the succeeding node device, the transmitting unit 3 transmits the return information to the preceding node device using the retained identification information.

このように構成することにより、折り返し情報は往路と同じ経路を辿って起点ノードまで転送されるので、直近で使用実績のある経路を使用することが可能となる。   By configuring in this way, the return information follows the same route as the forward route and is transferred to the origin node, so that it is possible to use a route that has been used most recently.

ノード装置1に、さらに、特定部を含む。特定部5は、後段のノード装置から受信した、送信した通信情報に対する受信確認情報に基づいて、通信経路のノード装置間の通信状況を特定する。特定部の一例として、ルーティング23が挙げられる。   The node device 1 further includes a specifying unit. The specifying unit 5 specifies the communication status between the node devices on the communication path based on the reception confirmation information for the transmitted communication information received from the node device at the subsequent stage. An example of the specifying unit is the routing 23.

このように構成することにより、ネットワーク中の通信経路の状態を監視することができる。   With this configuration, it is possible to monitor the state of the communication path in the network.

また、受信部2が後段のノード装置から通信情報を受信する。すると、送信部3は、後段のノード装置から受信した通信情報に前段のノード装置の識別情報を付加した通信情報を、前段のノード装置に送信する。   Further, the receiving unit 2 receives communication information from the subsequent node device. Then, the transmission unit 3 transmits the communication information obtained by adding the identification information of the preceding node device to the communication information received from the succeeding node device to the preceding node device.

このように構成することにより、各ノード装置は、経路収集フレーム(復路)を中継することができる。   With this configuration, each node device can relay a route collection frame (return route).

それでは、以下に本実施形態の詳細について説明する。
図4は、本実施形態における、トレースルート動作の一例を示す。図5は、図4に対応する動作シーケンスを示す。図4及び図5では、ノードAがノードE宛にノードA,E間(往路)の経路収集を開始することを想定する。ここで、ノード間では、経路収集フレームが送受信される。中継するノードを通過する毎に、経路収集フレームには、その中継ノードから隣接する他の中継ノードへ送信可能か否かの経路情報が付与される。
The details of this embodiment will be described below.
FIG. 4 shows an example of the trace route operation in the present embodiment. FIG. 5 shows an operation sequence corresponding to FIG. 4 and 5, it is assumed that the node A starts to collect the route between the nodes A and E (outbound) to the node E. Here, route collection frames are transmitted and received between the nodes. Each time the relay node passes, the route collection frame is given route information indicating whether transmission is possible from the relay node to another adjacent relay node.

(S1)ノードAは、「ノードB宛送信結果」に「成功」を設定した経路情報を経路収集フレームに付与し、その経路収集フレームをノードB宛に送信する。その結果、ここでは、ノードB宛への送信が失敗したと想定する。   (S1) The node A assigns the route information in which “success” is set in the “transmission result addressed to the node B” to the route collection frame, and transmits the route collection frame to the node B. As a result, it is assumed here that transmission to the node B has failed.

(S2)ノードAはノードB宛への経路収集フレームの送信失敗を検出し、経路収集フレームの「ノードB宛送信結果」を「失敗」に変更する。その後、ノードAは「ノードC宛送信結果」に「成功」を設定した経路情報をその経路収集フレームに付与し、その経路収集フレームをノードC宛に送信する。ノードAからノードCへの経路収集フレームの送信は正常に行われたとする。   (S2) Node A detects a failure in transmission of the route collection frame addressed to Node B, and changes the “transmission result addressed to Node B” of the route collection frame to “failure”. After that, the node A assigns route information in which “success” is set in “transmission result for node C” to the route collection frame, and transmits the route collection frame to node C. Assume that transmission of a route collection frame from node A to node C is normally performed.

(S3)ノードCは、ノードBから経路収集フレームを受信すると、「ノードD宛送信結果」に「成功」を設定した経路情報を、受信した経路収集フレームに付与する。ノードCは、経路情報を付加した経路収集フレームをノードD宛に送信する(ノードCからノードDへの経路収集フレームの送信は正常に行われたとする)。   (S3) When the node C receives the route collection frame from the node B, the node C gives route information in which “success” is set in the “transmission result for node D” to the received route collection frame. Node C transmits a route collection frame to which the route information is added to node D (assuming that transmission of the route collection frame from node C to node D was normally performed).

このとき、ノードCは、送信元であるノードA宛に、その経路情報を付加した経路収集フレーム(折り返しフレーム)を送信する(ノードCからノードAへの経路収集フレームの送信は正常に行われたとする)。なお、折り返しフレームについて、最終宛先ノードまでに通過する中継ノードにおいて経路情報は付与されない。ノードAは、受信した折り返しフレームを解析することにより、ノードCがノードD宛に送信したことが分かる。   At this time, the node C transmits a route collection frame (turnback frame) with the route information added to the transmission source node A (transmission of the route collection frame from the node C to the node A is normally performed). Suppose). Note that route information is not given to the return frame at the relay node that passes to the final destination node. Node A analyzes the received loopback frame to determine that node C has transmitted to node D.

(S4)ノードDは、ノードCから経路収集フレームを受信すると、「ノードE宛送信結果」に「成功」を設定した経路情報を、受信した経路収集フレームに付与する。ノードDは、経路情報を付与した経路収集フレームをノードE宛に送信する(その結果、ここでは、ノードE宛への送信が失敗したと想定する)。   (S4) When the node D receives the route collection frame from the node C, the node D gives route information in which “success” is set in the “transmission result for node E” to the received route collection frame. The node D transmits a route collection frame to which the route information is added to the node E (as a result, it is assumed here that transmission to the node E has failed).

このとき、ノードDは、ノードC経由で送信元であるA宛に、その経路情報を付加した経路収集フレーム(折り返しフレーム)を送信する(ノードDからノードAへの経路収集フレームの送信は正常に行われたとする)。なお、折り返しフレームについて、最終宛先ノードまでに通過する中継ノードにおいて経路情報は付与されない。   At this time, the node D transmits a route collection frame (return frame) to which the route information is added to the transmission source A via the node C (the transmission of the route collection frame from the node D to the node A is normal). ). Note that route information is not given to the return frame at the relay node that passes to the final destination node.

ノードAは、受信した折り返しフレームを解析することにより、ノードDがノードE宛に送信したことが分かる。また、ノードAは、上記(S3)において何らかの理由(通信障害など)で経路収集フレームを受信できなくても、上記(S4)で経路収集フレームを受信することによって到達情報を上書きできるため到達したことが確認可能となる。   Node A knows that node D has transmitted to node E by analyzing the received return frame. Node A arrives because it can overwrite the arrival information by receiving the route collection frame in (S4) even if it cannot receive the route collection frame for some reason (communication failure, etc.) in (S3). It becomes possible to confirm.

(S5)ノードDは、ノードE宛への経路収集フレームの送信失敗を検出し、経路収集フレームの「ノードE宛送信結果」を「失敗」に変更する。その後、ノードDは、「ノードC宛送信結果」に「成功」に設定した経路情報をその経路収集フレームに付与し、その経路収集フレームをノードC宛に送信する(バックトラック)。その結果、ここでは、ノードC宛への送信が失敗したと想定する。なお、バックトラックを送信する場合には、折り返しフレームの送信は行われない。   (S5) The node D detects a transmission failure of the route collection frame addressed to the node E, and changes the “transmission result addressed to the node E” of the route collection frame to “failure”. Thereafter, the node D assigns the route information set to “success” to the “transmission result addressed to the node C” to the route collection frame, and transmits the route collection frame to the node C (backtrack). As a result, it is assumed here that transmission to node C has failed. In the case of transmitting the backtrack, the return frame is not transmitted.

すると、ノードAは上記(S3)、(S4)において経路情報を得ている状態にて、経路収集フレームが消失する。ここで、当該(S5)におけるノードC宛送信(バックトラック)は、上記(S4)においてノードC宛またはノードE宛に送信してから、上記(S4)におけるノードE宛の送信の失敗を検出するまでの時間経過後に行わる。そのため、上記(S4)でのノードC宛送信と、当該(S5)でのノードC宛送信の前後では通信環境の変化が起きる可能性が高く、上記(S4)におけるノードC宛送信が成功し、上記(S5)C宛送信が失敗となることが十分考えられる。   As a result, the route collection frame disappears while node A obtains the route information in (S3) and (S4). Here, the transmission to the node C (backtrack) in (S5) detects the failure of transmission to the node E in (S4) after transmitting to the node C or node E in (S4). This is done after the time has elapsed. Therefore, there is a high possibility that the communication environment will change before and after transmission to node C in (S4) and transmission to node C in (S5), and transmission to node C in (S4) has succeeded. (S5) It is fully conceivable that transmission addressed to C fails.

なお、図4、図5の例ではホップ数が少ないため、通信環境の変化の発生が(S4)C宛送信と(S5)C宛送信の間の時間帯に限られるが、ホップ数の多い場合はもっと対象となる時間帯がより広がる。多ホップの場合の例を、図6にて説明する。   4 and 5, since the number of hops is small, the occurrence of a change in the communication environment is limited to the time zone between (S4) C-addressed transmission and (S5) C-addressed transmission, but the hop count is large. If this is the case, the target time zone will be more widened. An example in the case of multi-hop will be described with reference to FIG.

(S6)ノードAは経路収集フレーム(復路)の受信待ち時間のタイムアウトを検出する。   (S6) The node A detects a timeout of the reception waiting time of the path collection frame (return path).

上記S3、S4で得た情報により、ノードA→ノードC→ノードDまでは送信が成功し、さらに、S6にて受信待ち時間のタイムアウトを検出した(ノードEからの経路収集フレームが未受信のため)ことから、ノードAは、次の判定を行うことができる。すなわち、ノードAは、ノードD→ノードEで送信が失敗となったことが分かる。   Based on the information obtained in S3 and S4, transmission was successful from node A to node C to node D, and a timeout in reception waiting time was detected in S6 (a route collection frame from node E was not received). Therefore, node A can make the following determination. That is, node A knows that transmission failed from node D to node E.

上述の例ではホップ数が少ない例を元に説明しているが、実動作では中継ノードによる転送が数十ホップすることも想定される。そのため、経路上の各ノードが経路収集の送信起点のノード宛に折り返す経路収集フレーム自身も消失することがあり得る。ただし、折り返しフレームは直近の通信実績のある経路を使用するため、全ての折り返しフレームが消失する可能性は低く、送信元ノードまで届いた各折り返しフレームを解析することで、最終宛先までの途中経路をトレースすることが可能となる。   The above example is described based on an example in which the number of hops is small. However, in actual operation, it is assumed that the transfer by the relay node takes several tens of hops. Therefore, the path collection frame itself that each node on the path returns to the node that is the transmission origin of the path collection may be lost. However, since the return frame uses the route with the latest communication results, it is unlikely that all the return frames will be lost, and by analyzing each return frame that has arrived at the source node, the route to the final destination is analyzed. Can be traced.

なお、トレースルート用フレームは、通常のフレームの送信に対して、保守用として間欠的に送信される。これにより、例えば、ノードに搭載したセンサにより得られたセンサ値を収集するような通常のフレームの送受信に影響を及ぼさないように利用することができる。   Note that the trace route frame is intermittently transmitted for maintenance as opposed to the normal frame transmission. Thereby, for example, it can be used without affecting the transmission / reception of a normal frame for collecting sensor values obtained by sensors mounted on the nodes.

図6は、本実施形態における、ホップ数が多い場合のトレースルート動作の一例を示す。図6では、ノードAは、ノードAからノードZまでの経路を取得したいが、ノードXまでしかパケットが到達できず、バックトラックパケットがノードF〜E間で消失してしまった場合を想定する。   FIG. 6 shows an example of the trace route operation when the number of hops is large in the present embodiment. In FIG. 6, it is assumed that node A wants to obtain a route from node A to node Z, but the packet can only reach node X, and the backtrack packet is lost between nodes F to E. .

まず、ノードAは、経路収集フレームに経路情報(ノードB宛送信結果=成功)を付加する。ノードAは、経路情報を付加した経路収集フレームを、ノードBへ送信する(S11)。   First, the node A adds route information (transmission result for node B = success) to the route collection frame. The node A transmits a route collection frame with the route information added to the node B (S11).

ノードBは、ノードAから経路収集フレームを受信すると、受信した経路収集フレームに経路情報(ノードC宛送信結果=成功)を付加する。ノードBは、経路情報を付加した経路収集フレームを、ノードCへ送信する(S12)。このとき、ノードBは、ノードA宛に、C宛に送信した経路収集フレームと同じフレーム(折り返しフレーム)を送信する(S12a)。   When the node B receives the route collection frame from the node A, the node B adds route information (transmission result for node C = success) to the received route collection frame. Node B transmits a route collection frame to which route information is added to node C (S12). At this time, the node B transmits the same frame (turned frame) as the route collection frame transmitted to the node A to the node A (S12a).

ノードCは、ノードBから経路収集フレームを受信すると、受信した経路収集フレームに経路情報(ノードD宛送信結果=成功)を付加する。ノードCは、経路情報を付加した経路収集フレームを、ノードDへ送信する(S13)。このとき、ノードCは、ノードA宛に、D宛に送信した経路収集フレームと同じフレーム(折り返しフレーム)を送信する(S13a)。   When the node C receives the route collection frame from the node B, the node C adds route information (transmission result for node D = success) to the received route collection frame. The node C transmits a route collection frame to which the route information is added to the node D (S13). At this time, the node C transmits the same frame (turnback frame) as the route collection frame transmitted to D to the node A (S13a).

それ以降でも同様に、各ノードは、経路収集フレームを受信すると、受信した経路収集フレームに経路情報を付加し、経路情報を付加した経路収集フレームを、次ポップのノードへ送信する(S14〜S20)。それと共に、各ノードは、ノードA宛に、次ホップのノード宛に送信した経路収集フレームと同じフレーム(折り返しフレーム)を送信する(S14a〜S20a)。   Similarly, after that, when each node receives the route collection frame, each node adds route information to the received route collection frame, and transmits the route collection frame with the route information added to the next pop node (S14 to S20). ). At the same time, each node transmits the same frame (turnback frame) as the route collection frame transmitted to the node of the next hop to node A (S14a to S20a).

ノードXは、ノードWから経路収集フレームを受信すると、受信した経路収集フレームに経路情報(ノードC宛送信結果=成功)を付加する。ノードXは、経路情報を付加した経路収集フレームを、ノードYへ送信する(S21)。ただし、この例では、ノードYへの経路収集フレームの送信は失敗したとする。このとき、ノードXは、ノードA宛に、Y宛に送信した経路収集フレームと同じフレーム(折り返しフレーム)を送信する(S21a)。   When the node X receives the route collection frame from the node W, it adds route information (transmission result for node C = success) to the received route collection frame. The node X transmits the route collection frame with the route information added to the node Y (S21). However, in this example, it is assumed that transmission of the route collection frame to the node Y has failed. At this time, the node X transmits the same frame (turnback frame) as the route collection frame transmitted to the node A to the node A (S21a).

1つの経路が不通の場合、ノードXは、他の経路で確認する(S21’、S21”)。送信した経路収集フレームがノードYに届かず、他のノード(Y',Y'')宛てにも届かなかった場合、ノードXは、タイムアウトの検出後、受信した経路収集フレームに経路情報(ノードW宛送信結果=成功)を付加する。ノードXは、経路情報を付加した経路収集フレームを、ノードWへ送信する(バックトラック)(S22)。S22以降では、経路収集フレームをバックトラックフレームと称する。   If one route is disconnected, the node X confirms with another route (S21 ′, S21 ″). The transmitted route collection frame does not reach the node Y and is addressed to the other node (Y ′, Y ″). Node X, after detecting the timeout, adds the route information (transmission result for node W = success) to the received route collection frame, and node X adds the route collection frame with the route information added thereto. , Transmitted to the node W (backtrack) (S22) From S22 onward, the path collection frame is referred to as a backtrack frame.

ノードWは、ノードXからバックトラックフレームを受信すると、受信したバックトラックフレームに経路情報(ノードV宛送信結果=成功)を付加する。ノードWは、経路情報を付加したバックトラックフレームを、ノードVへ送信する(S23)。   When the node W receives the backtrack frame from the node X, the node W adds path information (transmission result for node V = success) to the received backtrack frame. The node W transmits the backtrack frame with the route information added to the node V (S23).

それ以降でも同様に、各ノードは、バックトラックフレームを受信すると、受信したバックトラックフレームに経路情報を付加し、経路情報を付加したバックトラックフレームを、次ポップのノードへ送信する(S24〜S27)。   Similarly, after that, each node, when receiving the backtrack frame, adds route information to the received backtrack frame, and transmits the backtrack frame with the route information added to the next pop node (S24 to S27). ).

ここで、前回の通信から時間が経ち、電波状況の変化等により通信不可になる場合がある。ノードE−F間の通信不具合により、バックトラックフレームが消失したとする(S28)。   Here, communication may be disabled due to changes in radio wave conditions, etc., since time has passed since the previous communication. It is assumed that the backtrack frame is lost due to a communication failure between the nodes EF (S28).

しかしながら、このようにバックトラックが返ってこなくても、S12a〜S21aにおいて送信された折り返しフレームにより、送信元ノードAは、途中までの経路情報を取得できているため、調査対象をノードXの周辺エリアに絞ることができる。   However, even if the backtrack does not return in this manner, the transmission source node A can acquire the route information up to the middle by the return frame transmitted in S12a to S21a. You can focus on the area.

図6によれば、期間T2においてフレーム消失が起きても、送信元ノードは、折り返しフレームを受信することで、経路探索フレームがどこまで到達したかを確認することができる。これにより経路収集フレームの消失したパスを絞り込むことが出来る。   According to FIG. 6, even if a frame disappearance occurs in the period T2, the transmission source node can confirm how far the route search frame has reached by receiving the return frame. As a result, it is possible to narrow down the paths in which the route collection frame is lost.

(実施例)
図7は、本実施形態における、アドホック制御データフレームのフォーマットの例を示す。アドホック制御データフレーム(以下では、「データフレーム」と称する)は、アドホックヘッダ、セキュリティヘッダ、データヘッダ、アドホックメッセージ(AM)ヘッダ、アドホックメッセージを含む。
(Example)
FIG. 7 shows an example of the format of an ad hoc control data frame in the present embodiment. The ad hoc control data frame (hereinafter referred to as “data frame”) includes an ad hoc header, a security header, a data header, an ad hoc message (AM) header, and an ad hoc message.

アドホックヘッダは、ローカル宛先アドレス(LD)、ローカル送信元アドレス(LS)、タイプ、フレームサイズなどの情報を含む。なお、Helloフレームもアドホックヘッダを備えており、データフレームとHelloフレームはタイプの値で識別される。例えば、データフレームではタイプ=1、Helloフレームでは、タイプ=0に設定される。   The ad hoc header includes information such as a local destination address (LD), a local transmission source address (LS), a type, and a frame size. Note that the Hello frame also includes an ad hoc header, and the data frame and the Hello frame are identified by the type value. For example, type = 1 is set in the data frame, and type = 0 is set in the Hello frame.

データヘッダは、グローバル宛先アドレス(GD)、グローバル送信元アドレス(GS)、フレーム識別子(frame identifier、FID)、HTL(Hop to live)、ホップ数等を含む。フレーム識別子は、アドホックフレーム毎に割り振られた識別番号である。HTLは、データフレームの有効期限を表す値である。隣接するノード間でフレームが転送される毎に、HTLの値が1ずつデクリメントされる。   The data header includes a global destination address (GD), a global source address (GS), a frame identifier (FID), an HTL (Hop to live), a hop number, and the like. The frame identifier is an identification number assigned for each ad hoc frame. HTL is a value representing the expiration date of the data frame. Each time a frame is transferred between adjacent nodes, the HTL value is decremented by one.

AMヘッダは、タイプ、サブタイプを含む。タイプは、アドホック制御データフレームの機能または用途の種別を特定する情報である。例えば、タイプに「Trace Route」が設定されている場合には、そのデータフレームは、経路情報の収集等に関係する機能を有する。   The AM header includes a type and a subtype. The type is information specifying the function or usage type of the ad hoc control data frame. For example, when “Trace Route” is set as the type, the data frame has a function related to collection of route information and the like.

サブタイプは、「タイプ」で設定した機能また用途をさらに特定する情報である。例えば、サブタイプに「0x00(収集)」が設定されている場合、そのデータフレームは、経路情報の収集のために用いられる経路収集フレームであることを示す。サブタイプに「0x02(折り返し)」が設定されている場合、そのデータフレームは、折り返しフレームであることを示す。   The subtype is information that further specifies the function or use set in the “type”. For example, when “0x00 (collection)” is set in the subtype, this indicates that the data frame is a route collection frame used for collecting route information. When “0x02 (turned back)” is set in the subtype, this indicates that the data frame is a turned back frame.

アドホックメッセージは、データペイロードに相当する。アドホックメッセージには、次ホップのノードに対する送信結果が累積して設定される。   The ad hoc message corresponds to a data payload. In the ad hoc message, transmission results for the next-hop node are accumulated and set.

図8は、本実施形態におけるノードのハードウェア構成例である。ノード11は、CPU(Central Processing Unit)12、無線通信インターフェース(I/F)13、RAM(Random Access Memory)14、不揮発性メモリ15を含む。CPU12は、無線通信I/F13、RAM14、不揮発性メモリ15と所定のバスにより接続されている。   FIG. 8 is a hardware configuration example of a node in the present embodiment. The node 11 includes a CPU (Central Processing Unit) 12, a wireless communication interface (I / F) 13, a RAM (Random Access Memory) 14, and a nonvolatile memory 15. The CPU 12 is connected to the wireless communication I / F 13, the RAM 14, and the nonvolatile memory 15 through a predetermined bus.

CPU12は、各種計算処理を担う。CPU12は、不揮発性メモリ15等に格納した後述する処理を実現するプログラムを読み出し、当該プログラムを実行する。不揮発性メモリ15は、例えばROM(Read Only Memory)、または読み書き可能なSSD(Solid State Drive)等の半導体メモリである。RAM14は、データを一時的に保持する揮発性メモリである。   The CPU 12 is responsible for various calculation processes. CPU12 reads the program which implement | achieves the process later mentioned stored in the non-volatile memory 15 grade | etc., And executes the said program. The nonvolatile memory 15 is a semiconductor memory such as a ROM (Read Only Memory) or a readable / writable SSD (Solid State Drive). The RAM 14 is a volatile memory that temporarily holds data.

無線通信I/F13は、無線LAN(Local Area Network)接続のための処理を行うハードウェアである。無線通信I/F13は、例えばアンテナ、ADC(Analog-to-Digital Converter)、DAC(Digital-to-Analog Converter)、変調器、復調器などを含む。   The wireless communication I / F 13 is hardware that performs processing for wireless LAN (Local Area Network) connection. The wireless communication I / F 13 includes, for example, an antenna, an ADC (Analog-to-Digital Converter), a DAC (Digital-to-Analog Converter), a modulator, a demodulator, and the like.

また、ノード11は、これらの電子部品に電力を供給して動作させるための電源としての充電池も搭載している。また図示されていないが、ノード11は計時のためのクロックまたはタイマを含む。   The node 11 is also equipped with a rechargeable battery as a power source for supplying power to these electronic components to operate them. Although not shown, the node 11 includes a clock or timer for timing.

後述する実施形態で説明する処理を実現するプログラムは、プログラム提供者側から通信ネットワークを介して、例えば不揮発性メモリ15等の記憶装置に格納してもよい。また、後述する実施形態で説明する処理を実現するプログラムは、市販され、流通している可搬型記憶媒体に格納されていてもよい。この場合、この可搬型記憶媒体は読み取り装置に設定されて、CPU12によってそのプログラムが読み出されて、実行されてもよい。   A program that realizes processing described in an embodiment described below may be stored in a storage device such as the nonvolatile memory 15 via a communication network from the program provider side. In addition, a program that realizes processing described in an embodiment to be described later may be stored in a commercially available portable storage medium. In this case, the portable storage medium may be set in the reading device, and the program may be read and executed by the CPU 12.

図9は、本実施形態におけるフレーム送受信に関するノードの機能ブロック図の一例である。不揮発性メモリ15は、ルーティングテーブル31、リンクテーブル32、ターゲットノード宛(TND)ルーティングテーブル33、送信元(LS)ノード情報34等を格納する。   FIG. 9 is an example of a functional block diagram of a node related to frame transmission / reception in the present embodiment. The non-volatile memory 15 stores a routing table 31, a link table 32, a target node (TND) routing table 33, transmission source (LS) node information 34, and the like.

なお、本実施形態では、ルーティングテーブル31、リンクテーブル32、TNDルーティングテーブル33、送信元(LS)ノード情報34は、不揮発性メモリ15に格納するが、これに限定されず、RAMに格納してもよい。   In this embodiment, the routing table 31, the link table 32, the TND routing table 33, and the transmission source (LS) node information 34 are stored in the non-volatile memory 15. However, the present invention is not limited to this. Also good.

無線通信I/F13は、受信部26および送信部27を含み、他のノードとの通信を行うための処理を行う。受信部26は、ノード11に送信されてきたフレームの信号を受信し、受信した信号をフレーム受信処理部21に出力する。   The wireless communication I / F 13 includes a reception unit 26 and a transmission unit 27, and performs processing for performing communication with other nodes. The receiving unit 26 receives a frame signal transmitted to the node 11 and outputs the received signal to the frame reception processing unit 21.

CPU12は、不揮発性メモリ15等に格納したプログラムを読み出し、HELLO制御部25、フレーム送信処理部22、フレーム受信処理部21、ルーティング部23、アプリケーション処理部24として機能する。   The CPU 12 reads a program stored in the nonvolatile memory 15 and functions as a HELLO control unit 25, a frame transmission processing unit 22, a frame reception processing unit 21, a routing unit 23, and an application processing unit 24.

フレーム受信処理部21は、受信部26から入力された信号を、ルーティング部23で処理できるようにフレームに変換する。フレーム受信処理部21の変換で得られるフレームには、経路収集フレーム、経路収集フレーム以外の制御フレーム、ユーザデータを格納したデータフレームなどが含まれる。フレーム受信処理部21は、得られたフレームをルーティング部23に出力する。   The frame reception processing unit 21 converts the signal input from the reception unit 26 into a frame so that the routing unit 23 can process the signal. The frame obtained by the conversion of the frame reception processing unit 21 includes a route collection frame, a control frame other than the route collection frame, a data frame storing user data, and the like. The frame reception processing unit 21 outputs the obtained frame to the routing unit 23.

アプリケーション処理部24は、ノード11宛のフレームがルーティング部23から入力されると、入力されたフレームをアプリケーションプログラムにより処理する。また、アプリケーション処理部24は、アプリケーションプログラムの処理によって他のノード11に送信するデータフレームを生成することもできる。アプリケーション処理部24は、生成したデータフレームをルーティング部23に出力する。   When a frame addressed to the node 11 is input from the routing unit 23, the application processing unit 24 processes the input frame with an application program. Further, the application processing unit 24 can generate a data frame to be transmitted to another node 11 by processing of the application program. The application processing unit 24 outputs the generated data frame to the routing unit 23.

ルーティング部23は、入力されたフレームの宛先(LD)が、当該ルーティング部23を搭載しているノード宛てか、それ以外のノード宛かの判断を行う。そして、そのフレームの宛先(LD)が、当該ルーティング部23を搭載するノード宛てである場合には、ルーティング部23は、ルーティングテーブル31に登録された情報を用いて、隣接するいずれのノード(LD)に転送するかを判定する。   The routing unit 23 determines whether the destination (LD) of the input frame is destined for the node on which the routing unit 23 is mounted or other nodes. When the destination (LD) of the frame is destined for the node on which the routing unit 23 is mounted, the routing unit 23 uses the information registered in the routing table 31 to select any adjacent node (LD ).

ルーティング部23は、入力されたフレームに含まれているアドホックヘッダに基づいて、受信したHELLOメッセージの送信元をルーティングテーブル31に登録する。また、受信したHELLOメッセージに含まれているノード情報を使用して経路品質やノード間リンクの通信品質を計算し、結果をルーティングテーブル31やリンクテーブル32に登録する。ルーティング部23は、ルーティングテーブル31やリンクテーブル32に登録された情報を含むフレームを送信するように送信部27を制御する。   The routing unit 23 registers the transmission source of the received HELLO message in the routing table 31 based on the ad hoc header included in the input frame. Further, the node information included in the received HELLO message is used to calculate the route quality and the communication quality of the link between nodes, and the result is registered in the routing table 31 and the link table 32. The routing unit 23 controls the transmission unit 27 so as to transmit a frame including information registered in the routing table 31 and the link table 32.

ルーティング部23は、経路収集フレームを受信すると、その経路収集フレームからローカル差出アドレス(LS)を抽出し、抽出したローカル差出アドレス(LS)を送信元(LS)ノード情報34として不揮発性メモリ15に格納する。   When receiving the route collection frame, the routing unit 23 extracts a local source address (LS) from the route collection frame, and stores the extracted local source address (LS) as source (LS) node information 34 in the nonvolatile memory 15. Store.

ルーティング部23は、受信した経路収集フレームに、次ホップ(後段)のノード宛てに、次ホップのノード宛送信結果(デフォルト値=成功)を付加した経路収集フレームを生成する。それと共に、ルーティング部23は、前段のホップのノード宛てに、その生成した経路収集フレームと同一の経路情報を有する折り返しフレームを生成する。生成したフレームは、送信部27を介して送信される。   The routing unit 23 generates a route collection frame in which a transmission result addressed to the next hop node (default value = success) is added to the received next route collection node (next stage). At the same time, the routing unit 23 generates a return frame having the same route information as that of the generated route collection frame, addressed to the preceding hop node. The generated frame is transmitted via the transmitter 27.

次ホップ(後段)のノード宛てに、次ホップのノード宛送信結果(デフォルト値=成功)を付加した経路収集フレームを送信した後にその送信に対応する受信確認(ACK)フレームの受信の可否に応じて、ルーティング部23は、隣接ノードとの通信状況を特定する。すなわち、その受信確認(ACK)フレームの受信ができた場合には、ルーティング部23は、隣接ノードとの通信が成功、すなわち、通信状況は良好と特定する。一方、その受信確認(ACK)フレームの受信ができなかった場合には、ルーティング部23は、隣接ノードとの通信が失敗、すなわち、通信状況は不良と特定する。   After sending a route collection frame with the transmission result (default value = success) addressed to the next hop node to the next hop (subsequent stage) node, depending on whether an acknowledgment (ACK) frame corresponding to the transmission is received Thus, the routing unit 23 identifies the communication status with the adjacent node. That is, when the reception confirmation (ACK) frame is received, the routing unit 23 specifies that the communication with the adjacent node is successful, that is, the communication state is good. On the other hand, when the reception confirmation (ACK) frame cannot be received, the routing unit 23 specifies that the communication with the adjacent node has failed, that is, the communication status is bad.

ルーティング部23は、他のノードから折り返しフレームを受信した場合、送信元(LS)ノード情報34として記憶されたLSに、折り返しフレームを転送するように制御する。   When receiving a return frame from another node, the routing unit 23 controls to transfer the return frame to the LS stored as the transmission source (LS) node information 34.

HELLO制御部25は、ルーティングテーブル31に登録された情報を用いて、HELLOメッセージフレームを生成し、フレーム送信処理部22に出力する。HELLO制御部25は、ルーティングテーブル31に含まれている経路に関する情報を含むハローフレームを生成することができる。   The HELLO control unit 25 uses the information registered in the routing table 31 to generate a HELLO message frame and outputs it to the frame transmission processing unit 22. The HELLO control unit 25 can generate a hello frame including information regarding the route included in the routing table 31.

フレーム送信処理部22は、送信部27を制御して、フレームの送信を行う。   The frame transmission processing unit 22 controls the transmission unit 27 to transmit a frame.

図10は、本実施形態におけるリンクテーブルの一例を示す。各ノードは、自身に隣接するノード分のリンクテーブル31を有している。自身に隣接するノードとは、自身とアドホック通信を行うノードのことを示す。各ノードは、自身に隣接するノードからHelloメッセージフレームを受信すると、そのHelloメッセージフレームを送信したノードについてのリンクテーブル31を生成する。   FIG. 10 shows an example of a link table in the present embodiment. Each node has a link table 31 for nodes adjacent to itself. A node adjacent to itself indicates a node that performs ad hoc communication with itself. Each node, when receiving a Hello message frame from a node adjacent to itself, generates a link table 31 for the node that has transmitted the Hello message frame.

リンクテーブル31は、「ローカル差出アドレス(LS)」、「エージングタイマ」、「HELLO及び受信電波関連パラメータ」のデータ項目を含む。   The link table 31 includes data items of “local source address (LS)”, “aging timer”, and “HELLO and received radio wave related parameters”.

「ローカル差出アドレス(LS)」には、Helloメッセージフレームの送信元のアドレス、すなわち隣接するノードより受信したHelloメッセージフレームのアドホックヘッダに含まれるローカル差出アドレスが格納される。   The “local source address (LS)” stores the source address of the Hello message frame, that is, the local source address included in the ad hoc header of the Hello message frame received from the adjacent node.

「エージングタイマ」は、リンクテーブル31を削除するタイミングを調整する情報であり、リンクテーブル31の作成時にデフォルト値が設定される。   The “aging timer” is information for adjusting the timing of deleting the link table 31, and a default value is set when the link table 31 is created.

「HELLO及び受信電波関連パラメータ」には、隣接するノードより受信したHelloメッセージフレームの各種ヘッダに含まれる情報及び受信電波の強度(または通信品質)、その他の受信電波関連パラメータが格納される。各ノードは、Helloメッセージフレームに他のノードから受信した電波の通信品質に関わる情報を含めて送信している。ノードは、他のノード装置から受信したHelloメッセージフレームを参照して、隣接ノードの通信品質を算出し、「HELLO及び受信電波関連パラメータ」に、算出した受信強度(または通信品質)に関わる情報を保持する。   In “HELLO and received radio wave related parameters”, information included in various headers of a Hello message frame received from an adjacent node, received radio wave intensity (or communication quality), and other received radio wave related parameters are stored. Each node transmits a Hello message frame including information related to the communication quality of radio waves received from other nodes. The node refers to the Hello message frame received from another node device, calculates the communication quality of the adjacent node, and stores information related to the calculated reception strength (or communication quality) in the “HELLO and received radio wave related parameters”. Hold.

図11は、本実施形態におけるルーティングテーブルの一例を示す。ルーティングテーブル32は、グローバル宛先アドレス(GD)単位で管理される隣接ノードに対するルーティング情報を保持するテーブルであり、グローバル宛先アドレス毎に生成される。各ノードは、隣接するノードより受信したHelloメッセージフレームから生成したリンクテーブル31を用いて、ルーティングテーブル32を生成する。   FIG. 11 shows an example of a routing table in the present embodiment. The routing table 32 is a table that holds routing information for adjacent nodes managed in units of global destination addresses (GD), and is generated for each global destination address. Each node generates a routing table 32 using a link table 31 generated from a Hello message frame received from an adjacent node.

ルーティングテーブル32は、1つのグローバル宛先アドレス(GD)に対して、1つ以上の任意の数のローカル宛先アドレス(LD)を記録することができる。ルーティングテーブル32は、例えば、経路のホップ数や経路中に含まれる各リンクの受信電波強度などを用いて計算された経路の品質を表す情報を、グローバル宛先とローカル宛先の組合せごとに記録することができる。   The routing table 32 can record one or more arbitrary numbers of local destination addresses (LD) for one global destination address (GD). The routing table 32 records, for each combination of global destination and local destination, information indicating the quality of the route calculated using, for example, the number of hops of the route and the received radio wave strength of each link included in the route. Can do.

図12は、本実施形態におけるTNDルーティングテーブルの一例を示す。TNDルーティングテーブル33は、「グローバル宛先アドレス(GD)」、「経路収集開始時刻」、「途中経路情報」のデータ項目を含む。   FIG. 12 shows an example of the TND routing table in the present embodiment. The TND routing table 33 includes data items of “global destination address (GD)”, “route collection start time”, and “route route information”.

「グローバル宛先アドレス(GD)」には、ターゲットとなるノードのIDが格納される。「経路収集開始時刻」には、経路収集フレームを送信した日時が格納される。   The “global destination address (GD)” stores the ID of the target node. The “route collection start time” stores the date and time when the route collection frame is transmitted.

「途中経路情報」には、その経路収集フレームを受信した中継ノードから送信される折り返しフレームから得られる途中経路情報が格納される。より具体的には、途中経路情報とは、起点となる送信元(GS)のノードに隣接するノードから折り返しフレームを送信したノードまでの各中継ノードが付与した次ホップのノードに対する送信結果の累積情報である。   The “intermediate route information” stores intermediate route information obtained from the return frame transmitted from the relay node that has received the route collection frame. More specifically, the intermediate route information is the accumulation of transmission results for the next hop node assigned by each relay node from the node adjacent to the source transmission source (GS) node to the node that transmitted the return frame. Information.

図13は、本実施形態におけるTNDルーティングテーブルの更新例を示す。図4のS3にて、ノードCは、送信元であるノードA宛に、ノードB,C,Dに対する送信結果を含む折り返しフレームを送信する。ノードAは、その折り返しフレームを受信すると、図13(A)に示すように、TNDルーティングテーブルに登録する。   FIG. 13 shows an example of updating the TND routing table in the present embodiment. In S3 of FIG. 4, the node C transmits a return frame including the transmission results for the nodes B, C, and D to the node A that is the transmission source. When node A receives the loopback frame, node A registers it in the TND routing table as shown in FIG.

次に、図4のS4にて、ノードDは、送信起点であるノードA宛に、ノードB,C,D.Eに対する送信結果を含む折り返しフレームを送信する。ノードAは、その折り返しフレームを受信すると、図13(B)に示すように、TNDルーティングテーブルを更新する。   Next, in S4 of FIG. 4, the node D sends nodes B, C, D. A return frame including a transmission result for E is transmitted. When the node A receives the return frame, the node A updates the TND routing table as shown in FIG.

この場合、図4のS5、S6において、ノードAは、経路収集フレーム(復路)を受信できない。しかしながら、ノードAが、受信タイムアウトを検出した場合であっても、経路収集フレーム(復路)未受信で、TNDルーティングテーブル33は図13(B)の状態のため、ノードDまで到達したことが分かる。   In this case, in S5 and S6 in FIG. 4, the node A cannot receive the route collection frame (return route). However, even if node A detects a reception timeout, it can be seen that the route collection frame (return route) has not been received, and the TND routing table 33 has reached node D because of the state shown in FIG. .

次に、ターゲットノードへ経路収集フレームを送信する起点となるノード(起点ノード)の処理について、図14〜図17を用いて説明する。なお、起点ノード及びターゲットノードは、いずれのノードもなることができる。   Next, processing of a node (starting node) serving as a starting point for transmitting a route collection frame to the target node will be described with reference to FIGS. The origin node and the target node can be any nodes.

図14は、本実施形態における起点ノードの経路収集フレーム(往路)の送信処理フローを示す。起点ノードは、ユーザの操作により、ユーザの端末から送信された、ターゲットのノードまでの経路情報を収集する旨の経路収集指示情報を取得する(S31)。経路収集指示情報には、ターゲットノードのノードIDが指定されている。   FIG. 14 shows a transmission processing flow of a route collection frame (outbound route) of the origin node in the present embodiment. The origin node acquires route collection instruction information for collecting route information to the target node transmitted from the user's terminal by the user's operation (S31). In the route collection instruction information, the node ID of the target node is specified.

起点ノードは、ルーティングテーブル32から、ターゲットノード宛に送信することができる隣接ノードを取得する(S32)。ここでは、起点ノードは、ルーティングテーブル32から、指定されたターゲットノードをGDとするエントリに含まれるLD(隣接ノードのノードID)を取得する。複数のLDが取得できる場合には、起点ノードは、例えば、通信品質の最もよいLDを取得する。   The origin node acquires an adjacent node that can be transmitted to the target node from the routing table 32 (S32). Here, the origin node acquires from the routing table 32 the LD (node ID of the adjacent node) included in the entry having the designated target node as GD. When a plurality of LDs can be acquired, the origin node acquires, for example, the LD with the best communication quality.

S32において、ルーティングテーブル32から、送信先の隣接ノードが取得できた場合(S33で「YES」)、起点ノードは、経路収集フレーム(往路用)を生成する。ここで、起点ノードは、生成したデータフレームのAMヘッダに「タイプ=Trace Route」、「サブタイプ=“0x00”(収集)」を設定する。また、起点ノードは、その経路収集フレーム(往路用)に、送信先の隣接ノード(次ポップノード)宛の送信結果(デフォルト値=「成功」)を付与する(S34)。   In S32, when the destination adjacent node can be acquired from the routing table 32 (“YES” in S33), the origin node generates a route collection frame (for forward route). Here, the origin node sets “type = Trace Route” and “subtype =“ 0x00 ”(collection)” in the AM header of the generated data frame. Further, the originating node gives a transmission result (default value = “success”) addressed to the destination adjacent node (next pop node) to the route collection frame (for forward route) (S34).

起点ノードは、その送信結果(デフォルト値=「成功」)が付与された経路収集フレームを、送信先の隣接ノード(次ポップノード)へ送信する(S35)。このとき、起点ノードは、経路収集フレーム(往路用)に対応する経路収集フレーム(復路)を判別するために、経路収集フレーム(往路用)のデータヘッダに含まれるフレーム識別子を保持しておく。   The origin node transmits the route collection frame to which the transmission result (default value = “success”) is given to the adjacent node (next pop node) of the transmission destination (S35). At this time, the origin node holds a frame identifier included in the data header of the path collection frame (for forward path) in order to determine the path collection frame (return path) corresponding to the path collection frame (for forward path).

このとき、起点ノードは、送信先の隣接ノード(次ポップノード)がその送信した経路収集フレームを受信したことを通知する受信確認(ACK)フレームを受信するまでのうち、所定時間を計測するACK受信待ちタイマを起動する(S36)。   At this time, the origin node measures the predetermined time until receiving the acknowledgment (ACK) frame notifying that the destination adjacent node (next pop node) has received the transmitted route collection frame. A reception waiting timer is started (S36).

また、起点ノードは、経路収集フレーム(復路用)を受信するまでの待ち時間を計測するタイマを起動する(S37)。   In addition, the origin node starts a timer that measures a waiting time until a route collection frame (for return route) is received (S37).

隣接するノードから、経路収集フレームの送信に対するACKフレームを、ACK受信待ちタイマにより計測される所定時間内に受信しない場合(S38で「NO」)、起点ノードは、ACK受信待ち時間のタイムアウトを検出する(S39)。この場合、起点ノードは、S34において、経路収集フレームに付与した次ポップノード宛送信結果を「失敗」に更新する(S40)。   When the ACK frame for the transmission of the route collection frame is not received from the adjacent node within the predetermined time measured by the ACK reception waiting timer (“NO” in S38), the originating node detects the timeout of the ACK reception waiting time (S39). In this case, the originating node updates the transmission result addressed to the next pop node assigned to the route collection frame to “failure” in S34 (S40).

S38において、隣接するノードから、経路収集フレームの送信に対するACKフレームを、ACK受信待ちタイマにより計測される所定時間内に受信した場合(S38で「YES」)、起点ノードは、ACK受信待ちタイマを停止する(S41)。そして、起点ノーは、経路収集フレーム(復路用)の受信待ち状態になる(S42)。   In S38, when the ACK frame for the transmission of the route collection frame is received from the adjacent node within the predetermined time measured by the ACK reception waiting timer (“YES” in S38), the originating node sets the ACK reception waiting timer. Stop (S41). Then, the starting point No enters a state of waiting for receiving a route collection frame (for return route) (S42).

S33において、ルーティングテーブル32から、送信先の隣接ノードが取得できなかった場合(S33で「NO」)、起点ノードは、経路収集指示に対する応答として、経路収集失敗を示す応答をユーザの端末に送信する(S43)。   In S33, when the adjacent node of the transmission destination cannot be acquired from the routing table 32 (“NO” in S33), the origin node transmits a response indicating a route collection failure to the user terminal as a response to the route collection instruction. (S43).

図15は、本実施形態における起点ノードの折り返しフレームの受信処理フローを示す。起点ノードは、データフレームを受信する(S51)。起点ノードは、受信したデータフレームが折り返しフレームであるかどうかを判定する。受信したデータフレームのAMヘッダにおいて「タイプ=Trace Route」で、「サブタイプ=“0x02”(折り返し)」である場合、起点ノードは、受信したデータフレームは折り返しフレームであると判定し、S52以降の処理を行う。   FIG. 15 shows a reception processing flow of the return frame of the origin node in the present embodiment. The origin node receives the data frame (S51). The origin node determines whether the received data frame is a folded frame. When “type = Trace Route” and “subtype =“ 0x02 ”(return)” in the AM header of the received data frame, the origin node determines that the received data frame is a return frame, and so on. Perform the process.

折り返しフレームを受信した場合、起点ノードは、経路情報の収集中の状態であるか否かを判定する(S52)。起点ノードは、経路収集フレーム(復路用)受信待ちタイマ(図14のS37)が起動している場合、経路情報の収集中の状態であると判定する。   When the return frame is received, the origin node determines whether or not the path information is being collected (S52). When the path collection frame (for return path) reception waiting timer (S37 in FIG. 14) is activated, the origin node determines that the path information is being collected.

経路情報の収集中の状態でない場合(S52で「NO」)、起点ノードは、S54の処理を行う。   When the route information is not being collected (“NO” in S52), the originating node performs the process of S54.

経路情報の収集中の状態である場合(S52で「YES」)、起点ノードは、図13で説明したように、その折り返しフレームに含まれる途中経路情報を用いて、TNDルーティングテーブル33を更新する(S53)。   When the path information is being collected (“YES” in S52), the origin node updates the TND routing table 33 by using the midway path information included in the return frame as described with reference to FIG. (S53).

起点ノードは、経路収集フレーム(復路用)の受信待ち状態になる(S54)。   The origin node waits to receive a route collection frame (for return route) (S54).

図16は、本実施形態における起点ノードの経路収集フレーム(復路用)の受信処理フローを示す。起点ノードは、データフレームを受信する(S61)。起点ノードは、受信したデータフレームが経路収集フレーム(復路用)であるかどうかを判定する。受信したデータフレームのデータヘッダに含まれるフレーム識別子が、図14のS35で保持したフレーム識別子である場合、起点ノードは、受信したデータフレームは経路収集フレーム(復路用)であると判定し、S62以降の処理を行う。   FIG. 16 shows a reception processing flow of the route collection frame (for return route) of the origin node in this embodiment. The origin node receives the data frame (S61). The origin node determines whether the received data frame is a route collection frame (for return route). When the frame identifier included in the data header of the received data frame is the frame identifier held in S35 of FIG. 14, the originating node determines that the received data frame is a path collection frame (for return path), and S62 Perform the following processing.

経路収集フレーム(復路用)を受信した場合、起点ノードは、経路情報の収集中の状態であるか否かを判定する(S52)。起点ノードは、経路収集フレーム(復路用)受信待ちタイマ(図14のS37)が起動している場合、経路情報の収集中の状態であると判定する。   When the route collection frame (for return route) is received, the origin node determines whether or not the route information is being collected (S52). When the path collection frame (for return path) reception waiting timer (S37 in FIG. 14) is activated, the origin node determines that the path information is being collected.

経路情報の収集中の状態でない場合(S62で「NO」)、起点ノードは、S67の処理を行う。   When the route information is not being collected (“NO” in S62), the starting node performs the process of S67.

経路情報の収集中の状態である場合(S62で「YES」)、起点ノードは、経路収集フレーム(復路用)受信待ちタイマを停止する(S63)。   When the path information is being collected (“YES” in S62), the originating node stops the path collection frame (for return path) reception waiting timer (S63).

起点ノードは、TNDルーティングテーブル33をクリアする(S64)。起点ノードは、受信した経路収集フレーム(復路用)から、起点ノードとターゲットノードとの間の通信を中継する中継ノードについての情報を抽出する。起点ノードは、抽出した中継ノードについての情報に基づいて、ターゲットノードに対する経路情報を生成する(S65)。起点ノードは、経路収集指示に対する応答として、生成した経路情報をユーザの端末に送信する(S66)。   The origin node clears the TND routing table 33 (S64). The origin node extracts information about the relay node that relays communication between the origin node and the target node from the received route collection frame (for return route). The origin node generates route information for the target node based on the extracted information about the relay node (S65). The origin node transmits the generated route information to the user terminal as a response to the route collection instruction (S66).

起点ノードは、経路収集フレーム(復路用)の受信待ち状態になる(S67)。   The origin node waits to receive a route collection frame (for return route) (S67).

図17は、本実施形態における起点ノードの、経路収集フレーム(復路用)の受信待ち時間がタイムアウトになった場合の処理フローを示す。   FIG. 17 shows a processing flow when the reception wait time of the route collection frame (for return route) at the origin node in this embodiment times out.

図14のS37において起動した経路収集フレーム(復路用)受信待ちタイマによる計測時間が、所定時間を超えた場合、起点ノードは、経路収集フレーム(復路用)受信待ち時間のタイムアウトを検出する(S71)。   When the time measured by the path collection frame (for return path) reception waiting timer started in S37 of FIG. 14 exceeds a predetermined time, the origin node detects a timeout of the path collection frame (for return path) reception wait time (S71). ).

起点ノードは、経路情報の収集中の状態であるか否かを判定する(S72)。起点ノードは、経路収集フレーム(復路用)受信待ちタイマ(図14のS37)が起動している場合、経路情報の収集中の状態であると判定する。   The origin node determines whether or not the path information is being collected (S72). When the path collection frame (for return path) reception waiting timer (S37 in FIG. 14) is activated, the origin node determines that the path information is being collected.

経路情報の収集中の状態でない場合(S72で「NO」)、起点ノードは、本フローを終了する。   When the route information is not being collected (“NO” in S72), the starting node ends this flow.

経路情報の収集中の状態である場合(S72で「YES」)、起点ノードは、ターゲットノードについてのTNDルーティングテーブルを取得する(S73)。起点ノードは、経路収集指示に対する応答として、取得したTNDルーティングテーブルの「GD」、「経路収集開示時刻」、「途中経路情報」を、ユーザの端末に送信する(S74)。   When the path information is being collected (“YES” in S72), the origin node acquires a TND routing table for the target node (S73). In response to the route collection instruction, the origin node transmits “GD”, “route collection disclosure time”, and “route route information” in the acquired TND routing table to the user terminal (S74).

次に、起点ノードとターゲットノードとの間の通信を中継するノード(中継ノード)の処理について、図18〜図20を用いて説明する。   Next, processing of a node (relay node) that relays communication between the origin node and the target node will be described with reference to FIGS.

図18は、本実施形態における中継ノードの経路収集フレーム(往路用)受信処理フローを示す。中継ノードは、データフレームを受信する(S81)。中継ノードは、受信したデータフレームが経路収集フレーム(往路用)であるかどうかを判定する。受信したデータフレームのAMヘッダにおいて「タイプ=Trace Route」、「サブタイプ=“0x00”(収集)」で、かつそのフレーム識別子と同一のフレーム識別子を保持していない場合、起点ノードは、次の処理を行う。すなわち、起点ノードは、受信したデータフレームは経路収集フレーム(往路用)であると判定し、S82以降の処理を行う。   FIG. 18 shows a flow of a relay node route collection frame (for forward route) reception process in this embodiment. The relay node receives the data frame (S81). The relay node determines whether the received data frame is a path collection frame (for forward path). When “type = Trace Route”, “subtype =“ 0x00 ”(collection)” in the AM header of the received data frame and the same frame identifier as that of the frame identifier is not held, the origin node Process. That is, the origin node determines that the received data frame is a path collection frame (for forward path), and performs the processing from S82 onward.

経路収集フレーム(往路用)を受信した場合、中継ノードは、その経路収集フレーム(往路用)を送信した隣接ノード(送信元(LS))に、ACKフレームを送信する(S82)。   When the path collection frame (for forward path) is received, the relay node transmits an ACK frame to the adjacent node (transmission source (LS)) that transmitted the path collection frame (for forward path) (S82).

中継ノードは、その隣接ノード(送信元(LS))のノードIDを送信元(LS)ノード情報34として保持する(S83)。   The relay node holds the node ID of the adjacent node (source (LS)) as source (LS) node information 34 (S83).

中継ノードは、ルーティングテーブル32から、ターゲットノード宛に送信することができる隣接ノードを取得する(S84)。ここでは、中継ノードは、ルーティングテーブル32から、受信した経路収集フレーム(往路用)に含まれるGDに対応するGDのエントリに含まれるLD(隣接ノードのノードID)を取得する。複数のLDが取得できる場合には、中継ノードは、例えば、通信品質の最もよいLDを取得する。   The relay node acquires an adjacent node that can be transmitted to the target node from the routing table 32 (S84). Here, the relay node acquires from the routing table 32 the LD (node ID of the adjacent node) included in the GD entry corresponding to the GD included in the received path collection frame (for forward path). When a plurality of LDs can be acquired, the relay node acquires, for example, the LD with the best communication quality.

S84において、ルーティングテーブル32から、送信先の隣接ノードが取得できた場合(S85で「YES」)、中継ノードは、転送用の経路収集フレーム(往路用)を生成する。ここで、中継ノードは、生成したデータフレームのAMヘッダに「タイプ=Trace Route」、「サブタイプ=“0x00”(収集)」を設定する。また、起点ノードは、生成した経路収集フレーム(往路用)に、送信先の隣接ノード(次ポップノード)宛の送信結果(デフォルト値=「成功」)を付与する(S86)。   In S84, when the destination adjacent node can be acquired from the routing table 32 (“YES” in S85), the relay node generates a transfer path collection frame (for forward path). Here, the relay node sets “type = Trace Route” and “subtype =“ 0x00 ”(collection)” in the AM header of the generated data frame. In addition, the originating node gives a transmission result (default value = “success”) addressed to the destination adjacent node (next pop node) to the generated path collection frame (for forward path) (S86).

中継ノードは、その送信結果(デフォルト値=「成功」)が付与された経路収集フレームを、送信先の隣接ノード(次ポップノード)へ送信する(S87)。このとき、中継ノードは、経路収集フレーム(往路用)に対応する経路収集フレーム(復路)を判別するために、経路収集フレーム(往路用)のデータヘッダに含まれるフレーム識別子を保持しておく。   The relay node transmits the route collection frame to which the transmission result (default value = “success”) is assigned to the adjacent node (next pop node) of the transmission destination (S87). At this time, the relay node holds a frame identifier included in the data header of the path collection frame (for forward path) in order to determine the path collection frame (return path) corresponding to the path collection frame (for forward path).

さらに、中継ノードは、折り返しフレームを生成し、生成した折り返しフレームを、S83で保持した送信元(LS)へ送信する(S88)。ここでは、中継ノードは、次のようにして折り返しフレームを生成する。中継ノードは、S86で生成した、その送信結果(デフォルト値=「成功」)が付与された経路収集フレームから、起点ノード(GS)のノードIDを取得する。中継ノードは、その経路収集フレームにおいて、GDに起点ノードのノードIDを設定し、LDにノード情報34から取得した送信元(LS)を設定し、AMヘッダに「タイプ=Trace Route」、「サブタイプ=“0x02”(折り返し)」を設定する。   Further, the relay node generates a return frame, and transmits the generated return frame to the transmission source (LS) held in S83 (S88). Here, the relay node generates the return frame as follows. The relay node acquires the node ID of the origin node (GS) from the route collection frame generated in S86 and given the transmission result (default value = “success”). In the route collection frame, the relay node sets the node ID of the origin node in GD, sets the transmission source (LS) acquired from the node information 34 in LD, and sets “type = Trace Route”, “sub” in the AM header. Set type = “0x02” (wrapping).

中継ノードは、送信先の隣接ノード(次ポップノード)がその送信した経路収集フレームを受信したことを通知する受信確認(ACK)フレームを受信するまでのうち、所定時間を計測するACK受信待ちタイマを起動する(S89)。   The relay node is an ACK reception waiting timer that measures a predetermined time until the reception adjacent node (next pop node) receives an acknowledgment (ACK) frame notifying that the transmitted route collection frame has been received. Is activated (S89).

隣接するノードから、S87での経路収集フレームの送信に対するACKフレームを、ACK受信待ちタイマにより計測される所定時間内に受信しない場合(S90で「NO」)、中継ノードは、ACK受信待ち時間のタイムアウトを検出する(S91)。この場合、中継ノードは、その隣接ノードとの通信状況は不良と判定し、S86にて経路収集フレームに付与した次ポップノード宛送信結果を「失敗」に更新する(S92)。   When the ACK frame for the transmission of the route collection frame in S87 is not received from the adjacent node within the predetermined time measured by the ACK reception waiting timer (“NO” in S90), the relay node determines the ACK reception waiting time. A timeout is detected (S91). In this case, the relay node determines that the communication status with the adjacent node is poor, and updates the transmission result addressed to the next pop node added to the path collection frame in S86 to “failure” (S92).

S90において、隣接するノードから、経路収集フレーム(往路用)の送信に対するACKフレームを、ACK受信待ちタイマにより計測される所定時間内に受信した場合(S90で「YES」)、中継ノードは、その隣接ノードとの通信状況は良好と判定する。この場合、中継ノードは、ACK受信待ちタイマを停止する(S93)。   In S90, when an ACK frame for transmission of a route collection frame (for forward route) is received from an adjacent node within a predetermined time measured by the ACK reception waiting timer (“YES” in S90), the relay node It is determined that the communication status with the adjacent node is good. In this case, the relay node stops the ACK reception waiting timer (S93).

S85において、ルーティングテーブル32から、送信先の隣接ノードが取得できなかった場合(S85で「NO」)、中継ノードは、送信元(LS)ノード情報34から送信元(LS)を取得する(S94)。   In S85, when the adjacent node of the transmission destination cannot be acquired from the routing table 32 (“NO” in S85), the relay node acquires the transmission source (LS) from the transmission source (LS) node information 34 (S94). ).

中継ノードは、バックトラックフレームを生成し、生成したバックトラックフレームを送信元(LS)ノード情報34から取得した送信元(LS)へ送信する(S95)。ここでは、中継ノードは、次のようにしてバックトラックフレームを生成する。中継ノードは、S81で受信した経路収集フレームから、起点ノード(GS)のノードIDを取得する。中継ノードは、その経路収集フレームにおいて、GDに起点ノードのノードIDを設定し、LDにノード情報34から取得した送信元(LS)を設定する。   The relay node generates a backtrack frame and transmits the generated backtrack frame to the transmission source (LS) acquired from the transmission source (LS) node information 34 (S95). Here, the relay node generates a backtrack frame as follows. The relay node acquires the node ID of the origin node (GS) from the route collection frame received in S81. In the route collection frame, the relay node sets the node ID of the origin node in GD, and sets the transmission source (LS) acquired from the node information 34 in LD.

なお、図18では、経路収集フレーム(往路用)を受信した場合の処理について説明したが、経路収集フレーム(復路用)を受信した場合も、図18と同様である。すなわち、上述した図18の説明において、経路収集フレーム(往路用)を経路収集フレーム(復路用)と読み替えればよい。   In FIG. 18, the processing when the route collection frame (for the forward route) is received has been described, but the case where the route collection frame (for the backward route) is received is the same as that in FIG. 18. That is, in the description of FIG. 18 described above, the route collection frame (for the forward route) may be read as the route collection frame (for the backward route).

図19は、本実施形態における中継ノードの折り返しフレームの受信処理フローを示す。中継ノードは、データフレームを受信する(S101)。中継ノードは、受信したデータフレームが折り返しフレームであるかどうかを判定する。受信したデータフレームのAMヘッダにおいて「タイプ=Trace Route」で、「サブタイプ=“0x02”(折り返し)」である場合、中継ノードは、受信したデータフレームは折り返しフレームであると判定し、S102以降の処理を行う。   FIG. 19 shows a reception processing flow of the return frame of the relay node in the present embodiment. The relay node receives the data frame (S101). The relay node determines whether the received data frame is a return frame. When “type = Trace Route” and “subtype =“ 0x02 ”(return)” in the AM header of the received data frame, the relay node determines that the received data frame is a return frame, and after S102 Perform the process.

折り返しフレームを受信した場合、中継ノードは、送信元(LS)ノード情報34から送信元(LS)を取得する(S102)。   When the return frame is received, the relay node acquires the transmission source (LS) from the transmission source (LS) node information 34 (S102).

中継ノードは、受信した折り返しフレームのLDに、送信元(LS)ノード情報34から送信元(LS)を設定する。中継ノードは、その折り返しフレームを、送信元(LS)ノード情報34から取得した送信元(LS)へ送信する(S103)。   The relay node sets the transmission source (LS) from the transmission source (LS) node information 34 in the LD of the received return frame. The relay node transmits the return frame to the transmission source (LS) acquired from the transmission source (LS) node information 34 (S103).

図20は、本実施形態における中継ノードのバックトラックフレームの受信処理フローを示す。中継ノードは、データフレームを受信する(S111)。中継ノードは、受信したデータフレームがバックトラックフレームであるかどうかを判定する。
受信したデータフレームのデータヘッダのフレーム識別子と同一のフレーム識別子を保持し、最後に付与された次ポップノード宛送信結果が「失敗」と設定されている場合、中継ノードは、受信したデータフレームはバックトラックフレームであると判定する。その場合、中継ノードは、S112以降の処理を行う。
FIG. 20 shows a reception processing flow of the backtrack frame of the relay node in this embodiment. The relay node receives the data frame (S111). The relay node determines whether the received data frame is a backtrack frame.
When the frame identifier that is the same as the frame identifier of the data header of the received data frame is held, and the transmission result addressed to the next pop node is set to “failure”, the relay node determines that the received data frame is It is determined that it is a backtrack frame. In that case, the relay node performs the processing after S112.

バックトラックフレームを受信した場合、中継ノードは、送信元(LS)ノード情報34から送信元(LS)を取得する(S112)。   When the backtrack frame is received, the relay node acquires the transmission source (LS) from the transmission source (LS) node information 34 (S112).

中継ノードは、受信したバックトラックフレームのLDに、送信元(LS)ノード情報34から送信元(LS)を設定する。中継ノードは、そのバックトラックフレームを、送信元(LS)ノード情報34から取得した送信元(LS)へ送信する(S113)。   The relay node sets the transmission source (LS) from the transmission source (LS) node information 34 in the LD of the received backtrack frame. The relay node transmits the backtrack frame to the transmission source (LS) acquired from the transmission source (LS) node information 34 (S113).

なお、図20では、バックトラックフレームを受信した場合の処理について説明したが、経路収集フレーム(復路用)を受信した場合にも、中継ノードは、図20のフローを実行しても良い。   In FIG. 20, the processing when the backtrack frame is received has been described, but the relay node may execute the flow of FIG. 20 even when the route collection frame (for return route) is received.

本実施形態によれば、経路途中の各ノードは、フレームを中継すると共に、送信起点宛に対して経路情報フレームを送信する。この経路情報フレームで中継ノードまでの到達を通知することによって、途中でフレームが消失した場合でも、送信起点ノードは途中までの経路情報を得ることができる。これにより、通信障害が起きたパスを即座に特定することができる。   According to this embodiment, each node in the middle of the route relays the frame and transmits a route information frame to the transmission origin. By notifying the arrival to the relay node using this route information frame, even when the frame is lost in the middle, the transmission origin node can obtain the route information up to the middle. As a result, the path where the communication failure has occurred can be immediately identified.

従って、経路途中でフレームが消失してしまうような通信障害であっても、事象をリアルタイムに監視できるため、該当無線区間の早期保全が可能となる。また、本実施形態では、最終到達ノードを指定したフレーム送信を行うことにより、原因となるパスを特定することが可能である。そのため、特定の保守者に限定する必要もないため効率良い調査が可能となり、調査工数の削減効果が期待できる。   Therefore, even in the case of a communication failure in which a frame is lost along the route, the event can be monitored in real time, so that the corresponding wireless section can be maintained early. Further, in the present embodiment, it is possible to identify the path that is the cause by performing frame transmission designating the final destination node. Therefore, since it is not necessary to limit to a specific maintenance person, an efficient investigation is possible, and a reduction in the number of investigation steps can be expected.

なお、本発明は、以上に述べた実施の形態に限定されるものではなく、本発明の要旨を逸脱しない範囲内で種々の構成または実施形態を取ることができる。   The present invention is not limited to the above-described embodiment, and various configurations or embodiments can be taken without departing from the gist of the present invention.

1 中継装置
2 受信部
3 送信部
4 記憶部
5 特定部
11 ノード
12 CPU
13 無線通信I/F
14 RAM
15 不揮発性メモリ
21 フレーム受信処理部
22 フレーム送信処理部
23 ルーティング部
24 アプリケーション処理部
25 HELLO制御部
26 受信部
27 送信部
31 ルーティングテーブル
32 リンクテーブル
33 TNDルーティングテーブル
34 送信元(LS)ノード情報
DESCRIPTION OF SYMBOLS 1 Relay device 2 Receiving part 3 Transmitting part 4 Storage part 5 Identification part 11 Node 12 CPU
13 Wireless communication I / F
14 RAM
DESCRIPTION OF SYMBOLS 15 Nonvolatile memory 21 Frame reception process part 22 Frame transmission process part 23 Routing part 24 Application process part 25 HELLO control part 26 Receiving part 27 Transmission part 31 Routing table 32 Link table 33 TND routing table 34 Source (LS) node information

Claims (7)

データ送信元からデータ送信先への通信ネットワークを構築する複数のノード装置に含まれるノード装置に、
他のノード装置から送信された通信情報を受信し、
受信した前記通信情報に対して前記通信の通信経路における後段のノード装置の識別情報を付加した通信情報を、前記通信経路における前段のノード装置と前記後段のノード装置とに送信する、
処理を実行させることを特徴とする経路情報収集プログラム。
To node devices included in a plurality of node devices that construct a communication network from a data transmission source to a data transmission destination,
Receives communication information transmitted from other node devices,
Transmitting the communication information in which the identification information of the subsequent node device in the communication path of the communication is added to the received communication information to the previous node device and the subsequent node device in the communication path;
A route information collection program characterized by causing processing to be executed.
前記送信において、前記前段のノード装置へ送信された前記通信情報である折り返し情報を、起点となる前記送信元を最終宛先として、前記前段のノード装置へ送信する
ことを特徴とする請求項1に記載の経路情報収集プログラム。
In the transmission, the return information that is the communication information transmitted to the preceding node device is transmitted to the preceding node device with the transmission source as a starting point as a final destination. The described route information collection program.
前記ノード装置に、さらに、
前記前段のノード装置から前記通信情報を受信すると、該前段のノード装置の識別情報を記憶装置に保持し、
前記後段のノード装置から前記折り返し情報を受信した場合、保持された前記識別情報を用いて、前記前段のノード装置へ前記折り返し情報を送信する
ことを特徴とする請求項2に記載の経路情報収集プログラム。
In addition to the node device,
When the communication information is received from the upstream node device, the identification information of the upstream node device is stored in a storage device,
The path information collection according to claim 2, wherein when the return information is received from the subsequent node device, the return information is transmitted to the previous node device using the stored identification information. program.
前記ノード装置に、さらに、
前記後段のノード装置から受信した、送信した前記通信情報に対する受信確認情報に基づいて、前記通信経路のノード装置間の通信状況を特定する
処理を実行させることを特徴とする経路情報収集プログラム。
In addition to the node device,
A path information collection program characterized by causing a process of specifying a communication status between node apparatuses on the communication path to be executed based on reception confirmation information for the transmitted communication information received from the subsequent node apparatus.
前記ノード装置に、さらに、
前記後段のノード装置から通信情報を受信すると、前記後段のノード装置から受信した前記通信情報に前記前段のノード装置の識別情報を付加した通信情報を、前記前段のノード装置に送信する、
処理を実行させることを特徴とする経路情報収集プログラム。
In addition to the node device,
When communication information is received from the downstream node device, the communication information obtained by adding identification information of the upstream node device to the communication information received from the downstream node device is transmitted to the upstream node device.
A route information collection program characterized by causing processing to be executed.
データ送信元からデータ送信先への通信ネットワークを構築する複数のノード装置に含まれるノード装置に、
他のノード装置から送信された通信情報を受信し、
受信した前記通信情報に対して前記通信の通信経路における後段のノード装置の識別情報を付加した通信情報を、前記後段のノード装置に送信すると共に、前記データ送信先を最終宛先として、前記通信経路における前段のノード装置に送信し、
前記最終宛先のデータ送信先の装置は、前記複数のノード装置から送信される前記通信情報を収集する
処理を実行させることを特徴とする経路情報収集方法。
To node devices included in a plurality of node devices that construct a communication network from a data transmission source to a data transmission destination,
Receives communication information transmitted from other node devices,
The communication information in which the identification information of the subsequent node device in the communication path of the communication is added to the received communication information is transmitted to the subsequent node device, and the data transmission destination is the final destination. To the previous node device in
The route information collection method, characterized in that the final data transmission destination device executes a process of collecting the communication information transmitted from the plurality of node devices.
データ送信元からデータ送信先への通信ネットワークを構築する複数のノード装置に含まれるノード装置であって、
他のノード装置から送信された通信情報を受信する受信部と、
受信した前記通信情報に対して前記通信の通信経路における後段のノード装置の識別情報を付加した通信情報を、前記通信経路における前段のノード装置と前記後段のノード装置とに送信する送信部と、
を備えることを特徴とするノード装置。
A node device included in a plurality of node devices constructing a communication network from a data transmission source to a data transmission destination,
A receiving unit for receiving communication information transmitted from another node device;
A transmission unit for transmitting communication information obtained by adding identification information of a subsequent-stage node device in the communication path of the communication to the received communication information to the previous-stage node device and the subsequent-stage node device in the communication path;
A node device comprising:
JP2015030774A 2015-02-19 2015-02-19 Route information collection program, route information collection method, and node device Expired - Fee Related JP6424668B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015030774A JP6424668B2 (en) 2015-02-19 2015-02-19 Route information collection program, route information collection method, and node device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015030774A JP6424668B2 (en) 2015-02-19 2015-02-19 Route information collection program, route information collection method, and node device

Publications (2)

Publication Number Publication Date
JP2016152592A true JP2016152592A (en) 2016-08-22
JP6424668B2 JP6424668B2 (en) 2018-11-21

Family

ID=56695592

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015030774A Expired - Fee Related JP6424668B2 (en) 2015-02-19 2015-02-19 Route information collection program, route information collection method, and node device

Country Status (1)

Country Link
JP (1) JP6424668B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08265728A (en) * 1995-03-20 1996-10-11 Fujitsu Ltd Transmission station, reception terminal and network in information transmission system
US20120063325A1 (en) * 2009-05-29 2012-03-15 Telefonaktiebolaget Lm Ericsson (Publ) Failure localisation in a mpls-tp network
JP2014183348A (en) * 2013-03-18 2014-09-29 Fujitsu Ltd Node device, communication method, communication program and network system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08265728A (en) * 1995-03-20 1996-10-11 Fujitsu Ltd Transmission station, reception terminal and network in information transmission system
US20120063325A1 (en) * 2009-05-29 2012-03-15 Telefonaktiebolaget Lm Ericsson (Publ) Failure localisation in a mpls-tp network
JP2014183348A (en) * 2013-03-18 2014-09-29 Fujitsu Ltd Node device, communication method, communication program and network system

Also Published As

Publication number Publication date
JP6424668B2 (en) 2018-11-21

Similar Documents

Publication Publication Date Title
KR101212838B1 (en) Node device, method executed in node device, and computer-readable recording medium
US8493841B2 (en) Wireless communication system and nodes
JP5836477B2 (en) Data communication apparatus, data communication system, and data communication method
JP5376068B2 (en) Wireless communication device and detour route search method
CN103262467A (en) Increased communication opportunities with low-contact nodes in a computer network
US10243832B2 (en) Routing message delivery method applicable to network node and network node using the same and communication network using the same
JP5400630B2 (en) Wireless multi-hop communication device and transmission power control method thereof
JP6197468B2 (en) COMMUNICATION DEVICE, COMMUNICATION SYSTEM, COMMUNICATION CONTROL METHOD, AND COMMUNICATION CONTROL PROGRAM
US9081567B1 (en) Method and apparatus to control routing convergence during node reboot by entering a freeze state that inhibits routing convergence during the reboot process
JP6171434B2 (en) Node device, communication method, communication program, and network system
WO2013129670A1 (en) Terminal, route generation method, and route generation program
US9590891B2 (en) Node apparatus, recording medium that has stored control program therein, and method of operating node apparatus
JP6098322B2 (en) Packet transfer method, node device, and program
US10257763B2 (en) Routing protocol for advanced metering infrastructure system
JP6424668B2 (en) Route information collection program, route information collection method, and node device
JP2012070369A (en) Multi-hop communication method, multi-hop communication system, and communication terminal
JP5991610B2 (en) Data acquisition apparatus and multi-hop communication system using the same
JP6003158B2 (en) Communication device, route construction method, and route construction program
JP2017121027A (en) Communication system, communication unit and communication method
JP6486691B2 (en) Communication device, communication method, communication program, and communication system.
JP2013046245A (en) Monitoring system, and master terminal and slave terminals for monitoring system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20171215

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180807

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180907

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20181008

R150 Certificate of patent or registration of utility model

Ref document number: 6424668

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees