JP2004129024A - Program and method for controlling communication and communication equipment - Google Patents

Program and method for controlling communication and communication equipment Download PDF

Info

Publication number
JP2004129024A
JP2004129024A JP2002292024A JP2002292024A JP2004129024A JP 2004129024 A JP2004129024 A JP 2004129024A JP 2002292024 A JP2002292024 A JP 2002292024A JP 2002292024 A JP2002292024 A JP 2002292024A JP 2004129024 A JP2004129024 A JP 2004129024A
Authority
JP
Japan
Prior art keywords
communication
path
control
information
mobile
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2002292024A
Other languages
Japanese (ja)
Other versions
JP4014991B2 (en
Inventor
Itaru Nakagawa
中川 格
Fumiyuki Iizuka
飯塚 史之
Shinji Fujino
藤野 信次
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2002292024A priority Critical patent/JP4014991B2/en
Publication of JP2004129024A publication Critical patent/JP2004129024A/en
Application granted granted Critical
Publication of JP4014991B2 publication Critical patent/JP4014991B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a new method of selecting a communication medium for communication equipment that can utilize a plurality of communication media. <P>SOLUTION: The communication equipment 10 can utilize the plurality of communication media, such as a first communication medium 20-1, second communication medium 20-2, etc., as communication routes at the time of performing communication. In a route information storing means 11, route information to which priority order used by the equipment 10 for communication and shows the communication route used for the communication of the information is stored. A route information setting means 12 sets route information to which the highest priority order is given for utilizing a different communication medium instead of the presently utilizing medium. A communication means 13 performs communication by using the communication route following the priority order. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明は、移動体通信技術に関し、特に、移動時においてのデータ通信を継続させる技術に関する。
【0002】
【従来の技術】
インターネットプロトコル(Internet Protocol 、以下、「IP」と記す)を使用した通信では、通信を行う際に経路情報を適切に設定する必要がある。IPの経路情報には、図22に示すように、宛先(Destination)、ゲートウェイアドレス(Gateway :以下、「GW」と記す)、送信先インタフェイス(Interface )、メトリック(Metric)を指定する必要がある。メトリック情報はその経路情報の優先度を示すもので、同一宛先の経路情報が複数ある場合にその値(メトリック値)が最小のものが選択されるようになっている。
【0003】
図22に示されている経路情報の例では、メトリック値が「1」である行の経路情報が採用される。
経路情報が図22(a)に示されているように設定されている場合では、その第一行目の経路情報により、IPは、vpn−addrなるアドレスの機器宛であることが示されている通信パケットについては物理インタフェイスdev11を使用してwlan1−addrなるアドレスのゲートウェイへ送信するように下位プロトコルへ指示する。一方、図22(a)の第二行目の経路情報により、その他の宛先であることが示されている通信パケットについては論理インタフェイスdev13を使用してvpn−addrへ送信するように指示する。なお、経路情報において、デフォルト(Default)を宛先としているものは、他の経路情報で指定されているもの以外を宛先とする通信パケットに対して適用される情報である。
【0004】
ここで、dev13に届いた通信パケットの宛先が論理インタフェイスdev13の内部でvpn−addrに変更された場合を考える。このとき、この宛先の変更された通信パケットの送り先のゲートウェイについての検索が図22(a)の経路情報を対象として行われ、メトリック値が「1」である第一行目の経路情報に基づき、物理インタフェイスdev11を使用してwlan1−addrへこの通信パケットを送信する指示が行われる。
【0005】
一方、経路情報が図22(b)のように設定されていた場合では、その第一行目の経路情報により、IPは、vpn−addr宛の通信パケットについては物理インタフェイスdev11を使用してwlan1−addrへ送信するように下位プロトコルへ指示する。また、この第三行目の経路情報により、その他の宛先であることが示されている通信パケットについても論理インタフェイスdev11を使用してwlan1−addrへ送信するように指示する。つまり、この場合には、すべての通信が論理インタフェイスdev13を使用することなく直接物理インタフェイスdev11のみを使用するようになる。
【0006】
このように、経路情報のメトリック値は送信先の決定に大きく関与する。
ところで、近年、有線LAN(Local Area Network)、無線LAN、携帯電話、PHS(Personal Handyphone System)、IMT−2000(International Mobile Telecommunication 2000 )など複数の通信メディアが利用できるようになった。また、小型化技術の進歩により、携帯端末のような小型の機器であっても複数のネットワークインタフェイスを装着できるようになり、状況に応じて複数の通信メディアからひとつを選択して利用することができるようになっている。
【0007】
また、インターネットで利用される各種の技術の標準化を進めているIETF(Internet Engineering Task Force )において、移動先でもホームアドレスと呼ばれる第一のアドレスを使用した通信を行えるようにするための技術としてモバイルIP(MobileIP)の検討が進んでいる。
【0008】
【非特許文献1】
湧川 隆次、「MobileIPv6を用いた複数インターフェース通信機構の設計と実装」、慶應義塾大学大学院政策・メディア研究科修士論文2000年度(平成12年度)、[平成14年8月30日検索]、インターネット<URL:http://www.sfc.wide.ad.jp/ ̄ryuji/research/paper/ryuji−master−thesis.pdf>
【0009】
【発明が解決しようとする課題】
従来行われていたモバイルIP制御には、気付アドレス選択問題というよく知られた問題がある。これは、移動端末が複数のインタフェイスを使用して異なる通信ネットワークへ接続した場合に、各通信ネットワークにおいて個別にその移動端末に付与されるアドレスからどれを移動端末自身の第二のアドレス、すなわち気付アドレスとして選択するべきかという問題である。この第二のアドレスの選択を誤るとデータ通信が正しく行われなくなるなどの問題が発生する。
【0010】
また、最近急激に増えている無線LANホットスポットサービスを利用する際には、例えば公知のHTTPプロトコルを使用したユーザ認証など、このサービス提供者が指定している認証方式に合わせてユーザ認証を最初に行う必要がある。従って、そのときまでは携帯電話等の公衆移動通信網を利用してデータ通信を行っていた移動端末が移動して無線LANホットスポットのサービスエリアに入ったときに公衆移動通信網から無線LANへと通信メディアを切り替えてなおもそのデータ通信を継続させるためには、無線LANホットスポットサービスエリア内に入った時点でモバイルIP登録の前にユーザ認証を済ませる必要がある。
【0011】
また、企業ユーザがインターネット等の公衆回線を介して会社の社内LANに接続する場合には、セキュリティの確保のため、公知のVPN(仮想私設通信網:Virtual Private Network )技術を使用したVPNリンクの確立のための処理を無線LANホットスポットでのユーザ認証の処理とモバイルIP登録の処理との間に行う必要が生じることもある。
【0012】
以上のように、あるデータ通信を継続させながら前述したような複数の通信メディアを切り替えるためには様々な手続が必要となる。ところが、従来、通信ネットワークに接続するためのネットワーク接続アプリケーションと、前述した気付アドレスなどのモバイルIPに関する情報をこの移動端末についてのホームエージェントへ登録する処理(モバイルIP登録処理)を行うモバイルIP制御アプリケーションとは同一の移動端末内で独立に存在していた。このため、ユーザはネットワーク接続アプリケーションとモバイルIP制御アプリケーションとを各々別々に起動して使用しなければならなかったため、このデータ通信を一旦中断させて通信メディアを切り替えていた。
【0013】
以上の事情を鑑み、複数の通信メディアが利用可能な通信装置における通信メディアの新たな選択手法を提供することが本発明が解決しようとする課題である。
【0014】
【課題を解決するための手段】
まず、図1について説明する。同図は本発明の原理構成を示しており、同図における通信装置10が本発明に係るものである。
【0015】
通信装置10は、通信を行うときの通信経路として、第一の通信メディア20−1、第二の通信メディア20−2、…など、通信メディアを複数利用し得る。
経路情報記憶手段11には、通信装置10が通信に用いる優先順位が与えられておりその通信の経路を示している経路情報が記憶される。
【0016】
経路情報設定手段12は、それまで通信に利用していたものに代えて異なる通信メディアを利用するために、上述した優先順位が最優先とされている経路情報を設定する。
【0017】
通信手段13は、上述した優先順位に従った通信経路を用いて通信を行う。
この図1の構成によれば、通信経路の利用管理のために既存の通信装置でも用いられていた経路情報で通信メディアの利用管理までもが行われるので、通信メディアの利用管理のための専用の構成を新たに通信装置10に備える必要がない。従って、このように通信装置10を構成することにより、通信装置10の小型化・軽量化や通信装置10で行われる処理の負担軽減に寄与する。
【0018】
なお、この図1の構成において、経路情報設定手段12によって設定される経路情報は、それまで通信に利用していたものとは異なる通信メディアを利用する通信経路を示しているようにすることができる。
【0019】
こうすることにより、利用する通信メディアを特定することができる。
また、図1の構成において、経路情報13は、インターネットプロトコルにおけるルーティング情報であり、前述した優先順位は、このルーティング情報におけるメトリック情報に基づいて決定されるようにすることができる。
【0020】
この構成によれば、例えばインターネットプロトコルを利用したネットワークでのルーティングを行う既製の装置を通信手段13として流用することができる。
【0021】
また、図1の構成において、通信手段13によって行われる通信に用いられる通信経路を示す情報をその通信の相手側の装置に通知する通知手段を更に備えるように構成することができる。
【0022】
この構成によれば、通信手段13が通信に用いている通信経路を通信の相手側の装置が認識することができるので、通信の相手側の装置によるこの通信経路の自律的な探索が不要となる。
【0023】
なお、この構成は、例えば、この相手側装置をモバイルIP(インターネットプロトコル)におけるこの通信装置10についてのホームエージェントとし、このホームエージェントとの間で行われる通信を、通信パケットのトンネリングとし、この通知制御手段が、通信制御手段13によってこの通信に用いる通信路が確立されたときに通信装置10に対して一時的に付与されるIP(インターネットプロトコル)アドレスをホームエージェントに更に通知するように構成することができる。
【0024】
この構成によれば、ホームエージェントとの間でのトンネリングの使用管理をも行うことができる。
なお、この構成においては、通知手段が、モバイルIPにおける気付アドレスの登録をホームエージェントに対して行う機能を提供するモバイルIP制御アプリケーションの実行を制御して通信装置10のIPアドレスの通知を行わせるように構成することができ、モバイルIP制御アプリケーションが予め用意されているのであれば、これを流用することによって通知手段の構成を簡素化することができる。
【0025】
また、この構成においては、通知手段が上述した通知を行った後に、通信装置10とこのホームエージェントとの間でこのトンネリングの機能を提供するモバイルIPインタフェイスを介することを示しており且つ前述した優先順位を最優先とした経路情報を設定するトンネリング経路情報設定手段を更に備えるように構成することができる。
【0026】
この構成により、トンネリングのリンクの確立が通信手段13に認識されてトンネリングによる通信が行われる。
また、図1の構成において、通信経路の品質を示す品質情報を取得する品質情報取得手段を更に備え、経路情報設定手段12が、それまでの通信に用いていた通信経路の品質の劣化がその品質情報より検出されたときに優先順位が最優先とされている前述した経路情報を設定するように構成することができる。
【0027】
この構成によれば、それまで利用していた通信メディア(例えば第一の通信メディア20−1)の通信経路の品質に劣化が生じたときに、使用する通信経路を異なる送信メディア(例えば第二の通信メディア20−2)を利用する通信へと自動的に切り替えることができる。
【0028】
また、図1の構成において、経路情報設定手段12によって設定される経路情報は、それまで通信に利用していたものとは異なる通信メディアを利用する通信経路を示しているときに、通信手段13が、前述した優先順位に従った通信経路が利用する通信メディアにおいて個別に定められているその通信メディアへの接続手順を実行してその通信経路を用いる通信を行わせるようにすることができる。
【0029】
この構成によれば、個別に定められている通信メディアへの接続手順、例えばユーザ認証などの手続を自動的に通信手段13に行わせることにより、通信装置10のユーザはこのような煩わしい手続から解放される。
【0030】
また、図1の構成において、通信手段13は、通信に用いる通信経路の違いに基づき、その通信経路の途中にVPN(仮想施設通信網)リンクを確立して通信を行わせるように構成することができる。
【0031】
この構成によれば、ある通信メディアを利用したときにおける通信経路の途中にセキュリティの不安を有する通信回線、例えばインターネットなどが含まれているときでも、VPNによりセキュリティが確保される。また、このVPNのリンク確立の手続は自動的に通信手段13で行われるので、通信装置10のユーザはこのような煩わしい手続を行わないで済むようになる。
【0032】
なお、図1に示した本発明に係る通信装置10の有する各構成要素によって行われる手順からなる通信制御方法であっても、通信装置10によるものと同様の作用・効果を奏するので、前述した課題は解決される。
【0033】
また、上述した本発明に係る通信装置10の有する各構成要素の有する機能と同様の制御をコンピュータに行わせるためのプログラムであっても、そのプログラムをコンピュータに実行させることによって、前述した課題は解決される。
【0034】
【発明の実施の形態】
以下、本発明の実施の形態を図面に基づいて説明する。
まず、図2について説明する。同図は本発明を実施する移動端末100の基本構成を示している。
【0035】
移動端末100にはネットワーク接続アプリケーション110とモバイルIP制御アプリケーション120とが備えられている。また、移動端末100には、これらのソフトウェアが連携動作するためのAPI(Application Program Interface )130が用意されている。
【0036】
ネットワーク接続アプリケーション110は、インターネットプロトコルに従ったデータ通信機能を移動端末100に提供するインターネットプロトコルドライバ140が通信経路の設定を行うために参照するルーティングテーブル141に示されている経路情報を更新する機能、前述したVPNリンクの確立機能、及び無線LANホットスポットサービスを利用するときに必要となるユーザ認証を行う機能を提供する。
【0037】
更に、ネットワーク接続アプリケーション110は、後述する2つの物理インタフェイス170及び180を管理する中間ネットワークドライバ150から、各物理インタフェイス170及び180の動作状態や各物理インタフェイス170及び180を介して接続される通信ネットワークの品質などを示す情報を取得する機能を提供する。
【0038】
モバイルIP制御アプリケーション120は、モバイルIPのトンネリングを実行するモバイルIPインタフェイス160に対してホームアドレスや気付アドレスなどを設定する機能を提供する。
【0039】
この他、移動端末100には、2つの物理インタフェイス170及び180、並びに論理インタフェイス190など複数のインタフェイスが装備されている。物理インタフェイス170及び180の例としては、無線LANとの接続を行うための無線LANインタフェイスや、公衆電話回線網との接続を行うためのPPPインタフェイスなどがある。また、論理インタフェイスの例としては、前述したVPNを利用するためのインタフェイスなどがある。なお、これら以外のインタフェイスを物理インタフェイス170又は180、若しくは論理インタフェイス190として使用することも可能である。
【0040】
なお、移動端末100において、モバイルIPインタフェイス160には「mip−dev」なる名称が与えられており、また、物理インタフェイス170には「dev11」なる名称、物理インタフェイス180には「dev12」なる名称、そして論理インタフェイス190には「dev13」なる名称が、それぞれ与えられている。
【0041】
次に図3について説明する。同図は、移動端末100が利用できる通信ネットワークの構成を示している。
図3において、社内LAN200は、移動端末100のユーザが勤務している会社の社内ネットワークである。この社内LAN200には、サーバ210、ホームエージェント220、無線LANアクセスポイント230、リモートアクセスサーバ240、及びVPNサーバ250が接続されている。
【0042】
サーバ210は、移動端末100が行うデータ通信の通信相手となるサーバであり、「srv−addr」なるIPアドレスが与えられている。
ホームエージェント220は、移動端末100の移動状況を管理するサーバであり、「homeagent−addr」なるIPアドレスが与えられている。
【0043】
無線LANアクセスポイント230は、この会社の構内に移動端末100が位置しているときに無線で移動端末100を社内LAN200に接続させるために社内LAN200側に設けられている機器であり、「wlan1−addr」なるIPアドレスが与えられている。
【0044】
リモートアクセスサーバ240は、この会社の構外からダイアルアップPPP(Point to Point Protocol )により公衆電話回線を介して移動端末100を社内LAN200に接続させるために社内LAN200側に設けられている機器であり、「ras−addr」なるIPアドレスが与えられている。なお、本実施形態においては、リモートアクセスサーバ240は、携帯電話等の移動体通信機器のための通信路である公衆移動通信網300と社内LAN200とを接続している。
【0045】
VPNサーバ250は、インターネット400を経由するVPNを構築するためのサーバであり、「vpn−addr」なるIPアドレスが与えられている。
無線LANホットスポット提供ISP(Internet Services Provider)410は、無線LANアクセスポイント420を設置した空間(ホットスポット)を不特定の利用者に開放してインターネット接続サービスを提供するインターネット接続業者である。
【0046】
無線LANアクセスポイント420は、ホットスポット内に位置している通信機器を無線でインターネット400に接続させる機器であり、「wlan2−addr」なるIPアドレスが与えられている。
【0047】
次に図4について説明する。同図は、図3に示したネットワークを利用するための各種のインタフェイスを装着した移動端末100の構成を示している。
図4に示す構成を図2に示した移動端末100の基本構成と比較すれば分かるように、図4に示す移動端末100は、無線LANインタフェイス171をdev11として装着し、更に、PPPインタフェイス181をdev12として、また、VPNインタフェイス191をdev13として、各々装着したものである。
【0048】
無線LANインタフェイス171は、無線LANアクセスポイント230若しくは420と移動端末100との間で無線通信路を確立する機能を有している。
PPPインタフェイス181は、公衆移動通信網300を経由してリモートアクセスサーバ240へPPP接続を行う機能を有している。
【0049】
VPNインタフェイス191は、VPNサーバ250との間でVPNリンクを確立する機能を有している。
なお、移動端末100には、「home−addr」なる、移動によって変化することのない固有のIPアドレスが割り当てられているものとする。
【0050】
また、以下の説明において、移動端末100は、無線LANインタフェイス171を介して無線LANポイント230との間で通信路が確立したときには「Co−CoA1」なる一時的なIPアドレスが割り当てられるものとする。また、PPPインタフェイス181を機能させてリモートアクセスサーバ240への接続が成功したときには「Co−CoA2」なる一時的なIPアドレスが、無線LANポイント420との間で通信路が確立したときには「Co−CoA3」なる一時的なIPアドレスが、そしてVPNインタフェイス191を機能させてVPNサーバ250との間でVPNリンクが確立したときには「Co−CoA4」なる一時的なIPアドレスが、それぞれ割り当てられるものとする。
【0051】
次に図5について説明する。同図は、ネットワーク接続アプリケーション110が実行されることによって移動端末100において行われる、ネットワーク接続処理の処理内容を示すフローチャートである。以下、同図に沿ってこの処理の詳細を説明する。
【0052】
このネットワーク接続処理は、移動端末100のユーザによってなされたサーバ210との通信開始の指示を移動端末100が検出することによって開始される。
【0053】
図5の(a)において、S1001では、モバイルIP制御アプリケーション120が本来有している気付アドレスの選択制御機能を抑制させる指示を、API130を介してモバイルIP制御アプリケーション120へ与える処理が行われる。この指示を受け取ったモバイルIP制御アプリケーション120はこの気付アドレスの選択制御機能を抑制し、モバイルIP制御アプリケーション120からの指示待ちの状態となる。
【0054】
S1002では、サーバ210との通信を行うために使用する通信メディア及び接続先の選択結果、図3の例では、▲1▼社内LAN200内に設けられている無線LANアクセスポイント230への無線接続、▲2▼リモートアクセスサーバ240への公衆移動通信網300を経由したPPP接続、▲3▼インターネット400を経由して行う通信のための、無線LANホットスポット提供ISPによって設置されている無線LANアクセスポイント420への無線接続、の3つの選択肢のうちの1つの選択結果を取得する処理が行われる。なお、この通信メディア及び接続先の選択は、ユーザが行ってもよく、あるいは選択肢の通信メディアの品質や通信コスト等の情報に基づいて移動端末100が自動的に選択するようにしてもよい。
【0055】
S1003では、前ステップでの選択結果に基づいて必要なインタフェイスを機能させ、選択された通信メディアでの接続処理が行われ、社内LAN200への通信経路を確立させる。
【0056】
S1004では、接続先個別処理が行われる。この処理の詳細は図5の(b)にフローチャートで示されている。
図5(b)において、まずS1101では、S1003の処理によって移動端末100を接続した接続先が、不特定者が利用可能な接続先であるか否かが判定され、この判定結果がYesならばS1102に処理が進み、Noならばこの接続先個別処理が終了し、図5(a)のS1005へと処理が戻る。
【0057】
図3の例では、S1003の処理によって移動端末100を接続した接続先が無線LANアクセスポイント420であればこのS1101の判定結果はYesとなり、この接続先が無線LANアクセスポイント230またはリモートアクセスサーバ240であればこのこのS1101の判定結果はNoとなる。
【0058】
S1102では、S1003の処理によって行われた接続先を使用してサーバ210との通信を行うとインターネット400を経由して通信が行われると判定され、まず、S1103において接続先毎の個別処理が行われる。図3の例では、この個別処理として、無線LANアクセスポイント420を利用する際に最初に必要となるユーザ認証手続を行う処理などがある。
【0059】
S1104ではVPNインタフェイス191を機能させ、インターネット400を経由して通信されるVPNサーバ250との間でVPNリンクを確立させる処理が行われる。
【0060】
以上の処理を完了した後にはこの接続先個別処理が終了し、図5(a)のS1005へと処理が戻る。
S1005では、S1003の処理によって接続された接続先から新たに与えられたアドレスと、既に接続がされている他の接続先から与えられていたアドレスとから、移動端末100自身の第二のアドレス、すなわち気付アドレスを選択する処理が行われる。
【0061】
S1006では、前ステップでの第二のアドレスの選択結果に基づき、移動端末100とホームエージェント220との間の通信経路を決定し、この決定をルーティングテーブル141に示されている経路情報に反映させる処理が行われる。
【0062】
S1007では、S1005の処理によって選択された気付アドレスをモバイルIP制御アプリケーション120へ通知してモバイルIPの登録をモバイルIP制御アプリケーション120へ指示する処理が行われる。モバイルIP制御アプリケーション120はモバイルIPインタフェイス160を機能させてホームエージェント220へこの気付アドレスを登録させる処理を行う。
【0063】
S1008では、S1007の処理によるモバイルIPの登録によって確定したトンネリングの経路をルーティングテーブル141の経路情報に反映させる設定処理が行われる。
【0064】
S1009では、S1006の処理による経路の決定によりサーバ210との通信において不必要となった接続が存在するか否かが判定され、余分な接続が存在している(S1009の判定結果がYes)ならばS1010においてその余分な接続を切断する処理が行われる。
【0065】
S1011では、中間ネットワークドライバ150から移動端末100の有する各インタフェイスの動作状態や接続中の通信路の品質などを示す情報を取得し、これらの状態に変化が生じたか否かを監視する処理が繰り返し行われる。そして、この監視処理においてこれらの状態に変化が生じたと判定されたとき(S1011の判定処理における判定結果がYesとなったとき)にはS1002へと処理が戻って上述した処理が繰り返される。
【0066】
以上までの処理がネットワーク接続処理である。この処理が移動端末100において行われることにより、既に行われているデータ通信を継続させながらでの通信メディアの切り替えを行うことができる。以下、図3に示すネットワークにおいてサーバ210とのデータ通信を継続させながら通信メディアが切り替えられる様子を説明する。
【0067】
まず、図6に示す通信メディアの切り替えが生じる第一の例について説明する。同図に示す例は、図3に示した通信ネットワークにおいて、無線LANアクセスポイント230に接続してサーバ210との間でデータ通信を行っている移動端末100が会社の構外に移動したために無線LANアクセスポイント230のサービスエリアを外れたので、公衆移動通信網300を経由してリモートアクセスサーバ240へのPPP接続を行ってこのデータ通信を継続するというものである。
【0068】
ここで図7について説明する。同図は、図6に示す第一の例における通信メディアの切り替えシーケンスを示している。
まず、移動端末100が会社の構内に位置しているときにユーザが社内LAN200への接続指示を行うと、この指示はネットワーク接続アプリケーション110によって検出される(S2001)。このとき、ネットワーク接続アプリケーション110では、前述したネットワーク接続処理が開始される。
【0069】
ネットワーク接続アプリケーション110は、まず、図5のS1001の処理を行って気付アドレスの選択を行う権限をモバイルIP制御アプリケーション120から取得する(S2002)。
【0070】
次に、ネットワーク接続アプリケーション110は図5のS1002及びS1003の処理を行い、無線LANインタフェイス171を機能させて無線LANアクセスポイント230への接続を行わせる(S2003)。この接続が完了すると無線LANアクセスポイント230によって移動端末100に一時的なIPアドレス「Co−CoA1」が付与されるので、無線LANインタフェイス171はこのIPアドレスを添えて接続の完了(接続成功)をネットワーク接続アプリケーション110に通知する(S2004)。なお、このとき、確立された経路を示す経路情報のルーティングテーブル141への登録が行われるが、この詳細は後述する。
【0071】
この接続の完了の通知を受け取ると、ネットワーク接続アプリケーション110は図5のS1004の接続先個別処理を行うが、このときの接続先は無線LANアクセスポイント230なので特に何ら個別の処理を行うことなく次の処理に進む。
【0072】
ネットワーク接続アプリケーション110は続いて図5のS1005及びS1006の処理を行うが、このときまでに取得している一時的なIPアドレスは「Co−CoA1」のみであるから、このアドレスが気付アドレスとして選択され、また、このIPアドレスを付与した接続先との間で使用している通信路がホームエージェント220との間の通信経路として決定される。このときに行われる経路情報の操作については後述する。
【0073】
次に、ネットワーク接続アプリケーション110は、図5のS1007の処理を行い、この気付アドレスをモバイルIP制御アプリケーション120へ通知してモバイルIPの登録をモバイルIP制御アプリケーション120へ指示する(S2005)。この指示を示す情報の具体例を図8(a)に示す。
【0074】
図8(a)の例では、ホームアドレスが「home−addr」である移動端末100の気付アドレスが「Co−CoA1」であることを「homeagent−addr」なるアドレスが付与されているホームエージェント(すなわちホームエージェント220)に登録することが指示されている。
【0075】
モバイルIP制御アプリケーション120はモバイルIPインタフェイス160を機能させてホームエージェント220にこの気付アドレスを登録させる(S2006)。その後、この登録が完了したことを示す登録応答をモバイルIP制御アプリケーション120はモバイルIPインタフェイス160から受け取る(S2007)。
【0076】
モバイルIP制御アプリケーション120はこの登録応答を受け取ると、モバイルIPの登録が完了したことをネットワーク接続アプリケーション110へ返答する(S2008)。この応答を示す情報の具体例を図8(b)に示す。
【0077】
図8(b)の例では、ホームアドレスが「home−addr」である移動端末100の気付アドレスが「Co−CoA1」であることを「homeagent−addr」なるアドレスが付与されているホームエージェント(すなわちホームエージェント220)に登録したことが示されている。
【0078】
この後、ネットワーク接続アプリケーション110は図5のS1008の処理を行い、モバイルIPの登録によって確定したトンネリングの経路をルーティングテーブル141の経路情報に反映させる。この設定が行われた後の経路情報を図9(d)に示す。
【0079】
図9(d)に示す経路情報は、以下のようにして生成される。
まず、無線LANインタフェイス171が無線LANアクセスポイント230との接続を確立すると、無線LANインタフェイス171は、この確立された経路を示す経路情報、すなわち、自分自身であるdev11をインタフェイスとし、GWをwlan1−addr、すなわち無線LANアクセスポイント230とし、そして宛先をデフォルト(Default)とした経路情報をルーティングテーブル141に登録する。
【0080】
なお、この経路情報は図9(a)の第二行目のものであるが、この時点では、この経路情報のメトリック値は「2」ではなく「1」とされる。
次に、ネットワーク接続アプリケーション110は、図5のS1006の処理によってホームエージェント220との間での通信経路の決定を行ったときには、図10に示す経路決定処理を実行する。
【0081】
この図10の処理について説明する。
まず、S3001において、ルーティングテーブル141に現在示されている経路情報が全て取得され、続くS3002において、その経路情報にホームエージェント220を宛先としているものが存在するか否かが判定される。
【0082】
この判定の結果、ホームエージェント220を宛先としている経路情報が存在する場合には(S3002の判定結果がYes)、S3003において、ホームエージェント220を宛先としているその経路情報のメトリック値に「1」が加算されて優先度が下げられる。
【0083】
その後、S3004において、通信経路の決定結果を示す経路情報、すなわち、ホームエージェント220を宛先とし、決定した通信経路の接続を行っているインタフェイス名が示されており、更にその接続先の機器のIPアドレスがGWとして示されている経路情報がルーティングテーブル141に設定される。なお、この経路情報のメトリック値は「1」とされる。
【0084】
以上までの処理が経路決定処理である。
図9(a)に示す経路情報の生成に話を戻すと、図5のS1006の処理によってホームエージェント220との間での通信経路の決定を行ったときには、ルーティングテーブル141にはホームエージェント220を宛先としている経路情報が存在していないので、図10のS3002の判定処理の結果はNoとなり、S3004の処理が実行される。その結果、通信経路の決定結果を示す経路情報、すなわち、homeagent−addrを宛先とし、dev11をインタフェイスとし、そしてwlan1−addrをGWとして示されており、メトリック値が「1」である経路情報がルーティングテーブル141に登録される。
【0085】
なお、この経路情報は図9(a)の第三行目のものである。
次に、ネットワーク接続アプリケーション110は、図5のS1008の処理により、モバイルIPの登録によって確定したトンネリングの経路をルーティングテーブル141の経路情報に反映させる設定処理が行われる。この経路情報設定処理の処理内容を示すフローチャートは図11に示されている。
【0086】
この図11の処理について説明する。
まず、S4001において、ルーティングテーブル141に現在示されている経路情報が全て取得され、続くS4002において、その経路情報にmip−dev、すなわちモバイルIPインタフェイス160がインタフェイスとされ、宛先がデフォルトとされているものが存在するか否かが判定され、存在する(判定結果がYes)ならばS4004に、存在しない(判定結果がNo)ならばS4003に、それぞれ処理が進む。
【0087】
S4003では、モバイルIPの登録によって確定したトンネリングの経路を示す経路情報、すなわち、デフォルトを宛先とし、mip−devをインタフェイスとし、そしてhomeagent−addrをGWとして示されている経路情報がそのメトリック値が「1」とされてルーティングテーブル141に登録される。
【0088】
S4004では、mip−devをインタフェイスとし、宛先がデフォルトとされている経路情報のメトリック値を変数mに代入する。そして、続くS4005において、S4001の処理によって取得された経路情報のうち、mip−dev以外のものをインタフェイスとし、宛先がデフォルトとされている経路情報のメトリック値にこの変数mの値が加算され、その後はこの経路情報設定処理が終了する。つまり、このS4004及びS4005の処理によって、mip−devがインタフェイスである経路情報の優先度が、宛先がデフォルトとされている経路情報の中での最高の優先度とされる。
【0089】
以上までの処理が経路設定処理である。
図9(a)に示す経路情報の生成に話を戻すと、図5のS1008の処理として上述した経路設定処理が開始されると、この時点ではルーティングテーブル141の経路情報にmip−devをインタフェイスとされ、宛先がデフォルトとされているものが存在していないので、S4002の判定結果はNoとなり、S4003の処理によって、デフォルトを宛先とし、mip−devをインタフェイスとし、そしてhomeagent−addrをGWとして示されている経路情報がそのメトリック値が「1」とされてルーティングテーブル141に登録される。
【0090】
なお、この経路情報は図9(a)の第一行目のものである。
次に、S4004の処理によって、S4003の処理によって登録された経路情報のメトリック値「1」が変数mに代入される。その後、S4005において、mip−dev以外のものをインタフェイスとし、宛先がデフォルトとされている経路情報のメトリック値にこの変数mの値が加算される。この処理によって、図9(a)の第二行目の経路情報が「2」となる。
【0091】
図9(a)に示す経路情報は以上のようにして生成される。
図7のシーケンス図の説明へ戻る。
同図のS2008までのシーケンスにより、図9(a)に示す経路情報がルーティングテーブル141に設定されている。
【0092】
ここで、移動端末100が会社の構外に移動して無線LANアクセスポイント230のサービスエリアを外れために、無線LANアクセスポイント230から発せられている電波の受信強度の減衰が生じたとする。
【0093】
ネットワーク接続アプリケーション110は、図5のS1011の処理により、この減衰に起因して生じる無線LANアクセスポイント230と無線LANインタフェイス171との間の通信路の品質劣化を中間ネットワークドライバ150から得ている情報より検出する(S2009)。その後、図5のS1002の処理により、公衆移動通信網300を経由したPPP接続に切り替える旨の選択結果を取得する。
【0094】
次に、ネットワーク接続アプリケーション110は図5のS1003の処理を行い、PPPインタフェイス181を機能させてリモートアクセスサーバ240への公衆移動通信網300を経由したPPP接続を行わせる(S2010)。この接続が完了するとリモートアクセスサーバ240によって移動端末100に一時的なIPアドレス「Co−CoA2」が付与されるので、PPPインタフェイス181はこのIPアドレスを添えて接続の完了をネットワーク接続アプリケーション110に通知する(S2011)。
【0095】
また、このとき、PPPインタフェイス181は確立された経路を示す経路情報、すなわち、自分自身であるdev12をインタフェイスとし、GWをras−addr、すなわちリモートアクセスサーバ240とし、そして宛先をデフォルトとした経路情報を、メトリック値を「1」、つまり最優先の経路としてルーティングテーブル141に追加登録する。
【0096】
図9(a)に示されているルーティングテーブル141にこの経路情報が追加登録されたものが図9(b)に示されているテーブルであり、図9(b)の第一行目がこの追加された登録情報である。なお、このとき、ルーティングテーブル141に既に登録されていた経路情報であって宛先がデフォルトであるものはそのメトリック値に「1」が加算されて優先度が下げられる。
【0097】
図7のシーケンス図の説明へ戻る。
接続の完了の通知を受け取ると、ネットワーク接続アプリケーション110は図5のS1004の接続先個別処理を行うが、このときの接続先はリモートアクセスサーバ240なので特に何ら個別の処理を行うことなく次の処理に進む。
【0098】
ネットワーク接続アプリケーション110は続いて図5のS1005及びS1006の処理を行う。
このときにはそれまでに使用していた無線LANアクセスポイント230と無線LANインタフェイス171との間の通信路の品質劣化による代替通信路を確立しようとしているので、リモートアクセスサーバ240によって移動端末100に与えられた一時的なIPアドレス「Co−CoA2」が気付アドレスとして選択される。
【0099】
ここで、ネットワーク接続アプリケーション110は、前述した経路決定処理を実行してルーティングテーブル141の経路情報の操作を行う。
この時点ではルーティングテーブル141にはホームエージェント220を宛先としている経路情報が存在している(図9(b)の第四行目)ので、図10のS3002の判定処理の結果はYesとなり、S3003の処理が実行されて図9(b)の第四行目の経路情報のメトリック値が「1」から「2」へと変更される。更に、S3004の処理が実行される。その結果、homeagent−addrを宛先とし、dev12をインタフェイスとし、そしてras−addrをGWとして示されており、メトリック値が「1」である経路情報がルーティングテーブル141に登録される。この経路情報が通信経路の決定結果を示していている。
【0100】
これらの処理が施された後のルーティングテーブル141の経路情報が図9(c)に示されているものである。
図7のシーケンス図の説明へ戻る。
【0101】
次にネットワーク接続アプリケーション110は、図5のS1007の処理を行い、気付アドレス「Co−CoA2」をモバイルIP制御アプリケーション120へ通知してモバイルIPの登録をモバイルIP制御アプリケーション120へ指示する(S2012)。この指示を示す情報の具体例は図12(a)に示されている。この例は、気付アドレスが「Co−CoA2」に変更されていることを除けば図8(a)に示したものと同様のものである。
【0102】
この通知を受け取ったモバイルIP制御アプリケーション120はモバイルIPインタフェイス160を機能させてホームエージェント220にこの気付アドレスを登録させる(S2013)。その後、この登録が完了したことを示す登録応答をモバイルIP制御アプリケーション120はモバイルIPインタフェイス160から受け取る(S2014)。
【0103】
モバイルIP制御アプリケーション120はこの登録応答を受け取ると、モバイルIPの登録が完了したことをネットワーク接続アプリケーション110へ返答する(S2015)。この応答を示す情報の具体例は図12(b)に示されている。この例は、気付アドレスが「Co−CoA2」に変更されていることを除けば図8(b)に示したものと同様のものである。
【0104】
この後、ネットワーク接続アプリケーション110は図5のS1008の処理、すなわち図11に示した経路設定処理を実行し、モバイルIPの登録によって確定したトンネリングの経路をルーティングテーブル141の経路情報に反映させる。
【0105】
この時点では、ルーティングテーブル141にはmip−dev、すなわちモバイルIPインタフェイス160がインタフェイスとされ、宛先がデフォルトとされている経路情報が存在している(図9(c)の第四行目)ので、図11のS4002の判定処理の結果はYesとなり、S4004の処理が実行されて図9(c)の第四行目の経路情報のメトリック値「2」が変数mに代入される。
【0106】
その後続いて実行されるS4005の処理により、図9(c)に示されている経路情報のうち、mip−dev以外のものをインタフェイスとし、宛先がデフォルトとされている経路情報、すなわち、図9(c)の第三行目及び第五行目の各々の経路情報のメトリック値にこの変数mの値「2」が加算される。
【0107】
これらの処理が施された後のルーティングテーブル141の経路情報が図9(d)に示されているものである。
その後、ネットワーク接続アプリケーション110は、図5のS1009及びS1010の処理を行い、余分な接続である無線LANアクセスポイント230と無線LANインタフェイス171との接続を切断させる(S2016)。
【0108】
無線LANインタフェイス171は、無線LANアクセスポイント230との接続を切断したときには、自分自身(すなわちdev11)をインタフェイスとして示している全ての経路情報をルーティングテーブル141から削除する。
【0109】
図9(d)に示されている経路情報からdev11をインタフェイスとして示している全ての経路情報をルーティングテーブル141から削除した結果が図9(e)に示されているものである。
【0110】
図6に示した第一の例では、移動端末100において以上のような処理が行われるので、無線LANアクセスポイント230に接続してサーバ210との間でデータ通信を行っている移動端末100が公衆移動通信網300を経由するリモートアクセスサーバ240へのPPP接続を行って通信メディアの切り替えを行ってもこのデータ通信が継続される。
【0111】
また、ルーティングテーブル141が図9(e)の経路情報を有していれば、その後にPPP接続が異常切断した場合でも、以下に示すような処理を行うことによりある程度通信を継続することができる。
【0112】
この処理は、図9(e)に示す経路情報に従えば、通信パケットはデフォルトを宛先とし最小のメトリック値が与えられている経路情報に設定されているインタフェイスであるmip−devを使用して送信される。ここで、もしもPPP接続が異常切断した場合には、PPPインタフェイス181は、dev12をインタフェイスとしている経路情報を削除するが、その場合でもmip−dev、すなわちモバイルIPインタフェイス160が指定されている宛先がデフォルトである経路情報は残存する。その結果、アプリケーションのデータ通信はしばらくの間維持されるのである。
【0113】
従って、その間に図5に示したネットワーク接続処理が実行されて利用可能な通信メディアでの新たな接続が確立してモバイルIPの登録が完了することができれば、その再接続後に異常切断前の通信を継続させることが可能となる。
【0114】
次に、図13に示す通信メディアの切り替えが生じる第二の例について説明する。同図に示す例は、図3に示した通信ネットワークにおいて、無線LANアクセスポイント420に接続してインターネット400を経由したVPNによるデータ通信をサーバ210との間で行っている移動端末100が、移動したために無線LANアクセスポイント420のサービスエリアを外れたので、公衆移動通信網300を経由してリモートアクセスサーバ240へのPPP接続を行ってこのデータ通信を継続するというものである。
【0115】
ここで図14について説明する。同図は、図13に示す第二の例における通信メディアの切り替えシーケンスを示している。
まず、移動端末100が無線LANアクセスポイント420のサービスエリア内に位置しているときにユーザが社内LAN200への接続指示を行うと、この指示はネットワーク接続アプリケーション110によって検出される(S5001)。このとき、ネットワーク接続アプリケーション110では、前述したネットワーク接続処理が開始される。
【0116】
ネットワーク接続アプリケーション110は、まず、図5のS1001の処理を行って気付アドレスの選択を行う権限をモバイルIP制御アプリケーション120から取得する(S5002)。
【0117】
次に、ネットワーク接続アプリケーション110は図5のS1002及びS1003の処理を行い、無線LANインタフェイス171を機能させて無線LANアクセスポイント420への接続を行わせる(S5003)。
【0118】
この接続が完了すると無線LANアクセスポイント420によって移動端末100に一時的なIPアドレス「Co−CoA3」が付与される。よく知られたDHCP(Dynamic Host Configuration Protocol )などによりこのIPアドレスを取得した無線LANインタフェイス171はこのIPアドレスを添えて接続の完了(接続成功)をネットワーク接続アプリケーション110に通知する(S5004)。
【0119】
また、このとき、無線LANインタフェイス171は確立された経路を示す経路情報、すなわち、自分自身であるdev11をインタフェイスとし、GWをwlan2−addr、すなわち無線LANアクセスポイント420とし、そして宛先をデフォルトとした経路情報を、メトリック値を「1」としてルーティングテーブル141に登録する。
【0120】
接続の完了の通知を受け取ると、ネットワーク接続アプリケーション110は図5のS1004の接続先個別処理を行う。このときの接続先は無線LANアクセスポイント420なので図5(b)のS1101の判定処理の結果はYesとなり、S1102の処理においてインターネット400を経由する接続が行われると判断する。そして、S1103及びS1104の処理が行われる。
【0121】
まず、図5(b)のS1103の処理が実行されると、ネットワーク接続アプリケーション110は無線LANアクセスポイント420を利用する際に最初に必要となるユーザ認証情報を送信する依頼を無線LANインタフェイス171へ行う(S5005)。この依頼に応じてユーザ認証情報の送信が行われ、認証完了の通知を無線LANアクセスポイント420から受信すると、無線LANインタフェイス171はこの通知をネットワーク接続アプリケーション110へ転送する(S5006)。
【0122】
認証完了の通知を受け取ったネットワーク接続アプリケーション110は、次に図5(b)のS1103の処理を実行し、VPNインタフェイス191を機能させてVPNサーバ250への接続を行わせる(S5007)。
【0123】
VPNサーバ250はVPNインタフェイス191との間でのVPNリンクを確立させると、移動端末100に一時的なIPアドレス「Co−CoA4」を付与する。このIPアドレスを受信したVPNインタフェイス191は、このIPアドレスを添えて接続の完了(接続成功)をネットワーク接続アプリケーション110に通知する(S5008)。
【0124】
また、このとき、VPNインタフェイス191はルーティングテーブル141の経路情報の操作を行う。この操作後の経路情報を図15(a)に示す。
この経路情報の操作について説明する。
【0125】
まず、S1003の接続処理に用いたメディアを使用し、VPNサーバ250を宛先とする経路情報がルーティングテーブル141にメトリック値が「1」で追加登録される。この追加登録された経路情報は図15(a)の第二行目のものである。
【0126】
次に、VPNサーバ250への接続完了により、ルーティングテーブル141の現在の経路情報のうち、宛先がデフォルトであるもののメトリック値に「1」が加算されて経路選択の優先度が下げられる。このメトリック値の変更を受けた経路情報は図15(a)の第三行目のものである。
【0127】
そして、更に、VPNインタフェイス191は自身で確立した経路を示す経路情報、すなわち、自分自身であるdev13をインタフェイスとし、GWをvpn−addr、すなわちVPNサーバ250とし、そして宛先をデフォルトとした経路情報を、メトリック値を「1」としてルーティングテーブル141に登録する。この経路情報は図15(a)の第一行目のものである。
【0128】
VPNインタフェイス191は以上のルーティングテーブル141の経路情報の操作を行う。
図14のシーケンス図の説明へ戻る。
【0129】
ネットワーク接続アプリケーション110は続いて図5のS1005及びS1006の処理を行う。
ここではVPNによるデータ通信を行う必要があるので気付アドレスとして「Co−CoA4」が選択される。
【0130】
また、このとき、ネットワーク接続アプリケーション110は、図10に示した経路決定処理を実行してルーティングテーブル141の経路情報の操作を行う。
【0131】
この時点ではルーティングテーブル141にはホームエージェント220を宛先としている経路情報が存在していないので、図10のS3002の判定処理の結果はNoとなり、S3004の処理が実行される。その結果、homeagent−addrを宛先とし、dev13をインタフェイスとし、そしてvpn−addrをGWとして示されており、メトリック値が「1」である経路情報がルーティングテーブル141に登録される。この経路情報で示されている通信経路、すなわち、このVPNリンクがホームエージェント220との間の通信経路として決定される。
【0132】
これらの処理が施された後のルーティングテーブル141の経路情報が図15(b)に示されているものである。
次に、ネットワーク接続アプリケーション110は、図5のS1007の処理を行い、この気付アドレス「Co−CoA4」をモバイルIP制御アプリケーション120へ通知してモバイルIPの登録をモバイルIP制御アプリケーション120へ指示する(S5009)。この指示を示す情報の具体例を図16(a)に示す。この例は、気付アドレスが「Co−CoA4」に変更されていることを除けば図8(a)に示したものと同様のものである。
【0133】
この通知を受け取ったモバイルIP制御アプリケーション120はモバイルIPインタフェイス160を機能させてホームエージェント220にこの気付アドレスを登録させる(S5010)。その後、この登録が完了したことを示す登録応答をモバイルIP制御アプリケーション120はモバイルIPインタフェイス160から受け取る(S5011)。
【0134】
モバイルIP制御アプリケーション120はこの登録応答を受け取ると、モバイルIPの登録が完了したことをネットワーク接続アプリケーション110へ返答する(S5012)。この応答を示す情報の具体例は図16(b)に示されている。この例は、気付アドレスが「Co−CoA4」に変更されていることを除けば図8(b)に示したものと同様のものである。
【0135】
この後、ネットワーク接続アプリケーション110は図5のS1008の処理、すなわち図11に示した経路設定処理を実行し、モバイルIPの登録によって確定したトンネリングの経路をルーティングテーブル141の経路情報に反映させる。
【0136】
この時点では、ルーティングテーブル141にはmip−devがインタフェイスとされ、宛先がデフォルトとされている経路情報が存在しないので(図15(b)参照)、図11のS4002の判定処理の結果はNoとなり、S4003の処理によって、デフォルトを宛先とし、mip−devをインタフェイスとし、そしてhomeagent−addrをGWとして示されている経路情報がそのメトリック値が「1」とされてルーティングテーブル141に登録される。
【0137】
続いてS4004の処理が実行され、S4003の処理によって登録された経路情報のメトリック値「1」が変数mに代入される。その後続いて実行されるS4005の処理により、図15(b)に示されている経路情報のうち、mip−dev以外のものをインタフェイスとし、宛先がデフォルトとされている経路情報、すなわち、図15(b)の第二行目及び第三行目の各々の経路情報のメトリック値にこの変数mの値「1」が加算される。
【0138】
これらの処理が施された後のルーティングテーブル141の経路情報が図15(c)に示されているものである。
ここで、移動端末100が移動して無線LANアクセスポイント420のサービスエリアを外れために、無線LANアクセスポイント420から発せられている電波の受信強度の減衰が生じたとする。
【0139】
ネットワーク接続アプリケーション110は、図5のS1011の処理により、この減衰に起因して生じる無線LANアクセスポイント420と無線LANインタフェイス171との間の通信路の品質劣化を中間ネットワークドライバ150から得ている情報より検出する(S5013)。その後、図5のS1002の処理により、公衆移動通信網300を経由したPPP接続に切り替える旨の選択結果を取得する。
【0140】
次に、ネットワーク接続アプリケーション110は図5のS1003の処理を行い、PPPインタフェイス181を機能させてリモートアクセスサーバ240への公衆移動通信網300を経由したPPP接続を行わせる(S5014)。この接続が完了するとリモートアクセスサーバ240によって移動端末100に一時的なIPアドレス「Co−CoA2」が付与されるので、PPPインタフェイス181はこのIPアドレスを添えて接続の完了をネットワーク接続アプリケーション110に通知する(S5015)。
【0141】
また、このとき、PPPインタフェイス181は確立された経路を示す経路情報、すなわち、自分自身であるdev12をインタフェイスとし、GWをras−addr、すなわちリモートアクセスサーバ240とし、そして宛先をデフォルトとした経路情報を、メトリック値を「1」、つまり最優先の経路としてルーティングテーブル141に追加登録する。
【0142】
図15(c)に示されているルーティングテーブル141にこの経路情報が追加登録されたものが図17(a)に示されているテーブルであり、図17(a)の第一行目がこの追加された登録情報である。なお、このとき、ルーティングテーブル141に既に登録されていた経路情報であって宛先がデフォルトであるものはそのメトリック値に「1」が加算されて優先度が下げられる。
【0143】
図14のシーケンス図の説明へ戻る。
接続の完了の通知を受け取ったネットワーク接続アプリケーション110は図5のS1004の接続先個別処理を行うが、このときの接続先は社内LAN200内にあるリモートアクセスサーバ240なので特に何ら個別の処理を行うことなく次の処理に進む。
【0144】
ネットワーク接続アプリケーション110は続いて図5のS1005及びS1006の処理を行う。
このときにはそれまでに使用していた無線LANアクセスポイント420と無線LANインタフェイス171との間の通信路の品質劣化による代替通信路を確立しようとしているので、リモートアクセスサーバ240によって移動端末100に与えられた一時的なIPアドレス「Co−CoA2」が気付アドレスとして選択される。
【0145】
ここで、ネットワーク接続アプリケーション110は、前述した経路決定処理を実行してルーティングテーブル141の経路情報の操作を行う。
この時点ではルーティングテーブル141にはホームエージェント220を宛先としている経路情報が存在している(図17(a)の第五行目)ので、図10のS3002の判定処理の結果はYesとなり、S3003の処理が実行されて図17(a)の第五行目の経路情報のメトリック値が「1」から「2」へと変更される。更に、S3004の処理が実行される。その結果、homeagent−addrを宛先とし、dev12をインタフェイスとし、そしてras−addrをGWとして示されており、メトリック値が「1」である経路情報がルーティングテーブル141に登録される。この経路情報が通信経路の決定結果である。
【0146】
これらの処理が施された後のルーティングテーブル141の経路情報が図17(b)に示されているものである。
図14のシーケンス図の説明へ戻る。
【0147】
次にネットワーク接続アプリケーション110は、図5のS1007の処理を行い、気付アドレス「Co−CoA2」をモバイルIP制御アプリケーション120へ通知してモバイルIPの登録をモバイルIP制御アプリケーション120へ指示する(S5016)。この指示を示す情報の具体例は図12(a)に示されている。
【0148】
この通知を受け取ったモバイルIP制御アプリケーション120はモバイルIPインタフェイス160を機能させてホームエージェント220にこの気付アドレスを登録させる(S5017)。その後、この登録が完了したことを示す登録応答をモバイルIP制御アプリケーション120はモバイルIPインタフェイス160から受け取る(S5018)。
【0149】
モバイルIP制御アプリケーション120はこの登録応答を受け取ると、モバイルIPの登録が完了したことをネットワーク接続アプリケーション110へ返答する(S5019)。この応答を示す情報の具体例は図12(b)に示されている。
【0150】
この後、ネットワーク接続アプリケーション110は図5のS1008の処理、すなわち図11に示した経路設定処理を実行し、モバイルIPの登録によって確定したトンネリングの経路をルーティングテーブル141の経路情報に反映させる。
【0151】
この時点では、ルーティングテーブル141にはmip−dev、すなわちモバイルIPインタフェイス160がインタフェイスとされ、宛先がデフォルトとされている経路情報が存在している(図17(b)の第四行目)ので、図11のS4002の判定処理の結果はYesとなり、S4004の処理が実行されて図17(b)の第四行目の経路情報のメトリック値「2」が変数mに代入される。
【0152】
その後続いて実行されるS4005の処理により、図17(b)に示されている経路情報のうち、mip−dev以外のものをインタフェイスとし、宛先がデフォルトとされている経路情報、すなわち、図17(b)の第三行目、第五行目、及び第六行目の各々の経路情報のメトリック値にこの変数mの値「2」が加算される。
【0153】
これらの処理が施された後のルーティングテーブル141の経路情報が図17(c)に示されているものである。
その後、ネットワーク接続アプリケーション110は、図5のS1009及びS1010の処理を行い、余分な接続である、VPNサーバ250とVPNインタフェイス191との接続、及び無線LANアクセスポイント420と無線LANインタフェイス171との接続を切断させる(S2016)。
【0154】
無線LANインタフェイス171は、無線LANアクセスポイント420との接続を切断したときには、自分自身(すなわちdev11)をインタフェイスとして示している全ての経路情報をルーティングテーブル141から削除する。また、VPNインタフェイス191は、VPNサーバ250との接続を切断したときには、自分自身(すなわちdev13)をインタフェイスとして示している全ての経路情報をルーティングテーブル141から削除する。
【0155】
図17(c)に示されている経路情報からdev11及びdev13をインタフェイスとして示している全ての経路情報をルーティングテーブル141から削除した結果が図17(d)に示されているものである。
【0156】
図13に示した第二の例では、移動端末100において以上のような処理が行われるので、無線LANアクセスポイント420に接続してサーバ210との間でデータ通信を行っている移動端末100が公衆移動通信網300を経由するリモートアクセスサーバ240へのPPP接続を行って通信メディアの切り替えを行ってもこのデータ通信が継続される。
【0157】
なお、ネットワーク接続アプリケーション110は、モバイルIP接続を終了させる場合には、図18に示すような終了要求をモバイルIP制御アプリケーション120へ送付すればよく、この終了要求をモバイルIP制御アプリケーション120へ送付することにより、それまでモバイルIP制御アプリケーション120においてなされていた気付アドレス選択の抑制が解除され、モバイルIP制御アプリケーション120自身で気付アドレスの選択を行うことができるようになる。
【0158】
以上詳細に説明したように移動端末100を構成することにより、図19に示すような、無線LAN、PHS、IMT−2000などの複数の通信メディアが利用できる移動端末100において、既に行われているサーバ210との間でのデータ通信を継続させながら通信メディアを切り替えることができるようになる。
【0159】
次に、移動端末100のハードウェア構成について説明する。図30は移動端末100のハードフェア構成図である。
図20において、CPU501、ROM502、RAM503、記憶部504、操作入力部505、表示部506、無線LAN用電波送受信部507、及び公衆移動通信網用電波送受信部508はバス508を介して相互に接続されており、CPU501による管理の下で相互にデータ授受を行うことができる。
【0160】
CPU(Central Processing Unit )501は移動端末100全体の動作制御を司る中央処理装置である。
ROM(Read Only Memory)502は、CPU501によって実行される基本制御プログラムが予め格納されているメモリであり、移動端末100の起動時にCPU501がこの基本制御プログラムを実行することによってこの移動端末100全体の動作の基本的な制御がCPU501によって行なわれるようになる。
【0161】
RAM(Random Access Memory)503は、各種制御プログラムをCPU501が実行するときにワークメモリとして使用され、また各種のデータの一時的な格納領域として必要に応じて用いられるメインメモリとしても使用されるメモリである。
【0162】
記憶部504は各種のプログラムやデータを記憶して保持しておくものである。記憶部504としては、例えばEEPROM(Electrically Erasable and Programmable Read Only Memory)などの半導体メモリが移動端末100としては消費電力、重量、対衝撃性の点などで適しているが、ハードディスク装置などでもよい。
【0163】
ネットワーク接続アプリケーション110及びモバイルIP制御アプリケーション120は記憶部504に予め格納されており、これらが読み出されてCPU501において実行されることによって、これらが有している機能が提供される。また、記憶部504には、API130、インターネットプロトコルドライバ140、中間ネットワークドライバ150、モバイルIPインタフェイス160、無線LANインタフェイス171、PPPインタフェイス181、及びVPNインタフェイス191の各々が有している機能をCPU501で提供させるための各種プログラムも格納されており、これらのプログラムが読み出されてCPU501によって実行されることによってこれらの機能が提供される。
【0164】
また、記憶部504にはルーティングテーブル141である経路情報も格納される。
操作入力部505は移動端末100のユーザによって操作され、この操作の内容を検出してCPU501へその操作内容を伝達する。CPU501はその操作内容に対応しているユーザからの指示の内容を認識する。
【0165】
表示部506はCPU501から送られてきた各種の情報を表示して視覚によりユーザに各種の情報を提供する。
無線LAN用電波送受信部507は無線LANインタフェイス171によって管理され、無線LANアクセスポイント240若しくは420との間で電波の送受信を行うことによって各種のデータの授受を行う。
【0166】
公衆移動通信網用電波送受信部508はPPPインタフェイス181によって管理され、公衆移動通信網300に設けられている電波送受信部との電波の送受信を行うことによって各種のデータの授受を行う。公衆移動通信網用電波送受信部508は、例えば携帯電話で代用することも可能である。
【0167】
移動端末100は以上の各構成要素を備えて構成される。なお、図20に示す移動端末100の構成は多くの標準的なコンピュータが有しているものに、無線LAN用電波送受信部507と公衆移動通信網用電波送受信部508とを接続しるだけで構成することができるので、このようなコンピュータで移動端末100を構成することもできる。
【0168】
また、移動端末100の各構成要素の有している機能をコンピュータに行わせる制御プログラムをコンピュータで読み取り可能な記録媒体に記録させ、そのプログラムを記録媒体からコンピュータに読み出させて実行させることによって移動端末100をコンピュータで構成することも可能である。
【0169】
記録させた制御プログラムをコンピュータで読み取ることの可能な記録媒体の例を図21に示す。同図に示すように、記録媒体としては、例えば、コンピュータ601に内蔵若しくは外付けの付属装置として備えられるRAM若しくはROM又はハードディスク装置などのメモリ602、あるいはフレキシブルディスク、MO(光磁気ディスク)、CD−ROM、DVD−ROMなどといった可搬型記録媒体603等が利用できる。
【0170】
また、記録媒体は通信回線604を介してコンピュータ601と接続される、プログラムサーバ605として機能するコンピュータが備えている記憶装置606であってもよい。この場合には、制御プログラムを表現するデータ信号で搬送波を変調して得られる伝送信号を、プログラムサーバ605から伝送媒体である通信回線604を通じて伝送するようにし、コンピュータ601では受信した伝送信号を復調して制御プログラムを再生することで当該制御プログラムを実行できるようになる。
【0171】
その他、本発明は、上述した実施形態に限定されることなく、種々の改良・変更が可能である。
(付記1) 通信に複数の通信メディアを利用可能なコンピュータにおいて使用される通信制御プログラムであって、
前記通信に用いる優先順位が与えられており該通信の経路を示している経路情報を記憶する制御を行う経路情報記憶制御処理と、
前記通信に利用していたものに代えて異なる通信メディアを利用するために、前記優先順位が最優先とされている経路情報を設定する制御を行う経路情報設定制御処理と、
前記優先順位に従った通信経路を用いて前記通信をコンピュータに行わせる通信制御処理と、
をコンピュータに行わせるための通信制御プログラム。
【0172】
(付記2) 前記経路情報設定処理による制御によって設定される経路情報は、前記異なる通信メディアを利用する通信経路を示していることを特徴とする請求項1に記載の通信制御プログラム。
【0173】
(付記3) 前記経路情報は、インターネットプロトコルにおけるルーティング情報であり、
前記優先順位は、前記ルーティング情報におけるメトリック情報に基づいて決定される、
ことを特徴とする付記1に記載の通信制御プログラム。
【0174】
(付記4) 前記通信制御処理による制御によって行われる前記通信に用いられる通信経路を示す情報を該通信の相手側の装置に通知する制御を行う通知制御処理を更にコンピュータに行わせることを特徴とする付記1に記載の通信制御プログラム。
【0175】
(付記5) 前記相手側装置はモバイルIP(インターネットプロトコル)における前記コンピュータについてのホームエージェントであり、
前記ホームエージェントとの間で行われる通信は、通信パケットのトンネリングであり、
前記通知制御処理は、前記通信制御処理による制御によって前記通信に用いる通信路が確立されたときに前記コンピュータに対して一時的に付与されるIP(インターネットプロトコル)アドレスを前記ホームエージェントに更に通知する制御を前記コンピュータに行わせる、
ことを特徴とする付記4に記載の通信制御プログラム。
【0176】
(付記6) 前記通知制御処理は、モバイルIPにおける気付アドレスの登録を前記ホームエージェントに対して行う機能を提供するモバイルIP制御アプリケーションの実行を制御して前記IPアドレスの通知を行わせることを特徴とする付記5に記載の通信制御プログラム。
【0177】
(付記7) 前記通知制御処理が行われた後に、前記コンピュータと前記ホームエージェントとの間で前記トンネリングの機能を提供するモバイルIPインタフェイスを介することを示しており且つ前記優先順位を最優先とした経路情報を設定する制御を行うトンネリング経路情報設定制御処理を更に前記コンピュータに行わせることを特徴とする付記5に記載の通信制御プログラム。
【0178】
(付記8) 前記通信経路の品質を示す品質情報を取得する制御を行う品質情報取得制御処理を更にコンピュータに行わせ、
前記経路情報設定制御処理は、前記通信に用いていた通信経路の品質の劣化が前記品質情報より検出されたときに前記経路情報を設定する制御をコンピュータに行わせる、
ことを特徴とする付記1に記載の通信制御プログラム。
【0179】
(付記9) 前記通信制御処理は、前記優先順位に従った通信経路が利用する通信メディアにおいて個別に定められている該通信メディアへの接続手順をコンピュータに実行させて該通信経路を用いる前記通信を行わせることを特徴とする付記2に記載の通信制御プログラム。
【0180】
(付記10) 前記通信制御処理は、前記通信に用いる通信経路の違いに基づき、該通信経路の途中にVPN(仮想施設通信網)リンクを確立する制御をコンピュータに行わせて該通信を行わせることを特徴とする付記1に記載の通信制御プログラム。
【0181】
(付記11) 通信に複数の通信メディアを利用可能な通信装置において使用される方法であって、
前記通信に用いる優先順位が与えられており該通信の経路を示している経路情報を記憶し、
前記通信に利用していたものに代えて異なる通信メディアを利用するために、前記優先順位が最優先とされている経路情報を設定し、
前記優先順位に従った通信経路を用いて前記通信を行う、
ことを特徴とする通信制御方法。
【0182】
(付記12) 通信に複数の通信メディアを利用可能な通信装置であって、
前記通信に用いる優先順位が与えられており該通信の経路を示している経路情報が記憶される経路情報記憶手段と、
前記通信に利用していたものに代えて異なる通信メディアを利用するために、前記優先順位が最優先とされている経路情報を設定する経路情報設定手段と、
前記優先順位に従った通信経路を用いて前記通信を行う通信手段と、
を有することを特徴とする通信装置。
【0183】
【発明の効果】
以上詳細に説明したように、本発明は、通信に複数の通信メディアを利用可能な通信装置において、通信に用いる優先順位が与えられておりその通信の経路を示している経路情報を記憶し、それまで通信に利用していたものに代えて異なる通信メディアを利用するために、上述した優先順位が最優先とされている経路情報を設定し、上述した優先順位に従った通信経路を用いてその通信を行うようにする。
【0184】
こうすることにより、通信経路の利用管理のために既存の通信装置でも用いられていた経路情報で通信メディアの利用管理までもが行われ、通信メディアの利用管理のための専用の構成を新たに通信装置に備える必要がなくなるので、本発明によれば、通信装置の小型化・軽量化や通信装置で行われる処理の負担軽減に寄与するという効果を奏する。
【図面の簡単な説明】
【図1】本発明の原理構成を示す図である。
【図2】本発明を実施する移動端末の基本構成を示す図である。
【図3】移動端末が利用できる通信ネットワークの構成を示す図である。
【図4】図3に示したネットワークを利用するための各種のインタフェイスを装着した移動端末の構成を示す図である。
【図5】ネットワーク接続処理の処理内容を示すフローチャートである。
【図6】通信メディアの切り替えが生じる第一の例を示す図である。
【図7】図6に示す例における通信メディアの切り替えシーケンスを示す図である。
【図8】モバイルIP登録指示とその応答の第一の例を示す図である。
【図9】図6に示す例における経路情報の変遷を示す図である。
【図10】経路決定処理の処理内容を示すフローチャートである。
【図11】経路情報設定処理の処理内容を示すフローチャートである。
【図12】モバイルIP登録指示とその応答の第二の例を示す図である。
【図13】通信メディアの切り替えが生じる第二の例を示す図である。
【図14】図13に示す例における通信メディアの切り替えシーケンスを示す図である。
【図15】図13に示す例における経路情報の変遷を示す図(その1)である。
【図16】モバイルIP登録指示とその応答の第三の例を示す図である。
【図17】図13に示す例における経路情報の変遷を示す図(その2)である。
【図18】モバイルIP終了指示の例を示す図である。
【図19】移動端末の使用例を示す図である。
【図20】移動端末のハードウェア構成を示す図である。
【図21】記録させた制御プログラムをコンピュータで読み取ることの可能な記録媒体の例を示す図である。
【図22】インターネットプロトコルにおける経路の選択の説明に用いる図である。
【符号の説明】
10 通信装置
11 経路情報記憶手段
12 経路情報設定手段
13 通信手段
20−1 第一の通信メディア
20−1 第二の通信メディア
100 移動端末
110 ネットワーク接続アプリケーション
120 モバイルIP制御アプリケーション
130 API
140 インターネットプロトコルドライバ
141 ルーティングテーブル
150 中間ネットワークドライバ
160 モバイルIPインタフェイス
170、180 物理インタフェイス
171 無線LANインタフェイス
181 PPPインタフェイス
190 論理インタフェイス
191 VPNインタフェイス
200 社内LAN
210 サーバ
220 ホームエージェント
230、420 無線LANアクセスポイント
240 リモートアクセスサーバ
250 VPNサーバ
300 公衆移動通信網
400 インターネット
410 無線LANホットスポット提供ISP
501 CPU
502 ROM
503 RAM
504 記憶部
505 操作入力部
506 表示部
507 無線LAN用電波送受信部
508 公衆移動通信網用電波送受信部
509 バス
601 コンピュータ
602 メモリ
603 可搬型記録媒体
604 通信回線
605 プログラムサーバ
606 記憶装置
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a mobile communication technology, and more particularly to a technology for continuing data communication when moving.
[0002]
[Prior art]
In communication using an Internet protocol (hereinafter, referred to as “IP”), it is necessary to appropriately set route information when performing communication. As shown in FIG. 22, it is necessary to specify a destination (Destination), a gateway address (Gateway: hereinafter referred to as “GW”), a destination interface (Interface), and a metric (Metric) in the IP routing information. is there. The metric information indicates the priority of the route information, and when there is a plurality of pieces of route information of the same destination, the one having the smallest value (metric value) is selected.
[0003]
In the example of the route information illustrated in FIG. 22, the route information of the row whose metric value is “1” is adopted.
When the route information is set as shown in FIG. 22A, the route information on the first line indicates that the IP is addressed to the device having the address vpn-addr. The lower-level protocol is instructed to transmit the existing communication packet to the gateway at the address wlan1-addr using the physical interface dev11. On the other hand, the communication information indicating that the communication packet is another destination is instructed to be transmitted to the vpn-addr using the logical interface dev13 according to the path information in the second line of FIG. . In the route information, a destination having a default (Default) is information applied to a communication packet having a destination other than that specified in other route information.
[0004]
Here, a case is considered where the destination of the communication packet that has reached dev13 has been changed to vpn-addr inside the logical interface dev13. At this time, a search for the gateway of the destination of the communication packet whose destination has been changed is performed on the route information in FIG. 22A, and based on the route information in the first line having the metric value “1”. An instruction to transmit this communication packet to wlan1-addr using the physical interface dev11 is issued.
[0005]
On the other hand, when the route information is set as shown in FIG. 22B, the IP is used for the communication packet addressed to the vpn-addr by using the physical interface dev11 according to the route information in the first line. Instruct the lower protocol to transmit to wlan1-addr. In addition, the route information in the third line instructs that the communication packet indicated to be another destination is also transmitted to wlan1-addr using the logical interface dev11. In other words, in this case, all communication directly uses only the physical interface dev11 without using the logical interface dev13.
[0006]
As described above, the metric value of the route information greatly affects the determination of the transmission destination.
In recent years, a plurality of communication media such as a wired LAN (Local Area Network), a wireless LAN, a mobile phone, a PHS (Personal Handyphone System), and an IMT-2000 (International Mobile Telecommunication 2000) have become available. In addition, advances in miniaturization technology have made it possible to attach multiple network interfaces even to small devices such as mobile terminals, and to select and use one from multiple communication media depending on the situation. Can be done.
[0007]
Also, in the Internet Engineering Task Force (IETF), which is promoting the standardization of various technologies used on the Internet, mobile technology is used as a technology for enabling communication using a first address called a home address even at a destination. The study of IP (Mobile IP) is in progress.
[0008]
[Non-patent document 1]
Ryuji Ushikawa, "Design and Implementation of Multiple Interface Communication Mechanism Using MobileIPv6", Keio University Graduate School of Media and Governance Master's Thesis, 2000 (2000), [Search August 30, 2002], Internet < URL: http: // www. sfc. wide. ad. jp / @ ryuji / research / paper / ryuji-master-thesis. pdf>
[0009]
[Problems to be solved by the invention]
The conventionally performed mobile IP control has a well-known problem of a care-of address selection problem. This means that when the mobile terminal connects to different communication networks using a plurality of interfaces, which of the addresses individually assigned to the mobile terminal in each communication network is the second address of the mobile terminal itself, that is, The question is whether to select it as a care-of address. If the selection of the second address is incorrect, problems such as incorrect data communication will occur.
[0010]
In addition, when using a wireless LAN hot spot service that has been rapidly increasing recently, user authentication is first performed according to an authentication method designated by the service provider, such as user authentication using a known HTTP protocol. Need to be done. Therefore, when a mobile terminal that has been performing data communication using a public mobile communication network such as a mobile phone moves and enters a wireless LAN hot spot service area up to that time, the mobile terminal switches from the public mobile communication network to the wireless LAN. In order to continue the data communication even after switching between the communication media and the communication medium, it is necessary to complete the user authentication before entering the mobile IP at the time of entering the wireless LAN hot spot service area.
[0011]
When a corporate user connects to a company's in-house LAN via a public line such as the Internet, a VPN link using a well-known VPN (Virtual Private Network) technology is used to ensure security. It may be necessary to perform the process for establishing between the process of user authentication at the wireless LAN hotspot and the process of mobile IP registration.
[0012]
As described above, various procedures are required to switch a plurality of communication media as described above while continuing a certain data communication. However, conventionally, a network connection application for connecting to a communication network, and a mobile IP control application for performing processing (mobile IP registration processing) for registering information on mobile IP, such as the above-mentioned care-of address, in a home agent for this mobile terminal And existed independently in the same mobile terminal. For this reason, since the user had to start and use the network connection application and the mobile IP control application separately, the data communication was temporarily interrupted to switch the communication medium.
[0013]
In view of the above circumstances, it is an object of the present invention to provide a new communication medium selection method in a communication device that can use a plurality of communication media.
[0014]
[Means for Solving the Problems]
First, FIG. 1 will be described. FIG. 1 shows the principle configuration of the present invention, and a communication device 10 in the same figure relates to the present invention.
[0015]
The communication device 10 can use a plurality of communication media such as a first communication medium 20-1, a second communication medium 20-2,... As a communication path when performing communication.
The route information storage unit 11 is provided with priority information used by the communication device 10 for communication, and stores route information indicating a route of the communication.
[0016]
The route information setting means 12 sets the route information in which the above-mentioned priority is given the highest priority in order to use a different communication medium instead of the one used for the communication.
[0017]
The communication unit 13 performs communication using a communication path according to the above-described priority.
According to the configuration of FIG. 1, since the use of the communication medium is also managed by using the path information used in the existing communication device for the use management of the communication path, the dedicated use for the use management of the communication medium is performed. It is not necessary to newly provide the configuration of the communication device 10. Therefore, by configuring the communication device 10 in this way, it is possible to reduce the size and weight of the communication device 10 and to reduce the load of processing performed by the communication device 10.
[0018]
In the configuration shown in FIG. 1, the path information set by the path information setting means 12 may indicate a communication path using a communication medium different from that used for the communication. it can.
[0019]
By doing so, the communication medium to be used can be specified.
In the configuration shown in FIG. 1, the route information 13 is routing information in the Internet protocol, and the above-described priority can be determined based on metric information in the routing information.
[0020]
According to this configuration, for example, a ready-made device that performs routing in a network using the Internet protocol can be used as the communication unit 13.
[0021]
Further, the configuration of FIG. 1 can be configured to further include a notification unit that notifies information indicating a communication path used for communication performed by the communication unit 13 to a device on the other side of the communication.
[0022]
According to this configuration, the communication partner device of the communication partner 13 can recognize the communication path used by the communication means 13 for communication, so that autonomous search for the communication path by the communication partner device is not required. Become.
[0023]
In this configuration, for example, this partner device is used as a home agent for the communication device 10 in mobile IP (Internet protocol), communication performed with the home agent is set as tunneling of a communication packet, and this notification is performed. The control means is configured to further notify the home agent of an IP (Internet Protocol) address temporarily assigned to the communication device 10 when the communication path used for this communication is established by the communication control means 13. be able to.
[0024]
According to this configuration, use management of tunneling with the home agent can also be performed.
In this configuration, the notifying unit controls execution of a mobile IP control application that provides a function of registering a care-of address in the mobile IP to the home agent, and notifies the communication device 10 of the IP address. If a mobile IP control application is prepared in advance, the configuration of the notification means can be simplified by diverting the mobile IP control application.
[0025]
Further, in this configuration, it is shown that, after the notification unit performs the above-described notification, the communication device 10 and the home agent are transmitted via the mobile IP interface that provides the tunneling function. It is possible to further comprise a tunneling route information setting means for setting the route information with the highest priority.
[0026]
With this configuration, the establishment of the tunneling link is recognized by the communication unit 13 and communication by tunneling is performed.
In addition, the configuration of FIG. 1 further includes a quality information acquisition unit that acquires quality information indicating the quality of the communication path, and the path information setting unit 12 determines that the quality of the communication path used for the previous communication has deteriorated. When detected from the quality information, the above-described route information having the highest priority can be set.
[0027]
According to this configuration, when the quality of the communication path of the communication medium (for example, the first communication medium 20-1) used so far deteriorates, the communication path to be used is changed to a different transmission medium (for example, Can be automatically switched to communication using the communication medium 20-2).
[0028]
In the configuration of FIG. 1, when the path information set by the path information setting means 12 indicates a communication path using a communication medium different from that used for communication, the communication means 13 However, it is possible to execute a connection procedure for a communication medium which is individually defined in a communication medium used by a communication path according to the above-mentioned priority order, and perform communication using the communication path.
[0029]
According to this configuration, the user of the communication device 10 can be freed from such cumbersome procedures by automatically causing the communication unit 13 to perform a procedure for connecting to an individually defined communication medium, for example, a procedure such as user authentication. To be released.
[0030]
Further, in the configuration of FIG. 1, the communication means 13 is configured to establish a VPN (virtual facility communication network) link in the middle of the communication path and perform communication based on a difference in a communication path used for communication. Can be.
[0031]
According to this configuration, even when a communication line having security anxiety, such as the Internet, is included in the middle of a communication path when a certain communication medium is used, security is ensured by the VPN. Also, since the procedure for establishing the VPN link is automatically performed by the communication means 13, the user of the communication device 10 does not need to perform such a troublesome procedure.
[0032]
Note that the communication control method including the procedure performed by each component included in the communication device 10 according to the present invention illustrated in FIG. 1 has the same operation and effect as the communication device 10. The problem is solved.
[0033]
In addition, even if the program causes a computer to perform the same control as the function of each component of the communication device 10 according to the present invention, the above-described problem is solved by causing the computer to execute the program. Will be resolved.
[0034]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
First, FIG. 2 will be described. FIG. 1 shows a basic configuration of a mobile terminal 100 implementing the present invention.
[0035]
The mobile terminal 100 includes a network connection application 110 and a mobile IP control application 120. Further, the mobile terminal 100 is provided with an API (Application Program Interface) 130 for these software to operate in cooperation.
[0036]
The network connection application 110 provides a data communication function according to the Internet protocol to the mobile terminal 100, and updates the route information indicated in the routing table 141 which is referred to by the Internet protocol driver 140 for setting a communication route. A function of establishing a VPN link and a function of performing user authentication required when using the wireless LAN hot spot service.
[0037]
Further, the network connection application 110 is connected from an intermediate network driver 150 that manages two physical interfaces 170 and 180, which will be described later, via the operation states of the physical interfaces 170 and 180 and via the physical interfaces 170 and 180. It provides a function to acquire information indicating the quality of the communication network.
[0038]
The mobile IP control application 120 provides a function of setting a home address, a care-of address, and the like for the mobile IP interface 160 that performs mobile IP tunneling.
[0039]
In addition, the mobile terminal 100 is equipped with a plurality of interfaces such as two physical interfaces 170 and 180 and a logical interface 190. Examples of the physical interfaces 170 and 180 include a wireless LAN interface for connecting to a wireless LAN and a PPP interface for connecting to a public telephone network. Examples of the logical interface include an interface for using the above-described VPN. It should be noted that other interfaces can be used as the physical interface 170 or 180 or the logical interface 190.
[0040]
In the mobile terminal 100, the mobile IP interface 160 is given a name "mip-dev", the physical interface 170 is named "dev11", and the physical interface 180 is "dev12". And the logical interface 190 is given a name “dev13”.
[0041]
Next, FIG. 3 will be described. FIG. 1 shows a configuration of a communication network that can be used by the mobile terminal 100.
In FIG. 3, an in-house LAN 200 is an in-house network of a company in which the user of the mobile terminal 100 works. A server 210, a home agent 220, a wireless LAN access point 230, a remote access server 240, and a VPN server 250 are connected to the in-house LAN 200.
[0042]
The server 210 is a server that is a communication partner of the data communication performed by the mobile terminal 100, and is given an IP address “srv-addr”.
The home agent 220 is a server that manages the movement status of the mobile terminal 100, and is given an IP address “homeagent-addr”.
[0043]
The wireless LAN access point 230 is a device provided on the in-house LAN 200 side to connect the mobile terminal 100 to the in-house LAN 200 wirelessly when the mobile terminal 100 is located in the premises of the company. The IP address “addr” is given.
[0044]
The remote access server 240 is a device provided on the in-house LAN 200 side for connecting the mobile terminal 100 to the in-house LAN 200 via a public telephone line by dial-up PPP (Point to Point Protocol) from outside the company premises. The IP address “ras-addr” is given. In the present embodiment, the remote access server 240 connects the public mobile communication network 300, which is a communication path for a mobile communication device such as a mobile phone, to the in-house LAN 200.
[0045]
The VPN server 250 is a server for constructing a VPN via the Internet 400, and is given an IP address “vpn-addr”.
An ISP (Internet Services Provider) 410 that provides a wireless LAN hot spot is an Internet connection provider that provides an Internet connection service by opening a space (hot spot) where the wireless LAN access point 420 is installed to an unspecified user.
[0046]
The wireless LAN access point 420 is a device that wirelessly connects a communication device located in the hot spot to the Internet 400, and is given an IP address “wlan2-addr”.
[0047]
Next, FIG. 4 will be described. FIG. 3 shows the configuration of the mobile terminal 100 equipped with various interfaces for using the network shown in FIG.
As can be seen by comparing the configuration shown in FIG. 4 with the basic configuration of the mobile terminal 100 shown in FIG. 2, the mobile terminal 100 shown in FIG. 4 has the wireless LAN interface 171 installed as dev11 and further has the PPP interface. 181 as dev12 and the VPN interface 191 as dev13.
[0048]
The wireless LAN interface 171 has a function of establishing a wireless communication path between the wireless LAN access point 230 or 420 and the mobile terminal 100.
The PPP interface 181 has a function of making a PPP connection to the remote access server 240 via the public mobile communication network 300.
[0049]
The VPN interface 191 has a function of establishing a VPN link with the VPN server 250.
It is assumed that the mobile terminal 100 is assigned a unique IP address “home-addr” that does not change with movement.
[0050]
In the following description, it is assumed that the mobile terminal 100 is assigned a temporary IP address “Co-CoA1” when a communication path is established with the wireless LAN point 230 via the wireless LAN interface 171. I do. Further, when the connection to the remote access server 240 is successful by making the PPP interface 181 function, the temporary IP address “Co-CoA2” is set to “Co-CoA2” when the communication path is established with the wireless LAN point 420. A temporary IP address “CoA3”, and a temporary IP address “Co-CoA4” when a VPN link is established with the VPN server 250 by operating the VPN interface 191. And
[0051]
Next, FIG. 5 will be described. FIG. 4 is a flowchart showing the contents of the network connection process performed in the mobile terminal 100 by executing the network connection application 110. Hereinafter, this processing will be described in detail with reference to FIG.
[0052]
This network connection processing is started when the mobile terminal 100 detects an instruction to start communication with the server 210 made by the user of the mobile terminal 100.
[0053]
In FIG. 5A, in S1001, a process of giving an instruction to suppress the care-of address selection control function originally provided to the mobile IP control application 120 to the mobile IP control application 120 via the API 130 is performed. The mobile IP control application 120 that has received this instruction suppresses the care-of address selection control function, and waits for an instruction from the mobile IP control application 120.
[0054]
In S1002, the selection result of the communication medium and the connection destination used for performing communication with the server 210, in the example of FIG. 3, (1) wireless connection to the wireless LAN access point 230 provided in the in-house LAN 200, (2) PPP connection to remote access server 240 via public mobile communication network 300, (3) Wireless LAN access point installed by wireless LAN hotspot providing ISP for communication via Internet 400 A process of acquiring a selection result of one of the three options of wireless connection to 420 is performed. The selection of the communication medium and the connection destination may be performed by the user, or the mobile terminal 100 may automatically select the communication medium and the connection destination based on information such as the quality of the optional communication medium and the communication cost.
[0055]
In step S1003, a necessary interface is operated based on the result of the selection in the previous step, a connection process is performed on the selected communication medium, and a communication path to the in-house LAN 200 is established.
[0056]
In S1004, connection destination individual processing is performed. Details of this processing are shown in the flowchart of FIG.
In FIG. 5B, first, in S1101, it is determined whether or not the connection destination to which the mobile terminal 100 is connected is a connection destination that can be used by an unspecified person by the processing of S1003. The process proceeds to S1102, and if No, the connection destination individual process ends, and the process returns to S1005 in FIG.
[0057]
In the example of FIG. 3, if the connection destination to which the mobile terminal 100 is connected by the processing of S1003 is the wireless LAN access point 420, the determination result of S1101 is Yes, and the connection destination is the wireless LAN access point 230 or the remote access server 240. If this is the case, the determination result in S1101 is No.
[0058]
In S1102, when communication with the server 210 is performed using the connection destination performed in the processing of S1003, it is determined that communication is performed via the Internet 400. First, in S1103, individual processing for each connection destination is performed. Is In the example of FIG. 3, as the individual processing, there is a processing of performing a user authentication procedure which is first necessary when using the wireless LAN access point 420.
[0059]
In S1104, a process is performed in which the VPN interface 191 functions and a VPN link is established with the VPN server 250 communicated via the Internet 400.
[0060]
After the above processing is completed, the connection destination individual processing ends, and the processing returns to S1005 in FIG.
In S1005, the second address of the mobile terminal 100 itself is obtained from the address newly given from the connection destination connected by the processing in S1003 and the address given from another connection destination already connected, That is, a process of selecting a care-of address is performed.
[0061]
In S1006, a communication route between the mobile terminal 100 and the home agent 220 is determined based on the result of selecting the second address in the previous step, and this determination is reflected in the route information indicated in the routing table 141. Processing is performed.
[0062]
In S1007, a process of notifying the mobile IP control application 120 of the care-of address selected in the process of S1005 and instructing the mobile IP control application 120 to register a mobile IP is performed. The mobile IP control application 120 performs a process of causing the home agent 220 to register this care-of address by causing the mobile IP interface 160 to function.
[0063]
In S1008, a setting process for reflecting the tunneling route determined by the registration of the mobile IP in the process of S1007 in the route information of the routing table 141 is performed.
[0064]
In S1009, it is determined whether there is an unnecessary connection in the communication with the server 210 due to the determination of the route in the processing of S1006, and if an extra connection exists (the determination result in S1009 is Yes), For example, in S1010, a process of disconnecting the extra connection is performed.
[0065]
In step S1011, information indicating the operation state of each interface of the mobile terminal 100, the quality of the connected communication path, and the like is acquired from the intermediate network driver 150, and a process of monitoring whether or not these states have changed is performed. It is repeated. When it is determined in the monitoring process that a change has occurred in these states (when the determination result in the determination process in S1011 is Yes), the process returns to S1002, and the above-described process is repeated.
[0066]
The above processing is the network connection processing. By performing this processing in the mobile terminal 100, it is possible to switch communication media while continuing data communication that has already been performed. Hereinafter, how the communication media is switched while continuing data communication with the server 210 in the network shown in FIG. 3 will be described.
[0067]
First, a first example in which switching of communication media shown in FIG. 6 occurs will be described. In the example shown in FIG. 3, the mobile terminal 100 connected to the wireless LAN access point 230 and performing data communication with the server 210 has moved outside the company premises in the communication network shown in FIG. Since the user has left the service area of the access point 230, the data communication is continued by making a PPP connection to the remote access server 240 via the public mobile communication network 300.
[0068]
Here, FIG. 7 will be described. This figure shows a communication medium switching sequence in the first example shown in FIG.
First, when the user issues an instruction to connect to the in-house LAN 200 when the mobile terminal 100 is located on the premises of the company, the instruction is detected by the network connection application 110 (S2001). At this time, the network connection application 110 starts the above-described network connection process.
[0069]
First, the network connection application 110 acquires the authority to select the care-of address by performing the processing of S1001 in FIG. 5 from the mobile IP control application 120 (S2002).
[0070]
Next, the network connection application 110 performs the processing of S1002 and S1003 in FIG. 5, and causes the wireless LAN interface 171 to function so as to connect to the wireless LAN access point 230 (S2003). When this connection is completed, a temporary IP address “Co-CoA1” is assigned to the mobile terminal 100 by the wireless LAN access point 230, so that the wireless LAN interface 171 completes the connection with this IP address (connection success). Is notified to the network connection application 110 (S2004). At this time, the route information indicating the established route is registered in the routing table 141, and the details will be described later.
[0071]
Upon receiving the notification of the completion of the connection, the network connection application 110 performs the connection destination individual processing of S1004 in FIG. 5. Proceed to processing.
[0072]
The network connection application 110 subsequently performs the processing of S1005 and S1006 in FIG. 5, but since the temporary IP address acquired so far is only “Co-CoA1,” this address is selected as the care-of address. The communication path used between the home agent 220 and the connection destination to which the IP address is assigned is determined as the communication path with the home agent 220. The operation of the route information performed at this time will be described later.
[0073]
Next, the network connection application 110 performs the process of S1007 in FIG. 5, notifies the care-of address to the mobile IP control application 120, and instructs the mobile IP control application 120 to register the mobile IP (S2005). FIG. 8A shows a specific example of information indicating this instruction.
[0074]
In the example of FIG. 8A, the home agent to which the address “homeagent-addr” is assigned indicating that the care-of address of the mobile terminal 100 whose home address is “home-addr” is “Co-CoA1” ( That is, registration to the home agent 220) is instructed.
[0075]
The mobile IP control application 120 causes the home agent 220 to register this care-of address by operating the mobile IP interface 160 (S2006). Thereafter, the mobile IP control application 120 receives a registration response indicating that the registration has been completed from the mobile IP interface 160 (S2007).
[0076]
When receiving the registration response, the mobile IP control application 120 replies to the network connection application 110 that the registration of the mobile IP has been completed (S2008). FIG. 8B shows a specific example of information indicating this response.
[0077]
In the example of FIG. 8B, the home agent to which the care-of address of the mobile terminal 100 whose home address is “home-addr” is “Co-CoA1” and the address “homeagent-addr” is assigned ( That is, it is indicated that the user has registered with the home agent 220).
[0078]
After that, the network connection application 110 performs the process of S1008 in FIG. 5 and reflects the tunneling route determined by the registration of the mobile IP in the route information of the routing table 141. FIG. 9D shows the route information after this setting is performed.
[0079]
The route information shown in FIG. 9D is generated as follows.
First, when the wireless LAN interface 171 establishes a connection with the wireless LAN access point 230, the wireless LAN interface 171 uses the route information indicating the established route, that is, its own dev11 as an interface, and Is set as wlan1-addr, that is, the wireless LAN access point 230, and the routing information with the destination set to the default (Default) is registered in the routing table 141.
[0080]
Note that this route information is the second line in FIG. 9A, but at this time, the metric value of this route information is “1” instead of “2”.
Next, when the network connection application 110 determines the communication path with the home agent 220 by the processing of S1006 in FIG. 5, the network connection application 110 executes the path determination processing shown in FIG.
[0081]
The processing in FIG. 10 will be described.
First, in S3001, all the route information currently shown in the routing table 141 is acquired, and in subsequent S3002, it is determined whether or not there is any route information addressed to the home agent 220.
[0082]
As a result of this determination, if there is route information destined for the home agent 220 (the determination result of S3002 is Yes), “1” is set to the metric value of the route information destined for the home agent 220 in S3003. It is added and the priority is lowered.
[0083]
After that, in S3004, path information indicating the result of the determination of the communication path, that is, the name of the interface that is connected to the determined communication path with the home agent 220 as the destination is indicated, and further, the device of the connection destination is indicated. The route information whose IP address is indicated as GW is set in the routing table 141. Note that the metric value of this route information is “1”.
[0084]
The above processing is the path determination processing.
Returning to the generation of the route information shown in FIG. 9A, when the communication route with the home agent 220 is determined by the processing of S1006 in FIG. Since there is no route information for the destination, the result of the determination processing in S3002 in FIG. 10 is No, and the processing in S3004 is executed. As a result, path information indicating the determination result of the communication path, that is, path information in which homeagent-addr is set as a destination, dev11 is set as an interface, and wlan1-addr is set as GW, and a metric value is “1” Is registered in the routing table 141.
[0085]
Note that this route information is that on the third line in FIG. 9A.
Next, the network connection application 110 performs a setting process of reflecting the tunneling route determined by the registration of the mobile IP in the route information of the routing table 141 by the process of S1008 in FIG. FIG. 11 is a flowchart showing the contents of the route information setting process.
[0086]
The processing of FIG. 11 will be described.
First, in S4001, all the routing information currently indicated in the routing table 141 is acquired, and in S4002, the routing information is set to “mip-dev”, that is, the mobile IP interface 160 is set as the interface, and the destination is set to the default. It is determined whether or not there is any of them, and the process proceeds to S4004 if it exists (the determination result is Yes), and to S4003 if it does not exist (the determination result is No).
[0087]
In S4003, the route information indicating the tunneling route determined by the registration of the mobile IP, that is, the route information indicating the default as the destination, the mip-dev as the interface, and the homeagent-addr as the GW is the metric value. Is set to “1” and registered in the routing table 141.
[0088]
In step S4004, “mip-dev” is used as an interface, and the metric value of the route information whose destination is set as a default is substituted for a variable “m”. In step S4005, of the route information acquired by the process in step S4001, information other than mip-dev is used as an interface, and the value of the variable m is added to the metric value of the route information whose destination is default. After that, the route information setting process ends. That is, by the processes of S4004 and S4005, the priority of the route information whose interface is “mip-dev” is the highest priority among the route information whose destination is the default.
[0089]
The processing described above is the path setting processing.
Returning to the generation of the route information shown in FIG. 9A, when the above-described route setting process is started as the process of S1008 in FIG. Since there is no interface whose default is the destination, the determination result of S4002 is No. By the processing of S4003, the default is set to the destination, the map-dev is set to the interface, and the homeagent-addr is set to the interface. The route information indicated as GW is registered in the routing table 141 with the metric value set to “1”.
[0090]
This route information is the one on the first line in FIG. 9A.
Next, in the process of S4004, the metric value “1” of the route information registered in the process of S4003 is substituted for the variable m. After that, in S4005, a value other than the map-dev is used as an interface, and the value of the variable m is added to the metric value of the route information whose destination is the default. By this processing, the path information on the second line in FIG. 9A becomes “2”.
[0091]
The route information shown in FIG. 9A is generated as described above.
Returning to the description of the sequence diagram of FIG.
The route information shown in FIG. 9A is set in the routing table 141 by the sequence up to S2008 in FIG.
[0092]
Here, it is assumed that the reception intensity of the radio wave emitted from the wireless LAN access point 230 is reduced because the mobile terminal 100 moves out of the premises of the company and is out of the service area of the wireless LAN access point 230.
[0093]
The network connection application 110 obtains, from the intermediate network driver 150, the quality deterioration of the communication path between the wireless LAN access point 230 and the wireless LAN interface 171 due to the attenuation by the processing of S1011 in FIG. It is detected from the information (S2009). After that, by the process of S1002 in FIG. 5, a selection result to switch to the PPP connection via the public mobile communication network 300 is obtained.
[0094]
Next, the network connection application 110 performs the process of S1003 in FIG. 5, and causes the PPP interface 181 to function to make a PPP connection to the remote access server 240 via the public mobile communication network 300 (S2010). When this connection is completed, the temporary IP address “Co-CoA2” is assigned to the mobile terminal 100 by the remote access server 240, so that the PPP interface 181 notifies the network connection application 110 of the completion of the connection with this IP address. Notification is made (S2011).
[0095]
Also, at this time, the PPP interface 181 sets path information indicating the established path, that is, dev12, which is itself, as the interface, GW as ras-addr, that is, the remote access server 240, and sets the destination as the default. The route information is additionally registered in the routing table 141 with the metric value “1”, that is, the route with the highest priority.
[0096]
The routing table 141 shown in FIG. 9A in which the route information is additionally registered is the table shown in FIG. 9B, and the first line in FIG. This is the added registration information. At this time, for route information already registered in the routing table 141 and having a default destination, "1" is added to the metric value to lower the priority.
[0097]
Returning to the description of the sequence diagram of FIG.
Upon receiving the notification of the completion of the connection, the network connection application 110 performs the connection destination individual processing of S1004 in FIG. 5, but since the connection destination at this time is the remote access server 240, the next processing is performed without performing any individual processing. Proceed to.
[0098]
Subsequently, the network connection application 110 performs the processing of S1005 and S1006 in FIG.
At this time, an attempt is made to establish an alternative communication path due to the deterioration of the quality of the communication path between the wireless LAN access point 230 and the wireless LAN interface 171 used up to that time. The assigned temporary IP address “Co-CoA2” is selected as the care-of address.
[0099]
Here, the network connection application 110 performs the above-described route determination processing and operates the route information of the routing table 141.
At this point, the routing table 141 includes the route information destined for the home agent 220 (the fourth line in FIG. 9B), so the result of the determination processing in S3002 in FIG. 10 is Yes, and S3003 Is executed, and the metric value of the route information on the fourth line in FIG. 9B is changed from “1” to “2”. Further, the process of S3004 is executed. As a result, path information having homeagent-addr as a destination, dev12 as an interface, and ras-addr as a GW, and a metric value of “1” is registered in the routing table 141. This route information indicates the result of determining the communication route.
[0100]
The route information of the routing table 141 after these processes are performed is shown in FIG. 9C.
Returning to the description of the sequence diagram of FIG.
[0101]
Next, the network connection application 110 performs the process of S1007 in FIG. 5, notifies the care-of address “Co-CoA2” to the mobile IP control application 120, and instructs the mobile IP control application 120 to register the mobile IP (S2012). . A specific example of information indicating this instruction is shown in FIG. This example is the same as that shown in FIG. 8A except that the care-of address is changed to “Co-CoA2”.
[0102]
The mobile IP control application 120 that has received this notification causes the home agent 220 to register this care-of address by operating the mobile IP interface 160 (S2013). Thereafter, the mobile IP control application 120 receives a registration response indicating that the registration has been completed from the mobile IP interface 160 (S2014).
[0103]
Upon receiving the registration response, the mobile IP control application 120 replies to the network connection application 110 that mobile IP registration has been completed (S2015). A specific example of the information indicating the response is shown in FIG. This example is the same as that shown in FIG. 8B except that the care-of address is changed to “Co-CoA2”.
[0104]
After that, the network connection application 110 executes the process of S1008 in FIG. 5, that is, the route setting process shown in FIG. 11, and reflects the tunneling route determined by the registration of the mobile IP in the route information of the routing table 141.
[0105]
At this time, the routing table 141 has a route information in which the mip-dev, that is, the mobile IP interface 160 is set as an interface, and the destination is set as a default (the fourth line in FIG. 9C). Therefore, the result of the determination processing in S4002 in FIG. 11 is Yes, the processing in S4004 is executed, and the metric value “2” of the route information on the fourth line in FIG. 9C is substituted for the variable m.
[0106]
By the processing of S4005 that is subsequently executed, of the path information shown in FIG. 9C, a path other than the map-dev is used as an interface, and the path information whose destination is set to the default, that is, FIG. The value “2” of the variable m is added to the metric value of the route information in the third line and the fifth line of 9 (c).
[0107]
The route information of the routing table 141 after these processes are performed is shown in FIG. 9D.
After that, the network connection application 110 performs the processing of S1009 and S1010 in FIG. 5, and disconnects the unnecessary connection between the wireless LAN access point 230 and the wireless LAN interface 171 (S2016).
[0108]
When disconnecting the connection with the wireless LAN access point 230, the wireless LAN interface 171 deletes from the routing table 141 all the routing information indicating itself (that is, dev11) as an interface.
[0109]
FIG. 9E shows a result obtained by deleting from the routing table 141 all the route information indicating dev11 as an interface from the route information shown in FIG. 9D.
[0110]
In the first example shown in FIG. 6, since the above processing is performed in the mobile terminal 100, the mobile terminal 100 connected to the wireless LAN access point 230 and performing data communication with the server 210 This data communication is continued even if the communication medium is switched by making a PPP connection to the remote access server 240 via the public mobile communication network 300.
[0111]
Further, if the routing table 141 has the route information shown in FIG. 9E, communication can be continued to some extent by performing the following processing even if the PPP connection is abnormally disconnected thereafter. .
[0112]
In this process, according to the route information shown in FIG. 9 (e), the communication packet uses mip-dev which is an interface set to the route information having the default destination and the minimum metric value. Sent. Here, if the PPP connection is abnormally disconnected, the PPP interface 181 deletes the route information using the dev12 as the interface. Even in this case, the mip-dev, that is, the mobile IP interface 160 is designated. The routing information whose destination is the default remains. As a result, the data communication of the application is maintained for a while.
[0113]
Therefore, if the network connection process shown in FIG. 5 is executed during this time to establish a new connection on an available communication medium and complete registration of the mobile IP, communication before abnormal disconnection after the reconnection is completed. Can be continued.
[0114]
Next, a second example in which the switching of the communication medium shown in FIG. 13 occurs will be described. In the example shown in the figure, the mobile terminal 100 connected to the wireless LAN access point 420 and performing data communication with the server 210 via the Internet 400 with the server 210 in the communication network shown in FIG. As a result, the user is out of the service area of the wireless LAN access point 420, and the data communication is continued by making a PPP connection to the remote access server 240 via the public mobile communication network 300.
[0115]
Here, FIG. 14 will be described. This figure shows a communication medium switching sequence in the second example shown in FIG.
First, when the user issues a connection instruction to the in-house LAN 200 while the mobile terminal 100 is located within the service area of the wireless LAN access point 420, this instruction is detected by the network connection application 110 (S5001). At this time, the network connection application 110 starts the above-described network connection process.
[0116]
First, the network connection application 110 performs the processing of S1001 in FIG. 5 and acquires the authority to select a care-of address from the mobile IP control application 120 (S5002).
[0117]
Next, the network connection application 110 performs the processing of S1002 and S1003 in FIG. 5, and causes the wireless LAN interface 171 to function to connect to the wireless LAN access point 420 (S5003).
[0118]
When this connection is completed, the wireless LAN access point 420 gives the mobile terminal 100 a temporary IP address “Co-CoA3”. The wireless LAN interface 171 that has obtained this IP address by using a well-known DHCP (Dynamic Host Configuration Protocol) or the like notifies the network connection application 110 of the completion of the connection (successful connection) with this IP address (S5004).
[0119]
At this time, the wireless LAN interface 171 uses route information indicating an established route, that is, dev11, which is itself, as an interface, GW as wlan2-addr, ie, a wireless LAN access point 420, and a destination as default. Is registered in the routing table 141 with the metric value being “1”.
[0120]
Upon receiving the notification of the completion of the connection, the network connection application 110 performs the connection destination individual processing of S1004 in FIG. Since the connection destination at this time is the wireless LAN access point 420, the result of the determination processing in S1101 of FIG. 5B is Yes, and it is determined that a connection via the Internet 400 is made in the processing of S1102. Then, the processing of S1103 and S1104 is performed.
[0121]
First, when the processing of S1103 in FIG. 5B is executed, the network connection application 110 sends a request for transmitting user authentication information that is first necessary when using the wireless LAN access point 420 to the wireless LAN interface 171. (S5005). The user authentication information is transmitted in response to this request, and upon receiving a notification of the completion of the authentication from the wireless LAN access point 420, the wireless LAN interface 171 transfers the notification to the network connection application 110 (S5006).
[0122]
The network connection application 110 that has received the notification of the authentication completion executes the process of S1103 in FIG. 5B, and causes the VPN interface 191 to function to connect to the VPN server 250 (S5007).
[0123]
When establishing a VPN link with the VPN interface 191, the VPN server 250 gives the mobile terminal 100 a temporary IP address “Co-CoA4”. The VPN interface 191 that has received this IP address notifies the network connection application 110 of the completion of the connection (connection success) with this IP address attached (S5008).
[0124]
At this time, the VPN interface 191 operates the route information in the routing table 141. The route information after this operation is shown in FIG.
The operation of the route information will be described.
[0125]
First, using the medium used for the connection process in S1003, route information destined for the VPN server 250 is additionally registered in the routing table 141 with a metric value of “1”. The additionally registered route information is the one on the second line in FIG.
[0126]
Next, when the connection to the VPN server 250 is completed, “1” is added to the metric value of the current destination information of the routing table 141 whose destination is the default, and the priority of the route selection is lowered. The route information whose metric value has been changed is the information on the third line in FIG.
[0127]
Further, the VPN interface 191 has path information indicating a path established by itself, that is, the dev13, which is its own, as an interface, the GW as vpn-addr, that is, a VPN server 250, and a path with a default destination. The information is registered in the routing table 141 with the metric value being “1”. This route information is the one on the first line in FIG.
[0128]
The VPN interface 191 operates the route information of the routing table 141 described above.
Returning to the description of the sequence diagram of FIG.
[0129]
Subsequently, the network connection application 110 performs the processing of S1005 and S1006 in FIG.
Here, it is necessary to perform data communication by VPN, so “Co-CoA4” is selected as the care-of address.
[0130]
At this time, the network connection application 110 performs the route determination processing shown in FIG. 10 and operates the route information in the routing table 141.
[0131]
At this point, the routing table 141 has no route information destined for the home agent 220. Therefore, the result of the determination processing in S3002 in FIG. 10 is No, and the processing in S3004 is executed. As a result, route information having homeagent-addr as a destination, dev13 as an interface, and vpn-addr as GW, and a metric value of “1” is registered in the routing table 141. The communication path indicated by the path information, that is, the VPN link is determined as a communication path with the home agent 220.
[0132]
The route information of the routing table 141 after these processes are performed is shown in FIG.
Next, the network connection application 110 performs the process of S1007 in FIG. 5, notifies the care-of address “Co-CoA4” to the mobile IP control application 120, and instructs the mobile IP control application 120 to register the mobile IP ( S5009). FIG. 16A shows a specific example of information indicating this instruction. This example is the same as that shown in FIG. 8A except that the care-of address is changed to “Co-CoA4”.
[0133]
The mobile IP control application 120 that has received this notification causes the home agent 220 to register this care-of address by operating the mobile IP interface 160 (S5010). Thereafter, the mobile IP control application 120 receives a registration response indicating that the registration has been completed from the mobile IP interface 160 (S5011).
[0134]
Upon receiving the registration response, the mobile IP control application 120 replies to the network connection application 110 that the registration of the mobile IP has been completed (S5012). A specific example of the information indicating this response is shown in FIG. This example is the same as that shown in FIG. 8B except that the care-of address is changed to “Co-CoA4”.
[0135]
After that, the network connection application 110 executes the process of S1008 in FIG. 5, that is, the route setting process shown in FIG. 11, and reflects the tunneling route determined by the registration of the mobile IP in the route information of the routing table 141.
[0136]
At this time, since the routing table 141 has “mip-dev” as an interface and there is no route information with a default destination (see FIG. 15B), the result of the determination processing in S4002 in FIG. No, by the process of S4003, the route information indicating the default as the destination, the mip-dev as the interface, and the homeagent-addr as the GW has its metric value set to “1” and is registered in the routing table 141. Is done.
[0137]
Subsequently, the process of S4004 is executed, and the metric value “1” of the route information registered by the process of S4003 is substituted for the variable m. By the processing of S4005 that is subsequently executed, of the path information shown in FIG. 15B, a path other than mip-dev is used as an interface, and the path information whose destination is default, that is, FIG. The value “1” of the variable m is added to the metric value of the route information in each of the second and third rows of 15 (b).
[0138]
The route information of the routing table 141 after these processes are performed is shown in FIG.
Here, it is assumed that the mobile terminal 100 moves out of the service area of the wireless LAN access point 420 and the reception intensity of the radio wave emitted from the wireless LAN access point 420 is reduced.
[0139]
The network connection application 110 obtains, from the intermediate network driver 150, the quality deterioration of the communication path between the wireless LAN access point 420 and the wireless LAN interface 171 due to the attenuation by the processing of S1011 in FIG. It is detected from the information (S5013). After that, by the process of S1002 in FIG. 5, a selection result to switch to the PPP connection via the public mobile communication network 300 is obtained.
[0140]
Next, the network connection application 110 performs the processing of S1003 in FIG. 5, and causes the PPP interface 181 to function to make a PPP connection to the remote access server 240 via the public mobile communication network 300 (S5014). When this connection is completed, the temporary IP address “Co-CoA2” is assigned to the mobile terminal 100 by the remote access server 240, so that the PPP interface 181 notifies the network connection application 110 of the completion of the connection with this IP address. The notification is made (S5015).
[0141]
Also, at this time, the PPP interface 181 sets path information indicating the established path, that is, dev12, which is itself, as the interface, GW as ras-addr, that is, the remote access server 240, and sets the destination as the default. The route information is additionally registered in the routing table 141 with the metric value “1”, that is, the route with the highest priority.
[0142]
A table in which the route information is additionally registered in the routing table 141 shown in FIG. 15C is the table shown in FIG. 17A, and the first line in FIG. This is the added registration information. At this time, for route information already registered in the routing table 141 and having a default destination, "1" is added to the metric value to lower the priority.
[0143]
Returning to the description of the sequence diagram of FIG.
The network connection application 110 that has received the notification of the completion of the connection performs the connection destination individual processing of S1004 in FIG. 5. Since the connection destination at this time is the remote access server 240 in the in-house LAN 200, it is necessary to perform any individual processing. And proceed to the next process.
[0144]
Subsequently, the network connection application 110 performs the processing of S1005 and S1006 in FIG.
At this time, an attempt is made to establish an alternative communication path due to the deterioration of the quality of the communication path between the wireless LAN access point 420 and the wireless LAN interface 171 used up to that time. The assigned temporary IP address “Co-CoA2” is selected as the care-of address.
[0145]
Here, the network connection application 110 performs the above-described route determination processing and operates the route information of the routing table 141.
At this point, the routing table 141 includes the route information destined for the home agent 220 (the fifth line in FIG. 17A), so the result of the determination processing in S3002 in FIG. The process is executed, and the metric value of the route information on the fifth line in FIG. 17A is changed from “1” to “2”. Further, the process of S3004 is executed. As a result, path information having homeagent-addr as a destination, dev12 as an interface, and ras-addr as a GW, and a metric value of “1” is registered in the routing table 141. This route information is the result of determining the communication route.
[0146]
The route information of the routing table 141 after these processes are performed is shown in FIG.
Returning to the description of the sequence diagram of FIG.
[0147]
Next, the network connection application 110 performs the process of S1007 in FIG. 5, notifies the care-of address “Co-CoA2” to the mobile IP control application 120, and instructs the mobile IP control application 120 to register the mobile IP (S5016). . A specific example of information indicating this instruction is shown in FIG.
[0148]
The mobile IP control application 120 that has received this notification causes the home agent 220 to register this care-of address by operating the mobile IP interface 160 (S5017). Thereafter, the mobile IP control application 120 receives a registration response indicating that the registration has been completed from the mobile IP interface 160 (S5018).
[0149]
When receiving the registration response, the mobile IP control application 120 replies to the network connection application 110 that the registration of the mobile IP has been completed (S5019). A specific example of the information indicating the response is shown in FIG.
[0150]
After that, the network connection application 110 executes the process of S1008 in FIG. 5, that is, the route setting process shown in FIG. 11, and reflects the tunneling route determined by the registration of the mobile IP in the route information of the routing table 141.
[0151]
At this time, the routing table 141 has a route information in which the mip-dev, that is, the mobile IP interface 160 is set as an interface, and the destination is set as a default (the fourth line in FIG. 17B). Therefore, the result of the determination processing in S4002 in FIG. 11 is Yes, the processing in S4004 is executed, and the metric value “2” of the route information on the fourth line in FIG.
[0152]
By the processing of S4005 executed subsequently, in the path information shown in FIG. 17B, the path information other than mip-dev is used as an interface, and the path information whose destination is default, that is, FIG. The value “2” of the variable m is added to the metric value of the route information in each of the third, fifth, and sixth rows of 17 (b).
[0153]
The route information of the routing table 141 after these processes are performed is shown in FIG.
After that, the network connection application 110 performs the processing of S1009 and S1010 of FIG. 5, and connects the VPN server 250 and the VPN interface 191 and the wireless LAN access point 420 and the wireless LAN interface 171 which are extra connections. Is disconnected (S2016).
[0154]
When the connection with the wireless LAN access point 420 is disconnected, the wireless LAN interface 171 deletes from the routing table 141 all the routing information indicating itself (that is, dev11) as an interface. When the connection with the VPN server 250 is cut off, the VPN interface 191 deletes from the routing table 141 all the routing information indicating itself (that is, dev13) as an interface.
[0155]
FIG. 17D shows the result of deleting all the route information indicating dev11 and dev13 as interfaces from the routing table 141 from the route information shown in FIG. 17C.
[0156]
In the second example shown in FIG. 13, since the above processing is performed in the mobile terminal 100, the mobile terminal 100 connected to the wireless LAN access point 420 and performing data communication with the server 210 This data communication is continued even if the communication medium is switched by making a PPP connection to the remote access server 240 via the public mobile communication network 300.
[0157]
When terminating the mobile IP connection, the network connection application 110 may send a termination request as shown in FIG. 18 to the mobile IP control application 120, and sends this termination request to the mobile IP control application 120. As a result, the suppression of the care-of address selection performed in the mobile IP control application 120 is released, and the mobile IP control application 120 can select the care-of address by itself.
[0158]
By configuring the mobile terminal 100 as described in detail above, this is already performed in the mobile terminal 100 that can use a plurality of communication media such as a wireless LAN, PHS, and IMT-2000 as shown in FIG. The communication medium can be switched while continuing data communication with the server 210.
[0159]
Next, a hardware configuration of the mobile terminal 100 will be described. FIG. 30 is a hardware configuration diagram of the mobile terminal 100.
20, a CPU 501, a ROM 502, a RAM 503, a storage unit 504, an operation input unit 505, a display unit 506, a radio wave transmitting / receiving unit 507 for wireless LAN, and a radio transmitting / receiving unit 508 for public mobile communication network are interconnected via a bus 508. The data can be exchanged under the control of the CPU 501.
[0160]
A CPU (Central Processing Unit) 501 is a central processing unit that controls the operation of the entire mobile terminal 100.
A ROM (Read Only Memory) 502 is a memory in which a basic control program executed by the CPU 501 is stored in advance. When the mobile terminal 100 starts up, the CPU 501 executes the basic control program, so that the entire mobile terminal 100 is controlled. Basic control of the operation is performed by the CPU 501.
[0161]
A RAM (Random Access Memory) 503 is used as a work memory when the CPU 501 executes various control programs, and is also used as a main memory used as a temporary storage area for various data as needed. It is.
[0162]
The storage unit 504 stores and holds various programs and data. As the storage unit 504, a semiconductor memory such as an EEPROM (Electrically Erasable and Programmable Read Only Memory) is suitable for the mobile terminal 100 in terms of power consumption, weight, impact resistance, and the like, but a hard disk device may be used.
[0163]
The network connection application 110 and the mobile IP control application 120 are stored in the storage unit 504 in advance, and are read and executed by the CPU 501 to provide the functions of these. The storage unit 504 has functions of the API 130, the Internet protocol driver 140, the intermediate network driver 150, the mobile IP interface 160, the wireless LAN interface 171, the PPP interface 181, and the VPN interface 191. Are stored, and these functions are provided by reading these programs and executing the programs by the CPU 501.
[0164]
Further, the storage unit 504 also stores the route information as the routing table 141.
The operation input unit 505 is operated by the user of the mobile terminal 100, detects the content of this operation, and transmits the content of the operation to the CPU 501. The CPU 501 recognizes the content of the instruction from the user corresponding to the content of the operation.
[0165]
The display unit 506 displays various types of information sent from the CPU 501 and visually provides the user with various types of information.
The wireless LAN radio wave transmission / reception unit 507 is managed by the wireless LAN interface 171 and exchanges various data by transmitting and receiving radio waves to and from the wireless LAN access point 240 or 420.
[0166]
The radio wave transmitting / receiving unit 508 for the public mobile communication network is managed by the PPP interface 181, and transmits and receives various data by transmitting and receiving radio waves to and from the radio wave transmitting / receiving unit provided in the public mobile communication network 300. The radio wave transmitting / receiving unit 508 for the public mobile communication network can be replaced with, for example, a mobile phone.
[0167]
The mobile terminal 100 includes the above components. The configuration of the mobile terminal 100 shown in FIG. 20 is the same as that of many standard computers, except that the wireless LAN radio wave transmitting / receiving unit 507 and the public mobile communication network radio wave transmitting / receiving unit 508 are connected. Since the mobile terminal 100 can be configured, the mobile terminal 100 can also be configured with such a computer.
[0168]
In addition, a control program that causes a computer to perform the functions of the components of the mobile terminal 100 is recorded on a computer-readable recording medium, and the program is read out from the recording medium and executed by the computer. The mobile terminal 100 can be configured by a computer.
[0169]
FIG. 21 shows an example of a recording medium in which the recorded control program can be read by a computer. As shown in the figure, the recording medium is, for example, a memory 602 such as a RAM or a ROM or a hard disk device provided as an internal or external accessory device in the computer 601, a flexible disk, an MO (magneto-optical disk), and a CD. -A portable recording medium 603 such as a ROM or a DVD-ROM can be used.
[0170]
Further, the recording medium may be a storage device 606 provided in a computer functioning as a program server 605, which is connected to the computer 601 via the communication line 604. In this case, a transmission signal obtained by modulating a carrier with a data signal expressing a control program is transmitted from the program server 605 through a communication line 604 as a transmission medium, and the computer 601 demodulates the received transmission signal. Then, the control program can be executed by reproducing the control program.
[0171]
In addition, the present invention is not limited to the embodiments described above, and various modifications and changes are possible.
(Supplementary Note 1) A communication control program used in a computer capable of using a plurality of communication media for communication,
A path information storage control process for performing control for storing path information that is given a priority order used for the communication and indicates a path of the communication;
In order to use a different communication medium instead of the one used for the communication, a route information setting control process for performing control to set the route information that the priority is the highest priority,
Communication control processing for causing a computer to perform the communication using a communication path according to the priority order;
Communication control program for causing a computer to perform
[0172]
(Supplementary note 2) The communication control program according to claim 1, wherein the path information set by the control by the path information setting processing indicates a communication path using the different communication medium.
[0173]
(Supplementary Note 3) The route information is routing information in an Internet protocol,
The priority is determined based on metric information in the routing information,
3. The communication control program according to claim 1, wherein
[0174]
(Supplementary Note 4) The computer further performs a notification control process of performing a control of notifying information indicating a communication path used for the communication performed by the control by the communication control process to a device on the other end of the communication. The communication control program according to Supplementary Note 1.
[0175]
(Supplementary Note 5) The counterpart device is a home agent for the computer in Mobile IP (Internet Protocol),
Communication performed with the home agent is tunneling of communication packets,
The notification control processing further notifies the home agent of an IP (Internet Protocol) address temporarily given to the computer when a communication path used for the communication is established by the control of the communication control processing. Causing the computer to perform control;
4. The communication control program according to claim 4, wherein:
[0176]
(Supplementary Note 6) The notification control process is characterized by controlling execution of a mobile IP control application that provides a function of registering a care-of address in the mobile IP to the home agent, and performing notification of the IP address. 5. The communication control program according to claim 5, wherein
[0177]
(Supplementary Note 7) This indicates that after the notification control processing is performed, the computer and the home agent are connected via a mobile IP interface that provides the tunneling function, and the priority is set to the highest priority. 6. The communication control program according to claim 5, further causing the computer to perform a tunneling route information setting control process for performing control to set the route information.
[0178]
(Supplementary Note 8) The program further causes the computer to perform quality information acquisition control processing for controlling acquisition of quality information indicating the quality of the communication path,
The route information setting control process causes a computer to perform control to set the route information when the deterioration of the quality of the communication route used for the communication is detected from the quality information.
3. The communication control program according to claim 1, wherein
[0179]
(Supplementary Note 9) The communication control process includes the step of causing a computer to execute a connection procedure to the communication medium that is individually defined in the communication medium used by the communication path according to the priority order, and to execute the communication using the communication path. 3. The communication control program according to claim 2, wherein
[0180]
(Supplementary Note 10) In the communication control process, based on a difference in a communication path used for the communication, the computer performs control to establish a VPN (virtual facility communication network) link in the middle of the communication path to cause the computer to perform the communication. 3. The communication control program according to claim 1, wherein
[0181]
(Supplementary Note 11) A method used in a communication device capable of using a plurality of communication media for communication,
Priority information used for the communication is given, and stores route information indicating a route of the communication,
In order to use a different communication medium instead of the one used for the communication, set the route information that the priority is the highest priority,
Performing the communication using a communication path according to the priority order,
A communication control method comprising:
[0182]
(Supplementary Note 12) A communication device capable of using a plurality of communication media for communication,
Path information storage means, which is provided with a priority order used for the communication and stores path information indicating a path of the communication,
In order to use a different communication medium instead of the one used for the communication, path information setting means for setting the path information that the priority is the highest priority,
Communication means for performing the communication using a communication path according to the priority,
A communication device comprising:
[0183]
【The invention's effect】
As described in detail above, the present invention, in a communication device that can use a plurality of communication media for communication, storing the route information indicating the route of the communication is given a priority used for communication, In order to use a different communication medium instead of the one used previously for communication, set the path information where the above-mentioned priority is the highest priority, and use the communication path according to the above-mentioned priority. The communication is performed.
[0184]
In this way, even the management of the communication media is performed using the route information used in the existing communication device for the management of the communication route, and a dedicated configuration for the management of the communication media is newly added. According to the present invention, there is no need to provide the communication device, so that the present invention has the effect of reducing the size and weight of the communication device and reducing the load of processing performed by the communication device.
[Brief description of the drawings]
FIG. 1 is a diagram showing the principle configuration of the present invention.
FIG. 2 is a diagram illustrating a basic configuration of a mobile terminal that implements the present invention.
FIG. 3 is a diagram showing a configuration of a communication network that can be used by a mobile terminal.
FIG. 4 is a diagram illustrating a configuration of a mobile terminal equipped with various interfaces for using the network illustrated in FIG. 3;
FIG. 5 is a flowchart showing processing contents of a network connection processing.
FIG. 6 is a diagram illustrating a first example in which communication media switching occurs.
FIG. 7 is a diagram showing a communication medium switching sequence in the example shown in FIG. 6;
FIG. 8 is a diagram showing a first example of a mobile IP registration instruction and its response.
FIG. 9 is a diagram showing transition of route information in the example shown in FIG. 6;
FIG. 10 is a flowchart illustrating processing contents of a route determination processing.
FIG. 11 is a flowchart illustrating processing contents of a path information setting processing.
FIG. 12 is a diagram showing a second example of a mobile IP registration instruction and its response.
FIG. 13 is a diagram illustrating a second example in which communication media switching occurs.
FIG. 14 is a diagram showing a communication medium switching sequence in the example shown in FIG.
FIG. 15 is a diagram (part 1) illustrating a transition of the route information in the example illustrated in FIG. 13;
FIG. 16 is a diagram showing a third example of a mobile IP registration instruction and its response.
FIG. 17 is a diagram (part 2) illustrating a transition of the route information in the example illustrated in FIG. 13;
FIG. 18 is a diagram illustrating an example of a mobile IP termination instruction.
FIG. 19 is a diagram illustrating an example of use of a mobile terminal.
FIG. 20 is a diagram illustrating a hardware configuration of a mobile terminal.
FIG. 21 is a diagram illustrating an example of a recording medium in which a recorded control program can be read by a computer.
FIG. 22 is a diagram used for describing selection of a route in the Internet protocol.
[Explanation of symbols]
10 Communication device
11 route information storage means
12 Route information setting means
13 Communication means
20-1 First Communication Media
20-1 Second Communication Media
100 mobile terminals
110 Network Connection Application
120 Mobile IP control application
130 API
140 Internet Protocol Driver
141 routing table
150 Intermediate network driver
160 Mobile IP interface
170, 180 physical interface
171 Wireless LAN Interface
181 PPP Interface
190 Logical Interface
191 VPN interface
200 company LAN
210 server
220 Home Agent
230, 420 Wireless LAN access point
240 remote access server
250 VPN server
300 Public mobile communication network
400 Internet
410 ISP providing wireless LAN hot spot
501 CPU
502 ROM
503 RAM
504 storage unit
505 Operation input section
506 display
507 Radio transmission / reception unit for wireless LAN
508 Radio transmission / reception unit for public mobile communication network
509 bus
601 Computer
602 memory
603 Portable recording medium
604 communication line
605 program server
606 Storage device

Claims (12)

通信に複数の通信メディアを利用可能なコンピュータにおいて使用される通信制御プログラムであって、
前記通信に用いる優先順位が与えられており該通信の経路を示している経路情報を記憶する制御を行う経路情報記憶制御処理と、
前記通信に利用していたものに代えて異なる通信メディアを利用するために、前記優先順位が最優先とされている経路情報を設定する制御を行う経路情報設定制御処理と、
前記優先順位に従った通信経路を用いて前記通信をコンピュータに行わせる通信制御処理と、
をコンピュータに行わせるための通信制御プログラム。
A communication control program used in a computer that can use a plurality of communication media for communication,
A path information storage control process for performing control for storing path information that is given a priority order used for the communication and indicates a path of the communication;
In order to use a different communication medium instead of the one used for the communication, a route information setting control process for performing control to set the route information that the priority is the highest priority,
Communication control processing for causing a computer to perform the communication using a communication path according to the priority order;
Communication control program for causing a computer to perform
前記経路情報設定処理による制御によって設定される経路情報は、前記異なる通信メディアを利用する通信経路を示していることを特徴とする請求項1に記載の通信制御プログラム。The communication control program according to claim 1, wherein the path information set by the control by the path information setting processing indicates a communication path using the different communication medium. 前記経路情報は、インターネットプロトコルにおけるルーティング情報であり、
前記優先順位は、前記ルーティング情報におけるメトリック情報に基づいて決定される、
ことを特徴とする請求項1に記載の通信制御プログラム。
The route information is routing information in an Internet protocol,
The priority is determined based on metric information in the routing information,
The communication control program according to claim 1, wherein:
前記通信制御処理による制御によって行われる前記通信に用いられる通信経路を示す情報を該通信の相手側の装置に通知する制御を行う通知制御処理を更にコンピュータに行わせることを特徴とする請求項1に記載の通信制御プログラム。The computer further performs a notification control process of performing a control of notifying a device on a communication partner side of the communication of information indicating a communication path used for the communication performed by the control by the communication control process. The communication control program according to 1. 前記相手側装置はモバイルIP(インターネットプロトコル)における前記コンピュータについてのホームエージェントであり、
前記ホームエージェントとの間で行われる通信は、通信パケットのトンネリングであり、
前記通知制御処理は、前記通信制御処理による制御によって前記通信に用いる通信路が確立されたときに前記コンピュータに対して一時的に付与されるIP(インターネットプロトコル)アドレスを前記ホームエージェントに更に通知する制御を前記コンピュータに行わせる、
ことを特徴とする請求項4に記載の通信制御プログラム。
The counterpart device is a home agent for the computer in Mobile IP (Internet Protocol);
Communication performed with the home agent is tunneling of communication packets,
The notification control processing further notifies the home agent of an IP (Internet Protocol) address temporarily given to the computer when a communication path used for the communication is established by the control of the communication control processing. Causing the computer to perform control;
The communication control program according to claim 4, characterized in that:
前記通知制御処理は、モバイルIPにおける気付アドレスの登録を前記ホームエージェントに対して行う機能を提供するモバイルIP制御アプリケーションの実行を制御して前記IPアドレスの通知を行わせることを特徴とする請求項5に記載の通信制御プログラム。The notification control process controls execution of a mobile IP control application that provides a function of registering a care-of address in the mobile IP to the home agent, and performs notification of the IP address. 6. The communication control program according to 5. 前記通知制御処理が行われた後に、前記コンピュータと前記ホームエージェントとの間で前記トンネリングの機能を提供するモバイルIPインタフェイスを介することを示しており且つ前記優先順位を最優先とした経路情報を設定する制御を行うトンネリング経路情報設定制御処理を更に前記コンピュータに行わせることを特徴とする請求項5に記載の通信制御プログラム。After the notification control process is performed, the route information indicates that the communication is to be performed between the computer and the home agent via a mobile IP interface that provides the tunneling function, and the priority is the highest priority. The communication control program according to claim 5, further comprising causing the computer to further perform a tunneling path information setting control process for performing setting control. 前記通信経路の品質を示す品質情報を取得する制御を行う品質情報取得制御処理を更にコンピュータに行わせ、
前記経路情報設定制御処理は、前記通信に用いていた通信経路の品質の劣化が前記品質情報より検出されたときに前記経路情報を設定する制御をコンピュータに行わせる、
ことを特徴とする請求項1に記載の通信制御プログラム。
The computer further performs a quality information acquisition control process of performing control to acquire quality information indicating the quality of the communication path,
The route information setting control process causes a computer to perform control to set the route information when the deterioration of the quality of the communication route used for the communication is detected from the quality information.
The communication control program according to claim 1, wherein:
前記通信制御処理は、前記優先順位に従った通信経路が利用する通信メディアにおいて個別に定められている該通信メディアへの接続手順をコンピュータに実行させて該通信経路を用いる前記通信を行わせることを特徴とする請求項2に記載の通信制御プログラム。The communication control processing includes causing a computer to execute a connection procedure to the communication medium that is individually defined in a communication medium used by a communication path according to the priority order, and to perform the communication using the communication path. The communication control program according to claim 2, wherein: 前記通信制御処理は、前記通信に用いる通信経路の違いに基づき、該通信経路の途中にVPN(仮想施設通信網)リンクを確立する制御をコンピュータに行わせて該通信を行わせることを特徴とする請求項1に記載の通信制御プログラム。The communication control process is characterized in that, based on a difference in a communication path used for the communication, a computer controls the establishment of a VPN (virtual facility communication network) link in the middle of the communication path to perform the communication. The communication control program according to claim 1. 通信に複数の通信メディアを利用可能な通信装置において使用される方法であって、
前記通信に用いる優先順位が与えられており該通信の経路を示している経路情報を記憶し、
前記通信に利用していたものに代えて異なる通信メディアを利用するために、前記優先順位が最優先とされている経路情報を設定し、
前記優先順位に従った通信経路を用いて前記通信を行う、
ことを特徴とする通信制御方法。
A method used in a communication device capable of utilizing a plurality of communication media for communication,
Priority information used for the communication is given, and stores route information indicating a route of the communication,
In order to use a different communication medium instead of the one used for the communication, set the route information that the priority is the highest priority,
Performing the communication using a communication path according to the priority order,
A communication control method comprising:
通信に複数の通信メディアを利用可能な通信装置であって、
前記通信に用いる優先順位が与えられており該通信の経路を示している経路情報が記憶される経路情報記憶手段と、
前記通信に利用していたものに代えて異なる通信メディアを利用するために、前記優先順位が最優先とされている経路情報を設定する経路情報設定手段と、
前記優先順位に従った通信経路を用いて前記通信を行う通信手段と、
を有することを特徴とする通信装置。
A communication device capable of using a plurality of communication media for communication,
Path information storage means, which is provided with a priority order used for the communication and stores path information indicating a path of the communication,
In order to use a different communication medium instead of the one used for the communication, path information setting means for setting the path information that the priority is the highest priority,
Communication means for performing the communication using a communication path according to the priority,
A communication device comprising:
JP2002292024A 2002-10-04 2002-10-04 COMMUNICATION CONTROL PROGRAM, COMMUNICATION CONTROL METHOD, AND COMMUNICATION DEVICE Expired - Fee Related JP4014991B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002292024A JP4014991B2 (en) 2002-10-04 2002-10-04 COMMUNICATION CONTROL PROGRAM, COMMUNICATION CONTROL METHOD, AND COMMUNICATION DEVICE

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002292024A JP4014991B2 (en) 2002-10-04 2002-10-04 COMMUNICATION CONTROL PROGRAM, COMMUNICATION CONTROL METHOD, AND COMMUNICATION DEVICE

Publications (2)

Publication Number Publication Date
JP2004129024A true JP2004129024A (en) 2004-04-22
JP4014991B2 JP4014991B2 (en) 2007-11-28

Family

ID=32283405

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002292024A Expired - Fee Related JP4014991B2 (en) 2002-10-04 2002-10-04 COMMUNICATION CONTROL PROGRAM, COMMUNICATION CONTROL METHOD, AND COMMUNICATION DEVICE

Country Status (1)

Country Link
JP (1) JP4014991B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007111357A1 (en) * 2006-03-28 2007-10-04 Kyocera Corporation Communication control apparatus, radio communication apparatus, communication control method, and radio communication method
US7379753B2 (en) 2004-07-06 2008-05-27 Fujitsu Limited Method and apparatus for communication, and computer product
JPWO2006106712A1 (en) * 2005-03-31 2008-09-11 松下電器産業株式会社 Communication control method, communication node, and mobile node
JP2011101409A (en) * 2011-01-05 2011-05-19 Kyocera Corp Communication control apparatus, radio communication apparatus, communication control method, and radio communication method
JP2019016858A (en) * 2017-07-04 2019-01-31 パナソニックIpマネジメント株式会社 Information processing device

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7379753B2 (en) 2004-07-06 2008-05-27 Fujitsu Limited Method and apparatus for communication, and computer product
US9491790B2 (en) 2005-03-31 2016-11-08 Sun Patent Trust Communication control method, communication node, and mobile node
JPWO2006106712A1 (en) * 2005-03-31 2008-09-11 松下電器産業株式会社 Communication control method, communication node, and mobile node
JP4747167B2 (en) * 2005-03-31 2011-08-17 パナソニック株式会社 Communication control method, communication node, and mobile node
US9577981B2 (en) 2005-03-31 2017-02-21 Sun Patent Trust Communication control method, communication node, and mobile node
US9654444B1 (en) 2005-03-31 2017-05-16 Sun Patent Trust Communication control method, communication node, and mobile node
JP2007266989A (en) * 2006-03-28 2007-10-11 Kyocera Corp Communication controller, radio communications equipment, communication control method and radio communication method
KR101016093B1 (en) * 2006-03-28 2011-02-17 교세라 가부시키가이샤 Communication control device, radio communication device, communication control method and radio communication method
JP4698463B2 (en) * 2006-03-28 2011-06-08 京セラ株式会社 Communication control device, wireless communication device, communication control method, and wireless communication method
US8885610B2 (en) 2006-03-28 2014-11-11 Kyocera Corporation Communication control device, radio communication device, communication control method and radio communication method
WO2007111357A1 (en) * 2006-03-28 2007-10-04 Kyocera Corporation Communication control apparatus, radio communication apparatus, communication control method, and radio communication method
JP2011101409A (en) * 2011-01-05 2011-05-19 Kyocera Corp Communication control apparatus, radio communication apparatus, communication control method, and radio communication method
JP2019016858A (en) * 2017-07-04 2019-01-31 パナソニックIpマネジメント株式会社 Information processing device

Also Published As

Publication number Publication date
JP4014991B2 (en) 2007-11-28

Similar Documents

Publication Publication Date Title
US7319874B2 (en) Dual mode terminal for accessing a cellular network directly or via a wireless intranet
RU2409907C2 (en) Internet protocol combination and mobility method
KR100544249B1 (en) Mobile wireless router
TWI345408B (en) Method for providing routing information, computer program,arrangement in a communication system, mobile terminal and routing server
EP2020157B1 (en) Multi-network mobile communications system
KR101243841B1 (en) Method and apparatus for emergency call routing using an end node
WO2014112638A1 (en) Mobile communication system and ue
JP2005500766A (en) System, apparatus, and computer-readable medium for providing network services to mobile devices
CN103517360A (en) Switching method, system and device
WO2008051874A2 (en) Method of deploying an access point for an ip-based wireless network
JP5798234B2 (en) Traffic offload in multi-access mobile communication systems supporting network-based IP mobility
JP2003046549A (en) Method of transmitting data from server of virtual private network to mobile node
JP4613926B2 (en) Handover method and communication system between mobile communication network and public network
JP2007515828A (en) Context transfer to deliver without interruption
KR20030034751A (en) Method for transferring data form a server of virtual private network to mobile node
JP4014991B2 (en) COMMUNICATION CONTROL PROGRAM, COMMUNICATION CONTROL METHOD, AND COMMUNICATION DEVICE
KR101281502B1 (en) A method of providing a mobility service
KR101554551B1 (en) Network selection system and method therof in heterogeneous network
JP3957197B2 (en) Wireless communication system and wireless communication method
JP5639502B2 (en) Communication service providing system, communication service control node, and communication service providing method
JP4348618B2 (en) Wireless selection system, edge router and edge router control program
CN1886961B (en) Method and system for re-establishing context of data packet flows
JP3999135B2 (en) COMMUNICATION SYSTEM, DATA TRANSMISSION METHOD, COMMUNICATION DEVICE, PROGRAM, AND RECORDING MEDIUM
JP4362516B2 (en) Communications system
CN1588919B (en) Method for selecting optimum path communication by mobile node adaptation

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050811

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070423

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070501

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070702

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070912

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

Free format text: PAYMENT UNTIL: 20100921

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20100921

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20110921

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120921

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120921

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20130921

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees