JP2004201201A - Wap terminal, communication method and communication program - Google Patents

Wap terminal, communication method and communication program Download PDF

Info

Publication number
JP2004201201A
JP2004201201A JP2002370081A JP2002370081A JP2004201201A JP 2004201201 A JP2004201201 A JP 2004201201A JP 2002370081 A JP2002370081 A JP 2002370081A JP 2002370081 A JP2002370081 A JP 2002370081A JP 2004201201 A JP2004201201 A JP 2004201201A
Authority
JP
Japan
Prior art keywords
wap
gateway
connection
wap gateway
information
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.)
Withdrawn
Application number
JP2002370081A
Other languages
Japanese (ja)
Inventor
Matsuhisa Hosokawa
松寿 細川
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2002370081A priority Critical patent/JP2004201201A/en
Publication of JP2004201201A publication Critical patent/JP2004201201A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a WAP terminal capable of preventing the concentration of access to a specific WAP gateway and continuing service even when the WAP gateway is halted or stopped due to its maintenance or the like, and to provide a communication method and a communication program. <P>SOLUTION: The WAP terminal having a storage means for storing connection gateway information containing a plurality of WAP gateway addresses refers to the connection gateway information to select a WAP gateway to be connected and reads the WAP gateway address of the selected WAP gateway from the storage means to communicate with the WAP gateway. <P>COPYRIGHT: (C)2004,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
本発明は、通信事業者が特定ゲートウェイ(以下、GWとする。)サーバヘのアクセスにおいて、WAP(Wireless Application Protocol)端末の数に応じてトラフィックを分散させるための通信方法及び通信プログラム並びにWAP端末に関する。
【0002】
【従来の技術】
WAPシステムでは、図7に示すように、携帯電話網100である無線ネットワークとインターネット110や事業者が設置するキャリアデータセンタ120である有線ネットワークとの間にWAPゲートウェイ200と呼ばれる中継装置を設置する通信システム構成を取り、このWAPゲートウェイ200がWAP端末300とインターネット110上の複数のサーバ111−1〜111−4との間でプロトコル変換、コンテンツ変換、無線リンクに適したバイナリ符号化などのサービスを実現している。
【0003】
従来のWAP仕様では、受信データを複数のWAPアプリケーションに振り分けるかについて考慮されず、ユーザへのサービスのレベルが低下するという問題があった。この問題を解決するための技術として、特許文献1には、WAP対応端末におけるデータ受信に関して複数のアプリケーションが同時に動作できるように通信セッションを多重化する方法が記載されている。
具体的には、複数のWAPアプリケーションと直接インタフェースを司る上位プロトコル部に対して下位のプロトコル部が、アプリケーション識別子管理テーブルを利用してアプリケーション識別子を管理し、データ受信に先立って上位プロトコル部がデータを渡すべきアプリケーションを認識することにより、これを実現する。
また、WAPシステムにおいて障害通知を実現する技術として、特許文献2には、WAPゲートウェイ200が、WAP端末300からアクセス要求を受ける前に事前に障害情報を通知する方法が記載されている。
具体的には、WAPゲートウェイ200が、サーバ111−1〜111−4の稼働状況を定期的に検出し、稼働状態にあるサーバ111−1〜111−4が提供するサービスの一覧であるサービスメニューを作成し、WAP端末300に送信することにより、これを実現する。
【特許文献1】
特開2001−309439号公報
【特許文献2】
特開2001−331387号公報
【0004】
【発明が解決しようとする課題】
ところが、上記WAPシステム構成ではWAPゲートウェイ200に多くの負荷がかかるという問題点がある。また、サーバ111−1〜111−4は、WAPゲートウェイ200の障害時にWAP端末300のユーザに対してサービスを提供できなくなるという問題点がある。これは、WAP仕様に障害時にWAP端末300に代替GWを選択させる機能や障害を通知する機能が定義されていないためである。
これに対して、特許文献1に記載された発明「WAPアプリケーション搭載携帯電話機の受信データ通知システム」は、受信データ内容、アプリケーションに関して本発明が対象とする障害通知や代替経路の提供の機能を提供するものではない。また、特許文献2に記載された発明「中継装置、移動体無線通信システム、その障害通知情報及びその障害通知プログラムを記録した記憶媒体」は、WAPシステムにおいて、WAPゲートウェイ200が障害通知を実現する。しかし、この発明によれば、WAPゲートウェイ200のメンテナンス時にこれを代替GWに切り替えてサービス提供を継続することができないという問題点がある。
また、代替GWを含む特定のWAPゲートウェイ200にアクセス負荷が集中した場合、この負荷分散を実現することができないという問題点がある。
【0005】
本発明は、このような事情を考慮してなされたものであり、その目的は、特定のWAPゲートウェイへのアクセス集中を防止することができるとともに、WAPゲートウェイがメンテナンス等で休止・停止する場合であっても、サービスを継続させることができるWAP端末及び通信方法並びに通信プログラムを提供することにある。
【0006】
【課題を解決するための手段】
この発明は上記の課題を解決すべくなされたもので、本発明のWAP端末は、複数のWAPゲートウェイアドレスを含む接続ゲートウェイ情報を記憶する記憶手段と、該接続ゲートウェイ情報を参照し、接続するWAPゲートウェイを選択するWAPゲートウェイ選択手段と、該選択したWAPゲートウェイのWAPゲートウェイアドレスを前記記憶手段より読み出して、該WAPゲートウェイと通信を行う通信手段とを具備することを特徴とする。
【0007】
また、本発明のWAP端末は、前記接続ゲートウェイ情報は、さらに、各WAPゲートウェイの利用可能期間を含み、前記WAPゲートウェイ選択手段は、通信セッション生成時刻と前記利用可能期間を比較して、利用可能なWAPゲートウェイを選択することを特徴とする。
【0008】
また、本発明のWAP端末は、前記接続ゲートウェイ情報は、さらに、WAP端末毎又は複数のWAP端末群毎に異なる各WAPゲートウェイの接続優先度を含み、前記WAPゲートウェイ選択手段は、前記複数のWAPゲートウェイの接続優先度を比較して、該接続優先度が高いWAPゲートウェイを選択することを特徴とする。
【0009】
また、本発明のWAP端末は、前記接続ゲートウェイ情報は、さらに、通信先アドレス毎に異なる各WAPゲートウェイの接続優先度を含み、前記WAPゲートウェイ選択手段は、前記複数のWAPゲートウェイの接続優先度を比較して、該接続優先度が高いWAPゲートウェイを選択することを特徴とする。
【0010】
また、本発明のWAP端末は、前記選択されたWAPゲートウェイとの接続確立に失敗した場合、前記WAPゲートウェイ選択手段は、接続ゲートウェイ情報を参照し、他のWAPゲートウェイを選択することを特徴とする。
【0011】
また、本発明の通信方法は、複数のWAPゲートウェイアドレスを含む接続ゲートウェイ情報を記憶する記憶手段を有するWAP端末が、該接続ゲートウェイ情報を参照して、接続するWAPゲートウェイを選択し、該選択したWAPゲートウェイのWAPゲートウェイアドレスを前記記憶手段より読み出して、該WAPゲートウェイと通信を行うことを特徴とする。
【0012】
また、本発明の通信プログラムは、複数のWAPゲートウェイアドレスを含む接続ゲートウェイ情報を記憶する記憶手段を有するWAP端末が、該接続ゲートウェイ情報を参照して、接続するWAPゲートウェイを選択する処理と、該選択したWAPゲートウェイのWAPゲートウェイアドレスを前記記憶手段より読み出して、該WAPゲートウェイと通信を行う処理とをコンピュータに実行させるためのプログラムである。
【0013】
【発明の実施の形態】
以下、図面を参照して本実施形態のWAP端末について説明する。図1は、本実施形態のWAP端末を適用したWAPシステムの全体構成を示す構成図である。
本WAPシステムは、複数のWAP端末10−1〜10−4(本実施形態においては4台)、複数のWAPゲートウェイであるGW・20―1〜GW・20−3(本実施形態においては3台)、GW管理端末30を携帯電話網100や有線ネットワークによって接続して構成される。
WAP端末10−1〜10−4は、WAP機能を備えた情報端末(携帯電話、PDA等)であって、図2に示すように、WAP処理部11と、セッション生成処理部12と、接続GW判断処理部13と、接続情報管理部14と、HTTPサーバ機能処理部15と、1又は複数のアプリケーション部16−1、16−2と、通信処理部17とから構成される。
【0014】
WAP処理部11は、WAP端末10−1〜10−4における、入力ボタンや入力キー等の入力部(図示せず)からの入力情報の受け渡しに関する処理やアプリケーション部16−1、16−2の出力結果の表示に関する処理等を行う。
セッション生成部12は、0SI7階層のセッション層の機能を備えており、GW・20―1〜20−3とWAP端末上のアプリケーション部16−1、16−2間のTCPセッション又はUDPセッションの生成・確立等に関する処理を行う。
接続GW判断処理部13は、アプリケーション部16−1、16−2が通信を行い、GW・20―1〜20−3とTCP/IPコネクションを確立する際に、接続GW情報管理部14が記憶管理する接続GW情報を参照し、接続するGW・20―1〜20−3を選択する。
【0015】
接続GW情報管理部14は、GW管理端末30から受信する接続GW設定情報をWAP端末毎に適した形式で設定情報の記憶管理を行うとともに、この接続GW設定情報受信に対して、HTTPサーバ機能処理部15経由で、GW管理端末30へ確認応答する処理を行う。
ここで、接続GW情報とは、接続GW情報ID、WAPゲートウェイタイプ、WAPゲートウェイアドレス、宛先アドレス(URL、URI)、優先度、利用可能期間を含む情報群を1単位としており、これを1又は複数のセットにして構成される。
接続GW情報IDとは、複数の接続GW確報を送信する際に、各情報を識別するためのIDである。
WAPゲートウェイタイプは、Normal、Substituteの2タイプを定義する。WAPゲートウェイタイプがNormalの接続GW情報は通常利用するWAPゲートウェイを指定する。タイプがSubstituteの接続GW情報は代替WAPゲートウェイを指定する。
ここで、このタイプを指定した場合は、代替WAPゲートウェイの利用可能期間を接続GW情報に含める。
【0016】
WAPゲートウェイアドレスとは、GW・20―1〜GW・20−3のIPアドレスであり、WAP端末10−1〜10−4がGW・20―1〜GW・20−3と通信セッションを確立する際に利用される。
宛先アドレスとは、WAP端末10−1〜10−4が特定の宛先のサーバやPCと通信を行う際に、特定のWAPゲートウェイを利用させたい場合に指定するURL又はURI等のアドレスである。
ここで、特定の宛先を指定しな場合はAnyを指定し、全ての宛先を表現する。
優先度とは、同じゲートウェイタイプの接続GW情報が指定されている場合、GW・20―1〜GW・20−3のいずれを優先的に選択するかを定める情報であって、本実施形態においては、この優先度が高いWAPゲートウェイほど、優先的に選択されるものとする。
【0017】
利用可能期間とは、Substituteタイプの接続GW情報の場合にセットされる情報で、その代替WAPゲートウェイが利用可能である期間を指定する。
Substituteタイプの接続GW情報をGW・20―1〜GW・20−3のいずれかに指定する場合は、他のGW・20―1〜GW・20−3のいずれかの接続GW情報を少なくとも1つ、Normalタイプに指定する。また、Substituteタイプで指定した利用可能期間外の期間においては、Normalタイプで指定されたWAPゲートウェイを利用することとする。
【0018】
HTTPサーバ機能処理部15は、WAP2.0仕様にオプションとして規定されるHTTPサーバ機能に関する処理を行う。具体的には、GW管理端末30からGW・20―1〜20−3経由で通信処理部17が受信した接続GW設定情報を受けて、接続GW情報管理部13に接続GW設定情報を書き込む。
アプリケーション部16−1、16−2は、GW・20―1〜20−3を経由するデータ通信を伴うアプリケーション(例えば、WAPアプリケーション)の実行処理を行う。ここで、アプリケーション部16−1、16−2は、それぞれ異なるアプリケーションである。
通信処理部17は、0SI7階層のデータリンク層、物理層の機能を備えており、これら下位レイヤにおける、WAP端末10−1〜10−4とGW20−1〜20−3との間の通信処理を行う。
【0019】
GW・20―1〜GW・20−3は、WAP2.0で規定されているWAPゲートウェイであって、WAP端末10−1〜10−4とGW管理端末30、インターネット110、キャリアデータセンタ120、サーバ111−1〜111−4との中継地点に設置される。また、GW・20―1〜GW・20−3は、例えば、WAP端末10−1〜10−4とサーバ111−1〜111−4との間でプロトコル変換、コンテンツ変換、無線リンクに適したバイナリ符号化などのサービスを行う。
インターネット110は、コンテンツを公開するサーバ111−1〜111−4が設置されたネットワークである。
キャリアデータセンタ120は、WAP端末システムを運営する携帯電話通信事業者が設置するデータサーバ等であって、顧客情報のセキュリティ管理の点からGW・20―1〜GW・20−3と専用線で接続されている。
【0020】
GW管理端末30は、上記携帯電話通信事業者のネットワーク上に設置され、GW・20―1〜20−3経由でWAP端末10−1〜10−4に対して、接続GW情報の設定を行う。
ここで、接続GW情報が設定される対象範囲は、上記携帯電話通信事業者によって各WAP端末に割り当てられたIPアドレスや加入者番号を単位に指定される。例えば、IPアドレス指定では192.168.0.0/16や192.168.10.(1−100)のようにサブネット単位に指定する場合、又は、各IPアドレスを直接指定する場合がある。
同時に複数のWAP端末10−1〜10−4に接続GW情報を通知・設定する際には、同一WAPゲートウェイ経由で設定するWAP端末数や接続GW情報の通知に失敗した場合のリトライ回数の設定が可能である。
【0021】
次に、本実施形態のWAPシステムにおける、WAP端末10−1〜10−4の動作について説明する。本実施形態のWAP端末10−1〜10−4の動作は、設定される接続GW情報によって異なるが、その目的によって大きく2種類に大別される。1つは、特定のWAPゲートウェイの負荷分散を図ることを目的とする場合であり、もう1つは、1のWAPゲートウェイがサービスを休止・停止した際に、このWAPゲートウェイが行っていたサービスを他のWAPゲートウェイが肩代わりすることを目的とする場合である。以下、まず前者について説明する。
【0022】
特定のWAPゲートウェイの負荷分散を図ることを目的とする場合、URLが(http://www.test−server.co.jp)で指定される宛先アドレスに対しては、GW・20―1〜20−3が保持する通信セッションを均一化する。
すなわち、GW管理端末30は、XML形式の接続GW設定情報をGW・20―1〜20−3経由でWAP端末10−1〜10−4のHTTPサーバ機能処理部15に対して、HTTPプロトコルのPUSHコマンドを利用して送信する。ここで、送信される接続GW設定情報は、例えば図3のように示される。
【0023】

Figure 2004201201
【0024】
WAP端末10−1〜10−4の通信処理部17は、この接続GW設定情報を受信すると、WAP処理部11経由でHTTPサーバ機能処理部15に対して出力する。HTTPサーバ機能処理部15は、これを受けて接続GW情報管理部14の設定を行う。すなわち、HTTPサーバ機能処理部15は、接続GW設定情報のXML形式のデータを接続GW情報管理部14に渡し、接続GW情報管理部14はこれを記憶管理する。すなわち、接続GW情報管理部14はこのXMLデータを解析し、接続GW設定情報をWAP端末10−1〜10−4が処理しやすいフオーマット、例えば、ルール検索の高速なバイナリデータに変換して保存する。
これにより、接続GW設定情報に基づく設定が完了し、GW・20―1が通常利用されるWAPゲートウェイ、GW・20―2、GW・20―3が負荷分散用WAPゲートウェイとして指定される。また、GW・20―1〜GW20−3が、2002年10月10日午後20時00分0秒から200に年10月11日午後19時59分59秒までの期間、WAP端末10−1〜10−4がURL(http://www.test−server.co.jp)のサーバと通信する際の負荷分散WAPゲートウェイとして指定される。
【0025】
今、接続GW設定情報に基づく設定の完了後、2002年10月10日午後20時00分0秒以後から2002年10月11日午後19時59分59秒までの時点で、WAP端末10−1〜10−4のアプリケーション16−1が実行され、インターネット110上のサーバ111−1(URL http://www.test−server.co.jp)との通信を開始するものとする。
図4は、アプリケーション16−1によるサーバ111−1との通信セッション生成要求からセッション生成完了までの流れを示すフローチャートである。
【0026】
まず、アプリケーション16−1は、セッション生成処理部12に対して、サーバ111−1の宛先URL(http://www.test−server.co.jp)/アドレス指定を渡し、セッション生成を要求する(図4のステップS1)。
セッション生成処理部12は、接続GW判断処理部13を呼び出し、上記サーバ111−1の宛先URL/アドレス指定を渡す(ステップS2)。
接続GW判断処理部13は、接続GW情報管理部14に対して、接続するWAPゲートウェイとして記憶されたGW・20―1〜GW20−3の情報を要求する(ステップS3)。接続GW情報管理部14は、要求のあった接続GW情報を読み出して、接続GW判断処理部13に返す(ステップS4)。
【0027】
接続GW判断処理部13は、セッション生成処理部12より受けた宛先URL/アドレス指定と現在時刻の情報に基づいて、GW・20―1〜GW20−3のいずれと接続するかを判断する。
すなわち、接続GW判断処理部13は、まず、GW・20―1〜GW20−3に設定された宛先URLと、サーバ111−1の宛先URLとを比較する(ステップS5)。GW・20―1〜GW20−3に設定された宛先URLと、サーバ111−1の宛先URLとが一致すれば、接続GW判断処理部13は、さらに、ステップS5で一致したGW・20―1〜GW20−3に設定された利用可能期間と現在時刻を比較する(ステップS6)。現在時刻が、利用可能期間:2002年10月10日20時00分00秒〜2002年10月11日19時59分59秒に該当すれば、接続GW判断処理部13は、宛先URLが一致し、かつ、現在時間が利用可能期間に該当したWAPゲートウェイのゲートウェイアドレスをセッション生成処理部12に対して返す。このとき、セッション生成処理部12に対して返すゲートウェイアドレスは、実装により1又は複数のいずれとしてもよい。また、接続GW判断処理部13が上記優先度に基づいて、優先度の高低をさらに判別し、セッション生成処理部に優先度の高いWAPゲートウェイのゲートウェイアドレスGW1、GW2、GW3のいずれかのみを返すようにしてもよい。
【0028】
本実施形態では、接続GW判断処理部13は、図3に示す接続GW設定情報の接続GW情報IDが1の設定情報に基づき、GW・20―1〜GW20−3のすべてが利用するWAPゲートウェイであると判断し、GW・20―1、GW20−2、GW20−3のゲートウェイアドレスGW1,GW2、GW3の3つすべてをセッション生成処理部12に返す(ステップS7)。
【0029】
セッション生成処理部12は、ゲートウェイアドレスGW1,GW2、GW3を受けて、対応するGW・20―1、GW20−2、GW20−3の接続GW情報の優先度を比較する(ステップS8)。ここで、GW・20―1、GW20−2、GW20−3の優先度は、図3に示すようにいずれも2であって、同一である。したがって、セッション生成処理部12は、GW・20―1、GW20−2、GW20−3の中から任意にWAPゲートウェイを選択可能である。したがって、例えば、擬似乱数を用いて、WAP端末10−1〜10−4がそれぞれ同一の確率でGW・20―1、GW20−2、GW20−3のいずれかを選択するといった実装により、特定の時間に、特定のURLのサーバが提供するサービスにアクセスが集中する場合に、この集中負荷を分散することができる。
【0030】
セッション生成処理部12は、接続するWAPゲートウェイとして、例えば、GW・20―1を選択して、ゲートウェイアドレスGW1を元にセッションを生成し、WAP処理部11に通知する(ステップS9)。WAP処理部11は、これに基づき、通信処理部17を介してGW・20―1とセッションを確立し、セッション生成処理部12に対して生成完了を通知する(ステップS10)。セッション生成処理部12は、セッション完了をアプリケーション部16−1に対して通知する(ステップS11)。
以上の処理によって、アプリケーション部16−1は、GW・20―1とセッションを確立し、GW・20―1は、宛先URL(http://www.test−server.co.jp)のサーバ111−1と通信セッションを確立する。そして、アプリケーション部16−1とサーバ111−1とがデータ送受信を行う。
なお、GW・20―1とのセッション確立に失敗した場合は、他の候補であるGW・20―2、GW20−3等を再度選択しなおして、通信セッションを確立してもよい。
【0031】
2002年10月11日午後19時59分59秒以後の時点で、アプリケーション16−1が起動した場合、セッション生成処理部12と、接続GW判断処理部13と、接続GW情報管理部14とが上記ステップS2〜S11と同様の処理を実行する。
すなわち、セッション生成処理部12のゲートウェイアドレス要求に対して、接続GW判断処理部13は、GW・20―1のデートウェイアドレスをセッション生成処理部12に返し、セッション生成処理部12は、これを接続するWAPゲートウェイとして選択する。
アプリケーション部16−1はGW・20―1と通信セッションを確立し、WAPゲートウェイが宛先URLのサーバ111との通信セッションを確立する。
【0032】
以上説明したように、本実施形態のWAP端末によれば、特定のサイト、特定のサーバへのアクセスが特定時間帯に集中する場合、または集中が予想される場合、このアクセス負荷を適切に複数のWAPゲートウェイに分散することができる効果が得られる。また、あるWAPゲートウェイに障害が発生した場合でも、上述の接続GW情報をWAP端末に通知しておけば、継続してサービスを提供できる効果が得られる。
また、GW管理端末は、必要に応じて、利用可能なWAPゲートウェイをWAP端末に通知できるとともに、例えば、サブネット単位ごとに接続GW情報を配信することにより、複数のWAP端末に効率的に接続GW情報を配信できる。
また、接続GW情報において、同一WAPゲートウェイ経由で設定するWAP端末数に制限を指定することでWAPゲートウェイに対する負荷を軽減することができる。
【0033】
また、WAP端末で動作する通信アプリケーション(=本実施形態のアプリケーション部16−1、16−2が実行するアプリケーション)の変更は必要ないため、アプリケーション開発者は代替WAPゲートウェイの選択などを意識することなく、アプリケーションを開発でき、開発コストの増大を抑えることができる効果が得られる。
また、接続GW情報管理部と接続GW判断処理部の機能をそれぞれ独立した構成とすることで、GW管理端末から受信したデ一夕をそのまま保持する必要はなく、端末内部の処理に適したフォーマットに変換した上で接続GW情報を記憶管理できる。
したがって、受信データを記憶管理するデータフォーマットを検索に適するデータ構造に予め変換しておくことができるため、セッション確立時に発生する遅延時間を短縮することができる効果が得られる。
【0034】
また、セッション生成処理部と接続GW判断処理部の機能をそれぞれ独立した構成とすることで、セッション生成処理部は接続するWAPゲートウェイの選択判断に関する処理を行う必要がない。
したがって、接続GW情報管理部の保存データ構造が変更された場合においても、セッション生成部の処理へ影響が及ぶことを防止することができる効果が得られる。
また、接続GW情報として、利用可能期間、優先度、宛先URLを元にWAP端末に負荷分数のためのWAPゲートウェイを指定することができる。
【0035】
次に、本実施形態のWAPシステムにおいて、1のWAPゲートウェイがサービスを休止・停止した際に、このWAPゲートウェイが行っていたサービスを他のWAPゲートウェイが肩代わりすることを目的とする場合のWAP端末10−1〜10−4の動作について説明する。図5は、本実施形態のWAP端末を適用したWAPシステムの全体構成を示す構成図である。本WAPシステムは、図1に示すWAPシステムと同一構成であるが、GW・20−1がメンテナンスのため、ある期間停止するため、この期間中に稼動しているWAPゲートウェイがGW・20−2、GW・20−3である点が異なっている。
以下、上述の特定のWAPゲートウェイの負荷分散を図ることを目的とする場合のWAP端末10−1〜10−4の動作と共通する動作については、説明を省略し、異なる動作について説明する。
【0036】
2002年10月10日20時00分00秒〜2002年10月11日19時59分59秒までの期間、GW20−1が行っていたサービスをGW20−2、GW20−3が肩代わりすることを目的とする場合、GW管理端末30は、2002年10月10日20時00分00秒以前に、XML形式の接続GW設定情報をGW・20―1〜20−3経由でWAP端末10−1〜10−4のHTTPサーバ機能処理部15に対して、HTTPプロトコルのPUSHコマンドを利用して送信する。
接続GW設定情報の送信は原則、2002年10月10ヵ年後20時00分0秒以前に完了するものとするが、必要に応じて、当該期間中に送信処理を再度行うことも考えられる。
ここで、送信される接続GW設定情報は、例えば図5のように示される。
【0037】
接続GW情報ID:1
WAPゲートウェイタイプ:Normal
WAPゲートウェイアドレス:GW1(=GW・20―1)
宛先アドレス:Any
接続GW情報ID:2
WAPゲートウェイタイプ:Substitute
WAPゲートウェイアドレス:GW2(=GW・20―2)
宛先アドレス:Any
優先度:1
利用可能期間:2002年10月10日20時00分00秒〜2002年10月11日19時59分59秒
接続GW情報ID:3
WAPゲートウェイタイプ:Substitute
WAPゲートウェイアドレス:GW3(=GW・20―3)
宛先アドレス:Any
優先度:1
利用可能期間:2002年10月10日20時00分00秒〜2002年10月11日19時59分59秒
【0038】
WAP端末10−1〜10−4は、この接続GW設定情報を受信すると、接続GW設定情報に基づく設定を行う。この場合、GW・20―1がメンテナンス対象のWAPゲートウェイ、GW・20―2、GW・20―3が2002年10月10日午後20時00分0秒から200に年10月11日午後19時59分59秒までの期間、GW・20―1の代替WAPゲートウェイとして指定される。
【0039】
今、接続GW設定情報に基づく設定の完了後、2002年10月10日午後20時00分0秒以後から2002年10月11日午後19時59分59秒までの時点で、WAP端末10−1〜10−4のアプリケーション16−1が実行され、インターネット110上のサーバ111−1との通信を開始するものとする。
【0040】
まず、アプリケーション16−1は、セッション生成処理部12に対して、サーバ111−1のアドレス指定を渡し、セッション生成を要求する(図4のステップS1)。
セッション生成処理部12は、接続GW判断処理部13を呼び出し、上記サーバ111−1の宛先URL/アドレス指定を渡す(ステップS2)。
接続GW判断処理部13は、接続GW情報管理部14に対して、接続するWAPゲートウェイとして記憶されたGW・20―1〜GW20−3の情報を要求する(ステップS3)。接続GW情報管理部14は、要求のあった接続GW情報を読み出して、接続GW判断処理部13に返す(ステップS4)。
【0041】
接続GW判断処理部13は、セッション生成処理部12より受けた宛先URL/アドレス指定と現在時刻の情報に基づいて、GW・20―1〜GW20−3のいずれと接続するかを判断する。
すなわち、接続GW判断処理部13は、宛先を比較後(ステップS5)、GW・20―1〜GW20−3に設定された利用可能期間と現在時刻を比較する(ステップS6)。現在時刻が、利用可能期間:2002年10月10日20時00分00秒〜2002年10月11日19時59分59秒に該当すれば、接続GW判断処理部13は、現在時間が利用可能期間に該当したWAPゲートウェイのゲートウェイアドレスをセッション生成処理部12に対して返す。
【0042】
この場合、接続GW判断処理部13は、図6に示す接続GW設定情報の接続GW情報IDが2,3の設定情報に基づき、GW・20―2、GW20−3が利用するWAPゲートウェイであると判断し、GW20−2、GW20−3のゲートウェイアドレスGW2、GW3の2つをセッション生成処理部12に返す(ステップS7)。
【0043】
セッション生成処理部12は、ゲートウェイアドレスGW2、GW3を受けて、対応するGW20−2、GW20−3の接続GW情報の優先度を比較する(ステップS8)。ここで、GW20−2、GW20−3の優先度は、図5に示すように
順に1、2であって、GW20−2の優先度の方が高い。したがって、セッション生成処理部12は、GW20−2を選択する。そして、セッション生成処理部12は、ゲートウェイアドレスGW2を元にセッションを生成し、WAP処理部11に通知する(ステップS9)。WAP処理部11は、これに基づき、通信処理部17を介してGW・20―2とセッションを確立し、セッション生成処理部12に対して生成完了を通知する(ステップS10)。セッション生成処理部12は、セッション完了をアプリケーション部16−1に対して通知する(ステップS11)。
以上の処理によって、アプリケーション部16−1は、GW・20―2とセッションを確立し、GW・20―1は、サーバ111−1と通信セッションを確立する。そして、アプリケーション部16−1とサーバ111−1とがデータ送受信を行う。
なお、GW・20―2とのセッション確立に失敗した場合は、他の候補であるGW20−3を再度選択しなおして、通信セッションを確立してもよい。
【0044】
2002年10月11日午後19時59分59秒以後の時点で、アプリケーション16−1が起動した場合、セッション生成処理部12と、接続GW判断処理部13と、接続GW情報管理部14とが上記ステップS2〜S11と同様の処理を実行する。
すなわち、セッション生成処理部12のゲートウェイアドレス要求に対して、接続GW判断処理部13は、GW・20―1のデートウェイアドレスをセッション生成処理部12に返し、セッション生成処理部12は、これを接続するWAPゲートウェイとして選択する。
アプリケーション部16−1はGW・20―1と通信セッションを確立し、WAPゲートウェイが宛先URLのサーバ111との通信セッションを確立する。
【0045】
以上説明したように、本実施形態のWAP端末によれば、WAPゲートウェイのメンテナンスのために特定の時間帯に特定のWAPゲートウェイが停止する場合、
予め代替WAPゲートウェイをWAP端末に指定しておくことで、ユーザにメンテナンス中であることを意識させることなく、サービスを継続できる効果が得られる。また、接続GW情報として、利用可能期間、優先度、宛先URLを元にWAP端末に代替WAPゲートウェイを指定することができる。
【0046】
なお、本実施形態においては、接続GW設定情報としてXML形式のテキストデータを利用したが、例えば、負荷分散の対象となるWAPゲートウェイに対して優先度を設定したい場合は、別の〈gateway〉タグを記述し、優先度を付ければよい。
【0047】
上述のWAP端末、WAPゲートウェイ、GW管理端末は内部に、コンピュータシステムを有している。そして、上述したWAP仕様に基づく通信に関する一連の処理の過程は、プログラムの形式でコンピュータ読み取り可能な記録媒体に記憶されており、このプログラムをコンピュータが読み出して実行することによって、上記処理が行われる。ここでコンピュータ読み取り可能な記録媒体とは、磁気ディスク、光磁気ディスク、CD−ROM、DVD−ROM、半導体メモリ等をいう。また、このコンピュータプログラムを通信回線によってコンピュータに配信し、この配信を受けたコンピュータが当該プログラムを実行するようにしても良い。
【0048】
なお、上記図1〜図7及び本明細書中における番号が同一の装置等は、すべて同一構成である。
【図面の簡単な説明】
【図1】負荷分散を目的とした場合における、本実施形態のWAP端末を適用したWAPシステムの全体構成を示す構成図である。
【図2】WAP端末の構成を示す構成図である。
【図3】接続GW設定情報の例を示す図である。
【図4】アプリケーション16−1によるサーバ111−1との通信セッション生成要求からセッション生成完了までの流れを示すフローチャートである。
【図5】本実施形態のWAP端末を適用したWAPシステムの全体構成を示す構成図である。
【図6】接続GW設定情報の例を示す図である。
【図7】WAPシステムの全体構成を示す全体構成図である。
【符号の説明】
10−1〜10−4…WAP端末、20−1〜20−3…WAPゲートウェイ、30…GW管理端末、100…携帯電話網、110…インターネット、111−1〜111−4…サーバ、120…キャリアデータセンタ、[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a communication method and a communication program for distributing traffic according to the number of WAP (Wireless Application Protocol) terminals when a communication carrier accesses a specific gateway (hereinafter, referred to as GW) server, and a WAP terminal. .
[0002]
[Prior art]
In the WAP system, as shown in FIG. 7, a relay device called a WAP gateway 200 is installed between a wireless network, which is a mobile phone network 100, and a wired network, which is a carrier data center 120 installed by a business operator. The communication system configuration is adopted, and the WAP gateway 200 provides services such as protocol conversion, content conversion, and binary coding suitable for a wireless link between the WAP terminal 300 and a plurality of servers 111-1 to 111-4 on the Internet 110. Has been realized.
[0003]
In the conventional WAP specification, there is a problem that the level of service to the user is reduced without considering whether to distribute received data to a plurality of WAP applications. As a technique for solving this problem, Patent Literature 1 describes a method of multiplexing communication sessions so that a plurality of applications can simultaneously operate for data reception in a WAP-compatible terminal.
More specifically, a lower protocol unit manages an application identifier using an application identifier management table with respect to an upper protocol unit that directly interfaces with a plurality of WAP applications. This is realized by recognizing the application to pass.
As a technique for realizing failure notification in a WAP system, Patent Document 2 describes a method in which a WAP gateway 200 notifies failure information in advance before receiving an access request from a WAP terminal 300.
Specifically, the WAP gateway 200 periodically detects the operation status of the servers 111-1 to 111-4, and provides a service menu which is a list of services provided by the servers 111-1 to 111-4 in the operation status. Is generated and transmitted to the WAP terminal 300, thereby realizing this.
[Patent Document 1]
JP 2001-309439 A
[Patent Document 2]
JP 2001-331387 A
[0004]
[Problems to be solved by the invention]
However, the WAP system configuration has a problem that a large load is applied to the WAP gateway 200. Further, there is a problem that the servers 111-1 to 111-4 cannot provide services to the user of the WAP terminal 300 when the WAP gateway 200 fails. This is because the WAP specification does not define a function for causing the WAP terminal 300 to select an alternative GW when a failure occurs or a function for notifying a failure.
On the other hand, the invention "a reception data notification system for a WAP application-equipped mobile phone" described in Patent Document 1 provides a function of providing a failure notification and an alternative route provided by the present invention with respect to reception data contents and applications. It does not do. Also, the invention described in Patent Document 2 “Relay device, mobile radio communication system, storage medium storing the failure notification information and the failure notification program” realizes the failure notification by the WAP gateway 200 in the WAP system. . However, according to the present invention, there is a problem that the service provision cannot be continued by switching the WAP gateway 200 to the alternative GW during maintenance.
Further, when the access load is concentrated on a specific WAP gateway 200 including the alternative GW, there is a problem that this load distribution cannot be realized.
[0005]
The present invention has been made in view of such circumstances, and its object is to prevent concentration of access to a specific WAP gateway, and to provide a case where the WAP gateway is suspended or stopped due to maintenance or the like. Even if there is, it is to provide a WAP terminal, a communication method, and a communication program that can continue the service.
[0006]
[Means for Solving the Problems]
SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and a WAP terminal of the present invention comprises a storage means for storing connection gateway information including a plurality of WAP gateway addresses; WAP gateway selecting means for selecting a gateway, and communication means for reading the WAP gateway address of the selected WAP gateway from the storage means and communicating with the WAP gateway.
[0007]
Also, in the WAP terminal of the present invention, the connection gateway information further includes an available period of each WAP gateway, and the WAP gateway selecting unit compares the available time of the communication session with the available period, and A WAP gateway is selected.
[0008]
Further, in the WAP terminal of the present invention, the connection gateway information further includes a connection priority of each WAP gateway that is different for each WAP terminal or each of a plurality of WAP terminal groups, It is characterized in that the connection priorities of the gateways are compared and a WAP gateway having a higher connection priority is selected.
[0009]
Also, in the WAP terminal of the present invention, the connection gateway information further includes a connection priority of each WAP gateway that differs for each communication destination address, and the WAP gateway selection unit determines connection priorities of the plurality of WAP gateways. In comparison, a WAP gateway having a higher connection priority is selected.
[0010]
Further, in the WAP terminal of the present invention, when the connection with the selected WAP gateway has failed to be established, the WAP gateway selecting means refers to the connection gateway information and selects another WAP gateway. .
[0011]
Further, in the communication method of the present invention, the WAP terminal having storage means for storing connection gateway information including a plurality of WAP gateway addresses refers to the connection gateway information, selects a WAP gateway to connect to, and selects the selected WAP gateway. A WAP gateway address of the WAP gateway is read from the storage means, and communication with the WAP gateway is performed.
[0012]
Further, the communication program of the present invention includes a process in which a WAP terminal having storage means for storing connection gateway information including a plurality of WAP gateway addresses refers to the connection gateway information and selects a WAP gateway to be connected. This is a program for reading out the WAP gateway address of the selected WAP gateway from the storage means and causing the computer to execute processing for communicating with the WAP gateway.
[0013]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, the WAP terminal of the present embodiment will be described with reference to the drawings. FIG. 1 is a configuration diagram illustrating an overall configuration of a WAP system to which the WAP terminal according to the present embodiment is applied.
The WAP system includes a plurality of WAP terminals 10-1 to 10-4 (four in the present embodiment) and a plurality of WAP gateways GW-20-1 to GW20-3 (in the present embodiment, three to three). And a GW management terminal 30 connected by the mobile phone network 100 or a wired network.
Each of the WAP terminals 10-1 to 10-4 is an information terminal (mobile phone, PDA, or the like) having a WAP function. As shown in FIG. 2, a WAP processing unit 11, a session generation processing unit 12, It comprises a GW determination processing unit 13, a connection information management unit 14, an HTTP server function processing unit 15, one or a plurality of application units 16-1, 16-2, and a communication processing unit 17.
[0014]
The WAP processing unit 11 performs processing relating to the transfer of input information from an input unit (not shown) such as an input button or an input key in the WAP terminals 10-1 to 10-4, and the processing of the application units 16-1 and 16-2. Processing related to display of output results is performed.
The session generation unit 12 has a function of a session layer of the 0SI7 layer, and generates a TCP session or a UDP session between the GWs 20-1 to 20-3 and the application units 16-1 and 16-2 on the WAP terminal.・ Perform processing related to establishment, etc.
The connection GW information management unit 14 stores the connection GW determination processing unit 13 when the application units 16-1 and 16-2 perform communication and establish a TCP / IP connection with the GWs 20-1 to 20-3. The GW 20-1 to 20-3 to be connected are selected with reference to the connection GW information to be managed.
[0015]
The connection GW information management unit 14 stores and manages the connection GW setting information received from the GW management terminal 30 in a format suitable for each WAP terminal, and performs an HTTP server function in response to the connection GW setting information reception. A process for confirming and responding to the GW management terminal 30 is performed via the processing unit 15.
Here, the connection GW information is one unit of an information group including a connection GW information ID, a WAP gateway type, a WAP gateway address, a destination address (URL, URI), a priority, and an available period. It is composed of multiple sets.
The connection GW information ID is an ID for identifying each piece of information when transmitting a plurality of connection GW confirmation reports.
The WAP gateway type defines two types, Normal and Substitute. The connection GW information whose WAP gateway type is Normal specifies a normally used WAP gateway. The connection GW information of the type Substitute specifies an alternative WAP gateway.
Here, when this type is designated, the available period of the alternative WAP gateway is included in the connection GW information.
[0016]
The WAP gateway address is an IP address of the GW 20-1 to GW 20-3, and the WAP terminals 10-1 to 10-4 establish a communication session with the GW 20-1 to GW 20-3. Used when
The destination address is an address such as a URL or a URI specified when the WAP terminals 10-1 to 10-4 want to use a specific WAP gateway when communicating with a specific destination server or PC.
Here, when a specific destination is not specified, Any is specified and all destinations are expressed.
The priority is information that determines which of the GWs 20-1 to GW 20-3 is preferentially selected when connection GW information of the same gateway type is specified. Is to be preferentially selected for a WAP gateway having a higher priority.
[0017]
The available period is information set in the case of Substitute type connection GW information, and specifies the period during which the alternative WAP gateway is available.
When specifying the connection GW information of the Substitute type to any one of the GWs 20-1 to GW 20-3, the connection GW information of any of the other GWs 20-1 to GW 20-3 is set to at least one. First, specify the Normal type. Also, during a period other than the usable period specified by the Substitute type, the WAP gateway specified by the Normal type is used.
[0018]
The HTTP server function processing unit 15 performs processing relating to the HTTP server function specified as an option in the WAP 2.0 specification. Specifically, it receives the connection GW setting information received by the communication processing unit 17 from the GW management terminal 30 via the GWs 20-1 to 20-3, and writes the connection GW setting information to the connection GW information management unit 13.
The application units 16-1 and 16-2 execute an application (for example, a WAP application) that involves data communication via the GWs 20-1 to 20-3. Here, the application units 16-1 and 16-2 are different applications.
The communication processing unit 17 has the functions of the data link layer and the physical layer of the 0SI7 layer, and performs communication processing between the WAP terminals 10-1 to 10-4 and the GWs 20-1 to 20-3 in these lower layers. I do.
[0019]
GW 20-1 to GW 20-3 are WAP gateways defined by WAP 2.0, and include WAP terminals 10-1 to 10-4, GW management terminal 30, Internet 110, carrier data center 120, It is installed at a relay point with the servers 111-1 to 111-4. The GWs 20-1 to 20-3 are suitable for protocol conversion, content conversion, and wireless link between the WAP terminals 10-1 to 10-4 and the servers 111-1 to 111-4, for example. Provides services such as binary encoding.
The Internet 110 is a network in which servers 111-1 to 111-4 that publish contents are installed.
The carrier data center 120 is a data server or the like installed by a mobile phone carrier that operates a WAP terminal system, and has a dedicated line with GWs 20-1 to GW 20-3 from the viewpoint of security management of customer information. It is connected.
[0020]
The GW management terminal 30 is installed on the network of the mobile phone carrier and sets connection GW information to the WAP terminals 10-1 to 10-4 via the GWs 20-1 to 20-3. .
Here, the target range in which the connection GW information is set is specified in units of an IP address or a subscriber number assigned to each WAP terminal by the mobile phone communication carrier. For example, in the IP address specification, 192.168.0.0/16 or 192.168.10. In some cases, the IP address is specified on a subnet basis as in (1-100), or each IP address is directly specified.
When notifying and setting connection GW information to a plurality of WAP terminals 10-1 to 10-4 at the same time, setting the number of WAP terminals to be set via the same WAP gateway and the number of retries when notification of connection GW information fails Is possible.
[0021]
Next, the operation of the WAP terminals 10-1 to 10-4 in the WAP system of the present embodiment will be described. The operation of the WAP terminals 10-1 to 10-4 according to the present embodiment differs depending on the set connection GW information, but is roughly classified into two types depending on the purpose. One is for the purpose of balancing the load of a specific WAP gateway, and the other is to perform the service performed by this WAP gateway when one WAP gateway suspends or stops the service. This is a case where another WAP gateway aims to take over. Hereinafter, the former will be described first.
[0022]
When the purpose is to distribute the load of a specific WAP gateway, the GW 20-1 to the destination address whose URL is specified by (http://www.test-server.co.jp) The communication session held by 20-3 is equalized.
In other words, the GW management terminal 30 transmits the connection GW setting information in the XML format to the HTTP server function processing units 15 of the WAP terminals 10-1 to 10-4 via the GWs 20-1 to 20-3. It transmits using a PUSH command. Here, the transmitted connection GW setting information is shown, for example, in FIG.
[0023]
Figure 2004201201
[0024]
When receiving the connection GW setting information, the communication processing units 17 of the WAP terminals 10-1 to 10-4 output the information to the HTTP server function processing unit 15 via the WAP processing unit 11. The HTTP server function processing unit 15 receives this and sets the connection GW information management unit 14. That is, the HTTP server function processing unit 15 passes the data in the XML format of the connection GW setting information to the connection GW information management unit 14, and the connection GW information management unit 14 stores and manages the data. That is, the connection GW information management unit 14 analyzes this XML data, converts the connection GW setting information into a format that can be easily processed by the WAP terminals 10-1 to 10-4, for example, converts it into high-speed binary data for rule search and stores it. I do.
As a result, the setting based on the connection GW setting information is completed, and the GW 20-1 is designated as the WAP gateway normally used, and the GW 20-2 and GW 20-3 are designated as the WAP gateways for load distribution. In addition, the GWs 20-1 to GW 20-3 change the WAP terminal 10-1 from 20:00:00 pm on October 10, 2002 to 19:59:59 pm on October 11, 2002. 10 to 10-4 are designated as load balancing WAP gateways when communicating with a server at a URL (http://www.test-server.co.jp).
[0025]
Now, after the completion of the setting based on the connection GW setting information, the WAP terminal 10- is set from 20:00:00 pm on October 10, 2002 to 19:59:59 pm on October 11, 2002. It is assumed that the applications 16-1 to 10-4 are executed and start communication with the server 111-1 (URL http://www.test-server.co.jp) on the Internet 110.
FIG. 4 is a flowchart showing a flow from the request for generating a communication session with the server 111-1 by the application 16-1 to the completion of the session generation.
[0026]
First, the application 16-1 passes the destination URL (http://www.test-server.co.jp) / address designation of the server 111-1 to the session generation processing unit 12, and requests session generation. (Step S1 in FIG. 4).
The session generation processing unit 12 calls the connection GW determination processing unit 13 and passes the destination URL / address designation of the server 111-1 (step S2).
The connection GW determination processing unit 13 requests the connection GW information management unit 14 for information on the GWs 20-1 to GW20-3 stored as the WAP gateways to be connected (step S3). The connection GW information management unit 14 reads the requested connection GW information and returns it to the connection GW determination processing unit 13 (step S4).
[0027]
The connection GW determination processing unit 13 determines which of the GWs 20-1 to GW20-3 to connect to based on the information of the destination URL / address designation and the current time received from the session generation processing unit 12.
That is, the connection GW determination processing unit 13 first compares the destination URL set in the GWs 20-1 to GW20-3 with the destination URL of the server 111-1 (step S5). If the destination URLs set in the GWs 20-1 to GW20-3 match the destination URLs of the server 111-1, the connection GW determination processing unit 13 further sets the GWs 20-1 matched in step S5. The available time set in the GW 20-3 is compared with the current time (step S6). If the current time falls within the usable period: 20:00:00 on October 10, 2002 to 19:59:59 on October 11, 2002, the connection GW determination processing unit 13 determines that the destination URL is one. And returns the gateway address of the WAP gateway whose current time corresponds to the usable period to the session generation processing unit 12. At this time, the gateway address returned to the session generation processing unit 12 may be one or more depending on the implementation. Further, the connection GW determination processing unit 13 further determines the level of the priority based on the priority, and returns only one of the gateway addresses GW1, GW2, and GW3 of the high-priority WAP gateway to the session generation processing unit. You may do so.
[0028]
In the present embodiment, the connection GW determination processing unit 13 determines the WAP gateway used by all of the GWs 20-1 to GW 20-3 based on the connection GW information ID of the connection GW setting information shown in FIG. And returns all three of the gateway addresses GW1, GW2, and GW3 of the GWs 20-1, GW20-2, and GW20-3 to the session generation processing unit 12 (step S7).
[0029]
The session generation processing unit 12 receives the gateway addresses GW1, GW2, and GW3, and compares the priorities of the connection GW information of the corresponding GWs 20-1, GW20-2, and GW20-3 (step S8). Here, the priority of the GWs 20-1, GW20-2, and GW20-3 is 2 as shown in FIG. 3, which is the same. Therefore, the session generation processing unit 12 can arbitrarily select a WAP gateway from the GW 20-1, GW 20-2, and GW 20-3. Therefore, for example, by using a pseudo-random number, the WAP terminals 10-1 to 10-4 respectively select one of the GWs 20-1, GW 20-2, and GW 20-3 with the same probability. In a case where access is concentrated on a service provided by a server of a specific URL at a time, the concentration load can be distributed.
[0030]
The session generation processing unit 12 selects, for example, the GW 20-1 as a WAP gateway to be connected, generates a session based on the gateway address GW1, and notifies the WAP processing unit 11 (step S9). Based on this, the WAP processing unit 11 establishes a session with the GW 20-1 via the communication processing unit 17, and notifies the session generation processing unit 12 of the completion of the generation (step S10). The session generation processing unit 12 notifies the application unit 16-1 of the completion of the session (Step S11).
Through the above processing, the application unit 16-1 establishes a session with the GW 20-1, and the GW 20-1 communicates with the server 111 of the destination URL (http://www.test-server.co.jp). -1 and establish a communication session. Then, the application unit 16-1 and the server 111-1 perform data transmission and reception.
If the session establishment with the GW 20-1 has failed, the communication session may be established by re-selecting another candidate, such as the GW 20-2 or GW 20-3.
[0031]
When the application 16-1 is started at 19:59:59 pm on October 11, 2002, the session generation processing unit 12, the connection GW determination processing unit 13, and the connection GW information management unit 14 The same processing as steps S2 to S11 is executed.
That is, in response to the gateway address request from the session generation processing unit 12, the connection GW determination processing unit 13 returns the dateway address of the GW 20-1 to the session generation processing unit 12, and the session generation processing unit 12 Select as WAP gateway to connect.
The application unit 16-1 establishes a communication session with the GW 20-1, and the WAP gateway establishes a communication session with the destination URL server 111.
[0032]
As described above, according to the WAP terminal of the present embodiment, when access to a specific site or a specific server is concentrated in a specific time zone, or when concentration is expected, the access load is appropriately increased. Can be distributed to other WAP gateways. Further, even if a failure occurs in a certain WAP gateway, if the connection GW information is notified to the WAP terminal, an effect that a service can be provided continuously can be obtained.
In addition, the GW management terminal can notify the available WAP gateway to the WAP terminal as needed, and, for example, distribute the connection GW information for each subnet, thereby efficiently connecting the plurality of WAP terminals to a plurality of WAP terminals. Information can be distributed.
Also, by specifying a limit on the number of WAP terminals set via the same WAP gateway in the connection GW information, the load on the WAP gateway can be reduced.
[0033]
Further, since there is no need to change the communication application (= application executed by the application units 16-1 and 16-2 of the present embodiment) operating on the WAP terminal, the application developer should be aware of selection of an alternative WAP gateway and the like. Application can be developed and the effect of suppressing an increase in development cost can be obtained.
Also, by making the functions of the connection GW information management unit and the connection GW judgment processing unit independent, it is not necessary to keep the data received from the GW management terminal as it is, and a format suitable for processing inside the terminal After converting to, connection GW information can be stored and managed.
Therefore, since the data format for storing and managing the received data can be converted in advance into a data structure suitable for retrieval, the effect of reducing the delay time that occurs when the session is established can be obtained.
[0034]
In addition, by making the functions of the session generation processing unit and the connection GW determination processing unit independent from each other, the session generation processing unit does not need to perform the processing related to the selection determination of the WAP gateway to be connected.
Therefore, even when the storage data structure of the connection GW information management unit is changed, the effect of preventing the processing of the session generation unit from being affected can be obtained.
Also, as the connection GW information, a WAP gateway for a load fraction can be designated in the WAP terminal based on the available period, priority, and destination URL.
[0035]
Next, in the WAP system according to the present embodiment, when one WAP gateway suspends or stops the service, the WAP terminal is intended to take over the service performed by this WAP gateway by another WAP gateway. Operations of 10-1 to 10-4 will be described. FIG. 5 is a configuration diagram illustrating an overall configuration of a WAP system to which the WAP terminal according to the present embodiment is applied. This WAP system has the same configuration as the WAP system shown in FIG. 1, but the GW 20-1 is stopped for a certain period for maintenance, so the WAP gateway operating during this period is the GW 20-2. , GW.20-3.
Hereinafter, description of operations common to the operations of the WAP terminals 10-1 to 10-4 for the purpose of achieving the load distribution of the specific WAP gateway will be omitted, and different operations will be described.
[0036]
During the period from 20:00:00 on October 10, 2002 to 19:59:59 on October 11, 2002, it is assumed that the GW 20-2 and the GW 20-3 take over the services provided by the GW 20-1. For the purpose, the GW management terminal 30 transmits the connection GW setting information in XML format to the WAP terminal 10-1 via the GWs 20-1 to 20-3 before 20:00:00 on October 10, 2002. It transmits to the HTTP server function processing units 15 to 10-4 using a PUSH command of the HTTP protocol.
The transmission of the connection GW setting information is completed in principle before 20: 00: 00: 00 after 10 years in October 2002, but the transmission processing may be performed again during the period if necessary.
Here, the transmitted connection GW setting information is shown, for example, in FIG.
[0037]
Connection GW information ID: 1
WAP gateway type: Normal
WAP gateway address: GW1 (= GW.20-1)
Destination address: Any
Connection GW information ID: 2
WAP gateway type: Substitute
WAP gateway address: GW2 (= GW.20-2)
Destination address: Any
Priority: 1
Available period: 20:00:00 on October 10, 2002 to 19:59:59 on October 11, 2002
Connection GW information ID: 3
WAP gateway type: Substitute
WAP gateway address: GW3 (= GW.20-3)
Destination address: Any
Priority: 1
Available period: 20:00:00 on October 10, 2002 to 19:59:59 on October 11, 2002
[0038]
When receiving the connection GW setting information, the WAP terminals 10-1 to 10-4 perform setting based on the connection GW setting information. In this case, the GW 20-1 is the maintenance target WAP gateway, and the GW 20-2 and the GW 20-3 are from 200,00: 00: 00 on October 10, 2002 to 200 on October 11, 2002 at 19:00 PM. The period up to 59:59 is designated as an alternative WAP gateway for the GW 20-1.
[0039]
Now, after the completion of the setting based on the connection GW setting information, the WAP terminal 10- is set from 20:00:00 pm on October 10, 2002 to 19:59:59 pm on October 11, 2002. It is assumed that the applications 16-1 of 1 to 10-4 are executed and start communication with the server 111-1 on the Internet 110.
[0040]
First, the application 16-1 passes the address specification of the server 111-1 to the session generation processing unit 12, and requests session generation (step S1 in FIG. 4).
The session generation processing unit 12 calls the connection GW determination processing unit 13 and passes the destination URL / address designation of the server 111-1 (step S2).
The connection GW determination processing unit 13 requests the connection GW information management unit 14 for information on the GWs 20-1 to GW20-3 stored as the WAP gateways to be connected (step S3). The connection GW information management unit 14 reads the requested connection GW information and returns it to the connection GW determination processing unit 13 (step S4).
[0041]
The connection GW determination processing unit 13 determines which of the GWs 20-1 to GW20-3 to connect to based on the information of the destination URL / address designation and the current time received from the session generation processing unit 12.
That is, the connection GW determination processing unit 13 compares the destination and the available time set in the GWs 20-1 to GW 20-3 with the current time after comparing the destinations (step S5) (step S6). If the current time falls within the usable period: 20:00:00 on October 10, 2002 to 19:59:59 on October 11, 2002, the connection GW determination processing unit 13 uses the current time. The gateway address of the WAP gateway corresponding to the possible period is returned to the session generation processing unit 12.
[0042]
In this case, the connection GW determination processing unit 13 is a WAP gateway used by the GW 20-2 and the GW 20-3 based on the setting information of the connection GW information ID of the connection GW setting information shown in FIG. And returns the two gateway addresses GW2 and GW3 of the GW 20-2 and GW 20-3 to the session generation processing unit 12 (step S7).
[0043]
The session generation processing unit 12 receives the gateway addresses GW2 and GW3 and compares the priorities of the connection GW information of the corresponding GWs 20-2 and GW20-3 (Step S8). Here, the priorities of the GW 20-2 and GW 20-3 are as shown in FIG.
They are 1 and 2 in order, and the priority of the GW 20-2 is higher. Therefore, the session generation processing unit 12 selects the GW 20-2. Then, the session generation processing unit 12 generates a session based on the gateway address GW2, and notifies the WAP processing unit 11 (step S9). Based on this, the WAP processing unit 11 establishes a session with the GW 20-2 via the communication processing unit 17, and notifies the session generation processing unit 12 of the completion of the generation (step S10). The session generation processing unit 12 notifies the application unit 16-1 of the completion of the session (Step S11).
Through the above processing, the application unit 16-1 establishes a session with the GW 20-2, and the GW 20-1 establishes a communication session with the server 111-1. Then, the application unit 16-1 and the server 111-1 perform data transmission and reception.
If the session establishment with the GW 20-2 fails, the communication session may be established again by selecting another candidate GW 20-3 again.
[0044]
When the application 16-1 is started at 19:59:59 pm on October 11, 2002, the session generation processing unit 12, the connection GW determination processing unit 13, and the connection GW information management unit 14 The same processing as steps S2 to S11 is executed.
That is, in response to the gateway address request from the session generation processing unit 12, the connection GW determination processing unit 13 returns the dateway address of the GW 20-1 to the session generation processing unit 12, and the session generation processing unit 12 Select as WAP gateway to connect.
The application unit 16-1 establishes a communication session with the GW 20-1, and the WAP gateway establishes a communication session with the destination URL server 111.
[0045]
As described above, according to the WAP terminal of the present embodiment, when a specific WAP gateway is stopped during a specific time zone for maintenance of the WAP gateway,
By designating an alternative WAP gateway as a WAP terminal in advance, an effect that the service can be continued without making the user aware that maintenance is being performed can be obtained. Also, as the connection GW information, an alternative WAP gateway can be specified for the WAP terminal based on the available period, priority, and destination URL.
[0046]
In the present embodiment, text data in XML format is used as the connection GW setting information. For example, if it is desired to set a priority for a WAP gateway to be load-balanced, another <gateway> tag And give a priority.
[0047]
The above-described WAP terminal, WAP gateway, and GW management terminal have a computer system therein. A series of processes related to the communication based on the WAP specifications described above are stored in a computer-readable recording medium in the form of a program, and the program is read and executed by the computer to perform the process. . Here, the computer-readable recording medium refers to a magnetic disk, a magneto-optical disk, a CD-ROM, a DVD-ROM, a semiconductor memory, or the like. Alternatively, the computer program may be distributed to a computer via a communication line, and the computer that has received the distribution may execute the program.
[0048]
It should be noted that the devices having the same numbers in FIGS. 1 to 7 and this specification all have the same configuration.
[Brief description of the drawings]
FIG. 1 is a configuration diagram illustrating an overall configuration of a WAP system to which a WAP terminal according to an embodiment is applied when load distribution is intended.
FIG. 2 is a configuration diagram illustrating a configuration of a WAP terminal.
FIG. 3 is a diagram illustrating an example of connection GW setting information.
FIG. 4 is a flowchart showing a flow from a request for generating a communication session with a server 111-1 by an application 16-1 to completion of session generation.
FIG. 5 is a configuration diagram illustrating an overall configuration of a WAP system to which the WAP terminal according to the present embodiment is applied.
FIG. 6 is a diagram illustrating an example of connection GW setting information.
FIG. 7 is an overall configuration diagram showing an overall configuration of a WAP system.
[Explanation of symbols]
10-1 to 10-4 WAP terminal, 20-1 to 20-3 WAP gateway, 30 GW management terminal, 100 mobile phone network, 110 Internet, 111-1 to 111-4 server, 120 Carrier data center,

Claims (7)

複数のWAPゲートウェイアドレスを含む接続ゲートウェイ情報を記憶する記憶手段と、
該接続ゲートウェイ情報を参照し、接続するWAPゲートウェイを選択するWAPゲートウェイ選択手段と、
該選択したWAPゲートウェイのWAPゲートウェイアドレスを前記記憶手段より読み出して、該WAPゲートウェイと通信を行う通信手段と
を具備することを特徴とするWAP端末。
Storage means for storing connection gateway information including a plurality of WAP gateway addresses;
WAP gateway selecting means for referring to the connection gateway information and selecting a WAP gateway to be connected;
A WAP terminal comprising: a communication unit that reads a WAP gateway address of the selected WAP gateway from the storage unit and communicates with the WAP gateway.
前記接続ゲートウェイ情報は、さらに、各WAPゲートウェイの利用可能期間を含み、
前記WAPゲートウェイ選択手段は、通信セッション生成時刻と前記利用可能期間を比較して、利用可能なWAPゲートウェイを選択する
ことを特徴とする請求項1に記載のWAP端末。
The connection gateway information further includes an available period of each WAP gateway,
The WAP terminal according to claim 1, wherein the WAP gateway selection unit selects a usable WAP gateway by comparing a communication session creation time with the usable period.
前記接続ゲートウェイ情報は、さらに、WAP端末毎又は複数のWAP端末群毎に異なる各WAPゲートウェイの接続優先度を含み、
前記WAPゲートウェイ選択手段は、前記複数のWAPゲートウェイの接続優先度を比較して、該接続優先度が高いWAPゲートウェイを選択する
ことを特徴とする請求項1に記載のWAP端末。
The connection gateway information further includes a connection priority of each WAP gateway that is different for each WAP terminal or a plurality of WAP terminal groups,
The WAP terminal according to claim 1, wherein the WAP gateway selection unit compares connection priorities of the plurality of WAP gateways and selects a WAP gateway having a higher connection priority.
前記接続ゲートウェイ情報は、さらに、通信先アドレス毎に異なる各WAPゲートウェイの接続優先度を含み、
前記WAPゲートウェイ選択手段は、前記複数のWAPゲートウェイの接続優先度を比較して、該接続優先度が高いWAPゲートウェイを選択する
ことを特徴とする請求項1に記載のWAP端末。
The connection gateway information further includes a connection priority of each WAP gateway different for each communication destination address,
The WAP terminal according to claim 1, wherein the WAP gateway selection unit compares connection priorities of the plurality of WAP gateways and selects a WAP gateway having a higher connection priority.
前記選択されたWAPゲートウェイとの接続確立に失敗した場合、
前記WAPゲートウェイ選択手段は、接続ゲートウェイ情報を参照し、他のWAPゲートウェイを選択する
ことを特徴とする請求項1から請求項4のいずれかの項に記載のWAP端末。
If the connection with the selected WAP gateway fails to be established,
The WAP terminal according to any one of claims 1 to 4, wherein the WAP gateway selecting means selects another WAP gateway by referring to connection gateway information.
複数のWAPゲートウェイアドレスを含む接続ゲートウェイ情報を記憶する記憶手段を有するWAP端末が、
該接続ゲートウェイ情報を参照して、接続するWAPゲートウェイを選択し、
該選択したWAPゲートウェイのWAPゲートウェイアドレスを前記記憶手段より読み出して、該WAPゲートウェイと通信を行う
ことを特徴とする通信方法。
A WAP terminal having storage means for storing connection gateway information including a plurality of WAP gateway addresses,
Referring to the connection gateway information, select a WAP gateway to be connected,
A communication method, comprising: reading a WAP gateway address of the selected WAP gateway from the storage unit; and performing communication with the WAP gateway.
複数のWAPゲートウェイアドレスを含む接続ゲートウェイ情報を記憶する記憶手段を有するWAP端末が、
該接続ゲートウェイ情報を参照して、接続するWAPゲートウェイを選択する処理と、
該選択したWAPゲートウェイのWAPゲートウェイアドレスを前記記憶手段より読み出して、該WAPゲートウェイと通信を行う処理と
をコンピュータに実行させるための通信プログラム。
A WAP terminal having storage means for storing connection gateway information including a plurality of WAP gateway addresses,
A process of referring to the connection gateway information and selecting a WAP gateway to be connected;
A communication program for causing a computer to execute a process of reading a WAP gateway address of the selected WAP gateway from the storage unit and performing communication with the WAP gateway.
JP2002370081A 2002-12-20 2002-12-20 Wap terminal, communication method and communication program Withdrawn JP2004201201A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002370081A JP2004201201A (en) 2002-12-20 2002-12-20 Wap terminal, communication method and communication program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002370081A JP2004201201A (en) 2002-12-20 2002-12-20 Wap terminal, communication method and communication program

Publications (1)

Publication Number Publication Date
JP2004201201A true JP2004201201A (en) 2004-07-15

Family

ID=32766122

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002370081A Withdrawn JP2004201201A (en) 2002-12-20 2002-12-20 Wap terminal, communication method and communication program

Country Status (1)

Country Link
JP (1) JP2004201201A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008113260A (en) * 2006-10-31 2008-05-15 Hitachi Communication Technologies Ltd Packet transfer device equipped with gateway loading distribution function
CN100407815C (en) * 2006-02-24 2008-07-30 华为技术有限公司 Method for insertion point obtaining insertion gateway address in mobile communication network
JP2010176590A (en) * 2009-01-30 2010-08-12 Buffalo Inc Terminal device, peripheral device, and writing program
JP2014003477A (en) * 2012-06-19 2014-01-09 Nippon Telegr & Teleph Corp <Ntt> Remote management device, system, method, and program
KR101362290B1 (en) * 2007-03-29 2014-02-21 에스케이텔레콤 주식회사 System and method for wireless internet access
JP2015154361A (en) * 2014-02-17 2015-08-24 日本電信電話株式会社 Ring network division optimization device, method and program

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100407815C (en) * 2006-02-24 2008-07-30 华为技术有限公司 Method for insertion point obtaining insertion gateway address in mobile communication network
JP2008113260A (en) * 2006-10-31 2008-05-15 Hitachi Communication Technologies Ltd Packet transfer device equipped with gateway loading distribution function
US7929543B2 (en) 2006-10-31 2011-04-19 Hitachi, Ltd. Packet forwarding apparatus having gateway load distribution function
JP4680866B2 (en) * 2006-10-31 2011-05-11 株式会社日立製作所 Packet transfer device with gateway load balancing function
KR101362290B1 (en) * 2007-03-29 2014-02-21 에스케이텔레콤 주식회사 System and method for wireless internet access
JP2010176590A (en) * 2009-01-30 2010-08-12 Buffalo Inc Terminal device, peripheral device, and writing program
JP2014003477A (en) * 2012-06-19 2014-01-09 Nippon Telegr & Teleph Corp <Ntt> Remote management device, system, method, and program
JP2015154361A (en) * 2014-02-17 2015-08-24 日本電信電話株式会社 Ring network division optimization device, method and program

Similar Documents

Publication Publication Date Title
RU2429587C2 (en) Method, system and device for increasing multimedia messaging service system capacity
CN100466633C (en) Techniques for providing a virtual workspace comprised of a multiplicity of electronic devices
CN100518125C (en) Communication apparatus, system, method
US20020052966A1 (en) Service discovery protocol server
CN101156407B (en) Method for supplying content through communication network
CN103716281B (en) control method, electronic device and server
US20060130152A1 (en) Network service processing method and system
EP2795849B1 (en) Method and apparatus for messaging in the cloud
JP2007156569A (en) Cluster system, load balancer, method of transferring node, and node transfer program
JP2003018326A (en) Communication service transaction method and communication system
WO2005120155A2 (en) Method, system and computer program to enable semantic mediation for sip events through support of dynamically binding to and changing of application semantics of sip events
WO2021168714A1 (en) Application discovery method, apparatus, and system
CN110234140B (en) Communication method, device, entity and storage medium
JP2003067527A (en) Contents access management device, contents access management method for use therewith, and program therefor
CN101729491A (en) Method, device and system for enhancing application reliability of script-based business
JP4410608B2 (en) Web service providing method
JP2002344475A (en) System and method for providing service to apparatus in home network and system and method being provided with service through home network
JP2004201201A (en) Wap terminal, communication method and communication program
JP2010141497A (en) Service server and communication system using the same
EP1183843B1 (en) Connection handle
CN102439946A (en) Data transmission method and device
AU2004300728A1 (en) Communication system, computer comprising a peer-to-peer message filter and method for processing a peer-to-peer message
JP2009017347A (en) Device, method, program for controlling communication, and terminal device
JP2007207013A (en) Information processor and information sharing program
JP2009205263A (en) Service monitoring system and method

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20060307