JPH08286960A - System for inquiring distributed database - Google Patents

System for inquiring distributed database

Info

Publication number
JPH08286960A
JPH08286960A JP7093364A JP9336495A JPH08286960A JP H08286960 A JPH08286960 A JP H08286960A JP 7093364 A JP7093364 A JP 7093364A JP 9336495 A JP9336495 A JP 9336495A JP H08286960 A JPH08286960 A JP H08286960A
Authority
JP
Japan
Prior art keywords
database
inquiry
control program
node
server
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.)
Pending
Application number
JP7093364A
Other languages
Japanese (ja)
Inventor
Osamu Otake
修 大竹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP7093364A priority Critical patent/JPH08286960A/en
Publication of JPH08286960A publication Critical patent/JPH08286960A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE: To fasten the whole processing of a multi-task by releaving the burden of a distributed DB client. CONSTITUTION: When an inquiry is received from an input/output terminal(user) 31, the distributed DB client 3 transfers the inquiry to a cluster server 5. When the inquiry is received, the cluster server 5 discovers the whereabouts of the DB servers 41 , 42 and 4n having the inquired data bases 441 , 442 and 44n . Thereafter, the inquiries to these DB servers 41 , 42 and 4n are executed and also an answer for the inquiries from the DB serbers 41 , 42 and 4n is worked and processed so as to give it to the distributed DB client 3. Therefore, by this configuration, the burden of the distributed DB client 3 is relieved so that the processing delay of another program under execution is surely mitigated in the multi-task processing.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は、コンピュータネット
ワーク上にデータベースを分散させた分散データベース
システムにおいて、任意のクライアントから複数のデー
タベースサーバに遠隔アクセスして問い合わせを行うク
ライアント/サーバ型の分散データベース問い合わせ方
式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a distributed database system in which databases are distributed over a computer network, and a client / server type distributed database inquiry system for remotely accessing and inquiring from a plurality of database servers from an arbitrary client. Regarding

【0002】[0002]

【従来の技術】図7は、従来におけるこの種の分散デー
タベースシステムの電気的構成を示すブロック図であ
る。この従来のシステムは、通信回線を介して互いに接
続された分散データベースクライアント1(以下、分散
DBクライアントという)と、複数のデータベースサー
バ21,22,…,2n(以下、DBサーバという)とか
らなり、分散DBクライアント1と各DBサーバ2
1(22,…,2n)とでデータベース管理機能を分担し
て、1つのデータベースアプリケーションを実行する
(特開平2−186479号公報、特開平5−2049
73号公報等参照)。
2. Description of the Related Art FIG. 7 is a block diagram showing an electrical configuration of a conventional distributed database system of this type. This conventional system includes a distributed database client 1 (hereinafter referred to as a distributed DB client) connected to each other via a communication line, and a plurality of database servers 2 1 , 2 2 , ..., 2 n (hereinafter referred to as a DB server). And the distributed DB client 1 and each DB server 2
1 (2 2 , ..., 2 n ) share the database management function and execute one database application (Japanese Patent Laid-Open Nos. 2-186479 and 5-2049).
73, etc.).

【0003】分散DBクライアント1は、データベース
サービスを要求するプロセスであり、入出力端末11
と、入出力制御プログラム12と、分散データベース制
御プログラム13(以下、分散DB制御プログラムとい
う)と、複数の遠隔データベースアクセスプログラム1
1,142,…((以下、RDAプログラムという)
と、通信制御プログラム15とを有している。
The distributed DB client 1 is a process for requesting a database service, and is an input / output terminal 11
An input / output control program 12, a distributed database control program 13 (hereinafter referred to as a distributed DB control program), and a plurality of remote database access programs 1
4 1 , 14 2 , ... ((hereinafter referred to as RDA program)
And a communication control program 15.

【0004】DBサーバ21,22,…は、データベース
サービス(問い合わせの処理)を行うプロセスノードで
あり、互いに遠隔地に分散して設置されていて、それぞ
れ、通信制御プログラム21と、データベース管理プロ
グラム22(以下、DB管理プログラムという)と、検
索プログラム23と、データベース241,242,…と
を有している。そして、これら複数のデータベース24
1,242,…によって、一組の分散データベースが構成
される。
The DB servers 2 1 , 2 2 , ... Are process nodes that perform database services (inquiry processing), and are distributed and installed at remote locations, and each has a communication control program 21 and a database management. It has a program 22 (hereinafter referred to as a DB management program), a search program 23, and databases 24 1 , 24 2 , ... And these plural databases 24
A set of distributed databases is composed of 1 , 24 2 , ...

【0005】上記従来のシステムの構成において、分散
DBクライアント1では、入出力制御プログラム12
が、入出力端末(利用者)11からの問い合わせ入力を
受け取ると、問い合わせ情報のチェックを行い、誤りが
なければ、分散DB制御プログラム13に渡す。分散D
B制御プログラム13では、問い合わせ情報に前置きさ
れたデータベースアクセス先指定に従って、指定された
データベース241,242,24nを有する単数又は複
数の関係DBサーバ21,22,2nの所在を明らかにし
た後、問い合わせ情報を関係DBサーバ21,22,2n
毎に分解して、関係DBサーバ21,22,2nの数に見
合うRDAプログラム141,142,14nを起動す
る。そして、起動したRDAプログラム141,142
14nに、関係DBサーバ21,22,2nとの接続を依頼
する。起動した各RDAプログラム141(142,14
n)は、通信制御プログラム15を介して、関係DBサ
ーバ21(22,2n)の対応する一つに接続すると、利
用者からの問い合わせを発行する。
In the above conventional system configuration, the distributed DB client 1 has an input / output control program 12
When receiving an inquiry input from the input / output terminal (user) 11, the inquiry information is checked, and if there is no error, it is passed to the distributed DB control program 13. Distributed D
In the B control program 13, the location of one or a plurality of relational DB servers 2 1 , 2 2 , 2 n having the designated databases 24 1 , 24 2 , 24 n is determined according to the database access destination designation placed in the inquiry information. After clarifying the inquiry information, the related DB servers 2 1 , 2 2 , 2 n
The RDA programs 14 1 , 14 2 and 14 n corresponding to the number of relational DB servers 2 1 , 2 2 and 2 n are disassembled and started. Then, the started RDA programs 14 1 , 14 2 ,
14 n is requested to connect with the related DB servers 2 1 , 2 2 , 2 n . Each started RDA program 14 1 (14 2 , 14
n ) issues an inquiry from the user when connected to the corresponding one of the relation DB servers 2 1 (2 2 , 2 n ) via the communication control program 15.

【0006】関係DBサーバ21,22,2nからの検索
結果(応答データ)が逆の経路で戻ってくると、分散D
B制御プログラム13は、利用者からの要求に合わせ
て、応答データを加工した後、入出力制御プログラム1
2に渡す。入出力制御プログラム12は、加工された応
答データを入出力端末11に出力する。
When the search results (response data) from the relational DB servers 2 1 , 2 2 and 2 n are returned via the reverse route, the distributed D
The B control program 13 processes the response data in accordance with the request from the user, and then the I / O control program 1
Pass to 2. The input / output control program 12 outputs the processed response data to the input / output terminal 11.

【0007】このように、上記従来のシステムによれ
ば、利用者は、互いに遠隔地に設置された複数のDBサ
ーバ21,22,…の所在や構成を意識することなく、あ
たかも全てのデータが自らのコンピュータ上に存在する
かのような認識で、複数のデータベース241,242
…にアクセスできる。
As described above, according to the above-mentioned conventional system, the user does not have to be aware of the locations and configurations of the plurality of DB servers 2 1 , 2 2 , ... By recognizing that the data exists on its own computer, a plurality of databases 24 1 , 24 2 ,
You can access ...

【0008】[0008]

【発明が解決しようとする課題】しかしながら、上記従
来の分散データベース問い合わせ方式では、分散DBク
ライアント1側で、問い合わせの受付け、関係DBサー
バの所在の探索から、応答データの任意の結合、整形、
表示書式設定、印刷書式設定等を含む検索結果の一切の
加工までを行う構成となっていたため、分散DBクライ
アント1側に大きな負荷がかかっていた。このため、特
に、マルチタスク対応のオペレーティング・システム上
で分散DBクライアントを動作させる場合、実行中の他
のプログラム(アプリケーションソフトウェア)の処理
速度を遅らせ、その機能や動作を制限してしまうという
問題があった。
However, in the above-mentioned conventional distributed database inquiry method, the distributed DB client 1 side accepts an inquiry, searches for the location of the related DB server, and arbitrarily combines and shapes response data.
Since all the search results including display format setting and print format setting are processed, a large load is applied to the distributed DB client 1. Therefore, in particular, when the distributed DB client is operated on a multitasking operating system, there is a problem that the processing speed of another program (application software) being executed is delayed, and its function or operation is restricted. there were.

【0009】この発明は、上述の事情に鑑みてなされた
もので、クライアントノード(分散DBクライアント)
の負担を軽減することにより、マルチタスクの全体的処
理を速めることのできる分散データベース問い合わせ方
式を提供することを目的としている。
The present invention has been made in view of the above circumstances, and is a client node (distributed DB client).
The purpose of the present invention is to provide a distributed database query method that can speed up the overall processing of multitasking by reducing the burden on the.

【0010】[0010]

【課題を解決するための手段】上記課題を解決するため
に、請求項1記載の発明は、コンピュータネットワーク
上に存在する複数のデータベースサーバノードを統括制
御するクラスタサーバノードを設けてなるクライアント
/サーバ型の、分散データベース制御方式であって、上
記クラスタサーバノードは、任意のクライアントノード
から複数のデータベースへの問い合わせを受けると、指
定されたそれぞれのデータベースを有するデータベース
サーバノードの所在を明らかにした後、これらのデータ
ベースサーバノードに対して問い合わせを行うと共に、
これらのデータベースサーバノードからの問い合わせに
対する回答を加工処理した後、上記クライアントノード
に渡すことを特徴としている。
In order to solve the above-mentioned problems, the invention according to claim 1 is a client / server provided with a cluster server node for integrally controlling a plurality of database server nodes existing on a computer network. Type of distributed database control method, wherein the cluster server node clarifies the whereabouts of the database server node having each specified database when receiving an inquiry from the arbitrary client nodes to the plurality of databases. , While querying these database server nodes,
It is characterized in that the responses to the inquiries from these database server nodes are processed and then passed to the client node.

【0011】また、請求項2記載の発明は、請求項1記
載の分散データベース問い合わせ方式であって、上記ク
ライアントノードは、通信回線を介して上記クラスタサ
ーバノードとの接続制御を行う第1の通信制御プログラ
ムと、入出力端末手段から複数のデータベースへの問い
合わせを受けると共に、該問い合わせに対する回答を上
記入出力端末手段に出力する入出力制御プログラムと、
上記第1の通信制御プログラムを用いて上記クラスタサ
ーバノードに上記問い合わせを転送する第1の遠隔デー
タベースアクセス手段とを備え、上記クラスタサーバノ
ードは、通信回線を介して上記クライアントノードとの
接続制御を行う第2の通信制御プログラムと、通信回線
を介して上記各データベースサーバノードとの接続制御
を行う第3の通信制御プログラムと、該第3の通信制御
プログラムを用いて、対応する上記データベースサーバ
ノードとデータの授受を行う複数の第2の遠隔データベ
ースアクセス手段と、上記第1の遠隔データベースアク
セス手段から転送されてきた上記問い合わせに基づい
て、指定されたデータベースサーバノード毎に問い合わ
せを分解再整理した後、上記複数の第2の遠隔データベ
ースアクセス手段を用いて上記複数のデータベースサー
バノードに対して問い合わせを行うと共に、それぞれの
上記データベースサーバノードから返送されてきた上記
問い合わせに対する回答を加工処理する複数サーバ集中
制御手段とを備え、かつ、上記複数のデータベースサー
バノードは、通信回線を介して上記クラスタサーバノー
ドとの接続制御を行う第4の通信制御プログラムと、デ
ータベースと、該データベースを管理すると共に、上記
複数サーバ集中制御手段からの問い合わせに対する回答
を提供するデータベース管理プログラムとを備えてなる
ことを特徴としている。
The invention according to claim 2 is the distributed database inquiry system according to claim 1, wherein the client node controls the connection with the cluster server node via a communication line. A control program, and an input / output control program for receiving an inquiry to a plurality of databases from the input / output terminal means and outputting a response to the inquiry to the input / output terminal means,
A first remote database access means for transferring the inquiry to the cluster server node using the first communication control program, wherein the cluster server node controls connection with the client node via a communication line. A second communication control program to be executed, a third communication control program for controlling connection to each of the database server nodes via a communication line, and a corresponding database server node using the third communication control program Based on the plurality of second remote database access means for exchanging data with each other and the inquiry transferred from the first remote database access means, the queries are disassembled and rearranged for each designated database server node. Then, the plurality of second remote database access means And a plurality of database server nodes, and a plurality of server centralized control means for processing the response to the inquiry returned from each of the database server nodes, and the plurality of database servers. The node manages the fourth communication control program for controlling connection with the cluster server node via a communication line, a database, and the database, and provides an answer to an inquiry from the multiple server central control means. It is characterized by comprising a database management program.

【0012】また、請求項3記載の発明は、コンピュー
タネットワーク上に存在する複数のデータベースサーバ
ノードを統括制御する第2のクラスタサーバノードと、
同じくコンピュータネットワーク上に存在する複数のデ
ータベースサーバノード及び上記第2のクラスタサーバ
ノードを統括制御する第1のクラスタサーバノードとを
設けてなるクライアント/サーバ型の分散データベース
制御方式であって、上記第1のクラスタサーバノード
は、任意のクライアントノードから複数のデータベース
への問い合わせを受けると、指定されたそれぞれのデー
タベースを有するデータベースサーバノード、これらの
データベースサーバノードが上記第2のクラスタサーバ
ノードに統括制御される状態のときは当該第2のクラス
タサーバノードの所在を明らかにした後、これらのデー
タベースサーバノード又は/及び第2のクラスタサーバ
ノードに対して問い合わせを行うと共に、これらのデー
タベースサーバノード又は/及び第2のクラスタサーバ
ノードからの問い合わせに対する回答を加工処理した
後、上記クライアントノードに渡すことを特徴としてい
る。
The invention according to claim 3 is characterized in that a second cluster server node for centrally controlling a plurality of database server nodes existing on a computer network;
A client / server type distributed database control system comprising a plurality of database server nodes that also exist on a computer network and a first cluster server node that integrally controls the second cluster server node. When one cluster server node receives an inquiry from a given client node to a plurality of databases, the database server nodes having respective designated databases, and these database server nodes collectively control the second cluster server node. In the state of being set, the location of the second cluster server node is clarified, and then the database server node and / or the second cluster server node are inquired and the database server node Or / and after processing the answers to the inquiry from the second cluster server node, it is characterized in that passed to the client node.

【0013】また、請求項4記載の発明は、請求項3記
載の分散データベース問い合わせ方式であって、上記ク
ライアントノードは、通信回線を介して上記クラスタサ
ーバノードとの接続制御を行う第1の通信制御プログラ
ムと、入出力端末手段から複数のデータベースへの問い
合わせを受けると共に、該問い合わせに対する回答を上
記入出力端末手段に出力する入出力制御プログラムと、
上記第1の通信制御プログラムを用いて上記クラスタサ
ーバノードに上記問い合わせを転送する第1の遠隔デー
タベースアクセス手段とを備え、上記第1のクラスタサ
ーバノードは、通信回線を介して上記クライアントノー
ドとの接続制御を行う第2の通信制御プログラムと、通
信回線を介して上記各データベースサーバノード又は/
及び第2のクラスタサーバノードとの接続制御を行う第
3の通信制御プログラムと、該第3の通信制御プログラ
ムを用いて、対応する上記データベースサーバノード又
は第2のクラスタサーバノードとデータの授受を行う複
数の第2の遠隔データベースアクセス手段と、上記第1
の遠隔データベースアクセス手段から転送されてきた上
記問い合わせに基づいて、指定されたデータベースサー
バノード及び第2のクラスタサーバノード毎に問い合わ
せを分解再整理した後、上記複数の第2の遠隔データベ
ースアクセス手段を用いて上記複数のデータベースサー
バノード又は/及び第2のクラスタサーバノードに対し
て問い合わせを行うと共に、それぞれの上記データベー
スサーバノード又は/及び第2のクラスタサーバノード
から返送されてきた上記問い合わせに対する回答を加工
処理する第1の複数サーバ集中制御手段とを備え、上記
第2のクラスタサーバノードは、通信回線を介して上記
第1のクラスタサーバノードとの接続制御を行う第5の
通信制御プログラムと、通信回線を介して上記各データ
ベースサーバノードとの接続制御を行う第6の通信制御
プログラムと、該第6の通信制御プログラムを用いて、
対応する上記データベースサーバノードとデータの授受
を行う複数の第3の遠隔データベースアクセス手段と、
上記第2の遠隔データベースアクセス手段から転送され
てきた上記問い合わせに基づいて、指定されたデータベ
ースサーバノード毎に問い合わせを分解再整理した後、
上記複数の第3の遠隔データベースアクセス手段を用い
て上記複数のデータベースサーバノードに対して問い合
わせを行うと共に、それぞれの上記データベースサーバ
ノードから返送されてきた上記問い合わせに対する回答
を加工処理する第2の複数サーバ集中制御手段とを備
え、かつ、上記複数のデータベースサーバノードは、通
信回線を介して上記クラスタサーバノードとの接続制御
を行う第4の通信制御プログラムと、データベースと、
該データベースを管理すると共に、上記複数サーバ集中
制御手段からの問い合わせに対する回答を提供するデー
タベース管理プログラムとを備えてなることを特徴とし
ている。
The invention according to claim 4 is the distributed database inquiry method according to claim 3, wherein the client node controls the connection with the cluster server node via a communication line. A control program, and an input / output control program for receiving an inquiry to a plurality of databases from the input / output terminal means and outputting a response to the inquiry to the input / output terminal means,
A first remote database access means for transferring the inquiry to the cluster server node using the first communication control program, wherein the first cluster server node communicates with the client node via a communication line. A second communication control program for controlling connection, and each of the above database server nodes or / or via a communication line.
And a third communication control program for controlling connection with the second cluster server node, and using the third communication control program to exchange data with the corresponding database server node or second cluster server node. A plurality of second remote database access means, and the first
After disassembling and rearranging the queries for each of the designated database server node and the second cluster server node based on the query transferred from the remote database access unit of Inquiries are made to the plurality of database server nodes or / and the second cluster server nodes by using the reply to the inquiries returned from the respective database server nodes and / or the second cluster server nodes. A central processing unit for processing a plurality of servers, wherein the second cluster server node performs a connection control with the first cluster server node via a communication line; Each database server above via communication line A sixth communication control program that controls the connection to, using a communication control program of the sixth,
A plurality of third remote database access means for exchanging data with the corresponding database server node,
After disassembling and re-arranging the inquiry for each designated database server node based on the inquiry transferred from the second remote database access means,
A second plurality of inquiries to the plurality of database server nodes using the plurality of third remote database access means and a processing of an answer to the inquiry returned from each of the database server nodes. A server centralized control means, and the plurality of database server nodes, a fourth communication control program for controlling connection with the cluster server node via a communication line, a database,
It is characterized by comprising a database management program for managing the database and providing an answer to an inquiry from the multiple server centralized control means.

【0014】[0014]

【作用】クライアントノードは、利用者からの問い合わ
せを受けると、クラスタサーバノードに対して問い合わ
せを転送する。クラスタサーバノードは、この問い合わ
せを受けると、問い合わせのあったデータベースを有す
るデータベースサーバノードの所在の明らかにした後、
これらのデータベースサーバノードに対して問い合わせ
を行うと共に、これらのデータベースサーバノードから
の問い合わせに対する回答を加工処理した後、クライア
ントノードに渡す。それゆえ、この発明の構成によれ
ば、クライアントノード(分散DBクライアント)の負
担を軽減できる。したがって、マルチタスク対応のオペ
レーティング・システム上でクライアントプロセスを動
作させる場合、実行中の他のプログラムの処理の遅延を
確実に緩和できる。
When the client node receives an inquiry from the user, the client node transfers the inquiry to the cluster server node. When the cluster server node receives this inquiry, after revealing the whereabouts of the database server node having the inquired database,
Inquiries are made to these database server nodes, and the responses to the inquiries from these database server nodes are processed and passed to the client node. Therefore, according to the configuration of the present invention, the load on the client node (distributed DB client) can be reduced. Therefore, when the client process is operated on a multitasking operating system, it is possible to surely reduce the delay in the processing of other programs being executed.

【0015】また、クラスタサーバノードが、配下に複
数のデータベースサーバノードを持つ別のクラスタサー
バノードに問い合わせを行う形態(ネスト構造)をとる
ことで多段分散データベースを実現できる。このような
ネスト構造では、データベースの分散配置管理が一段と
容易になり、また各データベースサーバノードへの負荷
も軽減できる。
Further, a multi-stage distributed database can be realized by adopting a form (nested structure) in which the cluster server node makes an inquiry to another cluster server node having a plurality of database server nodes under it. With such a nest structure, distributed placement management of databases becomes much easier, and the load on each database server node can be reduced.

【0016】[0016]

【実施例】以下、図面を参照してこの発明の実施例につ
いて説明する。 ◇第1実施例 図1は、この発明の第1実施例である分散データベース
問い合わせ方式で動作する分散データベースシステムの
全体構成を示す電気的ブロック図である。この例の分散
データベースシステムは、通信回線を介して互いに接続
される分散DBクライアント3と、複数のDBサーバ4
1,42,…と、これらのDBサーバ41,42,…を統括
するクラスタサーバ5とから構成されている。この例の
分散データベースシステムが、上記従来のそれと大きく
異なるところは、分散DBクライアント1(図7)の構
成要素から負荷の大きな分散DB制御プログラム13を
除去し、代わりに、図1に示すように、複数サーバ集中
制御プログラム52(分散DB制御プログラム13に概
略相当する)を有するクラスタサーバ5を設けた点であ
る。
Embodiments of the present invention will be described below with reference to the drawings. First Embodiment FIG. 1 is an electrical block diagram showing the overall configuration of a distributed database system that operates according to the distributed database inquiry method according to the first embodiment of the present invention. The distributed database system of this example includes a distributed DB client 3 and a plurality of DB servers 4 connected to each other via a communication line.
1, 4 2, ... and these DB server 4 1, 4 2, and a cluster server 5 for governing .... The difference of the distributed database system of this example from that of the conventional one is that the distributed DB control program 13 having a large load is removed from the components of the distributed DB client 1 (FIG. 7), and instead, as shown in FIG. The point is that the cluster server 5 having the multi-server centralized control program 52 (which roughly corresponds to the distributed DB control program 13) is provided.

【0017】分散DBクライアント3は、利用者からの
問い合わせ(データベースアクセス要求)を受け付け、
その問い合わせ結果(応答データ)を利用者に渡すマル
チタスク対応のノード・コンピュータであり、入出力端
末31と、入出力制御プログラム32と、単一のRDA
プログラム33と、第1通信制御プログラム34とを有
してなっている。なお、分散DBクライアント3は、マ
ルチタスク対応のノード・コンピュータであるから、複
数のアプリケーションソフトの並列実行が可能である。
The distributed DB client 3 accepts an inquiry (database access request) from a user,
It is a multi-task compatible node computer that passes the inquiry result (response data) to the user, and has an input / output terminal 31, an input / output control program 32, and a single RDA.
The program 33 and the first communication control program 34 are included. Since the distributed DB client 3 is a multitasking node computer, a plurality of application software can be executed in parallel.

【0018】入出力端末31は、利用者が問い合わせ情
報を入力するためのキーボードやマウス等と、問い合わ
せの結果を出力するディスプレイ装置及びプリンタ等と
から構成されている。入出力制御プログラム32は、入
出力端末31からの問い合わせ入力を受け取ると、問い
合わせ情報のチェックを行い、誤りがなければ、RDA
プログラム33を起動して、問い合わせ情報をそのまま
RDAプログラム33に渡す一方、RDAプログラム3
3から応答データを受け取ると、入出力端末31のディ
スプレイ装置やプリンタに画面表示位置や用紙印字位置
等を設定して出力する。また、入出力端末31からの割
込み要求に関する制御を行う。RDAプログラム33
は、下位層の通信の物理的な構成等を意識することなし
に、通信回線に接続されたクラスタサーバ5に、第1通
信制御プログラム34を介してアクセスするためのプロ
グラムである。第1通信制御プログラム34は、通常の
通信管理を専用に行うプログラムであり、RDAプログ
ラム33から出力される問い合わせ情報を通信回線を介
してクラスタサーバ5へ送信すると共に、クラスタサー
バ5からの応答データを接続中のRDAプログラム33
へ返送する。
The input / output terminal 31 is composed of a keyboard, a mouse and the like for the user to input inquiry information, a display device and a printer for outputting the inquiry result. When the input / output control program 32 receives the inquiry input from the input / output terminal 31, it checks the inquiry information, and if there is no error, RDA
The RDA program 3 is activated while the program 33 is activated and the inquiry information is passed to the RDA program 33 as it is.
When the response data is received from 3, the screen display position and the paper print position are set in the display device or printer of the input / output terminal 31 and output. It also controls the interrupt request from the input / output terminal 31. RDA program 33
Is a program for accessing the cluster server 5 connected to the communication line via the first communication control program 34 without being aware of the physical configuration of lower layer communication. The first communication control program 34 is a program dedicated to normal communication management, transmits inquiry information output from the RDA program 33 to the cluster server 5 via a communication line, and sends response data from the cluster server 5. RDA program 33 connected to
Return to.

【0019】次に、クラスタサーバ5は、複数のDBサ
ーバ41,42,…の所在を集中管理し、分散DBクライ
アント3からの検索要求を関係DBサーバ41,42,4
nに転送する一方、関係DBサーバ41,42,4nから供
給される検索結果(応答データ)を利用者の要求に合わ
せて加工した後、分散DBクライアント3に転送するノ
ード・コンピュータであり、第2通信制御プログラム5
1と、複数サーバ集中制御プログラム52と、複数のR
DAプログラム531,532,…と、第3通信制御プロ
グラム54とから構成されている。クラスタサーバ5
は、DBサーバ41,42,…から見れば、データベース
アクセスを依頼するクライアントであるが、分散DBク
ライアント3から見れば、分散されたデータベース44
1,442,…を集中制御する統括DBサーバとして機能
する。第2通信制御プログラム51は、通常の通信管理
を行うプログラムであり、分散DBクラスタ3からの検
索要求に対して、複数サーバ集中制御プログラム52を
起動して、通信先(分散DBクライアントの第1通信制
御プログラム34)との間で実際のセッションの接続及
び切断を行う。
Next, the cluster server 5 centrally manages the locations of the plurality of DB servers 4 1 , 4 2 , ... And requests the search from the distributed DB client 3 to the related DB servers 4 1 , 4 2 , 4.
A node computer that transfers to the distributed DB client 3 after processing the search results (response data) supplied from the relational DB servers 4 1 , 4 2 and 4 n according to the user's request while transferring to n Yes, second communication control program 5
1, multiple server centralized control program 52, multiple R
DA program 53 1, 53 2, ..., and a third communication control program 54. Cluster server 5
Is a client that requests a database access from the viewpoint of the DB servers 4 1 , 4 2 , ..., But from the viewpoint of the distributed DB client 3, the distributed database 44
1, 44 2, functions as a centralized DB server for centralized control of .... The second communication control program 51 is a program that performs normal communication management, and activates the multiple server centralized control program 52 in response to a search request from the distributed DB cluster 3 to communicate with the communication destination (first distributed DB client). An actual session is connected to and disconnected from the communication control program 34).

【0020】複数サーバ集中制御プログラム52は、第
2通信制御プログラム51を介して、分散DBクライア
ント3から問い合わせ情報が転送されてくると、その問
い合わせ情報に前置きされたデータベースアクセス先指
定に従って、指定されたデータベース441,442,4
nを有する単数又は複数の関係DBサーバ41,42
nの所在を明らかにした後、問い合わせ情報を関係D
Bサーバ41,42,4n毎に分解して、関係DBサーバ
1,42,4nの数に見合うRDAプログラム531,5
2,53nを起動する。そして、起動したRDAプログ
ラム531,532,53nに、関係DBサーバ41
2,4nとの接続を依頼する。一方、関係DBサーバ4
1,42,4nからの検索結果(応答データ)が逆の経路
で戻ってくると、利用者からの要求に合わせて、応答デ
ータを加工(整形)した後、第2通信制御プログラム5
1を介して分散DBクライアント3に渡す。
When the inquiry information is transferred from the distributed DB client 3 via the second communication control program 51, the multi-server centralized control program 52 is designated in accordance with the database access destination designation placed before the inquiry information. database 44 1, 44 2, 4
One or more relational DB servers 4 1 , 4 2 having 4 n ,
After clarifying the whereabouts of 4 n , contact information D
The RDA programs 53 1 , 5 are decomposed into B servers 4 1 , 4 2 , 4 n to match the number of relational DB servers 4 1 , 4 2 , 4 n.
3 2 and 53 n are activated. Then, the relational DB servers 4 1 , 4 are added to the started RDA programs 53 1 , 53 2 , 53 n .
Request connection with 4 2 and 4 n . On the other hand, the relation DB server 4
When the search results (response data) from 1 , 4 2 and 4 n are returned in the reverse route, the response data is processed (shaped) according to the request from the user, and then the second communication control program 5
1 to the distributed DB client 3.

【0021】RDAプログラム531,532,…は、下
位層の通信の物理的な構成等を意識することなしに、通
信回線に接続された遠隔地の関係DBサーバ41,42
n(DB管理プログラム42)にアクセスするための
プログラムであり、利用者からの検索要求をプロトコル
(RDA汎用規格やRDA特殊化規格等の通信規約)に
従って、通信回線に流し、その結果を受け取る。なお、
特定のプロトコルを使用すれば、異種のDBサーバにも
アクセスできる。第3通信制御プログラム54は、通常
の通信管理を専用に行うプログラムであり、RDAプロ
グラム531,532,53nから出力される問い合わせ
情報を通信回線を介して関係DBサーバ41,42,4n
に送信すると共に、関係DBサーバ41,42,4nから
の応答データを接続中のRDAプログラム531,5
2,53nへ返す。
The RDA programs 53 1 , 53 2 , ... Are related DB servers 4 1 , 4 2 , at remote locations connected to a communication line without being aware of the physical configuration of lower layer communication.
4 n (DB management program 42) is a program for accessing a search request from a user according to a protocol (communication protocol such as RDA general standard or RDA specialization standard) and receiving the result. . In addition,
Different DB servers can be accessed using a specific protocol. The third communication control program 54 is a program dedicated to normal communication management, and the inquiry information output from the RDA programs 53 1 , 53 2 , 53 n is related DB servers 4 1 , 4 2 via a communication line. , 4 n
And the response data from the relational DB servers 4 1 , 4 2 , 4 n to the RDA programs 53 1 , 5 being connected.
Return to 3 2 , 53 n .

【0022】次に、DBサーバ41,42,…は、データ
ベースサービスを提供するノード・コンピュータであ
り、互いに遠隔地に分散して設置されていて、それぞ
れ、第4通信制御プログラム41と、データベース管理
プログラム42(以下、DB管理プログラムという)
と、検索プログラム43と、データベース441,4
2,…とを有してなっている。そして、これらの複数
のデータベース441,442,…によって分散データベ
ースが構成されている。第4通信制御プログラム41
は、通常の通信管理を行うプログラムであり、クラスタ
サーバ5からの検索要求に対して、DB管理プログラム
42を起動して、クラスタサーバ5との間で実際のセッ
ションの接続及び切断を行う。DB管理プログラム42
は、第4通信制御プログラム41を介して入力されるク
ラスタサーバ5からの検索要求により検索プログラム4
3を起動して、検索プログラム43と第4通信制御プロ
グラム41との間のデータ伝送を行う。また、検索要求
時の検索プログラム43の終了及び回線障害時の処理指
示を行う。検索プログ43は、実際にデータベース44
1,442,…を検索するプログラムであり、検索要求の
あったクラスタサーバ5へ検索結果を返送する。
Next, the DB servers 4 1 , 4 2 , ... Are node computers that provide database services, are distributed in remote locations, and each have a fourth communication control program 41 and Database management program 42 (hereinafter referred to as DB management program)
, Search program 43, and databases 44 1 , 4
4 2 , ... And. Then, the plurality of databases 44 1, 44 2, ... distributed database by is configured. Fourth communication control program 41
Is a program that performs normal communication management, and activates the DB management program 42 in response to a search request from the cluster server 5 to perform actual session connection and disconnection with the cluster server 5. DB management program 42
Is a search program 4 in response to a search request from the cluster server 5 input via the fourth communication control program 41.
3 is activated to perform data transmission between the search program 43 and the fourth communication control program 41. In addition, it terminates the search program 43 when a search is requested and gives a processing instruction when a line failure occurs. The search program 43 is actually the database 44.
It is a program for searching 1 , 44 2 , ..., And returns the search result to the cluster server 5 that made the search request.

【0023】次に、図1乃至図4を参照して、大学の図
書館システム等、広い地域に分散して存在するデータベ
ースを通信回線を介して検索する場合を例に取って、こ
の例の動作について説明する。分散DBクライアント3
において、入出力端末(利用者)31から、データベー
スへの問い合わせ(アクセス要求)が出されると、入出
力制御プログラム32は、まず入出力端末31に初期画
面であるデータベース選択画面を表示させる。図2は、
初期画面に表示されたシステムの全大学図書館名を参照
して、利用者が、A,D,L,K,Eの五つを選択した
場合を示している。図書館の選択後に実行キーを押下す
ることにより、入出力制御プログラム32は、RDAプ
ログラム33に選択された五つの図書館のデータベース
441,442,…,44nへの問い合わせ(アクセス要
求)を依頼する。依頼されたRDAプログラム33は、
第1及び第2通信制御プログラム34,51を介して、
1対1に対応付けされたクラスタサーバ5の複数サーバ
集中制御プログラム52と接続する。RDAプログラム
33による複数サーバ集中制御プログラム52への接続
がなされると、RDAプログラム33は、五つの図書館
のデータベース441,442,…,44nへの問い合わ
せ(アクセス要求)を複数サーバ集中制御プログラム5
2に転送する。
Next, referring to FIGS. 1 to 4, the operation of this example will be described by taking as an example the case where a database distributed in a wide area such as a university library system is searched through a communication line. Will be described. Distributed DB client 3
When an inquiry (access request) to the database is issued from the input / output terminal (user) 31, the input / output control program 32 first causes the input / output terminal 31 to display a database selection screen which is an initial screen. Figure 2
It shows a case where the user selects five of A, D, L, K, and E by referring to the names of all university libraries of the system displayed on the initial screen. By pressing the Enter key after selecting library, input and output control program 32 requests database 44 1 library five chosen RDA program 33, 44 2, ..., inquiries to 44 n (access request) To do. The requested RDA program 33 is
Via the first and second communication control programs 34, 51,
It is connected to the multiple server centralized control program 52 of the cluster server 5 which is associated one to one. When the connection to multiple servers centralized control program 52 according to RDA program 33 is made, RDA program 33, the database 44 1 of five libraries, 44 2, ..., multiple servers centralized control query (access request) to 44 n Program 5
Transfer to 2.

【0024】複数サーバ集中制御プログラム52は、選
択された五つの図書館のデータベース441,442
…,44nへの問い合わせ(アクセス要求)を受ける
と、問い合わせ情報に前置きされたデータベースアクセ
ス先指定に従って、指定されたデータベース441,4
2,…,44nを有する相手図書館のDBサーバ41
2,…,4nの所在を明らかにした後、問い合わせ情報
を所在の明らかにされた相手図書館のDBサーバ41
2,…,4n毎に分解して、相手図書館のDBサーバ4
1,42,…,4nの数に見合う五つのRDAプログラム
531,532,…,53nを起動する。そして、起動し
た五つのRDAプログラム531,532,…,53
nに、それぞれの相手図書館のDBサーバ41,42
…,4nとの接続を依頼する。依頼されたそれぞれのR
DAプログラム531,532,…,53nは、独立に第
3及び第4通信制御プログラム54,41を介して、そ
れぞれの図書館のDBサーバ41,42,…,4nのDB
管理プログラム42と接続する。それぞれのRDAプロ
グラム531,532,…,53nは、接続できた図書館
のDBサーバ41,42,…,4nから検索結果(応答デ
ータ)が送信されてきたときは、その検索結果を複数サ
ーバ集中制御プログラム52に渡す。複数サーバ集中制
御プログラム52は、五つのRDAプログラム531
532,…,53nの全てから検索結果を受け取ると、こ
れらの検索結果を加工(整形)した後、第2及び第1通
信制御プログラム51,34を介して分散DBクライア
ント3のRDAプログラム33に転送する。RDAプロ
グラム33は、加工済みの検索結果を入出力制御プログ
ラム32に渡す。入出力制御プログラム32は、RDA
プログラム33から検索結果を受け取ると、既に加工済
みなので、入出力端末31のディスプレイ装置に画面表
示位置を設定してヒット件数表示画面を入出力端末31
に表示させる。
The multiple servers centralized control program 52, a database 44 1 library of the selected five, 44 2,
When receiving an inquiry (access request) to 44 n , the specified databases 44 1 , 4 are specified in accordance with the database access destination specification placed in the inquiry information.
DB server 4 1 of the partner library having 4 2 , ..., 44 n
4 2 , ..., 4 n , after clarifying the whereabouts of the inquiry information, the DB server 4 1
4 2 , ..., 4 n are disassembled for each, and DB server 4 of the partner library
1, 4 2, ..., 4 n commensurate with the number of five RDA programs 53 1, 53 2, ..., to start the 53 n. Then, the five activated RDA programs 53 1 , 53 2 , ..., 53
n is the DB server 4 1 , 4 2 of each partner library,
…, Request connection with 4 n . Each R requested
The DA programs 53 1 , 53 2 , ..., 53 n are independently DBs of the DB servers 4 1 , 4 2 , ..., 4 n of the respective libraries via the third and fourth communication control programs 54, 41.
Connect with the management program 42. Each RDA program 53 1, 53 2, ..., 53 n is DB server 4 1 connection can have libraries, 4 2, ..., 4 when Results n (response data) is transmitted, the search The result is passed to the multi-server centralized control program 52. The multi-server centralized control program 52 includes five RDA programs 53 1 ,
When the search results are received from all of 53 2 , ..., 53 n , these search results are processed (shaped), and then the RDA program 33 of the distributed DB client 3 is executed via the second and first communication control programs 51 and 34. Transfer to. The RDA program 33 passes the processed search result to the input / output control program 32. The input / output control program 32 is RDA
When the search result is received from the program 33, since it has already been processed, the screen display position is set on the display device of the input / output terminal 31 and the hit number display screen is displayed on the input / output terminal 31.
To display.

【0025】そこで、利用者が、検索語入力画面に、例
えば1番として経営に関する全資料を入力して検索を指
示すると、この指示は、上述の経路を経て各DBサーバ
1,42,…,4nに与えられる。検索結果が逆の経路
で、しかも加工された状態で戻ってくると、入出力制御
プログラム32は、ヒット件数表示画面の最新欄に応答
された件数を表示させる。図3は、ヒット件数表示画面
に検索語として、1番の次に2番の経営上のシステムに
関する全資料を入力して実行させた場合に、1番の結果
が前回欄に移って表示され、2番の結果が最新欄に表示
された状態を示している。次に、利用者がヒット件数表
示画面のデータベース名として4番を選択して検索を要
求すると、入出力制御プログラム32は、この検索要求
を上述の経路を経て、クラスタサーバ5の複数サーバ集
中制御プログラム52に転送する。複数サーバ集中制御
プログラム52はこの検索要求の転送を受けると、4番
目の大学図書館に接続しているRDAプログラム53n
を選択して、この図書館のDBサーバ44nに経営上の
システムに関する全資料について内容の表示を要求す
る。図4は、この要求により検索され、応答を受けた入
出力制御プログラム32が表示した検索結果表示画面の
例を示す図である。
Then, when the user inputs all the materials related to management as the first to the search word input screen and instructs the search, the instructions are sent to the DB servers 4 1 , 4 2 , …, Given to 4 n . When the search result returns in the reverse route and in the processed state, the input / output control program 32 displays the number of replies in the latest column of the hit number display screen. Fig. 3 shows the results of No. 1 moved to the previous column when all materials related to the management system of No. 2 after No. 1 are input and executed as search words on the hit count display screen. The result of No. 2 is displayed in the latest column. Next, when the user selects No. 4 as the database name on the hit count display screen and requests a search, the input / output control program 32 causes the search request to go through the above-mentioned route and perform centralized control of a plurality of servers of the cluster server 5. Transfer to program 52. When the centralized control program for multiple servers 52 receives the search request, the RDA program 53 n connected to the fourth university library
Is selected to request the DB server 44 n of this library to display the contents of all the materials related to the management system. FIG. 4 is a diagram showing an example of a search result display screen displayed by the input / output control program 32 that has been searched for by this request and has received a response.

【0026】上記構成によれば、クラスタサーバ5側
で、関係DBサーバの所在の探索から、検索結果(応答
データ)の加工(結合、整形等)一切を行うので、分散
DBクライアント1側に大きな負荷がかからない。それ
ゆえ、マルチタスク対応のオペレーティング・システム
上で分散DBクライアントを動作させる場合、実行中の
他のプログラム(アプリケーションソフトウェア)の処
理の遅延を確実に軽減できる。
According to the above configuration, the cluster server 5 side performs all the processing (combining, shaping, etc.) of the search result (response data) from the search for the location of the relational DB server. There is no load. Therefore, when operating the distributed DB client on a multitasking operating system, it is possible to reliably reduce the delay in the processing of other programs (application software) that are being executed.

【0027】また、DBサーバ41,42,…の公開デー
タベース441,442,…は、図5に示すように、全
て、これらDBサーバ41,42,…を統括制御するクラ
スタサーバ5の仮想の公開データベース551,552
…と考えることができるので、分散DBクライアント3
(利用者)は、クラスタサーバ5の公開データベース5
1,552,…のみを認識すれば良く、互いに遠隔地に
分散配置される複数のDBサーバ41,42,…の公開デ
ータベース441,442,…を認識する必要がなくな
り、データベース管理が一段と容易になる。
Further, the cluster DB server 4 1, 4 2, ... public databases 44 1, 44 2, ..., as shown in FIG. 5, all of which these DB server 4 1, 4 2, ... the overall control Virtual public databases 55 1 , 55 2 , of the server 5,
Can be thought of as, so the distributed DB client 3
The (user) is the public database 5 of the cluster server 5.
It suffices to recognize only 5 1 , 55 2 , ..., It is not necessary to recognize the public databases 44 1 , 44 2 , ... Of the plurality of DB servers 4 1 , 4 2 , ... Database management becomes much easier.

【0028】◇第2実施例 次に、図6を参照して、この発明の第2実施例について
説明する。図6は、この発明の第2実施例である分散デ
ータベース問い合わせ方式で動作する分散データベース
システムの全体構成を示す電気的ブロック図である。こ
の第2実施例の構成が、上述の第1実施例のそれと異な
るところは、任意のノードに設置されたDBサーバ4n
(図1)に代えて、クラスタサーバ5a及びこのクラス
タサーバ5aに接続される複数のDBサーバ4a1,4
2,…を設け、ネスト構造とした点である(以下にお
いて、このようなネスト構造が組み込まれるノードをネ
ストノードという)。ネストノード以外のノードでは、
第1実施例のシステム構成(図1)と全く同じである。
すなわち、第2実施例のシステム構成は、第1実施例の
システム構成からネストノードのみを変更すれば実現で
き、ネストノード以外では、分散DBクライアント3、
クラスタサーバ5及びDBサーバ41,42,…のいずれ
をも変更せずに実現できる。この第2実施例の構成によ
れば、データベースの分散配置管理が一段と容易にな
り、また各DBサーバへの負荷も軽減できる。
Second Embodiment Next, a second embodiment of the present invention will be described with reference to FIG. FIG. 6 is an electrical block diagram showing the overall configuration of a distributed database system that operates according to the distributed database inquiry method of the second embodiment of the present invention. The configuration of the second embodiment differs from that of the first embodiment described above in that the DB server 4 n installed in an arbitrary node
Instead of (FIG. 1), a cluster server 5a and a plurality of DB servers 4a 1 and 4 connected to the cluster server 5a.
a 2, a ... provided lies in that the nested (hereinafter, referred to as nested nodes nodes such nesting is incorporated). For nodes other than nested nodes,
This is exactly the same as the system configuration (FIG. 1) of the first embodiment.
That is, the system configuration of the second embodiment can be realized by changing only the nest node from the system configuration of the first embodiment, and other than the nest node, the distributed DB client 3,
Cluster Server 5 and the DB server 4 1, 4 2 can be realized without changing even one ... of. According to the configuration of the second embodiment, distributed allocation management of databases becomes much easier, and the load on each DB server can be reduced.

【0029】以上、この発明の実施例を図面により詳述
してきたが、具体的な構成はこの実施例に限られるもの
ではなく、この発明の要旨を逸脱しない範囲の設計の変
更等があってもこの発明に含まれる。例えば、上述の第
1実施例においては、分散DBクライアント3のRDA
プログラム33は、1対1に固定的に対応付けされたク
ラスタサーバ5にのみ接続できる場合について述べた
が、任意の一つのクラスタサーバに接続できるようにし
ても良い。また、上述の第2実施例において、クラスタ
サーバのネスト(入れ子)に制限はない。
The embodiment of the present invention has been described in detail above with reference to the drawings. However, the specific structure is not limited to this embodiment, and there are design changes and the like within the scope not departing from the gist of the present invention. Also included in the present invention. For example, in the above-described first embodiment, the RDA of the distributed DB client 3
The case where the program 33 can connect only to the cluster server 5 fixedly associated with one-to-one has been described, but the program 33 may connect to any one cluster server. Further, in the above-mentioned second embodiment, there is no restriction on nesting of cluster servers.

【0030】[0030]

【発明の効果】以上説明したように、この発明の分散デ
ータベース問い合わせ方式では、複数のデータベースサ
ーバノードを統括制御するクラスタサーバノードを設け
るようにしたので、クライアントノードの負担を軽減で
きる。したがって、マルチタスク対応のオペレーティン
グ・システム上でクライアントプロセスを動作させる場
合、実行中の他のプログラムの処理の遅延を著しく緩和
できる。
As described above, according to the distributed database inquiry method of the present invention, the cluster server node for integrally controlling the plurality of database server nodes is provided, so that the load on the client node can be reduced. Therefore, when the client process is operated on a multitasking operating system, it is possible to remarkably reduce the processing delay of other programs being executed.

【0031】また、クラスタサーバノードが、配下に複
数のデータベースサーバノードを持つ別のクラスタサー
バノードに問い合わせを行う形態(ネスト構造)をとる
ことで多段分散データベースを実現できる。このような
ネスト構造では、データベースの分散配置管理が一段と
容易になり、また各データベースサーバノードへの負荷
も軽減できる。
A multi-stage distributed database can be realized by adopting a form (nested structure) in which the cluster server node makes an inquiry to another cluster server node having a plurality of database server nodes under it. With such a nest structure, distributed placement management of databases becomes much easier, and the load on each database server node can be reduced.

【図面の簡単な説明】[Brief description of drawings]

【図1】この発明の第1実施例である分散データベース
問い合わせ方式で動作する分散データベースシステムの
全体構成を示す電気的ブロック図である。
FIG. 1 is an electrical block diagram showing an overall configuration of a distributed database system that operates according to a distributed database inquiry method according to a first embodiment of the present invention.

【図2】同実施例の動作を説明するための表示画面の例
を示す図である。
FIG. 2 is a diagram showing an example of a display screen for explaining the operation of the embodiment.

【図3】同実施例の動作を説明するための表示画面の例
を示す図である。
FIG. 3 is a diagram showing an example of a display screen for explaining the operation of the embodiment.

【図4】同実施例の動作を説明するための表示画面の例
を示す図である。
FIG. 4 is a diagram showing an example of a display screen for explaining the operation of the embodiment.

【図5】同実施例の効果を説明するための図である。FIG. 5 is a diagram for explaining an effect of the same embodiment.

【図6】この発明の第2実施例である分散データベース
問い合わせ方式で動作する分散データベースシステムの
全体構成を示す電気的ブロック図である。
FIG. 6 is an electrical block diagram showing the overall configuration of a distributed database system that operates according to the distributed database inquiry method of the second embodiment of the present invention.

【図7】従来におけるこの種の分散データベースシステ
ムの電気的構成を示すブロック図である。
FIG. 7 is a block diagram showing an electrical configuration of a conventional distributed database system of this type.

【符号の説明】[Explanation of symbols]

3 分散DBクライアント(クライアントノード) 31 入出力端末(入出力端末手段) 32 入出力制御プログラム 33 RDAプログラム(第1の遠隔データベース
アクセス手段) 34 第1通信制御プログラム(第1の通信制御プ
ログラム) 41,42,…,4n DBサーバ(データベースサ
ーバノード) 4a1,4a2,… DBサーバ(データベースサ
ーバノード) 41 第4通信制御プログラム(第4の通信制御プ
ログラム) 42 DB管理プログラム(データベース管理プロ
グラム) 43 検索プログラム 441,442,…,44n データベース 5 クラスタサーバ(クラスタサーバノード、第1
のクラスタサーバノード) 5a クラスタサーバ(第2のクラスタサーバノー
ド) 51 第2通信制御プログラム(第2の通信制御プ
ログラム) 52 複数サーバ集中制御プログラム(複数サーバ
集中制御手段) 531,532,…,53n RDAプログラム(第
2の遠隔データベースアクセス手段) 54 第3通信制御プログラム(第3の通信制御プ
ログラム)
3 distributed DB client (client node) 31 input / output terminal (input / output terminal means) 32 input / output control program 33 RDA program (first remote database access means) 34 first communication control program (first communication control program) 4 1 , 4 2 , ..., 4 n DB server (database server node) 4 a 1 , 4 a 2 , ... DB server (database server node) 41 Fourth communication control program (fourth communication control program) 42 DB management program (database) management program) 43 search program 44 1, 44 2, ..., 44 n database 5 cluster servers (cluster server node, the first
Cluster server node) 5a Cluster server (second cluster server node) 51 Second communication control program (second communication control program) 52 Multiple server central control program (multiple server central control means) 53 1 , 53 2 , ... , 53 n RDA program (second remote database access means) 54 Third communication control program (third communication control program)

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 コンピュータネットワーク上に存在する
複数のデータベースサーバノードを統括制御するクラス
タサーバノードを設けてなるクライアント/サーバ型の
分散データベース制御方式であって、 前記クラスタサーバノードは、任意のクライアントノー
ドから複数のデータベースへの問い合わせを受けると、
指定されたそれぞれのデータベースを有するデータベー
スサーバノードの所在を明らかにした後、これらのデー
タベースサーバノードに対して問い合わせを行うと共
に、これらのデータベースサーバノードからの問い合わ
せに対する回答を加工処理した後、前記クライアントノ
ードに渡すことを特徴とする分散データベース問い合わ
せ方式。
1. A client / server type distributed database control system comprising a cluster server node for integrally controlling a plurality of database server nodes existing on a computer network, wherein the cluster server node is an arbitrary client node. When you receive an inquiry from multiple databases from
After clarifying the whereabouts of the database server nodes having the respective designated databases, making inquiries to these database server nodes and processing the responses to the inquiries from these database server nodes, and then the client A distributed database inquiry method characterized by being passed to nodes.
【請求項2】 前記クライアントノードは、通信回線を
介して前記クラスタサーバノードとの接続制御を行う第
1の通信制御プログラムと、入出力端末手段から複数の
データベースへの問い合わせを受けると共に、該問い合
わせに対する回答を前記入出力端末手段に出力する入出
力制御プログラムと、前記第1の通信制御プログラムを
用いて前記クラスタサーバノードに前記問い合わせを転
送する第1の遠隔データベースアクセス手段とを備え、 前記クラスタサーバノードは、通信回線を介して前記ク
ライアントノードとの接続制御を行う第2の通信制御プ
ログラムと、通信回線を介して前記各データベースサー
バノードとの接続制御を行う第3の通信制御プログラム
と、 該第3の通信制御プログラムを用いて、対応する前記デ
ータベースサーバノードとデータの授受を行う複数の第
2の遠隔データベースアクセス手段と、 前記第1の遠隔データベースアクセス手段から転送され
てきた前記問い合わせに基づいて、指定されたデータベ
ースサーバノード毎に問い合わせを分解再整理した後、
前記複数の第2の遠隔データベースアクセス手段を用い
て前記複数のデータベースサーバノードに対して問い合
わせを行うと共に、それぞれの前記データベースサーバ
ノードから返送されてきた前記問い合わせに対する回答
を加工処理する複数サーバ集中制御手段とを備え、 かつ、前記複数のデータベースサーバノードは、通信回
線を介して前記クラスタサーバノードとの接続制御を行
う第4の通信制御プログラムと、データベースと、該デ
ータベースを管理すると共に、前記複数サーバ集中制御
手段からの問い合わせに対する回答を提供するデータベ
ース管理プログラムとを備えてなることを特徴とする請
求項1記載の分散データベース問い合わせ方式。
2. The client node receives a first communication control program for controlling connection with the cluster server node via a communication line and an inquiry to a plurality of databases from an input / output terminal means, and the inquiry is made. And a first remote database access means for transferring the inquiry to the cluster server node by using the first communication control program. The server node includes a second communication control program for controlling connection with the client node via a communication line, and a third communication control program for controlling connection with each of the database server nodes via a communication line, Using the third communication control program, the corresponding database server Based on the plurality of second remote database access means for exchanging data with the node, and the inquiry transferred from the first remote database access means, the queries are disassembled and rearranged for each designated database server node. After doing
Centralized control of a plurality of servers for making an inquiry to the plurality of database server nodes by using the plurality of second remote database access means and processing an answer to the inquiry returned from each of the database server nodes. A plurality of database server nodes, wherein the plurality of database server nodes manage a database and a fourth communication control program for controlling connection with the cluster server node via a communication line; The distributed database inquiry system according to claim 1, further comprising a database management program for providing a response to an inquiry from the server centralized control means.
【請求項3】 コンピュータネットワーク上に存在する
複数のデータベースサーバノードを統括制御する第2の
クラスタサーバノードと、同じくコンピュータネットワ
ーク上に存在する複数のデータベースサーバノード及び
前記第2のクラスタサーバノードを統括制御する第1の
クラスタサーバノードとを設けてなるクライアント/サ
ーバ型の分散データベース制御方式であって、 前記第1のクラスタサーバノードは、任意のクライアン
トノードから複数のデータベースへの問い合わせを受け
ると、指定されたそれぞれのデータベースを有するデー
タベースサーバノード、これらのデータベースサーバノ
ードが前記第2のクラスタサーバノードに統括制御され
る状態のときは当該第2のクラスタサーバノードの所在
を明らかにした後、これらのデータベースサーバノード
又は/及び第2のクラスタサーバノードに対して問い合
わせを行うと共に、これらのデータベースサーバノード
又は/及び第2のクラスタサーバノードからの問い合わ
せに対する回答を加工処理した後、前記クライアントノ
ードに渡すことを特徴とする分散データベース問い合わ
せ方式。
3. A second cluster server node that integrally controls a plurality of database server nodes existing on a computer network, and a plurality of database server nodes and a second cluster server node also existing on the computer network. A client / server type distributed database control system comprising a first cluster server node for controlling, wherein the first cluster server node receives an inquiry to a plurality of databases from an arbitrary client node, Database server nodes having respective designated databases, and when these database server nodes are in a state of being totally controlled by the second cluster server node, after clarifying the whereabouts of the second cluster server node, these Inquiries are made to the database server node and / or the second cluster server node, and the responses to the inquiries from these database server nodes and / or the second cluster server nodes are processed and passed to the client node. A distributed database inquiry method characterized in that
【請求項4】 前記クライアントノードは、通信回線を
介して前記クラスタサーバノードとの接続制御を行う第
1の通信制御プログラムと、入出力端末手段から複数の
データベースへの問い合わせを受けると共に、該問い合
わせに対する回答を前記入出力端末手段に出力する入出
力制御プログラムと、前記第1の通信制御プログラムを
用いて前記クラスタサーバノードに前記問い合わせを転
送する第1の遠隔データベースアクセス手段とを備え、 前記第1のクラスタサーバノードは、通信回線を介して
前記クライアントノードとの接続制御を行う第2の通信
制御プログラムと、通信回線を介して前記各データベー
スサーバノード又は/及び第2のクラスタサーバノード
との接続制御を行う第3の通信制御プログラムと、 該第3の通信制御プログラムを用いて、対応する前記デ
ータベースサーバノード又は第2のクラスタサーバノー
ドとデータの授受を行う複数の第2の遠隔データベース
アクセス手段と、 前記第1の遠隔データベースアクセス手段から転送され
てきた前記問い合わせに基づいて、指定されたデータベ
ースサーバノード及び第2のクラスタサーバノード毎に
問い合わせを分解再整理した後、前記複数の第2の遠隔
データベースアクセス手段を用いて前記複数のデータベ
ースサーバノード又は/及び第2のクラスタサーバノー
ドに対して問い合わせを行うと共に、それぞれの前記デ
ータベースサーバノード又は/及び第2のクラスタサー
バノードから返送されてきた前記問い合わせに対する回
答を加工処理する第1の複数サーバ集中制御手段とを備
え、 前記第2のクラスタサーバノードは、通信回線を介して
前記第1のクラスタサーバノードとの接続制御を行う第
5の通信制御プログラムと、通信回線を介して前記各デ
ータベースサーバノードとの接続制御を行う第6の通信
制御プログラムと、 該第6の通信制御プログラムを用いて、対応する前記デ
ータベースサーバノードとデータの授受を行う複数の第
3の遠隔データベースアクセス手段と、 前記第2の遠隔データベースアクセス手段から転送され
てきた前記問い合わせに基づいて、指定されたデータベ
ースサーバノード毎に問い合わせを分解再整理した後、
前記複数の第3の遠隔データベースアクセス手段を用い
て前記複数のデータベースサーバノードに対して問い合
わせを行うと共に、それぞれの前記データベースサーバ
ノードから返送されてきた前記問い合わせに対する回答
を加工処理する第2の複数サーバ集中制御手段とを備
え、 かつ、前記複数のデータベースサーバノードは、通信回
線を介して前記クラスタサーバノードとの接続制御を行
う第4の通信制御プログラムと、データベースと、該デ
ータベースを管理すると共に、前記複数サーバ集中制御
手段からの問い合わせに対する回答を提供するデータベ
ース管理プログラムとを備えてなることを特徴とする請
求項3記載の分散データベース問い合わせ方式。
4. The client node receives a first communication control program for controlling connection with the cluster server node via a communication line, and an inquiry to a plurality of databases from an input / output terminal means, and the inquiry. An input / output control program for outputting a reply to the input / output terminal means, and a first remote database access means for transferring the inquiry to the cluster server node using the first communication control program. The first cluster server node includes a second communication control program for controlling connection with the client node via a communication line, and each of the database server nodes and / or the second cluster server node via a communication line. A third communication control program for controlling connection, and the third communication control program A plurality of second remote database access means for exchanging data with the corresponding database server node or second cluster server node using RAM, and the inquiry transferred from the first remote database access means. Based on the above, after disassembling and rearranging the queries for each designated database server node and second cluster server node, using the plurality of second remote database access means, the plurality of database server nodes and / or the plurality of database server nodes. First multiple server centralized control means for making an inquiry to two cluster server nodes and processing an answer to the inquiry returned from each of the database server nodes and / or the second cluster server node. Comprising the second class The data server node includes a fifth communication control program for controlling connection with the first cluster server node via a communication line, and a sixth communication control program for controlling connection with the database server nodes via the communication line. A communication control program and a plurality of third remote database access means for exchanging data with the corresponding database server node using the sixth communication control program, and transfer from the second remote database access means. After disassembling and rearranging the queries for each specified database server node based on the queries
A second plurality for making an inquiry to the plurality of database server nodes using the plurality of third remote database access means and processing an answer to the inquiry returned from each of the database server nodes. Centralized server control means, and the plurality of database server nodes, a fourth communication control program for controlling the connection with the cluster server node via a communication line, a database, and managing the database and 4. The distributed database inquiry system according to claim 3, further comprising: a database management program that provides an answer to an inquiry from the multiple server centralized control means.
JP7093364A 1995-04-19 1995-04-19 System for inquiring distributed database Pending JPH08286960A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7093364A JPH08286960A (en) 1995-04-19 1995-04-19 System for inquiring distributed database

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7093364A JPH08286960A (en) 1995-04-19 1995-04-19 System for inquiring distributed database

Publications (1)

Publication Number Publication Date
JPH08286960A true JPH08286960A (en) 1996-11-01

Family

ID=14080242

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7093364A Pending JPH08286960A (en) 1995-04-19 1995-04-19 System for inquiring distributed database

Country Status (1)

Country Link
JP (1) JPH08286960A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1063670A (en) * 1996-08-16 1998-03-06 Nippon Telegr & Teleph Corp <Ntt> Document retrieving system
JPH10143523A (en) * 1996-11-11 1998-05-29 Nec Corp Information retrieval device
JPH10143544A (en) * 1996-11-13 1998-05-29 Mitsubishi Electric Corp Tabulation processing system
WO2003010687A1 (en) * 2001-07-26 2003-02-06 Ikuhiro Ueda Information search system for searching databases for information
JP2003108165A (en) * 2001-09-28 2003-04-11 Daiichikosho Co Ltd Karaoke collective system with featured melody retrieval processing system
JP2006031624A (en) * 2004-07-21 2006-02-02 Mitsubishi Electric Corp Retrieval system
US7111019B1 (en) 1998-11-11 2006-09-19 Hitachi, Ltd. Data warehouse system and query processing method used in the system, and data collecting method and apparatus for the method, and charging method and apparatus in the system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06259309A (en) * 1993-03-10 1994-09-16 Nippon Telegr & Teleph Corp <Ntt> Decentralized data control system and its data access method
JPH0773130A (en) * 1993-09-02 1995-03-17 Fujitsu Ltd Distribution processing system
JPH0798669A (en) * 1993-08-05 1995-04-11 Hitachi Ltd Distributed data base management system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06259309A (en) * 1993-03-10 1994-09-16 Nippon Telegr & Teleph Corp <Ntt> Decentralized data control system and its data access method
JPH0798669A (en) * 1993-08-05 1995-04-11 Hitachi Ltd Distributed data base management system
JPH0773130A (en) * 1993-09-02 1995-03-17 Fujitsu Ltd Distribution processing system

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1063670A (en) * 1996-08-16 1998-03-06 Nippon Telegr & Teleph Corp <Ntt> Document retrieving system
JPH10143523A (en) * 1996-11-11 1998-05-29 Nec Corp Information retrieval device
US5963946A (en) * 1996-11-11 1999-10-05 Nec Corporation Information retrieval system for presenting information obtained through efficient retrieval of a data base and processing of the retrieval results
JPH10143544A (en) * 1996-11-13 1998-05-29 Mitsubishi Electric Corp Tabulation processing system
US7111019B1 (en) 1998-11-11 2006-09-19 Hitachi, Ltd. Data warehouse system and query processing method used in the system, and data collecting method and apparatus for the method, and charging method and apparatus in the system
WO2003010687A1 (en) * 2001-07-26 2003-02-06 Ikuhiro Ueda Information search system for searching databases for information
JPWO2003010687A1 (en) * 2001-07-26 2004-11-18 育弘 上田 Information retrieval system between multiple databases
JP2003108165A (en) * 2001-09-28 2003-04-11 Daiichikosho Co Ltd Karaoke collective system with featured melody retrieval processing system
JP2006031624A (en) * 2004-07-21 2006-02-02 Mitsubishi Electric Corp Retrieval system
JP4503379B2 (en) * 2004-07-21 2010-07-14 三菱電機株式会社 Search device

Similar Documents

Publication Publication Date Title
JP3088269B2 (en) Computer network system and operating system version management method
US5555427A (en) Distributed processing in a system of computers at terminals connected by a communication network
JP2003022209A (en) Distributed server system
US20070214174A1 (en) System for distributing files and transmitting/receiving distributed files
JP2003122611A (en) Data providing method and server device
JP2001005833A (en) Information processor, information processing method and recording medium
JPH08286960A (en) System for inquiring distributed database
CN100390776C (en) Group access privatization in clustered computer system
JP2005516319A (en) Method and system for workload balancing in a network of computer systems
JPH11175599A (en) Work transfer supporting system
US20070162583A1 (en) Information providing device, device discovering method, and computer product
JP2000132603A (en) Method and device for managing schedule data in distributed environment and recording medium recording schedule data managing program
JPH11212818A (en) Decentralized simulation system
JPH11249943A (en) Method and system for synchronous management of distributed data base
EP1389850B1 (en) Generic SNMP proxy
JP2003242016A (en) Information processing system, server and client device used in the information system, program, and information processing method
JPH08255168A (en) Method and structure for retrieval management of decentralized database, and integrated management database
JPH1021126A (en) Data base system
JP3741818B2 (en) Information distribution response system with many computers participating
JPH03166649A (en) Distributed data base system
JPH05204973A (en) Decentralized data base retrieving system
JPH09231243A (en) Connecting method for data processor, control method for exchange, data processor, controller, and exchange
JPH034354A (en) Information distributed processing system
CA2477630A1 (en) Improvements relating to server systems
JPH03268152A (en) Information processing network system