JP2012049772A - Communication device - Google Patents
Communication device Download PDFInfo
- Publication number
- JP2012049772A JP2012049772A JP2010189298A JP2010189298A JP2012049772A JP 2012049772 A JP2012049772 A JP 2012049772A JP 2010189298 A JP2010189298 A JP 2010189298A JP 2010189298 A JP2010189298 A JP 2010189298A JP 2012049772 A JP2012049772 A JP 2012049772A
- Authority
- JP
- Japan
- Prior art keywords
- wired
- wireless
- protocol
- route information
- node
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Abstract
Description
本発明は、通信装置に関する。 The present invention relates to a communication device.
例えば、非特許文献1は、アドホックネットワークのルーティングプロトコルの1つであるOLSR(Optimized Link State Routing Protocol)の仕様を開示する。
For example, Non-Patent
本発明は、上述のような背景からなされたものであり、有線プロトコルおよび無線プロトコルの制御メッセージに基づいて取得した有線経路情報および無線経路情報を、互いのプロトコルにおいて反映させ、それぞれのネットワークにおける接続状況を考慮したルーティングを行うよう改良された通信装置を提供する。 The present invention has been made from the background as described above, and reflects the wired route information and the wireless route information acquired based on the control message of the wired protocol and the wireless protocol in each other's protocol, and connects in each network. Provided is an improved communication device that performs routing in consideration of a situation.
上記目的を達成するために、本発明に係る通信装置(2)は、有線経路情報に従ってルーティングを行う有線プロトコルと、無線経路情報に従ってルーティングを行う無線プロトコルとに従って動作する通信ネットワーク(1)を構成する複数のノードのうちの少なくとも1つを示し、前記通信ネットワークにおける他のノードまでの前記有線経路情報および前記無線経路情報に基づいて、前記他のノードに対してデータを送信する通信装置であって、前記有線プロトコルに従って、他のノードに対してデータを送信する場合に用いられる前記有線経路情報を記憶する有線経路情報記憶手段(214)と、前記無線プロトコルに従って、他のノードに対してデータを送信する場合に用いられる前記無線経路情報を記憶する無線経路情報記憶手段(214)と、前記有線プロトコルおよび前記無線プロトコルのいずれかのルーティングプロトコルに基づいて生成された経路情報を、前記有線経路情報記憶手段および前記無線経路情報記憶手段に記憶させるよう制御する制御手段(3)とを有する。
なお、ここで付された符号は、本願発明の理解を助けることを意図するものであり、本願発明の技術的範囲を限定することを意図するものではない。
To achieve the above object, a communication device (2) according to the present invention configures a communication network (1) that operates according to a wired protocol that performs routing according to wired route information and a wireless protocol that performs routing according to wireless route information. A communication device that transmits data to the other nodes based on the wired route information and the wireless route information to the other nodes in the communication network. The wired route information storage means (214) for storing the wired route information used when transmitting data to other nodes according to the wired protocol, and the data to other nodes according to the wireless protocol A wireless path information storage unit for storing the wireless path information used when transmitting (214) and control means for controlling the route information generated based on the routing protocol of either the wired protocol or the wireless protocol to be stored in the wired route information storage means and the wireless route information storage means ( 3).
In addition, the code | symbol attached | subjected here intends helping an understanding of this invention, and does not intend limiting the technical scope of this invention.
本発明に係る通信装置によれば、有線プロトコルおよび無線プロトコルの制御メッセージに基づいて取得した有線経路情報および無線経路情報を、互いのプロトコルにおいて反映させ、それぞれのネットワークにおける接続状況を考慮したルーティングを行うことができる。 According to the communication device according to the present invention, the routing information obtained based on the control message of the wired protocol and the wireless protocol is reflected in the mutual protocol, and the routing considering the connection status in each network is performed. It can be carried out.
[本発明の背景]
本発明の理解を助けるために、まず、本発明がなされるに至った背景を説明する。
複数のノード(移動可能または固定の通信装置や端末など)から構成されるコンピュータネットワークにおいて、有線プロトコルや無線プロトコルを利用してルーティングを行うことにより、ノード間で必要なデータが送受信される。
有線ルーティングプロトコルとして、例えば、RIP(Routing Information Protocol)や、OSPF(Open Shortest Path Fast)などを含むIGP(Interior Gateway Protocol)が用いられる。
また、無線ルーティングプロトコルとして、例えば、OLSR(Optimized Link State Routing)や、AODV(Adhoc Ondemand Distance Vector)などのユニキャストアドホックルーティングプロトコルが用いられる。
[Background of the invention]
In order to help understanding of the present invention, first, the background that led to the present invention will be described.
In a computer network composed of a plurality of nodes (movable or fixed communication devices, terminals, etc.), necessary data is transmitted and received between nodes by performing routing using a wired protocol or a wireless protocol.
As the wired routing protocol, for example, IGP (Interior Gateway Protocol) including RIP (Routing Information Protocol), OSPF (Open Shortest Path Fast) and the like are used.
Further, as a wireless routing protocol, for example, a unicast ad hoc routing protocol such as OLSR (Optimized Link State Routing) or AODV (Adhoc Ondemand Distance Vector) is used.
図1は、有線プロトコルおよび無線プロトコルを用いてルーティングを行い、他のノードと通信し得る一般的な通信装置の構成を例示する図である。
図1に示すように、一般的な通信装置は、レイヤ1層(L1層;物理層)のEthernet(登録商標)PHY200、WirelessNetworkPHY202、レイヤ2層(L2層;MAC層)のEthernetMAC204、WirelessMAC206、レイヤ3層(L3層;ネットワーク層)のルーティングテーブル208、および、レイヤ4層(L4層;トランスポート層)以上の層の有線プロトコル部および無線プロトコル部から構成される。
さらに、有線プロトコル部および無線プロトコル部それぞれは、制御メッセージ送受信部210、プロトコル制御部212、ルーティング情報ベース214、制御メッセージ生成部216、ルーティング登録部218から構成される。
FIG. 1 is a diagram illustrating a configuration of a general communication apparatus that performs routing using a wired protocol and a wireless protocol and can communicate with other nodes.
As shown in FIG. 1, a general communication apparatus includes an Ethernet (registered trademark)
Further, each of the wired protocol unit and the wireless protocol unit includes a control message transmission / reception unit 210, a protocol control unit 212, a routing information base 214, a control message generation unit 216, and a routing registration unit 218.
なお、以下、各図において、実質的に同じ構成部分・処理には、同じ符号が付される。
また、例えば、有線プロトコル部の「制御メッセージ送受信部210」、および、無線プロトコル部の「制御メッセージ送受信部210」を区別する場合は、「有線制御メッセージ送受信部210」および「無線制御メッセージ送受信部210」と記述する。
In the following, in each figure, substantially the same components and processes are denoted by the same reference numerals.
For example, when distinguishing the “control message transmission / reception unit 210” of the wired protocol unit and the “control message transmission / reception unit 210” of the wireless protocol unit, the “wired control message transmission / reception unit 210” and the “wireless control message transmission / reception unit” 210 ".
EthernetPHY200は、EthernetMAC204の要求に応じて、有線ネットワークの物理的な接続の確立、維持および解放などを制御する。
WirelessNetworkPHY202は、WirelessMAC206の要求に応じて、無線ネットワークの物理的な接続の確立、維持および解放などを制御する。
EthernetMAC204は、有線制御メッセージ送受信部210から送信される制御メッセージに基づいて、EthernetPHY200に対して、制御要求をする。
また、EthernetMAC204は、有線制御メッセージ送受信部210に対して、定期的に制御メッセージを送信する。
The Ethernet PHY 200 controls establishment, maintenance, and release of a physical connection of a wired network in response to a request from the Ethernet MAC 204.
The Wireless Network PHY 202 controls establishment, maintenance, and release of a wireless network physical connection in response to a request from the Wireless MAC 206.
The Ethernet MAC 204 makes a control request to the Ethernet PHY 200 based on the control message transmitted from the wired control message transmission / reception unit 210.
The Ethernet MAC 204 periodically transmits a control message to the wired control message transmission / reception unit 210.
EthernetMAC204で送信される制御メッセージは、例えば、RIP(Routing Information Protocol)の経路更新メッセージを示す。
WirelessMAC206は、無線制御メッセージ送受信部210から送信される制御メッセージに基づいて、WirelessNetworkPHY202に対して、制御要求をする。
また、WirelessMAC206は、無線制御メッセージ送受信部210に対して、定期的に制御メッセージを送信する。
The control message transmitted by the Ethernet MAC 204 indicates, for example, a RIP (Routing Information Protocol) route update message.
The wireless MAC 206 makes a control request to the wireless network PHY 202 based on the control message transmitted from the wireless control message transmission / reception unit 210.
The
WirelessMAC206で送信される制御メッセージは、例えば、OLSRのHelloメッセージ、TC(Topology Control)メッセージ、および、HNA(Host and Network Association)メッセージなどを示す。
Helloメッセージは、自己のノード周辺に存在するノードの情報を把握するために用いられ、TCメッセージは、ネットワーク全体のノードの接続状態を把握するために用いられ、HNAメッセージは、ノードがゲートウェイとして利用さる場合に用いられる。
ルーティングテーブル208は、有線ルーティング登録部218および無線ルーティング登録部218から入力された経路情報を記憶する。
The control message transmitted by the
The Hello message is used to grasp the information of nodes existing around its own node, the TC message is used to grasp the connection state of the nodes of the entire network, and the HNA message is used by the node as a gateway. Used for monkeys.
The routing table 208 stores route information input from the wired routing registration unit 218 and the wireless routing registration unit 218.
経路情報は、例えば、データ送信元ノードの情報、データ送信先ノードの情報、送信元ノードから送信先ノードへデータを送信するために中継する中継ノードのうちの隣接する中継ノードの情報、中継ノード数、出力先の接続種別(有線または無線など)を含む。
制御メッセージ送受信部210は、有線プロトコル部においては、EthernetMAC204から定期的に送信される制御メッセージを受信し、無線プロトコル部においては、WirelessMAC206から定期的に送信される制御メッセージを受信する。
また、制御メッセージ送受信部210は、受信した制御メッセージを、プロトコル制御部212に対して出力する。
The route information includes, for example, data transmission source node information, data transmission destination node information, information on adjacent relay nodes among relay nodes that relay data to transmit data from the transmission source node to the transmission destination node, and relay nodes. Number and output destination connection type (wired or wireless).
The control message transmitting / receiving unit 210 receives a control message periodically transmitted from the Ethernet MAC 204 in the wired protocol unit, and receives a control message periodically transmitted from the Wireless
Further, the control message transmission / reception unit 210 outputs the received control message to the protocol control unit 212.
また、制御メッセージ送受信部210は、制御メッセージ生成部216から入力された制御メッセージを、有線プロトコル部においては、EthernetMAC204に対して出力し、無線プロトコル部においては、WirelessMAC206に対して出力する。
プロトコル制御部212は、制御メッセージ送受信部210から入力された制御メッセージに基づいて、制御メッセージを解析して、ルーティングテーブル208が記憶する経路情報の基礎情報である経路情報ベースを生成し、ルーティング情報ベース214に対して出力する。
経路情報ベースは、例えば、制御メッセージの受信時間、情報種別、経路情報ベースを記憶する自己のノード情報、制御メッセージの送信元ノード情報、データ送信先ノードの情報、中継ノードの情報、送信元ノードまでのホップ数、出力先の接続種別を含む。
情報種別は、例えば、自己のノードと隣接する無線ノードとの経路情報ベースであることを示すLinkTupleSet、自己のノードの2ホップ先の無線ノードとの経路情報ベースであることを示す2hopLinkTupleSet、自己のノードと中継ノードとの経路情報ベースであることを示すMPRTuple、および、自己のノードと有線ノードとの経路情報ベースであることを示すHNATupleを示す。
In addition, the control message transmission / reception unit 210 outputs the control message input from the control message generation unit 216 to the Ethernet MAC 204 in the wired protocol unit, and outputs to the Wireless MAC 206 in the wireless protocol unit.
The protocol control unit 212 analyzes the control message based on the control message input from the control message transmission / reception unit 210, generates a route information base that is basic information of the route information stored in the routing table 208, and generates routing information. Output to the base 214.
The route information base is, for example, control message reception time, information type, own node information storing the route information base, source node information of the control message, data destination node information, relay node information, source node The number of hops up to and the connection type of the output destination are included.
The information type is, for example, LinkTupleSet indicating that it is a path information base between its own node and an adjacent wireless node, 2hopLinkTupleSet indicating that it is a path information base with a wireless node two hops ahead of its own node, MPRTuple indicating that it is a path information base between a node and a relay node, and HNATuple indicating that it is a path information base between its own node and a wired node.
ルーティング情報ベース214は、プロトコル制御部212から入力された経路情報ベースを、制御メッセージ生成部216およびルーティング登録部218に参照可能に記憶する。
また、ルーティング情報ベース214は、記憶する経路情報ベースに含まれる送信元ノードからの経路情報ベースが、予め定められた期間、プロトコル制御部212から入力されない場合、この経路情報ベースを削除する。
また、有線ルーティング情報ベース214に記憶された有線経路情報ベースは、有線プロトコルに従って、送信先ノードへデータを送信するための経路を把握するために用いられる。
また、無線ルーティング情報ベース214に記憶された無線経路情報ベースは、無線プロトコルに従って、送信先ノードへデータを送信するための経路を把握するために用いられる。
The routing information base 214 stores the route information base input from the protocol control unit 212 so that it can be referred to the control message generation unit 216 and the routing registration unit 218.
Further, the routing information base 214 deletes the route information base when the route information base from the transmission source node included in the stored route information base is not input from the protocol control unit 212 for a predetermined period.
The wired route information base stored in the wired routing information base 214 is used for grasping the route for transmitting data to the transmission destination node according to the wired protocol.
The wireless route information base stored in the wireless routing information base 214 is used for grasping a route for transmitting data to the destination node according to the wireless protocol.
制御メッセージ生成部216は、ルーティング情報ベース214が記憶する経路情報ベースを定期的に取得して、取得した経路情報ベースから必要な情報を抽出して制御メッセージを生成する。
また、制御メッセージ生成部216は、制御メッセージ送受信部210に対して、生成した制御メッセージを出力する。
ルーティング登録部218は、ルーティング情報ベース214を定期的に監視し、ルーティング情報ベース214が記憶する経路情報ベースが更新されると、更新された経路情報ベースに基づいて経路情報を生成し、ルーティングテーブル208に対して出力する。
The control message generation unit 216 periodically acquires a route information base stored in the routing information base 214, extracts necessary information from the acquired route information base, and generates a control message.
In addition, the control message generation unit 216 outputs the generated control message to the control message transmission / reception unit 210.
The routing registration unit 218 periodically monitors the routing information base 214. When the route information base stored in the routing information base 214 is updated, the routing registration unit 218 generates route information based on the updated route information base, and generates a routing table. Output to 208.
図1を参照して説明したように、一般的な通信装置は、有線プロトコルおよび無線プロトコルを用い得るが、それぞれを独立して用いるので、それぞれのプロトコルの制御メッセージに基づいて取得した経路情報を互いに参照して、互いの経路情報ベースに反映させることはない。
そのため、有線ネットワークにおけるノードの接続状況と、有線ネットワークにおけるノードの接続状況とを考慮したルーティングを実現することは、困難な場合がある。
具体的には、例えば、無線接続されるノード間では互いの存在を知り得るが、一方のノードは、他方のノードと有線接続されるノードの存在を知ることができない場合がある。
As described with reference to FIG. 1, a general communication device can use a wired protocol and a wireless protocol. However, since each of them is used independently, the route information acquired based on the control message of each protocol is used. References to each other are not reflected in each other's route information base.
For this reason, it may be difficult to realize routing that takes into account the connection status of nodes in the wired network and the connection status of nodes in the wired network.
Specifically, for example, nodes that are wirelessly connected can know each other's existence, but one node may not know the existence of a node that is wired-connected to the other node.
この場合、ノードは、本来データを送信すべき他のノードまでのルーティング情報を得ることができず、他のノードに対して適切にデータを送信できない場合がある。
本発明に係る無線装置は、このような背景からなされたものであり、有線プロトコルおよび無線プロトコルの制御メッセージに基づく有線経路情報および無線経路情報を、互いのプロトコルにおいて反映させ、それぞれのネットワークにおける接続状況を考慮したルーティングが行われるよう工夫されている。
In this case, the node may not be able to obtain routing information to other nodes that should originally transmit data, and may not be able to transmit data appropriately to other nodes.
The wireless device according to the present invention is made from such a background, and the wired route information and the wireless route information based on the control message of the wired protocol and the wireless protocol are reflected in each other protocol, and the connection in each network is made. It is devised to perform routing considering the situation.
[ネットワーク1]
図2は、本発明に係る通信装置2−1〜2−5を有するネットワーク1の構成を例示する図である。
図2に示すように、ネットワーク1は、一般的な有線ルータ(RT;Router)120−1,120−2、一般的な無線ルータ(WR;Wireless Router)122−1、一般的な端末装置(TMN;Terminal)124−1〜124−3、および、本発明に係る通信装置(IR;Integrated Router)2−1〜2−5から構成される。
通信装置2−1〜2−5、有線ルータ120−1,120−2、および、端末装置124−1〜124−3は、互いに有線リンク130を介して接続され得る。
また、通信装置2−1〜2−5は、他の通信装置2−1〜2−5、および、無線ルータ122−1と、無線リンク140を介して接続され得る。
[Network 1]
FIG. 2 is a diagram illustrating a configuration of the
As shown in FIG. 2, the
The communication devices 2-1 to 2-5, the wired routers 120-1 and 120-2, and the terminal devices 124-1 to 124-3 can be connected to each other via a
Further, the communication devices 2-1 to 2-5 can be connected to the other communication devices 2-1 to 2-5 and the wireless router 122-1, via the
また、ネットワーク1には、ドメイン150−1〜150−3が存在し、通信装置2−1〜2−5は、無線リンク140を介して接続された異なるドメインに属する他の通信装置2−1〜2−5、および、無線ルータ122−1との間で、データを送受信する。
なお、図2においては、説明の明確化・具体化のために、ネットワーク1が、2台の有線ルータ120−1,120−2、1台の無線ルータ122−1、3台の端末装置124−1〜124−3、および、5台の通信装置2−1〜2−5から構成される場合を具体例としているが、これらのルータおよび装置の台数は、これに限定されるものではない。
The
In FIG. 2, for clarification and concrete explanation, the
また、例えば、通信装置2−1と有線ルータ120−1とが、有線リンク130を介して接続され、通信装置2−1と無線ルータ122−2とが、無線リンク140を介して接続されているが、図2に示すような接続状態に限定されるものではない。
また、以下、通信装置2−1〜2−5など、複数ある構成部分のいずれかを示すときは、単に、通信装置2と記載することがあり、有線ルータ120、無線ルータ122、端末装置124、および、通信装置2を区別せず、単に「ノード」と記載することがある。
Further, for example, the communication device 2-1 and the wired router 120-1 are connected via the
Hereinafter, when any one of a plurality of components such as the communication devices 2-1 to 2-5 is indicated, the
[ハードウェア構成]
以下、通信装置2のハードウェア構成を説明する。
図2に示すように、通信装置2は、CPU102、ROM及びRAMなどを含むメモリ104及びこれらの周辺回路などから構成される本体100、表示装置、キーボードなどを含む入出力装置106、無線リンク140と本体100との間で情報を送受信する無線インターフェース(IF)部110、有線リンク130と本体100との間で情報を送受信する有線IF部112、HD,CD,DVDなどの記憶媒体116に対してデータの書き込みおよび読み出しを行う記録装置114から構成される。
つまり、通信装置2は、要求される機能を実現するための構成部分を有し、他のノードと通信可能な無線通信装置としての構成部分を有している。
[Hardware configuration]
Hereinafter, the hardware configuration of the
As shown in FIG. 2, the
In other words, the
[ソフトウェア構成]
図3は、通信装置2(図2)上で実行される通信装置プログラム(ソフトウェア構成)20を例示する図である。
図3に示すように、通信装置プログラム20は、図1に示した一般的な通信装置の構成に、通知メッセージ送受信部222、および、統合管理部3を追加した構成をとる。
また、統合管理部3は、通知メッセージ受信部224、統合ルーティング情報ベース226、制御部228、および、通知メッセージ送信部230から構成される。
通信装置プログラム20は、例えば、メモリ104(図2)に記憶されて各通信装置2に供給され、必要に応じて、各通信装置2にインストールされたOS(図示せず)上で、各通信装置2のハードウェア資源を、具体的に利用して実行される。
Software configuration
FIG. 3 is a diagram illustrating a communication device program (software configuration) 20 executed on the communication device 2 (FIG. 2).
As illustrated in FIG. 3, the communication device program 20 has a configuration in which a notification message transmission / reception unit 222 and an
The
The communication device program 20 is stored in, for example, the memory 104 (FIG. 2), supplied to each
通信装置プログラム20は、有線プロトコルを利用したメッセージに基づく情報と、無線プロトコルを利用したメッセージに基づく情報とを取得して統合し、両プロトコル間で情報を共有する。
プロトコル制御部212は、一般的な通信装置(図1)における動作に加えて、ルーティング情報ベース214が記憶する経路情報ベースが更新されると、経路更新通知メッセージを生成して、通知メッセージ送受信部222に対して出力する。
また、プロトコル制御部212は、通知メッセージ送受信部222から入力された経路更新通知メッセージに基づいて、ルーティング情報ベース214に記憶される経路情報ベースを更新する。
The communication device program 20 acquires and integrates information based on a message using a wired protocol and information based on a message using a wireless protocol, and shares information between both protocols.
The protocol control unit 212 generates a route update notification message when the route information base stored in the routing information base 214 is updated in addition to the operation in the general communication device (FIG. 1), and sends the notification message transmission / reception unit. The data is output to 222.
Also, the protocol control unit 212 updates the route information base stored in the routing information base 214 based on the route update notification message input from the notification message transmission / reception unit 222.
図4は、経路更新通知メッセージのフォーマットを例示する図である。
図4に示すように、経路更新通知メッセージのフォーマットは、プロトコルの種別(OLSR、RIPなど)を示すProtocol Numberフィールド、メッセージの種別(Helloメッセージ、TCメッセージ、HNAメッセージなど)を示すMsg Typeフィールド、経路更新通知メッセージを送信するノードのアドレスを示すOriginator Addressフィールド、更新により追加された経路数を示すAdd Routing Numberフィールド、更新により削除された経路数を示すDel Routing Numberフィールドなどを含む。
通知メッセージ送受信部222(図3)は、プロトコル制御部212から入力された経路更新通知メッセージを受信して、通知メッセージ受信部224に対して出力する。
また、通知メッセージ送受信部222は、通知メッセージ送信部230から入力された経路更新通知メッセージを、プロトコル制御部212に対して出力する。
FIG. 4 is a diagram illustrating a format of a route update notification message.
As shown in FIG. 4, the format of the route update notification message includes a Protocol Number field indicating a protocol type (OLSR, RIP, etc.), an Msg Type field indicating a message type (Hello message, TC message, HNA message, etc.), It includes an Originator Address field that indicates the address of a node that transmits a route update notification message, an Add Routing Number field that indicates the number of routes added by updating, a Del Routing Number field that indicates the number of routes deleted by updating, and the like.
The notification message transmission / reception unit 222 (FIG. 3) receives the route update notification message input from the protocol control unit 212 and outputs it to the notification message reception unit 224.
In addition, the notification message transmission / reception unit 222 outputs the route update notification message input from the notification message transmission unit 230 to the protocol control unit 212.
通知メッセージ受信部224は、有線プロトコル部および無線プロトコル部の通知メッセージ送受信部222から入力された経路更新通知メッセージを、統合ルーティング情報ベース226に対して出力する。
統合ルーティング情報ベース226は、通知メッセージ受信部224から入力された経路更新通知メッセージを、制御部228に参照可能に記憶する。
制御部228は、統合ルーティング情報ベース226が記憶する経路更新通知メッセージに基づいて、出力先のプロトコルを判断し、通知メッセージ送信部230に対して、出力先のプロトコルを指定して、経路更新通知メッセージを出力する(図5を参照して後述)。
The notification message reception unit 224 outputs the route update notification message input from the notification message transmission / reception unit 222 of the wired protocol unit and the wireless protocol unit to the integrated routing information base 226.
The integrated routing information base 226 stores the route update notification message input from the notification message receiving unit 224 so that it can be referred to the control unit 228.
The control unit 228 determines the output destination protocol based on the route update notification message stored in the integrated routing information base 226, specifies the output destination protocol to the notification message transmission unit 230, and notifies the route update notification. A message is output (described later with reference to FIG. 5).
通知メッセージ送信部230は、制御部228から出力先のプロトコルとして有線プロトコルが指定された場合、制御部228から入力された経路更新通知メッセージを、有線通知メッセージ送受信部222に対して出力する。
また、通知メッセージ送信部230は、制御部228から出力先のプロトコルとして無線プロトコルが指定された場合、制御部228から入力された経路更新通知メッセージを、無線通知メッセージ送受信部222に対して出力する。
When the wired protocol is specified as the output destination protocol from the control unit 228, the notification message transmission unit 230 outputs the route update notification message input from the control unit 228 to the wired notification message transmission / reception unit 222.
Further, when the wireless protocol is designated as the output destination protocol from the control unit 228, the notification message transmission unit 230 outputs the route update notification message input from the control unit 228 to the wireless notification message transmission / reception unit 222. .
[統合管理部3の処理]
図5は、図3に示した統合管理部3を構成する通知メッセージ受信部224、および、制御部228の統合管理処理を例示するフローチャートである。
以下に説明するS300〜S310の処理は、有線プロトコル部および無線プロトコル部(図3)のいずれかのプロトコル部から送信された経路更新通知メッセージを、他方のプロトコル部に対して送信し、他方のプロトコル部のルーティング情報ベース214を更新するために実行される。
[Process of integrated management unit 3]
FIG. 5 is a flowchart illustrating an integrated management process of the notification message receiving unit 224 and the control unit 228 constituting the
In the processing of S300 to S310 described below, the route update notification message transmitted from one of the protocol units of the wired protocol unit and the wireless protocol unit (FIG. 3) is transmitted to the other protocol unit. It is executed to update the routing information base 214 of the protocol part.
ステップ300(S300;図5)において、通知メッセージ受信部224は、通知メッセージ送受信部222から、経路更新通知メッセージを受信する。
ステップ302(S302)において、通知メッセージ受信部224は、S300において受信した経路更新通知メッセージを、統合ルーティング情報ベース226に登録する。
ステップ304(S304)において、制御部228は、S302において統合ルーティング情報ベース226に登録された経路更新通知メッセージが、有線プロトコル部から送信されたものか否かを判断する。
In step 300 (S300; FIG. 5), the notification message reception unit 224 receives the route update notification message from the notification message transmission / reception unit 222.
In step 302 (S302), the notification message receiving unit 224 registers the route update notification message received in S300 in the integrated routing information base 226.
In step 304 (S304), the control unit 228 determines whether or not the route update notification message registered in the integrated routing information base 226 in S302 is transmitted from the wired protocol unit.
具体的には、例えば、制御部228は、経路更新通知メッセージのProtocol Numberフィールド(図4)に格納されているプロトコル種別が、有線プロトコルであるか否かを判断する。
経路更新通知メッセージが、有線プロトコル部から送信されたものである場合、制御部228は、S306の処理に進み、それ以外の場合、S308の処理に進む。
ステップ306(S306)において、制御部228は、通知メッセージ送信部230に対して、出力先として無線プロトコル部を指定し、S302において、統合ルーティング情報ベース226に登録された経路更新通知メッセージを出力して、処理を終了する。
Specifically, for example, the control unit 228 determines whether or not the protocol type stored in the Protocol Number field (FIG. 4) of the route update notification message is a wired protocol.
If the route update notification message is transmitted from the wired protocol unit, the control unit 228 proceeds to the process of S306, and otherwise proceeds to the process of S308.
In step 306 (S306), the control unit 228 designates a wireless protocol unit as an output destination to the notification message transmission unit 230, and outputs a route update notification message registered in the integrated routing information base 226 in S302. To end the process.
ステップ308(S308)において、制御部228は、無線プロトコル部から送信された経路更新通知メッセージが、無線プロトコルのHNAメッセージに基づいて生成されたものであるか否かを判断する。
具体的には、例えば、制御部228は、経路更新通知メッセージのMsg Typeフィールド(図4)に格納されているメッセージの種別が、HNAメッセージであるか否かを判断する。
HNAメッセージである場合、制御部228は、S310の処理に進み、それ以外の場合は、処理を終了する。
ステップ310(S310)において、制御部228は、通知メッセージ送信部230に対して、出力先として有線プロトコル部を指定し、S302において、統合ルーティング情報ベース226に登録された経路更新通知メッセージを出力して、処理を終了する。
In step 308 (S308), the control unit 228 determines whether or not the route update notification message transmitted from the wireless protocol unit is generated based on the HNA message of the wireless protocol.
Specifically, for example, the control unit 228 determines whether or not the message type stored in the Msg Type field (FIG. 4) of the route update notification message is an HNA message.
If it is an HNA message, the control unit 228 proceeds to the process of S310, and otherwise ends the process.
In step 310 (S310), the control unit 228 designates a wired protocol unit as an output destination to the notification message transmission unit 230, and outputs a route update notification message registered in the integrated routing information base 226 in S302. To end the process.
[通信装置2の動作例]
図6(A)は、本発明に係る2台の通信装置2(図2,図3)を示すIR#1ノードおよびIR#2ノードを含む複数のノードから構成されるネットワークを例示する図である。
図6(B)は、IR#1ノードの無線ルーティング情報ベース214(図3)が記憶する経路情報ベースの一覧を例示する図である。
図6(C)は、IR#1ノードの有線ルーティング情報ベース214が記憶する経路情報ベースの一覧を例示する図である。
以下、図6(A)〜図6(C)を参照して、通信装置2の経路情報ベースの更新動作例を説明する。
[Operation example of communication device 2]
FIG. 6A is a diagram exemplifying a network composed of a plurality of nodes including an
FIG. 6B is a diagram illustrating a list of route information bases stored in the wireless routing information base 214 (FIG. 3) of the
FIG. 6C is a diagram illustrating a list of route information bases stored in the wired routing information base 214 of the
Hereinafter, an example of an update operation based on the route information of the
また、以下、説明の明確化・具体化のために、図6(A)に示したIR#1ノードが、図6(A)に示したネットワークにおける経路情報ベースを更新する場合を具体例として説明する。
また、図6(A)において、各ノード間の有線リンクおよび無線リンクに示されたIPアドレスは、ドメインのアドレスを示し、ノードそれぞれには、図6(A)に示すIPアドレスが設定されているものとする。
また、IRノードには、隣接するノードが属するドメインそれぞれのIPアドレスが設定されているものとする。
例えば、図6(A)に示すように、IR#1ノードには、隣接する有線ノードRT#2が属するドメイン「192.168.0.*」のIPアドレス「192.168.0.1」と、隣接する無線ノードWRが属するドメイン「192.168.1.*」のIPアドレス「192.168.1.1」が設定されているものとする。
In addition, hereinafter, for the sake of clarification and realization, a specific example is a case where the
In FIG. 6A, the IP address shown in the wired link and the wireless link between the nodes indicates the domain address, and the IP address shown in FIG. 6A is set in each node. It shall be.
Further, it is assumed that the IP address of each domain to which the adjacent node belongs is set in the IR node.
For example, as illustrated in FIG. 6A, the IP address “192.168.0.1” of the domain “192.168.0. *” To which the adjacent wired
図6(B)に示すように、無線ルーティング情報ベース214(図3)が記憶するNo.1〜3は、順に、IR#1ノードと隣接するWRノード、2ホップ先のIR#2ノード、および、中継ノードのWRとの経路情報ベースを示す。
例えば、No.1の経路情報ベースは、自己のノード(IR#1)のIPアドレス「192.168.1.1」、WRノードのIPアドレス「192.168.1.2」、ネットマスク「255.255.255.255」、WRノードまでのホップ数「1」を示す。
また、無線ルーティング情報ベース214(図3)が記憶するNo.4,5は、順に、IR#1ノードと隣接するRT#2ノード、および、2ホップ先のRT#1ノードとの経路情報ベースを示す。
As shown in FIG. 6B, the No. stored in the wireless routing information base 214 (FIG. 3) is stored. 1 to 3 indicate, in order, a path information base between the WR node adjacent to the
For example, no. 1 is based on the IP address “192.168.1.1” of its own node (IR # 1), the IP address “192.168.1.2” of the WR node, and the netmask “255.255. 255.255 ”and the number of hops“ 1 ”to the WR node.
Further, the No. stored in the wireless routing information base 214 (FIG. 3) is stored. 4 and 5 indicate, in order, the path information base between the
例えば、No.4の経路情報ベースは、自己のノード(IR#1)のIPアドレス「192.168.1.1」、中継ノード(IR#1)のIPアドレス「192.168.1.1」、送信先ノードが属するドメイン情報「192.168.0.0」、ネットマスク「255.255.255.0」、ホップ数「1」を示す。
つまり、No.6は、IR#1ノードと隣接するRT#2ノードまでの経路情報ベースを示す。
図6(C)に示すように、有線ルーティング情報ベース214(図3)が記憶するNo.1,2は、図6(B)に示したNo.4,5の有線ノードRT#2およびRT#1の経路情報ベースに対応する。
For example, no. 4 is based on the IP address “192.168.1.1” of its own node (IR # 1), the IP address “192.168.1.1” of the relay node (IR # 1), and the transmission destination. The domain information “192.168.0.0” to which the node belongs, the netmask “255.255.255.0”, and the hop count “1” are indicated.
That is, no. 6 shows a path information base to the
As shown in FIG. 6C, the No. stored in the wired routing information base 214 (FIG. 3) is stored. 1 and 2 are No. 1 shown in FIG. This corresponds to the route information base of the wired
以下の(1)〜(7)において、無線ルーティング情報ベース214(図3)が記憶するNo.6以降の経路情報ベース、および、有線ルーティング情報ベース214が記憶するNo.3以降の経路情報ベースの更新動作例を説明する。
(1)IR#1ノードは、WRノードを介して、IR#2ノードから送信された無線プロトコルのHNAメッセージを受信する。
HNAメッセージは、前述のように、ノードがゲートウェイとして機能する場合に用いられるメッセージである。
(2)IR#1ノードは、(1)において受信したHNAメッセージを解析し、生成した経路情報ベースを、No.6の経路情報ベースとして記憶する(図6(B))。
図6(B)に示すように、No.6は、中継ノードがIR#2ノード、送信先ノードのドメインが「192.168.2.0」、ホップ数が「3」の経路情報ベース、つまり、RT#4ノードまでの経路情報ベースを示す。
In the following (1) to (7), the No. stored in the wireless routing information base 214 (FIG. 3) is stored. No. 6 and subsequent route information bases, and No. 6 stored in the wired routing information base 214. An example of the update operation based on the
(1) The
As described above, the HNA message is a message used when the node functions as a gateway.
(2) The
As shown in FIG. 6 is a route information base in which the relay node is the
(3)IR#1ノードは、(2)において生成した経路情報ベースに基づいて、経路更新通知メッセージを生成し、自己の無線プロトコル部から、自己の統合管理部3(図3)へ送信する。
(4)IR#1ノードは、自己の統合管理部3で、(3)において送信された経路通知メッセージを受信して(S300;図5)、登録する(S302)。
(5)IR#1ノードは、(4)において受信した経路通知メッセージが、無線プロトコルのHNAメッセージに基づいて生成されたと判断し(S304,S308)、自己の有線プロトコル部へ送信する(S310)。
(3) The
(4) The
(5) The
(6)IR#1ノードは、自己の有線プロトコル部で、(5)において送信された経路通知メッセージを受信する。
(7)IR#1ノードは、(6)において受信した経路通知メッセージに基づいて経路情報ベースを生成し、No.3の経路情報ベースとして記憶する(図6(C))。
これにより、IR#1ノードは、図6(C)のNo.3に示すような送信先ノードのドメインが「192.168.2.0」、ホップ数が「3」の経路上に、データ送信可能な有線ノードが存在することを把握できる。
上記(1)〜(7)と同様な処理を繰り返すことにより、IR#1ノードが記憶する無線プロトコル部の経路情報ベースがさらに更新される(図6(B)のNo.7〜9)。
また、これらの更新が、IR#1ノードが記憶する有線プロトコル部の経路情報ベースに反映される(図6(C)のNo.4〜6)。
(6) The
(7) The
As a result, the
By repeating the same processing as the above (1) to (7), the route information base of the wireless protocol part stored in the
These updates are reflected in the route information base of the wired protocol part stored in the
通信装置2は、上記のように構築された経路情報ベースに従い、ルーティングを行う。
すなわち、通信装置2は、ネットワークからIPパケットが入力されると、経路情報ベースを確認し、IPパケットの送信元と宛先から、自己が中継すべきパケットか否かを判断する。
通信装置2は、中継すべきパケットであると判断した場合は、指定されたネットワークインタフェースに出力し、中継すべきパケットでないと判断した場合は、当該パケットを破棄する。
The
That is, when an IP packet is input from the network, the
When the
[通信装置2の特徴]
以下、本発明に係る通信装置2(図2,図3)の特徴を説明する。
以上説明したように、本発明に係る無線装置2は、有線プロトコルおよび無線プロトコルの制御メッセージにより取得した経路情報を、両プロトコルの間で共有する。
有線および無線プロトコルの間で、経路情報を共有することにより、例えば、通信装置2は、他の通信装置2と有線接続されたノードの存在を把握することができ、通信装置2と有線接続されたノードと、他の無線装置2と有線接続されたノードとの間でデータを送受信することができる。
したがって、本発明に係る無線装置2によれば、有線ネットワークおよび無線ネットワークそれぞれにおける接続状況を考慮したルーティングを実現することができる。
また、以上説明したように、HNAメッセージで構築される経路のみが、有線プロトコルへ通知される。
これは、HelloメッセージやTCメッセージにより構築される経路は、有線側には不要であるためであり、これにより、経路情報ベースの容量を低減することができる。
[Features of communication device 2]
Hereinafter, features of the communication device 2 (FIGS. 2 and 3) according to the present invention will be described.
As described above, the
By sharing route information between the wired and wireless protocols, for example, the
Therefore, according to the
Further, as described above, only the route constructed by the HNA message is notified to the wired protocol.
This is because the route constructed by the Hello message or the TC message is not necessary on the wired side, and thus the capacity of the route information base can be reduced.
1・・・ネットワーク,2・・・通信装置,100・・・本体,102・・・CPU,104・・・メモリ,106・・・入出力装置,110・・・無線IF部,112・・・有線IF部,114・・・記録装置,116・・・記憶媒体,120・・・一般的な有線ルータ,122・・・一般的な無線ルータ,124・・・一般的な端末装置,130・・・有線リンク,140・・・無線リンク,150・・・ドメイン,200・・・EthernetPHY,202・・・WirelessNetworkPHY,204・・・EthernetMAC,206・・・WirelessMAC,208・・・ルーティングテーブル,210・・・制御メッセージ送受信部,212・・・プロトコル制御部,214・・・ルーティング情報ベース,216・・・制御メッセージ生成部,218・・・ルーティング登録部,222・・・通知メッセージ送受信部,3・・・統合管理部,224・・・通知メッセージ受信部,226・・・統合ルーティング情報ベース,228・・・制御部,230・・通知メッセージ送信部
DESCRIPTION OF
Claims (1)
前記有線プロトコルに従って、他のノードに対してデータを送信する場合に用いられる前記有線経路情報を記憶する有線経路情報記憶手段と、
前記無線プロトコルに従って、他のノードに対してデータを送信する場合に用いられる前記無線経路情報を記憶する無線経路情報記憶手段と、
前記有線プロトコルおよび前記無線プロトコルのいずれかのルーティングプロトコルに基づいて生成された経路情報を、前記有線経路情報記憶手段および前記無線経路情報記憶手段に記憶させるよう制御する制御手段と
を有する通信装置。 1 shows at least one of a plurality of nodes constituting a communication network that operates according to a wired protocol that performs routing according to wired route information and a wireless protocol that performs routing according to wireless route information, up to other nodes in the communication network. A communication device that transmits data to the other node based on the wired route information and the wireless route information,
Wired route information storage means for storing the wired route information used when transmitting data to other nodes according to the wired protocol;
Radio path information storage means for storing the radio path information used when transmitting data to other nodes according to the radio protocol;
And a control unit configured to control the route information generated based on any one of the wired protocol and the wireless protocol to be stored in the wired route information storage unit and the wireless route information storage unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010189298A JP5588792B2 (en) | 2010-08-26 | 2010-08-26 | Communication device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010189298A JP5588792B2 (en) | 2010-08-26 | 2010-08-26 | Communication device |
Publications (3)
Publication Number | Publication Date |
---|---|
JP2012049772A true JP2012049772A (en) | 2012-03-08 |
JP2012049772A5 JP2012049772A5 (en) | 2013-10-10 |
JP5588792B2 JP5588792B2 (en) | 2014-09-10 |
Family
ID=45904156
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2010189298A Active JP5588792B2 (en) | 2010-08-26 | 2010-08-26 | Communication device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5588792B2 (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH06232872A (en) * | 1993-02-03 | 1994-08-19 | Sharp Corp | Information communication equipment |
US20040057440A1 (en) * | 2002-09-20 | 2004-03-25 | Pascal Thubert | Arrangement in a gateway for registering mobile routers of a mobile ad hoc network to respective home agents |
JP2006508591A (en) * | 2002-12-02 | 2006-03-09 | ドコモ コミュニケーションズ ラボラトリーズ ヨーロッパ ゲーエムベーハー | Integrated routing for administrator and self-organized networks |
US20100254309A1 (en) * | 2009-04-07 | 2010-10-07 | Bbn Technologies Corp. | System, device, and method for unifying differently-routed networks using virtual topology representations |
WO2012002305A1 (en) * | 2010-06-28 | 2012-01-05 | 株式会社日立国際電気 | Wireless communication apparatus and wireless communication method |
-
2010
- 2010-08-26 JP JP2010189298A patent/JP5588792B2/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH06232872A (en) * | 1993-02-03 | 1994-08-19 | Sharp Corp | Information communication equipment |
US20040057440A1 (en) * | 2002-09-20 | 2004-03-25 | Pascal Thubert | Arrangement in a gateway for registering mobile routers of a mobile ad hoc network to respective home agents |
JP2006508591A (en) * | 2002-12-02 | 2006-03-09 | ドコモ コミュニケーションズ ラボラトリーズ ヨーロッパ ゲーエムベーハー | Integrated routing for administrator and self-organized networks |
US20100254309A1 (en) * | 2009-04-07 | 2010-10-07 | Bbn Technologies Corp. | System, device, and method for unifying differently-routed networks using virtual topology representations |
WO2012002305A1 (en) * | 2010-06-28 | 2012-01-05 | 株式会社日立国際電気 | Wireless communication apparatus and wireless communication method |
Non-Patent Citations (1)
Title |
---|
JPN6014017023; Cedric Adjih, Pascale Minet, Paul Muhlethaler, Emmanuel Baccelli, and Thierry Plesse: 'Quality of service support, security and OSPF interconnection in a MANET using OLSR' JOURNAL OF TELECOMMUNICATIONS AND INFORMATION TECHNOLOGY , 2008, NATIONAL INSTITUTE OF TELE * |
Also Published As
Publication number | Publication date |
---|---|
JP5588792B2 (en) | 2014-09-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4532554B2 (en) | System and method for routing data between different types of nodes in a wireless network | |
JP4571666B2 (en) | Method, communication device and system for address resolution mapping in a wireless multi-hop ad hoc network | |
US8441958B2 (en) | Directed acyclic graph discovery and network prefix information distribution relative to a clusterhead in an ad hoc mobile network | |
US8064416B2 (en) | Route selection in wireless networks | |
JP4971500B2 (en) | Method of operating a mesh-type wireless data network having a plurality of network nodes | |
WO2009115020A1 (en) | Network route establishing and data transmitting method and network node | |
JP5287622B2 (en) | Communication system, node, communication control method, and program | |
JP2006279168A (en) | Communication apparatus for configuring adhoc network, bridge apparatus, and communication system | |
JP6064989B2 (en) | Control device, communication system, node control method, and program | |
JP4572173B2 (en) | Wireless communication apparatus, wireless communication method, and route information table creation method | |
JP5588792B2 (en) | Communication device | |
JP4978217B2 (en) | Communication apparatus and communication system | |
JP2009124303A (en) | Message transfer method in ad hoc network | |
JP5896559B2 (en) | Communications system | |
US10912149B2 (en) | Communication device | |
JP5409531B2 (en) | Wireless communication device | |
JP5860135B2 (en) | Communication device search method, communication device, communication device search program, and ad hoc network system | |
JPWO2006048936A1 (en) | Ad hoc network, mobile terminal, gateway node and gateway node selection method | |
Nandanwar et al. | Survey of adaptive on demand distance vector learning protocol (AODV) | |
Reddy et al. | Temporary parallel route recovery for frequent link failure in VANET | |
WO2021035013A1 (en) | Path scope flooding in is-is networks | |
KR101029497B1 (en) | Arp protocol replacement method through route searching process on mobile ad-hoc network using reactive routing protocol | |
Hassan | Simulations on Multipath Routing Based on Source Routing | |
JP2020053926A (en) | Communication device, control method, and program | |
Tarmizi et al. | Extending the collaboration boundary in localized threshold cryptography-based schemes for MANETs |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20130822 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20130822 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20140416 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20140423 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20140620 |
|
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: 20140708 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20140728 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5588792 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |