JP2007181056A - Path selection method - Google Patents

Path selection method Download PDF

Info

Publication number
JP2007181056A
JP2007181056A JP2005379016A JP2005379016A JP2007181056A JP 2007181056 A JP2007181056 A JP 2007181056A JP 2005379016 A JP2005379016 A JP 2005379016A JP 2005379016 A JP2005379016 A JP 2005379016A JP 2007181056 A JP2007181056 A JP 2007181056A
Authority
JP
Japan
Prior art keywords
terminal
route
packet
relay
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.)
Pending
Application number
JP2005379016A
Other languages
Japanese (ja)
Inventor
Hiroaki Okada
浩昭 岡田
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.)
Mitsubishi Electric Engineering Co Ltd
Original Assignee
Mitsubishi Electric Engineering Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Engineering Co Ltd filed Critical Mitsubishi Electric Engineering Co Ltd
Priority to JP2005379016A priority Critical patent/JP2007181056A/en
Publication of JP2007181056A publication Critical patent/JP2007181056A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To search for a relay path which allows two-way communication between relay terminals and to continue transmission of a data packet even when the path is disconnected. <P>SOLUTION: This path selection method includes steps that: a transmitting origin terminal specifies a destination terminal to broadcast a path search packet; each radio terminal which receives the path search packet relays the packet to the destination terminal with further broadcasting and registers an ID of the radio terminal which transmits the path search packet in a proximity terminal list; the destination terminal which receives the path search packet generates and broadcasts a search response packet including information of the proximity terminal list; each radio terminal which receives the search response packet broadcasts when it is determined that an ID of the self-terminal is included in its proximity information part and the transmitting origin terminal which receives the search response packet updates a path information table representing a relay path to the destination terminal by every destination terminal based on information of the search response packet. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

この発明は経路選択方法に関し、特に、マルチホップ通信網の経路選択方法に関する。   The present invention relates to a route selection method, and more particularly to a route selection method for a multi-hop communication network.

マルチホップ型の無線通信網(以下、マルチホップ通信網と称する)とは、複数の無線端末が、ある特定の領域(半径数百メートル程度)に散在しているときに、任意の無線端末間で通信を直接行うことが可能で、直接電波が到達しない無線端末間においては、その間に位置する無線端末が中継をすることで通信経路を確立し通信を可能にする通信網のことである。   A multi-hop wireless communication network (hereinafter referred to as a multi-hop communication network) refers to an area between arbitrary wireless terminals when a plurality of wireless terminals are scattered in a specific area (having a radius of several hundred meters). It is a communication network in which communication can be performed directly, and between wireless terminals to which direct radio waves do not reach, a wireless terminal located between them establishes a communication path and enables communication by relaying.

図13に従来のマルチホップ通信網での経路選択の概要を示す。
送信元端末となる無線端末Nsは、自端末の固有識別情報であるIDと、宛先端末となる無線端末Ntの固有識別情報であるIDと、シーケンス番号を格納したRREQ(Route Request)パケットとを電波到達範囲内の無線端末にブロードキャストする。RREQパケットを受信した各無線端末は、自端末のIDをパケットの中継経路情報に追加して、電波到達範囲内の無線端末にさらにブロードキャストする。こうして無線端末Ntに到達するまで、ブロードキャストを繰り返してパケットを中継する。この際、RREQパケットを受信した端末は、既受信のシーケンス番号であれば、そのRREQパケットを破棄する。
FIG. 13 shows an outline of route selection in a conventional multi-hop communication network.
The wireless terminal Ns serving as the transmission source terminal receives an ID that is unique identification information of the terminal itself, an ID that is unique identification information of the wireless terminal Nt serving as the destination terminal, and an RREQ (Route Request) packet that stores a sequence number. Broadcast to wireless terminals within radio wave coverage. Each wireless terminal that has received the RREQ packet adds its own ID to the relay route information of the packet, and further broadcasts it to wireless terminals within the radio wave reachable range. Thus, until the wireless terminal Nt is reached, the broadcast is repeated and the packet is relayed. At this time, the terminal that has received the RREQ packet discards the RREQ packet if it is an already received sequence number.

RREQパケットを受信した無線端末Ntは、自端末のIDと、RREQパケットの送信元である無線端末NsのIDと、シーケンス番号及び中継経路情報を格納したRREP(Route Reply)パケットを、中継経路情報から知り得る次ホップの無線端末にユニキャストする。RREPパケットを受信した無線端末もまた中継経路情報から次ホップの無線端末を知り、次ホップの無線端末にユニキャストする。こうして無線端末Nsまで、RREQパケットの中継経路を逆にたどってRREPパケットを中継しながら送信する。   The wireless terminal Nt that has received the RREQ packet transmits the RREP (Route Reply) packet storing the ID of the own terminal, the ID of the wireless terminal Ns that is the transmission source of the RREQ packet, the sequence number, and the relay path information to the relay path information. Unicast to the next-hop wireless terminal that can be known from The wireless terminal that has received the RREP packet also knows the next-hop wireless terminal from the relay route information and unicasts to the next-hop wireless terminal. In this way, the RREP packet is relayed to the wireless terminal Ns and transmitted while being relayed in reverse.

RREPパケットを受信することにより、無線端末Nsは、無線端末Ntまでの最短中継回数となるような単一の中継経路を確立する。無線端末Nsは、上位層プロトコルからのデータに、自端末のID、無線端末NtのID、確立した中継経路の情報、を付与したデータパケットを中継経路の次ホップの無線端末に送信する。各無線端末は、データパケットの中継経路情報を参照しながら無線端末Ntまで、データパケットを送信していく。   By receiving the RREP packet, the wireless terminal Ns establishes a single relay path that provides the shortest number of relays to the wireless terminal Nt. The wireless terminal Ns transmits, to the data from the higher layer protocol, a data packet in which the ID of the own terminal, the ID of the wireless terminal Nt, and information on the established relay route are added to the wireless terminal on the next hop of the relay route. Each wireless terminal transmits the data packet to the wireless terminal Nt while referring to the relay route information of the data packet.

ここで、使用中の経路に異常が発生してデータパケットの送達が不能になった場合、異常を検出した無線端末が経路エラーパケットを生成し、それを送信元端末までデータパケットの中継経路を逆にたどって中継送信していくことで通知する。経路エラーパケットを受信した送信元端末は、経路探索を開始して新たな中継経路を構築する。   Here, when an abnormality occurs in the route being used and the delivery of the data packet becomes impossible, the wireless terminal that detected the abnormality generates a route error packet, which is routed through the data packet relay route to the source terminal. On the contrary, it notifies by relaying and transmitting. The source terminal that has received the route error packet starts a route search and constructs a new relay route.

このようなマルチホップ通信網の通信経路制御プロトコルのひとつとして、DSR(Dynamic Source Routing)が開示されている(例えば、非特許文献1参照。)。   As one of the communication path control protocols of such a multi-hop communication network, DSR (Dynamic Source Routing) is disclosed (for example, refer to Non-Patent Document 1).

David B. Johnson “Routing in Ad Hoc Networks of Mobile Hosts”, Proceedings of the IEEE Workshop on Mobile Computing Systems and Applications, Dec. 1994David B. Johnson “Routing in Ad Hoc Networks of Mobile Hosts”, Proceedings of the IEEE Workshop on Mobile Computing Systems and Applications, Dec. 1994

上述のような従来のマルチホップ通信網では以下のような問題点があった。
個々の無線端末の無線装置が異なる場合や、環境により通信が片方向のみ可能な場合が存在し、このような状態では、宛先端末までRREQパケットを中継することができても、逆方向の経路でRREPパケットを送信する途中で通信不能となり送信元端末に到達しないことがある。従って、宛先端末が、ホップ数のみ或いは受信順のみを選択基準として、唯一のRREPパケットを送信する従来例の方法では、中継経路を確立することができないという問題点があった。
The conventional multi-hop communication network as described above has the following problems.
There are cases where the wireless devices of individual wireless terminals are different, or there are cases where communication is possible only in one direction depending on the environment. In such a state, even if the RREQ packet can be relayed to the destination terminal, the reverse route Thus, communication may become impossible during transmission of the RREP packet, and the source terminal may not be reached. Therefore, the conventional method in which the destination terminal transmits only one RREP packet using only the number of hops or only the reception order as a selection criterion has a problem that a relay route cannot be established.

また、従来例では、データパケットの送信において異常が発生した場合、経路エラーパケットにて送信元端末へ通知するが、経路の異常発生場所が宛先端末の近傍になるほど、経路エラーパケットが送信元端末へ到達するまでのステップが増加し、送信元端末からのデータパケットの再送に時間を要するという問題点があった。   In addition, in the conventional example, when an abnormality occurs in the transmission of the data packet, the transmission source terminal is notified by a route error packet. However, the route error packet is transmitted to the transmission source terminal as the location of the abnormality in the route becomes closer to the destination terminal. The number of steps required to reach the terminal increases, and there is a problem that it takes time to retransmit the data packet from the transmission source terminal.

この発明は、かかる問題点を解決するためになされたものであり、中継端末間の双方向通信を可能とする中継経路の探索を行い、経路断時にも送信元端末まで遡って再送することや経路の再構築をすることなく、データパケットの送信を継続することが可能なマルチホップ通信網の経路選択方法を提供することを目的としている。   The present invention has been made to solve such a problem, and searches for a relay route that enables two-way communication between relay terminals and retransmits them back to the transmission source terminal even when the route is disconnected. An object of the present invention is to provide a route selection method for a multi-hop communication network that can continue transmission of data packets without reconstructing the route.

この発明は、複数の無線端末がマルチホップ通信により情報伝達する通信網において経路を選択するための経路選択方法であって、送信元端末が宛先端末を指定して経路探索パケットをブロードキャストするステップと、前記経路探索パケットを受信した各無線端末がさらなるブロードキャストにより宛先端末まで中継するステップと、前記経路探索パケットを受信したときに、各無線端末が、当該経路探索パケットを送信した無線端末のIDを近接端末リストに登録するステップと、前記経路探索パケットを受信した前記宛先端末が、近接端末リストの情報を含んだ探索応答パケットを生成してブロードキャストするステップと、前記探索応答パケットを受信した各無線端末が、当該探索応答パケットの近接情報部に自端末のIDが含まれているかを判断し、含まれている場合に前記探索応答パケットをブロードキャストするステップと、前記探索応答パケットを受信した送信元端末が、当該探索応答パケットの情報に基づいて、宛先端末毎に、宛先端末までの中継経路を表す経路情報テーブルを更新するステップとを含むことを特徴とする経路選択方法である。   The present invention relates to a route selection method for selecting a route in a communication network in which a plurality of wireless terminals transmit information by multi-hop communication, wherein a source terminal designates a destination terminal and broadcasts a route search packet; Each wireless terminal receiving the route search packet relays to a destination terminal by further broadcasting, and when receiving the route search packet, each wireless terminal transmits the ID of the wireless terminal that has transmitted the route search packet. A step of registering in a neighboring terminal list, a step in which the destination terminal that has received the route search packet generates and broadcasts a search response packet including information on a neighboring terminal list, and each radio that has received the search response packet The terminal includes its own ID in the proximity information part of the search response packet. Broadcast the search response packet if it is included, and the transmission source terminal that has received the search response packet, for each destination terminal based on the information of the search response packet, And a step of updating a route information table representing the relay route up to.

この発明は、複数の無線端末がマルチホップ通信により情報伝達する通信網において経路を選択するための経路選択方法であって、送信元端末が宛先端末を指定して経路探索パケットをブロードキャストするステップと、前記経路探索パケットを受信した各無線端末がさらなるブロードキャストにより宛先端末まで中継するステップと、前記経路探索パケットを受信したときに、各無線端末が、当該経路探索パケットを送信した無線端末のIDを近接端末リストに登録するステップと、前記経路探索パケットを受信した前記宛先端末が、近接端末リストの情報を含んだ探索応答パケットを生成してブロードキャストするステップと、前記探索応答パケットを受信した各無線端末が、当該探索応答パケットの近接情報部に自端末のIDが含まれているかを判断し、含まれている場合に前記探索応答パケットをブロードキャストするステップと、前記探索応答パケットを受信した送信元端末が、当該探索応答パケットの情報に基づいて、宛先端末毎に、宛先端末までの中継経路を表す経路情報テーブルを更新するステップとを含むことを特徴とする経路選択方法であるので、中継端末間の双方向通信を可能とする中継経路の探索を行い、経路断時にも送信元端末まで遡って再送することや経路の再構築をすることなく、データパケットの送信を継続することが可能である。   The present invention relates to a route selection method for selecting a route in a communication network in which a plurality of wireless terminals transmit information by multi-hop communication, wherein a source terminal designates a destination terminal and broadcasts a route search packet; Each wireless terminal receiving the route search packet relays to a destination terminal by further broadcasting, and when receiving the route search packet, each wireless terminal transmits the ID of the wireless terminal that has transmitted the route search packet. A step of registering in a neighboring terminal list, a step in which the destination terminal that has received the route search packet generates and broadcasts a search response packet including information on a neighboring terminal list, and each radio that has received the search response packet The terminal includes its own ID in the proximity information part of the search response packet. Broadcast the search response packet if it is included, and the transmission source terminal that has received the search response packet, for each destination terminal based on the information of the search response packet, A route selection method that includes a step of updating a route information table that represents a relay route up to and including a relay route search that enables bidirectional communication between relay terminals. It is possible to continue transmitting data packets without retransmitting them back to the transmission source terminal or reconstructing the route.

実施の形態1.
図1はこの発明の実施の形態1であるマルチホップ通信網の各無線端末の配置構成を示す構成図である。この実施の形態1の無線通信網は、図1に示すように、複数の無線端末Na〜Ngを備え、それぞれはある特定の領域に散在しており、当該領域内で同一周波数を使用して双方向の無線通信を行う。各無線端末は各々を識別するための重複しない唯一のIDがそれぞれ割り当てられている。また、各無線端末は、電波到達範囲にある送受信が可能な端末のIDの列挙からなる近接端末リストのデータをメモリに記憶している。
Embodiment 1 FIG.
FIG. 1 is a configuration diagram showing an arrangement configuration of radio terminals of a multi-hop communication network according to Embodiment 1 of the present invention. As shown in FIG. 1, the wireless communication network according to the first embodiment includes a plurality of wireless terminals Na to Ng, each of which is scattered in a specific area, and uses the same frequency in the area. Two-way wireless communication is performed. Each wireless terminal is assigned a unique ID for identifying each wireless terminal. In addition, each wireless terminal stores, in a memory, data of a nearby terminal list that is an enumeration of IDs of terminals that can transmit and receive within the radio wave reachable range.

図1の例においては、Adは無線端末Ndの電波到達範囲であって、無線端末Nb、Nc、Nfの3つが電波到達範囲Ad内に存在して、無線端末Ndからの通信を直接受信することが可能であり、無線端末Na、Ne、Ngは電波到達範囲Ad外に存在して無線端末Ndからの通信を直接受信することが不可能である状態を想定している。   In the example of FIG. 1, Ad is a radio wave reachable range of the radio terminal Nd, and three radio terminals Nb, Nc, and Nf exist in the radio wave reachable range Ad and directly receive communication from the radio terminal Nd. It is assumed that the wireless terminals Na, Ne, and Ng exist outside the radio wave reachable range Ad and cannot directly receive communication from the wireless terminal Nd.

また、Aeは無線端末Neの電波到達範囲であって、無線端末Nc、Nd、Nf、Ngの4つが電波到達範囲Ae内に存在して無線端末Neからの通信を直接受信することが可能であり、無線端末Na、Nbは電波到達範囲Ae外に存在して無線端末Neからの通信を直接受信することが不可能である状態を想定している。また、図示はしていないが無線端末Na、Nb、Nc、Nf及びNgはそれぞれの電波到達範囲を有しており、無線端末Naの電波到達範囲内に無線端末Nb、Ncが存在し、無線端末Nbの電波到達範囲内に無線端末Na、Nc、Ndが存在し、無線端末Ncの電波到達範囲内に無線端末Na、Nb、Nd、Neが存在し、無線端末Nfの電波到達範囲内に無線端末Nd、Ne、Ngが存在し、無線端末Ngの電波到達範囲内に無線端末Ne、Nfが存在するものとしている。   Ae is a radio wave reach range of the radio terminal Ne, and four radio terminals Nc, Nd, Nf, and Ng exist within the radio wave reach range Ae and can directly receive communication from the radio terminal Ne. It is assumed that the wireless terminals Na and Nb exist outside the radio wave reachable range Ae and cannot directly receive communication from the wireless terminal Ne. Although not shown, the wireless terminals Na, Nb, Nc, Nf, and Ng have their respective radio wave reachable ranges, and the radio terminals Nb and Nc exist within the radio wave reachable range of the radio terminal Na. The radio terminals Na, Nc, and Nd exist within the radio wave reachable range of the terminal Nb, the radio terminals Na, Nb, Nd, and Ne exist within the radio wave reachable range of the radio terminal Nc, and are within the radio wave reachable range of the radio terminal Nf. The wireless terminals Nd, Ne, and Ng exist, and the wireless terminals Ne and Nf exist within the radio wave reachable range of the wireless terminal Ng.

各無線端末は自身を送信元端末とし任意の無線端末を宛先端末としたデータパケット送信を行い、電波到達範囲内に存在しない場合はその間に位置する無線端末を中堅端末としてマルチホップによるデータパケット送信を行う。ここでは、無線端末Naが送信元端末、Ngが宛先端末、その他の端末が中継端末として機能する場合を例にして説明する。   Each wireless terminal performs data packet transmission using itself as the source terminal and any wireless terminal as the destination terminal. If the wireless terminal is not within the radio wave reachable range, the wireless terminal located between them is used as a mid-sized terminal to transmit data packets by multihop. I do. Here, a case where the wireless terminal Na functions as a transmission source terminal, Ng functions as a destination terminal, and other terminals function as relay terminals will be described as an example.

図2は経路情報テーブルHの構成例である。各無線端末は、図2に示すような経路情報テーブルHを無線装置のメモリ上に持ち、宛先端末となる無線端末毎のID、及び、中継経路を保持する。中継経路は、宛先端末までのホップ数、及び、中継端末の各IDから成る。格納できる宛先端末の最大数Hm、及び、宛先端末毎に保持できる中継経路の最大数Hnは、各無線装置の性能に応じて任意である。   FIG. 2 is a configuration example of the route information table H. Each wireless terminal has a route information table H as shown in FIG. 2 in the memory of the wireless device, and holds an ID and a relay route for each wireless terminal serving as a destination terminal. The relay route includes the number of hops to the destination terminal and each ID of the relay terminal. The maximum number Hm of destination terminals that can be stored and the maximum number Hn of relay routes that can be held for each destination terminal are arbitrary depending on the performance of each wireless device.

図3は経路探索パケットのフォーマット例である。図3において、経路探索パケットE1は、経路探索パケットであることを表すパケット種別e1、送信元端末のIDを表す送信元端末IDe2、宛先端末のIDを表す宛先端末IDe3、パケットの同一性を識別するための一連の番号を表すシーケンス番号e4、パケットの中継可能な残り回数を表すTTLe5(TTL:Time To Live)、及び、パケットを送信した無線端末のIDを表す中継端末IDe6で構成される。   FIG. 3 is a format example of a route search packet. In FIG. 3, the route search packet E1 identifies the packet type e1 indicating that it is a route search packet, the source terminal IDe2 indicating the ID of the source terminal, the destination terminal IDe3 indicating the ID of the destination terminal, and the identity of the packet A sequence number e4 representing a series of numbers to be transmitted, TTLLe5 (TTL: Time To Live) representing the remaining number of times a packet can be relayed, and a relay terminal IDe6 representing an ID of a wireless terminal which has transmitted the packet.

図4は探索応答パケットのフォーマット例である。図4において、探索応答パケットE2は、探索応答パケットであることを表すパケット種別e1、経路探索パケットの送信元端末のIDを表す送信元端末IDe2、経路探索パケットの宛先端末のIDを表す宛先IDe3、対象の経路探索パケットを識別するためのシーケンス番号e4、パケットの中継可能な残り回数を表すTTLe5、近接する無線端末を表す近接情報部e6、及び、中継経路を表す中継情報部e7で構成される。   FIG. 4 is a format example of a search response packet. In FIG. 4, the search response packet E2 is a packet type e1 indicating that it is a search response packet, a transmission source terminal IDe2 indicating the ID of the transmission source terminal of the route search packet, and a destination IDe3 indicating the ID of the destination terminal of the route search packet. , A sequence number e4 for identifying the target route search packet, TTLe5 representing the remaining number of times that the packet can be relayed, a proximity information unit e6 representing a neighboring wireless terminal, and a relay information unit e7 representing a relay route The

近接情報部e6は、以降に格納されている近接端末IDの数を示す近接端末数e6−1、探索応答パケットを中継した無線端末がパケット受信可能な無線端末の列挙である近接端末ID1e6−2,ID2e6−2,・・・からなる。中継情報部e7は、以降に格納されている中継端末IDの数を示すホップ数e7−1、探索応答パケットが辿ってきた無線端末の列挙である中継端末ID1e7−2,ID2e7−3,・・・からなる。   The proximity information unit e6 includes a proximity terminal number e6-1 indicating the number of proximity terminal IDs stored thereafter, and a proximity terminal ID 1e6-2 that is an enumeration of wireless terminals that can receive packets by the wireless terminal that relays the search response packet. , ID2e6-2,. The relay information unit e7 includes a hop count e7-1 indicating the number of relay terminal IDs stored thereafter, relay terminal ID1e7-2, ID2e7-3, which is an enumeration of wireless terminals followed by the search response packet,.・ Consists of

図5はデータパケットのフォーマット例である。図5において、データパケットE3は、データパケットであることを示すパケット種別e1、送信元端末のIDを表す送信元端末IDe2、宛先端末のIDを表す宛先端末IDe3、中継経路を表す中継情報部e4、及び、上位層プロトコルからのデータを格納するデータ部e5から構成される。   FIG. 5 is a format example of a data packet. In FIG. 5, a data packet E3 is a packet type e1 indicating that it is a data packet, a transmission source terminal IDe2 indicating the ID of the transmission source terminal, a destination terminal IDe3 indicating the ID of the destination terminal, and a relay information part e4 indicating the relay route. And a data part e5 for storing data from the upper layer protocol.

中継情報部e4は、以降に格納されている中継端末IDの数を示すホップ数e4−1、次に送信する中継端末IDを表す中継数e4−2、及び、中継経路の無線端末の列挙を示す中継端末ID1e4−3,ID2e4−4,・・・からなる。   The relay information unit e4 enumerates the number of hops e4-1 indicating the number of relay terminal IDs stored thereafter, the number of relays e4-2 indicating the relay terminal ID to be transmitted next, and the wireless terminals on the relay route. The relay terminal ID1e4-3, ID2e4-4,.

図6は、本発明の実施の形態1における経路探索パケットの中継送信を表したものである。送信元端末である無線端末Naは、送信元端末ID及び中継端末IDに自端末のID、宛先端末IDに無線端末NgのID、シーケンス番号に同一性識別のための重複しない唯一な番号、及び、TTLにシステムで予め取り決めた値を格納した経路探索パケットQaをブロードキャストする。   FIG. 6 shows relay transmission of a route search packet in Embodiment 1 of the present invention. The wireless terminal Na which is a transmission source terminal has a transmission source terminal ID and a relay terminal ID as its own terminal ID, a destination terminal ID as a wireless terminal Ng ID, a sequence number as a unique number for identity identification, and The route search packet Qa in which the value previously determined by the system is stored in the TTL is broadcast.

図9は、各無線端末が図3に示した経路探索パケットを受信したときの動作を示したフローチャートである。まず、無線端末Nbは、ステップS1において、経路探索パケットQaを受信した場合、ステップS2において、経路探索パケットQaのシーケンス番号e4から新規の経路探索であるか否かを判定し、新規の経路探索であることを認識した場合は、ステップS3において受信した経路探索パケットQaの送信元の無線端末を全て列挙する近接端末リストLをクリアする。ステップS4において、宛先端末IDe3が自端末か否かを判定し、自端末ではないと判定した場合には、ステップS5において、TTL(符号e5)が0より大きいか否かを判定し、TTLが0より大きいことで中継対象と判断する。経路探索パケットQaの内容から、ステップ6において、TTLを1減算し、ステップS7において、中継端末IDに自端末のIDを格納した経路探索パケットQbを生成し、ステップS8において経路探索パケットQbをブロードキャストする。また、ステップS9において経路探索パケットQaの中継端末IDである無線端末NaのIDを近接端末リストLに登録する。同様にして、無線端末Ncは経路端末パケットQcを生成してブロードキャストし、無線端末NaのIDを近接端末リストLに登録する。   FIG. 9 is a flowchart showing an operation when each wireless terminal receives the route search packet shown in FIG. First, when the wireless terminal Nb receives the route search packet Qa in step S1, in step S2, the wireless terminal Nb determines whether or not it is a new route search from the sequence number e4 of the route search packet Qa. If it is recognized, the neighboring terminal list L that lists all the wireless terminals that are the transmission source of the route search packet Qa received in step S3 is cleared. In step S4, it is determined whether or not the destination terminal IDe3 is the own terminal. If it is determined that the destination terminal IDe3 is not the own terminal, it is determined in step S5 whether or not TTL (symbol e5) is greater than 0. If it is greater than 0, it is determined as a relay target. From the content of the route search packet Qa, in step 6, 1 is subtracted from TTL, and in step S7, a route search packet Qb in which the ID of the local terminal is stored is generated, and in step S8, the route search packet Qb is broadcast. To do. In step S9, the ID of the wireless terminal Na that is the relay terminal ID of the route search packet Qa is registered in the neighboring terminal list L. Similarly, the wireless terminal Nc generates and broadcasts a route terminal packet Qc, and registers the ID of the wireless terminal Na in the neighboring terminal list L.

経路探索パケットQaの受信後に経路探索パケットQcを受信する無線端末Nbは、図9において、ステップS2において、シーケンス番号からすでに受信済みの経路探索パケットであることを認識した場合は、パケットの送信を行わず、ステップS9において経路探索パケットQcの中継端末IDである無線端末NcのIDを近接端末リストLに登録する。同様に、無線端末Ncは、経路探索パケットQbの受信によるパケットの送信は行わず、近接端末リストLに無線端末NbのIDを登録する。   If the wireless terminal Nb that receives the route search packet Qc after receiving the route search packet Qa recognizes that the route search packet has already been received from the sequence number in step S2 in FIG. 9, it transmits the packet. Instead, the ID of the wireless terminal Nc, which is the relay terminal ID of the route search packet Qc, is registered in the neighboring terminal list L in step S9. Similarly, the wireless terminal Nc does not transmit a packet by receiving the route search packet Qb, and registers the ID of the wireless terminal Nb in the neighboring terminal list L.

以下同様にして、宛先端末に到達するかTTLが0になるまで経路探索パケットの中継送信が行われる。中継毎にTTLを減ずることによりパケットの中継が無限に行われることを防止する。これにより無線端末Nb〜Ngは個々の経路探索パケットの受信によりそれぞれの電波到達範囲内にある無線端末のIDを近接端末リストに登録する。   In the same manner, the route search packet is relayed until the destination terminal is reached or TTL becomes zero. By reducing the TTL for each relay, the packet is prevented from being relayed indefinitely. As a result, the wireless terminals Nb to Ng register the IDs of the wireless terminals within the respective radio wave reachable ranges in the proximity terminal list by receiving the individual route search packets.

ここで図6に示すように、無線端末Ndは経路探索パケットQcの受信により経路探索パケットQdを送信し、無線端末Neは経路探索パケットQcの受信により経路探索パケットQeを送信し、無線端末Nfは経路探索パケットQdの受信により経路探索パケットQfを送信したものとし、無線端末Ngは経路探索パケットNeを最初に受信するものとする。図9において、ステップS1において経路探索パケットQeを受信した無線端末Ngは、ステップS2においてシーケンス番号から新規の経路探索であることを認識し、ステップS3において近接端末リストをクリアする。ステップS4において経路探索パケットNeの宛先端末IDが自端末を示していることから、ステップS10において後続する同シーケンス番号の経路探索パケットの受信のため、システムで予め定めた送信タイマTの期間待機する。   Here, as shown in FIG. 6, the wireless terminal Nd transmits the route search packet Qd by receiving the route search packet Qc, the wireless terminal Ne transmits the route search packet Qe by receiving the route search packet Qc, and the wireless terminal Nf Assume that the route search packet Qf is transmitted by receiving the route search packet Qd, and the wireless terminal Ng receives the route search packet Ne first. In FIG. 9, the wireless terminal Ng that has received the route search packet Qe in step S1 recognizes that it is a new route search from the sequence number in step S2, and clears the neighboring terminal list in step S3. In step S4, since the destination terminal ID of the route search packet Ne indicates its own terminal, in step S10, the system waits for a transmission timer T set in advance in the system in order to receive the subsequent route search packet with the same sequence number. .

図7は、本発明の実施の形態1における図4に示した探索応答パケットの中継送信を表したものである。宛先端末である無線端末Ngは送信タイマTの満了により、送信元端末IDに経路探索パケットのID、宛先端末IDに自端末のID、シーケンス番号に経路探索パケットのシーケンス番号、TTLにシステムで予め取り決めた値、近接端末数に2、近接端末IDに近接端末リストに登録されている無線端末Ne、NfのIDの2個、及び、ホップ数に0を格納した経路探索パケットPgをブロードキャストする。経路探索パケットPgにはホップ数0により中継端末IDは無い。   FIG. 7 shows relay transmission of the search response packet shown in FIG. 4 in Embodiment 1 of the present invention. When the transmission timer T expires, the wireless terminal Ng, which is the destination terminal, uses the ID of the route search packet as the source terminal ID, the ID of its own terminal as the destination terminal ID, the sequence number of the route search packet as the sequence number, and the TTL as the system in advance. A route search packet Pg in which the negotiated value, 2 for the number of neighboring terminals, 2 for the IDs of wireless terminals Ne and Nf registered in the neighboring terminal list for the neighboring terminal ID, and 0 for the number of hops is broadcast. The route search packet Pg has no relay terminal ID due to the hop number 0.

図10は、各無線端末が探索応答パケットを受信したときの動作を示したフローチャートである。ステップS11において、無線端末Neは探索応答パケットPgを受信した場合、ステップS12において、先の経路探索パケットのシーケンス番号と一致するか確認し、一致した場合には、ステップS13において、送信元が自端末でないことを確認する。自端末でなかった場合には、ステップS14において、TTLが0より大きいか否かを判定し、0より大きいと判定することで中継可能であると認識され、ステップS15において、近接情報部の近接端末IDに自端末のIDが含まれていることで相互に送受信が可能であると判断する。ステップS16において、新規に受信した探索応答パケットであるか否かを判定し、新規の応答受信であると判断したことから中継対象と判断し、探索応答パケットPgの内容から、ステップS17において、TTLを1だけ減算し、ステップS18において、近接端末数に3、近接端末IDを近接端末リストに登録されている無線端末Nc、NfのIDの2個に変更し、ステップS19において、ホップ数を1加算、中継端末IDに自端末のIDを追加した探索応答パケットPeを生成し、ステップS20において、探索応答パケットPeをブロードキャストする。   FIG. 10 is a flowchart showing an operation when each wireless terminal receives a search response packet. In step S11, when the wireless terminal Ne receives the search response packet Pg, in step S12, the wireless terminal Ne confirms whether the sequence number matches the sequence number of the previous route search packet. Confirm that it is not a terminal. If it is not the terminal itself, it is determined in step S14 whether or not TTL is greater than 0, and it is recognized that relaying is possible by determining that TTL is greater than 0. In step S15, proximity of the proximity information unit Since the terminal ID includes the ID of the own terminal, it is determined that transmission and reception are possible. In step S16, it is determined whether or not it is a newly received search response packet. Since it is determined that it is a new response reception, it is determined as a relay target. From the content of the search response packet Pg, in step S17, TTL is determined. 1 is subtracted by 1, and the number of neighboring terminals is changed to 3 and the neighboring terminal ID is changed to two of the IDs of the wireless terminals Nc and Nf registered in the neighboring terminal list in step S18, and the number of hops is changed to 1 in step S19. In addition, a search response packet Pe in which the ID of its own terminal is added to the relay terminal ID is generated, and the search response packet Pe is broadcast in step S20.

また、自端末が保持している内容より新規性があることから、探索応答パケットの中継情報が利用可能であれば、自端末の経路情報テーブルを更新する。すなわち、ステップS21において探索応答パケットの宛先端末に該当するIDが、経路情報テーブルの宛先端末IDに登録されているか、または、登録に空きがあるかを判定し、そうであれば、折り返しで受信したものを除くため、ステップS22において、中継情報部の中継端末IDに自端末のIDが含まれているか否かを判定し、含まれていなければ、ステップS23において新規の探索応答パケットであるか否かを判定し、新規の応答受信であれば、ステップS24において経路探索テーブルの当該宛先端末の情報を一旦クリアし、ステップS25において、経路情報テーブルの当該宛先端末の登録経路に空きがあるか、または、探索応答パケットのホップ数が既登録経路のホップ数未満かを判定する。この場合は、先のステップS24においてクリアしたため空きがあるので、ステップS26において探索応答パケットPgの中継経路情報からホップ数1、中継端末ID無しを登録する。同様にして、無線端末Nfは、探索応答パケットPfを生成してブロードキャストし、宛先端末Ng、ホップ数1、中継端末ID無しの中継経路を経路情報テーブルに登録する。   In addition, since there is a novelty than the content held by the own terminal, if the relay information of the search response packet is available, the route information table of the own terminal is updated. That is, in step S21, it is determined whether the ID corresponding to the destination terminal of the search response packet is registered in the destination terminal ID of the route information table or whether the registration is available. In step S22, it is determined whether or not the relay terminal ID of the relay information unit includes the ID of the own terminal. If not, whether or not it is a new search response packet in step S23. In step S24, the information of the destination terminal in the route search table is once cleared, and in step S25, is there a free route in the registered route of the destination terminal in the route information table? Alternatively, it is determined whether the hop number of the search response packet is less than the hop number of the registered route. In this case, since there is a vacancy because it was cleared in the previous step S24, the number of hops and no relay terminal ID are registered from the relay route information of the search response packet Pg in step S26. Similarly, the wireless terminal Nf generates and broadcasts a search response packet Pf, and registers the destination terminal Ng, the number of hops 1, and the relay route without the relay terminal ID in the route information table.

探索応答パケットPgの受信後に探索応答パケットPfを受信する無線端末Neは、図10において、ステップS16において既に受信済みの探索応答パケットであることを認識しパケットの送信は行わず経路情報テーブルヘの登録を行い、ステップS23において新規の受信ではないので経路情報テーブルのクリアを行わず、ステップS25において探索応答パケットのホップ数が既登録の中継経路のホップ数未満であるか登録に空きがあれば、ステップS26においてホップ数2、中継端末IDに無線端末NfのIDの中継経路を追加し、ホップ数順で中継経路をソートして登録し、登録数Hnを越える中継経路は破棄する。   The wireless terminal Ne that receives the search response packet Pf after receiving the search response packet Pg recognizes that the search response packet has already been received in step S16 in FIG. 10, and does not transmit the packet and registers it in the route information table. In step S23, the route information table is not cleared because it is not a new reception. In step S25, if the number of hops of the search response packet is less than the number of hops of the already-registered relay route, In step S26, the relay route of the wireless terminal Nf ID is added to the number of hops 2 and the relay terminal ID, the relay routes are sorted and registered in order of the number of hops, and the relay routes exceeding the registered number Hn are discarded.

ここで、図7に示すように無線端末Ndにて、探索応答パケットPeを探索応答パケットPfより先に受信したとする。
図10において、無線端末Ndは探索応答パケットPeの受信により、ステップS15において近接情報部の近接端末IDに自端末のIDに含まれていないことから、探索応答パケットPeを破棄する。
続いて、無線端末Ndは探索応答パケットPfの受信により、ステップS15において近接情報部の近接端末IDに自端末のIDが含まれており、先の探索応答パケットPeを破棄していることからステップS16において新規のパケット受信と判断する。これにより、探索応答パケットPfの内容からTTLを1減算、ホップ数を1加算、中継端末IDに自端末のIDを追加し、近接端末数に4、近接端末IDに近接端末リストに登録されている無線端末Nb、Nc、Ne、NfのIDの4ヶに変更した探索応答パケットPdをブロードキャストし、宛先端末Ng、ホップ数2、中継端末IDに無線端末Nfの中継経路を経路情報テーブルに登録する。
Here, as shown in FIG. 7, it is assumed that the wireless terminal Nd receives the search response packet Pe before the search response packet Pf.
In FIG. 10, upon reception of the search response packet Pe, the wireless terminal Nd discards the search response packet Pe because it is not included in the ID of its own terminal in the proximity terminal ID of the proximity information unit in step S15.
Subsequently, when the wireless terminal Nd receives the search response packet Pf, the wireless terminal Nd includes the ID of its own terminal in the proximity terminal ID of the proximity information unit in step S15, and discards the previous search response packet Pe. In S16, it is determined that a new packet has been received. As a result, the TTL is decremented by 1 from the contents of the search response packet Pf, the hop count is incremented by 1, the ID of the own terminal is added to the relay terminal ID, the neighbor terminal number is registered in the neighbor terminal ID, and the neighbor terminal ID is registered in the neighbor terminal list. Broadcasts the search response packet Pd changed to four IDs of the existing wireless terminals Nb, Nc, Ne, and Nf, and registers the relay route of the wireless terminal Nf in the route information table for the destination terminal Ng, the number of hops 2, and the relay terminal ID To do.

以下同様にして、送信元端末に到達するかTTLが0になるまで探索応答パケットの中継送信が行われる。中継毎にTTLを減ずることによりパケットの中継が無限に行われることを防止する。
図10において、無線端末Naは、ステップS11において探索応答パケットの受信により、ステップS12において経路探索パケットとシーケンス番号の一致を確認し、ステップS13において送信元が自端末であることから経路の登録を行う。ステップS23において、最初に探索応答パケットを受信したと判断した際には、ステップS24において経路情報テーブルの対象となる宛先端末の中継経路の登録を一旦クリアする。ステップS25において、探索応答パケット中のホップ数が既登録の中継経路のホップ数未満であるか、あるいは、登録に空きがあるか判断し、それであれば、ステップS26において探索応答パケットのホップ数、中継端末IDを経路情報テーブルに追加し、ホップ数順で中継経路をソートして登録し、登録数Hnを越える中継経路は破棄する。
Similarly, the search response packet is relayed until the transmission source terminal is reached or TTL becomes 0. By reducing the TTL for each relay, the packet is prevented from being relayed indefinitely.
In FIG. 10, upon receiving the search response packet in step S11, the wireless terminal Na confirms that the route search packet matches the sequence number in step S12. In step S13, the wireless terminal Na registers the route because the transmission source is its own terminal. Do. When it is determined in step S23 that the search response packet has been received for the first time, in step S24, the registration of the relay route of the destination terminal as the target of the route information table is once cleared. In step S25, it is determined whether the number of hops in the search response packet is less than the number of hops of the already registered relay route, or whether there is an empty registration. If so, in step S26, the number of hops in the search response packet, The relay terminal ID is added to the route information table, the relay routes are sorted and registered in order of the number of hops, and the relay routes exceeding the registered number Hn are discarded.

以上の方法により、経路探索の発信元である無線端末、及び、中継経路上にある無線端末が、それぞれ相互に送受信できる複数の中継経路を得ることができる。   With the above method, a plurality of relay routes that can be transmitted and received between the wireless terminal that is the origin of the route search and the wireless terminals that are on the relay route can be obtained.

図8は図5に示したデータパケットの中継送信を表したものである。
経路探索により無線端末Ngへの中継経路を確立している無線端末Naは、送信元端末IDに自端末のID、宛先端末IDに無線端末NgのID、中継数に0、経路情報テーブルに登録されている中継経路からホップ数に2、同じく中継端末IDに無線端末Nc、NeのIDの2ヶ、及び、上位層プロトコルからのデータをデータ部に格納したデータパケットDaを無線端末Ncヘユニキャストする。
FIG. 8 shows the relay transmission of the data packet shown in FIG.
The wireless terminal Na that has established a relay route to the wireless terminal Ng by route search registers its own terminal ID as the transmission source terminal ID, the wireless terminal Ng ID as the destination terminal ID, 0 as the number of relays, and is registered in the route information table. The hop count is 2, the relay terminal ID is two wireless terminals Nc and Ne, and the data packet Da storing data from the higher layer protocol in the data part is unicast to the wireless terminal Nc. .

図11は、各無線端末が図5に示したデータパケットを受信したときの動作を示したフローチャートである。図11において、無線端末NcはステップS27においてデータパケットDaを受信した場合、ステップS28において宛先端末IDが自端末でないことから中継対象とする。データパケットDaの内容から、ステップS29において中継数を1加算したデータパケットDcを生成する。ステップS30において中継数+1で示される中継端末IDである無線端末NeヘデータパケットDcをユニキャストし、ステップS31において送信成功により中継を終了する。
同様にして、無線端末Neは受信したデータパケットDcを中継情報部から次が宛先端末であることを識別し、中継数を1加算したデータパケットDeを無線端末Ngにユニキャストする。
無線端末NgはステップS27においてデータパケットDeを受信した場合、ステップS28において宛先端末IDが自端末であることからデータパケットDeに格納されているデータ部を取り出して上位層プロトコルヘ通知する。
以上により、データパケットの中継送信を行う。
FIG. 11 is a flowchart showing an operation when each wireless terminal receives the data packet shown in FIG. In FIG. 11, when the wireless terminal Nc receives the data packet Da in step S27, the wireless terminal Nc is set as a relay target because the destination terminal ID is not its own terminal in step S28. From the content of the data packet Da, a data packet Dc is generated by adding 1 to the number of relays in step S29. In step S30, the data packet Dc is unicast to the wireless terminal Ne, which is the relay terminal ID indicated by the number of relays + 1. In step S31, the relay is terminated when transmission is successful.
Similarly, the wireless terminal Ne identifies that the received data packet Dc is the next destination terminal from the relay information section, and unicasts the data packet De added by 1 to the wireless terminal Ng.
When the wireless terminal Ng receives the data packet De in step S27, since the destination terminal ID is its own terminal in step S28, the wireless terminal Ng extracts the data part stored in the data packet De and notifies the higher layer protocol.
As described above, the relay transmission of the data packet is performed.

この発明の実施の形態1のように、無線端末Na乃至Ngがパケットを中継送信することで相互の電波到達範囲内にない無線端末間での通信機能を実現する。   As in Embodiment 1 of the present invention, wireless terminals Na to Ng relay and transmit packets, thereby realizing a communication function between wireless terminals that are not within the mutual radio wave reachable range.

以上のように、本実施の形態1によれば、マルチホップ通信網の通信経路の探索において、各無線端末が自端末が受信可能な他の無線端末からの通信を通知しながら通信経路を構築していくことで、送信元端末から宛先端末まで、中継に関わる各無線端末間が相互に送受信できる経路を一回の探索で確立することができる。これにより、無線装置の種類が混在するなど、それぞれの無線端末の電波到達距離が均一でないマルチホップ通信網においても各無線端末間にTCP(Transmission Control Protocol)のようなコネクション方式の通信プロトコルを使用してのデータ伝送ができる。また、宛先端末から送信元端末への応答をブロードキャストにより中継することで、送信元端末から宛先端末までの中継経路を複数確立することができる。   As described above, according to the first embodiment, in searching for a communication path of a multi-hop communication network, each wireless terminal constructs a communication path while notifying communication from other wireless terminals that can be received by the own terminal. By doing so, it is possible to establish a path through which each wireless terminal involved in relaying can transmit and receive each other from the transmission source terminal to the destination terminal by a single search. As a result, even in a multi-hop communication network in which the radio wave reachability of each wireless terminal is not uniform, such as mixed types of wireless devices, a connection type communication protocol such as TCP (Transmission Control Protocol) is used between the wireless terminals. Data transmission. Further, by relaying a response from the destination terminal to the transmission source terminal by broadcasting, a plurality of relay paths from the transmission source terminal to the destination terminal can be established.

また、経路探索を行った無線端末に限らず、中継経路上の無線端末が情報を更新することにより、個々の無線端末が経路探索を行う必要が無くなり、通信網の負荷軽減の効果がある。   Also, not only the wireless terminal that has performed the route search, but also the wireless terminal on the relay route updates the information, so that it is not necessary for each wireless terminal to perform the route search, and there is an effect of reducing the load on the communication network.

実施の形態2.
図12は本発明の実施の形態2であるデータパケットの中継を表したものである。図12では本発明の実施の形態1で示した無線端末Naから無線端末Ngへの経路探索が完了した後、無線端末Neが電波状態の変化や無線装置の故障等の発生により通信不可になった場合を想定する。ここで、無線端末Naの経路情報テーブルには無線端末Ngへの中継経路として、ホップ数が3、中継端末IDが順にNc、Neが登録されており、無線端末Ncの経路情報テーブルには無線端末Ngへの中継経路として、ホップ数2、中継端末IDが無線端末Neという経路と、ホップ数3、中継端末IDが順にNd、Nfという経路との2経路が登録されているものとする。
Embodiment 2. FIG.
FIG. 12 shows data packet relay according to the second embodiment of the present invention. In FIG. 12, after the route search from the wireless terminal Na to the wireless terminal Ng shown in the first embodiment of the present invention is completed, the wireless terminal Ne becomes unable to communicate due to a change in the radio wave state, a failure of the wireless device, or the like. Assuming that Here, in the route information table of the wireless terminal Na, the number of hops 3 and the relay terminal IDs Nc and Ne are registered in order as the relay route to the wireless terminal Ng, and the wireless terminal Nc has a wireless information in the route information table. As a relay route to the terminal Ng, it is assumed that two routes, a route having a hop number of 2 and a relay terminal ID of a wireless terminal Ne, and a route number of 3 having a hop number of 3 and a relay terminal ID of Nd and Nf in that order, are registered.

無線端末Naは、送信元端末IDに自端末のID、宛先端末IDに無線端末NgのID、中継数に0、経路情報テーブルに登録されている中継経路からホップ数に2、同じく中継端末IDに無線端末Nc、NeのIDの2ヶ、及び、上位層プロトコルからのデータをデータ部に格納したデータパケットDa1を無線端末Ncヘユニキャストする。   The wireless terminal Na has its own terminal ID as the transmission source terminal ID, the ID of the wireless terminal Ng as the destination terminal ID, 0 as the number of relays, 2 as the number of hops from the relay route registered in the route information table, and the relay terminal ID as well. The data packet Da1 storing the data from the wireless terminal Nc and the ID of Ne and the data from the higher layer protocol in the data part is unicast to the wireless terminal Nc.

図11において、無線端末NcはデータパケットDa1の受信により、本発明の実施の形態1と同様にデータパケットDc1を生成する。ステップS30において無線端末NeヘデータパケットDc1をユニキャストするが、ステップS30において通信不可であるため送信に失敗する。これによりステップS32においてデータパケットDc1の宛先端末である無線端末Ngの中継経路が経路情報テーブルに登録されているかを検索し、ステップS33においてホップ数3、中継端末IDが順にNd、Nfの中継経路を得る。ステップS34においてデータパケットDc1の中継情報部のホップ数及び中継端末IDを、ステップS33にて得た中継端末IDに置き換え、中継数を0としたデータパケットDc2を、新たな中継情報部での次の中継端末である無線端末Ndにユニキャストする。   In FIG. 11, the wireless terminal Nc generates a data packet Dc1 by receiving the data packet Da1 as in the first embodiment of the present invention. In step S30, the data packet Dc1 is unicast to the wireless terminal Ne, but transmission fails because communication is not possible in step S30. Thereby, it is searched in step S32 whether or not the relay route of the wireless terminal Ng that is the destination terminal of the data packet Dc1 is registered in the route information table. In step S33, the relay route of the number of hops 3 and the relay terminal IDs Nd and Nf in order. Get. In step S34, the number of hops and the relay terminal ID in the relay information part of the data packet Dc1 are replaced with the relay terminal ID obtained in step S33, and the data packet Dc2 with the relay number set to 0 is replaced with the next relay information part. Unicast to the wireless terminal Nd which is the relay terminal of

データパケットDc2の新たな中継経路に従い、無線端末Ndは無線端末Nfへ、無線端末Nfは無線端末Ngへ、データパケットをユニキャストし、宛先端末までデータパケットの中継を行う。   According to the new relay route of the data packet Dc2, the wireless terminal Nd unicasts the data packet to the wireless terminal Nf and the wireless terminal Nf to the wireless terminal Ng, and relays the data packet to the destination terminal.

以上により、中継経路上の端末へ送信できなかった場合に代替の中継経路を使用してデータパケットの中継を行う。   As described above, when the packet cannot be transmitted to the terminal on the relay route, the data packet is relayed using the alternative relay route.

ここで、無線端末NcがデータパケットDc2の送信に、ステップS35において失敗した場合、ステップS36において該当中継経路を経路情報テーブルの最下位にしてソートすることで再利用を制限する。   If the wireless terminal Nc fails to transmit the data packet Dc2 in step S35, the reuse is restricted by sorting the corresponding relay route in the lowest order in the route information table in step S36.

この発明の実施の形態2のように、中継経路上の無線端末がパケットの送信に失敗した場合、先だって行われている経路探索により保持している複数の中継経路から、代替中継経路を選択してパケットの中継を継続する機能を実現する。   As in the second embodiment of the present invention, when a wireless terminal on a relay route fails to transmit a packet, an alternative relay route is selected from a plurality of relay routes held by a route search performed in advance. To realize the function to continue packet relay.

以上のように、本実施の形態においても、上記の実施の形態1と同様の効果が得られるとともに、さらに、本実施の形態においては、予め中継経路上の無線端末が複数の異なる中継経路を保持していることにより、パケットの送信に失敗した場合に、送信元端末にまで戻って再度経路探索やパケット再送を行うことなく、代替経路を使用してパケットの送信を継続することができる。各無線端末が据え付け型であるなどで通信網トポロジーがほとんど変化がない場合に有効であり、これにより、通信異常が発生した場合の遅延を少なくしたデータ伝送に効果がある。   As described above, also in this embodiment, the same effect as in the first embodiment can be obtained. Further, in this embodiment, a wireless terminal on a relay route has a plurality of different relay routes in advance. By holding the packet, if the packet transmission fails, the packet transmission using the alternative route can be continued without returning to the transmission source terminal and performing the route search or the packet retransmission again. This is effective when there is almost no change in the communication network topology because each wireless terminal is a stationary type, and this is effective in data transmission with reduced delay when a communication abnormality occurs.

本発明の実施の形態1における複数の無線端末によるマルチホップ通信網の構成を示す構成図である。It is a block diagram which shows the structure of the multihop communication network by the some radio | wireless terminal in Embodiment 1 of this invention. 本発明の実施の形態1における経路情報テーブルを示す説明図である。It is explanatory drawing which shows the path | route information table in Embodiment 1 of this invention. 本発明の実施の形態1における経路探索パケットを示す説明図である。It is explanatory drawing which shows the route search packet in Embodiment 1 of this invention. 本発明の実施の形態1における探索応答パケットを示す説明図である。It is explanatory drawing which shows the search response packet in Embodiment 1 of this invention. 本発明の実施の形態1におけるデータパケットを示す説明図である。It is explanatory drawing which shows the data packet in Embodiment 1 of this invention. 本発明の実施の形態1における経路探索パケットの中継を示す説明図である。It is explanatory drawing which shows the relay of the route search packet in Embodiment 1 of this invention. 本発明の実施の形態1における探索応答パケットの中継を示す説明図である。It is explanatory drawing which shows the relay of the search response packet in Embodiment 1 of this invention. 本発明の実施の形態1におけるデータパケットの中継を示す説明図である。It is explanatory drawing which shows the relay of the data packet in Embodiment 1 of this invention. 本発明の実施の形態1における経路探索パケットの受信処理を示すフローチャートである。It is a flowchart which shows the reception process of the route search packet in Embodiment 1 of this invention. 本発明の実施の形態1における探索応答パケットの受信処理を示すフローチャートである。It is a flowchart which shows the reception process of the search response packet in Embodiment 1 of this invention. 本発明の実施の形態1におけるデータパケットの受信処理を示すフローチャートである。It is a flowchart which shows the reception process of the data packet in Embodiment 1 of this invention. 本発明の実施の形態2におけるデータパケットの中継を示す説明図である。It is explanatory drawing which shows the relay of the data packet in Embodiment 2 of this invention. 従来のマルチホップ通信網の経路探索を示す説明図である。It is explanatory drawing which shows the route search of the conventional multihop communication network.

符号の説明Explanation of symbols

Ad,Ae 電波到達範囲、Na,Nb,Nc,Nd,Ne,Nf,Ng 無線端末、Nr1,Nr2,Nr3,Nr4,Nr5 無線端末、Ns 無線端末(送信元端末)、Nt 無線端末(宛先端末)。   Ad, Ae radio wave reachable range, Na, Nb, Nc, Nd, Ne, Nf, Ng wireless terminal, Nr1, Nr2, Nr3, Nr4, Nr5 wireless terminal, Ns wireless terminal (source terminal), Nt wireless terminal (destination terminal) ).

Claims (4)

複数の無線端末がマルチホップ通信により情報伝達する通信網において経路を選択するための経路選択方法であって、
送信元端末が宛先端末を指定して経路探索パケットをブロードキャストするステップと、
前記経路探索パケットを受信した各無線端末がさらなるブロードキャストにより宛先端末まで中継するステップと、
前記経路探索パケットを受信したときに、各無線端末が、当該経路探索パケットを送信した無線端末のIDを近接端末リストに登録するステップと、
前記経路探索パケットを受信した前記宛先端末が、近接端末リストの情報を含んだ探索応答パケットを生成してブロードキャストするステップと、
前記探索応答パケットを受信した各無線端末が、当該探索応答パケットの近接情報部に自端末のIDが含まれているかを判断し、含まれている場合に前記探索応答パケットをブロードキャストするステップと、
前記探索応答パケットを受信した送信元端末が、当該探索応答パケットの情報に基づいて、宛先端末毎に、宛先端末までの中継経路を表す経路情報テーブルを更新するステップと
を含むことを特徴とする経路選択方法。
A route selection method for selecting a route in a communication network in which a plurality of wireless terminals transmit information by multi-hop communication,
The source terminal broadcasts a route search packet by designating a destination terminal;
Each wireless terminal receiving the route search packet relays to a destination terminal by further broadcast;
Each wireless terminal, when receiving the route search packet, registering the ID of the wireless terminal that transmitted the route search packet in the proximity terminal list;
The destination terminal that has received the route search packet generates and broadcasts a search response packet including information of a neighboring terminal list; and
Each wireless terminal that has received the search response packet determines whether the proximity information portion of the search response packet includes the ID of its own terminal, and if included, broadcasts the search response packet;
The transmission source terminal that has received the search response packet includes a step of updating a route information table representing a relay route to the destination terminal for each destination terminal based on information of the search response packet. Route selection method.
前記各無線端末が受信した前記探索応答パケットをブロードキャストするステップは、
当該探索応答パケットの中継可能な残り回数を格納するTTLを参照して、転送可能であるかを判断し、TTLが0であれば探索応答パケットを破棄するステップと、
当該探索応答パケットのシーケンス番号を参照して、既に受信済みの探索応答パケットであるかを判断し、未受信であれば、当該探索応答パケットの近接情報部を自端末の近接端末リストで更新し、当該探索応答パケットが中継されてきた経路を示す中継情報部に自端末のIDを追加したコピーパケットをプロードキャストするステップと、
当該探索応答パケットの中継情報部を参照して自端末のIDが含まれていないことから未だ自端末を経由していない探索応答パケットであると判断するステップと、
自端末を経由していない場合に前記経路情報テーブルを更新するステップと
を含むことを特徴とする請求項1に記載の経路選択方法。
Broadcasting the search response packet received by each wireless terminal includes:
Referring to the TTL that stores the remaining number of times that the search response packet can be relayed, determining whether or not the search response packet can be transferred, and discarding the search response packet if the TTL is 0;
Refer to the sequence number of the search response packet to determine whether the search response packet has already been received. If it has not been received, update the proximity information part of the search response packet with the proximity terminal list of its own terminal. Broadcasting a copy packet in which the ID of the terminal is added to the relay information part indicating the route through which the search response packet has been relayed;
Determining a search response packet that has not yet passed through the own terminal because the ID of the own terminal is not included with reference to the relay information part of the search response packet;
The route selection method according to claim 1, further comprising a step of updating the route information table when not passing through the own terminal.
前記経路情報テーブルを更新するステップは、
受信した前記探索応答パケットの宛先端末とブロードキャストにより中継された回数を示すホップ数とを参照し、前記経路情報テーブルの当該宛先端末の既登録されている複数の中継経路と比較し、ホップ数が既登録の中継経路より少なければ、当該パケットの中継経路を経路情報テーブルにホップ数順にソートし直して登録し、最大登録数を超えた場合はソート最下位を破棄するステップ
を含むことを特徴とする請求項2に記載の経路選択方法。
The step of updating the route information table includes:
With reference to the destination terminal of the received search response packet and the number of hops indicating the number of times relayed by broadcasting, the number of hops is compared with a plurality of already-registered relay routes of the destination terminal in the route information table. If the number is less than the registered relay route, the relay route of the packet is re-sorted and registered in the route information table in the order of the number of hops, and when the maximum number of registrations is exceeded, the sorting lowest order is discarded. The route selection method according to claim 2.
前記各無線端末は、前記経路情報テーブルの中継経路を参照して、宛先端末までの中継経路を含んだデータパケットを送信するステップと、
前記データパケットを受信した無線端末が当該データパケットの中継情報部を参照して次に送信する無線端末を認識し送信するステップと、
当該データパケットを送信したときに、ある無線端末と別の無線端末との間で通信不能に至った場合、通信不能の無線端末を使用しない中継経路を自端末の前記経路情報テーブルから検索し、該当する中継経路があるときに、その中継経路に置き換えて当該データパケットを更新し、新たな中継経路を使用してデータパケットを送信するステップと
を含むことを特徴とする請求項1ないし3のいずれか1項に記載の経路選択方法。
Each of the wireless terminals refers to the relay route of the route information table, and transmits a data packet including the relay route to the destination terminal;
The wireless terminal that has received the data packet recognizes and transmits the wireless terminal to be transmitted next with reference to the relay information part of the data packet;
When communication between one wireless terminal and another wireless terminal becomes impossible when the data packet is transmitted, a relay route that does not use the wireless terminal that cannot communicate is searched from the route information table of the own terminal, The method of claim 1, further comprising the steps of: updating a data packet by replacing the relay route when there is a corresponding relay route, and transmitting the data packet using a new relay route. The route selection method according to any one of the above.
JP2005379016A 2005-12-28 2005-12-28 Path selection method Pending JP2007181056A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005379016A JP2007181056A (en) 2005-12-28 2005-12-28 Path selection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005379016A JP2007181056A (en) 2005-12-28 2005-12-28 Path selection method

Publications (1)

Publication Number Publication Date
JP2007181056A true JP2007181056A (en) 2007-07-12

Family

ID=38305723

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005379016A Pending JP2007181056A (en) 2005-12-28 2005-12-28 Path selection method

Country Status (1)

Country Link
JP (1) JP2007181056A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009278417A (en) * 2008-05-15 2009-11-26 Mega Chips Corp Communication system and communication equipment
CN103650436A (en) * 2013-07-25 2014-03-19 华为技术有限公司 Service path distribution method, router and service execution entity
KR101548146B1 (en) * 2009-07-23 2015-08-31 에스케이텔레콤 주식회사 Wireless personal area network system and communication routing method for wireless personal area network system
US9485705B2 (en) 2011-11-01 2016-11-01 Fujitsu Limited Transmission control method and transmission control apparatus
CN110351810A (en) * 2018-04-04 2019-10-18 电信科学技术研究院有限公司 A kind of cut-in method and equipment

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009278417A (en) * 2008-05-15 2009-11-26 Mega Chips Corp Communication system and communication equipment
KR101548146B1 (en) * 2009-07-23 2015-08-31 에스케이텔레콤 주식회사 Wireless personal area network system and communication routing method for wireless personal area network system
US9485705B2 (en) 2011-11-01 2016-11-01 Fujitsu Limited Transmission control method and transmission control apparatus
CN103650436A (en) * 2013-07-25 2014-03-19 华为技术有限公司 Service path distribution method, router and service execution entity
CN103650436B (en) * 2013-07-25 2016-09-28 华为技术有限公司 Service path distribution method, router and business perform entity
US10230627B2 (en) 2013-07-25 2019-03-12 Huawei Technologies Co., Ltd. Service path allocation method, router and service execution entity
CN110351810A (en) * 2018-04-04 2019-10-18 电信科学技术研究院有限公司 A kind of cut-in method and equipment

Similar Documents

Publication Publication Date Title
US8064416B2 (en) Route selection in wireless networks
US8009615B2 (en) Multi-hop ad-hoc wireless networks that support non-multi-hop wireless terminals
JP5087553B2 (en) Method and system for adaptive wireless routing protocol in mesh networks
CN101091357B (en) Method for controlling routing operations in a network, related network and computer program product thereof
US20080137556A1 (en) Mesh networking auto configuration method, virtual link setting method, packet transmission method in multi-hop wireless lan, and terminal thereof
US8213352B2 (en) Wireless communication system, wireless communication device, wireless communication method, and program
JP2007104675A (en) Method of implementing multicast routing system in mobile ad-hoc network environment
US7660258B2 (en) Method for automatically configuring network addresses in mobile multi-hop network
JP2005064721A (en) Communication system and method, communication terminal device and control method thereof, and program
CN101083597A (en) SIP based instant message of mobile self-organizing network
JP2006211375A (en) Load distribution method in wireless ad hoc network
JP3977157B2 (en) Route control method and apparatus, and computer program
JP2007181056A (en) Path selection method
US20110320570A1 (en) Systems and methods for communicating among nodes of a wireless network
KR100755709B1 (en) Method for multicast routing using MPR set information
KR20110135100A (en) Multicast routing method in wireless mobile multi-hop network system
US11451469B2 (en) On-demand table and route update after a node failure in a wireless network
KR100462028B1 (en) Method of internet gateway discovery in Ad-hoc network
KR100474254B1 (en) Method of cost-based route establishing for AODV routing protocol
KR101535633B1 (en) Data transmission method and apparatus and data transmission system in ad -hoc network
JP5438711B2 (en) Wireless communication system
WO2014208707A1 (en) Network system and control method therefor
JP2009290893A (en) Routing in radio network
JP2008193165A (en) Radio communication equipment and radio communication system
JP2007129516A (en) Route search device