JP3939930B2 - Object reference generation device, object reference generation method, computer-readable recording medium recording object reference generation program, and object reference generation program - Google Patents
Object reference generation device, object reference generation method, computer-readable recording medium recording object reference generation program, and object reference generation program Download PDFInfo
- Publication number
- JP3939930B2 JP3939930B2 JP2001067685A JP2001067685A JP3939930B2 JP 3939930 B2 JP3939930 B2 JP 3939930B2 JP 2001067685 A JP2001067685 A JP 2001067685A JP 2001067685 A JP2001067685 A JP 2001067685A JP 3939930 B2 JP3939930 B2 JP 3939930B2
- Authority
- JP
- Japan
- Prior art keywords
- address
- object reference
- client
- request
- naming service
- 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
Links
Images
Landscapes
- Hardware Redundancy (AREA)
Description
【0001】
【発明の属する技術分野】
本発明は、CORBA(Common Object Request Broker Architecture)におけるオブジェクトリファレンスを生成するオブジェクトリファレンス生成装置、オブジェクトリファレンス生成方法およびオブジェクトリファレンス生成プログラムを記録したコンピュータ読み取り可能な記録媒体、並びにオブジェクトリファレンス生成プログラムに関するものであり、特に、運用形態やネットワーク形態に依存することなく、CORBAにおけるネーミングサービスを高信頼性をもってクライアントへ提供するためのオブジェクトリファレンス生成装置、オブジェクトリファレンス生成方法およびオブジェクトリファレンス生成プログラムを記録したコンピュータ読み取り可能な記録媒体、並びにオブジェクトリファレンス生成プログラムに関するものである。
【0002】
近年、WWW(World Wide Web)に代表されるインターネット技術の急速な進歩を背景に、企業情報システムを取り巻く環境が大きく変化している。特に、最近では、顧客サービスの向上や企業活動の効率化に向けて、企業内システム、グループ企業や他企業との連携、および一般消費者との連携という形で、従来の枠組みを越えた広い範囲での連携が始まっている。
【0003】
企業活動を支える企業情報システムには、上述した激しい環境変化に迅速に対応していくことが求められている。ここで、企業情報システムの全面的な再構築を行う手法を採った場合には、開発期間、コストが障壁となるため、激しい環境変化に迅速に対応していくことが困難である。そこで、激しい環境変化に迅速に対応するためには、既存の資産を有効に活用しつつ新たな目的に向けて必要なものを随時追加したり、ある時点で最適な素材(ベンダー、ハードウェア、ソフトウェア)を選択することや、既存システムと新規システムとが共通の基盤を有することが必要である。
【0004】
また、上述した共通の基盤を持つためには、既存システムの素材と新規システムの素材との相違を意識することなく、相互に連携できることが肝要である。さらに、ネットワークコンピューティング分野では、新しい技術がつぎつぎに開発されており、それらの新しい技術にも柔軟に対応することも必要となる。このような背景より、最近では、様々なコンピューティング環境間の連携を図るための共通の基盤として、分散システム構築のための規格であるCORBA等のオブジェクト指向技術が脚光を浴びている。
【0005】
【従来の技術】
上述したCORBAは、標準化団体OMG(Object Management Group)が定める異機種間接続のための標準化仕様であり、異機種間の連携プロトコルと分散アプリケーション構築のための各種API(Application Program Interface)を規定するものである。簡単に言えば、CORBAは、分散システム環境でクライアントが、サーバ内のオブジェクト(例えば、アプリケーションプログラム)にアクセスするためのメカニズムを提供する標準技術である。ここで、CORBAにおけるオブジェクトとは、クライアントから要求することができる一つまたは複数のサービスを提供する、識別可能にカプセル化されたエンティティをいう。
【0006】
図12は、上述したCORBAを利用した従来のオブジェクトリファレンス生成システムの構成例1を示すブロック図である。この図において、業務サーバ10および業務サーバ20は、クライアント51およびクライアント52からのアクセスに対して負荷分散を図るべく、分散配置されており、同一のサービスをクライアント51およびクライアント52へ提供する。業務サーバ10は、ネットワーク30に接続されており、オブジェクト11(例えば、アプリケーションプログラム)をクライアント51、クライアント52へ提供する。この業務サーバ10には、TCP/IP(Transmission Control Protocol/Internet Protocol)におけるIPアドレス・IP1 が付与されている。
【0007】
ネーミングサービス部12は、CORBAにおけるネーミングサービスをクライアント51およびクライアント52へ提供するものであり、オブジェクト11を名前で管理する機能を備えている。このネーミングサービスによれば、クライアント51およびクライアント52は、オブジェクト11にアクセスする場合、オブジェクト11の位置ではなく、名前でアクセスできるようになるため、オブジェクト11の物理的な位置を意識する必要がない。
【0008】
具体的には、ネーミングサービス部12は、クライアント51(またはクライアント52)からアクセスがあった場合、オブジェクトリファレンスを生成し、これをクライアント51(またはクライアント52)へ返すことにより、ネーミングサービスを提供する。このオブジェクトリファレンスは、オブジェクトを名前で一意に識別するための情報であり、図13に示したフォーマットFを有している。
【0009】
同図に示したように、オブジェクトリファレンスは、「IOR(Interoperable Object Reference)ヘッダ」、「ID(IDentification)」、「ホスト名(IPアドレス)」、「PORT番号」、「オブジェクトキー」、「タグコンポーネント」および「他プロファイル」という情報から構成されている。「IORヘッダ」は、オブジェクトリファレンスのヘッダ情報である。「ID」は、オブジェクトリファレンスを識別するための識別子情報である。
【0010】
「ホスト名(IPアドレス)」は、オブジェクトを有するホストの名称、具体的には、サーバのIPアドレスである。「PORT番号」は、サーバ内のオブジェクトを特定するためのポート番号である。「オブジェクトキー」は、サーバ内でオブジェクトを一意に特定するための情報である。図12に戻り、ORB(Object Request Broker:分散オブジェクト間通信機構)13は、業務サーバ10とクライアント51およびクライアント52とを仲介するソフトウェア・バスである。このORB13は、自身のIPアドレスおよびPORT番号を含む初期オブジェクトリファレンスを有している。
【0011】
業務サーバ20は、業務サーバ10と協調して負荷分散を行うサーバであり、ネットワーク30に接続されている。この業務サーバ20の構成は、業務サーバ10と同様である。すなわち、業務サーバ20におけるオブジェクト21、ネーミングサービス部22およびORB23のそれぞれは、業務サーバ10におけるオブジェクト11、ネーミングサービス部12およびORB13と同様の機能を備えている。また、業務サーバ20には、IPアドレス・IP2 が付与されている。
【0012】
振り分けサーバ40は、負荷分散を実現するためのサーバであり、ネットワーク30とネットワーク50との間に介挿されている。この振り分けサーバ40は、業務サーバ10および業務サーバ20のそれぞれの負荷を監視する監視機能と、クライアント51(またはクライアント52)からのアクセスを、業務サーバ10および業務サーバ20のうち軽負荷のサーバへ振り分ける振り分け機能を備えている。また、振り分けサーバ40には、IPアドレス・IP3 が付与されている。クライアント51およびクライアント52は、ネットワーク50に接続されており、ネットワーク50、振り分けサーバ40およびネットワーク30を経由して業務サーバ10または業務サーバ20へアクセスする。
【0013】
上記構成において、クライアント51からアクセス要求が出されると、クライアント51からのアクセスは、振り分けサーバ40により、例えば、業務サーバ20に比して軽負荷の業務サーバ10へ振り分けられる。これにより、クライアント51は、ORB13のオブジェクトリファレンスを獲得した後、業務サーバ10との間でコネクションを確立する。
【0014】
つぎに、クライアント51は、ネーミングサービス部12に対して、ネーミングサービス部12のオブジェクトリファレンスを要求する。これにより、ネーミングサービス部12は、図13に示した「ホスト名(IPアドレス)」=IPアドレス・IP1 および「PORT番号」を少なくとも含むオブジェクトリファレンスを生成し、これをクライアント51へ通知する。このネーミングサービス部12のオブジェクトリファレンスにおける「IPアドレス」は、常にIPアドレス・IP1 である。
【0015】
ネーミングサービス部12のオブジェクトリファレンスを受け取ったクライアント51は、ネーミングサービス部12のIPアドレス・IP1 およびPORT番号を獲得した後、ネーミングサービス部12との間でコネクションを確立する。つぎに、クライアント51は、上記コネクションを用いてオブジェクト11のオブジェクトリファレンスを要求する。そして、オブジェクトリファレンスを受け取ると、クライアント51は、オブジェクトリファレンスからIPアドレス・IP1 とPORT番号を獲得した後、オブジェクト11との間でコネクションを確立する。以後、クライアント51は、上記コネクションを用いてオブジェクト11の提供を受ける。
【0016】
図14は、上述したCORBAを利用した従来のオブジェクトリファレンス生成システムの構成例2を示すブロック図である。この図には、一つの業務サーバ60と、互いに独立した第1グループ・ネットワーク70および第2グループ・ネットワーク80と、第1グループ・ネットワーク70に接続され第1グループを構成するクライアント711 〜71n と、第2グループ・ネットワーク80に接続され第2グループを構成するクライアント811 〜81n とを備えるオブジェクトリファレンス生成システムが図示されている。
【0017】
この図において、業務サーバ60は、クライアント711 〜71n およびクライアント811 〜81n へサービスを提供するものであり、第1グループ・ネットワーク70および第2グループ・ネットワーク80の双方に接続されている。この業務サーバ60には、二つのIPアドレス・IP4 およびIPアドレス・IP5 が付与されている。このIPアドレス・IP4 は、第1グループ・ネットワーク70に対応しており、IPアドレス・IP5 は、第2グループ・ネットワーク80に対応している。
【0018】
また、業務サーバ60の構成は、業務サーバ10(図12参照)と同様である。すなわち、業務サーバ60におけるオブジェクト61、ネーミングサービス部62およびORB63は、図12に示したオブジェクト11、ネーミングサービス部12およびORB13と同様の機能を備えている。
【0019】
上記構成において、クライアント711 は、第1グループ・ネットワーク70を介してIPアドレス・IP4 にアクセスする。これにより、クライアント711 は、ORB63のオブジェクトリファレンスを獲得した後、業務サーバ60との間でコネクションを確立する。つぎに、クライアント711 は、ネーミングサービス部62に対して、ネーミングサービス部62のオブジェクトリファレンスを要求する。これにより、ネーミングサービス部62は、図13に示した「ホスト名(IPアドレス)」=IPアドレス・IP4 および「PORT番号」を少なくとも含むオブジェクトリファレンスを生成し、これをクライアント711 へ通知する。このネーミングサービス部62のオブジェクトリファレンスにおける「IPアドレス」は、IPアドレス・IP4 である。
【0020】
ネーミングサービス部62のオブジェクトリファレンスを受け取ったクライアント711 は、ネーミングサービス部62のIPアドレス・IP4 およびPORT番号を獲得した後、ネーミングサービス部62との間でコネクションを確立する。つぎに、クライアント711 は、上記コネクションを用いてオブジェクト61のオブジェクトリファレンスを要求する。そして、オブジェクトリファレンスを受け取ると、クライアント711 は、オブジェクトリファレンスからIPアドレス・IP4 とPORT番号を獲得した後、オブジェクト61との間でコネクションを確立する。以後、クライアント711 は、上記コネクションを用いてオブジェクト61の提供を受ける。
【0021】
【発明が解決しようとする課題】
ところで、前述したように、図12では、負荷分散の例について説明したが、実際には、従来のオブジェクトリファレンス生成システムでは、負荷分散を行うことができないという問題があった。すなわち、負荷分散を実現するためには、クライアント51は、振り分けサーバ40のIPアドレス・IP3 にアクセスしなければならない。
【0022】
しかしながら、ネーミングサービス部12で生成されるオブジェクトリファレンスのIPアドレスが、負荷分散用のIPアドレス・IP3 ではなく、IPアドレス・IP1 であるため、振り分けサーバ40は、負荷分散を行うことができない。従って、従来では、負荷分散により信頼性を高めることができないとともに、CORBAにおけるネーミングサービスを負荷分散環境下で提供することができないという問題があった。
【0023】
また、図14では、二つのIPアドレス・IP4 およびIPアドレス・IP5 を有する業務サーバ60を備えるとともに、互いに独立した第1グループ・ネットワーク70および第2グループ・ネットワーク80を備える例について説明した。しかしながら、実際には、従来のオブジェクトリファレンス生成システムでは、クライアント711 〜71n 、クライアント811 〜81n がネーミングサービスの提供を受けることができない場合がある。
【0024】
すなわち、クライアント711 〜71n のいずれか一つのクライアントからアクセスがあり、かつネーミングサービス部62で生成されるオブジェクトリファレンスのIPアドレスがIPアドレス・IP4 である場合には、当該クライアントは、第1グループ・ネットワーク70およびIPアドレス・IP4 経由でオブジェクト61との間でコネクションを確立することができる。
【0025】
しかしながら、クライアント711 〜71n のいずれか一つのクライアントからアクセスがあり、かつネーミングサービス部62で生成されるオブジェクトリファレンスのIPアドレスが他方のIPアドレス・IP5 である場合には、当該クライアントは、第1グループ・ネットワーク70がIPアドレス・IP5 に対応していないため、オブジェクト61との間でコネクションを確立することができないという問題が発生する。
【0026】
本発明は、上記に鑑みてなされたもので、運用形態やネットワーク形態に依存することなく、CORBAにおけるネーミングサービスを高信頼性をもってクライアントへ提供することができるオブジェクトリファレンス生成装置、オブジェクトリファレンス生成方法およびオブジェクトリファレンス生成プログラムを記録したコンピュータ読み取り可能な記録媒体、並びにオブジェクトリファレンス生成プログラムを提供することを目的とする。
【0027】
【課題を解決するための手段】
上記目的を達成するために、本発明は、オブジェクトの所在を示す参照アドレスを含んでおりCORBAにおけるネーミングサービス提供を受けるための情報であるオブジェクトリファレンスを生成するオブジェクトリファレンス生成装置であって、ネットワークを介して接続されたクライアント装置から前記オブジェクトリファレンスの獲得要求を受け付ける要求受付手段と、前記クライアント装置から前記オブジェクトへの接続を振り分ける振分サーバ装置が前記ネットワーク上に設けられている場合に、前記要求受付手段が前記獲得要求を受け付けたならば、前記参照アドレスを前記振分サーバ装置のアドレスに設定したオブジェクトリファレンスを生成する生成手段とを備えたことを特徴とする。また、本発明は、前記オブジェクトが所在する装置に複数の装置アドレスが振られている場合に、前記要求受付手段が前記獲得要求を受け付けたならば、前記参照アドレスを前記クライアントが接続することができる前記装置アドレスに設定したオブジェクトリファレンスを生成する生成手段を備えたことを特徴とする。
【0028】
この発明によれば、クライアントからの要求時のコネクション情報に応じて、アドレス情報を動的に設定しオブジェクトリファレンスを生成するようにしたので、従来のように固定的にアドレス情報を設定する場合に比して、運用形態やネットワーク形態に依存することなく、CORBAにおけるネーミングサービスを高信頼性をもってクライアントへ提供することができる。
【0029】
【発明の実施の形態】
以下、図面を参照して本発明にかかるオブジェクトリファレンス生成装置、オブジェクトリファレンス生成方法およびオブジェクトリファレンス生成プログラムを記録したコンピュータ読み取り可能な記録媒体、並びにオブジェクトリファレンス生成プログラムの実施の形態1〜3について詳細に説明する。
【0030】
(実施の形態1)
図1は、本発明にかかる実施の形態1の構成を示すブロック図である。この図において、図12の各部に対応する部分には同一の符号を付け、その説明を省略する。図1においては、図12に示した業務サーバ10および業務サーバ20に代えて、業務サーバ100および業務サーバ200が設けられている。これらの業務サーバ100および業務サーバ200は、クライアント51およびクライアント52からのアクセスに対して負荷分散を図るべく、分散配置されており、同一のサービスをクライアント51およびクライアント52へ提供する。
【0031】
業務サーバ100は、ネットワーク30に接続されており、オブジェクト110(例えば、アプリケーションプログラム)をクライアント51、クライアント52へ提供する。この業務サーバ100には、IPアドレス・IP1 が付与されている。ネーミングサービス部120は、ネーミングサービス部12(図12参照)と同様にして、オブジェクトリファレンスによりネーミングサービスをクライアント51およびクライアント52へ提供するものである。
【0032】
ただし、ネーミングサービス部120のオブジェクトリファレンスの生成方法は、後述するようにネーミングサービス部12の生成方法とは異なる。ORB130は、業務サーバ100とクライアント51およびクライアント52とを仲介するソフトウェア・バスである。このORB130は、自身のIPアドレスおよびPORT番号を含む初期オブジェクトリファレンスを有している。
【0033】
図2は、図1に示した業務サーバ100の構成を示すブロック図である。この図においては、図1の各部に対応する部分には同一の符号を付ける。同図に示したORB130は、コネクション管理部131、インタフェース振分部132、ORBインタフェース処理部133およびシステム構成情報管理部134から構成されている。コネクション管理部131は、クライアント51、クライアント52との間のコネクションを管理する。
【0034】
インタフェース振分部132は、ORB130内におけるインタフェースを振り分ける機能を備えている。ORBインタフェース処理部133は、インタフェース振分部132とネーミングサービス部120との間、システム構成情報管理部134とネーミングサービス部120との間のインタフェース処理を実行する。このネーミングサービス部120では、図13に示したフォーマットFを有するオブジェクトリファレンスOR1 が生成される。
【0035】
システム構成情報管理部134は、システム構成情報J1 を管理する。このシステム構成情報J1 は、図1に示したオブジェクトリファレンス生成システムの構成(この場合、負荷分散構成)を示す情報であり、業務サーバ100における負荷分散対象IPアドレスと負荷分散用IPアドレスとの対応関係を示す情報である。
【0036】
上記負荷分散対象IPアドレスは、負荷分散の対象、言い換えれば、負荷分散先を示すIPアドレスであり、この場合、業務サーバ100に付与されたIPアドレス・IP1 (図1参照)である。一方、負荷分散用IPアドレスは、振り分けサーバ40による負荷分散にもネーミングサービスを適用するためのIPアドレスであり、この場合、振り分けサーバ40に付与されたIPアドレス・IP3(図1参照)である。構成情報登録ツールTは、システム管理者の操作により、システム構成情報J1 をシステム構成情報管理部134に登録するためのものである。
【0037】
業務サーバ200は、業務サーバ100と協調して負荷分散を行うサーバであり、ネットワーク30に接続されている。この業務サーバ200の構成は、業務サーバ100と同様である。すなわち、業務サーバ200におけるオブジェクト210、ネーミングサービス部220およびORB230のそれぞれは、業務サーバ100におけるオブジェクト110、ネーミングサービス部120およびORB130と同様の機能を備えている。また、業務サーバ200には、IPアドレス・IP2 が付与されている。
【0038】
図3は、図1に示した業務サーバ200の構成を示すブロック図である。この図においては、図1の各部に対応する部分には同一の符号を付ける。同図に示したORB230は、コネクション管理部231、インタフェース振分部232、ORBインタフェース処理部233およびシステム構成情報管理部234から構成されている。コネクション管理部231は、クライアント51、クライアント52との間のコネクションを管理する。
【0039】
インタフェース振分部232は、ORB230内におけるインタフェースを振り分ける機能を備えている。ORBインタフェース処理部233は、インタフェース振分部232とネーミングサービス部220との間、システム構成情報管理部234とネーミングサービス部220との間のインタフェース処理を実行する。このネーミングサービス部220では、図13に示したフォーマットFを有するオブジェクトリファレンスOR2 が生成される。
【0040】
システム構成情報管理部234は、システム構成情報J2 を管理する。このシステム構成情報J2 は、図1に示したオブジェクトリファレンス生成システムの構成(この場合、負荷分散構成)を示す情報であり、業務サーバ200における負荷分散対象IPアドレスと負荷分散用IPアドレスとの対応関係を示す情報である。
【0041】
上記負荷分散対象IPアドレスは、負荷分散の対象、言い換えれば、負荷分散先を示すIPアドレスであり、この場合、業務サーバ200に付与されたIPアドレス・IP2 (図1参照)である。一方、負荷分散用IPアドレスは、振り分けサーバ40による負荷分散にネーミングサービスを適用するためのIPアドレスであり、この場合、振り分けサーバ40に付与されたIPアドレス・IP3(図1参照)である。構成情報登録ツールTは、システム管理者の操作により、システム構成情報J2 をシステム構成情報管理部234に登録するためのものである。
【0042】
つぎに、実施の形態1の動作について図4(a)および(b)に示したフローチャートを参照しつつ説明する。図1に示したクライアント51からネーミングサービスのオブジェクトリファレンスを獲得するためのオブジェクトリファレンス獲得要求が出されると、図4(b)に示したステップSB1では、振り分けサーバ40は、着IPアドレスが振り分けIPアドレス(この場合、IPアドレス・IP3 )であるか否かを判断する。この場合、着IPアドレスがIPアドレス・IP1 であるものとすると、判断結果を「No」とする。ステップSB4では、振り分けサーバ40は、業務サーバ100のIPアドレス・IP1 との間でコネクションを確立し、クライアント51からのデータを当該IPアドレス・IP1 へ送出する。
【0043】
これにより、図2に示したコネクション管理部131とクライアント51との間でコネクションが確立する(SYN)。この場合のコネクション情報には、着IPアドレス=IPアドレス・IP1 、着PORT=Px が含まれている。つぎに、クライアント51からのオブジェクトリファレンス獲得要求(REQUEST)およびコネクション情報は、インタフェース振分部132、ORBインタフェース処理部133を経由して、ネーミングサービス部120へ渡される。
【0044】
これにより、図4(a)に示したステップSA1では、ネーミングサービス部120は、IPアドレスとしてコネクション情報のIPアドレス・IP1 (着IPアドレス)、PORT番号としてコネクション情報の着PORT=Px を認識する。ステップSA2では、ネーミングサービス部120は、システム構成情報J1 を参照し、認識したIPアドレス(この場合、IPアドレス・IP1 )が負荷分散対象IPアドレスであるか否かを判断し、この場合、判断結果を「Yes」とする。
【0045】
ステップSA3では、ネーミングサービス部120は、システム構成情報J1 を参照し、IPアドレスを負荷分散用IPアドレス(この場合、IPアドレス・IP3)とする。ステップSA4では、ネーミングサービス部120は、オブジェクトリファレンスOR1 (図13参照)のホスト名を負荷分散用IPアドレス(この場合、IPアドレス・IP3)とし、オブジェクトリファレンスOR1 のPORT番号をPORTとして、オブジェクトリファレンスOR1 を生成する。
【0046】
これにより、図2に示したオブジェクトリファレンスOR1 は、REPLYとして、ORBインタフェース処理部133、インタフェース振分部132を経由してコネクション管理部131に渡された後、DATAとして図1に示したネットワーク30、振り分けサーバ40およびネットワーク50を介して、クライアント51へ渡される。
【0047】
以後、クライアント51は、少なくともIPアドレス・IP3 を含むオブジェクトリファレンスOR1 に基づいて、オブジェクト110(またはオブジェクト210)へのアクセス要求を出す。すなわち、このアクセス要求がIPアドレス・IP3 宛に出されると、振り分けサーバ40は、業務サーバ100および業務サーバ200のうち軽負荷のサーバへ負荷分散する。これにより、クライアント51は、負荷分散先のオブジェクト110またはオブジェクト210の提供を受ける。
【0048】
一方、図4(a)に示したステップSA2の判断結果が「No」である場合、ステップSA4では、ネーミングサービス部120は、オブジェクトリファレンスOR1 (図13参照)のホスト名を負荷分散用IPアドレス以外のIPアドレスとし、オブジェクトリファレンスOR1 のPORT番号をPORTとして、オブジェクトリファレンスOR1 を生成する。
【0049】
また、図1に示したクライアント51からネーミングサービスのオブジェクトリファレンスを獲得するためのオブジェクトリファレンス獲得要求が出されると、図4(b)に示したステップSB1では、振り分けサーバ40は、着IPアドレスが振り分けIPアドレス(この場合、IPアドレス・IP3 )であるか否かを判断する。この場合、着IPアドレスがIPアドレス・IP2 であるものとすると、判断結果を「No」とする。ステップSB4では、振り分けサーバ40は、業務サーバ200のIPアドレス・IP2 との間でコネクションを確立し、クライアント51からのデータを当該IPアドレス・IP2 へ送出する。
【0050】
これにより、図3に示したコネクション管理部231とクライアント51との間でコネクションが確立する(SYN)。この場合のコネクション情報には、着IPアドレス=IPアドレス・IP2 、着PORT=Px が含まれている。つぎに、クライアント51からのオブジェクトリファレンス獲得要求(REQUEST)およびコネクション情報は、インタフェース振分部232、ORBインタフェース処理部233を経由して、ネーミングサービス部220へ渡される。
【0051】
これにより、図4(a)に示したステップSA1では、ネーミングサービス部220は、IPアドレスとしてコネクション情報のIPアドレス・IP2 (着IPアドレス)、PORT番号としてコネクション情報の着PORT=Px を認識する。ステップSA2では、ネーミングサービス部220は、システム構成情報J2 を参照し、認識したIPアドレス(この場合、IPアドレス・IP2 )が負荷分散対象IPアドレスであるか否かを判断し、この場合、判断結果を「Yes」とする。
【0052】
ステップSA3では、ネーミングサービス部220は、システム構成情報J2 を参照し、IPアドレスを負荷分散用IPアドレス(この場合、IPアドレス・IP3)とする。ステップSA4では、ネーミングサービス部220は、オブジェクトリファレンスOR2 (図13参照)のホスト名を負荷分散用IPアドレス(この場合、IPアドレス・IP3)とし、オブジェクトリファレンスOR2 のPORT番号をPORTとして、オブジェクトリファレンスOR2 を生成する。
【0053】
これにより、図3に示したオブジェクトリファレンスOR2 は、REPLYとして、ORBインタフェース処理部233、インタフェース振分部232を経由してコネクション管理部231に渡された後、DATAとして図1に示したネットワーク30、振り分けサーバ40およびネットワーク50を介して、クライアント51へ渡される。
【0054】
以後、クライアント51は、少なくともIPアドレス・IP3 を含むオブジェクトリファレンスOR2 に基づいて、オブジェクト110(またはオブジェクト210)へのアクセス要求を出す。すなわち、このアクセス要求がIPアドレス・IP3 宛に出されると、振り分けサーバ40は、業務サーバ100および業務サーバ200のうち軽負荷のサーバへ負荷分散する。これにより、クライアント51は、負荷分散先のオブジェクト110またはオブジェクト210の提供を受ける。
【0055】
以上説明したように、実施の形態1によれば、システム構成情報J1 に基づいて、負荷分散システム構成に適合するIPアドレスを動的に設定することにより、オブジェクトリファレンスOR1 を生成するようにしたので、負荷分散システムにおいても、CORBAにおけるネーミングサービスを高信頼性をもってクライアントへ提供することができる。
【0056】
(実施の形態2)
図5は、本発明にかかる実施の形態2の構成を示すブロック図である。この図において、図14の各部に対応する部分には同一の符号を付けその説明を省略する。この図においては、図14に示した業務サーバ60に代えて業務サーバ300が設けられている。
【0057】
この図には、一つの業務サーバ300と、互いに独立した第1グループ・ネットワーク70および第2グループ・ネットワーク80と、第1グループ・ネットワーク70に接続され第1グループを構成するクライアント711 〜71n と、第2グループ・ネットワーク80に接続され第2グループを構成するクライアント811 〜81n とを備えるオブジェクトリファレンス生成システムが図示されている。
【0058】
この図において、業務サーバ300は、クライアント711 〜71n およびクライアント811 〜81n へサービスを提供するものであり、第1グループ・ネットワーク70および第2グループ・ネットワーク80の双方に接続されている。この業務サーバ300には、二つのIPアドレス・IP4 およびIPアドレス・IP5 が付与されている。このIPアドレス・IP4 は、第1グループ・ネットワーク70に対応しており、IPアドレス・IP5 は、第2グループ・ネットワーク80に対応している。また、業務サーバ300は、オブジェクト310、ネーミングサービス部320およびORB330から構成されている。
【0059】
図6は、図5に示した業務サーバ300の構成を示すブロック図である。この図においては、図5の各部に対応する部分には同一の符号を付ける。同図に示したORB330は、コネクション管理部331、インタフェース振分部332、ORBインタフェース処理部333およびシステム構成情報管理部334から構成されている。コネクション管理部331は、クライアント711 〜71n、クライアント811 〜81n と間のコネクションを管理する。
【0060】
インタフェース振分部332は、ORB330内におけるインタフェースを振り分ける機能を備えている。ORBインタフェース処理部333は、インタフェース振分部332とネーミングサービス部320との間、システム構成情報管理部334とネーミングサービス部320との間のインタフェース処理を実行する。このネーミングサービス部320では、図13に示したフォーマットFを有するオブジェクトリファレンスOR3 が生成される。
【0061】
システム構成情報管理部334は、システム構成情報J1 等と同様のシステム構成情報J3 を管理する。ただし、この実施の形態2では、システム構成情報J3 は、システム構成情報管理部334に登録されていない。このシステム構成情報J3 が登録されるのは、業務サーバ300が負荷分散用または後述するホットスタンバイ用のサーバとして機能する場合である。
【0062】
つぎに、実施の形態2の動作について図7に示したフローチャートを参照しつつ説明する。図5に示したクライアント711 からネーミングサービスのオブジェクトリファレンスを獲得するためのオブジェクトリファレンス獲得要求が図5に示したIPアドレス・IP4 宛に出されると、図6に示したコネクション管理部331とクライアント711 との間でコネクションが確立する(SYN)。この場合のコネクション情報には、着IPアドレス=IPアドレス・IP4 、着PORT=Px が含まれている。つぎに、クライアント711 からのオブジェクトリファレンス獲得要求(REQUEST)およびコネクション情報は、インタフェース振分部332、ORBインタフェース処理部333を経由して、ネーミングサービス部320へ渡される。
【0063】
これにより、図7に示したステップSC1では、ネーミングサービス部320は、IPアドレスとしてコネクション情報のIPアドレス・IP4 (着IPアドレス)、PORT番号としてコネクション情報の着PORT=Px を認識する。ステップSC2では、ネーミングサービス部320は、認識したIPアドレス(この場合、IPアドレス・IP4 )が負荷分散対象のIPアドレスであるか否かを判断し、この場合、判断結果を「No」とする。
【0064】
ステップSC4では、ネーミングサービス部320は、オブジェクトリファレンスOR3 (図13参照)のホスト名をコネクション情報のIPアドレス・IP4 (着IPアドレス)、PORT番号をコネクション情報の着PORT=Px として、オブジェクトリファレンスOR3 を生成する。
【0065】
このオブジェクトリファレンスOR3 は、REPLYとして、ORBインタフェース処理部333、インタフェース振分部332を経由してコネクション管理部331に渡された後、DATAとして図5に示した第1グループ・ネットワーク70を介して、クライアント711 へ渡される。以後、クライアント711 は、少なくともIPアドレス・IP4 を含むオブジェクトリファレンスOR3 に基づいて、オブジェクト310へのアクセス要求を出す。すなわち、このアクセス要求がIPアドレス・IP4 宛に出されると、クライアント711 は、オブジェクト310の提供を受ける。
【0066】
一方、図7に示したステップSC2の判断結果が「Yes」である場合、すなわち、業務サーバ300が負荷分散用のサーバとして機能している場合、ステップSC3では、ネーミングサービス部320は、ステップSA3(図4(a)参照)と同様にして、システム構成情報J3 を参照し、IPアドレスを負荷分散用IPアドレスとする。ステップSC4では、ネーミングサービス部320は、オブジェクトリファレンスOR3 のホスト名を負荷分散用IPアドレスとし、オブジェクトリファレンスOR3 のPORT番号をPORTとして、オブジェクトリファレンスOR3 を生成する。
【0067】
なお、図5に示したクライアント811 からネーミングサービスのオブジェクトリファレンス獲得要求が出された場合にも、上述した動作を経て、ネーミングサービス部320は、IPアドレス・IP5 を含むオブジェクトリファレンスOR3 を生成する。このオブジェクトリファレンスOR3 がクライアント811 に渡されると、クライアント811 は、少なくともIPアドレス・IP5 を含むオブジェクトリファレンスOR3 に基づいて、オブジェクト310へのアクセス要求を出す。すなわち、このアクセス要求がIPアドレス・IP5 宛に出されると、クライアント811 は、オブジェクト310の提供を受ける。
【0068】
以上説明したように、実施の形態2によれば、コネクション情報に含まれる少なくとも着IPアドレス情報をIPアドレスとして設定することによりオブジェクトリファレンスOR3 を生成するようにしたので、互いに独立した複数の第1グループ・ネットワーク70および第2グループ・ネットワーク80にそれぞれ対応する複数のIPアドレスを要求先として有する場合であっても、CORBAにおけるネーミングサービスを高信頼性をもってクライアントへ提供することができる。
【0069】
(実施の形態3)
図8は、本発明にかかる実施の形態3の構成を示すブロック図である。この図において、図1の各部に対応する部分には同一の符号を付け、その説明を省略する。図8においては、図1に示した業務サーバ100、業務サーバ200および振り分けサーバ40に代えて、現用系業務サーバ400、待機系業務サーバ500および監視サーバ600が設けられている。
【0070】
これらの現用系業務サーバ400および待機系業務サーバ500は、ホットスタンバイ構成を採っている。すなわち、現用系業務サーバ400は、通常時、現用系として、クライアント51およびクライアント52へサービス提供を行うサーバであり、待機系業務サーバ500は、現用系業務サーバ400に異常が発生した場合に、現用系業務サーバ400に代えて、クライアント51およびクライアント52へサービス提供を行う待機系のサーバである。
【0071】
監視サーバ600は、現用系業務サーバ400および待機系業務サーバ500の運用状態を監視するサーバであり、クライアント51またはクライアント52からのアクセスを、現用として運用されているサーバへ振り分ける機能を備えている。また、監視サーバ600には、IPアドレス・IP8 が付与されている。
【0072】
現用系業務サーバ400は、ネットワーク30に接続されており、オブジェクト110(例えば、アプリケーションプログラム)をクライアント51、クライアント52へ提供する。この現用系業務サーバ400には、IPアドレス・IP6 が付与されている。ネーミングサービス部410は、ネーミングサービス部12(図1参照)と同様にして、オブジェクトリファレンスによりネーミングサービスをクライアント51およびクライアント52へ提供するものである。
【0073】
ここで、ネーミングサービス部410のオブジェクトリファレンスの生成方法は、後述するようにネーミングサービス部12の生成方法とは異なる。ORB420は、現用系業務サーバ400とクライアント51およびクライアント52とを仲介するソフトウェア・バスである。このORB420は、自身のIPアドレスおよびPORT番号を含む初期オブジェクトリファレンスを有している。
【0074】
図9は、図8に示した現用系業務サーバ400の構成を示すブロック図である。この図においては、図8の各部に対応する部分には同一の符号を付ける。同図に示したORB420は、コネクション管理部421、インタフェース振分部422、ORBインタフェース処理部423およびシステム構成情報管理部424から構成されている。コネクション管理部421は、クライアント51、クライアント52との間のコネクションを管理する。
【0075】
インタフェース振分部422は、ORB420内におけるインタフェースを振り分ける機能を備えている。ORBインタフェース処理部423は、インタフェース振分部422とネーミングサービス部410との間、システム構成情報管理部424とネーミングサービス部410との間のインタフェース処理を実行する。このネーミングサービス部410では、図13に示したフォーマットFを有するオブジェクトリファレンスOR4 が生成される。
【0076】
システム構成情報管理部424は、システム構成情報J4 を管理する。このシステム構成情報J4 は、図8に示したオブジェクトリファレンス生成システムの構成(この場合、ホットスタンバイ構成)を示す情報であり、現用系業務サーバ400におけるホットスタンバイ対象IPアドレスとホットスタンバイ用IPアドレスとの対応関係を示す情報である。
【0077】
上記ホットスタンバイ対象IPアドレスは、ホットスタンバイの対象を特定するIPアドレスであり、この場合、現用系業務サーバ400に付与されたIPアドレス・IP6 (図8参照)である。一方、ホットスタンバイ用IPアドレスは、監視サーバ600によるホットスタンバイ構成にネーミングサービスを適用するためのIPアドレスであり、この場合、監視サーバ600に付与されたIPアドレス・IP8(図8参照)である。構成情報登録ツールTは、システム管理者の操作により、システム構成情報J4 をシステム構成情報管理部424に登録するためのものである。
【0078】
図8に示した待機系業務サーバ500は、現用系業務サーバ400と協調してホットスタンバイ構成を実現するサーバであり、ネットワーク30に接続されている。この待機系業務サーバ500の構成は、現用系業務サーバ400と同様である。すなわち、待機系業務サーバ500におけるオブジェクト210、ネーミングサービス部510およびORB520のそれぞれは、現用系業務サーバ400におけるオブジェクト110、ネーミングサービス部410およびORB420と同様の機能を備えている。また、待機系業務サーバ500には、IPアドレス・IP7 が付与されている。
【0079】
図10は、図8に示した待機系業務サーバ500の構成を示すブロック図である。この図においては、図8の各部に対応する部分には同一の符号を付ける。同図に示したORB520は、コネクション管理部521、インタフェース振分部522、ORBインタフェース処理部523およびシステム構成情報管理部524から構成されている。コネクション管理部521は、クライアント51、クライアント52との間のコネクションを管理する。
【0080】
インタフェース振分部522は、ORB520内におけるインタフェースを振り分ける機能を備えている。ORBインタフェース処理部523は、インタフェース振分部522とネーミングサービス部510との間、システム構成情報管理部524とネーミングサービス部510との間のインタフェース処理を実行する。このネーミングサービス部510では、図13に示したフォーマットFを有するオブジェクトリファレンスOR5 が生成される。
【0081】
システム構成情報管理部524は、システム構成情報J5 を管理する。このシステム構成情報J5 は、図8に示したオブジェクトリファレンス生成システムの構成(この場合、ホットスタンバイ構成)を示す情報であり、待機系業務サーバ500におけるホットスタンバイ対象IPアドレスとホットスタンバイ用IPアドレスとの対応関係を示す情報である。
【0082】
上記ホットスタンバイ対象IPアドレスは、ホットスタンバイの対象を示すIPアドレスであり、この場合、待機系業務サーバ500に付与されたIPアドレス・IP7 (図8参照)である。一方、ホットスタンバイ用IPアドレスは、監視サーバ600によるホットスタンバイ構成にネーミングサービスを適用するためのIPアドレスであり、この場合、監視サーバ600に付与されたIPアドレス・IP8(図8参照)である。構成情報登録ツールTは、システム管理者の操作により、システム構成情報J5 をシステム構成情報管理部524に登録するためのものである。
【0083】
つぎに、実施の形態3の動作について図11(a)および(b)に示したフローチャートを参照しつつ説明する。図8に示したクライアント51からネーミングサービスのオブジェクトリファレンスを獲得するためのオブジェクトリファレンス獲得要求が出されると、図11(b)に示したステップSE1では、監視サーバ600は、着IPアドレスが振り分けIPアドレス(この場合、IPアドレス・IP8 )であるか否かを判断する。この場合、着IPアドレスがIPアドレス・IP6 であるものとすると、監視サーバ600は、ステップSE1の判断結果を「No」とする。ステップSE4では、監視サーバ600は、現用系業務サーバ400のIPアドレス・IP6 との間でコネクションを確立し、クライアント51からのデータを当該IPアドレス・IP6 へ送出する。
【0084】
これにより、図9に示したコネクション管理部421とクライアント51との間でコネクションが確立する(SYN)。この場合のコネクション情報には、着IPアドレス=IPアドレス・IP6 、着PORT=Px が含まれている。つぎに、クライアント51からのオブジェクトリファレンス獲得要求(REQUEST)およびコネクション情報は、インタフェース振分部422、ORBインタフェース処理部423を経由して、ネーミングサービス部410へ渡される。
【0085】
これにより、図11(a)に示したステップSD1では、ネーミングサービス部410は、IPアドレスとしてコネクション情報のIPアドレス・IP6 (着IPアドレス)、PORT番号としてコネクション情報の着PORT=Px を認識する。ステップSD2では、ネーミングサービス部410は、システム構成情報J4 を参照し、認識したIPアドレス(この場合、IPアドレス・IP6 )がホットスタンバイ対象IPアドレスであるか否かを判断し、この場合、判断結果を「Yes」とする。
【0086】
ステップSD3では、ネーミングサービス部410は、システム構成情報J4 を参照し、IPアドレスをホットスタンバイ用IPアドレス(この場合、IPアドレス・IP8 )とする。ステップSD4では、ネーミングサービス部410は、オブジェクトリファレンスOR4 (図13参照)のホスト名をホットスタンバイ用IPアドレス(この場合、IPアドレス・IP8 )とし、オブジェクトリファレンスOR4 のPORT番号をPORTとして、オブジェクトリファレンスOR4 を生成する。
【0087】
これにより、図9に示したオブジェクトリファレンスOR4 は、REPLYとして、ORBインタフェース処理部423、インタフェース振分部422を経由してコネクション管理部421に渡された後、DATAとして図8に示したネットワーク30、監視サーバ600およびネットワーク50を介して、クライアント51へ渡される。
【0088】
以後、クライアント51は、少なくともIPアドレス・IP8 を含むオブジェクトリファレンスOR4 に基づいて、オブジェクト110(またはオブジェクト210)へのアクセス要求を出す。すなわち、このアクセス要求がIPアドレス・IP8 宛に出されると、図11(b)に示したステップSE1では、監視サーバ600は、判断結果を「Yes」とする。ステップSE2では、監視サーバ600は、現用系業務サーバ400および待機系業務サーバ500のうち運用中の現用系業務サーバ400へアクセス要求を振り分ける。ステップSE3では、監視サーバ600は、クライアント51と現用系業務サーバ400との間でコネクションを確立させる。
【0089】
これにより、クライアント51は、現用系業務サーバ400におけるオブジェクト110の提供を受ける。なお、現用系業務サーバ400の運用が停止している場合には、監視サーバ600は、アクセス要求を待機系業務サーバ500へ振り分ける。この場合、クライアント51は、待機系業務サーバ500におけるオブジェクト210の提供を受ける。
【0090】
以上説明したように、実施の形態3によれば、システム構成情報J4 に基づいて、ホットスタンバイ構成に適合するIPアドレスを動的に設定することにより、オブジェクトリファレンスOR4 を生成するようにしたので、ホットスタンバイシステムにおいても、CORBAにおけるネーミングサービスを高信頼性をもってクライアントへ提供することができる。
【0091】
このように、実施の形態1〜3によれば、例えば、クライアントからの要求時のコネクション情報に応じて、IPアドレスを動的に設定しオブジェクトリファレンスを生成するようにしたので、従来のように固定的にIPアドレスを設定する場合に比して、運用形態やネットワーク形態に依存することなく、CORBAにおけるネーミングサービスを高信頼性をもってクライアントへ提供することができる。
【0092】
以上本発明にかかる実施の形態1〜3について図面を参照して詳述してきたが、具体的な構成例はこれら実施の形態1〜3に限られるものではなく、本発明の要旨を逸脱しない範囲の設計変更等があっても本発明に含まれる。たとえば、前述した実施の形態1〜3においては、オブジェクトリファレンスを生成する機能を実現するためのオブジェクトリファレンス生成プログラムをコンピュータ読み取り可能な記録媒体に記録して、この記録媒体に記録されたオブジェクトリファレンス生成プログラムをコンピュータ(図示略)に読み込ませ、実行することによりオブジェクトリファレンスの生成を行うようにしてもよい。
【0093】
上記コンピュータは、上記オブジェクトリファレンス生成プログラムを実行するCPUと、キーボード、マウス等の入力装置と、各種データを記憶するROM(Read Only Memory)と、演算パラメータ等を記憶するRAM(Random Access Memory)と、記録媒体からオブジェクトリファレンス生成プログラムを読み取る読取装置と、ディスプレイ、プリンタ等の出力装置と、装置各部を接続するバスとから構成されている。
【0094】
CPUは、読取装置を経由して記録媒体に記録されているオブジェクトリファレンス生成プログラムを読み込んだ後、オブジェクトリファレンス生成プログラムを実行することにより、前述したオブジェクトリファレンスの生成を行う。なお、記録媒体には、光ディスク、フロッピーディスク、ハードディスク等の可搬型の記録媒体が含まれることはもとより、ネットワークのようにデータを一時的に記録保持するような伝送媒体も含まれる。
【0095】
【発明の効果】
以上説明したように、本発明によれば、クライアントからの要求時のコネクション情報に応じて、アドレス情報を動的に設定しオブジェクトリファレンスを生成するようにしたので、従来のように固定的にアドレス情報を設定する場合に比して、運用形態やネットワーク形態に依存することなく、CORBAにおけるネーミングサービスを高信頼性をもってクライアントへ提供することができるという効果を奏する。
【0096】
また、本発明によれば、コネクション情報に含まれる少なくとも着アドレス情報をアドレス情報として設定することによりオブジェクトリファレンスを生成するようにしたので、互いに独立した複数のネットワークにそれぞれ対応する複数のアドレス情報を要求先として有する場合であっても、CORBAにおけるネーミングサービスを高信頼性をもってクライアントへ提供することができるという効果を奏する。
【0097】
また、本発明によれば、システム構成情報に基づいて、システムの構成に適合するアドレス情報を動的に設定することにより、オブジェクトリファレンスを生成するようにしたので、負荷分散システムやホットスタンバイシステム等においても、CORBAにおけるネーミングサービスを高信頼性をもってクライアントへ提供することができるという効果を奏する。
【図面の簡単な説明】
【図1】本発明にかかる実施の形態1の構成を示すブロック図である。
【図2】図1に示した業務サーバ100の構成を示すブロック図である。
【図3】図1に示した業務サーバ200の構成を示すブロック図である。
【図4】同実施の形態1の動作を説明するフローチャートである。
【図5】本発明にかかる実施の形態2の構成を示すブロック図である。
【図6】図5に示した業務サーバ300の構成を示すブロック図である。
【図7】同実施の形態2の動作を説明するフローチャートである。
【図8】本発明にかかる実施の形態3の構成を示すブロック図である。
【図9】図8に示した現用系業務サーバ400の構成を示すブロック図である。
【図10】図8に示した待機系業務サーバ500の構成を示すブロック図である。
【図11】同実施の形態3の動作を説明するフローチャートである。
【図12】従来のオブジェクトリファレンス生成システムの構成例1を示すブロック図である。
【図13】オブジェクトリファレンスのフォーマットFを示す図である。
【図14】従来のオブジェクトリファレンス生成システムの構成例2を示すブロック図である。
【符号の説明】
100、200、300 業務サーバ
110、210、310 オブジェクト
120、220、320 ネーミングサービス部
130、230、330 ORB
400 現用系業務サーバ
410 ネーミングサービス部
420 ORB
500 待機系業務サーバ
510 ネーミングサービス部
520 ORB[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an object reference generation device that generates an object reference in CORBA (Common Object Request Broker Architecture), an object reference generation method, a computer-readable recording medium on which an object reference generation program is recorded, and an object reference generation program. Yes, computer readable recording object reference generation device, object reference generation method, and object reference generation program for providing a reliable service to CORBA to clients with high reliability without depending on the operation mode or network mode Related to a recording medium and an object reference generation program
[0002]
2. Description of the Related Art In recent years, the environment surrounding corporate information systems has changed greatly against the background of rapid advances in Internet technologies represented by the World Wide Web (WWW). In particular, recently, in order to improve customer service and increase the efficiency of corporate activities, it has expanded beyond conventional frameworks in the form of in-house systems, collaboration with group companies and other companies, and collaboration with general consumers. Collaboration in scope has begun.
[0003]
Corporate information systems that support corporate activities are required to respond quickly to the above-mentioned drastic changes in the environment. Here, in the case of adopting a method for completely restructuring a corporate information system, it is difficult to quickly cope with severe environmental changes because the development period and cost become barriers. Therefore, in order to respond quickly to drastic changes in the environment, we can use existing assets effectively while adding necessary materials for new purposes as needed, or at a certain point the best materials (vendors, hardware, Software), and the existing system and the new system must have a common base.
[0004]
Moreover, in order to have the common base mentioned above, it is important to be able to cooperate with each other without being aware of the difference between the material of the existing system and the material of the new system. Furthermore, in the field of network computing, new technologies are being developed one after another, and it is necessary to respond flexibly to these new technologies. Against this background, recently, object-oriented technology such as CORBA, which is a standard for building a distributed system, has been spotlighted as a common platform for cooperation between various computing environments.
[0005]
[Prior art]
The above-mentioned CORBA is a standardized specification for heterogeneous connection established by the standardization organization OMG (Object Management Group), and specifies the cooperation protocol between heterogeneous models and various APIs (Application Program Interface) for building distributed applications. Is. Briefly, CORBA is a standard technology that provides a mechanism for clients to access objects (eg, application programs) in a server in a distributed system environment. Here, an object in CORBA refers to an identifiable encapsulated entity that provides one or more services that can be requested from a client.
[0006]
FIG. 12 is a block diagram showing a configuration example 1 of a conventional object reference generation system using the CORBA described above. In this figure, the
[0007]
The
[0008]
Specifically, when there is an access from the client 51 (or client 52), the
[0009]
As shown in the figure, the object reference includes “Interorable Object Reference (IOR) header”, “ID (IDentification)”, “host name (IP address)”, “PORT number”, “object key”, “tag” It consists of information called “component” and “other profile”. “IOR header” is header information of an object reference. “ID” is identifier information for identifying an object reference.
[0010]
“Host name (IP address)” is the name of the host having the object, specifically, the IP address of the server. The “PORT number” is a port number for specifying an object in the server. The “object key” is information for uniquely identifying an object in the server. Returning to FIG. 12, an ORB (Object Request Broker) 13 is a software bus that mediates between the
[0011]
The
[0012]
The
[0013]
In the above configuration, when an access request is issued from the
[0014]
Next, the
[0015]
The
[0016]
FIG. 14 is a block diagram showing a configuration example 2 of the conventional object reference generation system using the CORBA described above. In this figure, one
[0017]
In this figure, a
[0018]
The configuration of the
[0019]
In the above configuration, the
[0020]
The
[0021]
[Problems to be solved by the invention]
Incidentally, as described above, the example of load distribution has been described with reference to FIG. 12, but in reality, there is a problem that load distribution cannot be performed in the conventional object reference generation system. That is, in order to realize load balancing, the
[0022]
However, the IP address of the object reference generated by the
[0023]
In FIG. 14, two IP addresses and IPFour And IP address / IPFive The example in which the
[0024]
That is, the
[0025]
However, the
[0026]
The present invention has been made in view of the above, and an object reference generation device, an object reference generation method, and an object reference generation method capable of providing a CORBA naming service to a client with high reliability without depending on an operation form or a network form. An object of the present invention is to provide a computer-readable recording medium in which an object reference generation program is recorded, and an object reference generation program.
[0027]
[Means for Solving the Problems]
In order to achieve the above object, the present invention provides:An object reference generation apparatus that generates an object reference that includes a reference address indicating the location of an object and is information for receiving provision of a naming service in CORBA, the client reference connected from a client apparatus connected via a network. If the request accepting unit accepts the acquisition request when the request accepting unit accepts the acquisition request and the distribution server device that distributes the connection from the client device to the object is provided on the network, And generating means for generating an object reference in which the reference address is set to the address of the distribution server device. Further, according to the present invention, when a plurality of device addresses are assigned to a device in which the object is located, the client can connect the reference address if the request receiving unit receives the acquisition request. And a generating unit configured to generate an object reference set to the device address.
[0028]
According to the present invention, since the address information is dynamically set and the object reference is generated according to the connection information at the time of the request from the client, when the address information is fixedly set as in the prior art, In comparison, the naming service in CORBA can be provided to the client with high reliability without depending on the operation form or the network form.
[0029]
DETAILED DESCRIPTION OF THE INVENTION
Embodiments 1 to 3 of an object reference generation apparatus, an object reference generation method, a computer-readable recording medium recording an object reference generation program, and an object reference generation program according to the present invention will be described in detail below with reference to the drawings. explain.
[0030]
(Embodiment 1)
FIG. 1 is a block diagram showing the configuration of the first embodiment according to the present invention. In this figure, the same reference numerals are given to portions corresponding to the respective portions in FIG. 12, and description thereof is omitted. In FIG. 1, a
[0031]
The
[0032]
However, the method of generating the object reference of the
[0033]
FIG. 2 is a block diagram showing a configuration of the
[0034]
The
[0035]
The system configuration
[0036]
The load balancing target IP address is an IP address indicating a load balancing target, in other words, a load balancing destination. In this case, the IP address / IP assigned to the business server 1001 (See FIG. 1). On the other hand, the IP address for load distribution is an IP address for applying the naming service to load distribution by the
[0037]
The
[0038]
FIG. 3 is a block diagram showing the configuration of the
[0039]
The
[0040]
The system configuration
[0041]
The load balancing target IP address is an IP address indicating a load balancing target, in other words, a load balancing destination. In this case, the IP address / IP assigned to the business server 2002 (See FIG. 1). On the other hand, the IP address for load distribution is an IP address for applying the naming service to load distribution by the
[0042]
Next, the operation of the first embodiment will be described with reference to the flowcharts shown in FIGS. 4 (a) and 4 (b). When the object reference acquisition request for acquiring the object reference of the naming service is issued from the
[0043]
Thereby, a connection is established between the
[0044]
Thereby, in step SA1 shown in FIG. 4A, the
[0045]
In step SA3, the
[0046]
As a result, the object reference OR shown in FIG.1 Is transferred as REPLY to the
[0047]
Thereafter, the
[0048]
On the other hand, if the determination result in step SA2 shown in FIG. 4A is “No”, in step SA4, the
[0049]
In addition, when an object reference acquisition request for acquiring an object reference of a naming service is issued from the
[0050]
Thereby, a connection is established between the
[0051]
Thereby, in step SA1 shown in FIG. 4A, the
[0052]
In step SA3, the
[0053]
As a result, the object reference OR shown in FIG.2 Is transferred as REPLY to the
[0054]
Thereafter, the
[0055]
As described above, according to the first embodiment, the system configuration information J1Based on the object reference OR by dynamically setting an IP address that fits the load balancing system configuration1 Therefore, the CORBA naming service can be provided to the client with high reliability even in the load balancing system.
[0056]
(Embodiment 2)
FIG. 5 is a block diagram showing a configuration of the second embodiment according to the present invention. In this figure, the same reference numerals are given to portions corresponding to the respective portions in FIG. In this figure, a
[0057]
In this figure, one
[0058]
In this figure, a
[0059]
FIG. 6 is a block diagram showing the configuration of the
[0060]
The
[0061]
The system configuration
[0062]
Next, the operation of the second embodiment will be described with reference to the flowchart shown in FIG.
[0063]
Thereby, in step SC1 shown in FIG. 7, the
[0064]
In step SC4, the
[0065]
This object reference ORThree Is transferred as REPLY to the
[0066]
On the other hand, if the determination result in step SC2 shown in FIG. 7 is “Yes”, that is, if the
[0067]
The
[0068]
As described above, according to the second embodiment, the object reference OR is set by setting at least the destination IP address information included in the connection information as the IP address.Three Therefore, even if a plurality of IP addresses respectively corresponding to a plurality of first group networks 70 and a
[0069]
(Embodiment 3)
FIG. 8 is a block diagram showing a configuration of the third embodiment according to the present invention. In this figure, parts corresponding to those in FIG. 1 are denoted by the same reference numerals, and description thereof is omitted. In FIG. 8, an
[0070]
These
[0071]
The
[0072]
The
[0073]
Here, the method of generating the object reference of the
[0074]
FIG. 9 is a block diagram showing the configuration of the
[0075]
The
[0076]
The system configuration
[0077]
The hot standby target IP address is an IP address that identifies a hot standby target. In this case, the IP address / IP assigned to the active business server 4006 (See FIG. 8). On the other hand, the hot standby IP address is an IP address for applying the naming service to the hot standby configuration by the
[0078]
The
[0079]
FIG. 10 is a block diagram showing the configuration of the
[0080]
The
[0081]
The system configuration information management unit 524 stores the system configuration information JFive Manage. This system configuration information JFive Is information indicating the configuration of the object reference generation system shown in FIG. 8 (in this case, the hot standby configuration), and indicates the correspondence between the hot standby target IP address and the hot standby IP address in the
[0082]
The hot standby target IP address is an IP address indicating a hot standby target. In this case, the IP address / IP assigned to the standby business server 5007 (See FIG. 8). On the other hand, the hot standby IP address is an IP address for applying the naming service to the hot standby configuration by the
[0083]
Next, the operation of the third embodiment will be described with reference to the flowcharts shown in FIGS. 11 (a) and 11 (b). When the object reference acquisition request for acquiring the object reference of the naming service is issued from the
[0084]
As a result, a connection is established between the
[0085]
Thus, in step SD1 shown in FIG. 11A, the
[0086]
In step SD3, the
[0087]
As a result, the object reference OR shown in FIG.Four Is transferred as REPLY to the
[0088]
Thereafter, the
[0089]
As a result, the
[0090]
As described above, according to the third embodiment, the system configuration information JFourBased on the object reference OR by dynamically setting an IP address that fits the hot standby configurationFour Therefore, the CORBA naming service can be provided to the client with high reliability even in the hot standby system.
[0091]
Thus, according to the first to third embodiments, for example, according to connection information at the time of a request from a client, an IP address is dynamically set and an object reference is generated. Compared to the case where the IP address is fixedly set, the naming service in CORBA can be provided to the client with high reliability without depending on the operation form or the network form.
[0092]
Although the first to third embodiments according to the present invention have been described in detail with reference to the drawings, specific configuration examples are not limited to the first to third embodiments and do not depart from the gist of the present invention. Any change in the design of the range is included in the present invention. For example, in the first to third embodiments described above, an object reference generation program for realizing the function of generating an object reference is recorded on a computer-readable recording medium, and the object reference generation recorded on the recording medium is performed. An object reference may be generated by reading a program into a computer (not shown) and executing the program.
[0093]
The computer includes a CPU that executes the object reference generation program, an input device such as a keyboard and a mouse, a ROM (Read Only Memory) that stores various data, and a RAM (Random Access Memory) that stores calculation parameters and the like. A reading device that reads an object reference generation program from a recording medium, an output device such as a display and a printer, and a bus that connects each part of the device.
[0094]
The CPU reads the object reference generation program recorded on the recording medium via the reading device, and then executes the object reference generation program to generate the above-described object reference. Note that the recording medium includes not only a portable recording medium such as an optical disk, a floppy disk, and a hard disk, but also a transmission medium that temporarily records and holds data, such as a network.
[0095]
【The invention's effect】
As described above, according to the present invention, the address information is dynamically set and the object reference is generated according to the connection information at the time of the request from the client. Compared to the case where information is set, the CORBA naming service can be provided to the client with high reliability without depending on the operation form or the network form.
[0096]
In addition, according to the present invention, since the object reference is generated by setting at least the destination address information included in the connection information as the address information, a plurality of address information respectively corresponding to a plurality of independent networks are obtained. Even if it is a case where it has as a request destination, there is an effect that the naming service in CORBA can be provided to the client with high reliability.
[0097]
Further, according to the present invention, the object reference is generated by dynamically setting the address information suitable for the system configuration based on the system configuration information, so that the load distribution system, the hot standby system, etc. In this case, the naming service in CORBA can be provided to the client with high reliability.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration of a first exemplary embodiment according to the present invention.
FIG. 2 is a block diagram showing a configuration of a
FIG. 3 is a block diagram showing a configuration of a
FIG. 4 is a flowchart for explaining the operation of the first embodiment.
FIG. 5 is a block diagram showing a configuration of a second embodiment according to the present invention.
6 is a block diagram showing a configuration of a
FIG. 7 is a flowchart for explaining the operation of the second embodiment.
FIG. 8 is a block diagram showing a configuration of a third embodiment according to the present invention.
9 is a block diagram showing a configuration of an
10 is a block diagram showing a configuration of a
FIG. 11 is a flowchart for explaining the operation of the third embodiment.
FIG. 12 is a block diagram showing a configuration example 1 of a conventional object reference generation system.
FIG. 13 is a diagram illustrating an object reference format F;
FIG. 14 is a block diagram showing a configuration example 2 of a conventional object reference generation system.
[Explanation of symbols]
100, 200, 300 Business server
110, 210, 310 objects
120, 220, 320 Naming Service Department
130, 230, 330 ORB
400 Active business server
410 Naming Service Department
420 ORB
500 Standby business server
510 Naming Service Department
520 ORB
Claims (7)
ネットワークを介して接続されたクライアント装置から前記オブジェクトリファレンスの獲得要求を受け付ける要求受付手段と、
前記クライアント装置から前記オブジェクトへの接続を振り分ける振分サーバ装置が前記ネットワーク上に設けられている場合に、前記要求受付手段が前記獲得要求を受け付けたならば、前記参照アドレスを前記振分サーバ装置のアドレスに設定したオブジェクトリファレンスを生成する生成手段と
を備えたことを特徴とするオブジェクトリファレンス生成装置。 An object reference generation device that generates an object reference that includes a reference address indicating the location of an object and is information for receiving provision of a naming service in CORBA,
Request accepting means for accepting an acquisition request for the object reference from a client device connected via a network ;
When a distribution server device that distributes connections from the client device to the object is provided on the network, if the request reception unit receives the acquisition request, the reference address is assigned to the distribution server device. object reference generating device characterized by comprising a generating means for generating an object reference set at the address.
ネットワークを介して接続されたクライアント装置から前記オブジェクトリファレンスの獲得要求を受け付ける要求受付手段と、 Request accepting means for accepting the object reference acquisition request from a client device connected via a network;
前記オブジェクトが所在する装置に複数の装置アドレスが振られている場合に、前記要求受付手段が前記獲得要求を受け付けたならば、前記参照アドレスを前記クライアントが接続することができる前記装置アドレスに設定したオブジェクトリファレンスを生成する生成手段と When a plurality of device addresses are assigned to the device where the object is located, if the request receiving unit receives the acquisition request, the reference address is set to the device address to which the client can connect. Generating means for generating an object reference
を備えたことを特徴とするオブジェクトリファレンス生成装置。 An object reference generation device comprising:
ネットワークを介して接続されたクライアント装置から前記オブジェクトリファレンスの獲得要求を受け付ける要求受付工程と、 A request receiving step of receiving an acquisition request for the object reference from a client device connected via a network;
前記クライアント装置から前記オブジェクトへの接続を振り分ける振分サーバ装置が前記ネットワーク上に設けられている場合に、前記要求受付工程が前記獲得要求を受け付けたならば、前記参照アドレスを前記振分サーバ装置のアドレスに設定したオブジェクトリファレンスを生成する生成工程と When a distribution server device that distributes connections from the client device to the object is provided on the network, if the request reception step receives the acquisition request, the reference address is assigned to the distribution server device. Generation process to generate the object reference set to the address of
を含んだことを特徴とするオブジェクトリファレンス生成方法。 An object reference generation method characterized by including:
ネットワークを介して接続されたクライアント装置から前記オブジェクトリファレンスの獲得要求を受け付ける要求受付工程と、 A request receiving step of receiving an acquisition request for the object reference from a client device connected via a network;
前記オブジェクトが所在する装置に複数の装置アドレスが振られている場合に、前記要求受付工程が前記獲得要求を受け付けたならば、前記参照アドレスを前記クライアントが接続することができる前記装置アドレスに設定したオブジェクトリファレンスを生成する生成工程と When a plurality of device addresses are assigned to the device where the object is located, if the request receiving step receives the acquisition request, the reference address is set to the device address to which the client can connect. Generation process to generate the object reference
を含んだことを特徴とするオブジェクトリファレンス生成方法。 An object reference generation method characterized by including:
ネットワークを介して接続されたクライアント装置から前記オブジェクトリファレンスの獲得要求を受け付ける要求受付手順と、 A request acceptance procedure for accepting an acquisition request for the object reference from a client device connected via a network;
前記クライアント装置から前記オブジェクトへの接続を振り分ける振分サーバ装置が前記ネットワーク上に設けられている場合に、前記要求受付手順が前記獲得要求を受け付けたならば、前記参照アドレスを前記振分サーバ装置のアドレスに設定したオブジェクトリファレンスを生成する生成手順と When a distribution server device that distributes connections from the client device to the object is provided on the network, if the request reception procedure receives the acquisition request, the reference server uses the reference address as the distribution server device. Generation procedure to generate the object reference set to the address of
をコンピュータに実行させることを特徴とするオブジェクトリファレンス生成プログラム。 An object reference generation program which causes a computer to execute
ネットワークを介して接続されたクライアント装置から前記オブジェクトリファレンスの獲得要求を受け付ける要求受付手順と、 A request acceptance procedure for accepting an acquisition request for the object reference from a client device connected via a network;
前記オブジェクトが所在する装置に複数の装置アドレスが振られている場合に、前記要求受付手順が前記獲得要求を受け付けたならば、前記参照アドレスを前記クライアントが接続することができる前記装置アドレスに設定したオブジェクトリファレンスを生成する生成手順と If a plurality of device addresses are assigned to the device where the object is located, and the request acceptance procedure accepts the acquisition request, the reference address is set to the device address to which the client can connect Generation procedure to generate an object reference
をコンピュータに実行させることを特徴とするオブジェクトリファレンス生成プログラム。 An object reference generation program which causes a computer to execute
ネットワークを介して接続されたクライアント装置から前記オブジェクトリファレンスの獲得要求を受け付ける要求受付手順と、 A request acceptance procedure for accepting an acquisition request for the object reference from a client device connected via a network;
前記クライアント装置から前記オブジェクトへの接続を振り分ける振分サーバ装置が前記ネットワーク上に設けられている場合に、前記要求受付手順が前記獲得要求を受け付けたならば、前記参照アドレスを前記振分サーバ装置のアドレスに設定したオブジェクトリファレンスを生成する生成手順と When a distribution server device that distributes connections from the client device to the object is provided on the network, if the request reception procedure receives the acquisition request, the reference server uses the reference address as the distribution server device. Generation procedure to generate the object reference set to the address of
をコンピュータに実行させるオブジェクトリファレンス生成プログラムを記録したことを特徴とするコンピュータ読み取り可能な記録媒体。 A computer-readable recording medium on which an object reference generation program for causing a computer to execute is recorded.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2001067685A JP3939930B2 (en) | 2000-03-17 | 2001-03-09 | Object reference generation device, object reference generation method, computer-readable recording medium recording object reference generation program, and object reference generation program |
Applications Claiming Priority (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2000077124 | 2000-03-17 | ||
| JP2000-77124 | 2000-03-17 | ||
| JP2001067685A JP3939930B2 (en) | 2000-03-17 | 2001-03-09 | Object reference generation device, object reference generation method, computer-readable recording medium recording object reference generation program, and object reference generation program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2001331334A JP2001331334A (en) | 2001-11-30 |
| JP3939930B2 true JP3939930B2 (en) | 2007-07-04 |
Family
ID=26587877
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2001067685A Expired - Fee Related JP3939930B2 (en) | 2000-03-17 | 2001-03-09 | Object reference generation device, object reference generation method, computer-readable recording medium recording object reference generation program, and object reference generation program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3939930B2 (en) |
-
2001
- 2001-03-09 JP JP2001067685A patent/JP3939930B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2001331334A (en) | 2001-11-30 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR100612059B1 (en) | Method, computing system and recording medium for resource regulation in partitioned processing environment | |
| CN113094182B (en) | Service load balancing processing method and device and cloud server | |
| US7085805B1 (en) | Remote device management in grouped server environment | |
| EP2158546B1 (en) | Providing enhanced data retrieval from remote locations | |
| Juric et al. | Java RMI, RMI tunneling and Web services comparison and performance analysis | |
| CA2489142C (en) | Distributed computer | |
| JPH11312153A (en) | Method and device for managing work load between object servers | |
| EP2140351B1 (en) | Method and apparatus for cluster data processing | |
| US7624404B2 (en) | Communication method selection for exchanging information between service requester and service provider | |
| KR100887491B1 (en) | Access to web services | |
| CN111343262B (en) | Distributed cluster login method, device, equipment and storage medium | |
| CN101621544A (en) | Service flow processing apparatus and method | |
| JP3939930B2 (en) | Object reference generation device, object reference generation method, computer-readable recording medium recording object reference generation program, and object reference generation program | |
| CA2482779A1 (en) | System and method for interfacing with existing system management products or software solutions | |
| US7437456B1 (en) | Object reference generating device, object reference generating method and computer readable recording medium for recording an object reference generating program | |
| US20080071916A1 (en) | System and method for requesting a web service from a network server | |
| KR20190015817A (en) | Method, Apparatus and System for Monitoring Using Middleware | |
| Baskey et al. | zSeries features for optimized sockets-based messaging: Hipersockets and OSA-Express | |
| JP3776706B2 (en) | Data communication apparatus, data communication method, and computer-readable recording medium recording data communication program | |
| JP3543321B2 (en) | Distributed object communication load distribution / multiplexing method | |
| JP4492569B2 (en) | File operation control device, file operation control system, file operation control method, and file operation control program | |
| US7529837B2 (en) | Device and method for changing instruction description, and storage medium storing program for changing instruction | |
| JP5389738B2 (en) | Identifier management system, information management server, interconnection destination management server, identifier management method, information management program, interconnection destination management program | |
| KR100793820B1 (en) | Web Service Acquisition Method and Web Service Provision Method Using Grid Object-Oriented Programming Middleware System | |
| JP2004139565A (en) | Communication method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20060525 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20060606 |
|
| A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20061017 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20061116 |
|
| A911 | Transfer of reconsideration by examiner before appeal (zenchi) |
Free format text: JAPANESE INTERMEDIATE CODE: A911 Effective date: 20061222 |
|
| 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: 20070327 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20070329 |
|
| 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: 20110406 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110406 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120406 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130406 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140406 Year of fee payment: 7 |
|
| LAPS | Cancellation because of no payment of annual fees |