Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3961794B2 - Proxy server control program - Google Patents
[go: Go Back, main page]

JP3961794B2 - Proxy server control program - Google Patents

Proxy server control program Download PDF

Info

Publication number
JP3961794B2
JP3961794B2 JP2001245837A JP2001245837A JP3961794B2 JP 3961794 B2 JP3961794 B2 JP 3961794B2 JP 2001245837 A JP2001245837 A JP 2001245837A JP 2001245837 A JP2001245837 A JP 2001245837A JP 3961794 B2 JP3961794 B2 JP 3961794B2
Authority
JP
Japan
Prior art keywords
proxy
address resolution
information
server
response
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2001245837A
Other languages
Japanese (ja)
Other versions
JP2003058500A (en
Inventor
英樹 齋藤
一郎 鈴木
隆裕 中井
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP2001245837A priority Critical patent/JP3961794B2/en
Publication of JP2003058500A publication Critical patent/JP2003058500A/en
Application granted granted Critical
Publication of JP3961794B2 publication Critical patent/JP3961794B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は,クライアント・サーバ通信におけるプロキシサーバ制御プログラムに関するものである。
【0002】
【従来の技術】
クライアント・サーバ通信にプロキシサーバを適用するプロキシシステムの場合にクライアントが使用すべきプロキシサーバを指定する方式の一つとして,サービスを提供するサーバの宛先のアドレス情報にプロキシ情報(プロキシサーバのアドレス情報)を付加する方式がある。たとえば,CORBA(Common Object Request Broker Architecture) におけるIIOP(Internet Inter-ORB Protocol) が一例である。IIOPとは,異機種分散環境上のオブジェクト間でメッセージを交換するためのソフトウェア(ORB)の仕様を定めるCORBAに準拠して定められた異なるソフトウェア(ORB)間でのメッセージ交換のためのプロトコルである。
【0003】
このような方式を使用するプロキシシステムにおいて,実際にプロキシ情報を付加する従来の方法としては,アドレス解決サーバ上に定義されている個々のアドレス情報に予めプロキシ情報を付加しておき,クライアントからのアドレス解決要求に対して,その情報すなわちプロキシ情報を付加したアドレス情報をそのまま応答するという方法がある。
【0004】
【発明が解決しようとする課題】
しかしながら,この従来の方法では,定義されているアドレス情報のそれぞれについてプロキシ情報を前もって付加しておかなければならない。このため,アドレス解決サーバで定義されているアドレス情報へプロキシ情報を予め登録しなければならず,設定に手間がかかるという問題点があった。
【0005】
また,ネットワーク構成の変更などによりプロキシ情報の修正が余儀なくされた場合に,アドレス解決サーバで定義されているアドレス情報それぞれに変更後のプロキシ情報を付加しなおさなくてはならないという問題点があった。特に,通信経路の変更によるプロキシ情報の変更の頻度が多い場合や,修正すべきプロキシ情報が付加されたアドレス情報が多い場合には,変更作業の負担は大きい。
【0006】
本発明の目的は,アドレス解決通信において,アドレス解決サーバで定義されるアドレス情報にプロキシ情報を予め登録しておく必要をなくして,設定にかかる手間を省くことを可能とするプロキシサーバ制御用プログラムを提供することである。
【0007】
【課題を解決するための手段】
上記問題点を解決し上記目的を達成するため,本発明は,クライアントとサーバとの通信においてアドレス解決通信を中継するプロキシサーバをコンピュータによって実現させるためのプログラムであって,前記アドレス解決通信の応答に含まれる所定の情報に応じて付加すべきプロキシ情報を記憶するプロキシ情報記憶域を備え,前記クライアントからのアドレス解決通信の要求を前記サーバへ中継し,前記サーバからの当該アドレス解決通信の応答を前記クライアントへ中継するアドレス解決通信中継処理と,前記アドレス解決通信の応答に含まれる所定の情報にもとづいて,前記プロキシ情報記憶域に格納された前記プロキシ情報を抽出し,前記アドレス解決通信の応答に付加するプロキシ情報付加処理とを,コンピュータに実行させるものである。
【0008】
また,本発明は,前記プロキシ情報記憶域は,アドレス解決通信の応答に含まれる要求元のアドレス情報に応じて付加すべきプロキシ情報を記憶するものであり,前記プロキシ情報付加処理では,前記プロキシ情報記憶域に格納されたアドレス解決通信の要求元のアドレス情報にもとづいて抽出したプロキシ情報を前記アドレス解決通信の応答に付加する処理を,コンピュータに実行させるものである。
【0009】
また,本発明は,前記プロキシ情報記憶域は,アドレス解決通信の応答に含まれる応答対象とされたサーバのアドレス情報に応じて付加すべきプロキシ情報を記憶するものであり,前記プロキシ情報付加処理では,前記プロキシ情報記憶域に格納されたアドレス解決通信の応答対象とされたサーバのアドレス情報にもとづいて抽出したプロキシ情報を前記アドレス解決通信の応答に付加する処理を,コンピュータに実行させるものである。
【0010】
また,本発明は,前記プロキシ情報記憶域は,アドレス解決通信の応答に含まれる所定の通信環境にもとづいて設定されたラベル情報に応じて付加すべきプロキシ情報を記憶するものであり,前記プロキシ情報付加処理では,前記プロキシ情報記憶域に格納されたアドレス解決通信の応答中の前記ラベル情報にもとづいて抽出したプロキシ情報を前記アドレス解決通信の応答に付加する処理を,コンピュータに実行させるものである。
【0011】
また,本発明は,前記プロキシ情報付加処理では,前記アドレス解決通信中継処理において中継したアドレス解決通信の応答に第1のプロキシ情報が含まれている場合には,前記プロキシ情報記憶域に格納されたアドレス解決通信の応答中の所定の情報にもとづいて抽出した第2のプロキシ情報を前記アドレス解決通信の応答に付加する処理を,コンピュータに実行させるものである。
【0012】
本発明では,クライアントからのアドレス解決通信の要求(以下,「アドレス解決要求」という。)に対する応答をクライアントに中継するプロキシサーバにおいて,予め,アドレス解決通信の要求に対する応答(以下,「アドレス解決応答」という。)に含まれる所定の情報に対応させてプロキシ情報を定義しておくようにする。そして,アドレス解決サーバから受け取ったアドレス解決応答に含まれる所定の情報をもとに抽出した適切なプロキシ情報をアドレス情報に付加してクライアントへ返却する。これにより,アドレス解決サーバで定義されるアドレス情報にプロキシ情報を予め付加しておく必要がなくなる。
【0013】
また,従来では付加されるプロキシ情報は,要求対象となるサーバのアドレス情報に対応づけて定義されていたが,本発明では,サーバのアドレス情報の他にも,要求元クライアントのアドレス情報やネットワークの状況に応じて予め定めた情報などに応じてアドレス解決応答に付加すべきプロキシ情報を定義し,または変更することができるようにして,ネットワーク利用の利便性をさらに向上させることができる。
【0014】
なお,本発明の各手段または機能または要素をコンピュータにより実現するプログラムは,コンピュータが読み取り可能な,可搬媒体メモリ,半導体メモリ,ハードディスクなどの適当な記録媒体に格納することができ,これらの記録媒体に記録して提供され,または,通信インタフェースを介して種々の通信網を利用した送受信により提供される。
【0015】
【発明の実施の形態】
以下に,本発明の実施の形態を図を用いて説明する。
〔実施の形態1〕
図1に,実施の形態1において,本発明を実現するクライアント・サーバ通信を行うシステムの構成例を示す。本形態のシステムは,プロキシサーバ1,アドレス解決サーバ2,サーバ3,クライアント4で構成されネットワークを介して接続されている。
【0016】
図1においては,説明を明瞭なものとするために,プロキシサーバ1,アドレス解決サーバ2,サーバ3,およびクライアント4が一つである場合を図示しているが,サーバまたはクライアントは複数が接続されていてもよい。
【0017】
また,システムを構成するサーバもしくはクライアントは,種々の通信回線によりもしくは無線により接続するデータ処理装置(CPU/メモリ)により実現する。
【0018】
プロキシサーバ1は,クライアント4とアドレス解決サーバ2との間のアドレス解決通信を中継し,クライアント4とサーバ3との間のサービス通信を中継するサーバである。プロキシサーバ1は,アドレス解決通信中継手段11,プロキシ情報付加手段12,プロキシ情報テーブル13,サービス通信中継手段14を備える。
【0019】
アドレス解決通信中継手段11は,クライアント4からのアドレス解決要求をアドレス解決サーバ2に中継し,またアドレス解決サーバ2からのアドレス解決応答をクライアント4に中継する手段である。
【0020】
プロキシ情報付加手段12は,アドレス解決通信中継手段11がアドレス解決サーバ2からのアドレス解決応答をクライアント4に中継する際に,プロキシ情報テーブル13を参照してアドレス解決応答にプロキシ情報を付加する手段である。
【0021】
プロキシ情報テーブル13は,プロキシ情報付加手段12がアドレス解決応答にプロキシ情報を付加する際に参照するものであって,アドレス解決要求に付加すべき適切なプロキシ情報が定義されたデータである。プロキシ情報テーブル13には,例えばクライアント4のアドレス情報,アドレス解決サーバ2がクライアント4の要求に対して応答したサーバ3のアドレス情報,アドレス解決サーバ2で定義された所定の情報などに対応づけられて,アドレス解決応答に付加すべきプロキシ情報が定義されている。
【0022】
サービス通信中継手段14は,クライアント4からのサービス通信の要求(以下,「サービス要求」という。)をサーバ3に中継し,サーバ3からのサービス要求に対する応答(以下,「サービス応答」という。)をクライアント4に中継する手段である。
【0023】
クライアント4では,最初にアドレス解決を行うべきアドレス解決サーバのアドレス情報として,プロキシサーバ1のプロキシ情報が付加されたアドレス解決サーバ2のアドレス情報をあらかじめ保持しているものとする。
【0024】
クライアント4は,アドレス解決サーバ2に対してアドレス解決要求を行う。このとき,アドレス解決サーバ2のアドレス情報にプロキシ情報が付加されていることから,クライアント4は,アドレス解決要求をプロキシサーバ1に送信する。
【0025】
プロキシサーバ1のアドレス解決通信中継手段11は,アドレス解決要求を受信し,アドレス解決要求中のアドレス解決サーバ2のアドレス情報を参照してアドレス解決要求をアドレス解決サーバ2に転送する。
【0026】
アドレス解決サーバ2は,アドレス解決要求を受信して,アドレス解決要求中のサービス種別に従い,そのサービスを提供するサーバ3のアドレス情報を含むアドレス解決応答をプロキシサーバ1に送信する。
【0027】
プロキシサーバ1のアドレス解決通信中継手段11で,アドレス解決応答を受信すると,プロキシ情報付加手段12では,受信したアドレス解決応答の中の所定のデータ(要求元クライアント4のアドレス情報,またはアドレス情報サーバ2が応答対象としたサーバ3のアドレス情報など)をもとにプロキシ情報テーブル13を参照し,対応するプロキシ情報(ここでは,プロキシサーバ1のプロキシ情報)をアドレス解決応答に付加する。
【0028】
アドレス解決通信中継手段11は,プロキシ情報付加手段12によりプロキシ情報が付加されたアドレス解決応答をクライアント4に送信する。
【0029】
クライアント4は,プロキシサーバ1からのアドレス解決応答を受信し,アドレス解決応答中のアドレス情報に従って,サーバ3に対しサービス要求を行う。このとき,サーバ3のアドレス情報にプロキシサーバ1のプロキシ情報が含まれていることから,クライアント4は,サービス要求をプロキシサーバ1に送信する。プロキシサーバ1のサービス通信中継手段14は,サービス要求を受信し,サービス要求中のサーバのアドレスを参照してサービス要求をサーバ3に転送する。
【0030】
サーバ3は,サービス要求を受信し,サービスを実行し,サービス応答をプロキシサーバ1に送信する。プロキシサーバ1のサービス中継手段14は,サービス応答を受信し,サービス応答をクライアント4に転送する。
【0031】
図2に,本発明の実施の形態1におけるネットワークの構成例を示す。図2に示すネットワーク構成は,図1に示すシステム構成をネットワーク上に適用したものである。
【0032】
図2中,クライアント110,120は図1のクライアント4に,プロキシサーバ130は図1のプロキシサーバ1に,アドレス解決サーバ150は,図1のアドレス解決サーバ2に,サーバ160は図1のサーバ3に,それぞれ対応するものである。
【0033】
また,プロキシサーバ130は,アドレス解決通信中継手段131,プロキシ情報付加手段132,サービス通信中継手段134(いずれも図示しない。),プロキシ情報テーブル133を備える。アドレス解決通信中継手段131,プロキシ情報付加手段132,サービス通信中継手段134は,それぞれ図1に示すアドレス解決通信中継手段11,プロキシ情報付加手段12,サービス通信中継手段14と同様である。
【0034】
図2において,ネットワーク101とネットワーク102,ネットワーク101とネットワーク103,ネットワーク102とネットワーク104,ネットワーク103とネットワーク105,ネットワーク104とネットワーク105は,それぞれ直接接続されている。図2に示すネットワークでは,クライアント・サーバ通信がGIOP(General Inter-ORB Protocol)に準拠しているものとする。
【0035】
また,クライアント110はネットワーク101上に,クライアント120はネットワーク102上に,プロキシサーバ130はネットワーク103上に,プロキシサーバ140はネットワーク104上に,アドレス解決サーバ150とサーバ160はネットワーク105上に,それぞれ存在している。
【0036】
本形態は,複数のクライアントがサーバとの通信を行う場合に,クライアントのアドレス情報を用いて,例えばクライアントもしくはクライアントが存在するネットワークごとに,サービス通信を中継するプロキシサーバを選定したいときなどに適用できる。図2に示すネットワーク構成例では,クライアント110とサーバ160の通信はプロキシサーバ130が中継し,クライアント120とサーバ160の通信はプロキシサーバ140が中継することが望ましいとする。
【0037】
図3に,実施の形態1におけるプロキシ情報テーブル133の構成例を示す。図3のプロキシ情報テーブル133には,アドレス解決応答に含まれる所定の情報としてアドレス解決要求の要求元クライアントが存在するネットワークの情報と,付加すべき適切なプロキシ情報とが,エントリ番号を付けて格納される。
【0038】
プロキシ情報テーブル133において,アドレス解決要求の要求元クライアントがネットワーク101に存在するときはアドレス解決応答に付加すべき適切なプロキシ情報はプロキシサーバ130であり,アドレス解決要求の要求元がネットワーク102であるときはアドレス解決応答に付加すべき適切なプロキシ情報はプロキシサーバ140であり,アドレス解決要求の要求元がネットワークyであるときはアドレス解決応答に付加すべき適切なプロキシ情報はプロキシサーバzであることが定義されている。
【0039】
図4に,プロキシサーバ1でプロキシ情報が付加されるアドレス解決応答のメッセージフォーマット例を示す。
【0040】
アドレス解決応答のメッセージフォーマットは,メッセージヘッダ,リクエストヘッダ,リクエストボディ,リプライヘッダ,リプライボディなどから構成され,リプライボディには,アドレス解決サーバ150が応答したサーバ160のアドレス情報であるサーバホスト長,サーバホスト名,サーバポートなどが含まれている。
【0041】
プロキシ情報付加手段12は,このリプライボディ中にプロキシ情報として,プロキシサーバホスト長,プロキシサーバホスト名,プロキシサーバポートなどを付加する。
【0042】
図5に,図4に示すアドレス解決応答のメッセージフォーマット中のサーバアドレス情報の例を示す。図5は,バイナリ形式で示すサーバアドレス情報の例である。図5中,host,portにサーバ3のアドレス情報が定義され,proxyにプロキシサーバ1のアドレス情報が定義される。
【0043】
図6に,実施の形態1における処理手順を示す。ここでは,図6の処理手順を,図2に示すネットワーク構成において,クライアント120がプロキシサーバ130経由でアドレス解決サーバ150にアドレス解決要求を行い,アドレス解決サーバ150がサーバ160のアドレス情報を応答する場合を例に説明する。
【0044】
まずステップS1において,プロキシサーバ130のアドレス解決通信中継手段131では,クライアント120からのアドレス解決要求をアドレス解決サーバ150へ中継する。
【0045】
一方,アドレス解決サーバ150では,以下のステップS2からステップS5までの処理を行う。
【0046】
まず,ステップS2において,アドレス解決通信中継手段131からのクライアント120のアドレス解決要求を受信する。
【0047】
次に,ステップS3において,要求されたサービスの種類を判別する。判別の結果,クライアント120が要求するサービスを行うサーバは,サーバ160であると判別する。次に,ステップS4において,サーバ160のアドレス情報を抽出する。抽出されたサーバ160のアドレス情報は,例えば図4に示すメッセージ(アドレス解決応答)のリプライボディ中に格納される。
【0048】
続いて,ステップS5において,抽出したサーバ160のアドレス情報を含むアドレス解決応答をプロキシサーバ130へ返却する。
【0049】
プロキシサーバ130では,以下のステップS6からステップS11までの処理を行う。
【0050】
ステップS6において,プロキシサーバ130のアドレス解決通信中継手段131では,アドレス解決サーバ150からのアドレス解決応答を受信する。
【0051】
次にステップS7において,プロキシ情報付加手段132では,アドレス解決通信中継手段131で取得したアドレス解決応答に含まれるクライアントのアドレス情報から,クライアント120の存在するネットワーク情報を判別する。
【0052】
図2のネットワーク構成においては,ネットワーク102である。
【0053】
次にステップS8において,プロキシ情報付加手段132では,ステップS7の処理で抽出したネットワーク情報をもとに,プロキシ情報テーブル133を検索する。この場合,ネットワーク情報はネットワーク102であるため,図3に示すプロキシ情報テーブル133のネットワーク102に対応するエントリ番号2のエントリを検索する。
【0054】
次にステップS9において,プロキシ情報付加手段132では,ステップS8の処理で検索したエントリからプロキシ情報を抽出する。図3に示すプロキシ情報テーブル133のエントリ番号2のプロキシ情報はプロキシサーバ140であるため,プロキシサーバ140のプロキシ情報が抽出される。
【0055】
ステップS10において,プロキシ情報付加手段132は,ステップS9の処理で抽出したプロキシ情報をアドレス解決通信中継手段131で受信したアドレス解決応答に付加する。この場合,プロキシサーバ140のプロキシ情報がアドレス解決応答に付加される。例えば図4に示すメッセージでは,リプライボディ中に,プロキシサーバ140のアドレス情報が格納される。そして,プロキシ情報を付加したアドレス解決応答をアドレス解決通信中継手段131へ返す。
【0056】
ステップS11において,アドレス解決通信中継手段131は,プロキシ情報を付加したアドレス解決応答をクライアント120に返却する。
【0057】
このように,実施の形態1においては,利用すべき適切なプロキシサーバを示すプロキシ情報が,例えばアドレス解決要求の要求元クライアントのネットワークなど,アドレス解決通信の要求元のアドレス情報にもとづいて決定されてアドレス解決応答に付加される。
【0058】
〔実施の形態2〕
図7に,本発明の実施の形態2におけるネットワーク構成例を示す。図7のネットワーク構成は,図1に示すシステム構成をネットワーク上に適用したものである。
【0059】
図7に示すネットワークでは,図2に示すネットワーク構成の場合と同様に,クライアント・サーバ通信がGIOPに準拠しているものとする。なお,後述する実施の形態3および実施の形態4においても同様であるとする。
【0060】
図7中,クライアント210は図1のクライアント4に,プロキシサーバ220は図1のプロキシサーバ1に,アドレス解決サーバ240は,図1のアドレス解決サーバ2に,サーバ250,260は図1のサーバ3に,それぞれ対応するものである。
【0061】
また,図7に示すプロキシサーバ220は,アドレス解決通信中継手段221,プロキシ情報付加手段222,サービス通信中継手段224(いずれも図示しない。),プロキシ情報テーブル223を備える。アドレス解決通信中継手段221,プロキシ情報付加手段222,サービス通信中継手段224は,それぞれ図1に示すアドレス解決通信中継手段11,プロキシ情報付加手段12,サービス通信中継手段14と同様である。
【0062】
実施の形態2は,複数のサーバが存在する場合に,サーバもしくはサーバが存在するネットワークに応じてサービス通信を中継するプロキシサーバを選定したいときなどに適用できる。
【0063】
図7において,ネットワーク201とネットワーク202,ネットワーク201とネットワーク203,ネットワーク202とネットワーク204,ネットワーク203とネットワーク205は,それぞれ直接接続されている。
【0064】
また,クライアント210はネットワーク201上に,プロキシサーバ(プロキシ)220はネットワーク202上に,プロキシサーバ230はネットワーク203上に,アドレス解決サーバ240とサーバ250はネットワーク204上に,サーバ260はネットワーク205上に,それぞれ存在している。
【0065】
図7に示すネットワーク構成例では,クライアント210とサーバ250の通信はプロキシサーバ220が中継し,クライアント210とサーバ260の通信はプロキシサーバ230が中継する必要があるとする。
【0066】
図8に,実施の形態2におけるプロキシ情報テーブルの構成例を示す。図8のプロキシ情報テーブル223には,サービスを提供するサーバが存在するネットワークの情報と付加すべき適切なプロキシ情報との組が,エントリ番号を付けて格納されている。
【0067】
図8において,プロキシ情報テーブル223には,サービス要求を行うサーバがネットワーク204にあるときはアドレス解決応答に付加すべき適切なプロキシ情報はプロキシサーバ220であり,サービス要求を行うサーバがネットワーク205にあるときはアドレス解決応答に付加すべき適切なプロキシ情報はプロキシサーバ230であり,サービス要求を行うサーバがネットワークyにあるときはアドレス解決応答に付加すべき適切なプロキシ情報はプロキシサーバzであることが定義されている。
【0068】
図9に,実施の形態2における処理手順を示す。ここでは,図9の処理手順を,図7に示すネットワーク構成において,クライアント210がプロキシサーバ220経由でアドレス解決サーバ240にアドレス解決要求を行い,アドレス解決サーバ240がサーバ260のアドレス情報を応答する場合を例に説明する。
【0069】
ステップS21からステップS26までの処理は,図6に示す処理手順のステップS1からステップS6までの処理に対応し,同様であるので説明を省略する。プロキシサーバ220では,ステップS26の処理に続いて以下のステップS27からステップS31までの処理を行う。
【0070】
ステップS27において,プロキシ情報付加手段222(図示しない)アドレス解決応答に含まれるアドレス解決サーバ2が応答した要求対象となったサーバのアドレス情報から,そのサーバが存在するネットワーク情報を判別する。図7において,これは要求対象がサーバ260であるのでネットワーク205である。
【0071】
次にステップS28において,ステップS27の処理で抽出したネットワーク情報をもとに,プロキシ情報テーブル223を検索する。この場合に,ネットワーク情報はネットワーク205であるため,図8に示すプロキシ情報テーブル223のネットワーク205に対応するエントリ番号2のエントリが検索される。
【0072】
次にステップS29において,プロキシ情報付加手段222は,ステップS28の処理で検索されたエントリからプロキシ情報を抽出する。図8に示すプロキシ情報テーブル223のエントリ番号2のエントリのプロキシ情報はプロキシサーバ230であるため,プロキシサーバ230のプロキシ情報が抽出される。
【0073】
次にステップS30において,ステップS29の処理で抽出されたプロキシ情報がアドレス解決応答に付加される。この場合,プロキシサーバ230のプロキシ情報がアドレス解決応答に付加される。プロキシ情報を付加したアドレス解決応答をアドレス解決通信中継手段221へ返す。
【0074】
ステップS31において,アドレス解決通信中継手段221は,プロキシ情報を付加したアドレス解決応答をクライアント210に返却する。
【0075】
アドレス解決応答を受信したクライアント210では,アドレス解決応答にもとづいてプロキシサーバ230を中継してサーバ260とサービス通信を行う。
【0076】
このように,実施の形態2においては,利用すべき適切なプロキシサーバを示すプロキシ情報が,サービス通信を行うサーバのアドレス情報にもとづいてアドレス解決応答に付加される。
【0077】
〔実施の形態3〕
図10に,本発明の実施の形態3におけるシステム構成例を示す。図10に示すシステム構成は,図1に示すシステム構成を同一ネットワーク内に適用したものである。
【0078】
図10中,クライアント310は図1のクライアント4に,プロキシサーバ320は図1のプロキシサーバ1に,アドレス解決サーバ340は,図1のアドレス解決サーバ2に,サーバ350,360は図1のサーバ3に,それぞれ対応するものである。
【0079】
また,図10に示すプロキシサーバ320は,アドレス解決通信中継手段321,プロキシ情報付加手段322,サービス通信中継手段324(いずれも図示しない。),プロキシ情報テーブル323を備える。アドレス解決通信中継手段321,プロキシ情報付加手段322,サービス通信中継手段324は,それぞれ図1に示すアドレス解決通信中継手段11,プロキシ情報付加手段12,サービス通信中継手段14と同様である。
【0080】
実施の形態3は,サービス内容や通信の環境によって複数の通信経路が選択しうるような場合などに,サーバやサービス通信経路の環境に応じてサービス通信を中継するプロキシサーバを選定したいときなどに適用できる。
【0081】
図10に示すクライアントとサーバとは同一のネットワーク内に構成され,サービスAおよびサービスBはサーバ350上で動作している。また,サービスCはサーバ360上で動作している。また,クライアント310とアドレス解決サーバ340のアドレス解決通信は,プロキシサーバ320により中継される。
【0082】
図10において,サービスAに対するサービス通信はプロキシサーバ320が中継し,サービスBおよびサービスCに対するサービス通信はプロキシサーバ330が中継すべき事由が存在するものとする。
【0083】
このような事由の例としては,プロキシサーバ320とプロキシサーバ330とのセキュリティのレベルが異なっていることや,プロキシサーバ320とプロキシサーバ330とでは接続されている回線の速度や容量が異なるためにサービスごとにプロキシサーバを使い分けたいことなどがある。
【0084】
このような,サービスによって中継するプロキシサーバを使い分けたい場合には,アドレス解決サーバ340は,ラベル情報テーブル341を保持して,アドレス解決応答に,要求されたサービスに対応するラベル情報を付加して返却する。
【0085】
図11にラベル情報テーブル341の構成例を示す。ラベル情報テーブル341は,アドレス解決サーバ340においてサービス情報とラベル情報との対応を保持するデータである。ラベル情報は,前記のようにプロキシサーバを使い分けたい事由をたとえば名前,数値等で表現したものである。ここでは,サービスを提供するネットワーク環境にもとづくネットワークのラベル情報である。
【0086】
図11において,サービスAおよびサービスBに対応するラベル情報はラベルL1であり,サービスCに対応するラベル情報はラベルL2であり,サービスYに対応するラベル情報はラベルLzであることが定義されている。
【0087】
アドレス解決サーバ340では,アドレス解決要求に対して,対応するラベル情報を含むアドレス解決応答を送信する。
【0088】
図12に,実施の形態3におけるプロキシ情報テーブルの構成例を示す。図12のプロキシ情報テーブル323には,アドレス解決サーバ340で保持されるラベル情報に対応するラベル情報と付加すべき適切なプロキシ情報との組が,エントリ番号を付けて格納されている。
【0089】
図12において,プロキシ情報テーブル323には,ラベル情報がラベルL1であるときはアドレス解決応答に付加すべき適切なプロキシ情報はプロキシサーバ320であり,ラベル情報がラベルL2であるときはアドレス解決応答に付加すべき適切なプロキシ情報はプロキシサーバ330であり,ラベル情報がYであるときはアドレス解決応答に付加すべき適切なプロキシ情報はプロキシサーバzであることが定義されている。
【0090】
図13に,実施の形態3における処理手順を示す。ここでは,図10に示すシステム構成において,クライアント310がプロキシサーバ320経由でアドレス解決サーバ340にアドレス解決要求を行い,アドレス解決サーバ340がラベル情報L2の含むサービスBのアドレス情報を応答する場合を例に説明する。
【0091】
図13に示す処理手順において,ステップS41からステップS44までの処理は,図6に示すステップS1からステップS4までの処理に対応し同様である。
【0092】
ステップS45において,アドレス解決サーバ340では,ラベル情報テーブル341から,ステップS44の処理で抽出したサービスに対応するラベル情報を抽出する。
【0093】
次に,ステップS46において,ステップS44の処理で抽出したアドレス情報と,ステップS45の処理で抽出したラベル情報L2とを含むアドレス解決応答をプロキシサーバ320へ返却する。
【0094】
プロキシサーバ320では,以下のステップS47からステップS52までの処理を行う。
【0095】
ステップS47において,プロキシサーバ320のアドレス解決通信中継手段321は,アドレス解決サーバ340からのアドレス解決応答を受信する。
【0096】
次に,ステップS48において,アドレス解決通信中継手段321では,アドレス解決応答のラベル情報を取得する。図11および図12においては,これはネットワークのラベル情報である。
【0097】
次にステップS49において,ステップS48の処理で抽出したラベル情報をプロキシ情報テーブル323から検索する。この場合のラベル情報はラベルL2であるため,図12に示すプロキシ情報テーブル323のエントリ番号2のエントリが検索される。
【0098】
次にステップS50において,ステップS49の処理で検索されたエントリからプロキシ情報を抽出する。図12のエントリ番号2のエントリのプロキシ情報はプロキシサーバ330であるため,プロキシサーバ330のプロキシ情報が抽出される。
【0099】
次にステップS51において,ステップS50の処理で抽出されたプロキシ情報をアドレス解決応答に付加する。この場合,プロキシサーバ330のプロキシ情報がアドレス解決応答に付加される。プロキシ情報を付加したアドレス解決応答をアドレス解決通信中継手段321へ返す。
【0100】
ステップS52において,アドレス解決通信中継手段321では,プロキシ情報を付加したアドレス解決応答をクライアント310に返却する。
【0101】
アドレス解決応答を受信したクライアント310では,アドレス解決応答にもとづいてプロキシサーバ330を中継してサーバ350とサービスBについてのサービス通信を行う。
【0102】
このように,実施の形態3においては,利用すべき適切なプロキシサーバを示すプロキシ情報が,サービス処理を行うサーバのアドレス情報中に含まれるラベル情報にもとづいてアドレス解決応答に付加される。ラベル情報を用いて間接的にプロキシサーバの指定を行うことにより,アドレス解決サーバ上の定義をネットワーク構成等に影響されずに行うことが可能である。
【0103】
〔実施の形態4〕
図14に,本発明の実施の形態4におけるシステム構成を示す。図14に示すシステム構成は,アドレス解決通信またはサービス通信を複数のプロキシサーバを介して中継する場合に適用するものであり,図1に示すシステム構成のうちプロキシサーバ1を多段に構成したものである。
【0104】
図14中,クライアント410は図1のクライアント4に,プロキシサーバ420,430は図1のプロキシサーバ1に,アドレス解決サーバ440は,図1のアドレス解決サーバ2に,サーバ450は図1のサーバ3に,それぞれ対応するものである。
【0105】
また,図14に示すプロキシサーバ420,430は,それぞれ,アドレス解決通信中継手段421,431,プロキシ情報付加手段422,432,プロキシ情報テーブル423,433,サービス通信中継手段424,434(いずれも図示しない。),プロキシ情報テーブル423,433を備える。
【0106】
アドレス解決通信中継手段421,431,プロキシ情報付加手段422,432,サービス通信中継手段424,434は,それぞれ図1に示すアドレス解決通信中継手段11,プロキシ情報付加手段12,サービス通信中継手段14と同様である。なお,プロキシ情報テーブル423,433は,図3,図8もしくは図12に示すプロキシ情報テーブルと同様のものでよい。
【0107】
図14において,プロキシサーバはプロキシサーバ420とプロキシサーバ430の二段構成となっている。クライアント410からのアドレス解決要求は,プロキシサーバ420とプロキシサーバ430とによって中継されてアドレス解決サーバ440に送信され,これに対するアドレス解決サーバ440のアドレス解決応答は,これと逆の経路でクライアント410に中継される。
【0108】
本発明にかかるプロキシサーバを多階層に構成する場合には,経路上アドレス解決サーバに最も近いプロキシサーバ以外のプロキシサーバにおいてアドレス解決応答にプロキシ情報を付加する際に,すでに存在するプロキシ情報に自プロキシサーバが付加すべきプロキシ情報を追加する。
【0109】
すなわち図14に示すシステム構成例では,まず,プロキシサーバ430において,アドレス解決サーバ440からのアドレス解決応答に対してプロキシサーバ430で付加すべきプロキシ情報aを付加する。そして,プロキシサーバ420においては,プロキシサーバ430が付加したプロキシ情報aにさらにプロキシサーバ420が付加すべきプロキシ情報bを追加する。
【0110】
クライアント410のサービス要求に対しては,経路上の各プロキシサーバがプロキシ情報を順にたどることで,期待通りの経路でサーバ450にサービス要求を送信することができる。
【0111】
このように,プロキシサーバを多段に構成することにより,プロキシ情報の付加の決定が分散化されるため,さまざまな通信の状況に対応することができるような,より柔軟なプロキシシステムを構築することができる。
【0112】
以上,本発明をその実施の態様により説明したが,本発明はその主旨の範囲において種々の変形が可能である。例えば,本発明の実施の形態1から実施の形態4は,それぞれ組み合わせて実施することができる。
【0113】
本発明の形態および実施例の特徴を列記すると以下のとおりである。
【0114】
(付記1) クライアントとサーバとの通信においてアドレス解決通信を中継するプロキシサーバをコンピュータによって実現させるためのプログラムであって,
前記アドレス解決通信の応答に含まれる所定の情報に応じて付加すべきプロキシ情報を記憶するプロキシ情報記憶域を備え,
前記クライアントからのアドレス解決通信の要求を前記サーバへ中継し,前記サーバからの当該アドレス解決通信の応答を前記クライアントへ中継するアドレス解決通信中継処理と,
前記アドレス解決通信の応答に含まれる所定の情報にもとづいて,前記プロキシ情報記憶域に格納された前記プロキシ情報を抽出し,前記アドレス解決通信の応答に付加するプロキシ情報付加処理とを,
コンピュータに実行させる
ことを特徴とするプロキシサーバ制御用プログラム。
【0115】
(付記2) 付記1に記載するプロキシサーバ制御用プログラムにおいて,
前記プロキシ情報記憶域は,アドレス解決通信の応答に含まれる要求元のアドレス情報に応じて付加すべきプロキシ情報を記憶するものであり,
前記プロキシ情報付加処理では,前記プロキシ情報記憶域に格納されたアドレス解決通信の要求元のアドレス情報にもとづいて抽出したプロキシ情報を前記アドレス解決通信の応答に付加する処理を,
コンピュータに実行させる
ことを特徴とするプロキシサーバ制御用プログラム。
【0116】
(付記3) 付記1に記載するプロキシサーバ制御用プログラムにおいて,
前記プロキシ情報記憶域は,アドレス解決通信の応答に含まれる応答対象とされたサーバのアドレス情報に応じて付加すべきプロキシ情報を記憶するものであり,
前記プロキシ情報付加処理では,前記プロキシ情報記憶域に格納されたアドレス解決通信の応答対象とされたサーバのアドレス情報にもとづいて抽出したプロキシ情報を前記アドレス解決通信の応答に付加する処理を,
コンピュータに実行させる
ことを特徴とするプロキシサーバ制御用プログラム。
【0117】
(付記4) 付記1に記載するプロキシサーバ制御用プログラムにおいて,
前記プロキシ情報記憶域は,アドレス解決通信の応答に含まれる所定の通信環境にもとづいて設定されたラベル情報に応じて付加すべきプロキシ情報を記憶するものであり,
前記プロキシ情報付加処理では,前記プロキシ情報記憶域に格納されたアドレス解決通信の応答中の前記ラベル情報にもとづいて抽出したプロキシ情報を前記アドレス解決通信の応答に付加する処理を,
コンピュータに実行させる
ことを特徴とするプロキシサーバ制御用プログラム。
【0118】
(付記5) 付記1に記載するプロキシサーバ制御用プログラムにおいて,
前記プロキシ情報付加処理では,前記アドレス解決通信中継処理において中継したアドレス解決通信の応答に第1のプロキシ情報が含まれている場合には,前記プロキシ情報記憶域に格納されたアドレス解決通信の応答中の所定の情報にもとづいて抽出した第2のプロキシ情報を前記アドレス解決通信の応答に付加する処理を,
コンピュータに実行させる
ことを特徴とするプロキシサーバ制御用プログラム。
【0119】
(付記6) クライアントとサーバとの通信においてアドレス解決通信を中継するプロキシサーバであって,
前記アドレス解決通信の応答に含まれる所定の情報に応じて付加すべきプロキシ情報を記憶するプロキシ情報記憶域を備え,
前記クライアントからのアドレス解決通信の要求を前記サーバへ中継し,前記サーバからの当該アドレス解決通信の応答を前記クライアントへ中継するアドレス解決通信中継処理手段と,
前記アドレス解決通信の応答に含まれる所定の情報にもとづいて,前記プロキシ情報記憶域に格納された前記プロキシ情報を抽出し,前記アドレス解決通信の応答に付加するプロキシ情報付加処理手段とを,備える
ことを特徴とするプロキシサーバ。
【0120】
(付記7) 付記6に記載するプロキシサーバにおいて,
前記プロキシ情報記憶域は,アドレス解決通信の応答に含まれる要求元のアドレス情報に応じて付加すべきプロキシ情報を記憶するものであり,
前記プロキシ情報付加処理手段では,前記プロキシ情報記憶域に格納されたアドレス解決通信の要求元のアドレス情報にもとづいて抽出したプロキシ情報を前記アドレス解決通信の応答に付加する
ことを特徴とするプロキシサーバ。
【0121】
(付記8) 付記6に記載するプロキシサーバにおいて,
前記プロキシ情報記憶域は,アドレス解決通信の応答に含まれる応答対象とされたサーバのアドレス情報に応じて付加すべきプロキシ情報を記憶するものであり,
前記プロキシ情報付加処理手段では,前記プロキシ情報記憶域に格納されたアドレス解決通信の応答対象とされたサーバのアドレス情報にもとづいて抽出したプロキシ情報を前記アドレス解決通信の応答に付加する
ことを特徴とするプロキシサーバ。
【0122】
(付記9) 付記6に記載するプロキシサーバにおいて,
前記プロキシ情報記憶域は,アドレス解決通信の応答に含まれる所定の通信環境にもとづいて設定されたラベル情報に応じて付加すべきプロキシ情報を記憶するものであり,
前記プロキシ情報付加処理手段では,前記プロキシ情報記憶域に格納されたアドレス解決通信の応答中の前記ラベル情報にもとづいて抽出したプロキシ情報を前記アドレス解決通信の応答に付加する
ことを特徴とするプロキシサーバ。
【0123】
(付記10) 付記6に記載するプロキシサーバにおいて,
前記プロキシ情報付加処理手段では,前記アドレス解決通信中継処理手段において中継したアドレス解決通信の応答に第1のプロキシ情報が含まれている場合には,前記プロキシ情報記憶域に格納されたアドレス解決通信の応答中の所定の情報にもとづいて抽出した第2のプロキシ情報を前記アドレス解決通信の応答に付加する
ことを特徴とするプロキシサーバ。
【0124】
【発明の効果】
以上説明したように,本発明にかかるプロキシサーバ制御用プログラムによれば,アドレス解決応答に含まれる所定の情報に応じて付加すべきプロキシ情報を記憶しておき,アドレス解決サーバからのアドレス解決応答をクライアントに中継する時点で,アドレス解決応答のアドレス情報に対してプロキシ情報を付加する処理を行う,アドレス解決通信を中継するプロキシサーバをコンピュータによって実現することができる。これにより,プロキシサーバで中継されるクライアント・サーバ通信において,アドレス解決サーバに定義されているアドレス情報のそれぞれにプロキシ情報を付加することを不要にできる。
【0125】
また,本発明にかかるプロキシサーバ制御用プログラムによりコンピュータで実現されるプロキシサーバでは,プロキシ情報をアドレス解決応答に含まれる,要求元クライアントのアドレス情報,応答対象となるサーバのアドレス情報,通信環境に応じたラベル情報などの所定の情報に対応付けて記憶することができ,プロキシサーバで中継されるクライアント・サーバ通信において付加すべきプロキシ情報を,通信の状況に応じて変更することができる。これにより,プロキシ情報の管理労力の負担が軽減され,通信環境の変更にも迅速に対応でき,また,ネットワーク利用の利便性を向上させることができ,実用上は極めて有用である。
【図面の簡単な説明】
【図1】本発明を実現するクライアント・サーバ通信を行うシステムの構成例を示す図である。
【図2】本発明の実施の形態1におけるネットワーク構成例を示す図である。
【図3】本発明の実施の形態1におけるプロキシ情報テーブルの構成例を示す図である。
【図4】アドレス解決応答のメッセージフォーマット例を示す図である。
【図5】図4に示すアドレス解決応答のメッセージフォーマット中のサーバアドレス情報の例を示す図である。
【図6】本発明の実施の形態1における処理手順を示す図である。
【図7】本発明の実施の形態2におけるネットワーク構成例を示す図である。
【図8】本発明の実施の形態2におけるプロキシ情報テーブルの構成例を示す図である。
【図9】本発明の実施の形態2における処理手順を示す図である。
【図10】本発明の実施の形態3におけるシステム構成例を示す図である。
【図11】本発明の実施の形態3におけるラベル情報テーブルの構成例を示す図である。
【図12】本発明の実施の形態3におけるプロキシ情報テーブルの構成例を示す図である。
【図13】本発明の実施の形態3における処理手順を示す図である。
【図14】本発明の実施の形態4におけるシステム構成例を示す図である。
【符号の説明】
1 プロキシサーバ
11 アドレス解決通信中継手段
12 プロキシ情報付加手段
13 プロキシ情報テーブル
14 サービス通信中継手段
2 アドレス解決サーバ
3 サーバ
4 クライアント
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a proxy server control program in client / server communication.
[0002]
[Prior art]
In a proxy system that uses a proxy server for client / server communication, one of the methods for specifying the proxy server to be used by the client is the proxy information (proxy server address information). ). For example, Internet Inter-ORB Protocol (IIOP) in CORBA (Common Object Request Broker Architecture) is an example. IIOP is a protocol for exchanging messages between different software (ORB) defined in accordance with CORBA, which defines the specifications of software (ORB) for exchanging messages between objects in heterogeneous distributed environments. is there.
[0003]
In a proxy system using such a method, as a conventional method of actually adding proxy information, proxy information is added in advance to individual address information defined on the address resolution server, and the client receives There is a method of responding to an address resolution request as it is, that is, address information to which proxy information is added.
[0004]
[Problems to be solved by the invention]
However, in this conventional method, proxy information must be added in advance for each piece of defined address information. For this reason, proxy information has to be registered in advance in the address information defined in the address resolution server, and there is a problem that it takes time and effort for setting.
[0005]
In addition, when the proxy information has to be modified due to a change in the network configuration, etc., the changed proxy information must be re-added to each address information defined in the address resolution server. . In particular, when the proxy information is frequently changed due to a change in the communication path or when there is a lot of address information to which proxy information to be corrected is added, the burden of the change work is large.
[0006]
An object of the present invention is to provide a proxy server control program that eliminates the need to register proxy information in advance in address information defined by an address resolution server in address resolution communication and eliminates the trouble of setting. Is to provide.
[0007]
[Means for Solving the Problems]
In order to solve the above problems and achieve the above object, the present invention provides a program for realizing, by a computer, a proxy server that relays address resolution communication in communication between a client and a server. A proxy information storage area for storing proxy information to be added according to predetermined information included in the server, relaying a request for address resolution communication from the client to the server, and responding to the address resolution communication from the server The proxy information stored in the proxy information storage area is extracted based on predetermined information included in the address resolution communication relay processing and the address resolution communication response, and the address resolution communication Causes the computer to execute proxy information addition processing that is added to the response. It is intended.
[0008]
In the present invention, the proxy information storage area stores proxy information to be added according to address information of a request source included in a response of address resolution communication. In the proxy information addition process, the proxy information storage area stores the proxy information. The computer causes the computer to execute a process of adding proxy information extracted based on the address information of the address resolution communication request source stored in the information storage area to the response of the address resolution communication.
[0009]
In the present invention, the proxy information storage area stores proxy information to be added according to address information of a server that is a response target included in a response of address resolution communication. Then, the computer executes a process of adding proxy information extracted based on the address information of the server that is the response target of the address resolution communication stored in the proxy information storage area to the response of the address resolution communication. is there.
[0010]
In the present invention, the proxy information storage area stores proxy information to be added according to label information set based on a predetermined communication environment included in a response of address resolution communication. In the information addition process, the computer executes a process of adding the proxy information extracted based on the label information in the address resolution communication response stored in the proxy information storage area to the address resolution communication response. is there.
[0011]
In the proxy information adding process, when the first proxy information is included in the response of the address resolution communication relayed in the address resolution communication relay process, the proxy information is added to the proxy information storage area. The computer executes a process of adding the second proxy information extracted based on predetermined information in the response of the address resolution communication to the response of the address resolution communication.
[0012]
In the present invention, in a proxy server that relays a response to an address resolution communication request (hereinafter referred to as an “address resolution request”) from the client to the client, a response to the address resolution communication request (hereinafter referred to as an “address resolution response”) in advance. The proxy information is defined in correspondence with the predetermined information included in “. Then, appropriate proxy information extracted based on predetermined information included in the address resolution response received from the address resolution server is added to the address information and returned to the client. This eliminates the need to add proxy information in advance to the address information defined by the address resolution server.
[0013]
Conventionally, the proxy information added is defined in association with the address information of the server to be requested. In the present invention, in addition to the server address information, the request source client address information and the network Therefore, it is possible to define or change proxy information to be added to the address resolution response in accordance with information determined in advance according to the situation, so that the convenience of using the network can be further improved.
[0014]
Note that a program for realizing each means, function, or element of the present invention by a computer can be stored in an appropriate recording medium such as a portable medium memory, a semiconductor memory, or a hard disk that can be read by the computer. It is provided by being recorded on a medium, or provided by transmission / reception using various communication networks via a communication interface.
[0015]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
[Embodiment 1]
FIG. 1 shows a configuration example of a system that performs client-server communication for realizing the present invention in the first embodiment. The system according to this embodiment includes a proxy server 1, an address resolution server 2, a server 3, and a client 4, which are connected via a network.
[0016]
In FIG. 1, for the sake of clarity, a case where there is one proxy server 1, address resolution server 2, server 3, and client 4 is illustrated, but a plurality of servers or clients are connected. May be.
[0017]
The server or client constituting the system is realized by a data processing device (CPU / memory) connected through various communication lines or wirelessly.
[0018]
The proxy server 1 is a server that relays address resolution communication between the client 4 and the address resolution server 2 and relays service communication between the client 4 and the server 3. The proxy server 1 includes an address resolution communication relay unit 11, a proxy information addition unit 12, a proxy information table 13, and a service communication relay unit 14.
[0019]
The address resolution communication relay unit 11 is a unit that relays an address resolution request from the client 4 to the address resolution server 2 and relays an address resolution response from the address resolution server 2 to the client 4.
[0020]
The proxy information adding means 12 refers to means for adding proxy information to the address resolution response by referring to the proxy information table 13 when the address resolution communication relay means 11 relays the address resolution response from the address resolution server 2 to the client 4. It is.
[0021]
The proxy information table 13 is referred to when the proxy information adding unit 12 adds proxy information to the address resolution response, and is data in which appropriate proxy information to be added to the address resolution request is defined. The proxy information table 13 is associated with, for example, the address information of the client 4, the address information of the server 3 that the address resolution server 2 responds to the request of the client 4, predetermined information defined by the address resolution server 2, and the like. Thus, proxy information to be added to the address resolution response is defined.
[0022]
The service communication relay means 14 relays a service communication request (hereinafter referred to as “service request”) from the client 4 to the server 3 and a response to the service request from the server 3 (hereinafter referred to as “service response”). Is a means for relaying to the client 4.
[0023]
Assume that the client 4 holds in advance the address information of the address resolution server 2 to which the proxy information of the proxy server 1 is added as address information of the address resolution server that should first perform address resolution.
[0024]
The client 4 makes an address resolution request to the address resolution server 2. At this time, since the proxy information is added to the address information of the address resolution server 2, the client 4 transmits an address resolution request to the proxy server 1.
[0025]
The address resolution communication relay unit 11 of the proxy server 1 receives the address resolution request, refers to the address information of the address resolution server 2 in the address resolution request, and transfers the address resolution request to the address resolution server 2.
[0026]
The address resolution server 2 receives the address resolution request and transmits an address resolution response including the address information of the server 3 that provides the service to the proxy server 1 according to the service type in the address resolution request.
[0027]
When the address resolution response is received by the address resolution communication relay unit 11 of the proxy server 1, the proxy information addition unit 12 receives predetermined data (address information of the request source client 4 or address information server) in the received address resolution response. The proxy information table 13 is referred to based on the address information of the server 3 to which 2 is a response target, and the corresponding proxy information (here, proxy information of the proxy server 1) is added to the address resolution response.
[0028]
The address resolution communication relay unit 11 transmits the address resolution response to which the proxy information is added by the proxy information addition unit 12 to the client 4.
[0029]
The client 4 receives the address resolution response from the proxy server 1 and makes a service request to the server 3 according to the address information in the address resolution response. At this time, since the proxy information of the proxy server 1 is included in the address information of the server 3, the client 4 transmits a service request to the proxy server 1. The service communication relay means 14 of the proxy server 1 receives the service request, refers to the server address in the service request, and transfers the service request to the server 3.
[0030]
The server 3 receives the service request, executes the service, and sends a service response to the proxy server 1. The service relay unit 14 of the proxy server 1 receives the service response and transfers the service response to the client 4.
[0031]
FIG. 2 shows a configuration example of the network in the first embodiment of the present invention. The network configuration shown in FIG. 2 is obtained by applying the system configuration shown in FIG. 1 on the network.
[0032]
2, the clients 110 and 120 are the client 4 of FIG. 1, the proxy server 130 is the proxy server 1 of FIG. 1, the address resolution server 150 is the address resolution server 2 of FIG. 1, and the server 160 is the server of FIG. 3, respectively.
[0033]
The proxy server 130 includes an address resolution communication relay unit 131, a proxy information addition unit 132, a service communication relay unit 134 (none of which are shown), and a proxy information table 133. Address resolution communication relay means 131, proxy information addition means 132, and service communication relay means 134 are the same as address resolution communication relay means 11, proxy information addition means 12, and service communication relay means 14 shown in FIG.
[0034]
In FIG. 2, a network 101 and a network 102, a network 101 and a network 103, a network 102 and a network 104, a network 103 and a network 105, and a network 104 and a network 105 are directly connected. In the network shown in FIG. 2, it is assumed that client-server communication conforms to GIOP (General Inter-ORB Protocol).
[0035]
The client 110 is on the network 101, the client 120 is on the network 102, the proxy server 130 is on the network 103, the proxy server 140 is on the network 104, and the address resolution server 150 and the server 160 are on the network 105, respectively. Existing.
[0036]
This form is applied when multiple clients communicate with a server and want to select a proxy server that relays service communication for each client or network where the client exists, using the client address information. it can. In the network configuration example shown in FIG. 2, it is desirable that the proxy server 130 relays communication between the client 110 and the server 160, and the proxy server 140 relays communication between the client 120 and the server 160.
[0037]
FIG. 3 shows a configuration example of the proxy information table 133 in the first embodiment. In the proxy information table 133 of FIG. 3, information on the network in which the request source client of the address resolution request exists as predetermined information included in the address resolution response and appropriate proxy information to be added are assigned entry numbers. Stored.
[0038]
In the proxy information table 133, when the request source client of the address resolution request exists in the network 101, the appropriate proxy information to be added to the address resolution response is the proxy server 130, and the request source of the address resolution request is the network 102. In some cases, the appropriate proxy information to be added to the address resolution response is the proxy server 140, and when the request source of the address resolution request is the network y, the appropriate proxy information to be added to the address resolution response is the proxy server z. It is defined.
[0039]
FIG. 4 shows a message format example of an address resolution response to which proxy information is added by the proxy server 1.
[0040]
The message format of the address resolution response includes a message header, a request header, a request body, a reply header, a reply body, and the like. In the reply body, the server host length, which is the address information of the server 160 to which the address resolution server 150 responds, Includes server host name, server port, and so on.
[0041]
The proxy information adding means 12 adds a proxy server host length, a proxy server host name, a proxy server port, etc. as proxy information in this reply body.
[0042]
FIG. 5 shows an example of server address information in the message format of the address resolution response shown in FIG. FIG. 5 is an example of server address information shown in binary format. In FIG. 5, the address information of the server 3 is defined in host and port, and the address information of the proxy server 1 is defined in proxy.
[0043]
FIG. 6 shows a processing procedure in the first embodiment. 6, in the network configuration shown in FIG. 2, the client 120 makes an address resolution request to the address resolution server 150 via the proxy server 130, and the address resolution server 150 returns the address information of the server 160. A case will be described as an example.
[0044]
First, in step S <b> 1, the address resolution communication relay unit 131 of the proxy server 130 relays the address resolution request from the client 120 to the address resolution server 150.
[0045]
On the other hand, the address resolution server 150 performs the following processing from step S2 to step S5.
[0046]
First, in step S2, the address resolution request of the client 120 from the address resolution communication relay means 131 is received.
[0047]
Next, in step S3, the type of requested service is determined. As a result of the determination, it is determined that the server that performs the service requested by the client 120 is the server 160. Next, in step S4, address information of the server 160 is extracted. The extracted address information of the server 160 is stored, for example, in a reply body of a message (address resolution response) shown in FIG.
[0048]
Subsequently, in step S <b> 5, an address resolution response including the extracted address information of the server 160 is returned to the proxy server 130.
[0049]
The proxy server 130 performs the following processing from step S6 to step S11.
[0050]
In step S6, the address resolution communication relay unit 131 of the proxy server 130 receives the address resolution response from the address resolution server 150.
[0051]
In step S 7, the proxy information adding unit 132 determines the network information in which the client 120 exists from the address information of the client included in the address resolution response acquired by the address resolution communication relay unit 131.
[0052]
In the network configuration of FIG.
[0053]
In step S8, the proxy information adding unit 132 searches the proxy information table 133 based on the network information extracted in the process of step S7. In this case, since the network information is the network 102, the entry of entry number 2 corresponding to the network 102 in the proxy information table 133 shown in FIG.
[0054]
Next, in step S9, the proxy information adding unit 132 extracts proxy information from the entry searched in the process of step S8. Since the proxy information of the entry number 2 in the proxy information table 133 illustrated in FIG. 3 is the proxy server 140, the proxy information of the proxy server 140 is extracted.
[0055]
In step S10, the proxy information adding unit 132 adds the proxy information extracted in the process of step S9 to the address resolution response received by the address resolution communication relay unit 131. In this case, proxy information of the proxy server 140 is added to the address resolution response. For example, in the message shown in FIG. 4, the address information of the proxy server 140 is stored in the reply body. Then, an address resolution response to which proxy information is added is returned to the address resolution communication relay means 131.
[0056]
In step S <b> 11, the address resolution communication relay unit 131 returns an address resolution response with proxy information added to the client 120.
[0057]
As described above, in the first embodiment, proxy information indicating an appropriate proxy server to be used is determined based on address information of a request source of address resolution communication such as a network of a request source client of an address resolution request. Added to the address resolution response.
[0058]
[Embodiment 2]
FIG. 7 shows a network configuration example according to the second embodiment of the present invention. The network configuration in FIG. 7 is obtained by applying the system configuration shown in FIG. 1 on the network.
[0059]
In the network shown in FIG. 7, it is assumed that client-server communication conforms to GIOP, as in the network configuration shown in FIG. The same applies to Embodiment 3 and Embodiment 4 described later.
[0060]
7, the client 210 is the client 4 of FIG. 1, the proxy server 220 is the proxy server 1 of FIG. 1, the address resolution server 240 is the address resolution server 2 of FIG. 1, and the servers 250 and 260 are the servers of FIG. 3, respectively.
[0061]
7 includes an address resolution communication relay unit 221, a proxy information addition unit 222, a service communication relay unit 224 (none of which are shown), and a proxy information table 223. Address resolution communication relay means 221, proxy information addition means 222, and service communication relay means 224 are the same as address resolution communication relay means 11, proxy information addition means 12, and service communication relay means 14 shown in FIG.
[0062]
The second embodiment can be applied when there are a plurality of servers and it is desired to select a proxy server that relays service communication according to the server or the network in which the server exists.
[0063]
In FIG. 7, a network 201 and a network 202, a network 201 and a network 203, a network 202 and a network 204, and a network 203 and a network 205 are directly connected.
[0064]
Further, the client 210 is on the network 201, the proxy server (proxy) 220 is on the network 202, the proxy server 230 is on the network 203, the address resolution server 240 and the server 250 are on the network 204, and the server 260 is on the network 205. Each exists.
[0065]
In the network configuration example illustrated in FIG. 7, it is assumed that communication between the client 210 and the server 250 needs to be relayed by the proxy server 220 and communication between the client 210 and the server 260 needs to be relayed by the proxy server 230.
[0066]
FIG. 8 shows a configuration example of the proxy information table in the second embodiment. In the proxy information table 223 of FIG. 8, a pair of information on a network in which a server providing a service exists and appropriate proxy information to be added is stored with an entry number.
[0067]
In FIG. 8, in the proxy information table 223, when the server making the service request is on the network 204, the appropriate proxy information to be added to the address resolution response is the proxy server 220, and the server making the service request is sent to the network 205. In some cases, the appropriate proxy information to be added to the address resolution response is the proxy server 230, and when the server making the service request is in the network y, the appropriate proxy information to be added to the address resolution response is the proxy server z. It is defined.
[0068]
FIG. 9 shows a processing procedure in the second embodiment. 9, in the network configuration shown in FIG. 7, the client 210 sends an address resolution request to the address resolution server 240 via the proxy server 220, and the address resolution server 240 returns the address information of the server 260. A case will be described as an example.
[0069]
The processing from step S21 to step S26 corresponds to the processing from step S1 to step S6 of the processing procedure shown in FIG. The proxy server 220 performs the following processes from step S27 to step S31 following the process of step S26.
[0070]
In step S27, the network information in which the server exists is discriminated from the address information of the server that is the request target responded by the address resolution server 2 included in the proxy information addition unit 222 (not shown) address resolution response. In FIG. 7, this is the network 205 because the request target is the server 260.
[0071]
In step S28, the proxy information table 223 is searched based on the network information extracted in step S27. In this case, since the network information is the network 205, the entry with the entry number 2 corresponding to the network 205 in the proxy information table 223 shown in FIG. 8 is searched.
[0072]
Next, in step S29, the proxy information adding unit 222 extracts proxy information from the entry searched in the process of step S28. Since the proxy information of the entry with the entry number 2 in the proxy information table 223 illustrated in FIG. 8 is the proxy server 230, the proxy information of the proxy server 230 is extracted.
[0073]
In step S30, the proxy information extracted in step S29 is added to the address resolution response. In this case, proxy information of the proxy server 230 is added to the address resolution response. An address resolution response with proxy information added is returned to the address resolution communication relay means 221.
[0074]
In step S <b> 31, the address resolution communication relay unit 221 returns an address resolution response with proxy information added to the client 210.
[0075]
The client 210 that has received the address resolution response relays the proxy server 230 based on the address resolution response and performs service communication with the server 260.
[0076]
As described above, in the second embodiment, proxy information indicating an appropriate proxy server to be used is added to the address resolution response based on the address information of the server that performs service communication.
[0077]
[Embodiment 3]
FIG. 10 shows a system configuration example according to Embodiment 3 of the present invention. The system configuration shown in FIG. 10 is obtained by applying the system configuration shown in FIG. 1 to the same network.
[0078]
10, the client 310 is the client 4 of FIG. 1, the proxy server 320 is the proxy server 1 of FIG. 1, the address resolution server 340 is the address resolution server 2 of FIG. 1, and the servers 350 and 360 are the servers of FIG. 3, respectively.
[0079]
The proxy server 320 shown in FIG. 10 includes an address resolution communication relay unit 321, a proxy information addition unit 322, a service communication relay unit 324 (none of which is shown), and a proxy information table 323. Address resolution communication relay means 321, proxy information addition means 322, and service communication relay means 324 are the same as address resolution communication relay means 11, proxy information addition means 12, and service communication relay means 14 shown in FIG.
[0080]
The third embodiment is used to select a proxy server that relays service communication according to the environment of the server or the service communication path in cases where a plurality of communication paths can be selected depending on the service contents and the communication environment. Applicable.
[0081]
The client and server shown in FIG. 10 are configured in the same network, and service A and service B are operating on the server 350. Service C operates on the server 360. The address resolution communication between the client 310 and the address resolution server 340 is relayed by the proxy server 320.
[0082]
In FIG. 10, it is assumed that there is a reason that the proxy server 320 relays service communication for the service A, and the proxy server 330 relays service communication for the service B and the service C.
[0083]
Examples of such reasons are that the proxy server 320 and the proxy server 330 have different security levels, and the proxy server 320 and the proxy server 330 have different speeds and capacities of connected lines. There are things like using different proxy servers for each service.
[0084]
When it is desired to use different proxy servers for relaying depending on the service, the address resolution server 340 holds the label information table 341 and adds label information corresponding to the requested service to the address resolution response. return.
[0085]
FIG. 11 shows a configuration example of the label information table 341. The label information table 341 is data that holds correspondence between service information and label information in the address resolution server 340. The label information expresses the reason why the proxy server is used properly as described above, for example, by name, numerical value, and the like. Here, it is the label information of the network based on the network environment that provides the service.
[0086]
In FIG. 11, it is defined that the label information corresponding to service A and service B is label L1, the label information corresponding to service C is label L2, and the label information corresponding to service Y is label Lz. Yes.
[0087]
In response to the address resolution request, the address resolution server 340 transmits an address resolution response including the corresponding label information.
[0088]
FIG. 12 shows a configuration example of the proxy information table in the third embodiment. In the proxy information table 323 of FIG. 12, a set of label information corresponding to label information held by the address resolution server 340 and appropriate proxy information to be added is stored with an entry number.
[0089]
In FIG. 12, in the proxy information table 323, the appropriate proxy information to be added to the address resolution response is the proxy server 320 when the label information is the label L1, and the address resolution response when the label information is the label L2. It is defined that the appropriate proxy information to be added to the proxy server 330 is the proxy server 330, and when the label information is Y, the appropriate proxy information to be added to the address resolution response is the proxy server z.
[0090]
FIG. 13 shows a processing procedure in the third embodiment. Here, in the system configuration shown in FIG. 10, the client 310 makes an address resolution request to the address resolution server 340 via the proxy server 320, and the address resolution server 340 responds with the address information of service B included in the label information L2. Explained as an example.
[0091]
In the processing procedure shown in FIG. 13, the processing from step S41 to step S44 corresponds to the processing from step S1 to step S4 shown in FIG.
[0092]
In step S45, the address resolution server 340 extracts label information corresponding to the service extracted in step S44 from the label information table 341.
[0093]
Next, in step S46, an address resolution response including the address information extracted in the process of step S44 and the label information L2 extracted in the process of step S45 is returned to the proxy server 320.
[0094]
The proxy server 320 performs the following processing from step S47 to step S52.
[0095]
In step S 47, the address resolution communication relay unit 321 of the proxy server 320 receives the address resolution response from the address resolution server 340.
[0096]
Next, in step S48, the address resolution communication relay means 321 acquires label information of the address resolution response. In FIG. 11 and FIG. 12, this is network label information.
[0097]
In step S49, the proxy information table 323 is searched for the label information extracted in the process of step S48. Since the label information in this case is the label L2, the entry with the entry number 2 in the proxy information table 323 shown in FIG. 12 is searched.
[0098]
In step S50, proxy information is extracted from the entry retrieved in step S49. Since the proxy information of the entry with the entry number 2 in FIG. 12 is the proxy server 330, the proxy information of the proxy server 330 is extracted.
[0099]
In step S51, the proxy information extracted in step S50 is added to the address resolution response. In this case, proxy information of the proxy server 330 is added to the address resolution response. An address resolution response with proxy information added is returned to the address resolution communication relay means 321.
[0100]
In step S 52, the address resolution communication relay unit 321 returns an address resolution response with proxy information added to the client 310.
[0101]
The client 310 that has received the address resolution response relays the proxy server 330 based on the address resolution response, and performs service communication with the server 350 and the service B.
[0102]
Thus, in the third embodiment, proxy information indicating an appropriate proxy server to be used is added to the address resolution response based on the label information included in the address information of the server that performs service processing. By specifying the proxy server indirectly using the label information, the definition on the address resolution server can be performed without being affected by the network configuration or the like.
[0103]
[Embodiment 4]
FIG. 14 shows a system configuration according to Embodiment 4 of the present invention. The system configuration shown in FIG. 14 is applied when address resolution communication or service communication is relayed through a plurality of proxy servers, and the proxy server 1 is configured in multiple stages in the system configuration shown in FIG. is there.
[0104]
14, the client 410 is the client 4 of FIG. 1, the proxy servers 420 and 430 are the proxy server 1 of FIG. 1, the address resolution server 440 is the address resolution server 2 of FIG. 1, and the server 450 is the server of FIG. 3, respectively.
[0105]
Further, the proxy servers 420 and 430 shown in FIG. 14 respectively include address resolution communication relay means 421, 431, proxy information addition means 422, 432, proxy information tables 423, 433, service communication relay means 424, 434 (both shown) No), and proxy information tables 423 and 433 are provided.
[0106]
Address resolution communication relay means 421, 431, proxy information addition means 422, 432, service communication relay means 424, 434 are respectively connected to address resolution communication relay means 11, proxy information addition means 12, service communication relay means 14 shown in FIG. It is the same. The proxy information tables 423 and 433 may be the same as the proxy information table shown in FIG. 3, FIG. 8, or FIG.
[0107]
In FIG. 14, the proxy server has a two-stage configuration of a proxy server 420 and a proxy server 430. The address resolution request from the client 410 is relayed by the proxy server 420 and the proxy server 430 and transmitted to the address resolution server 440, and the address resolution response of the address resolution server 440 is sent to the client 410 through the reverse route. Relayed.
[0108]
When the proxy server according to the present invention is configured in multiple layers, when proxy information is added to the address resolution response in a proxy server other than the proxy server closest to the address resolution server on the route, Add proxy information to be added by the proxy server.
[0109]
That is, in the system configuration example shown in FIG. 14, first, in the proxy server 430, proxy information a to be added by the proxy server 430 is added to the address resolution response from the address resolution server 440. In the proxy server 420, the proxy information b to be added by the proxy server 420 is further added to the proxy information a added by the proxy server 430.
[0110]
In response to the service request of the client 410, each proxy server on the route sequentially follows the proxy information, so that the service request can be transmitted to the server 450 through the expected route.
[0111]
In this way, by configuring proxy servers in multiple stages, the decision to add proxy information is distributed, so a more flexible proxy system that can handle various communication situations is constructed. Can do.
[0112]
As mentioned above, although this invention was demonstrated by the embodiment, this invention can be variously deformed in the range of the main point. For example, Embodiments 1 to 4 of the present invention can be implemented in combination.
[0113]
The features of the embodiments and examples of the present invention are listed as follows.
[0114]
(Supplementary note 1) A program for realizing by a computer a proxy server that relays address resolution communication in communication between a client and a server,
A proxy information storage area for storing proxy information to be added according to predetermined information included in a response of the address resolution communication;
Relaying the address resolution communication request from the client to the server and relaying the address resolution communication response from the server to the client;
Proxy information addition processing for extracting the proxy information stored in the proxy information storage area based on predetermined information included in the address resolution communication response and adding the proxy information response to the address resolution communication response;
Let computer run
A proxy server control program characterized by the above.
[0115]
(Appendix 2) In the proxy server control program described in Appendix 1,
The proxy information storage area stores proxy information to be added according to the address information of the request source included in the response of the address resolution communication,
In the proxy information addition processing, processing for adding proxy information extracted based on the address information of the address resolution communication request source stored in the proxy information storage area to the response of the address resolution communication,
Let computer run
A proxy server control program characterized by the above.
[0116]
(Supplementary Note 3) In the proxy server control program described in Supplementary Note 1,
The proxy information storage area stores proxy information to be added according to address information of a server that is a response target included in a response of address resolution communication.
In the proxy information addition processing, processing for adding proxy information extracted based on the address information of the server that is the response target of the address resolution communication stored in the proxy information storage area to the response of the address resolution communication,
Let computer run
A proxy server control program characterized by the above.
[0117]
(Appendix 4) In the proxy server control program described in Appendix 1,
The proxy information storage area stores proxy information to be added according to label information set based on a predetermined communication environment included in a response of address resolution communication.
In the proxy information adding process, a process of adding proxy information extracted based on the label information in the response of the address resolution communication stored in the proxy information storage area to the response of the address resolution communication,
Let computer run
A proxy server control program characterized by the above.
[0118]
(Supplementary Note 5) In the proxy server control program described in Supplementary Note 1,
In the proxy information addition process, when the first proxy information is included in the response of the address resolution communication relayed in the address resolution communication relay process, the response of the address resolution communication stored in the proxy information storage area Processing to add the second proxy information extracted based on the predetermined information in the response to the address resolution communication,
Let computer run
A proxy server control program characterized by the above.
[0119]
(Appendix 6) A proxy server that relays address resolution communication in communication between a client and a server,
A proxy information storage area for storing proxy information to be added according to predetermined information included in a response of the address resolution communication;
Address resolution communication relay processing means for relaying the address resolution communication request from the client to the server and relaying the address resolution communication response from the server to the client;
Proxy information addition processing means for extracting the proxy information stored in the proxy information storage area based on predetermined information included in the response of the address resolution communication and adding the proxy information to the response of the address resolution communication.
A proxy server characterized by that.
[0120]
(Appendix 7) In the proxy server described in Appendix 6,
The proxy information storage area stores proxy information to be added according to the address information of the request source included in the response of the address resolution communication,
The proxy information addition processing means adds proxy information extracted based on the address information of the address resolution communication request source stored in the proxy information storage area to the response of the address resolution communication.
A proxy server characterized by that.
[0121]
(Appendix 8) In the proxy server described in Appendix 6,
The proxy information storage area stores proxy information to be added according to address information of a server that is a response target included in a response of address resolution communication.
In the proxy information addition processing means, the proxy information extracted based on the address information of the server that is the response target of the address resolution communication stored in the proxy information storage area is added to the response of the address resolution communication.
A proxy server characterized by that.
[0122]
(Appendix 9) In the proxy server described in Appendix 6,
The proxy information storage area stores proxy information to be added according to label information set based on a predetermined communication environment included in a response of address resolution communication.
The proxy information addition processing means adds proxy information extracted based on the label information in the response of the address resolution communication stored in the proxy information storage area to the response of the address resolution communication.
A proxy server characterized by that.
[0123]
(Supplementary Note 10) In the proxy server described in Supplementary Note 6,
In the proxy information addition processing means, when the first proxy information is included in the response of the address resolution communication relayed by the address resolution communication relay processing means, the address resolution communication stored in the proxy information storage area The second proxy information extracted based on the predetermined information in the response is added to the response of the address resolution communication
A proxy server characterized by that.
[0124]
【The invention's effect】
As described above, according to the proxy server control program of the present invention, the proxy information to be added according to the predetermined information included in the address resolution response is stored, and the address resolution response from the address resolution server is stored. A proxy server that relays address resolution communication that performs processing to add proxy information to the address information of the address resolution response at the time of relaying to the client can be realized by a computer. This eliminates the need to add proxy information to each address information defined in the address resolution server in client-server communication relayed by the proxy server.
[0125]
Further, in the proxy server realized by the computer by the proxy server control program according to the present invention, the proxy information is included in the address resolution response, the address information of the requesting client, the address information of the server that is the response target, and the communication environment. It can be stored in association with predetermined information such as corresponding label information, and the proxy information to be added in the client-server communication relayed by the proxy server can be changed according to the communication status. As a result, the burden of proxy information management is reduced, it is possible to respond quickly to changes in the communication environment, and the convenience of network use can be improved, which is extremely useful in practice.
[Brief description of the drawings]
FIG. 1 is a diagram illustrating a configuration example of a system that performs client / server communication that implements the present invention;
FIG. 2 is a diagram showing an example of a network configuration in Embodiment 1 of the present invention.
FIG. 3 is a diagram showing a configuration example of a proxy information table according to the first embodiment of the present invention.
FIG. 4 is a diagram illustrating an example of a message format of an address resolution response.
FIG. 5 is a diagram showing an example of server address information in the message format of the address resolution response shown in FIG.
FIG. 6 is a diagram showing a processing procedure in the first embodiment of the present invention.
FIG. 7 is a diagram showing an example of a network configuration in a second embodiment of the present invention.
FIG. 8 is a diagram showing a configuration example of a proxy information table according to the second embodiment of the present invention.
FIG. 9 is a diagram showing a processing procedure in Embodiment 2 of the present invention.
FIG. 10 is a diagram showing an example of a system configuration in Embodiment 3 of the present invention.
FIG. 11 is a diagram showing a configuration example of a label information table in Embodiment 3 of the present invention.
FIG. 12 is a diagram showing a configuration example of a proxy information table according to the third embodiment of the present invention.
FIG. 13 is a diagram showing a processing procedure in Embodiment 3 of the present invention.
FIG. 14 is a diagram showing an example of a system configuration in Embodiment 4 of the present invention.
[Explanation of symbols]
1 Proxy server
11 Address resolution communication relay means
12 Proxy information adding means
13 Proxy information table
14 Service communication relay means
2 Address resolution server
3 servers
4 clients

Claims (5)

クライアントとサーバとの通信においてアドレス解決通信を中継するプロキシサーバをコンピュータによって実現させるためのプログラムであって,
前記アドレス解決通信の応答に含まれる所定の情報に応じて付加すべきプロキシ情報を記憶するプロキシ情報記憶域を備え,
前記クライアントからのアドレス解決通信の要求を前記サーバへ中継し,前記サーバからの当該アドレス解決通信の応答を前記クライアントへ中継するアドレス解決通信中継処理と,
前記アドレス解決通信の応答に含まれる所定の情報にもとづいて,前記プロキシ情報記憶域に格納された前記プロキシ情報を抽出し,前記アドレス解決通信の応答に付加するプロキシ情報付加処理とを,
コンピュータに実行させる
ことを特徴とするプロキシサーバ制御用プログラム。
A program for realizing by a computer a proxy server that relays address resolution communication in communication between a client and a server,
A proxy information storage area for storing proxy information to be added according to predetermined information included in a response of the address resolution communication;
Relaying the address resolution communication request from the client to the server and relaying the address resolution communication response from the server to the client;
Proxy information addition processing for extracting the proxy information stored in the proxy information storage area based on predetermined information included in the address resolution communication response and adding the proxy information response to the address resolution communication response;
A proxy server control program which is executed by a computer.
請求項1に記載するプロキシサーバ制御用プログラムにおいて,
前記プロキシ情報記憶域は,アドレス解決通信の応答に含まれる要求元のアドレス情報に応じて付加すべきプロキシ情報を記憶するものであり,
前記プロキシ情報付加処理では,前記プロキシ情報記憶域に格納されたアドレス解決通信の要求元のアドレス情報にもとづいて抽出したプロキシ情報を前記アドレス解決通信の応答に付加する処理を,
コンピュータに実行させる
ことを特徴とするプロキシサーバ制御用プログラム。
In the proxy server control program according to claim 1,
The proxy information storage area stores proxy information to be added according to the address information of the request source included in the response of the address resolution communication,
In the proxy information addition processing, processing for adding proxy information extracted based on the address information of the address resolution communication request source stored in the proxy information storage area to the response of the address resolution communication,
A proxy server control program which is executed by a computer.
請求項1に記載するプロキシサーバ制御用プログラムにおいて,
前記プロキシ情報記憶域は,アドレス解決通信の応答に含まれる応答対象とされたサーバのアドレス情報に応じて付加すべきプロキシ情報を記憶するものであり,
前記プロキシ情報付加処理では,前記プロキシ情報記憶域に格納されたアドレス解決通信の応答対象とされたサーバのアドレス情報にもとづいて抽出したプロキシ情報を前記アドレス解決通信の応答に付加する処理を,
コンピュータに実行させる
ことを特徴とするプロキシサーバ制御用プログラム。
In the proxy server control program according to claim 1,
The proxy information storage area stores proxy information to be added according to address information of a server that is a response target included in a response of address resolution communication.
In the proxy information addition processing, processing for adding proxy information extracted based on the address information of the server that is the response target of the address resolution communication stored in the proxy information storage area to the response of the address resolution communication,
A proxy server control program which is executed by a computer.
請求項1に記載するプロキシサーバ制御用プログラムにおいて,
前記プロキシ情報記憶域は,アドレス解決通信の応答に含まれる所定の通信環境にもとづいて設定されたラベル情報に応じて付加すべきプロキシ情報を記憶するものであり,
前記プロキシ情報付加処理では,前記プロキシ情報記憶域に格納されたアドレス解決通信の応答中の前記ラベル情報にもとづいて抽出したプロキシ情報を前記アドレス解決通信の応答に付加する処理を,
コンピュータに実行させる
ことを特徴とするプロキシサーバ制御用プログラム。
In the proxy server control program according to claim 1,
The proxy information storage area stores proxy information to be added according to label information set based on a predetermined communication environment included in a response of address resolution communication.
In the proxy information adding process, a process of adding proxy information extracted based on the label information in the response of the address resolution communication stored in the proxy information storage area to the response of the address resolution communication,
A proxy server control program which is executed by a computer.
請求項1に記載するプロキシサーバ制御用プログラムにおいて,
前記プロキシ情報付加処理では,前記アドレス解決通信中継処理において中継したアドレス解決通信の応答に第1のプロキシ情報が含まれている場合には,前記プロキシ情報記憶域に格納されたアドレス解決通信の応答中の所定の情報にもとづいて抽出した第2のプロキシ情報を前記アドレス解決通信の応答に付加する処理を,
コンピュータに実行させる
ことを特徴とするプロキシサーバ制御用プログラム。
In the proxy server control program according to claim 1,
In the proxy information addition process, when the first proxy information is included in the response of the address resolution communication relayed in the address resolution communication relay process, the response of the address resolution communication stored in the proxy information storage area Processing to add the second proxy information extracted based on the predetermined information in the response to the address resolution communication,
A proxy server control program which is executed by a computer.
JP2001245837A 2001-08-14 2001-08-14 Proxy server control program Expired - Fee Related JP3961794B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001245837A JP3961794B2 (en) 2001-08-14 2001-08-14 Proxy server control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001245837A JP3961794B2 (en) 2001-08-14 2001-08-14 Proxy server control program

Publications (2)

Publication Number Publication Date
JP2003058500A JP2003058500A (en) 2003-02-28
JP3961794B2 true JP3961794B2 (en) 2007-08-22

Family

ID=19075511

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001245837A Expired - Fee Related JP3961794B2 (en) 2001-08-14 2001-08-14 Proxy server control program

Country Status (1)

Country Link
JP (1) JP3961794B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4992016B2 (en) * 2008-01-23 2012-08-08 ネットエージェント株式会社 Domain name management system
CN112543212B (en) * 2019-09-23 2022-06-14 中国科学院声学研究所 System for providing request response exact communication delay guarantee for distributed service

Also Published As

Publication number Publication date
JP2003058500A (en) 2003-02-28

Similar Documents

Publication Publication Date Title
Schlechtendahl et al. Making existing production systems Industry 4.0-ready: Holistic approach to the integration of existing production systems in Industry 4.0 environments
US6845505B1 (en) Web request broker controlling multiple processes
US7526520B2 (en) Method and apparatus for providing a client by a server with an instruction data set in a predetermined format in response to a content data request message by a client
US8838821B2 (en) Dynamic transaction protocol upgrades
US7689430B2 (en) Access to web services
US20070150602A1 (en) Distributed and Replicated Sessions on Computing Grids
JPH10116195A (en) A mechanism for finding the position of an object using a secure method
JP5104591B2 (en) Bus system
EP1695241B1 (en) Distributed computer system
JP4504609B2 (en) High performance client server communication system
KR100901281B1 (en) Ubiquitous Web Service Method
EP1419633A1 (en) A secure gateway with proxy service capability servers for service level agreement checking
US20020092000A1 (en) Discovery and integration of Jini services in non-Java clients
JP2003141002A (en) Url length conversion system and program
JP3961794B2 (en) Proxy server control program
US8223785B2 (en) Message processing and content based searching for message locations in an asynchronous network
US20060259640A1 (en) Computer network for identifying multiple nodes matching the same label
JP2000047890A (en) Distributed object management system, object selection method thereof, and recording medium recording processing program therefor
KR100947114B1 (en) How to extract quality data of web service using dummy message
US11546405B2 (en) Methods for exposing mainframe data as a web service and devices thereof
US7529837B2 (en) Device and method for changing instruction description, and storage medium storing program for changing instruction
JP4893712B2 (en) Web service system and web service providing method
JPH09198346A (en) Server selection method and method
US8095687B1 (en) Systems and methods for managing state in a cluster of servers
EP4668713A1 (en) Determining which service will process a request for a resource

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040805

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070402

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070517

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

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20110525

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120525

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20130525

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20140525

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees