[go: up one dir, main page]

JPH0749880A - Data base access request device - Google Patents

Data base access request device

Info

Publication number
JPH0749880A
JPH0749880A JP5215301A JP21530193A JPH0749880A JP H0749880 A JPH0749880 A JP H0749880A JP 5215301 A JP5215301 A JP 5215301A JP 21530193 A JP21530193 A JP 21530193A JP H0749880 A JPH0749880 A JP H0749880A
Authority
JP
Japan
Prior art keywords
database
access
access request
processing
request
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
JP5215301A
Other languages
Japanese (ja)
Inventor
Masaki Ogino
正樹 荻野
Makoto Kodera
誠 小寺
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP5215301A priority Critical patent/JPH0749880A/en
Publication of JPH0749880A publication Critical patent/JPH0749880A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PURPOSE:To sends certain access requests to plural data bases that are connected through a communication line and to efficiently obtain process results at a high speed. CONSTITUTION:A request analysis part 23 analyzes a data base access procedure 10 in advance and obtain access request statements by the data base. Further, it is judged whether or not there is such dependency relation that they utilize retrieval results mutually and when not, the access request statements are sent to respective data base processors 4 by a broadcasting communication. Consequently, the time required for the transmitting and receiving procedure of the access requests is shortened and the retrieval time of the data bases for simultaneous parallel processing is also shortened. Access request statement in dependency relation are only processed in order as usual.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、通信回線を介して接続
された複数のデータベースに対しアクセス要求を行い一
定の処理結果を得るためのデータベースアクセス要求装
置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a database access requesting device for requesting access to a plurality of databases connected via a communication line and obtaining a certain processing result.

【0002】[0002]

【従来の技術】科学技術、商業、人事管理、金融、その
他各種の分野において、情報処理装置によるデータベー
スの検索が広く実施される。これらのデータベースは必
ずしも1箇所に集中的に存在するとは限らず、通信回線
を介して各所に配置される。ユーザーは、複数のデータ
ベースから得た情報を元に所定の結果を得ることも多
い。
2. Description of the Related Art In various fields such as science and technology, commerce, personnel management, finance, etc., information processing devices are widely used to search databases. These databases do not always exist centrally in one place, but are arranged in various places via communication lines. Users often obtain predetermined results based on information obtained from multiple databases.

【0003】図2に、このような従来のデータベース検
索装置ブロック図を示す。この装置は、データベースア
クセス要求装置1によって通信回線3を介して接続され
たデータベース5をアクセスする。データベースアクセ
ス要求装置1にはアクセス要求を入力するためのプリプ
ロセス部2が接続されている。また、データベースアク
セス要求装置1の中にはアクセス制御部6及び記憶部7
が設けられている。通信回線3はデータベース処理装置
4を介してデータベース5に接続されている。
FIG. 2 shows a block diagram of such a conventional database search device. This device accesses a database 5 connected by a database access requesting device 1 via a communication line 3. The database access requesting device 1 is connected with a pre-processing unit 2 for inputting an access request. Further, in the database access request device 1, the access control unit 6 and the storage unit 7 are included.
Is provided. The communication line 3 is connected to the database 5 via the database processing device 4.

【0004】データベース5は磁気ディスク装置等の大
容量記憶装置から構成され、ここに格納された情報はデ
ータベース処理装置4により検索され、通信回線3を介
してデータベースアクセス要求装置1に送られる構成と
なっている。データベースアクセス要求装置1を用いて
データベースから必要な情報を得るためには、オペレー
タが一定のアクセス手順を入力しなければならない。こ
のようなオペレータのアクセス手順の入力を容易にする
ために、SQLという簡易言語が存在する。プリプロセ
ス部2は、このような簡易言語をデータベースアクセス
要求装置1が解釈できる言語に変換するための部分であ
る。
The database 5 is composed of a mass storage device such as a magnetic disk device, and the information stored therein is searched by the database processing device 4 and sent to the database access requesting device 1 via the communication line 3. Has become. In order to use the database access requesting device 1 to obtain necessary information from the database, the operator must input a certain access procedure. In order to facilitate the input of such an operator's access procedure, there is a simple language called SQL. The preprocessing unit 2 is a unit for converting such a simple language into a language that can be interpreted by the database access requesting device 1.

