JPH07334400A - Database access system and method of controlling the database access system - Google Patents
Database access system and method of controlling the database access systemInfo
- Publication number
- JPH07334400A JPH07334400A JP6126573A JP12657394A JPH07334400A JP H07334400 A JPH07334400 A JP H07334400A JP 6126573 A JP6126573 A JP 6126573A JP 12657394 A JP12657394 A JP 12657394A JP H07334400 A JPH07334400 A JP H07334400A
- Authority
- JP
- Japan
- Prior art keywords
- access
- database
- request
- information processing
- sql
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
(57)【要約】
【目的】複数のゲートウェイに負荷を分散する。自由な
文字コードセットを使用できる。任意に設定した時間が
経過すると、そのデータベース・アクセス処理を打ち切
る。ゲートウェイ上のコンポーネントやDBMSの障害
をクライアントが検知する。ゲートウェイは、接続中の
クライアントの障害を検知する。
【構成】クライアントが、前記依頼の発行に使用した文
字コードの文字コードセット識別情報を通知し、ゲート
ウェイが依頼および応答の文字コードを変換する。上記
アクセス依頼を受け付け、データベース・アクセス言語
変換手段との接続を確保し、言語変換して、DBMSに
送るステップと、所定時間が経過しても応答がないと、
接続を切断し、エラー通知する。障害監視用依頼を、所
定周期で発行し、該依頼の応答が時間内になければ、エ
ラーを通知する。
(57) [Summary] [Purpose] The load is distributed to multiple gateways. You can use any character code set. When the arbitrarily set time has elapsed, the database access process is terminated. The client detects a failure of the component on the gateway or the DBMS. The gateway detects a failure of the connected client. [Configuration] A client notifies the character code set identification information of the character code used for issuing the request, and the gateway converts the character code of the request and the response. The step of accepting the access request, securing the connection with the database access language conversion means, converting the language, and sending it to the DBMS;
Disconnect the connection and notify the error. A fault monitoring request is issued in a predetermined cycle, and if the response to the request is not within the time, an error is notified.
Description
【0001】[0001]
【産業上の利用分野】本発明は、データベースをアクセ
スするための情報処理システムに係り、特に、クライア
ントの情報処理装置からネットワークを介して複数の異
種データベース・サーバーをアクセスする場合に好適
な、データベース・アクセス・システムおよびその制御
方法に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information processing system for accessing a database, and particularly to a database suitable for accessing a plurality of different database servers from a client information processing device via a network. -Access system and its control method.
【0002】[0002]
【従来の技術】企業におけるデータベース・システム
は、ダウンサイジング化に伴い、メインフレームを用い
た全社システムから、各業務を担当する部門に分散され
た部門システムへと移行が進んでいる。部門システムで
は、業務内容に応じた最適なシステムを構築するため、
各部門毎に異なるベンダのデータベース管理システム
(DataBase Management Syst
em: DBMS)を採用することも珍しくない。一
方、意志決定支援などのアプリケーション・ソフトウェ
アの実行においては、企業内の各部門に分散したデータ
ベース上の種々のデータを必要に応じて収集し分析する
必要がある。2. Description of the Related Art Along with downsizing, a database system in a company is shifting from a company-wide system using a mainframe to a department system distributed to departments in charge of each work. In the department system, in order to build the optimal system according to the work content,
Different vendor database management systems for each department
(DataBase Management System
It is not uncommon to adopt em: DBMS). On the other hand, in the execution of application software such as decision support, it is necessary to collect and analyze various data in a database distributed in each department of a company as needed.
【0003】データベースのアクセスに用いるアプリケ
ーション・プログラミング・インタフェース(Appl
ication Programming Inter
face: API)としては、エス・キュー・エル
(SQL: Structured Query La
nguage)とよばれる言語が一般に用いられてい
る。SQLは、JIS規格などで標準仕様が定められて
いるが、実際のDBMSの製品では細かな点でDBMS
ベンダ毎にその仕様が異なっている。このため、同一の
SQLで異なるベンダのDBMS上のデータベースにア
クセスすることはできない。そこで、一種類のSQLを
各ベンダ固有のSQLに変換するゲートウェイが製品化
されている。なお、SQLの仕様の相違点については、
Addison-Wesley Publishing
Company, Inc発行の「THE PRAC
TICAL SQL HANDBOOK」329〜34
1頁に記載されている。An application programming interface (Appl) used to access a database.
ication Programming Inter
face: API), S: Structured Query La (SQL: Structured Query La)
A language called "nguage" is commonly used. The standard specifications of SQL are defined in JIS standards, but in actual DBMS products, DBMS is
The specifications are different for each vendor. Therefore, it is not possible to access databases on DBMSs of different vendors with the same SQL. Therefore, a gateway for converting one type of SQL into a SQL unique to each vendor has been commercialized. Regarding the differences in SQL specifications,
Addison-Wesley Publishing
“THE PRAC” published by Company, Inc.
TICAL SQL HANDBOOK "329-34
It is described on page 1.
【0004】ゲートウェイを用いた異種データベース・
アクセス・システムの一従来例を図2に示す。この従来
例では、アプリケーション・ソフトウェア実行手段11
1が動作するクライアント情報処理装置110に、ゲー
トウェイ機能を搭載している。図2に示した例では、ク
ライアント情報処理装置110と接続されたLAN(L
ocal Area Network)100には、2
つのサーバ情報処理装置120a,120bが接続され
ており、それぞれ、DBMS_A121a、DBMS_
B121bが動作する。サーバ情報処理装置120aに
は、データベース124aのデータを保持する外部記憶
装置124aが接続され、サーバ情報処理装置120b
には、データベース124bのデータを保持する外部記
憶装置124bが接続されている。DBMS_A121
a,DBMS_B121bは、それぞれ、データベース
124a,124bを管理する。Heterogeneous database using gateway
A conventional example of an access system is shown in FIG. In this conventional example, the application software execution means 11
The client information processing apparatus 110 on which the No. 1 operates has a gateway function. In the example shown in FIG. 2, the LAN (L
ocal Area Network) 100 has 2
Two server information processing devices 120a and 120b are connected to each other, and DBMS_A 121a and DBMS_A 121a, respectively.
B121b operates. An external storage device 124a that holds the data of the database 124a is connected to the server information processing device 120a, and the server information processing device 120b is connected.
An external storage device 124b that holds the data of the database 124b is connected to the. DBMS_A121
a and DBMS_B 121b manage the databases 124a and 124b, respectively.
【0005】アクセス管理コンポーネント112は、ア
プリケーション・ソフトウェア111がデータベース・
アクセスのため発行するSQL文を、アクセス先がDB
MS_A121aの時はSQL変換手段A115a、ア
クセス先がDBMS_B121bの時はSQL変換手段
B115bの各コンポーネントに引き渡すように動作す
る。In the access management component 112, the application software 111 is a database database.
The access destination is the SQL statement issued for access
When the access destination is the DBMS_B 121b, the SQL conversion unit A 115a operates to hand over to the respective components of the SQL conversion unit A 115a.
【0006】SQL変換手段A115a,SQL変換手
段B115bの各コンポーネントは、受け取ったSQL
文をターゲットDBMS(アクセス先のDBMS)の仕
様に変換し、各DBMS用のデータベース・ドライバA
122a、データベース・ドライバB122b、および
LANドライバ123を介して、各ターゲットのサーバ
情報処理装置120aまたは120bに、前記変換後の
SQL文を送信する。Each component of the SQL conversion means A 115a and the SQL conversion means B 115b receives the SQL.
Converts the sentence to the specifications of the target DBMS (access destination DBMS), and uses the database driver A for each DBMS
The converted SQL statement is transmitted to the server information processing apparatus 120a or 120b of each target via the 122a, the database driver B 122b, and the LAN driver 123.
【0007】データベース・ドライバA122a、デー
タベース・ドライバB122b、および前記LANドラ
イバ123は、クライアント情報処理装置110と同じ
ものが各サーバ情報処理装置120a、120bにも搭
載されており、通信プロトコルの階層に従った処理を行
い、クライアント情報処理装置100が送信したLAN
100上のパケットデータからDBMS_A121aま
たはDBMS_B121b宛の前記SQL文を取り出
し、該各DBMSに該SQL文を送る。各DBMSでの
処理結果は、上述の経路を逆に辿り、SQL変換手段A
115aまたはSQL変換手段B115bによって、標
準のデータ形式、および標準のリターン・コードに変換
した後、アクセス管理コンポーネント112を介してア
プリケーション・ソフトウェア111に送られる。The database driver A 122a, the database driver B 122b, and the LAN driver 123 are the same as the client information processing device 110, and are also installed in the respective server information processing devices 120a and 120b. The LAN transmitted by the client information processing apparatus 100
The SQL statement addressed to DBMS_A 121a or DBMS_B 121b is extracted from the packet data on 100, and the SQL statement is sent to each DBMS. The processing result in each DBMS follows the above route in reverse, and the SQL conversion means A
After being converted into a standard data format and a standard return code by 115a or SQL conversion means B115b, it is sent to the application software 111 via the access management component 112.
【0008】このように、ゲートウェイ機能を、クライ
アント情報処理装置110上のアクセス管理コンポーネ
ント112とSQL変換手段A115a、SQL変換手
段B115bによって実現することにより、単一のSQ
L仕様だけを用いて、異なるSQL仕様を持つDBMS
にアクセスすることが可能となっている。As described above, by realizing the gateway function by the access management component 112 and the SQL conversion means A 115a and SQL conversion means B 115b on the client information processing apparatus 110, a single SQ is obtained.
DBMS with different SQL specifications using only L specifications
It is possible to access.
【0009】これらのゲートウェイ機能をクライアント
情報処理装置110上ではなく、専用のゲートウェイ情
報処理装置130を用いて実現した従来例を図3に示
す。この従来例では、アプリケーション・ソフトウェア
実行手段111が発行したSQL文は、まず、データベ
ース・ドライバC122c、LANドライバ123を介
してゲートウェイ情報処理装置130に送られる。ゲー
トウェイ情報処理装置130上では、LANドライバ1
23、データベース・ドライバC122cによって前記
SQL文が取り出され、アクセス管理コンポーネント1
12に送られる。この後の動作は、図2を用いて説明し
た従来例と同様であり、SQL変換手段A115a、S
QL変換手段B115b、データベース・ドライバA1
22a、データベース・ドライバB122b、LANド
ライバ123を介してターゲットのサーバ情報処理装置
120aまたは120b上のデータベースをアクセス
し、結果がクライアント情報処理装置110上のアプリ
ケーション・ソフトウェア実行手段111に返される。FIG. 3 shows a conventional example in which these gateway functions are realized not by using the client information processing apparatus 110 but by using a dedicated gateway information processing apparatus 130. In this conventional example, the SQL statement issued by the application software execution unit 111 is first sent to the gateway information processing apparatus 130 via the database driver C122c and the LAN driver 123. On the gateway information processing device 130, the LAN driver 1
23, the database driver C122c retrieves the SQL statement, and the access management component 1
Sent to 12. The subsequent operation is the same as that of the conventional example described with reference to FIG. 2, and the SQL conversion means A115a, S115.
QL conversion means B115b, database driver A1
The database on the target server information processing device 120a or 120b is accessed via 22a, the database driver B 122b, and the LAN driver 123, and the result is returned to the application software execution means 111 on the client information processing device 110.
【0010】これらの異種データベース・アクセス・シ
ステムについては、「日経エレクトロニクス1993年
2月15日号」138〜145頁(日経BP社刊)に述
べられている。These heterogeneous database access systems are described in "Nikkei Electronics, February 15, 1993", pages 138 to 145 (published by Nikkei BP).
【0011】[0011]
【発明が解決しようとする課題】以上述べたように、タ
ーゲットDBMSのSQL仕様へのSQL文の変換を行
うゲートウェイ機能を、クライアント情報処理装置上に
搭載する、あるいは、ゲートウェイ機能を実現するゲー
トウェイ情報処理装置を設けることによって、単一のS
QL仕様だけに対応したアプリケーション・ソフトウェ
ア実行手段によって、異なるSQL仕様を持つ複数のD
BMSで管理されたデータベースをアクセスすることが
可能となっている。As described above, the gateway information for converting the SQL statement into the SQL specification of the target DBMS is installed on the client information processing device or for realizing the gateway function. By providing the processing device, a single S
A plurality of Ds having different SQL specifications by means of application software execution means corresponding only to the QL specifications
It is possible to access the database managed by BMS.
【0012】しかし、図2で示した従来の構成では、ア
クセスするDBMSに対応したSQL変換手段およびデ
ータベース・ドライバを、すべてのクライアントが具備
する必要がある。このため、システム内のDBMSの種
類の追加やバージョンアップのたびごとに、各クライア
ントのSQL変換手段およびデータベース・ドライバを
メンテナンスする必要があり、保守性のよいものではな
かった。However, in the conventional configuration shown in FIG. 2, it is necessary that all the clients have the SQL conversion means and the database driver corresponding to the DBMS to be accessed. Therefore, it is necessary to maintain the SQL conversion means and the database driver of each client each time the type of DBMS in the system is added or the version is upgraded, which is not good in maintainability.
【0013】図3で示した従来の構成では、ゲートウェ
イ情報処理装置上のSQL変換手段、データベース・ド
ライバだけをメンテナンスすればよいので、上記の課題
は解決される。しかし、常にゲートウェイ情報処理装置
を介してデータベースをアクセスするので、ゲートウェ
イ情報処理装置に負荷が集中し、LAN上のトラフィッ
クが増加するため、該アクセスの性能がゲートウェイ情
報処理装置を介さない場合に比べて低下するという課題
があった。In the conventional configuration shown in FIG. 3, only the SQL conversion means and the database driver on the gateway information processing device need be maintained, so that the above-mentioned problem is solved. However, since the database is always accessed through the gateway information processing device, the load is concentrated on the gateway information processing device and the traffic on the LAN increases, so the access performance is higher than when the gateway information processing device is not used. There was a problem that it decreased.
【0014】また、従来のゲートウェイ情報処理装置を
用いた方式では、それぞれ仕様の異なるSQLを発行す
る複数のクライアントから、それぞれ仕様の異なる複数
のDBMSにアクセスすることができないという課題が
あった。Further, in the conventional method using the gateway information processing device, there is a problem that a plurality of clients issuing SQLs having different specifications cannot access a plurality of DBMSs having different specifications.
【0015】さらに、従来のゲートウェイ情報処理装置
を用いた方法では、クライアントのアプリケーション・
ソフトウェア毎に、異なる文字コードセットを使用する
ことができないという課題があった。Further, in the method using the conventional gateway information processing apparatus, the client application
There is a problem that different character code sets cannot be used for each software.
【0016】また、データベースへのアクセスは、長い
ときには30分以上の時間を要する場合があり、処理の
打ち切り時間はユーザーが自由に設定できることが望ま
しい。しかし、従来は、前記打ち切り時間を設定できな
い、あるいはシステムで固定した値での設定となってお
り、ユーザー毎の設定はできないという課題があった。
さらに、ゲートウェイ情報処理装置上のSQL変換手段
を介したデータベース・アクセスにおいては、処理打ち
切り時間をオーバーした場合の原因箇所特定が容易でな
いという課題があった。また、ゲートウェイ情報処理装
置上のコンポーネントまたはDBMSに障害が発生して
いる場合も、30分程度の値が設定される前記打ち切り
時間だけ待たなければ、前記障害が明らかにならないと
いう課題があった。Further, access to the database may require a time of 30 minutes or more at a long time, and it is desirable that the user can freely set the processing termination time. However, conventionally, there has been a problem that the cutoff time cannot be set or is set to a value fixed by the system and cannot be set for each user.
Further, in the database access via the SQL conversion means on the gateway information processing device, there is a problem that it is not easy to identify the cause location when the processing termination time is exceeded. Further, even when a component or DBMS on the gateway information processing device has a failure, there is a problem that the failure is not revealed unless the waiting time is set to a value of about 30 minutes.
【0017】また、従来のゲートウェイ情報処理装置を
用いた方法では、それぞれ仕様の異なるSQLを発行す
る複数のクライアントから、それぞれ仕様の異なる複数
のDBMSにアクセスすることは困難であった。Further, in the method using the conventional gateway information processing device, it is difficult for a plurality of clients issuing SQLs having different specifications to access a plurality of DBMSs having different specifications.
【0018】そこで、本発明は、仕様の異なるデータベ
ース・アクセス言語を発行するクライアントとDBMS
とのアクセスを可能にする言語変換手段を有するデータ
ベース・アクセス・システムであって、言語変換に伴う
負荷を、複数の情報処理装置に分散することのできるデ
ータベース・アクセス・システムを提供すること、およ
びその制御方法を提供することを第1の目的とする。Therefore, the present invention provides a client and a DBMS that issue database access languages having different specifications.
To provide a database access system having a language conversion means that enables access to the information processing system and capable of distributing the load associated with the language conversion to a plurality of information processing devices, and A first object is to provide a control method therefor.
【0019】さらに、本発明は、仕様の異なるデータベ
ース・アクセス言語を発行するクライアントとDBMS
とのアクセスを可能にする言語変換手段を有するデータ
ベース・アクセス・システムであって、アプリケーショ
ン・ソフトウェアが、データベース管理システムや、ゲ
ートウェイ情報処理装置と異なる文字コードを用いるこ
とのできるデータベース・アクセス・システムを提供す
ること、およびその制御方法を提供することを第2の目
的とする。Furthermore, the present invention provides a client and a DBMS that issue database access languages having different specifications.
A database access system having a language conversion means for enabling access to a database access system in which the application software can use a character code different from that of the database management system or the gateway information processing device. A second object is to provide the same and a control method thereof.
【0020】また、本発明は、仕様の異なるデータベー
ス・アクセス言語を発行するクライアントとDBMSと
のアクセスを可能にする言語変換手段を有するデータベ
ース・アクセス・システムであって、任意の時間でデー
タベースへのアクセス処理を打ち切ることのできるデー
タベース・アクセス・システムを提供すること、および
その制御方法を提供することを第3の目的とする。Further, the present invention is a database access system having a language conversion means for enabling a client issuing a database access language having different specifications and a DBMS to access the database at an arbitrary time. A third object of the present invention is to provide a database access system capable of aborting access processing and a control method thereof.
【0021】さらに、本発明は、仕様の異なるデータベ
ース・アクセス言語を発行するクライアントとDBMS
とのアクセスを可能にする言語変換手段を有するデータ
ベース・アクセス・システムであって、各装置の障害を
検知する手段を有するデータベース・アクセス・システ
ムを提供すること、およびその制御方法を提供すること
を第4の目的とする。Furthermore, the present invention provides a client and a DBMS that issue database access languages having different specifications.
To provide a database access system having a language conversion means for enabling access to a device, and a database access system having means for detecting a failure of each device, and to provide a control method thereof. The fourth purpose.
【0022】[0022]
【課題を解決するための手段】上記目的を達成するため
に、本発明では、データベース・アクセス言語によるデ
ータベースへのアクセス依頼を受け付け、応答を返すデ
ータベース管理システムを備える複数のサーバ情報処理
装置と、該サーバ情報処理装置に接続された、上記デー
タベース管理システムをアクセス対象とする上記依頼を
発行するアプリケーション・ソフトウェア実行手段を備
える一以上のクライアント情報処理装置とを有するデー
タベース・アクセス・システムであって、上記アクセス
依頼を受け付け、上記データベース管理システムに送る
ゲートウェイ情報処理装置を備え、上記ゲートウェイ情
報処理装置は、上記アクセス依頼を受け付け、異なるデ
ータベース・アクセス言語による依頼に変換して、上記
データベース管理システムに送るデータベース・アクセ
ス言語変換手段と、上記アクセス依頼を受け付け、上記
データベース・アクセス言語変換手段に送る、アクセス
管理手段とを備え、その目的に応じて、下記の要素を有
するデータベース・アクセス・システムが提供される。In order to achieve the above object, according to the present invention, a plurality of server information processing devices having a database management system that receives an access request to a database in a database access language and returns a response, A database access system comprising: one or more client information processing devices, each of which is connected to the server information processing device, is provided with an application software execution unit for issuing the request for accessing the database management system. A gateway information processing apparatus that receives the access request and sends it to the database management system, the gateway information processing apparatus receives the access request, converts the access request into a request in a different database access language, and manages the database. Database access language conversion means for sending to the system, and access management means for receiving the access request and sending it to the database access language conversion means, and a database access system having the following elements according to its purpose: Will be provided.
【0023】A.上記第1の目標達成のためには、
(1)上記クライアント情報処理装置が、上記アプリケ
ーション・ソフトウェア実行手段の発行した依頼を受け
付け、上記複数のアクセス管理手段のうちのいずれに送
るかを決定し、該決定したアクセス管理手段に送る第1
の選択手段を有すること (2)上記アクセス管理手段が、上記アプリケーション
・ソフトウェア実行手段の発行した依頼を受け付け、上
記複数のデータベース言語変換手段のうちのいずれに送
るかを決定し、該決定したデータベース・アクセス言語
変換手段に送る第2の選択手段を有することのすくなく
ともいずれかを備えるデータベース・アクセス・システ
ムが提供される。A. To achieve the first goal above,
(1) The client information processing apparatus accepts a request issued by the application software execution means, determines which of the plurality of access management means to send, and sends the request to the determined access management means.
(2) The access management means accepts a request issued by the application software execution means, determines which of the plurality of database language conversion means to send, and the determined database A database access system is provided which comprises at least one of having a second selection means for sending to an access language conversion means.
【0024】B.上記第2の目標達成のためには、
(1)上記クライアント情報処理装置が、上記アプリケ
ーション・ソフトウェア実行手段の、前記依頼の発行に
使用した文字コードの文字コードセット識別情報を、上
記アクセス管理手段に通知する手段を備え、上記アクセ
ス管理手段は、上記データベース・アクセス言語変換手
段へ送る前に、受け付けた上記依頼の文字コードを、あ
らかじめ定められた文字コードセットの文字コードに変
換する手段と、上記クライアント情報処理装置へ通知す
る応答を、上記通知された文字コードセットの文字コー
ドに変換する手段とを備えること (2)上記データベース・アクセス言語変換手段が、受
け付けた上記依頼の文字コードを、あらかじめ定められ
た文字コードに変換する手段と、上記アクセス管理手段
へ通知する応答を、上記通知された文字コードセットの
文字コードに変換する手段とを備えることの少なくとも
いずれかを備えるデータベース・アクセス・システムが
提供される。B. To achieve the second goal above,
(1) The client information processing device includes means for notifying the access management means of the character code set identification information of the character code used for issuing the request by the application software execution means, and the access management means. Means for converting the character code of the received request into a character code of a predetermined character code set before sending to the database access language conversion means, and a response for notifying the client information processing device, And means for converting into the character code of the notified character code set (2) means for converting the received character code of the request into a predetermined character code by the database access language conversion means , The response to notify the access control means, the notified character And / or means for converting to a character code of the code set.
【0025】C.上記第3の目的達成のためには、
(1)上記クライアント情報処理装置が、上記依頼を発
行すると、上記アクセス管理手段との接続を確保し、該
依頼を該アクセス管理手段に送る手段と、あらかじめ定
められた時間が経過しても応答がないと、上記接続を切
断し、上記依頼の処理をエラーとする手段とを備えるこ
と (2)上記アクセス管理手段が、上記依頼を受け付ける
と、上記データベース・アクセス言語変換手段との接続
を確保し、該依頼を該データベース・アクセス言語変換
手段に送る手段と、あらかじめ定められた時間が経過し
ても応答がないと、上記接続を切断し、上記依頼の処理
のエラーをクライアント情報処理装置に通知する手段と
を備えること (3)上記データベース・アクセス言語変換手段が、上
記依頼を受け付けると、上記データベース管理システム
手段との接続を確保し、該依頼を該データベース管理シ
ステムに送る手段と、あらかじめ定められた時間が経過
しても応答がないと、上記接続を切断し、上記依頼の処
理のエラーをアクセス管理手段に通知する手段とを備え
ることの少なくともいずれかを備えるデータベース・ア
クセス・システムが提供される。C. To achieve the third purpose,
(1) When the client information processing device issues the request, it secures a connection with the access management means, sends the request to the access management means, and responds even if a predetermined time has elapsed. If there is not, a means for disconnecting the connection and setting the request processing as an error is provided (2) When the access management means receives the request, secures a connection with the database access language conversion means. If there is no response from the means for sending the request to the database / access language conversion means, the connection is disconnected, and an error in the processing of the request is sent to the client information processing device. (3) When the database access language conversion means receives the request, the database management system Means for sending a request to the database management system by securing a connection with the dan, and disconnecting the connection if there is no response after a predetermined time elapses, and managing the error in the processing of the request by access control. A database access system comprising: means for notifying a means.
【0026】D.上記第4の目的達成のためには、
(1)上記クライアント情報処理装置が、障害チェック
用のあらかじめ定められた上記アクセス依頼を、あらか
じめ定められた時間が経過するごとに発行し、上記ゲー
トウェイ情報処理装置に送る障害チェック手段と、上記
障害チェック用アクセス依頼に対する応答が、あらかじ
め定められた時間内になければ、上記アプリケーション
・ソフトウェア実行手段にエラーを通知する障害通知手
段とを有すること (2)上記アクセス管理手段が、障害チェック用の上記
アクセス依頼を、あらかじめ定められた時間が経過する
ごとに発行し、上記データベース・アクセス言語変換手
段に送る障害チェック手段と、上記障害チェック用アク
セス依頼に対する応答が、あらかじめ定められた時間内
になければ、上記クライアント情報処理装置にエラーを
通知する障害通知手段とを有すること (3)上記データベース・アクセス言語変換手段が、障
害チェック用の上記アクセス依頼をあらかじめ定められ
た時間が経過するごとに発行し、上記データベース管理
システムに送る障害チェック手段と、上記障害チェック
用アクセス依頼に対する応答が、あらかじめ定められた
時間内になければ、上記アクセス管理手段にエラーを通
知する障害通知手段とを有することの少なくともいずれ
かを備えるデータベース・アクセス・システムが提供さ
れる。D. To achieve the fourth objective,
(1) The client information processing apparatus issues a predetermined access request for failure check every time a predetermined time elapses, failure check means for sending to the gateway information processing apparatus, and the failure. If the response to the check access request is not within a predetermined time, the application / software execution means should be provided with a failure notification means. (2) The access management means should be provided for the failure check. If the access request is issued every time a predetermined time has elapsed and the failure check means for sending to the database access language conversion means and the response to the failure check access request are not within the predetermined time. Error to the client information processing device (3) The database access language conversion means issues the access request for failure check every predetermined time, and sends it to the database management system. And a failure notification means for notifying the access management means of an error if the response to the failure check access request is not within a predetermined time. Will be provided.
【0027】さらに、本発明では、上記各要素を備える
データベース・アクセス・システムの制御方法が提供さ
れる。Further, according to the present invention, there is provided a control method for a database access system including the above-mentioned elements.
【0028】[0028]
【作用】アクセス管理手段は、あらかじめ定められた仕
様のSQLによる、データベース管理システムへのアク
セス依頼をリモート・プロシージャ・コール((Rem
ote Procedure Call: RPC)の
パラメータとしたアクセスを受け付け、ターゲットのD
BMSの種類を決定し、DBMSの種類に対応したSQ
L変換手段に標準仕様のSQLをパラメータとしたRP
Cを発行する。Operation: The access management means requests access to the database management system by SQL of a predetermined specification by a remote procedure call ((Rem
access as a parameter of (Ote Procedure Call: RPC), and the target D
SQ corresponding to the type of DBMS by determining the type of BMS
RP with SQL of standard specification as a parameter for L conversion means
Issue C.
【0029】SQL変換手段は、アクセス管理手段から
発行されたRPCによって引き渡された標準仕様のSQ
Lを、ターゲットDBMSが用いる非標準仕様のSQL
に変換し、DBMSへのアクセスを実行する。The SQL conversion means is a standard specification SQ delivered by the RPC issued from the access management means.
L is a non-standard SQL used by the target DBMS
And execute access to the DBMS.
【0030】このように、アクセス管理手段とSQL変
換手段との接続をRPCを用いて行い、しかもアクセス
管理手段への処理依頼と、SQL変換手段への処理依頼
の各RPCのパラメータ仕様を同一とする事によって、
ターゲットDBMSが明確でしかも単一の場合には、ユ
ーザー・アプリケーション・ソフトウェアから、アクセ
ス管理手段を介すること無く直接SQL変換手段へアク
セスすることができるようになる。これによって、オー
バーヘッドを低減することができる。In this way, the connection between the access management means and the SQL conversion means is performed using the RPC, and the parameter specifications of each RPC for the processing request to the access management means and the processing request to the SQL conversion means are the same. By doing
When the target DBMS is clear and single, the user application software can directly access the SQL conversion means without going through the access management means. This can reduce overhead.
【0031】また、アクセス管理手段とSQL変換手段
は、複数の情報処理装置上に置くことができ、第一の情
報処理装置上のアクセス管理手段から他の情報処理装置
上のSQL変換手段へRPCによる処理依頼を行うこと
もできる。これによって、処理負荷を複数の情報処理装
置に分散できる。さらに、アクセス管理手段が搭載され
たすべての情報処理装置上にすべての種類のDBMSに
対応したSQL変換手段を搭載しなくてもよく、どれか
の情報処理装置上に必要な種類のSQL変換手段を用意
して置けばよいので、導入、保守が容易となる。Further, the access management means and the SQL conversion means can be placed on a plurality of information processing devices, and the RPC from the access management means on the first information processing device to the SQL conversion means on another information processing device. It is also possible to request processing by. As a result, the processing load can be distributed to a plurality of information processing devices. Further, it is not necessary to mount the SQL conversion means corresponding to all kinds of DBMS on all the information processing devices equipped with the access management means, and the SQL conversion means of the kind required on any one of the information processing devices. Since it is sufficient to prepare and place it, installation and maintenance are easy.
【0032】また、ユーザー・アプリケーション・ソフ
トウェアが搭載された情報処理装置(クライアント情報
処理装置)上で動作し、ユーザー・アプリケーション・
ソフトウェア実行手段から発行されるSQLを、RPC
を用いて他の情報処理装置に実行依頼するクライアント
SQL処理手段は、ユーザー・アプリケーション・ソフ
トウェア実行手段から発行されるSQLをパラメータと
するRPCを、単一のDBMSに対するものであるとき
はターゲットDBMSと同一情報処理装置上のSQL変
換手段に発行し、単一のDBMSに対するものでないと
きはターゲットDBMSとは別のゲートウェイ情報処理
装置上のアクセス管理手段に発行するように動作する。
これによって、単一のDBMSに対してのアクセスは、
ゲートウェイ情報処理装置を介することによるオーバー
ヘッドを生じることなく実行することができる。Further, the user application software runs on an information processing apparatus (client information processing apparatus),
The SQL issued from the software execution means is changed to RPC.
The client SQL processing means for making an execution request to another information processing apparatus by using the RPC with SQL as a parameter issued from the user application software execution means is a target DBMS when the RPC is for a single DBMS. It is issued to the SQL conversion means on the same information processing device, and when it is not for a single DBMS, it is issued to the access management means on the gateway information processing device different from the target DBMS.
This allows access to a single DBMS
It can be executed without incurring the overhead of passing through the gateway information processing device.
【0033】アクセス管理手段は、あらかじめ定められ
た仕様のSQLをRPCのパラメータとしたアクセスを
受け付け、ターゲットのDBMSの種類を決定し、DB
MSの種類に対応したSQL変換手段に前記RPCと同
じ内容のRPCを発行する。前記SQL変換手段は、ア
クセス管理手段から発行されたRPCによって引き渡さ
れたアクセス依頼を、ターゲットDBMSが用いるSQ
L仕様のアクセス依頼に変換し、該DBMSへのアクセ
スを実行する。この際、文字コードセット識別情報が通
知される。前記アクセス管理コンポーネントは、自分自
身が解釈可能な文字コードセットへ、アプリケーション
・ソフトウェアから受け取ったSQL文を文字コード変
換手段を用いて変換する。これによって、クライアント
情報処理装置上のアプリケーション・ソフトウェアは、
データベースへの接続単位に様々な文字コードセットを
用いることができる。The access management means accepts an access using SQL of a predetermined specification as an RPC parameter, determines the type of the target DBMS, and
The RPC having the same content as the RPC is issued to the SQL conversion means corresponding to the type of MS. The SQL conversion means is an SQ used by the target DBMS for the access request delivered by the RPC issued from the access management means.
It is converted into an L-specific access request, and the access to the DBMS is executed. At this time, the character code set identification information is notified. The access management component converts the SQL sentence received from the application software into a character code set that can be interpreted by the access management component using the character code conversion means. As a result, the application software on the client information processing device
Various character code sets can be used for each connection to the database.
【0034】クライアント情報処理装置、アクセス管理
手段、データベース・アクセス言語変換手段のいずれか
に、上記依頼を受け付けると、送り先への接続を確保
し、該依頼を送る手段と、あらかじめ定められた時間が
経過しても応答がないと、該接続を切断し、上記依頼の
処理のエラーを依頼元に通知する手段とを備えれば、デ
ータベース・アクセスの処理をあらかじめ定められた時
間(打ち切り時間)で打ち切ることができる。また、ク
ライアント情報処理装置からアクセス管理手段へ、アク
セス管理手段からデータベース・アクセス言語変換手段
へ、打ち切り時間を、依頼の通知ごとに通知するように
すれば、アプリケーション・ソフトウェア実行手段によ
る依頼ごとに、データベースへの接続単位で自由に設定
できる。When the above-mentioned request is received by any one of the client information processing device, the access management means, and the database / access language conversion means, the connection to the destination is secured, the means for sending the request, and the predetermined time. If there is no response even after a lapse of time, if a means for disconnecting the connection and notifying the requester of the error in the processing of the above request is provided, the database access processing can be performed within a predetermined time (abort time). Can be discontinued. Further, if the client information processing device notifies the access management means, and the access management means notifies the database access language conversion means of the cutoff time for each request notification, each request by the application software execution means: Can be freely set for each connection to the database.
【0035】また、打ち切り時間設定手段は、前記デー
タベース・アクセス処理打ち切り時間通知手段から受け
取った時間よりも短い時間を処理打ち切り時間として設
定するように動作する。これによって、前記2つの打ち
切り時間計測手段が用いる処理打ち切り時間は、前記ア
クセス管理手段から前記SQL変換手段へのSQL文の
処理依頼に対して適用されるの方が短い時間となる。こ
れによって、アプリケーション・ソフトウェアから見て
アクセス管理手段の先にあるSQL変換手段への処理依
頼打ち切りよりも時間的前に、アクセス管理手段への処
理を打ち切ることを防止できる。これによって、SQL
変換手段への処理打ち切りが発生した場合も、アクセス
管理手段を介して該打ち切りの通知をアプリケーション
・ソフトウェアが受け取ることができ、処理打ち切り時
間をオーバーした場合の原因箇所特定が可能となる。Further, the abort time setting means operates so as to set a time shorter than the time received from the database access processing abort time notifying means as the process abort time. As a result, the processing termination time used by the two termination time measuring means is shorter when applied to the processing request of the SQL statement from the access management means to the SQL conversion means. As a result, it is possible to prevent the processing of the access management means from being terminated before the processing request to the SQL conversion means ahead of the access management means of the application software is terminated. By this, SQL
Even when the processing termination to the conversion means occurs, the application software can receive the notification of the termination via the access management means, and the cause location can be identified when the processing termination time is exceeded.
【0036】また、サーバ障害チェック用RPC発行手
段は、アプリケーション・ソフトウェアがデータベース
に接続した後、アクセス管理手段およびSQL変換手段
に対して、定期的に障害チェック用RPCを発行する。
該障害チェック用RPCは、発行後、打ち切り時間内に
サーバすなわちアクセス管理手段またはSQL変換手段
から応答があるかどうかを打ち切り時間計測手段によっ
てチェックする。前記打ち切り時間内に応答がなかった
場合には、サーバに障害が発生したものとみなす。これ
によって、アクセス管理手段、SQL変換手段の障害を
SQL文の発行前に検知することが可能である。Further, the server fault checking RPC issuing means periodically issues a fault checking RPC to the access managing means and the SQL converting means after the application software connects to the database.
The RPC for failure check, after being issued, checks by the abort time measuring means whether or not there is a response from the server, that is, the access management means or the SQL conversion means, within the abort time. If there is no response within the cutoff time, it is considered that the server has failed. This makes it possible to detect a failure in the access management unit and the SQL conversion unit before the SQL statement is issued.
【0037】さらに、RPCの定期的発行をチェックす
る手段は、前記サーバ障害チェック用RPC発行手段か
ら発行される障害チェック用RPCが定期的に発行され
ているかどうかを監視し、前記発行がなされていない場
合にはクライアントに障害が発生したものとみなす。こ
れによって、クライアント側の障害を容易に検知するこ
とが可能である。Further, the means for checking the periodical issuance of RPC monitors whether or not the fault checking RPC issued from the server fault checking RPC issuing means is regularly issued, and the issuance is performed. If not, the client is considered to have failed. This makes it possible to easily detect a failure on the client side.
【0038】[0038]
【実施例】以下に、本発明の実施例を図面を用いて説明
する。Embodiments of the present invention will be described below with reference to the drawings.
【0039】(実施例1) A.異種データベース・アクセス・システムの構成 図1に、本実施例1における異種データベース・アクセ
ス・システムの一構成例を示す。本実施例1における異
種データベース・アクセス・システムは、クライアント
情報処理装置110と、ゲートウェイ情報処理装置13
0と、サーバ情報処理装置120a,120bと、ネー
ムサーバ情報処理装置150とを備える。以上の各情報
処理装置110,120a,120b,130,150
はLAN100で接続されている。図39に示すよう
に、各情報処理装置110,120a,120b,13
0,150は、少なくとも、主記憶装置1001と中央
演算処理装置(CPU)1000とを備える。(Example 1) A. Configuration of Heterogeneous Database Access System FIG. 1 shows an example of the configuration of the heterogeneous database access system in the first embodiment. The heterogeneous database access system according to the first embodiment includes a client information processing device 110 and a gateway information processing device 13.
0, the server information processing devices 120a and 120b, and the name server information processing device 150. Each of the above information processing devices 110, 120a, 120b, 130, 150
Are connected by the LAN 100. As shown in FIG. 39, each information processing device 110, 120a, 120b, 13
0 and 150 each include at least a main storage device 1001 and a central processing unit (CPU) 1000.
【0040】クライアント情報処理装置110は、アプ
リケーション・ソフトウェア実行手段111と、RPC
ドライバ102と、LANドライバ123とを備え、ア
プリケーション・ソフトウェア実行手段111によりデ
ータベースの保持するデータにアクセスするためのアク
セス要求であるリモート・プロシージャ・コール(Re
mote Procedure Call: RPC)
を発行し、該要求に対する応答を受け付ける情報処理装
置である。アプリケーション・ソフトウェア実行手段1
11と、RPCドライバ102と、LANドライバ12
3とは、クライアント情報処理装置110の主記憶装置
1001上に保持されたインストラクションを、クライ
アント情報処理装置110のCPU1000が実行する
ことにより実現される。The client information processing apparatus 110 includes an application / software execution unit 111 and an RPC.
The remote procedure call (Re, which is an access request for accessing the data held in the database by the application software execution unit 111, including the driver 102 and the LAN driver 123.
mote Procedure Call: RPC)
Is an information processing device that receives a response to the request. Application software execution means 1
11, an RPC driver 102, and a LAN driver 12
3 is realized by the CPU 1000 of the client information processing apparatus 110 executing the instructions stored in the main storage device 1001 of the client information processing apparatus 110.
【0041】サーバ情報処理装置120aは、DBMS
_A121aと、データベースドライバA122aと、
LANドライバ123とを備え、サーバ情報処理装置1
20bは、DBMS_B121bと、データベースドラ
イバデータベースドライバB122bと、LANドライ
バ123とを備える。サーバ情報処理装置120a,1
20bは、DBMS_A121a、DBMS_B121
bにより、受け付けたデータベースアクセス要求に対し
て応答する。サーバ情報処理装置120aのDBMS_
A121aと、データベースドライバA122aと、L
ANドライバ123とは、サーバ情報処理装置120a
の主記憶装置1001上に保持されたインストラクショ
ンを、サーバ情報処理装置120aのCPU1000が
実行することにより実現される。サーバ情報処理装置1
20bのDBMS_B121bと、データベースドライ
バデータベースドライバB122bと、LANドライバ
123とは、サーバ情報処理装置120bの主記憶装置
1001上に保持されたインストラクションを、サーバ
情報処理装置120bのCPU1000が実行すること
により実現される。The server information processing device 120a is a DBMS
_A121a, the database driver A122a,
The server information processing device 1 including the LAN driver 123.
20 b includes a DBMS_B 121 b, a database driver database driver B 122 b, and a LAN driver 123. Server information processing device 120a, 1
20b is DBMS_A121a, DBMS_B121
b, responds to the received database access request. DBMS_ of server information processing device 120a
A121a, database driver A122a, and L
The AN driver 123 is the server information processing device 120a.
It is realized by the CPU 1000 of the server information processing apparatus 120a executing the instructions stored in the main storage device 1001 of the above. Server information processing device 1
The DBMS_B 121b of 20b, the database driver database driver B 122b, and the LAN driver 123 are realized by the CPU 1000 of the server information processing device 120b executing the instructions stored in the main storage device 1001 of the server information processing device 120b. It
【0042】ネームサーバ情報処理装置150は、ネー
ムサーバ151と、RPCドライバ102と、LANド
ライバ123とを備え、RPCで呼び出す各サーバ・コ
ンポーネント(アクセス管理コンポーネント112v
や、SQL変換手段115など)の識別情報と、ネット
ワーク上の物理位置との対応情報を提供するサービスを
行うネームサーバ151が動作する情報処理装置であ
る。ネームサーバ情報処理装置150のネームサーバ1
51と、RPCドライバ102と、LANドライバ12
3とは、ネームサーバ情報処理装置150の主記憶装置
1001上に保持されたインストラクションを、ネーム
サーバ情報処理装置150のCPU1000が実行する
ことにより実現される。The name server information processing device 150 includes a name server 151, an RPC driver 102, and a LAN driver 123, and each server component (access management component 112v) called by the RPC.
Also, the name server 151 that performs a service of providing the correspondence information between the identification information of the SQL conversion means 115) and the physical position on the network operates. Name server Name server 1 of information processing device 150
51, RPC driver 102, LAN driver 12
3 is realized by the CPU 1000 of the name server information processing device 150 executing the instructions stored in the main storage device 1001 of the name server information processing device 150.
【0043】ゲートウェイ情報処理装置130は、アク
セス管理コンポーネント112vと、2種類のデータベ
ース・アクセス言語変換手段(本実施例では、データベ
ース・アクセス言語として、SQLを用いるので、ここ
では、SQL変換手段と呼ぶ。本実施例では、SQL変
換手段A115aおよびSQL変換手段B115bがあ
る)およびデータベースドライバ(データベースドライ
バA122aおよびデータベースドライバB122b)
と、RPCドライバ102と、LANドライバ123と
を備え、RPCを処理するゲートウェイである。ゲート
ウェイ情報処理装置130のアクセス管理コンポーネン
ト112vと、SQL変換手段A115とa、SQL変
換手段B115bと、データベースドライバA122a
と、データベースドライバB122bと、RPCドライ
バ102と、LANドライバ123とは、ゲートウェイ
情報処理装置130の主記憶装置1001上に保持され
たインストラクションを、ゲートウェイ情報処理装置1
30のCPU1000が実行することにより実現され
る。The gateway information processing device 130 and the access management component 112v and two types of database access language conversion means (in this embodiment, SQL is used as the database access language, so they are called SQL conversion means here). In this embodiment, there are SQL conversion means A115a and SQL conversion means B115b) and a database driver (database driver A122a and database driver B122b).
And a RPC driver 102 and a LAN driver 123, and is a gateway for processing the RPC. The access management component 112v of the gateway information processing device 130, the SQL conversion means A115 and a, the SQL conversion means B115b, and the database driver A122a.
The database driver B 122b, the RPC driver 102, and the LAN driver 123 convert the instructions held in the main storage device 1001 of the gateway information processing device 130 to the gateway information processing device 1
It is realized by the CPU 1000 of 30 executing.
【0044】なお、アクセス管理コンポーネント112
vと、ゲートウェイ情報処理装置130のRPCドライ
バ102とを合わせて、アクセス管理手段と呼ぶ。The access management component 112
v and the RPC driver 102 of the gateway information processing device 130 are collectively referred to as access management means.
【0045】DBMS_A121a、DBMS_B12
1bによって管理されているデータベースのデータは、
上述の従来例と同様に、外部記憶装置に格納されるが、
図が煩雑になるのを防ぐため、図1では外部記憶装置お
よびデータベースの図示を省略している(以下の実施例
についても同様に省略する)。DBMS_A 121a, DBMS_B12
The data of the database managed by 1b is
It is stored in the external storage device in the same manner as the above-mentioned conventional example,
In order to prevent the figure from becoming complicated, the external storage device and the database are not shown in FIG. 1 (the same applies to the following embodiments).
【0046】B.SQL_RPCの処理 アプリケーション・ソフトウェア実行手段111からの
データベース・アクセスは、アプリケーション・ソフト
ウェア実行手段111の発行したSQL文に対応するR
PC(パラメタとして該SQL文の指定されたRPC。
以下、SQL_RPCと呼ぶ)の実行によって行なわれ
る。B. Processing of SQL_RPC The database access from the application software execution means 111 corresponds to the SQL statement issued by the application software execution means 111.
PC (RPC specified by the SQL statement as a parameter.
Hereinafter, it will be referred to as SQL_RPC).
【0047】なお、ここでは、アプリケーション・ソフ
トウェア実行手段111が使用するSQL仕様を、本実
施例1のシステムにおける標準仕様と呼ぶことにする。
本実施例1では、DBMS_A121a、DBMS_B
121bはこの標準仕様とは異なるSQL仕様を用いて
いる。The SQL specification used by the application software executing means 111 will be referred to as the standard specification in the system of the first embodiment.
In the first embodiment, DBMS_A 121a and DBMS_B
121b uses SQL specifications different from the standard specifications.
【0048】アプリケーション・ソフトウェア実行手段
111からSQL_RPCが発行されると、クライアン
ト情報処理装置110上のRPCドライバ102は、ま
ず、ネームサーバ情報処理装置150上のネームサーバ
151に、このSQL文を処理するサーバのネットワー
ク・アドレスとサーバ・コンポーネントへの接続のため
のポート番号を問い合わせる。When SQL_RPC is issued from the application software execution means 111, the RPC driver 102 on the client information processing apparatus 110 first processes this SQL statement on the name server 151 on the name server information processing apparatus 150. Query the server's network address and port number for connecting to the server component.
【0049】本実施例1では、このSQL_RPCを処
理するサーバは、ゲートウェイ情報処理装置130上の
アクセス管理コンポーネント112vであるので、この
問い合わせに対して、ネームサーバ151は、ゲートウ
ェイ情報処理装置130のネットワーク・アドレス情報
とアクセス管理コンポーネント112vのポート番号を
返す。In the first embodiment, since the server that processes this SQL_RPC is the access management component 112v on the gateway information processing device 130, the name server 151 responds to this inquiry by the network of the gateway information processing device 130. -Returns the address information and the port number of the access management component 112v.
【0050】これらの情報をもとに、クライアント情報
処理装置110上のRPCドライバ102は、ゲートウ
ェイ情報処理装置130上のアクセス管理コンポーネン
ト112vとRPC接続を行い、処理対象のSQL_R
PCの処理をアクセス管理コンポーネント112vへ依
頼する。Based on these pieces of information, the RPC driver 102 on the client information processing device 110 makes an RPC connection with the access management component 112v on the gateway information processing device 130, and the SQL_R to be processed.
Request the processing of the PC to the access management component 112v.
【0051】アクセス管理コンポーネント112vは、
処理を依頼されたSQL_RPCのパラメータに含まれ
るターゲットDBMSの名称をネームサーバ151に通
知して、使用すべきSQL変換コンポーネントを問い合
わせる。本実施例1では、ネームサーバ151は、SQ
L変換手段A115aまたは、SQL変換手段B115
bのネットワーク・アドレス情報とポート番号を応答す
るので、アクセス管理コンポーネント112vは、ネー
ムサーバ151から返された該情報をもとに、該情報に
より定められる何れかのSQL変換手段に、SQL文の
変換とターゲットDBMSへのアクセス処理とをRPC
を用いて依頼する。The access management component 112v is
The name server 151 is notified of the name of the target DBMS included in the parameter of the SQL_RPC requested to be processed, and the SQL conversion component to be used is inquired. In the first embodiment, the name server 151 uses the SQ
L conversion means A115a or SQL conversion means B115
Since the network address information of b and the port number are returned, the access management component 112v, based on the information returned from the name server 151, sends the SQL statement to any SQL conversion unit defined by the information. RPC conversion and access processing to the target DBMS
To request.
【0052】SQL変換手段A115aまたはSQL変
換手段B115bが行った各DBMSへのアクセス結果
は、上述の経路を逆に辿り、前記SQL変換手段A11
5aまたはSQL変換手段B115bによって、標準の
データ形式、および標準のリターン・コードに変換した
後、アクセス管理コンポーネント112vを介してアプ
リケーション・ソフトウェア実行手段111に送られ
る。The access result to each DBMS performed by the SQL conversion unit A115a or the SQL conversion unit B115b follows the above-mentioned route in reverse, and the SQL conversion unit A11 is executed.
5a or SQL conversion means B115b, after converting to a standard data format and a standard return code, it is sent to the application software execution means 111 via the access management component 112v.
【0053】上述のSQL_RPCの処理を図4のフロ
ーチャートに示す。 (1)RPCドライバ102の処理 クライアント情報処理装置110のアプリケーション・
ソフトウェア111がSQL_RPCを発行すると、ク
ライアント情報処理装置110のRPCドライバ102
は、まず、ネームサーバ情報処理装置150上のネーム
サーバ151に、該SQL_RPCを処理するサーバの
物理位置、すなわちネットワーク・アドレスとサーバ・
コンポーネントのポート番号を問い合わせ(ステップ4
50)、得られたポート番号を用いて、ゲートウェイ情
報処理装置130上のアクセス管理コンポーネント11
2vとのRPC接続を行い、SQL_RPCの処理を該
アクセス管理コンポーネント112vへ依頼する(ステ
ップ451)。The above-mentioned SQL_RPC processing is shown in the flowchart of FIG. (1) Processing of RPC driver 102 Application of client information processing device 110
When the software 111 issues SQL_RPC, the RPC driver 102 of the client information processing device 110
First, in the name server 151 on the name server information processing device 150, the name server 151 physical location of the server that processes the SQL_RPC, that is, the network address and the server.
Queries the component port number (Step 4)
50), using the obtained port number, access management component 11 on the gateway information processing device 130
The RPC connection with the 2v is performed, and the access management component 112v is requested to process the SQL_RPC (step 451).
【0054】(2)ネームサーバ151の処理 本実施例のネームサーバ情報処理装置150は、サーバ
・コンポーネントの識別情報とアドレス等を保持するサ
ーバ情報テーブルを備える。本実施例1のサーバ情報テ
ーブルの一例を図35に示す。サーバ情報テーブルは、
サーバ・コンポーネント名格納領域(列1701)ごと
に、アドレス格納領域(列1702)と、ポート番号格
納領域(列1703)と、状態格納領域(列1704)
とを備える配列構造を有している。なお、状態格納領域
(列1704)には、各コンポーネントのステータスが
保持されており、動作中のサーバでは”RUN”、停止
中のサーバでは”STOP”、故障中のサーバでは”F
AULT”となっている。(2) Processing of the name server 151 The name server information processing device 150 of this embodiment has a server information table that holds identification information, addresses, etc. of server components. FIG. 35 shows an example of the server information table of the first embodiment. The server information table is
For each server component name storage area (column 1701), address storage area (column 1702), port number storage area (column 1703), and status storage area (column 1704)
And has an array structure including. The status of each component is held in the status storage area (column 1704), and is "RUN" for the operating server, "STOP" for the stopped server, and "F" for the failed server.
"AULT".
【0055】上述のステップ450等において、サーバ
の物理位置の問い合わせを受けたネームサーバ151
は、このサーバ情報テーブルを参照して、状態格納領域
に保持された値が”RUN”であれば、問い合わせられ
た名称に対応して保持されている該サーバ・コンポーネ
ントのネットワーク・アドレスとポート番号とを返答す
る。The name server 151 which has received the inquiry about the physical position of the server in the above step 450 and the like.
Refers to this server information table, and if the value held in the status storage area is "RUN", the network address and port number of the server component held corresponding to the inquired name. And reply.
【0056】(3)アクセス管理コンポーネント112
vの処理 ステップ401〜411は、依頼を受けたアクセス管理
コンポーネント112vの処理内容である。ステップ4
51で依頼を受けたアクセス管理コンポーネント112
vは、まず、SQL_RPCのパラメータとして送られ
てきたSQL文を解析し、アクセス先のテーブルが含ま
れるDBMSの名称を得る(ステップ401)。(3) Access management component 112
Processing of v Steps 401 to 411 are processing contents of the requested access management component 112v. Step 4
Access management component 112 requested by 51
First, v analyzes the SQL statement sent as the parameter of SQL_RPC and obtains the name of the DBMS including the table of the access destination (step 401).
【0057】なお、本実施例1では、アクセス管理コン
ポーネント112vは、単一のDBMS上のテーブルに
対する操作だけでなく、異なるDBMSの管理する複数
のデータベースに跨る複数のテーブルのデータの検索、
結合などの操作を行えるようにした。そこで、本実施例
1のアクセス管理コンポーネント112vは、アクセス
先がDBMS_A121aとDBMS_B121bとの
両方か(ステップ402)、DBMS_A121aだけ
か(ステップ403)、DBMS_B121bだけか
(ステップ404)を判断する。In the first embodiment, the access management component 112v does not only operate on a table on a single DBMS, but also searches for data in a plurality of tables across a plurality of databases managed by different DBMSs.
Made it possible to perform operations such as combining. Therefore, the access management component 112v of the first embodiment determines whether the access destinations are both the DBMS_A 121a and the DBMS_B 121b (step 402), only the DBMS_A 121a (step 403), or only the DBMS_B 121b (step 404).
【0058】アクセス先がDBMS_A121aとDB
MS_B121bの両方の場合、アクセス管理コンポー
ネント112vは、処理対象のSQL文をDBMS_A
121aに対するアクセスとDBMS_B121bに対
するアクセスに分割したSQL文を作成する(ステップ
406)。つぎに、アクセス管理コンポーネント112
vは、DBMS_A121aに対するSQL文をパラメ
ータとしたRPC(SQL_A_RPCと呼ぶ)を実行
し、その結果を得(ステップ407)、さらに、DBM
S_B121bに対するSQL文をパラメータとしたR
PC(SQL_B_RPCと呼ぶ)を実行し、その結果
を得る(ステップ408)。最後に、アクセス管理コン
ポーネント112vは、ステップ407、408で得た
結果をマージして、分割を行う前のSQL文に対応する
結果を作成し(ステップ409)、SQL_RPCの処
理を完了する(ステップ412)。The access destination is DBMS_A 121a and DB
In both cases of the MS_B 121b, the access management component 112v sends the SQL statement to be processed to the DBMS_A.
An SQL statement divided into access to 121a and access to DBMS_B 121b is created (step 406). Next, the access management component 112
v executes RPC (referred to as SQL_A_RPC) with the SQL statement for DBMS_A 121a as a parameter, obtains the result (step 407), and further executes the DBMS.
R with the SQL statement for S_B121b as a parameter
Executes PC (referred to as SQL_B_RPC) and obtains the result (step 408). Finally, the access management component 112v merges the results obtained in steps 407 and 408 to create a result corresponding to the SQL statement before division (step 409), and completes the SQL_RPC processing (step 412). ).
【0059】アクセス先がDBMS_A121a一方の
みの場合、アクセス管理コンポーネント112vは、処
理対象のSQL文をパラメータとしたRPC(SQL_
A_RPC)を発行してアクセス結果を得(ステップ4
10)、SQL_RPCの処理を完了する(ステップ4
12)。When the access destination is only one of the DBMS_A 121a, the access management component 112v uses the SQL statement to be processed as a parameter in the RPC (SQL_SQL_A).
A_RPC) is issued to get access result (step 4
10), the process of SQL_RPC is completed (step 4)
12).
【0060】アクセス先がDBMS_B121b一方の
みの場合、アクセス管理コンポーネント112vは、処
理対象のSQL文をパラメータとしたRPC(SQL_
B_RPC)を発行してアクセス結果を得(ステップ4
11)、SQL_RPCの処理を完了する(ステップ4
12)。When the access destination is only one of the DBMS_B 121b, the access management component 112v uses the SQL statement to be processed as a parameter for the RPC (SQL_SQL).
B_RPC) to issue access result (step 4
11), the processing of SQL_RPC is completed (step 4)
12).
【0061】なお、アクセス先がDBMS_A121a
およびDBMS_B121bのいずれでもない場合、ア
クセス管理コンポーネント112vは、エラーコードを
セットし(ステップ405)、SQL_RPCの処理を
終了する(ステップ412)。The access destination is DBMS_A 121a.
If it is neither the DBMS_B 121b nor the DBMS_B 121b, the access management component 112v sets an error code (step 405) and ends the SQL_RPC processing (step 412).
【0062】(4)SQL_RPCの分割(ステップ4
06) アクセス管理コンポーネント112vは、処理対象のS
QL文が複数のデータベースに対する処理の指示を含む
ことを検出すると、アクセス対象ごとに分割したSQL
_RPCを作成する(ステップ406)。図23に示し
たセレクト構文の例を用いて、アクセス管理コンポーネ
ント112vの作成するSQL文を説明する。なお、セ
レクト構文は、WHERE句により指定した条件を満た
すレコードを、FROM句に記述したアクセス対象から
検索し、該レコードのSELECT句に指定されたデー
タを構成要素とするテーブルを得るための質問指定の構
文である。(4) Division of SQL_RPC (step 4
06) The access management component 112v is the processing target S
When it is detected that the QL statement contains processing instructions for multiple databases, SQL divided for each access target
Create _RPC (step 406). The SQL statement created by the access management component 112v will be described using the example of the select syntax shown in FIG. The select syntax is a question specification for searching a record satisfying the condition specified by the WHERE clause from the access target described in the FROM clause and obtaining a table having the data specified in the SELECT clause of the record as a constituent element. Is the syntax.
【0063】アプリケーション・ソフトウェア実行手段
111が発行するSQL文2301は、”DBMS_
A”という名称のデータベース管理システムの管理す
る”SALES”というテーブルと、”DBMS_B”
という名称のデータベース管理システムの管理する”S
ALESDATA”というテーブルから、”SaleN
um”カラムの内容が0でないレコードを検索し、その
レコードの”Name”カラムの内容と”SaleNu
m”カラムの内容とのテーブルを作成することを指示す
るものである。The SQL statement 2301 issued by the application software execution means 111 is "DBMS_".
A table named "SALES" managed by a database management system named "A" and "DBMS_B"
Managed by a database management system named "S"
From the table called "ALESDATA", select "SaleN
The record in which the content of the "um" column is not 0 is searched, and the content of the "Name" column of the record and "SaleNu" are searched.
It is an instruction to create a table with the contents of the m "column.
【0064】アクセス管理コンポーネント112vは、
このSQL文2301を、DBMS_Aに対するSQL
文2302と、DBMS_Bに対するSQL文2303
に分割し、それぞれのSQL文をパラメータとしたRP
Cを発行して、その応答を結合してSQL文2301に
対する応答であるテーブルを作成するのである。The access management component 112v is
This SQL statement 2301 is changed to the SQL for DBMS_A.
Statement 2302 and SQL statement 2303 for DBMS_B
RP with each SQL statement as a parameter
C is issued and the responses are combined to create a table that is a response to the SQL statement 2301.
【0065】SQL文2302は、”DBMS_A”と
いう名称のデータベース管理システムの管理する”SA
LES”というテーブルから、”SaleNum”カラ
ムの内容が0でないレコードを検索し、そのレコード
の”Name”カラムの内容と”SaleNum”カラ
ムの内容とのテーブルを作成することを意味する。The SQL statement 2302 is "SA" managed by the database management system named "DBMS_A".
This means that a record in which the content of the “SaleNum” column is not 0 is searched from the table “LES”, and a table of the content of the “Name” column and the content of the “SaleNum” column of the record is created.
【0066】SQL文2303は、”DBMS_B”と
いう名称のデータベース管理システムの管理する”SA
LESDATA”というテーブルから、”SaleNu
m”カラムの内容が0でないレコードを検索し、そのレ
コードの”Name”カラムの内容と”SaleNu
m”カラムの内容とのテーブルを作成することを意味す
る。The SQL statement 2303 is "SA" managed by the database management system named "DBMS_B".
From the table called “LESDATA”, select “SaleNu
The record in which the content of the m "column is not 0 is searched, and the content of the" Name "column of the record and" SaleNu "are searched.
Means to create a table with the contents of the m "column.
【0067】(5)単一DBMSへのアクセスを指示す
るSQL_RPCの処理(ステップ407,410(S
QL_A_RPCの処理)、ステップ408,411
(SQL_B_RPCの処理)) 単一DBMSへのアクセスを指示するSQL_RPC
(以下、SQL_x_RPCと呼ぶ)の処理を図5に示
す。SQL_x_RPCの処理では、まず、ゲートウェ
イ情報処理装置130のRPCドライバ102が、SQ
L_x_RPCを処理するサーバ・コンポーネント(本
実施例1ではSQL変換手段A115aあるいはSQL
変換手段B115b)のネットワーク・アドレス情報と
ポート番号とを、ネームサーバ151に問い合わせ、そ
の問い合わせの応答として取得する(ステップ50
1)。(5) SQL_RPC processing for instructing access to a single DBMS (steps 407, 410 (S
Processing of QL_A_RPC), Steps 408 and 411
(Processing of SQL_B_RPC)) SQL_RPC for instructing access to a single DBMS
The processing of (hereinafter, referred to as SQL_x_RPC) is shown in FIG. In the process of SQL_x_RPC, first, the RPC driver 102 of the gateway information processing device 130 makes the SQ
A server component that processes L_x_RPC (in the first embodiment, the SQL conversion means A115a or SQL
The network address information and the port number of the conversion means B115b) are inquired to the name server 151 and acquired as a response to the inquiry (step 50).
1).
【0068】次に、ゲートウェイ情報処理装置130の
RPCドライバ102は、ステップ501の問い合わせ
によって検出したSQL変換手段115に対し、SQL
_x_RPCを引き渡し、その処理を依頼する(ステッ
プ502)。Next, the RPC driver 102 of the gateway information processing apparatus 130 sends SQL to the SQL conversion means 115 detected by the inquiry in step 501.
_X_RPC is delivered and its processing is requested (step 502).
【0069】なお、本実施例1では、ステップ501に
おいて問い合わせを行なったRPCドライバ102と、
SQL変換手段A115aおよびSQL変換手段B11
5bとが、いずれも同じゲートウェイ情報処理装置13
0にあることから、RPCドライバ102は、ネットワ
ーク・アドレス情報とポート番号とを用いなくても、S
QL_x_RPCをSQL変換手段115に通知するこ
とができる。そこで、本実施例1では、ステップ501
の処理を省略してもよい。In the first embodiment, the RPC driver 102 inquired in step 501,
SQL conversion means A115a and SQL conversion means B11
5b and the same gateway information processing device 13
Since it is 0, the RPC driver 102 does not need to use the network address information and the port number,
QL_x_RPC can be notified to the SQL conversion means 115. Therefore, in the first embodiment, step 501
The process of may be omitted.
【0070】ステップ503、504、505は処理を
依頼されたSQL変換手段115の処理である。SQL
変換手段115は、RPCのパラメータとして受け取っ
た標準仕様のSQL文をターゲットDBMSのSQL仕
様に変換する(ステップ503)。次に、SQL変換手
段115は、変換によって作成したSQL文をターゲッ
トDBMSに送り、ターゲットDBMSでの前記SQL
文の実行結果を得る(ステップ504)。さらに、SQ
L変換手段115は、実行結果として得たデータおよび
リターンコードを、ターゲットDBMSのSQL仕様か
ら標準のSQL仕様に変換する(ステップ505)。最
後に、SQL変換手段115は、変換結果をリターンデ
ータ、リターンコードとして、SQL_x_RPCの処
理を終了する(ステップ506)。Steps 503, 504 and 505 are the processing of the SQL conversion means 115 requested to be processed. SQL
The conversion unit 115 converts the standard SQL statement received as the RPC parameter into the SQL specification of the target DBMS (step 503). Next, the SQL conversion means 115 sends the SQL sentence created by the conversion to the target DBMS, and the SQL in the target DBMS is sent.
A statement execution result is obtained (step 504). Furthermore, SQ
The L conversion means 115 converts the data obtained as the execution result and the return code from the SQL specification of the target DBMS to the standard SQL specification (step 505). Finally, the SQL conversion means 115 ends the processing of SQL_x_RPC using the conversion result as return data and a return code (step 506).
【0071】つぎに、各SQL変換手段115a,bに
よるSQL文の変換(ステップ503)を図24に示し
た例を用いて説明する。SQL変換手段115a,b
は、入力されたSQL構文を、それぞれのターゲットと
するDBMSのSQL仕様に変換する。なお、ステップ
505では、この逆の変換が行なわれる。Next, conversion of the SQL sentence (step 503) by the SQL conversion means 115a and 115b will be described using the example shown in FIG. SQL conversion means 115a, b
Converts the input SQL syntax into the SQL specification of each target DBMS. In step 505, the reverse conversion is performed.
【0072】本実施例1における標準仕様のSQLで
は、”等しくない”ことを示す演算子は、”<>”であ
るが、DBMS_A121aのSQL仕様では”!=”
を、DBMS_B 121bのSQL仕様では”^=”
を用いるとする。この場合、SQL変換手段A115a
は、標準仕様のSQL文2302(図23に図示)を、
図24の構文2402に示すように変換する。すなわ
ち、SQL変換手段A115aは、構文2302の”<
>”を”!=”に変換する。また、SQL変換手段B1
15bは、標準仕様のSQL文2303(図23に図
示)を、図24の構文2403に示すように変換する。
すなわち、SQL変換手段B115bは、構文2302
の”<>”を”^=”に変換する。In the standard SQL of the first embodiment, the operator indicating "not equal" is "<>", but in the SQL specification of the DBMS_A 121a, "! =".
In the SQL specification of DBMS_B 121b, "^ ="
Is used. In this case, the SQL conversion means A115a
Is a standard SQL statement 2302 (shown in FIG. 23),
The conversion is performed as shown in the syntax 2402 in FIG. That is, the SQL conversion means A 115 a uses the syntax 2302 “<
> ” = ". Also, SQL conversion means B1
15b converts the standard SQL statement 2303 (shown in FIG. 23) as shown in the syntax 2403 of FIG.
That is, the SQL conversion unit B115b has the syntax 2302.
"<>" Of is converted to "^ =".
【0073】以上説明したように、アクセス管理コンポ
ーネント112v、SQL変換手段A115a、SQL
変換手段B115bを具備することによって、アプリケ
ーション・ソフトウェア実行手段111からは、仕様の
異なる複数のDBMS上のテーブルを、その仕様の違い
を意識すること無く、単一の標準仕様のSQL文を用い
てアクセスすることができる。As described above, the access management component 112v, SQL conversion means A115a, SQL
By including the conversion unit B115b, the application / software execution unit 111 uses a single SQL statement of the standard specifications for the tables on the plurality of DBMSs having different specifications without being aware of the difference in the specifications. Can be accessed.
【0074】(6)ゲートウェイ情報処理装置130内
のプロセスの生成、消滅 本実施例1におけるゲートウェイ情報処理装置130内
のプログラムの動作の一例を図10に示す。ここでは、
クライアント情報処理装置を2台接続し、クライアント
情報処理装置110aからはサーバ情報処理装置120
a上のDBMS_Aとサーバ情報処理装置120b上の
DBMS_Bを、クライアント情報処理装置110bか
らはサーバ情報処理装置120b上のDBMS_Bをア
クセスする場合を示す。(6) Generation and Deletion of Processes in Gateway Information Processing Device 130 FIG. 10 shows an example of the operation of the program in the gateway information processing device 130 in the first embodiment. here,
Two client information processing devices are connected, and the client information processing device 110a is connected to the server information processing device 120.
The case where the DBMS_A on the server a and the DBMS_B on the server information processing device 120b are accessed, and the DBMS_B on the server information processing device 120b is accessed from the client information processing device 110b is shown.
【0075】アクセス管理コンポーネント112vで
は、クライアント情報処理装置との接続単位にプロセス
が生成される。SQL変換手段A115a、SQL変換
手段B115bについても、アクセス管理コンポーネン
ト112vの各プロセスからのアクセス要求がRPCを
用いて発行される毎にプロセスが生成される。また、デ
ータベース・ドライバA122a、データベース・ドラ
イバB122bは、それぞれSQL変換手段A115
a、SQL変換手段B115bの各1プロセスに対して
1プロセスが生成されるように動作する。In the access management component 112v, a process is created for each connection with the client information processing device. Also for the SQL conversion means A 115a and the SQL conversion means B 115b, a process is generated each time an access request from each process of the access management component 112v is issued using RPC. Further, the database driver A 122a and the database driver B 122b are respectively SQL conversion means A115.
a, one process of the SQL conversion means B115b operates so that one process is generated.
【0076】これらのプロセスは、アクセスの終了と共
に消滅する。このようなプロセス生成・消滅をゲートウ
ェイ情報処理装置130で行うことによって、複数のク
ライアント情報処理装置から複数のサーバ情報処理装置
へのアクセスを同時に処理することができる。These processes disappear with the end of access. By causing the gateway information processing device 130 to perform such process generation / destruction, it is possible to simultaneously process access from a plurality of client information processing devices to a plurality of server information processing devices.
【0077】C.適用例 ネットワーク100に、互いに異なる仕様を有するデー
タベース管理システムを備える2つの既存のシステム6
00aと600bとが接続されているネットワーク10
0に本実施例1の異種データベースアクセスシステムを
適用する場合の例を、図18を用いて説明する。C. Application Example Two existing systems 6 having database management systems having different specifications in the network 100
Network 10 in which 00a and 600b are connected
An example in which the heterogeneous database access system of the first embodiment is applied to 0 will be described with reference to FIG.
【0078】システム600aは、DBMS_Aを用い
たサーバ情報処理装置121aとDBMS_A専用のデ
ータベースドライバA、アプリケーション・ソフトウェ
アA実行手段が搭載されたクライアント情報処理装置1
10aから構成される。また、システム600bは、D
BMS_Bを用いたサーバ情報処理装置121bとDB
MS_B専用のデータベースドライバB、アプリケーシ
ョン・ソフトウェアBが搭載されたクライアント情報処
理装置110bから構成される。The system 600a is a client information processing apparatus 1 having a server information processing apparatus 121a using DBMS_A, a database driver A dedicated to DBMS_A, and application software A executing means.
It is composed of 10a. Also, the system 600b is D
Server information processing device 121b and DB using BMS_B
It comprises a database driver B dedicated to MS_B and a client information processing device 110b on which application software B is installed.
【0079】これらの既存のシステムに、上述のゲート
ウェイ情報処理装置130、ネームサーバ情報処理装置
150、クライアント情報処理装置110からなる付加
システム500を付加することによって、既存のシステ
ム600a、600bの構成を何等変更することなく、
追加したクライアント情報処理装置110から単一の標
準仕様のSQL文を用いて、仕様の異なる複数のDBM
Sにアクセスすることができる。By adding the additional system 500 including the gateway information processing device 130, the name server information processing device 150, and the client information processing device 110 to these existing systems, the existing systems 600a and 600b are configured. Without changing anything
From the added client information processing device 110, a plurality of DBMs having different specifications can be used by using a single SQL statement of standard specifications.
S can be accessed.
【0080】(実施例2)ところで、本発明では、アプ
リケーション・ソフトウェア実行手段111からアクセ
ス管理コンポーネント112vへのアクセスと、該アク
セス管理コンポーネント112vからのSQL変換手段
115へのアクセスにRPCを用いている。このため、
実施例1に示した異種データベース・アクセス・システ
ムにおけるゲートウェイ情報処理装置130への負荷集
中によるデータベース・アクセス性能の低下を、ゲート
ウェイ情報処理装置130の追加によって容易に回避で
きる。本実施例2では、ゲートウェイ情報処理装置13
0を追加した場合の実施例を説明する。(Second Embodiment) By the way, in the present invention, RPC is used for the access to the access management component 112v from the application software execution means 111 and the access to the SQL conversion means 115 from the access management component 112v. . For this reason,
The addition of the gateway information processing device 130 can easily avoid the deterioration of the database access performance due to the load concentration on the gateway information processing device 130 in the heterogeneous database access system shown in the first embodiment. In the second embodiment, the gateway information processing device 13
An example in which 0 is added will be described.
【0081】本実施例2では、図9の構成図に示すよう
に、SQL変換手段A115aを具備したゲートウェイ
情報処理装置130aと、SQL変換手段B115bを
具備したゲートウェイ情報処理装置130bの2台のゲ
ートウェイ情報処理装置がネットワーク100に接続さ
れている。すなわち、本実施例2は、SQL変換手段1
15ごとにゲートウェイ情報処理装置130が設けられ
ている点で実施例1とは異なる。In the second embodiment, as shown in the configuration diagram of FIG. 9, two gateways, that is, a gateway information processing device 130a equipped with the SQL conversion means A115a and a gateway information processing device 130b equipped with the SQL conversion means B115b. The information processing device is connected to the network 100. That is, the second embodiment is based on the SQL conversion means 1.
It differs from the first embodiment in that a gateway information processing device 130 is provided for each 15.
【0082】クライアント情報処理装置110上のRP
Cドライバ102は、実施例1と同様、アプリケーショ
ン・ソフトウェア実行手段111が発行するSQL_R
PCを受け付けると、まず、該SQL_RPCを処理す
るサーバの物理位置すなわちネットワーク・アドレスと
ポート番号をネームサーバ151に問い合わせる。RP on client information processing device 110
Similar to the first embodiment, the C driver 102 uses SQL_R issued by the application software execution unit 111.
When the PC is accepted, first, the name server 151 is inquired about the physical location of the server that processes the SQL_RPC, that is, the network address and the port number.
【0083】本実施例2のサーバ情報テーブルは、図1
7に示すように、一つのサーバ・コンポーネント名に対
応して、複数のサーバの情報(アドレス、ポート番号、
および状態)が保持されている。そこで、本実施例2の
ネームサーバ151は、サーバ情報テーブル1700を
参照し、指定されたサーバ・コンポーネント名に対応す
る稼働中のすべてのサーバ・コンポーネントのネットワ
ーク・アドレスおよびポート番号を返答する。すなわ
ち、ネームサーバ151は、列1701に指定されたサ
ーバ・コンポーネント名が保持されていおり、かつ、列
1704に”RUN”が保持されているすべての行の、
列1702に保持されているデータ(ネットワーク・ア
ドレス)および列1703に保持されているデータ(ポ
ート番号)を返答する。The server information table of the second embodiment is shown in FIG.
As shown in 7, information on a plurality of servers (address, port number,
And state) are retained. Therefore, the name server 151 of the second embodiment refers to the server information table 1700 and returns the network addresses and port numbers of all the operating server components corresponding to the specified server component name. That is, the name server 151 holds all the server component names specified in the column 1701 and all the rows in which “RUN” is held in the column 1704,
The data (network address) held in the column 1702 and the data (port number) held in the column 1703 are returned.
【0084】本実施例2では、前記SQL_RPCを処
理するサーバすなわちアクセス管理コンポーネント11
2vは、ゲートウェイ情報処理装置130aと130b
との両方に搭載されており、ネームサーバ151から
は、前記問い合わせに対して2つのアクセス管理コンポ
ーネント112vの物理位置が返答される。クライアン
ト情報処理装置110上のRPCドライバ102は、第
1の選択手段として、返答された複数のアクセス管理コ
ンポーネント112vの中から、一つを選択し、処理を
依頼する。In the second embodiment, the server that processes the SQL_RPC, that is, the access management component 11
2v is a gateway information processing device 130a and 130b
And the name server 151 returns the physical positions of the two access management components 112v in response to the inquiry. The RPC driver 102 on the client information processing apparatus 110, as a first selection unit, selects one from the plurality of returned access management components 112v and requests processing.
【0085】なお、本実施例2の異種データベースアク
セスシステムの各構成要素の処理は、ここに特に記述し
た処理以外は、実施例1の場合と同様である。The processing of each component of the heterogeneous database access system of the second embodiment is the same as that of the first embodiment except for the processing particularly described here.
【0086】A.動作例 つぎに、ゲートウェイ情報処理装置130a上のアクセ
ス管理コンポーネント112vが選択された場合の動作
を説明する。A. Operation Example Next, an operation when the access management component 112v on the gateway information processing device 130a is selected will be described.
【0087】アプリケーション・ソフトウェア実行手段
111から発行されるSQL_RPCは、まず、クライ
アント情報処理装置110のRPCドライバ102によ
り、ゲートウェイ情報処理装置130a上のアクセス管
理コンポーネント112vに送られる。The SQL_RPC issued from the application software execution means 111 is first sent to the access management component 112v on the gateway information processing device 130a by the RPC driver 102 of the client information processing device 110.
【0088】ゲートウェイ情報処理装置130aのアク
セス管理コンポーネント112vは、すでに図4を用い
て説明したように、受け付けたSQL_RPCのターゲ
ットのDBMSに応じて、SQL_A_RPCおよび/
またはSQL_B_RPCを発行する。つぎに、アクセ
ス管理コンポーネント112aは、発行したSQL_x
_RPCがSQL_A_RPCであれば、SQL変換手
段A115aに通知して処理させ、発行したSQL_x
_RPCがSQL_B_RPCであれば、SQL変換手
段B115bに通知して処理させる。As described above with reference to FIG. 4, the access management component 112v of the gateway information processing device 130a determines whether SQL_A_RPC and / or SQL_A_RPC is set according to the target DBMS of the received SQL_RPC.
Or issue SQL_B_RPC. The access management component 112a then issues the issued SQL_x.
If _RPC is SQL_A_RPC, the SQL conversion unit A115a is notified and processed, and issued SQL_x.
If _RPC is SQL_B_RPC, the SQL conversion means B115b is notified and processed.
【0089】なお、本実施例2のシステムでは、SQL
_B_RPCを処理するSQL変換手段B115bは、
処理を依頼されたアクセス管理コンポーネント112a
が存在するゲートウェイ情報処理装置130aとは別の
ゲートウェイ情報処理装置130bに存在する。従っ
て、ゲートウェイ情報処理装置130aのRPCドライ
バ102は、SQL_B_RPCを、LAN100を経
由してゲートウェイ情報処理装置130b上のSQL変
換手段B115bに通知する。複数のSQL変換手段B
115bを備えるシステムにおいては、ゲートウェイ情
報処理装置130aのRPCドライバ102は、第2の
選択手段として、上述のクライアント情報処理装置11
0のRPCドライバ102と同様の手順により、通知す
るSQL変換手段B115bを選択するようにしてもよ
い。In the system of the second embodiment, the SQL is
The SQL conversion means B115b for processing _B_RPC is
Access management component 112a requested to process
Exists in a gateway information processing device 130b different from the gateway information processing device 130a in which Therefore, the RPC driver 102 of the gateway information processing device 130a notifies the SQL_B_RPC to the SQL conversion means B115b on the gateway information processing device 130b via the LAN 100. Multiple SQL conversion means B
In the system including 115b, the RPC driver 102 of the gateway information processing device 130a serves as the second selecting unit and operates as the client information processing device 11 described above.
The SQL conversion unit B115b to be notified may be selected by the same procedure as that of the 0 RPC driver 102.
【0090】このように、本実施例2では、SQL変換
手段115へのアクセスをRPCを用いて行い、ゲート
ウェイ情報処理装置130上のRPCドライバ102
が、処理を依頼するSQL変換手段115の選択を行う
ので、SQL変換手段115が複数のゲートウェイ情報
処理装置130上に分散していても、アプリケーション
・ソフトウェア実行手段111がその位置を意識するこ
となくアクセスすることができる。したがって、システ
ム内に存在する種々のDBMSに対応したSQL変換手
段115は、システム内のどれかのゲートウェイ情報処
理装置130にあればよく、すべてのSQL変換手段1
15を各ゲートウェイ情報処理装置130が持つ必要は
ない。これによって、各ゲートウェイ情報処理装置13
0への負荷集中の回避、SQL変換手段115の導入や
メンテナンス工数の低減を図ることができる。As described above, in the second embodiment, the RPC driver 102 on the gateway information processing device 130 is used to access the SQL conversion means 115.
However, since the SQL conversion unit 115 requesting the processing is selected, even if the SQL conversion unit 115 is distributed over a plurality of gateway information processing devices 130, the application / software execution unit 111 does not need to be aware of the position. Can be accessed. Therefore, the SQL conversion means 115 corresponding to various DBMS existing in the system may be in any of the gateway information processing devices 130 in the system, and all SQL conversion means 1
It is not necessary for each gateway information processing device 130 to have 15. As a result, each gateway information processing device 13
It is possible to avoid the concentration of load on 0, introduce the SQL conversion means 115, and reduce the number of maintenance steps.
【0091】B.選択方法 クライアント情報処理装置110上のRPCドライバ1
02は、アクセス管理コンポーネント112vの選択を
実行し、SQL_RPCを通知する。また、ゲートウェ
イ情報処理装置130aおよび130b上のRPCドラ
イバ102は、SQL変換手段A115aまたはSQL
変換手段B115bの選択を実行し、SQL_x_RP
Cを通知する。そこで、ネームサーバ151への問い合
わせの結果、複数の候補が該ネームサーバ151から返
答されたときの、RPCドライバ102の、通知対象の
選択方法の例について以下に示す。B. Selection method RPC driver 1 on client information processing device 110
02 executes selection of the access management component 112v and notifies SQL_RPC. In addition, the RPC driver 102 on the gateway information processing devices 130a and 130b uses the SQL conversion means A115a or SQL.
The conversion means B115b is selected, and SQL_x_RP is selected.
Notify C. Therefore, an example of a method of selecting a notification target of the RPC driver 102 when a plurality of candidates are returned from the name server 151 as a result of an inquiry to the name server 151 will be shown below.
【0092】(1)無作為選択 第一の選択方法は、複数の候補からランダムに選択する
方法である。図12に示すように、候補の数が2以上の
ときは(ステップ1201)乱数を発生させ(ステップ
1202)、該乱数を候補の数Nで割りその剰余を求め
(ステップ1203)、該剰余+1番目の候補をサーバ
コンポーネントとして選択(ステップ1204)する方
法などが考えられる。(1) Random Selection The first selection method is a method of randomly selecting from a plurality of candidates. As shown in FIG. 12, when the number of candidates is 2 or more (step 1201), a random number is generated (step 1202), the random number is divided by the number N of candidates, and the remainder is calculated (step 1203). A method of selecting the second candidate as a server component (step 1204) can be considered.
【0093】(2)優先順位による選択 第二の選択方法は、予め登録した優先順位を用いる方法
である。この方法では、サーバコンポーネントの優先順
位を例えば図13に示すようなテーブル形式で、RPC
ドライバ102の参照可能なファイルなどに予め格納し
ておき、RPCドライバ102は、ネームサーバ151
から返答された複数の候補の内、優先順位の高いサーバ
・コンポーネントを選択する。(2) Selection Based on Priority Order The second selection method is to use the priority order registered in advance. In this method, the priority order of the server components is set in the RPC in a table format as shown in FIG.
The RPC driver 102 is stored in advance in a file that can be referred to by the driver 102, and the RPC driver 102 uses the name server 151.
The server component with the highest priority is selected from the plurality of candidates returned from the server component.
【0094】なお、図13の列1301は優先順位、列
1302はサーバ名称の格納領域である。この方法を用
いる場合、RPCを発行するコンポーネントと同じ情報
処理装置上にサーバコンポーネントが存在する場合に、
そのサーバ・コンポーネントを高い優先順位に設定すれ
ば、ネットワークを経由することによるオーバーヘッド
を抑えることができる。A column 1301 in FIG. 13 is a priority order, and a column 1302 is a server name storage area. When using this method, when the server component exists on the same information processing device as the component that issues the RPC,
Setting the server component to a high priority will reduce the overhead of going through the network.
【0095】(3)負荷状態による選択 第三の方法は、各ゲートウェイサーバ情報処理装置13
0の負荷の状態によって、選択する方法である。負荷状
態とは、例えば、ゲートウェイサーバ情報処理装置13
0で動作中のあらゆるプログラムのインストラクション
のCPU占有率や、外部記憶装置へのアクセス頻度であ
る。この方法を用いるときは、問い合わせに対して、各
ゲートウェイ・サーバのオペレーティング・システム
(OS)が提供するCPUや外部記憶装置などの負荷状
態を返答する負荷情報通知手段(図示せず)を、各ゲー
トウェイサーバ情報処理装置130に設ける。また、各
RPCドライバ102の記憶領域(図示せず)に、サー
バ・コンポーネント(アクセス管理コンポーネント11
2vまたはSQL変換手段115)の候補の数(Nとす
る)の格納領域、カウンタ用変数(cとする)の格納領
域、最小負荷サーバ・ナンバー記憶変数(nとする)の
格納領域、最小負荷記憶変数(LMINとする)格納領
域、および負荷状態を示す変数(Lとする)の格納領域
を備える。この第三の方法による選択処理の手順を図1
4に示す。なお、負荷情報通知手段は、ゲートウェイサ
ーバ情報処理装置130の主記憶装置1001に保持さ
れたインストラクションを、ゲートウェイサーバ情報処
理装置130のCPUが実行することにより実現され
る。(3) Selection According to Load State The third method is for each gateway server information processing device 13
This method is selected depending on the load state of 0. The load state means, for example, the gateway server information processing device 13
The CPU occupancy rate of instructions of all programs operating at 0 and the frequency of access to the external storage device. When this method is used, load information notification means (not shown) for returning the load status of the CPU, external storage device, etc. provided by the operating system (OS) of each gateway server in response to an inquiry It is provided in the gateway server information processing device 130. Further, a server component (access management component 11) is stored in a storage area (not shown) of each RPC driver 102.
2v or SQL conversion means 115) number of candidates (N) storage area, counter variable (c) storage area, minimum load server number storage variable (n) storage area, minimum load The storage area includes a storage variable (denoted as LMIN) and a storage area for a variable (denoted as L) indicating a load state. FIG. 1 shows the procedure of the selection process according to the third method.
4 shows. The load information notifying unit is realized by the CPU of the gateway server information processing device 130 executing the instructions held in the main storage device 1001 of the gateway server information processing device 130.
【0096】RPCドライバ102は、サーバ・コンポ
ーネント候補数N格納領域、カウンタ用変数c格納領
域、最小負荷サーバ・ナンバー記憶変数n格納領域、最
小負荷記憶変数LMIN格納領域を初期化する(ステッ
プ1401)。なお、ステップ1401における初期化
とは、各格納領域に初期値を格納することであり、本実
施例2では、サーバ・コンポーネント候補数Nの初期値
は、通知された候補数、カウンタ用変数cおよび最小負
荷サーバ・ナンバー記憶変数nの初期値はそれぞれ1、
最小負荷記憶変数LMINの初期値は100である。The RPC driver 102 initializes the server component candidate number N storage area, the counter variable c storage area, the minimum load server number storage variable n storage area, and the minimum load storage variable LMIN storage area (step 1401). . The initialization in step 1401 means storing an initial value in each storage area. In the second embodiment, the initial value of the server component candidate number N is the notified number of candidates and the counter variable c. And the initial value of the minimum load server number storage variable n is 1, respectively.
The initial value of the minimum load storage variable LMIN is 100.
【0097】つぎに、RPCドライバ102は、サーバ
・コンポーネント候補が複数かどうかを調べ、1個だけ
なら、負荷を調べる必要がないのでステップ1410に
制御を移して、選択結果を、候補に挙げられているサー
バ・コンポーネントとする(ステップ1402)。Next, the RPC driver 102 checks whether or not there are a plurality of server component candidates, and if there is only one, there is no need to check the load, so control is transferred to step 1410, and the selection result is listed as a candidate. Server component (step 1402).
【0098】サーバ・コンポーネント候補が複数の場合
には、RPCドライバ102は、c番目の候補のサーバ
・コンポーネントの備えられているゲートウェイサーバ
情報処理装置130の負荷情報通知手段に負荷情報を問
い合わせ(ステップ1403)、サーバ・コンポーネン
トから返された負荷状態を示す数値を変数Lの格納領域
に格納する(ステップ1404)。ここで、負荷状態を
示す数値は、0から100までの数値(百分率)で表わ
される。例えば、ゲートウェイサーバ情報処理装置13
0で並列実行しているプログラムが多いほど、値が大き
い。これに対し、実行しているプログラムが存在しない
場合は、0近傍の値となる。When there are a plurality of server component candidates, the RPC driver 102 inquires the load information notifying means of the gateway server information processing device 130, which is equipped with the c-th candidate server component, about the load information (step). 1403), the numerical value indicating the load state returned from the server component is stored in the storage area of the variable L (step 1404). Here, the numerical value indicating the load state is represented by a numerical value (percentage) from 0 to 100. For example, the gateway server information processing device 13
The value increases as the number of programs executed in parallel at 0 increases. On the other hand, when there is no program being executed, the value is close to 0.
【0099】次に、RPCドライバ102は、それまで
に調べた他のサーバの負荷の最小値LMINと前記変数
Lとを比較し(ステップ1405)、変数Lの方が小さ
いときは、LMINにLの値を格納し(ステップ140
6)、最小負荷サーバ・ナンバーnに上記調査を行った
サーバ・コンポーネントの候補番号すなわちcの値を格
納する(ステップ1407)。こののち、RPCドライ
バ102は、カウンタ用変数cの値を1増やし(ステッ
プ1408)、最後の候補まで負荷の調査が終わったか
どうかを調べ(ステップ1409)、まだの場合には、
ステップ1403〜1409を繰り返す。Next, the RPC driver 102 compares the minimum value LMIN of the load of the other servers that has been checked up to that time with the variable L (step 1405). If the variable L is smaller, LMIN is set to LMIN. Stores the value of (step 140
6) Store the candidate number of the server component that has been investigated, that is, the value of c in the minimum load server number n (step 1407). After that, the RPC driver 102 increments the value of the counter variable c by 1 (step 1408), checks whether or not the load examination has been completed up to the last candidate (step 1409), and if not,
Repeat steps 1403 to 1409.
【0100】このようにして、最小の負荷であったサー
バ・コンポーネントの候補番号がn格納領域に保持され
るので、RPCドライバ102は、n格納領域に保持さ
れた候補番号で示されるサーバ・コンポーネントを選択
し処理を終了する(ステップ1410)。In this way, the candidate number of the server component having the smallest load is held in the n storage area, so that the RPC driver 102 determines that the server component indicated by the candidate number held in the n storage area. Is selected to end the process (step 1410).
【0101】この方法によれば、負荷の小さな情報処理
装置上のサーバ・コンポーネントを選択できるので、負
荷が一台の情報処理装置に集中することを回避でき、高
速に処理を実行できる。なお、負荷情報通知手段を、各
サーバ・コンポーネントごとに設けてもよい。この場
合、ステップ1403における問い合わせは、候補とな
ったサーバ・コンポーネントごとに行なわれる。このよ
うにすれば、情報処理装置全体ではなく、各サーバ・コ
ンポーネントの負荷状態に応じて使用するサーバ・コン
ポーネントを決定することができる。According to this method, it is possible to select a server component on an information processing device with a light load, so that it is possible to avoid the load from concentrating on one information processing device, and to execute processing at high speed. The load information notifying means may be provided for each server component. In this case, the inquiry in step 1403 is made for each candidate server component. By doing so, the server component to be used can be determined according to the load state of each server component rather than the entire information processing apparatus.
【0102】(4)応答時間による選択 第四の選択方法は、各ゲートウェイサーバ情報処理装置
130からの応答時間をもとに選択する方法である。こ
の方法を用いる場合は、各RPCドライバ102の記憶
領域(図示せず)に、サーバ・コンポーネント(アクセ
ス管理コンポーネント112vまたはSQL変換手段1
15)の候補の数(Nとする)の格納領域、カウンタ用
変数(cとする)の格納領域、最小応答時間サーバ・ナ
ンバー記憶変数(nとする)格納領域、最小応答時間記
憶変数(RMINとする)格納領域、および応答時間
(Rとする)格納領域を備える。この第四の方法による
選択処理の手順を図15に示す。(4) Selection by Response Time The fourth selection method is a method of selection based on the response time from each gateway server information processing device 130. When this method is used, a server component (access management component 112v or SQL conversion means 1) is stored in a storage area (not shown) of each RPC driver 102.
15) Storage area for the number of candidates (N), storage area for counter variable (c), minimum response time server number storage variable (n) storage area, minimum response time storage variable (RMIN) And a response time (denoted by R) storage area. FIG. 15 shows the procedure of the selection process according to the fourth method.
【0103】RPCドライバ102は、サーバ・コンポ
ーネント候補数N格納領域、カウンタ用変数c格納領
域、最小応答時間サーバ・ナンバー記憶変数n格納領
域、および最小応答時間記憶変数RMIN格納領域を初
期化する(ステップ1501)。なお、ステップ150
1における初期化とは、各格納領域に初期値を格納する
ことであり、本実施例2では、サーバ・コンポーネント
候補数Nの初期値は、通知された候補数、カウンタ用変
数cおよび最小負荷サーバ・ナンバー記憶変数nの初期
値はそれぞれ1、最小応答時間記憶変数RMINの初期
値は100である。The RPC driver 102 initializes a server component candidate number N storage area, a counter variable c storage area, a minimum response time server number storage variable n storage area, and a minimum response time storage variable RMIN storage area ( Step 1501). Note that step 150
The initialization in 1 is to store the initial value in each storage area. In the second embodiment, the initial value of the server component candidate number N is the notified number of candidates, the counter variable c, and the minimum load. The server number storage variable n has an initial value of 1, and the minimum response time storage variable RMIN has an initial value of 100.
【0104】つぎに、RPCドライバ102は、サーバ
・コンポーネント候補が複数かどうかを調べ、1個だけ
なら応答時間を調べる必要がないのでステップ1510
に制御を移す(ステップ1502)。Next, the RPC driver 102 checks whether or not there are a plurality of server component candidates, and if there is only one, it is not necessary to check the response time.
Control is transferred to (step 1502).
【0105】サーバ・コンポーネント候補が複数の場合
には、RPCドライバ102は、c番目の候補のサーバ
・コンポーネントに応答時間計測のためのダミーのRP
Cを発行し(ステップ1503)、このRPCに対する
応答時間を変数R格納領域に格納する(ステップ150
4)。When there are a plurality of server component candidates, the RPC driver 102 sends a dummy RP for measuring the response time to the c-th candidate server component.
C is issued (step 1503), and the response time for this RPC is stored in the variable R storage area (step 150).
4).
【0106】次に、RPCドライバ102は、それまで
に調べた他のサーバ・コンポーネントの応答時間の最小
値RMINと変数Rとを比較し(ステップ1505)、
変数Rの方が小さければRMINにRの値を格納する
(ステップ1506)。こののち、RPCドライバ10
2は、最小応答時間サーバ・ナンバーnに前記調査を行
ったサーバ・コンポーネントの候補番号すなわちcの値
を格納して(ステップ1507)、カウンタ用変数cを
1増やす(ステップ1508)。さらに、RPCドライ
バ102は、最後の候補まで応答時間の調査が終わった
かどうかを調べ(ステップ1509)、まだの場合には
ステップ1503〜1509を繰り返す。Next, the RPC driver 102 compares the minimum value RMIN of the response times of the other server components examined up to that time with the variable R (step 1505),
If the variable R is smaller, the value of R is stored in RMIN (step 1506). After this, the RPC driver 10
2 stores the candidate number of the investigated server component, that is, the value of c in the minimum response time server number n (step 1507) and increments the counter variable c by 1 (step 1508). Further, the RPC driver 102 checks whether or not the response time has been checked up to the last candidate (step 1509), and if not done, steps 1503 to 1509 are repeated.
【0107】このようにして、すべての候補の調査が終
わると(ステップ1509)、最小の応答時間であった
サーバ・コンポーネントの候補番号がn格納領域に保持
されていることになるので、RPCドライバ102は、
候補番号nで示されるサーバ・コンポーネントを選択
し、処理を終了する(ステップ1510)。In this way, when the examination of all the candidates is completed (step 1509), the candidate number of the server component having the minimum response time is held in the n storage area. 102 is
The server component indicated by the candidate number n is selected, and the process ends (step 1510).
【0108】上述の応答時間は、サーバ・コンポーネン
トが搭載された情報処理装置の性能および負荷状態、該
情報処理装置までの通信経路の距離、通信経路の混み具
合などを反映したものであるので、応答時間が最小のサ
ーバ・コンポーネントを採用することによって、最適な
処理を行うことができる。The above-mentioned response time reflects the performance and load state of the information processing apparatus in which the server component is mounted, the distance of the communication path to the information processing apparatus, the congestion degree of the communication path, etc. Optimal processing can be performed by employing the server component with the shortest response time.
【0109】(5)ブロードキャスト通信を用いた応答
時間による選択 応答時間によるサーバ・コンポーネントの選択は、ブロ
ードキャスト通信を使うことによって、上述した第四の
方法よりも簡単に行うこともできる。この方法を用いる
場合、各サーバ・コンポーネントは、処理可能なサーバ
・コンポーネントを募集するブロードキャストRPCに
対して応答する手段(図示せず)を備える。この方法で
の選択処理の手順を図16に示す。なお、上記応答する
手段は、該手段の存在する各情報処理装置の、主記憶装
置1001上に保持されたインストラクションを、CP
Uが実行することにより実現される。(5) Selection by Response Time Using Broadcast Communication The selection of the server component by response time can be performed more easily than the above-mentioned fourth method by using broadcast communication. Using this method, each server component comprises means (not shown) that responds to a broadcast RPC that recruits server components that it can handle. FIG. 16 shows the procedure of the selection process in this method. It should be noted that the above-mentioned means for responding to the instruction stored in the main storage device 1001 of each information processing apparatus in which the means is present is a CP.
It is realized by U executing.
【0110】まず、RPCドライバ102は、処理可能
なサーバ・コンポーネントを募集するブロードキャスト
RPCを発行し(ステップ1601)、応答を待つ(ス
テップ1602)。このブロードキャストRPCに対す
る応答には、応答したサーバ・コンポーネントに関する
情報が含まれているので、最初に応答があった時点で、
RPCドライバ102は、その応答から応答したサーバ
・コンポーネントのサーバ名を取得し(ステップ160
3)、該サーバ・コンポーネントを実際に処理を依頼す
るサーバとして採用して、処理を終了する(ステップ1
690)。First, the RPC driver 102 issues a broadcast RPC requesting a processable server component (step 1601) and waits for a response (step 1602). The response to this broadcast RPC contains information about the server component that responded, so at the time of the first response,
The RPC driver 102 obtains the server name of the server component that responded from the response (step 160).
3) The server component is adopted as a server that actually requests the process, and the process is terminated (step 1).
690).
【0111】なお、二番目以降に応答したサーバ・コン
ポーネントは無視される。このように、ブロードキャス
トRPCを用いて処理を依頼するサーバ・コンポーネン
トを選択することによって、第四の方法として説明した
応答時間を比較する方法と同様、サーバ・コンポーネン
トが搭載された情報処理装置の性能および負荷状態、該
情報処理装置までの通信経路の距離、通信経路の混み具
合などを反映した選択が行える。なお、このブロードキ
ャストRPCはネットワークに接続されたすべてのサー
バに対して発行されるが、マルチキャストRPCを用い
ればネームサーバ151から得たサーバ・コンポーネン
トの候補だけに発行することもできる。The server components that have responded after the second one are ignored. In this way, by selecting the server component to request the processing using the broadcast RPC, the performance of the information processing apparatus equipped with the server component is similar to the method of comparing the response times described as the fourth method. Also, selection can be performed by reflecting the load state, the distance of the communication path to the information processing apparatus, the congestion degree of the communication path, and the like. This broadcast RPC is issued to all servers connected to the network, but if multicast RPC is used, it can be issued only to the server component candidates obtained from the name server 151.
【0112】さらに、上記の応答時間のいずれかまたは
両方による選択操作を複数回実施し、複数回の平均応答
時間が最も短かったサーバ・コンポーネントを選ぶよう
にすれば、一時的なネットワークの混み具合の変化など
による影響を防止し、より最適なサーバ・コンポーネン
トの選択を行うことができる。Furthermore, if the selecting operation is performed a plurality of times according to one or both of the above response times and the server component having the shortest average response time of a plurality of times is selected, the temporary network congestion will occur. It is possible to prevent the effects of changes in the server, etc., and select more optimal server components.
【0113】(6)応答時間と負荷状況とによる選択 また、サーバ・コンポーネントがブロードキャストRP
CまたはマルチキャストRPCに対する応答時間を、該
サーバ・コンポーネントが搭載されている情報処理装置
の負荷状況に応じて変化させることで、(5)に記述し
たブロードキャスト通信またはマルチキャスト通信によ
るサーバ・コンポーネントの選択を、より最適に行うこ
とができる。図20を用いて、この方法によるサーバ・
コンポーネントの処理手順を説明する。なお、この方法
を用いる場合は、各サーバ・コンポーネントのブロード
キャスト通信に対する応答手段は、該サーバ・コンポー
ネントのあるサーバ情報処理装置の負荷状態を数値化し
たものである変数(Lとする)の格納領域を備える。(6) Selection based on response time and load status In addition, the server component broadcasts the RP.
By changing the response time to C or the multicast RPC according to the load condition of the information processing device in which the server component is mounted, the selection of the server component by the broadcast communication or the multicast communication described in (5) is performed. , Can be done more optimally. A server according to this method will be described with reference to FIG.
The processing procedure of the component is explained. When this method is used, the response means for the broadcast communication of each server component is a storage area of a variable (L) which is a numerical value of the load state of the server information processing device having the server component. Equipped with.
【0114】まず、サーバ・コンポーネントのブロード
キャスト通信に対する応答手段は、受信したブロードキ
ャスト・パケットがサーバ・コンポーネントの処理対象
かどうかを調べ、処理対象でなければ処理を終了する
(ステップ2001)。処理対象であれば、応答手段
は、サーバ・コンポーネントが搭載されている情報処理
装置の負荷状態を調べ(ステップ2002)、負荷状態
を数値化したものを変数Lに代入する(ステップ200
3)。つぎに、応答手段は、変数Lを0になるまでカウ
ントダウンしながら(ステップ2004)、負荷値に比
例した時間だけ次の処理への移行を遅延させる(ステッ
プ2005)。該遅延処理(ステップ2004,200
5)の後、応答手段は、処理可能であることを示す応答
パケットを処理を募集したクライアント・コンポーネン
トに発行し(ステップ2006)、ブロードキャスト・
パケットの受信処理を終了する(ステップ2090)。First, the response means to the broadcast communication of the server component checks whether or not the received broadcast packet is the processing target of the server component, and if not, ends the processing (step 2001). If it is a processing target, the response means checks the load state of the information processing device in which the server component is mounted (step 2002), and substitutes a numerical value of the load state into the variable L (step 200).
3). Next, the response means counts down the variable L to 0 (step 2004) and delays the shift to the next process for a time proportional to the load value (step 2005). The delay process (steps 2004, 200
After 5), the response means issues a response packet indicating that the processing is possible to the client component that has requested the processing (step 2006), and broadcasts the response packet.
The packet reception process ends (step 2090).
【0115】このようにして、クライアント・コンポー
ネント(RPCドライバ102)からのブロードキャス
ト通信を用いた募集に対して、各サーバ・コンポーネン
トは、該サーバ・コンポーネントが搭載された情報処理
装置の負荷状態に比例した遅延時間の後、該サーバ・コ
ンポーネントが処理可能であることを示す応答パケット
を発行する。これによって、(5)と同様に、RPCド
ライバ102が、最も早く応答したサーバ・コンポーネ
ントを選択すれば、負荷状態が最も軽い情報処理装置上
のサーバ・コンポーネントを選択することができる。In this way, in response to the recruitment using the broadcast communication from the client component (RPC driver 102), each server component is proportional to the load state of the information processing device in which the server component is mounted. After the delay time, the server component issues a response packet indicating that the server component can process. As a result, similarly to (5), if the RPC driver 102 selects the server component that responds earliest, it can select the server component on the information processing device with the lightest load state.
【0116】以上述べた(1)〜(6)の各選択方法
は、単独で用いてもよいし、組み合わせて使用してもよ
い。また、これらの選択手段をネームサーバ151に具
備し、複数候補がある場合にはそのうちの一つを選択し
てもよいし、優先順位を付けてネームサーバ151への
問い合わせ元に返答するようにしてもよい。Each of the selection methods (1) to (6) described above may be used alone or in combination. Further, the name server 151 may be provided with these selecting means, and if there are a plurality of candidates, one of them may be selected, or priority may be given to reply to the inquiry source to the name server 151. May be.
【0117】本実施例2では、アクセス管理手段が搭載
されたすべての情報処理装置上に、かならずしもすべて
の種類のDBMSに対応したSQL変換手段を搭載しな
くてもよく、どれかの情報処理装置上に必要な種類のS
QL変換手段を用意して置けばよいので、導入、保守が
容易であるという効果がある。In the second embodiment, it is not always necessary to mount the SQL conversion means corresponding to all kinds of DBMS on all the information processing equipments equipped with the access management means. The kind of S you need above
Since the QL conversion means may be prepared and installed, there is an effect that introduction and maintenance are easy.
【0118】また、本実施例2では、アクセス管理コン
ポーネントとSQL変換手段とは、複数の情報処理装置
上に置くことができ、第一の情報処理装置上のアクセス
管理コンポーネントから他の情報処理装置上のSQL変
換手段へRPCによる処理依頼を行うこともできる。こ
れによって、処理負荷を複数の情報処理装置に分散でき
る。Further, in the second embodiment, the access management component and the SQL conversion means can be placed on a plurality of information processing devices, and the access management component on the first information processing device can be changed to another information processing device. It is also possible to make a processing request by RPC to the above SQL conversion means. As a result, the processing load can be distributed to a plurality of information processing devices.
【0119】(実施例3)本実施例3では、実施例1に
おいてゲートウェイ情報処理装置130上で動作してい
たSQL変換手段A115a、SQL変換手段B115
bを、それぞれサーバ情報処理装置120a、120b
に設けた。本実施例3でも、すでに説明した実施例と同
様に、SQL変換手段A115a、SQL変換手段B1
15bへのインタフェースはRPCを用いている。これ
により、各サーバ・コンポーネントに実施例1と同じも
のを用いたまま、図1に示した実施例1の異種データベ
ースアクセスシステムの構成を、図6に示した本実施例
3の異種データベースアクセスシステムの構成に変更す
ることができる。本実施例3においては、各サーバ情報
処理装置120a、120bがそれぞれSQL変換手段
A115a、SQL変換手段B115bを具備するの
で、ゲートウェイ情報処理装置130を介さなくても単
一のSQL仕様で、異なるSQL仕様を持つDBMS_
A121a、DBMS_B121bにアクセスすること
ができる。(Third Embodiment) In the third embodiment, the SQL conversion means A115a and the SQL conversion means B115 that were operating on the gateway information processing device 130 in the first embodiment.
b are server information processing devices 120a and 120b, respectively.
Set up in. Also in the third embodiment, the SQL conversion means A115a and the SQL conversion means B1 are similar to the embodiments already described.
The interface to 15b uses RPC. Thus, the configuration of the heterogeneous database access system of the first embodiment shown in FIG. 1 is changed to the heterogeneous database access system of the third embodiment shown in FIG. 6 while using the same server components as those of the first embodiment. The configuration can be changed. In the third embodiment, since the server information processing apparatuses 120a and 120b respectively include the SQL conversion unit A115a and the SQL conversion unit B115b, different SQLs can be obtained without a gateway information processing apparatus 130 but with a single SQL specification. DBMS_ with specifications
A121a and DBMS_B121b can be accessed.
【0120】本実施例3では、クライアント情報処理装
置110上のRPCドライバ102は、アプリケーショ
ン・ソフトウェア実行手段111から発行されるSQL
をRPCのパラメータとして、各DBMS121a,b
を介してデータベースをアクセスするSQL_API処
理手段700を備える。In the third embodiment, the RPC driver 102 on the client information processing device 110 uses the SQL issued from the application software execution means 111.
As the RPC parameters, each DBMS 121a, b
SQL_API processing means 700 for accessing the database via the.
【0121】SQL_API処理手段700の処理を図
7に示す。まず、SQL_API処理手段700は、ア
プリケーション・ソフトウェア実行手段111から発行
されたSQL文を受け付けると、該SQL文を解析し、
アクセス先のDBMS情報を得る(ステップ701)。
つぎに、SQL_API処理手段700は、該アクセス
先がDBMS_A121aとDBMS_B121bの両
方か、DBMS_A121aだけか、DBMS_B12
1bだけかをそれぞれ判断する(ステップ702、70
3、704)。The processing of the SQL_API processing means 700 is shown in FIG. First, when the SQL_API processing means 700 receives an SQL statement issued from the application / software execution means 111, it analyzes the SQL statement,
The DBMS information of the access destination is obtained (step 701).
Next, the SQL_API processing means 700 determines whether the access destination is both DBMS_A 121a and DBMS_B 121b, only DBMS_A 121a, or DBMS_B12.
1b only (steps 702, 70)
3, 704).
【0122】SQL_API処理手段700は、アクセ
ス先がDBMS_A121aとDBMS_B121bと
の両方の場合は、処理対象のSQL文をパラメータとす
るSQL_RPCを発行する(ステップ706)。この
SQL_RPCは、ゲートウェイ情報処理装置130の
アクセス管理コンポーネント112vに送られ、そこで
実施例1の場合と同様に処理される。If the access destinations are both DBMS_A 121a and DBMS_B 121b, the SQL_API processing means 700 issues SQL_RPC with the SQL statement to be processed as a parameter (step 706). This SQL_RPC is sent to the access management component 112v of the gateway information processing device 130, where it is processed as in the case of the first embodiment.
【0123】一方、アクセス先がDBMS_A121a
およびDBMS_B121bのいずれか一方のみであっ
た場合、SQL_API処理手段700は、SQL_A
_RPC(ステップ707)、または、SQL_B_R
PC(ステップ708)を発行し、ゲートウェイ情報処
理装置130を介すること無くDBMS_A121aま
たはDBMS_B121bをアクセスする。On the other hand, the access destination is DBMS_A 121a.
And only one of DBMS_B121b, SQL_API processing means 700, SQL_A
_RPC (step 707) or SQL_B_R
The PC (step 708) is issued to access the DBMS_A 121a or the DBMS_B 121b without going through the gateway information processing device 130.
【0124】指定されたアクセス先がDBMS_A12
1aおよびDBMS_B121bのいずれでもない場
合、SQL_API処理手段700は、エラーコードを
セットして(ステップ705)、処理を終了する(ステ
ップ709)。The designated access destination is DBMS_A12
If it is neither 1a nor DBMS_B 121b, the SQL_API processing means 700 sets an error code (step 705) and ends the processing (step 709).
【0125】このように、本実施例3では、ゲートウェ
イ情報処理装置130は、DBMS_A121aおよび
DBMS_B121bの両方に同時にアクセスすること
を指示するSQL文を処理する場合にのみ使用され、い
ずれか一方のDBMSに対するアクセスを指示するSQ
L文を処理する場合には、SQL_API処理手段70
0が、ゲートウェイ情報処理装置130を介することな
く、直接指定されたDBMSをアクセスする。これによ
り、本実施例3では、ゲートウェイ情報処理装置130
を介することによって生じる性能低下を低減することが
できる。As described above, in the third embodiment, the gateway information processing apparatus 130 is used only when processing the SQL statement instructing simultaneous access to both the DBMS_A 121a and the DBMS_B 121b, and for one of the DBMSs. SQ to instruct access
When processing an L statement, SQL_API processing means 70
0 directly accesses the designated DBMS without going through the gateway information processing device 130. As a result, in the third embodiment, the gateway information processing device 130
It is possible to reduce the performance degradation caused by passing through.
【0126】また、本実施例3によれば、ターゲットD
BMSが明確でしかも単一の場合には、ユーザー・アプ
リケーション・ソフトウェアから、アクセス管理コンポ
ーネントを介すること無く直接SQL変換手段へアクセ
スすることができるので、オーバーヘッドを低減するこ
とができる。According to the third embodiment, the target D
In the case where the BMS is clear and single, the user application software can directly access the SQL conversion means without using the access management component, so that the overhead can be reduced.
【0127】なお、本実施例のSQL_API処理手段
700は、実施例1にも適用できる。これにより、ター
ゲットDBMSが明確で、しかも単一の場合には、実施
例1においても、アクセス管理コンポーネントを介する
ことなく、直接SQL変換手段をアクセスでき、オーバ
ヘッドを低減することができる。The SQL_API processing means 700 of this embodiment can also be applied to the first embodiment. As a result, in the case where the target DBMS is clear and is single, even in the first embodiment, the SQL conversion means can be directly accessed without going through the access management component, and the overhead can be reduced.
【0128】(実施例4)上述の実施例1〜3では、任
意のSQL仕様のアプリケーション・ソフトウェア実行
手段111からの、種々のSQL仕様の複数のDBMS
へのアクセスを実現する例を示したが、本実施例4で
は、種々の異なるSQL仕様を用いたアプリケーション
・ソフトウェア実行手段111からのDBMSへのアク
セスを実現する。(Fourth Embodiment) In the first to third embodiments described above, a plurality of DBMSs having various SQL specifications from the application software executing means 111 having arbitrary SQL specifications.
Although the example of realizing the access to the DBMS has been shown, the fourth embodiment realizes the access to the DBMS from the application software execution means 111 using various SQL specifications.
【0129】図8に本実施例4の異種データベースアク
セスシステムの構成を示す。本実施例4では、図8に示
したように、図1で示した実施例1の異種データベース
アクセスシステムの構成に対して、クライアント情報処
理装置110rと、ゲートウェイ情報処理装置130上
の非標準SQL変換手段115rとを追加した。クライ
アント情報処理装置110rは、クライアント情報処理
装置110と同様の構成を有しているが、標準SQL仕
様のアプリケーション・ソフトウェア実行手段111の
代わりに、非標準のSQL仕様のアプリケーション・ソ
フトウェアR実行手段111rを備える。また、非標準
SQL変換手段115rは非標準のSQLを標準のSQ
Lに変換する手段である。FIG. 8 shows the configuration of the heterogeneous database access system of the fourth embodiment. In the fourth embodiment, as shown in FIG. 8, the non-standard SQL on the client information processing device 110r and the gateway information processing device 130 is added to the configuration of the heterogeneous database access system of the first embodiment shown in FIG. The conversion means 115r is added. The client information processing apparatus 110r has the same configuration as the client information processing apparatus 110, but instead of the application software executing means 111 of the standard SQL specification, the application software R executing means 111r of the non-standard SQL specification is used. Equipped with. The non-standard SQL conversion means 115r converts the non-standard SQL into the standard SQ.
It is a means for converting to L.
【0130】アプリケーション・ソフトウェア実行手段
111rから発行される非標準仕様のSQL文を含むR
PC(以下SQL_r_RPCと呼ぶ)は、RPCドラ
イバ102によって、LANドライバ123およびLA
N100を介して、ゲートウェイ情報処理装置130の
非標準SQL変換手段115rに送られ、処理される。
非標準SQL変換手段115rによって非標準SQLか
ら標準SQLへと変換されたSQL文は、アクセス管理
コンポーネント112vにRPCのパラメータとして送
られる。以後の処理は実施例1と同様であり、SQL変
換手段115でターゲットDBMSの仕様のSQLに変
換された後、そのSQL文によりDBMSがアクセスさ
れ、結果がアプリケーション・ソフトウェア実行手段1
11rに返される。R containing a non-standard SQL statement issued from the application software execution means 111r
The PC (hereinafter referred to as SQL_r_RPC) uses the RPC driver 102 to connect the LAN driver 123 and the LA driver.
It is sent to the non-standard SQL conversion means 115r of the gateway information processing device 130 via N100 and processed.
The SQL statement converted from the non-standard SQL to the standard SQL by the non-standard SQL conversion unit 115r is sent to the access management component 112v as an RPC parameter. Subsequent processing is the same as that of the first embodiment. After the SQL conversion means 115 converts the SQL into the SQL of the target DBMS specifications, the DBMS is accessed by the SQL statement, and the result is the application software execution means 1
Returned to 11r.
【0131】このように、本実施例4によれば、非標準
SQLから標準SQLに変換するコンポーネントを設け
ることによって、各種のSQL仕様を用いたアプリケー
ション・ソフトウェア実行手段111rから、該アプリ
ケーション・ソフトウェア実行手段111rとは別のS
QL仕様のDBMSをアクセスすることができる。As described above, according to the fourth embodiment, by providing the component for converting the non-standard SQL into the standard SQL, the application software execution means 111r using various SQL specifications can execute the application software execution. S different from the means 111r
It is possible to access the DBMS of the QL specification.
【0132】(実施例5)つぎに、あるDBMS専用に
構築されたクライアント情報処理装置のプログラム構成
を全く変更する事なく、該DBMSとは異なるSQL仕
様、通信プロトコル仕様のDBMSをアクセスすること
のできる異種データベースアクセスシステムについて説
明する。(Fifth Embodiment) Next, a DBMS having an SQL specification and a communication protocol specification different from that of the DBMS can be accessed without changing the program configuration of the client information processing apparatus constructed exclusively for the DBMS. A possible heterogeneous database access system will be described.
【0133】A.構成例 本実施例5では、ネットワーク100にRPCを用いた
クライアントとRPCを用いないクライアントの両方が
接続される。本実施例5では、図11に示す異種データ
ベースアクセスシステムの構成のように、図1で示した
実施例1の異種データベースアクセスシステムの構成に
対して、クライアント情報処理装置110aと、ゲート
ウェイ情報処理装置130上の非標準SQL変換手段R
A115raとを追加した。A. Configuration Example In the fifth embodiment, both a client using RPC and a client not using RPC are connected to the network 100. In the fifth embodiment, like the configuration of the heterogeneous database access system shown in FIG. 11, the client information processing apparatus 110a and the gateway information processing apparatus are added to the configuration of the heterogeneous database access system of the first embodiment shown in FIG. Non-standard SQL conversion means R on 130
Added A115ra.
【0134】クライアント情報処理装置110aは、ア
プリケーション・ソフトウェアA実行手段111aと、
データベースドライバA122aと、LANドライバ1
23とを備える。アプリケーション・ソフトウェアA実
行手段111aは、非標準SQL仕様のソフトウェア実
行手段であり、非標準のSQL文を発行して、応答を受
け取る機能を有する。クライアント情報処理装置110
aのデータベースドライバA122aは、アプリケーシ
ョン・ソフトウェアA実行手段111aの発行した非標
準のSQL文を、ゲートウェイ情報処理装置130のデ
ータベース・ドライバA122aに通知する。なお、デ
ータベース・ドライバA122aは、DBMS_A12
1aと同じSQL仕様である。The client information processing apparatus 110a includes an application software A executing means 111a,
Database driver A122a and LAN driver 1
And 23. The application software A execution unit 111a is a software execution unit of non-standard SQL specifications, and has a function of issuing a non-standard SQL statement and receiving a response. Client information processing device 110
The database driver A 122a of a notifies the database driver A 122a of the gateway information processing apparatus 130 of the nonstandard SQL statement issued by the application software A execution unit 111a. The database driver A122a is DBMS_A12.
It has the same SQL specification as 1a.
【0135】一方、ゲートウェイ情報処理装置130の
非標準SQL変換手段RA115raは、入力された非
標準SQL文を、標準SQL文に変換して、ゲートウェ
イ情報処理装置130のRPCドライバ102に出力す
る非標準SQL変換手段である。On the other hand, the non-standard SQL conversion means RA115ra of the gateway information processing device 130 converts the input non-standard SQL sentence into a standard SQL sentence and outputs it to the RPC driver 102 of the gateway information processing device 130. It is an SQL conversion means.
【0136】B.作用 本実施例5では、一旦、データベース・ドライバ122
aおよび非標準SQL変換手段RA115raを介して
変換された標準SQL文を、ゲートウェイ情報処理装置
130のRPCドライバ102に送ることで、アプリケ
ーション・ソフトウェアA実行手段111aの発行した
SQL文によるデータベース・アクセスが行なわれる。B. Operation In the fifth embodiment, once the database driver 122
a and the standard SQL statement converted via the non-standard SQL conversion means RA115ra is sent to the RPC driver 102 of the gateway information processing device 130, so that the database access by the SQL statement issued by the application software A execution means 111a can be performed. Done.
【0137】アプリケーション・ソフトウェアA実行手
段111aから発行されるDBMS_A121aの仕
様、すなわち非標準仕様のSQL文は、データベース・
ドライバ122aにより、LANドライバ123および
LAN100を介してゲートウェイ情報処理装置130
上の非標準SQL変換手段RA115raに送られ、処
理される。非標準SQL変換手段RA115raは、通
知された非標準SQL文を標準SQLへ変換し、アクセ
ス管理コンポーネント112vにRPCのパラメータと
して通知する。以後の処理は実施例1と同様であり、S
QL変換手段115でターゲットDBMSの仕様のSQ
Lに変換された後、そのSQL文によりDBMSがアク
セスされ、結果がアプリケーション・ソフトウェア実行
手段111rに返される。The specification of the DBMS_A 121a issued from the application software A executing means 111a, that is, the SQL statement of the non-standard specification is
The gateway 122 information processing apparatus 130 via the LAN driver 123 and the LAN 100 by the driver 122a.
It is sent to the above non-standard SQL conversion means RA115ra and processed. The non-standard SQL conversion unit RA115ra converts the notified non-standard SQL sentence into standard SQL and notifies the access management component 112v as a parameter of RPC. Subsequent processing is the same as that of the first embodiment.
SQ of the target DBMS specifications by the QL conversion means 115
After being converted into L, the DBMS is accessed by the SQL statement, and the result is returned to the application software execution means 111r.
【0138】このように、本実施例5では、非標準から
標準へのSQL変換手段を実施例1のシステムに追加す
る事によって、あるDBMS固有の非標準SQLおよび
非標準データベース・ドライバを用いて、あるDBMS
専用に構築されたクライアント情報処理装置のプログラ
ム構成を全く変更する事なく、該DBMSとは異なるS
QL仕様、通信プロトコル仕様のDBMSをアクセスす
る事ができる。As described above, in the fifth embodiment, by adding the non-standard to standard SQL conversion means to the system of the first embodiment, a non-standard SQL and a non-standard database driver specific to a certain DBMS are used. , Some DBMS
An S that is different from the DBMS is used without changing the program configuration of the client information processing device that is dedicatedly constructed.
It is possible to access the DBMS of QL specifications and communication protocol specifications.
【0139】なお、本実施例5ではクライアント情報処
理装置110aとゲートウェイ情報処理装置130との
接続をデータベース・ドライバ_A122aを用いて行
ったが、このドライバが上述のRPCとは異なる仕様の
RPCを用いていてもよい。In the fifth embodiment, the connection between the client information processing apparatus 110a and the gateway information processing apparatus 130 is made by using the database driver_A 122a. However, this driver uses an RPC having a specification different from the above RPC. May be.
【0140】C.適用例 ネットワーク100に、互いに異なる仕様を有するデー
タベース管理システムを備える2つの既存のシステム6
00aと600bとが接続されているネットワーク10
0に本実施例5の異種データベースアクセスシステムを
適用する場合の例を、図19を用いて説明する。C. Application Example Two existing systems 6 having database management systems having different specifications in the network 100
Network 10 in which 00a and 600b are connected
An example in which the heterogeneous database access system of the fifth embodiment is applied to 0 will be described with reference to FIG.
【0141】システム600aは、DBMS_Aを用い
たサーバ情報処理装置121aとDBMS_A専用のデ
ータベースドライバA、アプリケーション・ソフトウェ
ア実行手段Aが搭載されたクライアント情報処理装置1
10aから構成される。また、システム600bは、D
BMS_Bを用いたサーバ情報処理装置121bとDB
MS_B専用のデータベースドライバB、アプリケーシ
ョン・ソフトウェアBが搭載されたクライアント情報処
理装置110bから構成される。The system 600a is a client information processing apparatus 1 equipped with a server information processing apparatus 121a using DBMS_A, a database driver A dedicated to DBMS_A, and application software execution means A.
It is composed of 10a. Also, the system 600b is D
Server information processing device 121b and DB using BMS_B
It comprises a database driver B dedicated to MS_B and a client information processing device 110b on which application software B is installed.
【0142】これらの既存のシステム600a,600
bに、上述のゲートウェイ情報処理装置130と、ネー
ムサーバ情報処理装置150とを備える付加システム5
00を付加することによって、既存のシステム600
a、600bの構成を何等変更することなくクライアン
ト情報処理装置110aから、サーバ情報処理装置12
1bに搭載された前記クライアント情報処理装置110
aとはSQL仕様の異なるDBMS_Bをにアクセスす
ることができる。These existing systems 600a, 600
b, the additional system 5 including the gateway information processing device 130 and the name server information processing device 150 described above.
Existing system 600 by adding 00
a, 600b from the client information processing apparatus 110a to the server information processing apparatus 12 without any change in the configuration.
The client information processing device 110 installed in 1b
It is possible to access DBMS_B whose SQL specification is different from that of a.
【0143】(実施例6) A.異種データベース・アクセス・システムの構成 次に、アプリケーション・ソフトウェア実行手段111
が種々の文字コードセットを使用可能なデータベース・
アクセス・システムを実現する実施例を図38を用いて
説明する。本実施例6の異種データベースアクセスシス
テムの構成は、図1に示した実施例1の構成と同様であ
る。なお、本実施例6では、アクセス管理コンポーネン
ト112vは、SQL文を解析するSQL文解析部38
1を備える。また、SQL変換手段115は、SQL文
を変換するSQL文変換部382を備える。アクセス管
理コンポーネント112vのSQL文解析部、SQL変
換手段115のSQL文変換部で扱える文字コードセッ
トはJISコードとする。(Example 6) A. Configuration of Heterogeneous Database Access System Next, application software execution means 111
Database that can use various character code sets
An embodiment for realizing the access system will be described with reference to FIG. The configuration of the heterogeneous database access system of the sixth embodiment is similar to that of the first embodiment shown in FIG. In the sixth embodiment, the access management component 112v analyzes the SQL statement by the SQL statement analysis unit 38.
1 is provided. The SQL conversion unit 115 also includes an SQL statement conversion unit 382 for converting an SQL statement. The character code set that can be handled by the SQL statement analysis unit of the access management component 112v and the SQL statement conversion unit of the SQL conversion unit 115 is a JIS code.
【0144】B.SQL_RPCの処理 本実施例6における、アプリケーション・ソフトウェア
実行手段111の発行したSQL_RPCが処理される
手順を、図21に示す。B. Processing of SQL_RPC FIG. 21 shows a procedure of processing the SQL_RPC issued by the application software execution means 111 in the sixth embodiment.
【0145】(1)RPCドライバ102の処理 アプリケーション・ソフトウェア実行手段111がSQ
L_RPCを発行すると、クライアント情報処理装置1
10のRPCドライバ102は、まず、データベースへ
の接続文かどうかを判定し(ステップ2161)、接続
文であった場合には、ステップ2150とステップ21
62を実行したのち、ステップ2151に処理を移し、
接続文以外の文であった場合には、直接ステップ215
1に処理を移す。(1) Processing of the RPC driver 102 The application software execution means 111 uses SQ
When L_RPC is issued, the client information processing device 1
The RPC driver 102 of 10 first determines whether or not it is a connection statement to the database (step 2161), and if it is a connection statement, steps 2150 and 21.
After executing step 62, the processing is moved to step 2151,
If the sentence is other than the connection sentence, the step 215 is directly executed.
The process is transferred to 1.
【0146】ステップ2150では、RPCドライバ1
02は、ネームサーバ情報処理装置150上のネームサ
ーバ151をアクセスし、処理対象のSQL_RPCを
処理するサーバであるアクセス管理コンポーネント11
2vの物理位置すなわちネットワーク・アドレスとサー
バ・コンポーネントのポート番号を取得する。次に、R
PCドライバ102は、ステップ2162で、アプリケ
ーション・ソフトウェア実行手段111がSQL文に使
用している文字コードセット名を、アクセス管理コンポ
ーネント112vに送出する。なお、文字コードセット
名を受け取ったアクセス管理コンポーネント112v
は、ゲートウェイ情報処理装置130の記憶装置100
1内の記憶領域383に、該入力文字コードセット名を
格納する(ステップ2121)。At step 2150, the RPC driver 1
An access management component 11 is a server 02 that accesses the name server 151 on the name server information processing device 150 and processes the SQL_RPC to be processed.
Obtain the 2v physical location or network address and port number of the server component. Then R
In step 2162, the PC driver 102 sends the character code set name used in the SQL statement by the application software execution unit 111 to the access management component 112v. The access management component 112v that received the character code set name
Is the storage device 100 of the gateway information processing device 130.
The input character code set name is stored in the storage area 383 in 1 (step 2121).
【0147】最後に、RPCドライバ102は、アクセ
ス管理コンポーネント112vとRPC接続を行い、S
QL_RPCの処理をアクセス管理コンポーネント11
2vへ依頼する(ステップ2151)。Finally, the RPC driver 102 makes an RPC connection with the access management component 112v,
Access management component 11 for processing QL_RPC
2v is requested (step 2151).
【0148】(2)アクセス管理コンポーネント112
vの処理 ステップ2101〜2111、2121〜2123、2
140は、アクセス管理コンポーネント112vでの処
理内容である。(2) Access management component 112
Processing of v Steps 2101 to 2111, 2121 to 2123, 2
Reference numeral 140 is the processing content of the access management component 112v.
【0149】SQL_RPCの処理を依頼されたアクセ
ス管理コンポーネント112vは、記憶領域383に保
持された入力文字コードセット名を参照し、RPCドラ
イバ102から通知されたSQL_RPCのパラメータ
として送られてきたSQL文の文字コードを、JISコ
ードに変換する(ステップ2123)。ただし、ステッ
プ2121で通知された入力文字コードセット名がJI
Sコードの場合は、変換は不要なので行わない。つぎ
に、アクセス管理コンポーネント112vは、文字コー
ド変換を施したSQL文を解析し、アクセス先のテーブ
ルが含まれるDBMSの名称を得る(ステップ210
1)。The access management component 112v requested to process the SQL_RPC refers to the input character code set name held in the storage area 383 and refers to the SQL statement sent as the parameter of the SQL_RPC notified from the RPC driver 102. The character code is converted into a JIS code (step 2123). However, if the input character code set name notified in step 2121 is JI
In the case of S-code, conversion is not necessary and is not performed. Next, the access management component 112v analyzes the SQL sentence that has undergone the character code conversion, and obtains the name of the DBMS that includes the access destination table (step 210).
1).
【0150】この解析の結果、アクセス先がDBMS_
A121aとDBMS_B121bとの両方であること
を検出した場合(ステップ2102)、アクセス管理コ
ンポーネント112vは、実施例1のステップ406と
同様に、処理対象のSQL文を、DBMS_A121a
に対するアクセスとDBMS_B121bに対するアク
セスとに分割して2つのSQL文を作成する(ステップ
2106)。この新たに作成したSQL文をパラメタと
したSQL_RPC(それぞれSQL_A_RPC、S
QL_B_RPCと呼ぶ)を用い、アクセス管理コンポ
ーネント112vは、ステップ2107でDBMS_A
121aに、ステップ2108でDBMS_B121b
に、それぞれアクセスする。これらのDBMS121
a,bからの応答を受け付けると、アクセス管理コンポ
ーネント112vは、前記ステップ2107、2108
で得た結果をマージし、ステップ2106で分割する前
のSQL文に対応する結果を作成する(ステップ210
9)。As a result of this analysis, the access destination is DBMS_
When the access management component 112v detects that it is both the A121a and the DBMS_B121b (step 2102), the access management component 112v sends the SQL statement to be processed to the DBMS_A121a, as in step 406 of the first embodiment.
And the access to the DBMS_B 121b are divided into two SQL statements (step 2106). SQL_RPC (SQL_A_RPC, S respectively) using this newly created SQL sentence as a parameter
QL_B_RPC), and the access management component 112v uses DBMS_A in step 2107.
121a, in step 2108 DBMS_B121b
To access each. These DBMS 121
Upon receiving the responses from a and b, the access management component 112v causes the steps 2107 and 2108 to be executed.
The result obtained in step 2106 is merged to create a result corresponding to the SQL statement before being divided in step 2106 (step 210).
9).
【0151】アクセス先がDBMS_A121aおよび
DBMS_B121bのいずれか一方であることを検出
した場合(ステップ2103または2104)、アクセ
ス管理コンポーネント112vは、ステップ2110ま
たは2111で、それぞれSQL文をパラメータとした
RPC(SQL_A_RPCまたはSQL_B_RP
C)を発行し、アクセス結果を得る。When it is detected that the access destination is one of the DBMS_A 121a and the DBMS_B 121b (step 2103 or 2104), the access management component 112v, in step 2110 or 2111, uses the SQL statement as the parameter RPC (SQL_A_RPC or SQL_B_RP
C) is issued and the access result is obtained.
【0152】なお、アクセス先がDBMS_A121a
でもDBMS_B121bでもない場合、アクセス管理
コンポーネント112vは、エラーコードをセットする
(ステップ2105)。The access destination is DBMS_A 121a.
If it is neither DBMS_B 121b, the access management component 112v sets an error code (step 2105).
【0153】最後に、アクセス管理コンポーネント11
2vは、ステップ2109〜2111で得られたアクセ
ス結果、あるいはステップ2105でセットされたエラ
ーコードを、JISコードから、記憶領域383に保持
された入力文字コードセット名の示す文字コードに変換
し(ステップ2140)、実施例1のステップ412と
同様に、リモート・プロシージャ・コールのリターン値
としてアプリケーション・ソフトウェア実行手段111
に返して、SQL_RPCを終了する(ステップ211
2)。Finally, the access management component 11
2v converts the access result obtained in steps 2109 to 2111 or the error code set in step 2105 from the JIS code into the character code indicated by the input character code set name held in the storage area 383 (step 2140), as in step 412 of the first embodiment, the application software execution means 111 is used as the return value of the remote procedure call.
And ends SQL_RPC (step 211).
2).
【0154】(3)SQL_x_RPCの処理(ステッ
プ2107〜2108、2110〜2111) SQL_A_RPCまたはSQL_B_RPCの処理の
流れを図22に示す。なお、SQL_A_RPCの処理
とSQL_B_RPCの処理とは、その手順が同一であ
るので、ここでは、これらをまとめてSQL_x_RP
Cとして説明する。また、SQL_x_RPCを処理す
るサーバであるSQL変換手段A115aとSQL変換
手段B115bをまとめてSQL変換手段115と呼
ぶ。(3) Processing of SQL_x_RPC (steps 2107 to 2108, 2110 to 2111) FIG. 22 shows a processing flow of SQL_A_RPC or SQL_B_RPC. Note that the procedure of the process of SQL_A_RPC and the process of SQL_B_RPC are the same, so here, these processes are collectively referred to as SQL_x_RP.
This will be described as C. Further, the SQL conversion unit A 115a and the SQL conversion unit B 115b, which are servers that process SQL_x_RPC, are collectively referred to as SQL conversion unit 115.
【0155】SQL_x_RPCが通知されると、ゲー
トウェィ情報処理装置130のRPCドライバ102
は、まず、データベースへの接続文かどうかを判定し
(ステップ2261)、接続文であった場合にはネーム
サーバ情報処理装置150上のネームサーバ151をア
クセスして、SQL変換手段115の物理位置すなわち
ネットワーク・アドレスとサーバ・コンポーネントのポ
ート番号を取得する(ステップ2250)。When SQL_x_RPC is notified, the RPC driver 102 of the gateway information processing device 130 is notified.
First determines whether or not it is a connection statement to the database (step 2261), and if it is a connection statement, it accesses the name server 151 on the name server information processing device 150 to determine the physical position of the SQL conversion means 115. That is, the network address and the port number of the server component are acquired (step 2250).
【0156】次に、RPCドライバ102は、アクセス
管理コンポーネント112vの出力文字コードセット名
である”JIS”(本実施例6では、アクセス管理コン
ポーネント112vの入出力に用いられる文字コード
は、JISコードであると、あらかじめ定められてい
る)を、SQL変換手段115に送出する(ステップ2
262)。これを受け付けたSQL変換手段115は、
これを入力文字コードセット名として記憶装置1001
の記憶領域384に格納する(ステップ2221)。Next, the RPC driver 102 outputs "JIS" which is the output character code set name of the access management component 112v (in the sixth embodiment, the character code used for input / output of the access management component 112v is JIS code). If so, a predetermined value is sent to the SQL conversion means 115 (step 2).
262). Upon receiving this, the SQL conversion means 115
The storage device 1001 uses this as an input character code set name.
It is stored in the storage area 384 (step 2221).
【0157】最後に、RPCドライバ102は、SQL
変換手段115とRPC接続を行い、SQL_x_RP
Cの処理をSQL変換手段115へ依頼する(ステップ
2202)。Finally, the RPC driver 102 uses the SQL
Makes RPC connection with the conversion means 115, and SQL_x_RP
The processing of C is requested to the SQL conversion means 115 (step 2202).
【0158】ステップ2222〜2240は、SQL変
換手段115での処理内容である。依頼されたSQL変
換手段115は、まず、RPCのパラメータとして送ら
れてきたSQL文の文字コードを、JISコードに変換
するとともに、データベース・ドライバ122が文字コ
ードセット名を得るために参照する環境変数に、変換後
の文字コードセットであるJISを、該データベース・
ドライバ122が定めた表現形式で格納する(ステップ
2222)。Steps 2222 to 2240 are processing contents in the SQL conversion means 115. The requested SQL conversion means 115 first converts the character code of the SQL sentence sent as the RPC parameter into a JIS code, and at the same time, refers to an environment variable that the database driver 122 refers to in order to obtain the character code set name. JIS, which is the character code set after conversion,
The data is stored in the expression format defined by the driver 122 (step 2222).
【0159】ただし、本実施例6では、入力文字コード
セット名は”JIS”であり、変換は不要なので行わず
に、データベース・ドライバ122の該環境変数に、入
力文字コードセット名を格納する。このステップは、実
施例2で示したように、アクセス管理コンポーネント1
12vが、異なるゲートウェイ情報処理装置130のS
QL変換手段115をアクセスする場合、もしくは、実
施例3で示したように、アクセス管理コンポーネント1
12v介さずにアプリケーション・ソフトウェア実行手
段111からSQL変換手段115をアクセスする場合
に有効である。However, in the sixth embodiment, the input character code set name is "JIS" and conversion is not necessary, so the input character code set name is stored in the environment variable of the database driver 122. This step is performed by the access management component 1 as shown in the second embodiment.
12v is S of a different gateway information processing device 130
When accessing the QL conversion means 115, or as described in the third embodiment, the access management component 1
This is effective when accessing the SQL conversion means 115 from the application software execution means 111 without going through 12v.
【0160】次に、SQL変換手段115は、RPCの
パラメータとして受け取った標準仕様のSQL文を、タ
ーゲットDBMSのSQL仕様に変換(ステップ222
3)したのち、変換によって作成したSQL文をターゲ
ットDBMSに送り、ターゲットDBMSからのSQL
文の実行結果の通知を得る(ステップ2224)。Next, the SQL conversion means 115 converts the SQL statement of the standard specification received as the RPC parameter into the SQL specification of the target DBMS (step 222).
3) After that, the SQL statement created by the conversion is sent to the target DBMS, and the SQL from the target DBMS is sent.
A notification of the statement execution result is obtained (step 2224).
【0161】ステップ2224で実行結果として得たデ
ータおよびリターンコードを、SQL変換手段115
は、ターゲットDBMSのSQL仕様から標準のSQL
仕様に変換し(ステップ2225)、さらに、該変換結
果を、ステップ2221で記憶領域384に格納した入
力文字コードセット名で示される文字コードに変換する
(ステップ2240)。最後に、SQL変換手段115
は、変換して得られた結果を、リターンデータ、リター
ンコードとしてアクセス管理コンポーネント112vに
通知して、SQL_x_RPCの処理を終了する(ステ
ップ2206)。The data and the return code obtained as the execution result in step 2224 are converted into SQL conversion means 115.
From the SQL specification of the target DBMS to the standard SQL
The specification is converted (step 2225), and the conversion result is converted into the character code indicated by the input character code set name stored in the storage area 384 in step 2221 (step 2240). Finally, the SQL conversion means 115
Notifies the access management component 112v of the result obtained by the conversion as return data and a return code, and ends the processing of SQL_x_RPC (step 2206).
【0162】C.本実施例6の効果 以上のようにして、本実施例6では、アプリケーション
・ソフトウェア実行手段111は、アクセス管理コンポ
ーネント112v、SQL変換手段115、DBMS_
x121a,bが内部でどの様な文字コードセットを用
いて処理するかを意識することなく、データベースへの
アクセスを行うことができる。また、文字コードセット
名の指定方法が各DBMSのデータベース・ドライバ毎
に異なることを意識する必要もない。C. Effects of Sixth Embodiment As described above, in the sixth embodiment, the application software execution unit 111 includes the access management component 112v, the SQL conversion unit 115, and the DBMS_.
It is possible to access the database without being aware of which character code set is used internally by the x121a and x121a. Further, it is not necessary to be aware that the method of designating the character code set name differs for each database driver of each DBMS.
【0163】なお、本実施例6では、アクセス管理コン
ポーネント112vのSQL文解析部、SQL変換手段
115のSQL文変換部で扱える文字コードセットはJ
ISコードとしたが、他の文字コードセットであっても
よい。また、実施例2の第1および/または第2の選択
手段をRPCドライバ102に設けてもよい。In the sixth embodiment, the character code set that can be handled by the SQL statement analysis unit of the access management component 112v and the SQL statement conversion unit of the SQL conversion means 115 is J.
Although the IS code is used, other character code sets may be used. Further, the RPC driver 102 may be provided with the first and / or second selection means of the second embodiment.
【0164】さらに、文字コードセット名だけでなく、
エラーメッセージなどに使用する言語や、データベース
の検索結果の並び替えを行う際の文字コード順の指定に
ついても、本実施例6の入力文字コードセット名と同様
に、クライアント情報処理装置110のRPCドライバ
102とアクセス管理コンポーネント112vとの間で
授受するようにすれば、それらの相違を意識することな
く、データベースへのアクセスを行うことができる。Furthermore, not only the character code set name,
Similar to the input character code set name of the sixth embodiment, the RPC driver of the client information processing apparatus 110 also specifies the language used for error messages and the character code order when sorting the search results of the database. By exchanging data between the 102 and the access management component 112v, it is possible to access the database without being aware of the difference between them.
【0165】図30に、言語、文字コードセット、並び
替えコードを設定する環境変数の一例を示す。環境変数
群3001はアプリケーション・ソフトウェア実行手段
111の環境変数の例であり、環境変数群3002はア
クセス管理コンポーネント112vの環境変数の例であ
り、環境変数群3003はSQL変換手段115とDB
MS121a,bのプロセスの環境変数の例である。FIG. 30 shows an example of environment variables for setting the language, character code set, and rearrangement code. The environment variable group 3001 is an example of the environment variable of the application software execution unit 111, the environment variable group 3002 is an example of the environment variable of the access management component 112v, and the environment variable group 3003 is the SQL conversion unit 115 and the DB.
It is an example of the environment variable of the process of MS121a, b.
【0166】環境変数群3001〜3003において、
SQL_LANGは使用言語の種別を示す変数名であ
り、SQL_CHARACTERは使用する文字コード
セットを示す変数名、SQL_COLLATEは、並び
替えコードを示す変数名である。本実施例6では、アプ
リケーション・ソフトウェア実行手段111、アクセス
管理コンポーネント112v、SQL変換手段115と
も、使用言語は日本語(「JAPANESE」)である。また、
アプリケーション・ソフトウェア実行手段111では、
文字コードセットおよび並び替えコードは「SJIS」
である。一方、アクセス管理コンポーネント112vお
よびSQL変換手段115の文字コードセットおよび並
び替えコードは「JIS」である。In the environment variable groups 3001 to 3003,
SQL_LANG is a variable name indicating the type of language used, SQL_CHARACTER is a variable name indicating a character code set to be used, and SQL_COLLATE is a variable name indicating a rearrangement code. In the sixth embodiment, the application software execution unit 111, the access management component 112v, and the SQL conversion unit 115 use Japanese (“JAPANESE”) as the language. Also,
In the application software execution means 111,
Character code set and rearrangement code is "SJIS"
Is. On the other hand, the character code set and rearrangement code of the access management component 112v and the SQL conversion means 115 are "JIS".
【0167】環境変数群3003において、DB_LA
NGはデータベース・ドライバ122が参照する、使用
言語の種別(DBMS121a,bが使用する言語の種
別)を示す環境変数名である。また、DBMS121
a,bの使用する文字コードセットは、環境変数名DB
_CHARACTERの変数により示される。さらに、
DBMS121a,bの使用する並び替えコードは環境
変数名DB_COLLATEの変数により示される。本
実施例6では、DBMS121a,bが使用する言語は
日本語(「JAPANESE」)である。また、DBMS121
a,bの使用する文字コードセットおよび並び替えコー
ドは「JIS」である。In the environment variable group 3003, DB_LA
NG is an environment variable name that is referenced by the database driver 122 and indicates the type of language used (type of language used by the DBMS 121a, b). In addition, the DBMS 121
The character code set used by a and b is the environment variable name DB
It is indicated by the variable of _CHARACTER. further,
The rearrangement code used by the DBMS 121a, 121b is indicated by the variable of the environment variable name DB_COLLATE. In the sixth embodiment, the language used by the DBMS 121a, 121b is Japanese (“JAPANESE”). In addition, the DBMS 121
The character code set and rearrangement code used by a and b are "JIS".
【0168】(実施例7)次に、データベースへのアク
セス依頼をユーザーが設定した時間で打ち切るための機
能を実施例1に付加した実施例を説明する。図36に、
本実施例7の異種データベース・アクセス・システムの
構成を示す。本実施例7の異種データベース・アクセス
・システムは、図1に示した実施例1のシステムと同様
の構成を備えているが、本実施例7では、図36に示す
ように、クライアント情報処理装置110およびゲート
ウェイ情報処理装置130の両方の主記憶装置1001
に、SQLタイムアウト時間を保持するための格納領域
250,251を、それぞれ備えている。また、本実施
例7のクライアント情報処理装置110のRPCドライ
バ102は、計時のためのタイムアウトカウンタ252
を備える。さらに、ゲートウェイ情報処理装置130の
RPCドライバ102も、計時のためのタイムアウトカ
ウンタ253を備える。(Embodiment 7) Next, an embodiment will be described in which a function for canceling an access request to a database at a time set by a user is added to the embodiment 1. In FIG. 36,
The structure of the heterogeneous database access system of the seventh embodiment is shown. The heterogeneous database access system of the seventh embodiment has the same configuration as the system of the first embodiment shown in FIG. 1, but in the seventh embodiment, as shown in FIG. 110 and the main storage device 1001 of both the gateway information processing device 130
In addition, storage areas 250 and 251 for holding the SQL timeout time are provided, respectively. Further, the RPC driver 102 of the client information processing apparatus 110 according to the seventh embodiment uses the time-out counter 252 for clocking.
Equipped with. Further, the RPC driver 102 of the gateway information processing device 130 also includes a time-out counter 253 for measuring time.
【0169】A.SQL_RPCの処理の流れ 本実施例7におけるSQL_RPCの処理を図25に示
す。本実施例7では、実施例1と同様、クライアント情
報処理装置110上のアプリケーション・ソフトウェア
111から発行されたSQL_RPCは、クライアント
情報処理装置110のRPCドライバ102によりゲー
トウェイ情報処理装置130上のアクセス管理コンポー
ネント112vに通知され、アクセス管理コンポーネン
ト112vによって処理される。A. Flow of processing of SQL_RPC FIG. 25 shows processing of SQL_RPC in the seventh embodiment. In the seventh embodiment, similarly to the first embodiment, the SQL_RPC issued from the application software 111 on the client information processing device 110 is an access management component on the gateway information processing device 130 by the RPC driver 102 of the client information processing device 110. 112v is notified and processed by the access management component 112v.
【0170】しかし、本実施例7では、実施例1とは異
なり、クライアント情報処理装置110のRPCドライ
バ102は、RPCを用いてアクセス管理コンポーネン
ト112vにSQL_RPCの処理を依頼してから、あ
らかじめ定められたSQLタイムアウト時間が経過して
も、応答を受け取らない場合、処理を打ち切ってエラー
とする。なお、本実施例7では、SQLタイムアウト時
間は、クライアント情報処理装置110の主記憶装置1
001の格納領域250にあらかじめ格納され、保持さ
れている。However, unlike the first embodiment, in the seventh embodiment, the RPC driver 102 of the client information processing apparatus 110 requests the access management component 112v to process the SQL_RPC by using the RPC, and then is determined in advance. If a response is not received even after the SQL timeout time elapses, the processing is aborted and an error occurs. In the seventh embodiment, the SQL timeout time is the main memory 1 of the client information processing apparatus 110.
It is stored and held in advance in the storage area 250 of 001.
【0171】まず、アプリケーション・ソフトウェア1
11が発行するSQL_RPCを受け付けたクライアン
ト情報処理装置110のRPCドライバ102は、DB
MSへの接続文かどうかを判定し(ステップ256
1)、接続文であった場合はステップ2550とステッ
プ2562を実行してからステップ2553を実行し、
接続文以外の文であった場合には、直接ステップ255
3を実行する。First, the application software 1
The RPC driver 102 of the client information processing apparatus 110 that receives the SQL_RPC issued by the
It is judged whether or not it is a connection statement to the MS (step 256).
1) If it is a connection statement, execute steps 2550 and 2562 and then step 2553,
If the sentence is other than the connection sentence, step 255 is directly executed.
Execute 3.
【0172】ステップ2550では、RPCドライバ1
02は、ネームサーバ情報処理装置150上のネームサ
ーバ151をアクセスし、処理対象のSQL_RPCを
処理するサーバであるアクセス管理コンポーネント11
2vの物理位置すなわちネットワーク・アドレスとサー
バ・コンポーネントのポート番号を取得する。次に、R
PCドライバ102は、ステップ2562で、クライア
ント情報処理装置110上の記憶装置の格納領域250
に保持されているSQLタイムアウト時間を、アクセス
管理コンポーネント112vに送出する。このSQLタ
イムアウト時間を受信したアクセス管理コンポーネント
112vは、受け付けたSQLタイムアウト時間を、ゲ
ートウェイ情報処理装置130の格納領域251に格納
する(ステップ2501)。At step 2550, the RPC driver 1
An access management component 11 is a server 02 that accesses the name server 151 on the name server information processing device 150 and processes the SQL_RPC to be processed.
Obtain the 2v physical location or network address and port number of the server component. Then R
In step 2562, the PC driver 102 stores the storage area 250 of the storage device on the client information processing apparatus 110.
The SQL timeout time stored in the above is sent to the access management component 112v. The access management component 112v that has received the SQL timeout time stores the received SQL timeout time in the storage area 251 of the gateway information processing device 130 (step 2501).
【0173】次に、RPCドライバ102は、RPC実
行スレッドを起動する(ステップ2553)。ここでス
レッドとは、プロセス内の処理をさらに分割し、時分割
によって並行処理を行う処理単位のことである。起動さ
れたRPC実行スレッドは、アクセス管理コンポーネン
ト112vとRPC接続を行い、前記SQL_RPCの
処理を該アクセス管理コンポーネント112vへ依頼す
る(ステップ2580)。Next, the RPC driver 102 activates the RPC execution thread (step 2553). Here, a thread is a processing unit that further divides processing within a process and performs parallel processing by time division. The activated RPC execution thread makes an RPC connection with the access management component 112v, and requests the access management component 112v for the processing of the SQL_RPC (step 2580).
【0174】ステップ2501〜2504は、アクセス
管理コンポーネント112vでの処理である。実施例1
における図4で説明した処理と同様に、本実施例7のア
クセス管理コンポーネント112vは、処理依頼を受け
ると、SQL文解析(ステップ2502)、SQL_x
_RPC発行(ステップ2503)等の処理を行い、処
理結果を依頼元のRPC実行スレッドを起動したRPC
ドライバ102(親スレッド)に通知して、依頼元のR
PC実行スレッドに終了を通知したのち、RPCの処理
を終了する(ステップ2504)。Steps 2501-2504 are processes in the access management component 112v. Example 1
4, when the access management component 112v of the seventh embodiment receives the processing request, it analyzes the SQL statement (step 2502) and SQL_x.
_RPC issuance (step 2503) and other processing is performed, and the processing result is the RPC that activated the requesting RPC execution thread.
Notify the driver 102 (parent thread) to request R
After notifying the PC execution thread of the end, the processing of the RPC is ended (step 2504).
【0175】ステップ2580で処理を依頼したRPC
実行スレッドは、アクセス管理コンポーネント112v
の終了信号(ステップ2504)を受信するまで、待ち
状態となっており、終了の通知を受けると、スレッドを
終了する(ステップ2585)。RPC requested to be processed in step 2580
The execution thread is the access management component 112v.
The thread is in a waiting state until the end signal (step 2504) is received, and when the end notification is received, the thread is ended (step 2585).
【0176】一方、ステップ2553でRPC実行スレ
ッドを起動した親スレッドは、タイムアウトカウンタ2
52を初期化した後(ステップ2554)、タイムアウ
トカウンタ252をカウントアップし(ステップ255
5)、タイムアウトカウンタ252の保持する値が、S
QLタイムアウト時間格納領域250の保持する値を超
えているかどうかチェックし(ステップ2556)、超
えていなければ、さらにRPC実行スレッドがすでに終
了しているかどうかチェックする(ステップ255
7)。On the other hand, the parent thread which started the RPC execution thread in step 2553 is the timeout counter 2
After initializing 52 (step 2554), the timeout counter 252 is counted up (step 255).
5), the value held by the timeout counter 252 is S
It is checked whether the value held in the QL timeout time storage area 250 is exceeded (step 2556). If not, it is further checked whether the RPC execution thread has already ended (step 255).
7).
【0177】RPC実行スレッドがまだ終了していない
ときは、親スレッドは処理をステップ2555に戻し、
タイムアウトカウンタのカウントアップと、経過時間の
チェックを繰り返す。なお、本実施例7では、RPC実
行スレッドが起動されると、クライアント情報処理装置
110の主記憶装置1001にあらかじめ定められた識
別情報を格納し、RPC実行スレッドは、終了時(ステ
ップ2585)に、該識別情報を削除する。ステップ2
557におけるRPC実行スレッドの終了チェックは、
該識別情報がクライアント情報処理装置110の記憶装
置に保持されているかどうか確認することにより行なわ
れる。If the RPC execution thread has not finished yet, the parent thread returns the processing to step 2555,
The timeout counter is counted up and the elapsed time is checked repeatedly. In the seventh embodiment, when the RPC execution thread is activated, predetermined identification information is stored in the main storage device 1001 of the client information processing apparatus 110, and the RPC execution thread is terminated at the end (step 2585). , The identification information is deleted. Step two
The termination check of the RPC execution thread in 557 is
This is performed by checking whether the identification information is held in the storage device of the client information processing device 110.
【0178】ステップ2556でのタイムアウトチェッ
クの結果、タイムアウトと判定した場合には、親スレッ
ドは、エラーコードをあらかじめ定められた領域に格納
し(ステップ2559)、SQL_RPCの処理を終了
する(ステップ2560)。なお、エラーコード設定
(ステップ2559)の際、本実施例7では、親スレッ
ドは、RPC実行スレッドとアクセス管理コンポーネン
ト112vとの接続を切り、RPC実行スレッドを終了
させる。If the result of the time-out check in step 2556 is that there is a time-out, the parent thread stores the error code in a predetermined area (step 2559) and terminates the SQL_RPC processing (step 2560). . Note that when setting the error code (step 2559), in the seventh embodiment, the parent thread disconnects the RPC execution thread and the access management component 112v and terminates the RPC execution thread.
【0179】また、ステップ2557でのRPC実行ス
レッド終了チェックの結果、終了したと判定した場合に
は、実行結果をあらかじめ定められた領域に格納し(ス
テップ2558)、SQL_RPCの処理を終了する
(ステップ2560)。If it is determined as a result of the RPC execution thread end check in step 2557 that it has ended, the execution result is stored in a predetermined area (step 2558) and the SQL_RPC processing ends (step). 2560).
【0180】B.SQL_x_RPCの処理(ステップ
2503) 図26に、本実施例7においてアクセス管理コンポーネ
ント112vが発行するSQL_x_RPCの処理を示
す。本実施例7では、アクセス管理コンポーネント11
2vにより依頼される、SQL変換コンポーネント11
5のSQL_RPCの処理についても、あらかじめ定め
られた時間内に処理が行なわれなければ、処理を打ち切
り、エラーとするようにした。B. Processing of SQL_x_RPC (step 2503) FIG. 26 shows processing of SQL_x_RPC issued by the access management component 112v in the seventh embodiment. In the seventh embodiment, the access management component 11
SQL conversion component 11 requested by 2v
Regarding the processing of SQL_RPC of 5, if the processing is not performed within a predetermined time, the processing is aborted and an error occurs.
【0181】処理の手順は、上述のSQL_RPCの処
理の場合と同様であるが、SQL_x_RPCの処理で
は、上述のステップ2501(図25に図示)で格納領
域251に格納された値が、SQLタイムアウト時間と
して用いられる。The procedure of the process is the same as that of the above-mentioned SQL_RPC process, but in the process of SQL_x_RPC, the value stored in the storage area 251 in the above step 2501 (shown in FIG. 25) is the SQL timeout time. Used as.
【0182】まず、アクセス管理コンポーネント112
vが発行するSQL_x_RPCを受け付けたゲートウ
ェイ情報処理装置130のRPCドライバ102は、D
BMSへの接続文かどうかを判定し(ステップ266
1)、接続文であった場合はステップ2650を実行し
てからステップ2653を実行し、接続文以外の文であ
った場合には、直接ステップ2653を実行する。First, the access management component 112
The RPC driver 102 of the gateway information processing device 130 that has received the SQL_x_RPC issued by v
It is judged whether or not it is a connection statement to BMS (step 266).
1) If it is a connection statement, step 2650 is executed and then step 2653 is executed. If it is a statement other than a connection statement, step 2653 is directly executed.
【0183】ステップ2650では、RPCドライバ1
02は、ネームサーバ情報処理装置150上のネームサ
ーバ151をアクセスし、処理対象のSQL_x_RP
Cを処理するSQL変換手段115の物理位置(ネット
ワーク・アドレスおよびポート番号)を取得する。At step 2650, the RPC driver 1
02 accesses the name server 151 on the name server information processing device 150, and processes SQL_x_RP to be processed.
The physical location (network address and port number) of the SQL conversion means 115 that processes C is acquired.
【0184】次に、RPCドライバ102は、RPC実
行スレッドを起動する(ステップ2653)。起動され
たRPC実行スレッドは、SQL変換手段115とRP
C接続を行い、SQL_x_RPCの処理を該SQL変
換手段115へ依頼する(ステップ2680)。Next, the RPC driver 102 activates the RPC execution thread (step 2653). The started RPC execution thread is sent to the SQL conversion unit 115 and the RP.
The C connection is performed, and the processing of SQL_x_RPC is requested to the SQL conversion means 115 (step 2680).
【0185】ステップ2602〜2604は、SQL変
換手段115の処理である。SQL変換手段115は、
処理依頼を受けると、SQL文を解析し(ステップ26
02)、DBMSへアクセスして、応答を受け取り(ス
テップ2603)、処理結果を依頼元のRPC実行スレ
ッドを起動したRPCドライバ102(親スレッド)に
通知して、依頼元のRPC実行スレッドに終了を通知し
たのち、処理を終了する(ステップ2604)。Steps 2602 to 2604 are the processing of the SQL conversion means 115. SQL conversion means 115,
When the processing request is received, the SQL sentence is analyzed (step 26
02), accesses the DBMS, receives a response (step 2603), notifies the processing result to the RPC driver 102 (parent thread) that started the RPC execution thread of the request source, and terminates the RPC execution thread of the request source. After notifying, the processing is ended (step 2604).
【0186】ステップ2680で処理を依頼したRPC
実行スレッドは、SQL変換手段115の終了信号(ス
テップ2604)を受信するまで、待ち状態となってお
り、終了の通知を受けると、スレッドを終了する(ステ
ップ2685)。RPC requested to be processed in step 2680
The execution thread is in a waiting state until it receives the end signal (step 2604) of the SQL conversion means 115, and when it receives the end notification, it terminates the thread (step 2685).
【0187】一方、ステップ2653でRPC実行スレ
ッドを起動した親スレッドは、タイムアウトカウンタ2
53を初期化した後(ステップ2654)、タイムアウ
トカウンタ253をカウントアップし(ステップ265
5)、タイムアウトカウンタ253の保持する値が、S
QLタイムアウト時間格納領域251の保持する値を超
えているかどうかチェックし(ステップ2656)、超
えていなければ、さらにRPC実行スレッドがすでに終
了しているかどうかチェックする(ステップ265
7)。On the other hand, the parent thread which started the RPC execution thread in step 2653 is the timeout counter 2
After initializing 53 (step 2654), the time-out counter 253 is incremented (step 265).
5), the value held by the timeout counter 253 is S
It is checked whether or not the value held in the QL timeout time storage area 251 is exceeded (step 2656), and if not exceeded, it is further checked whether or not the RPC execution thread has already ended (step 265).
7).
【0188】RPC実行スレッドがまだ終了していない
ときは、親スレッドは処理をステップ2655に戻し、
タイムアウトカウンタのカウントアップと、経過時間の
チェックを繰り返す。なお、RPC実行スレッドが起動
されると、ゲートウェイ情報処理装置130の主記憶装
置1001にあらかじめ定められた識別情報を格納し、
RPC実行スレッドは、終了時(ステップ2685)
に、該識別情報を削除する。ステップ2657における
RPC実行スレッドの終了チェックは、該識別情報が該
記憶装置に保持されているかどうか確認することにより
行なわれる。If the RPC execution thread has not finished yet, the parent thread returns the processing to step 2655,
The timeout counter is counted up and the elapsed time is checked repeatedly. When the RPC execution thread is activated, predetermined identification information is stored in the main storage device 1001 of the gateway information processing device 130,
When the RPC execution thread ends (step 2685)
Then, the identification information is deleted. The end check of the RPC execution thread in step 2657 is performed by checking whether the identification information is held in the storage device.
【0189】ステップ2656でのタイムアウトチェッ
クの結果、タイムアウトと判定した場合には、親スレッ
ドは、エラーコードをあらかじめ定められた領域に格納
し(ステップ2659)、SQL_RPCの処理を終了
する(ステップ2660)。なお、エラーコード設定
(ステップ2659)の際、本実施例7では、親スレッ
ドは、RPC実行スレッドとDBMSとの接続を切り、
RPC実行スレッドを終了させる。If the result of the time-out check in step 2656 is that the time-out has been determined, the parent thread stores the error code in a predetermined area (step 2659) and terminates the SQL_RPC processing (step 2660). . In addition, when the error code is set (step 2659), in the seventh embodiment, the parent thread disconnects the RPC execution thread from the DBMS,
Terminate the RPC execution thread.
【0190】また、ステップ2657でのRPC実行ス
レッド終了チェックの結果、終了したと判定した場合に
は、実行結果をあらかじめ定められた領域に格納し(ス
テップ2658)、SQL_x_RPCの処理を終了す
る(ステップ2660)。If it is determined as a result of the RPC execution thread end check in step 2657 that it has ended, the execution result is stored in a predetermined area (step 2658) and the SQL_x_RPC processing ends (step). 2660).
【0191】C.本実施例7の効果 以上説明したように、本実施例7によれば、タイムアウ
ト値をアプリケーション・ソフトウェア111からアク
セス管理コンポーネント112v、SQL変換手段11
5へとデータベースへの接続に先だって転送することに
よって、アプリケーション・ソフトウェア111が設定
したSQLタイムアウト時間で、前記各コンポーネント
でのRPC処理を打ち切ることができる。C. Effects of Seventh Embodiment As described above, according to the seventh embodiment, the timeout value is changed from the application software 111 to the access management component 112v and the SQL conversion means 11.
5 to the database prior to the connection to the database, the RPC process in each component can be terminated within the SQL timeout time set by the application software 111.
【0192】また、本実施例7によれば、アプリケーシ
ョン・ソフトウェア実行手段がゲートウェイを介してデ
ータベースにアクセスする場合にも、アプリケーション
・ソフトウェア実行手段が動作するプロセスで設定され
たデータベース・アクセス時の処理打ち切り時間が、ゲ
ートウェイがデータベースへアクセスする際に参照する
データベース・アクセス処理打ち切り時間に反映させる
ことができるので、アプリケーション・ソフトウェア実
行手段側とゲートウェイ側で個別に打ち切り時間を設定
する必要が無いという効果がある。Further, according to the seventh embodiment, even when the application software executing means accesses the database via the gateway, the processing at the time of database access set by the process in which the application software executing means operates. The termination time can be reflected in the database access processing termination time that the gateway refers to when accessing the database, so there is no need to set the termination time individually on the application software execution means side and the gateway side. There is.
【0193】なお、SQL変換手段115がDBMSを
アクセスする際にも、タイムアウトチェックを同様な方
法で行うようにしてもよい。この場合、RPCドライバ
102は、ステップ2650実行後、ステップ2653
実行前に、ゲートウェイ情報処理装置130の記憶装置
の格納領域251に保持されているSQLタイムアウト
時間を、SQL変換手段115に送出するようにし、こ
のSQLタイムアウト時間を受信したSQL変換手段1
15は、受け付けたSQLタイムアウト時間を、ゲート
ウェイ情報処理装置130にSQL変換手段用SQLタ
イムアウト時間の格納領域として確保された格納領域に
格納するようにする。このようにすれば、SQL変換手
段115がDBMSをアクセスする際に、格納されたS
QL変換手段用SQLタイムアウト時間を参照し、処理
時間が該時間を超えると、エラーにするようにすれば、
SQL変換手段115によるDBMSのアクセスについ
ても、処理に制限時間を設けることができる。Note that the timeout check may be performed by the same method when the SQL conversion means 115 accesses the DBMS. In this case, the RPC driver 102 executes step 2650 and then step 2653.
Before execution, the SQL time-out time held in the storage area 251 of the storage device of the gateway information processing device 130 is sent to the SQL conversion means 115, and the SQL time-out means 1 receives the SQL time-out time.
15 stores the received SQL timeout time in the storage area secured as a storage area for the SQL timeout time for SQL conversion means in the gateway information processing device 130. By doing this, when the SQL conversion means 115 accesses the DBMS, the stored S
By referring to the SQL timeout time for QL conversion means, and if the processing time exceeds that time, an error is generated.
For the DBMS access by the SQL conversion unit 115, a time limit can be set for the processing.
【0194】ところで、アプリケーション・ソフトウェ
ア111から発行されたSQL_RPCは、図29に示
すように、アクセス管理コンポーネント112v、SQ
L変換手段115、DBMS121での処理が入れ子に
なる形で実行される。したがって、各コンポーネントで
のタイムアウトによる処理打ち切りが同時に発生する
と、どのコンポーネントでの処理が原因で処理時間がタ
イムアウト値をオーバーしたかアプリケーション・ソフ
トウェア111が正しく認識できない。By the way, the SQL_RPC issued from the application software 111 is the access management component 112v, SQ as shown in FIG.
The processes in the L conversion means 115 and the DBMS 121 are executed in a nested form. Therefore, when the processing termination due to the time-out in each component occurs at the same time, the application software 111 cannot correctly recognize in which component the processing time exceeds the timeout value.
【0195】これを解決するためには、アクセス管理コ
ンポーネント112vがステップ2501で受信したS
QLタイムアウト時間から、一定時間を引いた時間をア
クセス管理コンポーネント112vが使用するSQLタ
イムアウト時間として記憶すればよい。To solve this, the S received by the access management component 112v in step 2501.
The time obtained by subtracting a fixed time from the QL timeout time may be stored as the SQL timeout time used by the access management component 112v.
【0196】これによって、タイムアウトエラーを検出
したコンポーネント(アクセス管理コンポーネント、ま
たはSQL変換手段)よりもアプリケーション・ソフト
ウェア111に近い側のコンポーネントは、その検出の
時点では、SQLタイムアウト時間に達しておらず、ま
だ処理を打ち切っていないので、タイムアウトエラーを
検出したコンポーネントからのエラーコードを正しくア
プリケーション・ソフトウェア111に伝えることがで
きる。このようにすれば、処理が打ち切られた場合の、
処理時間超過の原因箇所を容易に特定できる。As a result, the component closer to the application software 111 than the component (access management component or SQL conversion means) that has detected the timeout error has not reached the SQL timeout time at the time of the detection. Since the processing has not been aborted yet, the error code from the component that detected the timeout error can be correctly transmitted to the application software 111. This way, if the process is aborted,
The location where the processing time is exceeded can be easily identified.
【0197】なお、本実施例7のRPCドライバ102
に、実施例2の第1および/または第2の選択手段を設
けてもよい。また、各情報処理装置に外部記憶装置を備
え、上述した、主記憶装置1001に備えられている各
格納領域は、この外部記憶装置に設けてもよい。The RPC driver 102 according to the seventh embodiment is used.
In addition, the first and / or second selection means of the second embodiment may be provided. Further, each information processing device may be provided with an external storage device, and the storage areas provided in the main storage device 1001 described above may be provided in this external storage device.
【0198】(実施例8)つぎに、サーバおよびクライ
アントの障害を監視する実施例を説明する。本実施例8
の異種データベース・アクセス・システムの構成を図3
7に示す。本実施例8の異種データベース・アクセス・
システムは、実施例7とほぼ同様の構成を有する。ただ
し、本実施例8では、図37に示すように、クライアン
ト情報処理装置110の主記憶装置1001は、SQL
タイムアウト時間格納領域250に加えて、さらに、サ
ーバチェック用RPCタイムアウト時間と、サーバチェ
ック用RPCインターバル時間とをそれぞれ保持するた
めの格納領域371、372を備え、同様に、ゲートウ
ェイ情報処理装置130の主記憶装置1001は、SQ
Lタイムアウト時間格納領域251に加えて、さらに、
サーバチェック用RPCタイムアウト時間と、サーバチ
ェック用RPCインターバル時間とをそれぞれ保持する
ための格納領域373、374を備える。また、本実施
例8のクライアント情報処理装置110のRPCドライ
バ102は、タイムアウトカウンタ252に加えて、さ
らに、サーバチェック用RPCの発行間隔をカウントす
るためのインターバルタイマ375を備え、ゲートウェ
イ情報処理装置130のアクセス管理コンポーネント1
12vは、クライアントの稼働をチェックするタイミン
グを計るためのクライアントチェックタイマ376を、
さらに備える。(Embodiment 8) Next, an embodiment for monitoring a failure of a server and a client will be described. Example 8
Figure 3 shows the configuration of the heterogeneous database access system
7 shows. Heterogeneous database access of the eighth embodiment
The system has a configuration similar to that of the seventh embodiment. However, in the eighth embodiment, as shown in FIG. 37, the main storage device 1001 of the client information processing device 110 is SQL
In addition to the timeout time storage area 250, storage areas 371 and 372 for holding the server check RPC timeout time and the server check RPC interval time, respectively, are further provided, and similarly, the main part of the gateway information processing device 130 is provided. The storage device 1001 is SQ
In addition to the L timeout time storage area 251,
Storage areas 373 and 374 are provided for holding the server check RPC timeout time and the server check RPC interval time, respectively. In addition to the timeout counter 252, the RPC driver 102 of the client information processing apparatus 110 according to the eighth embodiment further includes an interval timer 375 for counting the server check RPC issuance interval, and the gateway information processing apparatus 130. Access management component 1
12v has a client check timer 376 for measuring the timing of checking the operation of the client,
Further prepare.
【0199】なお、本実施例8のRPCドライバ102
に、実施例2の第1および/または第2の選択手段を設
けてもよい。また、各情報処理装置に外部記憶装置を備
え、上述した、主記憶装置1001に備えられている各
格納領域は、この外部記憶装置に設けてもよい。The RPC driver 102 according to the eighth embodiment.
In addition, the first and / or second selection means of the second embodiment may be provided. Further, each information processing device may be provided with an external storage device, and the storage areas provided in the main storage device 1001 described above may be provided in this external storage device.
【0200】A.SQL_RPCの処理の流れ 本実施例8におけるSQL_RPCの処理を図27に示
す。本実施例8のクライアント情報処理装置110のR
PCドライバ102は、アプリケーション・ソフトウェ
ア111から発行されたSQL_RPCを受け付ける
と、まず、該SQL_RPCが、DBMSへの接続文か
どうかを判定し(ステップ2751)、接続文であった
場合にはステップ2752〜2754を実行した後、ス
テップ2790に制御を移し、接続文でなかった場合に
は直接ステップ2790に制御を移す。A. Flow of SQL_RPC Processing FIG. 27 shows the processing of SQL_RPC in the eighth embodiment. R of the client information processing apparatus 110 according to the eighth embodiment
Upon receiving the SQL_RPC issued from the application software 111, the PC driver 102 first determines whether or not the SQL_RPC is a connection statement to the DBMS (step 2751), and if it is a connection statement, steps 2752-. After executing 2754, control is transferred to step 2790, and if it is not a connection statement, control is directly transferred to step 2790.
【0201】ステップ2752では、RPCドライバ1
02は、実施例7と同様に、アクセス管理コンポーネン
ト112vの物理位置を取得する。ステップ2753で
は、RPCドライバ102は、実施例7で説明したSQ
Lタイムアウト時間に加え、格納領域371にあらかじ
め保持されたサーバチェック用RPCタイムアウト時間
と、格納領域372にあらかじめ保持されたサーバチェ
ック用RPCインターバル時間とを、アクセス管理コン
ポーネント112vに通知する。つぎに、クライアント
のRPCドライバ102は、サーバチェック用スレッド
を起動する(ステップ2754)。At step 2752, the RPC driver 1
02 acquires the physical location of the access management component 112v, as in the seventh embodiment. In step 2753, the RPC driver 102 uses the SQ described in the seventh embodiment.
In addition to the L timeout time, the server check RPC timeout time previously held in the storage area 371 and the server check RPC interval time previously held in the storage area 372 are notified to the access management component 112v. Next, the client RPC driver 102 activates the server checking thread (step 2754).
【0202】ステップ2753による通知を受けたアク
セス管理コンポーネント112vは、SQLタイムアウ
ト時間、サーバチェック用RPCタイムアウト時間、サ
ーバチェック用RPCインターバル時間を、それぞれ、
格納領域251、273、274に格納する(ステップ
2701)。また、アクセス管理コンポーネント112
vは、クライアントチェック用スレッドを起動する(ス
テップ2702)。The access management component 112v which has received the notification in step 2753 sets the SQL timeout time, the server check RPC timeout time, and the server check RPC interval time, respectively.
The data is stored in the storage areas 251, 273, 274 (step 2701). Also, the access management component 112
v activates the client check thread (step 2702).
【0203】一方、クライアント情報処理装置110の
RPCドライバ102は、インターバルタイマ375を
初期化したのち(ステップ2790)、SQL文がデー
タベースへの接続を切る切断文であるかどうかを調べ
(ステップ2760)、切断文であった場合には、ステ
ップ2754で起動したサーバチェック用スレッドを終
了する(ステップ2761)。On the other hand, the RPC driver 102 of the client information processing apparatus 110, after initializing the interval timer 375 (step 2790), checks whether the SQL statement is a disconnect statement for disconnecting the connection to the database (step 2760). If it is a disconnection statement, the server checking thread started in step 2754 is terminated (step 2761).
【0204】つぎに、RPCドライバ102は、実施例
7と同様にRPC実行スレッドを起動する(ステップ2
762)。ここで起動されたRPC実行スレッドは、ア
クセス管理コンポーネント112vにRPCを発行して
その処理を依頼し(ステップ2780)、アクセス管理
コンポーネント112vの処理終了通知を待つ。処理を
依頼されたアクセス管理コンポーネント112v側のR
PCサーバは、クライアントチェックタイマ376を初
期化し(ステップ2703)、SQL文の解析を行う
(ステップ2502)。Next, the RPC driver 102 activates the RPC execution thread as in the seventh embodiment (step 2).
762). The RPC execution thread started here issues an RPC to the access management component 112v and requests its processing (step 2780), and waits for a processing end notification of the access management component 112v. R on the side of the access management component 112v requested to process
The PC server initializes the client check timer 376 (step 2703) and analyzes the SQL statement (step 2502).
【0205】なお、以上述べた処理の続き(ステップ2
554〜2560、ステップ2585、ステップ250
2〜2504)は、上述の実施例7における図25に図
示した処理と同じである。It should be noted that the continuation of the processing described above (step 2
554 to 2560, step 2585, step 250
2 to 2504) are the same as the processing illustrated in FIG. 25 in the above-described seventh embodiment.
【0206】B.サーバチェック用スレッドの処理 図28に、上述のステップ2754で起動され、ステッ
プ2761で終了するサーバチェック用スレッドの処理
を示す。B. Processing of Server Check Thread FIG. 28 shows processing of the server check thread that is started in step 2754 and ends in step 2761 described above.
【0207】サーバチェック用スレッドは、起動される
と、まず、インターバルタイマ375を初期化して(ス
テップ2801)、インターバルタイマ375のカウン
トアップ(ステップ2802)と、インターバルタイマ
375の保持する値が、格納領域372の保持するサー
バチェック用RPCインターバル時間を超えたかどうか
のチェック(ステップ2803)とを繰り返すことによ
り、インターバルタイマ375の値が、あらかじめ定め
られたサーバチェック用RPCインターバル時間に到達
するまで待つ。When the server check thread is activated, first, the interval timer 375 is initialized (step 2801), the interval timer 375 counts up (step 2802), and the value held by the interval timer 375 is stored. By repeating the check (step 2803) as to whether or not the server check RPC interval time stored in the area 372 has been reached, the process waits until the value of the interval timer 375 reaches the predetermined server check RPC interval time.
【0208】サーバチェック用RPCインターバル時間
に到達すると、サーバチェック用スレッドは、SQL_
RPCの処理が実行中であるかどうか(すなわち、本実
施例ではRPC実行スレッドが終了していないかどう
か)を調べ(ステップ2890)、実行中であった場合
には、ステップ2801に処理を戻す。実行中ではなか
った場合は、サーバチェック用スレッドは、サーバチェ
ック用RPC実行スレッドを起動する(ステップ280
4)。When the server check RPC interval time is reached, the server check thread is returned to SQL_
It is checked whether or not the RPC processing is being executed (that is, whether or not the RPC execution thread is terminated in this embodiment) (step 2890). If it is being executed, the processing is returned to step 2801. . If it is not running, the server check thread activates the server check RPC execution thread (step 280).
4).
【0209】起動されたサーバチェック用RPC実行ス
レッドは、アクセス管理コンポーネント112vに対し
サーバチェック用RPCを発行し、応答を待つ(ステッ
プ2850)。なお、このサーバチェック用RPCは、
RPCサーバであるアクセス管理コンポーネント112
vに障害がないかを確認するための、あらかじめ定めら
れた単純な指示のRPCである。サーバチェック用RP
Cのアクセス管理コンポーネント112vによる処理が
終了すると、サーバチェック用RPC実行スレッドは、
サーバチェック用RPC終了メッセージを設定しスレッ
ドを終了する(ステップ2851)。The activated server check RPC execution thread issues a server check RPC to the access management component 112v and waits for a response (step 2850). In addition, this server check RPC is
Access management component 112, which is an RPC server
It is an RPC of a simple predetermined instruction for checking whether v has no fault. RP for server check
When the processing by the access management component 112v of C is completed, the RPC execution thread for server check is
The server check RPC end message is set and the thread is ended (step 2851).
【0210】一方、ステップ2804でサーバチェック
用RPC実行スレッドを起動した親スレッドは、タイム
アウトカウンタ252を初期化した後(ステップ280
5)、ステップ2806のタイムアウトカウンタカウン
トアップ、ステップ2807のタイムアウトチェック、
ステップ2808のサーバチェック用RPC実行スレッ
ドの終了チェックを、所定時間(サーバチェック用RP
Cタイムアウト時間)が経過するか、あるいは、サーバ
チェック用RPC実行スレッドが終了するまで繰り返し
実行する。なお、ステップ2807でのタイムアウトチ
ェックは、タイムアウトカウンタ252の値が格納領域
371に保持されているサーバチェック用RPCタイム
アウト時間に達したかどうかで判定される。また、ステ
ップ2808のRPC終了チェックは、ステップ285
1で設定される終了メッセージがすでに設定されている
かどうかで判定される。On the other hand, the parent thread which started the server check RPC execution thread in step 2804 initializes the timeout counter 252 (step 280).
5), timeout counter count-up in step 2806, timeout check in step 2807,
The end check of the server check RPC execution thread in step 2808 is performed for a predetermined time (server check RP
It is repeatedly executed until (C timeout time) elapses or the server check RPC execution thread ends. The timeout check in step 2807 is determined by whether or not the value of the timeout counter 252 has reached the server check RPC timeout time held in the storage area 371. Also, the RPC end check in step 2808 is performed in step 285.
It is determined whether the end message set in 1 is already set.
【0211】ステップ2807でのタイムアウトチェッ
クの結果、所定時間を経過した場合、サーバチェック用
スレッドは、ステップ2820でエラーコードを設定し
(ステップ2820)、スレッドを終了する(ステップ
2821)。また、ステップ2808でのサーバチェッ
ク用RPC終了チェックの結果、サーバチェック用RP
C実行スレッドが終了していた場合には、サーバチェッ
ク用スレッドは、処理をステップ2801に戻す。When the predetermined time has passed as a result of the time-out check in step 2807, the server checking thread sets an error code in step 2820 (step 2820) and terminates the thread (step 2821). Also, as a result of the server check RPC end check in step 2808, the server check RP
If the C execution thread has ended, the server checking thread returns the processing to step 2801.
【0212】このようにすれば、DBMSに接続してか
ら切断するまでの間、あらかじめ定められた一定時間
(サーバチェック用RPCインターバル時間)ごとに、
サーバの正常稼働を確認することができる。In this way, from the time when the DBMS is connected to the time when the DBMS is disconnected, at a predetermined fixed time (RPC interval time for server check),
You can check the normal operation of the server.
【0213】なお、本実施例8ではインターバルタイマ
375を用いてサーバチェック用RPCを定期的に発行
しているが、ステップ2890により、SQL_RPC
の処理の実行とサーバチェック用RPCが競合した場合
は、サーバチェック用RPCの発行を取りやめ、再びイ
ンターバルタイマ375を初期化(ステップ2801)
して、計時を再実行するようになっている。In the eighth embodiment, the server timer RPC is periodically issued using the interval timer 375. However, in step 2890, SQL_RPC is issued.
If there is a conflict between the execution of the above process and the server check RPC, the issuance of the server check RPC is canceled and the interval timer 375 is initialized again (step 2801).
Then, the timing is re-executed.
【0214】さらに、インターバルタイマ375はSQ
L_RPCを、クライアントのRPCドライバ102が
受け付ける毎に、ステップ2790(図27)で初期化
される。従って、SQL_RPCとサーバチェック用R
PCの何れかが一番最後に発行された時点から、サーバ
チェック用RPCインターバル時間内にSQL_RPC
が発行されなかった場合に、サーバチェック用RPCを
発行するように動作する。これによって、サーバチェッ
ク用RPCの発行回数を必要最小限とする事ができる。Further, the interval timer 375 is SQ
Each time L_RPC is received by the RPC driver 102 of the client, it is initialized in step 2790 (FIG. 27). Therefore, SQL_RPC and server check R
SQL_RPC within the server check RPC interval time from the time when the last one of the PCs was issued.
Is issued, an RPC for server check is issued. This makes it possible to minimize the number of server check RPCs issued.
【0215】C.クライアントチェック用スレッドの処
理 次に、ステップ2702(図27)で起動されたクライ
アントチェック用スレッド(クライアントチェック処理
実行手段)の処理内容を図33を用いて説明する。C. Processing of Client Check Thread Next, the processing contents of the client check thread (client check processing execution means) started in step 2702 (FIG. 27) will be described with reference to FIG.
【0216】クライアントチェック用スレッドは、起動
されると、まず、クライアントチェックタイマ376を
初期化し(ステップ3301)、SQL_RPCが処理
中かどうかを調べ(ステップ3302)、処理中でなけ
れば、クライアントチェックタイマ376をカウントア
ップする(ステップ3303)。When the client check thread is activated, it first initializes the client check timer 376 (step 3301) and checks whether SQL_RPC is being processed (step 3302). If not, the client check timer 376 is checked. Count up 376 (step 3303).
【0217】つぎに、クライアントチェック用スレッド
は、クライアントチェックタイマ376の保持する値
が、タイムアウト時間に到達したかを調べ(ステップ3
304)、達していないと判断した場合にはステップ3
302に処理を戻す。なお、ここで、タイムアウト時間
は、サーバチェック用RPCインターバル時間格納領域
374に保持された値を基に設定された時間である。こ
の時間は、インターバルタイマの精度、通信経路での遅
延等を考慮すれば、サーバチェック用RPCインターバ
ル時間の1.2倍から2倍の間の時間とするのが適切で
ある。Next, the client check thread checks whether the value held by the client check timer 376 has reached the timeout time (step 3
304), if it is determined that it has not reached step 3
The process is returned to 302. Here, the timeout time is a time set based on the value held in the server check RPC interval time storage area 374. Considering the accuracy of the interval timer, the delay in the communication path, and the like, it is appropriate that this time is between 1.2 and 2 times the RPC interval time for server check.
【0218】ステップ3304において、タイムアウト
時間に達したと判断した場合には、クライアントチェッ
ク用スレッドは、エラー通知を行い(ステップ330
5)、スレッドの終了処理を行う(ステップ330
6)。If it is determined in step 3304 that the time-out period has been reached, the client checking thread gives an error notification (step 330).
5) Perform thread termination processing (step 330)
6).
【0219】D.サーバチェック用RPCのサーバ側で
の処理 図34に、サーバチェック用RPCのサーバ側での処理
内容を示す。アクセス管理コンポーネント1112v
は、ステップ2850において発行されたサーバチェッ
ク用RPCを受け付けると、クライアントチェックタイ
マ376を初期化し(ステップ3401)、終了通知を
して処理を終了する(ステップ3490)。D. Processing on Server Side of Server Checking RPC FIG. 34 shows processing contents on the server side of the server checking RPC. Access management component 1112v
When receiving the server check RPC issued in step 2850, initializes the client check timer 376 (step 3401), gives an end notification, and ends the process (step 3490).
【0220】このクライアントチェックタイマ376の
初期化(ステップ3401)は、すでに図27のステッ
プ2703で示したように、SQL_RPCの処理にお
いてSQL_RPCを受け付けた際にも行われる。した
がって、クライアントチェックタイマ376によるタイ
ムアウトチェックは、クライアントからサーバチェック
用RPCまたはSQL_RPCの何れかが、タイムアウ
ト時間内に発行されるかどうかを監視していることにな
る。The initialization of the client check timer 376 (step 3401) is also performed when the SQL_RPC is accepted in the SQL_RPC processing as already shown in step 2703 of FIG. Therefore, the timeout check by the client check timer 376 is monitoring whether the client issues either the server check RPC or SQL_RPC within the timeout time.
【0221】E.アクセス管理コンポーネント112v
とSQL変換手段115が相互に障害チェックを行う場
合の処理 なお、以上の説明では、クライアントのRPCドライバ
102と、アクセス管理コンポーネント112vが相互
に障害チェックを行う例を示したが、アクセス管理コン
ポーネント112vとSQL変換手段115が相互に障
害チェックを行う場合も図32に示すように全く同様に
実現できる。この場合の処理の流れを、つぎに説明す
る。E. Access management component 112v
And the processing performed when the SQL conversion means 115 mutually perform failure check In the above description, the example in which the RPC driver 102 of the client and the access management component 112v mutually perform failure check has been described. Even when the SQL conversion means 115 and the SQL conversion means 115 mutually perform a failure check, they can be realized in exactly the same manner as shown in FIG. The flow of processing in this case will be described below.
【0222】まず、アクセス管理コンポーネント112
vは、クライアントのRPCドライバ102から通知さ
れたSQL_RPCを受け付けると、該SQL_RPC
が、DBMSへの接続文かどうかを判定し(ステップ3
251)、接続文であった場合にはステップ3252〜
3254を実行した後、ステップ3290に制御を移
し、接続文でなかった場合には直接ステップ3290に
制御を移す。First, the access management component 112
Upon receiving the SQL_RPC notified from the RPC driver 102 of the client, v receives the SQL_RPC.
Is a connection statement to the DBMS (step 3
251), and if it is a connection statement, steps 3252 to 3252.
After executing 3254, control is transferred to step 3290, and if it is not a connection statement, control is directly transferred to step 3290.
【0223】ステップ3252では、アクセス管理コン
ポーネント112vは、SQL変換手段115の物理位
置を取得する。ステップ3253では、アクセス管理コ
ンポーネント112vは、格納領域251に保持された
SQLタイムアウト時間と、格納領域373に保持され
たサーバチェック用RPCタイムアウト時間と、格納領
域374に保持されたサーバチェック用RPCインター
バル時間とを、SQL変換手段115に通知する。つぎ
に、アクセス管理コンポーネント112vは、サーバチ
ェック用スレッドを起動する(ステップ3254)。At step 3252, the access management component 112v acquires the physical position of the SQL conversion means 115. In step 3253, the access management component 112v causes the SQL timeout time held in the storage area 251, the server check RPC timeout time held in the storage area 373, and the server check RPC interval time held in the storage area 374. And the SQL conversion means 115. Next, the access management component 112v activates the server check thread (step 3254).
【0224】ステップ3253による通知を受けたSQ
L変換手段115は、SQLタイムアウト時間、サーバ
チェック用RPCタイムアウト時間、サーバチェック用
RPCインターバル時間を、それぞれ、格納領域(図示
せず)に格納する(ステップ3201)。また、SQL
変換手段115は、クライアントチェック用スレッド
(アクセス管理手段チェック処理実行手段)を起動する
(ステップ3202)。SQ notified in step 3253
The L conversion means 115 stores the SQL timeout time, the server check RPC timeout time, and the server check RPC interval time in a storage area (not shown) (step 3201). Also, SQL
The conversion unit 115 activates a client check thread (access management unit check processing execution unit) (step 3202).
【0225】一方、アクセス管理コンポーネント112
vは、インターバルタイマ375を初期化したのち(ス
テップ3290)、SQL文がデータベースへの接続を
切る切断文であるかどうかを調べ(ステップ326
0)、切断文であった場合には、ステップ3254で起
動したサーバチェック用スレッドを終了する(ステップ
3261)。On the other hand, the access management component 112
After initializing the interval timer 375 (step 3290), v checks whether the SQL statement is a disconnect statement for disconnecting the connection to the database (step 326).
0), if it is a disconnection statement, the server check thread started in step 3254 is terminated (step 3261).
【0226】つぎに、アクセス管理コンポーネント11
2vは、RPC実行スレッドを起動する(ステップ32
62)。ここで起動されたRPC実行スレッドは、SQ
L変換手段115にRPCを発行してその処理を依頼し
(ステップ3280)、処理終了通知を待つ。処理を依
頼されたSQL変換手段115は、クライアントチェッ
クタイマ376を初期化し(ステップ3203)、SQ
L文の解析を行う(ステップ2502)。Next, the access management component 11
2v starts the RPC execution thread (step 32).
62). The RPC execution thread started here is SQ
It issues an RPC to the L conversion means 115, requests its processing (step 3280), and waits for a processing end notification. The SQL conversion means 115, which has been requested to process, initializes the client check timer 376 (step 3203), and SQ
The L sentence is analyzed (step 2502).
【0227】なお、以上述べた処理の続き(ステップ2
554〜2560、ステップ2585、ステップ250
2〜2504)は、実施例7における図25に図示した
処理と同じである。The continuation of the processing described above (step 2
554 to 2560, step 2585, step 250
2 to 2504) are the same as the processing illustrated in FIG. 25 in the seventh embodiment.
【0228】F.各時間の設定例 図31に、上記実施例におけるSQLタイムアウト時
間、サーバチェック用RPCタイムアウト時間、サーバ
チェック用RPCインターバル時間の設定例を示す。本
実施例8では、図31に示すように、SQLタイムアウ
ト時間はSQL_TIMEOUT、サーバチェック用R
PCタイムアウト時間はSERV_TIMEOUT、サ
ーバチェック用RPCインターバル時間はSERV_C
HKINTという名称の環境変数の格納領域に、それぞ
れ格納して定義する。これらの設定値は、本実施例8で
は環境変数であるが、これに限られず、記憶できれば何
でもよい。なお、図31に示した例では、各時間の単位
はすべて秒である。F. Setting Example of Each Time FIG. 31 shows a setting example of the SQL timeout time, the server check RPC timeout time, and the server check RPC interval time in the above embodiment. In the eighth embodiment, as shown in FIG. 31, the SQL timeout time is SQL_TIMEOUT, R for server check.
PC timeout time is SERV_TIMEOUT, server check RPC interval time is SERV_C
It is stored and defined in an environment variable storage area named HKINT. Although these set values are environment variables in the eighth embodiment, the set values are not limited to these and may be anything as long as they can be stored. In the example shown in FIG. 31, the unit of each time is all seconds.
【0229】設定値群3101は、アプリケーション・
ソフトウェア実行手段111およびクライアントRPC
ドライバ102のプロセスの環境変数であり、ユーザー
あるいはアプリケーション・ソフトウェア実行手段11
1が設定する。この設定3101では、SQLタイムア
ウト時間は3600秒、サーバチェック用RPCタイム
アウト時間は10秒、サーバチェック用RPCインター
バル時間は600秒となっている。The set value group 3101 is an application
Software execution means 111 and client RPC
It is an environment variable of the process of the driver 102, and is a user or application software execution means 11
Set by 1. In this setting 3101, the SQL timeout time is 3600 seconds, the server check RPC timeout time is 10 seconds, and the server check RPC interval time is 600 seconds.
【0230】設定値群3102は、アクセス管理コンポ
ーネント112vのプロセスの環境変数であり、データ
ベースへの接続時にアクセス管理コンポーネント112
vが上述の設定値群3101の値をクライアントのRP
Cドライバ102から受信し、設定したものである。こ
の設定3102では、SQLタイムアウト時間は350
0秒、サーバチェック用RPCタイムアウト時間は10
秒、サーバチェック用RPCインターバル時間は600
秒となっている。ここでは、SQLタイムアウト時間
は、受信した値から100を引いた値としている。The set value group 3102 is an environment variable of the process of the access management component 112v and is used when connecting to the database.
v sets the value of the set value group 3101 described above to the RP of the client.
It is received from the C driver 102 and set. With this setting 3102, the SQL timeout time is 350.
0 seconds, server check RPC timeout time is 10
Seconds, server check RPC interval time is 600
Seconds. Here, the SQL timeout time is a value obtained by subtracting 100 from the received value.
【0231】設定値群3103は、SQL変換手段11
5のプロセスの環境変数であり、データベース接続時に
SQL変換手段115が上述の設定値群3102の値を
アクセス管理コンポーネント112vから受信し設定し
たものである。この設定3103では、SQLタイムア
ウト時間は3400秒、サーバチェック用RPCタイム
アウト時間は10秒、サーバチェック用RPCインター
バル時間は600秒となっている。ここでも、SQLタ
イムアウト時間は、受信した値から100を引いた値と
している。The set value group 3103 is the SQL conversion means 11
These are environment variables of the process No. 5 and are set by the SQL conversion means 115 upon receiving a value from the access management component 112v from the access management component 112v when the database is connected. In this setting 3103, the SQL timeout time is 3400 seconds, the server check RPC timeout time is 10 seconds, and the server check RPC interval time is 600 seconds. Here again, the SQL timeout time is the value obtained by subtracting 100 from the received value.
【0232】以上述べたように、本実施例8では、サー
バチェック用RPCを用い、サーバの障害検出を、設定
したインターバル時間毎に定期的に行うことによって、
データベースアクセスのためのRPC実行前にサーバの
障害を認識することができる。また、サーバチェック用
RPCが定期的に発行されているかどうかをサーバ側で
監視することによって、クライアント側の障害検出を行
うことができる。As described above, in the eighth embodiment, the server check RPC is used and the server failure is detected periodically at the set interval time.
A server failure can be recognized before executing RPC for database access. Further, the server side monitors whether or not the server check RPC is issued periodically, so that the failure can be detected on the client side.
【0233】本実施例8では、データベース・アクセス
時の処理打ち切り時間をアプリケーション・ソフトウェ
ア実行手段のプロセス毎に設定可能であるので、アプリ
ケーションに応じた適切な処理打ち切り時間が設定でき
る。さらに、本実施例8によれば、ゲートウェイ情報処
理装置上のコンポーネントやDBMSの障害をSQL文
の発行前に検知可能であり、無駄なSQL文の発行や、
障害検知待ち時間の発生を防止できる。また、本実施例
によれば、アクセスを依頼した側のコンポーネントの障
害、つまり、クライアント側のコンポーネントの障害
(アクセス管理コンポーネント112vの場合)、また
は、アクセス管理コンポーネント112vの障害(SQ
L変換手段115の場合)を検知することができる。こ
れにより、障害が発生したコンポーネントに対応するプ
ロセスを異常終了させることができ、ゲートウェイ情報
処理装置の資源、例えば、CPU1000や、主記憶装
置1001を、他のプロセスが有効利用することができ
る。In the eighth embodiment, the processing termination time at the time of database access can be set for each process of the application software executing means, so that the processing termination time can be set appropriately according to the application. Furthermore, according to the eighth embodiment, it is possible to detect a failure of a component on the gateway information processing device or a DBMS before the SQL statement is issued, and useless SQL statement issuance or
It is possible to prevent the occurrence of a failure detection waiting time. Further, according to the present embodiment, the failure of the component on the side requesting access, that is, the failure of the component on the client side (in the case of the access management component 112v) or the failure of the access management component 112v (SQ
(In the case of the L conversion means 115) can be detected. As a result, the process corresponding to the failed component can be abnormally terminated, and the resources of the gateway information processing device, such as the CPU 1000 and the main storage device 1001, can be effectively used by other processes.
【0234】(上記各実施例1〜8の効果)以上述べた
各実施例1〜8では、SQL仕様の異なる2種類のDB
MSが混在した場合について説明したが、何種類のDB
MSが混在してもよいし、SQL仕様だけでなく、通信
プロトコルが異なっていてもよい。また、各情報処理装
置間がLANによって接続された例を示したが、LAN
でなく電話回線などのWAN(Wide Area N
etwork)による接続、あるいはLANとWANを
併用した接続環境にも本発明は適用できる。さらに、以
上述べた実施例におけるRPCは、同一の情報処理装置
内のプログラム間か、別の情報処理装置上のプログラム
間かに拘らず処理の依頼と該処理結果の受取が可能なイ
ンタフェース機構であれば何を用いてもよい。また、ゲ
ートウェイ情報処理装置の選択や、タイムアウト監視な
どは、データベース・アクセス・システムに限らず、R
PCを用いた他の分散処理システムへも適用できる。な
お、上記実施例1〜8は、任意に組み合わせることがで
きる。(Effects of the First to Eighth Embodiments) In the first to eighth embodiments described above, two kinds of DBs having different SQL specifications are used.
I explained the case of mixed MS, but how many kinds of DB
MSs may be mixed, and not only SQL specifications but also communication protocols may be different. Also, an example in which the information processing apparatuses are connected by a LAN has been shown.
WAN (Wide Area N) such as telephone lines
The present invention can also be applied to a connection based on the network or a connection environment using both LAN and WAN. Further, the RPC in the above-described embodiment is an interface mechanism capable of requesting processing and receiving the processing result regardless of between programs in the same information processing apparatus or between programs on another information processing apparatus. Anything can be used if it exists. In addition, selection of the gateway information processing device, timeout monitoring, etc. are not limited to the database access system,
It can also be applied to other distributed processing systems using a PC. The above Examples 1 to 8 can be arbitrarily combined.
【0235】また、ひとつのSQL変換手段115は、
同一のSQL仕様を備える複数のDBMSに対するデー
タベース・アクセスを処理できる。このため、運用して
いるDBMSごとのSQL変換手段115を用意する必
要がなく、少なくとも、運用しているDBMSの種類に
相当する数のSQL変換手段115を導入すればたりる
ため、システム全体のコストを低減できる。In addition, one SQL conversion means 115 is
It can handle database access for multiple DBMSs with the same SQL specification. Therefore, it is not necessary to prepare the SQL conversion means 115 for each operating DBMS, and at least the number of SQL conversion means 115 corresponding to the type of operating DBMS can be introduced. Cost can be reduced.
【0236】[0236]
【発明の効果】本発明によれば、複数のゲートウェイ情
報処理装置に負荷を分散することができる。また、本発
明によれば、ゲートウェイ情報処理装置を経由すること
のオーバーヘッドを低減することができる。さらに本発
明によれば、非標準仕様のSQLを用いたアプリケーシ
ョン・ソフトウェアから非標準仕様のSQLを用いたD
BMSにアクセスすることできる。According to the present invention, the load can be distributed to a plurality of gateway information processing devices. Further, according to the present invention, it is possible to reduce the overhead of passing through the gateway information processing device. Further, according to the present invention, application software using non-standard SQL can be used to convert non-standard SQL using D
BMS can be accessed.
【0237】また、本発明によれば、クライアントのア
プリケーション・ソフトウェア毎に自由な文字コードセ
ットを使用することができる。さらに、本発明によれ
ば、アプリケーション・ソフトウエア実行手段からDB
MSへの接続単位に、自由な文字コードセットを使用す
ることができる。Also, according to the present invention, a free character code set can be used for each application software of the client. Furthermore, according to the present invention, the DB from the application software execution means is
A free character code set can be used for the connection unit to the MS.
【0238】また、本発明によれば、データベース・ア
クセス時に、クライアントのアプリケーション・ソフト
ウェアごとに任意に設定した時間が経過すると、その処
理を打ち切ることができる。さらに、本発明によれば、
ゲートウェイ情報処理装置上のコンポーネントやDBM
Sの障害をSQL文の発行前に検知することができ、接
続中のクライアントの障害をゲートウェイ情報処理装置
側で検出できる。Further, according to the present invention, at the time of accessing the database, if the time arbitrarily set for each application software of the client elapses, the processing can be terminated. Further according to the invention,
Components and DBM on the gateway information processing device
The failure of S can be detected before the SQL statement is issued, and the failure of the connected client can be detected on the side of the gateway information processing device.
【図1】実施例1におけるデータベース・アクセス・シ
ステムの構成図である。FIG. 1 is a configuration diagram of a database access system according to a first embodiment.
【図2】従来のデータベース・アクセス・アクセス・シ
ステムの構成例を示す構成図である。FIG. 2 is a configuration diagram showing a configuration example of a conventional database access access system.
【図3】従来のデータベース・アクセス・アクセス・シ
ステムの他の構成例を示す構成図である。FIG. 3 is a configuration diagram showing another configuration example of a conventional database access access system.
【図4】実施例1においてクライアント情報処理装置か
らアクセス管理コンポーネントに発行するRPCの処理
を示すフローチャートである。FIG. 4 is a flowchart illustrating RPC processing issued from the client information processing apparatus to the access management component according to the first embodiment.
【図5】実施例1においてアクセス管理コンポーネント
からSQL変換手段に発行するRPCの処理を示すフロ
ーチャートである。FIG. 5 is a flowchart showing a process of RPC issued from the access management component to the SQL conversion means in the first embodiment.
【図6】実施例3のデータベース・アクセス・システム
の構成図である。FIG. 6 is a configuration diagram of a database access system according to a third embodiment.
【図7】実施例3におけるクライアントでのSQL処理
を示すフローチャートである。FIG. 7 is a flowchart showing SQL processing in a client according to the third embodiment.
【図8】実施例4のデータベース・アクセス・システム
の構成図である。FIG. 8 is a configuration diagram of a database access system according to a fourth embodiment.
【図9】実施例2のデータベース・アクセス・システム
の構成図である。FIG. 9 is a configuration diagram of a database access system according to a second embodiment.
【図10】実施例1におけるゲートウェイ情報処理装置
130の動作を示す説明図である。FIG. 10 is an explanatory diagram showing an operation of the gateway information processing device 130 according to the first embodiment.
【図11】実施例5のデータベース・アクセス・システ
ムの構成図である。FIG. 11 is a configuration diagram of a database access system according to a fifth embodiment.
【図12】実施例2において、サーバ・コンポーネント
を乱数を用いて選択する場合の処理を示すフローチャー
トである。FIG. 12 is a flowchart showing processing when a server component is selected using random numbers in the second embodiment.
【図13】実施例2において、サーバ・コンポーネント
を選択するために用意した優先順位テーブルの内容の一
例を示す図である。FIG. 13 is a diagram showing an example of contents of a priority order table prepared for selecting a server component in the second embodiment.
【図14】実施例2において、サーバ・コンポーネント
を負荷状態に応じて選択する場合の処理を示すフローチ
ャートである。FIG. 14 is a flowchart showing processing when a server component is selected according to a load state in the second embodiment.
【図15】実施例2において、サーバ・コンポーネント
を応答時間に応じて選択する場合の処理を示すフローチ
ャートである。FIG. 15 is a flowchart showing processing when a server component is selected according to response time in the second embodiment.
【図16】実施例2において、サーバ・コンポーネント
をブロードキャストRPCを用いて選択する場合の処理
を示すフローチャートである。FIG. 16 is a flowchart showing processing when a server component is selected using broadcast RPC in the second embodiment.
【図17】実施例2のサーバ情報テーブルの例を示す説
明図である。FIG. 17 is an explanatory diagram illustrating an example of a server information table according to the second embodiment.
【図18】実施例1を用いたシステムの他の構成を示す
図である。FIG. 18 is a diagram showing another configuration of the system using the first embodiment.
【図19】実施例5のデータベース・アクセス・システ
ムの他の構成を示す構成図である。FIG. 19 is a configuration diagram showing another configuration of the database access system according to the fifth embodiment.
【図20】実施例2において、ブロードキャストによる
処理依頼への応答を、サーバ・コンポーネントが動作す
る情報処理装置の負荷状態に応じて遅延させるための処
理を示すフローチャートである。FIG. 20 is a flowchart illustrating processing for delaying a response to a processing request by broadcast according to a load state of an information processing device in which a server component operates in the second embodiment.
【図21】実施例6において、クライアント情報処理装
置からアクセス管理コンポーネントに発行するRPCの
処理を示すフローチャートである。FIG. 21 is a flowchart showing RPC processing issued from the client information processing apparatus to the access management component in the sixth embodiment.
【図22】実施例6において、アクセス管理コンポーネ
ントからSQL変換手段に発行するRPCの処理を示す
フローチャートである。FIG. 22 is a flowchart showing a process of RPC issued from the access management component to the SQL conversion means in the sixth embodiment.
【図23】実施例1において、アクセス管理コンポーネ
ント112vで処理するSQL文の一例を示す図。FIG. 23 is a diagram showing an example of an SQL statement processed by the access management component 112v in the first embodiment.
【図24】実施例1において、SQL変換手段によって
変換したSQL文の例を示す図。FIG. 24 is a diagram showing an example of an SQL sentence converted by the SQL conversion means in the first embodiment.
【図25】実施例7において、クライアント情報処理装
置からアクセス管理コンポーネントに発行するRPCの
処理を示すフローチャートである。FIG. 25 is a flowchart showing RPC processing issued from the client information processing device to the access management component in the seventh embodiment.
【図26】実施例7において、アクセス管理コンポーネ
ントからSQL変換手段に発行するRPCの処理を示す
フローチャートである。FIG. 26 is a flowchart showing a process of RPC issued from the access management component to the SQL conversion means in the seventh embodiment.
【図27】実施例8において、クライアント情報処理装
置からアクセス管理コンポーネントに発行するRPCの
処理を示すフローチャートである。FIG. 27 is a flowchart showing the RPC processing issued from the client information processing device to the access management component in the eighth embodiment.
【図28】実施例8において、サーバの障害監視処理を
行うサーバチェック用スレッドの処理を示すフローチャ
ートである。FIG. 28 is a flowchart illustrating the processing of a server check thread that performs server failure monitoring processing according to the eighth embodiment.
【図29】実施例7において、各コンポーネント間で発
行するRPCのシーケンスを示す説明図である。FIG. 29 is an explanatory diagram showing a sequence of RPCs issued between components according to the seventh embodiment.
【図30】実施例6における文字コードの設定例を示す
説明図である。FIG. 30 is an explanatory diagram of a character code setting example according to the sixth embodiment.
【図31】実施例7および8における障害検出に関する
時間設定の例を示す説明図である。FIG. 31 is an explanatory diagram showing an example of time setting regarding failure detection in the seventh and eighth embodiments.
【図32】実施例8において、アクセス管理コンポーネ
ントからSQL変換_Xコンポーネントに発行するRP
Cの処理を示すフローチャートである。FIG. 32 is an RP issued from the access management component to the SQL conversion_X component in the eighth embodiment.
It is a flowchart which shows the process of C.
【図33】実施例8におけるクライアントチェック用ス
レッドの処理を示すフローチャートである。FIG. 33 is a flowchart illustrating processing of a client check thread according to the eighth embodiment.
【図34】実施例8におけるサーバチェック用RPCの
サーバ側の処理を示すフローチャートである。FIG. 34 is a flowchart showing processing on the server side of the server checking RPC in the eighth embodiment.
【図35】実施例1のサーバ情報テーブルの例を示す説
明図である。FIG. 35 is an explanatory diagram showing an example of a server information table according to the first embodiment.
【図36】実施例7のデータベース・アクセス・システ
ムの構成を示す構成図である。FIG. 36 is a configuration diagram showing a configuration of a database access system according to a seventh embodiment.
【図37】実施例8のデータベース・アクセス・システ
ムの構成を示す構成図である。FIG. 37 is a configuration diagram showing a configuration of a database access system according to an eighth embodiment.
【図38】実施例6のデータベース・アクセス・システ
ムの構成を示す構成図である。FIG. 38 is a configuration diagram showing a configuration of a database access system according to a sixth embodiment.
【図39】実施例1のデータベース・アクセス・システ
ムのハードウェア構成図である。FIG. 39 is a hardware configuration diagram of the database access system according to the first embodiment.
100…LAN、102…RPCドライバ、110…ク
ライアント情報処理装置、111…アプリケーション・
ソフトウェア実行手段、112…アクセス管理コンポー
ネント、115…SQL変換手段、120…サーバ情報
処理装置、121…DBMS、122…データベースド
ライバ、123…LANドライバ、124…外部記憶装
置、130…ゲートウェイ情報処理装置、150…ネー
ムサーバ情報処理装置、151…ネームサーバ・コンポ
ーネント、1300…サーバ優先順位テーブル、170
0…サーバ情報テーブル。100 ... LAN, 102 ... RPC driver, 110 ... Client information processing device, 111 ... Application
Software execution means, 112 ... Access management component, 115 ... SQL conversion means, 120 ... Server information processing device, 121 ... DBMS, 122 ... Database driver, 123 ... LAN driver, 124 ... External storage device, 130 ... Gateway information processing device, Reference numeral 150 ... Name server information processing device, 151 ... Name server component, 1300 ... Server priority order table, 170
0 ... Server information table.
───────────────────────────────────────────────────── フロントページの続き (72)発明者 橋本 尚 神奈川県横浜市戸塚区戸塚町5030番地 株 式会社日立製作所ソフトウェア開発本部内 (72)発明者 西山 英作 神奈川県横浜市戸塚区戸塚町5030番地 株 式会社日立製作所ソフトウェア開発本部内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Nao Hashimoto 5030 Totsuka-cho, Totsuka-ku, Yokohama-shi, Kanagawa Within the software development division of Hitachi, Ltd. (72) Eisaku Nishiyama 5030 Totsuka-cho, Totsuka-ku, Yokohama-shi, Kanagawa Hitachi, Ltd. Software Development Division
Claims (24)
ベースへのアクセス依頼を受け付け、応答を返すデータ
ベース管理システムを備える複数のサーバ情報処理装置
と、該サーバ情報処理装置に接続された、上記データベ
ース管理システムをアクセス対象とする上記依頼を発行
するアプリケーション・ソフトウェア実行手段を備える
一以上のクライアント情報処理装置とを有するデータベ
ース・アクセス・システムにおいて、 上記アクセス依頼を受け付け、上記データベース管理シ
ステムに送るゲートウェイ情報処理装置を備え、 上記ゲートウェイ情報処理装置は、 上記アクセス依頼を受け付け、異なるデータベース・ア
クセス言語による依頼に変換して、上記データベース管
理システムに送るデータベース・アクセス言語変換手段
と、 上記アクセス依頼を受け付け、上記データベース・アク
セス言語変換手段に送る、アクセス管理手段とを備え、 上記クライアント情報処理装置は、 上記アプリケーション・ソフトウェア実行手段の、前記
依頼の発行に使用した文字コードの文字コードセット識
別情報を、上記アクセス管理手段に通知する手段を備
え、 上記アクセス管理手段は、 上記データベース・アクセス言語変換手段へ送る前に、
受け付けた上記依頼の文字コードを、あらかじめ定めら
れた文字コードセットの文字コードに変換する手段と、 上記クライアント情報処理装置へ通知する応答を、上記
通知された文字コードセットの文字コードに変換する手
段とを備えることを特徴とするデータベース・アクセス
・システム。1. Accessing a plurality of server information processing apparatuses equipped with a database management system that receives an access request to a database in a database access language and returns a response, and the database management system connected to the server information processing apparatuses. A database access system having one or more client information processing devices equipped with application software execution means for issuing the target request, comprising: a gateway information processing device that receives the access request and sends it to the database management system. The gateway information processing device receives the access request, converts it into a request in a different database access language, and sends it to the database management system. The client information processing apparatus includes: an access management unit that receives the access request and sends the access request to the database access language conversion unit; and the client information processing apparatus includes a character code of a character code used by the application software execution unit to issue the request. A means for notifying the set identification information to the access management means is provided, and the access management means, before sending to the database access language conversion means,
Means for converting the received character code of the request into a character code of a predetermined character code set, and means for converting a response notified to the client information processing device into a character code of the notified character code set A database access system comprising:
ベースへのアクセス依頼を受け付け、応答を返すデータ
ベース管理システムを備える複数のサーバ情報処理装置
と、該サーバ情報処理装置に接続された、上記データベ
ース管理システムをアクセス対象とする上記依頼を発行
するアプリケーション・ソフトウェア実行手段を備える
一以上のクライアント情報処理装置とを有するデータベ
ース・アクセス・システムにおいて、 上記アクセス依頼を受け付け、上記データベース管理シ
ステムに送るゲートウェイ情報処理装置を備え、 上記ゲートウェイ情報処理装置は、 上記アクセス依頼を受け付け、異なるデータベース・ア
クセス言語による依頼に変換して、上記データベース管
理システムに送るデータベース・アクセス言語変換手段
と、 上記アクセス依頼を受け付け、上記データベース・アク
セス言語変換手段に送る、アクセス管理手段とを備え、 上記アクセス管理手段は、 あらかじめ定められた文字コードセット識別情報を、上
記データベース・アクセス言語変換手段に通知する手段
を備え、 上記データベース・アクセス言語変換手段は、 受け付けた上記依頼の文字コードを、あらかじめ定めら
れた文字コードに変換する手段と、 上記アクセス管理手段へ通知する応答を、上記通知され
た文字コードセットの文字コードに変換する手段とを備
えることを特徴とするデータベース・アクセス・システ
ム。2. Accessing a plurality of server information processing apparatuses equipped with a database management system which receives an access request to a database in a database access language and returns a response, and the database management system connected to the server information processing apparatuses. A database access system having one or more client information processing devices equipped with application software execution means for issuing the target request, comprising: a gateway information processing device that receives the access request and sends it to the database management system. The gateway information processing device receives the access request, converts it into a request in a different database access language, and sends it to the database management system. Access management means for receiving the access request and sending it to the database access language conversion means, the access management means notifying the database access language conversion means of predetermined character code set identification information. Means for converting the character code of the received request into a predetermined character code, and a response for notifying the access management means of the notified character code. A database access system comprising means for converting a character code of a set.
ベースへのアクセス依頼を受け付け、応答を返すデータ
ベース管理システムを備える複数のサーバ情報処理装置
と、該サーバ情報処理装置に接続された、上記データベ
ース管理システムをアクセス対象とする上記依頼を発行
するアプリケーション・ソフトウェア実行手段を備える
一以上のクライアント情報処理装置とを有するデータベ
ース・アクセス・システムにおいて、 上記アクセス依頼を受け付け、上記データベース管理シ
ステムに送るゲートウェイ情報処理装置を備え、 上記ゲートウェイ情報処理装置は、 上記アクセス依頼を受け付け、異なるデータベース・ア
クセス言語による依頼に変換して、上記データベース管
理システムに送るデータベース・アクセス言語変換手段
と、 上記アクセス依頼を受け付け、上記データベース・アク
セス言語変換手段に送る、アクセス管理手段とを備え、 上記クライアント情報処理装置は、 上記依頼を発行すると、上記アクセス管理手段との接続
を確保し、該依頼を該アクセス管理手段に送る手段と、 あらかじめ定められた時間が経過しても応答がないと、
上記接続を切断し、上記依頼の処理をエラーとする手段
とを備えることを特徴とするデータベース・アクセス・
システム。3. Accessing a plurality of server information processing apparatuses equipped with a database management system which receives an access request to a database in a database access language and returns a response, and the database management system connected to the server information processing apparatuses. A database access system having one or more client information processing devices equipped with application software execution means for issuing the target request, comprising: a gateway information processing device that receives the access request and sends it to the database management system. The gateway information processing device receives the access request, converts it into a request in a different database access language, and sends it to the database management system. The client information processing apparatus secures a connection with the access management unit and issues the request when the client information processing device issues the request and receives the access request and sends it to the database access language conversion unit. Means for sending to the access management means, and no response even if a predetermined time has passed,
Database access characterized by means for disconnecting the connection and causing an error in the processing of the request.
system.
ベースへのアクセス依頼を受け付け、応答を返すデータ
ベース管理システムを備える複数のサーバ情報処理装置
と、該サーバ情報処理装置に接続された、上記データベ
ース管理システムをアクセス対象とする上記依頼を発行
するアプリケーション・ソフトウェア実行手段を備える
一以上のクライアント情報処理装置とを有するデータベ
ース・アクセス・システムにおいて、 上記アクセス依頼を受け付け、上記データベース管理シ
ステムに送るゲートウェイ情報処理装置を備え、 上記ゲートウェイ情報処理装置は、 上記アクセス依頼を受け付け、異なるデータベース・ア
クセス言語による依頼に変換して、上記データベース管
理システムに送るデータベース・アクセス言語変換手段
と、 上記アクセス依頼を受け付け、上記データベース・アク
セス言語変換手段に送る、アクセス管理手段とを備え、 上記アクセス管理手段は、 上記依頼を受け付けると、上記データベース・アクセス
言語変換手段との接続を確保し、該依頼を該データベー
ス・アクセス言語変換手段に送る手段と、 あらかじめ定められた時間が経過しても応答がないと、
上記接続を切断し、上記依頼の処理のエラーをクライア
ント情報処理装置に通知する手段とを備えることを特徴
とするデータベース・アクセス・システム。4. Accessing a plurality of server information processing apparatuses equipped with a database management system that receives an access request to a database in a database access language and returns a response, and the database management system connected to the server information processing apparatuses. A database access system having one or more client information processing devices equipped with application software execution means for issuing the target request, comprising: a gateway information processing device that receives the access request and sends it to the database management system. The gateway information processing device receives the access request, converts it into a request in a different database access language, and sends it to the database management system. And an access management unit that receives the access request and sends the access request to the database access language conversion unit. When the access management unit receives the request, the access management unit secures a connection with the database access language conversion unit. Means for sending a request to the database access language conversion means, and no response even if a predetermined time has passed,
A database access system, comprising means for disconnecting the connection and notifying the client information processing device of an error in the processing of the request.
ベースへのアクセス依頼を受け付け、応答を返すデータ
ベース管理システムを備える複数のサーバ情報処理装置
と、該サーバ情報処理装置に接続された、上記データベ
ース管理システムをアクセス対象とする上記依頼を発行
するアプリケーション・ソフトウェア実行手段を備える
一以上のクライアント情報処理装置とを有するデータベ
ース・アクセス・システムにおいて、 上記アクセス依頼を受け付け、上記データベース管理シ
ステムに送るゲートウェイ情報処理装置を備え、 上記ゲートウェイ情報処理装置は、 上記アクセス依頼を受け付け、異なるデータベース・ア
クセス言語による依頼に変換して、上記データベース管
理システムに送るデータベース・アクセス言語変換手段
と、 上記アクセス依頼を受け付け、上記データベース・アク
セス言語変換手段に送る、アクセス管理手段とを備え、 上記データベース・アクセス言語変換手段は、 上記依頼を受け付けると、上記データベース管理システ
ム手段との接続を確保し、該依頼を該データベース管理
システムに送る手段と、 あらかじめ定められた時間が経過しても応答がないと、
上記接続を切断し、上記依頼の処理のエラーをアクセス
管理手段に通知する手段とを備えることを特徴とするデ
ータベース・アクセス・システム。5. Accessing a plurality of server information processing apparatuses equipped with a database management system which receives an access request to a database in a database access language and returns a response, and the database management system connected to the server information processing apparatuses. A database access system having one or more client information processing devices equipped with application software execution means for issuing the target request, comprising: a gateway information processing device that receives the access request and sends it to the database management system. The gateway information processing device receives the access request, converts it into a request in a different database access language, and sends it to the database management system. And an access management unit that receives the access request and sends the access request to the database access language conversion unit. When the database access language conversion unit receives the request, the connection management unit secures a connection with the database management system unit, Means for sending the request to the database management system, and no response even if a predetermined time has passed,
A database access system, comprising: means for disconnecting the connection and notifying an access management means of an error in processing the request.
言語変換手段との接続を確保し、該依頼を該データベー
ス・アクセス言語変換手段に送る手段と、 あらかじめ定められた時間が経過しても応答がないと、
上記接続を切断し、上記依頼の処理のエラーをクライア
ント情報処理装置に通知する手段とを備えることを特徴
とするデータベース・アクセス・システム。6. The access management means according to claim 3, upon receiving the request, securing the connection with the database access language conversion means and sending the request to the database access language conversion means. , If there is no response after a predetermined time,
A database access system, comprising means for disconnecting the connection and notifying the client information processing device of an error in the processing of the request.
ム手段との接続を確保し、該依頼を該データベース管理
システムに送る手段と、 あらかじめ定められた時間が経過しても応答がないと、
上記接続を切断し、上記依頼の処理のエラーをアクセス
管理手段に通知する手段とを備えることを特徴とするデ
ータベース・アクセス・システム。7. The database access language conversion means according to claim 6, upon receiving the request, securing the connection with the database management system means and sending the request to the database management system. If there is no response even after the stipulated time has passed,
A database access system, comprising: means for disconnecting the connection and notifying an access management means of an error in processing the request.
ム手段との接続を確保し、該依頼を該データベース管理
システムに送る手段と、 あらかじめ定められた時間が経過しても応答がないと、
上記接続を切断し、上記依頼の処理のエラーをアクセス
管理手段に通知する手段とを備えることを特徴とするデ
ータベース・アクセス・システム。8. The database access language conversion means according to claim 4, when receiving the request, securing the connection with the database management system means and sending the request to the database management system in advance. If there is no response even after the stipulated time has passed,
A database access system, comprising: means for disconnecting the connection and notifying an access management means of an error in processing the request.
時間と、 前記アクセス管理手段にあらかじめ定められた時間と、 前記データベース・アクセス言語変換手段にあらかじめ
定められた時間とは、 この順に短いことを特徴とするデータベース・アクセス
・システム。9. The time set in advance in the client information processing device, the time set in the access management unit, and the time set in the database access language conversion unit according to claim 7. , Database access system characterized by being short in this order.
処理装置にあらかじめ定められた時間を、前記アクセス
管理手段に通知する手段を、さらに備え、 上記アクセス管理手段は、上記通知された時間を、該ア
クセス管理手段にあらかじめ定められた時間として用い
ることを特徴とするデータベース・アクセス・システ
ム。10. The client information processing device according to claim 6, further comprising means for notifying the access management means of a predetermined time of the client information processing device, wherein the access management means comprises: A database access system, wherein the notified time is used as a predetermined time for the access management means.
じめ定められた時間を、前記データベース・アクセス言
語変換手段に通知する手段を、さらに備え、 上記データベース・アクセス言語変換手段は、上記通知
された時間を、該データベース・アクセス言語変換手段
にあらかじめ定められた時間として用いることを特徴と
するデータベース・アクセス・システム。11. The database access language conversion according to claim 7, further comprising means for notifying the database access language conversion means of a predetermined time of the access management means. The database access system is characterized in that the means uses the notified time as a predetermined time for the database access language conversion means.
じめ定められた時間を、前記データベース・アクセス言
語変換手段に通知する手段を、さらに備え、 上記データベース・アクセス言語変換手段は、上記通知
された時間を、該データベース・アクセス言語変換手段
にあらかじめ定められた時間として用いることを特徴と
するデータベース・アクセス・システム。12. The database access language conversion according to claim 8, further comprising means for notifying the database access language conversion means of a predetermined time of the access management means. The database access system is characterized in that the means uses the notified time as a predetermined time for the database access language conversion means.
じめ定められた時間を、前記データベース・アクセス言
語変換手段に通知する手段を、さらに備え、 上記データベース・アクセス言語変換手段は、上記通知
された時間を、該データベース・アクセス言語変換手段
にあらかじめ定められた時間として用いることを特徴と
するデータベース・アクセス・システム。13. The access management means according to claim 10, further comprising means for notifying the database access language conversion means of a predetermined time of the access management means. The database access system is characterized in that the means uses the notified time as a predetermined time for the database access language conversion means.
タベースへのアクセス依頼を受け付け、応答を返すデー
タベース管理システムを備える複数のサーバ情報処理装
置と、該サーバ情報処理装置に接続された、上記データ
ベース管理システムをアクセス対象とする上記依頼を発
行するアプリケーション・ソフトウェア実行手段を備え
る一以上のクライアント情報処理装置とを有するデータ
ベース・アクセス・システムにおいて、 上記アクセス依頼を受け付け、上記データベース管理シ
ステムに送るゲートウェイ情報処理装置を備え、 上記ゲートウェイ情報処理装置は、 上記アクセス依頼を受け付け、異なるデータベース・ア
クセス言語による依頼に変換して、上記データベース管
理システムに送るデータベース・アクセス言語変換手段
と、 上記アクセス依頼を受け付け、上記データベース・アク
セス言語変換手段に送る、アクセス管理手段とを備え、 上記クライアント情報処理装置は、 障害チェック用のあらかじめ定められた上記アクセス依
頼を、あらかじめ定められた時間が経過するごとに発行
し、上記ゲートウェイ情報処理装置に送る障害チェック
手段と、 上記障害チェック用アクセス依頼に対する応答が、あら
かじめ定められた時間内になければ、上記アプリケーシ
ョン・ソフトウェア実行手段にエラーを通知する障害通
知手段とを有することを特徴とするデータベース・アク
セス・システム。14. Accessing a plurality of server information processing apparatuses equipped with a database management system which receives an access request to a database in a database access language and returns a response, and the database management system connected to the server information processing apparatuses. A database access system having one or more client information processing devices equipped with application software execution means for issuing the target request, comprising: a gateway information processing device that receives the access request and sends it to the database management system. The gateway information processing device receives the access request, converts it into a request in a different database access language, and sends it to the database management system. The client information processing apparatus includes an access management unit that receives the access request and sends the access request to the database / access language conversion unit, and the client information processing apparatus transmits the predetermined access request for failure check for a predetermined time. The failure check means for issuing each time and sending to the gateway information processing device, and the failure for notifying the application / software execution means of an error if the response to the failure check access request is not within a predetermined time. A database access system having a notification means.
タベースへのアクセス依頼を受け付け、応答を返すデー
タベース管理システムを備える複数のサーバ情報処理装
置と、該サーバ情報処理装置に接続された、上記データ
ベース管理システムをアクセス対象とする上記依頼を発
行するアプリケーション・ソフトウェア実行手段を備え
る一以上のクライアント情報処理装置とを有するデータ
ベース・アクセス・システムにおいて、 上記アクセス依頼を受け付け、上記データベース管理シ
ステムに送るゲートウェイ情報処理装置を備え、 上記ゲートウェイ情報処理装置は、 上記アクセス依頼を受け付け、異なるデータベース・ア
クセス言語による依頼に変換して、上記データベース管
理システムに送るデータベース・アクセス言語変換手段
と、 上記アクセス依頼を受け付け、上記データベース・アク
セス言語変換手段に送る、アクセス管理手段とを備え、 上記アクセス管理手段は、 障害チェック用の上記アクセス依頼を、あらかじめ定め
られた時間が経過するごとに発行し、上記データベース
・アクセス言語変換手段に送る障害チェック手段と、 上記障害チェック用アクセス依頼に対する応答が、あら
かじめ定められた時間内になければ、上記クライアント
情報処理装置にエラーを通知する障害通知手段とを有す
ることを特徴とするデータベース・アクセス・システ
ム。15. Accessing a plurality of server information processing apparatuses equipped with a database management system which receives an access request to a database in a database access language and returns a response, and the database management system connected to the server information processing apparatuses. A database access system having one or more client information processing devices equipped with application software execution means for issuing the target request, comprising: a gateway information processing device that receives the access request and sends it to the database management system. The gateway information processing device receives the access request, converts it into a request in a different database access language, and sends it to the database management system. And an access management unit that receives the access request and sends the access request to the database / access language conversion unit, and the access management unit issues the access request for failure check every predetermined time. A failure check means for sending to the database access language conversion means, and failure notification means for notifying the client information processing device of an error if the response to the failure check access request is not within a predetermined time. A database access system characterized by having.
タベースへのアクセス依頼を受け付け、応答を返すデー
タベース管理システムを備える複数のサーバ情報処理装
置と、該サーバ情報処理装置に接続された、上記データ
ベース管理システムをアクセス対象とする上記依頼を発
行するアプリケーション・ソフトウェア実行手段を備え
る一以上のクライアント情報処理装置とを有するデータ
ベース・アクセス・システムにおいて、 上記アクセス依頼を受け付け、上記データベース管理シ
ステムに送るゲートウェイ情報処理装置を備え、 上記ゲートウェイ情報処理装置は、 上記アクセス依頼を受け付け、異なるデータベース・ア
クセス言語による依頼に変換して、上記データベース管
理システムに送るデータベース・アクセス言語変換手段
と、 上記アクセス依頼を受け付け、上記データベース・アク
セス言語変換手段に送る、アクセス管理手段とを備え、 上記データベース・アクセス言語変換手段は、 障害チェック用の上記アクセス依頼をあらかじめ定めら
れた時間が経過するごとに発行し、上記データベース管
理システムに送る障害チェック手段と、 上記障害チェック用アクセス依頼に対する応答が、あら
かじめ定められた時間内になければ、上記アクセス管理
手段にエラーを通知する障害通知手段とを有することを
特徴とするデータベース・アクセス・システム。16. A plurality of server information processing devices, each of which is provided with a database management system that receives an access request to a database in a database access language and returns a response, and accesses the database management system connected to the server information processing device. A database access system having one or more client information processing devices equipped with application software execution means for issuing the target request, comprising: a gateway information processing device that receives the access request and sends it to the database management system. The gateway information processing device receives the access request, converts it into a request in a different database access language, and sends it to the database management system. The database access language conversion means receives the access request and sends it to the database access language conversion means, and the database access language conversion means receives the access request for failure check every predetermined time. A failure check means for issuing and sending to the database management system, and a failure notification means for notifying the access management means of an error if the response to the failure check access request is not within a predetermined time. A database access system characterized by.
記障害チェック用アクセス依頼の発行は、 データベース管理システムへの接続を指示するアクセス
依頼を受け付けてから、該接続の切断を指示するアクセ
ス依頼を受け付けるまでの間に行なわれることを特徴と
するデータベース・アクセス・システム。17. The issue of the fault check access request of the fault check means of the client information processing apparatus according to claim 14, wherein the connection is disconnected after receiving an access request for instructing a connection to a database management system. A database access system characterized in that it is carried out until an access request for instructing is received.
ェック用アクセス依頼の発行は、 データベース管理システムへの接続を指示するアクセス
依頼を受け付けてから、該接続の切断を指示するアクセ
ス依頼を受け付けるまでの間に行なわれることを特徴と
するデータベース・アクセス・システム。18. The issue of the fault check access request of the fault check unit of the access management unit according to claim 15, wherein the connection is disconnected after the access request for instructing the connection to the database management system is accepted. A database access system characterized in that it is carried out until an access request to be instructed is received.
ク手段の前記障害チェック用アクセス依頼の発行は、 データベース管理システムへの接続を指示するアクセス
依頼が発行されたときから、該接続の切断を指示するア
クセス依頼が発行されるまでの間に行なわれることを特
徴とするデータベース・アクセス・システム。19. The access request for failure check of the failure check means of the database access language conversion means according to claim 16, when the access request for instructing connection to the database management system is issued, A database access system, which is performed until an access request for instructing disconnection is issued.
タベースへのアクセス依頼を受け付け、応答を返すデー
タベース管理システムを備える複数のサーバ情報処理装
置と、該サーバ情報処理装置に接続された、上記データ
ベース管理システムをアクセス対象とする上記依頼を発
行するアプリケーション・ソフトウェア実行手段を備え
る一以上のクライアント情報処理装置とを有するデータ
ベース・アクセス・システムの制御方法において、 上記クライアント情報処理装置が、前記依頼の発行に使
用した文字コードの文字コードセット識別情報を通知す
るステップと、 上記アクセス依頼を受け付けるステップと、 受け付けた上記依頼の文字コードを、あらかじめ定めら
れた文字コードセットの文字コードに変換するステップ
と、 上記文字コード変換したアクセス依頼を、異なるデータ
ベース・アクセス言語による依頼に変換して、上記デー
タベース管理システムに送るステップと、 上記クライアント情報処理装置へ通知する応答を、上記
通知された文字コードセットの文字コードに変換するス
テップとを備えることを特徴とするデータベース・アク
セス・システムの制御方法。20. Accessing a plurality of server information processing devices equipped with a database management system that receives an access request to a database in a database access language and returns a response, and the database management system connected to the server information processing devices. In a method of controlling a database access system having one or more client information processing devices equipped with application software execution means for issuing the target request, the character used by the client information processing device for issuing the request. The step of notifying the character code set identification information of the code, the step of accepting the access request, the step of converting the character code of the received request into a character code of a predetermined character code set, and the character code The converted access request is converted into a request in a different database access language and sent to the database management system, and a response to notify the client information processing device includes a character code of the notified character code set. The method of controlling a database access system, comprising:
タベースへのアクセス依頼を受け付け、応答を返すデー
タベース管理システムを備える複数のサーバ情報処理装
置と、該サーバ情報処理装置に接続された、上記データ
ベース管理システムをアクセス対象とする上記依頼を発
行するアプリケーション・ソフトウェア実行手段を備え
る一以上のクライアント情報処理装置とを有するデータ
ベース・アクセス・システムの制御方法において、 上記アクセス依頼を受け付けるステップと、 上記依頼を受け付けると、上記データベース・アクセス
言語変換手段との接続を確保し、該依頼を該データベー
ス・アクセス言語変換手段に送るステップと、 異なるデータベース・アクセス言語による依頼に変換し
て、上記データベース管理システムに送るステップと、 あらかじめ定められた時間が経過しても応答がないと、
上記接続を切断し、上記依頼の処理のエラーをクライア
ント情報処理装置に通知するステップとを備えることを
特徴とするデータベース・アクセス・システムの制御方
法。21. Accessing a plurality of server information processing apparatuses equipped with a database management system that receives an access request to a database in a database access language and returns a response, and the database management system connected to the server information processing apparatus. In a method of controlling a database access system having one or more client information processing devices including application software execution means for issuing the target request, in the step of receiving the access request, and when receiving the request, Securing a connection with the database access language conversion means and sending the request to the database access language conversion means; and converting the request into a request in a different database access language and sending it to the database management system. A step, when no response is received after a predetermined time is,
And a step of notifying the client information processing device of an error in the processing of the request, the method of controlling the database access system.
タベースへのアクセス依頼を受け付け、応答を返すデー
タベース管理システムを備える複数のサーバ情報処理装
置と、該サーバ情報処理装置に接続された、上記データ
ベース管理システムをアクセス対象とする上記依頼を発
行するアプリケーション・ソフトウェア実行手段を備え
る一以上のクライアント情報処理装置とを有するデータ
ベース・アクセス・システムの制御方法において、 上記アクセス依頼を受け付ける依頼受付ステップと、 上記受け付けたアクセス依頼を異なるデータベース・ア
クセス言語による依頼に変換して、上記データベース管
理システムに送る依頼処理ステップと、 障害チェック用の上記アクセス依頼を、あらかじめ定め
られた時間が経過するごとに発行し、上記データベース
管理システムに送る障害検出ステップと、 上記障害チェック用アクセス依頼に対する応答が、あら
かじめ定められた時間内になければ、上記アクセス管理
手段にエラーを通知する障害通知ステップとを有するこ
とを特徴とするデータベース・アクセス・システムの制
御方法。22. Accessing a plurality of server information processing devices equipped with a database management system that receives an access request to a database in a database access language and returns a response, and the database management system connected to the server information processing device. In a method of controlling a database access system having one or more client information processing devices having application software execution means for issuing the target request, a request receiving step for receiving the access request, and the received access request Is converted into a request in a different database access language, and the request processing step for sending to the database management system and the access request for failure check are issued every time a predetermined time has passed, A failure detection step of sending to the database management system, and a failure notification step of notifying an error to the access management means if the response to the failure check access request is not within a predetermined time. How to control the Database Access System.
ベース・アクセス言語によるデータベースへのアクセス
依頼、および、前記障害チェック用アクセス依頼のいず
れかを、あらかじめ定められた時間内に受け付けたかど
うか検査するクライアントチェック処理の実行手段を、
検査対象のクライアント情報処理装置ごとに備え、 上記データベース・アクセス言語によるデータベースへ
のアクセス依頼、および、上記障害チェック用アクセス
依頼のいずれも、あらかじめ定められた時間内に受け付
けない場合は、上記クライアントチェック処理を異常終
了することを特徴とするデータベース・アクセス・シス
テム。23. The access management means according to claim 17, wherein the access request to the database in the database access language issued by the client information processing apparatus and the failure check access request are issued. A means for executing client check processing that inspects whether it has been received within a predetermined time,
Provided for each client information processing device to be inspected, if neither the access request to the database in the database access language nor the access request for failure check is accepted within a predetermined time, the client check A database access system characterized by abnormally terminating processing.
のアクセス依頼、および、前記障害チェック用アクセス
依頼のいずれかを、あらかじめ定められた時間内に受け
付けたかどうか検査するアクセス管理手段チェック処理
の実行手段を、検査対象のアクセス管理手段ごとに備
え、 上記データベース・アクセス言語によるデータベースへ
のアクセス依頼、および、上記障害チェック用アクセス
依頼のいずれも、あらかじめ定められた時間内に受け付
けない場合は、上記アクセス管理手段チェック処理を異
常終了することを特徴とするデータベース・アクセス・
システム。24. The database access language conversion means according to claim 18, wherein the access request to the database in the database access language and the failure check access request are issued within a predetermined time. Each access management means to be inspected has an access management means check processing execution means for inspecting whether or not it has been accepted, and both the access request to the database in the database access language and the failure check access request, If the access is not accepted within a predetermined time, the access control means check process is abnormally terminated.
system.
Priority Applications (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP12657394A JP3693365B2 (en) | 1994-06-08 | 1994-06-08 | Database access system and method for controlling database access system |
| US08/355,891 US5721904A (en) | 1993-12-20 | 1994-12-14 | Database access system and method of controlling access management to a database access system for a plurality of heterogeneous database servers using SQL |
| DE4445444A DE4445444A1 (en) | 1993-12-20 | 1994-12-20 | Distributed database management system for network access |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP12657394A JP3693365B2 (en) | 1994-06-08 | 1994-06-08 | Database access system and method for controlling database access system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH07334400A true JPH07334400A (en) | 1995-12-22 |
| JP3693365B2 JP3693365B2 (en) | 2005-09-07 |
Family
ID=14938514
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP12657394A Expired - Fee Related JP3693365B2 (en) | 1993-12-20 | 1994-06-08 | Database access system and method for controlling database access system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3693365B2 (en) |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2003515202A (en) * | 1999-11-01 | 2003-04-22 | イーエムシー コーポレイション | Multiple storage array controller |
| JP2007328518A (en) * | 2006-06-07 | 2007-12-20 | Nissan Motor Co Ltd | Information providing system and method |
| JP2009217424A (en) * | 2008-03-10 | 2009-09-24 | Fujitsu Ltd | Storage integration device, storage integration program, and storage integration method |
| JP2009230227A (en) * | 2008-03-19 | 2009-10-08 | Yahoo Japan Corp | Advertisement server and advertisement keyword retrieval method |
| JP2011076668A (en) * | 2009-09-30 | 2011-04-14 | Sony Computer Entertainment Inc | Media player, method of acquiring information, database server and method of providing information |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH05173909A (en) * | 1991-12-25 | 1993-07-13 | Sanyo Electric Co Ltd | Information processor |
| JPH05334363A (en) * | 1992-06-01 | 1993-12-17 | Nippon Telegr & Teleph Corp <Ntt> | Data base retrieval system |
| JPH0628407A (en) * | 1992-07-10 | 1994-02-04 | Matsushita Electric Ind Co Ltd | Data base system |
| JPH0675845A (en) * | 1992-05-28 | 1994-03-18 | Nec Corp | Data conversion automizing method |
-
1994
- 1994-06-08 JP JP12657394A patent/JP3693365B2/en not_active Expired - Fee Related
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH05173909A (en) * | 1991-12-25 | 1993-07-13 | Sanyo Electric Co Ltd | Information processor |
| JPH0675845A (en) * | 1992-05-28 | 1994-03-18 | Nec Corp | Data conversion automizing method |
| JPH05334363A (en) * | 1992-06-01 | 1993-12-17 | Nippon Telegr & Teleph Corp <Ntt> | Data base retrieval system |
| JPH0628407A (en) * | 1992-07-10 | 1994-02-04 | Matsushita Electric Ind Co Ltd | Data base system |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2003515202A (en) * | 1999-11-01 | 2003-04-22 | イーエムシー コーポレイション | Multiple storage array controller |
| JP2007328518A (en) * | 2006-06-07 | 2007-12-20 | Nissan Motor Co Ltd | Information providing system and method |
| JP2009217424A (en) * | 2008-03-10 | 2009-09-24 | Fujitsu Ltd | Storage integration device, storage integration program, and storage integration method |
| JP2009230227A (en) * | 2008-03-19 | 2009-10-08 | Yahoo Japan Corp | Advertisement server and advertisement keyword retrieval method |
| JP2011076668A (en) * | 2009-09-30 | 2011-04-14 | Sony Computer Entertainment Inc | Media player, method of acquiring information, database server and method of providing information |
Also Published As
| Publication number | Publication date |
|---|---|
| JP3693365B2 (en) | 2005-09-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5721904A (en) | Database access system and method of controlling access management to a database access system for a plurality of heterogeneous database servers using SQL | |
| US20040073549A1 (en) | Query resolution system | |
| US6339771B1 (en) | Method and system for managing connections to a database management system | |
| US7962509B2 (en) | Systems and methods for server management | |
| US20060167883A1 (en) | System and method for the optimization of database acess in data base networks | |
| US20030220998A1 (en) | Server site restructuring | |
| KR950027577A (en) | File system cache management method, computer file system, name caching method and computer system cache device | |
| US20050246702A1 (en) | System and method for automatically updating versions of software programs in client computers | |
| CA2523591C (en) | Distributed search methods, architectures, systems, and software | |
| JP3277654B2 (en) | Heterogeneous database access system | |
| GB2373673A (en) | Selecting and assigning a transaction level of service | |
| EP1987454B1 (en) | Systems and methods for server management | |
| JPH11120012A (en) | Client-server type database management system and recording medium recording the program | |
| WO2021196768A1 (en) | Transaction broadcasting method, and device and storage medium | |
| CN111913784B (en) | Task scheduling method and device, network element and storage medium | |
| CN113938461B (en) | Domain name cache analysis query method, device, equipment and storage medium | |
| US7467387B2 (en) | Method for off-loading user queries to a task manager | |
| CN110661891B (en) | Cross-network file instant transmission method and system based on unidirectional network | |
| JPH07334400A (en) | Database access system and method of controlling the database access system | |
| US6850957B2 (en) | Information system and data access method | |
| JP2002222111A (en) | Data communication device and data communication method | |
| CN119180612A (en) | Fault self-healing system, method, device, electronic equipment and storage medium | |
| JPH08235112A (en) | Distributed job management method for computer system | |
| US20020143740A1 (en) | System and method of data-management and data-management program | |
| US7721287B2 (en) | Organizing transmission of repository data |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20040427 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20040628 |
|
| 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: 20050614 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20050621 |
|
| LAPS | Cancellation because of no payment of annual fees |