JP6890334B2 - Communication equipment, control methods, and programs - Google Patents
Communication equipment, control methods, and programs Download PDFInfo
- Publication number
- JP6890334B2 JP6890334B2 JP2018183991A JP2018183991A JP6890334B2 JP 6890334 B2 JP6890334 B2 JP 6890334B2 JP 2018183991 A JP2018183991 A JP 2018183991A JP 2018183991 A JP2018183991 A JP 2018183991A JP 6890334 B2 JP6890334 B2 JP 6890334B2
- Authority
- JP
- Japan
- Prior art keywords
- communication
- terminal
- frame
- communication device
- base station
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Mobile Radio Communication Systems (AREA)
Description
本発明は、通信装置、制御方法、および、プログラムに関する。 The present invention relates to communication devices, control methods, and programs.
複数の通信装置が互いに無線通信によって接続され、通信フレーム(データフレーム、又は、単にフレームともいう)をマルチホップ転送する無線メッシュネットワーク(単にメッシュネットワークともいう)がある。メッシュネットワークが有線の基幹ネットワークに接続されている場合、メッシュネットワークに接続している端末は、メッシュネットワークを介して基幹ネットワークに接続された機器と通信することができる。 There is a wireless mesh network (also simply referred to as a mesh network) in which a plurality of communication devices are connected to each other by wireless communication and multi-hop transfer of communication frames (data frames or simply frames) is performed. When the mesh network is connected to the wired backbone network, the terminal connected to the mesh network can communicate with the device connected to the backbone network via the mesh network.
メッシュネットワークと基幹ネットワークとの接続を冗長化するために、メッシュネットワークと基幹ネットワークとを複数の通信装置によって接続することが行われる。この場合、通信経路にループが発生することを防ぐことが必要である。 In order to make the connection between the mesh network and the backbone network redundant, the mesh network and the backbone network are connected by a plurality of communication devices. In this case, it is necessary to prevent a loop from occurring in the communication path.
従来、STP(Spanning Tree Protocol)を用いて、メッシュネットワークにおけるループの発生の回避、及び、通信経路の切り替えを行う技術が開示されている(特許文献1)。 Conventionally, a technique of avoiding the occurrence of a loop in a mesh network and switching a communication path by using STP (Spanning Tree Protocol) has been disclosed (Patent Document 1).
しかしながら、メッシュネットワークで用いられるルーティングプロトコルと、STPなどのループ回避用プロトコルとを併用する場合、通信装置の障害発生などにより経路切り替えが必要になった際に、通信経路の切り替えが適切になされないことがあるという問題がある。 However, when the routing protocol used in the mesh network and the loop avoidance protocol such as STP are used together, the communication route cannot be switched appropriately when the route switching becomes necessary due to the occurrence of a failure of the communication device or the like. There is a problem that there are times.
本発明は、上記問題を解決するためになされたものであり、メッシュネットワークにおける通信経路を適切に切り替えることができる通信装置などを提供することを目的とする。 The present invention has been made to solve the above problems, and an object of the present invention is to provide a communication device or the like capable of appropriately switching communication paths in a mesh network.
上記課題を解決するために、本発明の一態様に係る通信装置は、メッシュネットワークを構成する複数の通信装置のうちの一の通信装置であって、前記メッシュネットワークは、前記複数の通信装置のうちの2以上の通信装置それぞれが備える有線インタフェースを介して宛先端末に通信可能に接続されており、前記2以上の通信装置それぞれが備える前記有線インタフェースは、ループを回避するためのプロトコルによって動的に通信許可状態及び通信禁止状態を含む状態のいずれかに設定されており、前記一の通信装置は、送信元端末と無線通信する無線インタフェースと、前記複数の通信装置のうち、前記有線インタフェースを介して前記宛先端末に接続されている通信装置を示す端末情報を管理している経路制御部と、前記送信元端末が前記宛先端末に向けて送信したフレームを前記無線インタフェースにより受信すると、受信した前記フレームを、前記端末情報に示されている前記通信装置に向けて前記メッシュネットワーク内に転送する転送部とを備え、前記経路制御部は、前記転送部が転送した前記フレームが前記宛先端末に到達できない場合に、前記端末情報を削除する。 In order to solve the above problems, the communication device according to one aspect of the present invention is one of a plurality of communication devices constituting a mesh network, and the mesh network is a communication device of the plurality of communication devices. It is communicably connected to the destination terminal via the wired interface provided by each of the two or more communication devices, and the wired interface provided by each of the two or more communication devices is dynamically driven by a protocol for avoiding a loop. Is set to either a communication permitted state or a communication prohibited state, and the one communication device includes a wireless interface for wireless communication with a source terminal and the wired interface among the plurality of communication devices. When the route control unit that manages the terminal information indicating the communication device connected to the destination terminal and the frame transmitted by the source terminal to the destination terminal are received by the wireless interface, they are received. The route control unit includes a transfer unit that transfers the frame to the communication device indicated in the terminal information in the mesh network, and the route control unit transfers the frame transferred by the transfer unit to the destination terminal. If it cannot be reached, the terminal information is deleted.
これによれば、通信装置は、転送したフレームが宛先端末に到達できない場合に端末情報を削除することによって、その宛先端末にフレームを送信するために必要な端末情報を生成する処理をその後に行う契機を作ることができる。このように端末情報を削除すると、通信装置はその後に新たな端末情報を生成し、生成した新たな端末情報を用いて宛先端末にフレームを転送する。メッシュネットワーク内から宛先端末に向かう通信の通信経路は、有線インタフェースを備えている通信装置のうち通信許可状態である通信装置を経由する通信経路となり、端末情報は、上記通信経路に整合した端末情報になっている。このとき、何らかの要因が生じ、ループ回避用プロトコルの処理により通信許可状態である通信装置が通信禁止状態に遷移すると、上記通信経路を経由した宛先端末への通信が不可能になる。そこで、このような状態の遷移があった場合に端末情報を新たに生成すれば、新たに生成される端末情報は、新たに通信許可状態に遷移した通信装置を経由した通信経路に整合した端末情報になる。その結果、送信元端末が送信したフレームを、新たな通信経路及び端末情報に従って、宛先端末へ到達させることができる。このように、本実施の形態に係る通信装置は、メッシュネットワークにおける通信経路を適切に切り替えることができる。 According to this, the communication device subsequently performs a process of generating terminal information necessary for transmitting a frame to the destination terminal by deleting the terminal information when the transferred frame cannot reach the destination terminal. You can create an opportunity. When the terminal information is deleted in this way, the communication device subsequently generates new terminal information and transfers the frame to the destination terminal using the generated new terminal information. The communication path for communication from within the mesh network to the destination terminal is a communication path that passes through a communication device that is in a communication permitted state among communication devices equipped with a wired interface, and the terminal information is terminal information consistent with the above communication path. It has become. At this time, if some factor occurs and the communication device in the communication permitted state transitions to the communication prohibited state by the processing of the loop avoidance protocol, communication to the destination terminal via the communication path becomes impossible. Therefore, if terminal information is newly generated when such a state transition occurs, the newly generated terminal information is a terminal that matches the communication path via the communication device that has newly transitioned to the communication permission state. It becomes information. As a result, the frame transmitted by the source terminal can reach the destination terminal according to the new communication path and terminal information. As described above, the communication device according to the present embodiment can appropriately switch the communication path in the mesh network.
また、前記経路制御部は、前記端末情報を削除した場合に、前記無線インタフェースにより前記宛先端末を探索するための探索フレームを送受信することで新たな端末情報を生成する。 Further, when the terminal information is deleted, the route control unit generates new terminal information by transmitting and receiving a search frame for searching the destination terminal by the wireless interface.
これによれば、通信装置は、端末情報を削除したことに伴って生成した新たな端末情報を用いて、フレームを宛先端末に向けて転送することができる。よって、通信装置は、メッシュネットワークにおける通信経路を適切に切り替えることができる。 According to this, the communication device can transfer the frame toward the destination terminal by using the new terminal information generated by deleting the terminal information. Therefore, the communication device can appropriately switch the communication path in the mesh network.
また、前記経路制御部は、前記2以上の通信装置のうち、前記有線インタフェースが通信許可状態である通信装置が通信不可能状態になったことに基づいて、前記フレームが前記宛先端末に到達できない場合に、前記端末情報を削除する。 Further, the route control unit cannot reach the destination terminal based on the communication device in which the wired interface is in the communication permitted state, among the two or more communication devices, becomes incommunicable state. In this case, the terminal information is deleted.
これによれば、通信装置は、有線ネットワークに接続している通信装置が通信不可能状態になった場合に、その通信不可能状態になった通信装置を避けて宛先端末に至る通信経路を新たに生成する。このようにして、通信装置は、通信不可能状態になった通信装置を避ける新たな通信経路に適切に切り替えることができる。 According to this, when the communication device connected to the wired network becomes incommunicable state, the communication device avoids the communication device in the incommunicable state and newly establishes a communication path to the destination terminal. To generate. In this way, the communication device can be appropriately switched to a new communication path that avoids the communication device that has become incommunicable.
また、前記経路制御部は、前記2以上の通信装置のうち、通信不可能状態になった通信装置が通信可能状態になったことに基づいて、前記フレームが前記宛先端末に到達できない場合に、前記端末情報を削除する。 Further, when the frame cannot reach the destination terminal based on the fact that the communication device that has become incommunicable state has become communicable among the two or more communication devices, the route control unit has a case. The terminal information is deleted.
これによれば、通信装置は、通信不可能状態になった通信装置が通信可能になった場合に、その通信可能状態になった通信装置を経由して宛先端末に至る通信経路を新たに生成する。このようにして、通信装置は、通信可能状態になった通信装置を経由する新たな通信経路に適切に切り替えることができる。 According to this, when the communication device in the communication impossible state becomes communicable, the communication device newly generates a communication path to the destination terminal via the communication device in the communication enable state. To do. In this way, the communication device can be appropriately switched to a new communication path via the communication device that has become communicable.
また、前記経路制御部は、さらに、前記メッシュネットワーク内において、前記一の通信装置から、前記端末情報に示されている前記通信装置に至る通信経路におけるネクストホップ装置を記憶している経路情報を管理しており、前記転送部は、受信した前記フレームを前記通信経路上におけるネクストホップ装置に向けて送信することで、転送する。 Further, the route control unit further stores the route information in the mesh network that stores the next hop device in the communication path from the one communication device to the communication device shown in the terminal information. The transfer unit manages and transfers the received frame by transmitting it toward the next hop device on the communication path.
これによれば、通信装置は、経路情報をさらに用いてメッシュネットワーク内でフレームを転送する。これにより、通信装置が端末情報に示されている通信装置に隣接していない場合であっても、経路情報を用いて得られる宛先にフレームを送信することができる。 According to this, the communication device further uses the route information to transfer the frame in the mesh network. As a result, even when the communication device is not adjacent to the communication device shown in the terminal information, the frame can be transmitted to the destination obtained by using the route information.
また、前記通信装置は、前記プロトコルは、STP(Spanning Tree Protocol)であり、通信許可状態は、STPで規定されているフォワーディング状態であり、通信禁止状態は、STPで規定されているブロッキング状態である。 Further, in the communication device, the protocol is STP (Spanning Tree Protocol), the communication permission state is the forwarding state specified by STP, and the communication prohibition state is the blocking state specified by STP. is there.
これによれば、STPによってより容易にループの発生を回避しながら、メッシュネットワークにおける通信経路を適切に切り替えることができる。 According to this, it is possible to appropriately switch the communication path in the mesh network while avoiding the occurrence of loops more easily by STP.
また、本発明の一態様に係る制御方法は、メッシュネットワークを構成する複数の通信装置のうちの一の通信装置であって、送信元端末と無線通信する無線インタフェースを備える通信装置の制御方法であって、前記メッシュネットワークは、前記複数の通信装置のうちの2以上の通信装置それぞれが備える有線インタフェースを介して宛先端末に通信可能に接続されており、前記2以上の通信装置それぞれが備える前記有線インタフェースは、ループを回避するためのプロトコルによって動的に通信許可状態及び通信禁止状態を含む状態のいずれかに設定されており、前記制御方法は、前記複数の通信装置のうち、前記有線インタフェースを介して前記宛先端末に接続されている通信装置を示す端末情報を管理している経路制御ステップと、前記送信元端末が前記宛先端末に向けて送信したフレームを前記無線インタフェースにより受信すると、受信した前記フレームを、前記端末情報に示されている前記通信装置に向けて前記メッシュネットワーク内に転送する転送ステップとを含み、前記経路制御ステップでは、前記転送ステップで転送した前記フレームが前記宛先端末に到達できない場合に、前記端末情報を削除する。 Further, the control method according to one aspect of the present invention is a communication device of one of a plurality of communication devices constituting a mesh network, and is a control method of a communication device provided with a wireless interface for wireless communication with a source terminal. The mesh network is communicably connected to a destination terminal via a wired interface included in each of two or more communication devices among the plurality of communication devices, and the mesh network is provided in each of the two or more communication devices. The wired interface is dynamically set to one of a state including a communication permitted state and a communication prohibited state by a protocol for avoiding a loop, and the control method is the wired interface among the plurality of communication devices. When a route control step that manages terminal information indicating a communication device connected to the destination terminal and a frame transmitted by the source terminal to the destination terminal are received by the wireless interface, it is received. In the route control step, the frame transferred in the transfer step is the destination terminal. If the terminal information cannot be reached, the terminal information is deleted.
これによれば、上記通信装置と同様の効果を奏する。 According to this, the same effect as that of the above-mentioned communication device is obtained.
また、本発明の一態様に係るプログラムは、上記の制御方法をコンピュータに実行させるためのプログラムである。 Further, the program according to one aspect of the present invention is a program for causing a computer to execute the above control method.
これによれば、上記通信装置と同様の効果を奏する。 According to this, the same effect as that of the above-mentioned communication device is obtained.
なお、本発明は、装置として実現できるだけでなく、その装置を構成する処理手段をステップとする方法として実現したり、それらステップをコンピュータに実行させるプログラムとして実現したり、そのプログラムを記録したコンピュータ読み取り可能なCD−ROMなどの記録媒体として実現したり、そのプログラムを示す情報、データ又は信号として実現したりすることもできる。そして、それらプログラム、情報、データ及び信号は、インターネット等の通信ネットワークを介して配信してもよい。 The present invention can be realized not only as an apparatus, but also as a method in which the processing means constituting the apparatus is used as a step, as a program for causing a computer to execute those steps, or as a computer reading in which the program is recorded. It can also be realized as a possible recording medium such as a CD-ROM, or as information, data or a signal indicating the program. Then, those programs, information, data and signals may be distributed via a communication network such as the Internet.
本発明により、通信装置は、メッシュネットワークにおける通信経路を適切に切り替えることができる。 According to the present invention, the communication device can appropriately switch the communication path in the mesh network.
以下、実施の形態について、図面を参照しながら具体的に説明する。 Hereinafter, embodiments will be specifically described with reference to the drawings.
以下で説明する実施の形態は、いずれも本発明の好ましい一具体例を示すものである。以下の実施の形態で示される数値、形状、材料、構成要素、構成要素の配置位置及び接続形態、ステップ、ステップの順序などは、一例であり、本発明を限定する主旨ではない。また、以下の実施の形態における構成要素のうち、本発明の最上位概念を示す独立請求項に記載されていない構成要素については、より好ましい形態を構成する任意の構成要素として説明される。なお、同一の構成要素には同一の符号を付し、説明を省略する場合がある。 Each of the embodiments described below shows a preferred specific example of the present invention. Numerical values, shapes, materials, components, arrangement positions and connection forms of components, steps, order of steps, etc. shown in the following embodiments are examples, and are not intended to limit the present invention. Further, among the components in the following embodiments, the components not described in the independent claims indicating the highest level concept of the present invention will be described as arbitrary components constituting the more preferable form. The same components may be designated by the same reference numerals and description thereof may be omitted.
(実施の形態)
本実施の形態において、メッシュネットワークにおける通信経路を適切に切り替える通信装置としての基地局について説明する。
(Embodiment)
In the present embodiment, a base station as a communication device for appropriately switching communication paths in a mesh network will be described.
図1は、本実施の形態に係る通信システム1の構成を示す模式図である。
FIG. 1 is a schematic diagram showing a configuration of a
図1に示されるように通信システム1は、基地局M1、M2及びM3と、ハブ20とを備える。通信システム1は、端末T1及びT2に接続されている。
As shown in FIG. 1, the
基地局M1、M2及びM3は、メッシュネットワークを構成する基地局である通信装置であり、一般にメッシュポイント(MP)と呼ばれることもある。基地局M1、M2及びM3は、後述するように、少なくとも無線IF(インタフェース)を備え、さらに有線IFを備えてもよい。 Base stations M1, M2, and M3 are communication devices that are base stations constituting a mesh network, and are also generally called mesh points (MP). The base stations M1, M2 and M3 may include at least a wireless IF (interface) and may further include a wired IF, as will be described later.
基地局M1は、基地局M2及びM3と無線IFによって無線通信可能に接続されている。また、基地局M1は、端末T1と無線IFによって通信可能に接続されている。 The base station M1 is wirelessly connected to the base stations M2 and M3 by a wireless IF. Further, the base station M1 is communicably connected to the terminal T1 by a wireless IF.
基地局M2は、基地局M1と無線IFによって無線通信可能に接続されている。また、基地局M2は、有線IFによって、ハブ20を介して端末T2と有線通信可能に接続されている。
The base station M2 is wirelessly connected to the base station M1 by a wireless IF. Further, the base station M2 is connected to the terminal T2 via a
基地局M3は、基地局M1と無線IFによって無線通信可能に接続されている。また、基地局M2は、有線IFによって、ハブ20を介して端末T2と有線通信可能に接続されている。
The base station M3 is wirelessly connected to the base station M1 by a wireless IF. Further, the base station M2 is connected to the terminal T2 via a
ハブ20は、有線ネットワークの集線装置であり、基地局M2及びM3、並びに、端末T2と接続されている。
The
端末T1は、無線通信をすることができる端末装置であり、基地局M1と無線通信可能に接続されている。 The terminal T1 is a terminal device capable of wireless communication, and is connected to the base station M1 so as to be capable of wireless communication.
端末T2は、有線通信をすることができる端末装置であり、ハブ20と有線通信可能に接続されている。
The terminal T2 is a terminal device capable of wire communication, and is connected to the
基地局M2と基地局M3とは、ループを回避するためのプロトコルにより通信している。そして、基地局M2と基地局M3とのそれぞれの有線IFは、上記プロトコルによって動的に通信許可状態及び通信禁止状態を含む複数の状態のいずれかに設定される。上記プロトコルの一例はSTPであり、この場合、通信許可状態はSTPで規定されているフォワーディング状態であり、通信禁止状態はSTPで規定されているブロッキング状態である。以降ではこの場合を説明するが、他の例としてRSTP(Rapid Spanning Tree Protocol)を採用することもできる。 The base station M2 and the base station M3 communicate with each other by a protocol for avoiding a loop. Then, each of the wired IFs of the base station M2 and the base station M3 is dynamically set to one of a plurality of states including the communication permitted state and the communication prohibited state by the above protocol. An example of the above protocol is STP. In this case, the communication permitted state is the forwarding state specified by STP, and the communication prohibited state is the blocking state specified by STP. Although this case will be described below, RSTP (Rapid Spanning Tree Protocol) can also be adopted as another example.
また、基地局M1、M2及びM3は、メッシュネットワークのルーティングプロトコルによって通信しており、このルーティングプロトコルによってメッシュネットワーク内の通信、及び、メッシュネットワークを介した端末同士の通信の通信経路を構築し、維持している。メッシュネットワークのルーティングプロトコルは、例えば、IEEE802.11s規格に準拠したルーティングプロトコルを採用し得る。 Further, the base stations M1, M2 and M3 communicate with each other by the routing protocol of the mesh network, and the communication within the mesh network and the communication path of the communication between the terminals via the mesh network are constructed by this routing protocol. Maintained. As the routing protocol of the mesh network, for example, a routing protocol conforming to the IEEE802.11s standard can be adopted.
端末T1が端末T2に向けて、通信システム1を介してフレームを送信することが想定される。このとき、端末T1を送信元端末ともいい、端末T2を宛先端末ともいう。
It is assumed that the terminal T1 transmits a frame toward the terminal T2 via the
通信システム1には、基地局M1及びM2、並びにハブ20を経由する第一の通信経路と、基地局M1及びM3、並びにハブ20を経由する第二の通信経路とがあり得る。そして、端末T1が端末T2に向けて送信したフレームが、これらの通信経路のどちらを流れるかが、ループを回避するためのプロトコル、及び、メッシュネットワークのルーティングプロトコルによって決定される。
The
図2は、本実施の形態に係る基地局Mの構成を示すブロック図である。基地局Mは、図1における基地局M1、M2及びM3に相当する。 FIG. 2 is a block diagram showing a configuration of a base station M according to the present embodiment. The base station M corresponds to the base stations M1, M2 and M3 in FIG.
図2に示されるように、基地局Mは、有線IF11と、無線IF12及び13と、転送部14と、STP制御部15と、経路制御部16とを備える。
As shown in FIG. 2, the base station M includes a wired IF 11,
有線IF11は、有線ネットワークに接続される通信インタフェース装置である。有線IF11は、例えばIEEE802.3規格に従う。なお、有線IF11は、必須の構成要素ではない。図1に示される通信システム1では、基地局M1は有線IF11を備えていなくてもよい。基地局M1は有線ネットワークに接続されていないからである。一方、基地局M2及びM3は、有線IF11を備えている必要があり、有線IF11によってハブ20に接続される。
The wired IF 11 is a communication interface device connected to a wired network. The wired IF 11 follows, for example, the IEEE 802.3 standard. The wired IF11 is not an essential component. In the
無線IF12は、無線通信を行う通信インタフェース装置である。無線IF12は、他の基地局Mの無線IF12との間で無線通信リンクを確立し、無線通信を行う。無線IF12の通信規格は、例えば、IEEE802.11a、b、g、nに適合する無線LANである。 The wireless IF 12 is a communication interface device that performs wireless communication. The wireless IF 12 establishes a wireless communication link with the wireless IF 12 of another base station M and performs wireless communication. The communication standard of the wireless IF12 is, for example, a wireless LAN conforming to IEEE802.11a, b, g, and n.
無線IF13は、端末との無線通信を行う通信インタフェース装置である。無線IF13は、端末との間で無線通信リンクを確立し、無線通信を行う。無線IF13の通信規格は、例えば、IEEE802.11a、b、g、nに適合する無線LANである。また、無線IF13は、例えばインフラストラクチャモードでアクセスポイントとして動作することが想定されるが、これに限定されない。 The wireless IF 13 is a communication interface device that performs wireless communication with a terminal. The wireless IF 13 establishes a wireless communication link with the terminal and performs wireless communication. The communication standard of the wireless IF13 is, for example, a wireless LAN conforming to IEEE802.11a, b, g, and n. Further, the wireless IF 13 is assumed to operate as an access point in, for example, an infrastructure mode, but the wireless IF 13 is not limited to this.
なお、無線IF12と無線IF13とは、物理的に1つの無線インタフェース装置により、論理的に、互いに異なる2つの無線IFとして実現されてもよい。 The wireless IF 12 and the wireless IF 13 may be realized as two wireless IFs that are logically different from each other by physically one wireless interface device.
転送部14は、有線IF11並びに無線IF12及び13の間でフレームを転送する処理部である。転送部14は、有線IF11並びに無線IF12及び13のいずれかのインタフェースからフレームを受信した場合に、受信したフレームの宛先アドレスを参照し、その宛先アドレスに向けて適切なインタフェースによりフレームを送信することで転送する。
The
転送部14は、上記いずれかのインタフェースからフレームを受信すると、受信したフレームの送信元を一定時間、転送テーブル(不図示)に記憶している。受信したフレームの宛先アドレスが直接に接続されている装置である場合には、転送テーブルを参照することで、出力すべきインタフェースを決定し得る。また、転送部14は、受信したフレームの宛先アドレスが他の基地局Mを介して接続されている装置である場合には、経路制御部16が管理している経路テーブル17及び端末テーブル18を参照し、受信したフレームを出力すべきインタフェースを、有線IF11、無線IF12及び13のうちから決定し得る。インタフェースを決定する方法は後で説明する。なお、経路テーブル17を経路情報ともいい、端末テーブル18を端末情報ともいう。
When the
なお、転送部14は、経路テーブル17及び端末テーブル18を参照して決定したインタフェースがフレームを送信できない状態である場合には、そのフレームの送信元に対してエラーフレームを送信してもよい。エラーフレームは、メッシュネットワークにおいて自装置が通信不可能であることを示すフレームを利用することができ、例えば、IEEE802.11s規格におけるpath errorフレームを利用し得る。
If the interface determined by referring to the route table 17 and the terminal table 18 cannot transmit a frame, the
STP制御部15は、STPのプロトコル処理(単に「STPの処理」ともいう)を行う制御部である。STP制御部15は、有線IF11及び無線IF12によりSTPのBPDU(Bridge Protocol Data Unit)を送信する。また、有線IF11及び無線IF12により他の基地局Mが送信するBPDUを受信する。そして、STPの処理に基づいて、有線IF11を、フォワーディング状態及びブロッキング状態を含む複数の状態のうちのどの状態とするかを制御する。ここでフォワーディング状態とは、フレームの送受信が可能である状態をいい、ブロッキング状態とは、BPDUの受信をする以外は、フレームの送受信が不可能である状態をいう。
The
経路制御部16は、メッシュネットワークにおける通信経路の構築又は削除などの制御を行う処理部である。経路制御部16は、他の基地局Mとの間でメッシュネットワークのルーティングプロトコルによる通信を行い、メッシュネットワークを構成する基地局Mそれぞれとの通信に用いる通信経路のネクストホップ装置を示す経路テーブル17を生成して管理している。また、メッシュネットワークに接続されている端末がどの基地局Mに接続されているかを示す端末テーブル18を生成して保有している。
The
また、経路制御部16は、転送部14が転送したフレームが、宛先端末に到達したか否かを判定する。そして、経路制御部16は、上記フレームが宛先端末に到達しないと判定した場合に端末テーブル18を削除する。上記の判定では、例えば、転送部14が転送したフレームに対する受信応答フレーム(ACKフレーム)を、送信したインタフェースによって受信したときに、転送部14が転送したフレームが宛先端末に到達したと判定し、そうでない場合に、宛先端末に到達しないと判定する。また、例えば、エラーフレームを受信した場合に、宛先端末に到達しないと判定する。なお、端末テーブル18を削除する、という場合、端末テーブル18のうち宛先端末に係るエントリを削除することを意味する。
Further, the
経路制御部16は、上記のように端末テーブル18を削除した後、宛先端末へフレームを転送するために新たな端末テーブル18を生成する。具体的には、経路制御部16は、端末テーブル18を削除した場合に、無線IF12により宛先端末を探索するための探索フレームを送受信することで新たな端末テーブル18を生成する。探索フレームの送受信は、例えば、宛先端末のMACアドレスを解決するためのARP(Address Resolution Protocol)リクエストフレームの送信と、そのARPリクエストフレームに対するARPリプライフレームの受信とによってなされる。この探索処理は、端末テーブル18にエントリがないときにメッシュネットワークのルーティングプロトコルに係る処理によって通常になされる処理である。すなわち、この探索処理は、端末テーブル18が削除されたことが契機となって、上記ルーティングプロトコルに係る処理によって行われたものである。
After deleting the terminal table 18 as described above, the
例えば、上記のようにフレームが宛先端末に到達できなくなるのは、他の2以上の基地局Mそれぞれが備える有線IF11のうちフォワーディング状態である有線IF11がブロッキング状態に遷移することによって生ずる。このとき、経路制御部16は、2以上の基地局Mそれぞれが備える有線IF11のうち、新たにフォワーディング状態に遷移した有線IF11を経由して探索フレームを送受信することによって、新たな端末テーブル18を生成する。これにより、基地局M1は、通信許可状態である有線インタフェースを経由して受信した探索フレームを用いて新たな端末情報を生成するので、生成される端末情報は、通信許可状態である有線インタフェースを経由した通信経路に整合したものとなる。
For example, the reason why the frame cannot reach the destination terminal as described above occurs when the wired IF11 in the forwarding state of the wired IF11s included in each of the other two or more base stations M transitions to the blocking state. At this time, the
図3は、本実施の形態に係る経路テーブル17の説明図である。図3に示される経路テーブル17は、具体的には、基地局M1が有する経路テーブルである。 FIG. 3 is an explanatory diagram of the route table 17 according to the present embodiment. Specifically, the route table 17 shown in FIG. 3 is a route table included in the base station M1.
図3に示されるように、経路テーブル17の各エントリは、ネクストホップアドレス31と、宛先アドレス32とを含む。経路テーブル17の各エントリは、1つの宛先アドレスに1対1に対応づけられる。
As shown in FIG. 3, each entry in the route table 17 includes a
ネクストホップアドレス31は、基地局Mから当該エントリに係る宛先アドレスを有する基地局Mに至る通信経路上において、自身の基地局Mに隣接する基地局M(ネクストホップ装置ともいう)のアドレスである。
The
宛先アドレス32は、当該エントリに係る宛先アドレスである。宛先アドレス32が、基地局Mに隣接する基地局Mを指している場合、宛先アドレス32及びネクストホップアドレス31ともに、その基地局Mのアドレスとなる。
The
図3に示される経路テーブル17における最上段のエントリでは、ネクストホップアドレス31及び宛先アドレス32ともに基地局M2のMACアドレスである。また、経路テーブル17における上から2段目のエントリでは、ネクストホップアドレス31及び宛先アドレス32ともに基地局M3のMACアドレスである。なお、図3における「M2」の記載は、基地局M2のMAC(Medium Access Control)アドレスを示している。以降でも同様とする。
In the top-level entry in the route table 17 shown in FIG. 3, both the
図4は、本実施の形態に係る端末テーブル18の説明図である。 FIG. 4 is an explanatory diagram of the terminal table 18 according to the present embodiment.
図4に示されるように、端末テーブル18の各エントリは、基地局アドレス41と、端末アドレス42とを含む。端末テーブル18の各エントリは、1つの端末アドレスに1対1に対応付けられている。
As shown in FIG. 4, each entry in the terminal table 18 includes a
基地局アドレス41は、基地局M等のうち、当該エントリに係る端末が接続されている基地局Mのアドレスである。
The
端末アドレス42は、当該エントリに係る端末のアドレスである。
The
図4に示される端末テーブル18では、端末T2が基地局M2に接続されていることが示されている。 In the terminal table 18 shown in FIG. 4, it is shown that the terminal T2 is connected to the base station M2.
転送部14は、有線IF11並びに無線IF12及び13のいずれかのインタフェースからフレームを受信した場合に、受信したフレームの宛先アドレスを参照する。その宛先アドレスに係る端末が、基地局Mから直接に、つまり他の通信装置を経由することなく通信可能である場合には、上記インタフェースのうち、その宛先に接続されているインタフェースによりフレームを送信する。
When the
また、受信したフレームの宛先に係る端末が、基地局Mから直接に通信可能でない場合には、まず端末テーブル18を参照してその端末が接続されている基地局Mを特定し、次にその基地局Mへ到達するためのネクストホップ装置を特定し、そのネクストホップ装置に向けて接続されているインタフェースによりフレームを送信する。 If the terminal related to the destination of the received frame cannot communicate directly from the base station M, the terminal table 18 is first referred to to identify the base station M to which the terminal is connected, and then the terminal station M is specified. The next hop device for reaching the base station M is specified, and the frame is transmitted by the interface connected to the next hop device.
このようにして、転送部14は、受信したフレームの宛先アドレスに向けて適切なインタフェースによりフレームを送信することで転送する。
In this way, the
以上のように構成された基地局Mの処理について説明する。 The processing of the base station M configured as described above will be described.
図5は、本実施の形態に係る基地局Mの処理を示すフロー図である。図5に示される一連の処理は、基地局Mによる通信経路の構築が完了した後に、端末T1が端末T2を宛先としてフレームを送信する場合の処理を示している。 FIG. 5 is a flow chart showing processing of the base station M according to the present embodiment. The series of processes shown in FIG. 5 show a process in which the terminal T1 transmits a frame to the terminal T2 after the construction of the communication path by the base station M is completed.
図5に示されるように、ステップS100において、STP制御部15及び経路制御部16は、STPの処理、及び、ルーティングプロトコルに基づく処理を行い、経路テーブル17及び端末テーブル18を生成し、管理する。
As shown in FIG. 5, in step S100, the
ステップS101において、転送部14は、有線IF11並びに無線IF12及び13のいずれかのインタフェースからフレームを受信したか否かを判定する。上記いずれかのインタフェースからフレームを受信した場合(ステップS101でYes)にはステップS102に進み、そうでない場合(ステップS101でNo)には、ステップS101を再び実行する。つまり、転送部14は、上記いずれかのインタフェースからフレームを受信するまでステップS101で待機状態をとる。
In step S101, the
ステップS102において、転送部14は、上述のように、経路制御部16で管理されている経路テーブル17及び端末テーブル18とを参照して、ステップS101で受信したフレームを上記いずれかのインタフェースにより送信することで転送する。
In step S102, as described above, the
ステップS103において、経路制御部16は、ステップS102で転送したフレームが宛先端末に到達したか否かを判定する。宛先端末に到達したと判定した場合には、図5に示される一連の処理を終了し、そうでない場合には、ステップS104に進む。
In step S103, the
ステップS104において、経路制御部16は、端末テーブル18のエントリを削除する。
In step S104, the
ステップS105において、経路制御部16は、端末T2を探索する処理を行う。この処理は、例えば、端末T2のMACアドレスを解決するためのARPリクエストフレームの送信、及び、上記ARPリクエストフレームに対して端末T2が送信するARPリプライフレームの受信によりなされる。
In step S105, the
ステップS106において、経路制御部16は、ステップS105で行った端末T2の探索処理の結果に基づいて、端末テーブル18を生成する。
In step S106, the
以上の一連の処理により、メッシュネットワークにおいて基地局Mから端末への通信ができない場合に、通信経路を適切に切り替え、通信を可能にし得る。 Through the above series of processes, when communication from the base station M to the terminal is not possible in the mesh network, the communication path can be appropriately switched to enable communication.
次に、端末T1が通信システム1を介して端末T2に対してフレームを送信する場合の処理を、より具体的に説明する。
Next, the process when the terminal T1 transmits a frame to the terminal T2 via the
図6は、実施の形態に係る通信システム1における通常時の処理を示すシーケンス図である。図6は、基地局M1、M2及びM3によるSTPの処理、及び、メッシュネットワークにおける通信経路の構築が完了している状態において、端末T1から端末T2にデータフレームを送信する場合の処理を示している。このとき、基地局M2の有線IF11がフォワーディング状態であり、基地局M3の有線IF11がブロッキング状態である。また、基地局M1が有する端末テーブル18は、端末T2が基地局M2に接続されていることを示している。
FIG. 6 is a sequence diagram showing normal processing in the
ステップS201において、端末T1は、データフレームを送信する。基地局M1の無線IF12は、端末T1が送信したデータフレームを受信する。 In step S201, terminal T1 transmits a data frame. The radio IF12 of the base station M1 receives the data frame transmitted by the terminal T1.
ステップS211において、基地局M1の転送部14は、ステップS201で受信したフレームを、端末テーブル18を参照して基地局M2に転送する。この処理は、ステップS102(図5参照)に相当する。基地局M2は、送信されたフレームを受信する。
In step S211 the
ステップS221において、基地局M2の転送部14は、ステップS211で受信したフレームを、端末テーブル18を参照して端末T2に転送する。この処理は、ステップS102(図5参照)に相当する。端末T2は、送信されたフレームを受信する。
In step S221, the
このようにして、端末T1が送信したデータフレームが端末T2に到達する。 In this way, the data frame transmitted by the terminal T1 reaches the terminal T2.
図7は、本実施の形態に係る通信システム1における障害発生時の処理を示すシーケンス図である。図7は、図6の状態において、基地局M2に障害が発生し、基地局M2が通信不可能な状態になったときの各装置の処理を示している。
FIG. 7 is a sequence diagram showing processing when a failure occurs in the
図7において、基地局M2に障害が発生すると、その障害発生の後には、基地局M3は、基地局M2からのBPDUを受信しなくなる。 In FIG. 7, when a failure occurs in the base station M2, the base station M3 does not receive the BPDU from the base station M2 after the failure occurs.
ステップS331において、基地局M3は、基地局M2からのBPDUを受信しなくなったことに基づいてSTPの処理を行い、有線IF11がフォワーディング状態に遷移する。 In step S331, the base station M3 performs STP processing based on the fact that the BPDU from the base station M2 is no longer received, and the wired IF 11 transitions to the forwarding state.
ステップS301において、端末T1がデータフレームを送信すると、基地局M1の無線IF12がそのデータフレームを受信する。 In step S301, when the terminal T1 transmits a data frame, the radio IF 12 of the base station M1 receives the data frame.
ステップS311において、基地局M1の転送部14は、ステップS301で受信したフレームを、端末テーブル18を参照して基地局M2に転送する。この処理は、ステップS102(図5参照)に相当する。基地局M2は、障害が発生しているので、基地局M1が送信したデータフレームを受信できない。
In step S311 the
ステップS312において、基地局M1の経路制御部16は、ステップS311で転送部14が送信したデータフレームに対するACKフレームを基地局M2から受信しないことに基づいて、送信したデータフレームが端末T2に到達しなかったと判定し、端末テーブル18を削除する。この処理は、ステップS103及びS104(図5参照)に相当する。
In step S312, the
ステップS313において、経路制御部16は、端末T2を探索する処理を行う。具体的には、経路制御部16は、端末T2のIPアドレスをターゲットIPアドレスとして設定したARPリクエストパケットをメッシュネットワーク内にブロードキャスト送信し、その応答であるARPリプライパケットを受信する。この処理は、ステップS105(図5参照)に相当する。
In step S313, the
ステップS314において、経路制御部16は、ステップS313における探索処理の結果に基づいて、新たな端末テーブル18を生成する。新たな端末テーブル18は、端末T2が基地局M3に接続されていることを示している。この端末テーブル18は、新たにフォワーディング状態に遷移した基地局M3を経由する通信経路に整合している。
In step S314, the
ステップS302において、端末T1は、データフレームを送信する。基地局M1の無線IF12は、端末T1が送信したデータフレームを受信する。 In step S302, terminal T1 transmits a data frame. The radio IF12 of the base station M1 receives the data frame transmitted by the terminal T1.
ステップS315において、基地局M1の転送部14は、ステップS302で受信したフレームを、端末テーブル18を参照して基地局M3に転送する。この処理は、ステップS102(図5参照)に相当する。基地局M3は、送信されたフレームを受信する。
In step S315, the
ステップS332において、基地局M3の転送部14は、ステップS315で受信したフレームを、端末テーブル18を参照して端末T2に転送する。この処理は、ステップS102(図5参照)に相当する。端末T2は、送信されたフレームを受信する。
In step S332, the
このようにして、経路制御部16は、有線IF11を介して宛先端末に接続されている基地局M2及びM3のうち、有線IF11がフォワーディング状態である基地局M2が通信不可能状態(障害発生)になったことに基づいて、フレームが宛先端末に到達できない場合に、端末テーブル18を削除する。その結果、経路制御部16は、新たな端末テーブル18を生成する。新たに生成される通信経路は、基地局M3を経由する通信経路である。なお、基地局M2が何らかの要因でSTPの処理によりブロッキング状態に遷移したときも同様である。
In this way, among the base stations M2 and M3 connected to the destination terminal via the wired IF11, the
図8は、本実施の形態に係る通信システム1における障害復旧時の処理を示すシーケンス図である。図8は、図7の障害発生後に通信可能となった状態において、基地局M2の障害が復旧し、基地局M2が通信可能な状態になったときの各装置の処理を示している。
FIG. 8 is a sequence diagram showing a process at the time of failure recovery in the
図8において、基地局M2の障害が復旧すると、所定時間経過後に基地局M2の有線IF11はBPDUの送受信を開始する。 In FIG. 8, when the failure of the base station M2 is recovered, the wired IF 11 of the base station M2 starts transmitting and receiving the BPDU after a lapse of a predetermined time.
ステップS421において、基地局M2の有線IF11は、基地局M3とのBPDUの送受信の結果に基づくSTPの処理により、フォワーディング状態に遷移する。 In step S421, the wired IF11 of the base station M2 transitions to the forwarding state by the STP process based on the result of transmission / reception of the BPDU with the base station M3.
ステップS431において、基地局M3の有線IF11は、基地局M2とのBPDUの送受信の結果に基づくSTPの処理により、ブロッキング状態に遷移する。 In step S431, the wired IF11 of the base station M3 transitions to the blocking state by the STP process based on the result of transmission / reception of the BPDU with the base station M2.
ステップS401において、端末T1がデータフレームを送信すると、基地局M1の無線IF12がそのデータフレームを受信する。 In step S401, when the terminal T1 transmits a data frame, the radio IF 12 of the base station M1 receives the data frame.
ステップS411において、基地局M1の転送部14は、ステップS401で受信したフレームを、端末テーブル18を参照して基地局M3に転送する。この処理は、ステップS102(図5参照)に相当する。基地局M3は、送信されたフレームを受信するが、有線IF11がブロッキング状態であるので、受信したフレームを有線IF11により送信することが禁止される。
In step S411, the
ステップS432において、基地局M3は、ステップS411でフレームを送信することが禁止されたことに基づいて、基地局M3に転送部14によってエラーフレームを基地局M1に送信する。基地局M1の経路制御部16は、基地局M3からエラーフレームを受信する。
In step S432, the base station M3 transmits an error frame to the base station M3 by the
ステップS412において、基地局M1の経路制御部16は、ステップS432でエラーフレームを受信したことに基づいて、端末テーブル18を削除する。この処理は、ステップS103及びS104(図5参照)に相当する。
In step S412, the
ステップS413及びS414において、経路制御部16は、端末T2を探索する処理を行い、探索処理の結果に基づいて、新たな端末テーブル18を生成する。この処理は、ステップS313及びS314(図6参照)と同様である。新たな端末テーブル18は、端末T2が基地局M2に接続されていることを示している。この端末テーブル18は、新たにフォワーディング状態に遷移した基地局M2を経由する通信経路に整合している。
In steps S413 and S414, the
ステップS402において、端末T1は、データフレームを送信する。基地局M1の無線IF12は、端末T1が送信したデータフレームを受信する。 In step S402, terminal T1 transmits a data frame. The radio IF12 of the base station M1 receives the data frame transmitted by the terminal T1.
ステップS415において、基地局M1の転送部14は、ステップS402で受信したフレームを、端末テーブル18を参照して基地局M2に転送する。この処理は、ステップS102(図5参照)に相当する。基地局M2は、送信されたフレームを受信する。
In step S415, the
ステップS422において、基地局M2の転送部14は、ステップS415で受信したフレームを、端末テーブル18を参照して端末T2に転送する。この処理は、ステップS102(図5参照)に相当する。端末T2は、送信されたフレームを受信する。
In step S422, the
このようにして、経路制御部16は、有線IF11を介して宛先端末に接続されている基地局M2及びM3のうち、通信不可能状態(障害発生)になった基地局M2が通信可能状態(障害復旧)になったことに基づいて、フレームが宛先端末に到達できない場合に、端末テーブル18を削除する。その結果、経路制御部16は、新たな端末テーブル18を生成する。新たに生成される通信経路は、基地局M2を経由する通信経路である。
In this way, the
なお、本実施の形態における基地局Mを用いて別形態の通信システムを構成することも可能である。別形態の通信システムについて以下で説明する。 It is also possible to configure another type of communication system by using the base station M in the present embodiment. Another form of communication system will be described below.
図9は、本実施の形態に係る通信システムの別形態である通信システム1Aの構成と、通常時の通信経路とを示す模式図である。 FIG. 9 is a schematic diagram showing a configuration of a communication system 1A, which is another form of the communication system according to the present embodiment, and a communication path in a normal state.
図9に示されるように、通信システム1Aは、8個の基地局M11〜M18と、ハブ20とを備える。
As shown in FIG. 9, the communication system 1A includes eight base stations M11 to M18 and a
基地局M11〜M18のそれぞれは、通信システム1の基地局Mと同じ通信装置である。また、ハブ20は、通信システム1のハブ20と同じである。
Each of the base stations M11 to M18 is the same communication device as the base station M of the
通信システム1Aでは、3個の基地局M16、M17及びM18が有線IF11によってハブ20を介して端末T2に接続されている。そして、STPの処理により、基地局M17の有線IF11がフォワーディング状態に設定されており、基地局M16及びM18の有線IF11がブロッキング状態に設定されている。
In the communication system 1A, three base stations M16, M17 and M18 are connected to the terminal T2 via a
基地局M11から端末T2に至る通信経路は、図9に矢印で示されるように、基地局M11、M13及びM17をこの順に経由する通信経路である。 The communication path from the base station M11 to the terminal T2 is a communication path that passes through the base stations M11, M13, and M17 in this order, as shown by arrows in FIG.
このとき、基地局M11が有する経路テーブル17には、基地局M17に至る通信経路におけるネクストホップ装置が基地局M13であることが示されている。また、基地局M11が有する端末テーブル18には、端末T2が基地局M17に接続されていることが示されている。 At this time, the route table 17 of the base station M11 shows that the next hop device in the communication path to the base station M17 is the base station M13. Further, the terminal table 18 included in the base station M11 shows that the terminal T2 is connected to the base station M17.
端末T1が端末T2を宛先としたデータフレームを送信すると、データフレームは、基地局M11、M13及びM17を経由して端末T2に到達する。 When the terminal T1 transmits a data frame destined for the terminal T2, the data frame reaches the terminal T2 via the base stations M11, M13 and M17.
この状態において、基地局M17に障害が発生した場合の通信経路について図10を用いて説明する。 In this state, a communication path when a failure occurs in the base station M17 will be described with reference to FIG.
図10は、本実施の形態に係る通信システムの別形態である通信システム1Aの障害発生時の通信経路を示す模式図である。 FIG. 10 is a schematic diagram showing a communication path when a failure occurs in the communication system 1A, which is another form of the communication system according to the present embodiment.
まず、STPの処理により、基地局M18の有線IF11がフォワーディング状態に遷移し、基地局M16の有線IF11がブロッキング状態を維持する。 First, the STP process causes the wired IF11 of the base station M18 to transition to the forwarding state, and the wired IF11 of the base station M16 maintains the blocking state.
基地局M11から端末T2に至る通信経路は、図7で説明したような経緯をたどって、図10に矢印で示されたとおり、基地局M11、M14及びM18をこの順に経由する通信経路に変更される。 The communication path from the base station M11 to the terminal T2 is changed to a communication path that goes through the base stations M11, M14, and M18 in this order, as shown by the arrows in FIG. 10, following the process described in FIG. Will be done.
このとき、基地局M11が有する経路テーブル17には、基地局M18に至る通信経路におけるネクストホップ装置が基地局M14であることが示されている。また、基地局M11が有する端末テーブル18には、端末T2が基地局M18に接続されていることが示されている。 At this time, the route table 17 included in the base station M11 shows that the next hop device in the communication path to the base station M18 is the base station M14. Further, the terminal table 18 included in the base station M11 shows that the terminal T2 is connected to the base station M18.
端末T1が端末T2を宛先としたデータフレームを送信すると、データフレームは、基地局M11、M14及びM18を経由して端末T2に到達する。 When the terminal T1 transmits a data frame destined for the terminal T2, the data frame reaches the terminal T2 via the base stations M11, M14 and M18.
以上のように、本実施の形態に係る通信装置は、転送したフレームが宛先端末に到達できない場合に端末情報を削除することによって、その宛先端末にフレームを送信するために必要な端末情報を生成する処理をその後に行う契機を作ることができる。このように端末情報を削除すると、通信装置はその後に新たな端末情報を生成し、生成した新たな端末情報を用いて宛先端末にフレームを転送する。メッシュネットワーク内から宛先端末に向かう通信の通信経路は、有線インタフェースを備えている通信装置のうち通信許可状態である通信装置を経由する通信経路となり、端末情報は、上記通信経路に整合した端末情報になっている。このとき、何らかの要因が生じ、ループ回避用プロトコルの処理により通信許可状態である通信装置が通信禁止状態に遷移すると、上記通信経路を経由した宛先端末への通信が不可能になる。そこで、このような状態の遷移があった場合に端末情報を新たに生成すれば、新たに生成される端末情報は、新たに通信許可状態に遷移した通信装置を経由した通信経路に整合した端末情報になる。その結果、送信元端末が送信したフレームを、新たな通信経路及び端末情報に従って、宛先端末へ到達させることができる。このように、本実施の形態に係る通信装置は、メッシュネットワークにおける通信経路を適切に切り替えることができる。 As described above, the communication device according to the present embodiment generates terminal information necessary for transmitting a frame to the destination terminal by deleting the terminal information when the transferred frame cannot reach the destination terminal. It is possible to create an opportunity to perform the subsequent processing. When the terminal information is deleted in this way, the communication device subsequently generates new terminal information and transfers the frame to the destination terminal using the generated new terminal information. The communication path for communication from within the mesh network to the destination terminal is a communication path that passes through a communication device that is in a communication permitted state among communication devices equipped with a wired interface, and the terminal information is terminal information consistent with the above communication path. It has become. At this time, if some factor occurs and the communication device in the communication permitted state transitions to the communication prohibited state by the processing of the loop avoidance protocol, communication to the destination terminal via the communication path becomes impossible. Therefore, if terminal information is newly generated when such a state transition occurs, the newly generated terminal information is a terminal that matches the communication path via the communication device that has newly transitioned to the communication permission state. It becomes information. As a result, the frame transmitted by the source terminal can reach the destination terminal according to the new communication path and terminal information. As described above, the communication device according to the present embodiment can appropriately switch the communication path in the mesh network.
また、通信装置は、端末情報を削除したことに伴って生成した新たな端末情報を用いて、フレームを宛先端末に向けて転送することができる。よって、通信装置は、メッシュネットワークにおける通信経路を適切に切り替えることができる。 Further, the communication device can transfer the frame toward the destination terminal by using the new terminal information generated by deleting the terminal information. Therefore, the communication device can appropriately switch the communication path in the mesh network.
また、通信装置は、有線ネットワークに接続している通信装置が通信不可能状態になった場合に、その通信不可能状態になった通信装置を避けて宛先端末に至る通信経路を新たに生成する。このようにして、通信装置は、通信不可能状態になった通信装置を避ける新たな通信経路に適切に切り替えることができる。 In addition, when the communication device connected to the wired network becomes incommunicable, the communication device avoids the communication device in the incommunicable state and newly generates a communication path to the destination terminal. .. In this way, the communication device can be appropriately switched to a new communication path that avoids the communication device that has become incommunicable.
また、通信装置は、通信不可能状態になった通信装置が通信可能になった場合に、その通信可能状態になった通信装置を経由して宛先端末に至る通信経路を新たに生成する。このようにして、通信装置は、通信可能状態になった通信装置を経由する新たな通信経路に適切に切り替えることができる。 Further, the communication device newly generates a communication path to the destination terminal via the communication device in the communicable state when the communication device in the communicable state becomes communicable. In this way, the communication device can be appropriately switched to a new communication path via the communication device that has become communicable.
また、通信装置は、経路情報をさらに用いてメッシュネットワーク内でフレームを転送する。これにより、通信装置が端末情報に示されている通信装置に隣接していない場合であっても、経路情報を用いて得られる宛先にフレームを送信することができる。 The communication device also uses the route information to transfer frames within the mesh network. As a result, even when the communication device is not adjacent to the communication device shown in the terminal information, the frame can be transmitted to the destination obtained by using the route information.
なお、本発明は、装置として実現できるだけでなく、その装置を構成する処理手段をステップとする方法として実現したり、それらステップをコンピュータに実行させるプログラムとして実現したり、そのプログラムを記録したコンピュータ読み取り可能なCD−ROMなどの記録媒体として実現したり、そのプログラムを示す情報、データ又は信号として実現したりすることもできる。そして、それらプログラム、情報、データ及び信号は、インターネット等の通信ネットワークを介して配信してもよい。 The present invention can be realized not only as an apparatus, but also as a method in which the processing means constituting the apparatus is used as a step, as a program for causing a computer to execute those steps, or as a computer reading in which the program is recorded. It can also be realized as a possible recording medium such as a CD-ROM, or as information, data or a signal indicating the program. Then, those programs, information, data and signals may be distributed via a communication network such as the Internet.
以上、本発明の通信装置等について、実施の形態に基づいて説明したが、本発明は、この実施の形態に限定されるものではない。本発明の趣旨を逸脱しない限り、当業者が思いつく各種変形を本実施の形態に施したものや、異なる実施の形態における構成要素を組み合わせて構築される形態も、本発明の範囲内に含まれる。 Although the communication device and the like of the present invention have been described above based on the embodiment, the present invention is not limited to this embodiment. As long as the gist of the present invention is not deviated, various modifications that can be thought of by those skilled in the art are applied to the present embodiment, and a form constructed by combining components in different embodiments is also included in the scope of the present invention. ..
本発明は、メッシュネットワークにおける通信経路を適切に切り替える通信装置に適用され得る。具体的には、メッシュネットワークを構成する基地局である、いわゆるメッシュポイントに適用され得る。 The present invention can be applied to a communication device that appropriately switches a communication path in a mesh network. Specifically, it can be applied to so-called mesh points, which are base stations constituting a mesh network.
1、1A 通信システム
11 有線IF
12、13 無線IF
14 転送部
15 STP制御部
16 経路制御部
17 経路テーブル
18 端末テーブル
20 ハブ
31 ネクストホップアドレス
32 宛先アドレス
41 基地局アドレス
42 端末アドレス
M、M1、M2、M3、M11、M12、M13、M14、M15、M16、M17、M18 基地局
T1、T2 端末
1,
12, 13 wireless IF
14
Claims (7)
前記メッシュネットワークは、前記複数の通信装置のうちの2以上の通信装置それぞれが備える有線インタフェースを介して宛先端末に通信可能に接続されており、
前記2以上の通信装置それぞれが備える前記有線インタフェースは、ループを回避するためのプロトコルによって動的に通信許可状態及び通信禁止状態を含む状態のいずれかに設定されており、
前記一の通信装置は、
送信元端末と無線通信する無線インタフェースと、
前記複数の通信装置のうち、前記有線インタフェースを介して前記宛先端末に接続されている通信装置を示す端末情報を管理している経路制御部と、
前記送信元端末が前記宛先端末に向けて送信したフレームを前記無線インタフェースにより受信すると、受信した前記フレームを、前記端末情報に示されている前記通信装置に向けて前記メッシュネットワーク内に転送する転送部とを備え、
前記経路制御部は、
前記転送部が転送した前記フレームが前記宛先端末に到達できたか否かを判定し、
前記転送部が転送した前記フレームが前記宛先端末に到達できなかったと判定した場合に、前記端末情報を削除し、
前記端末情報を削除した場合に、前記無線インタフェースにより前記宛先端末を探索するための探索フレームを送受信することで新たな端末情報を生成する
通信装置。 A communication device that is one of a plurality of communication devices that make up a mesh network.
The mesh network is communicably connected to the destination terminal via a wired interface provided in each of two or more communication devices among the plurality of communication devices.
The wired interface provided in each of the two or more communication devices is dynamically set to either a communication permitted state or a communication prohibited state by a protocol for avoiding a loop.
The one communication device is
A wireless interface that wirelessly communicates with the source terminal,
Among the plurality of communication devices, a route control unit that manages terminal information indicating a communication device connected to the destination terminal via the wired interface, and a route control unit.
When the source terminal receives a frame transmitted to the destination terminal by the wireless interface, the received frame is transferred to the communication device indicated in the terminal information into the mesh network. With a department
The route control unit
It is determined whether or not the frame transferred by the transfer unit has reached the destination terminal.
If the frame in which the transfer unit is transferred is determined that could not be reached to the destination terminal, to delete the terminal information,
A communication device that generates new terminal information by transmitting and receiving a search frame for searching the destination terminal by the wireless interface when the terminal information is deleted.
前記経路制御部は、前記2以上の通信装置のうち、前記有線インタフェースが通信許可状態である通信装置が通信不可能状態になったことに基づいて、前記フレームが前記宛先端末に到達できない場合に、前記端末情報を削除する
請求項1に記載の通信装置。 When the wired interface of the communication device becomes incommunicable, the wired interface of the second communication device different from the communication device among the two or more communication devices is put into the communication permitted state by the protocol. After becoming
When the frame cannot reach the destination terminal based on the communication device in which the wired interface is in the communication permitted state becomes incommunicable state among the two or more communication devices. the communication apparatus according to claim 1 to delete the terminal information.
請求項2に記載の通信装置。 The path control unit, by the protocol based on said wired interface is the communication apparatus becomes incommunicable state has become communicable state, the wired interface is a communication disabled state in which the second communication device has by became, if the frame can not reach the destination terminal, the communication apparatus according to claim 2 to remove said terminal information.
前記メッシュネットワーク内において、前記一の通信装置から、前記端末情報に示されている前記通信装置に至る通信経路におけるネクストホップ装置を記憶している経路情報を管理しており、
前記転送部は、
受信した前記フレームを前記通信経路上におけるネクストホップ装置に向けて送信することで、転送する
請求項1〜3のいずれか1項に記載の通信装置。 The route control unit further
In the mesh network, the route information storing the next hop device in the communication path from the one communication device to the communication device shown in the terminal information is managed.
The transfer unit
The communication device according to any one of claims 1 to 3 , wherein the received frame is transmitted to the next hop device on the communication path to transfer the frame.
前記プロトコルは、STP(Spanning Tree Protocol)であり、
通信許可状態は、STPで規定されているフォワーディング状態であり、
通信禁止状態は、STPで規定されているブロッキング状態である
請求項1〜4のいずれか1項に記載の通信装置。 The communication device is
The protocol is STP (Spanning Tree Protocol).
The communication permission state is the forwarding state specified by STP.
The communication device according to any one of claims 1 to 4 , wherein the communication prohibited state is a blocking state defined by STP.
前記メッシュネットワークは、前記複数の通信装置のうちの2以上の通信装置それぞれが備える有線インタフェースを介して宛先端末に通信可能に接続されており、
前記2以上の通信装置それぞれが備える前記有線インタフェースは、ループを回避するためのプロトコルによって動的に通信許可状態及び通信禁止状態を含む状態のいずれかに設定されており、
前記制御方法は、
前記複数の通信装置のうち、前記有線インタフェースを介して前記宛先端末に接続されている通信装置を示す端末情報を管理している経路制御ステップと、
前記送信元端末が前記宛先端末に向けて送信したフレームを前記無線インタフェースにより受信すると、受信した前記フレームを、前記端末情報に示されている前記通信装置に向けて前記メッシュネットワーク内に転送する転送ステップとを含み、
前記経路制御ステップでは、
前記転送ステップで転送した前記フレームが前記宛先端末に到達できたか否かを判定し、
前記転送ステップで転送した前記フレームが前記宛先端末に到達できなかったと判定した場合に、前記端末情報を削除し、
前記端末情報を削除した場合に、前記無線インタフェースにより前記宛先端末を探索するための探索フレームを送受信することで新たな端末情報を生成する
制御方法。 It is a communication device of one of a plurality of communication devices constituting a mesh network, and is a control method of a communication device having a wireless interface for wireless communication with a source terminal.
The mesh network is communicably connected to the destination terminal via a wired interface provided in each of two or more communication devices among the plurality of communication devices.
The wired interface provided in each of the two or more communication devices is dynamically set to either a communication permitted state or a communication prohibited state by a protocol for avoiding a loop.
The control method is
A route control step that manages terminal information indicating a communication device connected to the destination terminal via the wired interface among the plurality of communication devices.
When the source terminal receives a frame transmitted to the destination terminal by the wireless interface, the received frame is transferred to the communication device indicated in the terminal information into the mesh network. Including steps
In the route control step,
It is determined whether or not the frame transferred in the transfer step has reached the destination terminal.
If the frame has been transferred in the transfer step it has determined that could not be reached to the destination terminal, to delete the terminal information,
A control method for generating new terminal information by transmitting and receiving a search frame for searching the destination terminal by the wireless interface when the terminal information is deleted.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2018183991A JP6890334B2 (en) | 2018-09-28 | 2018-09-28 | Communication equipment, control methods, and programs |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2018183991A JP6890334B2 (en) | 2018-09-28 | 2018-09-28 | Communication equipment, control methods, and programs |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2020053926A JP2020053926A (en) | 2020-04-02 |
JP6890334B2 true JP6890334B2 (en) | 2021-06-18 |
Family
ID=69997734
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2018183991A Active JP6890334B2 (en) | 2018-09-28 | 2018-09-28 | Communication equipment, control methods, and programs |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6890334B2 (en) |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2947351B1 (en) * | 1998-08-26 | 1999-09-13 | 日本電信電話株式会社 | Learning type wireless packet transfer method and wireless base station using the method |
JP3010157B1 (en) * | 1998-08-28 | 2000-02-14 | 日本電信電話株式会社 | Wireless packet transfer method and wireless base station using the method |
KR100813611B1 (en) * | 2004-02-18 | 2008-03-17 | 가부시키가이샤 엔티티 도코모 | Packet transfer system, radio base station, and packet transfer route optimization method |
JP2009105690A (en) * | 2007-10-24 | 2009-05-14 | Alaxala Networks Corp | Layer 2 redundancy protocol interconnection device |
CN103475583B (en) * | 2012-06-07 | 2017-11-17 | 华为技术有限公司 | The method and apparatus for removing medium education forwarding-table item |
-
2018
- 2018-09-28 JP JP2018183991A patent/JP6890334B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2020053926A (en) | 2020-04-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4281768B2 (en) | Communication system, radio communication apparatus and control method thereof | |
JP2006304302A (en) | Method and apparatus for transmitting frames over an extended wireless LAN | |
KR20070081733A (en) | Multipathing device and method | |
CN105814922B (en) | Address identification allocation method and related equipment and system | |
US20060262753A1 (en) | Method and apparatus for efficiently transmitting frame in wireless mesh network | |
WO2007020941A1 (en) | Communication terminal and communication path control method in wireless multi-hop network | |
JP3622648B2 (en) | Route update method in micro mobility network | |
JP6211998B2 (en) | Relay device, relay method, and computer program | |
EP3562260B1 (en) | Automatically determining mesh network role of network device | |
JP2010157838A (en) | Communication system including ad hoc network, mobile communication equipment for communication system, and communication method in communication system | |
JP6890334B2 (en) | Communication equipment, control methods, and programs | |
JP4552559B2 (en) | Communication device, setting program, and connection method in ad hoc mode of wireless LAN | |
JP2006166232A (en) | Network switch apparatus and method, radio access apparatus, and radio network system | |
KR100821301B1 (en) | Method and apparatus for improving routing performance in ad hoc network | |
JP5860135B2 (en) | Communication device search method, communication device, communication device search program, and ad hoc network system | |
KR101751891B1 (en) | Controller, apparatus and method, for topology discovery and peer detection based on openflow in openflow wireless mesh network environment | |
JP6023849B1 (en) | Communication system and communication method | |
JP2012060523A (en) | Wireless lan access point | |
KR101772496B1 (en) | System for protection path in a heterogeneous network, apparatus thereof and method thereof | |
JP2006203723A (en) | Radio access point and its path determination method or its communication method, and radio communication system and its communication method | |
JP6345560B2 (en) | Communication device system and program | |
JP3963308B2 (en) | Packet repeater | |
JP6345561B2 (en) | Communication device system and program | |
JPWO2006075402A1 (en) | Open loop network node device and open loop network control method | |
CN115150913B (en) | Router and router ad hoc network method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20201209 |
|
A871 | Explanation of circumstances concerning accelerated examination |
Free format text: JAPANESE INTERMEDIATE CODE: A871 Effective date: 20201209 |
|
A975 | Report on accelerated examination |
Free format text: JAPANESE INTERMEDIATE CODE: A971005 Effective date: 20201209 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20210209 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20210408 |
|
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: 20210511 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20210518 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6890334 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 |