【0005】図3に、SQLプリプロセス部の動作説明
図を示す。このプリプロセス部2には、SQLプログラ
ム11を受け入れて処理するSQLプリプロセス装置1
2が設けられている。SQLプログラム11はデータベ
ース検索のための簡易言語であって、FORTRAN、
BASIC、COBOL等と同様に高級言語に属する。
SQLプリプロセス装置12は、このSQLプログラム
11をいわゆるアセンブラのような形式のプログラムに
変換し、データベースアクセス要求装置1に送り込む。
これはデータベースアクセス要求装置1において解釈さ
れ記憶部7にデータベースアクセス手順10として格納
される。
FIG. 3 shows an operation explanatory diagram of the SQL preprocessing section. The pre-processing unit 2 receives the SQL program 11 and processes it.
Two are provided. The SQL program 11 is a simple language for searching a database.
Like BASIC and COBOL, it belongs to a high-level language.
The SQL preprocessing device 12 converts the SQL program 11 into a program in a so-called assembler format and sends it to the database access request device 1.
This is interpreted by the database access requesting device 1 and stored in the storage unit 7 as a database access procedure 10.

【0006】このデータベースアクセス手順10は、具
体的には一定のファイルをあるキーを元に所定の範囲で
検索し、得られたデータを送り返すといったような内容
となる。このようなデータベースアクセス手順10はア
クセス制御部6によって順番に読み出され、アクセス要
求文8としてデータベース処理装置4に向け送られる。
データベース処理装置4はこれを受けてデータベース5
を検索し、必要な処理結果9を通信回線3を介してデー
タベースアクセス要求装置1に送り返す。
Specifically, the database access procedure 10 has a content such that a certain file is searched within a predetermined range based on a certain key and the obtained data is sent back. Such a database access procedure 10 is sequentially read by the access control unit 6 and sent as an access request statement 8 to the database processing device 4.
Upon receipt of this, the database processing device 4 receives the database 5
And the necessary processing result 9 is sent back to the database access requesting device 1 via the communication line 3.

【0007】[0007]

【発明が解決しようとする課題】ところで、上記のよう
な従来のデータベース検索装置には次のような解決すべ
き課題があった。図4に、従来の検索処理シーケンスを
示す。従来のデータベースアクセス要求装置1が複数の
データベースに対し各種のアクセス要求を行ってその処
理結果を得る手順は、このシーケンスに示すとおりとな
る。
By the way, the above-mentioned conventional database retrieval apparatus has the following problems to be solved. FIG. 4 shows a conventional search processing sequence. The procedure by which the conventional database access requesting device 1 makes various access requests to a plurality of databases and obtains the processing results is as shown in this sequence.

【0008】即ち、まず図2に示したデータベースアク
セス手順10は、アクセス要求を行うべきデータベース
順に処理される。即ち、図4のステップS1において、
まずデータベース処理装置4−1に対し対応するアクセ
ス要求を行う。そして、このデータベース処理装置4−
1からその処理結果をステップS2において受信する。
次に、別のデータベース検索のために用意されたデータ
ベースアクセス手順を読み、別のデータベース処理装置
4−2に対しステップS3においてアクセス要求を行
う。そして、ステップS4において、データベース処理
装置4−2はその処理結果をデータベースアクセス要求
装置1に送信する。最後に、データベースアクセス要求
装置1は残りのデータベース処理装置4−3に対しステ
ップS5においてアクセス要求を行い、ステップS6に
おいてその処理結果を受信する。
That is, first, the database access procedure 10 shown in FIG. 2 is processed in the order of databases for which access requests should be made. That is, in step S1 of FIG.
First, a corresponding access request is made to the database processing device 4-1. Then, this database processing device 4-
The processing result from 1 is received in step S2.
Next, the database access procedure prepared for another database search is read, and an access request is issued to another database processing device 4-2 in step S3. Then, in step S4, the database processing device 4-2 transmits the processing result to the database access requesting device 1. Finally, the database access requesting device 1 makes an access request to the remaining database processing device 4-3 in step S5, and receives the processing result in step S6.

