JPS61290532A - Data base retrieving system - Google Patents
Data base retrieving systemInfo
- Publication number
- JPS61290532A JPS61290532A JP60133660A JP13366085A JPS61290532A JP S61290532 A JPS61290532 A JP S61290532A JP 60133660 A JP60133660 A JP 60133660A JP 13366085 A JP13366085 A JP 13366085A JP S61290532 A JPS61290532 A JP S61290532A
- Authority
- JP
- Japan
- Prior art keywords
- database
- data base
- search
- list
- user
- 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
Links
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
【発明の詳細な説明】
技術分野一
本発明はデータベース検索方式に関し、特にそれぞれの
レコードが他のレコードとの間の論理的関係に基づき親
子の従属関係をもって階層的に格納されるデータベース
管理システムにおけるデータベース簡易検索方式に関す
る。Detailed Description of the Invention: Technical Field 1 The present invention relates to a database search method, and particularly to a database management system in which each record is stored hierarchically with parent-child dependent relationships based on logical relationships with other records. Concerning a simple database search method.
11盈I
従来、親子の従属関係を有する階層型データベース管理
システムにおけるデータベースの簡易検索方式は、デー
タベース管理システムが用意するデータベースの構造定
義体であるスキーマおよびサブスキーマを検索機構が直
に参照して要求情報の所在するレコードを求め検索機構
が検索経路を決定する方法か、または利用者が目的とす
るデータの所在およびレコード間の検索経路を暗示する
方式かのいずれかが採用されている。11 盈I Conventionally, a simple database search method in a hierarchical database management system with a parent-child dependency relationship is such that the search mechanism directly refers to the schema and subschema, which are the structure definitions of the database prepared by the database management system. Either a method is adopted in which the search mechanism determines a search route by determining the record where the requested information is located, or a method in which the user suggests the location of the desired data and the search route between records.
この種の従来方式の中で、前者の方式では、複、数の親
、あるいは子レコードを形成している階層型構造を有す
るデータベースに対し、データベース管理システムおよ
び検索機構が全てのレコードを親子の従属関係に導くこ
とは互いに論理的関係を持たない同一レベルのレコード
の存在などから不可能であるので、多様な検索要求の全
てに対応可能とするためには、データベースの格納構造
を著しく制限して単純化しなければならないという欠点
がある。また、後者の方式では、複雑な論理構造を持ち
、かつ特殊な物理構造を有するデータベースを目的に応
じて操作するためには多くの専門的知識を要すことから
、データベースの非専門家である利用者が即座にデータ
ベースに対する処理要求を満たせないという欠点がある
。Among these types of conventional methods, in the former method, a database management system and a search mechanism search all records of parent and child records for a database that has a hierarchical structure with multiple parents or child records. Since it is impossible to derive dependent relationships due to the existence of records at the same level that have no logical relationship to each other, the storage structure of the database must be significantly restricted in order to be able to respond to all of the various search requests. The disadvantage is that it requires simplification. In addition, the latter method requires a lot of specialized knowledge to operate a database with a complex logical structure and a special physical structure according to the purpose, so it is difficult for non-database experts to use the latter method. The drawback is that users cannot immediately satisfy processing requests to the database.
11曵亘刀
本発明は、データベースの格納構造に制限を与えること
なくかつデータベースの非専門家である利用者が即座に
データベースに対する処理要求を満たせるようになるデ
ータベース検索方式を提供することを目的とする。An object of the present invention is to provide a database search method that does not impose any restrictions on the storage structure of the database and allows users who are not database experts to immediately satisfy processing requests for the database. do.
及」1口1底
本発明のデータベース検索方式は、利用者によって予め
宣言された、検索されるべきレコードの並びを該レコー
ドを実際に検索するための接近経路の並びに変換してお
き、利用者のデータベース検索要求を契機として、この
接近経路の並びを参照しながらデータベースを順次検索
し、検索したレコードを編集・蓄積し、最終的に利用者
が予め宣言した検索されるべきレコードの並びが完成し
た時点で利用者に検索完了を通知することを特徴とする
。The database search method of the present invention converts the sequence of records to be searched, which is declared in advance by the user, into the sequence of approach routes for actually searching the records. In response to a database search request, the database is sequentially searched while referring to this sequence of approach routes, the searched records are edited and accumulated, and finally the sequence of records to be searched that has been declared in advance by the user is completed. The feature is that the user is notified of the completion of the search at the point in time.
Ki■ 本発明の実施例について図面を参照しながら説明する。Ki■ Embodiments of the present invention will be described with reference to the drawings.
第1図は本発明のデータベース検索方式を適用したデー
タベース管理システムの一実施例を示すブロック図であ
る。本実施例のデータベース管理システムでは、親子の
従l1lI51係を有する階層型データベース管理シス
テムに一般的に存在するデータベース11、データベー
ス制御システム12、および、スキーマ/サブスキーマ
13の他に、利用者によって予め宣言されるべきレコー
ドの並びを、該レコードを実際に検索するための接近経
路の並びに変換する手段である仮想サブスキーマ変換機
構14と、仮想サブスキーマ変換機構14により作成さ
れた接近経路の並び18を記憶する仮想サブスキーマ1
5と、利用者のデータベース検索要求に呼応して仮想サ
ブスキーマ15に記憶された接近経路の並び18を参照
しながらデータベース制御システム12の提供するデー
タベース検索命令を用いてデータベースを検索する手段
であるデータベース簡易検索機構16とが存在、する。FIG. 1 is a block diagram showing an embodiment of a database management system to which the database search method of the present invention is applied. In the database management system of this embodiment, in addition to the database 11, database control system 12, and schema/subschema 13 that generally exist in a hierarchical database management system having parent and child subordinates, A virtual subschema conversion mechanism 14, which is a means for converting the sequence of records to be declared into an sequence of approach paths for actually searching the records, and a sequence of approach paths 18 created by the virtual subschema conversion mechanism 14. Virtual subschema 1 that stores
5, means for searching the database using a database search command provided by the database control system 12 while referring to the sequence of approach routes 18 stored in the virtual subschema 15 in response to a user's database search request. A simple database search mechanism 16 exists.
データベース簡易検索機構16内には、データベース制
御システム12が検索の実レコードを利用者が宣言した
検索されるべきレコードの並びに編集・蓄積する格納領
域17がある。Within the database simple search mechanism 16, there is a storage area 17 in which the database control system 12 edits and stores the actual records of the search and the array of records to be searched declared by the user.
第2図は仮想サブスキーマ変換機構14による仮想サブ
スキーマ15の作成処理を示すフローチャートである。FIG. 2 is a flowchart showing the creation process of the virtual subschema 15 by the virtual subschema conversion mechanism 14.
先ずスキーマ/サブスキーマ13を参照し利用者の宣言
した検索されるべきレコードの並びが親子の従arm係
、検索経路とも正当か否かを判定する(ステップ21)
。宣言が正当であれば、データベース制御システム12
に対するデータベース検索命令とこれらのデータベース
検索命令群を逐次実行するための制御ポインタと、検索
したレコードを簡易検索機構16内に設けられた検索さ
れるべきレコードの並びを編集・蓄積するための格納領
域17への移送を行うための命、令とから成る接近経路
の並び18を作成する(ステップ22,2.3)。最後
に、上記のステップにより作成された接近経路の並び1
8を仮想サブスキーマ15に格納する(ステップ24)
。First, referring to the schema/subschema 13, it is determined whether the sequence of records to be searched declared by the user is valid for both the parent and child subordinate arms and the search route (step 21).
. If the declaration is valid, the database control system 12
A database search command for the database, a control pointer for sequentially executing a group of these database search commands, and a storage area for editing and accumulating the sequence of records to be searched provided in the simple search mechanism 16 for searching records. A sequence 18 of approach routes consisting of commands for transferring to 17 is created (steps 22, 2.3). Finally, the approach route sequence 1 created by the above steps
8 is stored in the virtual subschema 15 (step 24)
.
第3図は第2図の処理により仮想サブスキーマ15に格
納した接近経路の並び18の一例であり、データベース
制御システム12に対するデータベース検索命令31と
、これらのデータベース検索命令群を逐次実行するため
の制御ポインタ32と、格納領域17への移送を行うた
めの命令33とから成る。FIG. 3 is an example of the sequence of approach routes 18 stored in the virtual subschema 15 through the process shown in FIG. It consists of a control pointer 32 and an instruction 33 for transferring to the storage area 17.
第4図はデータベース簡易検索機構16による利用者の
データベース検索要求を契機としたデータベース検索か
ら利用者に検索完了を通知するまでの検索処理の部分の
フローチャート−である。まず最初に、検索要求から接
近経路の並び18の仮想サブスキーマ15から読み込む
(ステップ41)。次にデータベース検索を可能にする
ために仮想サブスキーマ15から読み取った接近経路の
並び18に納められているデータベース検索命令31と
格納領域17への移送を行うための命令33とをデータ
ベース制御システム12に接続する(ステップ42)。FIG. 4 is a flowchart of the search processing portion from the database search triggered by the user's database search request by the database simple search mechanism 16 to the notification of the completion of the search to the user. First, the virtual subschema 15 of the approach route sequence 18 is read from the search request (step 41). Next, in order to enable a database search, the database control system 12 sends the database search command 31 stored in the approach route sequence 18 read from the virtual subschema 15 and the command 33 for transferring to the storage area 17. (step 42).
次に接近経路の並び18に納められている一つのデータ
ベース検索命令を用いてデータベース制御システム12
に対しデータベース検索命令31を発行する(ステップ
43)。Next, the database control system 12 uses one database search command stored in the approach route array 18.
The database search command 31 is issued to the database search command 31 (step 43).
更に、検索されたレコードは、接近経路の並び18に納
められている移送を行うための命令33によりデータベ
ース制御システム12から簡易検索機構16内の格納領
域17に蓄積される(ステップ44)、次にすべて接近
経路の並び18を処理したか否かをチェックし、すべて
の接近経路の並び18の処理が完了していればステップ
46へ、まだ未完了の接近経路の並び18が存在すると
きはステップ43へ制御を移す(ステップ45)。Furthermore, the searched records are stored in the storage area 17 in the simple search mechanism 16 from the database control system 12 according to the transfer instruction 33 stored in the approach route array 18 (step 44), and then It is checked whether all the approach route sequences 18 have been processed, and if the processing of all the approach route sequences 18 has been completed, the process proceeds to step 46. If there are still uncompleted approach route sequences 18, the process proceeds to step 46. Control is transferred to step 43 (step 45).
最後に、検索されるべきレコードの一つの並びが完成し
た旨を利用者に通知する(ステップ46)。Finally, the user is notified that one sequence of records to be searched has been completed (step 46).
1艶立11
本発明によれば、接近経路の並びを保持した仮想サブス
キーマを設け、データベース簡易検索機構が該仮想サブ
スキーマを用い利用者の期待するデータベース検索要求
を制御するようにしたことにより、データベースの格納
構造制限が無くなり、かつデータベースの非専門家であ
る利用者が即座にデータベースに対する処理要求を満た
せるようになり、多様なデータベース処理を利用者が容
易に行えるという効果がある。1.11 According to the present invention, a virtual subschema that holds the sequence of approach routes is provided, and the database simple search mechanism uses the virtual subschema to control the database search request expected by the user. This has the effect that there are no restrictions on the storage structure of the database, and users who are not database experts can immediately satisfy processing requests for the database, allowing users to easily perform a variety of database processes.
第1図は本発明のデータベース検索方式を適用したデー
タベースの管理システムの一実施例を示すブロック図、
第2図は第1図のデータベース管理システムの仮想サブ
スキーマ変換機構14による仮想サブスキーマ15の作
成処理を示すフローチャート、第3図は第2図の処理に
より仮想サブスキーマ15に格納した接近経路の並びの
−例、第4図は第1図のデータベス管理システムのデー
タベース簡易検索機構16による利用者のデータベース
検索要求を契機としたデータベース検索から利用者に検
索完了を通知するまでの検索処理の部分のフローチャー
トである。
主要部分の符号の説明
11・・・・・・データベース
12・・・・・・データベース制御システム13・・・
・・・スキーマ/サブスキーマ14・・・・・・仮想サ
ブスキーマ変換機構15−・・・・・仮想サブスキーマ
16・・・・・・データベース簡易検索機構17・・・
・・・レコード格納領域
18・・・・・・接近経路の並び
31・・・・・・データベース検索命令32・・・・・
・制御ポインタFIG. 1 is a block diagram showing an embodiment of a database management system to which the database search method of the present invention is applied;
2 is a flowchart showing the creation process of the virtual subschema 15 by the virtual subschema conversion mechanism 14 of the database management system shown in FIG. 1, and FIG. 3 shows the approach route stored in the virtual subschema 15 by the process shown in FIG. As an example of the arrangement, FIG. 4 shows a portion of the search processing from the database search triggered by the user's database search request by the database simple search mechanism 16 of the database management system shown in FIG. 1 until the user is notified of the completion of the search. This is a flowchart. Explanation of symbols of main parts 11...Database 12...Database control system 13...
...Schema/subschema 14...Virtual subschema conversion mechanism 15-...Virtual subschema 16...Database simple search mechanism 17...
... Record storage area 18 ... Arrangement of approach routes 31 ... Database search command 32 ...
・Control pointer
Claims (1)
に基づき親子の従属関係をもって階層的に格納されたデ
ータベース管理システムにおけるデータベース検索方式
であつて、利用者によつて予め宣言される検索されるべ
きレコードの並びからこのレコードを実際に検索するた
めの接近経路の並びを生成する第1の手段と、利用者の
データベース検索要求に応答して前記第1の手段により
生成された前記接近経路の並びに従つてデータベースを
検索する第2の手段とを備え、前記第2の手段は、前記
接近経路の並びに従って検索したレコードを編集・蓄積
するようにしたことを特徴とするデータベース検索方式
。A database search method in a database management system in which each record is stored hierarchically with a parent-child dependent relationship based on logical relationships with other records, and the search is declared in advance by the user. a first means for generating a sequence of approach routes for actually searching this record from a sequence of records to be searched; and a second means for searching the database according to the arrangement of the approach routes, the second means editing and storing records searched according to the arrangement of the approach routes.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP60133660A JPS61290532A (en) | 1985-06-19 | 1985-06-19 | Data base retrieving system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP60133660A JPS61290532A (en) | 1985-06-19 | 1985-06-19 | Data base retrieving system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS61290532A true JPS61290532A (en) | 1986-12-20 |
Family
ID=15109953
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP60133660A Pending JPS61290532A (en) | 1985-06-19 | 1985-06-19 | Data base retrieving system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS61290532A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4979109A (en) * | 1986-01-27 | 1990-12-18 | Hitachi Ltd. | Method of controlling a data dictionary directory system in a data base system |
-
1985
- 1985-06-19 JP JP60133660A patent/JPS61290532A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4979109A (en) * | 1986-01-27 | 1990-12-18 | Hitachi Ltd. | Method of controlling a data dictionary directory system in a data base system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2510945B2 (en) | A query optimization support method from a relational database management system. | |
JPS61290532A (en) | Data base retrieving system | |
JPH07334402A (en) | Main memory database | |
JPH0193843A (en) | System for coupling table | |
JPH0456344B2 (en) | ||
JPH04336341A (en) | File access control system | |
JPH01282635A (en) | Index maintaining system | |
KR20030065860A (en) | Video Searching Apparatus and its Method using XML Hierarchy Structure | |
JPH1091503A (en) | Information resource management/control method and system therefor | |
JP2641399B2 (en) | File management device | |
JP3006723B2 (en) | Database access device | |
JPH03276238A (en) | Record control system | |
JPH08287104A (en) | Time-series data management system | |
JPH0370050A (en) | Database processing method | |
JPH11259294A (en) | Computer system, access control method and storage medium | |
JPS5932027A (en) | Data transfer method | |
JPH0465427B2 (en) | ||
JPH07104804B2 (en) | Database generation management method | |
JPH0455952A (en) | Data transfer system for data base system | |
JPH03262078A (en) | Data retrieving system | |
JPH10240744A (en) | System for processing retrieval of range division chart and method therefor and recording medium for recording retrieval processing program | |
JP2000020546A (en) | Method for executing method, and recording medium in which method execution program has been recorded | |
JPH04315227A (en) | Method selecting system | |
JP2000259479A (en) | Method for realizing directory service | |
JPH02208750A (en) | File access system |