JP7031200B2 - Communication equipment, communication system, and route cost calculation method - Google Patents

Communication equipment, communication system, and route cost calculation method Download PDF

Info

Publication number
JP7031200B2
JP7031200B2 JP2017188529A JP2017188529A JP7031200B2 JP 7031200 B2 JP7031200 B2 JP 7031200B2 JP 2017188529 A JP2017188529 A JP 2017188529A JP 2017188529 A JP2017188529 A JP 2017188529A JP 7031200 B2 JP7031200 B2 JP 7031200B2
Authority
JP
Japan
Prior art keywords
communication
cost
packet
link
communication device
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.)
Active
Application number
JP2017188529A
Other languages
Japanese (ja)
Other versions
JP2019068126A (en
Inventor
孝明 畠内
孝司 松本
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.)
Fuji Electric Co Ltd
Original Assignee
Fuji Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Electric Co Ltd filed Critical Fuji Electric Co Ltd
Priority to JP2017188529A priority Critical patent/JP7031200B2/en
Publication of JP2019068126A publication Critical patent/JP2019068126A/en
Application granted granted Critical
Publication of JP7031200B2 publication Critical patent/JP7031200B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Description

本発明は、通信装置、通信システム、及びルートコスト計算方法に関する。 The present invention relates to a communication device, a communication system, and a route cost calculation method.

マルチホップ型の無線通信ネットワークにおいてパケットの送信元の通信装置から宛先の通信装置までの通信ルートを構築する方法としては、例えば、特許文献1に記載の以下のような方法が知られている。 As a method of constructing a communication route from a communication device of a packet source to a communication device of a destination in a multi-hop type wireless communication network, for example, the following method described in Patent Document 1 is known.

特許文献1に記載の通信ネットワークは、1台の親機と複数台の子機とで構成され、親機と各子機との間ではマルチホップ通信により信号を送受している。各子機は、直接通信可能な隣接端末を探索する処理を行っており、親機は、各子機から当該子機が直接通信可能な隣接端末に関するリンク情報を受信する。親機は、受信したリンク情報を基に、始点側の通信端末の端末ID、終点側の通信端末の端末ID、及び両端末間の通信品質レベルを示すリンクコストを一次元のデータテーブルからなるトポロジーテーブルに記録させる。そして、親機は、トポロジーテーブルに記録されたリンク情報を基に、ダイクストラアルゴリズムを用いて各子機への通信ルートを求めるルート探索処理を行う。 The communication network described in Patent Document 1 is composed of one master unit and a plurality of slave units, and signals are transmitted and received between the master unit and each slave unit by multi-hop communication. Each slave unit performs a process of searching for an adjacent terminal with which it can directly communicate, and the master unit receives link information about the adjacent terminal with which the slave unit can directly communicate from each slave unit. Based on the received link information, the master unit consists of a one-dimensional data table showing the terminal ID of the communication terminal on the start point side, the terminal ID of the communication terminal on the end point side, and the link cost indicating the communication quality level between both terminals. Record in the topology table. Then, the master unit performs a route search process for finding a communication route to each slave unit using a Dijkstra algorithm based on the link information recorded in the topology table.

特開2008-301269号公報Japanese Unexamined Patent Publication No. 2008-301269

選択した通信リンクでのパケットの送信に失敗した場合には別の通信リンクを再選択してパケットを送信するメッシュネットワークでは、パケットの送信元装置から該パケットの宛先装置までの通信ルートは複数存在し得る。そこで、こうしたメッシュネットワークでは、パケットを送信する通信装置(送信元装置及び中継装置)は、宛先装置までの通信ルートが複数存在し得る隣接装置の中から、宛先装置へのパケットの送信に成功する可能性が高い適切な送信先装置を選択することが望まれる。隣接装置とは、パケットを送信する通信装置と通信リンクにより繋がる通信装置であり、パケットを送信する通信装置が直接通信可能な通信装置を指す。また、送信先装置とは、パケットを送信する通信装置が該パケットを直接送信する通信装置として選択した隣接装置を指す。 In a mesh network in which a packet is transmitted by reselecting another communication link when the transmission of the packet on the selected communication link fails, there are multiple communication routes from the packet source device to the packet destination device. Can be. Therefore, in such a mesh network, the communication device (source device and relay device) that transmits the packet succeeds in transmitting the packet to the destination device from the adjacent devices that may have a plurality of communication routes to the destination device. It is desirable to select an appropriate destination device that is likely. The adjacent device is a communication device connected to a communication device that transmits a packet by a communication link, and refers to a communication device that the communication device that transmits a packet can directly communicate with. Further, the destination device refers to an adjacent device selected by the communication device that transmits the packet as the communication device that directly transmits the packet.

しかしながら、上述した特許文献1が通信ルートの構築方法に用いるダイクストラアルゴリズムは、最短経路を探索するためのアルゴリズムであり、特許文献1に記載の方法は、子機と親機とをつなぐ一本道の通信ルートを探索するにすぎない。このため、特許文献1に記載の方法は、上述したようなメッシュネットワークには利用できない。 However, the Dijkstra algorithm used by Patent Document 1 as a method for constructing a communication route described above is an algorithm for searching for the shortest path, and the method described in Patent Document 1 is a straight path connecting a slave unit and a master unit. It just searches for a communication route. Therefore, the method described in Patent Document 1 cannot be used for the mesh network as described above.

本発明の一側面に係る目的は、選択した通信リンクでのパケットの送信に失敗した場合には別の通信リンクを再選択してパケットを送信するメッシュネットワークにおいて適切な送信先装置を選択するためのルートコストを計算する通信装置を提供することである。 An object of the present invention is to select an appropriate destination device in a mesh network for reselecting another communication link and transmitting a packet when transmission of a packet on the selected communication link fails. Is to provide a communication device for calculating the root cost of.

本発明に係る一つの形態である通信装置はルートコスト計算部を備える。ルートコスト計算部は、隣接装置毎のルートコストと通信リンク毎のリンクコストとを用いて、宛先装置に対する通信装置のルートコストを計算する。隣接装置毎のルートコストは、通信装置が直接通信可能な隣接装置とパケットの宛先装置との間で選択可能な全ての通信ルートを用いても隣接装置から宛先装置にパケットが到達しないパケットロス率である。通信リンク毎のリンクコストは、通信装置の識別子が対応付けられパケットを送信する通信装置と隣接装置との間の通信リンクにおいて通信装置から隣接装置にパケットが到達しないパケットロス率である。 The communication device according to the present invention is provided with a route cost calculation unit. The route cost calculation unit calculates the root cost of the communication device for the destination device by using the route cost for each adjacent device and the link cost for each communication link. The route cost for each adjacent device is the packet loss rate at which packets do not reach the destination device from the adjacent device even if all communication routes that can be selected between the adjacent device that the communication device can directly communicate with and the packet destination device are used. Is. The link cost for each communication link is the packet loss rate at which the packet does not reach the adjacent device from the communication device in the communication link between the communication device and the adjacent device that are associated with the identifier of the communication device and transmit the packet.

一実施形態に従った通信装置によれば、選択した通信リンクでのパケットの送信に失敗した場合には別の通信リンクを再選択してパケットを送信するメッシュネットワークにおいて適切な送信先装置を選択するためのルートコストを計算できる。 According to the communication device according to one embodiment, if the transmission of the packet on the selected communication link fails, another communication link is reselected to select an appropriate destination device in the mesh network for transmitting the packet. You can calculate the route cost to do so.

実施形態に従った通信システムの構成例を示す図である。It is a figure which shows the configuration example of the communication system according to an embodiment. 実施形態に従ったリンクコスト及びルートコストの説明図である。It is explanatory drawing of the link cost and the root cost according to an embodiment. 実施形態に従ったリンクコストの計算方法の一例を説明する図である。It is a figure explaining an example of the calculation method of the link cost according to an embodiment. 実施形態に従ったルートコストの計算方法の一例を説明する図である。It is a figure explaining an example of the calculation method of the root cost according to an embodiment. 図4(C)に示したネットワーク構成でのルートコストの収束計算の一例を示す図である。It is a figure which shows an example of the convergence calculation of the root cost in the network configuration shown in FIG. 4C. 実施形態に従った通信装置が行うルートコストの計算方法の一例を説明する図である。It is a figure explaining an example of the calculation method of the root cost performed by the communication apparatus according to an embodiment. 実施形態に従った通信装置の通信手順の一例を説明する図である。It is a figure explaining an example of the communication procedure of the communication apparatus according to an embodiment. 実施形態に従ったノード装置の構成例を示す図である。It is a figure which shows the configuration example of the node apparatus according to an embodiment. 実施形態に従った集約器の構成例を示す図である。It is a figure which shows the structural example of the aggregate according to an embodiment. 実施形態に従った監視装置の構成例を示す図である。It is a figure which shows the configuration example of the monitoring apparatus according to an embodiment.

以下図面に基づいて実施形態について詳細を説明する。
<通信システムの構成例>
図1は、実施形態に従った通信システムの構成例を示す図である。図1に示す構成例では、通信システム1は、監視装置2及び無線通信ネットワーク3を備える。なお、図1に示す一例では、通信システム1は1つの無線通信ネットワーク3を備えるが、通信システム1は複数の無線通信ネットワーク3を備えてもよい。
Hereinafter, embodiments will be described in detail with reference to the drawings.
<Communication system configuration example>
FIG. 1 is a diagram showing a configuration example of a communication system according to an embodiment. In the configuration example shown in FIG. 1, the communication system 1 includes a monitoring device 2 and a wireless communication network 3. In the example shown in FIG. 1, the communication system 1 includes one wireless communication network 3, but the communication system 1 may include a plurality of wireless communication networks 3.

無線通信ネットワーク3は、例えば、センサネットワークである。無線通信ネットワーク3は、集約器4と複数のノード装置5(5-1~5-3)とを備える。なお、図1に示す一例では、無線通信ネットワーク3は3つのノード装置5-1~5-3を備えるが、無線通信ネットワーク3は任意の数のノード装置5を備えてもよい。 The wireless communication network 3 is, for example, a sensor network. The wireless communication network 3 includes an aggregate 4 and a plurality of node devices 5 (5-1 to 5-3). In the example shown in FIG. 1, the wireless communication network 3 includes three node devices 5-1 to 5-3, but the wireless communication network 3 may include any number of node devices 5.

ノード装置5は、無線通信を用いて集約器4との間でデータを送受信する装置である。また、ノード装置5は、無線通信を用いて他のノード装置5との間でデータを送受信し得る。例えば、無線通信ネットワーク3がセンサネットワークである場合、ノード装置5は、センサノードである。 The node device 5 is a device that transmits / receives data to / from the aggregate 4 using wireless communication. Further, the node device 5 can send and receive data to and from another node device 5 using wireless communication. For example, when the wireless communication network 3 is a sensor network, the node device 5 is a sensor node.

集約器4は、無線通信ネットワーク3と広域ネットワーク6とを接続する中枢ノード(例えば、ゲートウェイ)である。広域ネットワーク6は、インターネットといった有線又は無線の通信ネットワークである。例えば、図1に示す構成例では、集約器4は、配下のノード装置5-1~5-3から受信したデータを、広域ネットワーク6を介して監視装置2へ送信する。 The aggregate 4 is a central node (for example, a gateway) that connects the wireless communication network 3 and the wide area network 6. The wide area network 6 is a wired or wireless communication network such as the Internet. For example, in the configuration example shown in FIG. 1, the aggregate 4 transmits the data received from the subordinate node devices 5-1 to 5-3 to the monitoring device 2 via the wide area network 6.

監視装置2は、無線通信ネットワーク3の状態を集約器4との通信を通じて監視する装置である。図1に示した一例では、監視装置2と集約器4とは広域ネットワーク6を介して接続する。 The monitoring device 2 is a device that monitors the state of the wireless communication network 3 through communication with the aggregate 4. In the example shown in FIG. 1, the monitoring device 2 and the aggregate 4 are connected via the wide area network 6.

集約器4及びノード装置5は、実施形態に従った通信装置の一例である。また、監視装置2は、実施形態に従ったルートコスト計算装置の一例である。なお、実施形態によっては、集約器4は、実施形態に従ったルートコスト計算装置の一例であってもよい。 The aggregate 4 and the node device 5 are examples of communication devices according to the embodiment. Further, the monitoring device 2 is an example of a route cost calculation device according to the embodiment. Depending on the embodiment, the aggregate 4 may be an example of the route cost calculation device according to the embodiment.

無線通信ネットワーク3は、マルチホップ型の無線通信ネットワークである。図1に示すように、無線通信ネットワーク3は、集約器4と直接通信するノード装置5だけでなく、中継する他のノード装置5を介して集約器4と通信するノード装置5を備える。例えば、複数のノード装置5の内、ノード装置5-1及びノード装置5-2は集約器4と直接通信する。一方、ノード装置5-3は、ノード装置5-1又はノード装置5-2を介して集約器4と通信する。 The wireless communication network 3 is a multi-hop type wireless communication network. As shown in FIG. 1, the wireless communication network 3 includes not only a node device 5 that directly communicates with the aggregate 4 but also a node device 5 that communicates with the aggregate 4 via another node device 5 that relays. For example, among the plurality of node devices 5, the node device 5-1 and the node device 5-2 communicate directly with the aggregate 4. On the other hand, the node device 5-3 communicates with the aggregate 4 via the node device 5-1 or the node device 5-2.

また、無線通信ネットワーク3は、選択した通信リンクでのパケットの送信に失敗した場合には別の通信リンクを再選択してパケットを送信するメッシュネットワークである。例えば、ノード装置5-1は、直接通信可能な集約器4及びノード装置5-3の内、一方の隣接装置へのパケットの送信に失敗した場合には、他方の隣接装置へパケットを送信する。また、例えば、ノード装置5-3は、直接通信可能なノード装置5-1及びノード装置5-2の内、一方の隣接装置へのパケットの送信に失敗した場合には、他方の隣接装置へパケットを送信する。前述したように、隣接装置とは、パケットを送信する通信装置(パケットの送信元装置又は中継装置)と通信リンクにより繋がる通信装置であり、パケットを送信する通信装置が直接通信可能な通信装置を指す。 Further, the wireless communication network 3 is a mesh network that reselects another communication link and transmits a packet when the transmission of the packet on the selected communication link fails. For example, if the node device 5-1 fails to transmit a packet to one of the adjacent devices of the aggregate 4 and the node device 5-3 capable of direct communication, the node device 5-1 transmits the packet to the other adjacent device. .. Further, for example, when the node device 5-3 fails to transmit a packet to one of the adjacent devices of the node device 5-1 and the node device 5-2 capable of direct communication, the node device 5-3 is sent to the other adjacent device. Send a packet. As described above, the adjacent device is a communication device that is connected to a communication device (packet source device or relay device) that transmits a packet by a communication link, and is a communication device that the communication device that transmits the packet can directly communicate with. Point to.

<リンクコスト及びルートコスト>
無線通信ネットワーク3では、パケットを送信する通信装置(パケットの送信元装置及び中継装置)は、複数の隣接装置が存在する場合には、隣接装置毎のルートコストの中で宛先装置に対するルートコストが小さい順に隣接装置を送信先装置に選択する。送信先装置とは、パケットを送信する通信装置が該パケットを直接送信する隣接装置を指す。また、ルートコストとは、パケットを送信する通信装置と該パケットの宛先装置との間で選択可能な全ての通信ルートを用いても該通信装置から該宛先装置へ該パケットが到達しないパケットロス率を指す。例えば、隣接装置のルートコストは、隣接装置と宛先装置との間で選択可能な全ての通信ルートを用いても隣接装置から宛先装置へパケットが到達しないパケットロス率である。
<Link cost and route cost>
In the wireless communication network 3, the communication device (packet source device and relay device) that transmits a packet has a route cost for the destination device among the route costs for each adjacent device when a plurality of adjacent devices exist. Select the adjacent device as the destination device in ascending order. The destination device refers to an adjacent device to which a communication device that transmits a packet directly transmits the packet. Further, the route cost is a packet loss rate at which the packet does not reach the destination device from the communication device even if all communication routes that can be selected between the communication device that transmits the packet and the destination device of the packet are used. Point to. For example, the root cost of an adjacent device is a packet loss rate at which packets do not reach the destination device from the adjacent device even if all communication routes selectable between the adjacent device and the destination device are used.

<ルートコスト及びリンクコスト>
図2は、実施形態に従ったリンクコスト及びルートコストの説明図である。図2において、各通信装置(集約器4及びノード装置5)付近に括弧書きで示した数字は、集約器4をパケットの宛先装置とした場合の各通信装置のルートコストを表す。図2に示した一例では、集約器4のルートコストは0であり、ノード装置5-1のルートコストは0.014であり、ノード装置5-2のルートコストは0.017であり、ノード装置5-3のルートコストは0.025である。
<Route cost and link cost>
FIG. 2 is an explanatory diagram of a link cost and a route cost according to an embodiment. In FIG. 2, the numbers shown in parentheses near each communication device (aggregator 4 and node device 5) represent the root cost of each communication device when the aggregate 4 is the destination device of the packet. In the example shown in FIG. 2, the root cost of the aggregate 4 is 0, the root cost of the node device 5-1 is 0.014, the root cost of the node device 5-2 is 0.017, and the node. The root cost of device 5-3 is 0.025.

例えば、ノード装置5-1の隣接装置である集約器4及びノード装置5-3では、ノード装置5-3のルートコストよりも集約器4のルートコストが小さい。そこで、ノード装置5-1は、隣接装置である集約器4及びノード装置5-3の内、集約器4を送信先装置にまず選択し、ノード装置5-1から集約器4へのパケット送信に失敗した場合にはノード装置5-3を送信先装置に次に選択する。また、ノード装置5-3の隣接装置であるノード装置5-1及びノード装置5-2では、ノード装置5-2のルートコストよりもノード装置5-1のルートコストが小さい。そこで、ノード装置5-3は、ノード装置5-1を送信先装置にまず選択し、ノード装置5-3からノード装置5-1へのパケット送信に失敗した場合にはノード装置5-2を送信先装置に次に選択する。 For example, in the aggregate 4 and the node apparatus 5-3 which are adjacent devices of the node apparatus 5-1 the root cost of the aggregate 4 is smaller than the root cost of the node apparatus 5-3. Therefore, the node device 5-1 first selects the aggregate 4 as the destination device from the adjacent devices 4 and the node device 5-3, and transmits a packet from the node device 5-1 to the aggregate 4. If it fails, the node device 5-3 is selected as the destination device next. Further, in the node device 5-1 and the node device 5-2 which are adjacent devices of the node device 5-3, the root cost of the node device 5-1 is smaller than the root cost of the node device 5-2. Therefore, the node device 5-3 first selects the node device 5-1 as the destination device, and if the packet transmission from the node device 5-3 to the node device 5-1 fails, the node device 5-2 is selected. Next, select the destination device.

後述するように、各通信装置のルートコストは、リンクコストを用いて各通信装置(集約器4及びノード装置5)或いはルートコスト計算装置(監視装置2又は集約器4)が計算する。リンクコストとは、パケットを送信する通信装置と隣接装置との間の通信リンクにおいて該通信装置から隣接装置にパケットが到達しないパケットロス率を指す。図2において、通信装置間を繋ぐ通信リンクL1~L4付近に記載された数字は、該通信リンクL1~L4のリンクコストを指す。例えば、通信リンクL1のリンクコスト0.1は、ノード装置5-1と集約器4との間ではパケットの送信が10回の内1回の確率で失敗することを示す。なお、図2には、各通信装置の通信性能(送信性能及び受信性能)が同じである場合を一例として示したが、各通信装置の通信性能は異なってもよい。 As will be described later, the root cost of each communication device is calculated by each communication device (aggregator 4 and node device 5) or root cost calculation device (monitoring device 2 or aggregate 4) using the link cost. The link cost refers to the packet loss rate at which a packet does not reach the adjacent device from the communication device in the communication link between the communication device that transmits the packet and the adjacent device. In FIG. 2, the numbers described in the vicinity of the communication links L1 to L4 connecting the communication devices indicate the link cost of the communication links L1 to L4. For example, the link cost 0.1 of the communication link L1 indicates that the transmission of the packet between the node device 5-1 and the aggregate 4 fails with a probability of 1 in 10 times. Although FIG. 2 shows an example in which the communication performance (transmission performance and reception performance) of each communication device is the same, the communication performance of each communication device may be different.

実施形態に従ったリンクコスト及びルートコストの計算方法の一例を以下に説明する。 An example of the calculation method of the link cost and the route cost according to the embodiment will be described below.

<<リンクコストの計算例>>
各通信リンクのリンクコストは、各通信リンクを繋ぐ通信装置(集約器4及びノード装置5)が計算する。
<< Example of link cost calculation >>
The link cost of each communication link is calculated by the communication device (aggregator 4 and node device 5) connecting each communication link.

例えば、図3に示すように、通信装置(集約器4及びノード装置5)は、隣接装置が通信装置へ送信した送信パケット数と、通信装置が隣接装置から受信した受信パケット数とを用いて、通信装置と隣接装置との間の通信リンクのリンクコストを計算してもよい。図3は、実施形態に従ったリンクコストの計算方法の一例を説明する図である。 For example, as shown in FIG. 3, the communication device (aggregator 4 and node device 5) uses the number of transmitted packets transmitted by the neighboring device to the communication device and the number of received packets received by the communication device from the neighboring device. , The link cost of the communication link between the communication device and the adjacent device may be calculated. FIG. 3 is a diagram illustrating an example of a link cost calculation method according to an embodiment.

図3に示した一例では、送信側の通信装置Aは、送信側の通信装置Aと繋がる通信リンクにおいて送信側の通信装置Aからパケットを受信する受信側の通信装置毎に、送信パケット数をカウントする。例えば、送信側の通信装置Aは、受信側の通信装置Bに対する送信パケット数をカウントし、受信側の通信装置Bへパケットを新たに送信する度に受信側の通信装置Bに対する送信パケット数を更新する。そして、送信側の通信装置Aは、送信側の通信装置Aの識別子と更新した送信パケット数とを含むパケットを受信側の通信装置Bへ送信する。受信側の通信装置Bへ送信するパケットは、リンクコストを計算するための専用パケットでもよいし、所要のデータを送受信するためのパケットでもよい。 In the example shown in FIG. 3, the transmitting side communication device A determines the number of transmission packets for each receiving side communication device that receives packets from the transmitting side communication device A on the communication link connected to the transmitting side communication device A. Count. For example, the transmission side communication device A counts the number of transmission packets to the reception side communication device B, and each time a new packet is transmitted to the reception side communication device B, the number of transmission packets to the reception side communication device B is counted. Update. Then, the communication device A on the transmitting side transmits a packet including the identifier of the communication device A on the transmitting side and the updated number of transmission packets to the communication device B on the receiving side. The packet to be transmitted to the communication device B on the receiving side may be a dedicated packet for calculating the link cost or a packet for transmitting and receiving required data.

受信側の通信装置Bは、受信側の通信装置Bと繋がる通信リンクにおいて受信側の通信装置Bへパケットを送信した送信側の通信装置毎に、受信パケット数をカウントする。例えば、受信側の通信装置Bは、送信側の通信装置Aに対する受信パケット数をカウントし、送信側の通信装置Aからパケットを新たに受信する度に送信側の通信装置Aに対する受信パケット数を更新する。そして、受信側の通信装置Bは、送信側の通信装置Aに対する受信パケット数と、送信側の通信装置Aから受信したパケットが含む送信パケット数とを用いて、送信側の通信装置Aと受信側の通信装置Bとを繋ぐ通信リンクのリンクコストを次の式(1)により計算する。 The communication device B on the receiving side counts the number of received packets for each communication device on the transmitting side that has transmitted a packet to the communication device B on the receiving side on the communication link connected to the communication device B on the receiving side. For example, the receiving side communication device B counts the number of received packets for the transmitting side communication device A, and each time a new packet is received from the transmitting side communication device A, the number of received packets for the transmitting side communication device A is counted. Update. Then, the communication device B on the receiving side uses the number of received packets for the communication device A on the transmitting side and the number of transmission packets included in the packet received from the communication device A on the transmitting side to receive the communication device A on the transmitting side. The link cost of the communication link connecting to the communication device B on the side is calculated by the following equation (1).

Figure 0007031200000001
Figure 0007031200000001

例えば、送信側の通信装置Aが受信側の通信装置Bへ送信した送信パケット数がXであり、受信側の通信装置Bが送信側の通信装置Aから受信した受信パケット数がYであると仮定する。この仮定では、送信側の通信装置Aと受信側の通信装置Bとを繋ぐ通信リンクのリンクコストは、1-(Y/X)である。 For example, if the number of transmission packets transmitted by the transmission side communication device A to the reception side communication device B is X, and the number of reception packets received by the reception side communication device B from the transmission side communication device A is Y. Suppose. Under this assumption, the link cost of the communication link connecting the communication device A on the transmitting side and the communication device B on the receiving side is 1- (Y / X).

図3に示すように、受信側の通信装置Bは、送信側の通信装置Aの識別子、受信パケット数、及びリンクコストを対応付けてリンクコストテーブルに記憶する。このように、各通信装置は、隣接装置と繋ぐ通信リンク毎のリンクコストを計算し、計算したリンクコストを隣接装置の識別子と対応付けてリンクコストテーブルに記憶する。 As shown in FIG. 3, the receiving-side communication device B stores the identifier of the transmitting-side communication device A, the number of received packets, and the link cost in association with each other in the link cost table. In this way, each communication device calculates the link cost for each communication link connected to the adjacent device, and stores the calculated link cost in the link cost table in association with the identifier of the adjacent device.

なお、図3を参照しながら上述したリンクコストの計算方法は、一例であって、その他の方法が用いられてもよい。 The link cost calculation method described above with reference to FIG. 3 is an example, and other methods may be used.

例えば、通信装置(集約器4及びノード装置5)は、隣接装置から受信したパケットの受信電力に対応するパケットロス率を通信リンク毎のリンクコストとして取得してもよい。具体的には、例えば、通信装置は、受信電力とパケットロス率との関係を通信装置の受信性能として予め測定し、測定結果を受信電力対パケットロス率テーブルに記憶する。そして、通信装置は、隣接装置からパケットを受信した時に受信電力対パケットロス率テーブルを参照し、受信したパケットの受信電力に対応するパケットロス率を、通信装置と該隣接装置との間の通信リンクのリンクコストとして取得する。 For example, the communication device (aggregator 4 and node device 5) may acquire the packet loss rate corresponding to the received power of the packet received from the adjacent device as the link cost for each communication link. Specifically, for example, the communication device measures the relationship between the received power and the packet loss rate in advance as the reception performance of the communication device, and stores the measurement result in the received power to packet loss rate table. Then, the communication device refers to the received power-to-packet loss rate table when receiving a packet from the adjacent device, and determines the packet loss rate corresponding to the received power of the received packet between the communication device and the adjacent device. Obtained as the link cost of the link.

また、通信装置(集約器4及びノード装置5)は、隣接装置から受信したパケットの受信電力に対応するビットエラーレートと、パケットサイズと、パケットの送信リトライ回数とを用いて、通信リンク毎のリンクコストを計算してもよい。具体的には、例えば、通信装置は、受信電力とビットエラーレートとの関係を通信装置の受信性能として予め測定し、測定結果を受信電力対ビットエラーレートテーブルに記憶する。通信装置は、隣接装置からパケットを受信した時に受信電力対ビットエラーレートテーブルを参照し、受信したパケットの受信電力に対応するビットエラーレートを取得する。そして、通信装置は、取得したビットエラーレートと、受信したパケットのサイズと、通信規約として予め定められた送信リトライ回数とから、パケットを送信した隣接装置との通信リンクのパケットロス率を計算する。 Further, the communication device (aggregator 4 and node device 5) uses the bit error rate corresponding to the received power of the packet received from the adjacent device, the packet size, and the number of packet transmission retries for each communication link. You may calculate the link cost. Specifically, for example, the communication device measures the relationship between the received power and the bit error rate in advance as the reception performance of the communication device, and stores the measurement result in the received power vs. bit error rate table. When the communication device receives a packet from an adjacent device, it refers to the received power vs. bit error rate table and acquires the bit error rate corresponding to the received power of the received packet. Then, the communication device calculates the packet loss rate of the communication link with the adjacent device that transmitted the packet from the acquired bit error rate, the size of the received packet, and the number of transmission retries predetermined as the communication contract. ..

<<ルートコストの計算例>>
各通信装置(集約器4及びノード装置5)のルートコストは、各通信装置が計算したリンクコストを用いて、各通信装置或いはルートコスト計算装置(監視装置2又は集約器4)が計算する。図4(A)~図4(C)は、実施形態に従ったルートコストの計算方法の一例を説明する図である。図4(A)~図4(C)に示す一例では、パケットの送信元装置及び中継装置はノード装置5であり、該パケットの宛先装置は集約器4である。すなわち、図4(A)~図4(C)は、集約器4を宛先装置とするパケットをノード装置5が送信するケースを一例として示す。
<< Calculation example of route cost >>
The root cost of each communication device (aggregator 4 and node device 5) is calculated by each communication device or root cost calculation device (monitoring device 2 or aggregate 4) using the link cost calculated by each communication device. 4 (A) to 4 (C) are diagrams illustrating an example of a route cost calculation method according to an embodiment. In the example shown in FIGS. 4A to 4C, the source device and the relay device of the packet are the node device 5, and the destination device of the packet is the aggregate 4. That is, FIGS. 4 (A) to 4 (C) show, as an example, a case where the node device 5 transmits a packet whose destination device is the aggregate 4.

まず、図4(A)は、パケットの送信元装置と該パケットの宛先装置とが通信リンクにより繋がるケースの一例を示す。具体的には、ノード装置5-1と集約器4とは通信リンクL1により繋がり、ノード装置5-2と集約器4とは通信リンクL2により繋がる。このように、送信元装置と宛先装置とが、両通信装置の間でパケットを中継する中継装置を介さずに直接繋がるケースでは、各通信装置のルートコストを次のように計算する。 First, FIG. 4A shows an example of a case in which a packet source device and a packet destination device are connected by a communication link. Specifically, the node device 5-1 and the aggregate 4 are connected by the communication link L1, and the node device 5-2 and the aggregate 4 are connected by the communication link L2. In this way, in the case where the source device and the destination device are directly connected to each other without the relay device for relaying packets between the two communication devices, the root cost of each communication device is calculated as follows.

宛先装置は、受信したパケットを保持し、該パケットを他の通信装置へ送信しない。このため、宛先装置のルートコストは0である。したがって、図4(A)に示す一例では、集約器4のルートコストは0である。 The destination device holds the received packet and does not transmit the packet to another communication device. Therefore, the root cost of the destination device is zero. Therefore, in the example shown in FIG. 4A, the root cost of the aggregate 4 is 0.

送信元装置が宛先装置へ通信リンクを介して直接送信する場合には、中継によるパケットロスがない。このため、送信元装置のルートコストは、送信元装置と宛先装置とを繋ぐ通信リンクのリンクコストと同じである。したがって、図4(A)に示す一例では、ノード装置5-1のルートコストは、ノード装置5-1と集約器4とを繋ぐ通信リンクL1のリンクコストと同じ0.1である。また、ノード装置5-2のルートコストは、ノード装置5-2と集約器4とを繋ぐ通信リンクL2のリンクコストと同じ0.15である。 When the source device transmits directly to the destination device via the communication link, there is no packet loss due to relay. Therefore, the root cost of the source device is the same as the link cost of the communication link connecting the source device and the destination device. Therefore, in the example shown in FIG. 4A, the root cost of the node device 5-1 is 0.1, which is the same as the link cost of the communication link L1 connecting the node device 5-1 and the aggregate 4. The root cost of the node device 5-2 is 0.15, which is the same as the link cost of the communication link L2 connecting the node device 5-2 and the aggregate 4.

次に、図4(B)は、送信元装置と宛先装置とが中継装置を介して繋がるケースの一例を示す。具体的には、ノード装置5-3と集約器4とはノード装置5-1を介して繋がる。また、図4(B)は、送信元装置から宛先装置までを繋ぐ通信ルートが1本であるケースの一例を示す。具体的には、ノード装置5-1から集約器4までを繋ぐ通信ルートは、通信リンクL3及び通信リンクL1から構成される1本の通信ルートである。このように、送信元装置と宛先装置とが中継装置を介して1本道の通信ルートで繋がるケースでは、各通信装置のルートコストを次のように計算する。 Next, FIG. 4B shows an example of a case in which the source device and the destination device are connected via a relay device. Specifically, the node device 5-3 and the aggregate 4 are connected via the node device 5-1. Further, FIG. 4B shows an example of a case where one communication route connects the source device to the destination device. Specifically, the communication route connecting the node device 5-1 to the aggregate 4 is one communication route composed of the communication link L3 and the communication link L1. In this way, in the case where the source device and the destination device are connected by a one-way communication route via the relay device, the route cost of each communication device is calculated as follows.

宛先装置のルートコストは、図4(A)を参照しながら前述したとおり0である。したがって、図4(B)に示す一例では、集約器4のルートコストは0である。 The root cost of the destination device is 0 as described above with reference to FIG. 4 (A). Therefore, in the example shown in FIG. 4B, the root cost of the aggregate 4 is 0.

宛先装置と通信リンクを介して繋がる中継装置のルートコストは、図4(A)で説明した送信元装置のルートコストと同様に、宛先装置と中継装置とを繋ぐ通信リンクのリンクコストと同じである。したがって、図4(B)に示した一例では、ノード装置5-1のルートコストは、ノード装置5-1と集約器4とを繋ぐ通信リンクL1のリンクコストと同じ0.1である。 The root cost of the relay device connected to the destination device via the communication link is the same as the link cost of the communication link connecting the destination device and the relay device, similar to the root cost of the source device described with reference to FIG. 4 (A). be. Therefore, in the example shown in FIG. 4B, the root cost of the node device 5-1 is 0.1, which is the same as the link cost of the communication link L1 connecting the node device 5-1 and the aggregate 4.

中継装置と通信リンクを介して繋がる送信元装置のルートコストは、送信元装置と中継装置との間の通信リンク、及び中継装置と宛先装置との間の通信ルートの何れかにおいてパケットがロスする確率である。中継装置と宛先装置との間の通信ルートにおいてパケットがロスする確率は、中継装置のルートコストを指す。したがって、図4(B)で示した一例では、ノード装置5-3のルートコストは、ノード装置5-3がノード装置5-1にパケットを送信できない確率と、ノード装置5-3からノード装置5-1へパケットを送信したがノード装置5-1において集約器4へのパケット送信に失敗する確率との総和である。すなわち、ノード装置5-3のルートコストは、0.12+(1-0.12)×0.1=0.208である。 The root cost of the source device connected to the relay device via the communication link is that the packet is lost in either the communication link between the source device and the relay device or the communication route between the relay device and the destination device. It is a probability. The probability that a packet will be lost in the communication route between the relay device and the destination device refers to the route cost of the relay device. Therefore, in the example shown in FIG. 4B, the root cost of the node device 5-3 is the probability that the node device 5-3 cannot send a packet to the node device 5-1 and the node device from the node device 5-3. It is the sum of the probability that the packet is transmitted to 5-1 but the packet transmission to the aggregate 4 fails in the node device 5-1. That is, the root cost of the node device 5-3 is 0.12+ (1-0.12) × 0.1 = 0.208.

なお、図4(B)に示した一例では、送信元装置と宛先装置とが1つの中継装置を介して繋がるが、送信元装置と宛先装置とが複数の中継装置を介して繋がる場合においても、上述と同様の計算方法により各通信装置のルートコストを計算できる。 In the example shown in FIG. 4B, the source device and the destination device are connected via one relay device, but the source device and the destination device may be connected via a plurality of relay devices. , The root cost of each communication device can be calculated by the same calculation method as described above.

さらに、図4(C)は、送信元装置と宛先装置とが中継装置を介して繋がるケースの一例を示す。具体的には、ノード装置5-3と集約器4とはノード装置5-1又はノード装置5-2を介して繋がる。また、図4(C)は、送信元装置から宛先装置までを繋ぐ通信ルートが複数本であるケースの一例を示す。具体的には、ノード装置5-3から集約器4までを繋ぐ通信ルートには、通信リンクL3及び通信リンクL1から構成される第1の通信ルートと、通信リンクL4及び通信リンクL2から構成される第2の通信ルートとがある。また、ノード装置5-3から集約器4までを繋ぐ通信ルートには、ノード装置5-3からパケットを受信したノード装置5-1が該パケットをノード装置5-3へ返送した場合の通信ルートとして、通信リンクL3、通信リンクL4、及び通信リンクL2から構成される第3の通信ルートもある。さらに、ノード装置5-3から集約器4までを繋ぐ通信ルートには、ノード装置5-3からパケットを受信したノード装置5-2が該パケットをノード装置5-3へ返送した場合の通信ルートとして、通信リンクL4、通信リンクL3、及び通信リンクL1から構成される第4の通信ルートもある。このように、送信元装置と宛先装置とが中継装置を介して複数本の通信ルートで繋がるケースでは、各通信装置のルートコストを次のように計算する。 Further, FIG. 4C shows an example of a case where the source device and the destination device are connected via a relay device. Specifically, the node device 5-3 and the aggregate 4 are connected via the node device 5-1 or the node device 5-2. Further, FIG. 4C shows an example of a case where there are a plurality of communication routes connecting the source device to the destination device. Specifically, the communication route connecting the node device 5-3 to the aggregate 4 is composed of a first communication route composed of the communication link L3 and the communication link L1, and the communication link L4 and the communication link L2. There is a second communication route. Further, the communication route connecting the node device 5-3 to the aggregate 4 is a communication route when the node device 5-1 receiving the packet from the node device 5-3 returns the packet to the node device 5-3. There is also a third communication route composed of a communication link L3, a communication link L4, and a communication link L2. Further, the communication route connecting the node device 5-3 to the aggregate 4 is a communication route when the node device 5-2 receiving the packet from the node device 5-3 returns the packet to the node device 5-3. There is also a fourth communication route composed of a communication link L4, a communication link L3, and a communication link L1. In this way, in the case where the source device and the destination device are connected by a plurality of communication routes via the relay device, the route cost of each communication device is calculated as follows.

宛先装置のルートコストは、図4(A)及び図4(B)と同様に0である。したがって、図4(C)に示した一例では、集約器4のルートコストは0である。 The root cost of the destination device is 0 as in FIGS. 4 (A) and 4 (B). Therefore, in the example shown in FIG. 4C, the root cost of the aggregate 4 is 0.

宛先装置と通信リンクを介して繋がる中継装置のルートコストは、図4(B)と同様に、宛先装置と中継装置とを繋ぐ通信リンクのリンクコストと同じである。したがって、図4(C)に示した一例では、ノード装置5-1のルートコストは0.1であり、ノード装置5-2のルートコストは0.15である。 The root cost of the relay device connected to the destination device via the communication link is the same as the link cost of the communication link connecting the destination device and the relay device, as in FIG. 4B. Therefore, in the example shown in FIG. 4C, the root cost of the node device 5-1 is 0.1, and the root cost of the node device 5-2 is 0.15.

複数の中継装置と通信リンクを介して繋がる送信元装置のルートコストは、次のように計算する。前述したように、無線通信ネットワーク3では、各通信装置は、選択した通信リンクでのパケットの送信に失敗した場合には別の通信リンクを再選択してパケットを送信する。また、パケットを送信する通信装置は、複数の隣接装置が存在する場合には、隣接装置毎のルートコストの中で宛先装置に対するルートコストが小さい順に隣接装置を送信先装置に選択する。そこで、こうしたメッシュネットワークでは、パケットを送信する装置(送信元装置又は中継装置)のルートコストを、次の式(2)のように確率A及び確率Bの総和により計算する。 The root cost of the source device connected to a plurality of relay devices via a communication link is calculated as follows. As described above, in the wireless communication network 3, each communication device reselects another communication link and transmits the packet when the transmission of the packet on the selected communication link fails. Further, when a plurality of adjacent devices exist, the communication device for transmitting the packet selects the adjacent device as the destination device in ascending order of the root cost for the destination device among the route costs for each adjacent device. Therefore, in such a mesh network, the route cost of the device (source device or relay device) that transmits the packet is calculated by the sum of the probabilities A and B as in the following equation (2).

Figure 0007031200000002
Figure 0007031200000002

ここで、確率Aは、パケットを送信する通信装置と隣接装置との間の全ての通信リンクでパケットがロスする確率である。また、確率Bは、選択した通信リンクでのパケットの送信に失敗した場合には別の通信リンクを再選択してパケットを送信する通信装置が宛先装置に対するルートコストが小さい順に選択した隣接装置と宛先装置との間の通信ルートでパケットがロスする確率の和である。 Here, the probability A is the probability that a packet will be lost on all communication links between the communication device that transmits the packet and the adjacent device. Further, the probability B is that when the transmission of the packet on the selected communication link fails, another communication link is reselected and the communication device that transmits the packet selects the adjacent device in ascending order of the route cost to the destination device. It is the sum of the probabilities that a packet will be lost on the communication route with the destination device.

図4(C)に示した一例では、確率Aは、ノード装置5-3がノード装置5-1及びノード装置5-2の何れにもパケットを送信できない確率であり、0.12×0.09である。また、確率Bは、ノード装置5-3からノード装置5-1へパケットを送信したがノード装置5-1において集約器4へのパケット送信に失敗する確率と、ノード装置5-1へのパケットの送信が失敗したため、ノード装置5-3がノード装置5-2へパケットを送信したが、ノード装置5-2において集約器4へのパケット送信に失敗する確率との和であり、(1-0.12)×0.1+0.12×(1-0.09)×0.15である。したがって、ノード装置5-3のルートコストは、確率A及び確率Bの和である約0.115である。 In the example shown in FIG. 4C, the probability A is the probability that the node device 5-3 cannot send a packet to either the node device 5-1 or the node device 5-2, and is 0.12 × 0. It is 09. Further, the probability B includes the probability that the packet is transmitted from the node device 5-3 to the node device 5-1 but fails to be transmitted to the aggregate 4 in the node device 5-1 and the packet to the node device 5-1. The node device 5-3 sent a packet to the node device 5-2 because the transmission of the packet failed, but it is the sum of the probability that the packet transmission to the aggregate 4 in the node device 5-2 fails (1-). 0.12) × 0.1 + 0.12 × (1-0.09) × 0.15. Therefore, the root cost of the node device 5-3 is about 0.115, which is the sum of the probabilities A and the probabilities B.

このように、宛先装置、中継装置、及び送信元装置のルートコストを上述のようにまず計算する。しかしながら、中継装置と宛先装置との間の通信ルートには、送信元装置が存在することで、上述の計算で用いた通信ルートの他に、中継装置が送信元装置を介して宛先装置へパケットを送信する通信ルートがある。具体的には、ノード装置5-1と集約器4との通信ルートには、ノード装置5-1と集約器4とを直接繋ぐ通信ルートの他に、ノード装置5-3及びノード装置5-2を介してノード5-1と集約器4とを繋ぐ通信ルートがある。また、ノード装置5-2と集約器4との通信ルートには、ノード装置5-2と集約器4とを直接繋ぐ通信ルートの他に、ノード装置5-3及びノード装置5-1を介してノード装置5-2と集約器4とを繋ぐ通信ルートがある。そこで、送信元装置を介した通信ルートを考慮して、中継装置のルートコストを上述した式(2)により再計算する。 In this way, the route costs of the destination device, the relay device, and the source device are first calculated as described above. However, since the source device exists in the communication route between the relay device and the destination device, the relay device packets to the destination device via the source device in addition to the communication route used in the above calculation. There is a communication route to send. Specifically, in the communication route between the node device 5-1 and the aggregate 4, in addition to the communication route that directly connects the node device 5-1 and the aggregate 4, the node device 5-3 and the node device 5- There is a communication route connecting the node 5-1 and the aggregate 4 via 2. Further, the communication route between the node device 5-2 and the aggregate 4 is via the node device 5-3 and the node device 5-1 in addition to the communication route directly connecting the node device 5-2 and the aggregate 4. There is a communication route connecting the node device 5-2 and the aggregate 4. Therefore, the route cost of the relay device is recalculated by the above equation (2) in consideration of the communication route via the source device.

図4に示した一例では、ノード装置5-1のルートコストは、0.1×0.12(確率A)と0.1×(1-0.12)×0.115(確率B)との総和により約0.22と再計算できる。また、ノード装置5-2のルートコストは、0.15×0.09(確率A)と0.15×(1-0.09)×0.115(確率B)との総和により約0.029と再計算できる。 In the example shown in FIG. 4, the root costs of the node device 5-1 are 0.1 × 0.12 (probability A) and 0.1 × (1-0.12) × 0.115 (probability B). Can be recalculated as about 0.22 by the sum of. The root cost of the node device 5-2 is about 0. by the sum of 0.15 × 0.09 (probability A) and 0.15 × (1-0.09) × 0.115 (probability B). It can be recalculated as 029.

中継装置のルートコストを上述のように再計算した結果、中継装置のルートコストが変わると、送信元装置のルートコストも変わり得る。そこで、再計算後の中継装置のルートコストを用いて、送信元装置のルートコストを再計算する。同様に、送信元装置のルートコストを上述のように再計算した結果、送信元装置のルートコストが変わると、中継装置のルートコストも変わり得る。そこで、再計算後の送信元装置のルートコストを用いて、送信元装置のルートコストを再計算する。こうして、送信元装置及び中継装置のルートコストの計算を繰り返す。図5は、図4(C)に示したネットワーク構成でのルートコストの収束計算の一例を示す図である。図5に示すように、各通信リンクのリンクコストが変わらない限り、送信元装置及び中継装置のルートコストの計算を数回繰り返すことで計算結果は収束し得る。この結果、図2に示すような各通信装置のルートコストを得ることができる。 As a result of recalculating the root cost of the relay device as described above, if the root cost of the relay device changes, the root cost of the source device may also change. Therefore, the root cost of the source device is recalculated using the root cost of the relay device after the recalculation. Similarly, as a result of recalculating the root cost of the source device as described above, if the root cost of the source device changes, the root cost of the relay device may also change. Therefore, the root cost of the source device is recalculated using the root cost of the source device after the recalculation. In this way, the calculation of the route cost of the source device and the relay device is repeated. FIG. 5 is a diagram showing an example of the convergence calculation of the route cost in the network configuration shown in FIG. 4 (C). As shown in FIG. 5, as long as the link cost of each communication link does not change, the calculation result can be converged by repeating the calculation of the route cost of the source device and the relay device several times. As a result, the root cost of each communication device as shown in FIG. 2 can be obtained.

なお、図4(C)に示した一例では、送信元装置と宛先装置とが1つの中継装置を介して繋がるが、送信元装置と宛先装置とが複数の中継装置を介して繋がる場合においても、上述と同様の計算方法により各通信装置のルートコストを計算できる。また、上述の説明では、全ての通信装置のルートコストが一定値に収束するまで計算する場合を一例として説明したが、各通信装置のルートコストを一定値に収束するまで計算しなくてもよい。正確な値でなくても任意の値のルートコストを各通信装置が所持すれば、各通信装置はルートコストの小さい順に隣接装置を宛先装置に選択し得るからである。 In the example shown in FIG. 4C, the source device and the destination device are connected via one relay device, but the source device and the destination device may be connected via a plurality of relay devices. , The root cost of each communication device can be calculated by the same calculation method as described above. Further, in the above description, the case of calculating until the root cost of all communication devices converges to a constant value has been described as an example, but it is not necessary to calculate until the root cost of each communication device converges to a constant value. .. This is because if each communication device possesses a root cost of an arbitrary value even if it is not an accurate value, each communication device can select the adjacent device as the destination device in ascending order of the root cost.

また、上述では、無線通信ネットワーク3を構成する各通信装置のルートコストを初めて計算する場合の一例を図4を参照しながら説明した。しかしながら、無線通信ネットワークの運用中に通信リンクのリンクコストが変化した場合においても、各通信装置のルートコストを同様の方法により再計算し得る。また、無線通信ネットワーク3に新たに追加されたノード装置5のルートコストを計算済みのその他の通信装置のルートコストを用いて計算する場合にも、同様の方法により計算し得る。 Further, in the above description, an example of the case where the root cost of each communication device constituting the wireless communication network 3 is calculated for the first time has been described with reference to FIG. However, even if the link cost of the communication link changes during the operation of the wireless communication network, the root cost of each communication device can be recalculated by the same method. Further, when the root cost of the node device 5 newly added to the wireless communication network 3 is calculated by using the root cost of the other communication device that has already been calculated, it can be calculated by the same method.

<ルートコストの計算方法>
図4を参照しながら上述したようなルートコストの計算は、通信装置(集約器4及びノード装置5)が行ってもよい。
<Calculation method of route cost>
The communication device (aggregator 4 and node device 5) may perform the calculation of the route cost as described above with reference to FIG.

具体的には、例えば、図6に示すように、各通信装置は、宛先装置毎に通信装置のルートコストを記録するルートコストテーブルを保持し、ルートコストテーブルを隣接装置と交換することで当該通信装置のルートコストを計算してもよい。図6は、実施形態に従った通信装置が行うルートコストの計算方法の一例を説明する図である。 Specifically, for example, as shown in FIG. 6, each communication device holds a route cost table for recording the route cost of the communication device for each destination device, and the route cost table is exchanged with an adjacent device. The root cost of the communication device may be calculated. FIG. 6 is a diagram illustrating an example of a method of calculating a route cost performed by a communication device according to an embodiment.

図6に示す一例では、送信側の通信装置Aは、パケットの宛先装置毎に送信側の通信装置Aのルートコストが記録されたルートコストテーブルを保持する。同様に、受信側の通信装置Bは、パケットの宛先装置毎に受信側の通信装置Bのルートコストが記録されたルートコストテーブルを保持する。 In the example shown in FIG. 6, the transmitting side communication device A holds a route cost table in which the route cost of the transmitting side communication device A is recorded for each packet destination device. Similarly, the receiving-side communication device B holds a route cost table in which the route cost of the receiving-side communication device B is recorded for each packet destination device.

また、図3を参照しながら前述したように、各通信装置は、隣接装置と繋ぐ通信リンク毎のリンクコストを計算し、計算したリンクコストを隣接装置の識別子と対応付けてリンクコストテーブルに記憶する。図6に示す一例では、受信側の通信装置Bは、送信側の通信装置Aと繋ぐ通信リンクのリンクコストを含むリンクコストテーブルを保持する。 Further, as described above with reference to FIG. 3, each communication device calculates the link cost for each communication link connected to the adjacent device, and stores the calculated link cost in the link cost table in association with the identifier of the adjacent device. do. In the example shown in FIG. 6, the communication device B on the receiving side holds a link cost table including the link cost of the communication link connected to the communication device A on the transmitting side.

各通信装置は、保持するルートコストテーブルを隣接装置と交換する。そして、各通信装置は、保持するリンクコストテーブルと、交換したルートコストテーブルとを用いて、宛先装置毎のルートコストを式(2)により計算する。図6に示す一例では、受信側の通信装置Bは、互いが保持するルートコストテーブルを送信側の通信装置Aと交換する。そして、受信側の通信装置Bは、受信側の通信装置Bが保持するリンクコストテーブルと、交換により取得した送信側の通信装置Aのルートコストテーブルとを用いて、第3の通信装置C(例えば、集約器4)を宛先装置とする受信側の通信装置Bのルートコストを計算する。 Each communication device exchanges the route cost table it holds with an adjacent device. Then, each communication device calculates the route cost for each destination device by the equation (2) using the held link cost table and the exchanged route cost table. In the example shown in FIG. 6, the communication device B on the receiving side exchanges the route cost table held by each other with the communication device A on the transmitting side. Then, the communication device B on the receiving side uses the link cost table held by the communication device B on the receiving side and the route cost table of the communication device A on the transmitting side acquired by exchange, and uses the third communication device C ( For example, the root cost of the communication device B on the receiving side whose destination device is the aggregate 4) is calculated.

このように、実施形態に従った通信装置によれば、選択した通信リンクでのパケットの送信に失敗した場合には別の通信リンクを再選択してパケットを送信するメッシュネットワークにおいて適切な送信先装置を選択するためのルートコストを計算できる。 As described above, according to the communication device according to the embodiment, if the transmission of the packet on the selected communication link fails, another communication link is reselected and the appropriate destination in the mesh network for transmitting the packet. You can calculate the route cost to select the device.

また、図4を参照しながら上述したルートコストの計算は、ルートコスト計算装置(集約器4又は監視装置2)が行ってもよい。 Further, the route cost calculation described above with reference to FIG. 4 may be performed by the route cost calculation device (aggregator 4 or monitoring device 2).

具体的には、各通信装置(集約器4及びノード装置5)は、保持するリンクコストテーブルをルートコスト計算装置へ送信する。ルートコスト計算装置は、受信した各リンクコストテーブルが記録する通信リンク毎のリンクコストを用いて、特定の通信装置或いは全ての通信装置を宛先装置として各通信装置のルートコストを計算する。ルートコスト計算装置は、計算結果を対応する通信装置へ送信し、各通信装置は、受信した宛先装置毎のルートコストをルートコストテーブルに記憶する。 Specifically, each communication device (aggregator 4 and node device 5) transmits the held link cost table to the root cost calculation device. The route cost calculation device calculates the root cost of each communication device with a specific communication device or all communication devices as the destination device by using the link cost for each communication link recorded in each received link cost table. The route cost calculation device transmits the calculation result to the corresponding communication device, and each communication device stores the route cost for each received destination device in the route cost table.

このように、実施形態に従ったルートコスト計算装置によれば、選択した通信リンクでのパケットの送信に失敗した場合には別の通信リンクを再選択してパケットを送信するメッシュネットワークにおいて適切な送信先装置を選択するためのルートコストを計算できる。 Thus, according to the route cost calculator according to the embodiment, if the transmission of the packet on the selected communication link fails, another communication link is reselected and the packet is transmitted, which is appropriate for the mesh network. The route cost for selecting the destination device can be calculated.

<送信先装置の選択方法>
前述したように、各通信装置(集約器4及びノード装置5)は、宛先装置へパケットを送信する場合に、隣接装置毎のルートコストの中で宛先装置に対するルートコストが小さい順に隣接装置を送信先装置に選択する。例えば、各通信装置は、図7に示すような通信手順に従って送信先装置を選択してもよい。図7は、実施形態に従った通信装置の通信手順の一例を説明する図である。
<How to select the destination device>
As described above, when transmitting a packet to the destination device, each communication device (aggregator 4 and node device 5) transmits the adjacent device in ascending order of the route cost to the destination device among the route costs of each adjacent device. Select as the destination device. For example, each communication device may select a destination device according to a communication procedure as shown in FIG. 7. FIG. 7 is a diagram illustrating an example of a communication procedure of a communication device according to an embodiment.

例えば、集約器4宛のデータが発生したノード装置5-3は、隣接するノード装置5-1及びノード装置5-2へパケットの送信要求を同報送信する。送信要求を受信したノード装置5-1及びノード装置5-2は、データ要求をノード装置5-3へ返す。ノード装置5-3は、データ要求を受信したノード装置5-1及びノード装置5-2の内、集約器4に対するルートコストが小さいノード装置5-1を送信先装置に選択し、データを含むパケットをノード装置5-1へ送信する。なお、送信先装置を選択する際に、ノード装置5-3は、ルートコストテーブルに記憶しているノード装置5-1及びノード装置5-2のルートコストを使用してもよい。或いは、ノード装置5-3は、データ要求に付加してノード装置5-1及びノード5-2から通知されたルートコストを使用してもよい。 For example, the node device 5-3 in which the data addressed to the aggregate 4 is generated broadcasts a packet transmission request to the adjacent node device 5-1 and the node device 5-2. Upon receiving the transmission request, the node device 5-1 and the node device 5-2 return the data request to the node device 5-3. The node device 5-3 selects the node device 5-1 having the smaller root cost for the aggregate 4 from the node device 5-1 and the node device 5-2 that received the data request as the destination device, and includes the data. The packet is sent to the node device 5-1. When selecting the destination device, the node device 5-3 may use the root cost of the node device 5-1 and the node device 5-2 stored in the root cost table. Alternatively, the node device 5-3 may use the route cost notified from the node device 5-1 and the node 5-2 in addition to the data request.

ノード装置5-2は、データパケットをノード装置5-3から受信すると、受信応答をノード装置5-3へ返す。そして、ノード装置5-2は、同様の方法でデータパケットを集約器4へ送信する。 When the node device 5-2 receives the data packet from the node device 5-3, the node device 5-2 returns a reception response to the node device 5-3. Then, the node device 5-2 transmits the data packet to the aggregate 4 in the same manner.

このように、実施形態に従った通信装置によれば、隣接装置のルートコストを参照することで、宛先装置までの通信ルートが複数存在し得る隣接装置の中から、宛先装置へのパケットの送信に成功する可能性が高い適切な送信先装置を選択することができる。 As described above, according to the communication device according to the embodiment, by referring to the route cost of the neighboring device, a packet is transmitted to the destination device from the neighboring devices in which a plurality of communication routes to the destination device may exist. You can select the appropriate destination device that is likely to succeed.

<各装置の構成例>
<<ノード装置>>
ノード装置5は、実施形態に従った通信装置の一例である。図8は、実施形態に従ったノード装置の構成例を示す図である。図8に示す構成例では、ノード装置5は、センサノードであり、計測部51及び無線通信部52を含む。
<Configuration example of each device>
<< Node device >>
The node device 5 is an example of a communication device according to an embodiment. FIG. 8 is a diagram showing a configuration example of a node device according to an embodiment. In the configuration example shown in FIG. 8, the node device 5 is a sensor node and includes a measurement unit 51 and a wireless communication unit 52.

計測部51は、例えば、温度センサ、湿度センサ、照度センサ、雨量センサ、音量センサ、及び/又は圧力センサ等の各種センサである。計測部51は、該計測部51が設置された位置において対象物を所定周期又は任意のタイミングで計測し、計測データを無線通信部52へ出力する。 The measuring unit 51 is, for example, various sensors such as a temperature sensor, a humidity sensor, an illuminance sensor, a rain amount sensor, a volume sensor, and / or a pressure sensor. The measurement unit 51 measures the object at a predetermined cycle or at an arbitrary timing at the position where the measurement unit 51 is installed, and outputs the measurement data to the wireless communication unit 52.

無線通信部52は、計測部51による計測データ等のデータを集約器4と送受信する。無線通信部52は、記憶部521、制御部522、送信部523、及び受信部524を含む。 The wireless communication unit 52 transmits / receives data such as measurement data from the measurement unit 51 to / from the aggregate 4. The wireless communication unit 52 includes a storage unit 521, a control unit 522, a transmission unit 523, and a reception unit 524.

記憶部521は、例えば、RAM(Random Access Memory)やROM(Read Only Memory)等により構成される。記憶部521は、当該ノード装置5の識別子や集約器4の識別子等を記憶する。また、記憶部521は、ノード装置5と隣接装置とを繋ぐ通信リンク毎のリンクコストが格納されたリンクコストテーブル(図3参照)を記憶する。さらに、記憶部521は、ノード装置5が宛先装置に選択可能な宛先候補装置毎のルートコストが格納されたルートコストテーブル(図6参照)を記憶する。なお、実施形態によっては、記憶部521は、前述したような受信電力対パケットロス率テーブルや受信電力対ビットエラーレートテーブルを更に記憶し得る。 The storage unit 521 is composed of, for example, a RAM (Random Access Memory), a ROM (Read Only Memory), or the like. The storage unit 521 stores the identifier of the node device 5, the identifier of the aggregate 4, and the like. Further, the storage unit 521 stores a link cost table (see FIG. 3) in which the link cost for each communication link connecting the node device 5 and the adjacent device is stored. Further, the storage unit 521 stores a route cost table (see FIG. 6) in which the route cost for each destination candidate device that can be selected by the node device 5 as the destination device is stored. Depending on the embodiment, the storage unit 521 may further store the received power vs. packet loss rate table and the received power vs. bit error rate table as described above.

制御部522は、例えば、CPU(Central Processing Unit)、マルチコアCPU、又はプログラマブルなデバイス(FPGA(Field Programmable Gate Array)やPLD(Programmable Logic Device)等)等により構成される。制御部522は、リンクコスト計算部5221、ルートコスト計算部5222、及び送信先装置選択部5223を備える。制御部522は、例えば、以下に説明するような処理を実行する。 The control unit 522 is composed of, for example, a CPU (Central Processing Unit), a multi-core CPU, or a programmable device (FPGA (Field Programmable Gate Array), PLD (Programmable Logic Device), or the like). The control unit 522 includes a link cost calculation unit 5221, a route cost calculation unit 5222, and a destination device selection unit 5223. The control unit 522 executes, for example, a process as described below.

リンクコスト計算部5221は、図3等を参照しながら前述したような計算方法を用いてリンクコストを計算する。具体的には、例えば、リンクコスト計算部5221は、隣接装置がノード装置5へ送信した送信パケット数と、ノード装置5が隣接装置から受信した受信パケット数とを用いて通信リンク毎のリンクコストを計算してもよい。また、例えば、リンクコスト計算部5221は、隣接装置から受信したパケットの受信電力を測定し、測定した受信電力に対応するパケットロス率を通信リンク毎のリンクコストとして取得してもよい。さらに、例えば、リンクコスト計算部5221は、隣接装置から受信したパケットの受信電力を測定し、測定した受信電力に対応するビットエラーレートと、パケットサイズと、パケットの送信リトライ回数とを用いて通信リンク毎のリンクコストを計算してもよい。 The link cost calculation unit 5221 calculates the link cost by using the calculation method as described above with reference to FIG. 3 and the like. Specifically, for example, the link cost calculation unit 5221 uses the number of transmission packets transmitted by the neighboring device to the node device 5 and the number of received packets received by the node device 5 from the neighboring device to link the link cost for each communication link. May be calculated. Further, for example, the link cost calculation unit 5221 may measure the received power of the packet received from the adjacent device and acquire the packet loss rate corresponding to the measured received power as the link cost for each communication link. Further, for example, the link cost calculation unit 5221 measures the received power of the packet received from the adjacent device, and communicates using the bit error rate corresponding to the measured received power, the packet size, and the number of packet transmission retries. You may calculate the link cost for each link.

ルートコスト計算部5222は、図4~図6等を参照しながら前述したような計算方法を用いてルートコストを計算する。具体的には、例えば、ルートコスト計算部5222は、隣接装置毎のルートコストと通信リンク毎のリンクコストとを用いて、宛先装置に対するノード装置5のルートコストを計算する。前述したように、ルートコストとは、ノード装置5が直接通信可能な隣接装置とパケットの宛先装置との間で選択可能な全ての通信ルートを用いても隣接装置から宛先装置にパケットが到達しないパケットロス率を指す。また、リンクコストとは、ノード装置5と隣接装置との間の通信リンクにおいてノード装置5から隣接装置にパケットが到達しないパケットロス率を指す。例えば、図6を参照しながら前述したように、ルートコスト計算部5222は、隣接装置から取得したルートコストテーブルと、記憶部521が記憶するリンクコストテーブルとを用いて宛先候補装置毎のルートコストを計算してもよい。 The route cost calculation unit 5222 calculates the route cost by using the calculation method as described above with reference to FIGS. 4 to 6 and the like. Specifically, for example, the route cost calculation unit 5222 calculates the route cost of the node device 5 with respect to the destination device by using the route cost for each adjacent device and the link cost for each communication link. As described above, the route cost means that the packet does not reach the destination device from the neighboring device even if all the communication routes that can be selected between the neighboring device and the destination device of the packet that the node device 5 can directly communicate with are used. Refers to the packet loss rate. Further, the link cost refers to the packet loss rate at which packets do not reach the adjacent device from the node device 5 in the communication link between the node device 5 and the adjacent device. For example, as described above with reference to FIG. 6, the route cost calculation unit 5222 uses the route cost table acquired from the adjacent device and the link cost table stored in the storage unit 521 to use the route cost for each destination candidate device. May be calculated.

送信先装置選択部5223は、図7等を参照しながら前述したように、隣接装置毎のルートコストの中で宛先装置に対するルートコストが小さい順に隣接装置を送信先装置に選択する。 As described above with reference to FIG. 7 and the like, the destination device selection unit 5223 selects the adjacent device as the destination device in ascending order of the route cost for the destination device among the route costs for each adjacent device.

制御部522は、計測部51による計測データを含むパケットを生成する。生成するパケットのヘッダは、当該ノード装置5の識別子と、パケットの宛先装置(例えば、集約器4)の識別子とを含む。送信部523は、生成されたパケットを、図7に示したような通信手順に従って送信先装置へ送信する。送信部523は、例えば、無線送信機等により構成される。 The control unit 522 generates a packet containing the measurement data by the measurement unit 51. The header of the generated packet includes the identifier of the node device 5 and the identifier of the destination device (for example, the aggregate 4) of the packet. The transmission unit 523 transmits the generated packet to the destination device according to the communication procedure as shown in FIG. 7. The transmitter 523 is configured by, for example, a wireless transmitter or the like.

また、制御部522は、受信部524が受信したパケットの宛先を判別する。受信部524は、例えば、無線受信機等により構成される。受信したパケットの宛先が当該ノード装置5である場合、制御部522は、受信したパケットのデータに従った処理を実行する。パケットの宛先が他の通信装置である場合、送信部523は、受信したパケットを、図7に示したような通信手順に従って送信先装置へ送信する。 Further, the control unit 522 determines the destination of the packet received by the reception unit 524. The receiving unit 524 is configured by, for example, a wireless receiver or the like. When the destination of the received packet is the node device 5, the control unit 522 executes the process according to the data of the received packet. When the destination of the packet is another communication device, the transmission unit 523 transmits the received packet to the destination device according to the communication procedure as shown in FIG. 7.

このように、実施形態に従った通信装置によれば、選択した通信リンクでのパケットの送信に失敗した場合には別の通信リンクを再選択してパケットを送信するメッシュネットワークにおいて適切な送信先装置を選択するためのルートコストを計算できる。 As described above, according to the communication device according to the embodiment, if the transmission of the packet on the selected communication link fails, another communication link is reselected and the appropriate destination in the mesh network for transmitting the packet. You can calculate the route cost to select the device.

また、実施形態に従った通信装置によれば、隣接装置のルートコストを参照することで、宛先装置までの通信ルートが複数存在し得る隣接装置の中から、宛先装置へのパケットの送信に成功する可能性が高い適切な送信先装置を選択することができる。 Further, according to the communication device according to the embodiment, by referring to the route cost of the adjacent device, the packet can be successfully transmitted to the destination device from the adjacent devices in which a plurality of communication routes to the destination device can exist. You can select the appropriate destination device that is likely to be.

<集約器>
集約器4は、実施形態に従った通信装置の一例である。また、集約器4は、実施形態によってはルートコスト計算装置の一例であってもよい。図9は、実施形態に従った集約器の構成例を示す図である。図9に示す構成例では、集約器4は、無線通信部41及び情報処理部42を含む。
<Aggregator>
The aggregate 4 is an example of a communication device according to an embodiment. Further, the aggregate 4 may be an example of a route cost calculation device depending on the embodiment. FIG. 9 is a diagram showing a configuration example of an aggregate according to an embodiment. In the configuration example shown in FIG. 9, the aggregate 4 includes a wireless communication unit 41 and an information processing unit 42.

無線通信部41は、無線通信を用いてノード装置5との間でデータを送受信する。無線通信部41は、記憶部411、制御部412、送信部413、及び受信部414を含む。 The wireless communication unit 41 transmits / receives data to / from the node device 5 using wireless communication. The wireless communication unit 41 includes a storage unit 411, a control unit 412, a transmission unit 413, and a reception unit 414.

記憶部411は、例えば、RAMやROM等により構成される。記憶部411は、集約器4の識別子等を記憶する。また、記憶部411は、集約器4と隣接装置とを繋ぐ通信リンク毎のリンクコストが格納されたリンクコストテーブル(図3参照)を記憶する。さらに、記憶部411は、集約器4が宛先装置に選択可能な宛先候補装置毎のルートコストが格納されたルートコストテーブル(図6参照)を記憶する。なお、実施形態によっては、記憶部411は、前述したような受信電力対パケットロス率テーブルや受信電力対ビットエラーレートテーブルを更に記憶し得る。 The storage unit 411 is composed of, for example, a RAM, a ROM, or the like. The storage unit 411 stores the identifier of the aggregate 4 and the like. Further, the storage unit 411 stores a link cost table (see FIG. 3) in which the link cost for each communication link connecting the aggregate 4 and the adjacent device is stored. Further, the storage unit 411 stores a route cost table (see FIG. 6) in which the route cost for each destination candidate device that can be selected by the aggregate 4 as the destination device is stored. Depending on the embodiment, the storage unit 411 may further store the received power vs. packet loss rate table and the received power vs. bit error rate table as described above.

制御部412は、例えば、CPU、マルチコアCPU、又はプログラマブルなデバイス(FPGAやPLD等)等により構成される。制御部412は、リンクコスト計算部4121、ルートコスト計算部4122、及び送信先装置選択部4123を備える。 The control unit 412 is composed of, for example, a CPU, a multi-core CPU, a programmable device (FPGA, PLD, etc.) or the like. The control unit 412 includes a link cost calculation unit 4121, a route cost calculation unit 4122, and a destination device selection unit 4123.

リンクコスト計算部4121は、前述したリンクコスト計算部5221と同様の処理を行い得る。ルートコスト計算部4122は、前述したルートコスト計算部5222と同様の処理を行い得る。送信先装置選択部4123は、前述した送信先装置選択部5223と同様の処理を行い得る。 The link cost calculation unit 4121 can perform the same processing as the link cost calculation unit 5221 described above. The route cost calculation unit 4122 can perform the same processing as the route cost calculation unit 5222 described above. The destination device selection unit 4123 can perform the same processing as the above-mentioned destination device selection unit 5223.

制御部411は、ノード装置5へ送信するパケットを生成し、生成したパケットを、送信部412を介して送信先装置へ送信する。送信部412は、例えば、無線送信機等により構成される。また、制御部411は、ノード装置5から送信されたパケットを、受信部413を介して受信し、受信したパケットを処理する。受信部413は、例えば、無線受信機等により構成される。例えば、受信したパケットのデータがノード装置5による計測データある場合、制御部411は、受信したパケットのデータを情報処理部42へ出力する。 The control unit 411 generates a packet to be transmitted to the node device 5, and transmits the generated packet to the destination device via the transmission unit 412. The transmitter 412 is composed of, for example, a wireless transmitter or the like. Further, the control unit 411 receives the packet transmitted from the node device 5 via the reception unit 413, and processes the received packet. The receiving unit 413 is composed of, for example, a wireless receiver or the like. For example, when the data of the received packet is the measurement data by the node device 5, the control unit 411 outputs the data of the received packet to the information processing unit 42.

情報処理部42は、例えば、広域ネットワーク6を介して監視装置2とデータを送受信する。情報処理部42は、例えば、ボードコンピュータ等により構成される。情報処理部42は、処理部421、記憶部422、及び通信部423を含む。 The information processing unit 42 transmits / receives data to / from the monitoring device 2 via, for example, the wide area network 6. The information processing unit 42 is composed of, for example, a board computer or the like. The information processing unit 42 includes a processing unit 421, a storage unit 422, and a communication unit 423.

処理部421は、例えば、CPU、マルチコアCPU、又はプログラマブルなデバイス(FPGAやPLD等)等により構成される。記憶部422は、例えば、RAMやROM等により構成される。通信部423は、例えば、有線及び/又は無線の通信インタフェース装置等により構成される。 The processing unit 421 is composed of, for example, a CPU, a multi-core CPU, a programmable device (FPGA, PLD, etc.) or the like. The storage unit 422 is composed of, for example, a RAM, a ROM, or the like. The communication unit 423 is composed of, for example, a wired and / or wireless communication interface device or the like.

処理部421は、無線通信部41を介してノード装置5と送受信するデータや、通信部423を介して監視装置2と送受信するデータを処理する。例えば、処理部421は、ノード装置5による計測データを制御部412を介して受信し、受信した計測データを通信部423を介して監視装置2へ送信する。 The processing unit 421 processes data transmitted / received to / from the node device 5 via the wireless communication unit 41 and data transmitted / received to / from the monitoring device 2 via the communication unit 423. For example, the processing unit 421 receives the measurement data from the node device 5 via the control unit 412, and transmits the received measurement data to the monitoring device 2 via the communication unit 423.

また、集約器4が実施形態に従ったルートコスト計算装置として機能する場合、処理部421は、各通信装置が記憶するリンクコストテーブルを無線通信部41を介して集約する。すなわち、処理部421は、各ノード装置5が記憶するリンコストテーブルを各ノード装置5から無線通信部41を介して受信し、記憶部411が記憶するリンコストテーブルを制御部411を介して受信する。処理部421は、集約したリンクコストテーブルが格納するリンクコストを用いて宛先候補装置毎のルートコストを通信装置毎に計算する。宛先候補装置毎のルートコストとは、通信装置と、通信装置が送信するパケットの宛先候補装置との間での選択可能な全ての通信ルートを用いても通信装置から宛先候補装置へパケットが到達しないパケットロス率を指す。処理部421は、計算したルートコストを対応する通信装置へ無線通信部41を介して送信する。 Further, when the aggregate 4 functions as a route cost calculation device according to the embodiment, the processing unit 421 aggregates the link cost table stored in each communication device via the wireless communication unit 41. That is, the processing unit 421 receives the phosphorus cost table stored in each node device 5 from each node device 5 via the wireless communication unit 41, and receives the phosphorus cost table stored in the storage unit 411 via the control unit 411. do. The processing unit 421 calculates the route cost for each destination candidate device for each communication device using the link cost stored in the aggregated link cost table. The route cost for each destination candidate device is that the packet arrives from the communication device to the destination candidate device even if all selectable communication routes between the communication device and the destination candidate device of the packet transmitted by the communication device are used. Does not refer to the packet loss rate. The processing unit 421 transmits the calculated route cost to the corresponding communication device via the wireless communication unit 41.

このように、実施形態に従ったルートコスト計算装置によれば、選択した通信リンクでのパケットの送信に失敗した場合には別の通信リンクを再選択してパケットを送信するメッシュネットワークにおいて適切な送信先装置を選択するためのルートコストを計算できる。 Thus, according to the route cost calculator according to the embodiment, if the transmission of the packet on the selected communication link fails, another communication link is reselected and the packet is transmitted, which is appropriate for the mesh network. The route cost for selecting the destination device can be calculated.

<監視装置>
監視装置2は、実施形態に従ったルートコスト計算装置の一例である。監視装置2は、例えば、コンピュータである。図10は、実施形態に従った監視装置の構成例を示す図である。図10に示す構成例では、監視装置2は、記憶部21、処理部22、入力部23、出力部24、通信部25、及び記憶媒体読み書き部26を含む。
<Monitoring device>
The monitoring device 2 is an example of a route cost calculation device according to an embodiment. The monitoring device 2 is, for example, a computer. FIG. 10 is a diagram showing a configuration example of a monitoring device according to an embodiment. In the configuration example shown in FIG. 10, the monitoring device 2 includes a storage unit 21, a processing unit 22, an input unit 23, an output unit 24, a communication unit 25, and a storage medium reading / writing unit 26.

記憶部21は、例えば、RAMやROM等により構成される。処理部22は、例えば、CPU、マルチコアCPU、又はプログラマブルなデバイス(FPGAやPLD等)等により構成される。入力部23は、例えば、キーボード、マウス、及びタッチパッド等により構成される。出力部24は、例えば、液晶ディスプレイやCRT(Cathode Ray Tube)等により構成される。通信部25は、例えば、有線及び/又は無線の通信インタフェース装置等により構成される。記憶媒体読み書き部26は、例えば、磁気ディスク、光ディスク、光磁気ディスク、又はフラッシュメモリ等の可搬型記憶媒体からデータを読み取り、該可搬型記憶媒体にデータを書き込む装置により構成される。 The storage unit 21 is composed of, for example, a RAM, a ROM, or the like. The processing unit 22 is composed of, for example, a CPU, a multi-core CPU, a programmable device (FPGA, PLD, etc.) or the like. The input unit 23 is composed of, for example, a keyboard, a mouse, a touch pad, and the like. The output unit 24 is composed of, for example, a liquid crystal display, a CRT (Cathode Ray Tube), or the like. The communication unit 25 is composed of, for example, a wired and / or wireless communication interface device or the like. The storage medium reading / writing unit 26 includes a device that reads data from a portable storage medium such as a magnetic disk, an optical disk, a magneto-optical disk, or a flash memory, and writes the data to the portable storage medium.

処理部22は、各ノード装置5の計測データを通信部25を介して受信する。処理部22は、受信した計測データを出力部24に表示させてもよい。 The processing unit 22 receives the measurement data of each node device 5 via the communication unit 25. The processing unit 22 may display the received measurement data on the output unit 24.

また、処理部22は、各通信装置(集約器4及びノード装置5)のリンクコストを計算する。具体的には、例えば、処理部22は、各通信装置が記憶するリンクコストテーブルを通信部25を介して集約する。処理部22は、集約したリンクコストテーブルが格納するリンクコストを用いて宛先候補装置毎のルートコストを通信装置毎に計算する。宛先候補装置毎のルートコストとは、通信装置と、通信装置が送信するパケットの宛先候補装置との間での選択可能な全ての通信ルートを用いても通信装置から宛先候補装置へパケットが到達しないパケットロス率を指す。処理部22は、計算したルートコストを対応する通信装置へ通信部25を介して送信する。 Further, the processing unit 22 calculates the link cost of each communication device (aggregator 4 and node device 5). Specifically, for example, the processing unit 22 aggregates the link cost table stored in each communication device via the communication unit 25. The processing unit 22 calculates the route cost for each destination candidate device for each communication device using the link cost stored in the aggregated link cost table. The route cost for each destination candidate device is that the packet arrives from the communication device to the destination candidate device even if all selectable communication routes between the communication device and the destination candidate device of the packet transmitted by the communication device are used. Does not refer to the packet loss rate. The processing unit 22 transmits the calculated route cost to the corresponding communication device via the communication unit 25.

このように、実施形態に従ったルートコスト計算装置によれば、選択した通信リンクでのパケットの送信に失敗した場合には別の通信リンクを再選択してパケットを送信するメッシュネットワークにおいて適切な送信先装置を選択するためのルートコストを計算できる。 Thus, according to the route cost calculator according to the embodiment, if the transmission of the packet on the selected communication link fails, another communication link is reselected and the packet is transmitted, which is appropriate for the mesh network. The route cost for selecting the destination device can be calculated.

本発明は、以上の実施の形態に限定されるものでなく、本発明の要旨を逸脱しない範囲内で種々の改良、変更が可能である。 The present invention is not limited to the above embodiments, and various improvements and changes can be made without departing from the gist of the present invention.

