JP2016220102A - Communication device and packet relay method - Google Patents
Communication device and packet relay method Download PDFInfo
- Publication number
- JP2016220102A JP2016220102A JP2015104664A JP2015104664A JP2016220102A JP 2016220102 A JP2016220102 A JP 2016220102A JP 2015104664 A JP2015104664 A JP 2015104664A JP 2015104664 A JP2015104664 A JP 2015104664A JP 2016220102 A JP2016220102 A JP 2016220102A
- Authority
- JP
- Japan
- Prior art keywords
- entry
- route
- communication
- packet
- entries
- 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.)
- Pending
Links
- 238000004891 communication Methods 0.000 title claims abstract description 281
- 238000000034 method Methods 0.000 title claims description 72
- 238000003860 storage Methods 0.000 claims abstract description 51
- 230000008569 process Effects 0.000 claims description 61
- 230000005540 biological transmission Effects 0.000 abstract description 19
- 238000012546 transfer Methods 0.000 abstract description 14
- 238000012545 processing Methods 0.000 description 48
- 230000015654 memory Effects 0.000 description 40
- 238000009826 distribution Methods 0.000 description 12
- 238000004519 manufacturing process Methods 0.000 description 12
- 238000010586 diagram Methods 0.000 description 8
- 230000006870 function Effects 0.000 description 6
- 238000011144 upstream manufacturing Methods 0.000 description 6
- 230000004048 modification Effects 0.000 description 5
- 238000012986 modification Methods 0.000 description 5
- 230000008859 change Effects 0.000 description 4
- 238000012544 monitoring process Methods 0.000 description 4
- 235000008694 Humulus lupulus Nutrition 0.000 description 3
- 239000002243 precursor Substances 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 238000006424 Flood reaction Methods 0.000 description 1
- 101000661816 Homo sapiens Suppression of tumorigenicity 18 protein Proteins 0.000 description 1
- 101000661807 Homo sapiens Suppressor of tumorigenicity 14 protein Proteins 0.000 description 1
- WHXSMMKQMYFTQS-UHFFFAOYSA-N Lithium Chemical compound [Li] WHXSMMKQMYFTQS-UHFFFAOYSA-N 0.000 description 1
- 230000002457 bidirectional effect Effects 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000008034 disappearance Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 108090000237 interleukin-24 Proteins 0.000 description 1
- 229910052744 lithium Inorganic materials 0.000 description 1
- 229910052751 metal Inorganic materials 0.000 description 1
- 239000002184 metal Substances 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 238000004904 shortening Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000004083 survival effect Effects 0.000 description 1
- 230000003936 working memory Effects 0.000 description 1
Images
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
Description
本発明は、通信装置及びパケットの中継方法に関する。
具体的には、本発明は、通信ネットワーク内の経路制御を自律的に行う通信ノードに用いる通信装置において、パケット転送のレイテンシを低減する技術に関する。
The present invention relates to a communication device and a packet relay method.
Specifically, the present invention relates to a technique for reducing packet transfer latency in a communication device used for a communication node that autonomously performs path control in a communication network.
各通信ノードが自律的に経路探索を行う通信ネットワークとして、ディスタンスベクタ型のルーティングプロトコルの通信ネットワークがある。ディスタンスベクタ型のルーティングプロトコルはディスタンス(距離)とベクタ(方向)により適したルートを決定するアルゴリズムである。
例えば、AODV(Adhoc ON-Demand Distance Vector)は、ディスタンスベクタ型のルーティングプロトコルの代表例である。
As a communication network in which each communication node autonomously searches for a route, there is a communication network of a distance vector type routing protocol. The distance vector type routing protocol is an algorithm for determining a suitable route based on distance (distance) and vector (direction).
For example, AODV (Adhoc ON-Demand Distance Vector) is a typical example of a distance vector type routing protocol.
AODVでは、各通信ノードが宛先ノードごとの経路エントリを保持しており、経路要求(RREQ)と経路応答(RREP)の受信を契機として、各通信ノードが自身の経路エントリに記す情報を決定することにより、所定の通信ノード間の経路が確立される。
また、各通信ノードが保持する宛先ノードごとの経路エントリには、当該経路エントリが使用されるごとに所定の設定値(推奨は3秒)に更新される、有効期間(Lifetime)が含まれている(非特許文献1参照)。
In AODV, each communication node holds a route entry for each destination node, and each communication node determines information to be written in its own route entry when receiving a route request (RREQ) and a route response (RREP). As a result, a path between predetermined communication nodes is established.
The route entry for each destination node held by each communication node includes a lifetime (Lifetime) that is updated to a predetermined setting value (recommended is 3 seconds) each time the route entry is used. (See Non-Patent Document 1).
AODVを実装する従来の通信装置では、他局宛のパケットを受信すると、パケットの送信に先だって経路エントリの有効期間の更新が先に行われ、この更新が完了してからパケットの送信が行われる。
その理由は、経路エントリの有効期間内にパケットが中継されなければ当該経路エントリが無効になり、新たな経路探索が必要となるので、経路エントリの有効期間の確保を優先させたからと考えられる。
In a conventional communication apparatus that implements AODV, when a packet addressed to another station is received, the valid period of the route entry is updated before the packet is transmitted, and the packet is transmitted after the update is completed. .
The reason is considered that if a packet is not relayed within the effective period of the route entry, the route entry becomes invalid and a new route search is required, so priority is given to securing the effective period of the route entry.
しかし、パケットの受信と送信の間に有効期間の更新を含む中継処理では、有効期間の更新を含む分だけパケット転送のレイテンシが増加する。
特に従来の通信装置では、パケットの宛先に対応する順経路とその次ホップ、及び、パケットの送信元に対応する逆経路とその次ホップの4つの経路エントリを、参照テーブルからそれぞれ探索し、ヒットした経路エントリの有効期間を更新するので、経路エントリの探索のための処理負荷が大きい。
However, in the relay process including the update of the effective period between the reception and transmission of the packet, the packet transfer latency increases by the amount including the update of the effective period.
In particular, in the conventional communication device, the forward route corresponding to the packet destination and the next hop thereof, and the four route entries of the reverse route corresponding to the packet source and the next hop thereof are searched from the reference table, respectively. Since the effective period of the route entry is updated, the processing load for searching for the route entry is large.
その結果、有効期間の更新に必要な処理時間も長くなるので、データ通信のスループットが低下することになり、ネットワーク全体の通信速度を悪化させるという問題がある。この問題は、通信ネットワークに含まれる通信ノードの数が多くなるほど顕著になる。 As a result, the processing time required for updating the valid period also becomes long, so that the throughput of data communication is lowered, and there is a problem that the communication speed of the entire network is deteriorated. This problem becomes more prominent as the number of communication nodes included in the communication network increases.
本発明は、かかる従来の問題点に鑑み、パケット転送のレイテンシを低減することにより、通信ネットワークのスループットを向上することができる通信装置等を提供することを目的とする。 SUMMARY OF THE INVENTION The present invention has been made in view of the above-described problems, and an object of the present invention is to provide a communication apparatus and the like that can improve the throughput of a communication network by reducing packet transfer latency.
(1) 本発明の一態様に係る通信装置は、通信ネットワーク内の経路制御を自律的に行う通信ノードが直列に並ぶ通信経路の途中に位置する、前記通信ノードに用いる通信装置であって、有効期間が設定された宛先ノードごとの複数の経路エントリを含む参照テーブルを記憶する記憶部と、他局宛のパケットを隣接ノードに中継する場合に、前記パケットの宛先及び送信元に対応する下記に定義する第1〜第4エントリの前記有効期間をそれぞれ更新する制御部と、を備えており、前記記憶部は、前記参照テーブルに対する探索が不要となるように、前記第2及び第4エントリを個別に記憶しており、前記制御部は、前記第2及び第4エントリについては、前記参照テーブルに対する探索を行わずに、当該第2及び第4エントリの前記有効期間を更新する。 (1) A communication apparatus according to an aspect of the present invention is a communication apparatus used for the communication node, which is located in the middle of a communication path in which communication nodes that autonomously perform path control in a communication network are arranged in series, A storage unit that stores a reference table including a plurality of route entries for each destination node for which a valid period is set, and when relaying a packet addressed to another station to an adjacent node, the following corresponding to the destination and source of the packet: A control unit that updates the validity period of each of the first to fourth entries defined in the first and fourth entries, and the storage unit includes the second and fourth entries so that a search for the reference table is not required. And the control unit does not search the reference table for the second and fourth entries, and the valid of the second and fourth entries. To update between.
第1エントリ:パケットの宛先に対応する順経路の経路エントリ
第2エントリ:パケットの宛先に対応する順経路の次ホップの経路エントリ
第3エントリ:パケットの送信元に対応する逆経路の経路エントリ
第4エントリ:パケットの送信元に対応する逆経路の次ホップの経路エントリ
First entry: Route entry of the forward route corresponding to the destination of the packet Second entry: Route entry of the next hop of the forward route corresponding to the destination of the packet Third entry: Route entry of the reverse route corresponding to the source of the packet 4 entries: Route entry of the next hop of the reverse route corresponding to the packet source
(3) 本発明の一態様に係る中継方法は、通信ネットワーク内の経路制御を自律的に行う通信ノードが直列に並ぶ通信経路の途中に位置する、前記通信ノードに用いる通信装置が行うパケットの中継方法であって、有効期間が設定された宛先ノードごとの複数の経路エントリを含む参照テーブルを記憶する第1ステップと、他局宛のパケットを隣接ノードに中継する場合に、前記パケットの宛先及び送信元に対応する上記に定義する第1〜第4エントリの前記有効期間をそれぞれ更新する第2ステップと、を含み、前記第1ステップには、前記参照テーブルに対する探索が不要となるように、前記第2及び第4エントリを個別に記憶する処理が含まれ、前記第2ステップには、前記第2及び第4エントリについては、前記参照テーブルに対する探索を行わずに、当該第2及び第4エントリの前記有効期間を更新する処理が含まれる。 (3) In the relay method according to one aspect of the present invention, a packet transmitted by a communication device used for the communication node located in the middle of a communication path in which communication nodes that autonomously perform path control in the communication network are arranged in series. In the relay method, a first step of storing a reference table including a plurality of route entries for each destination node for which a valid period is set; and when a packet addressed to another station is relayed to an adjacent node, the destination of the packet And a second step of updating the validity period of the first to fourth entries defined above corresponding to the transmission source, respectively, so that the search for the reference table is not required in the first step , Including the process of storing the second and fourth entries individually, and the second step includes a step of referring to the reference table for the second and fourth entries. Without search that includes a process of updating the validity period of the second and fourth entry.
本発明によれば、パケット転送のレイテンシを低減することにより、通信ネットワークのスループットを向上することができる。 According to the present invention, it is possible to improve the throughput of a communication network by reducing packet transfer latency.
<本発明の実施形態の概要>
以下、本発明の実施形態の概要を列記して説明する。
(1) 本実施形態の通信装置は、通信ネットワーク内の経路制御を自律的に行う通信ノードが直列に並ぶ通信経路の途中に位置する、前記通信ノードに用いる通信装置であって、有効期間が設定された宛先ノードごとの複数の経路エントリを含む参照テーブルを記憶する記憶部と、他局宛のパケットを隣接ノードに中継する場合に、前記パケットの宛先及び送信元に対応する下記に定義する第1〜第4エントリの前記有効期間をそれぞれ更新する制御部と、を備えている。
<Outline of Embodiment of the Present Invention>
Hereinafter, an outline of embodiments of the present invention will be listed and described.
(1) The communication device according to the present embodiment is a communication device used for the communication node, which is located in the middle of a communication path in which communication nodes that autonomously perform path control in a communication network are arranged in series, and has an effective period. A storage unit that stores a reference table including a plurality of route entries for each set destination node, and when relaying a packet addressed to another station to an adjacent node, the following is defined corresponding to the destination and source of the packet A control unit that updates the validity period of each of the first to fourth entries.
また、本実施形態の通信装置では、前記記憶部は、前記参照テーブルに対する探索が不要となるように、前記第2及び第4エントリを個別に記憶しており、前記制御部は、前記第2及び第4エントリについては、前記参照テーブルに対する探索を行わずに、当該第2及び第4エントリの前記有効期間を更新する。
第1エントリ:パケットの宛先に対応する順経路の経路エントリ
第2エントリ:パケットの宛先に対応する順経路の次ホップの経路エントリ
第3エントリ:パケットの送信元に対応する逆経路の経路エントリ
第4エントリ:パケットの送信元に対応する逆経路の次ホップの経路エントリ
In the communication apparatus according to the present embodiment, the storage unit stores the second and fourth entries individually so that a search for the reference table is not required, and the control unit For the fourth entry and the fourth entry, the validity period of the second and fourth entries is updated without searching the reference table.
First entry: Route entry of the forward route corresponding to the destination of the packet Second entry: Route entry of the next hop of the forward route corresponding to the destination of the packet Third entry: Route entry of the reverse route corresponding to the source of the packet 4 entries: Route entry of the next hop of the reverse route corresponding to the packet source
本実施形態の通信装置によれば、制御部が、第2及び第4エントリについては、参照テーブルに対する探索を行わずに、当該第2及び第4エントリの有効期間を更新するので、第1〜第4エントリをすべて探索する従来の中継処理に比べて、第2及び第4エントリの探索が不要な分だけ、有効期間の更新のための処理時間を削減できる。
このため、上記の通信装置を通信ノードに採用することにより、当該通信ノードのパケット転送のレイテンシが低減し、通信ネットワークのスループットが向上する。
According to the communication device of the present embodiment, the control unit updates the validity period of the second and fourth entries without performing a search on the reference table for the second and fourth entries. Compared with the conventional relay processing that searches all the fourth entries, the processing time for updating the valid period can be reduced by the amount that the second and fourth entries need not be searched.
For this reason, by employing the above communication device as a communication node, the packet transfer latency of the communication node is reduced and the throughput of the communication network is improved.
(2) 本実施形態の通信装置において、前記通信ネットワークが1つの親局と複数の子局とを含み、前記親局と前記子局が通信するための前記パケットを中継する場合には、前記記憶部は、前記参照テーブルに対する探索が不要となるように、前記宛先ノードが前記親局の前記経路エントリである親局エントリを個別に記憶しており、前記制御部は、前記第1及び第3エントリのうち前記親局エントリに該当する前記第1又は前記第3エントリについては、前記参照テーブルに対する探索を行わずに、当該第1又は第3エントリの前記有効期間を更新することが好ましい。 (2) In the communication device of the present embodiment, the communication network includes one parent station and a plurality of child stations, and when relaying the packet for communication between the parent station and the child station, The storage unit individually stores a master station entry that is the route entry of the master station so that the destination node does not need to search the reference table. Regarding the first or third entry corresponding to the master station entry among the three entries, it is preferable that the validity period of the first or third entry is updated without performing a search on the reference table.
本実施形態の通信装置によれば、制御部が、第1及び第3エントリのうち親局エントリに該当する第1又は第3エントリについては、参照テーブルに対する探索を行わずに、当該第1又は第3エントリの有効期間を更新するので、第1〜第4エントリをすべて探索する従来の中継処理に比べて、第1又は第3エントリのいずれかの探索が不要な分だけ、有効期間の更新のための処理時間を削減できる。
このため、上記の通信装置を通信ノードに採用することにより、当該通信ノードのパケット転送のレイテンシが低減し、通信ネットワークのスループットが向上する。
According to the communication apparatus of the present embodiment, the control unit does not search the reference table for the first or third entry corresponding to the master station entry among the first and third entries, and performs the first or third entry. Since the validity period of the third entry is updated, the validity period is updated by an amount that does not require the search for either the first or third entry, as compared with the conventional relay process that searches all the first to fourth entries. The processing time for can be reduced.
For this reason, by employing the above communication device as a communication node, the packet transfer latency of the communication node is reduced and the throughput of the communication network is improved.
(3) 本実施形態の中継方法は、通信ネットワーク内の経路制御を自律的に行う通信ノードが直列に並ぶ通信経路の途中に位置する、前記通信ノードに用いる通信装置が行うパケットの中継方法であって、有効期間が設定された宛先ノードごとの複数の経路エントリを含む参照テーブルを記憶する第1ステップと、他局宛のパケットを隣接ノードに中継する場合に、前記パケットの宛先及び送信元に対応する上記に定義する第1〜第4エントリの前記有効期間をそれぞれ更新する第2ステップと、を含む。 (3) The relay method of the present embodiment is a packet relay method performed by a communication device used for the communication node, which is located in the middle of a communication path in which communication nodes that autonomously perform path control in the communication network are arranged in series. A first step of storing a reference table including a plurality of route entries for each destination node for which a validity period is set; and when relaying a packet addressed to another station to an adjacent node, the destination and source of the packet A second step of updating each of the valid periods of the first to fourth entries defined above corresponding to.
また、本実施形態の中継方法では、前記第1ステップには、前記参照テーブルに対する探索が不要となるように、前記第2及び第4エントリを個別に記憶する処理が含まれ、前記第2ステップには、前記第2及び第4エントリについては、前記参照テーブルに対する探索を行わずに、当該第2及び第4エントリの前記有効期間を更新する処理が含まれる。 In the relay method of the present embodiment, the first step includes a process of storing the second and fourth entries individually so that a search for the reference table is not required, and the second step Includes a process for updating the validity period of the second and fourth entries without searching the reference table for the second and fourth entries.
本実施形態の中継方法によれば、第2ステップにおいて、第2及び第4エントリについては、参照テーブルに対する探索を行わずに、当該第2及び第4エントリの有効期間を更新する処理が含まれるので、第2及び第4エントリの探索が不要な分だけ、有効期間の更新のための処理時間を削減できる。
このため、上記の通信装置を通信ノードに採用することにより、当該通信ノードのパケット転送のレイテンシが低減し、通信ネットワークのスループットが向上する。
According to the relay method of the present embodiment, the second step includes processing for updating the validity period of the second and fourth entries without searching the reference table for the second and fourth entries. Therefore, the processing time for updating the validity period can be reduced by the amount that the search for the second and fourth entries is unnecessary.
For this reason, by employing the above communication device as a communication node, the packet transfer latency of the communication node is reduced and the throughput of the communication network is improved.
<本発明の実施形態の詳細>
以下、図面を参照して、本発明の実施形態の詳細を説明する。なお、以下に記載する実施形態の少なくとも一部を任意に組み合わせてもよい。
なお、レイヤ2の通信で用いるPDU(Protocol Data Unit)を「フレーム」と呼び、レイヤ3の通信で用いるPDUを「パケット」と呼ぶことが多いが、以下の説明では、「パケット」及び「フレーム」をいずれもPDUの意味で用いる。
<Details of Embodiment of the Present Invention>
Hereinafter, details of embodiments of the present invention will be described with reference to the drawings. In addition, you may combine arbitrarily at least one part of embodiment described below.
A PDU (Protocol Data Unit) used in
〔通信システムの接続形態〕
図1は、本発明の実施形態に係る通信システムの接続形態を示す図である。
図1に示すように、本実施形態の通信システムは、複数の通信ノードN0〜N6を含む通信ネットワークNWと、1つの通信ノードN0と上位網3を介して通信する管理装置4とを備えている。
[Connection form of communication system]
FIG. 1 is a diagram showing a connection form of a communication system according to an embodiment of the present invention.
As shown in FIG. 1, the communication system of the present embodiment includes a communication network NW including a plurality of communication nodes N0 to N6, and a management device 4 that communicates with one communication node N0 via a higher level network 3. Yes.
なお、以下の説明において、各通信ノードN0〜N6の共通事項を説明する場合には、それらの通信ノードN0〜N6の代表符号として「N」を用いる。
図1の通信ネットワークNWでは、各通信ノードNが1又は複数の隣接ノードと伝送路5により通信可能に接続されている。伝送路5を構成する通信媒体は、1芯又は2芯の光ファイバ又はメタル回線などの伝送線路であってもよいし、無線LANなどを利用した無線通信路であってもよい。
In the following description, when common items of the communication nodes N0 to N6 are described, “N” is used as a representative code of the communication nodes N0 to N6.
In the communication network NW of FIG. 1, each communication node N is connected to one or a plurality of adjacent nodes via a
図1の通信ネットワークNWでは、通信ノードN0は親局1であり、通信ノードN1〜N6は子局2である。子局2の通信ノードN1〜N6は、リング状のトポロジー(N1→N2→N3→N6→N5→N4→N1)となっている。
また、リング内の1つの通信ノードN6は、伝送路5により親局1の通信ノードN0と接続されている。従って、例えば、通信ノードN1から通信ノードN0に至る経路は、N1→N2→N3→N6→N0と、N1→N4→N5→N6→N0との2つの経路に冗長化することができる。
In the communication network NW of FIG. 1, the communication node N0 is the master station 1, and the communication nodes N1 to N6 are the
Further, one communication node N6 in the ring is connected to the communication node N0 of the master station 1 by the
親局1の通信ノードN0は、インターネットなどの上位網3に通信可能に接続されている。子局2の通信ノードN1〜N6には、端末装置6がそれぞれ通信可能に接続されている。
図1では、図示の簡略化のために、1つの子局2(通信ノードN3)のみが端末装置6と接続されているが、実際には、すべての子局2(通信ノードN1〜N6)が端末装置6と通信可能に接続されている。
The communication node N0 of the master station 1 is communicably connected to an upper network 3 such as the Internet. The
In FIG. 1, for simplification of illustration, only one slave station 2 (communication node N3) is connected to the
管理装置4は、サーバコンピュータ又はパーソナルコンピュータなどのIP通信が可能なコンピュータ装置よりなる。管理装置4は、上位網3及び親局1を経由したIP通信と通信ネットワークNW内の通信により、所定の端末装置6と通信可能である。
端末装置6は、パーソナルコンピュータなどのIP通信が可能なコンピュータ装置よりなる。端末装置6は、通信ネットワークNW内での通信と親局1及び上位網3を経由したIP通信により、管理装置4と通信可能である。
The management device 4 includes a computer device capable of IP communication such as a server computer or a personal computer. The management device 4 can communicate with a predetermined
The
〔通信システムの利用形態〕
図1の通信ネットワークNWの利用形態には、例えば利用形態1〜3が含まれる。
利用形態1:電力会社が管理する高圧開閉器などの複数の配電機器に対する遠隔制御と、その配電機器に関するリモートセンシング
利用形態2:工場内に設置された複数の製造機械に対する遠隔制御と、その製造機械に関するリモートセンシング
利用形態3:社内のコンピュータ装置及びこの装置に接続された共用機器の遠隔監視
[Usage form of communication system]
The usage forms of the communication network NW in FIG.
Use form 1: Remote control for a plurality of power distribution devices such as high-voltage switches managed by an electric power company, and remote sensing for the power distribution equipment Use form 2: Remote control for a plurality of manufacturing machines installed in a factory, and production thereof Remote sensing for machines Usage 3: Remote monitoring of in-house computer equipment and shared equipment connected to this equipment
利用形態1では、端末装置6は、配電機器(図示せず)の動作を管理装置4が遠隔制御するための制御指令の中継装置として機能する。
例えば、通信ノードN1の端末装置6に接続された配電機器を制御する場合、管理装置4は、当該配電機器のための制御指令を含む下りフレームを、通信ノードN1の端末装置6宛てに送信する。この端末装置6は、受信した下りフレームに含まれる制御指令に従って配電機器の動作を制御する。
In the usage mode 1, the
For example, when controlling a power distribution device connected to the
また、利用形態1では、端末装置6は、配電機器に関するセンシング情報を管理装置4に伝送するための中継装置として機能する。
例えば、通信ノードN1の端末装置6に接続された配電機器のセンシング情報を収集する場合、端末装置6は、配電機器の各種センサ(例えば電圧計など)が測定したセンシング情報を含む上りフレームを、管理装置4宛てに送信する。管理装置4は、受信した上りフレームに含まれるセンシング情報を集計する。
In the usage mode 1, the
For example, when collecting sensing information of a power distribution device connected to the
同様に、利用形態2では、端末装置6は、製造機械(図示せず)の動作を管理装置4が遠隔制御するための制御指令の中継装置として機能する。
例えば、通信ノードN1の端末装置6に接続された製造機械を制御する場合、管理装置4は、当該製造機械のための制御指令を含む下りフレームを、通信ノードN1の端末装置6宛てに送信する。この端末装置6は、受信した下りフレームに含まれる制御指令に従って製造機械の動作を制御する。
Similarly, in the
For example, when controlling a manufacturing machine connected to the
また、利用形態2では、端末装置6は、製造機械に関するセンシング情報を管理装置4に伝送するための中継装置として機能する。
例えば、通信ノードN1の端末装置6に接続された製造機械のセンシング情報を収集する場合、端末装置6は、製造機械の各種センサ(例えば速度計など)が測定したセンシング情報を含む上りフレームを、管理装置4宛てに送信する。管理装置4は、受信した上りフレームに含まれるセンシング情報を集計する。
In the
For example, when collecting sensing information of a manufacturing machine connected to the
利用形態3では、端末装置6は、社内の従業員が使用するデスクトップパソコン又はノートパソコンなどのパーソナルコンピュータよりなる。
また、共用機器は、パーソナルコンピュータに通信可能に接続され、当該コンピュータとともに使用されるプリンタ、コピー機又はファクシミリなどのOA機器よりなる。
In usage mode 3, the
The shared device is communicably connected to a personal computer and includes an OA device such as a printer, a copier, or a facsimile that is used with the computer.
例えば、通信ノードN1の端末装置6に着目すると、端末装置6は、所定の社内規則に反する端末操作(例えば、不正なホームページへのインターネットアクセスなど)があった場合に、その操作内容の情報を含む上りフレームを管理装置4宛てに送信する。
また、通信ノードN1の端末装置6の共用機器に着目すると、端末装置6は、所定の社内規則に反する共用機器の操作(例えば、所定枚数以上の印刷)があった場合に、その操作内容の情報を含む上りフレームを管理装置4宛てに送信する。
For example, paying attention to the
Further, when paying attention to the shared device of the
上記の通り、本実施形態の通信ネットワークNWは、管理装置4を運用する管理者が、各通信ノードNに対応する対象機器(配電設備や製造機械など)を遠隔監視するための通信ネットワークとして利用することができる。
この場合、通信ノードNは対象機器に近接して設置され、対象機器が多くなるにつれてトポロジーが複雑になる。このため、通信ネットワークNWのトポロジーは、図1に示す単純なリング状に限らず、複数のリングを含む形態や、ツリー状又はメッシュ状などの複雑なトポロジーとなる場合もある。
As described above, the communication network NW according to the present embodiment is used as a communication network for an administrator who operates the management apparatus 4 to remotely monitor target devices (such as power distribution equipment and manufacturing machines) corresponding to each communication node N. can do.
In this case, the communication node N is installed close to the target device, and the topology becomes complicated as the number of target devices increases. For this reason, the topology of the communication network NW is not limited to the simple ring shape shown in FIG. 1, but may be a complex topology such as a form including a plurality of rings or a tree shape or a mesh shape.
なお、通信ノードNが中継する通信フレームのうち、管理装置4宛ての上りフレームに含めるデータを「監視データ」という。監視データには、上記の配電設備や製造機械に関する「センシング情報」や、パーソナルコンピュータや共用機器に対する「操作内容を示す情報」などが含まれる。
また、図1の通信システムにおいて、1つの通信ノードNに複数の端末装置6に対応させる接続形態であってもよいし、1つの端末装置6に複数の配電設備又は製造機械を対応させる接続形態であってもよい。
Of the communication frames relayed by the communication node N, the data included in the upstream frame addressed to the management apparatus 4 is referred to as “monitoring data”. The monitoring data includes “sensing information” relating to the above-described power distribution equipment and manufacturing machines, “information indicating operation contents” for personal computers and shared devices, and the like.
Further, in the communication system of FIG. 1, a connection form in which one communication node N is associated with a plurality of
〔通信装置の構成〕
図2は、通信装置10の内部構成を示すブロック図である。図2の通信装置10は、図1の通信ネットワークNWの通信ノードNの全部又は一部に採用することができる。
図2に示すように、本実施形態の通信装置10は、制御部11、記憶部12、通信部13、電源供給部14、及びクロック部15を備える。また、記憶部12は、不揮発性メモリ16と揮発性メモリ17を含む。
[Configuration of communication device]
FIG. 2 is a block diagram illustrating an internal configuration of the
As illustrated in FIG. 2, the
制御部11は、CPU(Central Processing Unit)よりなる。制御部11は、内部バス18を介して通信部13及び各メモリ16,17と接続されている。制御部11は、通信ノードNの各部を統括的に制御する。
不揮発性メモリ16は、例えば、HDD(Hard Disk Drive)、SSD(Solid State Drive)、USB(Universal Serial Bus)メモリ、SDメモリカードなどよりなる。揮発性メモリ17は、例えば、DRAM(Dynamic Random Access Memory)、SRAM(Static Random Access Memory)などよりなる。
The
The
不揮発性メモリ16には、ブートローダプログラム、OS(Operating System)プログラム、及びアプリケーションプログラムなどがインストールされている。アプリケーションプログラムには、通信制御用のプログラムが含まれる。
揮発性メモリ17は、制御部11が不揮発性メモリ16から読み出した通信制御用のプログラムの格納と、このプログラムのワーキングメモリとして使用される。
In the
The
通信部13は、通信ネットワークNWにおける経路制御プロトコルに従う通信機能と、端末装置6との通信プロトコルに従う通信機能とを有する通信インタフェースである。
制御部11は、揮発性メモリ17に記憶させた通信制御用のプログラムに従って通信部13に対する通信制御を実行する。通信部13は、制御部11の指示に従って隣接ノードとの間でIPパケット(以下、単に「パケット」という。)を送受信する。
The
The
例えば、制御部11は、通信ネットワークNWに属する隣接ノードとのパケットの送受信については、当該通信ネットワークNWに採用された所定の経路制御プロトコル(AODVやDYMOなど)に則って実行する。具体的には、通信経路の確立と、確立した経路を用いたパケットの転送処理である。
また、制御部11は、端末装置6との通信フレームの送受信については、当該端末装置6との間で採用された所定の通信プロトコルに則って実行する。
For example, the
In addition, the
電源供給部14は、AC/DCコンバータを内部に含む。電源供給部14は、商用電源(例えば、100Vの交流)よりなる外部電源を所定電圧の直流に変換し、変換後の直流電圧を、通信ノードN内の各部に供給する。
クロック部15は、ローカル時刻を独自に計時するクロック回路よりなり、電源供給部14からの電源供給を受けることなく、コイン形リチウム電池などの予備電源(図示せず)によって動作し、ローカル時刻を制御部11に常に出力している。
The
The
〔通信ノードの経路制御プロトコル〕
通信ネットワークNWを構成する通信ノードNは、隣接ノードから受信したパケットを所定の経路制御プロトコルに従って中継することにより、通信ネットワークNW内においてパケットを「バケツリレー方式」にて転送する。
具体的には、本実施形態の通信ネットワークNWでは、経路要求が発生してから各通信ノードNが経路探索を行うディスタンスベクタ型のルーティングプロトコルが採用されている。
[Communication node routing protocol]
The communication node N configuring the communication network NW relays the packet received from the adjacent node according to a predetermined route control protocol, and transfers the packet in the “bucket relay system” within the communication network NW.
Specifically, the communication network NW of the present embodiment employs a distance vector type routing protocol in which each communication node N searches for a route after a route request is generated.
上記のルーティングプロトコルには、例えば、AODV(Adhoc ON-Demand Distance Vector)、DYMO(Dynamic MANET On-Demand)などがある。本実施形態ではAODVを想定する。
AODVでは、すべての通信ノードN(図1では通信ノードN0〜N6)が「ルーティングテーブル(経路表)」を保持し、パケットに経路情報を含めることなく、自ノードのルーティングテーブルを利用して動的に経路制御を行う。
Examples of the routing protocol include AODV (Adhoc ON-Demand Distance Vector) and DYMO (Dynamic MANET On-Demand). In this embodiment, AODV is assumed.
In AODV, all the communication nodes N (communication nodes N0 to N6 in FIG. 1) hold a “routing table (route table)” and use the routing table of their own node without including route information in the packet. Route control.
すなわち、AODVは、自律型の経路制御プロトコルであり、通信ノードNの消失や出現が比較的頻繁に生じる動的なネットワークが想定されている。従って、ネットワークの経路は永続的でなく、各種の障害で特定のリンクがリンク断となったり、新たな通信ノードNが出現して新規のリンクが現れたりする。
かかるネットワークの変化に追従し、各通信ノードが経路を自律的に確立するため、ルーティングテーブルには次の内容の「経路エントリ」が終点(宛先)ごとに定義される。
That is, AODV is an autonomous route control protocol, and is assumed to be a dynamic network in which the disappearance and appearance of the communication node N occur relatively frequently. Accordingly, the network path is not permanent, and a specific link is broken due to various failures, or a new communication node N appears and a new link appears.
In order to follow such a change in the network and each communication node autonomously establishes a route, a “route entry” having the following contents is defined for each end point (destination) in the routing table.
(経路エントリの内容)
「終点アドレス」:Destination IP Address
「終点シーケンス番号」:Destination Sequence Number
「終点シーケンス番号の有効フラグ」:Valid Destination Sequence Number flag
「その他のフラグ」:Other state and routing flags
(e.g., valid, invalid, repairable, being repaired)
(Contents of route entry)
“Destination IP Address”: Destination IP Address
"Destination Sequence Number": Destination Sequence Number
“Destination Sequence Number Valid Flag”: Valid Destination Sequence Number flag
"Other flags": Other state and routing flags
(eg, valid, invalid, repairable, being repaired)
「ネットワークインタフェース」:Network Interface
「ホップ数」:Hop Count (number of hops needed to reach destination)
「次ホップ」:Next Hop
「プリカーソルリスト」:List of Precursors
「有効期間」:Lifetime (expiration or deletion time of the route)
"Network Interface": Network Interface
“Hop Count”: Hop Count (number of hops needed to reach destination)
"Next Hop": Next Hop
"Precursor list": List of Precursors
“Validity Period”: Lifetime (expiration or deletion time of the route)
「終点シーケンス番号」は、経路の新しさを示すための指標である。終点シーケンス番号は、大きいほど新しい経路であることを示す。古いシーケンス番号の経路を使用しないことで、制御メッセージのループを防止している。
また、リンク断などの経路の変化が生じた場合は、該当する終点シーケンス番号をインクリメントし、RERRによりネットワーク全般に拡散させる。これにより、ネットワークの経路に新たな変化が生じたことを通知し、当該経路を無効化するよう促す。
The “end point sequence number” is an index for indicating the newness of the route. A larger end point sequence number indicates a new route. Control message loops are prevented by not using the old sequence number path.
Further, when a path change such as a link disconnection occurs, the corresponding end point sequence number is incremented and diffused throughout the network by RERR. This notifies that a new change has occurred in the route of the network and prompts to invalidate the route.
「有効期間」は、経路エントリが有効である期間を表す。有効期間の推奨値は、例えばAODVでは3秒とされている。有効期間は、経路エントリが使用される度に更新され、最後のデータ通信から有効期間を超えて利用されない経路エントリは無効となる。
従って、有効期間を超えたために経路エントリがいったん無効になると、新たなRREQによって当該経路エントリが再度有効にならない限り、当該経路エントリをパケットの中継に利用できない。
The “valid period” represents a period during which the route entry is valid. The recommended value of the valid period is, for example, 3 seconds in AODV. The valid period is updated every time the route entry is used, and the route entry that is not used beyond the valid period from the last data communication becomes invalid.
Therefore, once the route entry becomes invalid because the valid period has been exceeded, the route entry cannot be used for packet relay unless the route entry is validated again by a new RREQ.
AODVでは、経路制御メッセージとして次の5種類が定義されている。通信ノードNは、これらのメッセージを交換して経路を最適な状態に維持する。
RREQ(Route Request)メッセージ
RREP(Route Reply)メッセージ
RERR(Route Error)メッセージ
RREP−ACK(Route Reply Acknowledgment)メッセージ
HELLOメッセージ
In AODV, the following five types are defined as route control messages. The communication node N exchanges these messages to maintain the route in an optimal state.
RREQ (Route Request) message RREP (Route Reply) message RERR (Route Error) message RREP-ACK (Route Reply Acknowledgment) message HELLO message
RREQは、送信元ノードが経路探索を要求する場合にフラッディングする制御メッセージである。RREPは、宛先ノードがRREQに応答して送信元ノードにユニキャストで送信する制御メッセージである。RERRは、リンク切れを探知した中間ノードが送信元ノードに向かって通知する制御メッセージである。
RREP−ACKは、片方向のリンク検出のために用いられる制御メッセージである。HELLOは、隣接ノードの生存状況をチェックするための制御メッセージである。
RREQ is a control message that is flooded when the source node requests a route search. RREP is a control message that the destination node transmits in unicast to the source node in response to RREQ. RERR is a control message that an intermediate node that has detected a link break notifies the source node.
RREP-ACK is a control message used for one-way link detection. HELLO is a control message for checking the survival status of adjacent nodes.
例えば、図1の通信ネットワークNWにおいて、通信ノードN3が、通信ノードN5との経路探索のために経路要求を行う場合を想定する。
この場合、送信元の通信ノードN3は、通信ノードN5を宛先アドレスとするRREQをフラッディングする。RREQを受信した通信ノードN2,N1,N4,N6もそれぞれ同じRREQをフラッディングする。これにより、RREQが右回り及び左回りの各ルートで通信ノードN5に到着する。
For example, in the communication network NW of FIG. 1, it is assumed that the communication node N3 makes a route request for route search with the communication node N5.
In this case, the source communication node N3 floods RREQ with the communication node N5 as the destination address. The communication nodes N2, N1, N4, and N6 that have received the RREQ also flood the same RREQ. As a result, the RREQ arrives at the communication node N5 through the clockwise and counterclockwise routes.
各通信ノードNは、RREQを転送する際に、送信元アドレス(通信ノードN3のIPアドレス)に対する逆方向の経路(以下、「逆経路」という。)をそれぞれ生成する。
宛先に設定された通信ノードN5は、先着のRREQ(図1の例では、N3→N6→N5の順で中継されたRREQ)に対して、通信ノードN3宛のRREPをユニキャストで返信する。RREPは、RREQの転送時に生成される逆経路により、送信元である通信ノードN3に届けられる。
Each communication node N generates a reverse path (hereinafter referred to as “reverse path”) with respect to the transmission source address (IP address of the communication node N3) when transferring the RREQ.
The communication node N5 set as the destination returns a RREP addressed to the communication node N3 by unicast to the first RREQ (in the example of FIG. 1, RREQ relayed in the order of N3 → N6 → N5). The RREP is delivered to the communication node N3 that is the transmission source through the reverse path generated when the RREQ is transferred.
各通信ノードNは、RREPを転送する際に、宛先アドレスに対する順方向の経路(以下、「順経路」という。)を生成する。これにより、通信ノードN3と通信ノードN5の間の双方向の経路が確立される。
このようにして、通信ノードN3と通信ノードN5の間の通信経路が確立されると、通信ノードN3は、通信ノードN5に対するデータパケットの送信を開始する。
Each communication node N generates a forward path (hereinafter referred to as “forward path”) for the destination address when transferring the RREP. Thereby, a bidirectional path between the communication node N3 and the communication node N5 is established.
Thus, when the communication path between the communication node N3 and the communication node N5 is established, the communication node N3 starts transmitting data packets to the communication node N5.
〔通信装置の制御部の構成〕
図3は、AODVに準拠する通信ネットワークNWの通信ノードNとして採用し得る、通信装置10の制御部11の内部構成を示すブロック図である。
本実施形態の通信ネットワークNWに関して、前述の利用形態1〜3を想定すると、センシング情報や操作内容を示す情報の収集対象である端末装置6が多く存在するほど、通信ネットワークNWに必要な通信ノードNの台数が多くなる。
[Configuration of communication device controller]
FIG. 3 is a block diagram showing an internal configuration of the
Assuming the above-described usage modes 1 to 3 regarding the communication network NW of the present embodiment, the more communication devices necessary for the communication network NW exist, the more
従って、通信ノードNに採用する通信装置10は、ハードウェア及びソフトウェアの両面において、省電力で動作できかつ安価に製作できることが好ましい。
そこで、本実施形態の通信装置10では、シングルコアのCPUよりなる制御部11を採用し、その制御部11が複数の処理をプリエンプティブに実行する、例えばリアルタイムOSを採用することが好ましい。この場合、制御部11は、リアルタイムOSに組み込まれたAODVの通信制御を実行可能なアプリケーションプログラムを実行する。
Therefore, it is preferable that the
Therefore, in the
もっとも、マルチコアのCPUよりなる制御部11を採用し、制御部11の複数のCPUが複数の処理を並行して実行することにしてもよい。
また、制御部11のCPUは、揮発性メモリ17に対してよりも高速にアクセスが可能である、キャッシュ又はTCM(Tightly Coupled Memory)などよりなる内蔵メモリ(図示せず)を有していてもよい。
However, the
The CPU of the
図3に示すように、制御部11は、AODVの通信制御のアプリケーションプログラムを実行することにより実現される機能部として、ヘッダ判定部21、プロトコル判定部22、エントリ判定部23、及びAODV処理部24を備える。
AODV処理部24は、その内部の機能部として、メッセージ処理部25、パケット中継部26、及び経路探索部27に細分化されている。なお、図3中の符号28は、揮発性メモリ17に含まれる「探索待ちキュー」である。
As illustrated in FIG. 3, the
The
通信部13が受信したパケット又は探索待ちキュー28のパケットは、ヘッダ判定部21に順番に入力される。ヘッダ判定部21は、入力されたパケットのIPヘッダから、当該パケットが自局宛又は他局宛のいずれであるかを判定する。
ヘッダ判定部21は、判定結果が自局宛のパケットをプロトコル判定部22に送り、判定結果が他局宛てのパケットをエントリ判定部23に送る。
Packets received by the
The
プロトコル判定部22は、入力されたパケットのIPヘッダから、当該パケットがAODVの制御メッセージであるかその他のパケットであるかを判定する。
プロトコル判定部22は、判定結果がAODVの制御メッセージであるパケットをAODV処理部24のメッセージ処理部25に送る。プロトコル判定部22は、判定結果がその他であるパケット(例えば、自局宛のデータパケット)を管理装置4又は端末装置6との通信制御などの処理を行う汎用処理部29に送る。
The
The
エントリ判定部23は、入力されたパケットのIPヘッダの宛先情報から、当該宛先の経路エントリが有効であるか、或いは、無効又はエントリなしであるかを判定する。
エントリ判定部23は、判定結果が有効であるパケットをAODV処理部24のパケット中継部26に送る。エントリ判定部23は、判定結果が無効又はエントリなしであるパケットをAODV処理部24の経路探索部27に送る。
The
The
メッセージ処理部25は、入力されたパケット(自局宛のAODVの制御メッセージ)に対して、当該パケットの制御メッセージの種別に応じた所定の処理を実行する。
例えば、入力された制御メッセージがRREQの場合、メッセージ処理部25は、送信元に対する逆経路の生成を行う。また、メッセージ処理部25は、シーケンス番号、ホップカウント数などの経路情報について、RREQの情報と自身が保持する情報とを比較し、RREQの情報の方が新しい場合は自身の経路情報を更新する。
The
For example, when the input control message is RREQ, the
入力された制御メッセージがRREPの場合、メッセージ処理部25は、宛先に対する順経路の生成を行う。また、メッセージ処理部25は、シーケンス番号、ホップカウント数などの経路情報について、RREPの情報と自身が保持する情報とを比較し、RREPの情報の方が新しい場合は自身の経路情報を更新する。
If the input control message is RREP, the
パケット中継部26は、入力されたパケット(他局宛でかつ有効な経路エントリが存在するデータパケットやAODVの制御メッセージ)に対して、該当する経路エントリの情報に基づいてパケットの中継処理を行う。
具体的には、パケット中継部26が行う中継処理には、「パケットの転送処理」と「有効期間の更新処理」が含まれる。
The
Specifically, the relay processing performed by the
パケット中継部26が実行するパケットの転送処理は、入力された他局宛のパケットを、現時点で有効である経路エントリに含まれる次ホップの通信ノードNに送信するように、通信部13を制御する処理である。
パケット中継部26が実行する有効期間の更新処理は、入力された他局宛のパケットの宛先に関連する4つの経路(具体的には、「順経路」、「逆経路」、「順経路の次ホップ」及び「逆経路の次ホップ」)の有効期間を、所定の設定値に更新する処理である。
The packet forwarding process executed by the
The valid period update process executed by the
経路探索部27は、入力されたパケット(他局宛でかつ経路エントリが無効又は経路エントリが存在しないデータパケットやAODVの制御メッセージ)に対して、経路探索処理を行う。
経路探索部27が実行する経路探索処理には、入力された他局宛のパケットに含まれる宛先を含むRREQを発行する処理と、発行したRREQを探索待ちキューに一時的に格納する処理と、発行したRREQを通信部13に送信させる処理とが含まれる。
The
The route search process executed by the
〔従来の経路エントリのメモリ構成と期間更新処理〕
図4は、従来の経路エントリのメモリ構成を示す説明図である。
図4に示すように、従来の経路エントリのメモリ構成には、揮発性メモリ17の所定のメモリ領域に割り当てられた参照テーブルであるエントリテーブルT1が含まれる。AODV処理部24は、エントリテーブルT1を用いて宛先ノードごとに複数の経路エントリを管理する。
[Conventional path entry memory configuration and period update processing]
FIG. 4 is an explanatory diagram showing a memory configuration of a conventional route entry.
As shown in FIG. 4, the conventional path entry memory configuration includes an entry table T <b> 1 that is a reference table assigned to a predetermined memory area of the
エントリテーブルT1には、ロー方向に配列された複数のエントリ格納部♯i(i=1,2,3……n)が含まれる。各エントリ格納部♯iには、所定のアドレスAi(i=1,2,3……n)が割り当てられている。
各エントリ格納部♯iは、例えば、「宛先」、「次ホップ」及び「有効期間」などの順で、前述の経路エントリのデータ内容を表す情報(以下、「エントリ情報」という。)を記すための、コラム方向に並ぶ複数の格納領域を備える。
The entry table T1 includes a plurality of entry storage units #i (i = 1, 2, 3,... N) arranged in the row direction. Each entry storage unit #i is assigned a predetermined address Ai (i = 1, 2, 3... N).
Each entry storage unit #i describes information (hereinafter referred to as “entry information”) indicating the data contents of the route entry described above in the order of “destination”, “next hop”, “valid period”, and the like. For this purpose, a plurality of storage areas arranged in the column direction are provided.
エントリ格納部♯iのエントリ情報は、有効期間を超える所定時間以上使用されない場合には、エントリ格納部♯iから削除される。これにより、使用されない古い経路に対応するエントリ情報がエントリテーブルT1から削除される。
経路探索部27は、新たな経路を発見すると、空きのエントリ格納部♯i又は新たに生成したエントリ格納部♯iに、所定のエントリ情報を記す。これにより、新たに発見された経路に対応するエントリ情報がエントリテーブルT1に追加される。
The entry information in the entry storage unit #i is deleted from the entry storage unit #i when it is not used for a predetermined time exceeding the valid period. As a result, entry information corresponding to an old route that is not used is deleted from the entry table T1.
When the
図5は、従来の有効期間の更新処理を示すフローチャートである。
図5に示すように、パケット中継部26が実行する従来の有効期間の更新処理(以下、単に「期間更新処理」ともいう。)には、「順経路の更新処理」、「順経路の次ホップの更新処理」、「逆経路の更新処理」、及び「逆経路の次ホップの更新処理」の4つの更新処理が含まれる。
FIG. 5 is a flowchart showing a conventional valid period update process.
As shown in FIG. 5, conventional valid period update processing (hereinafter also simply referred to as “period update processing”) executed by the
パケット中継部26は、受信した他局宛のパケットのIPヘッダから中継先(=パケットの送信先)を決定すると、中継先へのパケット送信の前に図5に示す期間更新処理を実行する。
すなわち、パケット中継部26は、受信パケットのIPヘッダから抽出した送信元アドレス及び宛先アドレスにそれぞれ対応する順経路、順経路の次ホップ、逆経路、及び逆経路の次ホップについて、それぞれ有効期間の更新処理を実行する。
When the
That is, the
具体的には、パケット中継部26は、パケットの宛先アドレスに相当する順経路の経路エントリを、図4のエントリテーブルT1の中から探索し(ステップST11)、ヒットした当該経路エントリの有効期間を設定値に更新する(ステップST12)。これが順経路の更新処理である。
Specifically, the
パケット中継部26は、順経路の経路エントリに含まれる次ホップに相当する経路エントリを、図4のエントリテーブルT1の中から探索し(ステップST13)、ヒットした当該経路エントリの有効期間を設定値に更新する(ステップST14)。これが順経路の次ホップの更新処理である。
The
パケット中継部26は、パケットの送信元アドレスに相当する逆経路の経路エントリを、図4のエントリテーブルT1の中から探索し(ステップST15)、ヒットした当該経路エントリの有効期間を設定値に更新する(ステップST16)。これが逆経路の更新処理である。
The
パケット中継部26は、逆経路の経路エントリに含まれる次ホップに相当する経路エントリを、図4のエントリテーブルT1の中から探索し(ステップST17)、ヒットした当該経路エントリの有効期間を設定値に更新する(ステップST18)。これが逆経路の次ホップの更新処理である。
The
〔期間更新処理の課題と解決策〕
前述の通り、パケット中継部26は、他局宛のパケットを受信すると、パケットの送信に先立って順経路及び逆経路などの経路エントリの有効期間を更新し、この更新が完了してからパケットの送信を実行する。
その理由は、AODVの通信規格では、経路エントリの有効期間内にデータパケットが中継されなければ当該経路エントリは無効になり、新たな経路探索が必要となるので、経路エントリの有効期間を確保することを優先したからであると考えられる。
[Problems and solutions for period update processing]
As described above, when receiving a packet addressed to another station, the
The reason is that in the AODV communication standard, if a data packet is not relayed within the valid period of the route entry, the route entry becomes invalid and a new route search is required, so the valid period of the route entry is secured. This is thought to be due to the priority.
このため、他局宛のパケット転送を迅速に行うためには、パケット中継部26による期間更新処理をできるだけ短時間で済ませることが好ましい。
しかし、図5の従来の期間更新処理では、「順経路」、「順経路の次ホップ」、「逆経路」、及び「逆経路の次ホップ」のすべてについて、それらがエントリテーブルT1の中のどの経路エントリに該当するかを、エントリ情報の宛先をキーとして探索し、この探索によりヒットした経路エントリの有効期間を更新する。
For this reason, in order to quickly transfer a packet addressed to another station, it is preferable to perform the period update process by the
However, in the conventional period update process of FIG. 5, all of “forward route”, “next hop of forward route”, “reverse route”, and “next hop of reverse route” are stored in the entry table T1. Which route entry is applicable is searched using the destination of the entry information as a key, and the valid period of the route entry hit by this search is updated.
このように、従来の期間更新処理では、4つの経路エントリをすべて探索するために期間更新処理の処理時間を短縮することができず、このことがパケットの転送処理のレイテンシを増加させる原因の1つとなっている。
その結果、例えばセッション形式のデータ通信のスループットが低下することになり、ネットワーク全体の通信速度を悪化させる可能性があるという問題がある。この問題は、前述の利用形態1〜3のような、多数の通信ノードNを含む通信ネットワークNWにおいて著しい。
As described above, in the conventional period update process, since all four route entries are searched, the process time of the period update process cannot be shortened. This is one of the causes for increasing the latency of the packet transfer process. It has become one.
As a result, for example, the throughput of session-type data communication is lowered, and there is a problem that the communication speed of the entire network may be deteriorated. This problem is significant in a communication network NW including a large number of communication nodes N as in the above-described usage modes 1 to 3.
そこで、本実施形態の通信装置10では、例えば、AODVに則ってネットワーク内の経路制御を自律的に行う複数の通信ノードNを含む通信ネットワークNWにおいて、当該通信ネットワークNWにおいて採用されるトポロジー及び通信形態の特性を考慮して、パケットの中継時における経路エントリの探索を省略できるようにし、期間更新処理に要する処理時間を削減する。
Therefore, in the
具体的には、例えば図6に示すように、複数(図例では5つ)の通信ノードNa〜Neが直列に並ぶ直列形態の通信経路を想定する。
図1の通信ネットワークNWのリング部分に含まれる、5つの通信ノードN1〜N5で構成される通信経路も、直列形態の通信経路に該当する。従って、直列形態の通信経路は、通信ネットワークに部分的に含まれていてもよく、ツリー、スター及びメッシュなどの種々のトポロジーの通信ネットワークの一部を構成する経路であってもよい。
Specifically, for example, as illustrated in FIG. 6, a serial communication path in which a plurality (five in the illustrated example) of communication nodes Na to Ne are arranged in series is assumed.
A communication path including five communication nodes N1 to N5 included in the ring portion of the communication network NW in FIG. 1 also corresponds to a serial communication path. Therefore, the communication path in the serial form may be partially included in the communication network, or may be a path that forms part of a communication network having various topologies such as a tree, a star, and a mesh.
図6の通信経路において、宛先が通信ノードNeでかつ送信元が通信ノードNaであるデータパケットを、二重丸で示す通信ノードNcが中継するものとする。図6において、「順方向」はパケットを転送させる方向を意味する。
通信ノードNcは、直列形態の通信経路の途中に位置する中間ノードであるから、順方向には通信ノードNdのみと繋がっており、逆方向には通信ノードNbのみと繋がっている。従って、通信ノードNcが順方向のパケットを中継する場合には、順経路の次ホップは必ず通信ノードNdであり、逆経路の次ホップは必ず通信ノードNbである。
In the communication path of FIG. 6, it is assumed that the communication node Nc indicated by a double circle relays a data packet whose destination is the communication node Ne and whose transmission source is the communication node Na. In FIG. 6, “forward direction” means a direction in which a packet is transferred.
Since the communication node Nc is an intermediate node located in the middle of the serial communication path, the communication node Nc is connected only to the communication node Nd in the forward direction and is connected only to the communication node Nb in the reverse direction. Therefore, when the communication node Nc relays a forward packet, the next hop of the forward path is always the communication node Nd, and the next hop of the reverse path is always the communication node Nb.
従って、直列形態の通信経路の途中に位置する通信ノードNcの場合は、順経路の次ホップと逆経路の次ホップに動的な変化がなく、順経路及び逆経路の次ホップの経路エントリについては、予め確定した状態で記憶させておくことができる。
このため、通信ノードNcが、記憶した順経路及び逆経路の次ホップの各経路エントリについては、エントリテーブルT1に対する探索を省略して、有効期間を即座に設定値に更新するようにすれば、期間更新処理の処理時間の短縮に役立つ。
Therefore, in the case of the communication node Nc located in the middle of the communication path in the serial form, there is no dynamic change in the next hop of the forward path and the next hop of the reverse path, and the path entry of the forward hop and the next hop of the reverse path Can be stored in a predetermined state.
For this reason, if the communication node Nc skips the search for the entry table T1 for each route entry of the next hop of the stored forward route and reverse route, the validity period is immediately updated to the set value. Useful for shortening the processing time of the period update process.
次に、親局1と複数の子局2の間で通信するパケット(例えば、監視データを含むパケットなど)を中継する場合を想定する。
なお、以下の説明において、エントリ情報の宛先が親局1のIPアドレスである経路エントリを「親局エントリ」といい、エントリ情報の宛先が親局1のIPアドレスではない経路エントリを、「子局エントリ」という。
Next, it is assumed that a packet (for example, a packet including monitoring data) communicated between the master station 1 and the plurality of
In the following description, a route entry whose entry information destination is the IP address of the master station 1 is referred to as a “master station entry”, and a route entry whose entry information destination is not the IP address of the master station 1 is referred to as “children”. Station entry ".
ここで、親局1のIPアドレスを固定すれば、すべての子局2に対して、宛先が親局1である親局エントリを、予め確定した状態で記憶させておくことができる。
このため、通信ノードNcが、記憶した親局エントリについては、エントリテーブルT1に対する探索を省略して、有効期間を即座に設定値に置き換えるようにすれば、期間更新処理の処理時間の短縮に役立つ。
Here, if the IP address of the master station 1 is fixed, a master station entry whose destination is the master station 1 can be stored in a state that is determined in advance for all the
For this reason, if the communication node Nc omits the search for the entry table T1 for the stored master station entry and immediately replaces the valid period with the set value, it helps to shorten the processing time of the period update process. .
図6において、通信ノードNeが親局1の場合には、パケットの送信先アドレス(DA)が親局1のIPアドレスと一致する。逆に、通信ノードNaが親局1の場合には、パケットの送信元アドレス(SA)が親局1のIPアドレスと一致する。
従って、通信ノードNcは、パケットの送信先アドレス(DA=Ne)が親局1のIPアドレスに一致する場合には、順経路の経路エントリ(=親局エントリ)の探索を行わず、逆経路の経路エントリ(=子局エントリ)の探索を行えばよい。
In FIG. 6, when the communication node Ne is the master station 1, the transmission destination address (DA) of the packet matches the IP address of the master station 1. Conversely, when the communication node Na is the master station 1, the source address (SA) of the packet matches the IP address of the master station 1.
Therefore, when the destination address (DA = Ne) of the packet matches the IP address of the master station 1, the communication node Nc does not search for the forward route entry (= parent station entry) and does not search for the reverse route. The route entry (= slave station entry) may be searched.
逆に、通信ノードNcは、パケットの送信先アドレス(SA=Na)が親局1のIPアドレスに一致する場合には、逆経路の経路エントリ(=親局エントリ)の探索を行わず、順経路の経路エントリ(=子局エントリ)の探索を行えばよい。
このように、順経路及び順経路の経路エントリについては、親局エントリに対応する方向の経路エントリの探索を省略し、子局エントリに対応する方向の経路エントリの探索のみを実行すればよい。
On the other hand, when the destination address (SA = Na) of the packet matches the IP address of the master station 1, the communication node Nc does not search for a route entry (= master station entry) in the reverse path, The route entry (= slave station entry) of the route may be searched.
As described above, for the forward route and the forward route entry, the search for the route entry in the direction corresponding to the master station entry may be omitted, and only the search for the route entry in the direction corresponding to the slave station entry may be executed.
〔本実施形態に係る経路エントリのメモリ構成と期間更新処理〕
以下、上述の解決策に沿った経路エントリのメモリ構成と、期間更新処理の具体例を説明する。図7は、本実施形態の経路エントリのメモリ構成を示す説明図である。
図7に示すように、本実施形態の経路エントリのメモリ構成には、揮発性メモリ17の所定のメモリ領域に割り当てられた、エントリテーブルT1及びポインタテーブルT2が含まれる。エントリテーブルT1の内容は、図4の場合と同様である。
[Memory configuration and period update processing of route entry according to this embodiment]
A specific example of the path entry memory configuration and the period update process according to the above-described solution will be described below. FIG. 7 is an explanatory diagram showing the memory configuration of the path entry of this embodiment.
As shown in FIG. 7, the memory configuration of the path entry of this embodiment includes an entry table T1 and a pointer table T2 assigned to a predetermined memory area of the
ポインタテーブルT2には、ロー方向に配列された3つのアドレス格納部(ポインタ)P1〜P3が含まれる。アドレス格納部P1〜P3には、エントリ格納部♯i〜♯i+2のアドレスAi〜Ai+2を格納することができる。
アドレス格納部P1は、「順経路の次ホップ」のエントリ格納部のアドレスを指定するポインタである。アドレス格納部P2は、「逆経路の次ホップ」のエントリ格納部のアドレスを指定するポインタである。アドレス格納部P3は、「親局」のエントリ格納部のアドレスを指定するポインタである。
The pointer table T2 includes three address storage units (pointers) P1 to P3 arranged in the row direction. Address storage units P1 to P3 can store addresses Ai to Ai + 2 of entry storage units #i to # i + 2.
The address storage unit P1 is a pointer that designates the address of the entry storage unit of “next hop of forward route”. The address storage unit P2 is a pointer that designates the address of the entry storage unit of “next hop of reverse path”. The address storage unit P3 is a pointer that designates the address of the entry storage unit of “master station”.
このため、図7に示すように、アドレス格納部P1にアドレスAiを記すことにより、アドレスAiのエントリ格納部♯iの経路エントリが、順経路の次ホップの経路エントリであることを指定することができる。
同様に、アドレス格納部P2にアドレスAi+1を記すことにより、アドレスAi+1のエントリ格納部♯i+1の経路エントリが、逆経路の次ホップの経路エントリであることを指定することができる。
Therefore, as shown in FIG. 7, by designating the address Ai in the address storage unit P1, it is specified that the route entry in the entry storage unit #i of the address Ai is the route entry of the next hop of the forward route. Can do.
Similarly, by writing the address Ai + 1 in the address storage unit P2, it is possible to specify that the route entry of the entry storage unit # i + 1 of the address Ai + 1 is the next hop route entry of the reverse route.
また、アドレス格納部P3にアドレスAi+2を記すことにより、アドレスAi+2のエントリ格納部♯i+2の経路エントリが、親局エントリであることを指定することができる。
なお、ポインタP1〜P3による経路エントリのアドレス指定は、ネットワーク接続前に通信装置10に対して手動で設定してもよいし、管理装置2及び親局1などから送信した制御フレームによりリモートで設定することにしてもよい。
Further, by writing the address Ai + 2 in the address storage unit P3, it is possible to specify that the route entry of the entry storage unit # i + 2 of the address Ai + 2 is a master station entry.
Note that the address designation of the route entry by the pointers P1 to P3 may be manually set to the
図8は、本実施形態の有効期間の更新処理を示すフローチャートである。
図8に示すように、パケット中継部26が実行する本実施形態の有効期間の更新処理(期間更新処理)には、経路エントリの探索を伴う「第1更新処理」と、経路エントリの検索を伴わない「第2更新処理」とが含まれる。
FIG. 8 is a flowchart showing the validity period update processing according to the present embodiment.
As shown in FIG. 8, the effective period update process (period update process) executed by the
パケット中継部26は、受信した他局宛のパケットのIPヘッダから中継先(=パケットの送信先)を決定すると、中継先へのパケット送信の前に図8に示す期間更新処理を実行する。
図8の期間更新処理において、パケット中継部26は、まず、受信パケットのIPヘッダから抽出した送信元アドレス及び宛先アドレスのいずれか一方に、親局1のIPアドレスが含まれるか否かを判定する(ステップST21)。
When the
In the period update process of FIG. 8, the
ステップST21の判定により、自局で中継するパケットが、親局1と子局2が通信するためのパケットであるか否かが識別される。
ステップST21の判定結果が否定的である場合は、パケット中継部26は、通常の更新処理を実行してから(ステップST27)、処理を終了する。通常の更新処理とは、図4に示す期間更新処理のことである。
The determination in step ST21 identifies whether the packet relayed by the own station is a packet for communication between the master station 1 and the
If the determination result in step ST21 is negative, the
ステップST21の判定結果が肯定的である場合は、パケット中継部26は、子局アドレス側の経路エントリ(=子局エントリ)をエントリテーブルT1(図7)の中から探索する(ステップST22)。ステップST22の探索は、図6の順経路及び逆経路のうち、子局エントリに対応する方向の経路エントリを探索する処理に該当する。
その後、パケット中継部26は、ヒットした子局エントリの有効期間を設定値に更新する(ステップST23)。
If the determination result in step ST21 is affirmative, the
Thereafter, the
次に、パケット中継部26は、順経路の次ホップのポインタP1が指定するアドレスAiの経路エントリの有効期間を設定値に更新する(ステップST24)。
パケット中継部26は、逆経路の次ホップのポインタP2が指定するアドレスAi+1の経路エントリの有効期間を設定値に更新する(ステップST25)。
パケット中継部26は、親局エントリのポインタP3が指定するアドレスAi+2の経路エントリの有効期間を設定値に更新する(ステップST26)。
Next, the
The
The
ステップST24〜ST26の有効期間の更新処理は、ポインタP1〜P3の指定により予め確定された経路エントリに対する更新処理であり、エントリテーブルT1に対する探索は行われない。すなわち、これらの更新処理では経路エントリの探索が省略される。
パケット中継部26は、ステップST24〜ST26の有効期間の更新処理を実行すると、処理を終了する。なお、ステップST24〜ST26の3つの処理は、順序を任意に入れ替えることができる。
The valid period update process in steps ST24 to ST26 is an update process for a route entry determined in advance by designation of the pointers P1 to P3, and no search is performed on the entry table T1. In other words, the route entry search is omitted in these update processes.
The
〔通信装置の効果〕
本実施形態の通信装置10によれば、パケット中継部26が、順経路の次ホップと逆経路の次ホップの経路エントリについては、エントリテーブルT1に対する探索を行わずに、それらの経路エントリの有効期間を更新する(図8のステップST24,ST25)。
従って、順経路とその次ホップ及び逆経路とその次ホップの4種類の経路エントリをすべて探索する従来の更新処理(図5)に比べて、順経路の次ホップと逆経路の次ホップの経路エントリの探索が不要な分だけ、有効期間の更新のための処理時間を削減できる。
[Effect of communication device]
According to the
Therefore, compared to the conventional update process (FIG. 5) that searches all four types of route entries of the forward route, its next hop and reverse route, and its next hop, the route of the next hop of the forward route and the next hop of the reverse route. The processing time for updating the validity period can be reduced by the amount that does not require searching for entries.
このため、上記の更新処理を行う通信装置10を直列形態の通信経路に含まれる通信ノードNとして採用することにより、当該通信ノードNによるパケット転送のレイテンシが低減し、通信ネットワークNWのスループットを向上することができる。
For this reason, by adopting the
本実施形態の通信装置10によれば、パケット中継部26が、順経路及び逆経路の経路エントリのうち親局エントリに該当する経路エントリについては、エントリテーブルT1に対する探索を行わずに、当該順経路又は逆経路の経路エントリの有効期間を更新する(図8のステップST26)。
従って、順経路とその次ホップ及び逆経路とその次ホップの4種類の経路エントリをすべて探索する従来の更新処理(図5)に比べて、順経路又は逆経路の経路エントリのいずれかの探索が不要な分だけ、有効期間の更新のための処理時間を削減できる。
According to the
Therefore, compared with the conventional update process (FIG. 5) that searches all four types of route entries of the forward route, its next hop, and the reverse route and its next hop, it searches for either the forward route or the reverse route route entry. The processing time for updating the effective period can be reduced by the amount that is unnecessary.
このため、上記の更新処理を行う通信装置10を直列形態の通信経路に含まれる通信ノードNとして採用することにより、当該通信ノードNによるパケット転送のレイテンシが低減し、通信ネットワークのスループットが向上する。
For this reason, by adopting the
〔経路エントリのメモリ構成の変形例〕
上述の実施形態では、所定の経路エントリを検索が不要となるように記憶する手段として、エントリテーブルT1のアドレスAi〜Ai+2を指定するポインタテーブルT2(図7)を設けている。
もっとも、図9に示すように、揮発性メモリ17の内部に割り当てた個別格納部により、順経路の次ホップの経路エントリ、逆経路の次ホップの経路エントリ、及び親局エントリの検索が不要となるように、それらの経路エントリを記憶することにしてもよい。
[Modification of memory configuration of route entry]
In the above-described embodiment, the pointer table T2 (FIG. 7) for designating the addresses Ai to Ai + 2 of the entry table T1 is provided as means for storing a predetermined route entry so as not to be searched.
However, as shown in FIG. 9, it is not necessary to search for the next hop route entry of the forward route, the next hop route entry of the reverse route, and the master station entry by the individual storage unit allocated inside the
ずなわち、図9は、経路エントリのメモリ構成の変形例を示す説明図である。
図9のメモリ構成では、揮発性メモリ17のエントリテーブルT1の内部に、3つのエントリ格納部B1〜B3を有する個別格納部が割り当てられている。
エントリ格納部B1は、順経路の次ホップの経路エントリを格納するための格納部である。エントリ格納部B2は、逆経路の次ホップの経路エントリを格納するための格納部である。エントリ格納部B3は、親局エントリを格納するための格納部である。
In other words, FIG. 9 is an explanatory diagram showing a modified example of the memory configuration of the path entry.
In the memory configuration of FIG. 9, an individual storage unit having three entry storage units B1 to B3 is allocated inside the entry table T1 of the
The entry storage unit B1 is a storage unit for storing the next hop route entry of the forward route. The entry storage unit B2 is a storage unit for storing the next hop route entry of the reverse route. The entry storage unit B3 is a storage unit for storing a master station entry.
図9のメモリ構成を採用する場合には、パケット中継部26は、図8の期間更新処理のステップST24〜ST26の処理において、個別格納部のエントリ格納部B1〜B3にそれぞれ格納された経路エントリの有効期間を更新するようにすればよい。
When the memory configuration of FIG. 9 is adopted, the
図9のメモリ構成において、個別格納部の格納場所は、揮発性メモリ17ではなく、制御部11のCPUの内蔵メモリであってもよい。
このようにすれば、揮発性メモリ17に個別格納部を設ける場合に比べて、エントリ格納部B1〜B3にそれぞれ格納された各経路エントリの有効期間をより迅速に更新できるようになる。
In the memory configuration of FIG. 9, the storage location of the individual storage unit may be the internal memory of the CPU of the
In this way, the effective period of each path entry stored in each of the entry storage units B1 to B3 can be updated more quickly than in the case where an individual storage unit is provided in the
〔その他の変形例〕
今回開示された実施の形態はすべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は特許請求の範囲によって示され、特許請求の範囲と均等の意味及び範囲内での全ての変更が含まれることが意図される。
[Other variations]
The embodiment disclosed this time should be considered as illustrative in all points and not restrictive. The scope of the present invention is defined by the terms of the claims, and is intended to include any modifications within the scope and meaning equivalent to the terms of the claims.
上述の実施形態において、直列形態の通信経路の途中に設ける通信ノード(中間ノード)Nは、必ずしも通信ポートが2つのタイプ(非分岐)である必要はなく、3ポート以上の通信ポートを有する通信装置10であってもよい。
この場合、2ポート用の第1動作モードと、3ポート以上である多ポート用の第2動作モードとを実行させるプログラムを通信装置10に組み込み、第1動作モードの場合に上述の期間更新処理(図8)を実行させ、第2動作モードの場合に通常の期間更新処理(図5)を実行させることにすればよい。
In the above-described embodiment, the communication node (intermediate node) N provided in the middle of the serial communication path does not necessarily have two types of communication ports (non-branching), and communication having three or more communication ports. The
In this case, a program for executing the first operation mode for two ports and the second operation mode for multi-ports having three or more ports is incorporated in the
上述の本実施形態では、ディスタンスベクタ型のルーティングプロトコルとしてAODVとDYMOを例示したが、これに限定されない。プロトコルの一部に改良と修正を加えたり、リンクステート型のプロトコルと組み合わせたりするなどの変更も可能である。 In the above-described embodiment, AODV and DYMO are illustrated as distance vector type routing protocols, but the present invention is not limited to this. Modifications such as improvements and modifications to a part of the protocol and combination with a link state type protocol are also possible.
また、各通信ノードNがディスタンスベクタ型のルーティングプロトコルに則って経路制御を行う本実施形態の通信ネットワークNWにおいて、ルート選択基準であるメトリックの種類は、ホップ数やノード間距離などがあり、採用するプロトコルに応じて所定のパラメータが選択され得る。 In addition, in the communication network NW of the present embodiment in which each communication node N performs route control according to a distance vector type routing protocol, the type of metric that is a route selection criterion includes the number of hops, the distance between nodes, and the like. A predetermined parameter may be selected depending on the protocol to be performed.
更に、本実施形態の通信ネットワークNWにおいて、各通信ノードNに適用する経路選択アルゴリズムは、必ずしもメトリックが最適(例えばホップ数が最小)なルートを選択するアルゴリズムだけでなく、好適なもの(他の制約を加味して、例えば2番目に適したもの)を選択するなどの、他のアルゴリズムであってもよい。 Furthermore, in the communication network NW according to the present embodiment, the route selection algorithm applied to each communication node N is not limited to an algorithm that selects a route with an optimal metric (for example, the minimum number of hops), but also a suitable one (other Other algorithms may be used, such as selecting the second most suitable one in consideration of constraints.
1 親局
2 子局
3 上位網
4 管理装置
5 伝送路
6 端末装置
10 通信装置
11 制御部
12 記憶部
13 通信部
14 電源供給部
15 クロック部
16 不揮発性メモリ
17 揮発性メモリ
18 内部バス
21 ヘッダ判定部
22 プロトコル判定部
23 エントリ判定部
24 AODV処理部
25 メッセージ処理部
26 パケット中継部
27 経路探索部
28 探索待ちキュー
29 汎用処理部
N0〜N6 通信ノード
NW 通信ネットワーク
T1 エントリテーブル(参照テーブル)
T2 ポインタテーブル
DESCRIPTION OF SYMBOLS 1
T2 pointer table
Claims (3)
有効期間が設定された宛先ノードごとの複数の経路エントリを含む参照テーブルを記憶する記憶部と、
他局宛のパケットを隣接ノードに中継する場合に、前記パケットの宛先及び送信元に対応する下記に定義する第1〜第4エントリの前記有効期間をそれぞれ更新する制御部と、を備えており、
前記記憶部は、前記参照テーブルに対する探索が不要となるように、前記第2及び第4エントリを個別に記憶しており、
前記制御部は、前記第2及び第4エントリについては、前記参照テーブルに対する探索を行わずに、当該第2及び第4エントリの前記有効期間を更新する通信装置。
第1エントリ:パケットの宛先に対応する順経路の経路エントリ
第2エントリ:パケットの宛先に対応する順経路の次ホップの経路エントリ
第3エントリ:パケットの送信元に対応する逆経路の経路エントリ
第4エントリ:パケットの送信元に対応する逆経路の次ホップの経路エントリ A communication device used for the communication node, located in the middle of a communication path in which communication nodes performing autonomous path control in a communication network are arranged in series,
A storage unit for storing a reference table including a plurality of route entries for each destination node for which a validity period is set;
A controller that updates each of the validity periods of the first to fourth entries defined below corresponding to the destination and source of the packet when a packet addressed to another station is relayed to an adjacent node. ,
The storage unit individually stores the second and fourth entries so that a search for the reference table is not necessary.
The said control part is a communication apparatus which updates the said effective period of the said 2nd and 4th entry, without performing the search with respect to the said reference table about the said 2nd and 4th entry.
First entry: Route entry of the forward route corresponding to the destination of the packet Second entry: Route entry of the next hop of the forward route corresponding to the destination of the packet Third entry: Route entry of the reverse route corresponding to the source of the packet 4 entries: Route entry of the next hop of the reverse route corresponding to the packet source
前記記憶部は、前記参照テーブルに対する探索が不要となるように、前記宛先ノードが前記親局の前記経路エントリである親局エントリを個別に記憶しており、
前記制御部は、前記第1及び第3エントリのうち前記親局エントリに該当する前記第1又は前記第3エントリについては、前記参照テーブルに対する探索を行わずに、当該第1又は第3エントリの前記有効期間を更新する請求項1に記載に通信装置。 When the communication network includes one master station and a plurality of slave stations, and relays the packet for communication between the master station and the slave stations,
The storage unit individually stores a master station entry in which the destination node is the route entry of the master station so that a search for the reference table is unnecessary,
The control unit does not search the reference table for the first or third entry corresponding to the master station entry among the first and third entries, and stores the first or third entry. The communication apparatus according to claim 1, wherein the valid period is updated.
有効期間が設定された宛先ノードごとの複数の経路エントリを含む参照テーブルを記憶する第1ステップと、
他局宛のパケットを隣接ノードに中継する場合に、前記パケットの宛先及び送信元に対応する下記に定義する第1〜第4エントリの前記有効期間をそれぞれ更新する第2ステップと、を含み、
前記第1ステップには、前記参照テーブルに対する探索が不要となるように、前記第2及び第4エントリを個別に記憶する処理が含まれ、
前記第2ステップには、前記第2及び第4エントリについては、前記参照テーブルに対する探索を行わずに、当該第2及び第4エントリの前記有効期間を更新する処理が含まれるパケットの中継方法。
第1エントリ:パケットの宛先に対応する順経路の経路エントリ
第2エントリ:パケットの宛先に対応する順経路の次ホップの経路エントリ
第3エントリ:パケットの送信元に対応する逆経路の経路エントリ
第4エントリ:パケットの送信元に対応する逆経路の次ホップの経路エントリ A packet relay method performed by a communication device used for the communication node, located in the middle of a communication path in which communication nodes performing autonomous path control in a communication network are arranged in series,
A first step of storing a lookup table including a plurality of route entries for each destination node for which a validity period is set;
A second step of updating each of the validity periods of the first to fourth entries defined below corresponding to the destination and source of the packet when relaying a packet addressed to another station to an adjacent node,
The first step includes a process of individually storing the second and fourth entries so that a search for the reference table is not necessary.
The packet relaying method, wherein the second step includes a process of updating the validity period of the second and fourth entries without searching the reference table for the second and fourth entries.
First entry: Route entry of the forward route corresponding to the destination of the packet Second entry: Route entry of the next hop of the forward route corresponding to the destination of the packet Third entry: Route entry of the reverse route corresponding to the source of the packet 4 entries: Route entry of the next hop of the reverse route corresponding to the packet source
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2015104664A JP2016220102A (en) | 2015-05-22 | 2015-05-22 | Communication device and packet relay method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2015104664A JP2016220102A (en) | 2015-05-22 | 2015-05-22 | Communication device and packet relay method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2016220102A true JP2016220102A (en) | 2016-12-22 |
Family
ID=57578670
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2015104664A Pending JP2016220102A (en) | 2015-05-22 | 2015-05-22 | Communication device and packet relay method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2016220102A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2018125607A (en) * | 2017-01-30 | 2018-08-09 | 古河電気工業株式会社 | Node device and control method therefor |
| JP7536726B2 (en) | 2021-09-14 | 2024-08-20 | 株式会社東芝 | Wireless relay device, gateway device and wireless system |
-
2015
- 2015-05-22 JP JP2015104664A patent/JP2016220102A/en active Pending
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2018125607A (en) * | 2017-01-30 | 2018-08-09 | 古河電気工業株式会社 | Node device and control method therefor |
| JP7536726B2 (en) | 2021-09-14 | 2024-08-20 | 株式会社東芝 | Wireless relay device, gateway device and wireless system |
| US12137376B2 (en) | 2021-09-14 | 2024-11-05 | Kabushiki Kaisha Toshiba | Wireless relay device, gateway device, and multi-hop network system |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8848703B2 (en) | On-chip router and multi-core system using the same | |
| JP6485671B2 (en) | Resource-aware multitask routing in multi-hop heterogeneous wireless networks | |
| US7944899B2 (en) | Predictive routing technique in the ad hoc wireless network | |
| JP4732972B2 (en) | Ad hoc network, node, route control method, and route control program | |
| CN110100479B (en) | Device and method for optimizing routing failure by using modified non-path DAO signaling | |
| EP2822255B1 (en) | System and method of a hardware shadow for a network element | |
| JP6927072B2 (en) | Route selection device, route selection method and program | |
| JP2012216078A (en) | Information processor, parallel computer system, and method for controlling parallel computer system | |
| JP4498377B2 (en) | Communication path setting device | |
| US20140211662A1 (en) | Network Topologies for Energy Efficient Networks | |
| JP2010074691A (en) | Ad-hoc network wireless communication method | |
| JP2016220102A (en) | Communication device and packet relay method | |
| JPWO2013042209A1 (en) | Data transfer method and node apparatus using the same | |
| CN104205943B (en) | Communication system and communication method | |
| JP2016201654A (en) | Communication device and packet relay method | |
| US9565107B2 (en) | Packet relay system, packet relay method, and packet relay device | |
| US10832370B2 (en) | System and method of hitless reconfiguration of a data processing pipeline with standby pipeline | |
| WO2014080564A1 (en) | Network system | |
| JP2009165070A (en) | Ad hoc network communication system, method thereof and communication terminal | |
| KR101780657B1 (en) | Path information exchange method, communication node, communication system, and computer-readable storage medium storing a communication node program | |
| US10585725B2 (en) | System and method of hitless reconfiguration of a data processing pipeline | |
| JP5079033B2 (en) | Communication path setting device, multi-hop network system | |
| Nakasuwan et al. | Performance comparison of AODV and OLSR for MANET | |
| JP5079032B2 (en) | Communication path setting device, multi-hop network system | |
| JP7121821B1 (en) | Communication system, communication device, program, and processing method |