JP3613185B2 - Wireless node and packet route search method thereof - Google Patents
Wireless node and packet route search method thereof Download PDFInfo
- Publication number
- JP3613185B2 JP3613185B2 JP2001040341A JP2001040341A JP3613185B2 JP 3613185 B2 JP3613185 B2 JP 3613185B2 JP 2001040341 A JP2001040341 A JP 2001040341A JP 2001040341 A JP2001040341 A JP 2001040341A JP 3613185 B2 JP3613185 B2 JP 3613185B2
- Authority
- JP
- Japan
- Prior art keywords
- node
- route
- message
- specific
- wireless
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Small-Scale Networks (AREA)
- Mobile Radio Communication Systems (AREA)
Description
【0001】
【発明の属する技術分野】
本発明は、無線インタフェースを通してパケットの送受信を行い、また複数の無線ノードを経由してパケットの送受信を可能とする無線ノードに関し、特に有線インタフェースも具備するゲートウェイノードのような特定のノードとの通信が頻繁に発生する無線ネットワークを構成する無線ノードに関する。また、そのパケット経路探索方法に関する。
【0002】
【従来の技術】
従来無線ノード(以下「ノード」という)間でのパケット転送に関しては、転送経路を常時構築しておくテーブル駆動方式、通信の必要が生じた時に転送経路を構築するオンデマンド方式、及びそれらを組み合わせるハイブリッド方式が提案されてきた。
【0003】
テーブル駆動方式では、各ノードが定期的あるいはトポロジの変化を検出した時に、経路情報をネットワーク全体にブロードキャストし、その情報に基づいて各ノードが常時経路を構築しておくため、通信の必要が生じた時にすぐにパケットの送信を開始することが可能となるが、不要な経路構築のための処理や通信が生じる。オンデマンド方式では、通信の必要が生じた時にネットワーク全体に経路探索メッセージをブロードキャストし、宛先ノードなどがその返答を返すことにより経路を構築するため、通常時に経路構築のための処理や通信が不要となるが、通信の必要が生じてから最初のデータパケットの転送開始までに遅延が生じる。
【0004】
そこでそれらの欠点を補うために、「Zygmunt J. Hass 著、”A New Routing Protocol for the Reconfigurable Wireless Networks”、in IEEE ICUPC ’97 pp. 562‐566, 1997」などで提案されているZRP(Zone Routing Protocol)では、ゾーン半径(zone radius)という概念を導入し、各ノードはゾーン半径内のノードヘの経路はテーブル駆動方式で管理し、ゾーン半径外のノードヘの経路はオンデマンド方式で構築する、こととしている。
【0005】
例えばゾーン半径を「2ホップ」とすると、あるノードから2ホップ内の全てのノードヘの経路は常時構築しておく。よって2ホップ内のノードヘの通信要求が生じた場合には、該経路を用いてただちに通信が可能となる。
【0006】
一方2ホップ内には存在しない宛先ノードへの通信要求が生じた場合は、ゾーンの外周ノード、すなわち丁度2ホップの範囲にある全てのノードヘ宛先ノードヘの経路構築要求メッセージをブロードキャストする。該経路構築要求メッセージを受信した外周ノードは、宛先ノードが自ノードの2ホップ内にあれば、常時経路を構築しているはずなので、その旨を記した返答メッセージを要求元ノードヘ送信する。その結果要求元ノードは、「該返答メッセージの送信元外周ノードヘパケットを転送すれば該宛先ノードヘパケットを送信可能」、であることが分かり、経路が構築されたこととなる。一方もし該経路構築要求メッセージを受信した外周ノードの2ホップ内に該宛先ノードがなければ自ノードのゾーンの外周、すなわち丁度2ホップの範囲に存在する全てのノードヘ該経路構築要求メッセージを転送する。これを繰り返すことにより、経路の要求元ノードから該宛先ノードヘの経路を構築することが可能となる。
【0007】
図2は、このような従来の無線ネットワークにおける、オンデマンド方式とテーブル駆動方式のハイブリッド型パケット転送経路構築方法が適用されるネットワーク構成図である。ノード500〜ノード630から構成され、ノード500はノード510及びノード520と、ノード510はノード500、ノード540及びノード560と、ノード520はノード500、ノード530及びノード550と、ノード530はノード520と、ノード540はノード510、ノード550及びノード570と、ノード550はノード520及びノード540と、ノード560はノード510及びノード630と、ノード570はノード540及びノード580と、ノード580はノード570と、ノード590はノード630、ノード600及びノード610と、ノード600はノード590と、ノード610はノード590及びノード620と、ノード620はノード610と、ノード630はノード560及び590と、それぞれ無線リンクで直接通信可能である。また、ゾーン半径を「2ホップ」とした時、ゾーン700はノード500から2ホップ内のゾーンを表し、ゾーン710はノード560から2ホップ内のゾーンを表し、ゾーン720はノード590から2ホップ内のゾーンを表す。
【0008】
この時ノード500ではゾーン内のノードへの経路は常時構築しておくため、ノード510、ノード520、ノード530、ノード540、ノード550、ノード560宛のパケット送信要求が発生した場合には遅延なく送信を開始できる。
【0009】
一方、それ以外のノードヘの経路は通常は構築していないため、パケット送信要求が発生してから経路を構築する必要がある。例えばノード500からノード620へのパケット送信要求が発生した場合、ノード500はゾーン内にノード620が存在しないため、ゾーンの外周ノードであるノード530、ノード540、ノード550及びノード560にノード620宛の経路構築要求メッセージを送信する。
【0010】
ノード530、ノード540、ノード550及びノード560は、それぞれのノードのゾーン内にノード620が存在しないため、該経路構築要求メッセージをそれぞれのゾーンの外周ノードヘ転送する。例えばノード560は、ノード500、ノード540及びノード590へ転送する。
【0011】
ノード500は該経路構築要求メッセージが自ノードから送信したものであることを確認し、該メッセージを破棄する。ノード540は該経路構築要求メッセージが既に受信済のメッセージと同じ要求元及び宛先であることを確認し、該メッセージを破棄する。
【0012】
一方ノード590は自ノードのゾーン内にノード620が存在するため、返答メッセージをノード560ヘユニキャストする。該返答メッセージを受信したノード560は、該メッセージ中の情報に基づいてノード620への経路を構築し、ノード500へ返答メッセージを送信する。ノード500では該返答メッセージを受信し、該メッセージ中の情報に基づいてノード620への経路を構築する。これにより、ノード500からノード620へのパケット転送が可能となる。
【0013】
このようにテーブル駆動型とオンデマンド型を組み合わせることにより、常時経路を構築しておくのに必要な処理や通信やメモリ量をゾーン内のノードヘの経路構築に関するもののみに限定し、かつオンデマンドで経路を構築する場合をゾーン外のノードの通信に関する場合のみに限定して通信開始までの平均遅延を削減している。
【0014】
【発明が解決しようとする課題】
前述のように、従来のハイブリッド型の経路構築では、ノードからの距離によってテーブル駆動型とオンデマンド型を切替えるため、遠い距離に存在するノード間の通信が頻繁に発生する場合に通信開始までに大きな遅延が生じたり、近い距離に存在するノード間の通信があまり発生しない場合に、各ノードでの無駄な処理や通信やメモリ使用が生じる。
【0015】
一方有線インタフェースも具備する無線ノードであるゲートウェイノードを経由して無線ネットワークと有線ネットワークが接続されており、多くの無線ノードはゲートウェイノードを通じて有線ネットワーク内のノードと頻繁に通信を行う通信形態を考えると、このような通信形態ではノード間の距離には関係なく、各無線ノードからゲートウェイノードヘの通信は頻繁に発生し、それ以外の無線ノード間の通信はあまり頻繁に発生しない。よって、従来のハイブリッド型の経路構築では、大きな遅延や各ノードでの無駄な処理や通信やメモリ使用が生じる。
【0016】
例えば図2におけるネットワークにおいて、ゾーン半径が2ホップであり、ノード580やノード620がゲートウェイノードである場合、それらのノードのゾーン内にないノード、例えばノード500では、ゲートウェイノードを通じて有線ネットワーク内のノードとの通信の必要が生じるたびに、経路構築を行わなければならず、パケット転送要求が発生してからパケット転送開始するまでの遅延が増大する。逆にゾーン半径を大きくすると、各ノードはより多くのノードヘの経路を常時構築する必要があり、そのために必要な処理や通信やメモリ量がより大きくなってしまう。
【0017】
本発明の目的は、このような従来の課題を解決し、各ノードがある特定のノードとは頻繁に通信するが、それ以外の無線ノードとはあまり頻繁に通信しない場合に、通信開始までの遅延や各ノードでの無駄な処理や通信やメモリ使用を削減する、無線ノードの構成法に関する。
【0018】
【課題を解決するための手段】
上記目的を達成するために、本発明によれば、無線インタフェースを通してパケットの送受信を行う手段を有する無線ノードにおいて、「ある宛先ノードヘパケットを届けるために該パケットを転送すべき隣接ノード」及び「該隣接ノードを通じて該宛先ノードにパケットが届くまでに経由する経路の性質を表す値であるメトリック」を記したパケット転送の経路の集合である経路表を保持し、該経路表に従って他ノード宛のパケットの中継を行う手段と、当該無線ノード自身の立ち上げ時、若しくは一定時間毎、又は特定ノードとの間の経路に障害を検出した時に、特定ノード調査メッセージを、無線リンクで直接通信可能な範囲のノードにブロードキャストする手段と、特定ノード調査メッセージを受信した時に、当該無線ノードが保持している特定ノードヘの経路を記した特定ノード通知メッセージを、特定ノード調査メッセージを送信したノードに返送する手段と、特定ノード通知メッセージを受信した時に、該特定ノード通知メッセージ内に記された経路の中に「経路表で保持していない特定ノードへの経路」が存在する場合に、該特定ノード通知メッセージ内の該経路を経路表に追加し、特定ノード通知メッセージ内に記された経路の中に「経路表で経路を保持しているある特定ノードヘの経路」が存在し、かつ、該特定ノード通知メッセージ内に記された経路の方が経路表に存在する経路よりもメトリックが小さい場合に、経路表内の該経路を該特定ノード通知メッセージ内に記された経路に変更し、経路表への追加又は変更が生じた場合に、該経路表内の特定ノードヘの経路を含んだ特定ノード通知メッセージを、無線リンクで直接通信可能な範囲のノードにブロードキャストする手段と、ある宛先ノードヘのパケットの転送要求が発生した時に、経路表に該宛先ノードに対応する経路がない場合に、該宛先ノードヘ向けた経路要求メッセージを、無線リンクで直接通信可能な範囲のノードにブロードキャストし、該経路要求メッセージに対する経路応答メッセージを受信した場合に、該経路応答メッセージの送信ノード、及び該経路応答メッセージ中に記載のメトリックを該経路宛先ノードヘの経路として経路表へ追加する手段と、他ノードからの経路要求メッセージを受信した場合に、該経路要求メッセージ中の情報を用いて、該経路要求メッセージの送信ノード宛の経路を経路表に追加するとともに、当該無線ノード自身が該経路要求メッセージ中に記載の宛先ノードであれば、該経路要求メッセージの送信ノードに宛に経路応答メッセージを送信し、当該無線ノード自身が宛先ノードでなければ、該経路要求メッセージを、無線リンクで直接通信可能な範囲のノードにブロードキャストする手段とを有する。
【0019】
また、本発明によれば、無線インタフェースを通してパケットの送受信を行う手段を有する無線ノードにおいて、当該無線ノードは特定ノードであって、「ある宛先ノードヘパケットを届けるために該パケットを転送すべき隣接ノード」及び「該隣接ノードを通じて該宛先ノードにパケットが届くまでに経由する経路の性質を表す値であるメトリック」を記したパケット転送の経路の集合である経路表を保持し、該経路表に従って他ノード宛のパケットの中継を行う手段と、当該無線ノード自身の立ち上げ時、又は一定時間毎に、当該無線ノード自身が特定ノードであることを示した特定ノード通知メッセージを無線リンクで直接通信可能な範囲のノードにブロードキャストする手段と、一定時間毎又は特定ノードヘの経路に障害を検出した時に、特定ノード調査メッセージを無線リンクで直接通信可能な範囲のノードにブロードキャストする手段と、特定ノード調査メッセージを受信した時に、当該無線ノード自身が特定ノードであることと、他の無線ノードが更なる特定ノードであった場合の該特定ノードへの経路とを示した特定ノード通知メッセージを、該特定ノード調査メッセージを送信したノードに返送する手段と、特定ノード通知メッセージを受信した時に、該特定ノード通知メッセージ内に記された経路の中に「経路表で保持していない特定ノードへの経路」が存在する場合に、該特定ノード通知メッセージ内の該経路を経路表に追加し、該特定ノード通知メッセージ内に記された経路の中に「経路表で経路を保持しているある特定ノードヘの経路」が存在し、かつ、該特定ノード通知メッセージ内に記された経路の方が経路表に存在する経路よりもメトリックが小さい場合に、経路表内の該経路を該特定ノード通知メッセージ内に記された経路に変更し、経路表への追加又は変更が生じた場合に、経路表内の特定ノードヘの経路を含んだ特定ノード通知メッセージを、無線リンクで直接通信可能な範囲のノードにブロードキャストする手段と、ある宛先ノードヘのパケットの転送要求が発生した時に、経路表に該宛先ノードに対応する経路がない場合に、該宛先ノードヘ向けた経路要求メッセージを、無線リンクで直接通信可能な範囲のノードにブロードキャストし、該経路要求メッセージに対する経路応答メッセージを受信した時に、該経路応答メッセージの送信ノードと、該経路応答メッセージ中に記載のメトリックとを、該経路宛先ノードヘの経路として経路表へ追加する手段と、他ノードからの経路要求メッセージを受信した時に、該経路要求メッセージ中の情報を用いて、該経路要求メッセージの送信ノード宛の経路を経路表に追加するとともに、当該無線ノード自身が該経路要求メッセージ中に記載の宛先ノードであれば、該経路要求メッセージの送信ノード宛に経路応答メッセージを送信し、当該無線ノード自身が宛先ノードでなければ、該経路要求メッセージを、無線リンクで直接通信可能な範囲のノードにブロードキャストする手段とを有する。
【0020】
本発明の他の実施形態によれば、経路のメトリックを、「該経路が経由する無線リンクの数」又は「該経路が経由する無線リンクのうちで最も小さい帯域の逆数」とすることも好ましい。
【0021】
本発明の他の実施形態によれば、データパケットのヘッダ内に経路構築要求のON/OFFを示すフラグを設け、ある特定ノードヘのパケット転送時に、該特定ノードヘ最初に送信するデータパケットの経路構築要求フラグをONとし、経路構築要求を示すフラグがONであるパケットを受信した時に、該パケット中の情報を用いて該パケットの送信元への経路を構築することも好ましい。
【0022】
本発明の他の実施形態によれば、特定ノード通知メッセージを受信した時に、該特定ノード通知メッセージ内に記された経路の中に「経路表で保持していない特定ノードへの経路」が存在しても、該経路のメトリックが一定値以上である場合に該経路を追加しないことも好ましい。
【0023】
本発明の他の実施形態によれば、特定ノード通知メッセージを受信し、経路表への追加が生じた場合に、経路表内の経路のうちメトリックの小さい方から一定数のみ残し、残りの経路は経路表から削除し、その結果、該特定ノード通知メッセージの受信前と受信後で経路表の内容に変更が生じた場合に、経路表の内容を含んだ特定ノード通知メッセージを無線リンクで直接通信可能な範囲のノードにブロードキャストすることも好ましい。
【0024】
本発明の他の実施形態によれば、特定ノード通知メッセージを受信した場合に、該特定ノード通知メッセージを無線リンクで直接送信してきた送信ノードが、既に経路表の、いずれの経路の次ノードとしても登録されていない場合に、又は該送信ノードが経路表内のいずれかの経路の次ノードとして登録されている場合であって、経路表内の該経路のメトリックよりも、該特定ノード通知メッセージ中のメトリックの方が小さい場合に、経路表への変更を行うことも好ましい。
【0025】
本発明の無線ネットワークによれば、前述の複数の無線ノードからなり、該無線ノードは有線インタフェースを更に有し、有線ネットワークを介して通信可能なゲートウェイノードである。
【0026】
更に、本発明によれば、無線インタフェースを通してパケットの送受信を行う無線ノードのパケット経路探索方法において、「ある宛先ノードヘパケットを届けるために該パケットを転送すべき隣接ノード」及び「該隣接ノードを通じて該宛先ノードにパケットが届くまでに経由する経路の性質を表す値であるメトリック」を記したパケット転送の経路の集合である経路表を保持しており、当該無線ノード自身の立ち上げ時、若しくは一定時間毎、又は特定ノードとの間の経路に障害を検出した時に、特定ノード調査メッセージを、無線リンクで直接通信可能な範囲のノードにブロードキャストする段階と、特定ノード調査メッセージを受信した時に、当該無線ノードが保持している特定ノードヘの経路を記した特定ノード通知メッセージを、特定ノード調査メッセージを送信したノードに返送する段階と、特定ノード通知メッセージを受信した時に、該特定ノード通知メッセージ内に記された経路の中に「経路表で保持していない特定ノードへの経路」が存在する場合に、該特定ノード通知メッセージ内の該経路を経路表に追加し、特定ノード通知メッセージ内に記された経路の中に「経路表で経路を保持しているある特定ノードヘの経路」が存在し、かつ、該特定ノード通知メッセージ内に記された経路の方が経路表に存在する経路よりもメトリックが小さい場合に、経路表内の該経路を該特定ノード通知メッセージ内に記された経路に変更し、経路表への追加又は変更が生じた場合に、該経路表内の特定ノードヘの経路を含んだ特定ノード通知メッセージを、無線リンクで直接通信可能な範囲のノードにブロードキャストする段階と、ある宛先ノードヘのパケットの転送要求が発生した時に、経路表に該宛先ノードに対応する経路がない場合に、該宛先ノードヘ向けた経路要求メッセージを、無線リンクで直接通信可能な範囲のノードにブロードキャストし、該経路要求メッセージに対する経路応答メッセージを受信した場合に、該経路応答メッセージの送信ノード、及び該経路応答メッセージ中に記載のメトリックを該経路宛先ノードヘの経路として経路表へ追加する段階と、他ノードからの経路要求メッセージを受信した場合に、該経路要求メッセージ中の情報を用いて、該経路要求メッセージの送信ノード宛の経路を経路表に追加するとともに、当該無線ノード自身が該経路要求メッセージ中に記載の宛先ノードであれば、該経路要求メッセージの送信ノードに宛に経路応答メッセージを送信し、当該無線ノード自身が宛先ノードでなければ、該経路要求メッセージを、無線リンクで直接通信可能な範囲のノードにブロードキャストする段階とを有する。
【0027】
また、本発明によれば、無線インタフェースを通してパケットの送受信を行う無線ノードのパケット経路探索方法において、当該無線ノードは特定ノードであって、「ある宛先ノードヘパケットを届けるために該パケットを転送すべき隣接ノード」及び「該隣接ノードを通じて該宛先ノードにパケットが届くまでに経由する経路の性質を表す値であるメトリック」を記したパケット転送の経路の集合である経路表を保持しており、当該無線ノード自身の立ち上げ時、又は一定時間毎に、当該無線ノード自身が特定ノードであることを示した特定ノード通知メッセージを無線リンクで直接通信可能な範囲のノードにブロードキャストする段階と、一定時間毎又は特定ノードヘの経路に障害を検出した時に、特定ノード調査メッセージを無線リンクで直接通信可能な範囲のノードにブロードキャストする段階と、特定ノード調査メッセージを受信した時に、当該無線ノード自身が特定ノードであることと、他の無線ノードが更なる特定ノードであった場合の該特定ノードへの経路とを示した特定ノード通知メッセージを、該特定ノード調査メッセージを送信したノードに返送する段階と、特定ノード通知メッセージを受信した時に、該特定ノード通知メッセージ内に記された経路の中に「経路表で保持していない特定ノードへの経路」が存在する場合に、該特定ノード通知メッセージ内の該経路を経路表に追加し、該特定ノード通知メッセージ内に記された経路の中に「経路表で経路を保持しているある特定ノードヘの経路」が存在し、かつ、該特定ノード通知メッセージ内に記された経路の方が経路表に存在する経路よりもメトリックが小さい場合に、経路表内の該経路を該特定ノード通知メッセージ内に記された経路に変更し、経路表への追加又は変更が生じた場合に、経路表内の特定ノードヘの経路を含んだ特定ノード通知メッセージを、無線リンクで直接通信可能な範囲のノードにブロードキャストする段階と、ある宛先ノードヘのパケットの転送要求が発生した時に、経路表に該宛先ノードに対応する経路がない場合に、該宛先ノードヘ向けた経路要求メッセージを、無線リンクで直接通信可能な範囲のノードにブロードキャストし、該経路要求メッセージに対する経路応答メッセージを受信した時に、該経路応答メッセージの送信ノードと、該経路応答メッセージ中に記載のメトリックとを、該経路宛先ノードヘの経路として経路表へ追加する段階と、他ノードからの経路要求メッセージを受信した時に、該経路要求メッセージ中の情報を用いて、該経路要求メッセージの送信ノード宛の経路を経路表に追加するとともに、当該無線ノード自身が該経路要求メッセージ中に記載の宛先ノードであれば、該経路要求メッセージの送信ノード宛に経路応答メッセージを送信し、当該無線ノード自身が宛先ノードでなければ、該経路要求メッセージを、無線リンクで直接通信可能な範囲のノードにブロードキャストする段階とを有する。
【0028】
本発明の他の実施形態によれば、経路のメトリックを、「該経路が経由する無線リンクの数」又は「該経路が経由する無線リンクのうちで最も小さい帯域の逆数」とすることも好ましい。
【0029】
本発明の他の実施形態によれば、データパケットのヘッダ内に経路構築要求のON/OFFを示すフラグを設け、ある特定ノードヘのパケット転送時に、該特定ノードヘ最初に送信するデータパケットの経路構築要求フラグをONとし、
経路構築要求を示すフラグがONであるパケットを受信した時に、該パケット中の情報を用いて該パケットの送信元への経路を構築することも好ましい。
【0030】
本発明の他の実施形態によれば、特定ノード通知メッセージを受信した時に、該特定ノード通知メッセージ内に記された経路の中に「経路表で保持していない特定ノードへの経路」が存在しても、該経路のメトリックが一定値以上である場合に該経路を追加しないことも好ましい。
【0031】
本発明の他の実施形態によれば、特定ノード通知メッセージを受信し、経路表への追加が生じた場合に、経路表内の経路のうちメトリックの小さい方から一定数のみ残し、残りの経路は経路表から削除し、その結果、該特定ノード通知メッセージの受信前と受信後で経路表の内容に変更が生じた場合に、経路表の内容を含んだ特定ノード通知メッセージを無線リンクで直接通信可能な範囲のノードにブロードキャストすることも好ましい。
【0032】
本発明の他の実施形態によれば、特定ノード通知メッセージを受信した場合に、該特定ノード通知メッセージを無線リンクで直接送信してきた送信ノードが、既に経路表の、いずれの経路の次ノードとしても登録されていない場合に、又は該送信ノードが経路表内のいずれかの経路の次ノードとして登録されている場合であって、経路表内の該経路のメトリックよりも、該特定ノード通知メッセージ中のメトリックの方が小さい場合に、経路表への変更を行うことも好ましい。
【0033】
本発明における無線ノードでは、特定ノードヘの経路はテーブル駆動型で常時構築しておくことにより、各無線ノードから特定ノードヘの通信においては、通信要求発生からパケット転送開始までの遅延を削減する。それ以外の通信形態についてはオンデマンド型で経路を構築することにより、各ノードでの無駄な処理や通信やメモリ使用を削減する。特定ノードをノード間の距離に関係なく設定することができる点が、従来技術とは異なる。
【0034】
また、特定ノードからある無線ノードヘの経路は、該無線ノードから特定ノードヘの最初のパケット送信と同時に構築することにより、特定ノードから該無線ノードヘのパケットの返送も遅延なく実行可能となる。
【0035】
【発明の実施の形態】
以下、本発明の実施の形態を図面により詳細に説明する。
【0036】
図1は、請求項1又は9に相当する、本発明の第1の実施形態を説明するフローチャートである。本実施形態における無線ノードではまず立ち上げ時に、特定ノード調査メッセージを無線リンクで直接通信可能なノードにブロードキャストした後(ステップ2000)、イベント待ち状態に入る(ステップ2010)。
【0037】
イベント待ち状態でイベントが発生した場合(ステップ2020)には、イベント種別を判別する(ステップ2030)。イベント種別がデータ送信要求の場合、データの宛先に対する経路が経路表に存在するかどうか確認する(ステップ2050)。もし該経路が存在すれば、経路表に従ってデータパケットを転送し、イベント待ち状態に戻る(ステップ2080)。
【0038】
もし該経路が存在しない場合は、経路要求メッセージを無線リンクで直接通信可能なノードにブロードキャストし(ステップ2060)、該データを経路構築待ちバッファに保存した後、イベント待ち状態に戻る(ステップ2070)。
【0039】
一方イベント種別がメッセージ受信の場合、メッセージ種別を調べる(ステップ2040)。
【0040】
もしメッセージ種別が特定ノード調査メッセージの場合、経路表の中から全ての特定ノードヘの経路を取り出し、該経路を含んだ特定ノード通知メッセージを、該特定ノード調査メッセージの送信元へ送信し、イベント待ち状態に戻る(ステップ2090)。
【0041】
もしメッセージ種別が特定ノード通知メッセージの場合、まずメッセージ中の経路の中に「経路表で保持していない特定ノードヘの経路」が存在するかどうかを確認する(ステップ2100)。もし存在すれば該特定ノード通知メッセージ中の該経路を経路表に追加する(ステップ2110)。
【0042】
次に、該特定ノード通知メッセージ中の経路の中に、「経路表で保持しているある特定ノードヘの経路であり、かつ経路表内の経路よりもメトリックが小さい経路」が存在するかどうかを確認する(ステップ2120)。もし存在すれば経路表内の該経路を該特定ノード通知メッセージ中の該経路で置き換える(ステップ2130)。
【0043】
次に、ステップ2110あるいは2130の動作により、経路表への経路の追加あるいは変更が生じたかどうかを判定し、もし追加または変更が生じていなければイベント待ち状態に戻る(ステップ2140)。もし追加または変更が生じた場合には、経路表の中から全ての特定ノードヘの経路を取り出し、該経路を含んだ特定ノード通知メッセージを、無線リンクで直接通信可能なノードにブロードキャストし、イベント待ち状態に戻る(ステップ2090)。
【0044】
もし、ステップ2040で調べたメッセージ種別が経路要求メッセージの場合、まず該メッセージ中の情報より該メッセージの送信元への経路を構築する(ステップ2150)。
【0045】
次に、自身が該経路要求メッセージの宛先かどうかを確認する。(ステップ2160)。
【0046】
もし自身が該経路要求メッセージの宛先であればステップ2150で構築した経路に従って経路応答メッセージを送信し、イベント待ち状態に戻る(ステップ2180)。
【0047】
もし自身が該経路要求メッセージの宛先でなければ、経路要求メッセージを無線リンクで直接通信可能なノードにブロードキャストし、イベント待ち状態に戻る(ステップ2170)。
【0048】
もし、ステップ2040で調べたメッセージ種別が経路応答メッセージの場合、まず該メッセージ中の情報より該メッセージの送信元への経路を構築する(ステップ2190)。
【0049】
次に、経路構築待ちバッファ内のデータを参照し、宛先が該経路応答メッセージの送信元と一致するデータを、ステップ2190で構築した経路に基づいて送信し、イベント待ち状態に戻る(ステップ2200)。
【0050】
図3は、請求項2又は10に相当する、本発明による他の実施形態のフローチャートである。図3と図1とは、図1におけるステップ2000が図3においてはステップ2210に、図1におけるステップ2090が図3においてはステップ2220に、それぞれ置き換わった点が異なるため、ステップ2210及びステップ2220についてのみ説明する。
【0051】
本実施形態では立ち上げ時に自身が特定ノードであることを記した特定ノード通知メッセージを、無線リンクで直接通信可能なノードにブロードキャストする(ステップ2210)。
【0052】
また、ステップ2040で調べたメッセージ種別が特定ノード調査メッセージの場合、経路表の中から取り出した全ての特定ノードヘの経路、及び自身が特定ノードであることを記した特定ノード通知メッセージを、該特定ノード調査メッセージの送信元へ送信し、イベント待ち状態に戻る(ステップ2220)。
【0053】
更に、ステップ2140において経路表への追加・変更が生じたと判断した場合、経路表の中から取り出した全ての特定ノードヘの経路、及び自身が特定ノードであることを記した特定ノード通知メッセージを、無線リンクで直接通信可能なノードにブロードキャストし、イベント待ち状態に戻る(ステップ2220)。
【0054】
次に、このように請求項1に記載した手段を持つノードと、請求項2に記載した手段を持つ特定ノードによって構成されるネットワークにおける無線ノード間通信の例について説明する。これらは、請求項9に記載した段階を有するノードと、請求項10に記載した段階を有する特定ノードによって構成されるネットワークにおける無線ノード間通信と同様である。
【0055】
図4は、本発明の無線ノードを用いて、無線ノード間通信が適用されているネットワークの構成図である。
【0056】
このネットワークは、ノード10と、ノード20と、ノード30と、特定ノード40と、特定ノード50から構成され、ノード10はノード20と11Mbpsの帯域で、ノード20はノード10及び特定ノード50と11Mbpsの帯域でかつノード30と2Mbpsの帯域で、ノード30はノード20と2Mbpsの帯域でかつ特定ノード40と11Mbpsの帯域で、特定ノード40はノード30と11Mbpsの帯域で、特定ノード50はノード20と11Mbpsの帯域で、それぞれ無線リンクで直接通信可能である。
【0057】
図5は、図4における、あるノードの立ち上げ時のメッセージの流れと、構築される経路表との説明図である。これは、請求項3又は11について経路のメトリックが「該経路が経由する無線リンクのうちで最も小さい帯域の逆数」の場合に相当する。図4において、特定ノード40のみが立ち上がっている状態の時に、特定ノード40から無線リンクで直接通信可能な範囲にノード30が立ち上がった場合のメッセージの流れ、及び構築される経路表の例を示している。ただし各経路のメトリックとして「各経路が経由する無線リンクのうち最も小さい帯域の逆数」を用いている。
【0058】
ノード30は立ち上げ時に特定ノード調査メッセージ400を無線リンクで直接通信可能なノードにブロードキャストする。この場合、特定ノード40がこれを受信し、特定ノード40は自ノードが特定ノードであることを記した特定ノード通知メッセージ410をノード30へ返送する。ノード30はメッセージ410を受信し、メッセージの内容及び受信した無線リンクの帯域に従って経路表180を構築する。経路表180の内容は、特定ノード40を宛先として通信するには次ノードとして40を指定すれば通信可能であり、その経路のメトリックは0.09、すなわちその逆数である11Mbpsで通信可能である、ということを表している。更にノード30は他の特定ノード通知メッセージが送信されてこないことを確認するため一定時間待機する。この場合は他の特定ノード通知メッセージは送信されてこないので、最後にノード30は変更した経路表の内容を含んだ特定ノード通知メッセージ415を無線リンクで直接通信可能なノードにブロードキャストするが、これを受信した特定ノード40はメッセージ415の内容が自ノードに関する経路であることを確認し、それ以上の処理は行わない。
【0059】
このように、各ノードが特定ノード調査メッセージを送信し、特定ノードが特定ノード通知メッセージを返送することにより、特定ノードから無線リンクで直接通信可能なノードにおいて、特定ノードヘの経路を構築することが可能である。
【0060】
図6は、図4における、別のノードの立ち上げ時のメッセージの流れと、構築される経路表との説明図である。特定ノード40及びノード30のみが立ち上がっている状態の時に、特定ノード40からは無線リンクで直接通信可能な範囲にないが、ノード30からは無線リンクで直接通信可能な範囲に、ノード20が立ち上がった場合のメッセージの流れ、及び構築される経路表の例を示している。
【0061】
ノード20は立ち上げ時に特定ノード調査メッセージ420を無線リンクで直接通信可能なノードにブロードキャストする。この場合、ノード30がこれを受信し、ノード30は自ノードの経路表の内容を含んだ特定ノード通知メッセージ430をノード20へ返送する。ノード20はメッセージ430を受信し、メッセージの内容及び受信した無線リンクの帯域に従って経路表170を構築する。この場合、特定ノード通知メッセージ430内の経路には、特定ノード40宛の経路のメトリックとして0.09が記されており、これはその逆数の11Mbpsを表すが、メッセージ430を受信した無線リンクの帯域が2Mbpsであるので、この経路のメトリックは帯域の小さい方の値2Mbpsの逆数である0.5となる。
【0062】
よって経路表170の内容は、特定ノード40を宛先として通信するには次ノードとして30を指定すれば通信可能であり、その経路のメトリックは0.5である、ということを表している。更にノード20は他の特定ノード通知メッセージが送信されてこないことを確認するため一定時間待機する。この場合は他の特定ノード通知メッセージは送信されてこないので、ノード20は変更した経路表の内容を含んだ特定ノード通知メッセージ435を無線リンクで直接通信可能なノードにブロードキャストする。メッセージ435を受信したノード30は、メッセージ435内の経路に含まれる特定ノードが既知であり、かつそのメトリックが自ノードの経路表内のメトリックよりも大きいため、それ以上の処理は行わない。
【0063】
このように、特定ノードから無線リンクで直接通信可能でないノードにおいても、特定ノードヘの経路を構築することが可能となる。
【0064】
図7は、図4における、特定ノードの立ち上げ時のメッセージの流れと、構築される経路表との説明図である。特定ノード40、ノード30及びノード20のみが立ち上がっている状態の時に、ノード20のみから無線リンクで直接通信可能な範囲に、特定ノード50が立ち上がった場合のメッセージの流れ、及び構築される経路表の例を示している。
【0065】
特定ノード50は特定ノード通知メッセージ440を無線リンクで直接通信可能なノードにブロードキャストする。この場合、ノード20のみがこれを受信する。ノード20はメッセージ440を受信し、メッセージの内容及び受信した無線リンクの帯域に従って経路表171を構築する。経路表171の内容は、経路表170の内容に比べて、特定ノード50を宛先として通信するには次ノードとして50を指定すれば通信可能であり、その経路のメトリックは0.09である、という経路が追加されている。
【0066】
次にノード20は変更した経路表の内容を含んだ特定ノード通知メッセージ450を無線リンクで直接通信可能なノードにブロードキャストする。メッセージ450を受信したノード30及び特定ノード50は、それぞれメッセージの内容及び受信した無線リンクの帯域に従って経路表181及び195を構築する。そしてそれぞれ変更した経路表の内容を含んだ特定ノード通知メッセージ460及び470を直接通信可能なノードにブロードキャストする。
【0067】
メッセージ460及び470を受信したノード20はメッセージの内容を確認し、経路表を変更する必要がないため、それ以上の処理は行わない。一方メッセージ470を受信した特定ノード40は、メッセージの内容及び受信した無線リンクの帯域に従って経路表191を構築し、変更した経路表の内容を含んだ特定ノード通知メッセージ480を直接通信可能なノードにブロードキャストする。メッセージ480を受信したノード30はメッセージの内容を確認し、経路表を変更する必要がないため、それ以上の処理は行わない。
【0068】
このように各特定ノードが特定ノード通知メッセージを送信することにより、各ノードで特定ノードヘの経路が構築される。
【0069】
なお、各ノードで送受信する特定ノード調査メッセージや特定ノード通知メッセージについては、立ち上げ時だけでなく、一定時間ごとに送受信することによっても、経路表の構築が可能である。また各ノードは、特定ノードヘの経路に障害が発生した、すなわち経路表の次ノードに記されたノードとの通信が不可能になった時に特定ノード調査メッセージを送信することにより、経路の再構築が可能である。
【0070】
図8は、図4における、特定ノード40及び50がゲートウェイノードである場合のネットワーク構成図である。これは、請求項8に相当する。
【0071】
本ネットワークにおいては、特定ノード40、特定ノード50は無線インタフェースと有線インタフェースを具備するゲートウェイノードであり、特定ノード40、特定ノード50及び有線ノード70は、有線ネットワーク60を通じて互いに通信可能である。
【0072】
このようなネットワークにおいては、前述の実施例で述べた通り、各ノードから各特定ノードヘの経路が常時構築されているため、各ノードで有線ノード70へのパケット送信要求が生じた際には、特定ノード40あるいは特定ノード50のいずれかに向けて、遅延なくパケットの送信を開始できる。ゲートウェイノードである特定ノード40及び特定ノード50は、このような有線ノード70宛のパケットを無線インタフェースから受信した場合、有線インタフェースを通して有線ノード70へ向けて送信すれば良い。
【0073】
図9は、図4における、本発明によるメトリックを距離とし、各ノードと特定ノード間の経路を常時構築している説明図である。全てのノードが立ち上がった後の通常時に各ノードで構築されている経路表の例を示している。これは、請求項3又は11について経路のメトリックが「該経路が経由する無線リンクの数」の場合に相当する。即ち、各経路のメトリックとして「各経路が経由する無線リンクの数」を意味する「距離」の情報を用いている。
【0074】
ノード10では経路表110を、ノード20では経路表120を、ノード30では経路表130を、特定ノード40では経路表140を、特定ノード50では経路表150をそれぞれ保持する。例えば経路表130の内容は、特定ノード40を宛先として通信するには次ノードとして40を指定すれば距離1で通信可能、すなわち直接通信可能であり、また特定ノード50を宛先として通信するには次ノードとして20を指定すれば距離2で通信可能である、ことを表している。このような経路表は前述の実施例で述べたのと同様に、常時構築可能である。
【0075】
図10は、本発明によるノード間で通信を行う際の経路要求メッセージの送信の説明図である。これは、図9におけるノード30からノード10への通信を行う際の、経路要求メッセージの流れと、構築される経路表との例を示している。まずノード30では経路表を参照し、宛先ノード10への経路がないため経路要求メッセージ300をブロードキャストすることを決定する。
【0076】
図11は、図10におけるメッセージ300のヘッダの構成図である。すなわち、このメッセージの宛先はノード10であり、このメッセージの発信元はノード30であり、このメッセージをこのリンク上で送信したのはノード30であり、このメッセージをこのリンク上で受信すべきなのは全てのノードであり、このメッセージを送信するまでに経由した無線リンクの数は0であり、メッセージの種類は経路要求であり、このメッセージのIDはノード30で適当に付与した0077である、という情報が入っている。
【0077】
メッセージ300を受信した特定ノード40及びノード20は、メッセージの種別が経路要求メッセージなので、経路を構築することを決定し、メッセージ300中の発信元へはメッセージ300中の送信ノード経由でメッセージ300中の距離+1で到達可能なこと、すなわちノード30へは直接到達可能なことを経路表に加えることにより、それぞれ経路表144、及び経路表124の内容を構築する。更にそれらのノードはノード10への経路情報を保持していないため、経路要求メッセージ310及び320を再転送する。メッセージ310及び320は、メッセージ300のヘッダとは送信ノード及び距離が異なっている。
【0078】
メッセージ310及びメッセージ320を受信したノード30は、これらのメッセージ中のメッセージIDが、既に送信済みのメッセージ300と同じ値であるので、このメッセージを無視する。
【0079】
一方、メッセージ320を受信したノード10及び特定ノード50は、メッセージの種別が経路要求メッセージなので、経路を構築することを決定し、メッセージ320中の発信元へはメッセージ320中の送信ノード経由でメッセージ320中の距離+1で到達可能なこと、すなわちノード30へはノード20経由で距離2で到達可能なことを経路表に加えることにより、それぞれ経路表114、及び経路表154の内容を構築する。更に特定ノード50はノード10への経路情報を保持していないため、経路要求メッセージを再転送する。すなわち、特定ノード50はメッセージ330を直接通信可能なノードにブロードキャストする。メッセージ330はメッセージ320のヘッダとは、送信ノード及び距離の値が異なっている。メッセージ330を受信したノード20は、メッセージ330中のメッセージIDが、既に送信済みのメッセージ320と同じ値であるので、このメッセージを無視する。
【0080】
一方、ノード10はメッセージ320中の宛先が自分自身なので、経路応答メッセージをノード30宛に送信することを決定する。
【0081】
図12は、本発明によるノード間で通信を行う際の経路応答メッセージの送信の説明図である。これは、経路応答メッセージの流れと、その際各ノードで構築される経路表との例を示している。
【0082】
ノード10は経路表114より、ノード30宛のメッセージはノード20へ送信すれば良いことを参照し、自分が宛先であることを示した経路応答メッセージ340をノード20へ送信する。
【0083】
図13は、図12におけるメッセージ340のヘッダの構成図である。すなわち、このメッセージの宛先はノード30であり、このメッセージの発信元はノード10であり、このメッセージをこのリンク上で送信したのはノード10であり、このメッセージをこのリンク上で受信すべきなのはノード20であり、このメッセージを送信するまでに経由した無線リンクの数は0であり、メッセージの種類は経路応答である、という情報が入っている。
【0084】
メッセージ340を受信したノード20は、メッセージの種別が経路応答メッセージなので、経路を構築することを決定し、メッセージ340中の発信元へはメッセージ340中の送信ノード経由でメッセージ340中の距離+1で到達可能なこと、すなわちノード10へは直接到達可能なことを経路表に加えることにより、経路表126を構築する。
【0085】
次にノード20は経路表126よりメッセージ340の宛先である無線ノード30へは直接到達可能であることを参照し、メッセージ340中の送信ノードをノード20に、受信ノードをノード30に、距離を1に書換えた、メッセージ350をノード30へ送信する。
【0086】
メッセージ350を受信したノード30は、メッセージの種別が経路応答メッセージなので、経路を構築することを決定し、メッセージ350中の発信元へはメッセージ350中の送信ノード経由でメッセージ350中の距離+1で到達可能なこと、すなわちノード10へはノード20経由で距離2で到達可能なことを経路表に加えることにより、経路表136を構築する。
【0087】
このように、経路表136、経路表126、及び経路表114に加えた宛先10及び宛先30へのエントリを用いて、特定ノードではないノード10とノード30の間の通信が可能となる。
【0088】
図14は、本発明によるあるノードから特定ノードヘのデータパケット転送の説明図である。これは、図9におけるノード10から特定ノード40へのパケット送信時のメッセージの流れと、構築される経路表との例を示している。これは、請求項4又は12に相当する。
【0089】
ノード10は経路表110を参照し、宛先40に対する次ノードが20であり、距離が3であることを確認する。そこで特定ノード40に対するデータを含んだメッセージ200をノード20へ送信する。
【0090】
図15は、図14におけるメッセージ200のヘッダの構成図である。すなわち、宛先は特定ノード40であり、このメッセージの発信元はノード10であり、このメッセージをこのリンク上で送信したのはノード10であり、このメッセージをこのリンク上で受信すべきなのはノード20であり、このメッセージを送信するまでに経由した無線リンクの数は0であり、メッセージの種類はデータパケットであり、経路構築フラグはONである、という情報が入っている。
【0091】
メッセージ200を受信したノード20では、まず経路構築フラグがONとなっているため、メッセージ200中の発信元へはメッセージ200中の送信ノード経由でメッセージ200中の距離+1で到達可能なこと、すなわちノード10へは直接到達可能なことを、経路表に加えることにより、経路表122を構築する。
【0092】
次に経路表122より、宛先40へは次ノード30へ送れば良いことが分かるため、受信したメッセージのヘッダのみ書換えたメッセージ210をノード30へ転送する。
【0093】
図16は、図14におけるメッセージ210のヘッダの構成図である。すなわち、このメッセージをこのリンク上で送信したのはノード20であり、このメッセージをこのリンク上で受信すべきなのはノード30であり、このメッセージを送信するまでに経由した無線リンクの数は1である、という情報に書換える。
【0094】
メッセージ210を受信したノード30では経路構築フラグがONとなっているため、メッセージ210中の発信元へはメッセージ210中の送信ノード経由でメッセージ210中の距離+1で到達可能なこと、すなわちノード10へはノード20経由で距離2で到達可能なことを、経路表に加えることにより、経路表132を構築する。
【0095】
次に経路表132より、宛先40へは直接通信可能なことが分かるため、受信したメッセージのヘッダのみ書換えたメッセージ220を特定ノード40へ転送する。
【0096】
図17は、図14におけるメッセージ220ヘッダの構成図である。すなわち、このメッセージをこのリンク上で送信したのはノード30であり、このメッセージをこのリンク上で受信すべきなのはノード40であり、このメッセージを送信するまでに経由した無線リンクの数は2である、という情報に書換える。
【0097】
メッセージ220を受信した特定ノード40では経路構築フラグがONとなっているため、メッセージ220中の発信元へはメッセージ220中の送信ノード経由でメッセージ220中の距離+1で到達可能なこと、すなわちノード10へはノード30経由で経由ホップ数3で到達可能なことを、経路表に加えることにより、経路表142を構築する。
【0098】
最後にメッセージ220中の宛先が自分自身を示しているため、特定ノード40は受信メッセージ処理することが可能となり、ノード10から特定ノード40へのデータ送信が完了する。また、経路表122、経路表132、経路表142に加えた、宛先10に関するエントリを用いることにより、この後逆に特定ノード40からノード10ヘメッセージ220に対する返答メッセージを送信することが可能である。
【0099】
このように、各ノードから特定ノードヘのパケット送信は、常時構築している経路表を用いて可能となり、更に送信するパケットの経路構築フラグをONとすることにより、特定ノードから各ノードヘの経路も構築可能となる。
【0100】
図18は、請求項5〜7又は13〜15に相当する、本発明の無線ネットワークにおけるパケット転送経路構築方法が適用されるネットワークの構成図である。
【0101】
このネットワークは特定ノード800〜830と、ノード840〜890とから構成され、特定ノード800はノード840と、特定ノード810はノード840、及びノード850と、特定ノード820はノード850、及びノード860と、特定ノード830はノード860と、ノード840は特定ノード800、特定ノード810及びノード880と、ノード850は特定ノード810、特定ノード820、ノード880及びノード890と、ノード860は特定ノード820、特定ノード830及びノード890と、ノード880はノード840及びノード850と、ノード890はノード850及びノード860と、それぞれ無線リンクで直接通信可能である。
【0102】
ここで、ノード890以外のノードが既に立ち上がって、それぞれ特定ノードヘの経路を構築している状況で、ノード890が最後に立ち上がったとする。
【0103】
図19は、請求項5又は13に相当する、本発明の無線ネットワークにおけるパケット転送経路構築方法に係るメッセージの流れと、構築される経路表との説明図である。経路のメトリックとして「各経路が経由する無線リンクの数」を意味する「距離」を用い、各ノードは距離が3以上の特定ノードヘの経路は経路表に保持しない、場合の例を示している。
【0104】
ノード890は特定ノード調査メッセージ910を無線リンクで直接通信可能なノードにブロードキャストする。これを受信したノード850及びノード860は、それぞれ自ノードの経路表内の経路情報を含めた特定ノード通知メッセージをノード890へ送信する。例えばノード850は、距離2以内の特定ノードである特定ノード810及び特定ノード820への経路を経路表1000に持っており、それら特定ノードへの経路を含んだ特定ノード通知メッセージ920を送信する。同様にノード860は、距離2以内の特定ノードである特定ノード820及び特定ノード830への経路を経路表1015に持っており、それら特定ノードヘの経路を含んだ特定ノード通知メッセージ930を送信する。
【0105】
ノード890はまず特定ノード通知メッセージ920を受信し、特定ノード810及び820への距離が2以内であることから、経路表に特定ノード810及び820への経路を追加する。次に特定ノード通知メッセージ930を受信し、特定ノード830への距離が2以内であることから、経路表に特定ノード830への経路を追加し、経路表1010を構築する。なお、特定ノード820への経路は、経路表内の経路のメトリックとメッセージ930中の経路のメトリックが同じなので、特に変更する必要はない。
【0106】
その後ノード890は他の特定ノード通知メッセージが送信されてこないことを確認するため一定時間待機し、更新した経路表の内容を含んだ特定ノード通知メッセージ940を無線リンクで直接通信可能なノード、すなわちノード850及びノード860ヘブロードキャストする。例えば、ノード850はメッセージ940を受信し、その中に未知の特定ノード830に関する経路が入っていることを確認するが、その距離が3となるため、この経路を経路表には追加しない。よってそれ以降のメッセージ送信は行わない。
【0107】
このように、メトリックである「距離」によって経路を保持するかどうかを制限することにより、各ノードはネットワーク内の全ての特定ノードヘの経路を常時持つ必要がなく、メモリ量の削減が可能となる。また、特定ノード通知メッセージを受信した場合に、これらの制限を設けない場合には必要な処理やメッセージ送信が不要となり、常時特定ノードヘの経路を構築する際に必要なノードでの処理量やメッセージ通信量も削減される。
【0108】
図20は、請求項6又は14に相当する、本発明の無線ネットワークにおけるパケット転送経路構築方法に係るメッセージの流れと、構築される経路表との説明図である。図20は、図18において、ノード890が最後に立ち上がった場合のメッセージの流れおよび構築される経路表に関して、経路のメトリックとして「各経路が経由する無線リンクの数」を意味する「距離」を用い、各ノードは最大3つの特定ノードヘの経路を経路表に保持する場合の例を示したものである。
【0109】
ノード890は特定ノード調査メッセージ950を無線リンクで直接通信可能なノードにブロードキャストする。これを受信したノード850及びノード860は、それぞれ自ノードの経路表内の経路情報を含めた特定ノード通知メッセージをノード890へ送信する。例えばノード850では、特定ノード800、特定ノード810及び特定ノード820への3つの経路を経路表1020に持っており、それら特定ノードヘの経路を含んだ特定ノード通知メッセージ960を送信する。同様にノード860は、特定ノード820及び特定ノード830への経路を含んだ特定ノード通知メッセージ970を送信する。
【0110】
ノード890はまず特定ノード通知メッセージ960を受信し、特定ノード800、810及び820への経路を経路表に追加する。次に特定ノード通知メッセージ970を受信し、経路表に特定ノード830への経路を追加する。しかし、最大保持できる経路は3つなので、ノード890は経路のうちメトリック、すなわち距離が最大である、特定ノード800への経路を削除し、結果として経路表1030を構築する。
【0111】
次にノード890は他の特定ノード通知メッセージが送信されてこないことを確認するため一定時間待機し、その後変更した経路表の内容を含んだ特定ノード通知メッセージ980を無線リンクで直接通信可能なノード、すなわちノード850及びノード860ヘブロードキャストする。ノード850はメッセージ980を受信し、その中に未知の特定ノード830への経路が入っていることを確認し、該経路を経路表に追加するが、最大保持可能な経路数が3のため、その中でメトリックが最も大きい経路の一つである、特定ノード830への経路を削除する。この結果、ノード850においては、特定ノード通知メッセージの受信前後で経路表は変更されていないため、それ以降のメッセージ送信は行わない。
【0112】
一方、ノード860は特定ノード通知メッセージ980を受信し、その中に含まれる未知の特定ノード810への経路を経路表に追加する。この場合、経路の数は最大保持可能数の3を超えていないため、ノード860では特定ノード通知メッセージの受信前後で経路表が変更され、結果として経路表1040を構築する。更に変更後の経路表の情報を含んだ特定ノード通知メッセージ990を無線リンクで直接通信可能なノード、すなわち特定ノード830、及びノード890ヘブロードキャストする。
【0113】
ノード890ではメッセージ990中の経路は全て既知なので、それ以降のメッセージ送信は行わない。一方特定ノード830ではメッセージ990中の内容にしたがって、特定ノード810への経路を経路表内に構築し、変更した経路情報を含んだ特定ノード通知メッセージ995を無線リンクで直接通信可能なノードヘブロードキャストする。メッセージ995を受信したノード860は、メッセージ995中の経路が全て既知なので、それ以降のメッセージ送信は行わない。
【0114】
このように、経路表内に保持する経路の数に制限を設けることにより、各ノードはネットワーク内の全ての特定ノードヘの経路を常時持つ必要がなく、メモリ量の削減が可能となる。また、特定ノード通知メッセージを受信した場合に、これらの制限を設けない場合には必要な処理やメッセージ送信が不要となり、常時特定ノードヘの経路を構築する際に必要なノードでの処理量やメッセージ通信量も削減される。
【0115】
図21は、請求項7又は15に相当する、本発明の無線ネットワークにおけるパケット転送経路構築方法に係るメッセージの流れと、構築される経路表との説明図である。図21は、図18において、ノード890が最後に立ち上がった場合のメッセージの流れおよび構築される経路表に関して、経路のメトリックとして「各経路が経由する無線リンクの数」を意味する「距離」を用い、各ノードが「互いに異なる次ノードを持つ経路」を経路表に保持する場合の例を示したものである。
【0116】
ノード890は特定ノード調査メッセージ1100を無線リンクで直接通信可能なノードにブロードキャストする。これを受信したノード850及びノード860は、それぞれ自ノードの経路表内の経路情報を含めた特定ノード通知メッセージをノード890へ送信する。例えばノード850では、特定ノード800、特定ノード810及び特定ノード820への経路を経路表1200に持っており、それら特定ノードヘの経路を含んだ特定ノード通知メッセージ1110を送信する。同様にノード860は、特定ノード820及び特定ノード830への経路を経路表1220に持っており、それら特定ノードヘの経路を含んだ特定ノード通知メッセージ1120を送信する。
【0117】
ノード890はまず特定ノード通知メッセージ1110を受信し、特定ノード800、810及び820への経路の中で、メトリック、すなわち距離が最も小さい経路の一つである、特定ノード810への経路を経路表に追加する。次に特定ノード通知メッセージ1120を受信し、特定ノード820及び830への経路の中で、メトリック、すなわち距離が最も小さい経路の一つである、特定ノード830への経路を経路表に追加することにより、経路表1210を構築する。
【0118】
次にノード890は他の特定ノード通知メッセージが送信されてこないことを確認するため一定時間待機し、更新した経路表の内容を含んだ特定ノード通知メッセージをブロードキャストする。
【0119】
図22は、図21に続いて、このようなメッセージの流れと、構築される経路表の例とを示したものである。
【0120】
ノード890は特定ノード通知メッセージ1130を無線リンクで直接通信可能なノード、すなわちノード850及びノード860ヘブロードキャストする。ノード850はメッセージ1130を受信し、その送信ノードであるノード890を次ノードとする経路が経路表にはないことを確認し、経路を追加して経路表1240を構築する。同様にノード860はメッセージ1130を受信し、その送信ノードであるノード890を次ノードとする経路が経路表にはないことを確認し、経路を追加して経路表1250を構築する。
【0121】
この結果ノード850及びノード860ともに経路表に変更が生じるため、それぞれ経路表の内容を反映した特定ノード通知メッセージを、無線リンクで直接通信可能なノードにブロードキャストする。ノード850が送信した特定ノード通知メッセージ1140は、特定ノード810、特定ノード820、ノード880及びノード890が受信するが、それらのノードでは既にノード850を次ノードとする、よりメトリックの大きくはない経路が経路表に存在するため、それ以上のメッセージ送信は行わない。例えば特定ノード820では経路表1260に示すような経路を保持しているため、改めてノード850を次ノードとする経路を構築する必要はない。同様にノード860が送信した特定ノード通知メッセージ1150は、特定ノード820、特定ノード830及びノード890が受信するが、それらのノードではそれ以上のメッセージ送信は行わない。
【0122】
このように、一つの次ノードについては一つの特定ノードのみへの経路を構築するように制限することにより、各ノードはネットワーク内の全ての特定ノードヘの経路を常時持つ必要がなく、メモリ量の削減が可能となる。また、特定ノード通知メッセージを受信した場合に、これらの制限を設けない場合には必要な処理やメッセージ送信が不要となり、常時特定ノードヘの経路を構築する際に必要なノードでの処理量やメッセージ通信量も削減される。
【0123】
【発明の効果】
以上のように、本発明によれば、請求項1又は9に記載の通り、特定ノードが各ノードからどのような距離に存在しても、各ノードから特定ノードヘの経路は常時構築しておくため、通信を遅延なく実行可能である。また、各ノードから特定ノード宛以外の経路は必要が生じた時に構築するため、余分な処理や通信やメモリ使用が不要となる。
【0124】
更に、請求項4又は12に記載の通り、特定ノードから各ノードヘの経路は、各ノードから特定ノードヘの通信が生じた時に、最初のデータパケットの送信と同時に構築していく。これにより、特定ノードや各ノードで余分な経路を構築するためのメモリを浪費することなく、それ以降の特定ノードから各ノードヘの通信を遅延なく実行可能である。
【0125】
また、請求項5〜7又は13〜15に記載の通り、各ノードで常時保持する特定ノードヘの経路を制限することにより、無線ネットワーク内に特定ノードが多数存在する場合に、全ての特定ノードヘの経路を常時構築する場合に比べて、各ノードでの処理量やメッセージ通信量、消費メモリ量などを削減可能である。
【0126】
特に請求項8に記載のように、特定ノードとして有線ネットワークとの接続点であるゲートウェイノードを考え、無線ネットワークを通して様々な端末を収容するアクセスネットワークを考えると、各端末からゲートウェイノードを通して有線ネットワーク内へのアクセスは頻繁に発生するため、各端末からゲートウェイノードヘの経路は距離に関わらず常時構築しておき、通信要求発生時にすぐに通信を開始できるのが望ましい。しかし、それ以外の端末の組合せにおける通信は頻繁には発生しないと考えられるため、そのような通信のために常時経路を構築しておくのは、処理や通信、メモリの無駄となり好ましくない。またこのような場合には必ずしも全ての特定ノードヘの経路が必要なわけではなく、いずれかの特定ノードを通して有線ネットワーク内へのアクセスが実行できれば良い。
【0127】
従って、本発明は、ゲートウェイノードを通して多くの端末を無線マルチホップ接続で収容する、無線アクセスシステムにおいて、多くの通信の要求発生から転送開始までの遅延を削減しつつ、各ノードで必要な処理や通信、メモリ使用量を削減した経路構築を実行したい場合に効果がある。
【図面の簡単な説明】
【図1】請求項1に相当する、本発明の第1の実施形態を説明するフローチャートである。
【図2】従来の方法が適用されたネットワーク構成図である。
【図3】請求項2又は10に相当する、本発明による他の実施形態のフローチャートである。
【図4】本発明の無線ノードを用いて、無線ノード間通信が適用されているネットワークの構成図である。
【図5】図4における、あるノードの立ち上げ時のメッセージの流れと、構築される経路表との説明図である。
【図6】図4における、別のノードの立ち上げ時のメッセージの流れと、構築される経路表との説明図である。
【図7】図4における、特定ノードの立ち上げ時のメッセージの流れと、構築される経路表との説明図である。
【図8】図4における、特定ノードがゲートウェイノードである場合のネットワーク構成図である。
【図9】本発明によるメトリックを距離とし、各ノードと特定ノード間の経路を常時構築している説明図である。
【図10】本発明によるノード間で通信を行う際の経路要求メッセージの送信の説明図である。
【図11】図10におけるメッセージ300のヘッダの構成図である。
【図12】本発明によるノード間で通信を行う際の経路応答メッセージの送信の説明図である。
【図13】図12におけるメッセージ340のヘッダの構成図である。
【図14】本発明によるあるノードから特定ノードヘのデータパケット転送の説明図である。
【図15】図14におけるメッセージ200のヘッダの構成図である。
【図16】図14におけるメッセージ210のヘッダの構成図である。
【図17】図14におけるメッセージ220ヘッダの構成図である。
【図18】請求項5〜7又は13〜15に相当する、本発明の無線ネットワークにおけるパケット転送経路構築方法が適用されるネットワークの構成図である。
【図19】請求項5又は13に相当する、本発明の無線ネットワークにおけるパケット転送経路構築方法に係るメッセージの流れと、構築される経路表との説明図である。
【図20】請求項6又は14に相当する、本発明の無線ネットワークにおけるパケット転送経路構築方法に係るメッセージの流れと、構築される経路表との説明図である。
【図21】請求項7又は15に相当する、本発明の無線ネットワークにおけるパケット転送経路構築方法に係るメッセージの流れと、構築される経路表との説明図である。
【図22】図21の説明図に続く説明図である。[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a wireless node that transmits and receives a packet through a wireless interface and enables transmission and reception of a packet through a plurality of wireless nodes, and more particularly, communication with a specific node such as a gateway node having a wired interface. The present invention relates to a wireless node constituting a wireless network in which frequent occurrence occurs. The present invention also relates to the packet route search method.
[0002]
[Prior art]
Conventionally, for packet transfer between wireless nodes (hereinafter referred to as “nodes”), a table driving method for always constructing a transfer route, an on-demand method for constructing a transfer route when communication is necessary, and a combination thereof Hybrid schemes have been proposed.
[0003]
In the table drive method, route information is broadcast to the entire network periodically when each node detects a change in topology, and each node always constructs a route based on that information, so communication is required. Packet transmission can be started immediately, but processing and communication for constructing an unnecessary route occur. In the on-demand method, a route search message is broadcast to the entire network when communication is necessary, and the route is constructed by the destination node returning the response. However, there is a delay between the necessity of communication and the start of transfer of the first data packet.
[0004]
Therefore, in order to make up for these drawbacks, “Zygmount J. Hass,“ A New Routing Protocol for the Reconfigurable Wireless Networks ”, proposed in IEEE CUPC '97 pp. 562-66, 1997, etc. Routing Protocol) introduces the concept of zone radius, where each node manages a route to a node within the zone radius in a table-driven manner, and a route to a node outside the zone radius is built on demand. I am going to do that.
[0005]
For example, if the zone radius is “2 hops”, a route from a certain node to all nodes within 2 hops is always constructed. Therefore, when a communication request to a node within 2 hops occurs, communication is immediately possible using the route.
[0006]
On the other hand, when a communication request to a destination node that does not exist in two hops occurs, a route construction request message to the destination node is broadcast to the outer nodes of the zone, that is, all nodes that are in the range of exactly two hops. If the destination node is within the two hops of its own node, the outer node that has received the route construction request message should always construct the route, and transmits a response message to that effect to the requesting node. As a result, the requesting node knows that “the packet can be transmitted to the destination node if the packet is transferred to the transmission source outer node of the reply message”, and the path is established. On the other hand, if the destination node is not within 2 hops of the outer node receiving the route construction request message, the route construction request message is transferred to all nodes existing within the zone of the own node, that is, in the range of exactly two hops. . By repeating this, it is possible to construct a route from the route request source node to the destination node.
[0007]
FIG. 2 is a network configuration diagram to which a hybrid packet transfer path construction method of an on-demand method and a table driving method is applied in such a conventional wireless network. The
[0008]
At this time, since the route to the node in the zone is always constructed in the
[0009]
On the other hand, since routes to other nodes are not normally constructed, it is necessary to construct a route after a packet transmission request is generated. For example, when a packet transmission request from the
[0010]
Since the node 530, the node 540, the
[0011]
The
[0012]
On the other hand, the
[0013]
By combining the table-driven type and the on-demand type in this way, the processing, communication, and memory required to always build a route are limited to only those related to route construction to nodes in the zone, and on-demand. The average delay until the start of communication is reduced by limiting the case where the route is constructed only to the case of communication with a node outside the zone.
[0014]
[Problems to be solved by the invention]
As described above, in the conventional hybrid type route construction, the table-driven type and the on-demand type are switched depending on the distance from the node. Therefore, when communication between nodes existing at a long distance frequently occurs, communication is started. When a large delay occurs or communication between nodes existing at a short distance does not occur much, useless processing, communication, and memory use occur at each node.
[0015]
On the other hand, a wireless network and a wired network are connected via a gateway node, which is a wireless node having a wired interface, and many wireless nodes consider a communication form in which frequent communication is performed with a node in the wired network through the gateway node. In such a communication mode, regardless of the distance between the nodes, communication from each wireless node to the gateway node occurs frequently, and communication between other wireless nodes does not occur very frequently. Therefore, in the conventional hybrid path construction, a large delay, wasteful processing at each node, communication, and memory use occur.
[0016]
For example, in the network in FIG. 2, when the zone radius is 2 hops and the
[0017]
The object of the present invention is to solve such a conventional problem, and when each node frequently communicates with a specific node, but does not communicate with other wireless nodes very frequently, communication until the start of communication is achieved. The present invention relates to a configuration method of a wireless node that reduces delay, wasteful processing at each node, communication, and memory use.
[0018]
[Means for Solving the Problems]
In order to achieve the above object, according to the present invention, in a wireless node having means for transmitting and receiving a packet through a wireless interface, “an adjacent node to which the packet is to be transferred to deliver a packet to a certain destination node” and “ Holds a routing table that is a set of packet forwarding routes with a metric that indicates the nature of the route through which the packet reaches the destination node through the neighboring node, and is addressed to other nodes according to the routing table. When a failure is detected on the route between the packet relaying means and the wireless node itself or at a certain time interval or with the specific node, the specific node investigation message can be directly communicated with the wireless link. Means to broadcast to nodes in range and when a specific node investigation message is received, the wireless node holds it Means for returning a specific node notification message describing the route to the specific node to the node that transmitted the specific node investigation message, and when the specific node notification message is received, the route of the route described in the specific node notification message If there is a “route to a specific node not held in the route table”, the route in the specific node notification message is added to the route table, and the route specified in the specific node notification message If there is a “route to a specific node that holds a route in the route table” and the route described in the specific node notification message has a smaller metric than the route existing in the route table When the route in the routing table is changed to the route described in the specific node notification message, and the addition or change to the routing table occurs, the specific node in the routing table is changed. When a request for forwarding a packet to a destination node is generated, and a means for broadcasting a specific node notification message including a route to the destination node to a node in a range that can be directly communicated by a wireless link, the route table corresponds to the destination node When there is no route, a route request message directed to the destination node is broadcast to a node in a range where communication can be performed directly via a wireless link, and when a route response message for the route request message is received, the route response message is transmitted. A node, a means for adding the metric described in the route response message to the route table as a route to the route destination node, and information in the route request message when a route request message from another node is received And adding the route addressed to the sending node of the route request message to the route table If the wireless node itself is the destination node described in the route request message, a route response message is transmitted to the transmission node of the route request message, and if the wireless node itself is not the destination node, the route Means for broadcasting the request message to nodes in a range that can communicate directly with the wireless link.
[0019]
In addition, according to the present invention, it has means for transmitting and receiving packets through the wireless interface. Nothing At the line node The wireless node is a specific node, A packet in which “an adjacent node to which the packet is to be transferred to deliver a packet to a certain destination node” and “a metric that is a value indicating a property of a route through which the packet reaches the destination node through the adjacent node” Holds a route table that is a set of transfer routes and relays packets destined for other nodes according to the route table, and identifies the wireless node itself at the start-up of the wireless node itself or at regular intervals A means for broadcasting a specific node notification message indicating a node to a node in a range that can be directly communicated by a wireless link, and a specific node investigation message when a failure is detected on a route to a specific node at regular intervals When a specific node investigation message is received and a means for broadcasting to nodes in a range that can be directly communicated with , The wireless node itself is a specific node And a route to the specific node when another wireless node is a further specific node. Means for returning the indicated specific node notification message to the node that has transmitted the specific node investigation message; and when the specific node notification message is received, the route described in the specific node notification message includes “ When there is a “route to a specific node not held”, the route in the specific node notification message is added to the route table, and “route table” is added to the route described in the specific node notification message. If there is a `` route to a specific node holding the route '' and the metric of the route described in the specific node notification message is smaller than the route existing in the route table, When the route is changed to the route described in the specific node notification message and an addition or change to the route table occurs, the specific node including the route to the specific node in the route table is displayed. A means for broadcasting a notification message to a node in a range that can be directly communicated with a wireless link, and when a packet transfer request to a certain destination node is generated, and there is no route corresponding to the destination node in the route table, the destination When a route request message for a node is broadcast to a node in a range that can be directly communicated by a wireless link, and when a route response message for the route request message is received, a transmission node of the route response message and the route response message Means for adding the described metric to the route table as a route to the route destination node, and transmission of the route request message using information in the route request message when a route request message from another node is received. The route addressed to the node is added to the route table and the wireless node itself If it is a destination node described in the request message, a route response message is transmitted to the transmission node of the route request message, and if the wireless node itself is not the destination node, the route request message is directly communicated via a wireless link. Means for broadcasting to as many nodes as possible.
[0020]
According to another embodiment of the present invention, it is also preferable that the metric of the route is “the number of wireless links through which the route passes” or “the reciprocal of the smallest band among the wireless links through which the route passes”. .
[0021]
According to another embodiment of the present invention, a flag indicating ON / OFF of a path construction request is provided in the header of a data packet, and the path construction of the data packet that is first transmitted to the specific node at the time of packet transfer to the specific node It is also preferable to set a route to the transmission source of the packet using the information in the packet when the request flag is turned ON and a packet whose route construction request flag is ON is received.
[0022]
According to another embodiment of the present invention, when a specific node notification message is received, a “route to a specific node not held in the route table” exists in the route described in the specific node notification message. However, it is also preferable not to add the route when the metric of the route is a certain value or more.
[0023]
According to another embodiment of the present invention, when a specific node notification message is received and an addition to the routing table occurs, only a certain number is left from the smaller metric among the routes in the routing table, and the remaining routes Is deleted from the routing table, and as a result, when the contents of the routing table change before and after receiving the specific node notification message, the specific node notification message including the routing table content is directly transmitted via the radio link. Broadcasting to nodes within a communicable range is also preferable.
[0024]
According to another embodiment of the present invention, when a specific node notification message is received, a transmission node that has directly transmitted the specific node notification message via a wireless link is already set as the next node of any route in the route table. Is not registered, or the sending node is registered as the next node of any route in the routing table, and the specific node notification message is more than the metric of the route in the routing table. It is also preferable to make a change to the routing table when the metric in the middle is smaller.
[0025]
According to the wireless network of the present invention, the wireless node is a gateway node further including a wired interface and capable of communicating via the wired network.
[0026]
Furthermore, according to the present invention, in a packet route search method of a wireless node that transmits and receives a packet through a wireless interface, the “adjacent node to which the packet should be transferred to deliver a packet to a certain destination node” and “through the adjacent node” Holds a routing table that is a set of packet forwarding routes with a `` metric that is a value representing the nature of the route through which a packet reaches the destination node '', and when the wireless node itself starts up, or Broadcasting a specific node investigation message to nodes in a range that can be directly communicated by a wireless link when a failure is detected on a route to or from a specific node at regular intervals, and when receiving a specific node investigation message, A specific node notification message describing the route to the specific node held by the wireless node The step of returning the specific node investigation message to the node that transmitted the specific node notification message, and when the specific node notification message is received, the route described in the specific node notification message indicates “the route to the specific node not held in the route table” ”Is added to the route table in the specific node notification message, and“ to a specific node holding the route in the route table ”is added to the route described in the specific node notification message. Route "and the route described in the specific node notification message has a smaller metric than the route existing in the route table, the route in the route table is included in the specific node notification message. When a change is made to the indicated route and there is an addition or change to the route table, a specific node notification message including the route to the specific node in the route table is directly transmitted via the radio link. Broadcasting to a node within a communicable range, and when a packet transfer request to a certain destination node occurs, if there is no route corresponding to the destination node in the route table, a route request message directed to the destination node is When a route response message corresponding to the route request message is received by broadcasting to a node in a range that can be directly communicable via a wireless link, the route response message transmission node and the metric described in the route response message are sent to the route destination. When a route request message from another node is received as a route to the node, and when a route request message is received from another node, the route addressed to the sending node is stored in the route table using information in the route request message. The wireless node itself adds the destination node described in the route request message. If the wireless node itself is not the destination node, the route request message is sent to a node in a range where communication can be performed directly over the wireless link. Broadcasting.
[0027]
Further, according to the present invention, in a packet route search method of a wireless node that transmits and receives packets through a wireless interface, The wireless node is a specific node, A packet in which “an adjacent node to which the packet is to be transferred to deliver a packet to a certain destination node” and “a metric that is a value indicating a property of a route through which the packet reaches the destination node through the adjacent node” A route table that is a set of transfer routes is held, and a specific node notification message indicating that the wireless node itself is a specific node at the start-up of the wireless node itself or at certain time intervals is a wireless link. Broadcasting to nodes in a range that can be directly communicated with each other, and broadcasting a specific node investigation message to nodes in a range that can be directly communicated with a wireless link when a failure is detected at a certain time interval or on a route to the specific node; When a specific node investigation message is received , The wireless node itself is a specific node And a route to the specific node when another wireless node is a further specific node. The specific node notification message shown is returned to the node that sent the specific node investigation message, and when the specific node notification message is received, the route described in the specific node notification message includes “ When there is a “route to a specific node not held”, the route in the specific node notification message is added to the route table, and “route table” is added to the route described in the specific node notification message. If there is a `` route to a specific node holding the route '' and the metric of the route described in the specific node notification message is smaller than the route existing in the route table, When the route is changed to the route described in the specific node notification message and an addition or change to the route table occurs, the specific node including the route to the specific node in the route table is displayed. Broadcasting a notification message to a node in a range that can be directly communicated with a wireless link, and when a packet transfer request to a certain destination node occurs, when there is no route corresponding to the destination node in the route table, the destination When a route request message for a node is broadcast to a node in a range that can be directly communicated by a wireless link, and when a route response message for the route request message is received, a transmission node of the route response message and the route response message A step of adding the described metric to the route table as a route to the route destination node, and transmission of the route request message using information in the route request message when a route request message from another node is received. The route addressed to the node is added to the route table and the wireless node itself If it is a destination node described in the request message, a route response message is transmitted to the transmission node of the route request message, and if the wireless node itself is not the destination node, the route request message is directly communicated via a wireless link. Broadcasting to as many nodes as possible.
[0028]
According to another embodiment of the present invention, it is also preferable that the metric of the route is “the number of wireless links through which the route passes” or “the reciprocal of the smallest band among the wireless links through which the route passes”. .
[0029]
According to another embodiment of the present invention, a flag indicating ON / OFF of a path construction request is provided in the header of a data packet, and the path construction of the data packet that is first transmitted to the specific node at the time of packet transfer to the specific node Set the request flag to ON,
When a packet whose flag indicating a path construction request is ON is received, it is preferable to construct a path to the transmission source of the packet using information in the packet.
[0030]
According to another embodiment of the present invention, when a specific node notification message is received, a “route to a specific node not held in the route table” exists in the route described in the specific node notification message. However, it is also preferable not to add the route when the metric of the route is a certain value or more.
[0031]
According to another embodiment of the present invention, when a specific node notification message is received and an addition to the routing table occurs, only a certain number is left from the smaller metric among the routes in the routing table, and the remaining routes Is deleted from the routing table, and as a result, when the contents of the routing table change before and after receiving the specific node notification message, the specific node notification message including the routing table content is directly transmitted via the radio link. Broadcasting to nodes within a communicable range is also preferable.
[0032]
According to another embodiment of the present invention, when a specific node notification message is received, a transmission node that has directly transmitted the specific node notification message via a wireless link is already set as the next node of any route in the route table. Is not registered, or the sending node is registered as the next node of any route in the routing table, and the specific node notification message is more than the metric of the route in the routing table. It is also preferable to make a change to the routing table when the metric in the middle is smaller.
[0033]
In the wireless node according to the present invention, the route from the wireless node to the specific node is reduced by delaying from the generation of the communication request to the start of packet transfer by always building the route to the specific node in a table-driven manner. For other communication modes, on-demand routes are constructed to reduce unnecessary processing, communication, and memory usage at each node. The point which can set a specific node irrespective of the distance between nodes differs from a prior art.
[0034]
In addition, by constructing a route from a specific node to a radio node at the same time as the first packet transmission from the radio node to the specific node, it is possible to return a packet from the specific node to the radio node without delay.
[0035]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
[0036]
FIG. 1 is a flowchart for explaining a first embodiment of the present invention corresponding to claim 1 or 9. In the wireless node according to the present embodiment, at the time of start-up, a specific node investigation message is broadcast to nodes that can communicate directly with the wireless link (step 2000), and then enters an event waiting state (step 2010).
[0037]
When an event occurs while waiting for an event (step 2020), the event type is determined (step 2030). If the event type is a data transmission request, it is confirmed whether a route for the data destination exists in the route table (step 2050). If the route exists, the data packet is transferred according to the route table, and the state returns to the event waiting state (step 2080).
[0038]
If the route does not exist, a route request message is broadcast to a node that can directly communicate with the wireless link (step 2060), the data is stored in the route construction waiting buffer, and the state returns to the event waiting state (step 2070). .
[0039]
On the other hand, if the event type is message reception, the message type is checked (step 2040).
[0040]
If the message type is a specific node investigation message, routes to all specific nodes are extracted from the route table, a specific node notification message including the route is transmitted to the transmission source of the specific node investigation message, and an event waits. Return to the state (step 2090).
[0041]
If the message type is a specific node notification message, first, it is confirmed whether or not a “route to a specific node not held in the route table” exists in the route in the message (step 2100). If it exists, the route in the specific node notification message is added to the route table (step 2110).
[0042]
Next, it is determined whether or not “a route to a specific node held in the route table and having a smaller metric than the route in the route table” exists in the route in the specific node notification message. Confirmation (step 2120). If it exists, the route in the route table is replaced with the route in the specific node notification message (step 2130).
[0043]
Next, it is determined whether or not a route has been added or changed to the route table by the operation of
[0044]
If the message type checked in
[0045]
Next, it checks whether it is the destination of the route request message. (Step 2160).
[0046]
If it is the destination of the route request message, the route response message is transmitted according to the route constructed in
[0047]
If it is not the destination of the route request message, it broadcasts the route request message to nodes that can communicate directly with the wireless link, and returns to the event waiting state (step 2170).
[0048]
If the message type checked in
[0049]
Next, the data in the path construction waiting buffer is referred to, and the data whose destination matches the transmission source of the path response message is transmitted based on the path constructed in step 2190, and the process returns to the event waiting state (step 2200). .
[0050]
FIG. 3 is a flowchart of another embodiment according to the present invention, corresponding to claim 2 or 10. 3 differs from FIG. 1 in that
[0051]
In the present embodiment, a specific node notification message stating that it is a specific node at the time of start-up is broadcast to a node that can communicate directly with the wireless link (step 2210).
[0052]
If the message type checked in
[0053]
Further, if it is determined in
[0054]
Next, an example of communication between wireless nodes in a network constituted by a node having the means described in
[0055]
FIG. 4 is a configuration diagram of a network to which communication between wireless nodes is applied using the wireless node of the present invention.
[0056]
This network includes a
[0057]
FIG. 5 is an explanatory diagram of a message flow when a certain node is started up and a path table to be constructed in FIG. This corresponds to a case in which the metric of the route is “the reciprocal of the smallest band among the wireless links through which the route passes” in
[0058]
When the
[0059]
In this way, each node transmits a specific node investigation message, and the specific node returns a specific node notification message, so that a path from the specific node to the specific node can be established in the node that can directly communicate with the radio link. Is possible.
[0060]
FIG. 6 is an explanatory diagram of a message flow at the time of starting another node and a path table to be constructed in FIG. When only the
[0061]
When the
[0062]
Therefore, the contents of the route table 170 indicate that in order to communicate with the
[0063]
In this way, even a node that is not directly communicable from a specific node through a wireless link can construct a route to the specific node.
[0064]
FIG. 7 is an explanatory diagram of a message flow at the time of starting a specific node and a path table to be constructed in FIG. When only the
[0065]
The
[0066]
Next, the
[0067]
The
[0068]
As described above, when each specific node transmits a specific node notification message, a path to the specific node is established in each node.
[0069]
The specific node investigation message and the specific node notification message transmitted / received by each node can be constructed not only at the time of startup but also by transmitting / receiving at regular intervals. Each node reconstructs the route by sending a specific node investigation message when a failure occurs in the route to the specific node, that is, when communication with the node indicated in the next node of the route table becomes impossible. Is possible.
[0070]
FIG. 8 is a network configuration diagram when the
[0071]
In this network, the
[0072]
In such a network, as described in the above-described embodiment, since a route from each node to each specific node is always constructed, when a packet transmission request to the wired
[0073]
FIG. 9 is an explanatory diagram in which a metric according to the present invention in FIG. 4 is used as a distance, and a path between each node and a specific node is constantly constructed. The example of the routing table constructed | assembled by each node at the normal time after all the nodes stood up is shown. This corresponds to a case in which the metric of the route is “the number of wireless links through which the route passes” according to
[0074]
The
[0075]
FIG. 10 is an explanatory diagram of transmission of a route request message when communication is performed between nodes according to the present invention. This shows an example of a flow of a route request message and a route table to be constructed when performing communication from the
[0076]
FIG. 11 is a configuration diagram of the header of the message 300 in FIG. That is, the destination of this message is
[0077]
Since the message type is the route request message, the
[0078]
The
[0079]
On the other hand, the
[0080]
On the other hand, since the destination in the
[0081]
FIG. 12 is an explanatory diagram of transmission of a route response message when communication is performed between nodes according to the present invention. This shows an example of a flow of a route response message and a route table constructed at each node at that time.
[0082]
The
[0083]
FIG. 13 is a configuration diagram of the header of the message 340 in FIG. That is, the destination of this message is
[0084]
The
[0085]
Next, the
[0086]
The
[0087]
In this way, communication between the
[0088]
FIG. 14 is an explanatory diagram of data packet transfer from a certain node to a specific node according to the present invention. This shows an example of a message flow when a packet is transmitted from the
[0089]
The
[0090]
FIG. 15 is a configuration diagram of the header of the message 200 in FIG. That is, the destination is the
[0091]
In the
[0092]
Next, since it is understood from the routing table 122 that the
[0093]
FIG. 16 is a configuration diagram of the header of the message 210 in FIG. That is, it is the
[0094]
Since the path construction flag is ON in the
[0095]
Next, since it can be seen from the routing table 132 that direct communication is possible with the
[0096]
FIG. 17 is a configuration diagram of the message 220 header in FIG. That is, it is the
[0097]
Since the path construction flag is ON in the
[0098]
Finally, since the destination in the message 220 indicates itself, the
[0099]
In this way, packet transmission from each node to a specific node is possible using a route table that is always constructed, and by further turning on the route construction flag of the packet to be transmitted, the route from the specific node to each node can also be transmitted. It becomes possible to construct.
[0100]
FIG. 18 is a configuration diagram of a network to which the packet transfer path construction method in the wireless network of the present invention is applied, corresponding to
[0101]
This network includes
[0102]
Here, it is assumed that a node other than the
[0103]
FIG. 19 is an explanatory view of a message flow and a route table to be constructed according to the packet transfer route construction method in the wireless network of the present invention, corresponding to claim 5 or 13. An example is shown in which “distance”, which means “the number of wireless links through which each route passes”, is used as a route metric, and each node does not hold a route to a specific node whose distance is 3 or more in the route table. .
[0104]
The
[0105]
The
[0106]
Thereafter, the
[0107]
In this way, by limiting whether or not a route is held by the “distance” metric, each node does not need to always have a route to all the specific nodes in the network, and the amount of memory can be reduced. . In addition, when a specific node notification message is received, if these restrictions are not set, the necessary processing and message transmission become unnecessary, and the amount of processing and messages at the node that are necessary when building a route to the specific node at all times The amount of communication is also reduced.
[0108]
FIG. 20 is an explanatory diagram of a message flow and a route table to be constructed according to the packet transfer route construction method in the wireless network of the present invention, corresponding to claim 6 or 14. FIG. 20 shows “distance” which means “the number of wireless links through which each route passes” as a route metric with respect to the message flow and the route table to be constructed when the
[0109]
The
[0110]
The
[0111]
Next, the
[0112]
On the other hand, the
[0113]
Since all the routes in the message 990 are known at the
[0114]
Thus, by setting a limit on the number of routes held in the route table, each node does not need to always have routes to all the specific nodes in the network, and the memory amount can be reduced. In addition, when a specific node notification message is received, if these restrictions are not set, the necessary processing and message transmission become unnecessary, and the amount of processing and messages at the node that are necessary when building a route to the specific node at all times The amount of communication is also reduced.
[0115]
FIG. 21 is an explanatory view of a message flow and a route table to be constructed according to the packet transfer route construction method in the wireless network of the present invention, corresponding to claim 7 or 15. FIG. 21 shows “distance” which means “the number of wireless links through which each route passes” as a route metric with respect to the message flow and the route table to be constructed when the
[0116]
The
[0117]
The
[0118]
Next, the
[0119]
FIG. 22 shows a flow of such a message and an example of a constructed route table following FIG.
[0120]
The
[0121]
As a result, both the
[0122]
In this way, by restricting one next node to build a route to only one specific node, each node does not need to always have a route to every specific node in the network, and the amount of memory is reduced. Reduction is possible. In addition, when a specific node notification message is received, if these restrictions are not set, the necessary processing and message transmission become unnecessary, and the amount of processing and messages at the node that are necessary when building a route to the specific node at all times The amount of communication is also reduced.
[0123]
【The invention's effect】
As described above, according to the present invention, as described in
[0124]
Furthermore, as described in
[0125]
In addition, as described in
[0126]
In particular, as described in
[0127]
Therefore, the present invention is a wireless access system that accommodates a large number of terminals through a gateway node through a wireless multi-hop connection, while reducing the delay from the generation of many communication requests to the start of transfer, This is effective when you want to execute path construction with reduced communication and memory usage.
[Brief description of the drawings]
FIG. 1 is a flowchart for explaining a first embodiment of the present invention corresponding to claim 1;
FIG. 2 is a network configuration diagram to which a conventional method is applied.
FIG. 3 is a flowchart of another embodiment according to the present invention, corresponding to claim 2 or 10;
FIG. 4 is a configuration diagram of a network to which communication between wireless nodes is applied using the wireless node of the present invention.
FIG. 5 is an explanatory diagram of a message flow when a certain node starts up and a path table to be constructed in FIG. 4;
6 is an explanatory diagram of a message flow at the time of starting another node and a path table to be constructed in FIG. 4;
7 is an explanatory diagram of a message flow at the time of starting a specific node and a path table to be constructed in FIG. 4;
FIG. 8 is a network configuration diagram when the specific node in FIG. 4 is a gateway node;
FIG. 9 is an explanatory diagram in which a metric according to the present invention is used as a distance and a path between each node and a specific node is constantly constructed.
FIG. 10 is an explanatory diagram of transmission of a route request message when performing communication between nodes according to the present invention.
11 is a configuration diagram of a header of the message 300 in FIG.
FIG. 12 is an explanatory diagram of transmission of a route response message when communication is performed between nodes according to the present invention.
13 is a configuration diagram of a header of the message 340 in FIG. 12. FIG.
FIG. 14 is an explanatory diagram of data packet transfer from a certain node to a specific node according to the present invention.
15 is a configuration diagram of a header of the message 200 in FIG.
16 is a configuration diagram of a header of the message 210 in FIG.
17 is a configuration diagram of a message 220 header in FIG. 14. FIG.
FIG. 18 is a block diagram of a network to which a packet transfer path construction method in a wireless network according to the present invention is applied, corresponding to
FIG. 19 is an explanatory diagram of a message flow and a route table to be constructed according to the packet transfer route construction method in the wireless network of the present invention, corresponding to claim 5 or 13;
FIG. 20 is an explanatory diagram of a message flow and a route table to be constructed according to the packet transfer route construction method in the wireless network of the present invention, corresponding to claim 6 or 14;
FIG. 21 is an explanatory diagram of a message flow and a route table to be constructed according to the packet transfer route construction method in the wireless network of the present invention, corresponding to claim 7 or 15;
22 is an explanatory diagram following the explanatory diagram of FIG. 21. FIG.
Claims (15)
「ある宛先ノードヘパケットを届けるために該パケットを転送すべき隣接ノード」及び「該隣接ノードを通じて該宛先ノードにパケットが届くまでに経由する経路の性質を表す値であるメトリック」を記したパケット転送の経路の集合である経路表を保持し、該経路表に従って他ノード宛のパケットの中継を行う手段と、
当該無線ノード自身の立ち上げ時、若しくは一定時間毎、又は特定ノードとの間の経路に障害を検出した時に、特定ノード調査メッセージを、無線リンクで直接通信可能な範囲のノードにブロードキャストする手段と、
前記特定ノード調査メッセージを受信した時に、当該無線ノードが保持している特定ノードヘの経路を記した特定ノード通知メッセージを、前記特定ノード調査メッセージを送信したノードに返送する手段と、
前記特定ノード通知メッセージを受信した時に、該特定ノード通知メッセージ内に記された経路の中に「経路表で保持していない特定ノードへの経路」が存在する場合に、該特定ノード通知メッセージ内の該経路を経路表に追加し、
前記特定ノード通知メッセージ内に記された経路の中に「経路表で経路を保持しているある特定ノードヘの経路」が存在し、かつ、該特定ノード通知メッセージ内に記された経路の方が経路表に存在する経路よりもメトリックが小さい場合に、経路表内の該経路を該特定ノード通知メッセージ内に記された経路に変更し、
前記経路表への追加又は変更が生じた場合に、該経路表内の特定ノードヘの経路を含んだ特定ノード通知メッセージを、無線リンクで直接通信可能な範囲のノードにブロードキャストする手段と、
ある宛先ノードヘのパケットの転送要求が発生した時に、前記経路表に該宛先ノードに対応する経路がない場合に、該宛先ノードヘ向けた経路要求メッセージを、無線リンクで直接通信可能な範囲のノードにブロードキャストし、該経路要求メッセージに対する経路応答メッセージを受信した場合に、該経路応答メッセージの送信ノード、及び該経路応答メッセージ中に記載のメトリックを該経路宛先ノードヘの経路として前記経路表へ追加する手段と、
他ノードからの経路要求メッセージを受信した場合に、該経路要求メッセージ中の情報を用いて、該経路要求メッセージの送信ノード宛の経路を前記経路表に追加するとともに、当該無線ノード自身が該経路要求メッセージ中に記載の宛先ノードであれば、該経路要求メッセージの送信ノードに宛に経路応答メッセージを送信し、当該無線ノード自身が宛先ノードでなければ、該経路要求メッセージを、無線リンクで直接通信可能な範囲のノードにブロードキャストする手段と
を有することを特徴とする無線ノード。In a wireless node having means for transmitting and receiving packets through a wireless interface,
A packet in which “an adjacent node to which the packet is to be transferred to deliver a packet to a certain destination node” and “a metric that is a value indicating a property of a route through which the packet reaches the destination node through the adjacent node” Means for holding a routing table which is a set of forwarding routes and relaying packets addressed to other nodes according to the routing table;
Means for broadcasting a specific node investigation message to nodes in a range where direct communication can be performed via a wireless link when the wireless node itself starts up, or at a certain time interval, or when a failure is detected in a route with the specific node; ,
Means for returning a specific node notification message describing a route to a specific node held by the wireless node to the node that transmitted the specific node check message when the specific node check message is received;
When the specific node notification message is received, if there is a “route to a specific node not held in the route table” in the route described in the specific node notification message, Add the route to the routing table,
Among the routes described in the specific node notification message, there is a “route to a specific node holding a route in the route table”, and the route described in the specific node notification message is more When the metric is smaller than the route existing in the route table, the route in the route table is changed to the route described in the specific node notification message,
Means for broadcasting a specific node notification message including a route to a specific node in the route table to nodes in a range that can be directly communicated by a radio link when an addition or change to the route table occurs;
When a packet transfer request to a certain destination node occurs, and there is no route corresponding to the destination node in the route table, a route request message directed to the destination node is sent to a node in a range that can be directly communicated by a wireless link. Means for adding a metric described in the route response message to the route table as a route to the route destination node when broadcasting and receiving a route response message for the route request message When,
When a route request message from another node is received, using the information in the route request message, a route addressed to the transmission node of the route request message is added to the route table, and the wireless node itself If it is a destination node described in the request message, a route response message is transmitted to the transmission node of the route request message. If the wireless node itself is not the destination node, the route request message is directly transmitted via the wireless link. And a means for broadcasting to nodes within a communicable range.
「ある宛先ノードヘパケットを届けるために該パケットを転送すべき隣接ノード」及び「該隣接ノードを通じて該宛先ノードにパケットが届くまでに経由する経路の性質を表す値であるメトリック」を記したパケット転送の経路の集合である経路表を保持し、該経路表に従って他ノード宛のパケットの中継を行う手段と、
当該無線ノード自身の立ち上げ時、又は一定時間毎に、当該無線ノード自身が特定ノードであることを示した特定ノード通知メッセージを無線リンクで直接通信可能な範囲のノードにブロードキャストする手段と、
一定時間毎又は特定ノードヘの経路に障害を検出した時に、特定ノード調査メッセージを無線リンクで直接通信可能な範囲のノードにブロードキャストする手段と、
特定ノード調査メッセージを受信した時に、当該無線ノード自身が特定ノードであることと、他の無線ノードが更なる特定ノードであった場合の該特定ノードへの経路とを示した特定ノード通知メッセージを、該特定ノード調査メッセージを送信したノードに返送する手段と、
前記特定ノード通知メッセージを受信した時に、該特定ノード通知メッセージ内に記された経路の中に「経路表で保持していない特定ノードへの経路」が存在する場合に、該特定ノード通知メッセージ内の該経路を経路表に追加し、
該特定ノード通知メッセージ内に記された経路の中に「経路表で経路を保持しているある特定ノードヘの経路」が存在し、かつ、該特定ノード通知メッセージ内に記された経路の方が経路表に存在する経路よりもメトリックが小さい場合に、経路表内の該経路を該特定ノード通知メッセージ内に記された経路に変更し、
前記経路表への追加又は変更が生じた場合に、経路表内の特定ノードヘの経路を含んだ特定ノード通知メッセージを、無線リンクで直接通信可能な範囲のノードにブロードキャストする手段と、
ある宛先ノードヘのパケットの転送要求が発生した時に、前記経路表に該宛先ノードに対応する経路がない場合に、該宛先ノードヘ向けた経路要求メッセージを、無線リンクで直接通信可能な範囲のノードにブロードキャストし、該経路要求メッセージに対する経路応答メッセージを受信した時に、該経路応答メッセージの送信ノードと、該経路応答メッセージ中に記載のメトリックとを、該経路宛先ノードヘの経路として経路表へ追加する手段と、
他ノードからの経路要求メッセージを受信した時に、該経路要求メッセージ中の情報を用いて、該経路要求メッセージの送信ノード宛の経路を経路表に追加するとともに、当該無線ノード自身が該経路要求メッセージ中に記載の宛先ノードであれば、該経路要求メッセージの送信ノード宛に経路応答メッセージを送信し、当該無線ノード自身が宛先ノードでなければ、該経路要求メッセージを、無線リンクで直接通信可能な範囲のノードにブロードキャストする手段と
を有することを特徴とする無線ノード。In a wireless node having means for transmitting and receiving packets through a wireless interface, the wireless node is a specific node,
A packet in which “an adjacent node to which the packet is to be transferred to deliver a packet to a certain destination node” and “a metric that is a value indicating a property of a route through which the packet reaches the destination node through the adjacent node” Means for holding a routing table which is a set of forwarding routes and relaying packets addressed to other nodes according to the routing table;
Means for broadcasting a specific node notification message indicating that the wireless node itself is a specific node to a node in a range that can be directly communicated with the wireless link at the time of startup of the wireless node itself or at certain time intervals;
Means for broadcasting a specific node investigation message to nodes in a range that can be directly communicated by a wireless link when a failure is detected at a certain time interval or on a route to the specific node;
When receiving a specific node probe messages, and that the wireless node itself is a specific node, the particular node notification message showing the path to the particular node if another wireless node is a further specific node Means for returning to the node that sent the specific node investigation message;
When the specific node notification message is received, if there is a “route to a specific node not held in the route table” in the route described in the specific node notification message, Add the route to the routing table,
Among the routes described in the specific node notification message, there is a “route to a specific node that holds a route in the route table”, and the route described in the specific node notification message is more When the metric is smaller than the route existing in the route table, the route in the route table is changed to the route described in the specific node notification message,
Means for broadcasting a specific node notification message including a route to a specific node in the route table to nodes in a range that can be directly communicated by a wireless link when an addition or change to the route table occurs;
When a packet transfer request to a certain destination node occurs, and there is no route corresponding to the destination node in the route table, a route request message directed to the destination node is sent to a node in a range that can be directly communicated by a wireless link. Means for adding a transmission node of the route response message and a metric described in the route response message to the route table as a route to the route destination node when the route response message is broadcast and the route response message is received When,
When a route request message from another node is received, a route addressed to the transmission node of the route request message is added to the route table using information in the route request message, and the wireless node itself transmits the route request message. If it is a destination node described in the above, a route response message is transmitted to the transmission node of the route request message, and if the wireless node itself is not the destination node, the route request message can be directly communicated via a wireless link. Means for broadcasting to nodes in range.
経路構築要求を示すフラグがONであるパケットを受信した時に、該パケット中の情報を用いて該パケットの送信元への経路を構築する
ことを特徴とする請求項1から3のいずれか1項に記載の無線ノード。A flag indicating ON / OFF of the path construction request is provided in the header of the data packet, and when the packet is transferred to a specific node, the path construction request flag of the data packet first transmitted to the specific node is set to ON.
4. When receiving a packet in which a flag indicating a route construction request is ON, a route to the transmission source of the packet is constructed using information in the packet. The wireless node described in 1.
経路表内の経路のうちメトリックの小さい方から一定数のみ残し、残りの経路は経路表から削除し、
その結果、該特定ノード通知メッセージの受信前と受信後で経路表の内容に変更が生じた場合に、経路表の内容を含んだ特定ノード通知メッセージを無線リンクで直接通信可能な範囲のノードにブロードキャストする
ことを特徴とする請求項1から5のいずれか1項に記載の無線ノード。When a specific node notification message is received and an addition to the routing table occurs,
Leave a certain number of routes in the routing table from the smaller metric, delete the remaining routes from the routing table,
As a result, when there is a change in the contents of the routing table before and after receiving the specific node notification message, the specific node notification message including the contents of the routing table is transferred to a node in a range where it can be directly communicated with the wireless link. The wireless node according to claim 1, wherein the wireless node broadcasts.
該特定ノード通知メッセージを無線リンクで直接送信してきた送信ノードが、既に経路表の、いずれの経路の次ノードとしても登録されていない場合に、又は該送信ノードが経路表内のいずれかの経路の次ノードとして登録されている場合であって、経路表内の該経路のメトリックよりも、該特定ノード通知メッセージ中のメトリックの方が小さい場合に、経路表への変更を行う
ことを特徴とする請求項1から6のいずれか1項に記載の無線ノード。When a specific node notification message is received,
When the transmitting node that has directly transmitted the specific node notification message through the radio link is not already registered as the next node of any route in the route table, or any route in the route table A change to the routing table is performed when the metric in the specific node notification message is smaller than the metric of the route in the routing table. The wireless node according to any one of claims 1 to 6.
「ある宛先ノードヘパケットを届けるために該パケットを転送すべき隣接ノード」及び「該隣接ノードを通じて該宛先ノードにパケットが届くまでに経由する経路の性質を表す値であるメトリック」を記したパケット転送の経路の集合である経路表を保持しており、
当該無線ノード自身の立ち上げ時、若しくは一定時間毎、又は特定ノードとの間の経路に障害を検出した時に、特定ノード調査メッセージを、無線リンクで直接通信可能な範囲のノードにブロードキャストする段階と、
前記特定ノード調査メッセージを受信した時に、当該無線ノードが保持している特定ノードヘの経路を記した特定ノード通知メッセージを、前記特定ノード調査メッセージを送信したノードに返送する段階と、
前記特定ノード通知メッセージを受信した時に、該特定ノード通知メッセージ内に記された経路の中に「経路表で保持していない特定ノードへの経路」が存在する場合に、該特定ノード通知メッセージ内の該経路を経路表に追加し、
前記特定ノード通知メッセージ内に記された経路の中に「経路表で経路を保持しているある特定ノードヘの経路」が存在し、かつ、該特定ノード通知メッセージ内に記された経路の方が経路表に存在する経路よりもメトリックが小さい場合に、経路表内の該経路を該特定ノード通知メッセージ内に記された経路に変更し、
前記経路表への追加又は変更が生じた場合に、該経路表内の特定ノードヘの経路を含んだ特定ノード通知メッセージを、無線リンクで直接通信可能な範囲のノードにブロードキャストする段階と、
ある宛先ノードヘのパケットの転送要求が発生した時に、前記経路表に該宛先ノードに対応する経路がない場合に、該宛先ノードヘ向けた経路要求メッセージを、無線リンクで直接通信可能な範囲のノードにブロードキャストし、該経路要求メッセージに対する経路応答メッセージを受信した場合に、該経路応答メッセージの送信ノード、及び該経路応答メッセージ中に記載のメトリックを該経路宛先ノードヘの経路として前記経路表へ追加する段階と、
他ノードからの経路要求メッセージを受信した場合に、該経路要求メッセージ中の情報を用いて、該経路要求メッセージの送信ノード宛の経路を前記経路表に追加するとともに、当該無線ノード自身が該経路要求メッセージ中に記載の宛先ノードであれば、該経路要求メッセージの送信ノードに宛に経路応答メッセージを送信し、当該無線ノード自身が宛先ノードでなければ、該経路要求メッセージを、無線リンクで直接通信可能な範囲のノードにブロードキャストする段階と
を有することを特徴とする無線ノードのパケット経路探索方法。In a packet path search method of a wireless node that transmits and receives packets through a wireless interface,
A packet in which “an adjacent node to which the packet is to be transferred to deliver a packet to a certain destination node” and “a metric that is a value indicating a property of a route through which the packet reaches the destination node through the adjacent node” Holds a routing table that is a set of forwarding routes,
Broadcasting a specific node investigation message to nodes in a range that can be directly communicated with a wireless link when the wireless node itself starts up, or at a certain time interval, or when a failure is detected in a route with the specific node; ,
When receiving the specific node investigation message, returning a specific node notification message describing the route to the specific node held by the wireless node to the node that transmitted the specific node investigation message;
When the specific node notification message is received, if there is a “route to a specific node not held in the route table” in the route described in the specific node notification message, Add the route to the routing table,
Among the routes described in the specific node notification message, there is a “route to a specific node holding a route in the route table”, and the route described in the specific node notification message is more When the metric is smaller than the route existing in the route table, the route in the route table is changed to the route described in the specific node notification message,
Broadcasting a specific node notification message including a route to a specific node in the routing table to nodes in a range that can be directly communicated with a radio link when an addition or change to the routing table occurs;
When a packet transfer request to a certain destination node occurs, and there is no route corresponding to the destination node in the route table, a route request message directed to the destination node is sent to a node in a range that can be directly communicated by a wireless link. When broadcasting and receiving a route response message for the route request message, a step of adding the transmission node of the route response message and the metric described in the route response message to the route table as a route to the route destination node When,
When a route request message from another node is received, using the information in the route request message, a route addressed to the transmission node of the route request message is added to the route table, and the wireless node itself If it is a destination node described in the request message, a route response message is transmitted to the transmission node of the route request message. If the wireless node itself is not the destination node, the route request message is directly transmitted via the wireless link. Broadcasting to nodes within a communicable range, and a packet path search method for a wireless node.
「ある宛先ノードヘパケットを届けるために該パケットを転送すべき隣接ノード」及び「該隣接ノードを通じて該宛先ノードにパケットが届くまでに経由する経路の性質を表す値であるメトリック」を記したパケット転送の経路の集合である経路表を保持しており、
当該無線ノード自身の立ち上げ時、又は一定時間毎に、当該無線ノード自身が特定ノードであることを示した特定ノード通知メッセージを無線リンクで直接通信可能な範囲のノードにブロードキャストする段階と、
一定時間毎又は特定ノードヘの経路に障害を検出した時に、特定ノード調査メッセージを無線リンクで直接通信可能な範囲のノードにブロードキャストする段階と、
特定ノード調査メッセージを受信した時に、当該無線ノード自身が特定ノードであることと、他の無線ノードが更なる特定ノードであった場合の該特定ノードへの経路とを示した特定ノード通知メッセージを、該特定ノード調査メッセージを送信したノードに返送する段階と、
前記特定ノード通知メッセージを受信した時に、該特定ノード通知メッセージ内に記された経路の中に「経路表で保持していない特定ノードへの経路」が存在する場合に、該特定ノード通知メッセージ内の該経路を経路表に追加し、
該特定ノード通知メッセージ内に記された経路の中に「経路表で経路を保持しているある特定ノードヘの経路」が存在し、かつ、該特定ノード通知メッセージ内に記された経路の方が経路表に存在する経路よりもメトリックが小さい場合に、経路表内の該経路を該特定ノード通知メッセージ内に記された経路に変更し、
前記経路表への追加又は変更が生じた場合に、経路表内の特定ノードヘの経路を含んだ特定ノード通知メッセージを、無線リンクで直接通信可能な範囲のノードにブロードキャストする段階と、
ある宛先ノードヘのパケットの転送要求が発生した時に、前記経路表に該宛先ノードに対応する経路がない場合に、該宛先ノードヘ向けた経路要求メッセージを、無線リンクで直接通信可能な範囲のノードにブロードキャストし、該経路要求メッセージに対する経路応答メッセージを受信した時に、該経路応答メッセージの送信ノードと、該経路応答メッセージ中に記載のメトリックとを、該経路宛先ノードヘの経路として経路表へ追加する段階と、
他ノードからの経路要求メッセージを受信した時に、該経路要求メッセージ中の情報を用いて、該経路要求メッセージの送信ノード宛の経路を経路表に追加するとともに、当該無線ノード自身が該経路要求メッセージ中に記載の宛先ノードであれば、該経路要求メッセージの送信ノード宛に経路応答メッセージを送信し、当該無線ノード自身が宛先ノードでなければ、該経路要求メッセージを、無線リンクで直接通信可能な範囲のノードにブロードキャストする段階と
を有することを特徴とする無線ノードのパケット経路探索方法。In the packet path search method of a wireless node that transmits and receives packets through a wireless interface, the wireless node is a specific node,
A packet in which “an adjacent node to which the packet is to be transferred to deliver a packet to a certain destination node” and “a metric that is a value indicating a property of a route through which the packet reaches the destination node through the adjacent node” Holds a routing table that is a set of forwarding routes,
Broadcasting a specific node notification message indicating that the wireless node itself is a specific node to a node in a range that can be directly communicated with the wireless link at the start-up of the wireless node itself or at certain time intervals;
Broadcasting a specific node investigation message to nodes in a range that can be directly communicated with a wireless link when a failure is detected at a certain time interval or on a route to the specific node;
When receiving a specific node probe messages, and that the wireless node itself is a specific node, the particular node notification message showing the path to the particular node if another wireless node is a further specific node Returning to the node that sent the specific node investigation message;
When the specific node notification message is received, if there is a “route to a specific node not held in the route table” in the route described in the specific node notification message, Add the route to the routing table,
Among the routes described in the specific node notification message, there is a “route to a specific node that holds a route in the route table”, and the route described in the specific node notification message is more When the metric is smaller than the route existing in the route table, the route in the route table is changed to the route described in the specific node notification message,
Broadcasting a specific node notification message including a route to a specific node in the routing table to nodes in a range that can be directly communicated with a radio link when an addition or change to the routing table occurs;
When a packet transfer request to a certain destination node occurs, and there is no route corresponding to the destination node in the route table, a route request message directed to the destination node is sent to a node in a range that can be directly communicated by a wireless link When broadcasting and receiving a route response message for the route request message, a step of adding the transmission node of the route response message and the metric described in the route response message to the route table as a route to the route destination node When,
When a route request message from another node is received, a route addressed to the transmission node of the route request message is added to the route table using information in the route request message, and the wireless node itself transmits the route request message. If it is a destination node described in the above, a route response message is transmitted to the transmission node of the route request message, and if the wireless node itself is not the destination node, the route request message can be directly communicated via a wireless link. A method of searching for a packet path of a wireless node, comprising: broadcasting to a range of nodes.
経路構築要求を示すフラグがONであるパケットを受信した時に、該パケット中の情報を用いて該パケットの送信元への経路を構築する
ことを特徴とする請求項9から11のいずれか1項に記載の無線ノードのパケット経路探索方法。A flag indicating ON / OFF of the path construction request is provided in the header of the data packet, and when the packet is transferred to a specific node, the path construction request flag of the data packet transmitted first to the specific node is set to ON,
12. When receiving a packet whose flag indicating a path construction request is ON, constructs a path to the transmission source of the packet using information in the packet. A method for searching a packet path of a wireless node according to claim 1.
経路表内の経路のうちメトリックの小さい方から一定数のみ残し、残りの経路は経路表から削除し、
その結果、該特定ノード通知メッセージの受信前と受信後で経路表の内容に変更が生じた場合に、経路表の内容を含んだ特定ノード通知メッセージを無線リンクで直接通信可能な範囲のノードにブロードキャストする
ことを特徴とする請求項9から13のいずれか1項に記載の無線ノードのパケット経路探索方法。When a specific node notification message is received and an addition to the routing table occurs,
Leave a certain number of routes in the routing table from the smaller metric, delete the remaining routes from the routing table,
As a result, when there is a change in the contents of the routing table before and after receiving the specific node notification message, the specific node notification message including the contents of the routing table is transferred to a node in a range where it can be directly communicated with the wireless link. The method for searching a packet path of a wireless node according to any one of claims 9 to 13, wherein broadcasting is performed.
該特定ノード通知メッセージを無線リンクで直接送信してきた送信ノードが、既に経路表の、いずれの経路の次ノードとしても登録されていない場合に、又は該送信ノードが経路表内のいずれかの経路の次ノードとして登録されている場合であって、経路表内の該経路のメトリックよりも、該特定ノード通知メッセージ中のメトリックの方が小さい場合に、経路表への変更を行う
ことを特徴とする請求項9から14のいずれか1項に記載の無線ノードのパケット経路探索方法。When a specific node notification message is received,
When the transmitting node that has directly transmitted the specific node notification message through the wireless link is not already registered as the next node of any route in the route table, or any route in the route table A change to the routing table is performed when the metric in the specific node notification message is smaller than the metric of the route in the routing table. The method for searching a packet path of a wireless node according to any one of claims 9 to 14.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2001040341A JP3613185B2 (en) | 2001-02-16 | 2001-02-16 | Wireless node and packet route search method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2001040341A JP3613185B2 (en) | 2001-02-16 | 2001-02-16 | Wireless node and packet route search method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2002247088A JP2002247088A (en) | 2002-08-30 |
JP3613185B2 true JP3613185B2 (en) | 2005-01-26 |
Family
ID=18902971
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2001040341A Expired - Lifetime JP3613185B2 (en) | 2001-02-16 | 2001-02-16 | Wireless node and packet route search method thereof |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3613185B2 (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3790140B2 (en) * | 2001-08-28 | 2006-06-28 | 日本電信電話株式会社 | Multihop network relay method and wireless node |
US7730207B2 (en) * | 2004-03-31 | 2010-06-01 | Microsoft Corporation | Routing in peer-to-peer networks |
JP4708111B2 (en) * | 2005-07-22 | 2011-06-22 | 三菱電機株式会社 | Ad hoc network system and its node equipment |
JP4810606B2 (en) * | 2007-02-23 | 2011-11-09 | 三菱電機株式会社 | Nodes in ad hoc networks and ad hoc network systems |
JP4798583B2 (en) * | 2007-06-28 | 2011-10-19 | 株式会社国際電気通信基礎技術研究所 | 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 |
JP5897699B2 (en) * | 2012-03-02 | 2016-03-30 | 富士通株式会社 | Terminal, route generation method, and route generation program |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH07264207A (en) * | 1994-03-24 | 1995-10-13 | Hitachi Ltd | Data terminal equipment connection method to atm exchange network |
JPH1132072A (en) * | 1997-07-11 | 1999-02-02 | Nippon Telegr & Teleph Corp <Ntt> | Radio packet path determination method in radio network |
JP3559508B2 (en) * | 2000-08-16 | 2004-09-02 | 日本電信電話株式会社 | Packet transfer route search method and method for checking communication possibility of wireless node with gateway node |
-
2001
- 2001-02-16 JP JP2001040341A patent/JP3613185B2/en not_active Expired - Lifetime
Also Published As
Publication number | Publication date |
---|---|
JP2002247088A (en) | 2002-08-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5199061B2 (en) | Hybrid mesh routing protocol | |
JP5087553B2 (en) | Method and system for adaptive wireless routing protocol in mesh networks | |
US8064416B2 (en) | Route selection in wireless networks | |
US8081628B2 (en) | Multicast distribution tree establishment and maintenance in a wireless multi-hop relay communication system | |
US7330694B2 (en) | Method for setting up route path through route discovery in a mobile ad hoc network using partial route discovery | |
JP4258698B2 (en) | Broadcast system, broadcast method thereof, and broadcast program | |
US7894408B2 (en) | System and method for distributing proxying error information in wireless networks | |
JP4605426B2 (en) | COMMUNICATION TERMINAL DEVICE, ITS CONTROL METHOD, PROGRAM | |
US7672307B2 (en) | Apparatus and method for transparent layer 2 routing in a mobile ad hoc network | |
US8213352B2 (en) | Wireless communication system, wireless communication device, wireless communication method, and program | |
CN106953683B (en) | Route realization method suitable for large-scale dynamic networking based on MF-TDMA satellite channel | |
CN109068367B (en) | Wireless token passing method, device, equipment and readable storage medium | |
US20080107033A1 (en) | Radio communication network capable of radio communication with reduced overhead | |
JP5004999B2 (en) | Hybrid mesh routing protocol | |
JP3559508B2 (en) | Packet transfer route search method and method for checking communication possibility of wireless node with gateway node | |
US20080165692A1 (en) | Method and system for opportunistic data communication | |
JP3613185B2 (en) | Wireless node and packet route search method thereof | |
JP4830879B2 (en) | Wireless data communication system | |
JP5241481B2 (en) | Communication system including ad hoc network, mobile communication device of communication system, and communication method in communication system | |
KR101013752B1 (en) | Method for transmitting a data in ad-hoc network | |
JP2001274815A (en) | Message routing method for in ad hoc network | |
JP3790140B2 (en) | Multihop network relay method and wireless node | |
US7286542B2 (en) | Mobile communication network system, foreign agent router, address server and packet delivery method employed therein | |
JP7326230B2 (en) | Communication system, node, communication method and program | |
JP2008053998A (en) | Path control system of wireless multi-hop network |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20040702 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20040713 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20040907 |
|
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: 20041005 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20041018 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 3613185 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20071105 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20081105 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20091105 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101105 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101105 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111105 Year of fee payment: 7 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111105 Year of fee payment: 7 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121105 Year of fee payment: 8 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121105 Year of fee payment: 8 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131105 Year of fee payment: 9 |
|
S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
EXPY | Cancellation because of completion of term |