JP2014014018A - Communication system and node - Google Patents

Communication system and node Download PDF

Info

Publication number
JP2014014018A
JP2014014018A JP2012150786A JP2012150786A JP2014014018A JP 2014014018 A JP2014014018 A JP 2014014018A JP 2012150786 A JP2012150786 A JP 2012150786A JP 2012150786 A JP2012150786 A JP 2012150786A JP 2014014018 A JP2014014018 A JP 2014014018A
Authority
JP
Japan
Prior art keywords
node
information
communication
success rate
rrep
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
JP2012150786A
Other languages
Japanese (ja)
Other versions
JP5954895B2 (en
Inventor
Tadahide Kunitachi
忠秀 國立
Katsumi Kanamori
勝美 金森
Yuta Nakagawa
雄太 中川
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.)
Yazaki Corp
Original Assignee
Yazaki Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yazaki Corp filed Critical Yazaki Corp
Priority to JP2012150786A priority Critical patent/JP5954895B2/en
Publication of JP2014014018A publication Critical patent/JP2014014018A/en
Application granted granted Critical
Publication of JP5954895B2 publication Critical patent/JP5954895B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To provide a communication system capable of performing communication using an optimum path and a node used in the communication system.SOLUTION: A communication system comprises: a communication confirmation packet transmission unit 12 for intermittently transmitting a communication confirmation packet; a bit error detection unit 13 for detecting a bit error in a communication confirmation packet received from another node; a communication success ratio calculation unit 14 for calculating a communication success ratio of communication with an adjacent node on the basis of the detection result; a RREP reply unit 19 for transmitting a RREP including path information taking one of adjacent nodes stored in a success ratio table 15 as the next node and a success ratio of the next node; a RREP transfer unit 20 for transferring a new RREP including path information taking one of the adjacent nodes stored in the success ratio table 15 as the next node and a success ratio of the next node, according to reception of a RREP; and a data transmission/reception unit 22 for selecting path information having the highest success ratio included in a RREP when a plurality of pieces of path information corresponding to one destination node are acquired.

Description

本発明は、通信システム及びノードに係り、特に、互いに無線通信を行う複数のノードを備えた通信システム及び当該通信システムに用いられるノードに関するものである。   The present invention relates to a communication system and a node, and more particularly, to a communication system including a plurality of nodes that perform wireless communication with each other and a node used in the communication system.

ノード間で無線通信を行う場面において、様々な要因から直接通信路上の電波が遮られる問題がある。これに対応するため、上述した通信システムでは、ホッピング等による、迂回路を含めた通信が行われている。ノードや遮蔽物の配置位置の全てが固定された環境においては、ノード設置時などに適切な通信経路設定ができ、良好な通信環境が得られる。しかし、このような設置時から変化のない環境はまれであり、大半は人などが介在する空間で、そのような空間では、無線通信に利用する電波環境は随時変化する。このため、変化に合わせた通信経路設定が必要である。   In a scene where wireless communication is performed between nodes, there is a problem that radio waves on a direct communication path are blocked by various factors. In order to cope with this, in the communication system described above, communication including a detour by hopping or the like is performed. In an environment where all of the arrangement positions of nodes and shielding objects are fixed, an appropriate communication path can be set at the time of node installation or the like, and a good communication environment can be obtained. However, such an environment that has not changed from the time of installation is rare, and most of the space is a space in which a person or the like is interposed. In such a space, the radio wave environment used for wireless communication changes at any time. For this reason, it is necessary to set a communication path in accordance with the change.

これに対応する技術として、最も利用されている方式としてダイナミックルーティングシステムがある。このダイナミックルーティングシステムの典型的な経路検索手順を図9を参照して以下説明する。同図に示すように、ダイナミックルーティングを実施する通信システム100は、ノードA〜D、ノードSで構成されている。ノードAは、ノードBと相互に通信可能に設けられている。ノードBは、ノードA、Sと相互に通信可能に設けられている。ノードSは、ノードB、Cと相互に通信可能に設けられている。ノードCは、ノードS、Dと相互に通信可能に設けられている。ノードDは、ノードCと相互に通信可能に設けられている。   As a technique corresponding to this, there is a dynamic routing system as the most used system. A typical route search procedure of this dynamic routing system will be described below with reference to FIG. As shown in the figure, a communication system 100 that performs dynamic routing includes nodes A to D and a node S. The node A is provided so as to be able to communicate with the node B. The node B is provided so as to be able to communicate with the nodes A and S. The node S is provided so as to be able to communicate with the nodes B and C. The node C is provided to be able to communicate with the nodes S and D. The node D is provided so as to be able to communicate with the node C.

次に、ノードSからノードDへデータ通信を行う場合の動作ついて説明する。
(1)ノードSからノードDへ通信する場合、まずはじめに、ノードSは、通信元ノードS、宛先ノードD、中継ノードなしとして、Route-Request packet(以下RREQ)を送信する。このRREQは、ノードB、Cが受信する(他ノードへは、距離等の影響で届かない)。
Next, an operation when data communication is performed from the node S to the node D will be described.
(1) When communicating from the node S to the node D, first, the node S transmits a Route-Request packet (hereinafter referred to as RREQ) assuming that there is no communication source node S, destination node D, and relay node. This RREQ is received by the nodes B and C (they do not reach other nodes due to the influence of distance, etc.).

(2)ノードB、Cでは、受信したRREQの宛先ノードが自ノードではなく、中継ノードに自ノードが格納されていないため、中継ノードに自ノードの情報を格納し、RREQを送信する。ノードBから送信したRREQは、ノードA、Sが、ノードCから送信したRREQは、ノードS、Dが受信する。
(3)ノードAは、ノードBからのRREQの宛先ノードが自ノードではなく、中継ノードに自ノードが格納されていないため、中継ノードに自ノードの情報を格納し、RREQを送信する。ノードDは、ノードCからのRREQの宛先ノードが自ノードであるため、送信元ノードと中継ノードから、ノードS→ノードC→ノードDのルートで通信されることを知る。ノードSは、ノードB、ノードCからのRREQを受信するが、送信元ノードが自ノードであるため、これを無視する。
(2) Since the destination node of the received RREQ is not the own node and the own node is not stored in the relay node, the nodes B and C store information on the own node in the relay node and transmit the RREQ. The RREQ transmitted from the node B is received by the nodes A and S, and the RREQ transmitted from the node C is received by the nodes S and D.
(3) Since the destination node of the RREQ from the node B is not the own node and the own node is not stored in the relay node, the node A stores the information of the own node in the relay node and transmits the RREQ. Since the destination node of the RREQ from the node C is its own node, the node D knows that communication is performed from the transmission source node and the relay node through the route of the node S → node C → node D. The node S receives the RREQ from the node B and the node C, but ignores this because the source node is its own node.

(4)ノードBでは、ノードAからのRREQを受信するが、中継ノードに自ノードの情報があるため、これを無視する。
(5)ノードDでは、RREQから確定したルートを基に、ルート情報を含むRoute-Reply packet(RREP)を返信する。即ち、ノードDは、通信元ノードS、宛先ノードD、中継ノードCとしたRREPを送信する。
(6)ノードCでは、ノードDからのRREPを受信すると、中継ノードに自ノードがあるため、受信したRREPを送信する。
(4) The node B receives the RREQ from the node A, but ignores this because the relay node has information on its own node.
(5) The node D returns a Route-Reply packet (RREP) including route information based on the route determined from the RREQ. That is, the node D transmits the RREP that is the communication source node S, the destination node D, and the relay node C.
(6) When receiving the RREP from the node D, the node C transmits the received RREP because the relay node has its own node.

(7)ノードSは、ノードCから受け取ったRREPに含まれるルート情報から、ノードDまでの通信ルートを得られたので、ノードCを中継ノードとしてデータ通信を行う。
(8)ノードCでは、このデータをノードDへ転送する。以上の流れで、通信経路が決定される。通信ネットワークにおける経路の決定については、ダイナミックルーティングが一般的であり、この方法では通信を開始する前に、目的のノードまでに繋がっている経路を調査することで、通信経路を決定する。
(7) Since the node S has obtained a communication route to the node D from the route information included in the RREP received from the node C, the node S performs data communication using the node C as a relay node.
(8) The node C transfers this data to the node D. The communication path is determined by the above flow. As for determination of a route in a communication network, dynamic routing is generally used. In this method, a communication route is determined by investigating a route connected to a target node before starting communication.

ここで、中継ノードの情報の取得時間を短縮するため、各ノードは過去のRREQ−RREPを一定時間保持しておき、RREQを受信した場合、保持しておいた情報が利用できる場合は、その情報よりRREPを返信するようにすることもある。また、ノード間の状態を確認するパケット交換を行い、その際の電界強度より算出される通信成功率から、目的ノードまでの通信成功率が最も高くなる通信経路の決定を行うものも提案されている(特許文献1)。   Here, in order to shorten the information acquisition time of the relay node, each node holds the past RREQ-RREP for a certain time, and when the RREQ is received, if the held information can be used, RREP may be returned from the information. In addition, a packet exchange that confirms the state between nodes and that determines the communication path that maximizes the communication success rate to the target node from the communication success rate calculated from the electric field strength at that time is also proposed. (Patent Document 1).

特開2010−213164号公報JP 2010-213164 A

上述したダイナミックルーティングで求めた経路は、最短経路であるなど、ネットワーク全体で多数ある通信ルートの1つであり、それが最適であるとは限らない。また、最適な経路を求める手法として、特許文献1では、ノード間の状態確認を行うパケットの通信より、電界強度を取得しそこから通信成功率を推定することで最適な経路を選ぶが、電界強度は必ずしも通信成功率と一致しない問題がある。例えば、2つの異なるノードから、電波を送信する場合、2つの電波が重なり受信電界強度は強くなることがあるが、この場合通信データとしては認識できず失敗となる。   The route obtained by the dynamic routing described above is one of many communication routes in the entire network, such as the shortest route, and is not always optimal. Further, as a method for obtaining an optimum route, in Patent Document 1, an optimum route is selected by acquiring electric field strength and estimating a communication success rate from communication of a packet for performing state confirmation between nodes. There is a problem that the strength does not necessarily match the communication success rate. For example, when radio waves are transmitted from two different nodes, the two radio waves may overlap and the received electric field strength may become strong. However, in this case, the communication data cannot be recognized and fails.

また、上述したダイナミックルーティングでルートを求める方法は、通信の直前に通信可能なノードを確認するため、通信環境の変化に対応可能であるが、通信のたびに、ネットワーク全体の最適ルートを計算し求めるため、通信開始前の時間が非常に大きく、データが目的ノードまで届くのに時間が掛る問題がある。   In addition, the above-described method for obtaining a route by dynamic routing can cope with a change in the communication environment because the node that can communicate immediately before the communication is confirmed. However, the optimum route for the entire network is calculated for each communication. Therefore, there is a problem that the time before the start of communication is very long and it takes time for the data to reach the target node.

そこで、本発明は、最適な経路で通信できる通信システム及び当該通信システムに用いられるノードを提供することを課題とする。   Therefore, an object of the present invention is to provide a communication system that can communicate with an optimum route and a node used in the communication system.

上述した課題を解決するための請求項1記載の発明は、互いに無線通信を行う複数のノードを備えた通信システムにおいて、前記ノードが各々、間欠的に通信確認情報を送信する通信確認情報送信手段と、他のノードから受信した通信確認情報のビットエラーを検出するビットエラー検出手段と、前記ビットエラー検出手段の検出結果に基づいて直接通信可能な他のノードとの通信成功率を演算する通信成功率演算手段と、前記通信成功率演算手段により演算した結果に基づいて前記直接通信可能な他のノードと、当該他のノードに対応する前記通信成功率と、を関連付けて記憶する記憶手段と、前記記憶手段に記憶された直接通信可能なノードの1つを次のノードとした経路情報及び当該次のノードの通信成功率を含んだ第1情報を送信する第1送信手段と、前記次のノードが自ノードとなっている第1情報の受信に応じて、前記記憶手段に記憶されたノードの1つを次のノードとした経路情報及び前記次のノードの通信成功率を含んだ新たな第1情報を転送する第1転送手段と、前記次のノードが自ノードとなっている第1情報の受信に応じて、前記第1情報に含まれる経路情報を当該第1情報の送信元ノードの経路情報として取得する経路情報取得手段と、1つの送信元ノードに対する経路情報が複数取得されたとき前記第1情報に含まれる成功率が最も高い経路情報を選択する経路情報選択手段と、
を備えたことを特徴とする通信システムに存する。
The invention according to claim 1 for solving the above-described problem is a communication confirmation information transmitting means in which each of the nodes intermittently transmits communication confirmation information in a communication system including a plurality of nodes performing wireless communication with each other. And a bit error detection means for detecting a bit error in communication confirmation information received from another node, and a communication for calculating a communication success rate with another node capable of direct communication based on a detection result of the bit error detection means A storage unit for storing the success rate calculating unit, the other node capable of direct communication based on the result calculated by the communication success rate calculating unit, and the communication success rate corresponding to the other node; The first information including the path information in which one of the directly communicable nodes stored in the storage means is the next node and the communication success rate of the next node is transmitted. In response to the reception of the first transmission means and the first information in which the next node is its own node, the path information with one of the nodes stored in the storage means as the next node and the next node Path information included in the first information in response to the reception of the first transfer means for transferring new first information including the communication success rate and the first information in which the next node is the own node. Route information acquisition means for acquiring the first information as route information of the transmission source node, and route information with the highest success rate included in the first information when a plurality of route information for one transmission source node is acquired. Route information selection means to select;
There exists in the communication system characterized by comprising.

請求項2記載の発明は、前記通信成功率演算手段が、前記ビットエラー検出手段によりビットエラーが検出されなければ通信成功と判定し、当該通信成功と判定した回数に基づいて通信成功率を演算することを特徴とする請求項1に記載の通信システムに存する。   According to the second aspect of the present invention, the communication success rate calculating means determines that the communication is successful if no bit error is detected by the bit error detecting means, and calculates the communication success rate based on the number of times the communication is determined to be successful. The present invention resides in the communication system according to claim 1.

請求項3記載の発明は、前記第1転送手段が、受信した第1情報の通信成功率に前記次のノードの通信成功率を乗じて、その乗じた値を前記第1情報の通信成功率に上書きすることを特徴とする請求項1又は2に記載の通信システムに存する。   According to a third aspect of the present invention, the first transfer means multiplies the communication success rate of the received first information by the communication success rate of the next node, and the multiplied value is the communication success rate of the first information. The communication system according to claim 1, wherein the communication system is overwritten.

請求項4記載の発明は、宛先ノードに対する経路情報を求めるための第2情報を送信する第2送信手段と、前記宛先ノードが自ノードでない第2情報を受信すると、当該第2情報を転送する第2転送手段と、を備え、前記第1送信手段が、前記宛先ノードが自ノードである第2情報の受信に応じて、前記第2情報の送信元ノードをさらに含んだ前記第1情報を送信し、前記直接通信可能な他のノードに前記第2情報の送信元ノードが含まれている場合、当該送信元ノードの通信成功率よりも低い他のノードを次のノードとした第1情報の送信は行わず、前記第1転送手段が、前記第2情報の送信元ノードが自ノードでない前記第1情報の受信に応じて前記新たな第1情報を転送し、前記直接通信可能な他のノードに前記第2情報の送信元ノードが含まれている場合、当該送信元ノードの通信成功率よりも低い他のノードを次のノードとした第1情報の転送は行わず、前記経路情報取得手段は、前記次のノード及び前記第2情報の送信元ノードが自ノードである前記第1情報を受信したときのみ、前記第1情報に含まれる経路情報を当該第1情報の送信元ノードの経路情報として取得することを特徴とする請求項1〜3何れか1項に記載の通信システムに存する。   According to a fourth aspect of the present invention, when receiving the second information for transmitting the second information for obtaining the route information for the destination node and the second information for which the destination node is not its own node, the second information is transferred. Second transfer means, wherein the first transmission means further includes the first information further including a transmission source node of the second information in response to reception of the second information whose destination node is its own node. When the transmission source node of the second information is included in the other node that can transmit and communicate directly, the first information with another node lower than the communication success rate of the transmission source node as the next node The first transfer means transfers the new first information in response to the reception of the first information in which the transmission source node of the second information is not its own node, and is capable of the direct communication. The source of the second information Is included, the first information is not transferred with another node having a communication success rate lower than that of the transmission source node as the next node, and the path information acquisition unit includes the next node and the first node. The path information included in the first information is acquired as the path information of the transmission source node of the first information only when the first information of the transmission source node of the two information is received. It exists in the communication system of any one of Claims 1-3.

請求項5記載の発明は、通信システムを構成する無線通信可能なノードにおいて、間欠的に通信確認情報を送信する通信確認情報送信手段と、他のノードから受信した通信確認情報のビットエラーを検出するビットエラー検出手段と、前記ビットエラー検出手段の検出結果に基づいて直接通信可能な他のノードとの通信成功率を演算する通信成功率演算手段と、前記通信成功率演算手段により演算した結果に基づいて前記直接通信可能な他のノードと、当該他のノードに対応する前記通信成功率と、を関連付けて記憶する記憶手段と、前記記憶手段に記憶された直接通信可能なノードの1つを次のノードとした経路情報及び当該次のノードの通信成功率を含んだ第1情報を送信する第1送信手段と、前記次のノードが自ノードとなっている第1情報の受信に応じて、前記記憶手段に記憶されたノードの1つを次のノードとした経路情報及び前記次のノードの通信成功率を含んだ新たな第1情報を転送する第1転送手段と、前記次のノードが自ノードとなっている第1情報の受信に応じて、前記第1情報に含まれる経路情報を当該第1情報の送信元ノードの経路情報として取得する経路情報取得手段と、1つの送信元ノードに対する経路情報が複数取得されたとき前記第1情報に含まれる成功率が最も高い経路情報を選択する経路情報選択手段と、を備えたことを特徴とするノードに存する。   According to the fifth aspect of the present invention, communication confirmation information transmitting means for intermittently transmitting communication confirmation information and bit errors in communication confirmation information received from other nodes are detected in a wireless communicable node constituting the communication system. Bit error detection means that performs communication success rate calculation means for calculating a communication success rate with other nodes capable of direct communication based on the detection result of the bit error detection means, and results calculated by the communication success rate calculation means One of the nodes capable of direct communication and the communication success rate corresponding to the other node in association with each other, and the directly communicable node stored in the storage means The first transmission means for transmitting the first information including the path information with the next node as the next node and the communication success rate of the next node; and In response to reception of information, first transfer means for transferring new first information including path information in which one of the nodes stored in the storage means is the next node and the communication success rate of the next node. And route information acquisition means for acquiring the route information included in the first information as the route information of the transmission source node of the first information in response to reception of the first information in which the next node is its own node. And a route information selection means for selecting route information having the highest success rate included in the first information when a plurality of route information for one transmission source node is acquired. .

以上説明したように請求項1及び5記載の発明によれば、ビットエラー検出結果に応じた通信成功率が高い最適な経路情報を選択することができる。しかも、各ノードが、間欠的に通信確認情報を送信しているため、送信する毎に最新の成功率を求めることができ、データ送信時に成功率を求める必要がなく通信時間の短縮を図ることができる。   As described above, according to the first and fifth aspects of the invention, it is possible to select optimum route information having a high communication success rate according to the bit error detection result. In addition, since each node intermittently transmits communication confirmation information, the latest success rate can be obtained each time transmission is performed, and it is not necessary to obtain the success rate at the time of data transmission, thereby reducing the communication time. Can do.

請求項2記載の発明によれば、通信成功回数により通信成功率を求めることができ、より一層最適な経路情報を選択することができる。   According to the second aspect of the present invention, the communication success rate can be obtained from the number of successful communications, and more optimal route information can be selected.

請求項3記載の発明によれば、通信成功率を上書きすることにより、第1情報のデータ量を抑えることができる。   According to the third aspect of the present invention, the data amount of the first information can be suppressed by overwriting the communication success rate.

請求項4記載の発明によれば、第1送信手段及び第1転送手段が、直接可能な他のノードに第2情報の送信元ノードが含まれている場合、当該送信元ノードの通信成功率よりも低い他のノードを次のノードとした第1情報の送信、転送を行わないので、無駄な第1情報が送信されることない。   According to the fourth aspect of the present invention, when the first transmission unit and the first transfer unit include the transmission source node of the second information in the other directly possible nodes, the communication success rate of the transmission source node Since the first information is not transmitted or transferred with another lower node as the next node, useless first information is not transmitted.

本発明の通信システムの一実施形態を示す構成図である。It is a block diagram which shows one Embodiment of the communication system of this invention. 図1に示す通信システムを構成する各ノードを示す構成図である。It is a block diagram which shows each node which comprises the communication system shown in FIG. 図1に示す各ノードから送信される通信確認パケットの構成例を示す図である。It is a figure which shows the structural example of the communication confirmation packet transmitted from each node shown in FIG. 図2に示すノードを構成するCPUの成功率演算処理手順を示すフローチャートである。It is a flowchart which shows the success rate calculation process procedure of CPU which comprises the node shown in FIG. 図1に示す各ノードから送信されるRREQの構成例を示す図である。It is a figure which shows the structural example of RREQ transmitted from each node shown in FIG. 図1に示す各ノードから送信されるRREPの構成例を示す図である。It is a figure which shows the structural example of RREP transmitted from each node shown in FIG. 図1に示す通信システムの動作を説明するための説明図である。It is explanatory drawing for demonstrating operation | movement of the communication system shown in FIG. 図2に示すノードを構成するCPUの経路取得処理手順を示すフローチャートである。It is a flowchart which shows the path | route acquisition process procedure of CPU which comprises the node shown in FIG. 従来の通信システムの一実施の形態を示す図である。It is a figure which shows one Embodiment of the conventional communication system.

以下、本発明の通信システムを図1乃至図8を参照して説明する。本発明の通信システム10は、図1に示すように、複数のノード1〜8を有して構成され、これらのノード1〜8は無線メッシュネットワークを構成している。   The communication system of the present invention will be described below with reference to FIGS. As shown in FIG. 1, the communication system 10 of the present invention includes a plurality of nodes 1 to 8, and these nodes 1 to 8 constitute a wireless mesh network.

