JP4806364B2 - Router switching method and router device - Google Patents

Router switching method and router device Download PDF

Info

Publication number
JP4806364B2
JP4806364B2 JP2007038419A JP2007038419A JP4806364B2 JP 4806364 B2 JP4806364 B2 JP 4806364B2 JP 2007038419 A JP2007038419 A JP 2007038419A JP 2007038419 A JP2007038419 A JP 2007038419A JP 4806364 B2 JP4806364 B2 JP 4806364B2
Authority
JP
Japan
Prior art keywords
router
router device
prefix
network
management server
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 - Fee Related
Application number
JP2007038419A
Other languages
Japanese (ja)
Other versions
JP2007259425A (en
Inventor
真史 小林
新吉 池田
一朗 武井
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Corp
Panasonic Holdings Corp
Original Assignee
Panasonic Corp
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Panasonic Corp, Matsushita Electric Industrial Co Ltd filed Critical Panasonic Corp
Priority to JP2007038419A priority Critical patent/JP4806364B2/en
Publication of JP2007259425A publication Critical patent/JP2007259425A/en
Application granted granted Critical
Publication of JP4806364B2 publication Critical patent/JP4806364B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、ルータ切替方法、およびルータ装置に関する。 The present invention relates to a router switching method and a router device.

近年、IP(インターネット・プロトコル)を用いた通信システムにおいては、あるローカルネットワークが、インターネットなどの他のネットワークに、複数のルータ装置を介して接続されるケースが増えつつある。このような場合、仮に、ローカルネットワークに接続された端末が、デフォルトのルータ装置を介して外部装置(情報配信サーバなど)との間で通信を行っているのにもかかわらず、その通信が、電界強度の低下などの要因で切断されると、次のような処理が行われる。すなわち、当該ルータ装置から他のルータ装置へ切り替えられ、端末と外部装置との間のセッションが切断されることなく、双方の間で通信が継続される。   In recent years, in a communication system using IP (Internet Protocol), a case where a certain local network is connected to another network such as the Internet via a plurality of router devices is increasing. In such a case, even though a terminal connected to the local network is communicating with an external device (such as an information distribution server) via a default router device, the communication is When cut due to factors such as a decrease in electric field strength, the following processing is performed. That is, the router device is switched to another router device, and communication between the two devices is continued without disconnecting the session between the terminal and the external device.

例えば、従来のルータ装置は、ルーティング機能の実行ができなくなることを予測した時点で、ルーティングの停止メッセージをローカルネットワーク内の全ノード(他のルータ装置や端末)に同報配信する。上記予測の要因としては、例えば、ルータ装置の外部リンクへの接続が過負荷になった場合、外部リンクとの無線接続中に電界強度が低下した場合などがある。そして、同報配信先の他のルータ装置においては、ルーティングの停止メッセージを受信した時点で、自己のルーティング機能が実行可能であるか、または所定時間の後に実行可能となる場合に、ルーティングが可能なメッセージをローカルネットワーク内の全ノード(他のルータ装置や端末)に同報配信する。このようにして、ルータ装置間の切替を高速に実現する。このような切替は、次のようなシステム上で実現されている。
すなわち、複数のルータ装置(外部リンク可能なもの)が、同一の管理サーバ(ホームエージェント)に管理され、かつ、同一のネットワークプレフィクスがローカルネットワークに広告されるシステムである(例えば特許文献1参照)。しかしながら、例えば、外部接続用のインタフェースとして、第三世代移動通信などのセルラインタフェースや無線LANインタフェースがあり、それぞれのインタフェースを有するルータ装置が、異なる通信事業体の管理下にある管理サーバに収容される場合があることも想定される。そのような場合、上記通信事業体の管理下にあるドメインが異なり、各ルータ装置に対して割り当てられるローカルネットワーク向けのネットワークプレフィクスも異なる値(異なるドメインのネットワークプレフィクス値)をとることが考えられる。
このシステムを後記する図1を引用して説明すると、次のとおりである。端末30は、ルータ装置10aおよび管理サーバ18を経由して、外部端末20と通信を行う。そして、例えば、ルータ装置10aが、基地局装置16とのリンク接続を維持することが困難になった場合、端末30と外部端末20との間で通信中の通信フローをルータ装置10aからルータ装置10bへの経由に切り替える。このとき、ルータ装置10aは、管理サーバ18に位置登録(Binding登録)を行い、ルータ装置10bは管理サーバ19に位置登録
を行う。
For example, a conventional router device broadcasts a routing stop message to all nodes (other router devices and terminals) in the local network when it is predicted that the routing function cannot be executed. As a factor of the prediction, for example, when the connection of the router device to the external link is overloaded, the electric field strength is reduced during the wireless connection with the external link, or the like. Then, in the other router device of the broadcast distribution destination, when the routing stop message is received, the routing function can be executed when the own routing function can be executed or after a predetermined time. Broadcast messages to all nodes (other routers and terminals) in the local network. In this way, switching between router devices is realized at high speed. Such switching is realized on the following system.
That is, this is a system in which a plurality of router devices (those that can be externally linked) are managed by the same management server (home agent) and the same network prefix is advertised to the local network (see, for example, Patent Document 1). ). However, for example, there are cellular interfaces such as third-generation mobile communication and wireless LAN interfaces as external connection interfaces, and router devices having respective interfaces are accommodated in management servers under the management of different communication entities. It is also assumed that there may be cases. In such a case, it is considered that the domains under the management of the telecommunications carrier are different, and the network prefix for the local network assigned to each router device also takes a different value (network prefix value of a different domain). It is done.
This system will be described with reference to FIG. The terminal 30 communicates with the external terminal 20 via the router device 10a and the management server 18. For example, when it becomes difficult for the router device 10a to maintain the link connection with the base station device 16, the communication flow during communication between the terminal 30 and the external terminal 20 is transferred from the router device 10a to the router device. Switch to route to 10b. At this time, the router device 10 a performs location registration (Binding registration) with the management server 18, and the router device 10 b performs location registration with the management server 19.

次に、従来の別の切替方法(例えば、非特許文献1)について、後記する図1を引用して説明する。この場合、ルータ装置間の切替の際において、例えば、切替元のルータ装置10aは、ルータ装置10aが収容される管理サーバ18のアドレスを切替先のルータ装置10bに通知する。通知を受けたルータ装置10bは、ルータ装置10aが収容されている管理サーバ18にバインディング更新を送信する。管理サーバ18は、バインディング確認の応答メッセージにルータ装置10aが広告しているネットワークプレフィクスを記載してルータ装置10bに送信する。ルータ装置10bは、受信した上記応答メッセージから、ルータ装置10aが広告していたネットワークプレフィクスを抽出する。そして、ルータ装置10bは、ローカルネットワーク1に広告する。このようにして、ルータ装置10aとルータ装置10bの各々が、ネットワークプレフィクスを共有し、ルータ装置10bが、ルータ装置10aと同じネットワークプレフィクスを広告する。これにより、管理サーバ18およびルータ装置10aを経由で中継されていた通信フローが、管理サーバ18およびルータ装置10bを経由に切り替えて中継される。また、端末30は、ルータ装置の切替後も、ルータ装置10aのネットワークプレフィクスに応じたアドレスを継続して使用し、外部端末20とのセッションを維持する。   Next, another conventional switching method (for example, Non-Patent Document 1) will be described with reference to FIG. In this case, at the time of switching between router devices, for example, the switching source router device 10a notifies the switching destination router device 10b of the address of the management server 18 in which the router device 10a is accommodated. The router device 10b having received the notification transmits a binding update to the management server 18 in which the router device 10a is accommodated. The management server 18 describes the network prefix advertised by the router device 10a in the response message for binding confirmation and transmits it to the router device 10b. The router device 10b extracts the network prefix advertised by the router device 10a from the received response message. Then, the router device 10b advertises to the local network 1. In this way, each of the router device 10a and the router device 10b shares a network prefix, and the router device 10b advertises the same network prefix as the router device 10a. Thereby, the communication flow relayed via the management server 18 and the router device 10a is switched and relayed via the management server 18 and the router device 10b. Further, the terminal 30 continues to use the address according to the network prefix of the router device 10a after the switching of the router device, and maintains a session with the external terminal 20.

特願2004−116404号公報Japanese Patent Application No. 2004-116404 J.Ryu N Choi、“Failover for Multiple Mobile Routers in a Mobile Network”、[online]、Internet-Draft, July 8, 2005、インターネット<URL:http://www.ietf.org/internet-drafts/draft-ryu-nemo-mr-failover-00.txt>J.Ryu N Choi, “Failover for Multiple Mobile Routers in a Mobile Network”, [online], Internet-Draft, July 8, 2005, Internet <URL: http://www.ietf.org/internet-drafts/draft -ryu-nemo-mr-failover-00.txt>

しかしながら、特許文献1に記載された方法では、ルータ装置10aとルータ装置10bは、ローカルネットワーク内に異なるネットワークプレフィクスを広告するので、ルータ装置の切替に伴い、外部端末20とのセッションが切断される。なぜなら、ルータ装置10aに広告されるネットワークプレフィクスのネクストホップに示されたルータ装置10aが中継機能を失い、端末30は、これまでの通信フローにおけるパケット送信を行うことができなくなるからである。
また、外部端末20から送信されたパケットは、ルータ装置10aが広告するネットワークプレフィクスから生成されたアドレス宛のものであるので、端末30と外部端末20との間のセッションが切断される。なぜなら、ルータ装置の切替後も、上記外部端末20から送信されたパケットが、管理サーバ18を経由することになるが、ルータ装置10aと基地局装置16との間の通信が切断された後は、管理サーバ18が、そのパケットを端末30に転送することができなくなるからである。
However, in the method described in Patent Document 1, since the router device 10a and the router device 10b advertise different network prefixes in the local network, the session with the external terminal 20 is disconnected when the router device is switched. The This is because the router device 10a indicated in the next hop of the network prefix advertised to the router device 10a loses the relay function, and the terminal 30 cannot perform packet transmission in the communication flow so far.
Further, since the packet transmitted from the external terminal 20 is addressed to the address generated from the network prefix advertised by the router device 10a, the session between the terminal 30 and the external terminal 20 is disconnected. This is because the packet transmitted from the external terminal 20 passes through the management server 18 even after the switching of the router device, but after the communication between the router device 10a and the base station device 16 is disconnected. This is because the management server 18 cannot transfer the packet to the terminal 30.

また、非特許文献1に記載された方法では、ルータ装置の切替を行った後に、端末30が新たなセッションを確立する場合、ルータ装置10aが広告していたネットワークプレフィクスに準じるアドレスが依然用いられてしまう。本来、ルータ装置10bが共有したルータ装置10aのネットワークプレフィクスは、ルータ装置10bが属するのとは異なる通信事業者が管理所有しているものであり、ルータ装置の切替後に新たに確立するセッションに対しては、ルータ装置10bが属する通信事業者が管理所有するネットワークプレフィクスを使用するべきである。しかし、上記理由により、端末が新たなセッションを確立する際に、ルータ装置10bが本来広告する適正なネットワークプレフィクスに準じたアドレスを端末が用いることができない。   Further, in the method described in Non-Patent Document 1, when the terminal 30 establishes a new session after switching the router device, the address according to the network prefix advertised by the router device 10a is still used. It will be. Originally, the network prefix of the router device 10a shared by the router device 10b is managed and owned by a telecommunications carrier different from that to which the router device 10b belongs, and is newly established after switching the router device. On the other hand, the network prefix managed and owned by the communication carrier to which the router device 10b belongs should be used. However, for the above reason, when the terminal establishes a new session, the terminal cannot use an address conforming to an appropriate network prefix originally advertised by the router device 10b.

このように特許文献1および非特許文献1のような方法においては、端末が新たなセッションを確立する際に、ルータ装置10bが本来広告する適正なネットワークプレフィクスに準じるアドレスを端末が用いることができない。   As described above, in the methods such as Patent Document 1 and Non-Patent Document 1, when a terminal establishes a new session, the terminal uses an address conforming to an appropriate network prefix originally advertised by the router device 10b. Can not.

そこで、本発明は、上記の課題を解決するもので、相手先装置と移動端末との間の通信フローの切替を適切に行うことをその目的とする。   In view of the above, an object of the present invention is to solve the above-described problems and to appropriately switch the communication flow between the counterpart device and the mobile terminal.

上記目的を達成するために、本発明に係るルータ切替方法は、ネットワーク内の移動端末と、上記移動端末と外部ネットワーク経由で相手先装置との間の通信を中継し、かつ上記外部ネットワークに接続された複数の外部管理装置に管理される複数のルータ装置と、を含んで構成されるシステムにおけるルータ切替方法であって、上記中継中のルータ装置の切替先となる別のルータ装置は、上記中継中のルータ装置に割り当てられている上記ネットワーク内の第1のプレフィクスを取得するステップと、上記中継中のルータ装置を管理する外部管理装置に対し、上記取得した第1のプレフィクスを含むバインディングを上記外部ネットワーク経由で登録させるステップと、上記取得した第1のプレフィクスの優先度を自装置に割り当てられている第2のプレフィクスよりも低く設定、または、上記第2のプレフィクスの優先度を前記第1のプレフィクスよりも高く設定の少なくともいずれか一方を行い、各々の優先度をもつ上記第1および第2のプレフィクスを含むルータ広告を上記ネットワーク上に送信するステップと、を含む。上記移動端末は、上記相手先装置との通信が終了した後は、上記送信された優先度の高い第2のプレフィクスを使用し、上記別のルータ装置およびそのルータ装置を管理する外部管理装置を介して、上記相手先装置との通信を開始するステップ、を含む、
これにより、相手先装置との通信が終了した後は、優先度の高いプレフィクスを用いた通信経路を確保することが可能となる。
In order to achieve the above object, a router switching method according to the present invention relays communication between a mobile terminal in a network and a counterpart device via the mobile terminal and an external network, and connects to the external network. A router switching method in a system including a plurality of router devices managed by a plurality of external management devices, wherein another router device as a switching destination of the router device being relayed is A step of acquiring a first prefix in the network assigned to the router device being relayed, and the external management device managing the router device being relayed including the acquired first prefix The step of registering the binding via the external network and the priority of the acquired first prefix assigned to the own device; The first prefix having the respective priorities is set to be lower than the second prefix or at least one of setting the priority of the second prefix higher than the first prefix. And transmitting a router advertisement including the second prefix on the network. After the communication with the counterpart device is completed, the mobile terminal uses the transmitted second prefix having a high priority, and manages the other router device and the router device. Starting communication with the counterpart device via
Thereby, after the communication with the counterpart device is completed, a communication path using a prefix with a high priority can be secured.

また、上記目的を達成するために、本発明に係るルータ装置は、ネットワーク内の移動端末と外部ネットワーク経由で相手先装置との間の通信を中継している中継中のルータ装置に割り当てられているネットワーク内のプレフィクスを取得する取得部と、中継中のルータ装置を管理する外部管理装置に対し、上記取得された第1のプレフィクスを含むバインディングを上記外部ネットワーク経由で登録させる登録部と、上記取得された第1のプレフィクスの優先度を自装置に割り当てられている第2のプレフィクスよりも低く設定、または、上記第2のプレフィクスの優先度を上記第1のプレフィクスよりも高く設定の少なくともいずれか一方を行う設定部と、各々の優先度をもつ上記第1および第2のプレフィクスを含むルータ広告を上記ネットワーク上に送信する送信部と、を含む。   In order to achieve the above object, a router device according to the present invention is assigned to a relaying router device that relays communication between a mobile terminal in a network and a partner device via an external network. An acquisition unit that acquires a prefix in a network, and a registration unit that causes an external management device that manages a relaying router device to register a binding including the acquired first prefix via the external network; The priority of the acquired first prefix is set lower than the second prefix assigned to the own apparatus, or the priority of the second prefix is set from the first prefix. A router that includes a setting unit that performs at least one of the higher settings and the first and second prefixes having the respective priorities. Comprising a transmitter for transmitting over the Ttowaku, the.

また、上記目的を達成するために、本発明に係る移動端末は、優先度の低い第1のプレフィクスおよび優先度の高い第2のプレフィクスを含むルータ広告を受信して管理する管理部と、ネットワーク内の移動端末と相手先装置との間のルータ装置経由の通信が終了した後は、上記優先度の高い第2のプレフィクスを使用し、上記相手先装置との通信を開始するとともに、上記相手先装置との通信が継続している間は、上記優先度の低い第1のプレフィクスを使用し、上記相手先装置との通信を継続する通信部と、を含む。   In order to achieve the above object, a mobile terminal according to the present invention receives and manages a router advertisement including a first prefix having a low priority and a second prefix having a high priority. After the communication via the router device between the mobile terminal in the network and the partner device is completed, the second prefix having a high priority is used to start communication with the partner device. A communication unit that uses the first prefix having a low priority while continuing communication with the counterpart device, and continues communication with the counterpart device.

本発明によれば、ルータ装置の切替を適切に行うことができる。   According to the present invention, it is possible to appropriately switch router devices.

図1は本発明の実施の形態におけるルータ装置を含むシステム全体の構成例を示すブロック図である。
図1において、ローカルネットワーク(ネットワーク)1には、端末(移動端末)30が接続可能に構成され、端末30は、ルータ装置10aを介して、無線で外部リンク先の基地局装置16に接続可能に構成されている。端末30は、例えば、パーソナルコンピュータ、PDA、携帯電話、ゲーム機などである。
基地局装置16は、インターネット網などのアクセスネットワーク(外部ネットワーク)2およびバックボーンネットワーク(外部ネットワーク)4を介して、外部端末(相手先装置)20に接続されている。なお、アクセスネットワーク2には、管理サーバ(外部管理装置)18が接続されている。
また、ローカルネットワーク1には、ルータ装置10bも接続され、このルータ装置10bを介して、端末30が、無線で基地局装置17に接続可能に構成されている。基地局装置17は、携帯電話網などのアクセスネットワーク(外部ネットワーク)3およびバックボーンネットワーク4を介して、外部端末20に接続されている。なお、アクセスネットワーク3には、管理サーバ(外部管理装置)19が接続されている。
なお、図1では、1台の端末30、2台のルータ装置10a、10bが図示されているが、これらの台数はこれに限られない。また、外部端末20は、バックボーンネットワーク4に接続された場合について記載されているが、各アクセスネットワーク2、3に接続された構成としてもよい。
FIG. 1 is a block diagram showing a configuration example of the entire system including a router device according to an embodiment of the present invention.
In FIG. 1, a terminal (mobile terminal) 30 is configured to be connectable to a local network (network) 1, and the terminal 30 can be wirelessly connected to an external link destination base station apparatus 16 via a router apparatus 10 a. It is configured. The terminal 30 is, for example, a personal computer, a PDA, a mobile phone, a game machine, or the like.
The base station device 16 is connected to an external terminal (partner device) 20 via an access network (external network) 2 such as the Internet network and a backbone network (external network) 4. Note that a management server (external management device) 18 is connected to the access network 2.
In addition, a router device 10b is also connected to the local network 1, and the terminal 30 is configured to be connectable to the base station device 17 wirelessly via the router device 10b. The base station device 17 is connected to an external terminal 20 via an access network (external network) 3 such as a mobile phone network and a backbone network 4. A management server (external management device) 19 is connected to the access network 3.
In FIG. 1, one terminal 30 and two router apparatuses 10a and 10b are shown, but the number of these is not limited to this. Further, although the external terminal 20 is described as being connected to the backbone network 4, the external terminal 20 may be connected to the access networks 2 and 3.

例えば、ルータ装置10aが基地局装置16に接続され、基地局装置16によってルータ装置10aのアドレスが付与された場合、ルータ装置10aは、そのアドレスを管理サーバ18に通知する。この通知に際し、ルータ装置10aは、管理サーバ18に対し、ローカルネットワーク1に広告(ブロードキャスト)するネットワークプレフィクスについても通知する。この通知により、その後、管理サーバ18が、外部端末20からのパケット(端末30宛てのもの)を捕捉して、ルータ装置10aにトンネル転送する。トンネル転送されたルータ装置10aは、パケットからトンネルヘッダを取り除き、内側パケットを端末30に転送する。
なお、端末30が外部端末20宛てに送信するパケットは、例えばルータ装置10aが、その管理下の管理サーバ18にトンネル転送する。トンネル転送を受けた管理サーバ18は、パケットからトンネルヘッダを取り除き、内側パケットを外部端末20に転送する。
また、例えば、ルータ装置10bが基地局装置17に接続され、基地局装置17によってルータ装置10bのアドレスが付与された場合も、ルータ装置10aの場合と同様に、ルータ装置10bは、そのアドレスを管理サーバ19に通知する。この通知に際し、ルータ装置10bは、管理サーバ19に対し、ローカルネットワーク1に広告(ブロードキャスト)するネットワークプレフィクスについても通知する。この通知により、その後、管理サーバ19が、外部端末20からのパケット(端末30宛てのもの)を捕捉して、またはルータ装置10bにトンネル転送する。トンネル転送されたルータ装置10bは、パケットからトンネルヘッダを取り除き、内側パケットを端末30に転送する。
なお、端末30が外部端末20宛てに送信するパケットは、例えばルータ装置10bが、その管理下の管理サーバ19にトンネル転送する。トンネル転送を受けた管理サーバ19は、パケットからトンネルヘッダを取り除き、内側パケットを外部端末20に転送する。
For example, when the router device 10a is connected to the base station device 16 and the address of the router device 10a is given by the base station device 16, the router device 10a notifies the management server 18 of the address. At the time of this notification, the router device 10a also notifies the management server 18 of the network prefix to be advertised (broadcast) to the local network 1. After this notification, the management server 18 captures the packet from the external terminal 20 (addressed to the terminal 30) and tunnels it to the router device 10a. The router apparatus 10 a forwarded by tunneling removes the tunnel header from the packet and forwards the inner packet to the terminal 30.
Note that the packet transmitted from the terminal 30 to the external terminal 20 is tunnel-transferred to the management server 18 under the management of the router device 10a, for example. The management server 18 that has received the tunnel transfer removes the tunnel header from the packet and transfers the inner packet to the external terminal 20.
Also, for example, when the router device 10b is connected to the base station device 17 and the address of the router device 10b is given by the base station device 17, the router device 10b uses the address as in the case of the router device 10a. The management server 19 is notified. At the time of this notification, the router device 10b also notifies the management server 19 of the network prefix to be advertised (broadcast) to the local network 1. With this notification, the management server 19 then captures the packet from the external terminal 20 (addressed to the terminal 30) or tunnels it to the router device 10b. The router device 10b that has been tunneled removes the tunnel header from the packet and transfers the inner packet to the terminal 30.
Note that the packet transmitted from the terminal 30 to the external terminal 20 is tunnel-transferred to the management server 19 under the management of the router device 10b, for example. The management server 19 that has received the tunnel transfer removes the tunnel header from the packet and transfers the inner packet to the external terminal 20.

[ルータ装置間の切替処理]
次に、ルータ装置10a、10b間の切替処理に関して概説する。ここでは、端末30がルータ装置10aを介して外部端末20と通信を行っているときに、ルータ装置10aと基地局装置16との間の通信状態(以下、外部リンク状態とよぶ)が悪くなった場合を前提にして、後記する処理1、処理2、処理3の処理について順次説明する。なお、本実施の形態において、外部リンクとは、ローカルネットワークの外部のノード(基地局装置)との接続を意味する。
この場合、まず、外部リンク状態の悪化を検出した中継中のルータ装置10aは、セッションを継続すべき通信フローがあるかの判定を行う。その結果、通信フローがあった場合、ルータ装置10aは、ローカルネットワーク1内の別のルータ装置10bに対して、端末30による通信フローの中継を引き継ぐよう要請して、ルータ切替を開始する(処理1:ルータ装置10bがルータ装置10aに割り当てられているプレフィクスを取得する処理)。
[Switching between router devices]
Next, the switching process between the router devices 10a and 10b will be outlined. Here, when the terminal 30 is communicating with the external terminal 20 via the router device 10a, the communication state between the router device 10a and the base station device 16 (hereinafter referred to as the external link state) is deteriorated. Assuming the above case, processing 1, processing 2, and processing 3 to be described later will be sequentially described. In the present embodiment, the external link means connection with a node (base station apparatus) outside the local network.
In this case, first, the relaying router device 10a that has detected the deterioration of the external link state determines whether there is a communication flow in which the session should be continued. As a result, when there is a communication flow, the router device 10a requests another router device 10b in the local network 1 to take over the relay of the communication flow by the terminal 30, and starts router switching (processing) 1: processing in which the router device 10b acquires a prefix assigned to the router device 10a).

続いて、ルータ装置の切替を行うため、ルータ装置10aもしくはルータ装置10b(どちらか一方)が、ルータ装置10bの位置情報について、管理サーバ18にバインディング更新を送信する。バインディングは、後記するホームアドレス、気付けアドレスおよびローカルネットワーク内に広告するネットワークプレフィクスの組をいう。(処理2:ルータ装置10aに割り当てられているプレフィクスを含むバインディングを管理サーバ18に登録させる処理)。   Subsequently, in order to switch the router device, the router device 10a or the router device 10b (one of them) transmits a binding update to the management server 18 regarding the location information of the router device 10b. Binding refers to a set of a home address, a care-of address, and a network prefix advertised in the local network, which will be described later. (Process 2: Processing for registering the binding including the prefix assigned to the router device 10a in the management server 18).

次に、位置情報の登録完了後、ルータ装置10bは、ルータ装置10aが広告するネットワークプレフィクス(第1のプレフィクス)の優先度を「低」とするとともに、ルータ装置10bが広告するネットワークプレフィクス(第2のプレフィクス)の優先度を「高」とし、これら2つのネットワークプレフィクスをローカルネットワーク1に広告する。なお、本実施の形態においては、双方のネットワークプレフィクスの優先度を設定する場合について説明するが、いずれか一方のネットワークプレフィクスの優先度を設定するようにしてもよい。
そして、端末30は、ルータ装置の切替によりセッション切断を回避する通信フローに関し、「低」の優先度をもつネットワークプレフィクスを用いる。また、端末30は、新たに確立するセッションに関して、「高」の優先度をもつネットワークプレフィクスを用いる。なお、ルータ装置10bは、後記するプレフィックスリスト900を用い、2つのネットワークプレフィックスに優先度をつけてローカルネットワーク内に広告する(処理3:ルータ装置10bが優先度をもつネットワークプレフィクスを含むルータ広告を送信する処理)。
Next, after the registration of the location information is completed, the router device 10b sets the priority of the network prefix (first prefix) advertised by the router device 10a to “low” and the network device advertised by the router device 10b. The priority of the fix (second prefix) is set to “high”, and these two network prefixes are advertised to the local network 1. In the present embodiment, the case where the priorities of both network prefixes are set will be described. However, the priority of either one of the network prefixes may be set.
The terminal 30 uses a network prefix having a priority of “low” with respect to a communication flow that avoids session disconnection by switching the router device. The terminal 30 uses a network prefix having a “high” priority for a newly established session. The router device 10b uses a prefix list 900 to be described later, and gives priority to two network prefixes and advertises them in the local network (Process 3: Router advertisement including a network prefix to which the router device 10b has priority). Process to send).

以下、上記処理1、処理2および処理3について詳述する。
まず、処理1について図2Aないし図2Cに基づいて詳述する。ここでは、図2Aないし図2Cに示す3つの処理方法について、それぞれ順を追って説明する。
図2Aでは、S51において、ルータ装置10aは、電波状況の悪化を検出する。つまり、ルータ装置10aは、外部リンク状態の悪化により、基地局装置16との接続を維持することが困難であると判断する。
Hereinafter, the processing 1, processing 2, and processing 3 will be described in detail.
First, processing 1 will be described in detail with reference to FIGS. 2A to 2C. Here, the three processing methods shown in FIGS. 2A to 2C will be described step by step.
In FIG. 2A, in S51, the router device 10a detects the deterioration of the radio wave condition. That is, the router device 10a determines that it is difficult to maintain the connection with the base station device 16 due to the deterioration of the external link state.

S40では、ルータ装置10aは、ローカルネットワーク1に向けて、切断通知を行う。具体的には、ルータ装置10aは、基地局装置16との通信の切断を通知するための切断通知メッセージをローカルネットワーク1に送信する。切断通知メッセージは、例えば、RFC2461において規定するルータ広告(RA:Router Advertisement)メッセージ
のルータライフタイムフィールドに、基地局装置16との接続が切断されるまでの想定時間を記載することによって実現することができる。なお、ルータ広告とは、グローバルアドレスのプレフィクス等の情報(ルータライフタイム、Valid Lifetime、Preferred Lifetimeを含む)を広告することをいう。ルータライフタイムは、RAを送信したルータをデフォルトとして使用できる時間を指す。
さらに、S40では、ルータ装置10aは、ルータ装置10aの外部リンクの状況が悪化したため、通信中のルータ装置10bおよび端末30に切断通知(通信の有無の問い合わせを含む)を送信する。
In S <b> 40, the router device 10 a issues a disconnection notification toward the local network 1. Specifically, the router device 10 a transmits a disconnection notification message for notifying the disconnection of communication with the base station device 16 to the local network 1. For example, the disconnection notification message is realized by describing an estimated time until the connection with the base station apparatus 16 is disconnected in a router lifetime field of a router advertisement (RA) message defined in RFC 2461. Can do. The router advertisement refers to advertising information such as a global address prefix (including router lifetime, valid lifetime, and preferred lifetime). The router lifetime indicates a time during which the router that has transmitted the RA can be used as a default.
Furthermore, in S40, the router device 10a transmits a disconnection notification (including an inquiry about the presence / absence of communication) to the router device 10b and the terminal 30 in communication because the external link status of the router device 10a has deteriorated.

S41では、端末30は、上記切断通知の応答として切替要求を行う。具体的には、端末30は、切替要求メッセージをルータ装置10aに送信する。切替要求メッセージは、ルータ装置の切り替えを要求するためのメッセージである。S41を詳述する。端末30は、搭載のアプリケーションが通信を行うために生成するソケットの状態などから、ルータ装置10aをネクストホップとする通信フローの有無を検出する。そして、その検出の結果、通信フローが存在する場合は、端末30は、切替要求メッセージをルータ装置10aに送信する。   In S41, the terminal 30 issues a switching request as a response to the disconnection notification. Specifically, the terminal 30 transmits a switching request message to the router device 10a. The switching request message is a message for requesting switching of the router device. S41 will be described in detail. The terminal 30 detects the presence / absence of a communication flow with the router device 10a as the next hop from the state of a socket generated for communication by the installed application. As a result of the detection, if a communication flow exists, the terminal 30 transmits a switching request message to the router device 10a.

S42では、上記送信を受け、ルータ装置10aが、切替要求を行う。具体的には、ルータ装置10aは、切替要求メッセージ(ローカルネットワーク1のネットワークプレフィクス、ルータ装置10aのアドレスを含む)をルータ装置10bに送信する。
なお、ルータ装置10bにルータ装置10aのバインディング更新リストを追加するため、切断通知メッセージ(S40参照)又は切替要求メッセージ(S42参照)の一方に、ルータ装置10aが保持するバインディング更新リストを含めておく(詳細は後記)。
S52では、ルータ装置10aからの切替要求メッセージを受けたルータ装置10bが、外部へのリンク接続(これを外部リンク接続という。以下同じ)を行う。
In S42, upon receiving the transmission, the router device 10a makes a switching request. Specifically, the router device 10a transmits a switching request message (including the network prefix of the local network 1 and the address of the router device 10a) to the router device 10b.
In order to add the binding update list of the router device 10a to the router device 10b, the binding update list held by the router device 10a is included in one of the disconnection notification message (see S40) or the switch request message (see S42). (Details will be described later).
In S52, the router device 10b that has received the switch request message from the router device 10a performs link connection to the outside (this is referred to as external link connection; the same applies hereinafter).

以上のように、ルータ装置10aからルータ装置10bへの切替を開始するにあたって、ルータ装置10aが中継する通信フローが存在する場合にのみ、上記切替が実施される。この場合、本来は不要なルータ装置の切替を実施せずにすむ。このため、ルータ装置におけるリソースの消費を低減したり、ルータ装置のバッテリ消費量を削減したりするができる。なお、ルータ装置10aが最終的な切替要求メッセージ(S42参照)を送出することにより、従来におけるルータ装置の切替方法を極力の変更しなくてもよくなる。   As described above, when switching from the router device 10a to the router device 10b is started, the switching is performed only when there is a communication flow relayed by the router device 10a. In this case, it is not necessary to switch the router device which is originally unnecessary. For this reason, it is possible to reduce resource consumption in the router device and reduce battery consumption of the router device. Note that the router apparatus 10a sends the final switching request message (see S42), so that the conventional switching method of the router apparatus need not be changed as much as possible.

切断通知メッセージが後記するバインディング更新リスト(図9参照)を含み、切替要求メッセージ(S42参照)が、後記するバインディング更新リスト(図9参照)を含まない場合、ルータ装置の切替を開始させることが可能であれば、切替要求メッセージ(S41、S42参照)はともに、同じフォーマットおよび記載内容であってもよいし、異なっていてもよい。   When the disconnection notification message includes a binding update list (see FIG. 9) to be described later and the switching request message (see S42) does not include the binding update list to be described later (see FIG. 9), switching of the router device may be started. If possible, both the switching request messages (see S41 and S42) may have the same format and description, or may be different.

次に、図2Bに示す処理方法について詳述する。なお、S40、S51およびS52の処理については、図2Aの場合と同様であるので、S43の処理についてのみ説明する。
S43では、端末30が、ルータ装置10aのほかにも、ルータ装置10bにも切替要求を行う。具体的には、端末30は、上記通信フローの有無を検出した後、切替要求メッセージ(ローカルネットワーク1のネットワークプレフィクス、ルータ装置10aのアドレスを含む)をローカルネットワーク1上にもブロードキャスト(あるいはマルチキャスト)する。
以上のようにすると、端末30が通信フローの有無を検出することで確実なフロー検出を実施することができる。さらに、端末30が、切替要求メッセージ(S43参照)を、例えばブロードキャストによりルータ装置10bにも配信するので、ルータ装置の切替処理を迅速に開始することが可能となる。
なお、端末30は、ルータ装置10aのバインディング更新リスト(図9参照)を保持していないため、切断通知メッセージ(S40参照)にルータ装置10aが保持するバインディング更新リストを含めておく(後記)。
Next, the processing method shown in FIG. 2B will be described in detail. Since the processes of S40, S51, and S52 are the same as those in FIG. 2A, only the process of S43 will be described.
In S43, the terminal 30 issues a switching request to the router device 10b in addition to the router device 10a. Specifically, after detecting the presence or absence of the communication flow, the terminal 30 broadcasts a switching request message (including the network prefix of the local network 1 and the address of the router device 10a) also on the local network 1 (or multicast). )
If it carries out as mentioned above, reliable flow detection can be implemented because the terminal 30 detects the presence or absence of a communication flow. Furthermore, since the terminal 30 distributes the switching request message (see S43) to the router device 10b, for example, by broadcast, it is possible to quickly start the switching processing of the router device.
Since the terminal 30 does not hold the binding update list (see FIG. 9) of the router device 10a, the binding update list held by the router device 10a is included in the disconnection notification message (see S40) (described later).

次に、図2Cに示す処理方法について説明する。なお、S40、S51およびS52の処理については、図2Aの場合と同様であるので、S44の処理についてのみ説明する。
S44では、ルータ装置10aが、通信フローの検出を行い、切替要求メッセージ(ローカルネットワーク1のネットワークプレフィクス、ルータ装置10aのアドレスを含む)をルータ装置10bに送出する。上記通信フローの検出の際、ルータ装置10aは、中継対象のパケットの時刻等を記録しておき、TCP(Transmission Control Protocol) SYNパケットやリセットパケットを検出するなどし、通信フローの検出を行う。上記送出方法としては、例えば、ブロードキャスト、マルチキャストなどがある。
なお、ルータ装置10bは、ルータ装置10aのバインディング更新リスト(図9参照)を追加するため、切断通知メッセージ(S40参照)又は切替要求メッセージ(S44参照)の一方に、ルータ装置10aが保持するバインディング更新リストを含めておく(後記)。
Next, the processing method shown in FIG. 2C will be described. Since the processes of S40, S51, and S52 are the same as those in FIG. 2A, only the process of S44 will be described.
In S44, the router device 10a detects the communication flow, and sends a switching request message (including the network prefix of the local network 1 and the address of the router device 10a) to the router device 10b. When detecting the communication flow, the router device 10a records the time of the packet to be relayed and detects a communication flow by detecting a TCP (Transmission Control Protocol) SYN packet or a reset packet. Examples of the transmission method include broadcast and multicast.
Since the router device 10b adds the binding update list (see FIG. 9) of the router device 10a, the binding held by the router device 10a in one of the disconnection notification message (see S40) or the switch request message (see S44). Include an update list (see below).

なお、S41〜S44(図2A〜図2C参照)において、端末30またはルータ装置10aが切替要求を送信した場合、ルータ装置10bは、ルータ装置10aのアドレスとネットワークプレフィクスとを切替要求から抽出して、後記するネットワークプレフィクスリスト900に記憶する。   In S41 to S44 (see FIGS. 2A to 2C), when the terminal 30 or the router device 10a transmits a switching request, the router device 10b extracts the address of the router device 10a and the network prefix from the switching request. And stored in the network prefix list 900 described later.

次に、処理2について図3Aないし図3Dに基づいて詳述する。ここでは、図3Aないし図3Dに示す4つの処理方法について、それぞれ順を追って説明する。
図3Aでは、ルータ装置10bが外部リンク接続を完了した後(S52)、S61において、ルータ装置10bは、ルータ装置10aに対し、バインディング(BU)更新の送信の依頼(以下、BU送信依頼)を行う。BU送信依頼は、メッセージを用いて行われるが、このメッセージ(依頼メッセージともいう)には、外部リンク接続によって付与されたアドレス(以下、ルータ装置10bの気付けアドレスという)が含められる。本実施の形態では、気付けアドレス(Care-of Address)は、ルータ装置10bが訪問したサブネッ
トで使用するアドレスを意味する。なお、ルータ装置10bは、外部リンク接続後、移動管理サーバ18から転送されるパケットを直ちに端末30に転送するため、まず、切断通知メッセージ(S40参照)又は切替要求メッセージ(S42参照)の一方に含まれるルータ装置10aのバインディング更新リスト(図9参照)を各メッセージから抽出する。そして、ルータ装置10bは、抽出したルータ装置10aのバインディング更新リスト(図9の1行目804参照)を、自己のバインディング更新リスト(図9の2行目805参照)に追加する。バインディング更新リスト更新後、BU送信依頼メッセージを送信する。
Next, the process 2 will be described in detail with reference to FIGS. 3A to 3D. Here, the four processing methods shown in FIGS. 3A to 3D will be described step by step.
In FIG. 3A, after the router device 10b completes the external link connection (S52), in S61, the router device 10b requests the router device 10a to send a binding (BU) update (hereinafter referred to as a BU transmission request). Do. The BU transmission request is performed using a message, and this message (also referred to as a request message) includes an address given by external link connection (hereinafter referred to as a care-of address of the router device 10b). In the present embodiment, the care-of address means an address used in the subnet visited by the router device 10b. Since the router device 10b immediately transfers the packet transferred from the mobility management server 18 to the terminal 30 after the external link is connected, first, in the disconnection notification message (see S40) or the switch request message (see S42). The binding update list (see FIG. 9) of the included router device 10a is extracted from each message. Then, the router device 10b adds the extracted binding update list (see the first row 804 in FIG. 9) of the router device 10a to its own binding update list (see the second row 805 in FIG. 9). After updating the binding update list, a BU transmission request message is transmitted.

S62では、上記依頼メッセージを受信したルータ装置10aは、バインディング更新(管理サーバ18のアドレス、ルータ装置10bの気付けアドレス、ルータ装置10aが広告するネットワークプレフィックス(以下「Prefix1」)を含む)を送信する。具体的には、ルータ装置10aは、上記依頼メッセージから、ルータ装置10bの気付けアドレスを抽出する。そして、ルータ装置10aは、抽出した気付けアドレスを、更新メッセージの気付けアドレスオプションに記載して、管理サーバ18に送信する。なお、更新メッセージは、バインディング更新のメッセージであり、この中には、ルータ装置10aがローカルネットワーク1に広告するネットワークプレフィクスが含められる。なお、更新メッセージを受信した管理サーバ18は、バインディングキャッシュの更新完了(ルータ装置10bの気付けアドレスをバインディングキャッシュに登録)後、バンディング応答(バインディング更新完了のメッセージ)を送信する場合がある。この場合、ルータ装置10aは、管理サーバ18から送信されたバインディング応答を受信すると、バインディングを完了した旨をルータ装置10bに送信してもよい。   In S62, the router apparatus 10a that has received the request message transmits a binding update (including the management server 18 address, the care-of address of the router apparatus 10b, and the network prefix advertised by the router apparatus 10a (hereinafter “Prefix1”)). . Specifically, the router device 10a extracts the care-of address of the router device 10b from the request message. Then, the router device 10a describes the extracted care-of address in the care-of address option of the update message and transmits it to the management server 18. The update message is a binding update message, and includes a network prefix advertised to the local network 1 by the router device 10a. The management server 18 that has received the update message may transmit a banding response (binding update completion message) after completing the update of the binding cache (registering the care-of address of the router device 10b in the binding cache). In this case, when the router device 10a receives the binding response transmitted from the management server 18, the router device 10a may transmit to the router device 10b that the binding is completed.

その後、ルータ装置10aの外部リンクが切断され(図3A中の破線参照)、端末30は、ルータ装置10bとの間で通信を行う(S65)。そして、ルータ装置10bは、管理サーバ18との間で通信を行う(S66)。さらに、管理サーバ18は、外部装置20との間で通信を行う(S67)。
具体的には、端末30が、外部端末20宛のパケットを送信した場合、ルータ装置10bが、そのパケットを捕捉する(S65参照)。そして、ルータ装置10bが、そのパケットを管理サーバ18にトンネル転送する(S66参照)。トンネル転送先の管理サーバ18は、上記パケットから、トンネルパケットを抽出して外部端末20に転送する(S67参照)。
他方、外部端末20が、端末30宛のパケットを送信した場合、管理サーバ18が、そのパケットを捕捉する(S67参照)。そして、管理サーバ18が、そのパケットをルータ装置10bにトンネル転送する(S66参照)。トンネル転送先のルータ装置10bは、上記パケットから、トンネルパケットを抽出して端末30に転送する(S65参照)。
Thereafter, the external link of the router device 10a is disconnected (see the broken line in FIG. 3A), and the terminal 30 communicates with the router device 10b (S65). The router device 10b communicates with the management server 18 (S66). Furthermore, the management server 18 communicates with the external device 20 (S67).
Specifically, when the terminal 30 transmits a packet addressed to the external terminal 20, the router device 10b captures the packet (see S65). Then, the router device 10b tunnels the packet to the management server 18 (see S66). The tunnel transfer destination management server 18 extracts the tunnel packet from the packet and transfers it to the external terminal 20 (see S67).
On the other hand, when the external terminal 20 transmits a packet addressed to the terminal 30, the management server 18 captures the packet (see S67). Then, the management server 18 tunnels the packet to the router device 10b (see S66). The tunnel transfer destination router 10b extracts the tunnel packet from the packet and transfers it to the terminal 30 (see S65).

[ルータ装置の通信フローの処理]
ここで、図3Aの場合におけるルータ装置10bの通信フローの処理について説明する。
端末30から外部端末20への通信フローの送信元アドレスが、ルータ装置10aが広告するPrefix1を用いて生成されたアドレスであるとき、ルータ装置10bは、後記するバインディング更新リスト800内のネットワークプレフィックスから、管理サーバ18経由のフローであると判定する。その際、ルータ装置10bは、管理サーバ18にトンネル転送するため、ヘッダ(送信先アドレス=管理サーバ18のアドレス、送信元アドレス=ルータ装置10bの気付けアドレス)を付加して、送信する。
他方、通信フローの送信元アドレスが、ルータ装置10bが広告するPrefix2を用いて生成されたアドレスである場合、ルータ装置10bは、バインディング更新リスト800内のネットワークプレフィックスから、管理サーバ19経由のフローであると判定する。その際、ルータ装置10bが管理サーバ18にトンネル転送を行うため、ルータ装置10bは、ヘッダ(送信先アドレス=管理サーバ19のアドレス、送信元アドレス=ルータ装置10bの気付けアドレス)を付加して、送信する。
[Processing of communication flow of router device]
Here, processing of the communication flow of the router device 10b in the case of FIG. 3A will be described.
When the transmission source address of the communication flow from the terminal 30 to the external terminal 20 is an address generated using Prefix 1 advertised by the router device 10a, the router device 10b uses the network prefix in the binding update list 800 described later. It is determined that the flow is via the management server 18. At this time, the router device 10b performs transmission by tunneling to the management server 18, and adds a header (transmission destination address = address of the management server 18, transmission source address = care-of address of the router device 10b) and transmits the result.
On the other hand, when the transmission source address of the communication flow is an address generated using Prefix 2 advertised by the router device 10b, the router device 10b uses the network prefix in the binding update list 800 as a flow via the management server 19. Judge that there is. At that time, since the router device 10b performs tunnel transfer to the management server 18, the router device 10b adds a header (transmission destination address = address of the management server 19 and transmission source address = care-of address of the router device 10b), Send.

次に、図3Bに示す処理方法について説明する。なお、S52の処理については、図3Aの場合と同様であるので、それ以外の処理について説明する。
S71において、ルータ装置10bは、バインディング更新を要求する。具体的には、ルータ装置10bは、バインディング更新を要求する更新メッセージを管理サーバ19宛に送信する。更新メッセージには、外部リンク接続によって付与された気付けアドレスが含まれる。
S72では、上記更新メッセージを受信した管理サーバ19が、バインディング応答を行う。具体的には、管理サーバ19が、更新メッセージに応じて、バインディング応答を行い、その応答メッセージをルータ装置10bに送信する。
S73では、上記応答メッセージを受けたルータ装置10bが、ルータ装置10aにBU送信依頼を行う。具体的には、ルータ装置10bが、ルータ装置10aにBU送信依頼のためのメッセージを送信する。このメッセージ(依頼メッセージともいう)には、管理サーバ19に割り当てられたルータ装置10bのホームアドレスが含まれる。本実施の形態では、ホームアドレスは、端末30が外部端末20との通信に使い続けるアドレスを意味する。
Next, the processing method shown in FIG. 3B will be described. Note that the processing of S52 is the same as in the case of FIG. 3A, so other processing will be described.
In S71, the router device 10b requests binding update. Specifically, the router device 10 b transmits an update message for requesting binding update to the management server 19. The update message includes the care-of address given by the external link connection.
In S72, the management server 19 that has received the update message sends a binding response. Specifically, the management server 19 performs a binding response in response to the update message, and transmits the response message to the router device 10b.
In S73, the router device 10b receiving the response message makes a BU transmission request to the router device 10a. Specifically, the router device 10b transmits a BU transmission request message to the router device 10a. This message (also referred to as a request message) includes the home address of the router device 10b assigned to the management server 19. In the present embodiment, the home address means an address that the terminal 30 continues to use for communication with the external terminal 20.

S74では、上記BU送信依頼を受信したルータ装置10aが、ルータ装置10bのホームアドレス宛のping要求パケットを送信し、管理サーバ18がそのパケットを捕捉する。
S75では、管理サーバ18が、上記ping要求パケットをルータ装置10bのホームアドレス宛に転送する。管理サーバ19は、ルータ装置10bの代理としてping要求パケットを捕捉するため、アドレス解決を完了させ、pingパケットを捕捉する。具体的には、管理サーバ19は、アドレス解決を完了する際、まず、ルータ装置10bのホームアドレスを宛先アドレスとした近隣要請メッセージを受信する。管理サーバ19は、ルータ装置10bの代理としてpingパケット受信するため、近隣広告メッセージを送信する。ただし、ルータ装置10bが同リンクに存在する場合もあるため、遅延を設けて近隣広告メッセージを送信する。なお、RFC2461では、1秒の遅延を設けている。これにより、アドレス解決が完了する。
S76では、管理サーバ19がルータ装置10bにping要求パケットを転送する。
S77では、上記ping要求パケットを受信したルータ装置10bが、ping要求パケットに対応するping応答パケットを送信し、管理サーバ19がそのパケットを捕捉する。
S78では、管理サーバ19が、上記ping応答パケットを送信し、管理サーバ18がそのパケットを捕捉する。
S79では、上記ping応答パケットを受信した管理サーバ18が、そのping応答パケットをルータ装置10aに転送する。
In S74, the router device 10a that has received the BU transmission request transmits a ping request packet addressed to the home address of the router device 10b, and the management server 18 captures the packet.
In S75, the management server 18 transfers the ping request packet to the home address of the router device 10b. Since the management server 19 captures the ping request packet as a proxy for the router device 10b, the management server 19 completes address resolution and captures the ping packet. Specifically, when completing the address resolution, the management server 19 first receives a neighbor solicitation message with the home address of the router device 10b as the destination address. The management server 19 transmits a neighbor advertisement message to receive a ping packet as a proxy for the router device 10b. However, since the router device 10b may exist on the same link, the neighbor advertisement message is transmitted with a delay. In RFC 2461, a delay of 1 second is provided. This completes address resolution.
In S76, the management server 19 transfers the ping request packet to the router device 10b.
In S77, the router device 10b that has received the ping request packet transmits a ping response packet corresponding to the ping request packet, and the management server 19 captures the packet.
In S78, the management server 19 transmits the ping response packet, and the management server 18 captures the packet.
In S79, the management server 18 that has received the ping response packet transfers the ping response packet to the router device 10a.

S80では、ping応答パケットを受信したルータ装置10aが、バインディング更新(管理サーバ18のアドレス、ルータ装置10bのホームアドレス、「Prefix1」のネットワークプレフィックスを含む)を送信する。具体的には、ルータ装置10aは、BU送信依頼を受け、上記依頼メッセージから、ルータ装置10bのホームアドレスを抽出する。そして、ルータ装置10aは、抽出したホームアドレスを更新メッセージの気付けアドレスオプションに記載して、管理サーバ18に送信する。なお、更新メッセージは、バインディング更新のメッセージであり、この中には、ルータ装置10aがローカルネットワーク1に対して広告するネットワークプレフィクスを含む。なお、更新メッセージを受信した管理サーバ18は、バインディングキャッシュの更新完了後、バンディング応答を送信する場合がある。この場合、ルータ装置10aは、管理サーバ18から送信されたバインディング応答を受信すると、バインディングを完了した旨をルータ装置10bに送信してもよい。   In S80, the router device 10a that has received the ping response packet transmits a binding update (including the address of the management server 18, the home address of the router device 10b, and the network prefix “Prefix1”). Specifically, the router device 10a receives the BU transmission request and extracts the home address of the router device 10b from the request message. Then, the router device 10a describes the extracted home address in the care-of address option of the update message and transmits it to the management server 18. The update message is a binding update message, and includes a network prefix advertised to the local network 1 by the router device 10a. The management server 18 that has received the update message may transmit a banding response after completing the update of the binding cache. In this case, when the router device 10a receives the binding response transmitted from the management server 18, the router device 10a may transmit to the router device 10b that the binding is completed.

その後、ルータ装置10aの外部リンクが切断され(図3B中の破線参照)、端末30は、ルータ装置10aとの間で通信を行う(S84)。そして、ルータ装置10bは、管理サーバ19との間で通信を行う(S83)。また、管理サーバ19は、管理サーバ18との間で通信を行う(S82)。さらに、管理サーバ18は、外部装置20との間で通信を行う(S81)。
具体的には、端末30が、外部端末20宛のパケットを送信した場合、ルータ装置10bが、そのパケットを捕捉する(S84参照)。そして、ルータ装置10bが、そのパケットに基づき、管理サーバ18宛のトンネルパケットを生成して管理サーバ19にトンネル転送する(S83参照)。トンネル転送先の管理サーバ19は、トンネルパケットを抽出して管理サーバ18に転送し(S82参照)、さらに、管理サーバ18は、転送されたトンネルパケットを抽出して外部端末20に転送する(S81参照)。
他方、外部端末20が、端末30宛のパケットを送信した場合、管理サーバ18が、そのパケットを捕捉する(S81参照)。そして、管理サーバ18が、そのパケットをルータ装置10bのホームアドレス宛にトンネル転送した場合、管理サーバ19が、そのトンネルパケットを捕捉し(S82参照)、ルータ装置10bにトンネル転送する(S83参照)。ルータ装置10bは、トンネルパケットを抽出して端末30に転送する(S84参照)。
Thereafter, the external link of the router device 10a is disconnected (see the broken line in FIG. 3B), and the terminal 30 communicates with the router device 10a (S84). The router device 10b communicates with the management server 19 (S83). The management server 19 communicates with the management server 18 (S82). Furthermore, the management server 18 communicates with the external device 20 (S81).
Specifically, when the terminal 30 transmits a packet addressed to the external terminal 20, the router device 10b captures the packet (see S84). Then, the router device 10b generates a tunnel packet addressed to the management server 18 based on the packet and forwards the tunnel packet to the management server 19 (see S83). The management server 19 at the tunnel transfer destination extracts the tunnel packet and transfers it to the management server 18 (see S82). Further, the management server 18 extracts the transferred tunnel packet and transfers it to the external terminal 20 (S81). reference).
On the other hand, when the external terminal 20 transmits a packet addressed to the terminal 30, the management server 18 captures the packet (see S81). When the management server 18 tunnels the packet to the home address of the router device 10b, the management server 19 captures the tunnel packet (see S82) and forwards the tunnel packet to the router device 10b (see S83). . The router device 10b extracts the tunnel packet and transfers it to the terminal 30 (see S84).

[ルータ装置の通信フローの処理]
ここで、図3Bの場合におけるルータ装置10bの通信フローの処理について説明する(図3Aの処理も同様)。
端末30から外部端末20へ送信する通信フローの送信元アドレスが、ルータ装置10aが広告するPrefix1を用いて生成されたアドレスである場合、ルータ装置10bは、後記するバインディング更新リスト800内のネットワークプレフィックスから、管理サーバ18経由のフローであると判定する。その際、ルータ装置10bは、まず、管理サーバ19から管理サーバ18へトンネル転送するため、ヘッダ(送信先アドレス=管理サーバ18のアドレス、送信元アドレス=管理サーバ19に割り当てられたルータ装置10bのホームアドレス)を付加する。次に、ルータ装置10bから管理サーバ19にトンネル転送を行うため、ルータ装置10bは、上記ヘッダを付加したパケットにさらに、ヘッダ(送信先アドレス=管理サーバ19のアドレス、送信元アドレス=ルータ装置10bの気付けアドレス)を付加して、送信する。
[Processing of communication flow of router device]
Here, the processing of the communication flow of the router device 10b in the case of FIG. 3B will be described (the same applies to the processing of FIG. 3A).
When the transmission source address of the communication flow transmitted from the terminal 30 to the external terminal 20 is an address generated using Prefix 1 advertised by the router device 10a, the router device 10b transmits the network prefix in the binding update list 800 described later. Therefore, it is determined that the flow is via the management server 18. At that time, since the router device 10 b first performs tunnel transfer from the management server 19 to the management server 18, the header (transmission destination address = address of the management server 18, transmission source address = route of the router device 10 b assigned to the management server 19). Home address) is added. Next, in order to perform tunnel transfer from the router device 10b to the management server 19, the router device 10b further adds a header (transmission destination address = address of the management server 19, transmission source address = router device 10b) to the packet to which the header is added. ) And send it.

他方、上記通信フローの送信元アドレスが、ルータ装置10bが広告するPrefix2を用いて生成されたアドレスである場合、ルータ装置10bは、後記するバインディング更新リスト800内のネットワークプレフィックスから、管理サーバ19経由のフローであると判定する。その際、ルータ装置10bは、ルータ装置10bが管理サーバ18にトンネル転送するため、ヘッダ(送信先アドレス=管理サーバ19のアドレス、送信元アドレス=ルータ装置10bの気付けアドレス)を付加して、送信する。   On the other hand, when the transmission source address of the communication flow is an address generated using Prefix 2 advertised by the router device 10b, the router device 10b passes the management server 19 from the network prefix in the binding update list 800 described later. It is determined that the flow is. At that time, since the router device 10b performs tunnel transfer to the management server 18, the router device 10b adds a header (transmission destination address = address of the management server 19, transmission source address = care-of address of the router device 10b) and transmits To do.

次に、図3Cに示す処理方法について説明する。なお、S52の処理については、図2Aの場合と同様であるので、それ以外の処理について説明する。
S91において、ルータ装置10aは、BU送信依頼を行う。具体的には、ルータ装置10aは、ルータ装置の切替要求に引き続き、BU送信依頼のための依頼メッセージをルータ装置10bに送信する。依頼メッセージには、次のような情報が含まれる。すなわち、ルータ装置10aが管理サーバ18との間でセキュリティアソシエーションを構築するためのセキュリティポリシと、現在のセキュリティアソシエーションに関する情報と、管理サーバ18のアドレスと、ルータ装置10aのホームアドレスとである。
Next, the processing method shown in FIG. 3C will be described. Note that the processing of S52 is the same as in the case of FIG. 2A, so other processing will be described.
In S91, the router device 10a makes a BU transmission request. Specifically, the router device 10a transmits a request message for a BU transmission request to the router device 10b following the router device switching request. The request message includes the following information. That is, the security policy for the router device 10a to establish a security association with the management server 18, information on the current security association, the address of the management server 18, and the home address of the router device 10a.

なお、本実施の形態では、ノード間の通信は、IPv6(Internet Protocol Version 6)を用いているので、ノード間のセキュリティは、IPsec(Security Architecture for Internet Protocol)の規定により確保される。そこで、ルータ装置10bが、ルータ装置10aの代わりに、BU更新メッセージを送信する場合においては、セキュリティポリシと、セキュリティアソシエーションとが必要となる。
セキュリティポリシとは、どのパケットにIPsecを用いた通信を行うのかを規定したものである。セキュリティアソシエーションとは、IPsecを用いた通信を行うためのパラメータ情報(暗号化方式や暗号鍵など)をノード間で交換・共有し、安全な通信路を確保することを意味する。
In the present embodiment, since communication between nodes uses IPv6 (Internet Protocol Version 6), security between nodes is ensured according to regulations of IPsec (Security Architecture for Internet Protocol). Therefore, when the router device 10b transmits a BU update message instead of the router device 10a, a security policy and a security association are required.
The security policy defines which packet is used for communication using IPsec. The security association means exchanging and sharing parameter information (encryption method, encryption key, etc.) for performing communication using IPsec between nodes to secure a safe communication path.

図3Cでは、S91のBU送信依頼が、S52の後に行われる場合について示されているが、その順序は逆であってもよい。   Although FIG. 3C shows a case where the BU transmission request in S91 is made after S52, the order may be reversed.

S92では、ルータ装置10bは、バインディング更新を要求する。具体的には、ルータ装置10bは、S91のBU送信依頼を受け、外部リンク接続(S52参照)が完了しているかを確認する。そして、確認の結果、完了していない場合は、ルータ装置10bは、それが完了するまで待機する。他方、外部リンク接続が完了した場合は、ルータ装置10bは、BU送信依頼された内容に基づいて、管理サーバ18に対し、バインディング更新を要求する更新メッセージを送信する。この更新メッセージは、BU送信依頼された依頼メッセージから抽出された情報に基づいて構成され、この中には、ルータ装置10bの気付けアドレスが含まれる。   In S92, the router device 10b requests binding update. Specifically, the router device 10b receives the BU transmission request in S91 and confirms whether the external link connection (see S52) is completed. If it is not completed as a result of the confirmation, the router device 10b waits until it is completed. On the other hand, when the external link connection is completed, the router device 10b transmits an update message for requesting a binding update to the management server 18 based on the content requested for BU transmission. This update message is configured based on the information extracted from the request message requested for BU transmission, and includes the care-of address of the router device 10b.

なお、ルータ装置10bは、上記更新メッセージを送信する際、上記セキュリティポリシの内容から、IPsecによる通信方式を確認する。そこで、ルータ装置10bは、そのセキュリティポリシに対応するセキュリティアソシエーションから、IPsecによる通信を行うためのパケットを作成する。
セキュリティポリシおよびセキュリティアソシエーションで用いられるパラメータ情報(暗号化方式、暗号鍵等の情報)は、BU送信依頼された依頼メッセージから抽出された情報に基づくものである。
In addition, when transmitting the update message, the router device 10b confirms the communication method by IPsec from the contents of the security policy. Therefore, the router device 10b creates a packet for performing communication by IPsec from the security association corresponding to the security policy.
Parameter information (information such as an encryption method and an encryption key) used in the security policy and the security association is based on information extracted from the request message requested to be transmitted by BU.

S92でバインディング更新を要求された管理サーバ18は、バインディング応答を行う。具体的には、管理サーバ18は、ルータ装置10bのホームアドレスをバインディングキャッシュに登録し、登録が完了したことを知らせるための応答メッセージをルータ装置10aに送信する。ルータ装置10bは、管理サーバ18からの応答メッセージを受信する。なお、バインディング応答メッセージ受信後、改めてバインディング更新リストを更新しても構わない。
その後、ルータ装置10aの外部リンクが切断され(図3C中の破線参照)、端末30から送信される外部端末20宛のパケットは、ルータ装置10bに捕捉された(S94参照)後、管理サーバ18にトンネル転送される(S95参照)。トンネル転送先の管理サーバ18は、トンネル転送されたトンネルパケットを抽出して、外部端末20に転送する(S96参照)。
他方、外部端末20から送信される端末30宛のパケットは、管理サーバ18に捕捉された(S96参照)後、ルータ装置10bにトンネル転送される(S95参照)。トンネル転送先のルータ装置10bは、トンネル転送されたトンネルパケットを抽出して、端末30に転送する(S94参照)。
The management server 18 requested to update the binding in S92 makes a binding response. Specifically, the management server 18 registers the home address of the router device 10b in the binding cache, and transmits a response message for notifying that the registration is completed to the router device 10a. The router device 10b receives the response message from the management server 18. The binding update list may be updated again after receiving the binding response message.
Thereafter, the external link of the router device 10a is disconnected (see the broken line in FIG. 3C), and the packet addressed to the external terminal 20 transmitted from the terminal 30 is captured by the router device 10b (see S94), and then the management server 18 (See S95). The tunnel transfer destination management server 18 extracts the tunneled packet and transfers it to the external terminal 20 (see S96).
On the other hand, the packet addressed to the terminal 30 transmitted from the external terminal 20 is captured by the management server 18 (see S96) and then tunneled to the router device 10b (see S95). The tunnel transfer destination router apparatus 10b extracts the tunnel packet transferred through the tunnel and transfers it to the terminal 30 (see S94).

次に、図3Dに示す処理方法について説明する。なお、S52の処理については、図2Aの場合と同様であるので、それ以外の処理について説明する。
S111において、ルータ装置10bは、バインディング更新を要求する。具体的には、ルータ装置10bは、バインディング更新を要求する更新メッセージを管理サーバ19宛に送信する。更新メッセージには、S52の外部リンク接続によって付与された気付けアドレスが含まれる。
S112では、バインディング更新を要求された管理サーバ19が、当該要求に応じ、ルータ装置10bに対し、バインディング応答を行う。これにより、ルータ装置10bが、管理サーバ19から、バインディング応答の応答メッセージを受信する。
Next, the processing method shown in FIG. 3D will be described. Note that the processing of S52 is the same as in the case of FIG. 2A, so other processing will be described.
In S111, the router device 10b requests binding update. Specifically, the router device 10 b transmits an update message for requesting binding update to the management server 19. The update message includes the care-of address given by the external link connection in S52.
In S112, the management server 19 requested to update the binding makes a binding response to the router device 10b in response to the request. Thereby, the router device 10b receives the response message of the binding response from the management server 19.

S113では、ルータ装置10bが、バインディング応答を受け、ルータ広告を行う。具体的には、ルータ装置10bが、管理下のネットワークプレフィクスを含むルータ広告メッセージをローカルネットワーク1に対して送出する。
S114では、ルータ装置10aが、ルータ装置10bからのルータ広告メッセージを受信し、ルータ装置10bに対し、バインディング更新を要求する。具体的には、ルータ装置10aの内部インタフェースにルータ装置10bの管理下にあるネットワークプレフィクスに応じたアドレスを生成して付与する。そして、ルータ装置10aは、その付与したアドレスを気付けアドレスとして、バインディング更新を要求する更新メッセージに含めて、その更新メッセージを管理サーバ18に送信する。
In S113, the router device 10b receives the binding response and performs router advertisement. Specifically, the router device 10b sends a router advertisement message including a managed network prefix to the local network 1.
In S114, the router device 10a receives the router advertisement message from the router device 10b, and requests the router device 10b to update the binding. Specifically, an address corresponding to the network prefix under the management of the router device 10b is generated and assigned to the internal interface of the router device 10a. Then, the router device 10a uses the assigned address as a care-of address and includes it in the update message for requesting the binding update, and transmits the update message to the management server 18.

S115では、ルータ装置10bは、ルータ装置10aからの更新メッセージを捕捉して、管理サーバ19にトンネル転送する。
S116では、管理サーバ19は、ルータ装置10bからトンネル転送されたトンネルパケットを抽出する。そして、管理サーバ19は、抽出したトンネルパケットを上記更新メッセージに含めて、当該更新メッセージを管理サーバ18に転送する。
S117では、管理サーバ18は、管理サーバ19に対し、バインディング応答を行う。具体的には、管理サーバ18は、管理サーバ19からの更新メッセージを受信し、ルータ装置10bの管理下にあるネットワークプレフィクスに応じたアドレスをバインディングキャッシュに登録する。そして、管理サーバ18は、その登録が完了したことを知らせるための応答メッセージをルータ装置10a宛に送信する。
S118では、管理サーバ18からの送信を受けて、管理サーバ19は、上記応答メッセージを捕捉して、ルータ装置10bにトンネル転送する。
S119では、ルータ装置10aが、トンネル転送されたトンネルパケットを抽出して、ルータ装置10aに転送する。これにより、ルータ装置10aが応答メッセージを受信し、その登録が完了する。
In S115, the router device 10b captures the update message from the router device 10a and tunnels it to the management server 19.
In S116, the management server 19 extracts the tunnel packet transferred by the tunnel from the router device 10b. The management server 19 includes the extracted tunnel packet in the update message and transfers the update message to the management server 18.
In S117, the management server 18 sends a binding response to the management server 19. Specifically, the management server 18 receives the update message from the management server 19 and registers an address corresponding to the network prefix under the management of the router device 10b in the binding cache. Then, the management server 18 transmits a response message for notifying that the registration is completed to the router device 10a.
In S118, receiving the transmission from the management server 18, the management server 19 captures the response message and tunnels it to the router device 10b.
In S119, the router device 10a extracts the tunnel packet transferred through the tunnel, and transfers it to the router device 10a. Thereby, the router apparatus 10a receives the response message, and the registration is completed.

その後、ルータ装置10aの外部リンクが切断され(図3D中の破線参照)、外部端末20から送信される端末30宛のパケットは、管理サーバ18に捕捉された(S120参照)後、ルータ装置10aにトンネル転送されて、管理サーバ19に捕捉される(S121参照)。そして、管理サーバ19は、上記パケットをルータ装置10bにトンネル転送する(S122参照)。ルータ装置10bは、トンネル転送されたトンネルパケットをルータ装置10aに転送し(S123参照)、ルータ装置10aがそのトンネルパケットを抽出して端末30に転送する(S124参照)。   Thereafter, the external link of the router device 10a is disconnected (see the broken line in FIG. 3D), and the packet addressed to the terminal 30 transmitted from the external terminal 20 is captured by the management server 18 (see S120), and then the router device 10a. And is captured by the management server 19 (see S121). Then, the management server 19 tunnels the packet to the router device 10b (see S122). The router device 10b forwards the tunneled tunnel packet to the router device 10a (see S123), and the router device 10a extracts the tunnel packet and forwards it to the terminal 30 (see S124).

他方、端末30から送信された外部端末20宛のパケットは、ルータ装置10aに捕捉される(S124参照)。その後、ルータ装置10aが、管理サーバ18宛のトンネルパケットを生成してルータ装置10bに送信し、ルータ装置10bがそのトンネルパケットを捕捉する(S123参照)。そして、ルータ装置10bが、そのトンネルパケットを管理サーバ19にトンネル転送する(S122参照)。管理サーバ19は、トンネル転送されたトンネルパケットを抽出して管理サーバ18に送信し、管理サーバ18が、そのトンネルパケットを捕捉する(S121参照)。そして、管理サーバ18が、そのトンネルパケットを抽出して外部端末20に転送する(S120参照)。   On the other hand, the packet addressed to the external terminal 20 transmitted from the terminal 30 is captured by the router device 10a (see S124). Thereafter, the router device 10a generates a tunnel packet addressed to the management server 18 and transmits it to the router device 10b, and the router device 10b captures the tunnel packet (see S123). Then, the router device 10b tunnels the tunnel packet to the management server 19 (see S122). The management server 19 extracts the tunnel packet transferred by the tunnel and transmits it to the management server 18, and the management server 18 captures the tunnel packet (see S121). Then, the management server 18 extracts the tunnel packet and transfers it to the external terminal 20 (see S120).

次に、処理3について図4に基づいて説明する。
S201において、ルータ装置10bは、ルータ広告を行う。具体的には、ルータ装置10bは、ローカルネットワーク1上に送信(例えばブロードキャスト)するルータ広告メッセージをローカルネットワーク1に送出する。ここでのルータ広告メッセージには、ルータ装置10aの管理下にあるネットワークプレフィクス(ルータ装置10bが事前に取得済みのもの)と、ルータ装置10bの管理下にあるネットワークプレフィクスとが含まれる。
また、ルータ装置10bは、ルータ広告メッセージを送出する際に、上記2つのネットワークプレフィクスに優先度を付与する。本実施の形態では、ルータ装置10aの管理下にあるネットワークプレフィクスには、「低」の優先度が付与され、ルータ装置10bの管理下にあるネットワークプレフィクスには、「高」の優先度が付与される。つまり、ルータ装置10bは、自己の管理下にあるネットワークプレフィクスの優先度を、別のルータ装置10aの管理下にあるネットワークプレフィクスよりも高く設定する。
Next, processing 3 will be described with reference to FIG.
In S201, the router device 10b performs a router advertisement. Specifically, the router device 10 b sends a router advertisement message to be transmitted (for example, broadcast) on the local network 1 to the local network 1. The router advertisement message here includes a network prefix under management of the router device 10a (which has been acquired in advance by the router device 10b) and a network prefix under management of the router device 10b.
Further, the router device 10b gives priority to the two network prefixes when sending the router advertisement message. In the present embodiment, a priority of “low” is given to the network prefix under the management of the router device 10a, and a priority of “high” is given to the network prefix under the management of the router device 10b. Is granted. That is, the router device 10b sets the priority of the network prefix under its management higher than the network prefix under the management of another router device 10a.

ここで、上記ルータ広告メッセージに含まれるプレフィクス情報オプション500の一例を図5に示す。
この例では、プレフィクス情報オプション500に、ネットワークのプリファレンスフィールド(prf)501およびプレフィクスフィールド(prefix)502が含まれている。プリファレンスフィールド501には、ネットワークプレフィクスの優先度が保持され、プレフィクスフィールド502には、ネットワークプレフィクスの値が保持される。また、プレフィクスフィールド502には、有効時間やネットワークプレフィクス長など、ネットワークプレフィクスに関する情報も含まれる。
なお、このプレフィクス情報オプション500は、個々のネットワークプレフィクスごとに付与される。
Here, an example of the prefix information option 500 included in the router advertisement message is shown in FIG.
In this example, the prefix information option 500 includes a network preference field (prf) 501 and a prefix field (prefix) 502. The preference field 501 holds the priority of the network prefix, and the prefix field 502 holds the value of the network prefix. The prefix field 502 also includes information related to the network prefix such as the valid time and the network prefix length.
The prefix information option 500 is given for each network prefix.

図4に戻って、S202において、ルータ装置10bは、ルータ装置10aのネットワークプレフィクスについての中継処理を停止させる旨の停止通知をローカルネットワーク1に送出する。これにより、端末30は、その停止通知を受け、停止通知に示されたネットワークプレフィクス(ルータ装置10aのもの)についてのネクストホップ(デフォルトルータ)をルータ装置10bに変更する。
しかし、このような場合においても、端末30が新たなセッションを開始する際は、「高」の優先度が付与されたネットワークプレフィクス、すなわちルータ装置10bの管理下にあるネットワークプレフィクスに応じたアドレスが用いられ、ルータ装置10aのネットワークプレフィクスに応じたアドレスは用いられない。
Returning to FIG. 4, in S <b> 202, the router device 10 b sends a stop notification to the local network 1 to stop the relay processing for the network prefix of the router device 10 a. Thereby, the terminal 30 receives the stop notification and changes the next hop (default router) for the network prefix (the router device 10a) indicated in the stop notification to the router device 10b.
However, even in such a case, when the terminal 30 starts a new session, it corresponds to the network prefix to which the priority of “high” is given, that is, the network prefix under the management of the router device 10b. An address is used, and an address corresponding to the network prefix of the router device 10a is not used.

そこで、上記ルータ装置10bへの変更時、すなわちルータ装置の切替時に、端末30が通信中のフローを有する場合、次のような中継処理が行われる。すなわち、端末30が、外部端末20宛のパケットを送信すると、ルータ装置10bがそのパケットを捕捉する(S203参照)。そして、ルータ装置10bが、そのパケットを、管理サーバ18または管理サーバ19にトンネル転送する(S204参照)。その後、管理サーバ18が、トンネル転送されたトンネルパケットを抽出して外部端末20に転送する(S205参照)。
他方、外部端末20が、端末30宛のパケットを送信すると、そのパケットは、外部装置20から管理サーバ18、ルータ装置10b、端末30の順に中継される(S205、S204、S203参照)。
Therefore, when the terminal device 30 has a communication flow at the time of switching to the router device 10b, that is, at the time of switching the router device, the following relay processing is performed. That is, when the terminal 30 transmits a packet addressed to the external terminal 20, the router device 10b captures the packet (see S203). Then, the router device 10b tunnels the packet to the management server 18 or the management server 19 (see S204). Thereafter, the management server 18 extracts the tunnel packet transferred by the tunnel and transfers it to the external terminal 20 (see S205).
On the other hand, when the external terminal 20 transmits a packet addressed to the terminal 30, the packet is relayed in the order from the external device 20 to the management server 18, the router device 10b, and the terminal 30 (see S205, S204, and S203).

これに対して、S53において、端末30が新たなセッションを開始した場合、その通信フローは、ルータ装置10bの管理下にあるネットワークプレフィクスに応じたアドレスが終端点となる。
すなわち、端末30が外部端末20宛のパケットを送信すると、ルータ装置10bがそのパケットを捕捉する(S206参照)。そして、ルータ装置10bが、そのパケットを管理サーバ19にトンネル転送する(S207参照)。その後、管理サーバ19が、トンネル転送されたトンネルパケットを抽出して外部端末20に転送する(S208参照)。
他方、外部端末20が、端末30宛のパケットを送信すると、そのパケットは、外部装置20から管理サーバ19、ルータ装置10b、端末30の順に中継される(S208、S207、S206参照)。
On the other hand, when the terminal 30 starts a new session in S53, the end point of the communication flow is an address corresponding to the network prefix under the management of the router device 10b.
That is, when the terminal 30 transmits a packet addressed to the external terminal 20, the router device 10b captures the packet (see S206). Then, the router device 10b tunnels the packet to the management server 19 (see S207). Thereafter, the management server 19 extracts the tunneled packet that has been forwarded to the external terminal 20 (see S208).
On the other hand, when the external terminal 20 transmits a packet addressed to the terminal 30, the packet is relayed in the order from the external device 20 to the management server 19, the router device 10b, and the terminal 30 (see S208, S207, and S206).

[ルータ装置の構成例]
次に、ルータ装置10aの構成例について図6に基づいて説明する。なお、ルータ装置10bの構成もルータ装置10aの構成と同様である。
図6において、ルータ装置10aは、外部通信インタフェース21、内部通信インタフェース22、L3処理部23および上位層処理部24を有する。さらに、ルータ装置10aは、切替処理部(取得部、登録部または設定部ともいう)25、プレフィクス制御部(送信部)26、通信フロー検出部27および移動管理部28を有する。
外部通信インタフェース21は、ローカルネットワーク1の外部にある各基地局装置16、17と接続するためのインタフェースである。内部通信インタフェース22は、ローカルネットワーク1に接続するためのインタフェースである。L3処理部23は、ネットワーク層での処理を行う。
[Configuration example of router device]
Next, a configuration example of the router device 10a will be described with reference to FIG. The configuration of the router device 10b is the same as the configuration of the router device 10a.
In FIG. 6, the router device 10 a includes an external communication interface 21, an internal communication interface 22, an L3 processing unit 23, and an upper layer processing unit 24. Furthermore, the router device 10a includes a switching processing unit (also referred to as an acquisition unit, a registration unit, or a setting unit) 25, a prefix control unit (transmission unit) 26, a communication flow detection unit 27, and a movement management unit 28.
The external communication interface 21 is an interface for connecting to the base station apparatuses 16 and 17 outside the local network 1. The internal communication interface 22 is an interface for connecting to the local network 1. The L3 processing unit 23 performs processing at the network layer.

上位層処理部24は、ネットワーク層よりも上位の層での処理を行う。上位層処理部24は、ルータ装置10aがレイヤ4以上での中継を行う場合や、アプリケーションを動作させる場合に必要となるが、レイヤ3以下での中継を行う場合には不要となる。
本実施の形態では、ルータ装置10aは、レイヤ3での中継を行うこととするので、上位層処理部24は不要なものとして説明する。なお、ルータ装置10aは、レイヤ3以外のレイヤでの中継を行ってもよい。その他、ルータ装置10aの各部の機能は、後記する。
切替処理部(取得部)25は、ネットワーク1内の端末30と外部ネットワーク経由で外部端末20との間の通信を中継している中継中のルータ装置に割り当てられているネットワーク1内の第1のプレフィクスを取得する。また、切替処理部(登録部)25は、中継中のルータ装置を管理する管理サーバに対し、上記第1のプレフィクスを含むバインディングを外部ネットワーク経由で登録させる。さらに、切替処理部(設定部)25は、上記第1のプレフィクスの優先度を自装置に割り当てられている第2のプレフィクスよりも低く設定、または、上記第2のプレフィクスの優先度を上記第1のプレフィクスよりも高く設定の少なくともいずれか一方を行う。
The upper layer processing unit 24 performs processing in a layer higher than the network layer. The upper layer processing unit 24 is necessary when the router device 10a performs relay at layer 4 or higher or when an application is operated, but is not required when relay at layer 3 or lower is performed.
In the present embodiment, the router device 10a performs relaying at layer 3, and therefore, the upper layer processing unit 24 will be described as unnecessary. The router device 10a may perform relay in a layer other than layer 3. Other functions of each part of the router device 10a will be described later.
The switching processing unit (acquisition unit) 25 is a first in the network 1 assigned to the relaying router device that relays communication between the terminal 30 in the network 1 and the external terminal 20 via the external network. Get the prefix of. Also, the switching processing unit (registration unit) 25 causes the management server that manages the relaying router device to register the binding including the first prefix via the external network. Further, the switching processing unit (setting unit) 25 sets the priority of the first prefix lower than the second prefix assigned to the own apparatus, or the priority of the second prefix. Is set higher than the first prefix.

[ルータ装置の処理例]
次に、ルータ装置10aの処理例について概説する。なお、ルータ装置10bもルータ装置10aと同様の処理を行う。
ルータ装置10aでは、L3処理部23が、外部通信インタフェース21を介してパケットを受け取った場合、次のような処理が行われる。すなわち、当該パケットがルータ装置10a宛の場合、L3処理部23は、そのパケットを処理したり、切替処理部25や移動管理部28、上位層処理部24に転送したりする。
他方、当該パケットがルータ装置10a宛のものではない場合、L3処理部23は、そのパケットの宛先に応じ、外部通信インタフェース21または内部通信インタフェース22に転送する。例えば、当該パケットが、ローカルネットワーク1上の端末30宛のものであった場合、L3処理部23は、そのパケットを、内部通信インタフェース22を介してローカルネットワーク1に送出する。なお、L3処理部23が、内部通信インタフェース22を介してパケットを受け取った場合も、外部通信インタフェース21を介してパケットを受け取った場合と同様の処理が行われる。
[Processing example of router device]
Next, a processing example of the router device 10a will be outlined. The router device 10b performs the same processing as the router device 10a.
In the router device 10a, when the L3 processing unit 23 receives a packet via the external communication interface 21, the following processing is performed. That is, when the packet is addressed to the router device 10 a, the L3 processing unit 23 processes the packet or transfers it to the switching processing unit 25, the movement management unit 28, and the upper layer processing unit 24.
On the other hand, when the packet is not addressed to the router device 10a, the L3 processing unit 23 transfers the packet to the external communication interface 21 or the internal communication interface 22 according to the destination of the packet. For example, when the packet is addressed to the terminal 30 on the local network 1, the L3 processing unit 23 sends the packet to the local network 1 via the internal communication interface 22. Note that when the L3 processing unit 23 receives a packet via the internal communication interface 22, the same processing as when a packet is received via the external communication interface 21 is performed.

移動管理部28は、例えば、IETFに規定されたMobileIP/NEMO(Network Mobility)に基づく制御を行う。具体的には、外部通信インタフェース21に付与されるアドレス(気付けアドレス)が変更された場合、移動管理部28は、その旨の通知をL3処理部23から受け、次のような処理を行う。すなわち、移動管理部28は、ルータ装置10aのホームアドレスと、上記変更された気付けアドレスとの組を上記更新メッセージに含める。そして、移動管理部28は、その更新メッセージを管理サーバ18に送信する。   The mobility management unit 28 performs control based on, for example, Mobile IP / NEMO (Network Mobility) defined in IETF. Specifically, when the address (care-of address) given to the external communication interface 21 is changed, the movement management unit 28 receives a notification to that effect from the L3 processing unit 23 and performs the following processing. That is, the mobility management unit 28 includes the set of the home address of the router device 10a and the changed care-of address in the update message. Then, the movement management unit 28 transmits the update message to the management server 18.

本実施の形態では、L3処理部23は、内部通信インタフェース22と接続される通信リンクに付与されたネットワークプレフィクスを管理している。このネットワークプレフィクスは、上記更新メッセージに含まれる。管理サーバ18は、ルータ装置10aのホームアドレスと、上記気付けアドレスとの組を管理する。
このようにすることにより、上記ネットワークプレフィクス宛のパケット、すなわち内部通信インタフェース22の接続先となるローカルネットワーク1上のパケット(端末30宛のもの)は、管理サーバ18経由でルータ装置10aを介して、ローカルネットワーク1に転送される。以上から、ネットワークの移動透過性(パケットの中継経路の明確性)を実現させることが可能となる。
In the present embodiment, the L3 processing unit 23 manages the network prefix assigned to the communication link connected to the internal communication interface 22. This network prefix is included in the update message. The management server 18 manages a set of the home address of the router device 10a and the care-of address.
By doing so, the packet addressed to the network prefix, that is, the packet on the local network 1 to which the internal communication interface 22 is connected (addressed to the terminal 30) passes through the router 10a via the management server 18. And transferred to the local network 1. From the above, it is possible to realize movement transparency of the network (clarity of the packet relay route).

なお、上記ネットワークプレフィクスは、ルータ装置10aによって静的に付与されてもよいし、動的に設定されてもよい。この動的に設定される場合、上記ネットワークプレフィクスは、ルータ装置10aからの要求に応じて、ネットワーク上に設置された管理サーバや、不図示のDHCPサーバによって割り当てられる(公知の技術)。   The network prefix may be statically assigned by the router device 10a or may be dynamically set. In the case of this dynamic setting, the network prefix is assigned by a management server installed on the network or a DHCP server (not shown) according to a request from the router device 10a (known technique).

[切替元のルータ装置の処理例]
次に、切替元のルータ装置10aの処理例について、図7A〜7C、図8および図9に基づいて説明する。
まず、図7Aに基づいて説明する。なお、図7Aの処理例は、図2A、図3Aおよび図4の一連の処理に対応するものである。
S170において、ルータ装置10aの切替処理部25は、ルータ切替を開始する(図2AのS51に相当)。具体的には、切替処理部25は、外部通信インタフェース21の通信状態を監視し、その通信状態の悪化を検知した場合、ルータ装置の切替の開始を決定する。なお、上記通信状態の悪化を検知する原因として、例えば、リンクの切断、ビットエラー率の増加、受信電界強度の低下等がある。
S171では、切替処理部25は、切断の通知を行う(図2AのS40に相当)。具体的には、切替処理部25は、切断通知メッセージ(図2AのS40参照)を、L3処理部23および内部通信インタフェース22を介してローカルネットワーク1に送出する。
[Processing example of switching source router]
Next, a processing example of the switching source router device 10a will be described based on FIGS. 7A to 7C, FIGS. 8 and 9. FIG.
First, it demonstrates based on FIG. 7A. The processing example in FIG. 7A corresponds to the series of processing in FIGS. 2A, 3A, and 4.
In S170, the switching processing unit 25 of the router device 10a starts router switching (corresponding to S51 in FIG. 2A). Specifically, the switching processing unit 25 monitors the communication state of the external communication interface 21, and determines the start of switching of the router device when detecting the deterioration of the communication state. Note that the cause of detecting the deterioration of the communication state includes, for example, link disconnection, an increase in bit error rate, and a decrease in received electric field strength.
In S171, the switching processing unit 25 notifies disconnection (corresponding to S40 in FIG. 2A). Specifically, the switching processing unit 25 sends a disconnection notification message (see S40 in FIG. 2A) to the local network 1 via the L3 processing unit 23 and the internal communication interface 22.

S172では、切替処理部25は、端末30からの切替要求があるかを判断する。具体的には、切替処理部25は、端末30からの切替要求メッセージ(図2AのS41参照)を受信したかどうかを判断する。
そして、例えば一定時間が経過した後も、上記切替要求メッセージが受信されなかった場合、端末30からの切替要求がないと判断され(S172のNo)、プレフィクス制御部26が、ルータ広告を送信する(S180)。具体的には、プレフィクス制御部26が、ルータライフタイムの値を「0」(ルータライフタイム=0)に設定し、その値を有するルータ広告メッセージをローカルネットワーク1に送出する。なお、外部リンクの明示的な切断は特に行わなくてよい。
In S <b> 172, the switching processing unit 25 determines whether there is a switching request from the terminal 30. Specifically, the switching processing unit 25 determines whether a switching request message (see S41 in FIG. 2A) from the terminal 30 has been received.
For example, if the switching request message is not received even after a predetermined time has elapsed, it is determined that there is no switching request from the terminal 30 (No in S172), and the prefix control unit 26 transmits a router advertisement. (S180). Specifically, the prefix control unit 26 sets the router lifetime value to “0” (router lifetime = 0), and sends a router advertisement message having the value to the local network 1. It is not necessary to explicitly disconnect the external link.

他方、上記切替要求メッセージが受信された場合、端末30からの切替要求があったと判断され(S172のYes)たとき、切替処理部25は、ルータ装置10bに切替要求を行う(図2AのS42に相当)。具体的には、切替処理部25は、切替先のルータ装置10bに送る切替要求メッセージ(図2AのS42参照)を、L3処理部23および内部通信インタフェース22を介して送信する。なお、上記切替要求メッセージは、新規に生成されたものでもよいし、端末30から受信済みの上記切替要求メッセージに基づくものでもよい。   On the other hand, when the switching request message is received, when it is determined that there is a switching request from the terminal 30 (Yes in S172), the switching processing unit 25 issues a switching request to the router device 10b (S42 in FIG. 2A). Equivalent). Specifically, the switching processing unit 25 transmits a switching request message (see S42 in FIG. 2A) to be sent to the switching destination router device 10b via the L3 processing unit 23 and the internal communication interface 22. The switching request message may be newly generated, or may be based on the switching request message received from the terminal 30.

なお、本実施の形態の上記切断通知メッセージ又は切替要求メッセージには、ルータ装置10aが保持するバインディング更新リストが含まれる。このバインディング更新リストは、管理サーバ18のアドレスと、ルータ装置10aのホームアドレスと、ルータ装置10aが広告するネットワークプリフィックスを含んで構成されている。
ルータ装置10bは、切断通知メッセージ又は切替要求メッセージを受信した場合、各メッセージから、ルータ装置10aのバンディング更新リストを抽出する。そして、自己の保持するバインディング更新リストに、ルータ装置10aのバンディング更新リスト、すなわち管理サーバ18のアドレスと、ルータ装置10aのホームアドレスと、ルータ装置10aが広告するネットワークプリフィックスとを追加する。この追加例を図9に示す。
Note that the disconnection notification message or the switch request message of the present embodiment includes a binding update list held by the router device 10a. This binding update list includes an address of the management server 18, a home address of the router device 10a, and a network prefix advertised by the router device 10a.
When the router device 10b receives the disconnection notification message or the switching request message, the router device 10b extracts the banding update list of the router device 10a from each message. Then, the banding update list of the router device 10a, that is, the address of the management server 18, the home address of the router device 10a, and the network prefix advertised by the router device 10a are added to the binding update list held by itself. This additional example is shown in FIG.

この例では、バインディング更新リスト800は、管理サーバのアドレス801と、ホームアドレス802と、ネットワークプリフィックス803とを含んで構成されている。
バインディング更新リスト800の1行目804には、ルータ装置10aのバンディング更新リストが含まれ、2行目805には、ルータ装置10bのバンディング更新リストが含まれている。この1行目804が、追加されたリストである。つまり、1行目804は、管理サーバ18のアドレスと、ルータ装置10aのホームアドレスと、Prefix1の値とが、対応付けられて追加されている(これが、ルータ装置10aが保持していたバインディング更新リストの内容である)。
In this example, the binding update list 800 includes a management server address 801, a home address 802, and a network prefix 803.
The first line 804 of the binding update list 800 includes the banding update list of the router apparatus 10a, and the second line 805 includes the banding update list of the router apparatus 10b. The first line 804 is an added list. That is, in the first line 804, the address of the management server 18, the home address of the router device 10a, and the value of Prefix1 are associated and added (this is the binding update held by the router device 10a). List contents).

S174では、切替処理部25は、BU送信の依頼を受ける(図3AのS61に相当)。具体的には、切替処理部25は、ルータ装置10bからの依頼メッセージ(図3AのS61参照)を、内部通信インタフェース22およびL3処理部23を介して受信する。
S175では、移動管理部28は、バインディング更新を要求する(図3AのS62に相当)。具体的には、切替処理部25は、上記受信した依頼メッセージから、ルータ装置10bに要求されたルータ装置10bの気付けアドレスを抽出する。そして、切替処理部25は、その気付けアドレスを移動管理部28に通知する。
当該通知を受けて、移動管理部28は、上記新たな気付けアドレスを更新メッセージ(図3AのS62参照)に含めて、その更新メッセージを、L3処理部23および外部通信インタフェース21を介して管理サーバ18に送信する。
In S174, the switching processing unit 25 receives a request for BU transmission (corresponding to S61 in FIG. 3A). Specifically, the switching processing unit 25 receives a request message (see S61 in FIG. 3A) from the router device 10b via the internal communication interface 22 and the L3 processing unit 23.
In S175, the movement management unit 28 requests binding update (corresponding to S62 in FIG. 3A). Specifically, the switching processing unit 25 extracts the care-of address of the router device 10b requested from the router device 10b from the received request message. Then, the switching processing unit 25 notifies the movement management unit 28 of the care-of address.
Upon receiving the notification, the movement management unit 28 includes the new care-of address in the update message (see S62 in FIG. 3A), and the update message is sent to the management server via the L3 processing unit 23 and the external communication interface 21. 18 to send.

ここで、上記新たな気付けアドレスを含む気付けアドレスオプション600の構成例を

図8に示す。この例では、気付けアドレスフィールド(Alternate Care-of Address)60
1に、ルータ装置10bの気付けアドレスが保持される。
Here, a configuration example of the care-of address option 600 including the new care-of address is described.

As shown in FIG. In this example, an Care-of Address field (Alternate Care-of Address) 60
1 holds the care-of address of the router device 10b.

なお、ルータ装置の移動管理部28が、管理サーバ18から、バインディング応答を受信した場合は、管理サーバ18からの応答メッセージを、外部通信インタフェース21およびL3処理部23を介して受信する。
そして、切替処理部25は、BU完了の旨を送信する。具体的には、切替処理部25は、管理サーバ18において上記新たな気付けアドレスの登録がされた旨を示すBU完了メッセージを、L3処理部23および外部通信インタフェース21を介して、ルータ装置10bに送信する。
When the movement management unit 28 of the router apparatus receives a binding response from the management server 18, the movement message is received from the management server 18 via the external communication interface 21 and the L3 processing unit 23.
Then, the switching processing unit 25 transmits a BU completion message. Specifically, the switching processing unit 25 sends a BU completion message indicating that the new care-of address has been registered in the management server 18 to the router device 10b via the L3 processing unit 23 and the external communication interface 21. Send.

その後、ルータ装置10bが、ルータ装置10aのプレフィクス(図9のPrefix1の値)を含むルータ広告メッセージを送信する(図4のS201に相当)とともに、停止通知メッセージをローカルネットワーク1に所定のタイミングで送出する(図4のS202に相当)。   Thereafter, the router device 10b transmits a router advertisement message including the prefix of the router device 10a (the value of Prefix 1 in FIG. 9) (corresponding to S201 in FIG. 4), and sends a stop notification message to the local network 1 at a predetermined timing. (Corresponding to S202 in FIG. 4).

上記送出を受け、図7AのS178では、切替処理部25が、ルータ装置10bから、停止通知を受信する(図4のS202に相当)。具体的には、切替処理部25が、停止通知メッセージを、内部通信インタフェース22およびL3処理部23を介して受信する。この場合、外部リンクが接続された状態であれば、切替処理部25は、その外部リンクを切断する(S179)。以上で、ルータ装置10aの切替処理が終了する。   In response to the transmission, in S178 in FIG. 7A, the switching processing unit 25 receives a stop notification from the router device 10b (corresponding to S202 in FIG. 4). Specifically, the switching processing unit 25 receives a stop notification message via the internal communication interface 22 and the L3 processing unit 23. In this case, if the external link is connected, the switching processing unit 25 disconnects the external link (S179). This completes the switching process of the router device 10a.

なお、図7Aでは、図2A、図3Aおよび図4の一連の処理に相応する処理の場合について説明したが、図2Aに代えて、図2Bの処理を適用した場合、次の点が、図2Aの場合と異なる。
すなわち、図7AのS173の処理が省略される。図2Bの場合、端末30が、切替要求メッセージをルータ装置10bにも送信するため(図2BのS43参照)、ルータ装置10aが、切替要求メッセージをルータ装置10bに送信する必要がないからである。なお、端末30から送信される切替要求メッセージには、プレフィクス制御部26に管理されかつローカルネットワーク1に広告されたネットワークプレフィクスと、ルータ装置10aのアドレスとが含まれる。
In FIG. 7A, the case of the process corresponding to the series of processes of FIGS. 2A, 3A, and 4 has been described. However, when the process of FIG. 2B is applied instead of FIG. Different from 2A.
That is, the process of S173 in FIG. 7A is omitted. In the case of FIG. 2B, since the terminal 30 also transmits the switching request message to the router device 10b (see S43 in FIG. 2B), the router device 10a does not need to transmit the switching request message to the router device 10b. . The switching request message transmitted from the terminal 30 includes the network prefix managed by the prefix control unit 26 and advertised to the local network 1, and the address of the router device 10a.

また、図2Aに代えて、図2Cの処理を適用した場合、次の点が、図2Aの場合と異なる(図7A参照)。
すなわち、切替処理部25は、切替要求があった場合(図7AのS172のYes)に代えて、端末30を終端点とする中継フローの存在が確認された場合に、S173に進む。つまり、S172では、ルータ装置10aのフロー検出部27が、端末30を終端点とする通信フローがあるかを確認する。
When the process of FIG. 2C is applied instead of FIG. 2A, the following points are different from those of FIG. 2A (see FIG. 7A).
That is, the switching processing unit 25 proceeds to S173 when it is confirmed that there is a relay flow having the terminal 30 as a termination point instead of the switching request (Yes in S172 of FIG. 7A). That is, in S172, the flow detection unit 27 of the router device 10a confirms whether there is a communication flow having the terminal 30 as a termination point.

また、図3Aに代えて、図3Bの処理を適用した場合、次の点が、図3Aの場合と異なる(図7A参照)。
すなわち、切替処理部25は、BU送信の依頼を受けた(図7AのS174に相当)後、
切替処理部25は、L3処理部23に対し、ping要求パケットを送信するよう通知する。通知を受けたL3処理部23は、外部通信インタフェース21を介して、ルータ装置10bのホームアドレス宛にping要求パケットを送信する。その後、L3処理部23は、ping応答パケットを、外部通信インタフェース21を介して受信し、切替処理部25に対し、ping応答パケットを受信したことを示すメッセージを通知する。
When the process of FIG. 3B is applied instead of FIG. 3A, the following points are different from those of FIG. 3A (see FIG. 7A).
That is, after receiving the request for BU transmission (corresponding to S174 in FIG. 7A), the switching processing unit 25
The switching processing unit 25 notifies the L3 processing unit 23 to transmit a ping request packet. Receiving the notification, the L3 processing unit 23 transmits a ping request packet to the home address of the router device 10b via the external communication interface 21. Thereafter, the L3 processing unit 23 receives the ping response packet via the external communication interface 21 and notifies the switching processing unit 25 of a message indicating that the ping response packet has been received.

次に、図7Bに基づいて説明する。図7Bの処理例は、図2B、図3Cおよび図4の一連の処理に対応するものである。なお、図7Aと同一の処理についてはそれと同一の記号(符号含む)を付し、重複説明を省略する。そこで、以下では、S172Aの処理について説明する。
S172Aにおいて、ルータ装置10aの切替処理部25は、BU送信を依頼する(図3CのS91に相当)。具体的には、切替処理部25は、端末30からの切替要求メッセージを、内部通信インタフェース22およびL3処理部23を介して受信する。そして、切替処理部25は、その切替要求メッセージに応じ、BU送信の依頼メッセージを、L3処理部23および内部通信インタフェース22を介して、ルータ装置10bに送信し、S178以降の処理が行われる。
なお、上記依頼メッセージには、前述したとおり、次のような内容が含まれる。すなわち、ルータ装置10aと管理サーバ18との間のセキュリティポリシ、現時点におけるセキュリティアソシエーションに関する情報、管理サーバ18のアドレス、およびルータ装置10aのホームアドレスである。
Next, a description will be given based on FIG. 7B. The processing example in FIG. 7B corresponds to the series of processing in FIG. 2B, FIG. 3C, and FIG. In addition, about the process same as FIG. 7A, the code | symbol (code | symbol included) same as it is attached | subjected and duplication description is abbreviate | omitted. Therefore, the process of S172A will be described below.
In S172A, the switching processing unit 25 of the router device 10a requests BU transmission (corresponding to S91 in FIG. 3C). Specifically, the switching processing unit 25 receives a switching request message from the terminal 30 via the internal communication interface 22 and the L3 processing unit 23. Then, in response to the switching request message, the switching processing unit 25 transmits a BU transmission request message to the router device 10b via the L3 processing unit 23 and the internal communication interface 22, and the processes after S178 are performed.
The request message includes the following contents as described above. That is, the security policy between the router device 10a and the management server 18, information on the current security association, the address of the management server 18, and the home address of the router device 10a.

次に、図7Cに基づいて説明する。図7Cの処理例は、図2A、図3Dおよび図4の一連の処理に対応するものである。なお、図7Aと同一の処理についてはそれと同一の記号(符号含む)を付し、重複説明を省略する。そこで、以下では、S172Bの処理を主に説明する。
S172Bにおいて、ルータ装置10aの切替処理部25は、ルータ広告を示すRA(Router Advertisement)を受信し(図3DのS113に相当)、S175に進む。具体的には、S172Bにおいて、切替処理部25は、端末30からの切替要求メッセージを受け、ルータ広告メッセージ(RA)を、内部通信インタフェース22およびL3処理部23を介して受信する。
S175において、切替処理部25は、バインディング更新を要求する(図3DのS114に相当)。具体的には、切替処理部25は、ルータ装置10bの管理下にあるネットワークプレフィクスに応じたアドレスを生成して付与する。そして、切替処理部25は、そのアドレスを気付けアドレスとして、更新メッセージに含め、その更新メッセージを、L3処理部23および外部通信インタフェース21を介して管理サーバ18に送信する。
Next, a description will be given based on FIG. 7C. The processing example in FIG. 7C corresponds to the series of processing in FIG. 2A, FIG. 3D, and FIG. In addition, about the process same as FIG. 7A, the code | symbol (code | symbol included) same as it is attached | subjected and duplication description is abbreviate | omitted. Therefore, in the following, the process of S172B will be mainly described.
In S172B, the switching processing unit 25 of the router device 10a receives an RA (Router Advertisement) indicating a router advertisement (corresponding to S113 in FIG. 3D), and proceeds to S175. Specifically, in S172B, the switching processing unit 25 receives the switching request message from the terminal 30 and receives the router advertisement message (RA) via the internal communication interface 22 and the L3 processing unit 23.
In S175, the switching processing unit 25 requests a binding update (corresponding to S114 in FIG. 3D). Specifically, the switching processing unit 25 generates and assigns an address corresponding to the network prefix under the management of the router device 10b. Then, the switching processing unit 25 includes the address as a care-of address in the update message, and transmits the update message to the management server 18 via the L3 processing unit 23 and the external communication interface 21.

[切替先のルータ装置の処理例]
次に、切替先のルータ装置10bの処理例について図10A〜10Cおよび図11に基づいて説明する。
まず、図10Aに基づいて説明する。なお、図10Aの処理例は、図2A、図3Aおよび図4の一連の処理に対応するものである。
図10Aでは、S130において、ルータ装置10bの切替処理部25は、切替要求を受ける(図2AのS42に相当)。具体的には、切替処理部25は、ルータ装置10aからの切替要求メッセージを、内部通信インタフェース22およびL3処理部23を介して受信する。その後、切替処理部25は、上記切替要求メッセージから、送信元のルータ装置10aのアドレスおよびネットワークプレフィクスを抽出する。そして、切替処理部25は、上記抽出したルータ装置10aのアドレス(例えば、MR10a)およびネットワークプレフィクス(例えば、Prefix1)を、プレフィクス制御部26に転送する。この転送を受け、プレフィクス制御部26は、それらをプレフィクスリストに管理する。この管理例を図11に示す。
[Processing example of the switching destination router]
Next, a processing example of the switching destination router apparatus 10b will be described with reference to FIGS. 10A to 10C and FIG.
First, it demonstrates based on FIG. 10A. Note that the processing example in FIG. 10A corresponds to the series of processing in FIGS. 2A, 3A, and 4.
In FIG. 10A, in S130, the switching processing unit 25 of the router device 10b receives a switching request (corresponding to S42 in FIG. 2A). Specifically, the switching processing unit 25 receives a switching request message from the router device 10 a via the internal communication interface 22 and the L3 processing unit 23. Thereafter, the switching processing unit 25 extracts the address and network prefix of the source router device 10a from the switching request message. Then, the switching processing unit 25 transfers the extracted address (for example, MR 10a) of the router device 10a and the network prefix (for example, Prefix 1) to the prefix control unit 26. Upon receiving this transfer, the prefix control unit 26 manages them in a prefix list. An example of this management is shown in FIG.

図11に示すプレフィクスリスト900には、ネットワークプレフィクスの値を記載するネットワークプレフィクス欄901、ネットワークプレフィクスが付与される通信インタフェースを記載する通信インタフェース欄902、ネットワークプレフィクスの管理主体のアドレスを記載するアドレス欄903、およびネットワークプレフィクスが広告される際に付与されるその優先度を記載する優先度欄904を含んで構成される。
ネットワークプレフィクス欄901には、S130の切替要求によって通知されたPrefix1(ルータ装置10aのネットワークプレフィクス)が記載されている。また、通信インタフェース欄902には、内部通信インタフェース22を示す内部IF1(ルータ装置10bにおいて付与される通信インタフェース)が記載されている。さらに、アドレス欄903には、ルータ装置10aのアドレスMR10aが記載されている。また、優先度欄904には、優先度が低いことを示す「低」が記載されている。
The prefix list 900 shown in FIG. 11 includes a network prefix column 901 that describes a network prefix value, a communication interface column 902 that describes a communication interface to which a network prefix is assigned, and the address of the management entity of the network prefix. And an address field 903 that describes the priority given when the network prefix is advertised.
In the network prefix column 901, Prefix 1 (the network prefix of the router device 10a) notified by the switching request in S130 is described. In the communication interface column 902, an internal IF1 (communication interface provided in the router device 10b) indicating the internal communication interface 22 is described. Further, the address field 903 describes the address MR10a of the router device 10a. In the priority column 904, “low” indicating that the priority is low is described.

ここで、本実施の形態の上記切断通知メッセージ又は切替要求メッセージには、第1のルータ装置(10aまたは10b)が保持するバインディング更新リストが含まれている。第2のルータ装置(10bまたは10a)は、上記いずれかのメッセージから、第1のルータ装置のバインディング更新リストを抽出する。そして、第2のルータ装置は、自己の保持するバインディング更新リストに、抽出したバインディング更新リスト、すなわち管理サーバのアドレスと、ホームアドレスと、ネットワークプリフィックスとを追加する。この追加例は図9に示したとおりである。図9のバインディング更新リストには、ルータ装置10aのバインディング更新リストが1行目804に追加されている。   Here, the disconnection notification message or the switch request message of the present embodiment includes a binding update list held by the first router device (10a or 10b). The second router device (10b or 10a) extracts the binding update list of the first router device from any of the above messages. Then, the second router device adds the extracted binding update list, that is, the address of the management server, the home address, and the network prefix to the binding update list held by itself. This additional example is as shown in FIG. In the binding update list of FIG. 9, the binding update list of the router device 10a is added to the first line 804.

図10Aに戻って、S131において、L3処理部23は、外部通信インタフェース21による外部リンク(基地局装置17)と接続を行う(図2AのS52に相当)。この接続により、L3処理部23は、外部リンクに接続され、外部通信インタフェース21に対するアドレス(気付けアドレス)を(から)取得あるいは生成する。そして、L3処理部23は、移動管理部28に気付けアドレスを通知して、切替処理部25に制御させる。移動管理部28は、管理サーバ18への上記気付けアドレスの登録を適宜実施する。   Returning to FIG. 10A, in S131, the L3 processing unit 23 connects to an external link (base station device 17) by the external communication interface 21 (corresponding to S52 in FIG. 2A). With this connection, the L3 processing unit 23 is connected to the external link, and acquires or generates an address (care-of address) for the external communication interface 21 (from). Then, the L3 processing unit 23 notifies the movement management unit 28 of the care-of address and causes the switching processing unit 25 to control it. The movement management unit 28 appropriately registers the care-of address in the management server 18.

S132において、切替制御部25は、BU送信の依頼を行う(図3AのS61に相当)。
具体的には、切替制御部25は、移動管理部28から、上記通知された気付けアドレスを取得し、それをBU送信の依頼メッセージに記載する。そして、切替制御部25は、S130で受信した切替要求元のルータ装置10aに対し、BU送信の依頼メッセージを送信する。なお、図3Bの処理の場合、S132において、切替制御部25は、BU送信の依頼メッセージに自己のホームアドレスを記載して送信する。この点のみが図3Aの場合と異なる。これにより、ルータ装置10aでは、ルータ装置10bのアドレスを管理サーバ18に登録させる処理が行われる。
In S132, the switching control unit 25 requests BU transmission (corresponding to S61 in FIG. 3A).
Specifically, the switching control unit 25 acquires the notified care-of address from the movement management unit 28 and writes it in a BU transmission request message. The switching control unit 25 transmits a BU transmission request message to the switching request source router device 10a received in S130. In the case of the process of FIG. 3B, in S132, the switching control unit 25 transmits the BU transmission request message with its own home address. Only this point is different from the case of FIG. 3A. Thereby, in the router apparatus 10a, the process which makes the management server 18 register the address of the router apparatus 10b is performed.

S134において、プレフィクス制御部26は、ルータ広告を行う(図4のS201に相当)。具体的には、切替処理部25がBU完了の旨を受信した後、プレフィクス制御部26は、先に構築したプレフィクスリスト900(図11参照)に基づいて、ルータ広告メッセージ(内部通信インタフェース22に関するネットワークプレフィクスを含む)を、L3処理部23および内部通信インタフェース22を介して、ローカルネットワーク1に送出する。このとき、送出されるネットワークプレフィクスは、ルータ装置10aの管理下にあるネットワークプレフィクス(図11のPrefix1)、および自己の管理下にあるネットワークプレフィクス(図11のPrefix2)の2つである。
プレフィクス制御部26は、ルータ広告を行う際、「Prefix1」のネットワークプレフィクスの優先度を「低」にするとともに、「Prefix2」のネットワークプレフィクスの優先度を「高」に設定している。
In S134, the prefix control unit 26 performs router advertisement (corresponding to S201 in FIG. 4). Specifically, after the switching processing unit 25 receives the BU completion message, the prefix control unit 26 determines that the router advertisement message (internal communication interface) is based on the prefix list 900 (see FIG. 11) constructed previously. (Including the network prefix related to 22) is sent to the local network 1 via the L3 processing unit 23 and the internal communication interface 22. At this time, two network prefixes are sent: a network prefix under the management of the router device 10a (Prefix 1 in FIG. 11) and a network prefix under its own management (Prefix 2 in FIG. 11). .
When performing the router advertisement, the prefix control unit 26 sets the priority of the network prefix of “Prefix 1” to “low” and sets the priority of the network prefix of “Prefix 2” to “high”. .

S135において、プレフィクス制御部26は、送信元アドレスをルータ装置10aとして、停止通知をローカルネットワーク1内に送信する(図4のS202に相当)。この場合、プレフィクス制御部26は、切替処理部25からの指示に応じ、上記停止通知メッセージに次のような情報をセットする。すなわち、ルータ装置10aの送信元アドレス(図11のアドレス903のMR10a)、そのアドレスに対応する「Prefix1」のネットワークプレフィクス(図11のネットワークプレフィクス901参照)、および「0」のルータライフタイム値である。   In S135, the prefix control unit 26 transmits a stop notification to the local network 1 with the transmission source address as the router device 10a (corresponding to S202 in FIG. 4). In this case, the prefix control unit 26 sets the following information in the stop notification message in response to an instruction from the switching processing unit 25. That is, the transmission source address of the router device 10a (MR 10a of the address 903 in FIG. 11), the network prefix “Prefix1” corresponding to the address (see the network prefix 901 in FIG. 11), and the router lifetime of “0” Value.

次に、図10Bに基づいて説明する。図10Bの処理例は、図2B、図3Cおよび図4の一連の処理に対応するものである。なお、図10Aと同一の処理についてはそれと同一の記号(符号含む)を付し、重複説明を省略する。そこで、以下では、S131AおよびS131Bの処理について説明する。
S131Aにおいて、ルータ装置10bの切替制御部25は、BU送信の依頼を受ける(図3CのS91に相当)。この場合、BU送信の依頼メッセージには、次のような情報が含まれる。すなわち、ルータ装置10aと管理サーバ18との間でセキュリティアソシエーションを構築するためのセキュリティポリシ、および現在のセキュリティアソシエーションに関する情報である。さらに、管理サーバ18のアドレス、およびルータ装置10aのホームアドレスである。
S131Bにおいて、移動管理部28は、バインディング更新を要求する(図3CのS92に相当)。具体的には、移動管理部28は、IPsecを用いて、S131AでBU送信が依頼された依頼メッセージ中の内容に基づいて、管理サーバ18に対し、バインディング更新の更新メッセージを送信する。
Next, a description will be given based on FIG. 10B. The processing example in FIG. 10B corresponds to the series of processing in FIG. 2B, FIG. 3C, and FIG. In addition, about the process same as FIG. 10A, the code | symbol (code | symbol included) same as it is attached | subjected and duplication description is abbreviate | omitted. Therefore, hereinafter, the processing of S131A and S131B will be described.
In S131A, the switching control unit 25 of the router device 10b receives a request for BU transmission (corresponding to S91 in FIG. 3C). In this case, the BU transmission request message includes the following information. That is, it is information relating to a security policy for establishing a security association between the router device 10a and the management server 18, and the current security association. Furthermore, it is the address of the management server 18 and the home address of the router device 10a.
In S131B, the movement management unit 28 requests binding update (corresponding to S92 in FIG. 3C). Specifically, the mobility management unit 28 uses IPsec to transmit a binding update update message to the management server 18 based on the content of the request message requested for BU transmission in S131A.

次に、図10Cに基づいて説明する。図10Cの処理例は、図2A、図3Dおよび図4の一連の処理に対応するものである。なお、図10Aと同一の処理についてはそれと同一の記号(符号含む)を付し、重複説明を省略する。そこで、以下では、S131Cの処理について説明する。
S131Cにおいて、プレフィクス制御部26は、ルータ広告を行う(図3DのS113に相当)。具体的には、プレフィクス制御部26は、ローカルネットワーク1内にルータ広告メッセージを送信する。これにより、その後、プレフィクス制御部26は、ルータ装置10aからのバインディング更新の更新メッセージをルータ装置10bにトンネル転送を行う。
Next, a description will be given based on FIG. 10C. The processing example in FIG. 10C corresponds to the series of processing in FIGS. 2A, 3D, and 4. In addition, about the process same as FIG. 10A, the code | symbol (code | symbol included) same as it is attached | subjected and duplication description is abbreviate | omitted. Therefore, in the following, the process of S131C will be described.
In S131C, the prefix control unit 26 performs router advertisement (corresponding to S113 in FIG. 3D). Specifically, the prefix control unit 26 transmits a router advertisement message in the local network 1. Thereby, thereafter, the prefix control unit 26 performs tunnel transfer of the binding update update message from the router device 10a to the router device 10b.

なお、本実施の形態においては、2台のルータ装置10a、10b(図7A〜7C、図10A〜10C参照)が、別個独立して動作する場合について説明したが、1台のルータ装置が、それらの動作をしてもよい。   In the present embodiment, the case where the two router devices 10a and 10b (see FIGS. 7A to 7C and FIGS. 10A to 10C) operate independently has been described. Those operations may be performed.

[端末の構成例]
次に、端末30の構成例について図12に基づいて説明する。
図12において、端末30は、通信インタフェース31、L3処理部32および上位層処理部33を有する。さらに、端末30は、通信フロー検出部34、切替処理部(管理部、通信部または送信部ともいう)35およびプレフィクス判定部36を有する。
通信インタフェース31は、ローカルネットワーク1に接続するためのインタフェースであり、L3処理部32は、ネットワーク層の処理を行う。上位層処理部33は、ネットワーク層よりも上位の処理を行う。
通信フロー検出部34は、通信フローの有無を検出する。切替処理部35は、ルータ装置の切替処理を実施する。具体的には、切替処理部(管理部)35は、優先度の低い第1のプレフィクスおよび優先度の高い第2のプレフィクスを含むルータ広告を受信して管理する。また、切替処理部(通信部)35は、外部端末20との間の通信が終了した後は、上記第2のプレフィクスを使用し、外部端末20との通信を開始するとともに、外部端末20との通信が継続している間は、上記第1のプレフィクスを使用し、外部端末20との通信を継続する。さらに、切替処理部(送信部)35は、通信フロー検出部34において通信フローが検出された場合、中継中のルータ装置から別のルータ装置への変更の旨の情報(切替要求)をネットワーク1内に送信する。
プレフィクス判定部36は、ネットワークプレフィクスの優先度を識別する。
[Example of terminal configuration]
Next, a configuration example of the terminal 30 will be described with reference to FIG.
In FIG. 12, the terminal 30 includes a communication interface 31, an L3 processing unit 32, and an upper layer processing unit 33. Furthermore, the terminal 30 includes a communication flow detection unit 34, a switching processing unit (also referred to as a management unit, a communication unit, or a transmission unit) 35, and a prefix determination unit 36.
The communication interface 31 is an interface for connecting to the local network 1, and the L3 processing unit 32 performs network layer processing. The upper layer processing unit 33 performs processing higher than the network layer.
The communication flow detector 34 detects the presence or absence of a communication flow. The switching processing unit 35 performs a switching process of the router device. Specifically, the switching processing unit (management unit) 35 receives and manages a router advertisement including a first prefix with a low priority and a second prefix with a high priority. In addition, after the communication with the external terminal 20 is completed, the switching processing unit (communication unit) 35 uses the second prefix to start communication with the external terminal 20 and the external terminal 20. While the communication with is continued, the first prefix is used and the communication with the external terminal 20 is continued. Further, when a communication flow is detected by the communication flow detection unit 34, the switching processing unit (transmission unit) 35 transmits information (switching request) indicating that the router device being relayed is changed to another router device (switch request). Send in.
The prefix determination unit 36 identifies the priority of the network prefix.

[端末の処理例]
次に、端末30の処理例について図13に基づいて説明する。ここでは、ルータ装置の切替処理に関する処理について、セッションを新規に開始するまでの処理について説明する。
S150において、端末30の切替処理部35は、切断通知の受信処理を行う(図2A〜図2CのS40参照)。具体的には、切替処理部35は、通信インタフェース31およびL3処理部32を介して、ルータ装置10aからの切断通知メッセージを受信して管理する。
[Example of terminal processing]
Next, a processing example of the terminal 30 will be described with reference to FIG. Here, regarding the processing related to the switching processing of the router device, processing until a session is newly started will be described.
In S150, the switching processing unit 35 of the terminal 30 performs a disconnection notification reception process (see S40 in FIGS. 2A to 2C). Specifically, the switching processing unit 35 receives and manages the disconnection notification message from the router device 10a via the communication interface 31 and the L3 processing unit 32.

S151において、通信フロー検出部34は、上記切断通知の送信元を中継するフローを有するかを検出する。具体的には、通信フロー検出部34は、切断通知メッセージの送信元、すなわちルータ装置10aをネクストホップとする通信フローが存在するか否かを検出する。
そして、通信フローが存在しない場合は(S151のNo)、処理を終了し、他方、存在する場合は(S151のYes)、S152に進み、切替処理部35は、切替要求を行う(図2AのS41、図2BのS43に相応)。S152の場合、切替処理部35は、切断通知メッセージの送信元であるルータ装置10aに切替要求メッセージを送信する。これにより、ルータ装置10aからルータ装置10bへの切替処理が開始される。
In S151, the communication flow detection unit 34 detects whether or not there is a flow that relays the disconnection notification transmission source. Specifically, the communication flow detection unit 34 detects whether or not there is a communication flow with the disconnection notification message source, that is, the router device 10a as the next hop.
If the communication flow does not exist (No in S151), the process ends. On the other hand, if it exists (Yes in S151), the process proceeds to S152, and the switching processing unit 35 issues a switching request (in FIG. 2A). S41, corresponding to S43 in FIG. 2B). In the case of S152, the switching processing unit 35 transmits a switching request message to the router device 10a that is the transmission source of the disconnection notification message. Thereby, the switching process from the router apparatus 10a to the router apparatus 10b is started.

S153において、L3処理部32が、ルータ広告を受信する(図4のS201参照)。具体的には、L3処理部32が、ルータ装置10bから送信されたルータ広告メッセージを受信する。その後、L3処理部32は、そのルータ広告メッセージ中のプレフィクス情報オプション500(図5参照)から、ネットワークプレフィクス(図5のPrefix502参照)を抽出する。そして、L3処理部32は、パケットの送受信制御やルーティング制御に関する情報を保持するプレフィクステーブル(不図示)に、各プレフィクスとその優先度(ルータ装置10bに付与されたもの。図10A〜図10CのS134参照)とを記憶しておく。   In S153, the L3 processing unit 32 receives the router advertisement (see S201 in FIG. 4). Specifically, the L3 processing unit 32 receives the router advertisement message transmitted from the router device 10b. Thereafter, the L3 processing unit 32 extracts a network prefix (see Prefix 502 in FIG. 5) from the prefix information option 500 (see FIG. 5) in the router advertisement message. Then, the L3 processing unit 32 assigns each prefix and its priority (to the router device 10b) to a prefix table (not shown) that holds information related to packet transmission / reception control and routing control. 10C (see S134).

S154において、L3処理部32は、停止通知(図10A〜図10CのS135参照)を受信する(図4のS202参照)。具体的には、L3処理部32は、ルータ装置10bから、停止通知メッセージを受信する。この停止通知メッセージには、ルータ装置10aの送信元アドレス、および「0」のルータライフタイムが含まれている。これにより、L3処理部32は、ルータ装置10aをネクストホップとする中継のためのエントリをルーティングテーブル(不図示)から削除する。
S155において、L3処理部32は、優先度低(つまり「低」の優先度)のプレフィックスを使用し、切替先ルータ(ルータ装置10b)にフロー送信を行う(図4のS203参照)。この時点で、ルータ装置10aの管理下にあるネットワークプレフィクスのネクストホップは、ルータ装置10bに変更される。このため、端末30は、ルータ装置10bを介した通信を意識することなく開始する(つまり、これまでの通信と同様の処理を行うことを意味する)。
In S154, the L3 processing unit 32 receives a stop notification (see S135 in FIGS. 10A to 10C) (see S202 in FIG. 4). Specifically, the L3 processing unit 32 receives a stop notification message from the router device 10b. This stop notification message includes the source address of the router device 10a and the router lifetime of “0”. As a result, the L3 processing unit 32 deletes the entry for relaying with the router device 10a as the next hop from the routing table (not shown).
In S155, the L3 processing unit 32 uses the low-priority (that is, “low” priority) prefix and performs flow transmission to the switching destination router (router device 10b) (see S203 in FIG. 4). At this time, the next hop of the network prefix under the management of the router device 10a is changed to the router device 10b. For this reason, the terminal 30 starts without being aware of the communication via the router device 10b (that is, means that the same processing as the communication so far is performed).

その後、通信フロー検出部34が新たなセッションを検出した場合(S156のYes:図4のS51参照)、S157に進む。なお、継続中のセッションのうち、ルータ装置10aの管理下にあるネットワークプレフィクスに応じたアドレスを送信元アドレスとするものについては、そのセッションが終了するまでの間、そのアドレスが継続して使用される。
S157においては、L3処理部32は、優先度低(つまり「高」の優先度)のプレフィックスを使用し、切替先ルータ(ルータ装置10b)にフロー送信を行う(図4のS206参照)。この場合、L3処理部32は、ルータ装置10bの管理下にあるネットワークプレフィクスに応じたアドレスを使用する。
Thereafter, when the communication flow detection unit 34 detects a new session (Yes in S156: see S51 in FIG. 4), the process proceeds to S157. Of the ongoing sessions, those that use the address corresponding to the network prefix under the management of the router 10a as the transmission source address will continue to be used until the session ends. Is done.
In S157, the L3 processing unit 32 performs flow transmission to the switching destination router (router device 10b) using a prefix with a low priority (that is, a priority of “high”) (see S206 in FIG. 4). In this case, the L3 processing unit 32 uses an address corresponding to the network prefix under the management of the router device 10b.

その後、端末30のL3処理部32は、上記ポリシに基づいて、プレフィクス判定部36が判定したネットワークプレフィクスの優先度に従って、優先度が低いネットワークプレフィクスは、継続しているセッションが完了したら使用させず、新規セッションでは優先度が高いネットワークプレフィクスに準じるアドレスを使用させる。これにより、ルータ切替処理時に継続していたセッションがすべて完了した時点で、ルータ装置10aが管理するネットワークプレフィクス、すなわち低優先度に設定したネットワークプレフィクスを使用する端末30がなくなり、その時点のローカルネットワーク1において適正なネットワークプレフィクスへの移行を効率的に行うことができる。なお、中継するフローがない状態で新規に開始するセッションが検出された場合、ルータ装置10bが広告するプレフィクスは自装置のプレフィクスのみである。そのため、端末30はルータ装置10bが広告するプレフィクスを用いて、フローをルータ装置10bに送信する。   After that, the L3 processing unit 32 of the terminal 30 determines that a network prefix with a low priority is completed according to the priority of the network prefix determined by the prefix determination unit 36 based on the policy. Do not use, but use an address that conforms to a high-priority network prefix for new sessions. As a result, when all the sessions continued during the router switching process are completed, there is no terminal 30 using the network prefix managed by the router device 10a, that is, the network prefix set to the low priority. The local network 1 can be efficiently migrated to an appropriate network prefix. When a session to be newly started is detected in a state where there is no flow to be relayed, the prefix advertised by the router device 10b is only the prefix of the own device. Therefore, the terminal 30 transmits the flow to the router device 10b using the prefix advertised by the router device 10b.

以上のように、本実施の形態によれば、ルータ装置10bは、ルータ装置10aに割り当てられているネットワークプレフィクスを取得し、管理サーバ18に、そのネットワークプレフィクスを含むバインディング更新を登録させる。そして、ルータ装置10bは、当該プレフィクスの優先度を「低」に設定するとともに、自装置のネットワークプレフィクスの優先度を「高」に設定する。さらに、ルータ装置10bは、各々の優先度をもつネットワークプレフィクスを含むルータ広告をローカルネットワーク1上に送信する。これにより、端末30は、例えば、新たなセッションがある場合は、「高」の優先度をもつネットワークプレフィクスを使用し、ルータ装置10bにフロー送信する。他方、端末30は、例えば、通信フローが継続中の場合は、「低」の優先度をもつネットワークプレフィクスを使用し、ルータ装置10bにフロー送信する。
したがって、通信の状況に応じて、優先度の異なるネットワークプレフィクスを用いて通信経路を確保することが可能となる。よって、適正なネットワークプレフィクスを用いた通信を実現することができる。
また、従来における方法の場合と異なり、通信フローの有無が判別された後、必要に応じてルータ装置の切替が実施される。よって、例えば、ルータ装置自体のバッテリ消費量の削減を行うことが可能となる。
As described above, according to the present embodiment, the router device 10b acquires the network prefix assigned to the router device 10a, and causes the management server 18 to register the binding update including the network prefix. Then, the router device 10b sets the priority of the prefix to “low” and sets the priority of the network prefix of the own device to “high”. Further, the router device 10b transmits a router advertisement including the network prefix having each priority on the local network 1. Thereby, for example, when there is a new session, the terminal 30 uses the network prefix having the priority of “high” and transmits the flow to the router device 10b. On the other hand, for example, when the communication flow is continuing, the terminal 30 uses a network prefix having a priority of “low” and transmits the flow to the router device 10b.
Therefore, it is possible to secure a communication path using network prefixes having different priorities according to the communication status. Thus, communication using an appropriate network prefix can be realized.
Also, unlike the conventional method, after the presence or absence of a communication flow is determined, switching of the router device is performed as necessary. Therefore, for example, the battery consumption of the router device itself can be reduced.

本発明は、外部リンクへの接続機能を持つ複数のルータ装置が存在するローカルネットワークにおけるルータ装置間の切替等に有用である。また、外部リンク網との切断を予期した場合に、パケットのロスを抑えながら迅速にルータ装置を切り替えるケースに適する。   The present invention is useful for switching between router devices in a local network where a plurality of router devices having a function of connecting to an external link exist. In addition, when disconnection from an external link network is expected, this is suitable for a case where a router apparatus is quickly switched while suppressing packet loss.

本発明の実施の形態に係るルータ装置を含むシステム全体の構成例を示す図である。It is a figure which shows the structural example of the whole system containing the router apparatus which concerns on embodiment of this invention. ルータ装置間の切替処理のうち処理1の第1処理例を示す図である。It is a figure which shows the 1st process example of the process 1 among the switching processes between router apparatuses. ルータ装置間の切替処理のうち処理1の第2処理例を示す図である。It is a figure which shows the 2nd process example of the process 1 among the switching processes between router apparatuses. ルータ装置間の切替処理のうち処理1の第3処理例を示す図である。It is a figure which shows the 3rd processing example of the process 1 among the switching processes between router apparatuses. ルータ装置間の切替処理のうち処理2の第1処理例を示す図である。It is a figure which shows the 1st process example of the process 2 among the switching processes between router apparatuses. ルータ装置間の切替処理のうち処理2の第2処理例を示す図である。It is a figure which shows the 2nd processing example of the process 2 among the switching processes between router apparatuses. ルータ装置間の切替処理のうち処理2の第3処理例を示す図である。It is a figure which shows the 3rd process example of the process 2 among the switching processes between router apparatuses. ルータ装置間の切替処理のうち処理2の第4処理例を示す図である。It is a figure which shows the 4th process example of the process 2 among the switching processes between router apparatuses. ルータ装置間の切替処理のうち処理3の処理例を示す図である。It is a figure which shows the process example of the process 3 among the switching processes between router apparatuses. プレフィクス情報オプションの一例を示す図である。It is a figure which shows an example of a prefix information option. ルータ装置の構成例を示す図である。It is a figure which shows the structural example of a router apparatus. 切替元のルータ装置の第1処理例を示す図である。It is a figure which shows the 1st process example of the router apparatus of the switching origin. 切替元のルータ装置の第2処理例を示す図である。It is a figure which shows the 2nd process example of the router apparatus of the switching origin. 切替元のルータ装置の第3処理例を示す図である。It is a figure which shows the 3rd processing example of the router apparatus of the switching origin. 気付けアドレスオプション600の構成例を示す図である。5 is a diagram illustrating a configuration example of a care-of address option 600. FIG. バインディング更新リストの一例を示す図である。It is a figure which shows an example of a binding update list. 切替先のルータ装置の第1処理例を示す図である。It is a figure which shows the 1st process example of the router apparatus of a switching destination. 切替先のルータ装置の第2処理例を示す図である。It is a figure which shows the 2nd process example of the router apparatus of a switching destination. 切替先のルータ装置の第3処理例を示す図である。It is a figure which shows the 3rd processing example of the switching destination router apparatus. プレフィクスリストの一例を示す図である。It is a figure which shows an example of a prefix list. 端末の構成例を示す図である。It is a figure which shows the structural example of a terminal. 端末の処理例を示す図である。It is a figure which shows the process example of a terminal.

符号の説明Explanation of symbols

1 ローカルネットワーク
2、3 アクセスネットワーク
4 バックボーンネットワーク
10 ルータ装置
16、17 基地局装置
18、19 管理サーバ
20 外部端末
21 外部通信インタフェース
22 内部通信インタフェース
23 L3処理部
24 上位層処理部
25 切替処理部
26 プレフィクス制御部
27 通信フロー検出部
30 端末
31 通信インタフェース
32 L3処理部
33 上位層処理部
34 通信フロー検出部
35 切替処理部
DESCRIPTION OF SYMBOLS 1 Local network 2, 3 Access network 4 Backbone network 10 Router apparatus 16, 17 Base station apparatus 18, 19 Management server 20 External terminal 21 External communication interface 22 Internal communication interface 23 L3 process part 24 Upper layer process part 25 Switching process part 26 Prefix control unit 27 Communication flow detection unit 30 Terminal 31 Communication interface 32 L3 processing unit 33 Upper layer processing unit 34 Communication flow detection unit 35 Switching processing unit

Claims (7)

ネットワーク内の移動端末と、前記移動端末と外部ネットワーク経由で相手先装置との間の通信を中継し、かつ前記外部ネットワークに接続された複数の外部管理装置に管理される複数のルータ装置と、を含んで構成されるシステムにおけるルータ切替方法であって、
前記中継中のルータ装置の切替先となる別のルータ装置は、
前記中継中のルータ装置に割り当てられている前記ネットワーク内の第1のプレフィクスを取得するステップと、
前記中継中のルータ装置を管理する外部管理装置に対し、前記取得した第1のプリフィクスを含むバインディングを前記外部ネットワーク経由で登録させるステップと、
前記取得した第1のプレフィクスの優先度を自装置に割り当てられている第2のプレフィクスよりも低く設定、または、前記第2のプリフィクスの優先度を前記第1のプレフィクスよりも高く設定の少なくともいずれか一方を行い、各々の優先度をもつ前記第1および第2のプリフィクスを含むルータ広告を前記ネットワーク上に送信するステップと、を含み、
前記移動端末は、
前記相手先装置との通信が終了した後は、前記送信された優先度の高い第2のプレフィクスを使用し、前記別のルータ装置およびそのルータ装置を管理する外部管理装置を介して、前記相手先装置との通信を開始するステップ、を含む、
ルータ切替方法。
A plurality of router devices managed by a plurality of external management devices that relay communication between the mobile terminal in the network and the counterpart device via the mobile terminal and the external network, and are connected to the external network; A router switching method in a system configured to include:
Another router device that is the switching destination of the relaying router device is:
Obtaining a first prefix in the network assigned to the relaying router device;
Registering a binding including the acquired first prefix via the external network with an external management device that manages the router device that is relaying;
The priority of the acquired first prefix is set lower than the second prefix assigned to the device, or the priority of the second prefix is set higher than the first prefix. Performing a router advertisement on the network that includes the first and second prefixes having respective priorities, and performing at least one of the following:
The mobile terminal
After the communication with the counterpart device is completed, the second prefix with the high priority transmitted is used, and the other router device and the external management device that manages the router device are used to Starting communication with a counterpart device,
Router switching method.
前記移動端末は、
前記相手先装置との通信が継続している間は、前記ルータ広告された優先度の低い第1のプレフィクスを使用し、前記別のルータ装置、および前記第1のプレフィクスを登録させた外部管理装置を介して、前記相手先装置との通信を継続するステップ、をさらに含む、
請求項1に記載のルータ切替方法。
The mobile terminal
While the communication with the counterpart device continues, the first prefix advertised by the router with a low priority is used, and the other router device and the first prefix are registered. Further comprising the step of continuing communication with the counterpart device via an external management device,
The router switching method according to claim 1.
前記移動端末は、
前記相手先装置との通信を開始するステップの前に、前記中継中のルータ装置から当該別のルータ装置への変更の旨の情報を受けるステップ、をさらに含む、
請求項1に記載のルータ切替方法。
The mobile terminal
Before the step of starting communication with the counterpart device, further comprising the step of receiving information indicating a change from the router device being relayed to the other router device,
The router switching method according to claim 1.
前記別のルータ装置が前記第1のプレフィクスを取得するステップの前に、
前記中継中のルータ装置が、前記相手先装置との通信の有無を前記ネットワークに問い合わせるステップと、
前記問い合わせを受けた前記ネットワーク内の移動端末が、前記通信の有無に対する応答を行うステップと、をさらに含む、
請求項1に記載のルータ切替方法。
Before the step of obtaining the first prefix by the another router device,
The relaying router device inquires of the network whether or not there is communication with the counterpart device;
The mobile terminal in the network that has received the inquiry further responds to the presence or absence of the communication,
The router switching method according to claim 1.
前記応答には、前記別のルータ装置に取得される前記第1のプレフィクスが含まれる、請求項4に記載のルータ切替方法。   The router switching method according to claim 4, wherein the response includes the first prefix acquired by the another router device. 前記別のルータ装置は、
前記ネットワーク上の前記移動端末から、前記相手先装置との通信が終了したことを受けて、前記第1のプレフィクスの広告を停止するステップ、をさらに含む、
請求項1に記載のルータ切替方法。
The other router device is:
Further comprising the step of stopping the advertisement of the first prefix upon completion of communication with the counterpart device from the mobile terminal on the network.
The router switching method according to claim 1.
ネットワーク内の移動端末と外部ネットワーク経由で相手先装置との間の通信を中継している中継中のルータ装置に割り当てられているネットワーク内のプレフィクスを取得する取得部と、
中継中のルータ装置を管理する外部管理装置に対し、前記取得された第1のプリフィクスを含むバインディングを前記外部ネットワーク経由で登録させる登録部と、
前記取得された第1のプレフィクスの優先度を自装置に割り当てられている第2のプレフィクスよりも低く設定、または、前記第2のプリフィクスの優先度を前記第1のプレフィクスよりも高く設定の少なくともいずれか一方を行う設定部と、
各々の優先度をもつ前記第1および第2のプリフィクスを含むルータ広告を前記ネットワーク上に送信する送信部と、
を含むルータ装置。
An acquisition unit that acquires a prefix in the network assigned to a router device in relay that relays communication between a mobile terminal in the network and a counterpart device via an external network;
A registration unit that registers the binding including the acquired first prefix via the external network with respect to the external management device that manages the router device that is relaying;
The priority of the acquired first prefix is set lower than the second prefix assigned to the own apparatus, or the priority of the second prefix is higher than the first prefix. A setting unit that performs at least one of the settings;
A transmission unit for transmitting a router advertisement including the first and second prefixes having respective priorities on the network;
Router equipment including
JP2007038419A 2006-02-27 2007-02-19 Router switching method and router device Expired - Fee Related JP4806364B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007038419A JP4806364B2 (en) 2006-02-27 2007-02-19 Router switching method and router device

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2006050948 2006-02-27
JP2006050948 2006-02-27
JP2007038419A JP4806364B2 (en) 2006-02-27 2007-02-19 Router switching method and router device

Publications (2)

Publication Number Publication Date
JP2007259425A JP2007259425A (en) 2007-10-04
JP4806364B2 true JP4806364B2 (en) 2011-11-02

Family

ID=38633124

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007038419A Expired - Fee Related JP4806364B2 (en) 2006-02-27 2007-02-19 Router switching method and router device

Country Status (1)

Country Link
JP (1) JP4806364B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5071202B2 (en) * 2008-03-31 2012-11-14 富士通株式会社 Router
WO2010038701A1 (en) * 2008-10-03 2010-04-08 日本電気株式会社 Communication processing device and communication processing method
JP5338947B2 (en) * 2012-06-11 2013-11-13 富士通株式会社 Router
WO2014034305A1 (en) * 2012-08-29 2014-03-06 三菱電機株式会社 Communication apparatus and network connection method
JP6571615B2 (en) * 2016-09-02 2019-09-04 日本電信電話株式会社 Authentication server, distribution device, client terminal authentication system, and client terminal authentication method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4175855B2 (en) * 2002-09-26 2008-11-05 三菱電機株式会社 Mobile network and communication management method thereof
JP4552449B2 (en) * 2003-02-20 2010-09-29 パナソニック株式会社 Mobile router device, mobile network system, and mobility management method for mobile router device
WO2005109944A1 (en) * 2004-05-11 2005-11-17 Mitsubishi Denki Kabushiki Kaisha Handover method, mobile terminal, home agent, access router, and mobile router

Also Published As

Publication number Publication date
JP2007259425A (en) 2007-10-04

Similar Documents

Publication Publication Date Title
JP4981164B2 (en) Communication system and communication node
US8824480B2 (en) Method and apparatus for end-host based mobility, multi-homing and multipath protocols
JP5115561B2 (en) Wireless communication terminal, method, program, recording medium, and wireless communication system
KR100847167B1 (en) Terminal and communication system
JP5048684B2 (en) Selective service update method for communication network
JP2009200689A (en) Communication system, communication processing method, and node
JP2008524908A (en) Communication method, mobile communication node and access router in network system
JP4317215B2 (en) Mobile terminal management apparatus, mobile terminal and communication system
JP4806364B2 (en) Router switching method and router device
EP1727310A1 (en) Method and apparatus for discovering a service in an AD-HOC network
US7028099B2 (en) Network communication between hosts
EP2449800B1 (en) Methods and systems for mobile ip route optimization
JPWO2008105158A1 (en) Network management device and packet transfer device
JP5034534B2 (en) Communications system
JP2011199732A (en) Wireless lan system, mobile terminal, and mobile terminal ip address switching method
JP4823053B2 (en) Method for switching between different types of communication interfaces, mobile terminal and management device
WO2013083037A1 (en) Update packet processing method and system, mapping server and mobile node
JP5840575B2 (en) Multi-home communication method and system
JP4440057B2 (en) Communication management system and communication management apparatus
JP4791402B2 (en) Mobile communication system and mobile communication program
KR101177354B1 (en) Mobile terminal, communication network and mobility controlling method thereof
JP2003338850A (en) SECURITY ASSOCIATION MANAGEMENT SERVER FOR Mobile IP NETWORK
JP2008035572A (en) Router apparatus
JP4169036B2 (en) Mobility support device
JP3861885B2 (en) Mobile terminal and packet transmission method

Legal Events

Date Code Title Description
RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20070717

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20070725

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20091201

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110422

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110517

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110711

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: 20110726

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110812

R150 Certificate of patent or registration of utility model

Ref document number: 4806364

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20140819

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees