[go: up one dir, main page]

JPH11239176A - Ad-hoc network packet routing method - Google Patents

Ad-hoc network packet routing method

Info

Publication number
JPH11239176A
JPH11239176A JP3866798A JP3866798A JPH11239176A JP H11239176 A JPH11239176 A JP H11239176A JP 3866798 A JP3866798 A JP 3866798A JP 3866798 A JP3866798 A JP 3866798A JP H11239176 A JPH11239176 A JP H11239176A
Authority
JP
Japan
Prior art keywords
terminal
signal
wireless
wireless terminal
relay
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
JP3866798A
Other languages
Japanese (ja)
Inventor
Toshifumi Miyagi
利文 宮城
Masataka Iizuka
正孝 飯塚
Hitoshi Takanashi
斉 高梨
Masahiro Morikura
正博 守倉
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone 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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP3866798A priority Critical patent/JPH11239176A/en
Publication of JPH11239176A publication Critical patent/JPH11239176A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

(57)【要約】 【課題】 本発明はアドホックネットワークのパケット
ルーティング方法において発信端末と宛先端末との間に
固定された中継端末が多数存在しない場合であっても発
信端末と宛先端末との通信を可能にすることを目的とす
る。 【解決手段】 中継端末が隣接無線端末との通信状態の
悪化を検出すると、中継端末から宛先端末100(J)に対し
て第1の信号P1を送り、宛先端末100(J)は第1の信号
を検出すると不特定の無線端末に対して第2の信号P2
を送出し、中継端末は第2の信号P2を検出すると中継
端末識別情報を付加して第2の信号P2を不特定の無線
端末に送出し、発信端末100(A)は第2の信号P2を検出
すると第2の信号P2に含まれる中継端末識別情報に基
づいて通信ルートを認識することを特徴とする。
(57) [Summary] The present invention relates to a packet routing method for an ad hoc network, in which communication between a calling terminal and a destination terminal is performed even when there are not many fixed relay terminals between the calling terminal and the destination terminal. The purpose is to enable. When a relay terminal detects deterioration of a communication state with an adjacent wireless terminal, the relay terminal sends a first signal P1 to a destination terminal 100 (J), and the destination terminal 100 (J) transmits the first signal P1. When the signal is detected, the second signal P2 is sent to the unspecified wireless terminal.
When the relay terminal detects the second signal P2, it adds the relay terminal identification information and transmits the second signal P2 to an unspecified wireless terminal, and the transmitting terminal 100 (A) transmits the second signal P2 Is detected, the communication route is recognized based on the relay terminal identification information included in the second signal P2.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、複数の無線端末同
士が互いに通信を行うアドホックネットワークのパケッ
トルーティング方法に関し、特にデータパケットの送信
元である発信端末と送信先である宛先端末との間を中継
する中継端末が移動可能な環境における通信ルートの決
定制御に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a packet routing method for an ad hoc network in which a plurality of wireless terminals communicate with each other, and more particularly, to a method for transmitting a data packet between a transmitting terminal and a destination terminal. The present invention relates to control for determining a communication route in an environment where a relay terminal that can relay is movable.

【0002】[0002]

【従来の技術】複数の無線端末同士が互いに通信を行う
アドホックネットワークの従来技術としては、例えば特
開平8−97821号公報の「無線データ通信方法及び
装置ならびに無線データ通信システム」が公知である。
2. Description of the Related Art As a prior art of an ad hoc network in which a plurality of wireless terminals communicate with each other, for example, a "wireless data communication method and apparatus and a wireless data communication system" disclosed in JP-A-8-97821 is known.

【0003】この種のアドホックネットワークにおいて
は、データパケットの送信元である発信端末と送信先で
ある宛先端末とが距離などの関係で直接通信できない場
合であっても、発信端末と宛先端末との間に存在する1
つまたは複数の無線端末を利用できる場合には、それら
の無線端末をデータの中継を行う中継端末として利用す
ることにより、発信端末から宛先端末へのデータ転送が
行われる。
[0003] In this type of ad hoc network, even if the originating terminal that is the source of the data packet and the destination terminal that is the destination cannot communicate directly due to the distance or the like, the communication between the originating terminal and the destination terminal is not possible. 1 that exists between
When one or a plurality of wireless terminals can be used, data transfer from the calling terminal to the destination terminal is performed by using those wireless terminals as relay terminals for relaying data.

【0004】中継端末を利用する場合には、データパケ
ットの送信を開始する前に、発信端末と宛先端末との間
の利用可能な中継端末を検出して、利用できる通信ルー
トを探索する必要がある。特開平8−97821号公報
においては、次のようにして通信ルートを探索する。す
なわち、発信端末から不特定の無線端末に向かって、特
定の信号フレームを同報送信(ブロードキャスト)す
る。前記信号フレームを検出した任意の無線端末は、そ
れ自身が宛先端末でなければ、検出した信号フレームを
不特定の無線端末に向かって送出する。
When using a relay terminal, it is necessary to detect an available relay terminal between a calling terminal and a destination terminal and search for an available communication route before starting transmission of a data packet. is there. In Japanese Patent Application Laid-Open No. Hei 8-97821, a communication route is searched as follows. That is, a specific signal frame is transmitted (broadcasted) from an originating terminal to an unspecified wireless terminal. Any wireless terminal that has detected the signal frame transmits the detected signal frame to an unspecified wireless terminal if it is not the destination terminal.

【0005】従って、中継端末を利用した同報送信が連
鎖的に繰り返されるので、発信端末から送信された信号
フレームが宛先端末まで届く。このときに信号フレーム
の中継に利用された無線端末を中継端末として利用する
ように、1つの通信ルートが決定される。但し、この種
の同報送信を実施する場合には、互いに通信可能な全て
の無線端末同士の間に連鎖的に通信が発生するので、各
無線端末において通信のトラヒックが大幅に増大する。
従って、トラヒックを低減するために、各中継端末にお
ける同報送信は1回だけに制限される。
[0005] Therefore, since the broadcast transmission using the relay terminal is repeated in a chain, the signal frame transmitted from the originating terminal reaches the destination terminal. At this time, one communication route is determined so that the wireless terminal used for relaying the signal frame is used as a relay terminal. However, when performing this type of broadcast transmission, since communication occurs in a chain between all wireless terminals that can communicate with each other, communication traffic at each wireless terminal greatly increases.
Therefore, in order to reduce traffic, broadcast transmission at each relay terminal is limited to one time.

【0006】直接通信不可能な発信端末と宛先端末との
間で通信するためには、利用可能な通信ルートが実際に
存在することが前提になる。従って、互いに隣接する無
線端末同士の通信可能範囲が互いに重複し、しかも発信
端末と宛先端末との間にとぎれなく中継可能な無線端末
が配置されている必要がある。
[0006] In order to communicate between a calling terminal that cannot directly communicate and a destination terminal, it is assumed that an available communication route actually exists. Therefore, it is necessary that wireless terminals adjacent to each other overlap with each other in a communicable range, and that wireless terminals capable of relaying without interruption are arranged between the calling terminal and the destination terminal.

【0007】例えば、発信端末と宛先端末との間に第1
の中継端末と第2の中継端末とが存在する場合に、発信
端末と第1の中継端末との通信可能範囲が重なり、第1
の中継端末と第2の中継端末との通信可能範囲が重な
り、第2の中継端末と宛先端末との通信可能範囲が重な
る場合には、発信端末から送信されたデータを第1の中
継端末と第2の中継端末とで中継することにより、宛先
端末までデータを転送できる。
[0007] For example, a first terminal is located between a calling terminal and a destination terminal.
When the relay terminal and the second relay terminal are present, the communicable ranges of the calling terminal and the first relay terminal overlap, and the first and second relay terminals overlap each other.
If the communicable range of the relay terminal and the second relay terminal overlaps, and the communicable range of the second relay terminal and the destination terminal overlaps, the data transmitted from the originating terminal is transmitted to the first relay terminal. By relaying with the second relay terminal, data can be transferred to the destination terminal.

【0008】また、複数の通信ルートを選択可能な場合
には、一部の中継端末において通信不可能な状態や障害
が発生した場合であっても、再び通信ルートの探索を実
施するか、または予め定めた代替ルートを利用すること
により、通信ルートを確保できる。上記のような装置に
おいては、ルート検索のための信号フレームを記億する
メモリや、フレームに記述された情報をもとに処理を行
う演算装置やプログラムされた論理素子もしくはプログ
ラムが設けられる。
[0008] When a plurality of communication routes can be selected, even if some relay terminals cannot communicate or a failure occurs, the communication route is searched again, or By using a predetermined alternative route, a communication route can be secured. In the apparatus as described above, a memory for storing a signal frame for route search, an arithmetic unit for performing processing based on information described in the frame, and a programmed logic element or program are provided.

【0009】[0009]

【発明が解決しようとする課題】従来技術においては、
通信ルート確保のために実施される信号フレームの同報
送信は1回に制限されている。従って、1回だけしか送
信されない信号フレームを確実に中継するために、発信
端末と宛先端末との間には、互いに通信可能範囲が重な
るように多数の中継端末を固定配置しなければならな
い。
In the prior art,
Broadcast transmission of a signal frame performed to secure a communication route is limited to one time. Therefore, in order to reliably relay a signal frame transmitted only once, a large number of relay terminals must be fixedly arranged between the originating terminal and the destination terminal so that the communication ranges overlap with each other.

【0010】もしも、特定の無線端末の移動によって発
信端末と宛先端末との間を中継する中継端末が1つでも
所定範囲からはずれると、発信端末と宛先端末との間で
データパケットの転送が不可能になる。また、従来技術
では、送受信する信号フレームの制御処理を専用のプロ
グラムやプログラムされた論理素子等で実施するので、
専用の情報処理装置やアプリケーションを構築する必要
があり既存の無線通信装置をそのまま用いることができ
ない不具合があった。
[0010] If even one of the relay terminals for relaying between the originating terminal and the destination terminal moves out of the predetermined range due to the movement of the specific wireless terminal, the transfer of the data packet between the originating terminal and the destination terminal becomes impossible. Will be possible. In the related art, control processing of a signal frame to be transmitted and received is performed by a dedicated program or a programmed logic element.
It is necessary to construct a dedicated information processing device or application, and there is a problem that the existing wireless communication device cannot be used as it is.

【0011】本発明は、アドホックネットワークのパケ
ットルーティング方法において、発信端末と宛先端末と
の間に実質上固定された中継端末が多数存在していない
場合であっても、直接通信できない発信端末と宛先端末
との間で通信を可能にすることを主な目的とする。
[0011] The present invention relates to a packet routing method for an ad hoc network, wherein even if there are not a large number of relay terminals that are substantially fixed between the originating terminal and the destination terminal, the originating terminal and the destination cannot communicate directly. The main purpose is to enable communication with a terminal.

【0012】[0012]

【課題を解決するための手段】請求項1のアドホックネ
ットワークのパケットルーティング方法は、データパケ
ットの送信,受信及び中継の全ての機能をそれぞれが備
える少なくとも3つの無線端末を利用し、データパケッ
トの送信元となる無線端末,データパケットの送信先と
なる無線端末及びデータパケットを中継する無線端末を
それぞれ発信端末,宛先端末及び中継端末とし、前記発
信端末と宛先端末との間で直接通信できない場合には、
1つ以上の前記中継端末を利用する通信ルートを特定
し、特定された通信ルートを利用してデータパケットを
転送するアドホックネットワークのパケットルーティン
グ方法において、前記中継端末が特定された通信ルート
上で隣接する無線端末との間の通信状態の悪化を検出し
た場合には、該中継端末から前記宛先端末に対して通信
途絶を示す第1の信号を送り、前記宛先端末が前記第1
の信号を検出した場合には、利用する通信ルートを更新
するために、前記宛先端末から不特定の前記無線端末に
対して第2の信号を送出し、前記第2の信号を検出した
無線端末が前記発信端末でない場合には、前記第2の信
号を検出した無線端末は、該無線端末を特定する中継端
末識別情報を付加して前記第2の信号を不特定の無線端
末に対して送出し、前記第2の信号を検出した無線端末
が前記発信端末である場合には、該発信端末は、検出さ
れた第2の信号に含まれる前記中継端末識別情報に基づ
いて更新された通信ルートを認識し、更新された通信ル
ートの中継端末を介して宛先端末へのデータパケットの
送信を継続することを特徴とする。
According to a first aspect of the present invention, there is provided a packet routing method for an ad hoc network, wherein at least three wireless terminals each having all functions of transmitting, receiving and relaying a data packet are used to transmit a data packet. The source wireless terminal, the wireless terminal to which the data packet is to be transmitted, and the wireless terminal that relays the data packet are referred to as an originating terminal, a destination terminal, and a relay terminal, respectively, in a case where direct communication cannot be performed between the originating terminal and the destination terminal. Is
A packet routing method for an ad hoc network that specifies a communication route using one or more relay terminals and transfers a data packet using the specified communication route, wherein the relay terminal is adjacent on the specified communication route. When the deterioration of the communication state with the wireless terminal performing the communication is detected, the relay terminal sends a first signal indicating the communication interruption to the destination terminal, and the destination terminal transmits the first signal to the destination terminal.
When detecting the second signal, the destination terminal sends a second signal to the unspecified wireless terminal in order to update the communication route to be used, and the wireless terminal detecting the second signal Is not the calling terminal, the wireless terminal that has detected the second signal transmits the second signal to an unspecified wireless terminal by adding relay terminal identification information that specifies the wireless terminal. If the wireless terminal that has detected the second signal is the calling terminal, the calling terminal may update the communication route updated based on the relay terminal identification information included in the detected second signal. And transmitting the data packet to the destination terminal via the relay terminal of the updated communication route is continued.

【0013】中継端末の移動などによって発信端末と宛
先端末との間の通信ルートが途絶えると、それを検出し
た中継端末が宛先端末に対して第1の信号を例えば通知
パケットとして送出する。この第1の信号に応答して、
宛先端末から第2の信号が送出される。すなわち、宛先
端末から発信端末に向かって通信ルートの探索が開始さ
れる。
When the communication route between the originating terminal and the destination terminal is interrupted due to the movement of the relay terminal or the like, the relay terminal that has detected the communication route sends a first signal to the destination terminal, for example, as a notification packet. In response to this first signal,
A second signal is sent from the destination terminal. That is, a search for a communication route is started from the destination terminal to the calling terminal.

【0014】第2の信号は宛先端末から不特定の無線端
末に対して、すなわち同報で送出されるので、通信可能
な範囲内に複数の無線端末が存在する場合には、複数の
無線端末に第2の信号が届く。第2の信号を検出した無
線端末が、該無線端末を特定する中継端末識別情報を送
出する第2の信号に付加するので、発信端末に届く第2
の信号には、それの転送ルートを特定できる中継端末群
の情報が含まれている。従って、利用できる通信ルート
の情報が確保される。
Since the second signal is transmitted from the destination terminal to an unspecified wireless terminal, that is, by broadcast, if a plurality of wireless terminals exist within a communicable range, the plurality of wireless terminals are transmitted. Arrives at the second signal. Since the wireless terminal that has detected the second signal adds relay terminal identification information for identifying the wireless terminal to the second signal to be transmitted, the second terminal that reaches the calling terminal
Includes information on a group of relay terminals that can specify the transfer route of the signal. Therefore, information on available communication routes is secured.

【0015】通信ルートの探索を宛先端末から開始する
ことにより、宛先端末に確実にパケットが到着するよう
な中継ルートを確保できる。また、発信端末における処
理の負荷が低減される。中継端末は、隣接する他の中継
端末からの特有の電波の受信レベルなどを周期的に監視
することにより、通信状態の悪化を検出できる。監視対
象の無線端末は、発信端末から宛先端末への通信ルート
上の直前の隣接する中継端末である。
By starting the search for the communication route from the destination terminal, a relay route that ensures that the packet arrives at the destination terminal can be secured. Further, the processing load on the calling terminal is reduced. The relay terminal can detect deterioration of the communication state by periodically monitoring the reception level of a specific radio wave from another adjacent relay terminal. The monitoring target wireless terminal is the immediately preceding relay terminal on the communication route from the calling terminal to the destination terminal.

【0016】受信レベルが所定のレベルを下回る場合に
は、無線通信可能範囲内に存在しないと判断できる。監
視対象の無線端末の状況を中継端末上に記録しておき、
最新の受信状態と記録とを比較することにより、通信状
態の変化を識別できる。従来技術においては、無線通信
可能範囲に中継する端末が配置されていることが前提に
なっているが、本発明では中継端末が自由に動き回るこ
とを前提としている。すなわち、通信可能範囲内に常時
中継端末が存在していなくても、本発明では通信が可能
である。
If the reception level is lower than a predetermined level, it can be determined that the reception level does not exist within the wireless communication range. Record the status of the monitored wireless terminal on the relay terminal,
By comparing the latest reception state with the record, a change in the communication state can be identified. In the prior art, it is assumed that a terminal that relays is arranged in a wireless communication range, but in the present invention, it is assumed that the relay terminal moves freely. That is, even if the relay terminal does not always exist within the communicable range, communication is possible in the present invention.

【0017】上記各種制御は、各無線端末にミドルウェ
アとして搭載することにより実現可能である。本発明は
ミドルウェアとして実現するのが望ましい。ミドルウェ
アは、ハードウェアとアプリケーション・ソフトウェア
との中間に位置するソフトウェアであり、ISO(国際
標準化機構)で定義されている通信プロトコルの階層モ
デルであるOSI参照モデルにおいて、データリンク層
の上位に位置する。下位レイヤにおいて提供するサービ
スに応じて必要な機能を付加することなくサービスを実
現可能とする。また、上位のアプリケーションにおいて
も、提供するサービスに応じた変更や修正をすることな
く実現できる。
The above-described various controls can be realized by being installed as middleware in each wireless terminal. The present invention is desirably implemented as middleware. Middleware is software that is located between hardware and application software, and is located above the data link layer in the OSI reference model, which is a hierarchical model of a communication protocol defined by the International Organization for Standardization (ISO). . A service can be realized without adding a necessary function according to a service provided in a lower layer. In addition, even higher-level applications can be realized without making changes or modifications according to the services to be provided.

【0018】本発明をミドルウェアとして実現すること
により、既存の無線端末を用いて動的トポロジーに対応
した無線パケット通信が可能になる。本発明の制御や必
要な情報の保持のために各無線端末にミドルウェアを導
入することにより、特定のアプリケーションや無線通信
装置に限らず発明を実施できる。また、宛先端末のミド
ルウェアによりルートの確保等の制御を行うことで、M
ACレイヤや物理レイヤなどのネットワーク全体に対す
る負担をより軽減した通信が可能になる。
By realizing the present invention as middleware, wireless packet communication compatible with a dynamic topology using existing wireless terminals becomes possible. By introducing middleware to each wireless terminal for control of the present invention and holding necessary information, the invention can be implemented not only for a specific application or wireless communication device. In addition, the middleware of the destination terminal performs control such as securing a route, so that M
Communication with reduced load on the entire network such as the AC layer and the physical layer can be performed.

【0019】請求項2は、請求項1記載のアドホックネ
ットワークのパケットルーティング方法において、前記
宛先端末もしくは前記第2の信号を検出した無線端末
は、所定の条件で通信可能な他の無線端末を検出できな
い場合には、前記第2の信号を保持し、前記所定の条件
で通信可能な他の無線端末を検出したときに、保持され
た前記第2の信号を送出することを特徴とする。
According to a second aspect of the present invention, in the packet routing method for an ad hoc network according to the first aspect, the destination terminal or the wireless terminal detecting the second signal detects another wireless terminal capable of communicating under a predetermined condition. If not, the second signal is held, and the second signal is sent when another wireless terminal capable of communicating under the predetermined condition is detected.

【0020】従って、無線端末の移動などによって、発
信端末と宛先端末との間に利用可能な通信ルートが存在
しない場合には、第2の信号が何れかの中継端末もしく
は宛先端末に保持され、利用可能な通信ルートが現れた
ときに、新たに通信ルート上に現れた中継端末に第2の
信号が送信され、通信ルートの探索が継続される。この
ため、頻繁に移動する無線端末であっても、それを中継
端末として利用することができる。この制御も、各無線
端末に設られる前述のミドルウェアで実現できる。
Therefore, when there is no available communication route between the originating terminal and the destination terminal due to the movement of the wireless terminal, the second signal is held in any of the relay terminals or the destination terminals, When an available communication route appears, a second signal is transmitted to the relay terminal newly appearing on the communication route, and the search for the communication route is continued. Therefore, even a wireless terminal that moves frequently can be used as a relay terminal. This control can also be realized by the above-described middleware provided in each wireless terminal.

【0021】請求項3は、請求項1記載のアドホックネ
ットワークのパケットルーティング方法において、前記
宛先端末は前記第2の信号を生成する度に個別のパケッ
ト識別子を第2の信号に付与し、前記第2の信号を検出
した無線端末は、検出した第2の信号に付与された前記
パケット識別子を記憶し、該無線端末は検出した第2の
信号のパケット識別子が記憶されたパケット識別子と一
致する場合には検出した第2の信号を破棄し、一致しな
ければ第2の信号を他の無線端末に送出することを特徴
とする。
According to a third aspect of the present invention, in the packet routing method for an ad hoc network according to the first aspect, each time the destination terminal generates the second signal, the destination terminal assigns an individual packet identifier to the second signal. The wireless terminal that has detected the signal No. 2 stores the packet identifier given to the detected second signal, and the wireless terminal determines that the packet identifier of the detected second signal matches the stored packet identifier. Is characterized in that the detected second signal is discarded, and if they do not match, the second signal is transmitted to another wireless terminal.

【0022】第2の信号の同報送信を連鎖的に繰り返す
場合には、中継端末及び発信端末において、同一の第2
の信号が何度も繰り返し検出される可能性がある。複数
の通信ルートが存在する場合には、それぞれの通信ルー
トにおける転送所要時間が互いに異なる。一般に、転送
所要時間が短い通信ルートでは、中継数が少ないか、中
継距離が短いか、あるいは通信回線の品質が良い。従っ
て、異なる経路を経由した同一の第2の信号が繰り返し
検出される場合には、最初に検出された第2の信号が経
由したルートを選択するのが好ましいと考えられる。
In the case where the broadcast transmission of the second signal is repeated in a chain, the relay terminal and the transmitting terminal transmit the same second signal.
May be repeatedly detected many times. When there are a plurality of communication routes, the transfer time required for each communication route is different from each other. In general, a communication route with a short transfer time requires a small number of relays, a short relay distance, or good communication line quality. Therefore, when the same second signal passing through different paths is repeatedly detected, it is considered preferable to select a route through which the second signal detected first passes.

【0023】既に検出した第2の信号を破棄することに
より、通信トラヒックの増大を抑制できる。請求項4
は、請求項1記載のアドホックネットワークのパケット
ルーティング方法において、前記発信端末が前記宛先端
末からの第2の信号を検出した場合には、前記発信端末
が、前記第2の信号を部分的に更新して、更新された第
2の信号を、検出された第2の信号に含まれる前記中継
端末識別情報に対応する特定の無線端末を介して、前記
宛先端末まで返送することを特徴とする。
By discarding the already detected second signal, an increase in communication traffic can be suppressed. Claim 4
In the packet routing method for an ad hoc network according to claim 1, when the originating terminal detects a second signal from the destination terminal, the originating terminal partially updates the second signal. Then, the updated second signal is returned to the destination terminal via a specific wireless terminal corresponding to the relay terminal identification information included in the detected second signal.

【0024】例えば、宛先端末から発信端末に送られた
第2の信号の中継に利用した無線端末が移動している場
合には、第2の信号が転送された通信ルートが、時間の
経過により利用できなくなる可能性がある。発信端末に
転送された第2の信号を宛先端末に返送することによ
り、検出された通信ルートが少なくとも2回連続的に利
用できるか否かを識別できる。発信端末が第2の信号を
更新するので、宛先端末は第2の信号が発信端末に届い
たことを確認できる。
For example, when the wireless terminal used for relaying the second signal sent from the destination terminal to the calling terminal is moving, the communication route to which the second signal has been transferred is determined by the passage of time. May not be available. By returning the second signal transferred to the calling terminal to the destination terminal, it is possible to identify whether or not the detected communication route can be continuously used at least twice. Since the calling terminal updates the second signal, the destination terminal can confirm that the second signal has reached the calling terminal.

【0025】発信端末が宛先端末に第2の信号を返送す
るときには、第2の信号に含まれる中継端末識別情報に
対応する特定の無線端末に、すなわちユニキャストで送
信を実施するので、それによって発生するトラヒックは
最小限である。請求項5は、請求項1記載のアドホック
ネットワークのパケットルーティング方法において、前
記発信端末と前記宛先端末との間で転送される前記第2
の信号の転送所要時間が最も短い通信ルートを優先的に
利用することを特徴とする。
When the originating terminal returns the second signal to the destination terminal, transmission is performed to a specific wireless terminal corresponding to the relay terminal identification information included in the second signal, that is, transmission is performed by unicast. The traffic generated is minimal. A fifth aspect of the present invention is the packet routing method for an ad hoc network according to the first aspect, wherein the second transfer is performed between the originating terminal and the destination terminal.
The communication route having the shortest time required to transfer the signal is preferentially used.

【0026】一般に、転送所要時間が短い通信ルートで
は、中継数が少ないか、中継距離が短いか、あるいは通
信回線の品質が良い。従って、異なる経路を経由した同
一の第2の信号が繰り返し検出される場合には、最初に
検出された第2の信号が経由したルートを選択するのが
好ましいと考えられる。本発明をミドルウェアで実現す
ることにより、既存の装置やアプリケーションをそのま
ま用いることができる。さらに、MACレイヤや物理レ
イヤでの処理を少なくすることで、ネットワーク全体の
制御やルーティングの管理の負荷が軽減される。
In general, a communication route having a short transfer time requires a small number of relays, a short relay distance, or good communication line quality. Therefore, when the same second signal passing through different paths is repeatedly detected, it is considered preferable to select a route through which the second signal detected first passes. By realizing the present invention with middleware, existing devices and applications can be used as they are. Further, by reducing the processing in the MAC layer and the physical layer, the load of controlling the entire network and managing routing is reduced.

【0027】本発明では、利用可能な通信ルートが全く
存在しない場合であっても、中継端末が無線通信可能な
範囲に入るのを待つことで通信が可能になる。従って、
本発明は直接通信できない端末間における中継端末が自
由に動き回る動的トポロジーに対応した通信を実現でき
る。ミドルウェアを用いることにより、本発明はアプリ
ケーションや設定などを変更することなく既存の無線通
信システムで使用することが可能であり、ルーティング
機能を備えたミドルウェアを導入し下位のレイヤである
MACレイヤや物理レイヤの負担を軽減することができ
るので、無線ネットワーク環境の全体の負担の軽減の効
果が得られる。
According to the present invention, even when there is no available communication route, communication is possible by waiting for the relay terminal to enter a wireless communication range. Therefore,
INDUSTRIAL APPLICATION This invention can implement | achieve the communication corresponding to the dynamic topology in which the relay terminal moves freely between the terminals which cannot communicate directly. By using middleware, the present invention can be used in an existing wireless communication system without changing applications and settings, and by introducing middleware having a routing function, a MAC layer and a physical layer, which are lower layers, can be used. Since the burden on the layer can be reduced, the effect of reducing the overall burden on the wireless network environment can be obtained.

【0028】また、本発明では端末が自由に動き回って
いても確実なデータ送信が可能である。さらに、発信端
末ではなく宛先端末のミドルウェアがルーティング制御
を行うことで、発信端末の負担軽減の効果が得られる。
Further, according to the present invention, reliable data transmission is possible even if the terminal moves freely. Furthermore, the middleware of the destination terminal performs routing control instead of the calling terminal, so that the burden on the calling terminal can be reduced.

【0029】[0029]

【発明の実施の形態】本発明の1つの実施の形態を図1
〜図10に示す。この形態は、全ての請求項に対応す
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention is shown in FIG.
10 to FIG. This form corresponds to all claims.

【0030】図1は本発明を実施する各無線端末上で実
行される発信端末の制御の内容を示すフローチャートで
ある。図2は本発明を実施する各無線端末上で実行され
る中継端末及び宛先端末の制御の内容を示すフローチャ
ートである。図3は本発明を実施する各無線端末上で実
行される宛先端末の制御の内容を示すフローチャートで
ある。
FIG. 1 is a flowchart showing the contents of control of a calling terminal executed on each wireless terminal embodying the present invention. FIG. 2 is a flowchart showing the contents of control of a relay terminal and a destination terminal executed on each wireless terminal implementing the present invention. FIG. 3 is a flowchart showing the content of the control of the destination terminal executed on each wireless terminal implementing the present invention.

【0031】図4は発信端末から宛先端末へ向かって通
信ルートの探索を実行する場合の各無線端末のレイアウ
トとパケットの転送経路の例を示す模式図である。図5
及び図6は宛先端末から発信端末へ向かって通信ルート
の探索を実行する場合の各無線端末のレイアウトとパケ
ットの転送経路の例を示す模式図である。図7は制御パ
ケットP0,P2,P3の構成を示すマップである。図
8は制御パケットP0の具体例を示すマップである。図
9は制御パケットP2,P3の具体例を示すマップであ
る。図10は本発明を実施する各無線端末の動作の概要
を示すフローチャートである。
FIG. 4 is a schematic diagram showing an example of a layout of each radio terminal and a packet transfer route when a search for a communication route is performed from the originating terminal to the destination terminal. FIG.
6 is a schematic diagram showing an example of a layout of each wireless terminal and a transfer route of a packet when searching for a communication route from a destination terminal to a calling terminal. FIG. 7 is a map showing the configuration of the control packets P0, P2, P3. FIG. 8 is a map showing a specific example of the control packet P0. FIG. 9 is a map showing a specific example of the control packets P2 and P3. FIG. 10 is a flowchart showing an outline of the operation of each wireless terminal implementing the present invention.

【0032】この形態においては、請求項1の無線端
末,第1の信号,第2の信号及び中継端末識別情報は、
それぞれ無線端末100,通知パケットP1,制御パケ
ットP2及び中継端末識別子群IDRとして具体化され
ている。この例では、複数存在する無線端末100を利
用するので、これらを区別する必要がある場合には、各
無線端末100の符号にそれぞれの識別記号を括弧と共
に付加して記述する。同様に、それぞれの無線端末10
0から発信される無線パケットを区別する必要がある場
合には、無線パケットの符号にそれを発信した無線端末
100の識別符号を括弧と共に付加して記述する。
In this embodiment, the wireless terminal, the first signal, the second signal, and the relay terminal identification information in claim 1 are:
Each is embodied as a wireless terminal 100, a notification packet P1, a control packet P2, and a relay terminal identifier group IDR. In this example, since a plurality of wireless terminals 100 are used, if it is necessary to distinguish between them, a code of each wireless terminal 100 is described by adding an identification symbol to each code together with parentheses. Similarly, each wireless terminal 10
When it is necessary to distinguish a wireless packet transmitted from 0, the code of the wireless packet is described by adding the identification code of the wireless terminal 100 that has transmitted the packet together with parentheses.

【0033】この形態では、無線端末100(A)及び1
00(J)が、それぞれ請求項1の発信端末及び宛先端末
として割り当てられている。請求項1の中継端末は状況
に応じて変更される。この形態で使用する複数の無線端
末100(A)〜100(J)は、それぞれがデータを発信す
る発信端末,データを受け取る宛先端末及びデータを中
継する中継端末としての機能を全て備えている。
In this embodiment, radio terminals 100 (A) and 1 (A)
00 (J) is assigned as the originating terminal and the destination terminal of claim 1, respectively. The relay terminal of claim 1 is changed according to the situation. The plurality of wireless terminals 100 (A) to 100 (J) used in this embodiment have all functions as a transmitting terminal that transmits data, a destination terminal that receives data, and a relay terminal that relays data.

【0034】無線端末100のハードウェア構成につい
ては、一般的な無線パケット端末装置と基本的に同一で
ある。すなわち、アンテナ,送信機,受信機,データ処
理回路,表示器,入力装置,記憶装置,ディジタル制御
ユニットなどが無線端末100に内蔵されている。各々
の無線端末100は、発信端末,宛先端末及び中継端末
の全ての機能を実現するために、図1に示す処理,図2
に示す処理及び図3に示す処理の全てを並列的に実行す
る。
The hardware configuration of the wireless terminal 100 is basically the same as that of a general wireless packet terminal device. That is, an antenna, a transmitter, a receiver, a data processing circuit, a display, an input device, a storage device, a digital control unit, and the like are built in the wireless terminal 100. Each wireless terminal 100 performs the processing shown in FIG. 1 and the processing shown in FIG. 2 in order to realize all functions of the calling terminal, the destination terminal, and the relay terminal.
And all of the processing shown in FIG. 3 are executed in parallel.

【0035】この形態においては、図1,図2及び図3
に示す処理は全て前述のミドルウェアとして実現されて
いる。各々の無線端末100の通信可能範囲があまり広
くない場合には、例えば図4において発信端末である無
線端末100(A)から宛先端末である無線端末100(J)
に対して直接にはデータを転送できないことが想定され
る。
In this embodiment, FIGS. 1, 2 and 3
Are all implemented as the above-described middleware. If the communicable range of each wireless terminal 100 is not very wide, for example, in FIG. 4, the wireless terminal 100 (A) which is the originating terminal and the wireless terminal 100 (J) which is the destination terminal
It is assumed that data cannot be transferred directly to.

【0036】しかし、無線端末100(A)及び100(J)
の間に存在する他の無線端末100(B),100(D),1
00(G)を中継端末として利用することにより、無線端
末100(A)から無線端末100(J)までデータを転送可
能になる。中継端末を用いてデータ通信を行う場合に
は、利用する中継端末と中継順序を特定できるように、
発信端末から宛先端末までの通信ルートの探索を予め実
施してルートを確保する必要がある。
However, the wireless terminals 100 (A) and 100 (J)
Other wireless terminals 100 (B), 100 (D), 1
By using 00 (G) as a relay terminal, data can be transferred from the wireless terminal 100 (A) to the wireless terminal 100 (J). When performing data communication using a relay terminal, to specify the relay terminal to be used and the relay order,
It is necessary to search for a communication route from the calling terminal to the destination terminal in advance to secure the route.

【0037】各無線端末100は、その周囲に存在する
他の無線端末100からの電波を監視して、電波の受信
レベルを予め定めた閾値と比較することにより、監視対
象の無線端末100が通信可能範囲内に存在するか否か
を識別する。発信端末である無線端末100(A)は、宛
先端末である無線端末100(J)と直接通信できないこ
とを認識すると、図1のステップ12から14に進むの
で、ステップ11で作成した制御パケットP0を不特定
の無線端末100に対して同報送信(ブロードキャス
ト)する。
Each radio terminal 100 monitors radio waves from other radio terminals 100 around it, and compares the reception level of the radio waves with a predetermined threshold value so that the monitored radio terminal 100 can communicate. Identify whether it is within the possible range. When recognizing that the wireless terminal 100 (A) as the originating terminal cannot directly communicate with the wireless terminal 100 (J) as the destination terminal, the process proceeds from step 12 to step 14 in FIG. To an unspecified wireless terminal 100.

【0038】図4の例では、無線端末100(A)から発
信される制御パケットP0(A)が、無線端末100(B)及
び100(C)に届く。制御パケットP0は、図7に示す
ように制御パケット識別子IDP,作成端末フラグF0
1,発信端末識別子IDS,宛先端末識別子IDD,中
継端末識別子群IDR及びデータ長LDPで構成され
る。
In the example of FIG. 4, the control packet P0 (A) transmitted from the wireless terminal 100 (A) reaches the wireless terminals 100 (B) and 100 (C). The control packet P0 has a control packet identifier IDP and a creation terminal flag F0 as shown in FIG.
1, a transmission terminal identifier IDS, a destination terminal identifier IDD, a relay terminal identifier group IDR, and a data length LDP.

【0039】制御パケット識別子IDPは、各制御パケ
ットP0,P2,P3を区別するための情報である。作
成端末フラグF01は、各制御パケットP0,P2,P
3を作成した無線端末100が発信端末と宛先端末の何
れかを示す二値情報である。発信端末識別子IDSは、
発信端末を特定するための情報である。宛先端末識別子
IDDは宛先端末を特定するための情報である。中継端
末識別子群IDRは、中継に利用する1つ又は複数の無
線端末100を特定するための情報である。データ長L
DPは、送信データの長さを示す情報である。
The control packet identifier IDP is information for distinguishing each control packet P0, P2, P3. The creation terminal flag F01 indicates that each control packet P0, P2, P
3 is binary information indicating either the originating terminal or the destination terminal of the wireless terminal 100 that created the third terminal. The calling terminal identifier IDS is
This is information for specifying the calling terminal. The destination terminal identifier IDD is information for specifying the destination terminal. The relay terminal identifier group IDR is information for specifying one or a plurality of wireless terminals 100 used for relay. Data length L
DP is information indicating the length of transmission data.

【0040】無線端末100(A)から発信される制御パ
ケットP0(A)については、図8に示すように中継端末
識別子群IDRに中継端末の情報が全く含まれていない
ので、中継端末が未特定であることが分かる。従って、
制御パケットP0(A)を受信した無線端末100(B)は、
図2に示すステップ36から38に進み、制御パケット
P0(B)を不特定の無線端末100に対して送信する。
As for the control packet P0 (A) transmitted from the wireless terminal 100 (A), as shown in FIG. 8, the relay terminal identifier group IDR does not include any relay terminal information. It turns out to be specific. Therefore,
The wireless terminal 100 (B) receiving the control packet P0 (A)
Proceeding from step 36 to 38 shown in FIG. 2, the control packet P0 (B) is transmitted to the unspecified wireless terminal 100.

【0041】無線端末100(B)が送信する制御パケッ
トP0(B)の中継端末識別子群IDRには、図8に示す
ように無線端末100(B)の識別符号「B」が付加され
る。この処理は、図2のステップ31で実施される。無
線端末100(B)が送信する制御パケットP0(B)は、図
4の例では無線端末100(D)で受信される。制御パケ
ットP0(B)の中継端末識別子群IDRには次の中継端
末が示されていないので、制御パケットP0(B)を受信
した無線端末100(D)は、図2に示すステップ36か
ら38に進み、制御パケットP0(D)を不特定の無線端
末100に対して送信する。
As shown in FIG. 8, the identification code "B" of the wireless terminal 100 (B) is added to the relay terminal identifier group IDR of the control packet P0 (B) transmitted by the wireless terminal 100 (B). This process is performed in step 31 of FIG. The control packet P0 (B) transmitted by the wireless terminal 100 (B) is received by the wireless terminal 100 (D) in the example of FIG. Since the next relay terminal is not indicated in the relay terminal identifier group IDR of the control packet P0 (B), the wireless terminal 100 (D) that has received the control packet P0 (B) transmits To transmit the control packet P0 (D) to the unspecified wireless terminal 100.

【0042】無線端末100(D)が送信する制御パケッ
トP0(D)の中継端末識別子群IDRには、図8に示す
ように無線端末100(D)の識別符号「D」が付加され
る。この処理は、図2のステップ31で実施される。上
記のような処理が連鎖的に繰り返されるので、図4に示
すように、宛先端末である無線端末100(J)に制御パ
ケットP0(G)が届く。この制御パケットP0(G)の中継
端末識別子群IDRには、図8に示すようにそれまでに
中継を実施した無線端末100の識別符号「B,D,
G」が含まれている。
As shown in FIG. 8, the identification code "D" of the wireless terminal 100 (D) is added to the relay terminal identifier group IDR of the control packet P0 (D) transmitted by the wireless terminal 100 (D). This process is performed in step 31 of FIG. Since the above processing is repeated in a chain, the control packet P0 (G) reaches the wireless terminal 100 (J), which is the destination terminal, as shown in FIG. As shown in FIG. 8, the relay terminal identifier group IDR of the control packet P0 (G) includes identification codes “B, D,
G "is included.

【0043】従って、制御パケットP0(G)の中継端末
識別子群IDRの内容から、利用可能な通信ルートを特
定できる。この中継端末識別子群IDRを含む制御パケ
ットP0が、宛先端末である無線端末100(J)から発
信端末である無線端末100(A)に返送される。宛先端
末から発信端末への制御パケットP0の返送は、図3の
ステップ55で実施される。この場合、中継端末識別子
群IDRによって返送の通信に利用できる中継端末を知
ることができるので、宛先端末は特定の無線端末100
のみに制御パケットP0を送信する。つまり、返送はユ
ニキャスト通信で行われる。
Therefore, an available communication route can be specified from the contents of the relay terminal identifier group IDR of the control packet P0 (G). The control packet P0 including the relay terminal identifier group IDR is returned from the destination wireless terminal 100 (J) to the originating wireless terminal 100 (A). The return of the control packet P0 from the destination terminal to the originating terminal is performed in step 55 of FIG. In this case, the relay terminal that can be used for the return communication can be known from the relay terminal identifier group IDR, so that the destination terminal is a specific wireless terminal 100
Only the control packet P0 is transmitted. That is, the return is performed by unicast communication.

【0044】発信端末である無線端末100(A)が返送
された制御パケットP0を受信すると、無線端末100
(A)は、中継端末識別子群IDRに示された通信ルート
を利用して、図5に示すようにデータパケットの送信を
開始する。一方、中継端末である無線端末100(B),
100(D),100(G)は、図2に示すステップ32にお
いて、中継端末識別子群IDRの内容から、自局に隣接
する中継端末を特定し、それを記憶する。
When the wireless terminal 100 (A), which is the originating terminal, receives the returned control packet P0, the wireless terminal 100 (A)
(A) starts transmission of a data packet as shown in FIG. 5 using the communication route indicated by the relay terminal identifier group IDR. On the other hand, the wireless terminal 100 (B), which is a relay terminal,
In step 32 shown in FIG. 2, 100 (D) and 100 (G) identify a relay terminal adjacent to the own station from the contents of the relay terminal identifier group IDR and store it.

【0045】また、中継端末である各無線端末100
は、ステップ39で隣接する中継端末からの電波を監視
する。そして、例えば電波の受信レベルが予め定めたレ
ベルを下回ると、通信不可として検出する。図5におい
ては、中継端末である無線端末100(G)の移動によっ
て、無線端末100(D)と無線端末100(G)との距離が
長くなり、両者の通信可能範囲が重ならなくなった状態
を想定している。
Each wireless terminal 100, which is a relay terminal,
Monitors the radio wave from the adjacent relay terminal in step 39. Then, for example, when the reception level of the radio wave falls below a predetermined level, it is detected that communication is impossible. In FIG. 5, the distance between the wireless terminal 100 (D) and the wireless terminal 100 (G) increases due to the movement of the wireless terminal 100 (G), which is a relay terminal, and the communicable ranges of the two do not overlap. Is assumed.

【0046】図5に示す状態において、中継端末である
無線端末100(G)は、隣接する中継端末である無線端
末100(D)との通信が不可能になったことを検知す
る。このため、無線端末100(G)は、図2のステップ
40から41に進む。従って、通知パケットP1が無線
端末100(G)から宛先端末である無線端末100(J)に
向かって送信される。
In the state shown in FIG. 5, wireless terminal 100 (G) as a relay terminal detects that communication with wireless terminal 100 (D) as an adjacent relay terminal has become impossible. Therefore, the wireless terminal 100 (G) proceeds from step 40 to 41 in FIG. Therefore, the notification packet P1 is transmitted from the wireless terminal 100 (G) to the wireless terminal 100 (J) as the destination terminal.

【0047】なお、図5の例では通知パケットP1が無
線端末100(G)から宛先端末である無線端末100(J)
に直接送信されるが、例えば無線端末100(B)と無線
端末100(D)との間で通信が途絶すると、通知パケッ
トP1は、無線端末100(D)から無線端末100(G)を
介して宛先端末である無線端末100(J)に送信され
る。宛先端末である無線端末100(J)は、通知パケッ
トP1を受信すると、それまで使用していた通信ルート
において通信が途絶したことを認識する。そして、図3
のステップ56から57に進む。
In the example of FIG. 5, the notification packet P1 is transmitted from the wireless terminal 100 (G) to the wireless terminal 100 (J) which is the destination terminal.
However, for example, when communication is interrupted between the wireless terminal 100 (B) and the wireless terminal 100 (D), the notification packet P1 is transmitted from the wireless terminal 100 (D) via the wireless terminal 100 (G). To the wireless terminal 100 (J), which is the destination terminal. Upon receiving the notification packet P1, the wireless terminal 100 (J), which is the destination terminal, recognizes that communication has been interrupted in the communication route used so far. And FIG.
From step 56 to step 57.

【0048】この場合、それまでの通信ルートとは別の
通信ルートを確保する必要があるので、宛先端末である
無線端末100(J)は、それ自身が作成した制御パケッ
トP2を不特定の無線端末100に対して同報送信す
る。図5の例では、制御パケットP2(J)が無線端末1
00(G),無線端末100(I)に送信される。制御パケッ
トP2(J)は、宛先端末により作成されたので、図9に
示すように作成端末フラグF01が「1」にセットされ
る。通信ルートが未確定なので、制御パケットP2(J)
の中継端末識別子群IDRの内容はクリアされる。デー
タ長LDPには、それまでに宛先端末である無線端末1
00(J)に届いた受信データ長(この例では「55
0」)がセットされる。
In this case, since it is necessary to secure a communication route different from the previous communication route, the wireless terminal 100 (J), which is the destination terminal, transmits the control packet P2 created by itself to an unspecified wireless route. The broadcast is transmitted to the terminal 100. In the example of FIG. 5, the control packet P2 (J) is
00 (G), transmitted to the wireless terminal 100 (I). Since the control packet P2 (J) was created by the destination terminal, the creation terminal flag F01 is set to "1" as shown in FIG. Since the communication route has not been determined, the control packet P2 (J)
Of the relay terminal identifier group IDR is cleared. The data length LDP includes the wireless terminal 1 that has been the destination terminal until then.
00 (J) (in this example, “55
0 ”) is set.

【0049】制御パケットP2(J)を受信した無線端末
100(I)は、制御パケットP2(J)の中継端末識別子群
IDRの内容から、通信ルートが未確定であることを認
識する。従って、図2のステップ36から38に進む。
ステップ38の実行により、制御パケットP2(I)が無
線端末100(I)から不特定の無線端末100に向かっ
て同報送信される。
The radio terminal 100 (I) that has received the control packet P2 (J) recognizes from the contents of the relay terminal identifier group IDR of the control packet P2 (J) that the communication route has not been determined. Therefore, the process proceeds from step 36 to 38 in FIG.
By executing step 38, the control packet P2 (I) is broadcast from the wireless terminal 100 (I) to the unspecified wireless terminal 100.

【0050】制御パケットP2(I)の中継端末識別子群
IDRには、図9に示すように無線端末100(I)を特
定する情報「I」が追加される。この追加は、無線端末
100(I)が実行する図2のステップ31で行われる。
上記制御パケットP2の同報送信は連鎖的に繰り返され
る。図5に示す例では、制御パケットP2が無線端末1
00(I),無線端末100(H),無線端末100(E),無
線端末100(C)の順に中継されるので、発信端末であ
る無線端末100(A)まで届く。
As shown in FIG. 9, information "I" for specifying the wireless terminal 100 (I) is added to the relay terminal identifier group IDR of the control packet P2 (I). This addition is performed in step 31 of FIG. 2 executed by the wireless terminal 100 (I).
The broadcast transmission of the control packet P2 is repeated in a chain. In the example shown in FIG. 5, the control packet P2 is
00 (I), the wireless terminal 100 (H), the wireless terminal 100 (E), and the wireless terminal 100 (C) are relayed in this order, and reach the wireless terminal 100 (A) which is the originating terminal.

【0051】制御パケットP2の中継端末識別子群ID
Rには、それが中継される度に、中継した無線端末10
0を特定する情報が追加される。従って、発信端末であ
る無線端末100(A)が受け取る制御パケットP2(C)に
は、図8に示すように中継した全ての無線端末100を
示す「C,E,H,I」が含まれる。従って、発信端末
である無線端末100(A)は、制御パケットP2(C)の中
継端末識別子群IDRの内容から、新しい通信ルートを
認識できる。発信端末である無線端末100(A)は、制
御パケットP2(C)を受け取った後、通信ルートを確定
するために、制御パケットP3を送信する。
Relay terminal identifier group ID of control packet P2
R, every time it is relayed, the relayed wireless terminal 10
Information specifying 0 is added. Therefore, the control packet P2 (C) received by the wireless terminal 100 (A) as the originating terminal includes "C, E, H, I" indicating all the relayed wireless terminals 100 as shown in FIG. . Therefore, the wireless terminal 100 (A) as the originating terminal can recognize a new communication route from the contents of the relay terminal identifier group IDR of the control packet P2 (C). After receiving the control packet P2 (C), the wireless terminal 100 (A), which is the calling terminal, transmits a control packet P3 in order to determine a communication route.

【0052】すなわち、制御パケットP2(C)の作成端
末フラグF01が「1」であるため、発信端末である無
線端末100(A)は、宛先端末が新しい通信ルートを探
索していることを認識し、図1のステップ17から19
に進む。ステップ19で制御パケットP3(A)が作成さ
れる。制御パケットP3(A)は発信端末である無線端末
100(A)によって作成されるので、作成端末フラグF
01は「0」にクリアされる。制御パケットP3(A)の
中継端末識別子群IDRの内容は、制御パケットP2
(C)と同一である。
That is, since the creation terminal flag F01 of the control packet P2 (C) is "1", the wireless terminal 100 (A) as the originating terminal recognizes that the destination terminal is searching for a new communication route. And steps 17 to 19 in FIG.
Proceed to. In step 19, a control packet P3 (A) is created. Since the control packet P3 (A) is created by the wireless terminal 100 (A) as the originating terminal, the created terminal flag F
01 is cleared to "0". The contents of the relay terminal identifier group IDR of the control packet P3 (A)
Same as (C).

【0053】また、制御パケットP2(C)のデータ長L
DPにより、宛先端末へに「550」の長さのデータ転
送が完了しているので、転送すべき「1000」の長さ
のデータの残りの長さ「450」が、制御パケットP3
(A)のデータ長LDPにセットされる。制御パケットP
3の送信は、ユニキャストで実施される。すなわち、送
信すべき相手を示す中継端末が、制御パケットP3の中
継端末識別子群IDRによって特定されているので、発
信端末及び制御パケットP3を受信した中継端末は、中
継端末識別子群IDRに示された特定の無線端末100
のみに対して、制御パケットP3を送信する。
The data length L of the control packet P2 (C)
Since the data transfer of “550” length to the destination terminal has been completed by the DP, the remaining length “450” of the data of “1000” length to be transferred is equal to the control packet P3.
It is set to the data length LDP of (A). Control packet P
The transmission of No. 3 is performed by unicast. That is, since the relay terminal indicating the destination to be transmitted is specified by the relay terminal identifier group IDR of the control packet P3, the transmitting terminal and the relay terminal that has received the control packet P3 are indicated by the relay terminal identifier group IDR. Specific wireless terminal 100
Only the control packet P3 is transmitted.

【0054】図6に示す例では、無線端末100(C),
無線端末100(E),無線端末100(H),無線端末10
0(I),無線端末100(J)の順に制御パケットP3が中
継され、宛先端末である無線端末100(J)まで制御パ
ケットP3が届く。通信ルートが確定すると、発信端末
である無線端末100(A)は、制御パケットP3の中継
端末識別子群IDRの内容で定まる次の無線端末100
に対してデータパケットを送信する。このデータパケッ
トは、中継端末識別子群IDRの内容に示された中継端
末群を介して、宛先端末である無線端末100(J)まで
届く。
In the example shown in FIG. 6, the radio terminals 100 (C),
Wireless terminal 100 (E), wireless terminal 100 (H), wireless terminal 10
The control packet P3 is relayed in the order of 0 (I) and the wireless terminal 100 (J), and the control packet P3 reaches the wireless terminal 100 (J) as the destination terminal. When the communication route is determined, the wireless terminal 100 (A), which is the originating terminal, determines the next wireless terminal 100 determined by the contents of the relay terminal identifier group IDR of the control packet P3.
To send a data packet. This data packet reaches the wireless terminal 100 (J), which is the destination terminal, via the relay terminal group indicated in the content of the relay terminal identifier group IDR.

【0055】ところで、例えば図5に示す状態におい
て、無線端末100(H)が無線端末100(I)の通信可能
範囲を外れた位置に移動すると、無線端末100(I)か
ら先の通信ルートが途絶えるので、新しい通信ルートが
確保できない。上記の場合、無線端末100(I)は、図
2のステップ33で他の無線端末100との通信が不可
能であると認識するので、ステップ35を介してステッ
プ34に進む。無線端末100(I)は、ステップ34で
送信すべき制御パケットP2を保持して待機する。
By the way, for example, in the state shown in FIG. 5, when the wireless terminal 100 (H) moves to a position outside the communicable range of the wireless terminal 100 (I), the communication route ahead of the wireless terminal 100 (I) is changed. Since it is interrupted, a new communication route cannot be secured. In the above case, the wireless terminal 100 (I) recognizes that communication with the other wireless terminals 100 is impossible in step 33 of FIG. 2, and proceeds to step 34 via step 35. The wireless terminal 100 (I) holds the control packet P2 to be transmitted in step 34 and waits.

【0056】時間の経過に伴って、無線端末100(I)
の通信可能範囲内に他の無線端末100が現れると、ス
テップ35から36を介してステップ38に進むので、
現れた無線端末100に対して無線端末100(I)から
制御パケットP2が送信される。従って、一時的に通信
ルートが確保できない環境であっても、時間の経過に伴
って複数の無線端末100の位置関係が変化すると、利
用できる無線端末100が中継端末として選択されるの
で、通信ルートが確保される。
As time elapses, the wireless terminal 100 (I)
When another wireless terminal 100 appears within the communicable range of the terminal, the process proceeds to step 38 via steps 35 to 36.
A control packet P2 is transmitted from the wireless terminal 100 (I) to the appearing wireless terminal 100. Therefore, even in an environment where a communication route cannot be temporarily secured, if the positional relationship between the plurality of wireless terminals 100 changes over time, the available wireless terminal 100 is selected as a relay terminal. Is secured.

【0057】また、利用可能な通信ルートが複数存在す
る場合には、制御パケットP2の転送所要時間の短い通
信ルートが優先的に選択され利用される。各無線端末1
00は、制御パケットP2を受信すると、それの制御パ
ケット識別子IDPを記憶する。図2のステップ42で
は、各無線端末100は記憶された(以前受信した)制
御パケット識別子IDPと、受信した制御パケットの制
御パケット識別子IDPとを比較する。
When there are a plurality of available communication routes, a communication route having a short transfer time of the control packet P2 is preferentially selected and used. Each wireless terminal 1
00 receives the control packet P2 and stores its control packet identifier IDP. In step 42 of FIG. 2, each wireless terminal 100 compares the stored (previously received) control packet identifier IDP with the control packet identifier IDP of the received control packet.

【0058】比較結果が一致する場合には、ステップ4
2から43に進む。ステップ43では、受信した制御パ
ケットを破棄する。つまり、制御パケット識別子IDP
が同一の制御パケットを重複して受信した場合には、先
に受信した制御パケットP2だけを受け取り、後で受信
した制御パケットは不要とみなして破棄する。本発明を
実施する場合の動作について、以下に説明を補足する。
動作の概要は図10に示されている。
If the comparison results match, step 4
Go from 2 to 43. In step 43, the received control packet is discarded. That is, the control packet identifier IDP
When the same control packet is received repeatedly, only the previously received control packet P2 is received, and the control packet received later is regarded as unnecessary and is discarded. The following supplements the description of the operation when implementing the present invention.
An outline of the operation is shown in FIG.

【0059】上記のルート確保処理において、宛先端末
に制御パケットP2が届きルートが確保されたことが発
信端末に伝えられる。この形態では、確保したルート上
の中継端末のミドルウェアにルートが確保されたことが
伝わるので、どの中継端末から自信の端末にデータが送
信されるかを認識することが可能である。この形態で
は、すべての無線端末が自由に動き回ることが可能であ
り、特定の無線通信可能範囲内に固定する必要がない。
そのため、データパケットの送信時に無線通信可能範囲
内に中継端末が存在しなくなり、データパケットの送信
が不可能になる場合もある。
In the above route securing process, the originating terminal is notified that the control packet P2 has reached the destination terminal and the route has been secured. In this mode, since the middleware of the relay terminal on the secured route notifies that the route has been secured, it is possible to recognize which relay terminal transmits data to the own terminal. In this mode, all wireless terminals can move freely, and there is no need to fix the wireless terminals within a specific wireless communication range.
Therefore, there is a case where the relay terminal does not exist within the wireless communication range when transmitting the data packet, and the transmission of the data packet becomes impossible.

【0060】データパケットの転送をするときには、送
信端末と受信端末との間で一対一にユニキャスト通信が
実施される。通信ルート上に存在する各無線端末100
のミドルウェアは、ルート上の直前の中継端末を認識し
ている。その中継端末が無線通信可能範囲内に存在して
いるか否か認識できる。認識の際には、例えば電波の受
信レベルを所定の閾値と比較することにより、中継端末
が無線通信可能範囲内に存在するかどうかを判断する。
When data packets are transferred, one-to-one unicast communication is performed between the transmitting terminal and the receiving terminal. Each wireless terminal 100 existing on the communication route
Middleware recognizes the immediately preceding relay terminal on the route. It is possible to recognize whether or not the relay terminal exists within the wireless communication range. At the time of recognition, for example, it is determined whether or not the relay terminal is within the wireless communication range by comparing the reception level of the radio wave with a predetermined threshold.

【0061】もしも、無線通信可能範囲内にルート上の
直前の中継端末が存在していないと無線で通信を行うこ
とができない。つまり、データパケットを送信すること
ができないと判断することができる。このことを認識し
たミドルウェアは、宛先端末にデータパケットが送信不
可能であることを通知パケットP1で伝える。もちろ
ん、この情報はあらかじめ確保されたルートをユニキャ
ストで転送され、宛先端末に到着することになる。宛先
端末では、中継端末間で通信不可能であることを認識す
ると、次のルートの確保のために再び発信端末に向けて
制御パケットP2を送信する。
If the immediately preceding relay terminal on the route does not exist within the wireless communication range, wireless communication cannot be performed. That is, it can be determined that the data packet cannot be transmitted. The middleware recognizing this notifies the destination terminal that the data packet cannot be transmitted by using the notification packet P1. Of course, this information is transferred by a unicast route that has been secured in advance, and arrives at the destination terminal. When the destination terminal recognizes that communication cannot be performed between the relay terminals, the destination terminal transmits the control packet P2 again to the originating terminal to secure the next route.

【0062】発信端末に送信される制御バケットP2に
ついては、フラグF01が宛先端末が生成した制御パケ
ットであることをわかるようにセットされ、データ長L
DPがすでに送信されたデータ長に更新される。この制
御パケットにより、発信端末は宛先端末に届いたデータ
長を知ることが可能となる。
The control bucket P2 transmitted to the originating terminal is set so that the flag F01 is a control packet generated by the destination terminal, and the data length L
The DP is updated to the data length already transmitted. This control packet allows the calling terminal to know the data length that has reached the destination terminal.

【0063】新たな通信ルートを確保するために制御パ
ケットP2を送信する場合には、無線通信可能範囲に中
継端末が存在しない場合も考えられる。宛先端末から送
信されてきた制御バケットP2は、ミドルウェアにより
保持されている。従って、無線通信可能範囲内に中継端
末が現れるのを待ち、現れたときに保持していた制御パ
ケットP2を送信することで、再びルートの確保を行う
ことが可能となる。また、発信端末によるデータ送信前
のルート確保の際の制御パケットP0の送信時にも、同
様の方法を用いることができる。従って、データ送信前
に中継端末が自由に動き回っていても、ルートを確保す
ることが可能である。
When transmitting the control packet P2 to secure a new communication route, there may be a case where the relay terminal does not exist in the wireless communication range. The control bucket P2 transmitted from the destination terminal is held by middleware. Therefore, by waiting for the relay terminal to appear within the wireless communication range and transmitting the control packet P2 held when the relay terminal appears, it is possible to secure the route again. Also, the same method can be used when transmitting the control packet P0 when the originating terminal secures a route before transmitting data. Therefore, even if the relay terminal moves freely before data transmission, it is possible to secure a route.

【0064】制御パケットP2の保持などにより無事に
発信端末に制御パケットP2が送信されると、発信端末
のミドルウェアはフラグF01をみて、宛先端末が生成
した制御パケットであることを認識すると宛先端末に再
び制御パケットP3を送信する。この際の制御パケット
P3の内容は、制御パケットP2と同様であるが、すで
に宛先端末に届いたデータ長が送信されてきた制御パケ
ットP2からわかるので、データ長LDPを記述する箇
所を残りのデータ長に更新し、フラグF01を発信端末
が生成した制御パケットP3であることを示す値「1」
にする。
When the control packet P2 is successfully transmitted to the transmission terminal by holding the control packet P2 or the like, the middleware of the transmission terminal recognizes the control packet generated by the destination terminal by referring to the flag F01 and notifies the destination terminal of the control packet. The control packet P3 is transmitted again. At this time, the content of the control packet P3 is the same as that of the control packet P2. However, since the data length that has already reached the destination terminal can be known from the transmitted control packet P2, the place where the data length LDP is described is replaced with the remaining data. The value is updated to “1” and the flag “F01” is a value “1” indicating that it is a control packet P3 generated by the calling terminal.
To

【0065】このフラグF01により、データ送信時に
中継端末間で通信が不可能になったことがわかるので、
再び発信端末は制御パケットP3を送信しルートを確保
する必要があることがわかる。発信端末から送信された
制御パケットP3が再び宛先端末まで転送されると、宛
先端末は、ユニキャストにより再び発信端末に向け制御
パケットを送信しルートが確保されたことを伝える。フ
ラグF01により発信端末が生成した制御パケットであ
ることがわかるので、残りのデータの送信を始める。
Since it is known from the flag F01 that communication between the relay terminals has become impossible during data transmission,
Again, it can be seen that the originating terminal needs to transmit the control packet P3 to secure the route. When the control packet P3 transmitted from the transmission terminal is transferred to the destination terminal again, the destination terminal transmits the control packet again to the transmission terminal by unicast to notify that the route has been secured. Since it is known from the flag F01 that the control packet is generated by the originating terminal, transmission of the remaining data is started.

【0066】発信端末に制御パケットが送信された際に
ルートを確保せず、再び宛先端末に送信するのは、宛先
端末から制御パケットP2を送信するときに、無線通信
可能範囲内に中継端末が存在しないと、中継端末が現れ
るのを待つ間、制御パケットを発信端末に送信してきた
中継端末が移動して範囲内に存在しなくなる可能性があ
るためである。
When the control packet is transmitted to the originating terminal, the route is not secured, and the packet is transmitted to the destination terminal again. When the control packet P2 is transmitted from the destination terminal, the relay terminal must be within the radio communication range. Otherwise, while waiting for the relay terminal to appear, there is a possibility that the relay terminal that has transmitted the control packet to the originating terminal moves and no longer exists within the range.

【0067】再び発信端末から制御パケットP3を送信
すると、ルートが完全に確保されていないことを認識で
きる。宛先端末において発信端末から最も早く届いた制
御バケットを中継してきた通信ルートは、最も転送遅延
の少ない通信ルートであり、この通信ルートを選択する
ことで常に良好な通信状態でデータパケットの転送が可
能になる。
By transmitting the control packet P3 again from the calling terminal, it can be recognized that the route is not completely secured. The communication route that relayed the control bucket that arrived the earliest from the originating terminal at the destination terminal is the communication route with the shortest transfer delay. By selecting this communication route, data packets can always be transferred in good communication conditions. become.

【0068】宛先端末から送信された制御パケットP3
を再び発信端末からユニキャストにより送信中している
間に、中継端末の移動により中継が不可能になったとし
ても、上記のルート確保の制御方法により、宛先端末か
らルートを確保するための制御パケットを送信すること
で対処することが可能である。新たなルート確保のため
の無線通信可能範囲内の中継端末への制御パケットの送
信(図10のステップ124)と、無線通信可能範囲内
に現れた中継端末への制御パケットの送信(図10のス
テップ125)では、無線通信可能範囲内に中継端末が
現れる度に制御パケットを送信する。以前に制御パケッ
トを受信している中継端末は、あらかじめミドルウェア
により制御パケットの識別子を保持している。そして、
送信された制御パケットの識別子と保持している識別子
とが同じであると認識すると、受信した制御パケットを
破棄する(ステップ128)。これにより、ネットワー
クにおける無駄とループを防ぐことが可能となる。
Control packet P3 transmitted from destination terminal
Even if relaying becomes impossible due to the movement of the relay terminal while transmitting again by unicast from the originating terminal, the control for securing the route from the destination terminal is performed by the above route securing control method. This can be dealt with by transmitting a packet. Transmission of a control packet to a relay terminal within a wireless communication range for securing a new route (step 124 in FIG. 10) and transmission of a control packet to a relay terminal appearing within a wireless communication range (FIG. 10) In step 125), a control packet is transmitted each time a relay terminal appears within the wireless communication range. The relay terminal that has received the control packet beforehand retains the control packet identifier by the middleware in advance. And
When it is recognized that the identifier of the transmitted control packet and the held identifier are the same, the received control packet is discarded (step 128). This makes it possible to prevent waste and loops in the network.

【0069】宛先端末や各々のミドルウェアは、上記処
理を常時繰り返し実行することで実現される。以下に各
々のミドルウェアが行う処理を挙げる。発信端末におい
ては、ミドルウェアはデータの送信の要求を受けると、
データ長と発信端末・宛先端末の識別子を付加して送信
するように、下位のレイヤに要求する。
The destination terminal and each middleware are realized by constantly and repeatedly executing the above processing. The processing performed by each middleware is described below. At the originating terminal, when the middleware receives a request for data transmission,
It requests the lower layer to add the data length and the identifier of the originating terminal / destination terminal for transmission.

【0070】宛先端末から送信されてきた制御パケット
が、発信端末が生成したとフラグF01によりわかる
と、中継端末識別子群IDRの内容に基づいて、ユニキ
ャストによりデータを送信するようにミドルウェアは要
求する。フラグF01により宛先端末が生成した制御パ
ケットであるとミドルウェアが認識すると、フラグF0
1を発信端末が生成した値に換え再び宛先端末に制御パ
ケットを送信する。
When it is known from the flag F01 that the control packet transmitted from the destination terminal has been generated by the originating terminal, the middleware requests to transmit data by unicast based on the contents of the relay terminal identifier group IDR. . When the middleware recognizes that the control packet is generated by the destination terminal based on the flag F01, the flag F0
The control packet is transmitted to the destination terminal again by replacing 1 with the value generated by the originating terminal.

【0071】中継端末においては、制御パケットが送信
されてくると制御パケットに自身の中継端末の識別子を
付加して送信する。この際にミドルウェアはルート上の
直前の中継端末識別子を保持する。この情報に対応する
ルート上の直前の中継端末が、無線通信可能範囲に存在
するか否かを各中継端末は監視する。範囲内に中継端末
が存在しないことがわかると、通信が不可能になったこ
とを示す通知パケットP1を、中継端末識別子群IDR
の内容に応じたルートで、宛先端末に伝える。
When a control packet is transmitted, the relay terminal adds the identifier of its own relay terminal to the control packet and transmits the control packet. At this time, the middleware holds the relay terminal identifier immediately before on the route. Each relay terminal monitors whether the immediately preceding relay terminal on the route corresponding to this information exists in the wireless communication range. If it is found that there is no relay terminal within the range, a notification packet P1 indicating that communication has been disabled is sent to the relay terminal identifier group IDR.
To the destination terminal by the route according to the content of

【0072】宛先端末では、ミドルウェアは発信端末か
ら送信されてきた制御パケットP0の内容にすでに送信
されたデータ長LDPを記述して発信端末に送信する
(データ送信開始前のLDPの値は0)。中継端末から
無線通信可能範囲内に端末が存在せず通信不可能になっ
たことが通知パケットP1により伝えられると、宛先端
末は、制御パケットP2をブロードキャストで送信す
る。この制御パケットP2のデータ長LDPにはすでに
受け取ったデータ長がセットされ、フラグF01には宛
先端末がパケットを作成したことを示す値「1」セット
される。
At the destination terminal, the middleware describes the already transmitted data length LDP in the content of the control packet P0 transmitted from the transmitting terminal and transmits the same to the transmitting terminal (the value of LDP before the start of data transmission is 0). . When a notification packet P1 informs the relay terminal that the terminal is not within the wireless communication range and communication has become impossible, the destination terminal broadcasts a control packet P2. The data length LDP of the control packet P2 is set to the data length already received, and the flag F01 is set to a value "1" indicating that the destination terminal has created the packet.

【0073】フラグF01が発信端末が作成した値
「0」である場合には、制御バケットの中継端末識別子
群IDRの内容に従って、ユニキャストでデータパケッ
トの送信を行う。全てのデータパケットの送信が完了し
たか否かは、制御パケットのデータ長により認識するこ
とが可能である。データ送信完了を発信端末に伝えるこ
とで確実にデータ送信が行われたことが伝わる。
When the flag F01 is the value "0" created by the originating terminal, the data packet is transmitted by unicast according to the contents of the relay terminal identifier group IDR of the control bucket. Whether or not transmission of all data packets has been completed can be recognized based on the data length of the control packet. By transmitting the data transmission completion to the originating terminal, it is transmitted that the data transmission has been reliably performed.

【0074】以上述べた方法により、自由に動き回る無
線端末を中継端末として利用して無線通信を行うことが
できる。この制御は、各端末のミドルウェアと制御パケ
ット中の内容による単純な処理で実現できる。
According to the method described above, wireless communication can be performed using a wireless terminal that moves freely as a relay terminal. This control can be realized by simple processing based on the middleware of each terminal and the contents in the control packet.

【0075】[0075]

【発明の効果】請求項1のアドホックネットワークのパ
ケットルーティング方法を用いることにより、無線で直
接通信できない端末間を、中継端末を用いて送信するこ
とができる。特に、ルーティング機能を備えるミドルウ
ェアにより実現する場合には、MACレイヤや物理レイ
ヤの負担を軽減することになるので、ネットワーク全体
として負担が少なくなる。また、特定のアプリケーショ
ンや設定などを用いることなく実現できる。
According to the ad hoc network packet routing method of the first aspect, it is possible to transmit between terminals that cannot directly communicate wirelessly by using a relay terminal. In particular, when realized by middleware having a routing function, the burden on the MAC layer and the physical layer is reduced, so that the burden on the entire network is reduced. Further, the present invention can be realized without using a specific application or setting.

【0076】また、請求項1によれば、データパケット
の送信中に中継端末間で通信ができなくなった場合であ
っても、宛先端末から制御パケットに相当する第2の信
号が送信されるので、新しい通信ルートが確保される。
従って、全ての端末が自由に動いていてもルーティング
を確保でき、動的トポロジーに対応したルーティングに
対応することが可能である。
According to the first aspect of the present invention, the second signal corresponding to the control packet is transmitted from the destination terminal even if the communication becomes impossible between the relay terminals during the transmission of the data packet. , A new communication route is secured.
Therefore, even if all the terminals are moving freely, the routing can be secured, and the routing corresponding to the dynamic topology can be supported.

【0077】また、請求項1では宛先端末によりルーテ
ィングの制御を行うので発信端末はデータパケットの送
信処理に集中することができ、データ長などを見ること
で確実に宛先端末にデータを送信することが可能とな
る。また、これらの制御はミドルウェアと制御パケット
を用いることで複雑な処理を必要とせず実現することが
可能である。
According to the first aspect of the present invention, the routing control is performed by the destination terminal, so that the originating terminal can concentrate on the transmission processing of the data packet, and can surely transmit the data to the destination terminal by checking the data length and the like. Becomes possible. In addition, these controls can be realized without using complicated processing by using middleware and control packets.

【0078】請求項2によれば、新しい通信ルートを確
保する際に、無線通信可能範囲内に中継端末が存在しな
い場合、送信されてきた制御パケットをミドルウェア等
によって保持し、無線通信可能範囲内に中継端末が現れ
るまで待機するので、中継端末が無線通信可能範囲外に
移動する環境においても、通信ルートの確保が可能であ
る。
According to the second aspect, when a new communication route is secured, if there is no relay terminal within the wireless communication range, the transmitted control packet is held by middleware or the like, and the wireless communication range is maintained. Therefore, a communication route can be secured even in an environment where the relay terminal moves out of the wireless communication range.

【0079】請求項3によれば、無線通信可能範囲内に
中継端末が現れる度に制御パケットが送信される。ま
た、受信した中継端末側では以前に受信した制御端末の
識別子を保持し受信した制御パケットとの比較により同
じであると判断すると破棄するので、ネットワーク送信
の無駄やループを防ぐことが可能となる。
According to the third aspect, a control packet is transmitted each time a relay terminal appears within the wireless communication range. Further, the received relay terminal holds the identifier of the previously received control terminal and discards it if it is determined to be the same by comparison with the received control packet, so that it is possible to prevent network transmission waste and loops. .

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明を実施する各無線端末上で実行される発
信端末の制御の内容を示すフローチャートである。
FIG. 1 is a flowchart showing the contents of control of a calling terminal executed on each wireless terminal embodying the present invention.

【図2】本発明を実施する各無線端末上で実行される中
継端末及び宛先端末の制御の内容を示すフローチャート
である。
FIG. 2 is a flowchart showing the contents of control of a relay terminal and a destination terminal executed on each wireless terminal implementing the present invention.

【図3】本発明を実施する各無線端末上で実行される宛
先端末の制御の内容を示すフローチャートである。
FIG. 3 is a flowchart showing the content of control of a destination terminal executed on each wireless terminal implementing the present invention.

【図4】発信端末から宛先端末へ向かって通信ルートの
探索を実行する場合の各無線端末のレイアウトとパケッ
トの転送経路の例を示す模式図である。
FIG. 4 is a schematic diagram illustrating an example of a layout of each wireless terminal and a transfer route of a packet when a communication route is searched from a calling terminal to a destination terminal.

【図5】宛先端末から発信端末へ向かって通信ルートの
探索を実行する場合の各無線端末のレイアウトとパケッ
トの転送経路の例を示す模式図である。
FIG. 5 is a schematic diagram illustrating an example of a layout of each wireless terminal and a transfer route of a packet when a communication route is searched from a destination terminal toward a calling terminal.

【図6】宛先端末から発信端末へ向かって通信ルートの
探索を実行する場合の各無線端末のレイアウトとパケッ
トの転送経路の例を示す模式図である。
FIG. 6 is a schematic diagram illustrating a layout of each wireless terminal and an example of a packet transfer path when a search for a communication route is performed from a destination terminal to a calling terminal.

【図7】制御パケットP0,P2,P3の構成を示すマ
ップである。
FIG. 7 is a map showing a configuration of control packets P0, P2, and P3.

【図8】制御パケットP0の具体例を示すマップであ
る。
FIG. 8 is a map showing a specific example of a control packet P0.

【図9】制御パケットP2,P3の具体例を示すマップ
である。
FIG. 9 is a map showing a specific example of control packets P2 and P3.

【図10】本発明を実施する各無線端末の動作の概要を
示すフローチャートである。
FIG. 10 is a flowchart showing an outline of the operation of each wireless terminal that implements the present invention.

【符号の説明】[Explanation of symbols]

100 無線端末 P0,P2,P3 制御パケット P1 通知パケット 100 Wireless terminal P0, P2, P3 Control packet P1 notification packet

───────────────────────────────────────────────────── フロントページの続き (72)発明者 守倉 正博 東京都新宿区西新宿三丁目19番2号 日本 電信電話株式会社内 ──────────────────────────────────────────────────続 き Continuing on the front page (72) Inventor Masahiro Morikura Nippon Telegraph and Telephone Corporation, 3-9-1-2 Nishishinjuku, Shinjuku-ku, Tokyo

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 データパケットの送信,受信及び中継の
全ての機能をそれぞれが備える少なくとも3つの無線端
末を利用し、データパケットの送信元となる無線端末,
データパケットの送信先となる無線端末及びデータパケ
ットを中継する無線端末をそれぞれ発信端末,宛先端末
及び中継端末とし、前記発信端末と宛先端末との間で直
接通信できない場合には、1つ以上の前記中継端末を利
用する通信ルートを特定し、特定された通信ルートを利
用してデータパケットを転送するアドホックネットワー
クのパケットルーティング方法において、 前記中継端末が特定された通信ルート上で隣接する無線
端末との間の通信状態の悪化を検出した場合には、該中
継端末から前記宛先端末に対して通信途絶を示す第1の
信号を送り、 前記宛先端末が前記第1の信号を検出した場合には、利
用する通信ルートを更新するために、前記宛先端末から
不特定の前記無線端末に対して第2の信号を送出し、 前記第2の信号を検出した無線端末が前記発信端末でな
い場合には、前記第2の信号を検出した無線端末は、該
無線端末を特定する中継端末識別情報を付加して前記第
2の信号を不特定の無線端末に対して送出し、 前記第2の信号を検出した無線端末が前記発信端末であ
る場合には、該発信端末は、検出された第2の信号に含
まれる前記中継端末識別情報に基づいて更新された通信
ルートを認識し、更新された通信ルートの中継端末を介
して宛先端末へのデータパケットの送信を継続すること
を特徴とするアドホックネットワークのパケットルーテ
ィング方法。
1. A wireless terminal serving as a source of a data packet using at least three wireless terminals each having all functions of transmitting, receiving and relaying a data packet.
The wireless terminal to which the data packet is to be transmitted and the wireless terminal that relays the data packet are referred to as an originating terminal, a destination terminal, and a relay terminal, respectively. A packet routing method for an ad-hoc network that specifies a communication route using the relay terminal and transfers a data packet using the specified communication route, wherein the relay terminal and an adjacent wireless terminal on the specified communication route When the deterioration of the communication state between the relay terminal is detected, the relay terminal sends a first signal indicating communication interruption to the destination terminal, and when the destination terminal detects the first signal, Transmitting a second signal from the destination terminal to the unspecified wireless terminal in order to update a communication route to be used, If the issuing wireless terminal is not the calling terminal, the wireless terminal that has detected the second signal adds the relay terminal identification information that identifies the wireless terminal and adds the second signal to the unspecified wireless terminal. If the wireless terminal that has detected the second signal is the transmitting terminal, the transmitting terminal updates based on the relay terminal identification information included in the detected second signal. A packet routing method for an ad hoc network, comprising: recognizing an updated communication route; and continuing transmission of a data packet to a destination terminal via a relay terminal of the updated communication route.
【請求項2】 請求項1記載のアドホックネットワーク
のパケットルーティング方法において、前記宛先端末も
しくは前記第2の信号を検出した無線端末は、所定の条
件で通信可能な他の無線端末を検出できない場合には、
前記第2の信号を保持し、前記所定の条件で通信可能な
他の無線端末を検出したときに、保持された前記第2の
信号を送出することを特徴とするアドホックネットワー
クのパケットルーティング方法。
2. The packet routing method for an ad hoc network according to claim 1, wherein the destination terminal or the wireless terminal detecting the second signal cannot detect another wireless terminal that can communicate under a predetermined condition. Is
A packet routing method for an ad hoc network, comprising: holding the second signal; and transmitting the held second signal when detecting another wireless terminal capable of communicating under the predetermined condition.
【請求項3】 請求項1記載のアドホックネットワーク
のパケットルーティング方法において、前記宛先端末は
前記第2の信号を生成する度に個別のパケット識別子を
第2の信号に付与し、前記第2の信号を検出した無線端
末は、検出した第2の信号に付与された前記パケット識
別子を記憶し、該無線端末は検出した第2の信号のパケ
ット識別子が記憶されたパケット識別子と一致する場合
には検出した第2の信号を破棄し、一致しなければ第2
の信号を他の無線端末に送出することを特徴とするアド
ホックネットワークのパケットルーティング方法。
3. The packet routing method for an ad hoc network according to claim 1, wherein the destination terminal assigns an individual packet identifier to the second signal each time the second signal is generated, and The wireless terminal that has detected the detected second signal stores the packet identifier given to the detected second signal, and the wireless terminal detects when the detected packet identifier of the second signal matches the stored packet identifier. The second signal is discarded, and if there is no match, the second signal is discarded.
A packet routing method for an ad hoc network, wherein the signal is transmitted to another wireless terminal.
【請求項4】 請求項1記載のアドホックネットワーク
のパケットルーティング方法において、前記発信端末が
前記宛先端末からの第2の信号を検出した場合には、前
記発信端末が、前記第2の信号を部分的に更新して、更
新された第2の信号を検出された第2の信号に含まれる
前記中継端末識別情報に対応する特定の無線端末を介し
て前記宛先端末まで返送することを特徴とするアドホッ
クネットワークのパケットルーティング方法。
4. The packet routing method for an ad hoc network according to claim 1, wherein when the transmitting terminal detects a second signal from the destination terminal, the transmitting terminal partially converts the second signal. And updating the updated second signal back to the destination terminal via a specific wireless terminal corresponding to the relay terminal identification information included in the detected second signal. Packet routing method for ad hoc networks.
【請求項5】 請求項1記載のアドホックネットワーク
のパケットルーティング方法において、前記発信端末と
前記宛先端末との間で転送される前記第2の信号の転送
所要時間が最も短い通信ルートを優先的に利用すること
を特徴とするアドホックネットワークのパケットルーテ
ィング方法。
5. The packet routing method for an ad hoc network according to claim 1, wherein a communication route with the shortest transfer time of the second signal transferred between the calling terminal and the destination terminal is preferentially used. A packet routing method for an ad hoc network, wherein the method is used.
JP3866798A 1998-02-20 1998-02-20 Ad-hoc network packet routing method Pending JPH11239176A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3866798A JPH11239176A (en) 1998-02-20 1998-02-20 Ad-hoc network packet routing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3866798A JPH11239176A (en) 1998-02-20 1998-02-20 Ad-hoc network packet routing method

Publications (1)

Publication Number Publication Date
JPH11239176A true JPH11239176A (en) 1999-08-31

Family

ID=12531633

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3866798A Pending JPH11239176A (en) 1998-02-20 1998-02-20 Ad-hoc network packet routing method

Country Status (1)

Country Link
JP (1) JPH11239176A (en)

Cited By (29)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001156787A (en) * 1999-11-10 2001-06-08 Internatl Business Mach Corp <Ibm> Wireless station retrieval method and device in wireless adhoc communication network
JP2001196989A (en) * 2000-01-14 2001-07-19 Matsushita Electric Works Ltd Method for discriminating duplicate signal, and relay transmission system adopting the method for discriminating duplicate signal
JP2001238246A (en) * 2000-02-22 2001-08-31 Ntt Docomo Inc Mobile terminal
JP2001237875A (en) * 2000-02-21 2001-08-31 Nippon Telegr & Teleph Corp <Ntt> Wireless packet relay route construction method
JP2002051002A (en) * 2000-08-04 2002-02-15 Nippon Telegr & Teleph Corp <Ntt> Wireless repeater and private location information system
JP2002261758A (en) * 2001-02-26 2002-09-13 Cognitive Research Laboratories Inc Data communication method using information terminal having multiple communication lines
JP2003069600A (en) * 2001-08-28 2003-03-07 Nippon Telegr & Teleph Corp <Ntt> Multihop network relay method and wireless node
US6538709B1 (en) 1998-02-17 2003-03-25 International Business Machines Corporation LCD panel including plurality of display panel parts wrapped around by a thin plastic film envelope with an opening
JP2003249936A (en) * 2002-02-22 2003-09-05 Ntt Comware Corp Wireless device, communication path control method thereof, and computer program
WO2004086698A1 (en) * 2003-03-25 2004-10-07 Fujitsu Limited Communication terminal and communication method
WO2005081467A1 (en) * 2004-02-19 2005-09-01 Matsushita Electric Industrial Co., Ltd. Packet routing method and packet routing apparatus
WO2005081469A1 (en) * 2004-02-19 2005-09-01 Matsushita Electric Industrial Co., Ltd. Packet routing method and packet routing device
WO2005081468A1 (en) * 2004-02-19 2005-09-01 Matsushita Electric Industrial Co., Ltd. Packet forwarding apparatus and packet routing method
WO2005081470A1 (en) * 2004-02-19 2005-09-01 Matsushita Electric Industrial Co., Ltd. Wireless terminal apparatus, wireless communication system, and packet routing method
JP2006505186A (en) * 2002-10-30 2006-02-09 テレフォンアクチーボラゲット エル エム エリクソン(パブル) Method for use in an ad hoc mode WLAN system
JP2006072878A (en) * 2004-09-06 2006-03-16 Fuji Xerox Co Ltd Document display control system
JPWO2004047382A1 (en) * 2002-11-20 2006-03-23 富士通株式会社 Wireless terminal device
JP2006211532A (en) * 2005-01-31 2006-08-10 Ricoh Co Ltd Communication device, data transfer system, and electronic device
CN100338898C (en) * 2002-12-30 2007-09-19 三星电子株式会社 Apparatus and method for establishing a session in a radio network organized with mobile nodes
JP2007243752A (en) * 2006-03-10 2007-09-20 Japan Radio Co Ltd Relay base station equipment
US7292842B2 (en) 2003-02-03 2007-11-06 Sony Corporation Wireless adhoc communication system, terminal, authentication method for use in terminal, encryption method, terminal management method, and program for enabling terminal to perform those methods
JP2008102919A (en) * 2005-12-02 2008-05-01 Matsushita Electric Works Ltd System for managing communication between requestor and provider, method for managing communication between requestor and provider, computer configured to materialize method for managing electronic communication between requestor and provider, and computer-readable medium including executable instruction for materializing method for managing electronic communication between requestor and provider
US7443822B2 (en) 2001-09-27 2008-10-28 Telefonaktiebolaget L M Ericsson (Publ) Method for multihop routing for distributed WLAN networks
JP2009253823A (en) * 2008-04-09 2009-10-29 Mitsubishi Electric Corp Automatic measuring system
US7664066B2 (en) 2004-07-05 2010-02-16 Hitachi, Ltd. Wireless device, method for wireless communication system, and wireless communication system
US7808939B2 (en) 2003-03-28 2010-10-05 Lenovo (Singapore) Pte Ltd. Routing in wireless ad-hoc networks
JP2013514682A (en) * 2009-12-18 2013-04-25 西安西▲電▼捷通▲無▼綫▲網▼絡通信股▲分▼有限公司 Inter-node secret communication method and system
JP2013530642A (en) * 2010-06-07 2013-07-25 西安西▲電▼捷通▲無▼▲線▼▲網▼▲絡▼通信股▲ふん▼有限公司 Method for building secure architecture, secret communication method and system
WO2018087930A1 (en) * 2016-11-14 2018-05-17 三菱電機株式会社 Manipulation terminal, equipment system and setting terminal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62281541A (en) * 1986-05-30 1987-12-07 Hitachi Ltd Routing control method
JPH03133232A (en) * 1989-10-19 1991-06-06 Fujitsu Ltd Detour route setting control method
JPH04341031A (en) * 1991-05-17 1992-11-27 Omron Corp Radio network system and transmission path retrieval method
JPH0897821A (en) * 1994-09-21 1996-04-12 Hitachi Ltd Wireless data communication method and apparatus, and wireless data communication system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62281541A (en) * 1986-05-30 1987-12-07 Hitachi Ltd Routing control method
JPH03133232A (en) * 1989-10-19 1991-06-06 Fujitsu Ltd Detour route setting control method
JPH04341031A (en) * 1991-05-17 1992-11-27 Omron Corp Radio network system and transmission path retrieval method
JPH0897821A (en) * 1994-09-21 1996-04-12 Hitachi Ltd Wireless data communication method and apparatus, and wireless data communication system

Cited By (35)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6538709B1 (en) 1998-02-17 2003-03-25 International Business Machines Corporation LCD panel including plurality of display panel parts wrapped around by a thin plastic film envelope with an opening
JP2001156787A (en) * 1999-11-10 2001-06-08 Internatl Business Mach Corp <Ibm> Wireless station retrieval method and device in wireless adhoc communication network
JP2001196989A (en) * 2000-01-14 2001-07-19 Matsushita Electric Works Ltd Method for discriminating duplicate signal, and relay transmission system adopting the method for discriminating duplicate signal
JP2001237875A (en) * 2000-02-21 2001-08-31 Nippon Telegr & Teleph Corp <Ntt> Wireless packet relay route construction method
JP2001238246A (en) * 2000-02-22 2001-08-31 Ntt Docomo Inc Mobile terminal
JP2002051002A (en) * 2000-08-04 2002-02-15 Nippon Telegr & Teleph Corp <Ntt> Wireless repeater and private location information system
JP2002261758A (en) * 2001-02-26 2002-09-13 Cognitive Research Laboratories Inc Data communication method using information terminal having multiple communication lines
JP2003069600A (en) * 2001-08-28 2003-03-07 Nippon Telegr & Teleph Corp <Ntt> Multihop network relay method and wireless node
US7443822B2 (en) 2001-09-27 2008-10-28 Telefonaktiebolaget L M Ericsson (Publ) Method for multihop routing for distributed WLAN networks
JP2003249936A (en) * 2002-02-22 2003-09-05 Ntt Comware Corp Wireless device, communication path control method thereof, and computer program
JP2006505186A (en) * 2002-10-30 2006-02-09 テレフォンアクチーボラゲット エル エム エリクソン(パブル) Method for use in an ad hoc mode WLAN system
US7831206B2 (en) 2002-10-30 2010-11-09 Telefonaktiebolaget Lm Ericsson (Publ) Method and apparatus for use in an ad-hoc WLAN system
JPWO2004047382A1 (en) * 2002-11-20 2006-03-23 富士通株式会社 Wireless terminal device
CN100338898C (en) * 2002-12-30 2007-09-19 三星电子株式会社 Apparatus and method for establishing a session in a radio network organized with mobile nodes
US7499443B2 (en) 2003-02-03 2009-03-03 Sony Corporation Wireless adhoc communication system, terminal, authentication method for use in terminal, encryption method, terminal management method, and program for enabling terminal to perform those methods
US7292842B2 (en) 2003-02-03 2007-11-06 Sony Corporation Wireless adhoc communication system, terminal, authentication method for use in terminal, encryption method, terminal management method, and program for enabling terminal to perform those methods
WO2004086698A1 (en) * 2003-03-25 2004-10-07 Fujitsu Limited Communication terminal and communication method
US7397771B2 (en) 2003-03-25 2008-07-08 Fujitsu Limited Communication terminal and communication method
US7808939B2 (en) 2003-03-28 2010-10-05 Lenovo (Singapore) Pte Ltd. Routing in wireless ad-hoc networks
WO2005081470A1 (en) * 2004-02-19 2005-09-01 Matsushita Electric Industrial Co., Ltd. Wireless terminal apparatus, wireless communication system, and packet routing method
WO2005081469A1 (en) * 2004-02-19 2005-09-01 Matsushita Electric Industrial Co., Ltd. Packet routing method and packet routing device
WO2005081467A1 (en) * 2004-02-19 2005-09-01 Matsushita Electric Industrial Co., Ltd. Packet routing method and packet routing apparatus
WO2005081468A1 (en) * 2004-02-19 2005-09-01 Matsushita Electric Industrial Co., Ltd. Packet forwarding apparatus and packet routing method
US7664066B2 (en) 2004-07-05 2010-02-16 Hitachi, Ltd. Wireless device, method for wireless communication system, and wireless communication system
JP2006072878A (en) * 2004-09-06 2006-03-16 Fuji Xerox Co Ltd Document display control system
JP2006211532A (en) * 2005-01-31 2006-08-10 Ricoh Co Ltd Communication device, data transfer system, and electronic device
JP2008102919A (en) * 2005-12-02 2008-05-01 Matsushita Electric Works Ltd System for managing communication between requestor and provider, method for managing communication between requestor and provider, computer configured to materialize method for managing electronic communication between requestor and provider, and computer-readable medium including executable instruction for materializing method for managing electronic communication between requestor and provider
JP2007243752A (en) * 2006-03-10 2007-09-20 Japan Radio Co Ltd Relay base station equipment
JP2009253823A (en) * 2008-04-09 2009-10-29 Mitsubishi Electric Corp Automatic measuring system
JP2013514682A (en) * 2009-12-18 2013-04-25 西安西▲電▼捷通▲無▼綫▲網▼絡通信股▲分▼有限公司 Inter-node secret communication method and system
US8966257B2 (en) 2009-12-18 2015-02-24 China Iwncomm Co., Ltd. Method and system for secret communication between nodes
JP2013530642A (en) * 2010-06-07 2013-07-25 西安西▲電▼捷通▲無▼▲線▼▲網▼▲絡▼通信股▲ふん▼有限公司 Method for building secure architecture, secret communication method and system
US8843748B2 (en) 2010-06-07 2014-09-23 China Iwncomm Co., Ltd. Method for establishing secure network architecture, method and system for secure communication
WO2018087930A1 (en) * 2016-11-14 2018-05-17 三菱電機株式会社 Manipulation terminal, equipment system and setting terminal
JPWO2018087930A1 (en) * 2016-11-14 2019-03-14 三菱電機株式会社 Operation terminal and equipment system

Similar Documents

Publication Publication Date Title
JPH11239176A (en) Ad-hoc network packet routing method
JP4258698B2 (en) Broadcast system, broadcast method thereof, and broadcast program
JP3217568B2 (en) Wireless local area network system including mobile station handover
US8755294B2 (en) Communication system, communication method, communication terminal device, control method thereof, and program
JPH0865306A (en) Configuration method of internetwork node and internetwork constitution
CN102204212A (en) Mobile data communication
JP3010157B1 (en) Wireless packet transfer method and wireless base station using the method
KR20060081418A (en) Method and apparatus for route discovery in communication system
JP5705030B2 (en) Communications system
US7336614B2 (en) Method and device for controlling route and computer program therefor
JPH11234307A (en) Method of setting message path in distributed network and network communication station
US8189510B2 (en) Mobile IP communication system
JP5194996B2 (en) Repeater, repeater control method, radio communication system, and repeater control program
JP3759901B2 (en) Wireless mobile communication system
JP2001128231A (en) Variable area ad hoc network
JP2000341323A (en) Wireless ad hoc terminals
CN102420766B (en) A routing determination method and routing device
JP2004282255A (en) Communication system
JP7326230B2 (en) Communication system, node, communication method and program
AU2008300228B2 (en) Routing of a communication in a wireless telecommunications network
JP2021125857A (en) Wireless communication device and wireless communication method
JPWO2007029337A1 (en) Ad hoc network equipment that reduces data loss
US20070021064A1 (en) Routing method for an ad hoc networks
JP2007181056A (en) Path selection method
CN114268925B (en) Wireless gateway protocol optimization method, electronic device and storage medium