JPH07287714A - Device and method for retrieving data base - Google Patents

Device and method for retrieving data base

Info

Publication number
JPH07287714A
JPH07287714A JP6079036A JP7903694A JPH07287714A JP H07287714 A JPH07287714 A JP H07287714A JP 6079036 A JP6079036 A JP 6079036A JP 7903694 A JP7903694 A JP 7903694A JP H07287714 A JPH07287714 A JP H07287714A
Authority
JP
Japan
Prior art keywords
data
combining process
result
display device
files
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
JP6079036A
Other languages
Japanese (ja)
Inventor
Hidetaka Sakai
英隆 阪井
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric 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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP6079036A priority Critical patent/JPH07287714A/en
Publication of JPH07287714A publication Critical patent/JPH07287714A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To provide a data base retrieving device capable of shortening operator's waiting time. CONSTITUTION:The data base retrieving device for retrieving data from plural files in a relational data base system and displaying a retrieved result on a display device is provided with storage means 21 to 23 for temporarily storing data respectively retrieved from plural files 11 to 13 and a connection processing distributing means 30 for distributing the connecting processing of retrieved data from respective files 11 to 13 stored in the means 21 to 23 to 1st and 2nd connection processing, immediately executing the 1st connecting processing, displaying the result of the 1st connecting processing on a display device 40, executing the 2nd connecting processing only for the data of the 1st connecting processing result only when an operator's display command is inputted, and displaying the result of the 2nd connecting processing on the device 40.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、リレーション形式で
処理を行うデータベースシステムにおけるデータベース
検索装置および検索方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a database search device and a search method in a database system for processing in a relation format.

【0002】[0002]

【従来の技術】複数ファイルに格納されているデータベ
ースから検索を行う場合、各ファイルに対するデータの
検索処理と、各ファイルごとに検索されたデータの結合
処理とを行う必要がある。従来は、各ファイルごとに検
索されたデータの結合処理を一括して行っていた。
2. Description of the Related Art When performing a search from a database stored in a plurality of files, it is necessary to perform a data search process for each file and a combining process of the data searched for each file. Conventionally, the process of combining the data retrieved for each file has been performed collectively.

【0003】[0003]

【発明が解決しようとする課題】各ファイルごとに検索
されたデータの結合処理を一括して行うと、結合処理時
間が長くなり、操作者の待ち時間が長くなるという問題
がある。
If the combined processing of the data retrieved for each file is performed collectively, there is a problem that the combined processing time becomes long and the waiting time of the operator becomes long.

【0004】この発明は、操作者の待ち時間の短縮化が
図れるデータベース検索装置および検索方法を提供する
ことを目的とする。
It is an object of the present invention to provide a database search device and a search method that can reduce the waiting time of an operator.

【0005】[0005]

【課題を解決するための手段】この発明によるデータベ
ース検索装置は、リレーショナルデータベースシステム
の複数ファイルからデータを検索し、検索結果を表示装
置に表示するデータベース検索装置において、複数ファ
イルのそれぞれから検索されたデータを一時格納してお
くための記憶手段、および記憶手段に格納された複数フ
ァイルごとの検索データの結合処理を第1結合処理と第
2結合処理とに分散し、第1結合処理を直ちに行って、
その第1結合処理結果を表示装置に表示し、第2結合処
理については、操作者による表示指令が入力されたとき
に、現在表示されている第1結合処理結果のデータに対
してのみ行って、その第2結合処理結果を表示装置に表
示する結合処理分散手段を備えていることを特徴とす
る。
A database search device according to the present invention searches data from a plurality of files in a relational database system and displays the search results on a display device. A storage unit for temporarily storing data and a process of combining search data for each of a plurality of files stored in the storage unit are distributed to a first combination process and a second combination process, and the first combination process is immediately performed. hand,
The result of the first combining process is displayed on the display device, and the second combining process is performed only on the data of the first combining process result currently displayed when the display command is input by the operator. , And a combination processing distribution means for displaying the second combination processing result on a display device.

【0006】操作者による表示指令には、左右方向のス
クロール、上下方向のスクロール等がある。
The display command issued by the operator includes horizontal scrolling, vertical scrolling, and the like.

【0007】この発明によるデータベース検索方法は、
リレーショナルデータベースシステムの複数ファイルか
らデータを検索し、検索結果を表示装置に表示するデー
タベース検索方法において、複数ファイルのそれぞれか
ら検索されたデータの結合処理を、第1結合処理と第2
結合処理とに分散し、第1結合処理を直ちに行って、そ
の第1結合処理結果を表示装置に表示し、第2結合処理
については、操作者による表示指令が入力されたとき
に、現在表示されている第1結合処理結果のデータに対
してのみ行って、その第2結合処理結果を表示装置に表
示することを特徴とする。
The database search method according to the present invention is
In a database search method of searching data from a plurality of files of a relational database system and displaying a search result on a display device, a combining process of data searched from each of the plurality of files is performed by a first combining process and a second combining process.
The first combining process is immediately performed and the result of the first combining process is displayed on the display device, and the second combining process is currently displayed when the display command is input by the operator. It is characterized in that it is performed only on the data of the first combined processing result that has been made and the second combined processing result is displayed on the display device.

【0008】[0008]

【作用】複数ファイルのそれぞれ検索されたデータの結
合処理が、第1結合処理と第2結合処理とに分散され
る。第1結合処理は直ちに行われ、その第1結合処理結
果が表示装置に表示される。第2結合処理については、
操作者による表示指令が入力されたときに、現在表示さ
れている第1結合処理結果のデータに対してのみ行わ
れ、その第2結合処理結果が表示装置に表示される。
The combining process of the retrieved data of the plurality of files is distributed to the first combining process and the second combining process. The first combining process is immediately performed, and the result of the first combining process is displayed on the display device. For the second combining process,
When a display command is input by the operator, this is performed only on the currently displayed data of the first combination processing result, and the second combination processing result is displayed on the display device.

【0009】[0009]

【実施例】図1は、データベース検索装置の構成を示し
ている。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 shows the structure of a database search device.

【0010】複数ファイル11、12、13からの検索
が開始されると、まず1ファイルごとに検索が行われ
て、検索されたデータがメモリ21、22、23に格納
される。
When the search from the plurality of files 11, 12, and 13 is started, the search is first performed for each file, and the searched data is stored in the memories 21, 22, and 23.

【0011】次に、負荷分散処理部30によって負荷分
散処理が行われる。すなわち、結合処理全体の負荷が予
測され、予測された負荷に基づいて、初期一括表示時に
行う処理Aと、画面表示時に操作者による表示指令に基
づいて行う処理Bとに、結合処理が分割される。処理B
としては、負荷が比較的小さいものが選択される。
Next, the load balancing processing section 30 performs load balancing processing. That is, the load of the entire combining process is predicted, and based on the predicted load, the combining process is divided into a process A performed at the time of initial batch display and a process B performed based on a display command from the operator at the time of screen display. It Process B
As for, the one with a relatively small load is selected.

【0012】処理Aは即座に一括して行われ、その結合
結果が表示装置50の画面に表示される。処理Bは、操
作者の表示指令が入力されたときに、現在表示されてい
るデータについてのみ行われる。
The processing A is immediately and collectively performed, and the combined result is displayed on the screen of the display device 50. The process B is performed only on the data currently displayed when the operator's display command is input.

【0013】このような検索装置では、処理Aを行った
後に、その結果が表示装置40に表示されるので、処理
Aと処理Bを行った後に、その結果を表示する場合に比
べて、操作者の待ち時間は、短くなる。
In such a retrieval device, since the result is displayed on the display device 40 after performing the process A, compared with the case where the result is displayed after performing the process A and the process B, the operation is performed. The waiting time for workers is shortened.

【0014】図2は、より具体的な例を示している。FIG. 2 shows a more specific example.

【0015】この例では、3つのファイル11、12、
13に、従業員テーブル、部門テーブル、格付けテーブ
ルがそれぞれ格納されている。
In this example, three files 11, 12,
13 stores an employee table, a department table, and a rating table.

【0016】図3は、従業員テーブルを示している。従
業員テーブルは、「従業員コード」、「氏名」、「部門
コード」および、「格付けコード」の属性をもってい
る。
FIG. 3 shows an employee table. The employee table has attributes of "employee code", "name", "department code", and "rating code".

【0017】図4は、部門テーブルを示している。部門
テーブルは、「部門コード」、「部門名」、「所属長コ
ード」および「場所名」の属性をもっている。
FIG. 4 shows a department table. The department table has attributes “department code”, “department name”, “belonging department code”, and “place name”.

【0018】図5は、格付けテーブルを示している。格
付けテーブルは、「格付けコード」および「給与クラ
ス」の属性をもっている。
FIG. 5 shows a rating table. The rating table has attributes of "rating code" and "salary class".

【0019】図3、図4および図5から分かるように、
部門テーブルは、属性「部門コード」によって従業員テ
ーブルと関連付けされている。また、格付けテーブル
は、属性「格付けコード」によって従業員テーブルと関
連付けされている。
As can be seen in FIGS. 3, 4 and 5,
The department table is associated with the employee table by the attribute “department code”. The rating table is associated with the employee table by the attribute "rating code".

【0020】ここでは、操作者が、従業員コードが10
以上の従業員の「氏名」、「部門名」および「給与クラ
ス」を検索するように検索指令を入力したとする。
Here, the operator has an employee code of 10
It is assumed that a search command is input to search for the employee's full name, department name, and salary class.

【0021】まず、ファイル11の従業員テーブルから
従業員コードが10以上のデータが検索され、検索され
たデータがメモリ21に格納される。
First, the employee table of the file 11 is searched for data having an employee code of 10 or more, and the retrieved data is stored in the memory 21.

【0022】次に、ファイル12の部門テーブルから、
検索に必要な属性である「部門コード」および「部門
名」のデータが読み出され、メモリ22に格納される。
Next, from the department table of the file 12,
The data of “department code” and “department name”, which are the attributes required for the search, are read out and stored in the memory 22.

【0023】次に、ファイル13の格付けテーブルか
ら、検索に必要な属性である「格付けコード」および
「給与クラス」のデータが読み出されてメモリ23に格
納される。
Next, the data of "rating code" and "salary class", which are attributes required for retrieval, are read from the rating table of the file 13 and stored in the memory 23.

【0024】次に、負荷分散処理部30によって、結合
処理が処理Aと処理Bとに分散される。すなわち、従業
員テーブルと部門テーブルとの結合処理が処理Aと決定
され、従業員テーブルと格付けテーブルとの結合処理が
処理Bと決定される。
Next, the load distribution processing unit 30 distributes the combining processing into processing A and processing B. That is, the process of joining the employee table and the department table is determined as process A, and the process of joining the employee table and rating table is determined as process B.

【0025】処理Aは直ちに行われる。つまり、メモリ
21内の「部門コード」に対応するメモリ22内の「部
門名」が、メモリ21内のデータに結合される。そし
て、これらの結合結果データのうち、「氏名」および
「部門名」のデータが、1画面分だけ表示装置40に表
示される。この例では、1画面には2組分のデータが表
示されている。
Process A is performed immediately. That is, the “department name” in the memory 22 corresponding to the “department code” in the memory 21 is combined with the data in the memory 21. Then, of these combined result data, the data of “name” and “department name” are displayed on the display device 40 for one screen. In this example, two sets of data are displayed on one screen.

【0026】処理Bは、操作者が「給与クラス」の内容
を見るために右方向のスクロールを行ったときに、現在
表示されている組のデータについてのみ行われる。つま
り、現在表示されている2つの組の「格付けコード」に
対応する「給与クラス」が、表示されている組のデータ
に結合され、結合された「給与クラス」のデータが表示
装置40に表示される。
Process B is performed only on the currently displayed set of data when the operator scrolls to the right to see the contents of the "salary class". In other words, the “salary class” corresponding to the currently displayed two sets of “rating codes” is combined with the displayed set of data, and the combined “salary class” data is displayed on the display device 40. To be done.

【0027】操作者が表示されている組とは異なる組の
データを見るために、上下方向のスクロールを行うと、
上下方向のスクロールによって指定された表示行(2行
分)について、処理Aによって既に結合されている「氏
名」および「部門名」のデータが表示装置40に表示さ
れる。また、操作者が右方向のスクロールを行うと、表
示されている2組のデータについて、処理Bが行われ
る。操作者が表示されている組とは異なる組のデータを
見るために、ジャンプを行ってもよい。
When the operator scrolls up and down to see the data of a group different from the displayed group,
The data of “name” and “department name” that have already been combined by the process A are displayed on the display device 40 for the display lines (two lines) designated by the vertical scrolling. When the operator scrolls to the right, the process B is performed on the two sets of displayed data. The operator may make a jump to see a different set of data than the displayed set.

【0028】上記実施例では、検索されたデータ組が、
上下方向に並んで複数組表示されているが、検索された
データ組を、左右方向に並べで複数組表示するようにし
てもよい。この場合には、上下方向のスクロールに基づ
いて処理Bが行われる。また、現在表示されている組と
異なる組のデータを見るためには、左右方向のスクロー
ルが行われる。
In the above embodiment, the retrieved data set is
Although a plurality of sets are displayed side by side in the vertical direction, a plurality of retrieved data sets may be displayed side by side in the horizontal direction. In this case, the process B is performed based on the vertical scroll. Further, in order to see the data of the set different from the currently displayed set, scrolling in the left-right direction is performed.

【発明の効果】この発明によれば、検索時の操作者の待
ち時間が短縮化される。
According to the present invention, the waiting time of the operator at the time of searching can be shortened.

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

【図1】データベース検索装置の構成を示すブロック図
である。
FIG. 1 is a block diagram showing a configuration of a database search device.

【図2】データベース検索装置の処理内容を具体的に説
明するためのブロック図である。
FIG. 2 is a block diagram for specifically explaining processing contents of the database search device.

【図3】従業員テーブルの内容を示す模式図である。FIG. 3 is a schematic diagram showing the contents of an employee table.

【図4】部門テーブルの内容を示す模式図である。FIG. 4 is a schematic diagram showing the contents of a department table.

【図5】格付けテーブルの内容を示す模式図である。FIG. 5 is a schematic diagram showing the contents of a rating table.

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

11、12、13 ファイル 21、22、23 メモリ 30 負荷分散処理部 40 表示装置 11, 12, 13 files 21, 22, 23 memory 30 load distribution processing unit 40 display device

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 リレーショナルデータベースシステムの
複数ファイルからデータを検索し、検索結果を表示装置
に表示するデータベース検索装置において、 複数ファイルのそれぞれから検索されたデータを一時格
納しておくための記憶手段、および記憶手段に格納され
た複数ファイルごとの検索データの結合処理を第1結合
処理と第2結合処理とに分散し、第1結合処理を直ちに
行ってその第1結合処理結果を表示装置に表示し、第2
結合処理については、操作者による表示指令が入力され
たときに、現在表示されている第1結合処理結果のデー
タに対してのみ行って、その第2結合処理結果を表示装
置に表示する結合処理分散手段、 を備えていることを特徴とするデータベース検索装置。
1. A database search device for searching data from a plurality of files of a relational database system and displaying a search result on a display device, a storage means for temporarily storing data searched from each of the plurality of files. And combining the search data for each of the plurality of files stored in the storage means into the first combining process and the second combining process, immediately performing the first combining process, and displaying the result of the first combining process on the display device. Then second
Regarding the combining process, when a display command is input by the operator, the combining process is performed only on the currently displayed data of the first combining process result, and the second combining process result is displayed on the display device. A database search device comprising: a distribution unit.
【請求項2】 リレーショナルデータベースシステムの
複数ファイルからデータを検索し、検索結果を表示装置
に表示するデータベース検索方法において、 複数ファイルのそれぞれから検索されたデータの結合処
理を、第1結合処理と第2結合処理とに分散し、 第1結合処理を直ちに行って、その第1結合処理結果を
表示装置に表示し、 第2結合処理については、操作者による表示指令が入力
されたときに、現在表示されている第1結合処理結果の
データに対してのみ行って、その第2結合処理結果を表
示装置に表示することを特徴とするデータベース検索方
法。
2. A database retrieval method for retrieving data from a plurality of files of a relational database system and displaying the retrieval result on a display device, wherein the combining process of the data retrieved from each of the plurality of files is a first combining process and a first combining process. The second combining process is performed immediately after the first combining process is immediately performed and the result of the first combining process is displayed on the display device. The second combining process is currently performed when a display command is input by the operator. A database search method, which is performed only on the displayed data of the first combination processing result and displays the second combination processing result on a display device.
JP6079036A 1994-04-18 1994-04-18 Device and method for retrieving data base Pending JPH07287714A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6079036A JPH07287714A (en) 1994-04-18 1994-04-18 Device and method for retrieving data base

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6079036A JPH07287714A (en) 1994-04-18 1994-04-18 Device and method for retrieving data base

Publications (1)

Publication Number Publication Date
JPH07287714A true JPH07287714A (en) 1995-10-31

Family

ID=13678700

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6079036A Pending JPH07287714A (en) 1994-04-18 1994-04-18 Device and method for retrieving data base

Country Status (1)

Country Link
JP (1) JPH07287714A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003167916A (en) * 2001-11-29 2003-06-13 Casio Comput Co Ltd File processing device and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003167916A (en) * 2001-11-29 2003-06-13 Casio Comput Co Ltd File processing device and program

Similar Documents

Publication Publication Date Title
JPH07287714A (en) Device and method for retrieving data base
JPH02297670A (en) Data base retrieving system
JPH08329101A (en) Database system
JPH0433164A (en) Temporary table connection system in relational type data base
JPH06195386A (en) Data retriever
JPS6177889A (en) Screen control system
JPH0261774A (en) Indicating device for graphic element
JPH02300917A (en) Key word input system
JPH06337770A (en) Data analysis design information confirmation support device
JPS62247462A (en) Information filing device
JP2743684B2 (en) Default value automatic input device and method
JP2998393B2 (en) Data input device
JPH052591A (en) Equipment management system
JPH0962708A (en) Data index method
JPH0916662A (en) Design cost management system
JPH0589106A (en) Device and method for editing document
JPH067962U (en) Catalog with index
JPH03288961A (en) Document data processor
JPH0354669A (en) Picture display device
JPH02186481A (en) Cad system
JPH04109361A (en) Data display device
JPS6379178A (en) Electronic document image file device
JPH03233680A (en) Map display system
JPS63276164A (en) Document registration method
JPH03240825A (en) Screen data transfer/display system