【0009】しかしながら、上記のような処理を実行す
る場合、データベースアクセス要求装置1は図2に示す
通信回線3を介してデータベース処理装置4と接続する
ための一定の通信手順を必要とする。従って、データベ
ースアクセス要求装置1が図4に示した各データベース
処理装置4−1〜4−3より処理結果を得るためには、
このような通信回線の接続や切離しのための一定の処理
を必要とする。ところが、データベース処理装置4−1
〜4−3が、それぞれのデータベースを検索するための
時間と比べても、データベースアクセス要求装置1が各
データベース処理装置4−1〜4−3と通信回線を介し
て接続するための手順を踏む時間は無視できない程長時
間になることもある。
However, in order to execute the above-mentioned processing, the database access requesting apparatus 1 needs a certain communication procedure for connecting to the database processing apparatus 4 via the communication line 3 shown in FIG. Therefore, in order for the database access requesting device 1 to obtain a processing result from each of the database processing devices 4-1 to 4-3 shown in FIG.
A certain process for connecting and disconnecting such a communication line is required. However, the database processing device 4-1
.. 4-3, even if compared with the time for searching each database, take steps for the database access requesting device 1 to connect to each database processing device 4-1 to 4-3 via the communication line. The time can be so long that it cannot be ignored.

【0010】従って、全ての処理結果を得て次の情報の
解析作業に進むためには、データベースアクセス要求装
置1は非常に多くの処理時間を必要とし、その処理効率
が問題となっていた。特に、データベースアクセス要求
装置1とデータベース処理装置4−1〜4−3とが低速
度の通信回線によって結ばれているような場合には、通
信の遅延による性能の低下が著しいという問題があっ
た。従って、複数のデータベースに対する複雑なアクセ
ス要求を実行する場合の能率向上が求められていた。
Therefore, in order to obtain all the processing results and proceed to the next information analysis work, the database access requesting apparatus 1 requires a very long processing time, and its processing efficiency becomes a problem. In particular, when the database access requesting device 1 and the database processing devices 4-1 to 4-3 are connected by a low-speed communication line, there is a problem that the performance is significantly deteriorated due to communication delay. . Therefore, there has been a demand for improved efficiency in executing complicated access requests for a plurality of databases.

【0011】本発明は以上の点に着目してなされたもの
で、通信回線を介して接続された複数のデータベースに
対し一定のアクセス要求を行う場合に、より効率的に全
体として高速度で処理結果を得ることができるデータベ
ースアクセス要求装置を提供することを目的とするもの
である。
The present invention has been made by paying attention to the above points, and when a constant access request is made to a plurality of databases connected via a communication line, the processing is performed more efficiently and at a high speed as a whole. It is an object of the present invention to provide a database access requesting device that can obtain a result.

【0012】[0012]

【課題を解決するための手段】本発明のデータベースア
クセス要求装置は、通信回線を介して接続された複数の
データベースに対しアクセス要求を行い処理結果を得る
ものであって、入力されたデータベースアクセス手順を
記憶する記憶部と、記憶されたデータベースアクセス手
順を解析して、データベースごとのアクセス要求文に区
別するとともに、各アクセス要求文が互いにその検索結
果を利用する依存関係があるかどうかを判断する要求解
析部と、依存関係の無いアクセス要求文を同時に各デー
タベースに送り検索を並行処理させるアクセス制御部と
を備えたことを特徴とするものである。
A database access request device of the present invention is a device for requesting access to a plurality of databases connected via a communication line and obtaining a processing result. And the stored database access procedure are analyzed to distinguish the access request statements for each database and to determine whether or not each access request statement has a dependency relationship in which the search results are used with each other. It is characterized by including a request analysis unit and an access control unit that sends access request statements having no dependency relationship to each database at the same time to perform a parallel search process.

【0013】[0013]

【作用】この装置は、要求解析部が、予めデータベース
アクセス手順を解析してデータベースごとのアクセス要
求文を得る。更に、これらが互いに検索結果を利用する
ような依存関係があるかどうかを判断し、依存関係がな
い場合、そのアクセス要求文を同報通信によって各デー
タベース処理装置に送る。これにより、データやアクセ
ス要求の送受信手続きに必要な時間が節約され、同時並
行処理のためデータベースの検索時間も節約される。依
存関係のあるアクセス要求文は、従来と同様に処理すれ
ばよい。
In this device, the request analysis section obtains an access request statement for each database by analyzing the database access procedure in advance. Further, it is judged whether or not they have a dependency relationship in which the search results are used with each other, and if there is no dependency relationship, the access request sentence is sent to each database processing device by broadcast communication. This saves the time required to send and receive data and access requests, and saves database search time due to concurrent processing. Access request statements having a dependency relationship may be processed in the same manner as in the past.

【0014】[0014]

【実施例】以下、本発明を図の実施例を用いて詳細に説
明する。図1は、本発明のデータベースアクセス要求装
置実施例を示すブロック図である。この装置は、データ
ベースアクセス要求装置20によって通信回線3を介し
て接続された複数のデータベース5をアクセスする構成
となっている。ここではデータベース5は3種類表示さ
れており、データベース処理装置4がそれぞれのデータ
ベース5を検索処理する構成となっている。
The present invention will be described in detail below with reference to the embodiments shown in the drawings. FIG. 1 is a block diagram showing an embodiment of a database access request device of the present invention. This device is configured to access a plurality of databases 5 connected via a communication line 3 by a database access requesting device 20. Here, three types of databases 5 are displayed, and the database processing device 4 is configured to search each database 5.

【0015】データベースアクセス要求装置20には、
アクセス制御部21、記憶部22及び要求解析部23が
設けられている。また、データベースアクセス要求装置
20に対しデータベースアクセス手順10を送り込むた
めにプリプロセス部2が設けられている。上記プリプロ
セス部2の構成及び作用等は、既に図3を用いて説明し
た従来の装置と同様である。
The database access request device 20 includes
An access control unit 21, a storage unit 22, and a request analysis unit 23 are provided. Further, a preprocessing unit 2 is provided to send the database access procedure 10 to the database access requesting device 20. The configuration and operation of the pre-process section 2 are the same as those of the conventional apparatus already described with reference to FIG.

【0016】ここで、アクセス要求文の依存関係につい
て説明する。図5は、アクセス要求文の依存関係説明図
である。データベースアクセス要求装置20に対し送り
込まれるデータベースアクセス手順10は、先に説明し
たように、例えば各データベースに対しどのようなファ
イルをオープンし、どのようなキーでどのような範囲を
検索するか等の命令が含まれる。複数のデータベースに
対しこのような検索を行う場合には、それぞれのデータ
ベースごとのアクセス要求文が含まれることになる。こ
こでは、例えばアクセス要求文10A、10B、10C
がデータベースアクセス手順10を構成しているものと
する。
Here, the dependency of the access request sentence will be described. FIG. 5 is an explanatory diagram of the dependency relationship of access request statements. As described above, the database access procedure 10 sent to the database access requesting device 20 determines, for example, what file is opened for each database, what kind of key is used to search what range, and the like. Contains instructions. When such a search is performed on a plurality of databases, an access request statement for each database is included. Here, for example, access request statements 10A, 10B, 10C
Configure the database access procedure 10.

【0017】この場合に、各アクセス要求文10A、1
0B、10Cがそれぞれ得られた処理結果をそのまま別
の情報処理装置に送り、利用するような場合もある。し
かしながら、例えばこの図の破線15に示すように、ア
クセス要求文10Bによって得られた検索結果をアクセ
ス要求文10Cが利用するような場合がある。このよう
な依存関係がある場合、例えばアクセス要求文10Cを
先に実行し、その後アクセス要求文10Bを実行するよ
うにしては、その結果に誤りを生じる。本発明において
は、このような依存関係の有無を判断し、全く結果に依
存関係がない場合のアクセス要求文の送信を同報通信に
よる並行処理とし、処理の高速化を図っている。
In this case, each access request statement 10A, 1
In some cases, the processing results obtained by 0B and 10C are sent as they are to another information processing apparatus and used. However, for example, as shown by a broken line 15 in this figure, the access request statement 10C may use the search result obtained by the access request statement 10B. If there is such a dependency, for example, if the access request statement 10C is executed first and then the access request statement 10B is executed, an error will occur in the result. In the present invention, the presence or absence of such a dependency relationship is determined, and when there is no dependency relationship in the result at all, transmission of the access request statement is performed as parallel processing by broadcast communication to speed up the processing.

【0018】図6に、本発明の装置による検索処理シー
ケンスを示す。このシーケンスチャートを見ながら、本
発明の装置の動作を順番に説明する。図1において、プ
リプロセス部2がデータベースアクセス要求装置20に
対し所定のデータベースアクセス手順10を送り込む。
記憶部22にこのデータベースアクセス手順10が記憶
されると、要求解析部23はデータベースアクセス手順
10を解析する。そして、図5に示すように、それぞれ
別々のデータベースに対するアクセス要求文に区分す
る。次に、これらの依存関係を調べる。まず、始めの例
として、アクセス要求文がそれぞれ全く依存関係がない
場合を考える。この場合には、図4のステップS1に示
すように、アクセス要求をデータベース処理装置4−1
に送り、更にステップS2において、アクセス要求をデ
ータベース処理装置4−2に送り、ステップS3におい
て、アクセス要求をデータベース処理装置4−3に送
る。これらのアクセス要求は、実質的にはほぼ同時に同
報通信により実施される。
FIG. 6 shows a search processing sequence by the apparatus of the present invention. The operation of the apparatus of the present invention will be described in order with reference to this sequence chart. In FIG. 1, the preprocessing unit 2 sends a predetermined database access procedure 10 to the database access requesting device 20.
When the database access procedure 10 is stored in the storage unit 22, the request analysis unit 23 analyzes the database access procedure 10. Then, as shown in FIG. 5, it is divided into access request statements for different databases. Next, investigate these dependencies. First, as a first example, consider a case where the access request statements have no dependency at all. In this case, the access request is sent to the database processing device 4-1 as shown in step S1 of FIG.
Further, the access request is sent to the database processing device 4-2 in step S2, and the access request is sent to the database processing device 4-3 in step S3. These access requests are carried out by broadcasting at substantially the same time.

【0019】通信回線の種類やデータベース処理装置4
−1〜4−3までの距離等によって、このようなアクセ
ス要求は、それぞれまちまちの時間にデータベース処理
装置4−1、4−2、4−3に到着する。これらのデー
タベース処理装置はアクセス要求の到着後、データベー
スの検索を実行し、一定の処理結果を得る。データベー
スアクセス要求装置20は、これらのデータベース処理
装置4−1〜4−3の処理結果をステップS4、S5、
S6において受信する。
Type of communication line and database processing device 4
Such access requests arrive at the database processing devices 4-1, 4-2, and 4-3 at different times depending on the distances from -1 to 4-3. After the arrival of the access request, these database processing devices execute a database search to obtain a certain processing result. The database access requesting device 20 outputs the processing results of these database processing devices 4-1 to 4-3 to steps S4 and S5.
It is received in S6.

【0020】ここで、この図6と従来装置の動作を説明
した図4とを比較して明らかなように、本発明の装置で
は、データベースアクセス要求装置20がデータベース
処理装置4−3にアクセス要求を行い、その処理結果を
受信するまでの間に、他の全ての処理結果の受信が完了
する。即ち、最も通信に時間がかかり、データベースの
検索にも時間がかかって、トータル的に処理結果の受信
が遅くなるデータベース処理装置に対するデータベース
要求を最大時間として全ての処理結果を受信することが
可能になる。従って、最もアクセス応答完了に長時間を
要するデータベースに対し、最先にアクセス要求を出す
ようにするのが好ましい。
Here, as is apparent by comparing FIG. 6 with FIG. 4 which illustrates the operation of the conventional apparatus, in the apparatus of the present invention, the database access requesting apparatus 20 makes an access request to the database processing apparatus 4-3. And other processing results are received before the processing results are received. In other words, it takes the longest time to communicate, it takes a long time to search the database, and the total reception of processing results is slow. It is possible to receive all processing results by setting the database request to the database processing device as the maximum time. Become. Therefore, it is preferable to issue the access request first to the database that requires the longest time to complete the access response.

【0021】ところで、上記のようなアクセス要求文の
中には一定の依存関係が存在する場合がある。しかしな
がら、全てのアクセス要求文が互いに依存関係を持つ場
合は少なく、例えばデータベース処理装置4−1に対す
るアクセス要求を行い、その処理結果がデータベース処
理装置4−2やデータベース処理装置4−3へのアクセ
ス要求に影響するといったケースも存在する。このよう
な場合には、図6のステップS7に示すように、まずデ
ータベース処理装置4−1にのみアクセス要求を行い、
ステップS8において、その処理結果を受信する。そし
て、その後ステップS9及びステップS10において、
データベース処理装置4−2、4−3に対し同報通信に
より一挙にアクセス要求を行う。そして、その後はいず
れか処理要求を受信するのが遅い方のデータベース処理
装置による処理要求を受信した場合に、全ての処理が完
了する。
By the way, there is a case where a certain dependency exists in the above access request statement. However, it is rare that all access request statements have a dependency relationship with each other. For example, an access request is made to the database processing device 4-1, and the processing result is an access to the database processing device 4-2 or the database processing device 4-3. There are also cases where it affects requirements. In such a case, as shown in step S7 of FIG. 6, first, an access request is made only to the database processing device 4-1.
In step S8, the processing result is received. Then, in steps S9 and S10,
Access requests are made all at once to the database processing devices 4-2 and 4-3 by broadcast communication. Then, after that, when any one of the database processing devices which is later in receiving the processing request receives the processing request, all the processing is completed.

【0022】なお、このようなデータベースアクセス手
順の分解、組立て、並列化、形式変換等は、図1に示す
データベースアクセス要求装置20の要求解析部23が
所定のプログラムにより実行する。また、同報通信を必
要とするかどうかの情報については要求解析部23が生
成し、アクセス制御部21に送り込み、ファクシミリ装
置等でよく知られた同報通信の手順により通信回線3へ
の接続等を行う。
The disassembly, assembly, parallelization, format conversion and the like of the database access procedure are executed by the request analysis unit 23 of the database access request device 20 shown in FIG. 1 by a predetermined program. Further, the request analysis unit 23 generates information about whether or not the broadcast communication is required, sends it to the access control unit 21, and connects to the communication line 3 by the well-known broadcast communication procedure of a facsimile machine or the like. And so on.

【0023】本発明は以上の実施例に限定されない。上
記実施例におけるプリプロセス部2や記憶部22、要求
解析部23、アクセス制御部21等は、同様の機能を持
つ各種のハードウェアやソフトウェアに置き換えて差し
支えなく、これらの装置は一体のコンピュータとソフト
ウェア等で構成しても差し支えない。また、データベー
スの種類や通信回線の種類、数等も自由に変更してよい
ことはいうまでもない。なお、多数のデータベースに対
し同時にアクセス要求を行う場合のタイミングは、時間
的に全く一致しているようにしてもよいし、またごく短
い間隔で次々にアクセス要求を行うような方法でもよ
い。実質的には、あるアクセス要求に対しその処理結果
が受信される前に別のアクセス要求を行い、各データベ
ース処理装置へのアクセス要求の送信と、各データベー
ス処理装置のデータベース検索処理とをそれぞれ並行処
理するようになっていればよい。
The present invention is not limited to the above embodiments. The preprocessing unit 2, the storage unit 22, the request analysis unit 23, the access control unit 21 and the like in the above embodiment may be replaced with various kinds of hardware and software having the same function, and these devices are integrated into a computer. It can be configured with software. Further, it goes without saying that the type of database, the type of communication line, the number, etc. may be freely changed. The timings for simultaneously making access requests to a large number of databases may be exactly the same in time, or may be such that access requests are made one after another at very short intervals. In effect, another access request is issued before the processing result is received for an access request, and the transmission of the access request to each database processing device and the database search process of each database processing device are performed in parallel. It only needs to be processed.

【0024】[0024]

【発明の効果】以上説明した本発明のデータベースアク
セス要求装置は、複数のデータベースに対しアクセス要
求を行うためのアクセス手順を要求解析部が解析し、デ
ータベースごとのアクセス要求文に区別するとともに、
これらの要求文が互いにその検索結果を利用する依存関
係があるかどうかを判断し、依存関係がない場合に、そ
のアクセス要求文を各データベースに同時に送り、検索
を並行処理させるようにしたので、従来のように予めプ
リプロセス部によって生成されたデータベースアクセス
手順を順番に実施していく場合に比べて十分短時間に多
数のデータベースをアクセスすることが可能になる。
According to the database access request apparatus of the present invention described above, the request analysis unit analyzes the access procedure for making access requests to a plurality of databases, and distinguishes the access request statement for each database.
Judging whether or not these request statements have a dependency relationship that uses the search result with each other, and when there is no dependency relationship, the access request statement is sent to each database at the same time, and the search is processed in parallel. It becomes possible to access a large number of databases in a sufficiently short time, as compared with the case where the database access procedure previously generated by the preprocessing unit is sequentially performed as in the conventional case.

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

【図1】本発明のデータベースアクセス要求装置実施例
を示すブロック図である。
FIG. 1 is a block diagram showing an embodiment of a database access request device of the present invention.

【図2】従来のデータベース検索装置を示すブロック図
である。
FIG. 2 is a block diagram showing a conventional database search device.

【図3】SQLプリプロセス部の動作説明図である。FIG. 3 is an operation explanatory diagram of an SQL preprocessing unit.

【図4】従来の装置の検索処理シーケンスである。FIG. 4 is a search processing sequence of a conventional device.

【図5】アクセス要求文の依存関係説明図である。FIG. 5 is an explanatory diagram of a dependency relationship of access request statements.

【図6】本発明の装置による検索処理シーケンスであ
る。
FIG. 6 is a search processing sequence by the device of the present invention.

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

2 プリプロセス部 3 通信回線 4 データベース処理装置 5 データベース 10 データベースアクセス手順 20 データベースアクセス要求装置 21 アクセス制御部 22 記憶部 23 要求解析部 2 pre-processing unit 3 communication line 4 database processing device 5 database 10 database access procedure 20 database access request device 21 access control unit 22 storage unit 23 request analysis unit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 通信回線を介して接続された複数のデー
タベースに対しアクセス要求を行い処理結果を得るもの
であって、 入力されたデータベースアクセス手順を記憶する記憶部
と、 記憶されたデータベースアクセス手順を解析して、デー
タベースごとのアクセス要求文に区別するとともに、各
アクセス要求文が互いにその検索結果を利用する依存関
係があるかどうかを判断する要求解析部と、 依存関係の無いアクセス要求文を同時に各データベース
に送り検索を並行処理させるアクセス制御部とを備えた
ことを特徴とするデータベースアクセス要求装置。
1. A storage unit for requesting access to a plurality of databases connected via a communication line to obtain a processing result, the storage unit storing an input database access procedure, and the stored database access procedure. And the access request statements for each database are distinguished, and the request analysis section that determines whether each access request statement has a dependency relationship that uses the search result with each other, and an access request statement that does not have a dependency relationship A database access requesting device comprising: an access control unit that sends the data to each database at the same time and processes the search in parallel.
JP5215301A 1993-08-06 1993-08-06 Data base access request device Pending JPH0749880A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5215301A JPH0749880A (en) 1993-08-06 1993-08-06 Data base access request device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5215301A JPH0749880A (en) 1993-08-06 1993-08-06 Data base access request device

Publications (1)

Publication Number Publication Date
JPH0749880A true JPH0749880A (en) 1995-02-21

Family

ID=16670058

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5215301A Pending JPH0749880A (en) 1993-08-06 1993-08-06 Data base access request device

Country Status (1)

Country Link
JP (1) JPH0749880A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10143523A (en) * 1996-11-11 1998-05-29 Nec Corp Information retrieval device
JPH10326290A (en) * 1997-04-09 1998-12-08 Internatl Business Mach Corp <Ibm> Method and device for information transmission
US7401129B2 (en) 2003-04-21 2008-07-15 International Business Machines Corporation Network system, server, data processing method and program

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
JPH10326290A (en) * 1997-04-09 1998-12-08 Internatl Business Mach Corp <Ibm> Method and device for information transmission
US7401129B2 (en) 2003-04-21 2008-07-15 International Business Machines Corporation Network system, server, data processing method and program

Similar Documents

Publication Publication Date Title
US11989194B2 (en) Addressing memory limits for partition tracking among worker nodes
US12118009B2 (en) Supporting query languages through distributed execution of query engines
US7051034B1 (en) Dynamic optimization for processing a restartable sub-tree of a query execution plan
US6370522B1 (en) Method and mechanism for extending native optimization in a database system
US6694312B2 (en) Database processing method and apparatus for processing data by analyzing query input
US5903893A (en) Method and apparatus for optimizing a merge-join operation across heterogeneous databases
US6938036B2 (en) Query modification analysis
US8635620B2 (en) Hardware device for processing the tasks of an algorithm in parallel
US6345271B1 (en) Method and apparatus for transforming queries
CN111813744A (en) File search method, device, device and storage medium
JPH0749880A (en) Data base access request device
CN114416781B (en) Data search methods, devices, electronic equipment and storage media
CN113886416A (en) Rapid retrieval method of database constructed based on RBCA model
KR100258073B1 (en) How to register and retrieve an object-oriented fill class
JP2001134597A (en) Method and apparatus for accessing a plurality of different information sources and a storage medium storing a program for accessing a plurality of different information sources
JP3538322B2 (en) Database management system and query processing method
CN120448407B (en) Methods, devices, media, equipment, and programs for searching and answering questions in tables.
CN115658618B (en) Document processing methods, apparatuses, electronic devices, storage media, and products
US12174836B1 (en) Efficiently authorizing parameterized database query views
CN116257545B (en) Data query method and device, electronic equipment and storage medium
CN109992626A (en) A kind of data processing method and device of Multidimensional Data Model
JPH05151043A (en) Remote database access system
JPH06274332A (en) Registration/retrieval method for program parts
CN113626867A (en) Data permission filtering method, device, computer equipment and storage medium
CN117331966A (en) Query statement processing method and device