図1に示した通信システム10において、ノード1は、障害などにより他のノード2〜8と無線通信できない状態になっている。ノード2は、ノード3、5及び6と相互に無線通信可能となっている。ノード3は、ノード2、5及び6と相互に無線通信可能となっている。ノード4は、障害などにより他のノード1〜3、5〜8と無線通信できない状態となっている。ノード5は、ノード2、3及び7と相互に無線通信可能となっている。ノード6は、ノード2、3及び7と相互に無線通信可能となっている。ノード7は、ノード5、6及び8と相互に無線通信可能となっている。ノード8は、ノード7と相互に無線通信可能となっている。   In the communication system 10 shown in FIG. 1, the node 1 is in a state where it cannot wirelessly communicate with the other nodes 2 to 8 due to a failure or the like. The node 2 can communicate wirelessly with the nodes 3, 5 and 6. The node 3 can wirelessly communicate with the nodes 2, 5 and 6. The node 4 is in a state where it cannot wirelessly communicate with the other nodes 1 to 3 and 5 to 8 due to a failure or the like. The node 5 can wirelessly communicate with the nodes 2, 3 and 7. The node 6 can wirelessly communicate with the nodes 2, 3 and 7. The node 7 can wirelessly communicate with the nodes 5, 6 and 8. The node 8 can communicate with the node 7 wirelessly.

次に、上記ノード1〜8の構成について図2を参照して以下説明する。同図に示すように、ノード1〜8は各々、アンテナATと、データの無線受信を行うための通信ユニット11と、を備えている。また、ノード1〜8は各々、自ノードと直接通信可能な他のノード(以下「隣接ノード」という)との通信成功率を求めるための通信確認パケット送信部12(=通信確認情報送信手段)、ビットエラー検出部13(=ビットエラー検出手段)及び通信成功率演算部14(=通信成功率演算手段)を備えている。これらの働きにより各ノード1〜8の成功率テーブル15(=記憶手段)には、隣接ノードと、当該隣接ノードに対応する通信成功率と、が関連付けられて記憶されている。   Next, the configuration of the nodes 1 to 8 will be described below with reference to FIG. As shown in the figure, each of the nodes 1 to 8 includes an antenna AT and a communication unit 11 for wirelessly receiving data. Each of the nodes 1 to 8 is a communication confirmation packet transmitting unit 12 (= communication confirmation information transmitting means) for obtaining a communication success rate with other nodes (hereinafter referred to as “adjacent nodes”) that can directly communicate with the own node. , A bit error detection unit 13 (= bit error detection means) and a communication success rate calculation unit 14 (= communication success rate calculation means). With these functions, the success rate table 15 (= storage means) of each of the nodes 1 to 8 stores the adjacent node and the communication success rate corresponding to the adjacent node in association with each other.

上記通信確認パケット送信部12は、第1タイマ16が第1所定時間カウントする毎に、通信ユニット11から図3に示すような通信確認パケット(=通信確認情報)を作成して送信する。上記通信確認パケットは、図3に示すように、種別と、送信元ノードと、シーケンス番号と、データと、エラーチェックコードと、から構成されている。   The communication confirmation packet transmitter 12 creates and transmits a communication confirmation packet (= communication confirmation information) as shown in FIG. 3 from the communication unit 11 every time the first timer 16 counts for a first predetermined time. As shown in FIG. 3, the communication confirmation packet includes a type, a transmission source node, a sequence number, data, and an error check code.

通信確認パケット送信部12は、種別として、通信確認パケットであることを示す情報を格納する。送信元ノードとして、自ノードのアドレスを格納する。シーケンス番号として、前回、通信確認パケットを送信したときのシーケンス番号に1を加算した番号を格納する。なお、シーケンス番号は、最大値(例:シーケンス番号のビット割り当てが8ビットなら255)となったとき、その次の値は0とする。データとしては、ビットエラーを検出できるような、PN符号などの予め決められたデータを格納する。エラーチェックコードとしては、CRCやチェックサムなどエラーチェックするためのコードを格納する。   The communication confirmation packet transmission unit 12 stores information indicating a communication confirmation packet as a type. Stores the address of its own node as the source node. As the sequence number, a number obtained by adding 1 to the sequence number when the communication confirmation packet was transmitted last time is stored. When the sequence number reaches the maximum value (for example, 255 if the bit allocation of the sequence number is 8 bits), the next value is 0. As the data, predetermined data such as a PN code that can detect a bit error is stored. As the error check code, a code for error check such as CRC and checksum is stored.

ビットエラー検出部13は、通信ユニット11が他のノードからの通信確認パケットを受信する毎に、その受信した通信確認パケットのデータ及びエラーチェックコードを確認し、ビットエラーを検出する。通信成功率演算部14は、ビットエラー検出部13の検出結果に基づいて隣接ノードとの通信成功率を演算する。具体的には、通信成功率演算部14は、ビットエラー検出部13によりビットエラーが検出されなければ通信成功であると判定して、その送信元ノードに対する通信成功パケット数(通信成功回数)をインクリメントする。通信成功率演算部14は、ビットエラー検出部13によりビットエラーが検出されれば通信失敗であると判定して、通信成功パケット数のインクリメントは行わない。   Each time the communication unit 11 receives a communication confirmation packet from another node, the bit error detection unit 13 confirms the data and error check code of the received communication confirmation packet and detects a bit error. The communication success rate calculation unit 14 calculates the communication success rate with the adjacent node based on the detection result of the bit error detection unit 13. Specifically, the communication success rate calculation unit 14 determines that the communication is successful if no bit error is detected by the bit error detection unit 13 and determines the number of communication success packets (number of communication successes) for the transmission source node. Increment. The communication success rate calculation unit 14 determines that the communication has failed if a bit error is detected by the bit error detection unit 13, and does not increment the number of communication success packets.

また、通信成功率演算部14は、通信成功と判定する毎に、その送信元ノードから今まで送信された通信確認パケットの総数である送信パケット数を下記の式(1)から求め、式(2)で表す通信成功率に更新する。
送信パケット数=前回通信成功と判定されたときの送信パケット数+(前回通信成功と判定されたときのシーケンス番号−今回通信成功と判定されたときのシーケンス番号) …(1)
通信成功率=通信成功パケット数/送信パケット数 …(2)
次に、通信成功率演算部14は、成功率テーブル15に隣接ノードと、演算した当該隣接ノードに対応する通信成功率と、を関連付けて記憶させる。各ノード1〜8は、通信確認パケットの送信、受信、通信成功率の演算を定期的に繰り返している。これにより、各ノード1〜8は、隣接ノードに対する最新の通信成功率を把握することができる。
Each time the communication success rate calculation unit 14 determines that the communication is successful, the communication success rate calculation unit 14 obtains the number of transmission packets, which is the total number of communication confirmation packets transmitted from the transmission source node so far, from the following equation (1). The communication success rate represented by 2) is updated.
Number of transmitted packets = number of transmitted packets when it was determined that the previous communication was successful + (sequence number when it was determined that the previous communication was successful−sequence number when it was determined that the current communication was successful) (1)
Communication success rate = communication success packet number / transmission packet number (2)
Next, the communication success rate calculating unit 14 stores the adjacent node and the calculated communication success rate corresponding to the adjacent node in the success rate table 15 in association with each other. Each of the nodes 1 to 8 periodically repeats transmission and reception of a communication confirmation packet and calculation of a communication success rate. Thereby, each node 1-8 can grasp | ascertain the newest communication success rate with respect to an adjacent node.

また、各部12〜14は、図示しないCPUなどにより構成され、CPUが行う図4に示す成功率演算処理により実行されている。この成功率演算処理について、説明すると、まず、CPUは、第1タイマ16が第1所定時間をカウントする毎に(ステップS1でY)、図3に示す通信確認パケットを送信して(ステップS2)、ステップS1に戻る。第1タイマ16による第1所定時間のカウントがまだ終わっていない間は(ステップS1でN)、CPUは、他のノードから通信確認パケットを受信したか否かを判定する(ステップS3)。   Moreover, each part 12-14 is comprised by CPU etc. which are not shown in figure, and is performed by the success rate calculation process shown in FIG. 4 which CPU performs. The success rate calculation process will be described. First, the CPU transmits a communication confirmation packet shown in FIG. 3 every time the first timer 16 counts the first predetermined time (Y in step S1) (step S2). ), The process returns to step S1. While the counting of the first predetermined time by the first timer 16 is not yet finished (N in Step S1), the CPU determines whether or not a communication confirmation packet has been received from another node (Step S3).

通信確認パケットを受信していなければ(ステップS3でN)、CPUは再びステップS1に戻る。通信確認パケットを受信していれば(ステップS3でY)、CPUは、通信確認パケットの送信元ノード、シーケンス番号を確認した後(ステップS4、5)、上述した式(1)により送信パケット数を演算する(ステップS6)。次に、CPUは、通信確認パケットのビットエラーを検出して(ステップS7)、ビットエラーが検出されなければ通信成功と判定し、式(2)により通信成功率を演算し直し、ステップS4で確認した送信元ノードとの通信成功率として成功率テーブル15に格納した後(ステップS8)、ステップS1に戻る。ステップS8において、CPUは、ビットエラーが検出されれば通信失敗と判定する。ビットエラー検出時の確認パケットのシーケンス番号は、信憑性がないため、式(1)から送信パケット数を求めずに、CPUは、ビットエラーが検出される毎に送信パケット数に1を加算する。そして、下記の式(3)に示すように、通信成功率パケット数を1を加算した送信パケット数で割って通信成功率の演算をし直す。
通信成功率=通信成功率パケット数/(送信パケット数+1) …(3)
If the communication confirmation packet has not been received (N in step S3), the CPU returns to step S1 again. If a communication confirmation packet has been received (Y in step S3), the CPU confirms the transmission source node and sequence number of the communication confirmation packet (steps S4 and S5), and then transmits the number of transmitted packets according to the above-described equation (1). Is calculated (step S6). Next, the CPU detects a bit error in the communication confirmation packet (step S7). If no bit error is detected, the CPU determines that the communication is successful, recalculates the communication success rate using equation (2), and in step S4. After the communication success rate with the confirmed transmission source node is stored in the success rate table 15 (step S8), the process returns to step S1. In step S8, the CPU determines that communication has failed if a bit error is detected. Since the sequence number of the confirmation packet at the time of bit error detection is not credible, the CPU adds 1 to the number of transmitted packets every time a bit error is detected without obtaining the number of transmitted packets from equation (1). . Then, as shown in the following formula (3), the communication success rate is calculated again by dividing the number of communication success rate packets by the number of transmission packets to which 1 is added.
Communication success rate = communication success rate packet number / (transmission packet number + 1) (3)

次に、話を各ノード1〜8の構成について戻すと、各ノード1〜8はさらに、他のノード1〜8に対する経路情報を得るためにRREQ送信部17(=第2送信手段)、RREQ転送部18(=第2転送手段)、RREP返信部19(=第1送信手段)、RREP転送部20(=第1転送手段)、経路情報取得部21(=経路情報取得手段)と、データ送受信部22(=経路情報選択手段)と、を備えている。これらの働きにより、ルーティングテーブル23には、他のノードに対する経路情報と、当該経路情報の通信成功率と、が関連付けられて記憶される。   Next, when the story is returned with respect to the configuration of each of the nodes 1 to 8, each of the nodes 1 to 8 further receives an RREQ transmission unit 17 (= second transmission means), RREQ in order to obtain route information for the other nodes 1 to 8. Transfer unit 18 (= second transfer unit), RREP reply unit 19 (= first transmission unit), RREP transfer unit 20 (= first transfer unit), route information acquisition unit 21 (= route information acquisition unit), data A transmission / reception unit 22 (= route information selection means). With these functions, the routing table 23 stores the route information for other nodes and the communication success rate of the route information in association with each other.

上記RREQ送信部17は、第2タイマ24が第2所定時間カウントする毎に、他のノードを宛先ノードとし、その宛先ノードに対する経路情報を求めるためのRREQ(=第2情報)を作成して送信する。RREQ送信部17は、例えば図5に示すようなフレーム構成のRREQを作成して送信する。上記RREQは、図5に示すように、種別と、送信元ノードと、宛先ノードと、中継ノードと、から構成されている。RREQ送信部17は、種別として、RREQであることを示す情報を格納する。送信元ノードとして、RREQを送信する自ノードのアドレスを格納する。宛先ノードとして、データを送信したい他のノードのアドレスを格納する。中継ノードとしては、何も格納せず、ブランクにしておく。RREQ送信部17は、第2タイマ24が第2所定時間カウントする毎に、宛先ノードに格納する他のノードを順次切り替えたRREQを作成して送信する。   Each time the second timer 24 counts for a second predetermined time, the RREQ transmission unit 17 creates another RREQ (= second information) for determining route information for the destination node with another node as the destination node. Send. The RREQ transmission unit 17 creates and transmits an RREQ having a frame configuration as shown in FIG. 5, for example. As shown in FIG. 5, the RREQ includes a type, a transmission source node, a destination node, and a relay node. The RREQ transmission unit 17 stores information indicating RREQ as a type. As the source node, the address of the own node that transmits the RREQ is stored. As the destination node, the address of another node to which data is transmitted is stored. As a relay node, nothing is stored and is left blank. Each time the second timer 24 counts for a second predetermined time, the RREQ transmission unit 17 creates and transmits an RREQ in which other nodes stored in the destination node are sequentially switched.

RREQ転送部18は、宛先ノードが自ノードでもなく、かつ、中継ノードに自ノードが格納されていないRREQを受信すると、RREQの中継ノードに自ノードのアドレスを書き込んだ後、そのRREQを転送する。RREQ転送部18は、中継ノード欄の一番後ろに自ノードのアドレスを書き込む。また、RREQ転送部18は、送信元ノードや中継ノードに自ノードのアドレスが格納されたRREQを受信すると、これを無視して、RREQの転送は行わない。   When the RREQ transfer unit 18 receives an RREQ in which the destination node is not the own node and the own node is not stored in the relay node, the RREQ transfer unit 18 writes the address of the own node to the relay node of the RREQ and then transfers the RREQ. . The RREQ transfer unit 18 writes the address of its own node at the end of the relay node column. Further, when the RREQ transfer unit 18 receives the RREQ in which the address of the own node is stored in the transmission source node or the relay node, the RREQ transfer unit 18 ignores the RREQ and does not transfer the RREQ.

RREP返信部19は、宛先ノードが自ノードであるRREQの受信に応じて、例えば図6に示すようなRREP(=第1情報)を作成して送信する。なお、上記受信したRREQには、送信元ノードと、自ノードに届くまでの中継ノードと、が既に格納され、これらが経路情報となっている。上記RREPは、図6に示すように、種別と、送信元ノードと、宛先ノードと、中継ノードと、通信成功率と、から構成されている。RREP返信部19は、種別として、RREPであることを示す情報を格納する。送信元ノードとして、受信したRREQの送信元ノードのアドレスを格納する。宛先ノードとして、受信したRREQの宛先ノードのアドレス(即ち自ノードのアドレス)を格納する。   The RREP reply unit 19 creates and transmits, for example, RREP (= first information) as shown in FIG. 6 in response to reception of RREQ whose destination node is its own node. In the received RREQ, the transmission source node and the relay node up to the local node are already stored, and these are the route information. As shown in FIG. 6, the RREP includes a type, a transmission source node, a destination node, a relay node, and a communication success rate. The RREP reply unit 19 stores information indicating RREP as a type. The address of the source node of the received RREQ is stored as the source node. As the destination node, the address of the destination node of the received RREQ (that is, the address of its own node) is stored.

本実施形態では、RREQの宛先ノードをそのままRREPの宛先ノードに格納し、RREEQの送信元ノードをそのままRREPの送信元ノードに格納している。このため、RREPの宛先ノードが請求項中の第1情報(RREP)の送信元ノードに相当し、RREPの送信元ノードが請求項中の第2情報(RREQ)の送信元ノードに相当する。   In this embodiment, the RREQ destination node is stored as it is in the RREP destination node, and the RREEQ transmission source node is stored as it is in the RREP transmission source node. Therefore, the RREP destination node corresponds to the transmission source node of the first information (RREP) in the claims, and the RREP transmission source node corresponds to the transmission source node of the second information (RREQ) in the claims.

また、RREP返信部19は、中継ノードとしては、成功率テーブル15に格納されている隣接ノードの1つを次のノードとして選んでそのアドレスを格納する。通信成功率としては、成功率テーブル15から次のノードとして中継ノードに格納したノードの通信成功率を書き込む。   Further, the RREP reply unit 19 selects one of the adjacent nodes stored in the success rate table 15 as the next node as the relay node, and stores the address thereof. As the communication success rate, the communication success rate of the node stored in the relay node as the next node from the success rate table 15 is written.

RREP返信部19は、基本的には成功率テーブル15に格納されている全ての隣接ノードを次のノードとしたRREPを各々作成するが、RREQの送信元ノードが隣接ノードであった場合、その送信元ノードよりも通信成功率が低い隣接ノードを次のノードとしたRREPは作成しない。   The RREP reply unit 19 basically creates each RREP with all adjacent nodes stored in the success rate table 15 as the next node. If the source node of the RREQ is an adjacent node, An RREP is not created with an adjacent node having a communication success rate lower than that of the transmission source node as the next node.

RREP転送部20は、一番後ろの中継ノードに自ノードのアドレスが書き込まれた、即ち次のノードが自ノードとなっているRREPを受信すると、成功率テーブル15に記憶された隣接ノードの1つを次のノードとして選んでそのアドレスを中継ノードの一番後ろに書き込むと共に、受信したRREPの通信成功率に次のノードの通信成功率を乗じた通信成功率を含んだ新たなRREPを作成して、転送する。RREP転送部20も、基本的には成功率テーブル15に格納されている全ての隣接ノードを次のノードとしたRREPを作成するが、RREPの送信元ノードが隣接ノードであった場合、その送信元ノードよりも通信成功率が低い隣接ノードを次のノードとしたRREPは作成しない。   When the RREP transfer unit 20 receives the RREP in which the address of its own node is written in the last relay node, that is, the next node is its own node, 1 of the adjacent nodes stored in the success rate table 15 is received. One is selected as the next node and its address is written at the end of the relay node, and a new RREP is created that includes the communication success rate of the received RREP multiplied by the communication success rate of the next node. And transfer. The RREP transfer unit 20 also basically creates an RREP with all adjacent nodes stored in the success rate table 15 as the next node. If the RREP source node is an adjacent node, the RREP transfer unit 20 transmits the RREP. An RREP is not created with an adjacent node having a communication success rate lower than that of the original node as the next node.

経路情報取得部21は、送信元ノード及び次のノードが自ノードになっているRREPを受信すると、RREPに含まれる経路情報(宛先ノード、中継ノード)を宛先ノードまでの経路情報として取得し、その経路情報とRREPに書き込まれた通信成功率とを関連付けてルーティングテーブル23に格納する。データ送受信部22は、I/F25を介して図示しないアプリケーションに接続されていて、そのアプリケーションから送信データが発生すると、ルーティングテーブル23からその送信データの宛先ノードへの経路情報を選択して、その経路情報を付加した送信データを通信ユニット11から送信する。このとき、データ送受信部22は、1つの宛先ノードに対する経路情報が複数あるとき通信成功率が最も高い経路情報を選択する。各ノード1〜8は、定期的にRREQの送信を行い、経路情報の取得を繰り返している。これにより、各ノード1〜8は、他のノードまでの最新の経路情報を把握することができる。   When receiving the RREP in which the transmission source node and the next node are the own nodes, the route information acquisition unit 21 acquires the route information (destination node, relay node) included in the RREP as route information to the destination node, The path information and the communication success rate written in RREP are associated with each other and stored in the routing table 23. The data transmission / reception unit 22 is connected to an application (not shown) via the I / F 25. When transmission data is generated from the application, the data transmission / reception unit 22 selects route information from the routing table 23 to the destination node of the transmission data. Transmission data to which route information is added is transmitted from the communication unit 11. At this time, the data transmitting / receiving unit 22 selects the route information with the highest communication success rate when there are a plurality of route information for one destination node. Each of the nodes 1 to 8 periodically transmits an RREQ and repeats acquisition of route information. Thereby, each node 1-8 can grasp | ascertain the newest route information to another node.

次に、これらRREQ送信部17、RREQ転送部18、RREP返信部19、RREP転送部20、経路情報取得部21及びデータ送受信部22の動作を、図1のネットワーク形態を例に、説明する。ここではノード3からノード8への通信する際の、通信ルート決定の手順を示す。なお、各ノード1〜8は、これまでに成功率確認が行われており、図1に示すような直接通信可能なノードとの通信成功率を各ノードが保有している。   Next, operations of the RREQ transmission unit 17, the RREQ transfer unit 18, the RREP reply unit 19, the RREP transfer unit 20, the route information acquisition unit 21, and the data transmission / reception unit 22 will be described by taking the network configuration of FIG. 1 as an example. Here, a procedure for determining a communication route when communicating from the node 3 to the node 8 is shown. Each of the nodes 1 to 8 has been confirmed so far, and each node has a communication success rate with a node capable of direct communication as shown in FIG.

まず、ノード3のRREQ送信部17が、送信元ノードをノード3、宛先ノードをノード8としたRREQを送信する。RREQの伝達の詳細は、背景技術でも説明しているため、ここでは詳細な説明を省略する。   First, the RREQ transmission unit 17 of the node 3 transmits an RREQ with the transmission source node as the node 3 and the destination node as the node 8. Details of the transmission of the RREQ are also described in the background art, and thus detailed description thereof is omitted here.

宛先ノードが自ノードであるRREQを受信したノード8のRREP返信部19は、これに応じてRREPを作成し返信する。ノード8のRREP返信部19は、RREPの送信元ノードにRREQの送信元ノードであるノード3を格納すると共に、RREPの宛先ノードにRREQの宛先ノードであるノード8を格納する。また、ノード8のRREP返信部19は、次のノードとして過去の通信結果より、隣接ノード7を選択し、中継ノードとして書き込む。さらに、ノード8のRREP返信部19は、次のノードとして選択されたノード7への通信成功率を書き込む。このとき、RREPには、ノード7への通信成功率100%を書き込む。つまり、図7に示すように、このとき作成されるRREP1のフレーム構成としては、RREP/送信元ノード3/宛先ノード8/中継ノード7/ブランク/通信成功率100%となる。 The RREP reply unit 19 of the node 8 that has received the RREQ whose destination node is its own node creates and returns an RREP accordingly. The RREP reply unit 19 of the node 8 stores the node 3 as the RREQ source node in the RREP source node, and stores the node 8 as the RREQ destination node in the RREP destination node. Also, the RREP reply unit 19 of the node 8 selects the adjacent node 7 from the past communication result as the next node, and writes it as the relay node. Further, the RREP reply unit 19 of the node 8 writes the communication success rate to the node 7 selected as the next node. At this time, a communication success rate of 100% to the node 7 is written in RREP. That is, as shown in FIG. 7, the frame configuration of RREP 1 created at this time is RREP / source node 3 / destination node 8 / relay node 7 / blank / communication success rate 100%.