1 通信システム
2 監視装置
3 無線通信ネットワーク
4 集約器
5、5-1~5-3 ノード装置
6 広域ネットワーク
21 記憶部
22 処理部
23 入力部
24 出力部
25 通信部
26 記憶媒体読み書き部
41 無線通信部
42 情報処理部
51 計測部
52 無線通信部
411 記憶部
412 制御部
413 送信部
414 受信部
421 処理部
422 記憶部
423 通信部
521 記憶部
522 制御部
523 送信部
524 受信部
4121 リンクコスト計算部
4122 ルートコスト計算部
4123 送信先装置選択部
5221 リンクコスト計算部
5222 ルートコスト計算部
5223 送信先装置選択部
A、B 通信装置
L1~L4 通信リンク
1 Communication system 2 Monitoring device 3 Wireless communication network 4 Aggregator 5, 5-1 to 5-3 Node device 6 Wide area network 21 Storage unit 22 Processing unit 23 Input unit 24 Output unit 25 Communication unit 26 Storage medium read / write unit 41 Wireless communication Unit 42 Information processing unit 51 Measurement unit 52 Wireless communication unit 411 Storage unit 412 Control unit 413 Transmission unit 414 Reception unit 421 Processing unit 422 Storage unit 423 Communication unit 521 Storage unit 522 Control unit 523 Transmission unit 524 Reception unit 4121 Link cost calculation unit 4122 Route cost calculation unit 4123 Destination device selection unit 5221 Link cost calculation unit 5222 Route cost calculation unit 5223 Destination device selection unit A, B Communication devices L1 to L4 Communication links

Claims (9)

通信装置が直接通信可能な隣接装置とパケットの宛先装置との間で選択可能な全ての通信ルートを用いても前記隣接装置から宛先装置に前記パケットが到達しないパケットロス率である前記隣接装置毎のルートコストと、前記通信装置の識別子が対応付けられ前記パケットを送信する前記通信装置と前記隣接装置との間の通信リンクにおいて前記通信装置から前記隣接装置に前記パケットが到達しないパケットロス率である前記通信リンク毎のリンクコストとを用いて、前記宛先装置に対する前記通信装置の前記ルートコストを計算するルートコスト計算部を備える通信装置。 For each of the adjacent devices, which is the packet loss rate at which the packet does not reach the destination device from the adjacent device even if all the communication routes that can be selected between the adjacent device that the communication device can directly communicate with and the destination device of the packet are used. At the packet loss rate at which the packet does not reach the adjacent device from the communication device at the communication link between the communication device and the adjacent device that transmits the packet by associating the root cost of the communication device with the identifier of the communication device. A communication device including a route cost calculation unit that calculates the route cost of the communication device with respect to the destination device by using the link cost for each communication link. 前記隣接装置毎の前記ルートコストの中で前記宛先装置に対する前記ルートコストが小さい順に前記隣接装置を、前記通信装置が前記パケットを直接送信する送信先装置に選択する送信先装置選択部を更に備える、請求項1に記載の通信装置。 Further, a destination device selection unit for selecting the adjacent device as the destination device to which the communication device directly transmits the packet is provided in ascending order of the route cost to the destination device among the route costs for each adjacent device. , The communication device according to claim 1. 前記隣接装置が前記通信装置へ送信した送信パケット数と、前記通信装置が前記隣接装置から受信した受信パケット数とを用いて前記通信リンク毎の前記リンクコストを計算するリンクコスト計算部を更に備える、請求項1又は2に記載の通信装置。 Further provided is a link cost calculation unit that calculates the link cost for each communication link using the number of transmitted packets transmitted by the adjacent device to the communication device and the number of received packets received by the communication device from the adjacent device. , The communication device according to claim 1 or 2. 前記通信装置が前記隣接装置から受信したパケットの受信電力に対応するパケットロス率を前記通信リンク毎の前記リンクコストとして取得するリンクコスト計算部を更に備える、請求項1又は2に記載の通信装置。 The communication device according to claim 1 or 2, further comprising a link cost calculation unit in which the communication device acquires a packet loss rate corresponding to the received power of a packet received from the adjacent device as the link cost for each communication link. .. 前記通信装置が前記隣接装置から受信したパケットの受信電力に対応するビットエラーレートと、パケットサイズと、パケットの送信リトライ回数とを用いて前記通信リンク毎の前記リンクコストを計算するリンクコスト計算部を更に備える、請求項1又は2に記載の通信装置。 A link cost calculation unit that calculates the link cost for each communication link using the bit error rate corresponding to the received power of the packet received by the communication device from the adjacent device, the packet size, and the number of packet transmission retries. The communication device according to claim 1 or 2, further comprising. 前記通信リンク毎の前記リンクコストが格納されたリンクコストテーブルと、前記通信装置が前記宛先装置に選択可能な宛先候補装置毎の前記ルートコストが格納されたルートコストテーブルとを記憶する記憶部を更に備え、
前記ルートコスト計算部は、前記隣接装置から取得したルートコストテーブルと、前記記憶部が記憶する前記リンクコストテーブルとを用いて前記宛先候補装置毎の前記ルートコストを計算する、
請求項1~5の何れか一項に記載の通信装置。
A storage unit that stores a link cost table in which the link cost for each communication link is stored and a route cost table in which the route cost for each destination candidate device that the communication device can select for the destination device is stored. Further preparation
The route cost calculation unit calculates the route cost for each destination candidate device using the route cost table acquired from the adjacent device and the link cost table stored in the storage unit.
The communication device according to any one of claims 1 to 5.
識別子が対応付けられパケットを送信する通信装置と前記通信装置と直接通信可能な隣接装置との間の通信リンクにおいて前記通信装置から前記隣接装置に前記パケットが到達しないパケットロス率である前記通信リンク毎のリンクコストを格納するリンクコストテーブルを記憶する通信装置と、
前記複数の通信装置から集約した前記リンクコストテーブルが格納する前記リンクコストを用いて、前記通信装置と、前記通信装置が送信するパケットの宛先候補装置との間での選択可能な全ての通信ルートを用いても前記通信装置から前記宛先候補装置へ前記パケットが到達しないパケットロス率である前記宛先候補装置毎のルートコストを前記通信装置毎に計算するルートコスト計算装置と
を備える通信システム。
The communication link, which is the packet loss rate at which the packet does not reach the adjacent device from the communication device in the communication link between the communication device to which the identifier is associated and transmits the packet and the adjacent device capable of directly communicating with the communication device. A communication device that stores a link cost table that stores each link cost,
All selectable communication routes between the communication device and the destination candidate device for packets transmitted by the communication device using the link cost stored in the link cost table aggregated from the plurality of communication devices. A communication system including a route cost calculation device for calculating a route cost for each destination candidate device, which is a packet loss rate at which the packet does not reach the destination candidate device even if the communication device is used.
前記通信装置は、前記通信装置と直接通信可能な隣接装置毎の前記ルートコストと、前記通信装置と前記隣接装置との間の通信リンク毎の前記リンクコストとを用いて前記通信装置の前記ルートコストを計算する、
請求項7に記載の通信システム。
The communication device uses the root cost of each adjacent device capable of directly communicating with the communication device and the link cost of each communication link between the communication device and the adjacent device to provide the route of the communication device. Calculate the cost,
The communication system according to claim 7.
識別子が対応付けられパケットを送信する通信装置が直接通信可能な隣接装置と前記パケットの宛先装置との間で選択可能な全ての通信ルートを用いても前記隣接装置から宛先装置に前記パケットが到達しないパケットロス率である前記隣接装置毎のルートコストと、前記通信装置と前記隣接装置との間の通信リンクにおいて前記通信装置から前記隣接装置に前記パケットが到達しないパケットロス率である前記通信リンク毎のリンクコストとを用いて、前記宛先装置に対する前記通信装置の前記ルートコストを計算する
ことをコンピュータが実行するルートコスト計算方法。
The packet arrives at the destination device from the neighboring device even if all communication routes that can be selected between the neighboring device that is associated with the identifier and the communication device that transmits the packet can directly communicate with the destination device of the packet are used. The root cost for each adjacent device, which is the packet loss rate that does not occur, and the communication link, which is the packet loss rate at which the packet does not reach the adjacent device from the communication device in the communication link between the communication device and the adjacent device. A route cost calculation method in which a computer executes to calculate the root cost of the communication device with respect to the destination device by using the link cost for each.
JP2017188529A 2017-09-28 2017-09-28 Communication equipment, communication system, and route cost calculation method Active JP7031200B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017188529A JP7031200B2 (en) 2017-09-28 2017-09-28 Communication equipment, communication system, and route cost calculation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017188529A JP7031200B2 (en) 2017-09-28 2017-09-28 Communication equipment, communication system, and route cost calculation method

Publications (2)

Publication Number Publication Date
JP2019068126A JP2019068126A (en) 2019-04-25
JP7031200B2 true JP7031200B2 (en) 2022-03-08

Family

ID=66339964

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017188529A Active JP7031200B2 (en) 2017-09-28 2017-09-28 Communication equipment, communication system, and route cost calculation method

Country Status (1)

Country Link
JP (1) JP7031200B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013093781A (en) 2011-10-27 2013-05-16 Fujitsu Ltd Communication network system, node device, and route selection method for communication network system
JP2014014018A (en) 2012-07-04 2014-01-23 Yazaki Corp Communication system and node

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013093781A (en) 2011-10-27 2013-05-16 Fujitsu Ltd Communication network system, node device, and route selection method for communication network system
JP2014014018A (en) 2012-07-04 2014-01-23 Yazaki Corp Communication system and node

Also Published As

Publication number Publication date
JP2019068126A (en) 2019-04-25

Similar Documents

Publication Publication Date Title
US10003532B2 (en) Communication method and communication apparatus
KR101150011B1 (en) System and method for link quality routing using a weighted cumulative expected transmission time metric
US9088492B2 (en) Method for devices in a network to participate in an end-to-end measurement of latency
US8355341B2 (en) Delay time measurement apparatus, storage medium storing delay time measurement program and network system
US9647925B2 (en) System and method for data path validation and verification
CN108390820A (en) Method, equipment and the system of load balancing
US9602390B2 (en) Apparatus and method for determining optimum routing in a communication network
JP5435147B2 (en) Communication apparatus and method
WO2011024245A1 (en) System for collecting node related information, node device、and frame processing method
CN101635654B (en) Method, device and system for measuring network traffic
CN102739513A (en) Information processing apparatus, parallel computer system, and control method of parallel computer system
JP5533168B2 (en) Node and wireless communication system
US11025529B2 (en) Radio communication system and radio communication method
CN110248379A (en) The performance test methods and device of base station in WLAN
JP7031200B2 (en) Communication equipment, communication system, and route cost calculation method
JP5036575B2 (en) Wireless communication system for changing logic circuit of variable logic circuit unit
JP2017175425A (en) Radio system, communication route set method and radio terminal device
JP6965290B2 (en) Wireless communication equipment, wireless communication methods, and wireless communication systems
JP6459558B2 (en) Wireless communication apparatus, wireless communication method, and wireless communication program
JP6206105B2 (en) Communication system, communication method, and communication program
JP2017139635A (en) Route selection device and route selection method
WO2014080564A1 (en) Network system
JPWO2019069353A1 (en) Communication device and communication network
KR101225550B1 (en) Data relay system for serial communication type
WO2017169928A1 (en) Monitoring system, monitoring method, and recording medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200813

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20210531

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210608

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210804

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20210804

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220207

R150 Certificate of patent or registration of utility model

Ref document number: 7031200

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150