JP4564442B2 - Route search device - Google Patents

Route search device Download PDF

Info

Publication number
JP4564442B2
JP4564442B2 JP2005320487A JP2005320487A JP4564442B2 JP 4564442 B2 JP4564442 B2 JP 4564442B2 JP 2005320487 A JP2005320487 A JP 2005320487A JP 2005320487 A JP2005320487 A JP 2005320487A JP 4564442 B2 JP4564442 B2 JP 4564442B2
Authority
JP
Japan
Prior art keywords
route
packet
sub
search
route search
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.)
Expired - Fee Related
Application number
JP2005320487A
Other languages
Japanese (ja)
Other versions
JP2007129516A (en
Inventor
寛 藤沢
浩樹 南
吉則 和泉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Japan Broadcasting Corp
Original Assignee
Japan Broadcasting Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Japan Broadcasting Corp filed Critical Japan Broadcasting Corp
Priority to JP2005320487A priority Critical patent/JP4564442B2/en
Publication of JP2007129516A publication Critical patent/JP2007129516A/en
Application granted granted Critical
Publication of JP4564442B2 publication Critical patent/JP4564442B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Description

本発明は、例えばアドホックネットワークにおいてデータ転送用の経路を探索する経路探索装置に関する。   The present invention relates to a route search device that searches for a route for data transfer in an ad hoc network, for example.

アドホックネットワークは、複数のノードが相互に通信を行うことによって自律的に生成されるネットワークである。アドホックネットワークにおいては、データの送信元である送信元ノードと、データの宛先である宛先ノードとが互いの通信エリアに存在しない場合、送信元ノードと宛先ノードとの間に位置する中継ノードがデータを中継することによりマルチホップネットワークを形成し、送信元ノードから宛先ノードまで所定のデータを転送することができる。   An ad hoc network is a network that is autonomously generated by a plurality of nodes communicating with each other. In an ad hoc network, when a transmission source node that is a data transmission source and a destination node that is a data transmission destination do not exist in each other's communication area, a relay node positioned between the transmission source node and the transmission destination node Can be used to form a multi-hop network and transfer predetermined data from the source node to the destination node.

しかしながら、アドホックネットワークでは、例えば中継ノードの移動により、リンクの切断が頻繁に生じるので、瞬時に経路を生成し直すことが必要となり、そのためのルーティングプロトコルが種々提案されている。   However, in an ad hoc network, link disconnection frequently occurs, for example, due to movement of a relay node. Therefore, it is necessary to instantly regenerate a route, and various routing protocols have been proposed.

従来のアドホックネットワークの経路作成プロトコルは大きく分けて、経路表を作成してその経路表の情報を基に経路制御を行うテーブル駆動型と、送信元ノード始動によるオンデマンド型とに分類される。   Conventional ad hoc network route creation protocols can be broadly classified into a table-driven type in which a route table is created and route control is performed based on information in the route table, and an on-demand type in which a source node is started.

まず、テーブル駆動型のプロトコルで動作するものは、ネットワーク上の各々のノードから他の全てのノードへの矛盾のない最新の経路情報を維持しようとし、各ノードが経路情報を格納するための経路表を1つ以上持つことによって、ネットワークトポロジーの変化に対応できるようになっている(例えば、非特許文献1参照。)。   First, the one that operates with the table-driven protocol tries to maintain the latest route information without any contradiction from each node on the network to all other nodes, and the route for each node to store the route information. By having one or more tables, it is possible to cope with changes in the network topology (for example, see Non-Patent Document 1).

一方、オンデマンド型のプロトコルで動作するものは、データを送信する送信元ノードが要求したときのみネットワーク内で経路探索処理を起動し、データ転送のための経路上にあるノードのみが経路表を作成し、経路上にないノードは経路表を作成しない構成となっており、経路上にあるノードが経路表の情報に基づいて送信元ノードから宛先ノードまでデータを転送することができるようになっている(例えば、非特許文献2参照。)。   On the other hand, those that operate on the on-demand protocol activate route search processing in the network only when the source node that sends the data requests, and only the nodes on the route for data transfer display the route table. A node that is created and not on the route is configured not to create a route table, and a node on the route can transfer data from the source node to the destination node based on the information in the route table. (See, for example, Non-Patent Document 2).

P.Jacquet,P.Muhlethaler,A.Qayyum,A.Lanouiti,L.Viennot and T.Clausen,IETF MANET Internet Draft"draft−ietf−MANET−olsr−02.txt",July 2000.P. Jacquet, P.M. Muhlethaler, A.M. Qayum, A .; Lanouiti, L.M. Viennot and T.W. Clausen, IETF MANET Internet Draft “draft-ietf-MANET-olsr-02.txt”, July 2000. C.E.Perkins and E.M.Royer,"Ad−hoc On Demand Distance Vector Routing",Second IEEE Workshop on Mobile Computing Systems and Applications,pp.90−100,February 1999.C. E. Perkins and E.M. M.M. Royer, "Ad-hoc On Demand Distance Vector Routing", Second IEEE Works on Mobile Computing Systems and Applications, pp. 90-100, February 1999.

しかしながら、テーブル駆動型のプロトコルで動作するものは、ネットワークトポロジーの変化に応じてネットワーク全体に経路の更新情報を伝送する必要があるので、経路表の更新に所定時間を要し、経路表情報に関するトラフィック量が増大するという問題があった。   However, those that operate using the table-driven protocol need to transmit route update information to the entire network in response to changes in the network topology. There was a problem that the amount of traffic increased.

また、オンデマンド駆動型のプロトコルで動作するものは、送信元ノードの要求後に経路作成を開始するため、経路が確立されるまでに所定時間を要し、そのため例えばノードが移動して経路上のリンクの切断が生じると経路が一旦途切れるため、データの転送においてパケットの到着遅延やパケットロスが生じ、経路変更の際にパケットの伝送が途切れてしまい、瞬時に経路を変更することができないという問題があった。   In addition, those that operate on the on-demand driven protocol start route creation after a request from the transmission source node, so that a predetermined time is required until the route is established. When the link is broken, the route is temporarily interrupted, so packet arrival delay or packet loss occurs during data transfer, packet transmission is interrupted when the route is changed, and the route cannot be changed instantaneously. was there.

本発明は、従来の課題を解決するためになされたものであり、トラフィック量を増大させることなく瞬時に経路を変更することができる経路探索装置を提供することを目的とする。   The present invention has been made to solve the conventional problems, and an object of the present invention is to provide a route search device that can change a route instantaneously without increasing the amount of traffic.

本発明の経路探索装置は、所定の送信元ノードから宛先ノードまでデータを伝送するための主経路及び前記主経路の予備としての副経路の少なくとも一方を探索する経路探索手段と、前記データを伝送する経路制御を行うための経路制御パケットを送受信する送受信手段と、前記主経路上に自装置があることを示す経路モード及び前記副経路上に前記自装置があることを示す監視モードのいずれかのモードを前記経路制御パケットに基づいて設定するモード設定手段と、前記経路探索手段によって前記主経路が探索される際に前記モードに関わらず、前記データを前記宛先ノードまで送信するための情報を含む経路表を前記経路制御パケットに基づいて作成する経路表作成手段とを備え、前記経路制御パケットは、前記主経路及び前記副経路のいずれかを探索するための経路探索パケット及び前記経路探索パケットに対応する経路リプライパケットを含み、前記経路表作成手段は、前記経路探索パケット及び前記経路リプライパケットに基づいて前記宛先ノードのアドレス毎に前記経路表を作成し、前記経路リプライパケットは、前記主経路を探索するための経路探索パケットに対応する副経路用の経路リプライパケットを含み、前記経路探索手段は、前記主経路を探索するための経路探索パケット及び前記副経路用の経路リプライパケットに基づいて前記副経路を生成し、前記送受信手段は、自装置が前記監視モードに設定されているとき、前記副経路用の経路リプライパケットを定期的に送信する構成を有している。 The route search device according to the present invention includes a route search means for searching for at least one of a main route for transmitting data from a predetermined source node to a destination node and a sub route as a backup of the main route, and transmits the data. A transmission / reception means for transmitting / receiving a route control packet for performing route control, a route mode indicating that the device is on the main route, and a monitoring mode indicating that the device is on the sub route Mode setting means for setting the mode based on the route control packet, and information for transmitting the data to the destination node regardless of the mode when the main route is searched by the route search means. the routing table includes a routing table creation means for creating, based on the routing control packet, the routing control packet, the main path and the sub path A route search packet for searching for any one of them and a route reply packet corresponding to the route search packet, and the route table creating means for each address of the destination node based on the route search packet and the route reply packet The route table is created, and the route reply packet includes a route reply packet for a sub route corresponding to a route search packet for searching for the main route, and the route search means searches for the main route. The sub-route is generated based on the route search packet and the route reply packet for the sub route, and the transmission / reception means transmits the route reply packet for the sub route when the own device is set to the monitoring mode. It has a configuration to transmit periodically .

この構成により、本発明の経路探索装置は、データを伝送するための主経路が探索される際に、経路表作成手段がデータを宛先ノードまで送信するための情報を含む経路表を作成するので、トラフィック量を増大させることなく経路表を作成することができる。   With this configuration, the route search device of the present invention creates a route table including information for transmitting data to the destination node when the main route for transmitting data is searched. The route table can be created without increasing the traffic volume.

また、この構成により、本発明の経路探索装置は、主経路上又は副経路上のいずれに自装置があっても、経路表に含まれる情報に基づいてデータを送信すれば宛先ノードに届く状態となっているので、経路変更の際にデータの伝送が途切れることなく、瞬時に経路を変更することができる。
また、この構成により、本発明の経路探索装置は、経路表作成手段が、経路探索パケット及び経路リプライパケットに基づいて宛先ノードのアドレス毎に経路表を作成するので、主経路上又は副経路上のいずれに自装置があっても、経路表に含まれる情報に基づいてデータを送信すれば宛先ノードに届く状態となっており、経路変更の際にデータの伝送が途切れることなく、宛先ノードのアドレス毎に、瞬時に経路を変更することができる。
また、この構成により、本発明の経路探索装置は、経路探索手段が、主経路を探索するための経路探索パケット及び副経路用の経路リプライパケットに基づいて副経路を生成するので、主経路の予備としての副経路を生成することができ、主経路上においてノードの移動等が生じた場合でも、データを伝送する経路を主経路から副経路に瞬時に変更することによってデータを途切れさせることなく宛先ノードに伝送することができる。
また、この構成により、本発明の経路探索装置は、副経路上においてノードの移動等が生じた場合でも、副経路に係る経路表を更新して最新の副経路情報を取得することができる。
Also, with this configuration, the route search device of the present invention can reach the destination node if data is transmitted based on the information included in the route table, regardless of whether the device is on the main route or the sub route. Therefore, the route can be changed instantaneously without interruption of data transmission when the route is changed.
Also, with this configuration, the route search device of the present invention enables the route table creation means to create a route table for each address of the destination node based on the route search packet and the route reply packet. Regardless of the device itself, if data is transmitted based on the information contained in the route table, it reaches the destination node, and data transmission is not interrupted when the route is changed. The route can be changed instantaneously for each address.
Also, with this configuration, the route search device of the present invention generates a sub route based on the route search packet for searching the main route and the route reply packet for the sub route, so that the route search unit of the present invention A spare sub route can be generated, and even if a node moves on the main route, the data transmission route can be instantly changed from the main route to the sub route without interrupting the data. It can be transmitted to the destination node.
Also, with this configuration, the route search apparatus of the present invention can update the route table related to the sub route and acquire the latest sub route information even when a node moves or the like on the sub route.

また、本発明の経路探索装置は、所定の送信元ノードから宛先ノードまでデータを伝送するための主経路及び前記主経路の予備としての副経路の少なくとも一方を探索する経路探索手段と、前記データを伝送する経路制御を行うための経路制御パケットを送受信する送受信手段と、前記主経路上に自装置があることを示す経路モード及び前記副経路上に前記自装置があることを示す監視モードのいずれかのモードを前記経路制御パケットに基づいて設定するモード設定手段と、前記経路探索手段によって前記主経路が探索される際に前記モードに関わらず、前記データを前記宛先ノードまで送信するための情報を含む経路表を前記経路制御パケットに基づいて作成する経路表作成手段とを備え、前記経路制御パケットは、前記主経路及び前記副経路のいずれかを探索するための経路探索パケット及び前記経路探索パケットに対応する経路リプライパケットを含み、前記経路表作成手段は、前記経路探索パケット及び前記経路リプライパケットに基づいて前記宛先ノードのアドレス毎に前記経路表を作成し、前記経路リプライパケットは、前記副経路を探索するための経路探索パケットに対応する副経路用の経路リプライパケットを含み、前記経路探索手段は、前記副経路を探索するための経路探索パケット及び前記副経路用の経路リプライパケットに基づいて前記副経路を生成し、前記送受信手段は、自装置が前記監視モードに設定されているとき、前記副経路用の経路リプライパケットを定期的に送信する構成を有している。 The route search apparatus of the present invention includes a route search means for searching for at least one of a main route for transmitting data from a predetermined source node to a destination node and a sub route as a backup of the main route, and the data Transmitting / receiving means for transmitting / receiving a route control packet for performing route control for transmitting a route, a route mode indicating that the own device is on the main route, and a monitoring mode indicating that the own device is on the sub route. Mode setting means for setting any mode based on the route control packet; and for transmitting the data to the destination node regardless of the mode when the main route is searched by the route search means. Route table creation means for creating a route table including information based on the route control packet, and the route control packet includes the main route and the route A route search packet for searching for any one of the routes and a route reply packet corresponding to the route search packet, wherein the route table creating means includes an address of the destination node based on the route search packet and the route reply packet. The route table is created every time, and the route reply packet includes a route reply packet for a sub route corresponding to a route search packet for searching for the sub route, and the route search means searches for the sub route. The sub-route is generated based on a route search packet and a route reply packet for the sub-route, and the transmission / reception means transmits the route reply for the sub-route when the own device is set in the monitoring mode. It has the structure which transmits a packet regularly .

この構成により、本発明の経路探索装置は、経路表作成手段が、経路探索パケット及び経路リプライパケットに基づいて宛先ノードのアドレス毎に経路表を作成するので、主経路上又は副経路上のいずれに自装置があっても、経路表に含まれる情報に基づいてデータを送信すれば宛先ノードに届く状態となっており、経路変更の際にデータの伝送が途切れることなく、宛先ノードのアドレス毎に、瞬時に経路を変更することができる。
また、この構成により、本発明の経路探索装置は、経路探索手段が、副経路を探索するための経路探索パケット及び副経路用の経路リプライパケットに基づいて副経路を生成するので、主経路の予備としての副経路を生成することができ、主経路上においてノードの移動等が生じた場合でも、データを伝送する経路を主経路から副経路に瞬時に変更することによってデータを途切れさせることなく宛先ノードに伝送することができる。
また、この構成により、本発明の経路探索装置は、副経路上においてノードの移動等が生じた場合でも、副経路に係る経路表を更新して最新の副経路情報を取得することができる。
With this configuration, in the route search device of the present invention, the route table creation means creates a route table for each address of the destination node based on the route search packet and the route reply packet. Even if there is a local device, if data is transmitted based on the information contained in the route table, it reaches the destination node, and data transmission is not interrupted when the route is changed. In addition, the route can be changed instantaneously.
Also, with this configuration, the route search apparatus of the present invention generates a sub route based on the route search packet for searching for the sub route and the route reply packet for the sub route, so that the route search unit of the present invention A spare sub route can be generated, and even if a node moves on the main route, the data transmission route can be instantly changed from the main route to the sub route without interrupting the data. It can be transmitted to the destination node.
Also, with this configuration, the route search apparatus of the present invention can update the route table related to the sub route and acquire the latest sub route information even when a node moves or the like on the sub route.

さらに、本発明の経路探索装置は、前記経路探索パケット及び前記経路リプライパケットは、それぞれ、経路の生成順序を示すシーケンス番号の情報を含み、前記経路表作成手段は、前記シーケンス番号の情報に基づいて前記経路表を更新する構成を有している。   Further, in the route search device of the present invention, each of the route search packet and the route reply packet includes sequence number information indicating a route generation order, and the route table creation means is based on the sequence number information. The routing table is updated.

この構成により、本発明の経路探索装置は、経路表作成手段が、シーケンス番号の情報に基づいて経路表を更新するので、自装置から宛先ノードまでの最新の経路情報を取得することができ、データを宛先ノードに確実に転送することができる。   With this configuration, the route search device of the present invention updates the route table based on the sequence number information, so that the route table creation means can acquire the latest route information from the own device to the destination node, Data can be reliably transferred to the destination node.

本発明は、トラフィック量を増大させることなく瞬時に経路を変更することができるという効果を有する経路探索装置を提供することができるものである。   The present invention can provide a route search apparatus having an effect that a route can be changed instantaneously without increasing the amount of traffic.

以下、本発明の実施の形態について図面を用いて説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

まず、本実施の形態に係る経路探索装置の構成について、図1及び図2を用いて説明する。図1は、本実施の形態に係る経路探索装置のブロック図である。図2は、本実施の形態に係る経路探索装置によって生成される経路の説明図である。なお、本実施の形態に係る経路探索装置がアドホックネットワークにおいて経路探索する例を挙げて説明する。   First, the configuration of the route search apparatus according to the present embodiment will be described with reference to FIGS. FIG. 1 is a block diagram of a route search apparatus according to the present embodiment. FIG. 2 is an explanatory diagram of a route generated by the route search device according to the present embodiment. An example in which the route search device according to the present embodiment searches for a route in an ad hoc network will be described.

図1に示すように、本実施の形態に係る経路探索装置10は、アドホックネットワークに接続されパケットを送受信する送受信部11と、経路探索を行う経路探索部12と、経路モードと監視モードとを切り替えるモード切替スイッチ13と、経路表のデータを記憶する経路表記億部14と、主経路への切り替え及び主経路の経路表の保守を行う主経路切替保守部15と、副経路の経路表の保守を行う副経路保守部16とを備えている。   As shown in FIG. 1, the route search device 10 according to the present embodiment includes a transmission / reception unit 11 connected to an ad hoc network for transmitting and receiving packets, a route search unit 12 for performing route search, a route mode and a monitoring mode. A mode changeover switch 13 for switching, a route notation unit 14 for storing data of the route table, a main route switching maintenance unit 15 for switching to the main route and maintaining the route table of the main route, and a route table of the sub route And a sub-route maintenance unit 16 that performs maintenance.

本実施の形態に係る経路探索装置10をそれぞれ備えた複数のノードによって、図2に示すようなアドホックネットワークを用いてマルチホップ通信を行う無線通信システムを構築することができる。   A wireless communication system that performs multi-hop communication using an ad hoc network as shown in FIG. 2 can be constructed by a plurality of nodes each including the route search device 10 according to the present embodiment.

図2に示されたアドホックネットワークにおいて、データの送信元である送信元ノードからデータの宛先である宛先ノードまでデータ転送を試みると、データを転送するための主経路と、主経路の予備としての副経路がネットワーク上のノードによって自律的に生成される。ここで、副経路は、例えば主経路において発生したパケットロスを補完するために用いられるものである。   In the ad hoc network shown in FIG. 2, when data transfer is attempted from a transmission source node that is a data transmission source to a destination node that is a data transmission destination, a main route for transferring data and a spare for the main route are used. A sub route is autonomously generated by a node on the network. Here, the sub route is used, for example, to compensate for packet loss occurring in the main route.

図2において、実線の矢印で示された経路が主経路であり、破線の矢印で示された経路が副経路である。また、主経路上にあるノードを経路上ノード、副経路上にあるノードを監視ノードという。また、経路上ノードとして動作している状態を経路モード、監視ノードとして動作している状態を監視モードという。   In FIG. 2, a route indicated by a solid arrow is a main route, and a route indicated by a broken arrow is a sub route. A node on the main route is called a node on the route, and a node on the sub route is called a monitoring node. The state operating as a node on the path is referred to as a path mode, and the state operating as a monitoring node is referred to as a monitoring mode.

図1において、送受信部11は、例えば電波を送受信するアンテナ、復調回路、変調回路、ネットワークインターフェースカード等を備えている。なお、送受信部11は、本発明の送受信手段を構成している。   In FIG. 1, the transmission / reception unit 11 includes, for example, an antenna for transmitting / receiving radio waves, a demodulation circuit, a modulation circuit, a network interface card, and the like. The transmission / reception unit 11 constitutes transmission / reception means of the present invention.

経路探索部12は、データ送信を開始する際に所定の経路制御パケットによって、主経路及び副経路を生成するようになっている。なお、経路探索部12は、本発明の経路探索手段を構成している。また、経路探索部12は、後述の経路表を作成する経路表作成手段を構成している。   The route search unit 12 generates a main route and a sub route by a predetermined route control packet when starting data transmission. The route search unit 12 constitutes route search means of the present invention. The route search unit 12 constitutes route table creation means for creating a route table described later.

具体的には、経路探索部12は、図3に示すような経路制御パケットを用いて経路探索を行う。経路制御パケットには、経路を探索するために伝送される経路探索パケットと、この経路探索パケットに対応して伝送される経路リプライパケットとがある。   Specifically, the route search unit 12 performs a route search using a route control packet as shown in FIG. The route control packet includes a route search packet transmitted to search for a route and a route reply packet transmitted in response to the route search packet.

図3(a)は、経路制御パケットの構成例を示す図である。経路制御パケットは、経路探索パケットか経路リプライパケットかを識別するための識別子、通信を行う間のデータ送信元である送信元ノードのアドレスを示すsaddr及び宛先ノードのアドレスを示すdaddr、リンク間の送信元ノードのアドレスを示すlsaddr及び次ホップのアドレスを示すldaddr、経路上ノード用のパケットか監視ノード用のパケットかを示すMode、経路シーケンス番号を示すsq、送信元からのホップ数を示すhopとを含む情報で構成されている。   FIG. 3A is a diagram illustrating a configuration example of a route control packet. The route control packet includes an identifier for identifying a route search packet or a route reply packet, a saddr indicating an address of a transmission source node that is a data transmission source during communication, a adddr indicating an address of a destination node, and between links Lsaddr indicating the address of the transmission source node, ldaddr indicating the address of the next hop, Mode indicating whether the packet is for the node on the route or the packet for the monitoring node, sq indicating the route sequence number, and hop indicating the number of hops from the transmission source It is composed of information including.

経路制御パケットは前述のように構成されているので、送信元ノードのアドレスをS、宛先ノードのアドレスをDとすると、図3(b)に示すように経路探索パケットは、識別子=探索、saddr=S、daddr=D、Mode=監視の情報を含み、この経路探索パケットは、主経路を探索するためブロードキャスト送信されるので、ldaddr=ブロードキャストアドレスとされる。   Since the route control packet is configured as described above, assuming that the source node address is S and the destination node address is D, the route search packet has an identifier = search, saddr as shown in FIG. = S, daddr = D, Mode = monitoring information is included. Since this route search packet is broadcast to search for the main route, ladddr = broadcast address.

また、経路リプライパケットのうち主経路用の経路リプライパケットは、図3(c)に示すように、識別子=リプライ、saddr=D、daddr=S、Mode=経路の情報を含む。   Further, the route reply packet for the main route among the route reply packets includes identifier = reply, saddr = D, adddr = S, and Mode = route information as shown in FIG.

一方、副経路用の経路リプライパケットは、図3(d)に示すように、識別子=リプライ、saddr=D、daddr=S、Mode=監視の情報を含み、この副経路用の経路リプライパケットは、副経路を探索するためブロードキャスト送信されるので、ldaddr=ブロードキャストアドレスとされる。   On the other hand, as shown in FIG. 3 (d), the route reply packet for the sub route includes information of identifier = reply, saddr = D, daddr = S, Mode = monitor, and this route reply packet for the sub route is Since the broadcast transmission is performed to search for the sub route, ldaddr = broadcast address.

モード切替スイッチ13は、主経路用の経路リプライパケット又は副経路用の経路リプライパケットに含まれるModeの情報に基づいて、自装置を経路モード又は監視モードに設定するようになっている。なお、モード切替スイッチ13は、本発明のモード設定手段を構成している。   The mode change-over switch 13 is configured to set the own apparatus to the route mode or the monitoring mode based on the Mode information included in the route reply packet for the main route or the route reply packet for the sub route. The mode switch 13 constitutes the mode setting means of the present invention.

経路表記億部14は、送信元ノードが経路探索を起動した際に、経路探索部12によって作成される経路表のデータを記憶するようになっている。この経路表は、図4に示すような構成で、宛先ごとに作成される。   The route notation unit 14 stores data of the route table created by the route search unit 12 when the transmission source node starts route search. This routing table has a configuration as shown in FIG. 4 and is created for each destination.

すなわち、図4に示すように経路表は、宛先ノードのアドレス、次ホップのアドレス、経路制御パケットの発信元から自装置までのホップ数、主経路探索における経路制御パケットの生成順序を示す主経路シーケンス番号、副経路探索における経路制御パケットの生成順序を示す副経路シーケンス番号の情報を含んでいる。なお、以下の記載において、例えばノードD宛の経路表が、宛先ノードのアドレス=D、次ホップのアドレス=a、ホップ数=1、主経路シーケンス番号=2、副経路シーケンス番号=0という情報を含む場合、この経路表を(D、a、1、2、0)のように表記する。   That is, as shown in FIG. 4, the route table includes the address of the destination node, the address of the next hop, the number of hops from the source of the route control packet to the own device, and the main route indicating the generation order of the route control packet in the main route search It includes information on the sequence number and the sub route sequence number indicating the generation order of the route control packet in the sub route search. In the following description, for example, the route table addressed to the node D includes information that the destination node address = D, the next hop address = a, the number of hops = 1, the main route sequence number = 2, and the sub route sequence number = 0. This route table is expressed as (D, a, 1, 2, 0).

主経路切替保守部15は、自装置が監視モードにある場合、主経路用の経路リプライパケットを受信した際に監視モードから経路モードに切り替えるようになっている。また、主経路切替保守部15は、経路制御パケットに含まれる情報に基づいて経路表を更新することもできるようになっている。   When the own device is in the monitoring mode, the main route switching maintenance unit 15 switches from the monitoring mode to the route mode when receiving a route reply packet for the main route. In addition, the main route switching maintenance unit 15 can also update the route table based on information included in the route control packet.

副経路保守部16は、自装置が監視モードにある場合、例えば隣接したノードが移動したことによって新たな経路情報を取得した際に経路表を更新することができるようになっている。   When the own device is in the monitoring mode, the sub route maintenance unit 16 can update the route table when new route information is acquired due to, for example, an adjacent node moving.

次に、本実施の形態に係る経路探索装置10の動作について図5を用いて説明する。図5は、複数のノードによって構成された無線アドホック通信システムを示すものであり、この無線アドホック通信システムの動作を説明することによって経路探索装置10の動作を説明する。   Next, the operation of the route search apparatus 10 according to the present embodiment will be described with reference to FIG. FIG. 5 shows a wireless ad hoc communication system composed of a plurality of nodes. The operation of the route search apparatus 10 will be described by explaining the operation of the wireless ad hoc communication system.

図5において、データを送信する送信元ノードSと、データの宛先である宛先ノードDと、送信元ノードSと宛先ノードDとの間においてデータを中継する中継ノードa、b及びcとが示されている。送信元ノードS、宛先ノードD、中継ノードa、b及びcの構成の一部として、それぞれ、図1に示された本実施の形態に係る経路探索装置10を備えているものとする。また、図5において、送信元ノードS、中継ノードa、b、c、宛先ノードDのアドレスを、それぞれ、S、a、b、c、Dと表すものとする。   FIG. 5 shows a source node S that transmits data, a destination node D that is a destination of data, and relay nodes a, b, and c that relay data between the source node S and the destination node D. Has been. Assume that the route search apparatus 10 according to the present embodiment shown in FIG. 1 is provided as part of the configuration of the transmission source node S, destination node D, and relay nodes a, b, and c. In FIG. 5, the addresses of the source node S, the relay nodes a, b, c, and the destination node D are represented as S, a, b, c, D, respectively.

まず、送信元ノードSによって経路探索が開始される(図5(a))。すなわち、送信元ノードSは、識別子=探索、saddr=S、daddr=D、lsaddr=S、ldaddr=ブロードキャストアドレス、Mode=監視、sq=0、hop=0の情報を含む経路探索パケットをブロードキャスト送信する。   First, a route search is started by the transmission source node S (FIG. 5A). That is, the transmission source node S broadcasts a route search packet including information of identifier = search, saddr = S, adddr = D, lsaddr = S, ldaddr = broadcast address, Mode = monitor, sq = 0, hop = 0. To do.

この経路探索パケットは、中継ノードa及びcによって受信され、中継ノードa及びcは、受信した経路探索パケットに含まれる前述の情報に基づいて、それぞれの経路表に(S、S、1、0、0)を登録する。   This route search packet is received by the relay nodes a and c, and the relay nodes a and c have (S, S, 1, 0) in their respective route tables based on the above-described information included in the received route search packet. , 0).

次いで、中継ノードa、b及びcによって、経路探索パケットがブロードキャスト転送される(図5(b))。   Next, the route search packet is broadcasted by the relay nodes a, b, and c (FIG. 5B).

まず、送信元ノードSからの経路探索パケットを受信した中継ノードa及びcは、受信した経路探索パケットの宛先アドレスsaddrが自装置のアドレスではないので、リンク元アドレスlsaddrを自装置のアドレスに変更し、変更後の経路探索パケットをブロードキャスト送信する。   First, the relay nodes a and c that have received the route search packet from the source node S change the link source address lsaddr to the own device address because the destination address saddr of the received route search packet is not the address of the own device. Then, the changed route search packet is broadcasted.

ここで、送信元ノードSは、中継ノードa及びcからの経路探索パケットを受信するが、送信元アドレスsaddrが自装置のアドレスなので、受信した経路探索パケットを廃棄する。また、中継ノードaは、中継ノードcからも経路探索パケットを受信するが、すでに同じ宛先で同じ経路シーケンス番号sqの経路探索パケットを送信元ノードSから受信しているので、中継ノードcから受信した経路探索パケットを廃棄する。同様に、中継ノードcも、中継ノードaからの経路探索パケットを受信後に廃棄する。   Here, the source node S receives the route search packets from the relay nodes a and c, but discards the received route search packet because the source address saddr is the address of its own device. The relay node a also receives the route search packet from the relay node c, but has already received the route search packet with the same destination and the same route sequence number sq from the transmission source node S. The route search packet is discarded. Similarly, the relay node c also discards the route search packet received from the relay node a.

次いで、中継ノードbは、中継ノードcからの経路探索パケットを受信し、経路表に(S、c、2、0、0)、つまり、送信元ノードSへの経路として次ホップをc、ホップ数を2として登録する。なお、中継ノードbは、中継ノードaからの経路探索パケットも受信するが、同じものを中継ノードcから受信しているので、中継ノードaから受信した経路探索パケットを廃棄する。   Next, the relay node b receives the route search packet from the relay node c, and in the route table (S, c, 2, 0, 0), that is, c, the next hop as the route to the source node S, hop Register the number as 2. The relay node b also receives the route search packet from the relay node a, but discards the route search packet received from the relay node a because the same packet is received from the relay node c.

引き続き、宛先ノードDは、中継ノードaから経路探索パケットを受信し、経路表に(S、a、2、0、0)を登録する。なお、宛先ノードDは、中継ノードbからも経路探索パケットを受信するが、すでに同じ宛先で同じ経路シーケンス番号sqの経路探索パケットを中継ノードaから受信しているので、中継ノードbから受信した経路探索パケットを廃棄する。   Subsequently, the destination node D receives the route search packet from the relay node a and registers (S, a, 2, 0, 0) in the route table. The destination node D also receives the route search packet from the relay node b, but has already received the route search packet with the same destination and the same route sequence number sq from the relay node a. Discard the route search packet.

次いで、経路探索パケットを受信した宛先ノードDによって、経路探索パケットに対応する経路リプライパケットが送信元ノードSに向けて送信される(図5(c))。   Next, the destination node D that has received the route search packet transmits a route reply packet corresponding to the route search packet toward the transmission source node S (FIG. 5C).

まず、宛先ノードDが受信した経路探索パケットの宛先アドレスsaddrは自装置のアドレスであったため、宛先ノードDによって、Mode=監視の情報を含む副経路用の経路リプライパケットが送信元ノードSに向けてブロードキャスト送信される。   First, since the destination address saddr of the route search packet received by the destination node D is the address of its own device, the route reply packet for the sub route including Mode = monitoring information is sent to the source node S by the destination node D. Broadcast.

次いで、中継ノードa、b及びcによって、ブロードキャスト送信された副経路用の経路リプライパケットが順次受信され、送信元ノードSからの経路探索パケットを受信したときと同様に、宛先ノードDへの経路表が各中継ノードにおいて作成される。ただし、経路探索パケットを受信したときとは異なり、各中継ノードのモード切替スイッチ13によって、各中継ノードが監視モードとして設定される。   Next, the relay nodes a, b and c sequentially receive the route reply packets for the sub route broadcast and transmit the route route to the destination node D in the same manner as when the route search packet from the source node S is received. A table is created at each relay node. However, unlike when a route search packet is received, each relay node is set as a monitoring mode by the mode switch 13 of each relay node.

さらに、宛先ノードDによって、Mode=経路の情報を含む主経路用の経路リプライパケットが送信元ノードSに向けてユニキャスト送信される。つまり、宛先ノードDの経路表は(S、a、2、0、0)となっているので、リンク先アドレスldaddr=aとして、中継ノードaに主経路用の経路リプライパケットが送信される。   Further, the route reply packet for the main route including Mode = route information is unicasted toward the transmission source node S by the destination node D. That is, since the route table of the destination node D is (S, a, 2, 0, 0), the route reply packet for the main route is transmitted to the relay node a as the link destination address ldaddr = a.

次いで、中継ノードaによって、主経路用の経路リプライパケットが受信される。ここで、中継ノードaは、すでにMode=監視の情報を含む副経路用の経路リプライパケットを受信しているので監視モードとなっているが、Mode=経路の情報を含む主経路用の経路リプライパケットを受け取ることにより、中継ノードaの主経路切替保守部15によって、経路表が上書きされて更新される。なお、Mode=経路の装置が、Mode=監視の情報を含む副経路用の経路リプライパケットを受け取った場合は、経路表は上書きできない。   Next, a route reply packet for the main route is received by the relay node a. Here, since the relay node a has already received the route reply packet for the sub route including Mode = monitoring information, the relay node a is in the monitoring mode. However, Mode = route reply for the main route including the route information. When the packet is received, the route table is overwritten and updated by the main route switching maintenance unit 15 of the relay node a. Note that when the device of Mode = route receives a route reply packet for the sub route including the information of Mode = monitoring, the route table cannot be overwritten.

中継ノードaの経路探索部12は、主経路用の経路リプライパケットを受信したことにより、宛先ノードDへの経路として宛先ノードDのアドレスをホップ数1として登録し直し、モード切替スイッチ13は、自装置の動作を経路上ノードにする。ただし、経路上ノードで動作している中継ノードは、受信した経路リプライパケットのシーケンス番号が大きい場合のみ経路表の書き換えを行う。   When the route search unit 12 of the relay node a receives the route reply packet for the main route, the route search unit 12 re-registers the address of the destination node D as the hop number 1 as the route to the destination node D. Makes the own device's operation a node on the path. However, the relay node operating on the route node rewrites the route table only when the sequence number of the received route reply packet is large.

そして、送信元ノードSによって、Mode=経路の情報を含む主経路用の経路リプライパケットが中継ノードaから受信される。したがって、図5(d)に示すように、送信元ノードSは、例えば映像データのパケットを中継ノードa経由で宛先ノードDに転送することができる。図5(d)に示された実線の矢印は、データが転送される主経路を示している。   Then, the source node S receives a route reply packet for the main route including Mode = route information from the relay node a. Accordingly, as illustrated in FIG. 5D, the transmission source node S can transfer, for example, a packet of video data to the destination node D via the relay node a. A solid line arrow shown in FIG. 5D indicates a main route through which data is transferred.

なお、宛先ノードDは、定期的にMode=監視の情報を含む副経路用の経路リプライパケットをブロードキャスト送信することにより、副経路の経路管理を行う。具体的には、監視モードで動作している中継ノードにおいて、送受信部11によって、Mode=監視の情報を含む副経路用の経路リプライパケットが定期的に送受信され、副経路保守部16によって、経路リプライパケットに含まれる情報に基づいて自装置から宛先ノードDへの経路表が保守される。なお、経路モードで動作している中継ノードは、Mode=監視の情報を含む副経路用の経路リプライパケットを受け取っても経路表は書き換えず転送するのみである。   In addition, the destination node D performs route management of the sub route by periodically transmitting a route reply packet for the sub route including the information of Mode = monitoring. Specifically, in the relay node operating in the monitoring mode, the transmission / reception unit 11 periodically transmits / receives a route reply packet for the sub route including Mode = monitoring information, and the sub route maintenance unit 16 Based on the information included in the reply packet, the route table from the own device to the destination node D is maintained. Note that even if the relay node operating in the route mode receives the route reply packet for the sub route including the information of Mode = monitoring, it only forwards the route table without rewriting it.

次に、図5に示された送信元ノードSの動作について図6を用いて具体的に説明する。図6は、送信元ノードSが経路表に情報がないノードDにデータを送信するときの動作を示すフローチャートである。   Next, the operation of the source node S shown in FIG. 5 will be specifically described with reference to FIG. FIG. 6 is a flowchart showing an operation when the transmission source node S transmits data to the node D having no information in the routing table.

図6に示すように、送信元ノードSの経路探索部12によって、経路探索パケットが宛先ノードDに向けてフラッディングされる(ステップS11)。この経路探索パケットは、識別子=探索、saddr=S、daddr=D、laddr=S、ldaddr=ブロードキャストドレス、sq=0、hop=0の情報を含む。   As shown in FIG. 6, the route search packet of the transmission source node S is flooded toward the destination node D (step S11). This route search packet includes information of identifier = search, saddr = S, adddr = D, laddr = S, ldaddr = broadcast dress, sq = 0, hop = 0.

次いで、経路探索部12によって、経路探索パケットをブロードキャスト送信してから所定時間が経過するまでにMode=経路の情報を含む主経路用の経路リプライパケットが返って来たか否かが判断される(ステップS12)。   Next, the route search unit 12 determines whether or not a route reply packet for the main route including Mode = route information is returned before a predetermined time elapses after the route search packet is broadcast. Step S12).

ステップS12において、主経路用の経路リプライパケットが所定時間内に返って来たと判断された場合は、経路探索部12によって、主経路用の経路リプライパケットに基づいて経路表が作成され、作成された経路表に従ってデータが宛先ノードDに向けて送信される(ステップS13)。なお、作成された経路表のデータは、経路表記億部14によって記憶される。   If it is determined in step S12 that the route reply packet for the main route has returned within a predetermined time, the route search unit 12 creates and creates a route table based on the route reply packet for the main route. Data is transmitted to the destination node D according to the route table (step S13). The created route table data is stored by the route notation unit 14.

一方、ステップS12において、主経路用の経路リプライパケットが所定時間内に返って来たと判断されなかった場合は、ステップS11に戻り経路探索パケットが再度ブロードキャスト送信される。このとき、経路探索部12によって、経路シーケンス番号sqがインクリメントされる。   On the other hand, if it is not determined in step S12 that the route reply packet for the main route has returned within the predetermined time, the process returns to step S11 and the route search packet is broadcast again. At this time, the route search unit 12 increments the route sequence number sq.

次に、図5に示された中継ノードa、b及びcが、経路探索パケット及び経路リプライパケットを受信したときの動作について図7を用いて具体的に説明する。図7は、中継ノードa、b及びcの各ステップのフローチャートである。   Next, the operation when the relay nodes a, b, and c shown in FIG. 5 receive the route search packet and the route reply packet will be specifically described with reference to FIG. FIG. 7 is a flowchart of each step of the relay nodes a, b, and c.

ある中継ノードにおいてパケット受信待ち(ステップS21)のとき、送受信部11によってパケットが受信されたとすると、経路探索部12によって、受信されたパケットが、経路探索パケット又は経路リプライパケットかが判断される(ステップS22)。   If a packet is received by the transmission / reception unit 11 while waiting for packet reception at a certain relay node (step S21), the route search unit 12 determines whether the received packet is a route search packet or a route reply packet ( Step S22).

ステップS22において、受信されたパケットが経路探索パケット及び経路リプライパケットではないと判断された場合は、経路選択処理やアプリケーション処理等が実行される(ステップS23)。   If it is determined in step S22 that the received packet is not a route search packet or a route reply packet, route selection processing, application processing, and the like are executed (step S23).

一方、ステップS22において、受信されたパケットが経路探索パケット又は経路リプライパケットと判断された場合は、経路探索部12によって、受信したパケットのsaddr及びModeの情報に応じて経路表から経路シーケンス番号sq0を取得する(ステップS24)。該当する経路シーケンス番号sq0が経路表になければ、sq0=−1とする。   On the other hand, if it is determined in step S22 that the received packet is a route search packet or a route reply packet, the route search unit 12 determines the route sequence number sq0 from the route table according to the saddr and Mode information of the received packet. Is acquired (step S24). If the corresponding route sequence number sq0 is not in the route table, sq0 = -1.

次いで、経路探索部12によって、受信したパケットのシーケンス番号sqとsq0とが比較され(ステップS25)、sq0がsqよりも大きい場合は、経路探索部12によって、受信したパケットはすでに受信したものと判断され、廃棄される(ステップS26)。   Next, the route search unit 12 compares the sequence numbers sq and sq0 of the received packet (step S25). If sq0 is larger than sq, the route search unit 12 assumes that the received packet has already been received. It is judged and discarded (step S26).

一方、sq0がsq以下の場合は、経路探索部12によって、受信した経路探索パケット又は経路リプライパケットの情報に基づいて経路表が、宛先=saddr、次ホップ=laddr、ホップ数=hop+1、主経路シーケンス番号=sq(Mode=経路の場合)、副経路シーケンス番号=sq(Mode=監視の場合)と更新される(ステップS27)。   On the other hand, when sq0 is equal to or less than sq, the route search unit 12 determines that the route table is based on the received route search packet or route reply packet, destination = saddr, next hop = laddr, hop count = hop + 1, main route The sequence number is updated as sq (when Mode = route), and the sub route sequence number = sq (when Mode = monitoring) (step S27).

次いで、経路探索部12によって、受信したパケットが経路探索パケットか否かが判断される(ステップS28)。ステップS28において、受信したパケットが経路探索パケットと判断された場合は、自ノードが宛先ノードか否かが判断される(ステップS29)。   Next, the route search unit 12 determines whether or not the received packet is a route search packet (step S28). If it is determined in step S28 that the received packet is a route search packet, it is determined whether or not the own node is a destination node (step S29).

ステップS29において、自ノードが宛先ノードと判断された場合は、経路探索部12によって、経路リプライパケットがsaddrに向けて転送され(ステップS30)、ステップS21に進みパケット受信待ちとなる。一方、ステップS29において、自ノードが宛先ノードと判断されなかった場合は、経路探索部12によって、hop=hop+1とされた経路探索パケットが宛先ノードに向けてフラッディングされ(ステップS31)、ステップS21に進みパケット受信待ちとなる。   If it is determined in step S29 that the own node is the destination node, the route search unit 12 forwards the route reply packet toward saddr (step S30), and proceeds to step S21 to wait for packet reception. On the other hand, if the local node is not determined as the destination node in step S29, the route search unit 12 floods the route search packet with hop = hop + 1 toward the destination node (step S31). Advance packet reception waiting.

ステップS28において、受信したパケットが経路探索パケットと判断されなかった場合、すなわち経路リプライパケットの場合は、経路探索部12によって、経路リプライパケットがMode=監視の情報を含むか否かが判断される(ステップS32)。   If the received packet is not determined to be a route search packet in step S28, that is, if it is a route reply packet, the route search unit 12 determines whether or not the route reply packet includes Mode = monitoring information. (Step S32).

ステップS32において、経路リプライパケットがMode=監視の情報を含むと判断された場合は、モード切替スイッチ13によって、自ノードの動作モードが監視モードに設定され(ステップS33)、ステップS31に進む。   If it is determined in step S32 that the route reply packet includes Mode = monitoring information, the mode switch 13 sets the operation mode of the own node to the monitoring mode (step S33), and the process proceeds to step S31.

ステップS32において、経路リプライパケットがMode=監視の情報を含むと判断されなかった場合、すなわち経路リプライパケットがMode=経路の情報を含む場合は、経路探索部12によって、自ノードが送信元ノードか否かが判断される(ステップS34)。   If it is determined in step S32 that the route reply packet does not include Mode = monitoring information, that is, if the route reply packet includes Mode = route information, the route search unit 12 determines whether the own node is the transmission source node. It is determined whether or not (step S34).

ステップS34において、自ノードが送信元ノードと判断された場合は、送受信部11によって、データ送信が開始される(ステップS35)。   In step S34, when it is determined that the own node is a transmission source node, the transmission / reception unit 11 starts data transmission (step S35).

一方、ステップS34において、自ノードが送信元ノードと判断されなかった場合は、モード切替スイッチ13によって、自ノードの動作モードが経路モードに設定され(ステップS36)、経路表が参照されてhop=hop+1とされた経路リプライパケットがsaddrに向けてユニキャスト送信され(ステップS37)、ステップS21に進みパケット受信待ちとなる。   On the other hand, if it is determined in step S34 that the own node is not the transmission source node, the operation mode of the own node is set to the route mode by the mode switch 13 (step S36), and the route table is referred to hop = The route reply packet set to hop + 1 is unicast transmitted toward saddr (step S37), and the process proceeds to step S21 to wait for packet reception.

なお、あるノードIでデータパケットを受信した際に、宛先ノードへの経路が経路表に記述されていない場合は、saddr=I、daddr=D、laddr=I、sq=0、hop=hop+1とした経路探索パケットによって経路探索を行う。   When a data packet is received at a certain node I and the route to the destination node is not described in the route table, saddr = I, adddr = D, laddr = I, sq = 0, hop = hop + 1 The route search is performed by the route search packet.

以上のように、本実施の形態に係る経路探索装置10によれば、データを伝送するための主経路が探索される際に、経路探索部12がデータを宛先ノードまで送信するための情報を含む経路表を作成する構成としたので、トラフィック量を増大させることなく経路表を作成することができる。   As described above, according to the route search device 10 according to the present embodiment, when a main route for transmitting data is searched, information for the route search unit 12 to transmit data to the destination node is obtained. Since the route table including the route table is created, the route table can be created without increasing the traffic volume.

また、本実施の形態に係る経路探索装置10によれば、主経路上又は副経路上のいずれに自装置があっても、経路表に含まれる情報に基づいてデータを送信すれば宛先ノードに届く状態となっているので、経路変更の際にデータの伝送が途切れることなく、瞬時に経路を変更することができる。   Also, according to the route search device 10 according to the present embodiment, regardless of whether the device is on the main route or the sub route, if the data is transmitted based on the information included in the route table, Since it is in a reachable state, it is possible to change the route instantaneously without interruption of data transmission when changing the route.

また、本実施の形態に係る経路探索装置10によれば、経路探索部12が、経路探索パケット及び経路リプライパケットに基づいて宛先ノードのアドレス毎に経路表を作成する構成としたので、主経路上又は副経路上のいずれに自装置があっても、経路表に含まれる情報に基づいてデータを送信すれば宛先ノードに届く状態となっており、経路変更の際にデータの伝送が途切れることなく、宛先ノードのアドレス毎に、瞬時に経路を変更することができる。   Further, according to the route search device 10 according to the present embodiment, the route search unit 12 creates a route table for each address of the destination node based on the route search packet and the route reply packet. Regardless of whether the device is on the upper route or the sub route, if data is transmitted based on the information contained in the route table, it reaches the destination node, and data transmission is interrupted when the route is changed. Instead, the route can be changed instantaneously for each address of the destination node.

また、本実施の形態に係る経路探索装置10によれば、経路探索部12が、シーケンス番号の情報に基づいて経路表を更新する構成としたので、最新の経路情報を取得することができ、自装置から宛先ノードまでデータを確実に転送することができる。   Moreover, according to the route search device 10 according to the present embodiment, the route search unit 12 is configured to update the route table based on the sequence number information, so the latest route information can be acquired, Data can be reliably transferred from its own device to the destination node.

また、本実施の形態の経路探索装置10によれば、経路探索部12が、主経路を探索するための経路探索パケット及び主経路用の経路リプライパケットに基づいて主経路を生成する構成としたので、送信元ノードから宛先ノードまでデータを伝送するための主経路を生成することができる。   Further, according to the route search device 10 of the present embodiment, the route search unit 12 generates the main route based on the route search packet for searching the main route and the route reply packet for the main route. Therefore, it is possible to generate a main route for transmitting data from the transmission source node to the destination node.

また、本実施の形態に係る経路探索装置10によれば、経路探索部12が、主経路を探索するための経路探索パケット及び副経路用の経路リプライパケットに基づいて副経路を生成する構成としたので、主経路の予備としての副経路を生成することができ、主経路上においてノードの移動等が生じた場合でも、データを伝送する経路を主経路から副経路に瞬時に変更することによってデータを途切れさせることなく宛先ノードに転送することができる。   Further, according to the route search device 10 according to the present embodiment, the route search unit 12 generates a sub route based on the route search packet for searching for the main route and the route reply packet for the sub route. Therefore, it is possible to generate a secondary route as a spare for the main route, and even when a node moves on the main route, the route for transmitting data is instantly changed from the main route to the sub route. Data can be transferred to the destination node without interruption.

また、本実施の形態に係る経路探索装置10によれば、経路探索部12が、副経路を探索するための経路探索パケット及び副経路用の経路リプライパケットに基づいて副経路を生成する構成としたので、主経路の予備としての副経路を生成することができ、主経路上においてノードの移動等が生じた場合でも、データを伝送する経路を主経路から副経路に瞬時に変更することによってデータを途切れさせることなく宛先ノードに転送することができる。   Moreover, according to the route search device 10 according to the present embodiment, the route search unit 12 generates a sub route based on a route search packet for searching for a sub route and a route reply packet for the sub route. Therefore, it is possible to generate a secondary route as a spare for the main route, and even when a node moves on the main route, the route for transmitting data is instantly changed from the main route to the sub route. Data can be transferred to the destination node without interruption.

また、本実施の形態に係る経路探索装置10によれば、送受信部11は、自装置が監視モードに設定されているとき、副経路用の経路リプライパケットを定期的に送信する構成としたので、副経路上においてノードの移動等が生じた場合でも、副経路に係る経路表を更新して最新の副経路情報を取得することができる。   Further, according to the route search device 10 according to the present embodiment, the transmission / reception unit 11 is configured to periodically transmit the route reply packet for the sub route when the own device is set to the monitoring mode. Even when a node moves on the sub route, the latest sub route information can be acquired by updating the route table related to the sub route.

以上のように、本発明に係る経路探索装置は、トラフィック量を増大させることなく瞬時に経路を変更することができるという効果を有し、アドホックネットワークにおいてデータ転送用の経路を探索する経路探索装置等として有用である。   As described above, the route search device according to the present invention has an effect that the route can be instantaneously changed without increasing the traffic amount, and searches for a route for data transfer in an ad hoc network. Useful as such.

本実施の形態に係る経路探索装置のブロック図Block diagram of route search apparatus according to the present embodiment 本実施の形態に係る経路探索装置をそれぞれ備えた複数のノードによって生成される経路の説明図Explanatory drawing of the path | route produced | generated by the some node each provided with the route search apparatus which concerns on this Embodiment 本実施の形態に係る経路探索装置の経路探索部が経路探索時に用いる経路制御パケットの構成例を示す図 (a)経路制御パケットの構成例を示す図 (b)経路探索パケットの構成例を示す図 (c)主経路用の経路リプライパケットの構成例を示す図 (d)副経路用の経路リプライパケットの構成例を示す図The figure which shows the structural example of the route control packet which the route search part of the route search apparatus which concerns on this Embodiment uses at the time of a route search (a) The figure which shows the structural example of a route control packet (b) The structural example of a route search packet is shown (C) A diagram showing a configuration example of a route reply packet for a main route (d) A diagram showing a configuration example of a route reply packet for a sub route 本実施の形態に係る経路探索装置の経路探索部によって作成される経路表の構成例を示す図The figure which shows the structural example of the route table produced by the route search part of the route search apparatus which concerns on this Embodiment. 本実施の形態に係る経路探索装置をそれぞれ備えた複数のノードによって構成された無線アドホック通信システムの動作を示す図 (a)経路探索が開始された状態を示す図 (b)経路探索パケットがブロードキャスト転送される状態を示す図 (c)経路探索パケットに対応する経路リプライパケットが送信元ノードSに送信される状態を示す図 (d)映像データ等のパケットが中継ノードa経由で宛先ノードDに転送される状態を示す図The figure which shows the operation | movement of the radio | wireless ad hoc communication system comprised by the some node each provided with the route search apparatus which concerns on this Embodiment (a) The figure which shows the state where the route search was started (b) The route search packet is broadcast (C) A diagram showing a state where a route reply packet corresponding to a route search packet is transmitted to the transmission source node S. (d) A packet such as video data is sent to the destination node D via the relay node a. Diagram showing the state to be transferred 本実施の形態に係る経路探索装置を備えた送信元ノードSの動作例を示すフローチャートThe flowchart which shows the operation example of the transmission origin node S provided with the route search apparatus which concerns on this Embodiment. 本実施の形態に係る経路探索装置を備えた中継ノードa、b及びcの動作例を示すフローチャートThe flowchart which shows the operation example of relay node a, b, and c provided with the route search apparatus which concerns on this Embodiment.

符号の説明Explanation of symbols

10 経路探索装置
11 送受信部
12 経路探索部
13 モード切替スイッチ
14 経路表記億部
15 主経路切替保守部
16 副経路保守部
DESCRIPTION OF SYMBOLS 10 Path | route search apparatus 11 Transmission / reception part 12 Path | route search part 13 Mode switch 14 Path notation billion part 15 Main path switching maintenance part 16 Sub route maintenance part

Claims (3)

所定の送信元ノードから宛先ノードまでデータを伝送するための主経路及び前記主経路の予備としての副経路の少なくとも一方を探索する経路探索手段と、前記データを伝送する経路制御を行うための経路制御パケットを送受信する送受信手段と、前記主経路上に自装置があることを示す経路モード及び前記副経路上に前記自装置があることを示す監視モードのいずれかのモードを前記経路制御パケットに基づいて設定するモード設定手段と、前記経路探索手段によって前記主経路が探索される際に前記モードに関わらず、前記データを前記宛先ノードまで送信するための情報を含む経路表を前記経路制御パケットに基づいて作成する経路表作成手段とを備え
前記経路制御パケットは、前記主経路及び前記副経路のいずれかを探索するための経路探索パケット及び前記経路探索パケットに対応する経路リプライパケットを含み、
前記経路表作成手段は、前記経路探索パケット及び前記経路リプライパケットに基づいて前記宛先ノードのアドレス毎に前記経路表を作成し、
前記経路リプライパケットは、前記主経路を探索するための経路探索パケットに対応する副経路用の経路リプライパケットを含み、
前記経路探索手段は、前記主経路を探索するための経路探索パケット及び前記副経路用の経路リプライパケットに基づいて前記副経路を生成し、
前記送受信手段は、自装置が前記監視モードに設定されているとき、前記副経路用の経路リプライパケットを定期的に送信することを特徴とする経路探索装置。
Route search means for searching for at least one of a main route for transmitting data from a predetermined source node to a destination node and a sub route as a backup of the main route, and a route for performing route control for transmitting the data The route control packet includes one of a transmission / reception means for transmitting / receiving a control packet, a route mode indicating that the own device is on the main route, and a monitoring mode indicating that the own device is on the sub route. A mode setting unit configured to set a route table including information for transmitting the data to the destination node regardless of the mode when the main route is searched by the route search unit. and a routing table creation means for creating, based on,
The route control packet includes a route search packet for searching for either the main route or the sub route and a route reply packet corresponding to the route search packet,
The route table creation means creates the route table for each address of the destination node based on the route search packet and the route reply packet,
The route reply packet includes a route reply packet for a sub route corresponding to a route search packet for searching for the main route,
The route search means generates the sub route based on a route search packet for searching the main route and a route reply packet for the sub route,
The route search device , wherein the transmission / reception means periodically transmits a route reply packet for the sub route when the own device is set in the monitoring mode .
所定の送信元ノードから宛先ノードまでデータを伝送するための主経路及び前記主経路の予備としての副経路の少なくとも一方を探索する経路探索手段と、前記データを伝送する経路制御を行うための経路制御パケットを送受信する送受信手段と、前記主経路上に自装置があることを示す経路モード及び前記副経路上に前記自装置があることを示す監視モードのいずれかのモードを前記経路制御パケットに基づいて設定するモード設定手段と、前記経路探索手段によって前記主経路が探索される際に前記モードに関わらず、前記データを前記宛先ノードまで送信するための情報を含む経路表を前記経路制御パケットに基づいて作成する経路表作成手段とを備え、
前記経路制御パケットは、前記主経路及び前記副経路のいずれかを探索するための経路探索パケット及び前記経路探索パケットに対応する経路リプライパケットを含み、
前記経路表作成手段は、前記経路探索パケット及び前記経路リプライパケットに基づいて前記宛先ノードのアドレス毎に前記経路表を作成し、
前記経路リプライパケットは、前記副経路を探索するための経路探索パケットに対応する副経路用の経路リプライパケットを含み、
前記経路探索手段は、前記副経路を探索するための経路探索パケット及び前記副経路用の経路リプライパケットに基づいて前記副経路を生成し、
前記送受信手段は、自装置が前記監視モードに設定されているとき、前記副経路用の経路リプライパケットを定期的に送信することを特徴とする経路探索装置。
Route search means for searching for at least one of a main route for transmitting data from a predetermined source node to a destination node and a sub route as a backup of the main route, and a route for performing route control for transmitting the data The route control packet includes one of a transmission / reception means for transmitting / receiving a control packet, a route mode indicating that the own device is on the main route, and a monitoring mode indicating that the own device is on the sub route. Mode setting means for setting based on the route control packet, and a route table including information for transmitting the data to the destination node regardless of the mode when the route search means searches for the main route. And a routing table creation means to create based on
The route control packet includes a route search packet for searching for either the main route or the sub route and a route reply packet corresponding to the route search packet,
The route table creation means creates the route table for each address of the destination node based on the route search packet and the route reply packet,
The route reply packet includes a route reply packet for a sub route corresponding to a route search packet for searching for the sub route,
The route search means generates the sub route based on a route search packet for searching the sub route and a route reply packet for the sub route,
The route search device , wherein the transmission / reception means periodically transmits a route reply packet for the sub route when the own device is set in the monitoring mode .
前記経路探索パケット及び前記経路リプライパケットは、それぞれ、経路の生成順序を示すシーケンス番号の情報を含み、
前記経路表作成手段は、前記シーケンス番号の情報に基づいて前記経路表を更新する
ことを特徴とする請求項1又は請求項2に記載の経路探索装置。
Each of the route search packet and the route reply packet includes information of a sequence number indicating a route generation order,
The route search apparatus according to claim 1, wherein the route table creation unit updates the route table based on the information of the sequence number.
JP2005320487A 2005-11-04 2005-11-04 Route search device Expired - Fee Related JP4564442B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005320487A JP4564442B2 (en) 2005-11-04 2005-11-04 Route search device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005320487A JP4564442B2 (en) 2005-11-04 2005-11-04 Route search device

Publications (2)

Publication Number Publication Date
JP2007129516A JP2007129516A (en) 2007-05-24
JP4564442B2 true JP4564442B2 (en) 2010-10-20

Family

ID=38151808

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005320487A Expired - Fee Related JP4564442B2 (en) 2005-11-04 2005-11-04 Route search device

Country Status (1)

Country Link
JP (1) JP4564442B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011205396A (en) * 2010-03-25 2011-10-13 Sumitomo Precision Prod Co Ltd Node apparatus
JP7198951B2 (en) * 2020-07-20 2023-01-04 ホーチキ株式会社 Management device and terminal equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004282266A (en) * 2003-03-13 2004-10-07 Fuji Electric Systems Co Ltd Radio terminal of radio communications network system, radio communications method, and program
JP2004282270A (en) * 2003-03-13 2004-10-07 Sony Corp Radio ad hoc communication system, terminal, processing method therein, and program for making terminal to execute the method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004282266A (en) * 2003-03-13 2004-10-07 Fuji Electric Systems Co Ltd Radio terminal of radio communications network system, radio communications method, and program
JP2004282270A (en) * 2003-03-13 2004-10-07 Sony Corp Radio ad hoc communication system, terminal, processing method therein, and program for making terminal to execute the method

Also Published As

Publication number Publication date
JP2007129516A (en) 2007-05-24

Similar Documents

Publication Publication Date Title
CA2627432C (en) Route selection in wireless networks
AU2004237633B2 (en) Route discovery device and method in a mobile ad-hoc network
JP4800067B2 (en) Communication node and routing method
JP2004282270A (en) Radio ad hoc communication system, terminal, processing method therein, and program for making terminal to execute the method
JP2007235444A (en) Mobile terminal device, control method and mobile communication system
US20050157749A1 (en) System and method for communication with an external network in an IPv6 MANET network
EP1475926B1 (en) Routing system for establishing optimal route in wireless personal area network (WPAN) and method thereof
JP4564442B2 (en) Route search device
JP4810606B2 (en) Nodes in ad hoc networks and ad hoc network systems
JP4951695B2 (en) Route selection in wireless networks
CA2896911C (en) Route selection in wireless networks
KR101616278B1 (en) Grid Based Hybrid Routing System and Method in Mobile Ad-hoc Networks
CA2817659C (en) Route selection in wireless networks
RU2405282C2 (en) Route selection in wireless networks
JP2009290893A (en) Routing in radio network
MX2008006093A (en) Route selection in wireless networks

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080606

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100423

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100511

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100614

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100730

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130806

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4564442

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140806

Year of fee payment: 4

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

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees