[go: up one dir, main page]

JP2005143001A - Communication terminal and communication network - Google Patents

Communication terminal and communication network Download PDF

Info

Publication number
JP2005143001A
JP2005143001A JP2003379638A JP2003379638A JP2005143001A JP 2005143001 A JP2005143001 A JP 2005143001A JP 2003379638 A JP2003379638 A JP 2003379638A JP 2003379638 A JP2003379638 A JP 2003379638A JP 2005143001 A JP2005143001 A JP 2005143001A
Authority
JP
Japan
Prior art keywords
terminal
packet
communication
information
relayed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2003379638A
Other languages
Japanese (ja)
Other versions
JP4193678B2 (en
Inventor
Nobuyuki Nakamura
信之 中村
Yoichi Kado
洋一 門
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP2003379638A priority Critical patent/JP4193678B2/en
Priority to US10/981,630 priority patent/US7664032B2/en
Publication of JP2005143001A publication Critical patent/JP2005143001A/en
Application granted granted Critical
Publication of JP4193678B2 publication Critical patent/JP4193678B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To provide a communication terminal and a communication network in which stable communication can be ensured, radio interference can be suppressed and network resources can be effectively utilized. <P>SOLUTION: In routing control over an ad hoc network, priority is set to a plurality of paths constructed between a source terminal and a destination terminal and when a packet is received, each of relay terminals comprising a path of the highest priority, immediately relays and transmits the packet, but each of relay terminals comprising paths of the low priority, temporarily waits the relay and transmission even when a packet is received, and monitors for a fixed time whether or not the path of the high priority relays and transmits the packet. When it can not be detected within the time that the path of the high priority relays and transmits the packet, it is judged that any fault occurs on the path of the high priority. The packet waited in the present terminal is then relayed and transmitted but when it can be detected that the path of the high priority relays and transmits the packet, the packet waited in the present terminal is not relayed/transmitted but is discarded. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、複数の通信端末によって構成されるアドホックネットワーク等の通信ネットワーク、およびこの通信ネットワークを構成する通信端末に関し、特に通信ネットワークにおいてのルーティング技術に関する。   The present invention relates to a communication network such as an ad hoc network constituted by a plurality of communication terminals, and a communication terminal constituting the communication network, and more particularly to a routing technique in the communication network.

アドホックネットワークでは、ネットワーク内のそれぞれの端末がルータ機能を有し、ソース端末とデスティネーション端末の間の適当な端末(中継端末)によって通信経路(パス)が形成され、このような中継端末がソース端末から送信されたパケットをデスティネーション端末に中継することで、ソース端末とデスティネーション端末の通信がなされる。このようなアドホックネットワークにおいてのルーティング技術には、1つの通信経路を形成して通信するシングルパスルーティング技術(例えば非特許文献1参照)と、複数の通信経路を形成することによって、無線の不安定な経路が切断された場合でも、他の経路を用いての通信の継続を可能とし、通信の安定性を確保できるマルチパスルーティング技術(例えば非特許文献2参照)とがある。   In an ad hoc network, each terminal in the network has a router function, and a communication path is formed by an appropriate terminal (relay terminal) between the source terminal and the destination terminal. By relaying the packet transmitted from the terminal to the destination terminal, communication between the source terminal and the destination terminal is performed. The routing technique in such an ad hoc network includes a single path routing technique (for example, refer to Non-Patent Document 1) for communicating by forming one communication path, and wireless instability by forming a plurality of communication paths. There is a multi-path routing technique (see Non-Patent Document 2, for example) that enables continuation of communication using another path even when a simple path is disconnected and ensures the stability of communication.

「Ad hoc On-Demand Distance Vector(AODV) Routing」,インターネットURL:<http://www.ietf.org/rfc/rfc3561.txt>([平成15年10月16日検索])“Ad hoc On-Demand Distance Vector (AODV) Routing”, Internet URL: <http://www.ietf.org/rfc/rfc3561.txt> ([October 16, 2003 search]) 「On-demand Multipath Distance Vector Routing in AD Hoc Networks」,インターネットURL:<http://www.cs.sunysb.edu/~samir/Pubs/icnp-01.pdf>([平成15年10月16日検索])“On-demand Multipath Distance Vector Routing in AD Hoc Networks”, Internet URL: <http://www.cs.sunysb.edu/~samir/Pubs/icnp-01.pdf> ([October 16, 2003 Search])

しかしながら、上記従来のシングルパスルーティング技術を用いて通信する場合には、、中継端末の移動により、通信が切断されたり、不安定になりやすいという課題があった。また、上記従来のマルチパスルーティング技術を用いて通信する場合には、ソース端末とデスティネーション端末の間で、複数の経路が縦横無尽に走って形成され、隣接する端末同士がほぼ同じタイミングでパケットの転送を開始する場合が多々発生するため、隣接端末からの複数のパケットが同じタイミングで縦横無尽に転送されることとなり、せっかく複数経路を使って安定した通信ができるはずなのに、結果として、隣接端末の電波が互いに干渉し(無線の衝突、Collision)、この無線の干渉により、パケットロスや通信遅延を引き起こすという課題があった。さらに、上記従来のマルチパスルーティング技術ではネットワーク資源を大量に消費するが、通信が安定な場合に上記従来のマルチパスルーティング技術を用いることは、ネットワーク資源の無駄使いとなるという課題があった。   However, in the case of performing communication using the conventional single path routing technique, there is a problem that communication is likely to be disconnected or unstable due to movement of the relay terminal. In addition, when communicating using the above-described conventional multipath routing technology, a plurality of routes are formed by running endlessly and vertically between the source terminal and the destination terminal, and packets between adjacent terminals are almost at the same timing. Since many packets from neighboring terminals will be forwarded indefinitely and horizontally at the same timing, stable communication using multiple paths should be possible, but as a result The radio waves of the terminals interfere with each other (wireless collision, Collision), and this wireless interference causes a problem of packet loss and communication delay. Furthermore, although the conventional multipath routing technique consumes a large amount of network resources, there is a problem that using the conventional multipath routing technique when the communication is stable is a waste of network resources.

本発明は、このような従来の課題を解決するためになされたものであり、安定した通信を確保できるとともに、無線の干渉を抑制でき、かつネットワーク資源を有効活用できる通信端末および通信ネットワークを提供することを目的とする。   The present invention has been made to solve such a conventional problem, and provides a communication terminal and a communication network that can secure stable communication, can suppress radio interference, and can effectively use network resources. The purpose is to do.

本発明の通信端末は、
通信ネットワークを構成する他の通信端末との間でパケットの送受信をする通信手段と、
上記通信手段で受信されたパケットから、ソース端末とデスティネーション端末の間の最短パス情報を解析する解析手段と、
自端末が上記最短パスに情報に含まれているか否かを判定し、自端末が上記最短パス情報に含まれていれば、上記パケットを上記通信手段からすぐに中継送信させ、自端末が上記最短パス情報に含まれていなければ、上記パケットを一時待機させる判定手段と、
上記パケットを自端末に待機させるための保持時間を設定する待機設定手段と、
上記判定手段によって待機させた上記パケットを、上記保持時間が経過するまで保持し、上記パケットと同じパケットが他の通信端末によって中継送信されたか否かを監視し、上記保持時間が経過するまでの間に、上記他の通信端末によって上記同じパケットが中継送信されたら、上記保持しているパケットを破棄し、上記保持時間が経過しても、上記他の通信端末によって上記同じパケットが中継送信されなかったら、上記保持しているパケットを上記通信手段から中継送信させるパケット監視手段と
を備えた
ことを特徴とする。
The communication terminal of the present invention
A communication means for transmitting and receiving packets to and from other communication terminals constituting the communication network;
Analyzing means for analyzing shortest path information between the source terminal and the destination terminal from the packet received by the communication means;
It is determined whether or not the own terminal is included in the information in the shortest path, and if the own terminal is included in the shortest path information, the packet is immediately relayed from the communication means, and the own terminal If not included in the shortest path information, determination means for temporarily waiting the packet;
Standby setting means for setting a holding time for causing the terminal to wait for the packet;
The packet held by the determination unit is held until the holding time elapses, and it is monitored whether the same packet as the packet is relayed by another communication terminal until the holding time elapses. In the meantime, if the same packet is relayed and transmitted by the other communication terminal, the held packet is discarded, and the same packet is relayed and transmitted by the other communication terminal even if the holding time elapses. If not, packet monitoring means for relaying and transmitting the held packet from the communication means is provided.

また、本発明の他の通信端末は、
通信ネットワークを構成する他の通信端末との間でパケットの送受信をする通信手段と、
上記通信手段で受信されたパケットから、ソースアドレスと、デスティネーションアドレスと、そのパケットを送ってきた近隣端末のIDと、そのパケットのIDと、PDV情報と、ODV情報とを解析する解析手段と、
デスティネーション端末のIDごとに、自端末が中継送信したパケットをすぐに中継送信させる1つのPDV(Primary Distance Vector)端末のIDと、自端末が中継送信したパケットを一時待機させる1つ以上のODV(Other Distance Vector)端末のIDとを保持するDV保持手段と、
上記パケットが最初に受信したパケットであるか否かを上記パケットIDをもとに判断し、上記パケットが最初に受信したパケットであれば、上記ソースアドレスを上記デスティネーション端末のIDとし、上記近隣端末のIDをPDV端末のIDとして上記DV保持手段に保持させ、上記パケットがすでに受信したパケットと同じパケットであれば、上記ソースアドレスを上記デスティネーション端末のIDとし、上記近隣端末のIDをODV端末のIDとして上記DV保持手段に保持させるDV作成手段と、
自端末が、上記PDV情報に含まれるPDV端末であるか、上記ODV情報に含まれるODV端末であるか、上記PDV端末と上記ODV端末のいずれでもないかを判定し、自端末がPDV端末であれば、上記パケットを上記通信手段からすぐに中継送信させ、自端末がODV端末であれば、上記パケットを一時待機させ、自端末がPDV端末とODV端末のいずれでもなければ、上記パケットを破棄する判定手段と、
上記パケットを自端末に保持させるための保持時間を設定する待機設定手段と、
上記判定手段によって待機させた上記パケットを、上記保持時間が経過するまで保持し、上記パケットと同じパケットが他の通信端末によって中継送信されたか否かを監視し、上記保持時間が経過するまでの間に、上記他の通信端末によって上記同じパケットが中継送信されたら、上記保持しているパケットを破棄し、上記保持時間が経過しても、上記他の通信端末によって上記同じパケットが中継送信されなかったら、上記保持しているパケットを上記通信手段から中継送信させるパケット監視手段と、
上記デスティネーションアドレスをデスティネーション端末のIDとし、このデスティネーション端末のIDについて、上記DV保持手段に保持されている1つのPDV端末IDを新たなPDV情報とするとともに、上記DV保持手段に保持されている1つ以上のODV端末IDを新たなODV情報として、上記通信手段から中継送信する上記パケットの以前のPDV情報および以前のODV情報を上記新たなPDV情報および上記新たなODV情報に更新するDV情報更新手段と
を備えた
ことを特徴とする。
In addition, another communication terminal of the present invention,
A communication means for transmitting and receiving packets to and from other communication terminals constituting the communication network;
Analysis means for analyzing a source address, a destination address, an ID of a neighboring terminal that has sent the packet, an ID of the packet, PDV information, and ODV information from the packet received by the communication means; ,
For each destination terminal ID, the ID of one PDV (Primary Distance Vector) terminal that immediately relays and transmits the packet relayed by the terminal, and one or more ODVs that temporarily wait for the packet relayed by the terminal (Other Distance Vector) DV holding means for holding the terminal ID,
Whether the packet is the first received packet is determined based on the packet ID. If the packet is the first received packet, the source address is set as the destination terminal ID and the neighborhood The DV holding means holds the terminal ID as the PDV terminal ID, and if the packet is the same packet as the packet already received, the source address is set as the destination terminal ID and the neighboring terminal ID is set as ODV. DV creation means to be held in the DV holding means as the terminal ID;
It is determined whether the own terminal is a PDV terminal included in the PDV information, an ODV terminal included in the ODV information, or neither the PDV terminal nor the ODV terminal, and the own terminal is a PDV terminal. If there is, the packet is immediately relayed from the communication means. If the terminal is an ODV terminal, the packet is temporarily held. If the terminal is neither a PDV terminal nor an ODV terminal, the packet is discarded. Determination means to perform,
Standby setting means for setting a holding time for holding the packet in the terminal;
The packet held by the determination unit is held until the holding time elapses, and it is monitored whether the same packet as the packet is relayed by another communication terminal until the holding time elapses. In the meantime, if the same packet is relayed and transmitted by the other communication terminal, the held packet is discarded, and the same packet is relayed and transmitted by the other communication terminal even if the holding time elapses. If there is no packet monitoring means for relaying the held packet from the communication means,
The destination address is set as the destination terminal ID, and for the destination terminal ID, one PDV terminal ID held in the DV holding means is set as new PDV information and held in the DV holding means. One or more ODV terminal IDs as new ODV information are used, and the previous PDV information and the previous ODV information of the packet relayed from the communication means are updated to the new PDV information and the new ODV information. And DV information updating means.

また、本発明の通信ネットワークは、
それぞれルータ機能を備えた複数の通信端末によって構成された通信ネットワークにおいて、
ソース端末とデスティネーション端末の間に構築する複数のパスに優先度を設定し、
最も優先度の高いパスを構成する中継端末では、受信したパケットをすぐに中継送信させ、
優先度の低いパスを構成する中継端末では、受信したパケットを一時待機させて、上記優先度の高いパスがそのパケットの中継送信をしたか否かを一定時間監視させ、その監視時間内に上記優先度の高いパスの中継送信を検出できなかった場合は、上記受信したパケットを中継送信させ、上記優先度の高いパスの中継送信を検出できた場合は、上記受信したパケットを破棄させる
ことを特徴とする。
The communication network of the present invention is
In a communication network composed of a plurality of communication terminals each having a router function,
Set priorities for multiple paths built between the source and destination terminals,
The relay terminal that configures the path with the highest priority relays the received packet immediately,
In the relay terminal configuring the low priority path, the received packet is temporarily waited to monitor whether the high priority path relays the packet for a certain period of time. If the relay transmission of the high priority path cannot be detected, the received packet is relayed. If the relay transmission of the high priority path is detected, the received packet is discarded. Features.

本発明によれば、複数のパスに優先度を設定することにより、最も優先度の高い通信端末によってメインパスを構築するとともに、それよりも優先度の低い通信端末によって、上記メインパスとは空間的および時間的に分離したバックアップパスを構築できるので、安定した通信を確保できるとともに、無線の干渉を抑制でき、かつネットワーク資源を有効活用できるという効果がある。   According to the present invention, by setting priorities to a plurality of paths, a main path is constructed by a communication terminal having the highest priority, and the main path is defined as a space by a communication terminal having a lower priority than that. Therefore, it is possible to construct a backup path separated from each other in terms of time and time, so that stable communication can be ensured, radio interference can be suppressed, and network resources can be effectively used.

以下に説明する本発明のそれぞれの実施の形態は、アドホックネットワークにおいてのルーティング制御において、ソース端末とデスティネーション端末の間に構築する複数のパスに優先度を設定し、最も優先度の高いパスを構成する中継端末は、パケットを受信するとすぐに中継送信し、優先度の低いパスを構成する中継端末は、パケットを受信しても中継送信を一時待機して、上記優先度の高いパスが上記パケットを中継送信したか否かを一定時間監視し、時間内に上記優先度の高いパスの中継送信を検出できなかった場合は、上記優先度の高いパスに何らかの障害が発生したと判断して、自端末に待機させているパケットを中継送信し、上記優先度の高いパスの中継送信を検出できた場合は、自端末に待機させているパケットを中継送信せずに破棄することを特徴とする。このように、最も優先度の高いパスの中継送信が失敗したときにのみ、優先度の低いパスが中継送信することにより、隣接端末間の電波の干渉を抑制でき、ネットワーク資源を有効に活用できる。   In each embodiment of the present invention described below, in routing control in an ad hoc network, priority is set for a plurality of paths established between a source terminal and a destination terminal, and the path with the highest priority is set. The relay terminal that configures relays the packet immediately after receiving the packet, and the relay terminal that configures the low priority path temporarily waits for relay transmission even after receiving the packet, and the high priority path is Whether or not the packet has been relayed is monitored for a certain period of time, and if the relay transmission of the high priority path is not detected within the time, it is determined that some failure has occurred in the high priority path. When relay transmission of a packet waiting on its own terminal is detected and relay transmission of the above high priority path is detected, the packet waiting on its own terminal is relayed and transmitted. Characterized in that it discarded without. In this way, only when the relay transmission of the highest priority path fails, the relay transmission of the low priority path can suppress radio wave interference between adjacent terminals and effectively use network resources. .

実施の形態1
本発明の実施の形態1は、ソースルーティング方式(データ送信時に、通過するパスを指定したパス情報をパケットに付加して送信する方法)をベースとしたものであって、ソース端末とデスティネーション端末とが通信するにあたり、以下の1)〜5)の手順でマルチパスが構築される。
Embodiment 1
The first embodiment of the present invention is based on a source routing method (a method of transmitting a packet by adding path information designating a path to be passed at the time of data transmission), and includes a source terminal and a destination terminal. When communicating with each other, a multipath is constructed by the following procedures 1) to 5).

1)ソース端末とデスティネーション端末とが通信可能なことを確認するために、ソース端末は、フラッディングにより、自端末の位置を広告し、デスティネーション端末との通信を要求する。このとき、ネットワーク内のそれぞれの端末は、自端末のIDを付加して上記フラッディングのパケットを中継する。上記フラッディングのパケットを受信したデスティネーション端末は、付加された経由端末のIDをもとに、自端末からソース端末までの最短パスを発見できる。   1) In order to confirm that the source terminal and the destination terminal can communicate with each other, the source terminal advertises the position of its own terminal by flooding and requests communication with the destination terminal. At this time, each terminal in the network relays the flooded packet with its own terminal ID added. The destination terminal that has received the flooding packet can find the shortest path from its own terminal to the source terminal based on the ID of the added via terminal.

2)ソース端末からのフラッディングを受信したデスティネーション端末は、フラッディングにより、自端末の位置を広告し、ソース端末に返答する。このとき、ネットワーク内のそれぞれの端末は、自端末のIDを付加して上記返答のフラッディングのパケットを中継する。上記返答のフラッディングのパケットを受信したソース端末は、付加された経由端末のIDをもとに、自端末からデスティネーション端末までの最短パスを発見できる。   2) The destination terminal that has received the flooding from the source terminal advertises the position of the terminal itself by flooding and returns a response to the source terminal. At this time, each terminal in the network adds the ID of its own terminal and relays the flood packet of the response. The source terminal receiving the reply flood packet can find the shortest path from its own terminal to the destination terminal based on the ID of the added via terminal.

3)上記フラッディングの送受信動作により、ソース端末とデスティネーション端末は、それぞれ通信が可能であることを確認するとともに、ソース端末とデスティネーション端末との間の最短パスおよびその最短パスを構成する端末のIDを取得する。   3) Through the above-described flooding transmission / reception operation, the source terminal and the destination terminal confirm that communication is possible, and the shortest path between the source terminal and the destination terminal and the terminals constituting the shortest path Get an ID.

4)ソース端末は、最短パス上の端末IDを羅列したパス情報をパケットに付加して送信する。   4) The source terminal adds the path information listing the terminal IDs on the shortest path to the packet and transmits it.

5)パケットを受信した端末は、自端末が上記パス情報に含まれている端末(=最短パスを構成する端末)か否かを判定し、パス情報に含まれていれば、上記受信したパケットを直ちに中継送信し、パス情報に含まれていなければ、一定時間中継送信を待機し、最短パス上の端末によって中継送信がなされたか否かを監視し、上記一定時間内に上記他の端末による中継送信を検出できれば、上記待機させていたパケットを破棄し、上記一定時間内に上記他の端末による中継送信を検出できなければ、上記待機させていたパケットを中継送信する。   5) The terminal that has received the packet determines whether or not the terminal is the terminal included in the path information (= the terminal that forms the shortest path), and if it is included in the path information, the received packet Is relayed immediately, and if it is not included in the path information, it waits for relay transmission for a certain period of time, monitors whether or not relay transmission has been performed by the terminal on the shortest path, and by the other terminal within the certain time If relay transmission can be detected, the waiting packet is discarded, and if the relay transmission by the other terminal cannot be detected within the predetermined time, the standby packet is relayed.

上記5)の手順において、最短パス上の端末によって中継送信がなされたか否かは、待機させているパケットと同じパケットを上記一定時間内に受信したか否かによって判定する。待機させているパケットと同じパケットを時間内に受信した場合には、最短パス上の端末によって中継送信がなされたと判断して、両パケットを破棄し、待機させているパケットと同じパケットを時間内に受信しできなかった場合には、最短パス上の端末によって中継送信がなされなかったと判断して、待機させていたパケットを中継送信する。   In the above procedure 5), whether or not relay transmission is performed by the terminal on the shortest path is determined by whether or not the same packet as the waiting packet is received within the predetermined time. If the same packet as the waiting packet is received within the time, it is determined that relay transmission has been performed by the terminal on the shortest path, both packets are discarded, and the same packet as the waiting packet is received within the time. If the packet is not received at the same time, it is determined that the relay transmission has not been performed by the terminal on the shortest path, and the standby packet is relayed and transmitted.

図1は本発明の実施の形態1の無線通信端末の構成図である。この実施の形態1の端末は、通信部1と、パケット解析部2Aと、パケット生成部3Aと、パケット監視部4Aと、時間をずらす装置5Aとを備えて構成されている。   FIG. 1 is a configuration diagram of a radio communication terminal according to Embodiment 1 of the present invention. The terminal according to the first embodiment includes a communication unit 1, a packet analysis unit 2A, a packet generation unit 3A, a packet monitoring unit 4A, and a device 5A for shifting time.

[通信部1]
通信部1は、ネットワーク内の他の端末と無線通信して、これら他の端末との間でパケットの送受信をする。
[Communication unit 1]
The communication unit 1 wirelessly communicates with other terminals in the network, and transmits / receives packets to / from these other terminals.

[パケット解析部2A]
パケット解析部2Aは、通信部1で受信されたパケットを解析する。このパケット解析部2Aは、さらに以下のa),b)の2つの解析処理をする。
[Packet analysis unit 2A]
The packet analysis unit 2A analyzes the packet received by the communication unit 1. The packet analysis unit 2A further performs the following two analysis processes a) and b).

a)通信部1で受信された経由端末のIDが付加されたパケットから、ソースアドレスをディスティネーション端末のIDとして解析するとともに、経由端末のIDを解析し、これらディスティネーション端末のIDおよび経由端末のIDから、パス情報(自端末からディスティネーション端末までの最短パスを構成する端末IDの情報(最短パス経由端末情報))を生成し、パケット生成部3Aに送る。   a) Analyzing the source address as the destination terminal ID from the packet to which the ID of the transit terminal received by the communication unit 1 is added, and analyzing the ID of the transit terminal, the ID of the destination terminal and the transit terminal Path information (terminal ID information (terminal information via the shortest path) constituting the shortest path from the local terminal to the destination terminal) is generated from the ID of the ID and sent to the packet generator 3A.

b)自端末を他の端末と区別するための自端末の端末ID(通信インタフェースアドレス,IPアドレス,MACアドレス等、端末を特定できる情報)を保持しており、通信部1で受信されたパス情報が付加されたパケットから、パス情報と、ソースアドレスと、デスティネーションアドレスと、パケットID(シーケンスナンバーやポートナンバー等、パケットを特定できる情報)とを解析し、解析したパス情報に自端末のIDが含まれているか否かを判定し、自端末が上記パス情報に含まれていれば、上記パケットを通信部1を用いてすぐに中継送信する。自端末が上記パス情報に含まれていないときは、通信部1によるキャリアセンスで確認できるいずれかの周辺端末の情報が上記パス情報に含まれていれば、上記パケットをパケット監視部4Aに送り、時間をずらす装置5Aによって設定された保持時間、保持させる。周辺端末の情報が上記パス情報に全く含まれていなければ、デスティネーション端末に向かわない方向へのパケットの送信であると判断して、上記パケットをパケット監視部4Aに送り、パケットを破棄させる。なお、上記自端末のIDについては、1つの端末が1つ以上のアドレスをもつことは珍しくないので、複数情報の保持も考慮する。例えば、アドレス形式によってテーブルを分けて、複数のIDデータテーブルのそれぞれに複数情報の保持しておき、上記パス情報が例えばMACアドレスで構成されている場合には、複数のIDテーブルの内、MACアドレスに該当するIDテーブルに保持されているIDが上記パス情報に含まれているか否かを判定する。   b) The path received by the communication unit 1 that holds the terminal ID (information that can identify the terminal such as a communication interface address, IP address, MAC address, etc.) of the own terminal for distinguishing the own terminal from other terminals The path information, source address, destination address, and packet ID (information that can identify the packet, such as sequence number and port number) are analyzed from the packet to which the information is added, and the path information of the terminal is analyzed to the analyzed path information. It is determined whether or not an ID is included, and if the own terminal is included in the path information, the packet is immediately relayed using the communication unit 1. When the own terminal is not included in the path information, if the path information includes information on any peripheral terminal that can be confirmed by carrier sense by the communication unit 1, the packet is sent to the packet monitoring unit 4A. The holding time set by the time shifting device 5A is held. If the information on the peripheral terminal is not included in the path information at all, it is determined that the packet is transmitted in a direction not toward the destination terminal, and the packet is sent to the packet monitoring unit 4A to discard the packet. As for the ID of the own terminal, it is not uncommon for one terminal to have one or more addresses. For example, if the table is divided according to the address format and a plurality of pieces of information are held in each of the plurality of ID data tables, and the path information is composed of, for example, MAC addresses, the MAC among the plurality of ID tables It is determined whether or not the ID held in the ID table corresponding to the address is included in the path information.

[パケット生成部3A]
パケット生成部3Aは、パケットを生成して、通信部1を用いて送信する。このパケット生成部3Aは、さらに以下のA),B)の2つの処理をする。
[Packet generator 3A]
The packet generator 3 </ b> A generates a packet and transmits it using the communication unit 1. The packet generator 3A further performs the following two processes A) and B).

A)通信要求のパケットを生成して送信し、受信された通信要求パケットについての返答のパケットを生成して送信する。   A) A communication request packet is generated and transmitted, and a response packet for the received communication request packet is generated and transmitted.

B)パケット解析部2Aから渡されたパス情報を、生成したパケットに付加して送信する。   B) The path information passed from the packet analysis unit 2A is added to the generated packet and transmitted.

[パケット監視部4A]
パケット監視部4Aは、パケット解析部2Aから渡されたパケットを、時間をずらす装置5Aによって設定された保持時間、保持する。そして、その保持時間内に、保持しているパケットと同じパケットをパケット解析部2Aから渡された場合、そのパケットについては最短パス上の他の端末が正しく中継したと判断して、保持しているパケットおよび渡された同じパケットをともに破棄する。また、上記保持時間を経過したら、その保持しているパケットについては最短パス上の他の端末が正しく中継できなかったと判断して、保持しているパケットを通信部1を用いて、中継送信する。
[Packet monitoring unit 4A]
The packet monitoring unit 4A holds the packet passed from the packet analysis unit 2A for the holding time set by the time shifting device 5A. If the same packet as the held packet is delivered from the packet analysis unit 2A within the holding time, it is determined that the other terminal on the shortest path correctly relayed the packet and holds it. Both the existing packet and the same packet passed are discarded. When the holding time elapses, it is determined that other terminals on the shortest path have not correctly relayed the held packet, and the held packet is relayed and transmitted using the communication unit 1. .

[時間をずらす装置5A]
時間をずらす装置5Aは、パケット監視部4Aがパケットを保持しておく保持時間を設定する。この時間をずらす装置5Aは、通信部1には接続されているが、パケット解析部2Aには接続されておらず、電波状態を監視して(無線のキャリアセンスをして)、上記保持時間を設定する。
[Device 5A for shifting time]
The apparatus 5A for shifting the time sets a holding time for the packet monitoring unit 4A to hold the packet. The device 5A for shifting the time is connected to the communication unit 1, but not connected to the packet analysis unit 2A, and monitors the radio wave state (by performing wireless carrier sense), and holds the holding time. Set.

実施の形態1の端末で構成したアドホックネットワークの動作を以下に説明する。   The operation of the ad hoc network configured with the terminal according to the first embodiment will be described below.

まず、ソース端末がデスティネーション端末と通信しようとして、フラッディングで通信要求のパケットを送信し、通信可能か否かをデスティネーション端末に問い合わせる。ネットワーク内のそれぞれの端末は、自端末のIDを付加して上記通信要求パケットを中継する。   First, the source terminal tries to communicate with the destination terminal, transmits a communication request packet by flooding, and inquires of the destination terminal whether communication is possible. Each terminal in the network relays the communication request packet with its own terminal ID added.

上記ソース端末からの通信要求パケットを受信したデスティネーション端末は、自端末に対する通信要求パケットであることを知って、さらにフラッディングによって返答パケットを送信し、ソース端末に返答する。ネットワーク内のそれぞれの端末は、自端末のIDを付加して上記返答パケットを中継する。   The destination terminal that has received the communication request packet from the source terminal knows that the packet is a communication request packet for its own terminal, and further transmits a response packet by flooding to reply to the source terminal. Each terminal in the network adds its own terminal ID and relays the response packet.

デスティネーション端末からの返答パケットを受信したソース端末は、自端末からデスティネーション端末までの最短パスおよびその最短パスを構成する端末のIDを知る。以上で、下準備が完了する。   The source terminal that has received the reply packet from the destination terminal knows the shortest path from its own terminal to the destination terminal and the IDs of the terminals constituting the shortest path. This completes the preparation.

ソース端末は、デスティネーション端末までの最短パスおよびその最短パスを構成する端末のIDを上記の下準備によって知っているため、パケット生成部3Aにおいて、デスティネーション端末に送りたいパケットに上記最短パスを構成する端末IDをパス情報として付加し、このパケットを通信部1を用いて送信する。   Since the source terminal knows the shortest path to the destination terminal and the IDs of the terminals constituting the shortest path by the above preparation, the packet generation unit 3A uses the shortest path for the packet to be sent to the destination terminal. A terminal ID to be configured is added as path information, and this packet is transmitted using the communication unit 1.

図2は本発明の実施の形態1の端末においての中継手順を説明するフローチャートである。   FIG. 2 is a flowchart for explaining a relay procedure in the terminal according to the first embodiment of the present invention.

中継端末は、上記パス情報が付加されたパケットを受信すると(ステップS1)、パケット解析部2Aにおいて、パス情報を解析する(ステップS2)。   When the relay terminal receives the packet with the path information added (step S1), the packet analysis unit 2A analyzes the path information (step S2).

さらに、中継端末は、パケット解析部2Aにおいて、保持している自端末のID(=自ノード)が上記解析したパス情報に含まれるか否かを判定する(ステップS3)。   Further, the relay terminal determines whether or not the held ID (= own node) is included in the analyzed path information in the packet analysis unit 2A (step S3).

そして、上記パス情報に自端末が含まれていた場合は、パケット解析部2Aは、上記パケットを通信部1を用いて直ちに中継送信する(ステップS4)。   If the path information includes its own terminal, the packet analysis unit 2A immediately relays and transmits the packet using the communication unit 1 (step S4).

また、上記パス情報に自端末が含まれていなかった場合は、パケット解析部2Aは、キャリアセンスで確認できるいずれかの周辺端末の情報が上記パス情報に含まれるか否かを判定する(ステップS5)。そして、判定結果に従った処理を行わせるために、上記パケットをパケット監視部4Aに渡す。   If the path information does not include the own terminal, the packet analysis unit 2A determines whether or not information on any peripheral terminal that can be confirmed by carrier sense is included in the path information (step S1). S5). Then, in order to perform processing according to the determination result, the packet is transferred to the packet monitoring unit 4A.

上記パケットをパケット解析部2Aから受け取ったパケット監視部4Aは、受け取ったパケットと同じパケットをすでに保持しているか否かを判定し、同じパケットを保持していない場合は、時間をずらす装置5Aによって設定された保持時間を経過するまで、上記受け取ったパケットを保持して待機する(ステップS6)。   The packet monitoring unit 4A that has received the packet from the packet analysis unit 2A determines whether or not the same packet as the received packet is already held. If the same packet is not held, the packet monitoring unit 4A uses the time shifting device 5A. The received packet is held and waits until the set holding time elapses (step S6).

さらに、パケット監視部4Aは、上記保持しているパケットと同じパケットが上記保持時間内に、通信部1で再度受信されてパケット解析部2Aから渡されたか否かにより、周辺の端末が上記保持しているパケットを正しく中継したか否かを監視する(ステップS7)。   Further, the packet monitoring unit 4A determines whether the peripheral terminal holds the same packet depending on whether or not the same packet as the held packet is received again by the communication unit 1 and passed from the packet analysis unit 2A within the holding time. It is monitored whether the relayed packet is correctly relayed (step S7).

そして、パケット監視部4Aは、上記保持時間内に、上記保持しているパケットと同じパケットをパケット解析部2Aから受け取った場合は、そのパケットについては周辺の端末が正しく中継をしたと判断して、すでに保持しているパケットおよび受け取った同じパケットをともに破棄する(ステップS8)。   Then, when the packet monitoring unit 4A receives the same packet as the held packet from the packet analysis unit 2A within the holding time, the packet monitoring unit 4A determines that the peripheral terminal correctly relayed the packet. Both the already held packet and the received same packet are discarded (step S8).

また、パケット監視部4Aは、上記保持時間が経過するまで、保持しているパケットと同じパケットをパケット解析部2Aから受け取らなかった場合は、そのパケットについては周辺の端末が正しく中継をしなかったと判断して、保持しているパケットを通信部1を用いて中継送信する。   Further, if the packet monitoring unit 4A does not receive the same packet as the held packet from the packet analysis unit 2A until the holding time elapses, the peripheral terminal does not relay the packet correctly. Judgment and relay transmission of the held packet using the communication unit 1 is performed.

なお、すでに保持しているパケットと受信されたパケットが同じか否かの判定は、例えば、パケット解析部2Aからパケット監視部4Aに、待機させるパケットとともに、そのパケットから解析したパケットID(または、さらにソースアドレスおよびデスティネーションアドレス)を送り、パケット監視部4Aは、パケットID(または、さらにソースアドレスおよびデスティネーションアドレス)が合致するか否かを判定することにより、同じパケットか否かを判定する。   The determination as to whether or not the already held packet is the same as the received packet is made, for example, by the packet monitoring unit 4A from the packet analysis unit 2A and the packet ID (or Further, the packet monitoring unit 4A determines whether or not the packet is the same by determining whether or not the packet ID (or the source address and the destination address) match each other. .

また、時間をずらす装置5Aは、通信部1を通してパス情報に含まれる経路に対して地理的に自端末と対象に存在する周辺端末(パス情報に含まれる経路に対して自端末の反対側に位置しており、自端末と同様にバックアップパスを構成している周辺端末)も含めた自端末の通信範囲よりも広い範囲の周辺端末の電波状態を監視する(無線のキャリアセンスをする)ことによって、上記周辺端末の通信状況を監視し、上周辺端末の通信状況に応じて、自端末が中継待機をするためにパケットの中継送信を遅らせる時間(=上記保持時間)を設定する。例えば、周辺端末が全然通信していなければ上記保持時間を短く設定し、周辺端末が頻繁に通信していれば上記保持時間を長く設定する。なお、この時間をずらす装置5Aでは、特定のアルゴリズムに従って、上記保持時間を設定することも可能である。例えば、時間情報を用いたランダム数値を生成して、上記保持時間に設定することも可能である。さらに、複数の時間のずらし方(周辺端末の通信状況に応じて保持時間に設定するか、アルゴリズムに従って保持時間を設定するか)の内から最適なものを判断して、その最適な時間のずらし方を設定する装置を設け、端末資源およびネットワーク資源にとって最適な時間のずらし方を設定できるようにすることも可能である。   In addition, the time shifting device 5A is located on the opposite side of the own terminal with respect to the route included in the path information through the communication unit 1 and the peripheral terminal that is geographically present on the subject terminal and the target. Monitor the radio wave condition of peripheral terminals in a wider range than the own terminal's communication range (including peripheral terminals that are located and constitute a backup path in the same way as the own terminal) (perform wireless carrier sense) Thus, the communication status of the peripheral terminal is monitored, and in accordance with the communication status of the upper peripheral terminal, a time for delaying the relay transmission of the packet (= the holding time) is set in order for the terminal to wait for relay. For example, if the peripheral terminal is not communicating at all, the holding time is set short, and if the peripheral terminal is communicating frequently, the holding time is set long. In addition, in the apparatus 5A for shifting the time, the holding time can be set according to a specific algorithm. For example, it is also possible to generate a random numerical value using time information and set the holding time. In addition, determine the optimum time from multiple time shift methods (whether the retention time is set according to the communication status of the peripheral terminal or the retention time is set according to the algorithm), and the optimal time shift is performed. It is also possible to provide a device for setting the direction so that the optimal time shift method can be set for the terminal resource and the network resource.

図3から図24までは実施の形態1の複数の端末で構成されたアドホックネットワークにおいての中継動作を説明する図である。図3から図24までにおいて、a,b,c,d,e,f,gの○はぞれぞれ端末を表し、端末a,b,eは最も優先度の高い最短パスを構成する端末であり、端末c,d,f,gは、上記最短パスよりも優先度の低いパスを構成する端末である。   3 to 24 are diagrams for explaining the relay operation in the ad hoc network configured with a plurality of terminals according to the first embodiment. 3 to 24, a, b, c, d, e, f, and g in FIG. 3 each represent a terminal, and terminals a, b, and e are terminals that constitute the shortest path with the highest priority. Terminals c, d, f, and g are terminals that constitute a path having a lower priority than the shortest path.

図3から図7までは、最短パス上での中継転送が成功した場合のそれぞれの端末の動作を説明する図である。   3 to 7 are diagrams for explaining the operation of each terminal when the relay transfer on the shortest path is successful.

まず、図3において、端末aは、パケットを受信すると、自端末が最短パス上の端末であるため、受信したパケットをすぐに中継転送する。この端末aで中継転送されたパケットは、端末b,c,dによって受信される。   First, in FIG. 3, when the terminal a receives a packet, the terminal a immediately relays and forwards the received packet because the terminal a is a terminal on the shortest path. The packet relayed and transferred by the terminal a is received by the terminals b, c, and d.

次に、図4において、端末aからのパケットを受信した端末bは、自端末が最短パス上の端末であり、受信したパケットをすぐに中継転送すると判定するが、端末aからのパケットを受信した端末cおよびdは、それぞれ自端末が最短パスよりも優先度の低いパス上の端末であり、受信したパケットを一定時間待機させ、最短パスにおいての中継転送を監視すると判定する。   Next, in FIG. 4, the terminal b that has received the packet from the terminal a determines that its own terminal is a terminal on the shortest path and immediately relays and forwards the received packet, but receives the packet from the terminal a. Each of the terminals c and d is determined to be a terminal on a path whose priority is lower than that of the shortest path, and to wait for a certain time for a received packet and monitor relay transfer in the shortest path.

そして、図5において、端末bは、端末aから受信したパケットをすぐに中継転送する。端末bで中継転送されたパケットは、端末c,d,e,f,gによって受信される。   In FIG. 5, terminal b immediately relays and forwards the packet received from terminal a. The packet relay-transferred at the terminal b is received by the terminals c, d, e, f, and g.

次に、図6において、端末aから受信して保持しているパケットと同じパケットを端末bから受信した端末cおよびdは、上記パケットが正しく中継されたと判断して、上記保持しているパケットおよび端末bから受信した同じパケットを破棄する。また、端末bからのパケットを受信した端末eは、自端末が最短パス上の端末であり、受信したパケットをすぐに中継転送すると判定するが、端末bからのパケットを受信した端末fおよびgは、それぞれ自端末が最短パスよりも優先度の低いパス上の端末であり、受信したパケットを一定時間待機させ、最短パスにおいての中継転送を監視すると判定する。   Next, in FIG. 6, the terminals c and d that have received the same packet from the terminal b as received from the terminal a determine that the packet has been correctly relayed, and the held packet And discard the same packet received from terminal b. Also, the terminal e that has received the packet from the terminal b determines that the terminal e is the terminal on the shortest path and relays the received packet immediately, but the terminals f and g that have received the packet from the terminal b Determines that each terminal is a terminal on a path having a lower priority than the shortest path, waits for a certain time for received packets, and monitors relay transfer in the shortest path.

そして、図7において、端末eは、端末bから受信したパケットをすぐに中継転送する。端末eで中継送信されたパケットは、端末f,gによって受信される。端末bから受信して保持しているパケットと同じパケットを端末eから受信した端末fおよびgは、上記パケットが正しく中継されたと判断して、上記保持しているパケットおよび端末eから受信した同じパケットを破棄する。   In FIG. 7, terminal e immediately relays and forwards the packet received from terminal b. The packet relay-transmitted at the terminal e is received by the terminals f and g. Terminals f and g that have received from terminal e the same packet received and held from terminal b determine that the packet has been correctly relayed, and the same packet received from terminal e and the held packet Discard the packet.

図8から図14までは最短パス上の端末bでの中継転送が失敗した場合のそれぞれの端末の動作を説明する図である。   8 to 14 are diagrams for explaining the operation of each terminal when the relay transfer at the terminal b on the shortest path fails.

まず、図8において、端末aは、パケットを受信すると、自端末が最短パス上の端末であるため、受信したパケットをすぐに中継転送する。この端末aで中継転送されたパケットは、端末cおよびdによって受信される。しかし、端末aで中継転送されたパケットが端末bで受信されたか否かは不明である。   First, in FIG. 8, when receiving a packet, the terminal a immediately relays and forwards the received packet because the terminal a is a terminal on the shortest path. The packet relay-transferred at the terminal a is received by the terminals c and d. However, it is unclear whether the packet relayed and transferred by the terminal a is received by the terminal b.

次に、図9において、端末aからのパケットを受信した端末cおよびdは、それぞれ自端末が最短パスよりも優先度の低いパス上の端末であり、受信したパケットを一定時間待機させ、最短パスにおいての中継送信を監視すると判定する。しかし、端末bが、端末aからのパケットを受信して、自端末が最短パス上の端末であり、受信したパケットをすぐに中継転送すると判定できたか否かは不明である。   Next, in FIG. 9, terminals c and d that have received a packet from terminal a are terminals on a path whose own terminal has a lower priority than the shortest path. It is determined to monitor relay transmission in the path. However, it is unclear whether or not the terminal b has received the packet from the terminal a and has determined that the terminal is the terminal on the shortest path and that the received packet is immediately relayed and forwarded.

そして、図10において、端末bが移動や故障等の理由によって端末aからのパケットを中継転送せず、端末dにおいてのパケットに保持時間を経過すると、端末dは、保持しているパケットと同じパケットを上記保持時間内に受信できなかったため、上記パケットが正しく中継されなかったと判断して、保持しているパケットを中継転送する。端末dで中継転送されたパケットは、端末cおよびgによって受信される。   In FIG. 10, when the terminal b does not relay and transfer the packet from the terminal a due to a movement or a failure, and the retention time elapses in the packet at the terminal d, the terminal d is the same as the retained packet. Since the packet cannot be received within the holding time, it is determined that the packet has not been correctly relayed, and the held packet is relayed and transferred. The packet relay-transferred at the terminal d is received by the terminals c and g.

次に、図11において、端末aから受信して保持しているパケットと同じパケットを端末dから受信した端末cは、上記パケットが正しく中継されたと判断して、上記保持しているパケットおよび端末dから受信した同じパケットを破棄する。また、端末dからのパケットを受信した端末gは、自端末が最短パスよりも優先度の低いパス上の端末であり、受信したパケットを一定時間待機させ、最短パスにおいての中継転送を監視すると判定する。   Next, in FIG. 11, the terminal c that has received from the terminal d the same packet received and held from the terminal a determines that the packet has been relayed correctly, and determines that the held packet and terminal Discard the same packet received from d. Further, the terminal g that has received a packet from the terminal d is a terminal on a path having a lower priority than the shortest path, and waits for a certain period of time to monitor the relay transfer in the shortest path. judge.

そして、図12において、端末gにおいてのパケットの保持時間を経過すると、端末gは、保持しているパケットと同じパケットを上記保持時間内に受信できなかったため、上記パケットが正しく中継されなかったと判断して、保持しているパケットを中継転送する。端末gで中継転送されたパケットは、端末eおよびfによって受信される。   In FIG. 12, when the packet holding time at terminal g elapses, terminal g cannot receive the same packet as the held packet within the holding time, and therefore determines that the packet has not been relayed correctly. Then, the held packet is relayed and transferred. The packet relayed and transferred by the terminal g is received by the terminals e and f.

次に、図13において、端末gからのパケットを受信した端末eは、自端末が最短パス上の端末であり、受信したパケットをすぐに中継転送すると判定するが、端末gからのパケットを受信した端末fは、自端末が最短パスよりも優先度の低いパス上の端末であり、受信したパケットを一定時間待機させ、最短パスにおいての中継転送を監視すると判定する。   Next, in FIG. 13, the terminal e that has received the packet from the terminal g determines that the terminal e is a terminal on the shortest path and relays the received packet immediately, but receives the packet from the terminal g. The determined terminal f is a terminal on a path having a lower priority than the shortest path, and determines that the received packet waits for a certain period of time and monitors relay forwarding in the shortest path.

そして、図14において、端末eは、端末gから受信したパケットをすぐに中継転送する。端末eで中継送信されたパケットは、端末fによって受信される。端末gから受信して保持しているパケットと同じパケットを端末eから受信した端末fは、上記パケットが正しく中継されたと判断して、上記保持しているパケットおよび端末eから受信した同じパケットを破棄する。   In FIG. 14, the terminal e immediately relays and forwards the packet received from the terminal g. The packet relay-transmitted at the terminal e is received by the terminal f. The terminal f that has received the same packet from the terminal e as received from the terminal g determines that the packet has been relayed correctly, and determines that the held packet and the same packet received from the terminal e are the same. Discard.

図8および図9ならびに図15から図19までは最短パス上の端末bでの中継転送が失敗した場合のそれぞれの端末の他の動作を説明する図である。   8 and 9 and FIGS. 15 to 19 are diagrams for explaining other operations of each terminal when the relay transfer at the terminal b on the shortest path fails.

上記図8および上記図9の動作がなされた後、図15において、端末bが移動や故障等の理由によって端末aからのパケットを中継転送せず、端末cおよびdにおいてのパケットの保持時間を経過すると、端末cおよびdは、それぞれ保持しているパケットと同じパケットを上記保持時間内に受信できなかったため、上記パケットが正しく中継されなかったと判断して、保持しているパケットを中継転送する。端末cで中継転送されたパケットは端末fによって受信され、端末dで中継転送されたパケットは端末gによって受信される。   After the operations of FIG. 8 and FIG. 9 are performed, in FIG. 15, the terminal b does not relay and transfer the packet from the terminal a due to movement or failure, and the packet holding time at the terminals c and d is increased. After the elapse of time, the terminals c and d cannot receive the same packet as the held packet within the holding time, and therefore determine that the packet has not been correctly relayed and relay and transfer the held packet. . The packet relayed and transferred by the terminal c is received by the terminal f, and the packet relayed and transferred by the terminal d is received by the terminal g.

次に、図16において、端末cからのパケットを受信した端末fは、自端末が最短パスよりも優先度の低いパス上の端末であり、受信したパケットを一定時間待機させ、最短パスにおいての中継転送を監視すると判定する。同様に、端末dからのパケットを受信した端末gは、自端末が最短パスよりも優先度の低いパス上の端末であり、受信したパケットを一定時間待機させ、最短パスにおいての中継転送を監視すると判定する。   Next, in FIG. 16, the terminal f that has received the packet from the terminal c is a terminal on the path whose priority is lower than that of the shortest path, and waits for the received packet for a certain period of time. Determine that relay transfer is to be monitored. Similarly, the terminal g that has received the packet from the terminal d is a terminal on the path whose priority is lower than that of the shortest path, and waits for a certain time for the received packet to monitor the relay transfer in the shortest path. Judge that.

そして、図17において、端末fにおいてのパケットに保持時間を経過すると、端末fは、保持しているパケットと同じパケットを上記保持時間内に受信できなかったため、上記パケットが正しく中継されなかったと判断して、保持しているパケットを中継転送する。端末fで中継転送されたパケットは、端末eおよびgによって受信される。   In FIG. 17, when the holding time elapses for the packet at the terminal f, the terminal f cannot receive the same packet as the holding packet within the holding time, and thus determines that the packet is not correctly relayed. Then, the held packet is relayed and transferred. The packet relayed and transferred by the terminal f is received by the terminals e and g.

次に、図18において、端末dから受信して保持しているパケットと同じパケットを端末fから受信した端末gは、上記パケットが正しく中継されたと判断し、上記保持しているパケットおよび端末fから受信した同じパケットを破棄する。また、端末fからのパケットを受信した端末eは、自端末が最短パス上の端末であり、受信したパケットをすぐに中継転送すると判定する。   Next, in FIG. 18, the terminal g that has received the same packet from the terminal f as received from the terminal d determines that the packet has been relayed correctly, and determines that the held packet and the terminal f Discard the same packet received from. Also, the terminal e that has received the packet from the terminal f determines that the terminal e is a terminal on the shortest path and that the received packet is immediately relayed and transferred.

そして、図19において、端末eは、端末fから受信したパケットをすぐに中継転送する。   In FIG. 19, terminal e immediately relays and forwards the packet received from terminal f.

図8および図9ならびに図20から図24までは最短パス上の端末bが中継転送を失敗した後に復旧した場合のそれぞれの端末の動作を説明する図である。   8 and 9 and FIGS. 20 to 24 are diagrams for explaining the operation of each terminal when the terminal b on the shortest path recovers after failing the relay transfer.

上記図8および上記図9の動作がなされた後、図20において、端末bが移動や故障等の理由によって端末aからのパケットを中継転送せず、端末cおよびdにおいてのパケットの保持時間内に端末bが復旧し、端末dにおいてのパケットに保持時間を経過すると、端末dは、保持しているパケットと同じパケットを上記保持時間内に受信できなかったため、上記パケットが正しく中継されなかったと判断して、保持しているパケットを中継転送する。端末dで中継転送されたパケットは、端末cおよびgならびに復旧した端末bによって受信される。   After the operations of FIG. 8 and FIG. 9 are performed, in FIG. 20, the terminal b does not relay and forward the packet from the terminal a due to a movement or a failure, and within the packet holding time in the terminals c and d. When the terminal b recovers and the holding time elapses for the packet at the terminal d, the terminal d cannot receive the same packet as the holding packet within the holding time, and thus the packet is not correctly relayed. Judging and relaying the held packet. The packet relay-transferred at the terminal d is received by the terminals c and g and the restored terminal b.

次に、図21において、端末aから受信して保持しているパケットと同じパケットを端末dから受信した端末cは、上記パケットが正しく中継されたと判断し、上記保持しているパケットおよび端末dから受信した同じパケットを破棄する。また、端末dからのパケットを受信した復旧した端末bは、自端末が最短パス上の端末であり、受信したパケットをすぐに中継転送すると判定する。また、端末dからのパケットを受信した端末gは、自端末が最短パスよりも優先度の低いパス上の端末であり、受信したパケットを一定時間待機させ、最短パスにおいての中継転送を監視すると判定する。   Next, in FIG. 21, the terminal c that has received the same packet from the terminal d as received from the terminal a determines that the packet has been correctly relayed, and the held packet and the terminal d. Discard the same packet received from. Further, the restored terminal b that has received the packet from the terminal d determines that its own terminal is a terminal on the shortest path and immediately relays and forwards the received packet. Further, the terminal g that has received a packet from the terminal d is a terminal on a path having a lower priority than the shortest path, and waits for a certain period of time to monitor the relay transfer in the shortest path. judge.

そして、図22において、復旧した端末bは、端末dから受信したパケットをすぐに中継転送する。端末bで中継転送されたパケットは、端末e,f,gによって受信される。   In FIG. 22, the restored terminal b immediately relays and forwards the packet received from the terminal d. The packet relay-transferred at the terminal b is received by the terminals e, f, and g.

次に、図23において、端末dから受信して保持しているパケットと同じパケットを端末bから受信した端末gは、上記パケットが正しく中継されたと判断し、上記保持しているパケットおよび端末bから受信した同じパケットを破棄する。また、端末bからのパケットを受信した端末eは、自端末が最短パス上の端末であり、受信したパケットをすぐに中継転送すると判定する。また、端末bからのパケットを受信した端末fは、自端末が最短パスよりも優先度の低いパス上の端末であり、受信したパケットを一定時間待機させ、最短パスにおいての中継転送を監視すると判定する。   Next, in FIG. 23, the terminal g that has received from the terminal b the same packet received and held from the terminal d determines that the packet has been relayed correctly, and the held packet and the terminal b Discard the same packet received from. The terminal e that has received the packet from the terminal b determines that the terminal e is a terminal on the shortest path and that the received packet is immediately relayed and transferred. The terminal f that has received the packet from the terminal b is a terminal on the path whose priority is lower than that of the shortest path, and waits for a certain period of time to monitor the relay transfer in the shortest path. judge.

そして、図24において、端末eは、端末bから受信したパケットをすぐに中継転送する。端末eで中継送信されたパケットは、端末fによって受信される。端末bから受信して保持しているパケットと同じパケットを端末eから受信した端末fは、上記パケットが正しく中継されたと判断して、上記保持しているパケットおよび端末eから受信した同じパケットを破棄する。   In FIG. 24, the terminal e immediately relays and transfers the packet received from the terminal b. The packet relay-transmitted at the terminal e is received by the terminal f. The terminal f that has received the same packet from the terminal e as received from the terminal b determines that the packet has been relayed correctly, and determines that the held packet and the same packet received from the terminal e are the same. Discard.

以上のように実施の形態1によれば、ソース端末から送信するパケットにパス情報(最短パスを構成する経由端末情報)を付加し、このパス情報に含まれる中継端末では受信したパケットをすぐに中継送信し、上記パス情報に含まれない中継端末では、受信したパケットを待機させて最短パス上の中継端末による中継送信を監視し、最短パス上の中継端末が中継送信できない場合に、待機させたパケットを中継送信することにより、上記パス情報上の中継端末で構成されるメインパスと、上記パス情報に含まれない中継端末で構成されるバックアップパスとを空間的および時間的に分離して構築できるので、安定した通信を確保できるとともに、無線の干渉を抑制してパケットロスや遅延を防止し、かつネットワーク資源を有効活用できる。   As described above, according to the first embodiment, path information (routed terminal information constituting the shortest path) is added to a packet transmitted from the source terminal, and the relay terminal included in this path information immediately receives the received packet. The relay terminal that is relayed and not included in the above path information waits for the received packet to monitor relay transmission by the relay terminal on the shortest path, and waits if the relay terminal on the shortest path cannot relay. By relaying the transmitted packet, the main path configured by the relay terminal on the path information and the backup path configured by the relay terminal not included in the path information are separated spatially and temporally. Since it can be constructed, stable communication can be ensured, radio interference can be suppressed, packet loss and delay can be prevented, and network resources can be effectively utilized.

また、時間をずらす装置5Aによって、パス情報に含まれる経路に対して地理的に自端末と対象に存在する周辺端末も含めた通信状況に応じて、パケットを待機させる保持時間を設定することにより、上記対象に存在する周辺端末との送信タイミングをずらすことができるので、パス情報に含まれる端末が正しくパケットの中継をしなかった場合に、地理的に対象に存在する2つの端末が同時にバックアップ通信を開始する確率を下げることができる。   In addition, by setting the holding time for waiting for the packet according to the communication status including the local terminal and the peripheral terminal that exists geographically with respect to the route included in the path information by the device 5A for shifting the time. Since the transmission timing with the peripheral terminal existing in the target can be shifted, if the terminal included in the path information does not relay the packet correctly, two terminals existing geographically in the target are backed up simultaneously. The probability of starting communication can be lowered.

実施の形態2
図13は本発明の実施の形態2の無線通信端末の構成図であり、図1と同様のものには同じ符号を付してある。この実施の形態2の端末は、通信部1と、パケット解析部2Aと、パケット生成部3Aと、パケット監視部4Aと、時間をずらす装置5Bとを備えて構成されている。つまり、実施の形態2の端末は、上記実施の形態1の端末(図1参照)において、時間をずらす装置5Aを時間をずらす装置5Bとしたものである。
Embodiment 2
FIG. 13 is a configuration diagram of the wireless communication terminal according to the second embodiment of the present invention, and the same components as those in FIG. The terminal according to the second embodiment includes a communication unit 1, a packet analysis unit 2A, a packet generation unit 3A, a packet monitoring unit 4A, and a time shifting device 5B. That is, the terminal of the second embodiment is the same as the terminal 5 of the first embodiment (see FIG. 1), except that the device 5A for shifting the time is a device 5B for shifting the time.

[時間をずらす装置5B]
時間をずらす装置5Bは、上記実施の形態1の時間をずらす装置5Aと同様に、パケット監視部4Aがパケットを保持しておく保持時間を設定する。ただし、この時間をずらす装置5Bは、パケット解析部2Aには接続されているが、通信部1には接続されておらず、パケットの送受信を監視して、上記保持時間を設定する。
[Device 5B for shifting time]
The device 5B for shifting the time sets a holding time for the packet monitoring unit 4A to hold the packet, similarly to the device 5A for shifting the time in the first embodiment. However, the device 5B for shifting the time is connected to the packet analysis unit 2A, but is not connected to the communication unit 1, and monitors the packet transmission / reception to set the holding time.

この時間をずらす装置5Bは、パケット解析部2Aを通して自端末の通信範囲内の周辺端末のパケットの送受信を監視することによって、パケット解析部2Aで解析されたパス情報に含まれる端末が正しく規則的に活動しているか否か等の上記周辺端末の活動状況を監視し、この活動状況に応じて、自端末が中継待機をするためにパケットの中継送信を遅らせる時間(=上記保持時間)を設定する。例えば、パス情報に含まれる2つの端末が両方とも正しく規則的に活動していれば、保持時間を長く設定し、上2つの端末の内のいずれかの活動が不定期になったりすれば、保持時間を短く設定する。なお、この時間をずらす装置5Bでは、特定のアルゴリズムに従って、上記保持時間を設定することも可能である。例えば、時間情報を用いたランダム数値を生成して、上記保持時間に設定することも可能である。さらに、複数の時間のずらし方(周辺端末の活動状況に応じて保持時間に設定するか、アルゴリズムに従って保持時間を設定するか)の内から最適なものを判断して、その最適な時間のずらし方を設定する装置を設け、端末資源およびネットワーク資源にとって最適な時間のずらし方を設定できるようにすることも可能である。   The apparatus 5B for shifting the time monitors the transmission / reception of packets of peripheral terminals within the communication range of the own terminal through the packet analysis unit 2A, so that the terminals included in the path information analyzed by the packet analysis unit 2A are correctly ordered. The activity status of the above peripheral terminals, such as whether or not they are active, is monitored, and in accordance with this activity status, the time for delaying the relay transmission of the packet for the terminal to wait for relaying (= the above holding time) is set To do. For example, if both of the two terminals included in the path information are operating correctly and regularly, the retention time is set to be long, and if one of the top two terminals becomes irregular, Set the retention time short. In addition, in the apparatus 5B which shifts this time, it is also possible to set the holding time according to a specific algorithm. For example, it is also possible to generate a random numerical value using time information and set the holding time. In addition, determine the optimal time from multiple time shift methods (whether the retention time is set according to the activity status of the peripheral terminal or the retention time is set according to the algorithm), and the optimal time shift is performed. It is also possible to provide a device for setting the direction so that the optimal time shift method can be set for the terminal resource and the network resource.

このように実施の形態2によれば、パス情報に含まれる端末の内の自端末の近隣の2つ端末を監視して、これら2つの端末の中継をサポートする場合に、その2端末の活動状況を常に監視しておき、その2つの端末の内の一方がパケットを送信していない場合には、パス情報に含まれる端末に異常が発生したと判断して、保持時間を短くすることにより、パス情報に含まれる経路に異常が発生した場合のリカバーの時間を短くできる。   As described above, according to the second embodiment, when two terminals in the vicinity of the own terminal included in the path information are monitored and the relay of these two terminals is supported, the activity of the two terminals By constantly monitoring the situation, if one of the two terminals does not transmit a packet, it is determined that an abnormality has occurred in the terminal included in the path information, and the retention time is shortened. The recovery time when an abnormality occurs in the path included in the path information can be shortened.

実施の形態3
図14は本発明の実施の形態3の無線通信端末の構成図であり、図1と同様のものには同じ符号を付してある。この実施の形態3の端末は、通信部1と、パケット解析部2Aと、パケット生成部3Aと、パケット監視部4Aと、時間をずらす装置5Cとを備えて構成されている。つまり、実施の形態3の端末は、上記実施の形態1の端末(図1参照)において、時間をずらす装置5Aを時間をずらす装置5Cとしたものである。
Embodiment 3
FIG. 14 is a configuration diagram of the radio communication terminal according to the third embodiment of the present invention, and the same components as those in FIG. The terminal according to the third embodiment includes a communication unit 1, a packet analysis unit 2A, a packet generation unit 3A, a packet monitoring unit 4A, and a device 5C for shifting time. That is, the terminal of Embodiment 3 is the same as the terminal 5 of Embodiment 1 (see FIG. 1), except that the device 5A for shifting time is the device 5C for shifting time.

[時間をずらす装置5C]
時間をずらす装置5Cは、上記実施の形態1の時間をずらす装置5Aと同様に、パケット監視部4Aがパケットを保持しておく保持時間を設定する。ただし、この時間をずらす装置5Cは、通信部1およびパケット解析部2Aに接続されており、電波状態を監視するとともに(無線のキャリアセンスをするとともに)、パケットの送受信を監視をして、上記保持時間を設定する。
[Device 5C for shifting time]
The device 5C for shifting the time sets a holding time for the packet monitoring unit 4A to hold the packet, similarly to the device 5A for shifting the time in the first embodiment. However, the device 5C for shifting the time is connected to the communication unit 1 and the packet analysis unit 2A, monitors the radio wave condition (and performs wireless carrier sense), and monitors packet transmission and reception. Set the retention time.

この時間をずらす装置5Cは、通信部1を通して自端末の通信範囲よりも広い範囲の周辺端末の電波状態を監視する(無線のキャリアセンスをする)ことによって、上記自端末の通信範囲よりも広い範囲の周辺端末の通信状況を監視するとともに、パケット解析部2Aを通して自端末の通信範囲内の周辺端末の送受信パケットを監視することによって、パケット解析部2Aで解析されたパス情報に含まれる端末が正しく規則的に活動しているか否か等の上記自端末の通信範囲内の周辺端末の活動状況を監視し、これら自端末の通信範囲よりも広い範囲の周辺端末の通信状況および自端末の通信範囲内の周辺端末の活動状況に応じて、自端末が中継待機をするためにパケットの中継送信を遅らせる時間(=上記保持時間)を設定する。   The device 5C for shifting the time monitors a radio wave condition of a peripheral terminal in a wider range than the communication range of the own terminal through the communication unit 1 (performs wireless carrier sense), thereby wider than the communication range of the own terminal. The terminal included in the path information analyzed by the packet analysis unit 2A is monitored by monitoring the communication status of the peripheral terminals in the range and monitoring the transmission / reception packets of the peripheral terminals within the communication range of the own terminal through the packet analysis unit 2A Monitors the activity status of peripheral terminals within the communication range of the terminal itself, such as whether or not they are operating correctly and regularly, and the communication status of peripheral terminals in a range wider than the communication range of the terminal itself and the communication of the terminal itself In accordance with the activity status of the peripheral terminals within the range, a time (= holding time) for delaying the relay transmission of the packet is set so that the own terminal waits for the relay.

上記実施の形態1の時間をずらす装置5Aでは、パス情報に含まれる端末の活動状況についての情報を得ることができないため、異常が発生した場合のリカバーの時間を短くできない。また、上記実施の形態2の時間をずらす装置5Bでは、パス情報に含まれる経路に対して自端末と地理的に対象に存在する周辺端末の通信状況についての情報を得ることができないため、この2つの端末が同時にリカバーのための中継パケットを送信して、無線の衝突が起こる可能性がある。   In the device 5A for shifting the time according to the first embodiment, information on the activity status of the terminal included in the path information cannot be obtained, and therefore the recovery time when an abnormality occurs cannot be shortened. Further, in the device 5B for shifting the time according to the second embodiment, information about the communication status of the peripheral terminal that is geographically targeted to the own terminal with respect to the route included in the path information cannot be obtained. Two terminals transmit relay packets for recovery at the same time, and wireless collision may occur.

これに対し、この実施の形態3の時間をずらす装置5Cでは、パス情報に含まれる経路に対して自端末と地理的に対象に存在する周辺端末の通信状況についての情報を得ることができるとともに、パス情報に含まれる端末の活動状況についての情報を得ることができるので、上記対象に存在する周辺端末との送信タイミングをずらして、地理的に対象に存在する2つ端末が同時にバックアップ通信を開始して無線の衝突が起こる確率を下げることができるとともに、パス情報に含まれる経路に異常が発生した場合のリカバーの時間を短くできる。さらに、上記対象に存在する周辺端末と通信して互いに同時に動かないように同期することができれば、無線の衝突が起こる確率をほとんど0にできる。   On the other hand, in the device 5C for shifting the time according to the third embodiment, it is possible to obtain information on the communication status of the peripheral terminal that is geographically targeted to the own terminal with respect to the route included in the path information. Since the information about the activity status of the terminal included in the path information can be obtained, the transmission timing with the peripheral terminal existing in the target is shifted, and the two terminals existing geographically in the target simultaneously perform backup communication. It is possible to reduce the probability that a radio collision will occur after starting, and to shorten the recovery time when an abnormality occurs in the path included in the path information. Furthermore, if it can communicate with the peripheral terminals present in the target and synchronize so that they do not move at the same time, the probability of radio collisions can be reduced to almost zero.

なお、この時間をずらす装置5Cでは、上記実施の形態1の時間をずらす装置5Aと同様に、自端末の通信範囲よりも広い範囲の周辺端末の通信状況に応じて、上記保持時間を設定することも可能である。また、上記実施の形態2の時間をずらす装置5Bと同様に、自端末の通信範囲内の周辺端末の通信状況に応じて、上記保持時間を設定することも可能である。また、特定のアルゴリズムに従って、上記保持時間を設定することも可能である。例えば、時間情報を用いたランダム数値を生成して、上記保持時間に設定することも可能である。さらに、複数の時間のずらし方(周辺端末の通信状況および活動状況に応じて保持時間に設定するか、周辺端末の通信状況に応じて保持時間に設定するか、周辺端末の活動状況に応じて保持時間に設定するか、アルゴリズムに従って保持時間を設定するか)の内から最適なものを判断して、その最適な時間のずらし方を設定する装置を設け、端末資源およびネットワーク資源にとって最適な時間のずらし方を設定できるようにすることも可能である。   In addition, in device 5C for shifting the time, similarly to device 5A for shifting the time in the first embodiment, the holding time is set in accordance with the communication status of peripheral terminals in a wider range than the communication range of the own terminal. It is also possible. Further, similarly to the device 5B for shifting the time in the second embodiment, the holding time can be set according to the communication status of the peripheral terminals within the communication range of the own terminal. It is also possible to set the holding time according to a specific algorithm. For example, it is also possible to generate a random numerical value using time information and set the holding time. Furthermore, how to shift multiple times (set the holding time according to the communication status and activity status of the peripheral terminal, set the holding time according to the communication status of the peripheral terminal, or depending on the activity status of the peripheral terminal Set the retention time or set the retention time according to the algorithm) to determine the most appropriate one and set the optimal time shift method to provide the optimal time for terminal resources and network resources. It is also possible to set the shifting method.

このように実施の形態3によれば、地理的に対象に存在する2つの端末が同時にバックアップ通信を開始して無線の衝突が起こる確率を下げることができるとともに、パス情報に含まれる経路に異常が発生した場合のリカバーの時間を短くできる。   As described above, according to the third embodiment, it is possible to reduce the probability that two terminals that are geographically present at the same time start backup communication at the same time to cause a radio collision, and the route included in the path information is abnormal. When this occurs, the recovery time can be shortened.

実施の形態4
図15は本発明の実施の形態4の無線通信端末の構成図であり、図1と同様のものには同じ符号を付してある。この実施の形態4の端末は、通信部1と、パケット解析部2Aと、パケット生成部3Aと、パケット監視部4Aと、時間をずらす装置5Dとを備えて構成されている。つまり、実施の形態4の端末は、上記実施の形態1の端末(図1参照)において、時間をずらす装置5Aを時間をずらす装置5Dとしたものである。
Embodiment 4
FIG. 15 is a configuration diagram of the radio communication terminal according to the fourth embodiment of the present invention, and the same components as those in FIG. The terminal according to the fourth embodiment includes a communication unit 1, a packet analysis unit 2A, a packet generation unit 3A, a packet monitoring unit 4A, and a device 5D for shifting time. That is, the terminal of the fourth embodiment is the same as the terminal 5 of the first embodiment (see FIG. 1), except that the device 5A for shifting the time is a device 5D for shifting the time.

[時間をずらす装置5D]
時間をずらす装置5Dは、上記実施の形態1の時間をずらす装置5Aと同様に、パケット監視部4Aがパケットを保持しておく保持時間を設定する。ただし、この時間をずらす装置5Dは、通信部1とパケット解析部2Aのいずれにも接続されておらず、例えばランダムに上記保持時間を設定する。
[Device 5D for shifting time]
The device 5D for shifting the time sets a holding time for the packet monitoring unit 4A to hold the packet, similarly to the device 5A for shifting the time in the first embodiment. However, the apparatus 5D for shifting the time is not connected to either the communication unit 1 or the packet analysis unit 2A, and sets the holding time at random, for example.

この時間をずらす装置5Dは、電波状態の監視も、パケットの送受信の監視もせずに、特定のアルゴリズムに従って、特定の情報を用いて自端末が中継待機をするためにパケットの中継送信を遅らせる時間(=上記保持時間)を設定する。例えば、時刻情報あるいは日時情報を用いたランダム数値を生成して、上記保持時間に設定する。   The device 5D for shifting the time delays the relay transmission of the packet so that the own terminal performs the relay standby using the specific information according to the specific algorithm without monitoring the radio wave state and the packet transmission / reception. (= The above holding time) is set. For example, a random numerical value using time information or date / time information is generated and set to the holding time.

このように実施の形態4によれば、時間をずらす装置5Dが上記実施の形態1〜3の時間をずらす装置5A〜5Cのような処理をしないので、端末の処理能力が乏しい場合や、無線の衝突が生じにくい場合などに、簡単に時間をずらす装置5Dを実装して使用でき、端末の資源を有効活用できる。   As described above, according to the fourth embodiment, the device 5D for shifting the time does not perform the processing as the devices 5A to 5C for shifting the time of the first to third embodiments. When it is difficult to cause a collision, it is possible to mount and use the device 5D for easily shifting the time, and to effectively use the resources of the terminal.

実施の形態5
本発明の実施の形態5は、ディスタンスベクトル方式をベースとしたものであって、ソース端末とデスティネーション端末とが通信するにあたり、以下の1)〜5)の手順でマルチパスが構築される。
Embodiment 5
The fifth embodiment of the present invention is based on the distance vector method. When the source terminal and the destination terminal communicate with each other, a multipath is constructed by the following procedures 1) to 5).

1)ネットワーク内のそれぞれの端末は、パケットを転送してきた近隣端末をDV(Distance Vector)端末として保持するとともに、同じパケットを転送してきた複数のDV端末に、受信タイミングによって優先度を付しておく。   1) Each terminal in the network holds neighboring terminals that have transferred packets as DV (Distance Vector) terminals, and assigns priorities to a plurality of DV terminals that have transferred the same packets according to reception timing. deep.

2)ソース端末は、最優先のDV端末の情報およびそれよりも優先度の低いDV端末情報をパケットに付加して送信する。   2) The source terminal adds the information of the highest priority DV terminal and the DV terminal information having a lower priority to the packet and transmits the packet.

3)パケットを受信した端末は、自端末が最優先のDV端末であるか、それよりも優先度の低いDV端末であるかを判定し、最優先のDV端末であれば直ちに中継送信し、それよりも優先度の低いDV端末であれば、一定時間中継送信を待機し、最優先の他の端末によって中継送信がなされたか否かを監視し、上記一定時間内に上記他の端末による中継送信を検出できれば、上記待機させていたパケットを破棄し、上記一定時間内に上記他の端末による中継送信を検出できなければ、上記待機させていたパケットの最優先のDV端末の情報およびそれよりも優先度の低いDV端末情報を更新して、上記待機させていたパケットを中継送信する。   3) The terminal that has received the packet determines whether the terminal is the highest priority DV terminal or a lower priority DV terminal, and if it is the highest priority DV terminal, immediately relays and transmits it, If it is a DV terminal having a lower priority than that, it waits for relay transmission for a certain period of time, monitors whether or not relay transmission is performed by another terminal having the highest priority, and relays by the other terminal within the certain time. If transmission can be detected, the waiting packet is discarded, and if relay transmission by the other terminal cannot be detected within the predetermined time, information on the highest priority DV terminal of the waiting packet and Also, the DV terminal information having a low priority is updated, and the packet that has been waiting is relayed and transmitted.

上記3)の手順において、最優先の端末によって中継送信がなされたか否かは、待機させているパケットと同じパケットを上記一定時間内に受信したか否かによって判定する。待機させているパケットと同じパケットを時間内に受信した場合には、最優先の端末によって中継送信がなされたと判断して、両パケットを破棄し、待機させているパケットと同じパケットを時間内に受信しできなかった場合には、最優先の端末によって中継送信がなされなかったと判断して、待機させていたパケットを中継送信する。   In the procedure 3), whether or not the relay transmission is performed by the highest priority terminal is determined by whether or not the same packet as the waiting packet is received within the predetermined time. If the same packet as the waiting packet is received within the time, it is determined that relay transmission has been performed by the highest priority terminal, both packets are discarded, and the same packet as the waiting packet is received within the time. If the packet cannot be received, it is determined that relay transmission has not been performed by the highest priority terminal, and the standby packet is relayed and transmitted.

図16は本発明の実施の形態5の無線通信端末の構成図であり、図1と同様のものには同じ符号を付してある。この実施の形態5の端末は、通信部1と、パケット解析部2Eと、パケット生成部3Eと、パケット監視部4Eと、時間をずらす装置5Eと、DV(Distance Vector)テーブル6とを備えて構成されている。   FIG. 16 is a configuration diagram of the radio communication terminal according to the fifth embodiment of the present invention, and the same components as those in FIG. The terminal according to the fifth embodiment includes a communication unit 1, a packet analysis unit 2E, a packet generation unit 3E, a packet monitoring unit 4E, a time shifting device 5E, and a DV (Distance Vector) table 6. It is configured.

[パケット解析部2E]
パケット解析部2Eは、通信部1で受信されたパケットを解析する。このパケット解析部2Eは、さらに以下のa)〜c)の3つの解析処理をする。
[Packet analysis unit 2E]
The packet analysis unit 2E analyzes the packet received by the communication unit 1. The packet analysis unit 2E further performs the following three analysis processes a) to c).

a)通信部1で受信されたパケットから、ソースアドレスと、このパケットを送ってきた近隣端末の端末ID(通信インタフェースアドレス,IPアドレス,MACアドレス等、端末を特定できる情報)と、パケットID(シーケンスナンバーやポートナンバー等、パケットを特定できる情報)とを解析し、解析したソースアドレスをデスティネーション端末のIDとして、このデスティネーション端末IDおよびそれに該当するパケットIDをDVテーブル6に問い合わせる。そして、解析したデスティネーション端末IDおよびパケットIDがすでにDVテーブル6に保持されている場合は、そのデスティネーション端末IDについてのDVテーブル6のODV(Other Distance Vector)の項目に上記解析した近隣端末IDを追加して、DVテーブル6を更新する。また、解析したデスティネーション端末IDはDVテーブル6に保持されているが、パケットIDが異なる場合は、そのデスティネーション端末IDについてのDVテーブル6のPDV(Primary Distance Vector)の項目を上記解析した近隣端末IDに書き換え、ODVの項目に上記解析した近隣端末IDが保持されていればそれを削除し、パケットIDの項目を上記解析したパケットIDに書き換えて、DVテーブル6を更新する。また、解析したデスティネーション端末IDがDVテーブル6に保持されていない場合は、DVテーブル6のデスティネーションの項目に上記解析したデスティネーション端末IDを追加し、PDVの項目に上記解析した近隣端末IDを追加し、パケットIDの項目に上記解析したパケットIDを追加して、DVテーブル6を更新する。   a) From the packet received by the communication unit 1, the source address, the terminal ID (information that can identify the terminal such as the communication interface address, IP address, MAC address) of the neighboring terminal that has sent this packet, and the packet ID ( The information such as a sequence number and a port number) is analyzed, and the destination terminal ID and the corresponding packet ID are inquired to the DV table 6 using the analyzed source address as the destination terminal ID. If the analyzed destination terminal ID and packet ID are already held in the DV table 6, the analyzed neighboring terminal ID is added to the ODV (Other Distance Vector) item of the DV table 6 for the destination terminal ID. And the DV table 6 is updated. The analyzed destination terminal ID is held in the DV table 6, but if the packet ID is different, the PDV (Primary Distance Vector) item of the DV table 6 for the destination terminal ID is analyzed in the above-described neighborhood. The terminal ID is rewritten, and if the analyzed neighboring terminal ID is held in the ODV item, it is deleted, the packet ID item is rewritten to the analyzed packet ID, and the DV table 6 is updated. If the analyzed destination terminal ID is not held in the DV table 6, the analyzed destination terminal ID is added to the destination item of the DV table 6, and the analyzed neighboring terminal ID is added to the PDV item. And the analyzed packet ID is added to the packet ID field, and the DV table 6 is updated.

b)自端末がソース端末であるときに、ディスティネーション端末についてのPDV端末IDと、ODV端末IDとをDVテーブル6に問い合わせ、応答された1つのPDV端末IDをPDV情報とし、応答された1つ以上のODV端末IDをODV情報として、これらPDV情報およびODV情報をパケット生成部3Eに送る。   b) When the self terminal is the source terminal, the DV table 6 is inquired about the PDV terminal ID and the ODV terminal ID of the destination terminal, and one responded PDV terminal ID is set as PDV information. One or more ODV terminal IDs are used as ODV information, and these PDV information and ODV information are sent to the packet generator 3E.

c)上記実施の形態1のパケット解析部2Aと同様に自端末を他の端末と区別するための自端末のIDを保持しており、自端末が中継端末であるときに、通信部1で受信されたパケットから、PDV情報と、ODV情報と、デスティネーションアドレスとを解析し、自端末のIDが解析したPDV情報に含まれているか否かおよびODV情報に含まれているか否かを判定することにより、自端末が、PDVであるのか、ODVであるのか、PDVとODVのいずれでもないのか、を判定する。そして、自端末がPDVであれば、解析したデスティネーションアドレスをデスティネーション端末IDとして、このデスティネーション端末IDについてのPDV端末IDおよびODV端末IDをDVテーブル6に問い合わせ、応答された1つのPDV端末IDを新しいPDV情報とし、応答された1つ以上のODV端末IDを新しいODV情報として、上記パケットならびに新しいPDV情報および新しいODV情報をパケット生成部3Eに送り、通信部1を用いてすぐに中継送信する。また、自端末がODVであれば、解析したデスティネーションアドレスをデスティネーション端末IDとして、このデスティネーション端末IDについてのPDV端末IDおよびODV端末IDをDVテーブル6に問い合わせ、応答された1つのPDV端末IDを新しいPDV情報とし、応答された1つ以上のODV端末IDを新しいODV情報として、上記パケットならびに新しいPDV情報および新しいODV情報をパケット監視部4Eに送り、時間をずらす装置5Eによって設定された保持時間、保持させる。また、自端末がPDVとODVのいずれでもなければ、上記パケットを破棄する。   c) Similar to the packet analysis unit 2A of the first embodiment, the communication unit 1 holds the ID of the own terminal for distinguishing the own terminal from other terminals, and the own terminal is a relay terminal. From the received packet, the PDV information, the ODV information, and the destination address are analyzed to determine whether the ID of the own terminal is included in the analyzed PDV information and whether it is included in the ODV information. By doing so, it is determined whether the terminal is PDV, ODV, or neither PDV nor ODV. If the own terminal is a PDV, the analyzed destination address is used as the destination terminal ID, the PDV terminal ID and the ODV terminal ID for the destination terminal ID are inquired of the DV table 6, and one responded PDV terminal The ID is set as new PDV information, one or more responding ODV terminal IDs are set as new ODV information, and the packet, the new PDV information and the new ODV information are sent to the packet generation unit 3E, and immediately relayed using the communication unit 1 Send. If the own terminal is an ODV, the analyzed destination address is used as the destination terminal ID, the PDV terminal ID and the ODV terminal ID for the destination terminal ID are inquired of the DV table 6, and one responded PDV terminal The ID is set as new PDV information, and one or more responding ODV terminal IDs are set as new ODV information, and the packet and the new PDV information and new ODV information are sent to the packet monitoring unit 4E and set by the time shifting device 5E. Hold for the holding time. If the terminal is neither PDV nor ODV, the packet is discarded.

[DVテーブル6]
DVテーブル6は、DV(Distance Vector)を保存しておくデータテーブルであって、図17にように構成されており、デスティネーションの項目と、PDV(Primary Distance Vector)の項目と、ODV(Other Distance Vector)の項目と、パケットIDの項目とを有する。デスティネーションの項目には、パケット解析部2Eで解析されたソースアドレスがデスティネーション端末IDとして保持される。また、PDVの項目には、パケット解析部2Eで解析された近隣端末のIDの内、そのパケットを最初に転送してきた近隣端末のIDがPDV端末として保持され、ODVの項目には、パケット解析部2Eで解析された近隣端末のIDの内、PDV端末を除いた全ての近隣端末のID(そのパケットを2番目以降に転送してきた全ての近隣端末のID)がODV端末として保持される。また、パケットIDの項目には、パケット解析部2Eで解析されたそのパケットのパケットIDが保持される。
[DV table 6]
The DV table 6 is a data table for storing a DV (Distance Vector), and is configured as shown in FIG. 17, and includes a destination item, a PDV (Primary Distance Vector) item, and an ODV (Other (Distance Vector) item and packet ID item. In the destination item, the source address analyzed by the packet analysis unit 2E is held as the destination terminal ID. The PDV item holds the ID of the neighboring terminal that first transferred the packet among the neighboring terminal IDs analyzed by the packet analysis unit 2E as the PDV terminal, and the ODV item contains the packet analysis. Among the IDs of the neighboring terminals analyzed by the unit 2E, the IDs of all the neighboring terminals excluding the PDV terminal (the IDs of all neighboring terminals that transferred the packet after the second) are held as ODV terminals. The packet ID item holds the packet ID of the packet analyzed by the packet analysis unit 2E.

[パケット生成部3E]
パケット生成部3Eは、パケットを生成して、通信部1を用いて送信する。このパケット生成部3Eは、さらに以下のA),B)の2つの処理をする。
[Packet generator 3E]
The packet generation unit 3E generates a packet and transmits it using the communication unit 1. The packet generator 3E further performs the following two processes A) and B).

A)パケット解析部2Eから渡されたパケットの以前のDV情報(PDV情報およびODV情報)を消去し、パケット解析部2Eから渡された新しいDV情報を書き込み、このDV情報を更新したパケットを送信する。   A) The previous DV information (PDV information and ODV information) of the packet passed from the packet analysis unit 2E is deleted, the new DV information passed from the packet analysis unit 2E is written, and the packet with the updated DV information is transmitted. To do.

B)パケット監視部4Eから渡されたパケットの以前のDV情報(PDV情報およびODV情報)を消去し、パケット監視部4Eから渡された新しいDV情報を書き込み、このDV情報を更新したパケットを送信する。   B) The previous DV information (PDV information and ODV information) of the packet passed from the packet monitoring unit 4E is deleted, the new DV information passed from the packet monitoring unit 4E is written, and the packet with the updated DV information is transmitted. To do.

[パケット監視部4E]
パケット監視部4Eは、パケット解析部2Eから渡されたパケットおよびそのパケットについての新しいDV情報を、時間をずらす装置5Eによって設定された保持時間、保持する。そして、その保持時間内に、保持しているパケットと同じパケットをパケット解析部2Eから渡された場合、そのパケットについては最短パス上の他の端末が正しく中継したと判断して、保持しているパケットおよびそのパケットについての新しいDV情報ならびに渡された同じパケットおよびそのパケットについての新しいDV情報をともに破棄する。また、上記保持時間を経過したら、その保持しているパケットについては最短パス上の他の端末が正しく中継できなかったと判断して、保持してパケットおよびそのパケットについての新しいDV情報をパケット生成部3Eに送り、通信部1を用いて中継送信させる。
[Packet monitoring unit 4E]
The packet monitoring unit 4E holds the packet passed from the packet analysis unit 2E and new DV information about the packet for the holding time set by the time shifting device 5E. If the same packet as the held packet is delivered from the packet analysis unit 2E within the holding time, it is determined that the other terminal on the shortest path correctly relayed the packet and holds it. Discard both the existing packet and the new DV information for that packet as well as the new DV information for the same packet passed and that packet. When the holding time elapses, it is determined that other terminals on the shortest path could not correctly relay the held packet, and the packet and the new DV information about the packet are stored in the packet generator. 3E and relay transmission using the communication unit 1.

[時間をずらす装置5E]
時間をずらす装置5Eは、上記実施の形態1〜4の時間をずらす装置5A〜5Dのいずれかと同様に、パケット監視部4Eがパケットを保持しておく保持時間を設定する。
[Time shifter 5E]
The device 5E for shifting the time sets a holding time for the packet monitoring unit 4E to hold the packet, similarly to any of the devices 5A to 5D for shifting the time in the first to fourth embodiments.

実施の形態5の端末で構成したアドホックネットワークの動作を以下に説明する。   The operation of the ad hoc network configured with the terminals of the fifth embodiment will be described below.

ネットワーク内のそれぞれの端末は、他の端末から送信されたパケットを受信すると、パケット解析部2Eにおいて、上記パケットから、ソースアドレスと、そのパケットを自端末に送ってきた近隣端末のIDと、パケットIDとを解析し、解析したソースアドレスをデスティネーション端末のIDとして、このデスティネーション端末IDおよびそれに該当するパケットIDをDVテーブル6に問い合わせる。   When each terminal in the network receives a packet transmitted from another terminal, in the packet analysis unit 2E, from the packet, the source address, the ID of the neighboring terminal that sent the packet to its own terminal, and the packet The ID is analyzed, the analyzed source address is set as the destination terminal ID, and the destination terminal ID and the corresponding packet ID are inquired to the DV table 6.

そして、解析したデスティネーション端末IDがDVテーブル6にすでに保持されており、そのデスティネーション端末IDについてDVテーブル6に保持されているパケットIDと上記解析したパケットIDが合致している場合は、上記受信したパケットはすでに受信されたパケットであると判断して、そのデスティネーション端末IDについてのDVテーブル6のODVの項目に上記解析した近隣端末IDを追加して、DVテーブル6を更新する。   If the analyzed destination terminal ID is already held in the DV table 6 and the packet ID held in the DV table 6 for the destination terminal ID matches the analyzed packet ID, The received packet is determined to be already received, and the analyzed neighboring terminal ID is added to the ODV item of the DV table 6 for the destination terminal ID to update the DV table 6.

また、解析したデスティネーション端末IDがDVテーブル6にすでに保持されているが、そのデスティネーション端末IDについてDVテーブル6に保持されているパケットIDと上記解析したパケットIDが異なる場合は、上記受信したパケットが初めて受信したパケットであると判断して、そのデスティネーション端末IDについてのDVテーブル6のPDVの項目を上記解析した近隣端末IDに書き換え、ODVの項目に上記解析した近隣端末IDが保持されていればそれを削除し、パケットIDの項目を上記解析したパケットIDに書き換えて、DVテーブル6を更新する。   Further, the analyzed destination terminal ID is already held in the DV table 6. However, if the packet ID held in the DV table 6 is different from the analyzed packet ID for the destination terminal ID, the received terminal ID is received. It is determined that the packet is the first received packet, the PDV item of the DV table 6 for the destination terminal ID is rewritten with the analyzed neighboring terminal ID, and the analyzed neighboring terminal ID is held in the ODV item. If so, it is deleted, the packet ID item is rewritten with the analyzed packet ID, and the DV table 6 is updated.

また、解析したデスティネーション端末IDがDVテーブル6に保持されていない場合も、上記受信したパケットが初めて受信したパケットであると判断して、DVテーブル6のデスティネーションの項目に上記解析したデスティネーション端末IDを追加し、PDVの項目に上記解析した近隣端末IDを追加し、パケットIDの項目に上記解析したパケットIDを追加して、DVテーブル6を更新する。このようにDVテーブル6は、パケットを受信するごとに逐次更新される。   Even if the analyzed destination terminal ID is not held in the DV table 6, it is determined that the received packet is a packet received for the first time, and the analyzed destination is included in the destination item of the DV table 6. The terminal ID is added, the analyzed neighboring terminal ID is added to the PDV item, the analyzed packet ID is added to the packet ID item, and the DV table 6 is updated. As described above, the DV table 6 is sequentially updated every time a packet is received.

ソース端末は、上記DVテーブル6の更新処理により、デスティネーション端末についてのPDV端末IDをDVテーブル6のPDVの項目に保持しており、ODV端末IDをDVテーブル6のODVの項目に保持しているので、パケット解析部2Eにおいて、これらPDV端末IDおよびODV端末IDをDVテーブル6に問い合わせ、応答された1つのPDV端末IDをPDV情報とし、応答された1つ以上のODV端末IDをODV情報としてパケット生成部3Eに送り、パケット生成部3Eおいて、デスティネーション端末に送りたいパケットに上記PDV情報およびODV情報を付加し、このパケットを通信部1を用いて送信する。   The source terminal holds the PDV terminal ID for the destination terminal in the PDV item of the DV table 6 and the ODV terminal ID in the ODV item of the DV table 6 by updating the DV table 6. Therefore, the packet analysis unit 2E inquires the DV table 6 about the PDV terminal ID and the ODV terminal ID, sets one responded PDV terminal ID as PDV information, and sets one or more responded ODV terminal IDs as ODV information. The packet generation unit 3E adds the PDV information and ODV information to the packet to be sent to the destination terminal, and transmits the packet using the communication unit 1.

図18は本発明の実施の形態5の端末においての中継手順を説明するフローチャートである。   FIG. 18 is a flowchart for explaining a relay procedure in the terminal according to the fifth embodiment of the present invention.

中継端末は、上記PDV情報およびODV情報が付加されたパケットを受信すると(ステップS11)、パケット解析部2Eにおいて、PDV情報およびODV情報ならびにデスティネーションアドレスを解析し、保持している自端末のIDがPDV情報に含まれているか否かおよびODV情報に含まれているか否かにより、自端末が、PDV端末であるか(解析したPDV情報に含まれているか)、ODV端末であるか(解析したODV情報に含まれているか)、PDV端末およびODV端末のいずれでもないか(解析したPDV情報とODV情報のいずれにも含まれていないか)を判定する(ステップS12)。ここで、PDV端末は、待機時間=0の最も優先度の高い端末である。なお、上記DVテーブル6の更新処理は、上記PDV情報およびODV情報が付加されたパケットを受信した場合にもなされる。   When the relay terminal receives the packet to which the PDV information and the ODV information are added (step S11), the packet analysis unit 2E analyzes the PDV information, the ODV information, and the destination address, and holds the own terminal ID. Is included in PDV information and whether it is included in ODV information, whether the terminal is a PDV terminal (included in the analyzed PDV information) or an ODV terminal (analysis) Whether it is included in the analyzed ODV information) or whether it is neither the PDV terminal nor the ODV terminal (not included in any of the analyzed PDV information and ODV information) (step S12). Here, the PDV terminal is the terminal with the highest priority with standby time = 0. The DV table 6 is updated when a packet to which the PDV information and ODV information are added is received.

そして、パケット解析部2Eは、自端末がPDV端末であれば(ステップS12でYes)、解析したデスティネーションアドレスをデスティネーション端末IDとして、このデスティネーション端末IDについてのPDV端末IDおよびODV端末IDをDVテーブル6に問い合わせ、応答された1つのPDV端末IDを新しいPDV情報とし、応答された1つ以上のODV端末IDを新しいODV情報として、上記パケットならびに新しいPDV情報および新しいODV情報をパケット生成部3Eに送る。   If the own terminal is a PDV terminal (Yes in step S12), the packet analysis unit 2E uses the analyzed destination address as the destination terminal ID, and sets the PDV terminal ID and ODV terminal ID for the destination terminal ID. The packet generator 6 inquires and responds to the DV table 6 as a new PDV information with one responding PDV terminal ID as one of new PDV information, and sets one or more responding ODV terminal IDs as new ODV information. Send to 3E.

上記パケットおよび新しいDV情報をパケット解析部2Eから受け取ったパケット生成部3Eは、パケット解析部2Eから渡されたパケットのDV情報(PDV情報およびODV情報)をパケット解析部2Eから渡された新しいPDV情報および新しいODV情報に更新し(ステップS13)、そのDV情報を更新したパケットを直ちに通信部1を用いて中継送信する(ステップS14)。ここで、新しいPDV情報に含まれる端末は、この中継端末で新たに設定されたPDV端末であって、待機時間=0の最も優先度の高い端末である。   The packet generator 3E that has received the packet and the new DV information from the packet analyzer 2E receives the DV information (PDV information and ODV information) of the packet passed from the packet analyzer 2E as the new PDV passed from the packet analyzer 2E. Information and new ODV information are updated (step S13), and the packet with the updated DV information is immediately relayed using the communication unit 1 (step S14). Here, the terminal included in the new PDV information is a PDV terminal newly set by this relay terminal, and is the terminal with the highest priority with standby time = 0.

また、パケット解析部2Eは、自端末がPDV端末でなく(ステップS12でNo)、かつODV端末でもなければ、上記パケットを破棄する。   The packet analysis unit 2E discards the packet if the terminal is not a PDV terminal (No in step S12) and is not an ODV terminal.

また、パケット解析部2Eは、自端末がPDV端末でなく(ステップS12でNo)、かつ自端末がODV端末であれば、解析したデスティネーションアドレスをデスティネーション端末IDとして、このデスティネーション端末IDについてのPDV端末IDおよびODV端末IDをDVテーブル6に問い合わせ、応答された1つのPDV端末IDを新しいPDV情報とし、応答された1つ以上のODV端末IDを新しいODV情報として、上記パケットならびに新しいPDV情報および新しいODV情報をパケット監視部4Eに送る。   In addition, if the own terminal is not a PDV terminal (No in step S12) and the own terminal is an ODV terminal, the packet analysis unit 2E uses the analyzed destination address as the destination terminal ID and the destination terminal ID. The PD table 6 is inquired about the PDV terminal ID and ODV terminal ID of the received packet, and the one PDV terminal ID responded is set as new PDV information, and one or more responded ODV terminal IDs are set as new ODV information. Information and new ODV information are sent to the packet monitoring unit 4E.

上記パケットおよび新しいDV情報をパケット解析部2Eから受け取ったパケット監視部4Eは、受け取ったパケットと同じパケットをすで保持しているか否かを判定し、同じパケットを保持していない場合は、時間をずらす装置5Eによって設定された保持時間を経過るまで、上記受け取ったパケットおよび新しいDV情報を保持して待機する(ステップS15)。   The packet monitoring unit 4E that has received the packet and the new DV information from the packet analysis unit 2E determines whether or not the same packet as the received packet is already held. The received packet and new DV information are held and waited until the holding time set by the device 5E for shifting is passed (step S15).

さらに、パケット監視部4Eは、上記保持しているパケットと同じパケットが上記保持時間内に、通信部1で再度受信されてパケット解析部2Eから渡されたか否かにより、周辺の端末が上記保持しているパケットを正しく中継したか否かを監視する(ステップS16)。   Further, the packet monitoring unit 4E determines whether the peripheral terminal holds the packet depending on whether the same packet as the held packet is received again by the communication unit 1 and passed from the packet analysis unit 2E within the holding time. It is monitored whether or not the relayed packet is correctly relayed (step S16).

そして、パケット監視部4Eは、上記保持時間内に、上記保持しているパケットと同じパケットをパケット解析部2Eから受け取った場合は、そのパケットについては周辺の端末が正しく中継をしたと判断して、すでに保持しているパケットおよびそのパケットについての新しいDV情報ならびに受け取った同じパケットおよびそのパケットについての新しいDV情報をともに削除する(ステップS17)。   When the packet monitoring unit 4E receives the same packet as the held packet from the packet analysis unit 2E within the holding time, the packet monitoring unit 4E determines that the peripheral terminal correctly relayed the packet. Both the already held packet and the new DV information for the packet and the received new DV information for the same packet and the packet are deleted (step S17).

また、パケット監視部4Eは、上記保持時間が経過するまで保持しているパケットと同じパケットをパケット解析部2Eから受け取らなかった場合は、そのパケットについては周辺の端末が正しく中継をしなかったと判断して、保持しているパケットおよびそのパケットについての新しいDV情報をパケット生成部3Eに送る。   If the packet monitoring unit 4E does not receive the same packet from the packet analysis unit 2E as the packet held until the holding time elapses, the packet monitoring unit 4E determines that the peripheral terminal has not correctly relayed the packet. Then, the held packet and new DV information about the packet are sent to the packet generation unit 3E.

上記パケットおよび新しいDV情報をパケット監視部4Eから受け取ったパケット生成部3Eは、パケット監視部4Eから渡されたパケットのDV情報(PDV情報およびODV情報)をパケット監視部4Eから渡された新しいPDV情報および新しいODV情報に更新し、そのDV情報を更新したパケットを通信部1を用いて中継送信する。ここで、新しいPDV情報に含まれる端末は、この中継端末で新たに設定されたPDV端末であって、待機時間=0の最も優先度の高い端末である。   The packet generator 3E that receives the packet and the new DV information from the packet monitor 4E receives the DV information (PDV information and ODV information) of the packet passed from the packet monitor 4E as the new PDV passed from the packet monitor 4E. Information and new ODV information are updated, and the packet with the updated DV information is relayed using the communication unit 1. Here, the terminal included in the new PDV information is a PDV terminal newly set by this relay terminal, and is the terminal with the highest priority with standby time = 0.

なお、すでに保持しているパケットと受信されたパケットが同じか否かの判定は、例えば、パケット解析部2Eからパケット監視部4Eに、待機させるパケットとともに、そのパケットから解析したパケットID(または、さらにソースアドレスおよびデスティネーションアドレス)を送り、パケット監視部4Eは、パケットID(または、さらにソースアドレスおよびデスティネーションアドレス)が合致するか否かを判定することにより、同じパケットか否かを判定する。   The determination as to whether or not the packet already held and the received packet are the same can be made, for example, by the packet monitoring unit 4E from the packet analysis unit 2E and the packet ID (or Further, the packet monitoring unit 4E determines whether or not the packets are the same by determining whether or not the packet ID (or the source address and the destination address) match each other. .

また、時間をずらす装置5Eは、上記実施の形態1の時間をずらす装置5Aと同様に、通信部1を通して自端末の通信範囲よりも広い範囲の周辺端末の電波状態を監視する(無線のキャリアセンスをする)ことによって、上記自端末の通信範囲よりも広い範囲の周辺端末の通信状況を監視し、このの通信状況に応じて、自端末が中継待機をするためにパケットの中継送信を遅らせる時間(=上記保持時間)を設定する。   Similarly to the device 5A for shifting the time in the first embodiment, the device 5E for shifting the time monitors the radio wave conditions of peripheral terminals in a wider range than the communication range of the own terminal through the communication unit 1 (wireless carrier). The communication status of peripheral terminals in a range wider than the communication range of the terminal is monitored, and the relay transmission of the packet is delayed in order for the terminal to perform relay standby according to the communication status. Set time (= holding time).

あるいは、時間をずらす装置5Eは、上記実施の形態2の時間をずらす装置5Bと同様に、パケット解析部2Eを通して自端末の通信範囲内の周辺端末のパケットの送受信を監視することによって、パケット解析部2Eで解析されたPDV情報に含まれる端末およびパケット解析部2Eで生成された新しいPDV情報に含まれる端末が正しく規則的に活動しているか否か等の上記自端末の通信範囲内の周辺端末の活動状況を監視し、この活動状況に応じて、自端末が中継待機をするためにパケットの中継送信を遅らせる時間(=上記保持時間)を設定する。   Alternatively, similarly to the device 5B for shifting time in the second embodiment, the device 5E for shifting time monitors packet transmission / reception of peripheral terminals within the communication range of its own terminal through the packet analysis unit 2E, thereby performing packet analysis. Peripherals within the communication range of the terminal itself, such as whether or not the terminal included in the PDV information analyzed by the unit 2E and the terminal included in the new PDV information generated by the packet analyzing unit 2E are operating correctly and regularly The activity status of the terminal is monitored, and in accordance with this activity status, a time (= holding time) for delaying the relay transmission of the packet is set in order for the terminal to wait for relay.

あるいは、時間をずらす装置5Eは、上記実施の形態3の時間をずらす装置5Cと同様に、自端末の通信範囲よりも広い範囲の周辺端末の通信状況を監視するとともに、パケット解析部2Eを通して自端末の通信範囲内の周辺端末の活動状況を監視し、これら通信状況および活動状況に応じて、自端末が中継待機をするためにパケットの中継送信を遅らせる時間(=上記保持時間)を設定する。   Alternatively, similarly to the device 5C for shifting the time in the third embodiment, the device 5E for shifting the time monitors the communication status of the peripheral terminals in a wider range than the communication range of the own terminal, and automatically transmits the packet through the packet analysis unit 2E. Monitors the activity status of peripheral terminals within the communication range of the terminal, and sets the time (= holding time) for delaying the relay transmission of the packet in order for the own terminal to wait for relay according to the communication status and the activity status. .

あるいは、時間をずらす装置5Eは、上記実施の形態4の時間をずらす装置5Dと同様に、自端末が中継待機をするためにパケットの中継送信を遅らせる時間(=上記保持時間)をランダムに設定する。   Or, similarly to the device 5D for shifting the time in the fourth embodiment, the device 5E for shifting the time randomly sets the time (= the holding time) for delaying the relay transmission of the packet in order for the terminal to wait for the relay. To do.

さらに、この時間をずらす装置5Eでも、上記実施の形態1〜3と同様に、複数の時間のずらし方の内から最適なものを判断して、その最適な時間のずらし方を設定する装置を設け、端末資源およびネットワーク資源にとって最適な時間のずらし方を設定できるようにすることも可能である。   Further, in the device 5E for shifting the time, similarly to the first to third embodiments, a device for judging the optimum one from a plurality of time shifting methods and setting the optimal time shifting method. It is also possible to set an optimal time shift method for terminal resources and network resources.

この実施の形態5では、上記実施の形態1〜4とは異なり、メインパスおよびバックアップパスはソース端末において設定されるものではなく、ネットワーク内のそれぞれの端末は、デスティネーション端末についてのDV端末のID(PDV端末のIDおよびODV端末のID)を保持しており、それぞれの端末が保持しているPDV端末が結果的にメインパスを構築することになる。この場合、DV端末にPDV端末とODV端末の区別がないと、それぞれの端末が自らをメインパスを構成する端末としてすぐにパケットを中継送信してしまうため、無線の干渉が起こってしまう。そこで、PDVとODVという要素を取り入れて、PDV端末のみがすぐに中継転送し、ODV端末はしばらく待機することにより、干渉を減らしたメインパスを構築できる。   In the fifth embodiment, unlike the first to fourth embodiments described above, the main path and the backup path are not set in the source terminal, and each terminal in the network is a DV terminal for the destination terminal. The ID (the ID of the PDV terminal and the ID of the ODV terminal) is held, and as a result, the PDV terminal held by each terminal constructs the main path. In this case, if the DV terminal has no distinction between the PDV terminal and the ODV terminal, each terminal immediately relays and transmits the packet as a terminal constituting the main path, thereby causing radio interference. Thus, by incorporating the elements PDV and ODV, only the PDV terminal relays and transfers immediately, and the ODV terminal waits for a while, so that a main path with reduced interference can be constructed.

以上のように実施の形態5によれば、それぞれの端末に、PDVとなる端末およびODVとなる端末を保持させ、PVD端末では受信したパケットをすぐに中継送信し、ODV端末では、受信したパケットを待機させてPDV端末による中継送信を監視し、PDV端末が中継送信できない場合に、待機させたパケットを中継送信することにより、PVD端末で構成されるメインパスと、ODV端末で構成されるバックアップパスとを空間的および時間的に分離して構築できるので、安定した通信を確保できるとともに、無線の干渉を抑制してパケットロスや遅延を防止し、かつネットワーク資源を有効活用できる。   As described above, according to the fifth embodiment, each terminal holds a PDV terminal and an ODV terminal, and the PVD terminal immediately relays the received packet. The ODV terminal receives the received packet. , The relay transmission by the PDV terminal is monitored, and when the PDV terminal cannot perform relay transmission, the standby path is relayed and the main path configured by the PVD terminal and the backup configured by the ODV terminal are transmitted. Since the path can be constructed spatially and temporally separated, stable communication can be ensured, radio interference can be suppressed, packet loss and delay can be prevented, and network resources can be effectively utilized.

実施の形態6
本発明の実施の形態6は、上記実施の形態5において、自端末が現在中継しているフロー数に応じて、受信したパケットの待機時間を設定することにより、自端末の中継の優先度を調整することを特徴とする。
Embodiment 6
In the sixth embodiment of the present invention, in the fifth embodiment, the priority of the relay of the own terminal is set by setting the waiting time of the received packet according to the number of flows currently relayed by the own terminal. It is characterized by adjusting.

上記実施の形態5では、自端末の中継の優先度は、受信パケットに含まれているDV情報(PDV端末であるか、ODV端末であるか)によって設定され、優先度が高いほど上記待機時間は短く設定されるが、多くのフローをすでに中継している端末は、優先度が高くてもそれだけのフローを処理しきれない。そこで、この実施の形態6では、中継しているフロー数が多いほど上記待機時間を長く設定して、他の端末にフローを担当してもらうことにより、自端末の負荷を減らし、ネットワーク全体の負荷分散させる。このように、中継しているフロー数に応じて中継の優先度を調整することは、ロードバランシングという意味において重要である。   In the fifth embodiment, the relay priority of the own terminal is set by DV information (whether it is a PDV terminal or an ODV terminal) included in the received packet, and the higher the priority, the longer the waiting time. However, a terminal that has already relayed many flows cannot process that many flows even if the priority is high. Therefore, in this sixth embodiment, the larger the number of flows being relayed, the longer the waiting time is set and the other terminals are in charge of the flow, thereby reducing the load on the own terminal, and Load balance. In this way, adjusting the relay priority according to the number of relaying flows is important in terms of load balancing.

図31は本発明の実施の形態6の無線通信端末の構成図であり、図28と同様のものには同じ符号を付してある。この実施の形態6の端末は、通信部1と、パケット解析部2Fと、パケット生成部3Eと、パケット監視部4Eと、時間をずらす装置5Fと、DV(Distance Vector)テーブル6とを備えて構成されている。つまり、実施の形態6の端末は、上記実施の形態5の端末(図28参照)において、パケット解析部2Eをパケット解析部2Fとし、時間をずらす装置5Eを時間をずらす装置5Fとしたものである。   FIG. 31 is a configuration diagram of the radio communication terminal according to the sixth embodiment of the present invention. Components similar to those in FIG. The terminal according to the sixth embodiment includes a communication unit 1, a packet analysis unit 2F, a packet generation unit 3E, a packet monitoring unit 4E, a time shifting device 5F, and a DV (Distance Vector) table 6. It is configured. That is, the terminal of the sixth embodiment is the same as the terminal of the fifth embodiment (see FIG. 28), in which the packet analysis unit 2E is the packet analysis unit 2F, and the time shifting device 5E is the time shifting device 5F. is there.

[パケット解析部2F]
パケット解析部2Fは、通信部1で受信されたパケットを解析する。このパケット解析部2Eは、さらに以下のa)〜d)の4つの解析処理をする。
[Packet analysis unit 2F]
The packet analysis unit 2F analyzes the packet received by the communication unit 1. The packet analysis unit 2E further performs the following four analysis processes a) to d).

a)上記実施の形態5のパケット解析部2Eの上記手順a)と同様に、通信部1で受信されたパケットを解析し、DVテーブル6を更新する。   a) Similar to the procedure a) of the packet analysis unit 2E of the fifth embodiment, the packet received by the communication unit 1 is analyzed and the DV table 6 is updated.

b)自端末が現在中継しているフローの数を表す中継フロー数fnを保持しており、任意の2つの端末間のパケットを中継したら、その2つの端末のID(1つがソース端末のID、もう1つがデスティネーション端末のID)を一定時間保持するとともに、中継フロー数fnに1を加算し、2つの端末のIDを保持している間にその2つの端末間のパケットを再度中継したら、そのときから上記2つの端末のIDをさらに一定時間保持するする。上記2つの端末間のパケットを再度中継せずに、上記一定時間を経過したら、上記2つの端末のIDを削除するとともに、中継フロー数fnから1を減算する。   b) Holding the number of relay flows fn representing the number of flows currently relayed by the terminal itself, and relaying a packet between any two terminals, the IDs of the two terminals (one is the ID of the source terminal) The other holds the ID of the destination terminal) for a certain period of time, adds 1 to the number of relay flows fn, and relays the packet between the two terminals again while holding the ID of the two terminals. From that time, the IDs of the two terminals are further held for a certain period of time. When the predetermined time has passed without relaying the packet between the two terminals again, the IDs of the two terminals are deleted and 1 is subtracted from the number of relay flows fn.

ここで、上記中継しているフローの数とは、中継しているセッションの数という意味である。また、上記2つの端末のIDは、ソース端末とデスティネーション端末に区別して保持され、ソース端末からデスティネーション端末に送信するフローと、デスティネーション端末からソース端末に返信するフローをともに中継する場合には、自端末が現在中継しているフローの数は、2つとなる。なお、保持している2つの端末のIDを定期的に全てクリアにするとともに、中継フロー数fnを定期的に0にクリアすることも可能である。   Here, the number of relaying flows means the number of relaying sessions. Further, the IDs of the two terminals are stored separately in the source terminal and the destination terminal, and when the flow for transmitting from the source terminal to the destination terminal and the flow for returning from the destination terminal to the source terminal are relayed together. The number of flows currently relayed by the terminal is two. Note that it is possible to periodically clear all of the IDs of the two held terminals and periodically clear the number of relay flows fn to zero.

c)自端末がソース端末であるときに、ディスティネーション端末についてのPDV端末IDと、ODV端末IDとをDVテーブル6に問い合わせ、応答された1つのPDV端末IDをPDV情報(1stDV情報)とし、応答された1つ以上のODV端末IDの内のいずれか1つのODV端末IDを2ndDV情報、その他のODV端末IDを3rdDV情報として、これらのDV情報(1stDV情報,2ndDV情報,3rdDV情報)をパケット生成部3Eに送る。なお、応答された1つ以上のODV端末IDを全て2ndDV情報とし、3rdDV情報を作成しないことも可能である。   c) When the own terminal is the source terminal, the DV table 6 is inquired about the PDV terminal ID and the ODV terminal ID for the destination terminal, and one PDV terminal ID responded is set as PDV information (1stDV information). Any one or more of the responded ODV terminal IDs is used as 2ndDV information, and the other ODV terminal ID is used as 3rdDV information, and these DV information (1stDV information, 2ndDV information, 3rdDV information) is packetized. The data is sent to the generation unit 3E. One or more ODV terminal IDs that have been responded may be all 2ndDV information, and 3rdDV information may not be created.

d)上記実施の形態1のパケット解析部2Aと同様に自端末を他の端末と区別するための自端末のIDを保持しており、自端末が中継端末であるときに、通信部1で受信されたパケットから、1stDV情報と、2ndDV情報と、3rdDV情報と、デスティネーションアドレスとを解析し、自端末のIDが解析した1stDV情報に含まれているか否か、2ndDV情報に含まれているか否か、および3rdDV情報に含まれているか否かを判定することにより、自端末が、1stDVであるのか、2ndDVであるのか、3rdDVであるのか、1stDV,2ndDV,3rdDVのいずれでもないのか、を判定する。   d) Like the packet analysis unit 2A of the first embodiment, the communication unit 1 holds the ID of the own terminal for distinguishing the own terminal from other terminals, and the own terminal is a relay terminal. From the received packet, 1stDV information, 2ndDV information, 3rdDV information, and the destination address are analyzed, and whether the ID of the own terminal is included in the analyzed 1stDV information or whether it is included in the 2ndDV information And whether the terminal is 1stDV, 2ndDV, 3rdDV, or 1stDV, 2ndDV, or 3rdDV by determining whether it is included in the 3rdDV information. judge.

そして、自端末が1stDVであって中継フロー数fn=1であれば、解析したデスティネーションアドレスをデスティネーション端末IDとして、このデスティネーション端末IDについてのPDV端末IDおよびODV端末IDをDVテーブル6に問い合わせ、応答された1つのPDV端末IDを新しいPDV情報(1stDV情報)とし、応答された1つ以上のODV端末IDの内の1つのODV端末IDを新しい2ndDV情報、その他のODV端末IDを新しい3ndDV情報として、上記パケットおよび新しいDV情報(1stDV情報,2ndDV情報,3ndDV情報)をパケット生成部3Eに送り、通信部1を用いてすぐに中継送信する。   If the own terminal is 1st DV and the number of relay flows fn = 1, the analyzed destination address is the destination terminal ID, and the PDV terminal ID and ODV terminal ID for the destination terminal ID are stored in the DV table 6. One PDV terminal ID that is inquired and responded is set as new PDV information (1stDV information), one ODV terminal ID among the one or more responding ODV terminal IDs is new 2ndDV information, and the other ODV terminal IDs are new As the 3ndDV information, the packet and the new DV information (1stDV information, 2ndDV information, 3ndDV information) are sent to the packet generation unit 3E, and immediately relayed using the communication unit 1.

この手順d)においては、上記パケットの受信によって、自端末が現在中継しているフロー数は1つ増え、中継フロー数fnに1が加算されるので、他のフローを中継していなければ、中継フロー数fn=1であり、例えば上記受信したパケットのフローの他に2つのフローを中継していなれば、中継フロー数fn=3である。つまり、上記手順d)においての中継フロー数fnは、上記受信したパケットのフローを含めたフロー数である。   In this procedure d), the number of flows currently relayed by the terminal increases by one by the reception of the packet, and 1 is added to the number of relay flows fn. Therefore, if other flows are not relayed, The number of relay flows fn = 1. For example, if two flows are not relayed in addition to the received packet flow, the number of relay flows fn = 3. That is, the number of relay flows fn in the procedure d) is the number of flows including the flow of the received packet.

また、自端末が1stDVであって中継フロー数fn≧2であるか、自端末が2ndDV,3rdDVであれば、解析したデスティネーションアドレスをデスティネーション端末IDとして、このデスティネーション端末IDについてのPDV端末IDおよびODV端末IDをDVテーブル6に問い合わせ、応答された1つのPDV端末IDを新しいPDV情報(1stDV情報)とし、応答された1つ以上のODV端末IDの内の1つのODV端末IDを新しい2ndDV情報、その他のODV端末IDを新しい3ndDV情報として、自端末が属するDV(1stDV,2ndDV,3ndDVのいずれに属すか)および中継フロー数fnを時間をずらす装置5Fに送るとともに、上記パケットおよび新しいDV情報(1stDV情報,2ndDV情報,3ndDV情報)をパケット監視部4Eに送り、時間をずらす装置5Fによって設定された保持時間、保持させる。   Further, if the own terminal is 1st DV and the number of relay flows fn ≧ 2, or if the own terminal is 2ndDV, 3rdDV, the analyzed destination address is the destination terminal ID, and the PDV terminal for this destination terminal ID The DV table 6 is inquired about the ID and the ODV terminal ID, and one responded PDV terminal ID is set as new PDV information (1stDV information), and one ODV terminal ID among the responded one or more ODV terminal IDs is new. 2ndDV information and other ODV terminal IDs are set as new 3ndDV information, and the DV to which the terminal belongs (whether it belongs to 1stDV, 2ndDV, or 3ndDV) and the number of relay flows fn are sent to the time shifter 5F, and the packet and the new DV information (1st DV information, ndDV information, 3NdDV information) sent to the packet monitor 4E, the holding time set by the device 5F staggering, is maintained.

また、自端末が1stDV,2ndDV,3rdDVのいずれでもなければ、上記パケットを破棄する。   If the terminal is not any of 1stDV, 2ndDV, and 3rdDV, the packet is discarded.

[時間をずらす装置5F]
時間をずらす装置5Fは、自端末が属するDV(1stDV,2ndDV,3ndDVのいずれに属すか)および中継フロー数fnに応じて、パケット監視部4Eがパケットを保持しておく保持時間(自端末にパケットを待機させる待機時間)を設定する。ここで、受信したパケットをすぐに中継する場合(自端末が1stDVであって中継フロー数fn=1の場合)のパケットの受信から送信までの時間を、例えばSIFS(IEEE802.11bで定められているShort Inter Frame Space)とし、このSIFSにパケット監視部4Eでの保持時間を加算した時間を上記待機時間とする。
[Device 5F for shifting time]
The device 5F for shifting the time has a holding time (a packet is held by the packet monitoring unit 4E) in accordance with the DV to which the terminal belongs (whether it belongs to 1stDV, 2ndDV, or 3ndDV) and the number of relay flows fn. Set the waiting time to wait for a packet. Here, when the received packet is relayed immediately (when the terminal is 1st DV and the number of relay flows fn = 1), the time from reception to transmission of the packet is defined by, for example, SIFS (IEEE802.11b) Short Inter Frame Space), and a time obtained by adding the retention time in the packet monitoring unit 4E to the SIFS is defined as the waiting time.

この時間をずらす装置5Eは、自端末が2ndDVであって中継フロー数fn=1であれば、待機時間をSIFS×2(保持時間をSIFS)に設定し、自端末が3ndDVであって中継フロー数fn=1であれば、待機時間をSIFS×3(保持時間をSIFS×2)に設定し、自端末が1stDVであって中継フロー数fn≧2であれば、待機時間をSIFS+(fn−1)×SIFS×3(保持時間を(fn−1)×SIFS×3)に設定し、自端末が2ndDVであって中継フロー数fn≧2であれば、待機時間をSIFS×2+(fn−1)×SIFS×3(保持時間をSIFS+(fn−1)×SIFS×3)に設定し、自端末が3rdDVであって中継フロー数fn≧2であれば、待機時間をSIFS×3+(fn−1)×SIFS×3(保持時間をSIFS×2+(fn−1)×SIFS×3)に設定する。   The device 5E for shifting the time sets the waiting time to SIFS × 2 (holding time is SIFS) if the own terminal is 2ndDV and the number of relay flows fn = 1, and the own terminal is 3ndDV and the relay flow. If the number fn = 1, the standby time is set to SIFS × 3 (holding time is SIFS × 2), and if the terminal is 1st DV and the number of relay flows fn ≧ 2, the standby time is set to SIFS + (fn− 1) × SIFS × 3 (holding time is set to (fn−1) × SIFS × 3), and if the terminal is 2nd DV and the number of relay flows fn ≧ 2, the waiting time is set to SIFS × 2 + (fn− 1) × SIFS × 3 (holding time is set to SIFS + (fn−1) × SIFS × 3), and if the terminal is 3rdDV and the number of relay flows fn ≧ 2, the waiting time is set to SIFS × 3 + (fn -1) x SIFS x 3 Setting the retention time SIFS × 2 + (fn-1) × SIFS × 3).

ここでは、1stDV,2ndDV,3rdDVの待機時間をそれぞれSIFS,SIFS*2,SIFS*3として、中継の優先順位が低い端末ほど、待機時間(保持時間)を長く設定している。また、複数のフローを中継しいる場合には、2フロー目以降はSIFS×3ずつ後にずらすのが望ましいので、受信パケットのフローを除いた他の中継しているフロー数(fn−1)に応じて待機時間をSIFS×3ずつ長く設定している。   Here, the standby times of 1stDV, 2ndDV, and 3rdDV are set as SIFS, SIFS * 2, and SIFS * 3, respectively, and the standby time (holding time) is set longer for terminals with lower relay priorities. Further, when relaying a plurality of flows, it is desirable to shift SIFS × 3 after the second flow, so that the number of other relayed flows (fn−1) excluding the received packet flow Accordingly, the standby time is set longer by SIFS × 3.

図32は本発明の実施の形態6の複数の端末によって構成されたアドホックネットワークにおいての中継端末の動作を説明するタイムチャートであり、Srcはソース端末、1stは上記1stDVとなる中継端末(1stDV端末)、2ndは上記2ndDVとなる中継端末(2ndDV端末)、3rdは上記3rdDVとなる中継端末(3rdDV端末)を表し、DATAはソース端末(Src)から送信されて中継されるパケットを表す。   FIG. 32 is a time chart for explaining the operation of a relay terminal in an ad hoc network configured by a plurality of terminals according to the sixth embodiment of the present invention, where Src is a source terminal, 1st is the relay terminal (1stDV terminal) that becomes the above-mentioned 1stDV. ) 2nd represents a relay terminal (2ndDV terminal) serving as the 2ndDV, 3rd represents a relay terminal (3rdDV terminal) serving as the 3rdDV, and DATA represents a packet transmitted and relayed from the source terminal (Src).

図32(a)は、1stDV端末,2ndDV端末,3ndDV端末のいずれにおいても、ソース端末(Src)から受信したパケット(DATA)のフローの他に、すでに中継しているフローがない(中継フロー数fn=1)の場合である。   FIG. 32A shows that in any of the 1st DV terminal, 2nd DV terminal, and 3nd DV terminal, there is no flow that has already been relayed in addition to the flow of the packet (DATA) received from the source terminal (Src) (number of relay flows). This is the case of fn = 1).

この図32(a)では、1stDV端末においての待機時間はSIFS(保持時間は0)であり、2ndDV端末においての待機時間はSIFS×2(保持時間はSIFS)に設定され、3ndDV端末においての待機時間はSIFS×3(保持時間はSIFS×2)に設定される。   In FIG. 32A, the standby time in the 1st DV terminal is SIFS (holding time is 0), the standby time in the 2nd DV terminal is set to SIFS × 2 (holding time is SIFS), and the standby time in the 3nd DV terminal is set The time is set to SIFS × 3 (the holding time is SIFS × 2).

そして、1stDV端末,2ndDV端末,3ndDV端末の内、1stDV端末が最も早く待機時間SIFSですぐにパケット(DATA)を中継送信する。2ndDV端末および3ndDV端末は、1stDV端末が中継送信したパケット(DATA)をそれぞれの待機時間内に受信し、その1stDV端末からのパケットおよび保持しているソース端末(Src)からのパケットを破棄する。   Of the 1st DV terminal, 2nd DV terminal, and 3nd DV terminal, the 1st DV terminal relays and transmits the packet (DATA) immediately at the earliest standby time SIFS. The 2nd DV terminal and the 3nd DV terminal receive the packet (DATA) relayed and transmitted by the 1st DV terminal within each waiting time, and discard the packet from the 1st DV terminal and the held source terminal (Src).

また、図32(b)は、2ndDV端末においては、ソース端末(Src)から受信したパケット(DATA)のフローの他に、すでに中継しているフローがない(中継フロー数fn=1である)が、1stDV端末および3ndDV端末においては、ソース端末(Src)から受信したパケット(DATA)のフローの他に、すでに中継しているフローが1つある(中継フロー数fn=2)場合である。   FIG. 32B shows that, in the 2nd DV terminal, there is no flow already relayed in addition to the packet (DATA) flow received from the source terminal (Src) (the number of relay flows fn = 1). However, in the 1st DV terminal and the 3nd DV terminal, there is one flow already relayed (number of relay flows fn = 2) in addition to the flow of the packet (DATA) received from the source terminal (Src).

この図32(b)では、1stDV端末においての待機時間はSIFS×4(保持時間はSIFS×3)に設定され、2ndDV端末においての待機時間はSIFS×2(保持時間はSIFS)に設定され、3ndDV端末においての待機時間はSIFS×6(保持時間はSIFS×5)に設定される。   In FIG. 32B, the standby time in the 1st DV terminal is set to SIFS × 4 (holding time is SIFS × 3), the standby time in the 2nd DV terminal is set to SIFS × 2 (holding time is SIFS), The standby time in the 3nd DV terminal is set to SIFS × 6 (the holding time is SIFS × 5).

そして、1stDV端末,2ndDV端末,3ndDV端末の内、2ndDV端末が最も早く待機時間SIFS×2でパケット(DATA)を中継送信する。1stDV端末および3ndDV端末は、2ndDV端末が中継送信したパケット(DATA)をそれぞれの待機時間内に受信し、その2ndDV端末からのパケットおよび保持しているソース端末(Src)からのパケットを破棄する。つまり、1stDV端末を迂回するバックアップパスによって中継がなされる。   Of the 1stDV terminal, 2ndDV terminal, and 3ndDV terminal, the 2ndDV terminal relays and transmits the packet (DATA) with the waiting time SIFS × 2. The 1st DV terminal and the 3nd DV terminal receive the packet (DATA) relayed and transmitted by the 2nd DV terminal within each waiting time, and discard the packet from the 2nd DV terminal and the held source terminal (Src). That is, relaying is performed by a backup path that bypasses the 1st DV terminal.

以上のように実施の形態6によれば、自端末が現在中継しているフロー数に応じて、受信したパケットの待機時間を調整することにより、多くのフローをすでに中継している場合の自端末の負荷を減らすことができ、ネットワーク全体の負荷分散ができる。   As described above, according to the sixth embodiment, by adjusting the waiting time of the received packet according to the number of flows currently being relayed by the own terminal, the own terminal when many flows have already been relayed is adjusted. The load on the terminal can be reduced, and the load on the entire network can be distributed.

実施の形態7
図33は本発明の実施の形態7の無線通信端末の構成図であり、図1または図31と同様のものには同じ符号を付してある。この実施の形態7の端末は、通信部1と、パケット解析部2Gと、パケット生成部3Aと、パケット監視部4Aと、時間をずらす装置5Gとを備えて構成されている。つまり、実施の形態7の端末は、上記実施の形態6を上記実施の形態1〜4に適用したものであって、上記実施の形態1の端末(図1参照)において、パケット解析部2Aを、上記実施の形態6のパケット解析部2Fに相当するパケット解析部2Gとし、時間をずらす装置5Aを、上記実施の形態6の時間をずらす装置5Fに相当する時間をずらす装置5Gとしたものである。
Embodiment 7
FIG. 33 is a block diagram of the radio communication terminal according to the seventh embodiment of the present invention, and the same components as those in FIG. 1 or FIG. The terminal according to the seventh embodiment includes a communication unit 1, a packet analysis unit 2G, a packet generation unit 3A, a packet monitoring unit 4A, and a device 5G for shifting time. That is, the terminal of the seventh embodiment is obtained by applying the sixth embodiment to the first to fourth embodiments. In the terminal of the first embodiment (see FIG. 1), the packet analysis unit 2A is The packet analysis unit 2G corresponding to the packet analysis unit 2F of the sixth embodiment is used, and the device 5A for shifting the time is a device 5G for shifting the time corresponding to the device 5F for shifting the time of the sixth embodiment. is there.

[パケット解析部2G]
パケット解析部2Gは、通信部1で受信されたパケットを解析する。このパケット解析部2Gは、さらに以下のa)〜d)の4つの解析処理をする。
[Packet analysis unit 2G]
The packet analysis unit 2G analyzes the packet received by the communication unit 1. The packet analysis unit 2G further performs the following four analysis processes a) to d).

a)上記実施の形態1のパケット解析部2Aの上記手順a)と同様に、パス情報(最短パス経由端末情報)を生成し、パケット生成部3Aに送る。   a) Similarly to the procedure a) of the packet analysis unit 2A of the first embodiment, path information (terminal information via the shortest path) is generated and sent to the packet generation unit 3A.

b)上記実施の形態6のパケット解析部2Fの上記手順b)と同様に、中継フロー数fnを保持しており、この中継フロー数fnを更新する。   b) Similar to the procedure b) of the packet analysis unit 2F of the sixth embodiment, the number of relay flows fn is held, and the number of relay flows fn is updated.

c)上記実施の形態1のパケット解析部2Aと同様に自端末を他の端末と区別するための自端末の端末IDを保持しており、通信部1で受信されたパス情報が付加されたパケットから、パス情報と、ソースアドレスと、デスティネーションアドレスと、パケットIDとを解析し、解析したパス情報に自端末のIDが含まれているか否かを判定する。   c) Like the packet analysis unit 2A of the first embodiment, the terminal ID of the own terminal for distinguishing the own terminal from other terminals is held, and the path information received by the communication unit 1 is added. The path information, source address, destination address, and packet ID are analyzed from the packet, and it is determined whether or not the analyzed path information includes the ID of the own terminal.

そして、自端末が上記パス情報に含まれていて中継フロー数fn=1であれば、上記パケットを通信部1を用いてすぐに中継送信する。   If the own terminal is included in the path information and the number of relay flows fn = 1, the packet is immediately relayed using the communication unit 1.

また、自端末が上記パス情報に含まれていて中継フロー数fn≧2であるか、自端末が上記パス情報に含まれていなければ、上記パケットをパケット監視部4Aに送り、時間をずらす装置5Gによって設定された保持時間、保持させる。   In addition, if the own terminal is included in the path information and the number of relay flows fn ≧ 2, or if the own terminal is not included in the path information, the packet is sent to the packet monitoring unit 4A and the time is shifted. Hold for the holding time set by 5G.

[時間をずらす装置5G]
時間をずらす装置5Gは、自端末が上記パス情報に含まれているか否かおよび中継フロー数fnに応じて、パケット監視部4Aがパケットを保持しておく保持時間(自端末にパケットを待機させる待機時間)を設定する。ここで、受信したパケットをすぐに中継する場合(自端末がパス情報に含まれていて中継フロー数fn=1の場合)のパケットの受信から送信までの時間を、例えばSIFS(IEEE802.11bで定められているShort Inter Frame Space)とし、このSIFSにパケット監視部4Aでの保持時間を加算した時間を上記待機時間とする。
[Device 5G for shifting time]
The apparatus 5G for shifting the time waits for the packet monitoring unit 4A to hold the packet (waiting for the own terminal to wait for the packet) according to whether the own terminal is included in the path information and the number of relay flows fn. Set the standby time. Here, when the received packet is relayed immediately (when the own terminal is included in the path information and the number of relay flows fn = 1), the time from reception to transmission of the packet is set, for example, in SIFS (IEEE802.11b). (Short Inter Frame Space), and a time obtained by adding the retention time in the packet monitoring unit 4A to the SIFS is defined as the waiting time.

この時間をずらす装置5Gは、自端末がパス情報に含まれておらず中継フロー数fn=1であれば、待機時間をSIFS×2(保持時間をSIFS)に設定し、自端末が自端末がパス情報に含まれていて中継フロー数fn≧2であれば、待機時間をSIFS+(fn−1)×SIFS×3(保持時間を(fn−1)×SIFS×3)に設定し、自端末がパス情報に含まれておらず中継フロー数fn≧2であれば、待機時間をSIFS×2+(fn−1)×SIFS×3(保持時間をSIFS+(fn−1)×SIFS×3)に設定する。   If the own terminal is not included in the path information and the number of relay flows fn = 1, the apparatus 5G for shifting the time sets the waiting time to SIFS × 2 (the holding time is SIFS), and the own terminal Is included in the path information and the number of relay flows fn ≧ 2, the waiting time is set to SIFS + (fn−1) × SIFS × 3 (the holding time is (fn−1) × SIFS × 3) If the terminal is not included in the path information and the number of relay flows fn ≧ 2, the waiting time is SIFS × 2 + (fn−1) × SIFS × 3 (the holding time is SIFS + (fn−1) × SIFS × 3). Set to.

ここでは、パス情報に含まれる端末での待機時間をSIFS、パス情報に含まれない端末での待機時間をSIFS*2として、中継の優先順位が低い端末ほど、待機時間(保持時間)を長く設定している。また、複数のフローを中継しいる場合には、2フロー目以降はSIFS×3ずつ後にずらすのが望ましいので、受信パケットのフローを除いた他の中継しているフロー数(fn−1)に応じて待機時間をSIFS×3ずつ長く設定している。   Here, the waiting time at the terminal included in the path information is SIFS, the waiting time at the terminal not included in the path information is SIFS * 2, and the terminal having a lower relay priority has a longer waiting time (holding time). It is set. Further, when relaying a plurality of flows, it is desirable to shift SIFS × 3 after the second flow, so that the number of other relayed flows (fn−1) excluding the received packet flow Accordingly, the standby time is set longer by SIFS × 3.

この実施の形態7の複数の端末によって構成されたアドホックネットワークにおいてのパス情報に含まれる中継端末の動作は、例えば上記図32の1stDV端末と同様であり、上記アドホックネットワークにおいてのパス情報に含まれない中継端末の動作は、例えば上記図32の2ndDV端末と同様である。   The operation of the relay terminal included in the path information in the ad hoc network configured by a plurality of terminals according to the seventh embodiment is the same as that of the 1st DV terminal in FIG. 32, for example, and is included in the path information in the ad hoc network. The operation of the non-relay terminal is the same as that of the 2nd DV terminal in FIG.

以上のように実施の形態7によれば、自端末の中継の優先度および自端末が現在中継しているフロー数に応じて、受信したパケットの待機時間を調整することにより、多くのフローをすでに中継している場合の自端末の負荷を減らすことができ、ネットワーク全体の負荷分散ができる。   As described above, according to the seventh embodiment, by adjusting the waiting time of the received packet according to the relay priority of the own terminal and the number of flows currently relayed by the own terminal, It is possible to reduce the load on the own terminal when it is already relayed, and to distribute the load on the entire network.

本発明の実施の形態1の無線通信端末の構成図である。It is a block diagram of the radio | wireless communication terminal of Embodiment 1 of this invention. 図1の端末においての中継手順を説明するフローチャートである。It is a flowchart explaining the relay procedure in the terminal of FIG. 図1の複数の端末で構成されたアドホックネットワークにおいての中継動作を説明する図である。It is a figure explaining the relay operation | movement in the ad hoc network comprised with the some terminal of FIG. 図1の複数の端末で構成されたアドホックネットワークにおいての中継動作を説明する図である。It is a figure explaining the relay operation | movement in the ad hoc network comprised with the some terminal of FIG. 図1の複数の端末で構成されたアドホックネットワークにおいての中継動作を説明する図である。It is a figure explaining the relay operation | movement in the ad hoc network comprised with the some terminal of FIG. 図1の複数の端末で構成されたアドホックネットワークにおいての中継動作を説明する図である。It is a figure explaining the relay operation | movement in the ad hoc network comprised with the some terminal of FIG. 図1の複数の端末で構成されたアドホックネットワークにおいての中継動作を説明する図である。It is a figure explaining the relay operation | movement in the ad hoc network comprised with the some terminal of FIG. 図1の複数の端末で構成されたアドホックネットワークにおいての中継動作を説明する図である。It is a figure explaining the relay operation | movement in the ad hoc network comprised with the some terminal of FIG. 図1の複数の端末で構成されたアドホックネットワークにおいての中継動作を説明する図である。It is a figure explaining the relay operation | movement in the ad hoc network comprised with the some terminal of FIG. 図1の複数の端末で構成されたアドホックネットワークにおいての中継動作を説明する図である。It is a figure explaining the relay operation | movement in the ad hoc network comprised with the some terminal of FIG. 図1の複数の端末で構成されたアドホックネットワークにおいての中継動作を説明する図である。It is a figure explaining the relay operation | movement in the ad hoc network comprised with the some terminal of FIG. 図1の複数の端末で構成されたアドホックネットワークにおいての中継動作を説明する図である。It is a figure explaining the relay operation | movement in the ad hoc network comprised with the some terminal of FIG. 図1の複数の端末で構成されたアドホックネットワークにおいての中継動作を説明する図である。It is a figure explaining the relay operation | movement in the ad hoc network comprised with the some terminal of FIG. 図1の複数の端末で構成されたアドホックネットワークにおいての中継動作を説明する図である。It is a figure explaining the relay operation | movement in the ad hoc network comprised with the some terminal of FIG. 図1の複数の端末で構成されたアドホックネットワークにおいての中継動作を説明する図である。It is a figure explaining the relay operation | movement in the ad hoc network comprised with the some terminal of FIG. 図1の複数の端末で構成されたアドホックネットワークにおいての中継動作を説明する図である。It is a figure explaining the relay operation | movement in the ad hoc network comprised with the some terminal of FIG. 図1の複数の端末で構成されたアドホックネットワークにおいての中継動作を説明する図である。It is a figure explaining the relay operation | movement in the ad hoc network comprised with the some terminal of FIG. 図1の複数の端末で構成されたアドホックネットワークにおいての中継動作を説明する図である。It is a figure explaining the relay operation | movement in the ad hoc network comprised with the some terminal of FIG. 図1の複数の端末で構成されたアドホックネットワークにおいての中継動作を説明する図である。It is a figure explaining the relay operation | movement in the ad hoc network comprised with the some terminal of FIG. 図1の複数の端末で構成されたアドホックネットワークにおいての中継動作を説明する図である。It is a figure explaining the relay operation | movement in the ad hoc network comprised with the some terminal of FIG. 図1の複数の端末で構成されたアドホックネットワークにおいての中継動作を説明する図である。It is a figure explaining the relay operation | movement in the ad hoc network comprised with the some terminal of FIG. 図1の複数の端末で構成されたアドホックネットワークにおいての中継動作を説明する図である。It is a figure explaining the relay operation | movement in the ad hoc network comprised with the some terminal of FIG. 図1の複数の端末で構成されたアドホックネットワークにおいての中継動作を説明する図である。It is a figure explaining the relay operation | movement in the ad hoc network comprised with the some terminal of FIG. 図1の複数の端末で構成されたアドホックネットワークにおいての中継動作を説明する図である。It is a figure explaining the relay operation | movement in the ad hoc network comprised with the some terminal of FIG. 本発明の実施の形態2の無線通信端末の構成図である。It is a block diagram of the radio | wireless communication terminal of Embodiment 2 of this invention. 本発明の実施の形態3の無線通信端末の構成図である。It is a block diagram of the radio | wireless communication terminal of Embodiment 3 of this invention. 本発明の実施の形態4の無線通信端末の構成図である。It is a block diagram of the radio | wireless communication terminal of Embodiment 4 of this invention. 本発明の実施の形態5の無線通信端末の構成図である。It is a block diagram of the radio | wireless communication terminal of Embodiment 5 of this invention. 図28の端末においてDVテーブルの構成図である。It is a block diagram of a DV table in the terminal of FIG. 図28の端末においての中継手順を説明するフローチャートである。It is a flowchart explaining the relay procedure in the terminal of FIG. 本発明の実施の形態6の無線通信端末の構成図である。It is a block diagram of the radio | wireless communication terminal of Embodiment 6 of this invention. 図31の複数の端末で構成されたアドホックネットワークにおいての中継端末の動作を説明するタイムチャートである。FIG. 32 is a time chart for explaining the operation of a relay terminal in an ad hoc network including a plurality of terminals of FIG. 31. FIG. 本発明の実施の形態7の無線通信端末の構成図である。It is a block diagram of the radio | wireless communication terminal of Embodiment 7 of this invention.

符号の説明Explanation of symbols

1 通信部
2A,2E,2F,2G パケット解析部
3A,3E パケット生成部
4A,4E パケット監視部
5A,5B,5C,6D,5E,5F,5G 時間をずらす装置
6 DVテーブル
DESCRIPTION OF SYMBOLS 1 Communication part 2A, 2E, 2F, 2G Packet analysis part 3A, 3E Packet generation part 4A, 4E Packet monitoring part 5A, 5B, 5C, 6D, 5E, 5F, 5G The apparatus which shifts time 6 DV table

Claims (12)

通信ネットワークを構成する他の通信端末との間でパケットの送受信をする通信手段と、
上記通信手段で受信されたパケットから、ソース端末とデスティネーション端末の間の最短パス情報を解析する解析手段と、
自端末が上記最短パスに情報に含まれているか否かを判定し、自端末が上記最短パス情報に含まれていれば、上記パケットを上記通信手段からすぐに中継送信させ、自端末が上記最短パス情報に含まれていなければ、上記パケットを一時待機させる判定手段と、
上記パケットを自端末に待機させるための保持時間を設定する待機設定手段と、
上記判定手段によって待機させた上記パケットを、上記保持時間が経過するまで保持し、上記パケットと同じパケットが他の通信端末によって中継送信されたか否かを監視し、上記保持時間が経過するまでの間に、上記他の通信端末によって上記同じパケットが中継送信されたら、上記保持しているパケットを破棄し、上記保持時間が経過しても、上記他の通信端末によって上記同じパケットが中継送信されなかったら、上記保持しているパケットを上記通信手段から中継送信させるパケット監視手段と
を備えた
ことを特徴とする通信端末。
A communication means for transmitting and receiving packets to and from other communication terminals constituting the communication network;
Analyzing means for analyzing shortest path information between the source terminal and the destination terminal from the packet received by the communication means;
It is determined whether or not the own terminal is included in the information in the shortest path, and if the own terminal is included in the shortest path information, the packet is immediately relayed from the communication means, and the own terminal If not included in the shortest path information, determination means for temporarily waiting the packet;
Standby setting means for setting a holding time for causing the terminal to wait for the packet;
The packet held by the determination unit is held until the holding time elapses, and it is monitored whether the same packet as the packet is relayed by another communication terminal until the holding time elapses. In the meantime, if the same packet is relayed and transmitted by the other communication terminal, the held packet is discarded, and the same packet is relayed and transmitted by the other communication terminal even if the holding time elapses. And a packet monitoring unit that relays and transmits the held packet from the communication unit.
自端末が中継しているフロー数を監視するフロー数監視手段をさらに備え、
上記判定手段は、自端末が上記最短パス情報に含まれていて上記パケットのフローの他に自端末が中継しているフローが無ければ、上記パケットを上記通信手段からすぐに中継送信させ、自端末が上記最短パス情報に含まれていないか、または自端末が上記最短パス情報に含まれていて上記パケットのフローの他に自端末が中継しているフローがあれば、上記パケットを一時待機させ、
上記待機設定手段は、自端末が上記最短パス情報に含まれているか否か、および自端末が中継しているフロー数に応じて、上記保持時間を設定する
ことを特徴とする請求項1に記載の通信端末。
It further comprises flow number monitoring means for monitoring the number of flows relayed by its own terminal,
If the terminal is included in the shortest path information and there is no flow relayed by the terminal other than the flow of the packet, the determination unit immediately relays and transmits the packet from the communication unit. If the terminal is not included in the shortest path information, or if the terminal is included in the shortest path information and there is a flow relayed by the terminal in addition to the flow of the packet, the packet is temporarily suspended. Let
The standby setting means sets the holding time according to whether or not the own terminal is included in the shortest path information and the number of flows relayed by the own terminal. The communication terminal described.
通信ネットワークを構成する他の通信端末との間でパケットの送受信をする通信手段と、
上記通信手段で受信されたパケットから、ソースアドレスと、デスティネーションアドレスと、そのパケットを送ってきた近隣端末のIDと、そのパケットのIDと、PDV情報と、ODV情報とを解析する解析手段と、
デスティネーション端末のIDごとに、自端末が中継送信したパケットをすぐに中継送信させる1つのPDV(Primary Distance Vector)端末のIDと、自端末が中継送信したパケットを一時待機させる1つ以上のODV(Other Distance Vector)端末のIDとを保持するDV保持手段と、
上記パケットが最初に受信したパケットであるか否かを上記パケットIDをもとに判断し、上記パケットが最初に受信したパケットであれば、上記ソースアドレスを上記デスティネーション端末のIDとし、上記近隣端末のIDをPDV端末のIDとして上記DV保持手段に保持させ、上記パケットがすでに受信したパケットと同じパケットであれば、上記ソースアドレスを上記デスティネーション端末のIDとし、上記近隣端末のIDをODV端末のIDとして上記DV保持手段に保持させるDV作成手段と、
自端末が、上記PDV情報に含まれるPDV端末であるか、上記ODV情報に含まれるODV端末であるか、上記PDV端末と上記ODV端末のいずれでもないかを判定し、自端末がPDV端末であれば、上記パケットを上記通信手段からすぐに中継送信させ、自端末がODV端末であれば、上記パケットを一時待機させ、自端末がPDV端末とODV端末のいずれでもなければ、上記パケットを破棄する判定手段と、
上記パケットを自端末に保持させるための保持時間を設定する待機設定手段と、
上記判定手段によって待機させた上記パケットを、上記保持時間が経過するまで保持し、上記パケットと同じパケットが他の通信端末によって中継送信されたか否かを監視し、上記保持時間が経過するまでの間に、上記他の通信端末によって上記同じパケットが中継送信されたら、上記保持しているパケットを破棄し、上記保持時間が経過しても、上記他の通信端末によって上記同じパケットが中継送信されなかったら、上記保持しているパケットを上記通信手段から中継送信させるパケット監視手段と、
上記デスティネーションアドレスをデスティネーション端末のIDとし、このデスティネーション端末のIDについて、上記DV保持手段に保持されている1つのPDV端末IDを新たなPDV情報とするとともに、上記DV保持手段に保持されている1つ以上のODV端末IDを新たなODV情報として、上記通信手段から中継送信する上記パケットの以前のPDV情報および以前のODV情報を上記新たなPDV情報および上記新たなODV情報に更新するDV情報更新手段と
を備えた
ことを特徴とする通信端末。
A communication means for transmitting and receiving packets to and from other communication terminals constituting the communication network;
Analysis means for analyzing a source address, a destination address, an ID of a neighboring terminal that has sent the packet, an ID of the packet, PDV information, and ODV information from the packet received by the communication means; ,
For each destination terminal ID, the ID of one PDV (Primary Distance Vector) terminal that immediately relays and transmits the packet relayed by the terminal, and one or more ODVs that temporarily wait for the packet relayed by the terminal (Other Distance Vector) DV holding means for holding the terminal ID,
Whether the packet is the first received packet is determined based on the packet ID. If the packet is the first received packet, the source address is set as the destination terminal ID and the neighborhood The DV holding means holds the terminal ID as the PDV terminal ID, and if the packet is the same packet as the packet already received, the source address is set as the destination terminal ID and the neighboring terminal ID is set as ODV. DV creation means to be held in the DV holding means as the terminal ID;
It is determined whether the own terminal is a PDV terminal included in the PDV information, an ODV terminal included in the ODV information, or neither the PDV terminal nor the ODV terminal, and the own terminal is a PDV terminal. If there is, the packet is immediately relayed from the communication means. If the terminal is an ODV terminal, the packet is temporarily held. If the terminal is neither a PDV terminal nor an ODV terminal, the packet is discarded. Determination means to perform,
Standby setting means for setting a holding time for holding the packet in the terminal;
The packet held by the determination unit is held until the holding time elapses, and it is monitored whether the same packet as the packet is relayed by another communication terminal until the holding time elapses. In the meantime, if the same packet is relayed and transmitted by the other communication terminal, the held packet is discarded, and the same packet is relayed and transmitted by the other communication terminal even if the holding time elapses. If there is no packet monitoring means for relaying the held packet from the communication means,
The destination address is set as the destination terminal ID, and for the destination terminal ID, one PDV terminal ID held in the DV holding means is set as new PDV information and held in the DV holding means. One or more ODV terminal IDs as new ODV information are used, and the previous PDV information and the previous ODV information of the packet relayed from the communication means are updated to the new PDV information and the new ODV information. A communication terminal comprising: DV information updating means.
自端末が中継しているフロー数を監視するフロー数監視手段をさらに備え、
上記判定手段は、自端末が上記PDV端末であって上記パケットのフローの他に自端末が中継しているフローなければ、上記パケットを上記通信手段からすぐに中継送信させ、自端末が上記ODV端末であるか、または自端末が上記PDV端末であって上記パケットのフローの他に自端末が中継しているフローがあれば、上記パケットを一時待機させ、
上記待機設定手段は、自端末が上記PDV端末であるか上記ODV端末であるか、および自端末が中継しているフロー数に応じて、上記保持時間を設定する
ことを特徴とする請求項3に記載の通信端末。
It further comprises flow number monitoring means for monitoring the number of flows relayed by its own terminal,
If the terminal is the PDV terminal and the flow is not relayed by the terminal in addition to the flow of the packet, the determination means causes the packet to be relayed immediately from the communication means, and the terminal transmits the ODV. If it is a terminal, or if the terminal is the PDV terminal and there is a flow relayed by the terminal in addition to the flow of the packet, the packet is temporarily held,
The standby setting means sets the holding time according to whether the own terminal is the PDV terminal or the ODV terminal and the number of flows relayed by the own terminal. The communication terminal described in 1.
通信ネットワークを構成する他の通信端末との間でパケットの送受信をする通信手段と、
上記通信手段で受信されたパケットから、ソースアドレスと、デスティネーションアドレスと、そのパケットを送ってきた近隣端末のIDと、そのパケットのIDと、第1〜第n(nは2以上の整数)のDV情報とを解析する解析手段と、
デスティネーション端末のIDごとに、自端末が中継送信したパケットをすぐに中継送信させる1つのPDV(Primary Distance Vector)端末のIDと、自端末が中継送信したパケットを一時待機させる1つ以上のODV(Other Distance Vector)端末のIDとを保持するDV保持手段と、
上記パケットが最初に受信したパケットであるか否かを上記パケットIDをもとに判断し、上記パケットが最初に受信したパケットであれば、上記ソースアドレスを上記デスティネーション端末のIDとし、上記近隣端末のIDをPDV端末のIDとして上記DV保持手段に保持させ、上記パケットがすでに受信したパケットと同じパケットであれば、上記ソースアドレスを上記デスティネーション端末のIDとし、上記近隣端末のIDをODV端末のIDとして上記DV保持手段に保持させるDV作成手段と、
自端末が、上記第k(kは1からnまでのいずれかの整数)のDV情報に含まれる第kのDV端末であるか、第1〜第nのDV端末のいずれでもないかを判定し、自端末が第1のDV端末であれば、上記パケットを上記通信手段からすぐに中継送信させ、自端末が第2〜第nのODV端末のいずれかであれば、上記パケットを一時待機させ、自端末が第1〜第nのDV端末のいずれでもなければ、上記パケットを破棄する判定手段と、
上記パケットを自端末に保持させるための保持時間を設定する待機設定手段と、
上記判定手段によって待機させた上記パケットを、上記保持時間が経過するまで保持し、上記パケットと同じパケットが他の通信端末によって中継送信されたか否かを監視し、上記保持時間が経過するまでの間に、上記他の通信端末によって上記同じパケットが中継送信されたら、上記保持しているパケットを破棄し、上記保持時間が経過しても、上記他の通信端末によって上記同じパケットが中継送信されなかったら、上記保持しているパケットを上記通信手段から中継送信させるパケット監視手段と、
上記デスティネーションアドレスをデスティネーション端末のIDとし、このデスティネーション端末のIDについて、上記DV保持手段に保持されている1つのPDV端末IDを新たな第1のDV情報とするとともに、上記DV保持手段に保持されている1つ以上のODV端末IDのそれぞれを新たな第2〜第m(mは2以上の整数)のDV情報として、上記通信手段から中継送信する上記パケットの以前の第1〜第nのODV情報を上記新たな第1〜第mのDV情報に更新するDV情報更新手段と
を備えた
ことを特徴とする通信端末。
A communication means for transmitting and receiving packets to and from other communication terminals constituting the communication network;
From the packet received by the communication means, the source address, the destination address, the ID of the neighboring terminal that sent the packet, the ID of the packet, and the first to nth (n is an integer of 2 or more) Analysis means for analyzing the DV information of
For each destination terminal ID, the ID of one PDV (Primary Distance Vector) terminal that immediately relays and transmits the packet relayed by the terminal, and one or more ODVs that temporarily wait for the packet relayed by the terminal (Other Distance Vector) DV holding means for holding the terminal ID,
Whether the packet is the first received packet is determined based on the packet ID. If the packet is the first received packet, the source address is set as the destination terminal ID and the neighborhood The DV holding means holds the terminal ID as the PDV terminal ID, and if the packet is the same packet as the packet already received, the source address is set as the destination terminal ID and the neighboring terminal ID is set as ODV. DV creation means to be held in the DV holding means as the terminal ID;
It is determined whether the own terminal is the k-th DV terminal included in the k-th DV information (k is any integer from 1 to n) or any of the first to n-th DV terminals. If the own terminal is the first DV terminal, the packet is immediately relayed from the communication means, and if the own terminal is one of the second to nth ODV terminals, the packet is temporarily held. If the terminal is not one of the first to n-th DV terminals, a determination unit that discards the packet;
Standby setting means for setting a holding time for holding the packet in the terminal;
The packet held by the determination unit is held until the holding time elapses, and it is monitored whether the same packet as the packet is relayed by another communication terminal until the holding time elapses. In the meantime, if the same packet is relayed and transmitted by the other communication terminal, the held packet is discarded, and the same packet is relayed and transmitted by the other communication terminal even if the holding time elapses. If there is no packet monitoring means for relaying the held packet from the communication means,
The destination address is the ID of the destination terminal, and for this destination terminal ID, one PDV terminal ID held in the DV holding means is set as new first DV information, and the DV holding means Each of the one or more ODV terminal IDs held in the above as the first to second m-th (m is an integer greater than or equal to 2) DV information, the previous first to first packets of the packet to be relayed from the communication means DV information updating means for updating the nth ODV information to the new first to mth DV information. A communication terminal, comprising:
自端末が中継しているフロー数を監視するフロー数監視手段をさらに備え、
上記判定手段は、自端末が上記第1のDV端末であって上記パケットのフローの他に自端末が中継しているフローなければ、上記パケットを上記通信手段からすぐに中継送信させ、自端末が上記第2〜第nのDV端末であるか、または自端末が上記第1のDV端末であって上記パケットのフローの他に自端末が中継しているフローがあれば、上記パケットを一時待機させ、
上記待機設定手段は、自端末が上記第1〜第nのPDV端末のいずれであるか、および自端末が中継しているフロー数に応じて、上記保持時間を設定する
ことを特徴とする請求項5に記載の通信端末。
It further comprises flow number monitoring means for monitoring the number of flows relayed by its own terminal,
If the own terminal is the first DV terminal and the flow is not relayed by the own terminal in addition to the flow of the packet, the determining means causes the packet to be immediately relayed and transmitted from the communication means. Is the second to n-th DV terminals, or if the terminal is the first DV terminal and there is a flow relayed by the terminal in addition to the flow of the packet, the packet is temporarily Wait,
The standby setting means sets the holding time according to whether the own terminal is the first to n-th PDV terminals and the number of flows relayed by the own terminal. Item 6. The communication terminal according to Item 5.
上記待機設定手段は、周辺端末の通信状況に応じて、上記保持時間を設定することを特徴とする請求項1,3,5のいずれか一つに記載の通信端末。   6. The communication terminal according to claim 1, wherein the standby setting unit sets the holding time according to a communication status of a peripheral terminal. 上記待機設定手段は、周辺端末の活動状況に応じて、上記保持時間を設定することを特徴とする請求項1,3,5のいずれか一つに記載の通信端末。   6. The communication terminal according to claim 1, wherein the standby setting unit sets the holding time according to an activity situation of a peripheral terminal. 上記待機設定手段は、周辺端末の通信状況および活動状況に応じて、上記保持時間を設定することを特徴とする請求項1,3,5のいずれか一つに記載の通信端末。   6. The communication terminal according to claim 1, wherein the standby setting unit sets the holding time according to a communication status and an activity status of a peripheral terminal. 上記待機設定手段は、特定のアルゴリズムに従って、特定の情報を用いて上記保持時間を設定することを特徴とする請求項1,3,5のいずれか一つに記載の通信端末。   6. The communication terminal according to claim 1, wherein the standby setting unit sets the holding time using specific information according to a specific algorithm. 請求項1,3,5のいずれか一つに記載の複数の通信端末によって構成されたことを特徴とする通信ネットワーク。   A communication network comprising a plurality of communication terminals according to claim 1. それぞれルータ機能を備えた複数の通信端末によって構成された通信ネットワークにおいて、
ソース端末とデスティネーション端末の間に構築する複数のパスに優先度を設定し、
最も優先度の高いパスを構成する中継端末では、受信したパケットをすぐに中継送信させ、
優先度の低いパスを構成する中継端末では、受信したパケットを一時待機させて、上記優先度の高いパスがそのパケットの中継送信をしたか否かを一定時間監視させ、その監視時間内に上記優先度の高いパスの中継送信を検出できなかった場合は、上記受信したパケットを中継送信させ、上記優先度の高いパスの中継送信を検出できた場合は、上記受信したパケットを破棄させる
ことを特徴とする通信ネットワーク。
In a communication network composed of a plurality of communication terminals each having a router function,
Set priorities for multiple paths built between the source and destination terminals,
The relay terminal that configures the path with the highest priority relays the received packet immediately,
In the relay terminal configuring the low priority path, the received packet is temporarily waited to monitor whether the high priority path relays the packet for a certain period of time. If the relay transmission of the high priority path cannot be detected, the received packet is relayed. If the relay transmission of the high priority path is detected, the received packet is discarded. A featured communication network.
JP2003379638A 2003-11-10 2003-11-10 Communication terminal and communication network Expired - Fee Related JP4193678B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2003379638A JP4193678B2 (en) 2003-11-10 2003-11-10 Communication terminal and communication network
US10/981,630 US7664032B2 (en) 2003-11-10 2004-11-05 Communication terminal and communication network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003379638A JP4193678B2 (en) 2003-11-10 2003-11-10 Communication terminal and communication network

Publications (2)

Publication Number Publication Date
JP2005143001A true JP2005143001A (en) 2005-06-02
JP4193678B2 JP4193678B2 (en) 2008-12-10

Family

ID=34689631

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003379638A Expired - Fee Related JP4193678B2 (en) 2003-11-10 2003-11-10 Communication terminal and communication network

Country Status (1)

Country Link
JP (1) JP4193678B2 (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006132072A1 (en) * 2005-06-10 2006-12-14 Next Magic Incorporated Communication apparatus
JP2007124128A (en) * 2005-10-26 2007-05-17 Oki Electric Ind Co Ltd Autonomous distributed radio system
KR100862356B1 (en) * 2007-03-30 2008-10-13 전자부품연구원 Adaptive communication method using path-diversity routing and communication node performing the same
JP2009010689A (en) * 2007-06-28 2009-01-15 Advanced Telecommunication Research Institute International WIRELESS NETWORK, WIRELESS DEVICE USED FOR THE SAME, PROGRAM FOR CAUSING COMPUTER SELECTION OF TRANSFER TERMINAL IN THE SAME AND COMPUTER-READABLE RECORDING MEDIUM CONTAINING THE PROGRAM
WO2009008937A3 (en) * 2007-04-13 2009-08-13 Hart Communicaton Foundation Priority-based scheduling and routing in a wireless ntework
JP2010016582A (en) * 2008-07-03 2010-01-21 Enzan Kobo:Kk Moving object monitoring system in construction site
WO2010103818A1 (en) * 2009-03-12 2010-09-16 パナソニック株式会社 Optimal route selection apparatus, optimal route selection method, and program
JP2010534448A (en) * 2007-07-25 2010-11-04 アルカテル−ルーセント ユーエスエー インコーポレーテッド Method for managing transmissions in a wireless communication network
CN101026581B (en) * 2006-02-21 2010-12-01 株式会社Ntt都科摩 Communication node and routing method
US8230108B2 (en) 2007-04-13 2012-07-24 Hart Communication Foundation Routing packets on a network using directed graphs
US8325627B2 (en) 2007-04-13 2012-12-04 Hart Communication Foundation Adaptive scheduling in a wireless network
US8356431B2 (en) 2007-04-13 2013-01-22 Hart Communication Foundation Scheduling communication frames in a wireless network
US8441947B2 (en) 2008-06-23 2013-05-14 Hart Communication Foundation Simultaneous data packet processing
US8570922B2 (en) 2007-04-13 2013-10-29 Hart Communication Foundation Efficient addressing in wireless hart protocol

Cited By (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7769013B2 (en) 2005-06-10 2010-08-03 Next Magic Incorporated Communication apparatus
JP2006345334A (en) * 2005-06-10 2006-12-21 Next Magic Inc Communication apparatus
WO2006132072A1 (en) * 2005-06-10 2006-12-14 Next Magic Incorporated Communication apparatus
JP2007124128A (en) * 2005-10-26 2007-05-17 Oki Electric Ind Co Ltd Autonomous distributed radio system
CN101026581B (en) * 2006-02-21 2010-12-01 株式会社Ntt都科摩 Communication node and routing method
KR100862356B1 (en) * 2007-03-30 2008-10-13 전자부품연구원 Adaptive communication method using path-diversity routing and communication node performing the same
US8325627B2 (en) 2007-04-13 2012-12-04 Hart Communication Foundation Adaptive scheduling in a wireless network
US8356431B2 (en) 2007-04-13 2013-01-22 Hart Communication Foundation Scheduling communication frames in a wireless network
US8892769B2 (en) 2007-04-13 2014-11-18 Hart Communication Foundation Routing packets on a network using directed graphs
US8798084B2 (en) 2007-04-13 2014-08-05 Hart Communication Foundation Increasing reliability and reducing latency in a wireless network
US8660108B2 (en) 2007-04-13 2014-02-25 Hart Communication Foundation Synchronizing timeslots in a wireless communication protocol
WO2009008937A3 (en) * 2007-04-13 2009-08-13 Hart Communicaton Foundation Priority-based scheduling and routing in a wireless ntework
US8169974B2 (en) 2007-04-13 2012-05-01 Hart Communication Foundation Suspending transmissions in a wireless network
US8670746B2 (en) 2007-04-13 2014-03-11 Hart Communication Foundation Enhancing security in a wireless network
US8230108B2 (en) 2007-04-13 2012-07-24 Hart Communication Foundation Routing packets on a network using directed graphs
US8670749B2 (en) 2007-04-13 2014-03-11 Hart Communication Foundation Enhancing security in a wireless network
US8942219B2 (en) 2007-04-13 2015-01-27 Hart Communication Foundation Support for network management and device communications in a wireless network
US8406248B2 (en) 2007-04-13 2013-03-26 Hart Communication Foundation Priority-based scheduling and routing in a wireless network
US8570922B2 (en) 2007-04-13 2013-10-29 Hart Communication Foundation Efficient addressing in wireless hart protocol
US8451809B2 (en) 2007-04-13 2013-05-28 Hart Communication Foundation Wireless gateway in a process control environment supporting a wireless communication protocol
JP2009010689A (en) * 2007-06-28 2009-01-15 Advanced Telecommunication Research Institute International WIRELESS NETWORK, WIRELESS DEVICE USED FOR THE SAME, PROGRAM FOR CAUSING COMPUTER SELECTION OF TRANSFER TERMINAL IN THE SAME AND COMPUTER-READABLE RECORDING MEDIUM CONTAINING THE PROGRAM
JP2010534448A (en) * 2007-07-25 2010-11-04 アルカテル−ルーセント ユーエスエー インコーポレーテッド Method for managing transmissions in a wireless communication network
US8441947B2 (en) 2008-06-23 2013-05-14 Hart Communication Foundation Simultaneous data packet processing
JP2010016582A (en) * 2008-07-03 2010-01-21 Enzan Kobo:Kk Moving object monitoring system in construction site
US8213298B2 (en) 2009-03-12 2012-07-03 Panasonic Corporation Best path selecting device, best path selecting method, and program
JP2010213183A (en) * 2009-03-12 2010-09-24 Panasonic Corp Apparatus and method for selection of route, and program
WO2010103818A1 (en) * 2009-03-12 2010-09-16 パナソニック株式会社 Optimal route selection apparatus, optimal route selection method, and program

Also Published As

Publication number Publication date
JP4193678B2 (en) 2008-12-10

Similar Documents

Publication Publication Date Title
JP4571666B2 (en) Method, communication device and system for address resolution mapping in a wireless multi-hop ad hoc network
US8797913B2 (en) Reduction of message and computational overhead in networks
EP1936889B1 (en) Location aware packet routing in an ad-hoc network
EP2421206B1 (en) Flooding-based routing protocol having database pruning and rate-controlled state refresh
EP1936888B1 (en) Distance adaptive routing protocol
KR20090030320A (en) Mobile ad-hawk network and method for executing multipath for fault tolerance
JP4193678B2 (en) Communication terminal and communication network
US20050099983A1 (en) Communication terminal and communication network
EP2361485B1 (en) Selective a priori reactive routing
US8774051B2 (en) Path notification
JP2008167451A (en) Dynamic link management of data paths in mobile ad hoc networks
CN106953683B (en) Route realization method suitable for large-scale dynamic networking based on MF-TDMA satellite channel
JP2004336726A (en) Routing control method, router device, and terminal device
US8254348B2 (en) Voice-over-internet protocol intra-vehicle communications
US20120163233A1 (en) Method for transmitting routing information and routing apparatus in wireless network
JP4369459B2 (en) Method and apparatus for discovering disjoint routes to multiple service nodes
Devaraju et al. A multipath local route repair scheme for bidirectional traffic in an airborne network of multibeam FDD nodes
JP5131127B2 (en) Route control apparatus, route control method, route control program, and node
JP4572173B2 (en) Wireless communication apparatus, wireless communication method, and route information table creation method
US11252074B2 (en) Detection of multihoming misconfiguration
JP4222188B2 (en) Communication terminal and communication network
JP4124099B2 (en) Communication terminal and communication network
JP2009124303A (en) Message transfer method in ad hoc network
JP3797157B2 (en) Wireless node path registration method, wireless node, program, and recording medium recording program
JP4564442B2 (en) Route search device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060125

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20071031

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20071113

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20071217

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080415

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080613

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20080902

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080915

R150 Certificate of patent or registration of utility model

Ref document number: 4193678

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20111003

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20111003

Year of fee payment: 3

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

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

Free format text: PAYMENT UNTIL: 20111003

Year of fee payment: 3

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20111003

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20121003

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20121003

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20131003

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees