JP2006262352A - Mobile terminal, packet relay device, communication system, and communication method - Google Patents

Mobile terminal, packet relay device, communication system, and communication method Download PDF

Info

Publication number
JP2006262352A
JP2006262352A JP2005079981A JP2005079981A JP2006262352A JP 2006262352 A JP2006262352 A JP 2006262352A JP 2005079981 A JP2005079981 A JP 2005079981A JP 2005079981 A JP2005079981 A JP 2005079981A JP 2006262352 A JP2006262352 A JP 2006262352A
Authority
JP
Japan
Prior art keywords
ipv4
ipv6
mobile terminal
network
tunnel
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2005079981A
Other languages
Japanese (ja)
Inventor
Keiji Nishimaki
恵児 西巻
Yoshitaka Sakurai
芳隆 櫻井
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.)
Victor Company of Japan Ltd
Original Assignee
Victor Company of Japan 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 Victor Company of Japan Ltd filed Critical Victor Company of Japan Ltd
Priority to JP2005079981A priority Critical patent/JP2006262352A/en
Publication of JP2006262352A publication Critical patent/JP2006262352A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To provide a mobile terminal, a packet relay device, a communication system, and a communication method which offer a seamless data communication in a network environment where IP protocols are mixed. <P>SOLUTION: A communication system 1 is provided with a mobile terminal having a move detection means 15a, a registration request means 15g, an IPv4 tunnel preparing means 15h, an IPv4IPv6 tunnel preparing means 15i, an IPv4 route control means 15e for controlling a route so as to perform a packet transfer through an IPv4 tunnel, and an IPv6 route control means 15f for controlling a route through an IPv4/IPv6 tunnel; and a packet relay device having an authentication means 25a, an IPv4 tunnel preparing means 25b, an IPv4IPv6 tunnel preparing means 25c, an IPv4 route control means 25f for controlling a route so as to perform a packet transfer with the mobile terminal through the IPv4 tunnel, and an IPv6 route control means 25g for controlling a route through the IPv4/IPv6 tunnel. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、異なるIPバージョンのプロトコルを混在させたネットワーク環境でシームレスなデータ通信を提供する移動端末、パケット中継装置、通信システム及び通信方法に関する。   The present invention relates to a mobile terminal, a packet relay device, a communication system, and a communication method that provide seamless data communication in a network environment in which protocols of different IP versions are mixed.

IPv4環境において、端末が移動中にサブネットを変更しながら、通信相手となるサーバとの通信を継続させるためのモバイルIPv4技術が知られている。またIPv6環境では、同様にモバイルIPv6技術があり、各々の環境下で通信が途切れないようにするシームレス通信システムの開発が行われている。これらモバイルIP技術の基本は「移動検出」「登録」「パケット転送」である。   In the IPv4 environment, mobile IPv4 technology is known for continuing communication with a server as a communication partner while changing a subnet while a terminal is moving. Similarly, in the IPv6 environment, there is a mobile IPv6 technology, and a seamless communication system is being developed to prevent communication from being interrupted in each environment. The basics of these mobile IP technologies are “movement detection”, “registration”, and “packet transfer”.

IPv6は、32ビットのIPv4アドレス空間に比較して128ビットと拡充しているため、IPアドレスの枯渇対策として期待が大きい。今後、インターネットに接続する端末は増加予想にあり、携帯電話等の移動端末へのIPv6実装は急務として開発されている。移動端末のシームレス通信継続を達成するための手法として、IETFでは、モバイルIPv4プロトコルとしてRFC2002、RFC3220等を規定している。また、IPv6についても同様にRFC3775、RFC3776等を規定している。これらのプロトコル技術により、ネットワーク環境を移動しても、ユーザが意識することなく通信可能に自動設定でき、通信相手とのデータ通信を継続できる。   Since IPv6 is expanded to 128 bits compared to the 32-bit IPv4 address space, it is highly expected as a countermeasure against IP address exhaustion. In the future, the number of terminals connected to the Internet is expected to increase, and implementation of IPv6 in mobile terminals such as mobile phones is being developed as an urgent matter. As a technique for achieving seamless communication continuation of mobile terminals, IETF defines RFC2002, RFC3220, etc. as mobile IPv4 protocols. Similarly, IPv3 specifies RFC3775, RFC3776, and the like. With these protocol technologies, even when moving in a network environment, it is possible to automatically set communication so that the user is not conscious, and data communication with a communication partner can be continued.

今後は、IPv6対応の端末が普及すると予想される一方で、インフラとしては依然IPv4環境も存在すると考えられ、このようなIPバージョンの異なるネットワーク間でも、通信が途切れないシームレス通信技術が必要となる。IPv6及びIPv4環境が混在したネットワークシステムにおいて、移動端末がIPv6環境からIPv4環境へ移動した際のシームレス通信技術として、例えば、IPv4とIPv6のトランスレータであるネットワーク中継装置を通信システム内に設置し、この通信システム中でシームレスなデータ通信を継続させる手法が提案されている(特許文献1参照。)。   In the future, while IPv6-compatible terminals are expected to become widespread, it is considered that there is still an IPv4 environment as an infrastructure, and seamless communication technology that does not interrupt communication between networks with different IP versions is required. . In a network system in which IPv6 and IPv4 environments are mixed, as a seamless communication technique when a mobile terminal moves from an IPv6 environment to an IPv4 environment, for example, a network relay device that is an IPv4 and IPv6 translator is installed in the communication system. A method of continuing seamless data communication in a communication system has been proposed (see Patent Document 1).

また、本出願人により、トンネルデバイスを事前に設定することで、複数のネットワークインタフェースを切り替える手法も提案されている(特許文献2参照。)。
特開2003−18185号公報 特開2003−169981号公報
In addition, a method of switching a plurality of network interfaces by setting tunnel devices in advance has been proposed by the present applicant (see Patent Document 2).
JP 2003-18185 A JP 2003-169981 A

しかしながら、特許文献1においては、IPv6及びIPv4環境を接続するためにIPプロトコルトランスレータ(ネットワーク中継装置)を設置し、モバイルIPv6を起動し、異なるプロトコル間のシームレス通信を開示しているが、IPv4及びIPv6の混在環境において、シームレス通信を行うための明確な規格は開示されていない。つまり、実装されているホームエージェントがモバイルIPv6対応であるため、移動端末がIPv4環境へ移動した際に通信相手がIPv6サーバ401であればデータ継続性は確保できうるが、移動端末がIPv4サーバ303と通信中に異なるIPv4サブネット環境へ移動した際の処理については開示されていない。よって、ホームエージェントはプロキシARP機能を起動することができない。   However, in Patent Document 1, an IP protocol translator (network relay device) is installed to connect IPv6 and IPv4 environments, mobile IPv6 is activated, and seamless communication between different protocols is disclosed. A clear standard for seamless communication in an IPv6 mixed environment is not disclosed. In other words, since the installed home agent is compatible with Mobile IPv6, data continuity can be secured if the communication partner is the IPv6 server 401 when the mobile terminal moves to the IPv4 environment, but the mobile terminal can be secured by the IPv4 server 303. The processing when moving to a different IPv4 subnet environment during communication is not disclosed. Therefore, the home agent cannot activate the proxy ARP function.

また、ヘッダ変換方式によるトランスレートは、転送速度を速める効果が期待できるものの、FTP(ファイルトランスレーションプロトコル)のようにデータ中に通信先のIPアドレスやポート番号が含まれていると、その部分も併せて変更する必要があるため、上位層のプロトコルに応じて特別な処理を施すケースも想定される。   In addition, the translation by the header conversion method can be expected to increase the transfer speed, but if the IP address or port number of the communication destination is included in the data like FTP (File Translation Protocol), that portion In addition, there is a case where special processing is performed according to the upper layer protocol.

特許文献2においても同様で、ネットワーク内の同一IP環境においてトンネルデバイスを設定するが、IPv4及びIPv6の混在環境において、シームレス通信を行うための明確な規格は開示されていない。   Similarly in Patent Document 2, tunnel devices are set in the same IP environment in the network. However, a clear standard for seamless communication is not disclosed in a mixed environment of IPv4 and IPv6.

特許文献1及び2ともに、仮にモバイルIPv4とモバイルIPv6の両方を実装した移動端末やホームエージェントを用意しても、混在するIP環境下でIPv4環境の移動端末からIPv6環境のサーバへアクセスすることは困難が予想される。   In both Patent Documents 1 and 2, even if a mobile terminal or a home agent that implements both mobile IPv4 and mobile IPv6 is prepared, it is not possible to access an IPv6 environment server from a mobile terminal in an IPv4 environment under a mixed IP environment. Difficulty is expected.

本発明は、上記の問題点に鑑みてなされたものであり、IPv4及びIPv6の両方のプロトコルスタックを搭載し、IPプロトコルが混在するネットワーク環境でシームレスなデータ通信を提供する移動端末、パケット中継装置、通信システム及び通信方法を提供することを目的とする。   The present invention has been made in view of the above-described problems, and includes a mobile terminal and a packet relay device that are equipped with both IPv4 and IPv6 protocol stacks and provide seamless data communication in a network environment in which IP protocols are mixed. An object of the present invention is to provide a communication system and a communication method.

上記の問題点を鑑みて、本発明の第1の特徴は、[イ]IPv4環境若しくはIPv6環境のネットワークである第1ネットワーク及び第2ネットワーク間を移動しながらパケット中継装置とパケットを送受信する移動端末であって、各々のネットワークが備えるインタフェースが出力する信号を受信し、第1ネットワークから第2ネットワークへの移動を検出する移動検出手段15aと、[ロ]パケット中継装置へ登録要求を送信する登録要求手段15gと、[ハ]パケット中継装置より登録要求に対する登録応答を受信し、登録応答を基にIPv4/IPv4トンネルを作成するIPv4トンネル作成手段15hと、[ニ]パケット中継装置より登録要求に対する登録応答を受信し、登録応答を基にIPv4/IPv6トンネルを作成するIPv4IPv6トンネル作成手段15iと、[ホ]移動先の第2ネットワークがIPv4環境であれば、パケット中継装置とのパケット転送をIPv4/IPv4トンネルを介して行うよう経路制御するIPv4経路制御手段15eと、[ヘ]移動先の第2ネットワークがIPv6環境であれば、パケット中継装置とのパケット転送をIPv4/IPv6トンネルを介して行うよう経路制御するIPv6経路制御手段15fとを備える移動端末であることを要旨とする。   In view of the above-mentioned problems, the first feature of the present invention is [a] movement for transmitting / receiving packets to / from the packet relay apparatus while moving between the first network and the second network which are networks in the IPv4 environment or the IPv6 environment. The terminal receives a signal output from an interface included in each network, and transmits a registration request to the movement detecting means 15a for detecting movement from the first network to the second network, and [b] the packet relay apparatus. Registration request means 15g, [c] IPv4 tunnel creation means 15h that receives a registration response to the registration request from the packet relay device and creates an IPv4 / IPv4 tunnel based on the registration response, and [d] registration request from the packet relay device Receives a registration response to and creates an IPv4 / IPv6 tunnel based on the registration response IPv4 IPv6 tunnel creation means 15i, and [e] IPv4 route control means 15e that performs route control so as to perform packet transfer with the packet relay device via the IPv4 / IPv4 tunnel if the second network of the movement destination is an IPv4 environment, [F] If the destination second network is an IPv6 environment, the mobile terminal is provided with IPv6 route control means 15f that performs route control so as to perform packet transfer with the packet relay device via the IPv4 / IPv6 tunnel. The gist.

本発明の第2の特徴は、[イ]IPv4環境若しくはIPv6環境のネットワークである第1ネットワーク及び第2ネットワーク間を移動する移動端末とパケット転送を行うパケット中継装置であって、移動端末から登録要求を受信して登録要求を認証し、移動端末が第1ネットワークから第2ネットワークへ移動したことを検知する認証手段25aと、[ロ]認証が正常に行われると、登録要求に対する登録応答を移動端末に送信し、登録要求を基にIPv4/IPv4トンネルを作成するIPv4トンネル作成手段25bと、[ハ]認証が正常に行われると、登録要求に対する登録応答を移動端末に送信し、登録要求を基にIPv4/IPv6トンネルを作成するIPv4IPv6トンネル作成手段25cと、[ニ]第2ネットワークがIPv4環境であれば、移動端末とのパケット転送をIPv4/IPv4トンネルを介して行うよう経路制御するIPv4経路制御手段25fと、[ホ]第2ネットワークがIPv6環境であれば、移動端末とのパケット転送をIPv4/IPv6トンネルを介して行うよう経路制御するIPv6経路制御手段25gとを備えるパケット中継装置であることを要旨とする。   A second feature of the present invention is [a] a packet relay apparatus that performs packet transfer with a mobile terminal moving between a first network and a second network that are networks in an IPv4 environment or an IPv6 environment, and is registered from the mobile terminal. An authentication unit 25a that receives the request and authenticates the registration request and detects that the mobile terminal has moved from the first network to the second network; and [b] if authentication is performed normally, a registration response to the registration request IPv4 tunnel creating means 25b for creating an IPv4 / IPv4 tunnel based on the registration request, and [c] If authentication is performed normally, a registration response to the registration request is sent to the mobile terminal. IPv4 / IPv6 tunnel creating means 25c for creating an IPv4 / IPv6 tunnel based on the network, and [d] the second network If it is a Pv4 environment, IPv4 route control means 25f that performs route control so that packet transfer with the mobile terminal is performed via an IPv4 / IPv4 tunnel, and [e] If the second network is an IPv6 environment, packets with the mobile terminal The gist of the present invention is that the packet relay apparatus includes an IPv6 route control unit 25g that performs route control so that forwarding is performed via an IPv4 / IPv6 tunnel.

本発明の第3の特徴は、[イ]IPv4環境若しくはIPv6環境のネットワークである第1ネットワーク及び第2ネットワーク間を移動する移動端末と、移動端末とパケットを送受信するパケット中継装置を備える通信システムであって、各々のネットワークが備えるインタフェースが出力する信号を受信し、第1ネットワークから第2ネットワークへの移動を検出する移動検出手段15a、パケット中継装置へ登録要求を送信する登録要求手段15g、パケット中継装置より登録要求に対する登録応答を受信し、登録応答を基にIPv4/IPv4トンネルを作成するIPv4トンネル作成手段15h、パケット中継装置より登録要求に対する登録応答を受信し、登録応答を基にIPv4/IPv6トンネルを作成するIPv4IPv6トンネル作成手段15i、移動先の第2ネットワークがIPv4環境であれば、パケット中継装置とのパケット転送をIPv4/IPv4トンネルを介して行うよう経路制御するIPv4経路制御手段15e、及び移動先の第2ネットワークがIPv6環境であれば、パケット中継装置とのパケット転送をIPv4/IPv6トンネルを介して行うよう経路制御するIPv6経路制御手段15fをそれぞれ有する移動端末と、[ロ]移動端末から登録要求を受信して登録要求を認証し、移動端末が第1ネットワークから第2ネットワークへ移動したことを検知する認証手段25a、認証が正常に行われると、登録要求を基にIPv4/IPv4トンネルを作成するIPv4トンネル作成手段25b、認証が正常に行われると、登録要求を基にIPv4/IPv6トンネルを作成するIPv4IPv6トンネル作成手段25c、第2ネットワークがIPv4環境であれば、移動端末とのパケット転送をIPv4/IPv4トンネルを介して行うよう経路制御するIPv4経路制御手段25f、及び第2ネットワークがIPv6環境であれば、移動端末とのパケット転送をIPv4/IPv6トンネルを介して行うよう経路制御するIPv6経路制御手段25gをそれぞれ有するパケット中継装置とを備える通信システムであることを要旨とする。   The third feature of the present invention is [a] a communication system including a mobile terminal that moves between a first network and a second network that are networks in an IPv4 environment or an IPv6 environment, and a packet relay device that transmits and receives packets to and from the mobile terminal. A movement detecting unit 15a for receiving a signal output from an interface included in each network and detecting movement from the first network to the second network; a registration requesting unit 15g for transmitting a registration request to the packet relay device; An IPv4 tunnel creating means 15h that receives a registration response to the registration request from the packet relay device and creates an IPv4 / IPv4 tunnel based on the registration response, receives a registration response to the registration request from the packet relay device, and IPv4 based on the registration response / IPv4 IPv6 to create IPv6 tunnel If the second network of the movement destination is an IPv4 environment, the IPv4 route control means 15e for controlling the route so that the packet transfer with the packet relay device is performed via the IPv4 / IPv4 tunnel, and the second of the movement destination If the network is in an IPv6 environment, mobile terminals each having IPv6 route control means 15f that performs route control to perform packet transfer with the packet relay device via the IPv4 / IPv6 tunnel, and [b] receive a registration request from the mobile terminal Authentication means 25a for authenticating the registration request and detecting that the mobile terminal has moved from the first network to the second network, and IPv4 for creating an IPv4 / IPv4 tunnel based on the registration request if the authentication is successful. When the tunnel creation means 25b is successfully authenticated, it is based on the registration request. IPv4 IPv6 tunnel creating means 25c for creating a Pv4 / IPv6 tunnel, and, if the second network is an IPv4 environment, IPv4 route control means 25f for controlling the route so that packet transfer with the mobile terminal is performed via the IPv4 / IPv4 tunnel, and 2 If the network is an IPv6 environment, the gist of the invention is that the communication system includes packet relay apparatuses each having IPv6 route control means 25g for performing route control so as to perform packet transfer with a mobile terminal via an IPv4 / IPv6 tunnel. To do.

本発明の第4の特徴は、[イ]IPv4環境若しくはIPv6環境のネットワークである第1ネットワーク及び第2ネットワーク間を移動し、パケット中継装置とパケットを送受信する移動端末が、各々のネットワークが備えるインタフェースが出力する信号を受信し、第1ネットワークから第2ネットワークへの移動を検出する移動検出ステップと、[ロ]移動端末がパケット中継装置へ登録要求を送信し、パケット中継装置が移動端末から受信する登録要求を認証する認証ステップと、[ハ]移動端末がパケット中継装置より登録要求に対する登録応答を受信し、登録応答を基にIPv4/IPv4トンネルを作成するステップと、[ニ]移動端末がパケット中継装置より登録要求に対する登録応答を受信し、登録応答を基にIPv4/IPv6トンネルを作成するステップと、[ホ]移動端末の移動先の第2ネットワークがIPv4環境であれば、パケット中継装置とのパケット転送をIPv4/IPv4トンネルを介して行うよう経路制御するステップと、[ヘ]移動端末の移動先の第2ネットワークがIPv6環境であれば、パケット中継装置とのパケット転送をIPv4/IPv6トンネルを介して行うよう経路制御するステップと、[ト]認証が正常に行われると、パケット中継装置が登録要求を基にIPv4/IPv4トンネルを作成するステップと、[チ]認証が正常に行われると、パケット中継装置が登録要求を基にIPv4/IPv6トンネルを作成するステップと、[リ]第2ネットワークがIPv4環境であれば、パケット中継装置が移動端末とのパケット転送をIPv4/IPv4トンネルを介して行うよう経路制御するステップと、[ヌ]第2ネットワークがIPv6環境であれば、パケット中継装置が移動端末とのパケット転送をIPv4/IPv6トンネルを介して行うよう経路制御するステップとを備える通信方法であることを要旨とする。   A fourth feature of the present invention is [a] a mobile terminal that moves between a first network and a second network, which are networks in an IPv4 environment or an IPv6 environment, and transmits / receives a packet to / from the packet relay apparatus, in each network. A movement detection step for receiving a signal output from the interface and detecting movement from the first network to the second network; [b] the mobile terminal transmits a registration request to the packet relay apparatus; An authentication step for authenticating the received registration request, [c] a mobile terminal receiving a registration response to the registration request from the packet relay device, and creating an IPv4 / IPv4 tunnel based on the registration response; [d] the mobile terminal Receives a registration response to the registration request from the packet relay device, and based on the registration response, IPv4 / A step of creating a Pv6 tunnel; and [e] a path control for performing packet transfer with the packet relay device via the IPv4 / IPv4 tunnel if the second network to which the mobile terminal is moved is an IPv4 environment; [F] If the second network to which the mobile terminal is moving is an IPv6 environment, the step of routing the packet transfer with the packet relay device via the IPv4 / IPv6 tunnel, and [G] authentication is performed normally. The packet relay device creates an IPv4 / IPv4 tunnel based on the registration request, and [h] if the authentication is normally performed, the packet relay device creates an IPv4 / IPv6 tunnel based on the registration request. [Ri] If the second network is an IPv4 environment, the packet relay device A route control to perform packet forwarding via an IPv4 / IPv4 tunnel, and [nu] If the second network is in an IPv6 environment, the packet relay device performs packet forwarding with the mobile terminal via the IPv4 / IPv6 tunnel. The gist of the present invention is a communication method including a step of performing path control.

本発明の移動端末、パケット中継装置、通信システム及び通信方法によると、異なるIPバージョンのプロトコル環境に移動端末が移動しても、データの継続性を確保することができる。移動端末がIPv6環境からIPv4環境内へ移動した際、移動端末の通信相手がIPv4又はIPv6環境であるかに依存せずデータ通信を行うことが出来る。   According to the mobile terminal, packet relay apparatus, communication system, and communication method of the present invention, data continuity can be ensured even if the mobile terminal moves to a protocol environment of a different IP version. When the mobile terminal moves from the IPv6 environment into the IPv4 environment, data communication can be performed without depending on whether the communication partner of the mobile terminal is the IPv4 or IPv6 environment.

以下、本発明の実施の形態に係る通信装置について説明する。尚、本発明の実施の形態において使用される機器、手法等は一例であり、本発明はこれらに限定されるものではないことは勿論である。   Hereinafter, a communication apparatus according to an embodiment of the present invention will be described. In addition, the apparatus, method, etc. which are used in embodiment of this invention are examples, and of course, this invention is not limited to these.

(通信システム)
本発明の実施の形態に係る通信システム1は、図1に示すように、IPv4ネットワーク300とIPv6ネットワーク400を備える。IPv4ネットワーク300及びIPv6ネットワーク400は、パケット中継装置200によって接続され、移動端末100はIPv4ネットワーク300とIPv6ネットワーク400の間を自由に移動することができる。
(Communications system)
The communication system 1 according to the embodiment of the present invention includes an IPv4 network 300 and an IPv6 network 400, as shown in FIG. The IPv4 network 300 and the IPv6 network 400 are connected by the packet relay apparatus 200, and the mobile terminal 100 can freely move between the IPv4 network 300 and the IPv6 network 400.

IPv4ネットワーク300は、第1ルータ301と第2ルータ302を設置することで、第1サブネット330と第2サブネット331に区切られる。第1サブネット330は、DHCP(ダイナミックホストコンフィグレーションプロトコル)サーバ310及びアクセスポイント320備える。第2サブネット331は、DHCPサーバ311及びアクセスポイント321備える。   The IPv4 network 300 is divided into a first subnet 330 and a second subnet 331 by installing the first router 301 and the second router 302. The first subnet 330 includes a DHCP (Dynamic Host Configuration Protocol) server 310 and an access point 320. The second subnet 331 includes a DHCP server 311 and an access point 321.

移動端末100は、モバイルIPで規定される固定のホームアドレスを持つ。このホームアドレスはIPv4及びIPv6環境用の2つ準備され、予めパケット中継装置200との間で設定されている。   The mobile terminal 100 has a fixed home address defined by mobile IP. Two home addresses for IPv4 and IPv6 environments are prepared and set with the packet relay apparatus 200 in advance.

例えば、図1においては、移動端末100はホームアドレスとして、IPv4の「192.168.0.22」、IPv6の「2002:c0a8:e6::c0a8:16」を備える。その他のアドレスについて説明すると、第1ルータのIPアドレスは、「192.168.10.254」及び「192.168.20.254」である。第2ルータのIPアドレスは、「192.168.20.230」及び「192.168.30.254」である。パケット中継装置200のIPv4アドレスは「192.168.10.230」、IPv6アドレスは「2002:c0a8:e6::c0a8:e6」である。IPv4サーバ303のアドレスは「192.168.30.1」である。IPv6サーバ401のアドレスは「3ffe:0:c:ffff::abcd」である。   For example, in FIG. 1, the mobile terminal 100 includes “192.168.0.22” for IPv4 and “2002: c0a8: e6 :: c0a8: 16” for IPv6 as home addresses. The other addresses will be described. The IP addresses of the first router are “192.168.10.254” and “192.168.20.254”. The IP addresses of the second router are “192.168.20.230” and “192.168.30.254”. The IPv4 address of the packet relay apparatus 200 is “192.168.10.230”, and the IPv6 address is “2002: c0a8: e6 :: c0a8: e6”. The address of the IPv4 server 303 is “192.168.30.1”. The address of the IPv6 server 401 is “3ffe: 0: c: ffff :: abcd”.

(システムの各装置)
次に通信システム1の各装置について詳細に説明する。第1ルータ301及び第2ルータ302は、宛先IPアドレスを認識してパケットを中継する装置であり、IPv4環境内でサブネットを区切るために使用される。
(Each system device)
Next, each device of the communication system 1 will be described in detail. The first router 301 and the second router 302 are devices that recognize a destination IP address and relay a packet, and are used to divide subnets in an IPv4 environment.

DHCPサーバ310,311は、ゲートウェイサーバ等のIPアドレスや、サブネットマスク、クライアントに割り当て可能なIPアドレスの範囲等が設定されており、アクセスしてきた端末コンピュータにこれらの情報を提供する。端末が通信を終えると自動的にアドレスを回収し、他のコンピュータに割り当てる。DHCPサーバ310,311は、第1サブネット及び第2サブネット内に各々設置され、移動端末100からの要求によって、各サブネット内で使用するIPv4アドレス、つまりケアオブアドレス(COA)を返答する。   The DHCP servers 310 and 311 are set with an IP address such as a gateway server, a subnet mask, a range of IP addresses that can be assigned to clients, and provide such information to a terminal computer that has accessed. When the terminal finishes communication, the address is automatically collected and assigned to another computer. The DHCP servers 310 and 311 are installed in the first subnet and the second subnet, respectively, and respond with an IPv4 address used in each subnet, that is, a care-of address (COA), in response to a request from the mobile terminal 100.

アクセスポイント320,321は、例えばIEEE802.11/a/b/gで規定の周波数帯でビーコン信号を出力し、移動端末100と電波無線によるデータ通信を行う。アクセスポイント320,321の代替として、有線用ハブを設置し移動端末100が有線接続できるようにしても良い。この場合、移動端末100には有線通信インタフェースを搭載させるようにする。   The access points 320 and 321 output a beacon signal in a frequency band defined by, for example, IEEE 802.11 / a / b / g, and perform data communication with the mobile terminal 100 by radio waves. As an alternative to the access points 320 and 321, a wired hub may be installed so that the mobile terminal 100 can be wired. In this case, the mobile terminal 100 is equipped with a wired communication interface.

IPv4サーバ303は、IPv4ネットワーク300内に配置され、MAIL,FTP,HTTP,NFS,TELNET等のアプリケーションを実行する。IPv4サーバ303の位置は固定ではなく、IPv4ネットワーク300内に存在すれば良いものとする。   The IPv4 server 303 is arranged in the IPv4 network 300 and executes applications such as MAIL, FTP, HTTP, NFS, and TELNET. It is assumed that the position of the IPv4 server 303 is not fixed and only needs to exist in the IPv4 network 300.

またIPv4ネットワーク300内での各ルータの数、サブネットの数は増減し、接続構成が変更されても構わない。   Further, the number of routers and the number of subnets in the IPv4 network 300 may be increased or decreased, and the connection configuration may be changed.

(移動端末)
移動端末100は、IPv4及びIPv6両環境対応のノートパソコン、PDA、携帯電話等である。移動端末100は、図2に示すように、入力装置11、出力装置12、通信制御装置13、通信インタフェース14、中央処理制御装置(CPU)15、主記憶装置16及び経路表記憶装置17等を備えている。
(Mobile terminal)
The mobile terminal 100 is a notebook personal computer, PDA, mobile phone, or the like that supports both IPv4 and IPv6 environments. As shown in FIG. 2, the mobile terminal 100 includes an input device 11, an output device 12, a communication control device 13, a communication interface 14, a central processing control device (CPU) 15, a main storage device 16, a route table storage device 17, and the like. I have.

入力装置11は、キーボード、マウス等から入力信号を受信するインタフェースである。出力装置12は、処理結果等の出力信号を送信するためのインタフェースである。液晶ディスプレイ、CRTディスプレイ、プリンタ等を含んでも構わない。通信制御装置13は、他装置に対しデータを送受信する為の制御信号を生成する。通信インタフェース14は、他装置間においてデータを送受信するための装置であり、電波無線、光無線若しくは有線等のインタフェースを1つ以上搭載しているものとする。主記憶装置16は、主メモリとして、処理の手順を記述したプログラムや処理されるべきデータを一時的に記憶し、CPU15の要請に従ってプログラムの機械命令やデータを引き渡す。又、CPU15で処理されたデータは主記憶装置16に書き込まれる。主記憶装置16とCPU15はアドレスバス、データバス、制御信号等で結ばれている。   The input device 11 is an interface that receives an input signal from a keyboard, a mouse, or the like. The output device 12 is an interface for transmitting output signals such as processing results. A liquid crystal display, a CRT display, a printer, etc. may be included. The communication control device 13 generates a control signal for transmitting / receiving data to / from another device. The communication interface 14 is a device for transmitting and receiving data between other devices, and is equipped with one or more interfaces such as radio wave, optical radio, or cable. The main storage device 16 temporarily stores a program describing a processing procedure and data to be processed as a main memory, and delivers a machine instruction and data of the program according to a request from the CPU 15. Data processed by the CPU 15 is written to the main storage device 16. The main storage device 16 and the CPU 15 are connected by an address bus, a data bus, a control signal, and the like.

経路表記憶装置17は、図3に示すような移動端末100側にて作成されたIPv4経路表及びIPv6経路表、また図5に示すような更新されたIPv4経路表及び図4に示すような移動端末100側にて作成されたトンネルデバイスの設定等を格納する。   The routing table storage device 17 includes an IPv4 routing table and an IPv6 routing table created on the mobile terminal 100 side as shown in FIG. 3, an updated IPv4 routing table as shown in FIG. Stores the settings of the tunnel device created on the mobile terminal 100 side.

CPU15は、移動検出手段15a、ケアオブアドレス取得手段15b、IPv4経路表作成手段15c、IPv6経路表作成手段15d、IPv4経路制御手段15e、IPv6経路制御手段15f、登録要求手段15g、IPv4トンネル作成手段15h、IPv4IPv6トンネル作成手段15i等を備えている。   The CPU 15 includes movement detection means 15a, care-of-address acquisition means 15b, IPv4 route table creation means 15c, IPv6 route table creation means 15d, IPv4 route control means 15e, IPv6 route control means 15f, registration request means 15g, IPv4 tunnel creation means. 15h, IPv4IPv6 tunnel creating means 15i and the like.

移動検出手段15aは、自身がサブネットの境界を越えて移動したか否かの検出を行う手段である。ケアオブアドレス取得手段15bは、DHCPサーバ311からIPアドレスとデフォルトゲートウェイ情報を入手する手段である。   The movement detection means 15a is a means for detecting whether or not the movement detection means 15a has moved beyond the subnet boundary. The care-of-address acquisition unit 15 b is a unit that acquires an IP address and default gateway information from the DHCP server 311.

IPv4経路表作成手段15cは、移動端末100が起動した際若しくは移動検出後に、図3(a)、(b)に示すようなIPv4経路表を作成する。図3のIPv4経路表では、移動端末100が第2のサブネット331にて起動され経路表が作成された例を示している。なお、図3に関する詳細は後述する。   The IPv4 route table creation means 15c creates an IPv4 route table as shown in FIGS. 3A and 3B when the mobile terminal 100 is activated or after movement is detected. The IPv4 route table in FIG. 3 shows an example in which the mobile terminal 100 is activated in the second subnet 331 and the route table is created. Details regarding FIG. 3 will be described later.

IPv6経路表作成手段15dは、移動端末100が起動した際若しくは移動検出後に、図3(c)に示すようなIPv6経路表を作成する。IPv6経路表では、同図中の番号2と番号3にて示すように、インタフェースはEth0という物理デバイスに割り当てられている。つまり、この段階ではインタフェースはトンネルデバイスではない。   The IPv6 route table creating means 15d creates an IPv6 route table as shown in FIG. 3C when the mobile terminal 100 is activated or after movement is detected. In the IPv6 route table, as indicated by numbers 2 and 3 in the figure, the interface is assigned to a physical device named Eth0. In other words, the interface is not a tunnel device at this stage.

IPv4経路制御手段15eは、IPv4経路表の制御をおこなう手段である。例えば、IPv4トンネル作成手段15hが作成したトンネルを使用してパケット中継装置200へパケットを転送するようにする。IPv6経路制御手段15fは、IPv6経路表の制御を行う手段である。IPv4IPv6トンネル作成手段15iが作成したトンネルを使用してパケット中継装置200へパケットを転送するようにする。登録要求手段15gは、パケット中継装置200に対して登録要求を発行する。   The IPv4 route control means 15e is a means for controlling the IPv4 route table. For example, the packet is transferred to the packet relay apparatus 200 using the tunnel created by the IPv4 tunnel creation means 15h. The IPv6 route control means 15f is a means for controlling the IPv6 route table. The packet is transferred to the packet relay apparatus 200 using the tunnel created by the IPv4 IPv6 tunnel creation means 15i. The registration request unit 15g issues a registration request to the packet relay apparatus 200.

IPv4トンネル作成手段15hは、仮想的な通信インタフェースとして動作するトンネルデバイスであるIPv4/IPv4トンネルを作成する。またIPv4IPv6トンネル作成手段15iは、仮想的な通信インタフェースとして動作するトンネルデバイスであるIPv4/IPv6トンネルを作成する。   The IPv4 tunnel creation means 15h creates an IPv4 / IPv4 tunnel that is a tunnel device that operates as a virtual communication interface. The IPv4 IPv6 tunnel creation means 15i creates an IPv4 / IPv6 tunnel which is a tunnel device that operates as a virtual communication interface.

(パケット中継装置)
パケット中継装置200は、IPv4ネットワーク300とIPv6ネットワーク400を接続するためにIPv4ルータ機能とIPv6ルータ機能を搭載する。図1の例では、IPv6サーバ401のデフォルトルータとして機能する。
(Packet relay device)
The packet relay apparatus 200 is equipped with an IPv4 router function and an IPv6 router function in order to connect the IPv4 network 300 and the IPv6 network 400. In the example of FIG. 1, the IPv6 server 401 functions as a default router.

パケット中継装置200は、図6に示すように、入力装置21、出力装置22、通信制御装置23、通信インタフェース24、CPU25、主記憶装置26及び経路表記憶装置27等を備えている。   As shown in FIG. 6, the packet relay device 200 includes an input device 21, an output device 22, a communication control device 23, a communication interface 24, a CPU 25, a main storage device 26, a route table storage device 27, and the like.

経路表記憶装置27は、パケット中継装置200側にて作成された図8に示すようなIPv4経路表及びIPv6経路表、及び図7に示すようなパケット中継装置200側にて作成されたトンネルデバイスの設定等を格納する。   The routing table storage device 27 includes an IPv4 routing table and an IPv6 routing table as shown in FIG. 8 created on the packet relay device 200 side, and a tunnel device created on the packet relay device 200 side as shown in FIG. Stores settings etc.

CPU25は、認証手段25a、IPv4トンネル作成手段25b、IPv4IPv6トンネル作成手段25c、IPv4経路作成手段25d、IPv6経路作成手段25e、IPv4経路制御手段25f及びIPv4IPv6経路制御手段25g等を備えている。   The CPU 25 includes an authentication unit 25a, an IPv4 tunnel creation unit 25b, an IPv4 IPv6 tunnel creation unit 25c, an IPv4 route creation unit 25d, an IPv6 route creation unit 25e, an IPv4 route control unit 25f, an IPv4 IPv6 route control unit 25g, and the like.

認証手段25aは、移動端末100からの登録要求に対して、モバイルIPv4で規定の手法等を用いて、認証処理を行う。IPv4トンネル作成手段25bは、図7(a)に示すようなIPv4/IPv4トンネルを作成する。IPv4IPv6トンネル作成手段25cは、図7(b)に示すようなIPv4/IPv6トンネルを作成する。   In response to the registration request from the mobile terminal 100, the authentication unit 25a performs an authentication process using a method or the like prescribed in Mobile IPv4. The IPv4 tunnel creation means 25b creates an IPv4 / IPv4 tunnel as shown in FIG. The IPv4 / IPv6 tunnel creating means 25c creates an IPv4 / IPv6 tunnel as shown in FIG. 7 (b).

IPv4経路表作成手段25dは、図1のような環境にてパケット中継装置200が起動されると、図8(a)に示すようなIPv4経路表を作成する。図8(a)において、番号1では192.168.10.0/24に該当するパケットは、インタフェースEth0を使用しルーティングされる。番号2や3は、パケット中継装置に取り付けられるインタフェースの枚数やそのインタフェースごとのサブネット構成によって変化するため、特に詳細を規定するものではない。番号4では、デフォルトルータを図1の301のアドレスに指定した例を示している。   The IPv4 route table creation unit 25d creates an IPv4 route table as shown in FIG. 8A when the packet relay apparatus 200 is activated in the environment as shown in FIG. In FIG. 8A, a packet corresponding to 192.168.10.0/24 in the number 1 is routed using the interface Eth0. The numbers 2 and 3 do not particularly define details because they vary depending on the number of interfaces attached to the packet relay apparatus and the subnet configuration for each interface. No. 4 shows an example in which the default router is designated as the address 301 in FIG.

IPv6経路表作成手段25eは、図1のような環境にてパケット中継装置200が起動されると、図8(b)に示すようなIPv6経路表を作成する。図8(b)において、番号1は自らのループバック経路、番号2はIPv6サーバ401へパケットが転送できるように明示した例を示している。   The IPv6 route table creating unit 25e creates an IPv6 route table as shown in FIG. 8B when the packet relay apparatus 200 is activated in the environment as shown in FIG. In FIG. 8B, number 1 indicates an own loopback route, and number 2 indicates an example clearly indicating that a packet can be transferred to the IPv6 server 401.

IPv4経路制御手段25fは、IPv4経路の制御を行う。例えば、図8(c)に示すようにIPv4経路を修正する。IPv4IPv6経路制御手段25gは、IPv6経路の制御を行う。例えば、図8(d)に示すようにIPv6経路を修正する。   The IPv4 route control means 25f controls the IPv4 route. For example, the IPv4 route is corrected as shown in FIG. The IPv4 IPv6 route control means 25g controls the IPv6 route. For example, the IPv6 route is corrected as shown in FIG.

尚、その他の装置については図2の移動端末100の構造と同様であるため、説明を省略する。   Other devices are the same as those of the mobile terminal 100 shown in FIG.

(通信方法)
通信システム1の全体動作を図9のシーケンス図に示す。図9の実線は移動前の移動端末100、点線は移動後の移動端末100aの動作を示すものとする。尚、移動端末100を起動した際に、予めIPv4経路表作成手段15cは図3(a),(b)のIPv4経路表を作成し、IPv6経路表作成手段15dは図3(c)のIPv6経路表を作成するものとする。又、パケット中継装置200を起動した際に、予めIPv4経路表作成手段25dは図8(a)のIPv4経路表を作成し、IPv6経路表作成手段25eは図8(b)のIPv6経路表を作成するものとする。
(Communication method)
The overall operation of the communication system 1 is shown in the sequence diagram of FIG. The solid line in FIG. 9 indicates the operation of the mobile terminal 100 before movement, and the dotted line indicates the operation of the mobile terminal 100a after movement. When the mobile terminal 100 is activated, the IPv4 route table creation unit 15c creates the IPv4 route table shown in FIGS. 3A and 3B in advance, and the IPv6 route table creation unit 15d uses the IPv6 route shown in FIG. 3C. A routing table shall be created. Also, when the packet relay apparatus 200 is activated, the IPv4 route table creation means 25d creates the IPv4 route table in FIG. 8A in advance, and the IPv6 route table creation means 25e obtains the IPv6 route table in FIG. 8B. Shall be created.

(a)先ず、移動前の移動端末100が、図1の第1サブネット330に存在するとする。この時、ステップS1においてDHCPサーバ310よりケアオブアドレスを取得する。この際に移動端末100はIPv4経路表を修正する。 (A) First, it is assumed that the mobile terminal 100 before moving exists in the first subnet 330 of FIG. At this time, a care-of address is acquired from the DHCP server 310 in step S1. At this time, the mobile terminal 100 corrects the IPv4 route table.

(b)ステップS2において、ケアオブアドレスを基に、パケット中継装置200に対し登録を要求し、ステップS3にてその登録の応答を受信する。登録が正常に行われた場合、パケット中継装置200はIPv4経路表とIPv6経路表を修正する。 (B) In step S2, based on the care-of address, the packet relay apparatus 200 is requested to register, and in step S3, the registration response is received. When registration is performed normally, the packet relay apparatus 200 corrects the IPv4 route table and the IPv6 route table.

(c)ステップS4において、移動端末100はIPv4/IPv4トンネルを作成し、作成後は移動端末100及びパケット中継装置200間は、IPv4/IPv4トンネルを介して、IPv4サーバ303とIPv4データを送信したり(ステップS5)、受信したりする(ステップS6)。同様にステップS7において、移動端末100はIPv4/IPv6トンネルを作成し、作成後は移動端末100及びパケット中継装置200間は、IPv4/IPv6トンネルを介して、IPv6サーバ401とIPv6データを送信したり(ステップS8)、受信したりする(ステップS9)。 (C) In step S4, the mobile terminal 100 creates an IPv4 / IPv4 tunnel, and after creation, the IPv4 data is transmitted between the mobile terminal 100 and the packet relay apparatus 200 via the IPv4 / IPv4 tunnel with the IPv4 server 303. (Step S5) or receive (step S6). Similarly, in step S7, the mobile terminal 100 creates an IPv4 / IPv6 tunnel, and after creation, the mobile terminal 100 and the packet relay apparatus 200 transmit IPv6 data with the IPv6 server 401 via the IPv4 / IPv6 tunnel. (Step S8) or receive (Step S9).

(d)次に、移動端末100が第2サブネット331に移動したとする。移動後の移動端末100aは、ステップS10においてDHCPサーバ311より新たにケアオブアドレスを取得する。ステップS11において、パケット中継装置200に対し再度登録を要求し、ステップS12にてその登録の応答を受信する。また移動端末100a及びパケット中継装置200は、各々の経路表を更新する。 (D) Next, it is assumed that the mobile terminal 100 has moved to the second subnet 331. The mobile terminal 100a after moving acquires a care-of address from the DHCP server 311 in step S10. In step S11, the packet relay apparatus 200 is requested to register again, and the registration response is received in step S12. In addition, the mobile terminal 100a and the packet relay apparatus 200 update their route tables.

(e)ステップS13において、移動端末100aはIPv4/IPv4トンネルを更新し、更新後はステップS5,6と同様に、更新されたIPv4/IPv4トンネルを介して、IPv4サーバ303とIPv4データを送受信する。同様にステップS14において、移動端末100はIPv4/IPv6トンネルを更新し、更新後はステップS8,9と同様に、更新されたIPv4/IPv6トンネルを介して、IPv6サーバ401とIPv6データを送受信する。 (E) In step S13, the mobile terminal 100a updates the IPv4 / IPv4 tunnel, and after the update, transmits and receives IPv4 data to and from the IPv4 server 303 via the updated IPv4 / IPv4 tunnel, as in steps S5 and S6. . Similarly, in step S14, the mobile terminal 100 updates the IPv4 / IPv6 tunnel. After the update, the mobile terminal 100 transmits / receives IPv6 data to / from the IPv6 server 401 via the updated IPv4 / IPv6 tunnel as in steps S8 and S9.

上述した動作にて実際にデータ通信を行った一例として、図1の移動端末100が移動先のサブネット「192.168.20.0/24」からIPv4サーバ303とIPv6サーバ401へ、ICMP(インターネットコントロールメッセージプロトコル)にてPingコマンドを送受信する際のパケットヘッダの構造とデータフローの関係を図10を参照して説明する。   As an example of actually performing data communication in the above-described operation, the mobile terminal 100 in FIG. 1 transmits ICMP (Internet) to the IPv4 server 303 and the IPv6 server 401 from the destination subnet “192.168.20.0/24”. The relationship between the structure of the packet header and the data flow when the Ping command is transmitted / received by the control message protocol) will be described with reference to FIG.

先ずステップS21において、移動端末100がケアオブアドレス「192.168.20.100」を取得する。移動端末100からIPv4サーバ303へのPing要求は、IPv4/IPv4トンネルデバイスによりパケット中継装置200宛てアドレス「192.168.10.230」のパケットとなり、パケット中継装置200へ送信される。ステップS22において、パケット中継装置200がIPv4/IPv4トンネルからデータ部を抽出し、IPv4サーバ303のアドレス「192.168.30.1」へパケットを転送する。   First, in step S21, the mobile terminal 100 acquires a care-of address “192.168.20.100”. A Ping request from the mobile terminal 100 to the IPv4 server 303 is transmitted to the packet relay apparatus 200 as an address “192.168.10.230” addressed to the packet relay apparatus 200 by the IPv4 / IPv4 tunnel device. In step S 22, the packet relay apparatus 200 extracts the data part from the IPv4 / IPv4 tunnel, and transfers the packet to the address “192.168.30.1” of the IPv4 server 303.

ステップS23において、IPv4サーバ303からPingリプライが送信されると、ステップS24にてパケット中継装置200のトンネルデバイスが、移動端末100のケアオブアドレス宛てへ送信する。   In step S23, when a Ping reply is transmitted from the IPv4 server 303, the tunnel device of the packet relay apparatus 200 transmits to the care-of address of the mobile terminal 100 in step S24.

IPv6サーバ401へのPing要求の場合、移動端末からのパケットデータはステップS25において、IPv6/IPv4トンネルを介し、パケット中継装置200のIPv4アドレス「192.168.10.230」宛てとなって送信される。データ内部では、移動端末100のIPv6アドレス「2002:c0a8:e6::c0a8:16」を送信元としIPv6サーバ401アドレス「3ffe:0:c:ffff::abcd」を送信宛とする。ステップS26において、パケット中継装置200は、IPv6/IPv4トンネルよりIPv6のPing要求を抽出し、該当するIPv6サーバ401へ転送する。   In the case of a Ping request to the IPv6 server 401, the packet data from the mobile terminal is transmitted to the IPv4 address “192.168.10.230” of the packet relay apparatus 200 via the IPv6 / IPv4 tunnel in step S25. The In the data, the IPv6 address “2002: c0a8: e6 :: c0a8: 16” of the mobile terminal 100 is set as the transmission source, and the IPv6 server 401 address “3ffe: 0: c: ffff :: abcd” is set as the transmission destination. In step S <b> 26, the packet relay apparatus 200 extracts an IPv6 Ping request from the IPv6 / IPv4 tunnel and transfers it to the corresponding IPv6 server 401.

ステップS27において、IPv6サーバ401が、デフォルトルータであるパケット中継装置200へPingリプライを返す。ステップS28において、パケット中継装置200はIPv4/IPv6トンネルによって、Pingリプライを移動端末100のケアオブアドレス宛へ送信する。   In step S27, the IPv6 server 401 returns a Ping reply to the packet relay apparatus 200 which is a default router. In step S28, the packet relay apparatus 200 transmits a Ping reply to the care-of address of the mobile terminal 100 through the IPv4 / IPv6 tunnel.

(プロトコルスタック)
次に、図1の通信システム1において使用されるプロトコルスタックについて説明する。例として、図1の移動端末100は、電波無線インタフェースと光無線インタフェースを備えるものとする。サブネット331は社内の事務室等であり、光無線のアクセスポイント322を備え、サブネット330は社内の実験室等であり、電波無線のアクセスポイント320を備えるものとする。
(Protocol stack)
Next, a protocol stack used in the communication system 1 in FIG. 1 will be described. As an example, the mobile terminal 100 in FIG. 1 is provided with a radio wave radio interface and an optical radio interface. The subnet 331 is an in-house office room or the like and includes an optical wireless access point 322, and the subnet 330 is an in-house laboratory or the like and includes a radio wave access point 320.

移動端末100がサブネット331に移動すると、光無線インタフェースを介してIPv4サーバ303やIPv6サーバ401とデータ通信を行う。また移動端末100がサブネット330に移動すると、光無線インタフェースを電波無線インタフェースに切り替えて、両サーバとデータ通信を行う。この様に移動端末100は、IP環境を移動する際、インタフェースを切り替えることにより両サーバとのデータ継続性を確保する。   When the mobile terminal 100 moves to the subnet 331, data communication is performed with the IPv4 server 303 and the IPv6 server 401 via the optical wireless interface. Further, when the mobile terminal 100 moves to the subnet 330, the optical wireless interface is switched to the radio wave wireless interface to perform data communication with both servers. In this way, the mobile terminal 100 ensures data continuity with both servers by switching interfaces when moving in an IP environment.

通信システム1において、アプリケーションの一例として、pingアプリケーションを実行した際に、IPv4サーバ303及び移動端末100間のデータ通信の流れは、図11に示すようになる。   As an example of the application in the communication system 1, when a ping application is executed, the flow of data communication between the IPv4 server 303 and the mobile terminal 100 is as shown in FIG.

(a)先ず、ステップS31において、IPv4サーバ303へpingが要求される。通信サービス層は、ping要求をTCP/UDP層に送信する。ステップS32において、TCP/UDP層のUDPが利用されて、IPv4層によりping要求パケットにヘッダ等が付加される。ping要求はIPv4アドレス宛てへのパケットなのでIPv4ヘッダが付加される。 (A) First, in step S31, the IPv4 server 303 is requested to ping. The communication service layer transmits a ping request to the TCP / UDP layer. In step S32, the TCP / UDP layer UDP is used to add a header or the like to the ping request packet by the IPv4 layer. Since the ping request is a packet addressed to the IPv4 address, an IPv4 header is added.

(b)ステップS33では、IPv4経路表を参照し、トンネルデバイスを介してIPv4サーバ303へ通信を行うよう設定する。ステップS34ではトンネルデバイス「tunl1」へパケットが流れる。tunl1では、宛先アドレスをパケット中継装置200へとカプセル化する。 (B) In step S33, the IPv4 route table is referred to, and communication is set to the IPv4 server 303 via the tunnel device. In step S34, the packet flows to the tunnel device “tunl1”. In tun1, the destination address is encapsulated in the packet relay device 200.

(c)ステップS35において、パケット中継装置200宛になったping要求パケットは、もう一度IPv4経路表を参照する。IPv4経路表参照の結果、例えば、光無線インタフェースである通信デバイスEth0にて送信されると設定されていると、ステップS36において、該当パケットは光無線インタフェース層に送信される。ステップS37ではパケットは送信先のLANやアクセスポイントに対し引き渡される。 (C) In step S35, the ping request packet addressed to the packet relay apparatus 200 refers to the IPv4 route table again. As a result of referring to the IPv4 route table, for example, if it is set to be transmitted by the communication device Eth0 that is an optical wireless interface, the corresponding packet is transmitted to the optical wireless interface layer in step S36. In step S37, the packet is delivered to the destination LAN or access point.

同様に、IPv6サーバ401と移動端末100においてpingアプリケーションを実行した際のIPv6サーバ401及び移動端末100間のデータ通信の流れは、図12に示すようになる。   Similarly, the flow of data communication between the IPv6 server 401 and the mobile terminal 100 when the ping application is executed in the IPv6 server 401 and the mobile terminal 100 is as shown in FIG.

(a)先ずステップS41において、IPv6サーバ401へpingが要求される。通信サービス層は、ping要求をTCP/UDP層に送信する。ステップS42において、IPv6サーバ401宛てのping要求コマンドは、IPv6層によりIPv6ヘッダ等のヘッダが付加される。 (A) First, in step S41, the IPv6 server 401 is requested to ping. The communication service layer transmits a ping request to the TCP / UDP layer. In step S42, a header such as an IPv6 header is added to the ping request command addressed to the IPv6 server 401 by the IPv6 layer.

(b)ステップS43では、IPv6経路表を参照する。参照の結果、IPv6サーバ401宛てのパケットであるため、IPv6/IPv4トンネルデバイスへ転送するよう設定する。ステップS44では、パケットはトンネルデバイスsit1へ転送される。トンネルデバイスsit1では宛先アドレスをパケット中継装置200(IPv4アドレス)へとカプセル化する。 (B) In step S43, the IPv6 route table is referenced. Since the packet is addressed to the IPv6 server 401 as a result of the reference, the packet is set to be transferred to the IPv6 / IPv4 tunnel device. In step S44, the packet is transferred to the tunnel device sit1. The tunnel device sit1 encapsulates the destination address into the packet relay device 200 (IPv4 address).

(c)ステップS45においては、カプセル化した後のデータパケットはIPv4パケットであるため、IPv4経路表が参照される。IPv4経路表参照の結果、例えば、光無線インタフェースである通信デバイスEth0にて送信されると設定されていると、ステップS46において、該当パケットは光無線インタフェース層に送信される。ステップS47ではパケットは送信先のLANやアクセスポイントに対し引き渡される。 (C) In step S45, since the encapsulated data packet is an IPv4 packet, the IPv4 route table is referred to. As a result of referring to the IPv4 route table, for example, if it is set to be transmitted by the communication device Eth0 that is an optical wireless interface, the corresponding packet is transmitted to the optical wireless interface layer in step S46. In step S47, the packet is delivered to the destination LAN or access point.

このように、IPv6環境からIPv4環境に転送される場合においては、IPv4/IPv6経路表を、パケットをルーティングする。   As described above, when the packet is transferred from the IPv6 environment to the IPv4 environment, the packet is routed through the IPv4 / IPv6 route table.

(移動端末の動作)
次に移動端末100が第1サブネット330から第2サブネット331へ移動した際の通信動作について図13のフローチャートを参照して詳細に説明する。尚、移動端末100の起動時又はステップS101の検出時のいずれかにおいて、図3(a)、(b)に示すようなIPv4経路表及び図3(c)に示すようなIPv6経路表を作成するものとする。
(Mobile terminal operation)
Next, a communication operation when the mobile terminal 100 moves from the first subnet 330 to the second subnet 331 will be described in detail with reference to the flowchart of FIG. It should be noted that an IPv4 route table as shown in FIGS. 3 (a) and 3 (b) and an IPv6 route table as shown in FIG. 3 (c) are created either when the mobile terminal 100 is activated or detected at step S101. It shall be.

(a)先ずステップS101において、図2の移動端末100の移動検出手段15aは、自身がサブネットの境界を越えて移動したか否かの検出を行う。移動検出手法としては、例えばルータ広告パケットを受信して異なるサブネットへ移動したことを検出する手法や、電波無線アクセスポイントのシグナル強度を観測しておき、閾値レベル以上の新たなアクセスポイントが観測された際には移動したと判断する手法などある。また、電波無線以外の通信インタフェースを使用するならば、有線信号や光無線等のリンク信号を観測し、リンク信号がOFFからONに変化した際に移動したと判断すれば良い。尚、この際に移動処理動作を行う。この動作は後述する。 (A) First, in step S101, the movement detection means 15a of the mobile terminal 100 in FIG. 2 detects whether or not it has moved beyond the subnet boundary. As a movement detection method, for example, a method of detecting that a router advertisement packet has been received and moving to a different subnet, or a signal intensity of a radio access point is observed, and a new access point above a threshold level is observed. There is a method to judge that it has moved. If a communication interface other than radio waves is used, a link signal such as a wired signal or optical radio is observed, and it may be determined that the link signal has moved when the link signal changes from OFF to ON. At this time, the movement processing operation is performed. This operation will be described later.

(b)移動を検出したならば、ステップS102においてケアオブアドレス取得手段15bがDHCPサーバ311からIPアドレスとデフォルトゲートウェイ情報を入手する。このIPアドレスは、移動先の第2サブネット331内でケアオブアドレスとして使用する。また、デフォルトゲートウェイ情報により、第2サブネット331のデフォルトゲートウェイは第1ルータ301のアドレス「192.168.20.254」と設定される。 (B) If movement is detected, the care-of-address acquisition unit 15b acquires the IP address and default gateway information from the DHCP server 311 in step S102. This IP address is used as a care-of address in the second subnet 331 of the movement destination. The default gateway information sets the default gateway of the second subnet 331 as the address “192.168.20.254” of the first router 301.

(c)ステップS103においては、IPv4経路表作成手段15cが、図3に示すようなIPv4経路表を作成する。パケットを送信転送する際にはこの経路表が参照され、表中で合致したインタフェースや設定値を元に、通信相手へ送信転送される。例えば、図3(a)にはパケット中継装置宛ての経路を直接しない方法で、IPv4経路を設定している。番号1では、192.168.20.0/24宛、つまり第2サブネット331宛のパケットはインタフェースEth0を使用してパケットを転送すると設定している。番号2は、ループバックテスト用の表記、つまり自端末内部での経路である。   (C) In step S103, the IPv4 route table creation means 15c creates an IPv4 route table as shown in FIG. When the packet is transmitted and forwarded, this route table is referred to, and the packet is transmitted and forwarded to the communication partner on the basis of the interface and setting value matched in the table. For example, in FIG. 3A, the IPv4 route is set by a method that does not directly route the route addressed to the packet relay device. In the number 1, the packet addressed to 192.168.20.0/24, that is, the packet addressed to the second subnet 331 is set to transfer the packet using the interface Eth0. Number 2 is a notation for a loopback test, that is, a route inside the terminal itself.

番号3は、上記番号1及び2に合致しない全てのパケットは、ゲートウェイ「192.168.20.254」、つまり第1ルータ301へインタフェースEth0を介して送信すると設定している。すなわち図3(a)のIPv4経路表は、パケット中継装置200「192.168.10.230」宛てのパケットを送信するために、番号3の第1ルータ301を指定している。後述されるトンネルデバイスにより、第1ルータ301は、パケット中継装置200へパケットをルーティングする。   The number 3 is set so that all packets that do not match the numbers 1 and 2 are transmitted to the gateway “192.168.20.254”, that is, the first router 301 via the interface Eth0. That is, the IPv4 route table of FIG. 3A designates the first router 301 with the number 3 in order to transmit a packet addressed to the packet relay apparatus 200 “192.168.10.230”. The first router 301 routes the packet to the packet relay apparatus 200 by a tunnel device described later.

一方、図3(b)には図3(a)にパケット中継装置200への経路を直接追加したIPv4経路表である。これによりパケット中継装置200宛てのパケットは、デフォルトに設定される第1ルータ301へ、インタフェースEth0を介して転送される。   On the other hand, FIG. 3B is an IPv4 route table in which a route to the packet relay apparatus 200 is directly added to FIG. As a result, the packet addressed to the packet relay apparatus 200 is transferred to the first router 301 set as default via the interface Eth0.

図3(a),(b)のどちらのIPv4経路表でも、パケット中継装置200宛てのパケットは確実に送信可能である。しかし、後述するトンネルデバイスにおいては、図3(b)の経路表にて経路制御を行えば、図3(b)の経路表の番号4の経路設定を変更するだけで経路制御が可能となり、効率がよい。   Packets destined for the packet relay apparatus 200 can be reliably transmitted in either of the IPv4 route tables of FIGS. 3 (a) and 3 (b). However, in the tunnel device described later, if the route control is performed in the route table of FIG. 3B, the route control can be performed only by changing the route setting of the number 4 in the route table of FIG. Efficiency is good.

(d)ステップS104において、図2の登録要求手段15gは、パケット中継装置200に対し登録要求を発行する。登録要求パケットは、モバイルIPv4で規定の登録要求パケットであり、図1に示す移動端末100のIPv6ホームアドレス「2002:c0a8:e6::c0a8:16」を含めて送信する。IPv6ホームアドレスを含めない場合は、パケット中継装置200において移動端末100のIPv4ホームアドレス「192.168.0.22」からIPv6ホームアドレスへ変換するテーブル等を保持し、このテーブルを参照することで移動端末100のIPv6ホームアドレスを取得する。この様なテーブルによる管理だけでなく、このIPv6ホームアドレスは、予めパケット中継装置200と移動端末100の間で決められた方法で管理されても良い。例えば、「2002:ホームのIPv4サブネット::固定IPv4ホームアドレス」等に設定する。 (D) In step S <b> 104, the registration request unit 15 g in FIG. 2 issues a registration request to the packet relay device 200. The registration request packet is a registration request packet defined in Mobile IPv4, and is transmitted including the IPv6 home address “2002: c0a8: e6 :: c0a8: 16” of the mobile terminal 100 shown in FIG. When the IPv6 home address is not included, the packet relay apparatus 200 holds a table for converting the IPv4 home address “192.168.0.22” of the mobile terminal 100 to the IPv6 home address, and the like by referring to this table. The IPv6 home address of the mobile terminal 100 is acquired. In addition to management using such a table, the IPv6 home address may be managed by a method determined in advance between the packet relay apparatus 200 and the mobile terminal 100. For example, “2002: Home IPv4 subnet :: Fixed IPv4 home address” is set.

パケット中継装置200は、移動端末100のIPv4及びIPv6ホームアドレスを管理し、管理対象となる移動端末100を認証・判断するために使用する。   The packet relay apparatus 200 manages the IPv4 and IPv6 home addresses of the mobile terminal 100, and is used to authenticate and determine the mobile terminal 100 to be managed.

パケット中継装置200が、タイムアウトや管理対象外移動端末であることを理由に登録要求を受理しない場合は、この処理を終了する。   If the packet relay apparatus 200 does not accept a registration request because of a timeout or an unmanaged mobile terminal, this process ends.

(e)登録要求が受理されると、ステップS105において、IPv4トンネル作成手段15hはIPv4/IPv4トンネルを作成する。またIPv4IPv6トンネル作成手段15iはIPv4/IPv6トンネルを作成する。両トンネルとも、仮想的な通信インタフェースとして動作するトンネルデバイスであり、もし以前にトンネルデバイスが作成してあれば、送信元アドレスを修正することでトンネルを更新する。 (E) When the registration request is accepted, the IPv4 tunnel creation means 15h creates an IPv4 / IPv4 tunnel in step S105. The IPv4 / IPv6 tunnel creating means 15i creates an IPv4 / IPv6 tunnel. Both tunnels are tunnel devices that operate as virtual communication interfaces. If a tunnel device has been created before, the tunnel is updated by modifying the source address.

例えば、移動先のDHCPサーバ311からケアオブアドレス「192.168.20.100」を入手したとする。この場合、IPv4/IPv4トンネルの名称を仮に「tunl1」とし、トンネルデバイスのIPアドレスを移動端末100のIPv4ホームアドレス、送信元アドレスをケアオブアドレス、送信先アドレスをパケット中継装置200のIPアドレスに指定し、図4(a)のようにtunl1を作成する。Tunl1は、RFC2003のIPinIPに準拠する。   For example, it is assumed that the care-of address “192.168.20.100” is obtained from the destination DHCP server 311. In this case, the name of the IPv4 / IPv4 tunnel is assumed to be “tunl1”, the IP address of the tunnel device is the IPv4 home address of the mobile terminal 100, the source address is the care-of address, and the destination address is the IP address of the packet relay device 200. Designate and create tun1 as shown in FIG. Tunl1 conforms to RFCin IPinIP.

同様に、IPv4/IPv6トンネルの名称を仮に「sit1」とし、トンネルデバイスのIPアドレスを移動端末100のIPv6ホームアドレス、送信元アドレスをケアオブアドレス、送信先アドレスをパケット中継装置200のIPアドレスに指定し、図4(b)のようにsit1を作成する。   Similarly, the name of the IPv4 / IPv6 tunnel is “sit1”, the IP address of the tunnel device is the IPv6 home address of the mobile terminal 100, the source address is the care-of address, and the destination address is the IP address of the packet relay device 200. Designate and create site1 as shown in FIG.

(f)ステップS106においては、作成されたIPv4及びIPv6の経路表を基に、経路制御を行う。 (F) In step S106, route control is performed based on the created IPv4 and IPv6 route tables.

IPv4経路制御手段15eは、図5(a)中のIPv4経路表の番号4に示すように、デフォルトゲートウェイアドレスをパケット中継装置200のIPアドレスに設定し、使用するインタフェースをIPv4トンネル作成手段15hが作成したtunl1に設定する。これにより、移動先の第2サブネット331内宛て以外のデータパケットはtunl1を使用することになる。   The IPv4 route control means 15e sets the default gateway address to the IP address of the packet relay device 200 as shown in the number 4 of the IPv4 route table in FIG. 5A, and the IPv4 tunnel creation means 15h sets the interface to be used. Set to created tunl1. As a result, data packets other than those destined for the destination second subnet 331 use tun1.

IPv6経路制御手段15fも同様に、図5(b)中のIPv6経路表の番号3に示すように、番号1と番号2に合致しない宛先のパケットはIPv4IPv6トンネル作成手段15iが作成したsit1を使用するように設定する。番号2のようにIPv4/IPv6トンネルデバイスの上位ビット、ここでは「2000」に合致する経路もsit1を使用するように設定しておけば、これに一致するIPv6アドレスはsit1を使用することになり、パケット中継装置200間との転送をより確実にすることができる。番号2は、トンネルデバイスのIPv6アドレスの割り当て方により、Destination(デスティネーション)を変更する。   Similarly, the IPv6 route control means 15f uses the site 1 created by the IPv4 IPv6 tunnel creation means 15i for destination packets that do not match the numbers 1 and 2, as shown in the number 3 of the IPv6 route table in FIG. 5B. Set to If the route that matches the upper bits of the IPv4 / IPv6 tunnel device, such as number 2, here "2000" is also set to use site1, the IPv6 address that matches this will use site1. Thus, the transfer between the packet relay devices 200 can be made more reliable. Number 2 changes the Destination (destination) depending on how the IPv6 address of the tunnel device is assigned.

(パケット中継装置の動作)
次にパケット中継装置200の通信動作について図14のフローチャートを参照して詳細に説明する。尚、パケット中継装置200の起動時又はステップS201の検出時のいずれかにおいて、図8(a)に示すようなIPv4経路表及び図8(b)に示すようなIPv6経路表を作成するものとする。
(Operation of packet relay device)
Next, the communication operation of the packet relay apparatus 200 will be described in detail with reference to the flowchart of FIG. It should be noted that an IPv4 route table as shown in FIG. 8 (a) and an IPv6 route table as shown in FIG. 8 (b) are created either when the packet relay device 200 is activated or when detected in step S201. To do.

(a)ステップS201において、図6のパケット中継装置200の認証手段25aが、移動端末100からの登録要求を受信し、認証処理を行う。認証方法は、モバイルIPv4で規定の方法で行う。または、登録要求に含まれる移動端末100のホームアドレスを比較し管理対象の移動端末100か否か判断する。比較するホームアドレスはIPv4,IPv6のどちらでも良いが、ステップS101にて上述したように移動端末100からの登録要求中にIPv6ホームアドレスが含まれない場合、予め保持する変換テーブル等を参照し、IPv4ホームアドレスからIPv6ホームアドレスを取得する。判断の結果、管理対象でない移動端末100である場合、ステップS202にて認証不成功を移動端末100へ返答し、この処理を終了する。認証が成功すると、ステップS203にて認証成功を移動端末100へ返答し、ステップS204へ進む。 (A) In step S201, the authentication unit 25a of the packet relay apparatus 200 in FIG. 6 receives a registration request from the mobile terminal 100 and performs an authentication process. The authentication method is performed by a method specified in Mobile IPv4. Alternatively, the home address of the mobile terminal 100 included in the registration request is compared to determine whether the mobile terminal 100 is a management target. The home address to be compared may be either IPv4 or IPv6, but if the IPv6 home address is not included in the registration request from the mobile terminal 100 as described above in step S101, refer to the conversion table held in advance, An IPv6 home address is obtained from the IPv4 home address. As a result of the determination, if the mobile terminal 100 is not a management target, an authentication failure is returned to the mobile terminal 100 in step S202, and this process ends. If the authentication is successful, authentication success is returned to the mobile terminal 100 in step S203, and the process proceeds to step S204.

(b)ステップS204においては、IPv4トンネル作成手段25bがIPv4/IPv4トンネルを作成する。IPv4/IPv4トンネルは、図7(a)に示すように、移動端末100と同様に名称を仮に「Tunl1」とし、ホームアドレスをパケット中継装置200のIPv4アドレス「192.168.10.230」に、送信元アドレスもパケット中継装置200のアドレスに、送信先アドレスを移動端末100のケアオブアドレスに設定する。   (B) In step S204, the IPv4 tunnel creation means 25b creates an IPv4 / IPv4 tunnel. As shown in FIG. 7A, the name of the IPv4 / IPv4 tunnel is assumed to be “Tunl1” and the home address is set to the IPv4 address “192.168.10.230” of the packet relay apparatus 200, as in the mobile terminal 100. The transmission source address is set to the address of the packet relay apparatus 200, and the transmission destination address is set to the care-of address of the mobile terminal 100.

同様に、IPv4IPv6トンネル作成手段25cがIPv4/IPv6トンネルを作成する。IPv4/IPv6トンネルは、図7(b)に示すように、移動端末100と同様に名称を仮に「sit1」とし、ホームアドレスをパケット中継装置200のIPv6アドレス「2002:c0a8:e6::c0a8:e6」に、送信元アドレスはパケット中継装置200のIPv4アドレスに、送信先アドレスを移動端末100のケアオブアドレスに設定する。   Similarly, the IPv4 / IPv6 tunnel creating means 25c creates an IPv4 / IPv6 tunnel. As shown in FIG. 7B, the name of the IPv4 / IPv6 tunnel is assumed to be “sit1” and the home address is the IPv6 address “2002: c0a8: e6 :: c0a8:” of the packet relay apparatus 200, as in the mobile terminal 100. In “e6”, the source address is set to the IPv4 address of the packet relay apparatus 200, and the destination address is set to the care-of address of the mobile terminal 100.

(c)ステップS205においては、IPv4経路制御手段25fが、経路制御の為、図8(c)に示すように、IPv4経路表を修正する。つまり、番号1に示すように、移動端末100のホームアドレス宛てのパケットはTunl1を使用するように設定する。 (C) In step S205, the IPv4 route control means 25f modifies the IPv4 route table as shown in FIG. 8C for route control. That is, as indicated by the number 1, the packet addressed to the home address of the mobile terminal 100 is set to use Tunl1.

また、IPv4IPv6経路制御手段25gが、移動先で移動端末100が作成するIPv6アドレスの経路をIPv6経路表に追加し、図8(d)に示すようにIPv6経路表を修正する。つまり、番号2に示すように、移動端末100のIPv6ホームアドレス宛てのパケットはsit1を使用するように設定する。   Further, the IPv4 IPv6 route control means 25g adds the route of the IPv6 address created by the mobile terminal 100 at the destination to the IPv6 route table, and corrects the IPv6 route table as shown in FIG. That is, as indicated by the number 2, the packet addressed to the IPv6 home address of the mobile terminal 100 is set to use site 1.

(移動処理の動作)
次に、ステップS101において、移動端末100がサブネットを移動したことを検出した後の移動処理動作について図15のシーケンス図を参照して説明する。
(Move processing operation)
Next, the movement processing operation after detecting that the mobile terminal 100 has moved in the subnet in step S101 will be described with reference to the sequence diagram of FIG.

(a)先ずステップS301において、移動端末100が移動を検出すると、DHCPクライアントを起動しケアオブアドレスやデフォルトルータのIPアドレス等のネットワーク設定を入手する。具体的には、移動先の第2サブネット331にてDHCPサーバ311を発見する為に、DHCPディスカバパケットを送信する。 (a) First, in step S301, when the mobile terminal 100 detects movement, the DHCP client is activated to obtain network settings such as a care-of address and an IP address of a default router. Specifically, a DHCP discover packet is transmitted in order to discover the DHCP server 311 in the second subnet 331 at the movement destination.

(b)ステップS302において、DHCPサーバ311は、使用できるネットワーク設定をDHCPオファパケットで返答する。ステップS303において、移動端末100は使用したいネットワーク設定をDHCPリクエストパケットにて要求する。ステップS304においてDHCPサーバ311は、要求を許可する場合にはその旨をDHCPアクノレッジパケットにて返答する。 (B) In step S302, the DHCP server 311 returns a usable network setting as a DHCP offer packet. In step S303, the mobile terminal 100 requests a network setting to be used by a DHCP request packet. In step S304, when permitting the request, the DHCP server 311 replies to that effect with a DHCP acknowledge packet.

(c)DHCPサーバ311より、移動先の第2サブネット331におけるネットワーク設定を入手した移動端末100は、図13のステップS102において説明したように、パケット中継装置200へ登録要求を送信し(S305)、パケット中継装置200は、認証後に登録応答を移動先ケアオブアドレス宛へパケットを送信する(S306)。 (C) The mobile terminal 100 that has obtained the network setting in the second subnet 331 of the movement destination from the DHCP server 311 transmits a registration request to the packet relay apparatus 200 as described in step S102 of FIG. 13 (S305). The packet relay apparatus 200 transmits a packet with a registration response to the destination care-of address after authentication (S306).

上述したように、IPv4からIPv6移行期における、異種IPバージョン混在ネットワーク環境下において、移動端末がIPv4環境又はIPv6環境のサブネットより、別のIPv4環境サブネットへ移動しても、経路表に従ってトンネルデバイスを設定することにより、自動で移動先のネットワーク環境に対応させることができる。これによりデータ通信の継続性を確保する通信サービスを提供することができる。   As described above, even when a mobile terminal moves from an IPv4 environment or a subnet of an IPv6 environment to another IPv4 environment subnet in a heterogeneous IP version mixed network environment in the transition period from IPv4 to IPv6, By setting, it is possible to automatically correspond to the network environment of the movement destination. As a result, a communication service that ensures continuity of data communication can be provided.

本発明の実施の形態に係る通信システムの構成を示す図である。It is a figure which shows the structure of the communication system which concerns on embodiment of this invention. 本発明の実施の形態に係る移動端末の構成を示す図である。It is a figure which shows the structure of the mobile terminal which concerns on embodiment of this invention. 移動端末側のIPv4経路表のデータ構成を示す図である。It is a figure which shows the data structure of the IPv4 routing table by the side of a mobile terminal. 移動端末側のトンネルデバイスのデータ構成を示す図である。It is a figure which shows the data structure of the tunnel device by the side of a mobile terminal. 移動端末側の経路表の修正後のデータ構成を示す図である。It is a figure which shows the data structure after correction | amendment of the routing table by the side of a mobile terminal. 本発明の実施の形態に係るパケット中継装置の構成を示す図である。It is a figure which shows the structure of the packet relay apparatus which concerns on embodiment of this invention. パケット中継装置側のトンネルデバイスのデータ構成を示す図である。It is a figure which shows the data structure of the tunnel device by the side of a packet relay apparatus. パケット中継装置側の経路表の修正後のデータ構成を示す図である。It is a figure which shows the data structure after correction | amendment of the routing table by the side of a packet relay apparatus. 通信システムの全体動作を示すシーケンス図である。It is a sequence diagram which shows the whole operation | movement of a communication system. 通信システムのパケットフロー動作を示すシーケンス図である。It is a sequence diagram which shows the packet flow operation | movement of a communication system. プロトコルスタックに沿ったパケットフロー動作を示すフロー図である。It is a flowchart which shows the packet flow operation | movement along a protocol stack. プロトコルスタックに沿ったパケットフロー動作を示すフロー図である。It is a flowchart which shows the packet flow operation | movement along a protocol stack. 移動端末の動作を示すフロー図である。It is a flowchart which shows operation | movement of a mobile terminal. パケット中継装置の動作を示すフロー図である。It is a flowchart which shows operation | movement of a packet relay apparatus. 移動端末の移動処理の動作を示すフロー図である。It is a flowchart which shows the operation | movement of the movement process of a mobile terminal.

符号の説明Explanation of symbols

1…通信システム
11…入力装置
12…出力装置
13…通信制御装置
14…通信インタフェース
15…CPU
15a…移動検出手段
15b…ケアオブアドレス取得手段
15c…IPv4経路表作成手段
15d…IPv6経路表作成手段
15e…IPv4経路制御手段
15f…IPv6経路制御手段
15g…登録要求手段
15h…IPv4トンネル作成手段
15i…IPv4IPv6トンネル作成手段
16…主記憶装置
17…経路表記憶装置
21…入力装置
22…出力装置
23…通信制御装置
24…通信インタフェース
25…CPU
25a…認証手段
25b…IPv4トンネル作成手段
25c…IPv4IPv6トンネル作成手段
25d…IPv4経路作成手段
25e…IPv6経路作成手段
25f…IPv4経路制御手段
25g…IPv6経路制御手段
26…主記憶装置
27…経路表記憶装置
100,100a…移動端末
200…パケット中継装置
200…移動端末
300…IPv4ネットワーク
301…第1ルータ
302…第2ルータ
303…IPv4サーバ
310,311…DHCPサーバ
320…アクセスポイント
320,321…アクセスポイント
330…第1サブネット
331…第2サブネット
400…IPv6ネットワーク
401…IPv6サーバ
DESCRIPTION OF SYMBOLS 1 ... Communication system 11 ... Input device 12 ... Output device 13 ... Communication control device 14 ... Communication interface 15 ... CPU
15a ... movement detection means 15b ... care of address acquisition means 15c ... IPv4 route table creation means 15d ... IPv6 route table creation means 15e ... IPv4 route control means 15f ... IPv6 route control means 15g ... registration request means 15h ... IPv4 tunnel creation means 15i ... IPv4 IPv6 tunnel creation means 16 ... Main storage device 17 ... Routing table storage device 21 ... Input device 22 ... Output device 23 ... Communication control device 24 ... Communication interface 25 ... CPU
25a ... Authentication means 25b ... IPv4 tunnel creation means 25c ... IPv4 IPv6 tunnel creation means 25d ... IPv4 route creation means 25e ... IPv6 route creation means 25f ... IPv4 route control means 25g ... IPv6 route control means 26 ... Main storage device 27 ... Path table storage Device 100, 100a ... Mobile terminal 200 ... Packet relay device 200 ... Mobile terminal 300 ... IPv4 network 301 ... First router 302 ... Second router 303 ... IPv4 server 310, 311 ... DHCP server 320 ... Access point 320, 321 ... Access point 330 ... 1st subnet 331 ... 2nd subnet 400 ... IPv6 network 401 ... IPv6 server

Claims (4)

IPv4環境若しくはIPv6環境のネットワークである第1ネットワーク及び第2ネットワーク間を移動しながらパケット中継装置とパケットを送受信する移動端末であって、
各々のネットワークが備えるインタフェースが出力する信号を受信し、前記第1ネットワークから前記第2ネットワークへの移動を検出する移動検出手段と、
前記パケット中継装置へ登録要求を送信する登録要求手段と、
前記パケット中継装置より前記登録要求に対する登録応答を受信し、前記登録応答を基にIPv4/IPv4トンネルを作成するIPv4トンネル作成手段と、
前記パケット中継装置より前記登録要求に対する登録応答を受信し、前記登録応答を基にIPv4/IPv6トンネルを作成するIPv4IPv6トンネル作成手段と、
移動先の前記第2ネットワークがIPv4環境であれば、前記パケット中継装置とのパケット転送を前記IPv4/IPv4トンネルを介して行うよう経路制御するIPv4経路制御手段と、
移動先の前記第2ネットワークがIPv6環境であれば、前記パケット中継装置とのパケット転送を前記IPv4/IPv6トンネルを介して行うよう経路制御するIPv6経路制御手段
とを備えることを特徴とする移動端末。
A mobile terminal that transmits and receives packets to and from a packet relay device while moving between a first network and a second network that are networks in an IPv4 environment or an IPv6 environment,
Movement detection means for receiving a signal output from an interface included in each network and detecting movement from the first network to the second network;
Registration request means for transmitting a registration request to the packet relay device;
An IPv4 tunnel creating means for receiving a registration response to the registration request from the packet relay device and creating an IPv4 / IPv4 tunnel based on the registration response;
An IPv4 IPv6 tunnel creating means for receiving a registration response to the registration request from the packet relay device and creating an IPv4 / IPv6 tunnel based on the registration response;
If the destination second network is an IPv4 environment, an IPv4 route control means for controlling the route so as to perform packet transfer with the packet relay device via the IPv4 / IPv4 tunnel;
A mobile terminal comprising: an IPv6 route control means for performing route control so that packet transfer with the packet relay device is performed via the IPv4 / IPv6 tunnel when the second network of the destination is an IPv6 environment .
IPv4環境若しくはIPv6環境のネットワークである第1ネットワーク及び第2ネットワーク間を移動する移動端末とパケット転送を行うパケット中継装置であって、
前記移動端末から登録要求を受信して前記登録要求を認証し、前記移動端末が前記第1ネットワークから前記第2ネットワークへ移動したことを検知する認証手段と、
前記認証が正常に行われると、前記登録要求に対する登録応答を前記移動端末に送信し、前記登録要求を基にIPv4/IPv4トンネルを作成するIPv4トンネル作成手段と、
前記認証が正常に行われると、前記登録要求に対する登録応答を前記移動端末に送信し、前記登録要求を基にIPv4/IPv6トンネルを作成するIPv4IPv6トンネル作成手段と、
前記第2ネットワークがIPv4環境であれば、前記移動端末とのパケット転送を前記IPv4/IPv4トンネルを介して行うよう経路制御するIPv4経路制御手段と、
前記第2ネットワークがIPv6環境であれば、前記移動端末とのパケット転送を前記IPv4/IPv6トンネルを介して行うよう経路制御するIPv6経路制御手段
とを備えることを特徴とするパケット中継装置。
A packet relay apparatus that performs packet transfer with a mobile terminal that moves between a first network and a second network that are networks in an IPv4 environment or an IPv6 environment,
Authentication means for receiving a registration request from the mobile terminal, authenticating the registration request, and detecting that the mobile terminal has moved from the first network to the second network;
When the authentication is normally performed, an IPv4 tunnel creating unit that sends a registration response to the registration request to the mobile terminal and creates an IPv4 / IPv4 tunnel based on the registration request;
If the authentication is normally performed, an IPv4 / IPv6 tunnel creating means for sending a registration response to the registration request to the mobile terminal and creating an IPv4 / IPv6 tunnel based on the registration request;
If the second network is an IPv4 environment, an IPv4 route control means for performing route control so as to perform packet transfer with the mobile terminal via the IPv4 / IPv4 tunnel;
If the second network is in an IPv6 environment, the packet relay apparatus further comprises an IPv6 route control means for performing route control so that packet transfer with the mobile terminal is performed via the IPv4 / IPv6 tunnel.
IPv4環境若しくはIPv6環境のネットワークである第1ネットワーク及び第2ネットワーク間を移動する移動端末と、前記移動端末とパケットを送受信するパケット中継装置を備える通信システムであって、
各々のネットワークが備えるインタフェースが出力する信号を受信し、前記第1ネットワークから前記第2ネットワークへの移動を検出する移動検出手段、前記パケット中継装置へ登録要求を送信する登録要求手段、前記パケット中継装置より前記登録要求に対する登録応答を受信し、前記登録応答を基にIPv4/IPv4トンネルを作成するIPv4トンネル作成手段、前記パケット中継装置より前記登録要求に対する登録応答を受信し、前記登録応答を基にIPv4/IPv6トンネルを作成するIPv4IPv6トンネル作成手段、移動先の前記第2ネットワークがIPv4環境であれば、前記パケット中継装置とのパケット転送を前記IPv4/IPv4トンネルを介して行うよう経路制御するIPv4経路制御手段、及び移動先の前記第2ネットワークがIPv6環境であれば、前記パケット中継装置とのパケット転送を前記IPv4/IPv6トンネルを介して行うよう経路制御するIPv6経路制御手段をそれぞれ有する移動端末と、
前記移動端末から登録要求を受信して前記登録要求を認証し、前記移動端末が前記第1ネットワークから前記第2ネットワークへ移動したことを検知する認証手段、前記認証が正常に行われると、前記登録要求を基にIPv4/IPv4トンネルを作成するIPv4トンネル作成手段、前記認証が正常に行われると、前記登録要求を基にIPv4/IPv6トンネルを作成するIPv4IPv6トンネル作成手段、前記第2ネットワークがIPv4環境であれば、前記移動端末とのパケット転送を前記IPv4/IPv4トンネルを介して行うよう経路制御するIPv4経路制御手段、及び前記第2ネットワークがIPv6環境であれば、前記移動端末とのパケット転送を前記IPv4/IPv6トンネルを介して行うよう経路制御するIPv6経路制御手段をそれぞれ有するパケット中継装置
とを備えることを特徴とする通信システム。
A communication system comprising: a mobile terminal that moves between a first network and a second network that are networks in an IPv4 environment or an IPv6 environment; and a packet relay device that transmits and receives packets to and from the mobile terminal,
Movement detection means for detecting movement from the first network to the second network, receiving a signal output from an interface included in each network, registration request means for transmitting a registration request to the packet relay apparatus, and the packet relay A registration response to the registration request from the device; an IPv4 tunnel creation means for creating an IPv4 / IPv4 tunnel based on the registration response; a registration response to the registration request from the packet relay device; IPv4 / IPv6 tunnel creating means for creating an IPv4 / IPv6 tunnel in IPv4, and if the second network at the movement destination is an IPv4 environment, the route control is performed so that the packet transfer with the packet relay device is performed via the IPv4 / IPv4 tunnel. Route control means and destination If the second network is an IPv6 environment, a mobile terminal having an IPv6 path control means for routing to the packet transfer performed via the IPv4 / IPv6 tunnel with the packet relay device, respectively,
An authentication unit that receives a registration request from the mobile terminal, authenticates the registration request, and detects that the mobile terminal has moved from the first network to the second network; when the authentication is normally performed, IPv4 tunnel creating means for creating an IPv4 / IPv4 tunnel based on a registration request, IPv4 IPv6 tunnel creating means for creating an IPv4 / IPv6 tunnel based on the registration request when the authentication is normally performed, and the second network is configured as IPv4 If the environment is an environment, IPv4 route control means for controlling the packet transfer with the mobile terminal via the IPv4 / IPv4 tunnel, and if the second network is an IPv6 environment, the packet transfer with the mobile terminal That performs routing through the IPv4 / IPv6 tunnel Communication system, comprising a packet relay apparatus having a 6 path control means, respectively.
IPv4環境若しくはIPv6環境のネットワークである第1ネットワーク及び第2ネットワーク間を移動し、パケット中継装置とパケットを送受信する移動端末が、各々のネットワークが備えるインタフェースが出力する信号を受信し、前記第1ネットワークから前記第2ネットワークへの移動を検出する移動検出ステップと、
前記移動端末が前記パケット中継装置へ登録要求を送信し、前記パケット中継装置が前記移動端末から受信する前記登録要求を認証する認証ステップと、
前記移動端末が前記パケット中継装置より前記登録要求に対する登録応答を受信し、前記登録応答を基にIPv4/IPv4トンネルを作成するステップと、
前記移動端末が前記パケット中継装置より前記登録要求に対する登録応答を受信し、前記登録応答を基にIPv4/IPv6トンネルを作成するステップと、
前記移動端末の移動先の前記第2ネットワークがIPv4環境であれば、前記パケット中継装置とのパケット転送を前記IPv4/IPv4トンネルを介して行うよう経路制御するステップと、
前記移動端末の移動先の前記第2ネットワークがIPv6環境であれば、前記パケット中継装置とのパケット転送を前記IPv4/IPv6トンネルを介して行うよう経路制御するステップと、
前記認証が正常に行われると、前記パケット中継装置が前記登録要求を基にIPv4/IPv4トンネルを作成するステップと、
前記認証が正常に行われると、前記パケット中継装置が前記登録要求を基にIPv4/IPv6トンネルを作成するステップと、
前記第2ネットワークがIPv4環境であれば、前記パケット中継装置が前記移動端末とのパケット転送を前記IPv4/IPv4トンネルを介して行うよう経路制御するステップと、
前記第2ネットワークがIPv6環境であれば、前記パケット中継装置が前記移動端末とのパケット転送を前記IPv4/IPv6トンネルを介して行うよう経路制御するステップ
とを備えることを特徴とする通信方法。

A mobile terminal that moves between a first network and a second network, which are networks in an IPv4 environment or an IPv6 environment, and transmits / receives a packet to / from a packet relay apparatus receives a signal output from an interface included in each network, and A movement detecting step for detecting movement from a network to the second network;
An authentication step in which the mobile terminal transmits a registration request to the packet relay device, and the packet relay device authenticates the registration request received from the mobile terminal;
The mobile terminal receiving a registration response to the registration request from the packet relay device, and creating an IPv4 / IPv4 tunnel based on the registration response;
The mobile terminal receiving a registration response to the registration request from the packet relay device, and creating an IPv4 / IPv6 tunnel based on the registration response;
If the second network to which the mobile terminal is moving is an IPv4 environment, routing the packet transfer with the packet relay device via the IPv4 / IPv4 tunnel;
If the second network to which the mobile terminal is moving is an IPv6 environment, routing the packet transfer with the packet relay device via the IPv4 / IPv6 tunnel;
When the authentication is normally performed, the packet relay device creates an IPv4 / IPv4 tunnel based on the registration request;
When the authentication is normally performed, the packet relay device creates an IPv4 / IPv6 tunnel based on the registration request;
If the second network is in an IPv4 environment, the packet relay device performs route control so as to perform packet transfer with the mobile terminal via the IPv4 / IPv4 tunnel;
If the second network is in an IPv6 environment, the packet relay device includes a step of routing so that packet transfer with the mobile terminal is performed via the IPv4 / IPv6 tunnel.

JP2005079981A 2005-03-18 2005-03-18 Mobile terminal, packet relay device, communication system, and communication method Pending JP2006262352A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005079981A JP2006262352A (en) 2005-03-18 2005-03-18 Mobile terminal, packet relay device, communication system, and communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005079981A JP2006262352A (en) 2005-03-18 2005-03-18 Mobile terminal, packet relay device, communication system, and communication method

Publications (1)

Publication Number Publication Date
JP2006262352A true JP2006262352A (en) 2006-09-28

Family

ID=37101051

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005079981A Pending JP2006262352A (en) 2005-03-18 2005-03-18 Mobile terminal, packet relay device, communication system, and communication method

Country Status (1)

Country Link
JP (1) JP2006262352A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008143474A1 (en) * 2007-05-22 2008-11-27 Samsung Electronics Co., Ltd. Method and system for managing mobility of an access terminal in a mobile communication system using mobile ip
WO2011037197A1 (en) * 2009-09-28 2011-03-31 日本電気株式会社 Mobile communication system, mobile communication method and program
JP2013157875A (en) * 2012-01-31 2013-08-15 Canon Inc Video imaging device and video imaging method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008143474A1 (en) * 2007-05-22 2008-11-27 Samsung Electronics Co., Ltd. Method and system for managing mobility of an access terminal in a mobile communication system using mobile ip
US8150317B2 (en) 2007-05-22 2012-04-03 Samsung Electronics Co., Ltd Method and system for managing mobility of an access terminal in a mobile communication system using mobile IP
WO2011037197A1 (en) * 2009-09-28 2011-03-31 日本電気株式会社 Mobile communication system, mobile communication method and program
JP5585584B2 (en) * 2009-09-28 2014-09-10 日本電気株式会社 Mobile communication system, mobile communication method and program
JP2013157875A (en) * 2012-01-31 2013-08-15 Canon Inc Video imaging device and video imaging method

Similar Documents

Publication Publication Date Title
US9584468B2 (en) Layer-2 IP networking method and apparatus for mobile hosts
KR100636186B1 (en) Bidirectional tunnel establishment method and system thereof
EP1139632B1 (en) Method for packet communication with mobile node
US7657642B2 (en) IP network node and middleware for establishing connectivity to both the IPv4 and IPv6 networks
US7639686B2 (en) Access network clusterhead for providing local mobility management of a roaming IPv4 node
EP1807980B1 (en) Maintaining secrecy of assigned unique local addresses for ipv6 nodes within a prescribed site during access of a wide area network
Atkinson et al. ILNP: mobility, multi-homing, localised addressing and security through naming
US20050175020A1 (en) Tunneling service method and system
JP2006086800A (en) Communication apparatus for selecting source address
KR20020082483A (en) Address acquisition
US20080089251A1 (en) Packet Data Transmission
JP2006262352A (en) Mobile terminal, packet relay device, communication system, and communication method
US8140710B2 (en) Home link setting method, home gateway device, and mobile terminal
WO2009005212A1 (en) Ipv6 over ipv4 transition method and apparatus for improving performance of control server
JP2003018185A (en) Mobile ip communication system, mobile ip communication method, network repeater system and terminal for mobile object
JP2004135108A (en) Communication control method, communication terminal, router, control program of communication terminal and control program of router
KR20090069735A (en) Apparatus and method for mobile routing
JP3808471B2 (en) Network and router apparatus and address notification method used therefor
JP2009049897A (en) Adapter for radio terminal
JP3936366B2 (en) Communication apparatus and communication method
Chen et al. Mobile IPv6 network: implementation and application
Amoretti et al. Patents on IPv6-Related Technologies
JP4351101B2 (en) Home agent device and mobile node location information registration method
WO2011054362A1 (en) A method and a system of networks for providing access of at least one client device via a mobile network to a network
AMIR International Journal of Mathematical Archive-3 (2), 2012, Page: 694-706 Available online through www. ijma. info ISSN 2229–5046

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070629

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090612

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090623

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20091020