JPH02234272A - Data base retrieving system - Google Patents

Data base retrieving system

Info

Publication number
JPH02234272A
JPH02234272A JP1053813A JP5381389A JPH02234272A JP H02234272 A JPH02234272 A JP H02234272A JP 1053813 A JP1053813 A JP 1053813A JP 5381389 A JP5381389 A JP 5381389A JP H02234272 A JPH02234272 A JP H02234272A
Authority
JP
Japan
Prior art keywords
database
user
condition
item
information
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
JP1053813A
Other languages
Japanese (ja)
Inventor
Yuji Ide
祐二 井出
Kichizo Akashi
明石 吉三
Akira Horigome
堀米 明
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP1053813A priority Critical patent/JPH02234272A/en
Publication of JPH02234272A publication Critical patent/JPH02234272A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To allow a user to more easily designate the retrieve condition of a data base by defining the structure of an repeating item, and designating the retrieve condition based on defined structure information. CONSTITUTION:A data base management system (DBMS) consisting of an instruction issuing part 102, an instruction interpreting part 103, a structure defining part 104, a structure information part 105, a condition designating part 106, a condition deciding part 107, and a data display part 108, and a data base 109 to be a retrieve object are possessed. Further the structure information of the repeating item of the data base 109 can be defined, and the retrieve condition can be designated based on the structure information. Thus the user can easily designate the retrieve condition corresponding to the structure of the data base 109.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、リレーショナルDBMSにおいて、繰返し項
目を用いたデータベースの検索を行うデータベース検索
システムに関する. 〔従来の技術〕 リレーショナルDBMSのRDBIでは、1項目に、複
数の値を持つ繰返し項目を用いたデータ構造の表現が可
能である. RDBIでは、繰返し項目の値を、配列を用いて表現す
ることができる。繰返し項目の検索においては、以下の
フォーマットでの条件指定が行われる. (1)配列の添字付きの繰返し項目 (2) (1)の添字として,ANYを指定(3)配列
指定の無い繰返し項目 上記(2)のフォーマットは、任意の要求がひとつでも
条件を満たしていれば、その条件式は、真となるもので
ある.また、(3)のフォーマットは、空値検索のみ用
いられる。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a database search system for searching a database using repeated items in a relational DBMS. [Prior Art] In the relational DBMS RDBI, it is possible to express a data structure using repeated items in which one item has multiple values. In RDBI, the value of a repeated item can be expressed using an array. When searching for repeated items, conditions are specified in the following format. (1) Repeated item with array subscript (2) Specify ANY as the subscript of (1) (3) Repeated item without array specification In the format of (2) above, even one arbitrary request satisfies the condition. If so, the conditional expression is true. Further, format (3) is used only for null value search.

上記の通り、繰返し項目の検索においては,該当の繰返
し項目の条件式は、その項目にのみ有効であり、例えば
、繰返し項目間で,配列の添字を対応させた検索につい
て条件指定のフォーマットなどは、提供されていなかっ
た。
As mentioned above, when searching for a repeated item, the conditional expression for the relevant repeated item is valid only for that item.For example, the format of the condition specification for a search that matches array subscripts between repeated items, etc. , was not provided.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上記従来技術は、繰返し項目を用いたデータベースにお
いて、複数の繰返し項目間での値の対応付け(構造化)
を行えず、また、繰返し項目間で配列の添字を対応させ
た検索についての条件指定のフォーマットが提供されて
いなかった。
The above-mentioned conventional technology involves mapping (structuring) values between multiple repeated items in a database using repeated items.
In addition, there was no format for specifying conditions for searches that matched array subscripts between repeated items.

本発明は、リレーショナルDBMSにおいて、繰返し項
目の構造情報を定義する手段と,構造化情報にもとづい
た検索インタフェースを設けることにより、利用者が,
データベースの構造に対応した検索条件を、簡易に指定
できることを目的とする。
The present invention enables users to
The purpose is to be able to easily specify search conditions that correspond to the structure of the database.

〔課題を解決するための手段〕[Means to solve the problem]

上記目的を達成するために,本発明のデータベース検索
システムはリレーショナルDBMSにおいて、 対象のリレーショナルデータベースの各項目の情報を表
示し、利用者に、繰返し項目間の構造情報を指定させる
手段と、 利用者が指定したデータベースの繰返し項目間の構造情
報を格納する手段と、 利用者がデータベースを検索する際に、繰返し項目間の
構造情報を用いて、利用者にデータベースの検索条件を
指定させる画面を表示し、利用者が指定した検索条件を
取得する手段と、利用者が指定した検索条件を解釈し、
繰返し項目間の構造情報をもとに、データベースのレコ
ードの条件判定を行う手段と、 上記条件判定において、条件に合致したデータを出力す
る手段 を設ける。
In order to achieve the above object, the database search system of the present invention includes, in a relational DBMS, means for displaying information on each item of a target relational database and allowing a user to specify structural information between repeated items; means for storing structural information between repeating items in a database specified by the user, and displaying a screen that allows the user to specify search conditions for the database using the structural information between repeating items when the user searches the database. and means to obtain the search conditions specified by the user, interpret the search conditions specified by the user,
A means for determining a condition of a database record based on structural information between repeated items, and a means for outputting data that matches the condition in the above condition determination are provided.

〔作用〕[Effect]

利用者が、繰返し項目の構造化を定義する際、システム
では、データベースの各項目の情報を表示し、利用者に
構造情報を定義させるための画面を表示する.利用者が
構遣情報を定義した後、システムでは、該当データベー
スの構造情報として格納する. 利用者がデータベースを検索する際、システムでは、繰
返し項目間の構造情報を用いて、データベースの検゜索
条件を利用者に指定させる画面を表示する。利用者が検
索条件を指定すると、システムでは、繰返し項目間の構
造情報をもとに、データベースのレコードの条件判定を
行い、条件に合致したデータを出力する。
When a user defines the structure of repeated items, the system displays information about each item in the database and displays a screen for the user to define the structural information. After the user defines the structure information, the system stores it as structure information in the corresponding database. When a user searches a database, the system uses structural information between repeated items to display a screen that allows the user to specify search conditions for the database. When a user specifies a search condition, the system judges the condition of records in the database based on the structure information between repeated items and outputs data that meets the condition.

これにより、利用老は、データベースの繰返し項目を構
造化し、該当のデータベースの検索では、その構造情報
を用いた検索条件設定用の画面を通じて、検索条件を指
定できる。
As a result, the user can structure the repeated items in the database, and when searching the database, specify search conditions through a screen for setting search conditions using the structural information.

〔実施例〕〔Example〕

以下、本発明の一実施例を図面を参照して説明する. 第1図は、本発明のデータベース検索システムを実現す
るシステムのブロック図である.図中、101は、デー
タヘース管理−zス−F−A(DBMS)102は、利
用者が指定した命令を発行する命令発行部,103は命
令解釈部、104は、データベースの繰返し項目間の楕
造を定義する構造定義部、105は、利用者が定義した
組返し項目間の楕造情報を格納する構造情報部、106
は,繰返し鱗目間の構造情報をもとに、利用者に検索条
件を指定させる条件指定部、107は、利用者が指定し
た検索条件を解釈し,それにより、データベースを検索
し、条件の判定を行う条件判定部、108は、条件に合
致したデータを表示するデータ表示部、109は、検索
対象となるデータベースである. 第2図は、検索の対象となるデータベースの構成図であ
る.このデータベースは、「銀行』,r区分」,r年度
」,「預金J,r貸出金」,「顧客』の6項目から成り
、「銀行』,「区分』の項目は、1レコードに単一の値
を持つ単一項目,r年度」,「預金」,「貸出金」,「
顧客」の項目は、1レコードに複数の値を持つ繰返し項
目である. 第3図は、データベースの組返し項目間の構造を定義す
る構造定義画面である。図中、301は,構造定義画面
、302は、単一項目表示部、303は,繰返し項目表
示部である.303の繰返し頃目で、構造化する項目1
こついて、その構造の名称を定義する. 第4図は、データベースの繰返し繰返し項目の講造を定
義する際のブロック図である.401は、繰返し項目の
構造を定義する構造定義部、402は定義した繰返し項
目の構造情報を格納する構造情報部、403はデータベ
ースから取得した項目情報、404は利用者が定義した
繰返し項目の構造情報、405はデータベースである。
An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram of a system that implements the database search system of the present invention. In the figure, 101 is a data management system (DBMS), 102 is an instruction issuing unit that issues instructions specified by the user, 103 is an instruction interpretation unit, and 104 is an ellipse between repeated items in the database. A structure definition section 105 that defines a structure is a structure information section 106 that stores elliptic structure information between return items defined by the user.
107 is a condition specification section that allows the user to specify search conditions based on structural information between scales; 107 interprets the search conditions specified by the user, searches the database accordingly, and specifies the conditions. A condition determining section 108 is a data display section displaying data matching the conditions, and 109 is a database to be searched. Figure 2 is a diagram showing the configuration of the database to be searched. This database consists of six items: "Bank", "r category", "r year", "deposits J, r loans", and "customer". A single item with the value ``r year'', ``deposits'', ``loans'', ``
The "Customer" item is a repeating item that has multiple values in one record. FIG. 3 is a structure definition screen for defining the structure between return items in the database. In the figure, 301 is a structure definition screen, 302 is a single item display area, and 303 is a repeated item display area. Item 1 to be structured around the repetition of 303
Now let's define the name of the structure. Figure 4 is a block diagram when defining the structure of repeated items in the database. 401 is a structure definition section that defines the structure of a repeating item; 402 is a structure information section that stores structure information of the defined repeating item; 403 is item information obtained from the database; 404 is a structure of the repeating item defined by the user. Information 405 is a database.

第5図は、データベースの繰返し項目の構造を定義する
際の処理フロー図である. はじめに、利用者は、データベースの構造定義命令を発
行し、対象のデータベースを指定する(501).シス
テムでは、令令を解釈し(511)、定義の対象となる
データベースの項目情報を取得する(512).この項
目情報を用いて、データベースの繰返し項目間の構造定
義用の画面を生成し、表示する(5 1 3)。次に,
利用者は,構造定義画面において、繰返し項目間の構造
情報を定義する(502).システムでは指定された構
造情報を取得し(514)、その情報を、該当データベ
ースの繰返し瑣目間の構造情報として、格納する(51
5). 第6図は、繰返し項目を構造化したデータベースの構成
図である.第2回のデータベー不において、r年度」,
「預金j,「貸出金」の各繰返し項目を、「統計情報」
として、構造化したものである. 第7図は、繰返し項目の構造情報をもとに、検索条件を
指定する条件指定画面であ昼.図中、701は、条件指
定画面、702は、単一項目表示部、703は、構造化
された繰返し項目表示部,704は、構造化されていな
い繰返し項目表示部である. 第8図は、データベースの検索条件を判定する本システ
ムのブロック図である.図中、801は、条件に合致し
たデータを表示するデータ表示部、802は、データベ
ースを検索し、条件の判定を行う条件判定部、803は
、レコードの単一項目に関する条件判定部、804は、
レコード内で、構造化された繰返し項目における、要素
番号ごとのデータ(構造化データ)の条件判定部、80
5はデータベースである. 第9図は、検索条件を判定するシステムの処理フロー図
である. はじめに、対象となるレコードの集合より、レコードを
1件取り込む(901).レコードが有れば、(9 0
 3)以下の処理を行い、無ければ、処理を終了する(
902).該当レコード内の構造化された繰返し項目の
データ(構造化データ)について,条件判定を行う(9
03).条件判定の結果,条件に合致していれば、(9
 0 5)以下を行い,合致していなければ、(9 0
 5)以下を行い,合致していなければ、(906)以
下を行う(904).(905)では,条件に合致した
構造化データを出力する.(906)では構造化データ
の有無を判定し、データが有れば、(903)に戻り、
データが無ければ、(901)に戻る.第10図は、デ
ータベースを検索する際の処理フロー図である. はじめに、利用者は、データベースの検索命令を発行し
、対象のデータベースを指是する(1001).システ
ムでは、命令を解釈(1011).検索対象のデータベ
ースの繰返し項目間の楕造情報を取得する(1012)
.この構造情報を用いて,条件指定画面を生成し、表示
する(1 0 1 3)。次に、利用者は、条件指定画
面において、検索条件を指定する(1002).システ
ムは、指定された検索条件を取得し(1014).デー
タベースのレコードを取得し,条件判定を行う(1 0
 1 5).条件に合致したデータについて、出力処理
を行う(1016). 本実施例によれば、データベースの繰返し項目の構造情
報を定義でき、また,その構造情報をもとに検索条件を
指定できるので、データベースの検索条件をより簡易に
指定することができる.〔発明の効果〕 本発明によれば、利用者は、繰返し項目の構造を定義す
ることができ、また、定義した構造情報をもとに検索条
件を指定できるので,データベースの検索条件をより簡
易に指定することが可能である.
Figure 5 is a processing flow diagram when defining the structure of repeated items in a database. First, the user issues a database structure definition command and specifies the target database (501). The system interprets the order (511) and obtains the database item information to be defined (512). Using this item information, a screen for defining the structure between repeated items in the database is generated and displayed (5 1 3). next,
The user defines structural information between repeated items on the structure definition screen (502). The system acquires the specified structure information (514) and stores the information as structure information between repeated items in the corresponding database (51).
5). Figure 6 is a diagram showing the structure of a database in which repeated items are structured. In the 2nd database failure, year r'',
Each repeating item of "Deposits j" and "Loans" is changed to "Statistical information".
It is structured as follows. Figure 7 shows a condition specification screen for specifying search conditions based on the structure information of repeated items. In the figure, 701 is a condition specification screen, 702 is a single item display area, 703 is a structured repeated item display area, and 704 is an unstructured repeated item display area. FIG. 8 is a block diagram of this system for determining database search conditions. In the figure, 801 is a data display section that displays data that matches the conditions, 802 is a condition judgment section that searches the database and judges the conditions, 803 is a condition judgment section regarding a single item of a record, and 804 is a condition judgment section that searches the database and judges the conditions. ,
Condition determination unit for data (structured data) for each element number in a structured repeated item in a record, 80
5 is a database. FIG. 9 is a processing flow diagram of the system for determining search conditions. First, one record is imported from a set of target records (901). If there is a record, (9 0
3) Perform the following processing, and if there is nothing, end the processing (
902). Conditional judgment is performed on the structured repeated item data (structured data) in the corresponding record (9
03). As a result of the condition judgment, if the condition is met, (9
0 5) Do the following, and if it does not match, (9 0
5) Do the following, and if they do not match (906) do the following (904). In (905), structured data that meets the conditions is output. In (906), the presence or absence of structured data is determined, and if there is data, the process returns to (903).
If there is no data, return to (901). FIG. 10 is a processing flow diagram when searching a database. First, the user issues a database search command and points to the target database (1001). The system interprets the command (1011). Obtain elliptical information between repeated items in the database to be searched (1012)
.. Using this structure information, a condition specification screen is generated and displayed (1 0 1 3). Next, the user specifies search conditions on the condition specification screen (1002). The system obtains the specified search conditions (1014). Obtain records from the database and make conditional judgments (1 0
1 5). Output processing is performed for data that meet the conditions (1016). According to this embodiment, it is possible to define structural information of repeated items in a database, and search conditions can be specified based on the structural information, so it is possible to specify database search conditions more easily. [Effects of the Invention] According to the present invention, a user can define the structure of repeated items and specify search conditions based on the defined structure information, making it easier to set search conditions for a database. It is possible to specify.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は,本発明の一実施例のデータベース検索システ
ムを実現する機能構成を示すブロック図、第2図は、検
索の対象となるデータベースの構成図,第3図は、繰返
し項目の構造を定義する構造定義画面の表示図、第4図
は、繰返し項目の構造を定義する際の実施例のシステム
の機能ブロック図,第5図は、繰返し項目の構造を定義
する際の処理フロー図、第6図は、構造化されたデータ
ベースの構成図、第7図は、検紫条件を指定する条件指
定画面の表示図、第8図は、検索条件を判定する実施例
のシステムの機能ブロック図、第9図は、検索条件を判
定する処理フロー図、第10図は、データベースを検索
する際の処理フロー図で第 1 図 +01  デーK−1−’h%>ik  M  +J[
:造』9(tl!     107+01今今廃作郡 
 IOs 橿一〕郁東邦 +0303今4解炙那  1
06条汁指克邦 1eトII1え仲 デニメ表示J1 テ一クベ一人 多2 図 め 口 中1吊老 シ又テA 不 函 茶 b 図 洋一撞9■、杼7舛邊υ所L師 乎 図 t0 団 刺m4 システム
FIG. 1 is a block diagram showing the functional configuration of a database search system according to an embodiment of the present invention, FIG. 2 is a configuration diagram of a database to be searched, and FIG. 3 shows the structure of repeated items. A display diagram of the structure definition screen to be defined, FIG. 4 is a functional block diagram of the system of the embodiment when defining the structure of a repeating item, FIG. 5 is a processing flow diagram when defining the structure of a repeating item, Figure 6 is a configuration diagram of a structured database, Figure 7 is a display diagram of a condition specification screen for specifying purple testing conditions, and Figure 8 is a functional block diagram of an example system for determining search conditions. , FIG. 9 is a processing flow diagram for determining search conditions, and FIG. 10 is a processing flow diagram for searching a database.
: Zo'9 (tl! 107+01 now out of production)
IOs Koshiichi〕Toho Iku +0303 Now 4 Kaibuna 1
06 Article Shiruashi Katsukuni 1e To II 1 E middle denime display J1 Teichikube one person 2 Tsumekuchu 1 hanging old shimatate A Fukocha b Zuyo Ichiken 9■, Shu7 Masabe υ place L Shizuzu t0 dansashi m4 system

Claims (1)

【特許請求の範囲】 1、リレーショナルDBMSにおいて、 対象のリレーショナルデータベースの各項目の情報を表
示し、利用者に、複数の繰返し項目間の値の対応付け(
構造化と呼ぶ)の指定を行わせる手段と、 利用者が指定したデータベースの繰返し項目間の構造情
報を格納する手段と、 利用者がデータベースを検索する際に、繰返し項目間の
構造情報を用いて、利用者にデータベースの検索条件を
指定させる画面を表示し、利用者が指定した検索条件を
取得する手段と、利用者が指定した検索条件を解釈し、
繰返し項目間の構造情報をもとに、データベースのレコ
ードの条件判定を行う手段と、 上記条件判定において、条件に合致したデータを出力す
る手段 から検索処理を行うことを特徴とするデータベース検索
システム。 2、請求項第1記載のデータベース検索システムにおい
て、利用者が検索する際に、検索の対象となるデータベ
ースの項目情報を取得し、繰返し項目間の構造化を行う
ことを特徴とするデータベース検索方法。 3、請求項第1記載のデータベース検索システムにおい
て、データベースの繰返し項目間の構造情報を用いて、
データベースの検索条件を指定させる画面を表示し、利
用者の指定した検索条件より、データベースのレコード
の条件判定を行い、条件に合致したデータを出力するこ
とを特徴とするデータベース検索方法。
[Claims] 1. In a relational DBMS, information on each item of a target relational database is displayed, and the user is asked to associate values between a plurality of repeated items (
(1) a means for specifying structural information (called structuring); (2) a means for storing structural information between repeated items in a database specified by a user; and (2) a means for storing structural information between repeated items in a database specified by a user; displaying a screen that allows the user to specify search conditions for the database, providing a means for obtaining the search conditions specified by the user, and interpreting the search conditions specified by the user;
A database retrieval system comprising: means for determining a condition for records in a database based on structural information between repeated items; and means for outputting data matching the condition in the condition determination. 2. In the database search system according to claim 1, a database search method characterized in that when a user searches, item information of the database to be searched is acquired and structuring is performed between repeated items. . 3. In the database search system according to claim 1, using structural information between repeated items in the database,
A database search method characterized in that a screen for specifying database search conditions is displayed, conditions are judged for records in the database based on the search conditions specified by the user, and data matching the conditions is output.
JP1053813A 1989-03-08 1989-03-08 Data base retrieving system Pending JPH02234272A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1053813A JPH02234272A (en) 1989-03-08 1989-03-08 Data base retrieving system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1053813A JPH02234272A (en) 1989-03-08 1989-03-08 Data base retrieving system

Publications (1)

Publication Number Publication Date
JPH02234272A true JPH02234272A (en) 1990-09-17

Family

ID=12953236

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1053813A Pending JPH02234272A (en) 1989-03-08 1989-03-08 Data base retrieving system

Country Status (1)

Country Link
JP (1) JPH02234272A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08110928A (en) * 1994-06-28 1996-04-30 Bull Sa Method and apparatus for automatic generation of calculationsheet

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08110928A (en) * 1994-06-28 1996-04-30 Bull Sa Method and apparatus for automatic generation of calculationsheet

Similar Documents

Publication Publication Date Title
US7133860B2 (en) Device and method for automatically classifying documents using vector analysis
JP3489615B2 (en) Image classification method, image inquiry method, image classification device, image inquiry device
US6944619B2 (en) System and method for organizing data
US7158968B2 (en) Database query system and method
JP4410681B2 (en) How to access data using correlation criteria
JP3522146B2 (en) Image matching method and image inquiry device
EP1758035A1 (en) Item name normalization
Vrotsou et al. Activitree: Interactive visual exploration of sequences in event-based data using graph similarity
JPH09231274A (en) Retrieval server system
JP2002539563A (en) Methods for extracting information from the database
JP2007249981A (en) Image search using distance measurement method
JP2002543535A (en) Method and apparatus for scalable stochastic clustering using decision trees
JPH1055367A (en) Data utilization system
CN106897285A (en) Data Elements extract analysis system and Data Elements extract analysis method
US20020188615A1 (en) Apparatus and method for parametric group processing
JPH02234272A (en) Data base retrieving system
JP2842487B2 (en) Data editing method
JP2859771B2 (en) Similarity search method and apparatus using dynamic concept dictionary
JP2002140332A (en) Feature quantity importance calculation method, and keyword image feature quantity expression database generation and image database retrieval using the same
Vaghela et al. Students' Admission Prediction using GRBST with Distributed Data Mining
JP2699896B2 (en) Database search system
JPH02170269A (en) Commodity information analyzing method
JPH08329101A (en) Data base system
CN112035680A (en) Knowledge graph construction method of intelligent auxiliary learning machine
JPH09311862A (en) Data drill-down system