JP2006180010A - Connection management method, router apparatus, communication terminal, and connection management system - Google Patents
Connection management method, router apparatus, communication terminal, and connection management system Download PDFInfo
- Publication number
- JP2006180010A JP2006180010A JP2004368803A JP2004368803A JP2006180010A JP 2006180010 A JP2006180010 A JP 2006180010A JP 2004368803 A JP2004368803 A JP 2004368803A JP 2004368803 A JP2004368803 A JP 2004368803A JP 2006180010 A JP2006180010 A JP 2006180010A
- Authority
- JP
- Japan
- Prior art keywords
- communication terminal
- state
- communication
- router device
- link
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
本発明は、IP(Internet Protocol)ネットワークにおける通信リンクに接続する通信端末を管理する方法であって、特に通信端末が移動してハンドオーバする場合の接続管理方法、ルータ装置、および接続管理システムに関する。 The present invention relates to a method for managing a communication terminal connected to a communication link in an IP (Internet Protocol) network, and particularly to a connection management method, a router device, and a connection management system when a communication terminal moves and performs handover.
従来より、IPv6プロトコルを用いたIPネットワークにおいて通信リンクに接続する通信端末の接続管理方法として、IETF RFC2461で規定される近隣キャッシュを用いた近隣探索方法が知られている。 Conventionally, as a connection management method for communication terminals connected to a communication link in an IP network using the IPv6 protocol, a neighbor search method using a neighbor cache defined by IETF RFC 2461 is known.
図19は、従来のシステム構成を示した図である。 FIG. 19 is a diagram showing a conventional system configuration.
図19において、通信端末9、10と、ルータ装置20は同一のリンク110に接続し、ルータ装置20はさらに上位ネットワーク120にも接続しており、上位ネットワーク120に接続する通信装置30と通信端末9、10との間の通信を中継する。ここで、通信装置30から通信端末9、10宛のパケットをルータ装置20が受信すると、ルータ装置30は各通信端末のIPアドレスとリンクレイヤアドレス(MACアドレス)の対応を管理するための近隣キャッシュを参照し、パケットの宛先IPアドレスに対応するリンクレイヤアドレス(MACアドレス)を求める。この近隣キャッシュにエントリされていない場合、ルータ装置20は宛先の通信端末のリンクレイヤアドレス(MACアドレス)を近隣探索する。
In FIG. 19, the
近隣探索方法の主な手順は、以下の通りである。なお、リンク110としてIEEE802.3が用いられ、通信端末10がIPアドレス3ffe:a:b:c::1とMACアドレス12:34:56:78:90:abを有するものとする。
The main procedure of the neighbor search method is as follows. Note that IEEE802.3 is used as the
この場合、ルータ装置20は上位ネットワーク120からIPアドレス3ffe:a:b:c::1宛のパケットを受信すると、プレフィックス3ffe:a:b:c::/64が割り振られたリンク110に対して近隣探索メッセージ200を送信する。
In this case, when the
図20は近隣探索メッセージ200のフォーマットを示す図であり、ターゲットアドレス201は探索対象ノードのアドレスである。
FIG. 20 is a diagram showing the format of the neighbor search message 200, and the
ルータ装置20は、このターゲットアドレスフィールド201に探索対象である通信端末のIPアドレス3ffe:a:b:c::1を記載して、リンク110の全通信端末に対してマルチキャストする。
The
該当する通信端末、すなわちここではIPアドレスが一致する通信端末10は、MACアドレス12:34:56:78:90:abを記載したターゲットリンクレイヤアドレスオプションを付加した近隣広告メッセージ210を、近隣探索メッセージ200の送信元であるルータ装置20に対して送信する。
The corresponding communication terminal, that is, the
図21はターゲットリンクレイヤアドレスオプションが付加された近隣広告メッセージ210のフォーマットを示す図である。 FIG. 21 is a diagram showing a format of the neighbor advertisement message 210 to which the target link layer address option is added.
図21において、オプションタイプフィールド212はターゲットリンクレイヤアドレスオプションの識別子を示すものであり、リンクレイヤアドレスフィールド213はター
ゲットアドレスフィールド211に対応するリンクレイヤアドレスを示す。本実施の形態において、通信端末10はターゲットアドレスフィールド211には自己のIPアドレス3ffe:a:b:c::1を、オプションタイプフィールド212にはターゲットリンクレイヤアドレスが記載されていることを示す値‘2’を、リンクレイヤアドレスフィールド213には、自己のMACアドレス12:34:56:78:90:abを記載する。
In FIG. 21, an
次に、近隣広告メッセージ210を受信したルータ装置20は、ターゲットアドレスフィールド211に記載されたIPアドレス3ffe:a:b:c::1と、リンクレイヤアドレスフィールド213に記載されたMACアドレス12:34:56:78:90:abとを近隣キャッシュに記憶する。なお、厳密には、近隣広告メッセージ210のOフラグが‘1’のときに限り近隣キャッシュに記憶する。
Next, the
以降、ルータ装置20は近隣キャッシュを参照し、上位ネットワーク120から受信した通信端末10宛のパケットに対して、MACアドレス12:34:56:78:90:abを宛先とするMACヘッダを付加してリンク110に送信する。これにより、通信端末10は自己宛のパケットを受信することができる。
Thereafter, the
また、ルータ装置20は、一定期間通信の行われなかった通信端末の近隣キャッシュエントリに対し、以下の処理を実施する。
In addition, the
図22は、ルータ装置20が管理する近隣キャッシュエントリの状態遷移図を示したものである。
FIG. 22 shows a state transition diagram of neighboring cache entries managed by the
図22において、新たにエントリが生成されると到達可能状態(REACHABLE)221に置かれる。その後、到達可能時間(REACHABLE_TIME)(通常30秒)の間、その宛先からの近隣広告メッセージ受信による接続の確認がとれない場合、ステイル状態(STALE)222に遷移する。その後、該当する通信端末へのパケット送信要求が発生すると、パケットを送信して遅延状態(DELAY)223に遷移し、同時に第一遅延検出時間(DELAY_FIRST_PROBE_TIME)(通常5秒)のタイマを起動する。タイムアウト発生時点で、遅延状態(DELAY)223にあった場合は、プルーブ状態224に遷移し、該当通信端末に対する近隣探索メッセージ200を再送時間(RETRANS_TIME)(通常1秒)間隔で最大ユニキャスト送信回数(MAX_UNICAST_SOLICIT)(通常3回)まで送信する。そして、該当通信端末から近隣探索メッセージ200に対する応答があった場合は到達可能状態(REACHABLE)221に遷移し、応答がない場合は、ヌル状態(NULL)225に遷移し該当通信端末のキャッシュエントリを消去する。このため、これ以後にルータ装置は該当通信端末宛のパケットを受信したとき、あらためて近隣探索方法を実施する必要があった。
In FIG. 22, when a new entry is generated, it is placed in a reachable state (REACHABLE) 221. After that, if the connection cannot be confirmed by receiving the neighbor advertisement message from the destination for the reachable time (REACHABLE_TIME) (usually 30 seconds), the state transits to the stale state (STALE) 222. Thereafter, when a packet transmission request to the corresponding communication terminal is generated, the packet is transmitted to transit to the delay state (DELAY) 223, and at the same time, a timer for the first delay detection time (DELAY_FIRST_PROBE_TIME) (normally 5 seconds) is started. If the delay state (DELAY) 223 is reached at the time of occurrence of the timeout, the state transits to the
また、特許文献1には、悪意ある外部端末からの攻撃を抑制し、セキュリティ向上を図る目的で、移動端末がインターネットサービスの利用を終了するときには接続するリンク上のルータ装置の管理する近隣キャッシュエントリを消去する方法が開示されている。すなわち、図23において、携帯端末501上で動作するアプリケーションが動作を終了すると、近隣キャッシュエントリの消去メッセージをルータ装置502に送信し(ステップS521)、ルータ装置502は該当する近隣キャッシュエントリを消去した後に応答メッセージを携帯端末501に送信していた(ステップS522)。
また、特許文献2には、トラフィックの増大やメモリ資源の消費を低減する通信方法が開示されている。
図24は、この従来例の通信ネットワークの構成を示す図である。図24において、通信端末604、アクセスルータ603、サブドメインルータ602、ゲートウェイルータ
601が階層構造を形成し、通信端末604が別のサブネットに移動すると、移動前のサブネットのアクセスルータ603には「不在」が記録される。移動先のサブネットのアクセスルータ603には移動体端末604が「ビジター」として登録され、アクセスルータ603の上位にある親ノード(サブドメインルータ)602に当該移動体端末の位置決め情報を送信する。これにより、親ノードに届いた通信端末宛のパケットは、移動先のアクセスルータ603を経由して通信端末604に転送される。
しかしながら、上記従来の近隣探索方法、および特許文献1による通信端末の接続管理方法では、ルータ装置20が近隣キャッシュにエントリしていた通信端末との通信が所定時間検出できなくなった場合、あるいは終了した場合、その通信端末の近隣キャッシュエントリを削除していた。このため、再度、この通信端末宛のパケットを受信したときには、この通信端末の接続状況を確認するための近隣探索を行うので、通信端末が接続されていないことを検出するには、数秒にもおよぶタイムアウト時間の経過を待つ必要があった。
However, in the above-described conventional neighbor search method and the communication terminal connection management method disclosed in
また、移動端末がリンクから切断されているにも関わらず、近隣キャッシュのエントリを保持しているルータ装置は、移動端末がリンクに接続されていないことを確認するための処理を明示的に行った上でパケット転送の処理を行う必要があった。 In addition, although the mobile terminal is disconnected from the link, the router device holding the neighbor cache entry explicitly performs processing for confirming that the mobile terminal is not connected to the link. In addition, packet transfer processing had to be performed.
さらに、特許文献2による通信方法ではドメイン内での移動に対しては効果を発揮するが、ドメイン以外に移動した場合には、移動先が親ノード602へ通信端末604の位置情報を通知することがないので、移動前のアクセスルータ603へ送信してしまう。このときの処理については、開示されておらず、このパケットを適切に処理することは難しい。
Furthermore, although the communication method according to
本発明は、上記の課題を解決するためになされ、ルータ装置が通信不能の通信端末宛のパケット処理において、ただちに到達不能メッセージ、例えば、ICMP到達不能(ICMP
Unreachable)メッセージを送信元に返送することができる通信端末の接続管理方法、ルータ装置、通信端末、および接続管理システムを提供するものである。
The present invention has been made in order to solve the above-described problem, and in processing a packet addressed to a communication terminal incapable of communicating with a router device, an immediately unreachable message, for example, ICMP unreachable (ICMP
A communication terminal connection management method, a router device, a communication terminal, and a connection management system that can return an Unreachable message to a transmission source.
上記課題を解決するために、本発明は、IPネットワークにおいて、リンクに接続する通信端末の接続管理を行うルータ装置の接続管理方法であって、通信端末が自己の通信状態をルータ装置へ通知するステップと、前記通信状態が通信不能状態を通知するものである場合、当該通知を受信したルータ装置が、当該通信端末の近隣キャッシュエントリを通信不能状態に遷移させるステップと、ルータ装置が通信端末宛のパケットを受信したとき、ルータ装置が近隣キャッシュエントリの状態を確認し、通信不能状態である場合は前記パケットの送信元に転送不能通知をただちに送信するステップとを有している。 In order to solve the above-described problems, the present invention is a connection management method for a router apparatus that manages connection of a communication terminal connected to a link in an IP network, and the communication terminal notifies the router apparatus of its own communication state. And when the communication state is a notification of the communication disabled state, the router device that has received the notification changes the neighboring cache entry of the communication terminal to the communication disabled state, and the router device is addressed to the communication terminal. The router device confirms the state of the neighbor cache entry when the packet is received, and if it is in a communication impossible state, immediately transmits a transfer impossible notification to the packet transmission source.
これにより、送信元ノードは宛先の通信端末が通信不能状態であることを送信開始後すぐに知ることができるので、届かないパケットを送信し続けるロスを低減できる。 As a result, the transmission source node can know immediately after the start of transmission that the destination communication terminal is in a communication disabled state, so that it is possible to reduce the loss of continuing to transmit unreachable packets.
本発明に係る接続管理方法は、さらに、通信可能状態を通知するものである場合、当該通知を受信したルータ装置が、当該通信端末の近隣キャッシュエントリを通信可能状態に遷移させるステップと、ルータ装置が通信端末宛のパケットを受信したとき、近隣キャッ
シュのエントリの状態が通信可能状態である場合は前記パケットを通信端末に転送するステップとを有している。
The connection management method according to the present invention further includes a step in which the router device that has received the notification causes the neighboring cache entry of the communication terminal to transition to the communicable state when notifying the communicable state; When the packet addressed to the communication terminal is received, if the state of the entry in the neighborhood cache is a communicable state, the step of transferring the packet to the communication terminal is included.
これにより、通信端末が通信不能状態から通信可能状態へ変化したときに、直ちに当該通信端末宛パケットを転送することができる。 Thus, when the communication terminal changes from the communication disabled state to the communication enabled state, the packet addressed to the communication terminal can be transferred immediately.
また、本発明に係る接続管理方法は、通信端末が通信状態を近隣広告メッセージによって通知することを特徴としている。 Further, the connection management method according to the present invention is characterized in that the communication terminal notifies the communication state by a neighbor advertisement message.
これにより、既存メッセージの一部を利用することで新規メッセージを追加することなく自己の通信状態を通知することができる。 Accordingly, it is possible to notify the communication state of the user without adding a new message by using a part of the existing message.
また、本発明に係る接続管理方法は通信端末が通信不能状態の通知を第1のルータ装置へ行った後に、リンク接続を解除し、第2のルータ装置の管理するリンクへ接続したとき、この通信端末が第1のルータ装置へ近隣キャッシュのエントリの削除を要求するステップをさらに有している。 In addition, the connection management method according to the present invention cancels the link connection after the communication terminal notifies the first router device of the communication disabled state, and connects to the link managed by the second router device. The communication terminal further includes a step of requesting the first router device to delete the neighbor cache entry.
これにより、移動元ルータ装置の近隣キャッシュのエントリが適時に削除できるので、近隣キャッシュ領域をより有効に使用することが可能になる。 Thus, the neighbor cache entry of the source router device can be deleted in a timely manner, so that the neighbor cache area can be used more effectively.
また、本発明に係る接続管理方法は、ルータ装置が通信端末から通信不能状態の通知を受信した時点から、所定時間経過後に近隣キャッシュにある通信端末のエントリを削除するものである。 In addition, the connection management method according to the present invention deletes the entry of the communication terminal in the neighboring cache after a predetermined time has elapsed from the time when the router device receives the notification of the communication disabled state from the communication terminal.
これにより、ルータ装置はもはや使用しなくなった近隣キャッシュのエントリを削除できるので、近隣キャッシュ領域をより有効に使用することが可能になる。 Thereby, the router device can delete the entry of the neighbor cache that is no longer used, so that the neighbor cache area can be used more effectively.
本発明に係るルータ装置は、近隣キャッシュと、この近隣キャッシュにエントリしている通信端末の通信状態を管理する近隣探索処理部と、通信端末宛のパケットを受信したとき、近隣キャッシュに記載してある当該通信端末の通信状態に従ってパケットの転送を行うパケット転送処理部とを有し、近隣探索処理部が通信端末からの通信状態の通知に従って、近隣キャッシュのエントリを通信不能状態あるいは通信可能状態へ変更し、パケット転送処理部が近隣キャッシュのエントリが通信不能状態である場合は、パケットの受信時点で送信元に転送不能通知を送信する。 When a router device according to the present invention receives a neighbor cache, a neighbor search processing unit that manages a communication state of a communication terminal that has entered the neighbor cache, and a packet addressed to the communication terminal, A packet transfer processing unit that transfers packets according to the communication state of the communication terminal, and the neighbor search processing unit changes the neighbor cache entry to a communication disabled state or a communication enabled state according to the communication state notification from the communication terminal. When the packet transfer processing unit changes and the neighbor cache entry is in a communication disabled state, the packet transfer processing unit transmits a transfer disabled notification to the transmission source when the packet is received.
これにより、送信元ノードは宛先の通信端末が通信不能状態であることを送信開始後すぐに知ることができるので、届かないパケットを送信し続けるロスを低減できる。 As a result, the transmission source node can know immediately after the start of transmission that the destination communication terminal is in a communication disabled state, so that it is possible to reduce the loss of continuing to transmit unreachable packets.
また、本発明に係るルータ装置は、近隣キャッシュにエントリしている通信端末から通信状態を近隣広告メッセージにより通知される。 Also, the router device according to the present invention is notified of the communication state by the neighbor advertisement message from the communication terminal entered in the neighbor cache.
これにより、既存メッセージの一部を利用することで新規メッセージを追加することなく当該通信端末の通信状態を知ることができる。 Thereby, it is possible to know the communication state of the communication terminal by using a part of the existing message without adding a new message.
また、本発明に係るルータ装置は、近隣探索処理部が通信端末から通信不能状態の通知を受信したときタイマを起動し、タイマが所定時間をカウントしたとき、近隣探索処理部が近隣キャッシュにある通信端末のエントリを削除する。 Further, the router device according to the present invention starts a timer when the neighbor search processing unit receives a notification of a communication impossible state from the communication terminal, and when the timer counts a predetermined time, the neighbor search processing unit is in the neighbor cache. Delete the communication terminal entry.
これにより、ルータ装置はもはや使用しなくなった近隣キャッシュのエントリを削除できるので、近隣キャッシュ領域をより有効に使用することが可能になる。 Thereby, the router device can delete the entry of the neighbor cache that is no longer used, so that the neighbor cache area can be used more effectively.
また、本発明に係る通信端末は、リンクとの接続状態を検知する接続状態検知部と、この接続状態検知部が接続状態の変化を検出したとき、接続しているリンク上のルータ装置へ接続状態を通知する状態遷移要求処理部とを有し、この状態遷移要求処理部が接続している第1のリンクのルータ装置へ通信不能状態を通知した後、第1のリンクを離れ、第2のリンクと接続したとき、第2のリンク上のルータ装置を介して、第1のリンク上の先のルータ装置へ近隣キャッシュのエントリの削除を要求する。 In addition, the communication terminal according to the present invention is connected to the connection state detection unit that detects the connection state with the link, and when the connection state detection unit detects a change in the connection state, the communication terminal is connected to the router device on the connected link. A state transition request processing unit for notifying the state, and after notifying the router device of the first link to which the state transition request processing unit is connected to the communication disabled state, leaving the first link, When the connection is established, the router device on the second link is requested to delete the entry in the neighbor cache via the router device on the second link.
これにより、移動元ルータ装置の近隣キャッシュのエントリが適時に削除できるので、近隣キャッシュ領域をより有効に使用することが可能になる。 Thus, the neighbor cache entry of the source router device can be deleted in a timely manner, so that the neighbor cache area can be used more effectively.
本発明に係る接続管理システムは、リンクとの通信可能状態あるいは通信不能状態をリンク上のルータ装置に通知する通信端末と、受信した通信状態に従って当該通信端末の近隣キャッシュのエントリを変更し、通信端末宛のパケットを受信した時点で、近隣キャッシュのエントリの状態を確認し、通信不能状態である場合はパケットの送信元に転送不能通知をただちに送信するルータ装置とを有している。 The connection management system according to the present invention includes a communication terminal that notifies a router device on a link of a communicable state or a communicable state with a link, changes a neighbor cache entry of the communication terminal according to the received communication state, and communicates When the packet addressed to the terminal is received, the state of the entry in the neighborhood cache is confirmed, and if it is in a communication impossible state, it has a router device that immediately transmits a transfer impossible notification to the packet transmission source.
これにより、送信元ノードは宛先の通信端末が通信不能状態であることを送信開始後すぐに知ることができるので、届かないパケットを送信し続けるロスを低減できる。 As a result, the transmission source node can know immediately after the start of transmission that the destination communication terminal is in a communication disabled state, so that it is possible to reduce the loss of continuing to transmit unreachable packets.
以上のように本発明によれば、ルータ装置は、通信端末宛のパケットを受信したとき、当該通信端末の通信状態の確認をすることができ、当該通信端末との通信が不能状態の場合は、ただちに到達不能通知としてICMP到達不能(ICMP Unreachable)メッセージを送信元に返送することができる。 As described above, according to the present invention, when the router device receives a packet addressed to a communication terminal, the router device can check the communication state of the communication terminal, and when the communication with the communication terminal is impossible, An ICMP Unreachable message can be immediately returned to the sender as an unreachable notification.
以下、本発明の実施の形態について、図を用いて説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings.
(実施の形態1)
図19は、本発明に係る接続管理システムを有する通信ネットワークの構成を示す図であり、従来と同一である。
(Embodiment 1)
FIG. 19 is a diagram showing a configuration of a communication network having a connection management system according to the present invention, which is the same as the conventional one.
本発明に係る接続管理システムは、通信装置9、10とルータ装置20とから構成される。
The connection management system according to the present invention includes
図1は、本発明に係る通信端末9、10の構成図であり、物理層処理やデータリンク層処理を行う下位層処理部11、ネットワーク層処理を行うIP処理部12、近隣探索に対する応答を実施する近隣探索処理部13、接続するリンク110上の他のノードのアドレス情報を記録した近隣キャッシュ14、およびリンク110への切断や再接続時に通信状態の移行をルータ装置へ通知する状態遷移要求処理部15を具備する。
FIG. 1 is a configuration diagram of
上記のように構成された通信端末9、10の基本的な動作について、図7(a)、(b)に示すフロー図を用いて説明する。なお、近隣探索処理部13が行う近隣探索応答処理は従来のものと同一である。
The basic operation of the
図7(a)は通信端末10がリンク110から離脱する場合の処理を示すフロー図である。
FIG. 7A is a flowchart showing processing when the
まず、下位層処理部11はリンク切断を決定すると状態遷移要求処理部15に通知する
(ステップS71)。
First, when the lower
次に、状態遷移要求処理部15は通信不能状態に移行することを通知するように近隣探索処理部13に指示する。近隣探索処理部13は通信不能状態を通知する近隣広告メッセージ230を生成し、IP処理部12がルータ装置20あるいはリンク110上のすべてのノードに対して、下位層処理部11を介してマルチキャスト送信する(ステップS72)。
Next, the state transition
図5は本実施の形態における近隣広告メッセージ230のフォーマットを示す図あり、図21に示した近隣広告メッセージ210とは、Nフラグ214を有している点が異なる。このNフラグ214は通信端末が通信不能か否かを示すものであり、オンであるときは通信端末が通信不能状態であることを示し、オフであるときは通信可能状態であることを示している。ここでは、リンク接続を離脱して通信不能状態へ移行するので、Nフラグ214をオンにして送信する。
FIG. 5 is a diagram showing a format of the neighborhood advertisement message 230 in the present embodiment, which is different from the neighborhood advertisement message 210 shown in FIG. 21 in that it has an
図7(b)は通信端末10がリンク110に再接続(あるいは新規接続)する際の処理を示すフロー図である。
FIG. 7B is a flowchart showing processing when the
まず、下位層処理部11がリンク110に接続したことを検出すると、状態遷移要求処理部15に通知する(ステップS73)。
First, when detecting that the lower
次に、状態遷移要求処理部15は通信不能状態を解除したことを通知するように近隣探索処理部13に指示する。近隣探索処理部13はNフラグ214をオフに設定した近隣広告メッセージ230を生成する。IP処理部12はルータ装置20あるいはリンク上のすべてのノードに対して、この近隣広告メッセージ230をマルチキャスト送信する(ステップS74)。
Next, the state transition
なお、上記のリンク接続の検出は、下位層処理部11でビーコンの有無によって行ってもよいし、図示していない上位のアプリケーションなどが行うことも可能である。
The detection of the link connection may be performed by the lower
以上のように、本発明に係る通信端末10は、リンクの接続状態に応じて、明示的に通信可否をリンク110上のノードに対して通知する。
As described above, the
図2は、本発明に係るルータ装置20の構成図であり、物理層処理やデータリンク層処理を行う下位層処理部21、ネットワーク層処理を行うIP処理部22、近隣探索処理を実施する近隣探索処理部23、接続するリンク110上の他のノードのアドレス情報と通信状態を記録した近隣キャッシュ24、通信端末の通信不能状態の経過時間を計測するエントリ有効タイマ25を具備する。なお、下位層処理部21は複数のネットワークリンクに接続することができる。また、本実施の形態では上位ネットワーク120とリンク110の二つのネットワークリンクに接続する場合について説明するが、本発明はその接続する数を制限するものではない。
FIG. 2 is a configuration diagram of the
図6は近隣キャッシュ24のデータ構造を示す図であり、IPアドレス61とMACアドレス62とが対応づけて登録されており、ステータス63によりその登録されたノードの現在の通信状態が記録されている。この通信状態は、図10に示す状態遷移に基づいて行われる。図10に示す通信端末の状態遷移は、図22で説明した従来の状態遷移に通信不能状態226を追加したものであり、到達可能状態221乃至プルーブ状態224、またエントリが存在しない状態であるヌル状態225から通信不能状態226へ遷移する点が異なる。
FIG. 6 is a diagram showing the data structure of the
上記のように構成されたルータ装置20の基本的な動作について、図8(a)、(b)に示すフロー図を用いて以下に説明する。
The basic operation of the
図8(a)は近隣広告メッセージを受信したときの動作を示すフロー図である。 FIG. 8A is a flowchart showing an operation when a neighborhood advertisement message is received.
まず、IP処理部22は下位層処理部21を介して近隣広告メッセージ230を受信すると、近隣探索処理部23へ通知する(ステップS81)。
First, when receiving the neighbor advertisement message 230 via the
次に、近隣探索処理部23は近隣キャッシュ24に該当するエントリが存在するか否かを検索し(ステップS82)、該当エントリがない場合は、新たにエントリを生成する(ステップS83)。
Next, the neighbor
次に、近隣探索処理部23は近隣広告メッセージ230のNフラグ214を確認する(ステップS84)。Nフラグ214がオンである場合は、エントリの状態を通信不能(Not PROBE)状態226に遷移させ、エントリ有効タイマ25を起動する(ステップS84)。一方、Nフラグ214がオフである場合、エントリの状態を到達可能(REACHABLE)状態221に復帰させ、エントリ有効タイマをリセットする(ステップS86)。
Next, the neighborhood
その後、近隣広告メッセージのその他の処理を行う(ステップS87)。 Thereafter, other processing of the neighborhood advertisement message is performed (step S87).
図8(b)は近隣探索処理部23がエントリ有効タイマ25の起動時に並行して行う処理を示すフロー図である。
FIG. 8B is a flowchart showing processing performed in parallel by the neighbor
近隣探索処理部23はエントリ有効タイマ25が所定時間経過したかを監視し(ステップS88)、所定のエントリ有効時間が経過した場合には、該当するエントリの状態をヌル状態225へ遷移させ、エントリを削除する(ステップS89)。
The neighbor
なお、この所定時間とは、例えば、無線LANシステムにおいてIEEE802.1x認証が完了するのに十分な時間である1分とすることができる。 The predetermined time can be, for example, 1 minute, which is a sufficient time for completing the IEEE 802.1x authentication in the wireless LAN system.
次に、ルータ装置20が通信端末宛のIPパケットを受信したときの動作について図9を用いて説明する。
Next, the operation when the
IP処理部22は下位層処理部21を介して通信端末宛のパケットを受信すると(ステップS901)、近隣キャッシュ24を参照し、宛先の通信端末がエントリされているか否かをチェックする(ステップS902)。近隣キャッシュ24にエントリが存在する場合、該当するエントリの通信状態を確認する(ステップS903)。通信不能状態226でない場合、IP処理部22は当該IPアドレスに関連づけられているMACアドレスを参照し、そのMACアドレスを下位層処理部21へ通知する。下位層処理部21はこれを受けて、このMACアドレスを設定しパケットを送信する(ステップS904)。
When receiving the packet addressed to the communication terminal via the lower layer processing unit 21 (step S901), the IP processing unit 22 refers to the
一方、通信不能状態226である場合、IP処理部22はICMP到達不能(ICMP Unreachable)メッセージを作成し(ステップS905)、パケットの送信元へ下位層処理部21を介して送信する(ステップS906)。
On the other hand, when it is in the communication
また、ステップS902において、近隣キャッシュ24に宛先の通信端末がエントリされていない場合、エントリを生成して(ステップS907)、近隣探索処理を行う(ステップS908)。その結果、宛先の通信端末を検出した場合は、ステップS904へ移行し、検出しなかった場合はステップS905へ移行する。なお、近隣探索処理は従来の処理と同一である。
In step S902, if the destination communication terminal is not entered in the
次に、上記のような本発明による通信端末やルータ装置により構成される接続管理システムの動作について説明する。 Next, the operation of the connection management system constituted by the communication terminal and the router device according to the present invention as described above will be described.
初めに、通信端末10がルータ装置20の近隣キャッシュにエントリされるが、この動作は従来と同一である。
Initially, the
次に、通信端末10が、リンク110から離脱する。このときの動作について図3を用いて説明する。
Next, the
図3において、まず通信端末10はリンク110からの離脱を決定すると、ルータ装置に通信不能状態への移行を通知する近隣広告メッセージ230を送信する(ステップS31)。この近隣広告メッセージ230のターゲットアドレスフィールド211には自IPアドレスが記載され、メッセージ内のNフラグ214はオンに設定される。
In FIG. 3, first, when the
次に、ルータ装置20は、Nフラグ214がONである近隣広告メッセージ230を受信すると、近隣キャッシュ24から該当するIPアドレスのエントリを検索し、該当するエントリの状態を、通信不能(Not PROBE)状態226に遷移させる(ステップS32)。
Next, when receiving the neighbor advertisement message 230 in which the
これ以降、ルータ装置20は上位ネットワーク120上の通信装置30や他の通信端末9から通信端末10宛のパケットを受信したとき(ステップS33)、該当する通信端末10の近隣キャッシュエントリの状態が通信不能(Not PROBE)状態226にある限り転送処理を行わず、パケットの送信元である通信装置30に対して配送できなかったことを示すICMP到達不能(ICMP Unreachable)メッセージを送信する(ステップS34)。なお、このまま通信不能状態が所定時間(エントリ有効時間)経過すると、ルータ装置20は該当する通信端末10のエントリを削除する。
Thereafter, when the
次に、通信端末10がリンク110への再接続を実施する場合の処理手順について図4を用いて説明する。
Next, a processing procedure when the
図4において、通信端末10がリンク110に再接続すると、通信端末10は通信可能状態への状態遷移要求としてNフラグ214をオフにした近隣広告メッセージ230をルータ装置20に送信する(ステップS41)。
4, when the
ルータ装置20は、これを受けて、近隣キャッシュの該当エントリの状態を到達可能(REACHABLE)状態221に遷移させる(ステップS42)。その後、ルータ装置20は、通信端末10宛のパケットを受信すると(ステップS43)、近隣キャッシュ24に従って転送処理を行う(ステップS44)。該当する近隣キャッシュエントリが存在しない場合は、新規にエントリを作成する。
In response to this, the
なお、通信端末10はリンク110への接続が新規接続であるか、再接続であるかを意識することなく、Nフラグ214をオフとする近隣広告メッセージ230を送信してもよい。
Note that the
ここで、ルータ装置20は、近隣キャッシュの該当するエントリを通信不能(Not PROBE)状態226に遷移させる前の状態を記憶しておき、通信装置10の再接続時に記憶しておいた状態に復元してもよい。
Here, the
なお、上記説明では、Nフラグ214を付加した近隣広告メッセージ230をルータ装
置20のみに送信するとしたが、リンク110上のすべてのノードにマルチキャストするものであってもよい。これにより、リンク110上に複数のルータ装置20が存在する場合に、個別にメッセージを送信する必要がなく、通信帯域を有効に利用することができる。
In the above description, the neighbor advertisement message 230 with the
また、上記説明では、ルータ装置20が通信端末10に関する近隣キャッシュを管理するように記載したが、ルータ装置20だけではなく、通信端末9、10各々が自己の近隣キャッシュのエントリを操作するのに、Nフラグ214を参照した上記処理を実施してもよい。これにより、例えば通信端末9のアプリケーションが通信端末10にデータ送信する場合、通信端末10が通信不能な状態であることをパケット送信前に検知できるので、宛先へ到達不能となるパケットを送信することによるロスを削減できる。特に、パケット課金制の通信システムにおいては、ユーザに対するコストメリットを図ることができる。
Further, in the above description, the
なお、本実施の形態では、通信不能状態でエントリ有効時間が経過すると近隣キャッシュから該当するノードのエントリを削除していたが、これに限らず、近隣キャッシュとして利用可能な領域が不足した場合にエントリ有効時間が短いエントリから順次消去してもよい。これにより、近隣キャッシュ領域の利用効率を向上することができる。特に、ハンドオーバによって通信端末10がリンク110から離脱する場合には、必ずしも離脱したリンク110に戻るとは限らないので、エントリ有効時間を設けてエントリを削除することは、ルータ装置20のリソース管理上有効である。
In this embodiment, the entry of the corresponding node is deleted from the neighboring cache when the entry valid time elapses in the communication disabled state. However, this is not limited to this, and the area usable as the neighboring cache is insufficient. The entries may be deleted sequentially from the entry with a short valid entry time. Thereby, the utilization efficiency of the neighborhood cache area can be improved. In particular, when the
以上のように、本発明に係るルータ装置20は、近隣キャッシュ24に通信端末10がエントリされると、通信端末から明示的に通信不能通知を受け、所定時間経過するまでは、エントリを残したまま通信不能状態として管理を続ける。これにより、ルータ装置20は通信端末10宛のパケットを受信したとき、宛先の通信端末10のエントリが残っているので、該当する通信端末10の近隣探索を行う必要がなく、ただちにICMP到達不能(ICMP Unreachable)メッセージをパケット送信元に送信することが可能となる。その結果、送信元は到達不能になるパケットの送信をすぐに停止することができ、パケットロスを低減することが可能になる。
As described above, when the
(実施の形態2)
図11は、本発明に係る接続管理システムのネットワーク構成を示す図である。図11において、通信端末10は同一リンク110上のルータ装置20との接続を離れ新たにリンク130に接続し、ルータ装置40を介して上位ネットワーク120上の通信装置30と通信する。
(Embodiment 2)
FIG. 11 is a diagram showing a network configuration of the connection management system according to the present invention. In FIG. 11, the
初めに、本発明に係る通信端末10の動作について、図面を用いて説明する。
First, the operation of the
通信端末10の構成は、実施の形態1に示したものと同一であるが、近隣探索処理部13が行う近隣探索処理に以下に説明する機能が追加されている点が異なる。
The configuration of the
図12は通信端末10がリンク110、130に接続するときの処理を示すフロー図である。
FIG. 12 is a flowchart showing processing when the
まず、下位層処理部11がリンクに接続したことを検出すると、状態遷移要求処理部15に通知する(ステップS1201)。そして、状態遷移要求処理部15は接続したリンクが新たなリンクであるか否かを確認する(ステップS1202)。リンクが移動前のものと同一である場合、状態遷移要求処理部はNフラグ214をオフに設定した近隣広告メッセージ230をルータ装置20あるいはリンク110上のすべてのノードに対してマルチキャスト送信する(ステップS1203)。
First, when detecting that the lower
一方、接続したリンクが新たなリンクである場合、状態遷移要求処理部15はNフラグ214をオフにし、ターゲットアドレス211に、現在の自己のIPアドレスを設定し、さらに、タイプフィールドに‘2’を設定し、リンクレイヤアドレス(Link−Layer Address)フィールド213に移動元ルータ装置20との接続で使用していたリンクレイヤアドレス(MACアドレス)を記載した近隣広告メッセージ230を生成し、移動元ルータ装置20へ送信するようにIP処理部22へ指示する。IP処理部22はIPヘッダの宛先IPアドレスフィールドに移動元ルータ装置20のIPアドレスを設定し、送信元IPアドレスフィールドに自己のIPアドレスを設定して、下位層処理部11を介して送出する(S1204)。
On the other hand, when the connected link is a new link, the state transition
以上が、実施の形態1における通信端末の動作と異なる点であり、他の動作については同一である。
The above is the difference from the operation of the communication terminal in
次に、本発明に係るルータ装置20の動作について、図面を用いて説明する。
Next, the operation of the
本発明に係るルータ装置20の構成は、実施の形態1と同一であるが、近隣探索処理部23が行う近隣探索処理に以下に説明する機能が追加されている点が異なる。
The configuration of the
図13はルータ装置20が近隣広告メッセージを受信したときの処理を示すフロー図である。
FIG. 13 is a flowchart showing the processing when the
図13において、まず、IP処理部22は下位層処理部21を介して近隣広告メッセージ230を受信すると近隣探索処理部13へ通知する(S1301)。そして、近隣探索処理部13が近隣キャッシュエントリの削除要求であるか否かを判定する(S1302)。この判定は、IP処理部22から取得した送信元IPアドレスが、リンクレイヤアドレス(MACアドレス)213に対応する近隣キャッシュに記録されているIPアドレス02と同一であるか否かにより行う。この送信元IPアドレスが異なっている場合、近隣探索処理部23は自己の属するリンクとは異なるリンクから送信された近隣広告メッセージ230であると認識する。そしてさらに、近隣広告メッセージ230のNフラグ214がオフであることを確認すると、自己の近隣キャッシュエントリの削除要求であると判定する。
In FIG. 13, first, when the IP processing unit 22 receives the neighborhood advertisement message 230 via the lower
ステップS1302において、近隣キャッシュエントリの削除要求であると判定した場合、近隣探索処理部23は該当する通信端末10の近隣キャッシュエントリを削除する(ステップS1303)。一方、削除要求でないと判定した場合は、実施の形態1の図8(a)で示した通常の近隣広告メッセージ受信処理(ステップS82乃至ステップS87)を行う。
If it is determined in step S1302 that the request is for deleting a neighbor cache entry, the neighbor
なお、近隣キャッシュエントリの削除要求の判定は、ターゲットアドレスに記載された通信端末の現在のIPアドレスと、リンクレイヤアドレス(MACアドレス)213に対応する近隣キャッシュに記録されているIPアドレス02とが同一であるか否かにより行うことも可能である。また、Nフラグをオンとして、IPアドレスの変化だけで判定することも可能である。あるいは、図14に示すように、近隣広告メッセージの旧ルータ・IPアドレスフィールド215をさらに設け、その旧ルータ・IPアドレスフィールド215に移動元ルータ装置20のIPアドレスをさらに記載し、ルータ装置20がこのフィールドに自己のIPアドレスが指定されていることにより、エントリの削除要求であると判定するようにすることも可能である。
The determination of the deletion request for the neighbor cache entry is made based on the current IP address of the communication terminal described in the target address and the IP address 02 recorded in the neighbor cache corresponding to the link layer address (MAC address) 213. It is also possible to carry out depending on whether or not they are the same. It is also possible to make the determination only by changing the IP address with the N flag turned on. Alternatively, as shown in FIG. 14, an old router /
また、ルータ装置は自己宛でない近隣広告メッセージを受信しても、中継を行うのみで
他の処理を行うことはない。
Also, even if the router device receives a neighbor advertisement message not addressed to itself, it merely relays and does not perform other processing.
次に、本発明に係る通信端末やルータ装置からなる接続管理システムの動作について説明する。なお、本実施の形態における動作は、通信端末10が移動して、新たなリンクへ接続したときの動作のみが実施の形態1と異なり、その他の動作は同一である。
Next, the operation of the connection management system including the communication terminal and the router device according to the present invention will be described. Note that the operation in the present embodiment is different from the first embodiment only in the operation when the
図15は通信端末が移動したときの動作を示すシーケンス図である。 FIG. 15 is a sequence diagram showing an operation when the communication terminal moves.
図15において、通信端末10はリンク110からの離脱に際し、ルータ装置20へ通信不能状態への移行を通知する(ステップS1501)。
In FIG. 15, when the
ルータ装置20はこれを受信すると、近隣キャッシュの該当するエントリの通信状態を通信不能状態へ更新させる(ステップS1502)。
Upon receiving this, the
次に、通信端末10はそれまで接続していたリンク110から移動して、リンク130へ接続すると(ステップS1503)、移動元のルータ装置20へ自己の近隣キャッシュエントリを削除するための近隣広告メッセージ230を生成し(ステップS1504)、ルータ装置40へ送信する(ステップS1505)。ルータ装置40はルータ装置20宛のこの近隣広告メッセージを中継し、宛先のルータ装置20へ転送する(ステップS1506)。
Next, when the
次に、ルータ装置20はこの近隣広告メッセージを受信すると、近隣キャッシュエントリの削除要求であると判定し、該当するエントリを近隣キャッシュから削除する(S1507)。
Next, when receiving the neighbor advertisement message, the
このように本実施の形態によれば、ルータ装置20が管理する通信端末10がリンクから離脱したのち、当該通信端末10が新たなリンクに接続したとき、移動元のルータ装置20へ当該通信端末の近隣キャッシュエントリを削除する要求が出される。このため、移動元のルータ装置20はこの要求を受けて、当該通信端末10の近隣キャッシュエントリを削除することができる。これにより、ルータ装置20が当該通信端末宛のパケット受信時の通信不能通知を送信元へ直ちに通知できるように、近隣キャッシュに通信不能状態になった通信端末10のエントリを残しておいても、エントリは適時に削除できるので、ルータ装置内の近隣キャッシュ領域を有効に使用することが可能になる。
As described above, according to the present embodiment, after the
また、本実施の形態によれば、エントリ有効時間が経過した後に自動的にエントリを削除する場合においても、エントリ有効時間の経過を待つことなく不要なエントリを削除できるので、近隣キャッシュ領域の利用としてより好ましい。 Further, according to the present embodiment, even when an entry is automatically deleted after the entry valid time has elapsed, unnecessary entries can be deleted without waiting for the entry valid time to elapse. Is more preferable.
(実施の形態3)
本実施の形態における通信ネットワーク構成は、図11に示す実施の形態2におけるものと同一であるが、通信端末10が移動先ルータ装置40へ移動したときに、移動元ルータ装置20へ通信端末10のエントリを削除するメッセージの伝達方法が異なる。
(Embodiment 3)
The communication network configuration in the present embodiment is the same as that in the second embodiment shown in FIG. 11, but when the
また、本発明に係る通信端末10の構成は、実施の形態2に示したものと同一であるが、近隣探索処理部13の行う近隣探索処理が以下に説明する機能の点で異なる。
The configuration of the
図16は通信端末10がリンク110、130に接続する際の処理を示すフロー図である。
FIG. 16 is a flowchart showing processing when the
まず、下位層処理部11がリンクに接続したことを検出すると、状態遷移要求処理部1
5へ通知する(ステップS1601)。そして、状態遷移要求処理部15は接続したリンクが新たなリンクであるか否かを確認する(ステップS1602)。リンクが移動前のものと同一である場合、状態遷移要求処理部15はNフラグ214をオフに設定した近隣広告メッセージ230をルータ装置20あるいはリンク上のすべてのノードに対してマルチキャスト送信する(ステップS1603)。
First, when it is detected that the lower
5 is notified (step S1601). Then, the state transition
一方、接続したリンクが新たなリンクである場合、状態遷移要求処理部15は移動元ルータ装置20のIPアドレスと、移動元ルータ装置20との接続で使用していたインタフェースのリンクレイヤアドレス(MACアドレス)とを移動先ルータ装置40に通知するための近隣広告メッセージを生成する。
On the other hand, if the connected link is a new link, the state transition
図14はこのときの近隣広告メッセージのフォーマットを示す図である。図14において、ターゲットアドレスフィールド211は、この近隣広告メッセージの送信元のIPアドレスを示し、タイプフィールドはオプションフィールド220の種別コードを示し、リンクレイヤアドレスフィールド213は移動元ルータ装置20との接続時に使用していたリンクレイヤアドレス(MACアドレス)を示し、旧ルータ・IPアドレスフィールド215は移動元ルータ装置20のIPアドレスを示す。
FIG. 14 shows the format of the neighborhood advertisement message at this time. In FIG. 14, the
この場合においては、ターゲットアドレスフィールド211に通信端末10自身の現在のIPアドレスを記載し、タイプフィールドに種別コード‘3’を設定し、リンクレイヤアドレスフィールド213には通信端末10自身のリンクレイヤアドレス(MACアドレス)を記載し、旧ルータ・IPアドレスフィールド215には移動元ルータ装置20のIPアドレスを記載する。なお、Nフラグ214はオフに設定する。
In this case, the current IP address of the
そして、状態遷移要求処理部15はこの近隣広告メッセージ230を移動先ルータ装置40へ送信するようにIP処理部22へ指示する。IP処理部22はIPヘッダの宛先IPアドレスフィールドに移動先ルータ装置40のIPアドレスを設定し、送信元IPアドレスフィールドに自己のIPアドレスを設定して、下位層処理部11を介して送出する(ステップS1604)。
Then, the state transition
以上が、実施の形態2における通信端末の動作と異なる点であり、他の動作については同一である。 The above is the difference from the operation of the communication terminal in the second embodiment, and the other operations are the same.
次に、本発明に係るルータ装置20、40の動作について、図面を用いて説明する。
Next, operations of the
本発明に係るルータ装置20、40の構成は、実施の形態2と同一であるが、近隣探索処理部23の行う近隣探索処理が以下の点で異なる。
The configurations of the
図17はルータ装置20、40が近隣広告メッセージを受信したときの処理を示すフロー図である。
FIG. 17 is a flowchart showing processing when the
図17において、まず、IP処理部22は、下位層処理部21を介して近隣広告メッセージ230を受信すると、近隣探索処理部23へ通知する(ステップS1701)。そして、近隣探索処理部23が通信端末からの近隣キャッシュエントリの代理送信の要求であるか否かを判定する(ステップS1702)。この判定は近隣探索処理部23がオプションフィールド220のタイプ212を確認し、種別コード‘3’であるか否かにより行う。近隣探索処理部23は近隣キャッシュエントリの代理送信要求であると判定した場合、図5に示した近隣広告メッセージ210を生成する。ここにおいては、ターゲットアドレスフィールド211に要求元となる通信端末10の現在のIPアドレスを記載し、タイプフィールドに種別コード‘2’を設定し、リンクレイヤアドレスフィールド213には要
求元の通信端末10のリンクレイヤアドレス(MACアドレス)を記載する。また、Nフラグ214はオフに設定する。
In FIG. 17, first, when receiving the neighbor advertisement message 230 via the
そして、近隣探索処理部23はこの近隣広告メッセージ210を移動元ルータ装置20へ送信するようにIP処理部22へ指示する。IP処理部22はIPヘッダの宛先IPアドレスフィールドに移動元ルータ装置20のIPアドレスを設定し、送信元IPアドレスフィールドに自己のIPアドレスを設定して、下位層処理部21を介して送出する(ステップS1703)。
Then, the neighbor
一方、ステップS1702において、近隣広告メッセージの代理送信要求でないと判定した場合、近隣キャッシュエントリの削除要求であるか否かを判定する(ステップS1704)。この判定は、IP処理部22から取得した送信元IPアドレスが通信端末10のアドレスではなく、ルータ装置のアドレスであるか否かにより行う。通信端末10からの近隣広告メッセージ230でないと判定した場合、近隣探索処理部23は他のリンク上にあるルータ装置からの代理の近隣広告メッセージ230であると認識する。そしてさらに、近隣広告メッセージ230のNフラグ214がオフであることを確認すると、自己の近隣キャッシュエントリの削除要求であると判定する。
On the other hand, if it is determined in step S1702 that the request is not a proxy transmission request for a neighbor advertisement message, it is determined whether the request is a delete request for a neighbor cache entry (step S1704). This determination is made based on whether the source IP address acquired from the IP processing unit 22 is not the address of the
ステップS1704において、近隣キャッシュエントリの削除要求であると判定した場合、近隣探索処理部23は該当する通信端末10の近隣キャッシュエントリを削除する(ステップS1705)。一方、削除要求でないと判定した場合は、実施の形態1の図8(a)で示した通常の近隣広告メッセージ受信処理(ステップS82乃至S87)を行う。
If it is determined in step S1704 that the request is for deleting a neighbor cache entry, the neighbor
なお、近隣キャッシュエントリの削除要求の判定は、ターゲットアドレス211に記載された、通信端末10の現在のIPアドレスと、リンクレイヤアドレス(MACアドレス)213に対応する、近隣キャッシュに記録されているIPアドレスとが同一であるか否かにより行うことも可能である。あるいは、図14に示した近隣広告メッセージを用いて旧ルータ・IPアドレスフィールド215に移動元ルータ装置20のIPアドレスをさらに通知することにより、ルータ装置20が自己の近隣キャッシュに登録されているエントリの削除要求であると判定することも可能である。
The determination of the deletion request for the neighbor cache entry is made based on the current IP address of the
また、移動先ルータ装置40は、自己のIPアドレスに加えてMACアドレスを移動元ルータ装置20に通知し、移動元ルータ装置20が近隣キャッシュの通信端末10の該当エントリを旧IPアドレスと移動先ルータ装置40のMACアドレスに更新する。これにより、移動元ルータ装置20と移動先ルータ装置40間でリンクレイヤにおける通信が可能である場合は、通信端末10の旧IPアドレス宛パケットを移動先ルータ装置40のMACアドレス宛に転送することができる。また、移動先ルータ装置40は、先に通信端末10から取得した旧IPアドレス、新IPアドレス、移動元ルータ装置20において使用していたMACアドレス等の情報をもとに、転送を受けた通信端末10の旧IPアドレス宛のパケットを、さらに通信端末10の現在のMACアドレス(先に通信端末10から情報を取得する際のMACヘッダから取得可能)宛に転送して、パケットロスの削減を図ることができる。さらに、移動先ルータ装置40は、転送パケットの宛先IPアドレスフィールドを、通信端末10の新IPアドレスに置換して送出してもよい。
Further, the
以上が、本実施の形態が実施の形態2におけるルータ装置の動作と異なる点であり、他の動作については同一である。 The above is the difference between the present embodiment and the operation of the router device in the second embodiment, and the other operations are the same.
次に、本発明に係る通信端末やルータ装置からなる接続管理システムの動作について説明する。なお、本実施の形態における動作は、通信端末10が移動して、新たなリンクへ接続したときの動作のみが実施の形態1と異なり、その他の動作は同一である。
Next, the operation of the connection management system including the communication terminal and the router device according to the present invention will be described. Note that the operation in the present embodiment is different from the first embodiment only in the operation when the
図18は通信端末10が移動したときの動作を示すシーケンス図である。
FIG. 18 is a sequence diagram showing an operation when the
図18において、通信端末10はリンク110からの離脱に際し、ルータ装置20へ通信不能状態への移行を通知する(ステップS1801)。
In FIG. 18, when the
ルータ装置20はこれを受信すると、近隣キャッシュの該当するエントリの通信状態を通信不能状態へ更新させる(ステップS1802)。
Upon receiving this, the
次に、通信端末10はそれまで接続していたリンク110から移動して、リンク130へ接続すると(ステップS1803)、移動先のルータ装置40へ移動元ルータ装置20のアドレスを通知する(ステップS1804)。
Next, when the
次に、移動先ルータ装置40がこの通知を受けると、移動元のルータ装置20へ通信端末10の近隣キャッシュエントリを削除するために、代理で近隣広告メッセージ210を生成し(ステップS1805)、移動元のルータ装置20へ送信する(ステップS1806)。
Next, when the
ルータ装置20はこの代理の近隣広告メッセージ210を受信すると、近隣キャッシュエントリの削除要求であると判定し、該当するエントリを近隣キャッシュから削除する(ステップS1807)。
When receiving the proxy neighbor advertisement message 210, the
以上説明したように本実施の形態によれば、ルータ装置が管理する通信端末がリンクから離脱したのち、新たなリンクに接続したとき、移動元のルータ装置へ当該通信端末の近隣キャッシュエントリを削除する要求を送信する。このため、移動元のルータ装置はこの要求を受け、該当する通信端末の近隣キャッシュエントリを削除することができる。これにより、ルータ装置が当該通信端末宛のパケット受信時の通信不能通知を送信元へ直ちに通知できるように、近隣キャッシュに通信不能状態になった通信端末のエントリを残してもエントリは適時に削除できるので、ルータ装置内の近隣キャッシュ領域を有効に使用することが可能になる。 As described above, according to the present embodiment, when a communication terminal managed by a router device leaves the link and then connects to a new link, the neighboring cache entry of the communication terminal is deleted to the source router device. Send a request to Therefore, the source router device can receive this request and delete the neighbor cache entry of the corresponding communication terminal. This allows the router device to delete the entry in a timely manner even if an entry for the communication terminal that has become inaccessible remains in the neighbor cache so that the router can immediately notify the transmission source when the packet addressed to the communication terminal is received. Therefore, it is possible to effectively use the neighboring cache area in the router device.
また、本実施の形態によれば、エントリ有効時間の経過した後に自動的にエントリを削除する場合においても、エントリ有効時間の経過を待つことなく不要なエントリを削除できるので、近隣キャッシュ領域の利用としてはより好ましい。 なお、本実施の形態においては、通信端末が移動先のルータ装置へ移動元ルータ装置のアドレスを近隣広告メッセージに旧ルータ・IPアドレスフィールドを拡張したもので通知したが、これに限らず、移動元ルータ装置のIPアドレスが通知できれば、他のフォーマットのメッセージにより通知しても同様の効果が得られる。 Further, according to the present embodiment, even when an entry is automatically deleted after the entry valid time elapses, unnecessary entries can be deleted without waiting for the entry valid time to elapse. Is more preferable. In this embodiment, the communication terminal notifies the destination router device of the address of the source router device by expanding the old router / IP address field in the neighbor advertisement message. However, the present invention is not limited to this. If the IP address of the original router device can be notified, the same effect can be obtained even if it is notified by a message in another format.
本発明は、モバイルIP(Internet Protocol)ネットワークにおけるノードの接続管理などに有用であり、ハンドオーバなどにおける通信相手の不在を迅速に検知するのに適している。 The present invention is useful for connection management of nodes in a mobile IP (Internet Protocol) network, and is suitable for quickly detecting the absence of a communication partner in a handover or the like.
9、10 通信端末
11 下位層処理部
12 IP処理部
13 近隣探索処理部
14 近隣キャッシュ
15 状態遷移要求処理部
20、40 ルータ装置
21 下位層処理部
22 IP処理部
23 近隣探索処理部
24 近隣キャッシュ
25 エントリ有効タイマ
30 通信装置
110、130 リンク
120 上位ネットワーク
501 携帯端末
502 ルータ装置
601 ゲートウェイルータ
602 サブドメインルータ
603 アクセスルータ
604 通信端末
9, 10
Claims (10)
通信端末が自己の通信状態をルータ装置へ通知するステップと、
前記通信状態が通信不能状態を通知するものである場合、当該通知を受信したルータ装置が、当該通信端末の近隣キャッシュエントリを通信不能状態に遷移させるステップと、
ルータ装置が通信端末宛のパケットを受信したとき、ルータ装置が近隣キャッシュエントリの状態を確認し、通信不能状態である場合は前記パケットの送信元に転送不能通知をただちに送信するステップと、
を有する接続管理方法。 A connection management method for a router device for managing connection of a communication terminal connected to a link in an IP network,
The communication terminal notifying the router device of its own communication state;
When the communication state is a notification of a communication disabled state, the router device that has received the notification transitions the neighboring cache entry of the communication terminal to a communication disabled state;
When the router device receives the packet addressed to the communication terminal, the router device checks the state of the neighbor cache entry, and if it is in a communication impossible state, immediately sends a transfer impossible notification to the transmission source of the packet;
A connection management method.
ルータ装置が通信端末宛のパケットを受信したとき、近隣キャッシュのエントリの状態が通信可能状態である場合は前記パケットを通信端末に転送するステップと、
を有する請求項1に記載の接続管理方法。 Further, when the communication state is to notify the communicable state, the router device that has received the notification transitions the neighboring cache entry of the communication terminal to the communicable state;
When the router device receives a packet addressed to a communication terminal, if the state of the neighbor cache entry is a communicable state, the step of transferring the packet to the communication terminal;
The connection management method according to claim 1, comprising:
前記近隣キャッシュにエントリしている通信端末の通信状態を管理する近隣探索処理部と、
前記通信端末宛のパケットを受信したとき、前記近隣キャッシュに記載してある当該通信端末の通信状態に従って前記パケットの転送を行うパケット転送処理部と、
を有し、
前記近隣探索処理部が前記通信端末からの前記通信状態の通知に従って、前記近隣キャッシュのエントリを通信不能状態あるいは通信可能状態へ変更し、
前記パケット転送処理部が前記近隣キャッシュのエントリが通信不能状態である場合は、前記パケットの受信時点で送信元に転送不能通知を送信するルータ装置。 Neighborhood cache,
A neighbor search processing unit that manages a communication state of a communication terminal that has entered the neighbor cache;
When receiving a packet addressed to the communication terminal, a packet transfer processing unit that transfers the packet according to the communication state of the communication terminal described in the neighbor cache;
Have
In accordance with the communication status notification from the communication terminal, the neighbor search processing unit changes the neighbor cache entry to a communication disabled state or a communication enabled state,
When the packet transfer processing unit is in an incommunicable state in the neighboring cache entry, the router device transmits a transfer disable notification to the transmission source at the time of reception of the packet.
前記タイマが所定時間をカウントしたとき、前記近隣探索処理部が前記近隣キャッシュにある前記通信端末のエントリを削除することを特徴とする請求項6に記載のルータ装置。 The neighbor search processing unit starts a timer when receiving a notification of a communication impossible state from the communication terminal,
The router device according to claim 6, wherein when the timer counts a predetermined time, the neighbor search processing unit deletes the entry of the communication terminal in the neighbor cache.
前記接続状態検知部が接続状態の変化を検出したとき、接続しているリンク上のルータ装置へ接続状態を通知する状態遷移要求処理部と、
を有し、
前記状態遷移要求処理部が接続している第1のリンクのルータ装置へ通信不能状態を通知した後、第1のリンクを離れ第2のリンクと接続したとき、第2のリンク上のルータ装置を介して、第1のリンク上の前記ルータ装置へ近隣キャッシュのエントリの削除を要求する通信端末。 A connection state detector for detecting a connection state with the link;
When the connection state detection unit detects a change in the connection state, a state transition request processing unit that notifies the connection state to the router device on the connected link;
Have
The router device on the second link when the first link is disconnected and connected to the second link after notifying the router device of the first link to which the state transition request processing unit is connected. A communication terminal that requests the router on the first link to delete the neighbor cache entry via the first link.
受信した前記通信状態に従って当該通信端末の近隣キャッシュのエントリを変更し、前記通信端末宛のパケットを受信した時点で、前記近隣キャッシュのエントリの状態を確認し、通信不能状態である場合は前記パケットの送信元に転送不能通知をただちに送信するルータ装置と、
を有する接続管理システム。
A communication terminal for notifying the router device on the link of a communicable state or a communicable state with the link;
According to the received communication state, the neighbor cache entry of the communication terminal is changed, and when the packet addressed to the communication terminal is received, the state of the neighbor cache entry is confirmed. A router device that immediately sends a transfer impossible notification to the sender of
A connection management system.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004368803A JP2006180010A (en) | 2004-12-21 | 2004-12-21 | Connection management method, router apparatus, communication terminal, and connection management system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004368803A JP2006180010A (en) | 2004-12-21 | 2004-12-21 | Connection management method, router apparatus, communication terminal, and connection management system |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2006180010A true JP2006180010A (en) | 2006-07-06 |
Family
ID=36733719
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004368803A Pending JP2006180010A (en) | 2004-12-21 | 2004-12-21 | Connection management method, router apparatus, communication terminal, and connection management system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2006180010A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2011045885A1 (en) * | 2009-10-16 | 2011-04-21 | 日本電気株式会社 | Communication system, communication apparatus, communication control method and nontemporary computer readable medium |
-
2004
- 2004-12-21 JP JP2004368803A patent/JP2006180010A/en active Pending
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2011045885A1 (en) * | 2009-10-16 | 2011-04-21 | 日本電気株式会社 | Communication system, communication apparatus, communication control method and nontemporary computer readable medium |
CN102656846A (en) * | 2009-10-16 | 2012-09-05 | 日本电气株式会社 | Communication system, communication apparatus, communication control method and nontemporary computer readable medium |
JP5370493B2 (en) * | 2009-10-16 | 2013-12-18 | 日本電気株式会社 | COMMUNICATION SYSTEM, COMMUNICATION DEVICE, COMMUNICATION CONTROL METHOD, AND COMMUNICATION CONTROL PROGRAM |
US9800541B2 (en) | 2009-10-16 | 2017-10-24 | Nec Corporation | Extensions to address utilization and neighbor cache processing functions of IPv6 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4896038B2 (en) | Communication method, mobile communication node and access router in network system | |
JP4715750B2 (en) | Multi-interface communication device, terminal, and path switching method | |
JP3833450B2 (en) | Communication control method and router | |
JP5048684B2 (en) | Selective service update method for communication network | |
KR100667283B1 (en) | Gateway for connecting ad-hoc network and infra-structure network, method for registering service provider, and, method for searcing service provider thereof | |
US8204034B2 (en) | Method and device for transmitting data packets | |
KR100567823B1 (en) | Networking apparatus for stabile handoff in ip-based mobile ad-hoc network system and handoff method using the same | |
JP4681631B2 (en) | Communication system, access router and mobile node | |
JP4466434B2 (en) | Routing method and home agent | |
JP2005143086A (en) | Method for detecting movement and mobile terminal | |
JP5672238B2 (en) | Gateway device, mobile communication system, mobile terminal, packet transfer control method, mobile terminal control method, and program | |
JP5102766B2 (en) | Mobile communication method and access router | |
US20070086460A1 (en) | Method and apparatus for supporting multicast/broadcast in wireless communication system | |
JP4595619B2 (en) | Mobile router, home agent, and terminal location management method | |
JP4494853B2 (en) | Mobile node, mobile control node, packet communication system, and mobile detection method | |
US20090219832A1 (en) | Fast configuration of a default router for a mobile node in a mobile communication system | |
JPWO2005117367A1 (en) | Mobile terminal management apparatus, mobile terminal and communication system | |
JP5034534B2 (en) | Communications system | |
JP2013518466A (en) | Mobile ad hoc rerouting method | |
JP2006333406A (en) | Base station, mobile station, packet communications system, and communication control method | |
JP2006180010A (en) | Connection management method, router apparatus, communication terminal, and connection management system | |
JP2005244590A (en) | Multi-service terminal, handoff method, and handoff program | |
WO2011118133A1 (en) | Communication apparatus, communication system, communication method and communication program | |
KR100598346B1 (en) | Method for supporting mobility for mobile ip service | |
Ding et al. | Internet integrated MANET using Mobile IP |