ノード8から上記RREP1が送信されると、ノード7がこれを受信する。ノード7のRREP転送部20は、次のノード(中継ノードの一番後ろ)に自ノードが書き込まれているRREP1を受信すると、新たなRREPを作成し、送信する。ノード7では、隣接ノードが3、5、6の3つ存在する(隣接ノード8はRREP1の宛先ノードであるため除く)。それぞれの通信成功率は、70%、95%、90%である。ノード8から受信したRREP1に格納された送信元ノードはノード3であり、ノード7の隣接ノードに含まれているために先ず、ノード7のRREP転送部20は、ノード3を次のノードとして選択し、中継ノードに書き込む。さらに、ノード7のRREP転送部20は、受信したRREP1の通信成功率100%に次のノードとして選択されたノード3の通信成功率70%を乗じて、その値を通信成功率に上書きする。これにより作成されたRREP2のフレーム構成としては、図7に示すように、RREP/送信元ノード3/宛先ノード8/中継ノード7/中継ノード3/ブランク/通信成功率70%となる。 When the RREP 1 is transmitted from the node 8, the node 7 receives it. When the RREP transfer unit 20 of the node 7 receives RREP 1 in which the own node is written in the next node (the backmost of the relay node), it creates a new RREP and transmits it. In the node 7, there are three adjacent nodes 3, 5, and 6 (except that the adjacent node 8 is a destination node of RREP 1 ). The respective communication success rates are 70%, 95%, and 90%. Since the source node stored in RREP 1 received from the node 8 is the node 3 and is included in the adjacent node of the node 7, the RREP transfer unit 20 of the node 7 first sets the node 3 as the next node. Select and write to the relay node. Further, the RREP transfer unit 20 of the node 7 multiplies the communication success rate 100% of the received RREP 1 by the communication success rate 70% of the node 3 selected as the next node, and overwrites the value to the communication success rate. . As shown in FIG. 7, the frame configuration of RREP 2 created in this way is RREP / source node 3 / destination node 8 / relay node 7 / relay node 3 / blank / communication success rate 70%.

また、ノード7のRREP転送部20は、送信元ノード3の通信成功率よりも他の隣接ノード5、6の通信成功率の方が高い為、ノード5、6を次のノードとして順次選択し、中継ノードとして書き込む。さらに、ノード7のRREP転送部20は、受信したRREPの通信成功率100%に次のノードとして選択されたノード5、6の通信成功率95%、90%を乗じて、その値を通信成功率に上書きする。これにより、ノード5を次のノードとしたRREP3のフレーム構成としては、図7に示すように、RREP/送信元ノード3/宛先ノード8/中継ノード7/中継ノード5/ブランク/通信成功率95%となり、ノード6を次のノードとしたRRPE4のフレーム構成は、RREP/送信元ノード3/宛先ノード8/中継ノード7/中継ノード6/ブランク/通信成功率90%となる。ノード7のRREP転送部20は、作成した3つのRREP234を順次送信する。 In addition, the RREP transfer unit 20 of the node 7 sequentially selects the nodes 5 and 6 as the next nodes because the communication success rate of the other adjacent nodes 5 and 6 is higher than the communication success rate of the transmission source node 3. Write as a relay node. Further, the RREP transfer unit 20 of the node 7 multiplies the communication success rate 100% of the received RREP by the communication success rates 95% and 90% of the nodes 5 and 6 selected as the next node, and succeeds in the communication. Overwrite rate. Thereby, as shown in FIG. 7, the frame structure of RREP 3 with node 5 as the next node is RREP / source node 3 / destination node 8 / relay node 7 / relay node 5 / blank / communication success rate. The frame configuration of RRPE 4 with node 6 as the next node is RREP / source node 3 / destination node 8 / relay node 7 / relay node 6 / blank / communication success rate 90%. The RREP transfer unit 20 of the node 7 sequentially transmits the created three RREPs 2 , 3 , and 4 .

ノード7から3つのRREP234が送信されると、ノード3、5、6、7、8がこれらを受信する。ノード8は、次のノードが自ノードでないRREP234全てを無視する。ノード3は、次のノードが自ノードでないRREP34は無視する。ノード3の経路情報取得部21は、送信元ノード及び次のノードが自ノードであるRREP2を受信すると、そのRREP2に含まれる経路情報を宛先ノード8の経路情報として取得する。ここでは、RREP2に書き込まれている宛先ノード、中継ノードからノード3→ノード7→ノード8を経路情報として、70%を通信成功率として取得し、これをルーティングテーブル23に記憶させる。従来のダイナミックルーティングでは、通信成功率を含まずここまででルート決定される。 When three RREPs 2 , 3 , and 4 are transmitted from the node 7, the nodes 3, 5, 6, 7, and 8 receive them. The node 8 ignores all RREPs 2 , 3 , and 4 in which the next node is not its own node. The node 3 ignores RREP 3 and 4 whose next node is not its own node. The route information acquisition unit 21 of the node 3 acquires the route information included in the RREP 2 as the route information of the destination node 8 when receiving the RREP 2 in which the transmission source node and the next node are its own nodes. Here, node 3 → node 7 → node 8 is acquired from the destination node and relay node written in RREP 2 as path information, and 70% is acquired as the communication success rate, and this is stored in the routing table 23. In the conventional dynamic routing, the route is determined so far without including the communication success rate.

また、ノード7から3つのRREP234が送信されると、ノード5がこれらを受信する。ノード5は、次のノードが自ノードでないRREP24は無視する。ノード5のRREP転送部20は、次のノードに自ノードが書き込まれているRREP3を受信すると、新たなRREPを作成し、送信する。ノード5では、隣接ノードが2、3の2つ存在する(隣接ノード7はRREP1の中継ノードに既に書き込まれているため除く)。それぞれの通信成功率は、60%、75%である。ノード7から受信したRREP3に格納された送信元ノードはノード3であり、ノード5の隣接ノードに含まれているために先ず、ノード5のRREP転送部20は、ノード3を次のノードとして選択し、中継ノードに書き込む。さらに、ノード5のRREP転送部20は、受信したRREP3の通信成功率95%に次のノードとして選択されたノード3の通信成功率70%を乗じて、その値を通信成功率に上書きする。これにより作成されたRREP5のフレーム構成としては、図7に示すように、RREP/送信元ノード3/宛先ノード8/中継ノード7/中継ノード5/中継ノード3/ブランク/通信成功率71.25%(=95%×75%)となる。 Further, when three RREPs 2 , 3 , and 4 are transmitted from the node 7, the node 5 receives them. The node 5 ignores RREP 2 and 4 whose next node is not its own node. When the RREP transfer unit 20 of the node 5 receives RREP 3 in which the node is written in the next node, it creates and transmits a new RREP. In node 5, there are two adjacent nodes, two and three (excluding adjacent node 7 because it is already written in the relay node of RREP 1 ). The respective communication success rates are 60% and 75%. Since the transmission source node stored in RREP 3 received from the node 7 is the node 3 and is included in the adjacent node of the node 5, the RREP transfer unit 20 of the node 5 first sets the node 3 as the next node. Select and write to the relay node. Further, the RREP transfer unit 20 of the node 5 multiplies the communication success rate 95% of the received RREP 3 by the communication success rate 70% of the node 3 selected as the next node, and overwrites the value on the communication success rate. . As shown in FIG. 7, the frame structure of RREP 5 created in this way is RREP / source node 3 / destination node 8 / relay node 7 / relay node 5 / relay node 3 / blank / communication success rate 71. 25% (= 95% × 75%).

また、ノード5のRREP転送部20は、隣接ノード2については、送信元ノード3の通信成功率よりも低く、ノード2を経由することの有用性が見込めないため、ノード2に対するRREPの送信をしない。   In addition, the RREP transfer unit 20 of the node 5 is lower than the communication success rate of the transmission source node 3 for the adjacent node 2 and cannot be expected to be useful via the node 2. do not do.

ノード5からRREP5が送信されると、ノード2、3、7がこれを受信する。ノード2、7は、次のノードの自ノードが書き込まれていないRREP5を無視する。ノード3の経路情報取得部21は、送信元ノード及び次のノードが自ノードであるRREP5を受信すると、そのRREP5に含まれる経路情報を宛先ノード8の経路情報として取得する。ここでは、RREP5に書き込まれている宛先ノード、中継ノードからノード3→ノード5→ノード7→ノード8を経路情報として、71.25%を通信成功率として取得し、これをルーティングテーブル23に記憶させる。 When RREP 5 is transmitted from the node 5, the nodes 2, 3, and 7 receive it. Nodes 2 and 7 ignore RREP 5 in which the next node is not written. The route information acquisition unit 21 of the node 3 acquires the route information included in the RREP 5 as the route information of the destination node 8 when the source node and the next node receive the RREP 5 that is its own node. Here, from the destination node and the relay node written in RREP 5 , node 3 → node 5 → node 7 → node 8 is acquired as route information, and 71.25% is acquired as the communication success rate, and this is stored in the routing table 23. Remember.

また、ノード7から3つのRREP234が送信されると、ノード6もこれらを受信する。ノード6は、次のノードが自ノードでないRREP23は無視する。ノード6のRREP転送部20は、次のノードに自ノードが書き込まれているRREP4を受信すると、新たなRREPを作成し、送信する。ノード6では、隣接ノードが2、3の2つ存在する(隣接ノード7はRREP4の中継ノードとして既に書き込まれているため除く)。それぞれの通信成功率は、100%、95%である。ノード7から受信したRREP4に格納された送信元ノードはノード3であり、ノード6の隣接ノードに含まれているために先ず、ノード6のRREP転送部20は、ノード3を次のノードとして選択し、中継ノードに書き込む。さらに、ノード6のRREP転送部20は、受信したRREP4の通信成功率90%に次のノードとして選択されたノード3の通信成功率95%を乗じて、その値に通信成功率を上書きする。これにより作成されたRREP6のフレーム構成としては、図7に示すように、RREP/送信元ノード3/宛先ノード8/中継ノード7/中継ノード6/中継ノード3/ブランク/通信成功率85.5%(=90%×95%)となる。 Further, when three RREPs 2 , 3 , and 4 are transmitted from the node 7, the node 6 also receives them. The node 6 ignores RREP 2 and 3 whose next node is not its own node. When the RREP transfer unit 20 of the node 6 receives the RREP 4 in which the node is written in the next node, the RREP transfer unit 20 creates and transmits a new RREP. In node 6, there are two adjacent nodes (excluding because adjacent node 7 has already been written as a relay node of RREP 4 ). The respective communication success rates are 100% and 95%. Since the source node stored in RREP 4 received from the node 7 is the node 3 and is included in the adjacent node of the node 6, the RREP transfer unit 20 of the node 6 first sets the node 3 as the next node. Select and write to the relay node. Further, the RREP transfer unit 20 of the node 6 multiplies the communication success rate of 90% of the received RREP 4 by the communication success rate of 95% of the node 3 selected as the next node, and overwrites the value with the communication success rate. . As shown in FIG. 7, the frame structure of RREP 6 created in this way is RREP / source node 3 / destination node 8 / relay node 7 / relay node 6 / relay node 3 / blank / communication success rate 85. 5% (= 90% × 95%).

また、ノード6のRREP転送部20は、送信元ノード3の通信成功率よりも他の隣接ノード2の通信成功率の方が高い為、ノード2を次のノードとして選択し、中継ノードとして書き込む。さらに、ノード6のRREP転送部20は、受信したRREP4の通信成功率90%に次のノードとして選択されたノード2の通信成功率100%を乗じ、その値に通信成功率を上書きする。これにより作成されたRREP7のフレーム構成としては、RREP/送信元ノード3/宛先ノード8/中継ノード7/中継ノード6/中継ノード2/ブランク/通信成功率90%となる。ノード6のRREP転送部20は、作成した2つのRREP67を順次送信する。 Further, the RREP transfer unit 20 of the node 6 selects the node 2 as the next node and writes it as the relay node because the communication success rate of the other adjacent node 2 is higher than the communication success rate of the transmission source node 3. . Further, the RREP transfer unit 20 of the node 6 multiplies the communication success rate 90% of the received RREP 4 by the communication success rate 100% of the node 2 selected as the next node, and overwrites the value with the communication success rate. The frame configuration of RREP 7 created in this way is RREP / source node 3 / destination node 8 / relay node 7 / relay node 6 / relay node 2 / blank / communication success rate 90%. The RREP transfer unit 20 of the node 6 sequentially transmits the two created RREPs 6 and 7 .

ノード6から2つのRREP67が送信されると、ノード2、3、7がこれらを受信する。ノード7は、次のノードの自ノードが書き込まれていないRREP67を無視する。ノード3は、次のノードが自ノードでないRREP7は無視する。ノード3の経路情報取得部21は、送信元ノード及び次のノードが自ノードであるRREP7を受信すると、そのRREP5に含まれる経路情報を宛先ノードの経路情報として取得する。ここでは、RREP7に含まれる宛先ノード、中継ノードからノード3→ノード6→ノード7→ノード8を経路情報として、85.5%を通信成功率として取得し、これをルーティングテーブル23に記憶させる。 When two RREPs 6 and 7 are transmitted from the node 6, the nodes 2, 3 , and 7 receive them. The node 7 ignores RREP 6 and 7 in which the next node is not written. Node 3 ignores RREP 7 whose next node is not its own node. When the route information acquisition unit 21 of the node 3 receives the RREP 7 in which the transmission source node and the next node are its own nodes, the route information included in the RREP 5 is acquired as the route information of the destination node. Here, node 3-> node 6-> node 7-> node 8 is acquired from the destination node and relay node included in RREP 7 as path information, and 85.5% is acquired as the communication success rate, and this is stored in routing table 23. .

また、ノード6から2つのRREP67が送信されると、ノード2もこれを受信する。ノード2は、次のノードが自ノードでないRREP6は無視する。ノード2のRREP転送部20は、次のノードが自ノードであるRREP7を受信すると、新たなRREPを作成し、送信する。ノード2では、隣接ノードが3、5の2つ存在する(隣接ノード6は既に中継ノードに書き込まれているため除く)。それぞれの通信成功率は、100%、60%である。ノード6から受信したRREP7に格納された送信元ノードはノード3であり、ノード2の隣接ノードに含まれているために先ず、ノード2のRREP転送部20は、ノード3を次のノードとして選択し、中継ノードに書き込む。さらに、ノード2のRREP転送部20は、受信したRREP7の通信成功率90%に次のノードとして選択されたノード3の通信成功率100%を乗じ、その値に通信成功率を上書きする。これにより作成されたRREP8のフレーム構成としては、図7に示すように、RREP/送信元ノード3/宛先ノード8/中継ノード7/中継ノード6/中継ノード2/中継ノード3/ブランク/通信成功率90%となる。 Further, when two RREPs 6 and 7 are transmitted from the node 6, the node 2 also receives them. Node 2 ignores RREP 6 where the next node is not its own node. When the RREP transfer unit 20 of the node 2 receives the RREP 7 that is the next node, the RREP transfer unit 20 creates and transmits a new RREP. In node 2, there are two adjacent nodes 3 and 5 (excluded because adjacent node 6 has already been written in the relay node). The respective communication success rates are 100% and 60%. Since the source node stored in RREP 7 received from the node 6 is the node 3 and is included in the adjacent node of the node 2, the RREP transfer unit 20 of the node 2 first sets the node 3 as the next node. Select and write to the relay node. Further, the RREP transfer unit 20 of the node 2 multiplies the communication success rate 90% of the received RREP 7 by the communication success rate 100% of the node 3 selected as the next node, and overwrites the value with the communication success rate. As shown in FIG. 7, the frame structure of RREP 8 created in this way is RREP / source node 3 / destination node 8 / relay node 7 / relay node 6 / relay node 2 / relay node 3 / blank / communication. The success rate is 90%.

ノード2から2つのRREP8が送信されると、ノード3、5、6がこれらを受信する。ノード5、6は、次のノードの自ノードが書き込まれていないRREP8を無視する。ノード3の経路情報取得部21は、送信元ノード及び次のノードが自ノードであるRREP8を受信すると、そのRREP8に含まれる経路情報を宛先ノードの経路情報として取得する。ここでは、RREP8に含まれる宛先ノード、中継ノードからノード3→ノード2→ノード6→ノード7→ノード8を経路情報として、90%を通信成功率として取得し、これをルーティングテーブル23に記憶させる。 When two RREPs 8 are transmitted from the node 2, the nodes 3, 5, and 6 receive them. The nodes 5 and 6 ignore the RREP 8 in which the next node is not written. When the route information acquisition unit 21 of the node 3 receives the RREP 8 in which the transmission source node and the next node are its own nodes, the route information included in the RREP 8 is acquired as the route information of the destination node. Here, node 3 → node 2 → node 6 → node 7 → node 8 is acquired as route information from the destination node and relay node included in RREP 8 , and 90% is acquired as the communication success rate, and this is stored in the routing table 23. Let

以上、ノード3は、図7に示すように、通信成功率70%のノード3→ノード7→ノード8、通信成功率71.25%のノード3→ノード5→ノード7→ノード8に加えて、通信成功率85.5%のノード3→ノード6→ノード7→ノード8、通信成功率90%のノード3→ノード2→ノード6→ノード7→ノード8の経路情報を得、ここからノード3のデータ送受信部22が通信成功率の最も高いノード3→ノード2→ノード6→ノード7→ノード8をルートして選択する。以上の手順で、各ノード1〜8は他ノードまでの最適な経路情報の取得ができる。この経路情報構築は、通信成功率情報の獲得よりも長い時間間隔で適宜行う(即ち、第1タイマ16がカウントする第1所定時間<第2タイマ24がカウントする第2所定時間となる)。次に、アプリケーションにおいて、データ通信要求が発生したとき、データ送受信部22が、以上で選択されたルートに従って、データ通信を行う。   As described above, as shown in FIG. 7, in addition to node 3 → node 7 → node 8 with a communication success rate of 70%, node 3 → node 5 → node 7 → node 8 with a communication success rate of 71.25%, as shown in FIG. The route information of node 3 → node 6 → node 7 → node 8 with communication success rate 85.5% and node 3 → node 2 → node 6 → node 7 → node 8 with communication success rate 90% is obtained from this node. The data transmission / reception unit 22 of No. 3 routes and selects node 3 → node 2 → node 6 → node 7 → node 8 with the highest communication success rate. With the above procedure, each of the nodes 1 to 8 can obtain the optimum route information to other nodes. This path information construction is appropriately performed at a time interval longer than the acquisition of the communication success rate information (that is, the first predetermined time counted by the first timer 16 <the second predetermined time counted by the second timer 24). Next, when a data communication request occurs in the application, the data transmission / reception unit 22 performs data communication according to the route selected above.

また、各部17〜23は、図示しないCPUなどにより構成され、CPUが行う図8に示す経路情報取得処理により実行されている。この経路情報取得処理について、説明すると、まず、CPUは、第2タイマ24が第2所定時間をカウントする毎に(ステップS10でY)、図5に示すRREQを順次送信する(ステップS11)。第2タイマ24による第2所定時間のカウントがまだ終わっていない間は(ステップS10でN)、CPUは、他のノードからのRREQを受信したか否かを判定する(ステップS12)。受信したRREQの宛先ノードが自ノードであれば(ステップS12でY、かつ、S13でY)、CPUは、RREPを返信する(ステップS14)。一方、受信したRREQの宛先ノード、中継ノードの何れにも自ノードがなければ(ステップS12でY、S13でN、かつ、S15でN)、CPUは、中継ノードに自ノードを加えたRREQを転送した後(ステップS16)、ステップS10に戻る。   Moreover, each part 17-23 is comprised by CPU etc. which are not shown in figure, and is performed by the route information acquisition process shown in FIG. 8 which CPU performs. The route information acquisition process will be described. First, every time the second timer 24 counts the second predetermined time (Y in step S10), the CPU sequentially transmits the RREQ shown in FIG. 5 (step S11). While the counting of the second predetermined time by the second timer 24 is not yet finished (N in Step S10), the CPU determines whether or not an RREQ from another node has been received (Step S12). If the destination node of the received RREQ is its own node (Y in step S12 and Y in S13), the CPU returns RREP (step S14). On the other hand, if neither the destination node nor the relay node of the received RREQ has its own node (Y in step S12, N in S13, and N in S15), the CPU determines the RREQ obtained by adding the own node to the relay node. After the transfer (step S16), the process returns to step S10.

また、CPUは、RREPを受信すると(ステップS17でY)、RREPの次のノード及び送信元ノードが自ノードであれば(ステップS18でY)、そのRREPの経路情報と成功率をルーティングテーブル23に格納した後(ステップS19)、ステップS10に戻る。一方、CPUは、RREPの次のノードに自ノードがあり送信元ノードが自ノードでなければ(ステップ18でNかつステップS20でY)、成功率テーブル15に記憶された複数の隣接ノードから次のノードを決定して(ステップS21)、RREPを転送した後(ステップS22)、ステップS10に戻る。   Further, when the CPU receives the RREP (Y in step S17), if the next node and the transmission source node of the RREP are its own nodes (Y in step S18), the routing table 23 displays the route information and the success rate of the RREP. (Step S19), the process returns to step S10. On the other hand, if the next node of RREP has its own node and the transmission source node is not its own node (N in step 18 and Y in step S20), the CPU starts from the plurality of adjacent nodes stored in the success rate table 15. Is determined (step S21), the RREP is transferred (step S22), and the process returns to step S10.

上述した実施形態によれば、各ノード1〜8において、通信確認パケット送信部12が間欠的に通信確認パケットの送信を行い、ビットエラー検出部13が他のノードから受信した通信確認パケットのビットエラーを検出し、通信成功率演算部14が、その検出結果に基づいて隣接ノードとの通信成功率を演算する。また、各ノード1〜8において、RREP返信部19が、成功率テーブル15に記憶された隣接ノードの1つを次のノードとした経路情報及び次のノードの成功率を含んだRREPを送信し、RREP転送部20が、次のノードが自ノードとなっているRREPの受信に応じて、成功率テーブル15に記憶されたノードの1つを次のノードとした経路情報及び次のノードの成功率を含んだ新たなRREPを転送する。また、各ノード1〜8においては、経路情報取得部21が、RREPに含まれる経路情報をそのRREPの宛先ノードの経路情報として取得し、データ送受信部22が、1つの宛先ノードに対する経路情報が複数取得されたときRREPに含まれる成功率が最も高い経路情報を選択する。従って、ビットエラー検出結果に応じた通信成功率が高い最適な経路情報を選択することができる。しかも、ノード1〜8が、間欠的に成功率データを送信しているため、送信する毎に最新の成功率を求めることができ、データ送信時に成功率を求める必要がなく通信時間の短縮を図ることができる。   According to the above-described embodiment, in each of the nodes 1 to 8, the communication confirmation packet transmission unit 12 intermittently transmits the communication confirmation packet, and the bit error detection unit 13 receives the bit of the communication confirmation packet received from another node. An error is detected, and the communication success rate calculation unit 14 calculates the communication success rate with the adjacent node based on the detection result. In each of the nodes 1 to 8, the RREP reply unit 19 transmits RREP including the path information in which one of the adjacent nodes stored in the success rate table 15 is the next node and the success rate of the next node. In response to the reception of the RREP in which the next node is the next node, the RREP transfer unit 20 receives the path information and the success of the next node with one of the nodes stored in the success rate table 15 as the next node. Forward a new RREP containing the rate. Further, in each of the nodes 1 to 8, the route information acquisition unit 21 acquires the route information included in the RREP as the route information of the destination node of the RREP, and the data transmission / reception unit 22 receives the route information for one destination node. When a plurality of pieces of information are acquired, route information having the highest success rate included in the RREP is selected. Therefore, it is possible to select optimal route information having a high communication success rate according to the bit error detection result. Moreover, since the nodes 1 to 8 intermittently transmit the success rate data, the latest success rate can be obtained every time data is transmitted, and it is not necessary to obtain the success rate at the time of data transmission, thereby reducing the communication time. Can be planned.

また、上述した実施形態によれば、間欠的に通信確認パケット、RREP、RREQの送信が行われているため、車両内で電波環境が変化するような状況にも対応可能である。また、通信の開始時には最適な経路が判明しているため、通信要求時に即通信開始できる。さらに、経路を求めるための時間制約が、通信に依存せず、効率よく経路を求めることができる。   Further, according to the above-described embodiment, since the communication confirmation packet, RREP, and RREQ are intermittently transmitted, it is possible to cope with a situation in which the radio wave environment changes in the vehicle. Also, since the optimum route is known at the start of communication, communication can be started immediately upon request for communication. Furthermore, the time constraint for obtaining the route does not depend on communication, and the route can be obtained efficiently.

また、上述した実施形態では、RREPを転送する際に次のノードの通信成功率を付加するため、隣接ノードとの通信成功率のみで、ネットワーク全体の最適な通信成功率が分かる。   In the above-described embodiment, since the communication success rate of the next node is added when the RREP is transferred, the optimal communication success rate of the entire network can be known only by the communication success rate with the adjacent nodes.

上述した実施形態によれば、各ノード1〜8の通信成功率演算部14が、ビットエラー検出部13によりビットエラーが検出さなければ通信成功と判定し、通信成功と判定した回数に基づいて通信成功率を演算する。従って、通信成功回数により通信成功率を求めることができ、より一層最適な経路情報を選択することができる。   According to the embodiment described above, the communication success rate calculation unit 14 of each of the nodes 1 to 8 determines that the communication is successful if no bit error is detected by the bit error detection unit 13, and based on the number of times that the communication is determined to be successful. Calculate the communication success rate. Therefore, the communication success rate can be obtained from the number of successful communications, and more optimal route information can be selected.

上述した実施形態によれば、RREP転送部20が、受信したRREPの通信成功率に次のノードの通信成功率を乗じて、その乗じた値をRREPの通信成功率に上書きする。従って、通信成功率を上書きすることにより、RREPのデータ量を抑えることができる。   According to the embodiment described above, the RREP transfer unit 20 multiplies the received RREP communication success rate by the communication success rate of the next node, and overwrites the multiplied value on the RREP communication success rate. Therefore, the data amount of RREP can be suppressed by overwriting the communication success rate.

上述した実施形態によれば、RREP返信部19及びRREP転送部20が、隣接ノードにRREQの送信元ノードが含まれている場合、当該送信元ノードの通信成功率よりも低い他のノードを次のノードとしたRREPの送信、転送を行わないので、無駄なRREPが送信されることない。   According to the above-described embodiment, when the RREP reply unit 19 and the RREP transfer unit 20 include an RREQ source node in an adjacent node, the RREP reply unit 19 and the RREP transfer unit 20 follow other nodes having a communication success rate lower than that of the source node. Since no RREP is transmitted or transferred as a node, no useless RREP is transmitted.

なお、上述した実施形態によれば、RREP返信部19は、宛先ノードが自ノードのRREQの受信に応じてRREPを返信していたが、本発明はこれに限ったものではない。例えば、RREQの送信を行わずに、定期的にRREPを送信するようにしてもよい。経路情報取得部21は、次のノードが自ノードであるRREPを受信すると、そのRREPに含まれる経路情報をRREPの送信元ノードの経路情報として取得する。   According to the above-described embodiment, the RREP reply unit 19 returns the RREP in response to the reception of the RREQ by the destination node, but the present invention is not limited to this. For example, RREP may be transmitted periodically without transmitting RREQ. When the next node receives an RREP that is the next node, the route information acquisition unit 21 acquires the route information included in the RREP as the route information of the transmission source node of the RREP.

また、上述した実施形態によれば、RREP転送部20は、受信したRREPの通信成功率に次のノードの通信成功率を乗じて、乗じた値にRREPの通信成功率を上書きしていたが、本発明はこれに限ったものではない。例えば、RREP転送部20は、上書きせずに、単に次のノードの成功率を付加するだけでもよい。そして、RREPを最終的に受信するノード(上記例ではノード3)が、RREPに含まれる複数の成功率を乗じてその経路の成功率を求めるようにしてもよい。   Further, according to the above-described embodiment, the RREP transfer unit 20 multiplies the communication success rate of the received RREP by the communication success rate of the next node, and overwrites the multiplied value with the communication success rate of the RREP. However, the present invention is not limited to this. For example, the RREP transfer unit 20 may simply add the success rate of the next node without overwriting. Then, the node that finally receives the RREP (node 3 in the above example) may obtain the success rate of the route by multiplying a plurality of success rates included in the RREP.

また、RREQ、RREPのフレーム構成は、上述した実施形態に限定されるものではない。   Further, the frame configuration of RREQ and RREP is not limited to the above-described embodiment.

上述した実施形態では、通信確認用に専用の通信確認パケットを送信しているが、本発明はこれに限ったものではない。例えば、他のノード間で授受されているデータを受信し、当該データのビットエラーコードなどからビットエラーを検出して、これを通信成功率の計算に充当することも考えられる。例えば、図1に示すノード5とノード2が通信しているとき、ノード3も、ノード5からのデータを受信できるが、ノード3は、受信したデータがノード2宛であるためこれを無視する。本実施形態では、ノード3が、自ノード宛でないデータを受信したとき、そのデータのエラーチェックコードを利用してビットエラーを検出し、それをノード5との通信成功率の算出に流用する。   In the embodiment described above, a dedicated communication confirmation packet is transmitted for communication confirmation, but the present invention is not limited to this. For example, it is conceivable to receive data exchanged between other nodes, detect a bit error from the bit error code of the data, and apply this to calculation of the communication success rate. For example, when the node 5 and the node 2 shown in FIG. 1 are communicating, the node 3 can also receive data from the node 5, but the node 3 ignores this because the received data is addressed to the node 2. . In this embodiment, when the node 3 receives data that is not addressed to itself, a bit error is detected using the error check code of the data, and this is used to calculate the communication success rate with the node 5.

また、上述した実施形態では、通信確認パケットをブロードキャストしているが、本発明はこれに限ったものではない。例えば、通信確認パケットに宛先ノードを付加して、宛先ノードとのユニキャストとしてもよい。   In the embodiment described above, the communication confirmation packet is broadcast, but the present invention is not limited to this. For example, a destination node may be added to the communication confirmation packet, and unicast with the destination node may be performed.

また、本実施形態では、定期的に経路情報を求めるRREQを送信していたが、本発明はこれに限ったものではない。定期的に行う以外、通信確認パケットの受信で、成功率の変化がある毎にRREQを送信するようにしてもよい。そして、このRREQの受信をきっかけに、他のノードも経路情報を更新するためのRREQの送信を開始するなどしてもよい。   In this embodiment, the RREQ for obtaining the route information is periodically transmitted. However, the present invention is not limited to this. Other than periodically, RREQ may be transmitted every time there is a change in success rate upon reception of a communication confirmation packet. Then, triggered by reception of this RREQ, other nodes may also start transmitting RREQ for updating route information.

また、前述した実施形態は本発明の代表的な形態を示したに過ぎず、本発明は、実施形態に限定されるものではない。即ち、本発明の骨子を逸脱しない範囲で種々変形して実施することができる。   Further, the above-described embodiments are merely representative forms of the present invention, and the present invention is not limited to the embodiments. That is, various modifications can be made without departing from the scope of the present invention.

1〜8 ノード
10 通信システム
12 通信確認パケット送信部(通信確認情報送信部)
13 ビットエラー検出部(ビットエラー検出手段)
14 通信成功率演算部(通信成功率演算手段)
15 成功率テーブル(記憶手段)
17 RREQ送信部(第2送信手段)
18 RREQ転送部(第2転送手段)
19 RREP返信部(第1送信手段)
20 RREP転送部(第1転送手段)
21 経路情報取得部(経路情報取得手段)
22 データ送受信部(経路情報選択手段)
1 to 8 nodes 10 communication system 12 communication confirmation packet transmitter (communication confirmation information transmitter)
13-bit error detector (bit error detection means)
14 Communication success rate calculation unit (communication success rate calculation means)
15 Success rate table (storage means)
17 RREQ transmitter (second transmitter)
18 RREQ transfer unit (second transfer means)
19 RREP reply section (first transmission means)
20 RREP transfer unit (first transfer means)
21 Route information acquisition unit (route information acquisition means)
22 Data transmitter / receiver (route information selection means)

Claims (5)

互いに無線通信を行う複数のノードを備えた通信システムにおいて、
前記ノードが各々、
間欠的に通信確認情報を送信する通信確認情報送信手段と、
他のノードから受信した通信確認情報のビットエラーを検出するビットエラー検出手段と、
前記ビットエラー検出手段の検出結果に基づいて直接通信可能な他のノードとの通信成功率を演算する通信成功率演算手段と、
前記通信成功率演算手段により演算した結果に基づいて前記直接通信可能な他のノードと、当該他のノードに対応する前記通信成功率と、を関連付けて記憶する記憶手段と、
前記記憶手段に記憶された直接通信可能なノードの1つを次のノードとした経路情報及び当該次のノードの通信成功率を含んだ第1情報を送信する第1送信手段と、
前記次のノードが自ノードとなっている第1情報の受信に応じて、前記記憶手段に記憶されたノードの1つを次のノードとした経路情報及び前記次のノードの通信成功率を含んだ新たな第1情報を転送する第1転送手段と、
前記次のノードが自ノードとなっている第1情報の受信に応じて、前記第1情報に含まれる経路情報を当該第1情報の送信元ノードの経路情報として取得する経路情報取得手段と、
1つの送信元ノードに対する経路情報が複数取得されたとき前記第1情報に含まれる成功率が最も高い経路情報を選択する経路情報選択手段と、
を備えたことを特徴とする通信システム。
In a communication system including a plurality of nodes that perform wireless communication with each other,
Each of the nodes
Communication confirmation information transmitting means for intermittently transmitting communication confirmation information;
Bit error detection means for detecting a bit error in communication confirmation information received from another node;
A communication success rate calculating means for calculating a communication success rate with other nodes capable of direct communication based on the detection result of the bit error detecting means;
Storage means for storing the other nodes capable of direct communication based on the result calculated by the communication success rate calculation means and the communication success rates corresponding to the other nodes in association with each other;
First transmission means for transmitting path information having one of the directly communicable nodes stored in the storage means as a next node and first information including a communication success rate of the next node;
In response to the reception of the first information that the next node is its own node, the path information including one of the nodes stored in the storage means as the next node and the communication success rate of the next node are included. First transfer means for transferring new first information;
Path information acquisition means for acquiring path information included in the first information as path information of a transmission source node of the first information in response to reception of the first information in which the next node is the own node;
Route information selection means for selecting route information having the highest success rate included in the first information when a plurality of pieces of route information for one transmission source node are acquired;
A communication system comprising:
前記通信成功率演算手段が、前記ビットエラー検出手段によりビットエラーが検出されなければ通信成功と判定し、当該通信成功と判定した回数に基づいて通信成功率を演算する
ことを特徴とする請求項1に記載の通信システム。
The communication success rate calculation means determines that communication is successful if no bit error is detected by the bit error detection means, and calculates a communication success rate based on the number of times the communication is determined to be successful. The communication system according to 1.
前記第1転送手段が、受信した第1情報の通信成功率に前記次のノードの通信成功率を乗じて、その乗じた値を前記第1情報の通信成功率に上書きする
ことを特徴とする請求項1又は2に記載の通信システム。
The first transfer means multiplies the communication success rate of the received first information by the communication success rate of the next node, and overwrites the multiplied value on the communication success rate of the first information. The communication system according to claim 1 or 2.
宛先ノードに対する経路情報を求めるための第2情報を送信する第2送信手段と、
前記宛先ノードが自ノードでない第2情報を受信すると、当該第2情報を転送する第2転送手段と、を備え、
前記第1送信手段が、前記宛先ノードが自ノードである第2情報の受信に応じて、前記第2情報の送信元ノードをさらに含んだ前記第1情報を送信し、前記直接通信可能な他のノードに前記第2情報の送信元ノードが含まれている場合、当該送信元ノードの通信成功率よりも低い他のノードを次のノードとした第1情報の送信は行わず、
前記第1転送手段が、前記第2情報の送信元ノードが自ノードでない前記第1情報の受信に応じて前記新たな第1情報を転送し、前記直接通信可能な他のノードに前記第2情報の送信元ノードが含まれている場合、当該送信元ノードの通信成功率よりも低い他のノードを次のノードとした第1情報の転送は行わず、
前記経路情報取得手段は、前記次のノード及び前記第2情報の送信元ノードが自ノードである前記第1情報を受信したときのみ、前記第1情報に含まれる経路情報を当該第1情報の送信元ノードの経路情報として取得する
ことを特徴とする請求項1〜3何れか1項に記載の通信システム。
Second transmission means for transmitting second information for obtaining route information for the destination node;
A second transfer means for transferring the second information when the destination node receives the second information which is not its own node;
The first transmission means transmits the first information further including a transmission source node of the second information in response to reception of the second information whose destination node is its own node, If the source node of the second information is included in the node, the first information is not transmitted with another node lower than the communication success rate of the source node as the next node,
The first transfer means transfers the new first information in response to the reception of the first information in which the transmission source node of the second information is not its own node, and the second information is transmitted to the other nodes capable of direct communication. When the information source node is included, the first information is not transferred with another node lower than the communication success rate of the source node as the next node,
The route information acquisition means receives the route information included in the first information only when the next node and the source node of the second information receive the first information that is the own node. The communication system according to claim 1, wherein the communication system is acquired as route information of a transmission source node.
通信システムを構成する無線通信可能なノードにおいて、
間欠的に通信確認情報を送信する通信確認情報送信手段と、
他のノードから受信した通信確認情報のビットエラーを検出するビットエラー検出手段と、
前記ビットエラー検出手段の検出結果に基づいて直接通信可能な他のノードとの通信成功率を演算する通信成功率演算手段と、
前記通信成功率演算手段により演算した結果に基づいて前記直接通信可能な他のノードと、当該他のノードに対応する前記通信成功率と、を関連付けて記憶する記憶手段と、
前記記憶手段に記憶された直接通信可能なノードの1つを次のノードとした経路情報及び当該次のノードの通信成功率を含んだ第1情報を送信する第1送信手段と、
前記次のノードが自ノードとなっている第1情報の受信に応じて、前記記憶手段に記憶されたノードの1つを次のノードとした経路情報及び前記次のノードの通信成功率を含んだ新たな第1情報を転送する第1転送手段と、
前記次のノードが自ノードとなっている第1情報の受信に応じて、前記第1情報に含まれる経路情報を当該第1情報の送信元ノードの経路情報として取得する経路情報取得手段と、
1つの送信元ノードに対する経路情報が複数取得されたとき前記第1情報に含まれる成功率が最も高い経路情報を選択する経路情報選択手段と、
を備えたことを特徴とするノード。
In a node capable of wireless communication constituting a communication system,
Communication confirmation information transmitting means for intermittently transmitting communication confirmation information;
Bit error detection means for detecting a bit error in communication confirmation information received from another node;
A communication success rate calculating means for calculating a communication success rate with other nodes capable of direct communication based on the detection result of the bit error detecting means;
Storage means for storing the other nodes capable of direct communication based on the result calculated by the communication success rate calculation means and the communication success rates corresponding to the other nodes in association with each other;
First transmission means for transmitting path information having one of the directly communicable nodes stored in the storage means as a next node and first information including a communication success rate of the next node;
In response to the reception of the first information that the next node is its own node, the path information including one of the nodes stored in the storage means as the next node and the communication success rate of the next node are included. First transfer means for transferring new first information;
Path information acquisition means for acquiring path information included in the first information as path information of a transmission source node of the first information in response to reception of the first information in which the next node is the own node;
Route information selection means for selecting route information having the highest success rate included in the first information when a plurality of pieces of route information for one transmission source node are acquired;
A node characterized by comprising:
JP2012150786A 2012-07-04 2012-07-04 Communication system and node Expired - Fee Related JP5954895B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012150786A JP5954895B2 (en) 2012-07-04 2012-07-04 Communication system and node

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012150786A JP5954895B2 (en) 2012-07-04 2012-07-04 Communication system and node

Publications (2)

Publication Number Publication Date
JP2014014018A true JP2014014018A (en) 2014-01-23
JP5954895B2 JP5954895B2 (en) 2016-07-20

Family

ID=50109459

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012150786A Expired - Fee Related JP5954895B2 (en) 2012-07-04 2012-07-04 Communication system and node

Country Status (1)

Country Link
JP (1) JP5954895B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017006508A1 (en) * 2015-07-09 2017-01-12 株式会社デンソー Wireless communication device
JP2019068126A (en) * 2017-09-28 2019-04-25 富士電機株式会社 Communication device, communication system, and route cost calculation method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004336799A (en) * 2003-05-09 2004-11-25 Samsung Electronics Co Ltd Method and apparatus for setting up routing path using tree-structure in ad hoc network
JP2005033557A (en) * 2003-07-14 2005-02-03 Kddi Corp Multi-hop wireless communication system and its routing method
JP2005065267A (en) * 2003-08-12 2005-03-10 Mitsubishi Electric Research Laboratories Inc Method for discovering route from source node to destination node
US20120140629A1 (en) * 2010-12-02 2012-06-07 Electronics And Telecommunications Research Institute Routing method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004336799A (en) * 2003-05-09 2004-11-25 Samsung Electronics Co Ltd Method and apparatus for setting up routing path using tree-structure in ad hoc network
JP2005033557A (en) * 2003-07-14 2005-02-03 Kddi Corp Multi-hop wireless communication system and its routing method
JP2005065267A (en) * 2003-08-12 2005-03-10 Mitsubishi Electric Research Laboratories Inc Method for discovering route from source node to destination node
US20120140629A1 (en) * 2010-12-02 2012-06-07 Electronics And Telecommunications Research Institute Routing method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017006508A1 (en) * 2015-07-09 2017-01-12 株式会社デンソー Wireless communication device
JP2017022524A (en) * 2015-07-09 2017-01-26 株式会社デンソー Radio communication device
JP2019068126A (en) * 2017-09-28 2019-04-25 富士電機株式会社 Communication device, communication system, and route cost calculation method
JP7031200B2 (en) 2017-09-28 2022-03-08 富士電機株式会社 Communication equipment, communication system, and route cost calculation method

Also Published As

Publication number Publication date
JP5954895B2 (en) 2016-07-20

Similar Documents

Publication Publication Date Title
JP5750973B2 (en) Communication method and communication apparatus
US9450668B2 (en) Packet relay system and wireless node
US20120155511A1 (en) Dynamic Assignment of Frequency Hopping Sequences in a Communication Network
US9602390B2 (en) Apparatus and method for determining optimum routing in a communication network
JP5705030B2 (en) Communications system
US20190097911A1 (en) Ad hoc network route construction system, node, and center node
JP5954895B2 (en) Communication system and node
JP5958293B2 (en) COMMUNICATION METHOD, COMMUNICATION PROGRAM, AND NODE DEVICE
JP4696314B2 (en) Wireless device and wireless network system including the same
JP5229021B2 (en) Wireless relay system
US8606906B2 (en) Wireless communication device, information distribution system, program
US20140313885A1 (en) Node device and communication method
JP2008227579A (en) Radio equipment and radio communication network provided with the same
JP2014204437A (en) Acquisition of downlink routing, maintenance method, and device
JP6459558B2 (en) Wireless communication apparatus, wireless communication method, and wireless communication program
KR102608190B1 (en) Routing apparatus and method for a mobile ad-hoc
JP2015162781A (en) Receiving device and method for identifying position
KR101751891B1 (en) Controller, apparatus and method, for topology discovery and peer detection based on openflow in openflow wireless mesh network environment
JP2006050377A (en) Radio network system
JP2008079098A (en) Method and program for controlling communication path between terminals, and communication terminal
CN103701696A (en) Method and device for supporting FA (Forwarding Address) in IS-IS (Intermediate System-to-Intermediate System) protocol
JP5397331B2 (en) Communication terminal, route selection method and communication method
JP2008211744A (en) Wireless device and wireless network with the same
US11736384B2 (en) Communication system, node, communication method, and computer program product
JP5549070B2 (en) Terminal and communication method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150619

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160520

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160613

R150 Certificate of patent or registration of utility model

Ref document number: 5954895

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees