JPH047671A - Data base retrieval processing system - Google Patents

Data base retrieval processing system

Info

Publication number
JPH047671A
JPH047671A JP2107600A JP10760090A JPH047671A JP H047671 A JPH047671 A JP H047671A JP 2107600 A JP2107600 A JP 2107600A JP 10760090 A JP10760090 A JP 10760090A JP H047671 A JPH047671 A JP H047671A
Authority
JP
Japan
Prior art keywords
class
instance
instances
search
specified
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.)
Granted
Application number
JP2107600A
Other languages
Japanese (ja)
Other versions
JP2907943B2 (en
Inventor
Keiji Mogi
茂木 啓次
Miyoko Namioka
浪岡 美予子
Yoichi Yamamoto
洋一 山本
Kazuhiro Sato
和洋 佐藤
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 Microcomputer System Ltd
Hitachi Ltd
Original Assignee
Hitachi Ltd
Hitachi Microcomputer Engineering 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, Hitachi Microcomputer Engineering Ltd filed Critical Hitachi Ltd
Priority to JP2107600A priority Critical patent/JP2907943B2/en
Publication of JPH047671A publication Critical patent/JPH047671A/en
Application granted granted Critical
Publication of JP2907943B2 publication Critical patent/JP2907943B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Devices For Executing Special Programs (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PURPOSE:To reduce the burden of user and processing time by retrieving instances (group) having a specified connection with an instance designated by means of a condition and processing the instances(group) as a retrieval result. CONSTITUTION:When a retrieval request is received from the user, an object direction data base control system (00DBMS) 50 analyzes the retrieval request, retrieves 53 the instance of a class designated as the object of retrieval from a data base 40, evaluates the condition designated as the retrieval condition and selects the instance satisfying the condition as the retrieval result. Even if the class to which the instance being the object of operation belongs is not clear in DBMS 50 but if connection with the known instance is designated as the condition, 00DBMS 50 recognizes the connection and the instance being the object of operation can be specified. Thus, the burden of the user for designating data being the object of operation can considerably be reduced and a user interface with satisfactory operability can be obtained in the data base 40 in which data having complicated structure is set to be the object.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、オブジェクト指向データベース管理システム
におけるデータベース検索処理方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a database search processing method in an object-oriented database management system.

〔従来の技術〕[Conventional technology]

近年、データベース処理技術の適用分野が、従来のビジ
ネス分野から、CI M (ComputerInte
grated Manufacturing)、OA 
(OfficeAutomation)等の新分野へ拡
大されつつある。このような新分野への適用においては
、データベースで管理するデータの構造はより複雑であ
り、現実世界のデータをその構造に忠実に管理すること
が必要とされている。
In recent years, the field of application of database processing technology has shifted from the traditional business field to the field of computer intelligence (CIM).
OA
(Office Automation) and other new fields are being expanded. In applications to such new fields, the structure of data managed in databases is more complex, and it is necessary to manage real-world data faithfully to that structure.

以上のような背景の下で、最近注目を浴びているのがオ
ブジェクト指向データベース管理システム(以下、OO
DBMS : 0bject−Oriented Da
ta BaseManage++ent System
と略す)である。データベースが対象とするデータの実
体をインスタンス、同じ属性を持つインスタンスの集ま
りをクラスと呼ぶ。
Against this background, object-oriented database management systems (hereinafter referred to as OO) have been attracting attention recently.
DBMS: 0bject-Oriented Da
ta BaseManage++ent System
). The data entity targeted by the database is called an instance, and a collection of instances with the same attributes is called a class.

000BMSでは1個々のデータを1つのオブジェクト
として扱い、オブジェクト間の関係をクラス化(cla
ssification) 、集約化(aggrega
tion)、流化(generalization)と
いった抽象化により表現する。
000BMS treats each piece of data as one object, and classifies the relationship between objects.
ssification), aggregation
It is expressed through abstractions such as generalization and generalization.

「クラス化」は、共通の性質を持つオブジェクト群をグ
ループ化するものであり、例えば、従業員クラスは、従
業員オブジェクトをクループ化したものである。クラス
も一つのオブジェクトと考えられ、クラスとクラス内の
オブジェクトをそれぞれオブジェクト、インスタンスオ
ブジェクトと呼んで区別している。以下では、それぞれ
を単にクラス、インスタンスと略す。「集約化」は、イ
ンスタンス間の包含関係を抽象化するものであり、例え
ば、部品の階層関係における組部品インスタンスと子部
品インスタンスとの関係に相当する。
"Classing" groups objects that have common properties; for example, an employee class is a grouping of employee objects. A class is also considered an object, and the class and the objects within the class are called objects and instance objects, respectively. In the following, each will be simply referred to as a class or an instance. "Aggregation" abstracts the inclusion relationship between instances, and corresponds to, for example, the relationship between an assembly component instance and a child component instance in a hierarchical relationship of components.

特に、あるインスタンスをルートにした階層構造を構成
するインスタンス群を総称して複合オブジェクトと呼ぶ
。「流化」は、クラス間の関係であり、例えば、車クラ
スと乗り物クラスのような分類的な包含関係を抽象化す
る。この関係を利用し、クラス定義の継承機能を提供し
ている。また、汎化関係と逆方向の関係の意味で等化 (specialization)と呼ぶ場合もある。
In particular, a group of instances forming a hierarchical structure with a certain instance as the root is collectively called a composite object. "Streaming" is a relationship between classes, and abstracts a categorical inclusion relationship such as a car class and a vehicle class, for example. This relationship is used to provide inheritance functionality for class definitions. Further, it is sometimes called "specialization" in the sense of a relation in the opposite direction to the generalization relation.

OODBMSでは、これらの抽象化により実世界の複雑
なデータ間の関係をできるだけ忠実に表現しようとして
いる。
OODBMS attempts to express complex relationships between data in the real world as faithfully as possible through these abstractions.

00DBMSを利用するユーザは、データベースを構築
する場合、最初にインスタンスを格納するためのクラス
定義、関連定義を行う。その後、インスタンスの登録、
インスタンスの関係を定義に合わせて登録する。登録し
たインスタンスにアクセスする時は、OODBMSが提
供するアクセスインタフェースを利用する。
When a user using 00DBMS constructs a database, he or she first defines classes and related definitions for storing instances. Then register the instance,
Register the instance relationships according to the definition. When accessing the registered instance, use the access interface provided by the OODBMS.

本発明は、OODBMSにおける検索処理方式に関わる
ものである。ここでは、公知例1として論文J。
The present invention relates to a search processing method in an OODBMS. Here, paper J is used as a known example 1.

Banerjee他著、「キュアリーズ イン オブジ
ェクト オリエンテッド データベース」r (Que
ries in 0bject−Oriented D
atabases) J(IEEE Data Eng
ineering 1988 、 p 31−38)を
示す。上記公知例では、ユーザがOODBMSに対して
検索要求を出す場合のキュリア仕様を提案している。第
8図(a)、(b)にキュアリ例を示す。
Banerjee et al., “Quaries in Object-Oriented Databases” (Que
ries in 0bject-Oriented D
IEEE Data Eng.
ineering 1988, p 31-38). The above-mentioned known example proposes a curia specification when a user issues a search request to an OODBMS. Examples of cure are shown in FIGS. 8(a) and 8(b).

第8図のキュアリ例は、第9図のクラス階層に基づくも
のであり、第9図は、車(Vehicle) !101
と、製造元(Company) 902、車体(Aut
obody)903、機関部(Autodrivetr
ain) 904、部署(Division) 905
、従業員(Employee) 906の関係を表した
ものである。第8図(a)は、rFord Motor
 Companyで製造している全ての青い車を検索」
する場合の検索要求の表現形式の1例を示しており、コ
ロン(:)付きの名前は変数であり、車クラスに存在す
る各車インスタンスに条件を適用することを示している
。製造元の名前の条件を関連Manufacturer
を介して指定している。
The cure example in Figure 8 is based on the class hierarchy in Figure 9, and Figure 9 is a vehicle! 101
, Manufacturer (Company) 902, Vehicle body (Auto
body) 903, engine department (Autodriver)
ain) 904, Division (Division) 905
, Employee 906. FIG. 8(a) shows the rFord Motor
Search for all blue cars manufactured by the Company"
This shows an example of the expression format of a search request when searching. Names with colons (:) are variables, indicating that conditions are applied to each car instance existing in the car class. Manufacturer Name Requirements Related Manufacturer
Specified through.

第8図(b)は、「少なくとも1つのリサーチ部門を持
っている製造元を検索」する場合であり、製造元の任意
の(some)部署の目的が”Re5earch”かど
うかにより、判定している。
FIG. 8(b) shows the case of ``searching for a manufacturer that has at least one research department,'' and the determination is made based on whether the purpose of any department in the manufacturer is "Re5search."

基本的にデータベースに対する検索要求は、従来のデー
タベース検索と同様に、検索対象が存在するクラスを指
定し、そのクラスに存在するインスタンスに対する検索
条件を指定することにより行っている。また、集約関連
を利用した検索においても、関連を辿る経路(パス: 
path)を明示するために関連名を指定する必要があ
る。
Basically, a search request to a database is made by specifying a class in which a search target exists and specifying search conditions for instances existing in that class, as in conventional database searches. Also, in searches using aggregated relationships, the path to follow the relationships (path:
It is necessary to specify a related name to clearly specify the path).

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

OAシステムやCADシステムのような文書管理システ
ムの場合、データの流用が頻繁に行われる。例えば、あ
る文献に載っていた図を資料に貼り付けたり、別の製品
で使用した内部資料を、次の製品に流用したりする。こ
のような関係は、データベース上、図や内部資料に対応
するインスタンスを、資料や製品のインスタンスから集
約関係で関連つけることにより表現する。
In the case of document management systems such as OA systems and CAD systems, data is frequently reused. For example, a diagram from a certain document may be attached to a document, or internal materials used in another product may be used in the next product. Such relationships are expressed on the database by associating instances corresponding to diagrams and internal materials with instances of materials and products in an aggregation relationship.

例えば、第10図に示すような階層関係で、論文11と
書籍12を管理していたとする。この例では、ヘッダ部
13と本文14、および参考文献15が共用されている
。このような階層関係を有するシステムにおいて、例え
ば、或る図表、あるいは或るグラフが書いてあった文書
を検索しようとしても、この文書が論文なのか、書籍な
のか、特定できない場合がある。現状のOODBMSに
おいては、従来のDBMSと同様に、検索要求を行う場
合に検索対象のインスタンスが存在するクラスの指定、
及びクラス階層を辿るパスの指定が必須であった。
For example, assume that papers 11 and books 12 are managed in a hierarchical relationship as shown in FIG. In this example, the header section 13, the main text 14, and the reference document 15 are shared. In a system having such a hierarchical relationship, for example, even if an attempt is made to search for a document containing a certain diagram or a certain graph, it may not be possible to determine whether this document is a paper or a book. In current OODBMS, as in conventional DBMS, when making a search request, it is necessary to specify the class in which the instance to be searched exists;
It was also necessary to specify the path that follows the class hierarchy.

本願発明者等は、関連基の指定は、ユーザがクラス間の
関係を意識する必要があり、ユーザ負担が増大するとい
うことから、クラス間の関係をシステムが認識して自動
的にクラス階層を辿ろうという検索方式を特願平1−1
35861号[データベース検索処理方式」 (以下、
先願発明と言う)で提案している。
The inventors of the present application believe that specifying association groups requires the user to be aware of the relationships between classes, which increases the burden on the user. Patent application Hei 1-1 for a search method to trace
No. 35861 [Database search processing method] (hereinafter referred to as
(referred to as a first-filed invention).

上述したパス指定の明示に伴う負担は、上記先願発明の
方式を採用することにより解決されるが、クラス指定に
よる負担の問題は解決されていない。
Although the burden associated with specifying the path specification described above can be solved by adopting the method of the invention of the earlier application, the problem of burden due to class specification has not been solved.

このため、ユーザは、論文クラス、書籍クラスといった
具合に各クラス毎に、検索要求を発行する必要があった
。このことは、ユーザ負担の増加と、処理時間の増加を
招く。
Therefore, the user had to issue a search request for each class, such as the paper class and the book class. This results in an increased burden on the user and increased processing time.

本発明の目的は、上記問題に鑑み、OODBMSにおい
て、データ間の関連を管理し、ユーザから、指定のイン
スタンス(群)と関連する任意のクラスのインスタンス
を検索する要求を受け付け、インスタンス間の関連を利
用して、互いに関連を持つ全てのクラスのインスタンス
を検索することにより、ユーザの使い勝っての良いデー
タ検索のためのインタフェースを提供することにある。
In view of the above problems, an object of the present invention is to manage relationships between data in an OODBMS, accept a request from a user to search for an instance of any class related to a specified instance (group), and manage relationships between instances. The objective is to provide a user-friendly interface for data retrieval by searching for instances of all classes that are related to each other.

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

上記目的を達成するために、本発明は、ユーザが定義し
たクラスやインスタンス間の関連をクラス定義情報、イ
ンスタンス関連定義情報として保持し、ユーザの検索、
要求に応じて、上記クラス定義情報やインスタンス関連
定義情報を参照しながらデータベースを検索し、ユーザ
が指定したクラスの、ユーザの指定した条件を満足する
インスタンス(群)を捜し出すオブジェクト指向データ
ベース管理システムにおいて、ユーザから、検索対象の
インスタンスのクラスを不定とし1条件に指定したイン
スタンスと関連を持つインスタンスを全て検索するとい
う内容の検索要求を受け付けた場合、前記インスタンス
関連定義情報に基づいて、上記条件に指定されたインス
タンスと或る特定の関連を持つインスタンス(群)を検
索し、それらのインスタンス(群)を検索結果として処
理するようにしたことを特徴とする。尚、上記「或る特
定」の関連として、複合オブジェクトを構成する関連を
利用しても良い。また、複数のインスタンスが条件とし
て指定された場合に、当該インスタンス群登複合オブジ
ェクトの構成要素として保持するインスタンス群を検索
結果としても良い。
In order to achieve the above object, the present invention maintains relationships between user-defined classes and instances as class definition information and instance-related definition information, and allows user searches and
In an object-oriented database management system that searches a database in response to a request while referring to the class definition information and instance-related definition information to find instances (groups) of a class specified by the user that satisfy conditions specified by the user. , when a search request is received from a user to search for all instances related to the instance specified as one condition, with the class of the instance to be searched being undefined, the above condition is met based on the instance related definition information. The present invention is characterized in that instances (groups) having a certain specific relationship with a specified instance are searched for, and these instances (groups) are processed as search results. Incidentally, as the above-mentioned "certain specific" relation, a relation constituting a composite object may be used. Further, when a plurality of instances are specified as a condition, the instance group held as a component of the instance group entry composite object may be used as the search result.

〔作用〕[Effect]

本発明において、オブジェクト指向データベース管理シ
ステム(OODBMS)を利用するユーザは、データベ
ース操作要求を行う前に、予めデータベースの対象とす
るインスタンスの属性、及びインスタンス間の関連定義
情報を、 OODBMSに対して定義しておく。インス
タンス間の関連定義情報は、インスタンス間の関連を識
別する関連識別名、該関連の種類識別名、該関連の関連
対象インスタンスの所属クラス識別名からなる。OOD
BMSは、上記関連定義情報を取得すると、これをデー
タベースに登録する。また、OODBMSは、ユーザが
インスタンスをデータベースに登録する時、同時にイン
スタンス間の関連を抽出し、関連実体情報としてデ−タ
ベースに登録しておく。インスタンス間の関連は、他の
属性の値と同様、ユーザによって与えられる。また、ユ
ーザがインスタンスの関連を変更する場合には、前記関
連実体情報を維持する。
In the present invention, before making a database operation request, a user using an object-oriented database management system (OODBMS) defines attributes of instances targeted for the database and relationship definition information between instances to the OODBMS in advance. I'll keep it. The relationship definition information between instances includes a relationship identifier for identifying a relationship between instances, a type identifier of the relationship, and a class identifier to which a related target instance of the relationship belongs. OOD
Upon acquiring the related definition information, the BMS registers it in the database. Furthermore, when a user registers an instance in the database, the OODBMS simultaneously extracts the relationship between the instances and registers it in the database as related entity information. Associations between instances, as well as values for other attributes, are provided by the user. Furthermore, when the user changes the relationship between instances, the related entity information is maintained.

ユーザから上記000BMSに与えるデータベース検索
要求は、例えば第9図(a)、(b)の形式をもつ。O
ODBMSは、ユーザから検索要求を受け付けると、該
検索要求を解析し、検索対象に指定されたクラスのイン
スタンスをデータベースから検索し、検索条件に指定さ
れた条件を評価し、条件を満足するものを検索結果とし
て選択する。
A database search request given from the user to the 000BMS has the format shown in FIGS. 9(a) and 9(b), for example. O
When an ODBMS receives a search request from a user, it analyzes the search request, searches the database for instances of the class specified as the search target, evaluates the conditions specified in the search conditions, and finds those that satisfy the conditions. Select as search result.

本発明では、インスタンス間の関連を用いた検索を行う
場合、例えば次のように指定する。
In the present invention, when performing a search using the relationship between instances, the following specification is made, for example.

(any 5elect : V (: V 1ncl
udeインスタンス指定)) ここでanyは、任意のクラスのインスタンスに対する
検索要求であることを示す。
(any 5elect : V (: V 1ncl
(ude instance specification)) Here, any indicates a search request for an instance of any class.

1ncludeは、集約関係を利用して、インスタンス
指定に指定したすべてのインスタンスを構成要素として
保持する複合オブジェクトを検索するという条件である
。この機能は、上記先願発明の明細書に詳述されている
。インスタンス指定には、インスタンスを識別するもの
を指定する。インスタンスを識別するものとしては、シ
ステムが割当てるオブジェクト識別子や、キュアリによ
る指定が考えられる。また、集約関係を逆方向に見たと
きの関係を利用した条件の指定例は、次のようになる。
1nclude is a condition that uses an aggregation relationship to search for a composite object that holds all instances specified in the instance specification as constituent elements. This function is detailed in the specification of the above-mentioned prior invention. In the instance specification, specify something that identifies the instance. The instance can be identified by an object identifier assigned by the system or by a curie. Further, an example of specifying a condition using the relationship when looking at the aggregation relationship in the opposite direction is as follows.

(any 5elect : V (: V 1ncl
udedJy  インスタンス指定)) includeJby条件は、インスタンス指定に指定
したすべての複合オブジェクトが構成要素として保持す
る構成オブジェクトを検索する。この条件についても、
前記先願発明の明細書中に示されている。
(any 5elect : V (: V 1ncl
udedJy instance specification)) The includeJby condition searches for constituent objects that all composite objects specified in the instance specification hold as constituent elements. Regarding this condition as well,
This is shown in the specification of the prior invention.

前記000BMSは、上記のような検索要求を受け取る
と、まずインスタンス指定で与えられたインスタンス群
の所属クラス群を調べ、スタートクラス群とする。
When the 000BMS receives the above search request, it first checks the class group to which the instance group given in the instance specification belongs and sets it as the start class group.

次に、1nclude条件の場合には、クラス間の集約
関連定義情報を調べ、複合オブジェクトを構成するクラ
ス階層において、全てのスタートクラス群を構成要素ク
ラスとして保持するような複合オブジェクトのクラスを
全て抽出する。これらをターミネートクラスに設定する
とともに、各スタートクラスから各ターミネートクラス
に到る全パスを抽出する。その後、ここで決定された各
パスについて、関連実体情報より、インスタンス指定で
与えられたインスタンスを起点に関連実体を順に辿り、
最終的にターミネートクラスのインスタンスを選び出す
。あるターミネートクラスについて、インスタンス指定
に指定された各インスタンス毎に、そのターミネートク
ラスのインスタンス群を選出する。選出した各インスタ
ンス群中に、共通して存在するインスタンスが、そのタ
ーミネートクラスにおける求める複合オブジェクトのイ
ンスタンスになる。各ターミネートクラス毎に求めたイ
ンスタンスの集合が最終的に、求める結果である。
Next, in the case of the 1include condition, the aggregation related definition information between classes is examined, and all classes of the composite object that hold all the start class groups as component classes are extracted in the class hierarchy that constitutes the composite object. do. These are set in the termination class, and all paths from each start class to each termination class are extracted. After that, for each path determined here, from the related entity information, the related entities are sequentially traced starting from the instance given in the instance specification,
Finally, select an instance of the terminator class. For a certain termination class, a group of instances of that termination class are selected for each instance specified in the instance specification. An instance that exists in common in each selected instance group becomes an instance of the desired composite object in the termination class. The set of instances found for each termination class is the final result.

一方、1ncludedJy条件の場合には、クラス間
の集約関連定義情報を調べ、複合オブジェクトを構成す
るクラス階層において、スタートクラス群の複合オブジ
ェクトが共通の要素インスタンスをもちうる全てのクラ
スを抽出する。これらをターミネートクラスに設定する
とともに、各スタートクラスから各ターミネートクラス
に到る全パスを決定する。あるターミネートクラスにつ
いて、インスタンス指定に指定された各インスタンス毎
に、そのターミネートクラスのインスタンス群を選出す
る。選出した各インスタンス群中に、共通して存在する
インスタンスが、そのターミネートクラスにおける求め
る要素インスタンスのインスタンスになる。各ターミネ
ートクラス毎に求めた要素インスタンスの集合が最終的
に求める結果である。
On the other hand, in the case of the 1includedJy condition, the aggregation relation definition information between classes is examined, and in the class hierarchy that constitutes the composite object, all classes in which the composite objects of the start class group can have a common element instance are extracted. These are set as termination classes, and all paths from each start class to each termination class are determined. For a certain termination class, a group of instances of that termination class are selected for each instance specified in the instance specification. An instance that exists in common in each selected instance group becomes an instance of the desired element instance in the termination class. The final result is a set of element instances found for each termination class.

以上により、操作対象データが、既知のデータ(関連イ
ンスタンス指定部で与えられる)との関連(関連の種類
指定部で与えられる)を条件として与えられた場合、そ
の検索対象クラスが不定な場合においても、関連情報を
利用して操作対象データを特定する。
As described above, when the operation target data is given as a condition for the relationship (given in the relationship type specification part) with known data (given in the related instance specification part), and when the search target class is undefined, Also, the relevant information is used to identify the data to be manipulated.

〔実施例〕〔Example〕

以下、本発明の一実施例を図面を引用しながら説明する
An embodiment of the present invention will be described below with reference to the drawings.

第2図は、本発明を実施する最小機器構成を示す図であ
る。後述する0008MS50 、ユーザプログラム3
0.および端末インタフェース20は、計算機60上で
稼働する。2次記憶装置61A、61Bは、データベー
ス40や各プログラムが利用するデータやファイルが格
納されている。端末10は、端末ユーザが端末インタフ
ェース2oを介して000BMS50を利用したり、ユ
ーザプログラム30を起動したりする場合に使用する。
FIG. 2 is a diagram showing the minimum equipment configuration for implementing the present invention. 0008MS50 described later, user program 3
0. and the terminal interface 20 run on the computer 60. The secondary storage devices 61A and 61B store data and files used by the database 40 and each program. The terminal 10 is used when a terminal user uses the 000BMS 50 or starts the user program 30 via the terminal interface 2o.

第1図は、本発明によるオブジェクト指向データベース
管理システムの機能構成図である。ユーザは、端末10
と端末インタフェース20、あるいはユーザプログラム
30を介して、000BMS50に処理を要求する。0
00BMS50は、ユーザのデータベース操作要求を受
け取ると、要求制御部55が要求の内容によって処理を
振り分ける。インスタンスの検索、更新といったインス
タンス操作の場合には操作要求処理部52に要求を渡す
。クラスの定義、定義変更といったクラス操作の場合に
は定義管理部51に要求を渡す。操作要求処理部52は
、ユーザからのインスタンス操作要求を受け取ると、こ
れを解析し、操作対象検索部53に対し操作対象のイン
スタンス群の検索要求振出す。操作対象検索部53は、
検索要求を解析し、検索要求に指定された条件を満足す
る操作対象インスタンス群をデータベース40から検索
し、計算機60上の主記憶内にロードし、操作要求処理
部52に渡す。操作要求処理部52は、該操作対象イン
スタンスに対して要求されている操作(検索。
FIG. 1 is a functional configuration diagram of an object-oriented database management system according to the present invention. The user uses terminal 10
and requests the 000BMS 50 to process via the terminal interface 20 or the user program 30. 0
When the 00BMS 50 receives a database operation request from a user, the request control unit 55 distributes processing depending on the content of the request. In the case of instance operations such as searching and updating instances, the request is passed to the operation request processing unit 52. In the case of class operations such as class definition and definition change, a request is passed to the definition management section 51. When the operation request processing unit 52 receives an instance operation request from a user, it analyzes the request and issues a search request to the operation target search unit 53 for a group of instances to be operated. The operation target search unit 53 is
The search request is analyzed, and a group of operation target instances that satisfy the conditions specified in the search request are searched from the database 40, loaded into the main memory of the computer 60, and passed to the operation request processing section 52. The operation request processing unit 52 performs the operation (search) requested for the operation target instance.

更新、他)を実施するために、操作処理実行部54に制
御を渡す。操作処理実行部54は、ロードしたインスタ
ンス群に対し要求された操作を施し、必要ならば操作結
果をデータベース40に反映する。
(update, etc.), control is passed to the operation processing execution unit 54. The operation processing execution unit 54 performs the requested operation on the loaded instance group, and reflects the operation result in the database 40 if necessary.

一般に00DBMS50を利用するユーザは、データベ
ース操作要求を行う前に、予めデータベースの対象とす
るインスタンスの属性を、0008MS50に対して定
義しておく。インスタンス間の関連定義情報も同様であ
る。
In general, a user who uses 00DBMS 50 defines the attributes of the target instance of the database in advance for 0008MS 50 before making a database operation request. The same applies to relation definition information between instances.

第3図は、インスタンス間の関連定義により表現される
クラス階層の一例を図示したものである。
FIG. 3 illustrates an example of a class hierarchy expressed by relationship definitions between instances.

図中の楕円70A〜70Yは、クラスを表している。楕
円内のラベルA−Yは、クラス識別名を示している。楕
円から楕円への矢印は、矢印の始点側のクラスのインス
タンスが保持している関連を示し、矢印の終点側のクラ
スのインスタンスを関連の対象としていることを表して
いる。矢印の線種の違いは、関連の種類の違いを示して
いる。矢印の脇のラベルrreQ−iJは、それぞれの
関連の関連識別名である。
Ellipses 70A to 70Y in the figure represent classes. Labels A to Y within the ellipse indicate class identification names. The arrow from ellipse to ellipse indicates the relationship held by the instance of the class at the start point of the arrow, and indicates that the instance of the class at the end point of the arrow is the target of the relationship. Different line types of arrows indicate different types of relationships. Labels rreQ-iJ beside the arrows are associated identification names of the respective relationships.

第4図は、インスタンス間の関連定義情報の定義文80
の一例を、第3図のクラスXについて示したものである
。関連定義情報80は、クラス名81と、クラス部(c
lass part) 82と、インスタンス部(jn
stance part) 83とからなり。
FIG. 4 shows a definition statement 80 of relation definition information between instances.
An example of this is shown for class X in FIG. The related definition information 80 includes a class name 81 and a class part (c
lass part) 82, and instance part (jn
(stance part) 83.

1nstance part内のrelationの項
の各行((1) 〜(4))が、第6図のクラスXを始
点とする各矢印に相当し、個々の関連を定義している。
Each row ((1) to (4)) of the relation term in the 1stance part corresponds to each arrow starting from class X in FIG. 6, and defines an individual relation.

各関連は、それぞれ関連識別名83A、関連の種類識別
名83B、関連の対象インスタンスの所属クラス識別名
83Cにより定義する。他のクラスについても定義は同
様であるため、ここでは省略する。
Each relationship is defined by a relationship identification name 83A, a relationship type identification name 83B, and a class identification name 83C of the target instance of the relationship. Since the definitions for other classes are similar, they are omitted here.

関連の種類は、それにともなう機能とともに00DBM
S50が提供する。ユーザはその機能によって関連を使
い分ける。
The type of relationship is 00DBM along with the associated functions.
Provided by S50. Users use different relationships depending on their functions.

本実施例においては、インスタンス間に集約関連を定義
する関連識別名” has−parts ”  の関連
と、インスタンス間の一般的な参照関係を定義する関連
識別名” reference ”  の関連を提供し
ている。
In this embodiment, the association of the association identifier "has-parts" which defines an aggregate relationship between instances, and the association of the association identifier "reference" which defines a general reference relationship between instances are provided. .

00DBMS50は、これらの関連以外にも、ユーザに
とって有意義である任意の関連を提供してかまわない。
In addition to these associations, the 00DBMS 50 may provide any association that is meaningful to the user.

またこれらの関連は、自分自身を含む任意のクラス間で
、複数(関連の種類が同しであっても、異なっていても
よい)定義することができる。
Furthermore, a plurality of these relationships (the types of relationships may be the same or different) can be defined between arbitrary classes including the class itself.

第1図の定義管理部51は、第4図に示したような関連
定義情報の定義文80を受け取ると、他の属性定義情報
の定義文とともにこれを解析し、000BMS50が扱
う内部形式に変換し、データベース40内に関連定義情
報として登録する。関連定義情報の保持テーブル85の
1例を第5図に示す。
When the definition management unit 51 in FIG. 1 receives the definition sentence 80 of related definition information as shown in FIG. and registers it in the database 40 as related definition information. An example of the related definition information holding table 85 is shown in FIG.

86はクラス識別名、87A〜87Cは83A〜83C
に相当する識別名である。
86 is the class identification name, 87A-87C is 83A-83C
It is an identification name corresponding to .

操作処理実行部54は、インスタンスをデータベース4
0に登録する時、インスタンス間の関連を抽出し、関連
実体情報としてデータベース40内に登録する。インス
タンス間の関連は、インスタンスに定義された他の属性
の値と同様に、インスタンスの生成あるいは更新時に、
ユーザによって与えられる。
The operation processing execution unit 54 stores the instance in the database 4.
0, the relationships between instances are extracted and registered in the database 40 as related entity information. Relationships between instances, like the values of other attributes defined for instances, are created or updated when an instance is created or updated.
given by the user.

第6図は、関連実体情報の具体的な内容を示す図である
。この例では、関連実体情報を、インスタンスとその所
属クラスを管理するインスタンステーブル90と、イン
スタンスが保持する関連を関連識別名ごとに管理するイ
ンスタンス関連テーブル91から構成する。インスタン
ス関連テーブル91の各行が、−組のインスタンス間の
関連の実体を表している。
FIG. 6 is a diagram showing specific contents of related entity information. In this example, the related entity information is composed of an instance table 90 that manages instances and their belonging classes, and an instance related table 91 that manages relationships held by instances for each related identifier. Each row of the instance relationship table 91 represents the entity of the relationship between the - group of instances.

本実施例では、理解しやすさのために、リレーショナル
データベースのようなテーブル形式でデータを格納して
いる。これらのデータをネットワーク的にポインタで結
び付けて格納しても構わない。その場合、リソースの節
約、検索処理時間の節約を図ることができるであろう。
In this embodiment, data is stored in a table format like a relational database for ease of understanding. These data may be stored in a network by linking them with pointers. In that case, it would be possible to save resources and search processing time.

但し、更新処理時間のオーバヘッドが増加する。However, the overhead of update processing time increases.

次に、本発明で実現するインスタンス間の集約関連を利
用した検索要求がきた場合の操作対象検索部53の処理
手順を、第7図を用いて示す。例として、次の2つの検
索要求Ql、Q2を想定する。
Next, the processing procedure of the operation target search unit 53 when a search request using the aggregation relationship between instances realized by the present invention is received will be shown using FIG. As an example, assume the following two search requests Ql and Q2.

(X 5elect : V(: V 1nclude
s objj))   −Q 1(any 5elec
t : V(: V 1ncludes objj))
  −Q 2どちらもインスタンスobjj を要素イ
ンスタンスに持つ複合オブジェクトの検索要求であるが
、検索要求Q1では、従来通り求める複合オブジェクト
のクラスXと明示している。一方、検索要求Q2では、
任意クラス指定anyを指定している。
(X 5elect : V(: V 1include
s objj)) -Q 1(any 5elec
t: V(: V 1includes objj))
-Q 2 Both are search requests for a complex object that has instance objj as an element instance, but search request Q1 clearly specifies class X of the complex object sought as before. On the other hand, for search request Q2,
The arbitrary class specification any is specified.

操作対象検索部53は、これらの検索要求を次の手順で
処理する。
The operation target search unit 53 processes these search requests in the following procedure.

(1)インスタンス指定で指定されたインスタンスの所
属クラスを調べ、スタートクラスとして設定する(ステ
ップ121)。この例の場合、objjの所属クラスY
がスタートクラスになる。
(1) Check the class to which the instance specified in the instance specification belongs and set it as the start class (step 121). In this example, objj belongs to class Y
becomes the starting class.

複数のインスタンスが指定された場合、それぞれのイン
スタンスの所属クラスがスタートクラスになる。
If multiple instances are specified, the class to which each instance belongs becomes the start class.

(2)ターミネートクラス指定の有無により、処理を別
ける(ステップ122)。
(2) Different processes are performed depending on whether a termination class is specified (step 122).

(2,1)ターミネートクラス指定有りの場合(例えば
Qlの場合): この場合は前記先願発明の明細書に示されている次の■
〜■手順で処理する。
(2,1) In the case where the termination class is specified (for example, in the case of Ql): In this case, the following ■
~■Proceed according to the procedure.

■ 検索対象に指定されたクラスをターミネートクラス
として設定する(ステップ128)。上記Q1の場合に
はXを設定する。
■ The class designated as the search target is set as the terminating class (step 128). In the case of Q1 above, set X.

■ スタートクラスからターミネートクラスに到る全パ
スを探索する(ステップ 129)。この探索には、前記先願発明に示されている
ような関連行列を利用しでも良いし、単純に第5図に示
した関連定義情報を利用してクラス階層を辿っても良い
。Qlの場合、スタートクラスがクラスY、ターミネー
トクラスがクラスXであり、 パス1:クラスY→クラスC→クラス パス2:クラスY→クラスD→クラス の2つのパスを見つける。
■ Search all paths from the start class to the end class (step 129). For this search, an association matrix such as that shown in the prior invention may be used, or the class hierarchy may be simply traced using the association definition information shown in FIG. In the case of Ql, the start class is class Y, the end class is class X, and two paths are found: path 1: class Y → class C → class path 2: class Y → class D → class.

■ 指定されたインスタンス毎に探索したパスを経由し
てターミネートクラスのインスタンスを検索する(ステ
ップ130)。
■ Search for an instance of the terminator class via the searched path for each specified instance (step 130).

Qlの場合、スタートクラスYからターミネートクラス
Xへ到るパスの一般形はY−)C1→C2→・・・→C
n→Xである。
In the case of Ql, the general form of the path from the start class Y to the end class X is Y-)C1→C2→...→C
n→X.

(C1,C2,・・・は、任意のクラス識別名を表す。(C1, C2, . . . represent arbitrary class identification names.

)関連実体情報のインスタンス関連テーブルより、与え
られた関連インスタンスobjjに関連をもっているク
ラスC1のインスタンスの集合51 (Sl:sll、s12.−)を取り出し、さらにこの
インスタンスS11゜ s12.・・・に関連をもっているクラスC2のインス
タンスの集合52(S2:s21.s22.・・・)を
取り出す。このようにして、最後はクラスCnのインス
タンスsnl、sn2.・・・に関連を持っているター
ミネートクラスXのインスタンスの集合XI (Xi 
: xll、x12・・・)を決定する。同様にして、
他のパスについてもターミネートクラスXのインスタン
スからなる集合(X2)、(X3)・・・(Xm)を得
る。最終的に、与えられた条件を満足するインスタンス
は、 (XI)n (X2)1”l=n (Xm) によって
得られる。上記にしたがって実際に得られる、条件を満
足するインスタンスは、objjである。
) From the instance association table of the related entity information, extract the set 51 (Sl:sll, s12.-) of instances of class C1 that are related to the given related instance objj, and further extract this instance S11゜s12. A set 52 (S2:s21.s22...) of instances of class C2 that has a relationship with... is extracted. In this way, the instances snl, sn2 . A set XI (Xi
: xll, x12...) is determined. Similarly,
For other paths as well, sets (X2), (X3), . . . (Xm) consisting of instances of termination class X are obtained. Finally, the instance that satisfies the given condition is obtained by (XI)n (X2)1''l=n (Xm).The instance that satisfies the condition that is actually obtained according to the above is objj. be.

■ 各指定インスタンス毎に探索インスタンス群の論理
積を取る(ステップ131)。
■ Take the logical product of the search instance group for each specified instance (step 131).

インスタンス指定に複数のインスタンスが指定されてい
る場合には、上記■の処理を各インスタンス毎に実施し
た後、各探索インスタンス群の論理積を取ることにより
求めるインスタンス群を得ることができる。
If a plurality of instances are specified in the instance specification, the desired instance group can be obtained by carrying out the above process (1) for each instance and then taking the AND of each search instance group.

(2゜2)ターミネートクラスの指定が無い場合(例え
ばQ2の場合): 本発明で新たに加えられた手順であり、次の■〜■を実
行する。
(2°2) When no termination class is specified (for example, in the case of Q2): This is a newly added procedure in the present invention, and the following steps 1 to 2 are executed.

■ ターミネートクラスを探索し、設定する(ステップ
123)、ターミネートクラスの探索も、前記先願発明
に示されるような関連行列を利用しても良いし、単純に
第5図に示した関連定義情報を利用してクラス階層を辿
っても良い。クラス階層の上位クラスに位置する全ての
クラスがターミネートクラスになる。例Q1の場合、o
bjjが属するクラスYの上位クラス、X、A、C,D
が全てターミネートクラスになる。なお、インスタンス
指定に複数のインスタンスが指定された場合には、各イ
ンスタンスが属するク ラスのクラス階層において、各クラス階層が共有する部
分がターミネートクラスになる。例えば、第5図のクラ
ス階層において、クラスCとクラスDのインスタンスが
指定された場合、XとAがターミネートクラスになる。
■ Searching for and setting a termination class (step 123). Searching for a termination class may also be performed using the association matrix as shown in the prior invention, or simply using the association definition information shown in FIG. You can also use to trace the class hierarchy. All classes located above the class hierarchy become terminating classes. For example Q1, o
Upper class of class Y to which bjj belongs, X, A, C, D
are all terminal classes. Note that when multiple instances are specified in the instance specification, the portion shared by each class hierarchy in the class hierarchy of the class to which each instance belongs becomes the terminating class. For example, in the class hierarchy shown in FIG. 5, if instances of class C and class D are specified, X and A become the terminating classes.

■ 各ターミネートクラス毎に、スタートクラスからタ
ーミネートクラスに到る全てのパスを探索する(ステッ
プ124)。
■ For each termination class, search all paths from the start class to the termination class (step 124).

個々のターミネートクラスについて、前記(2,1)■
(ステップ124)の処理を行う、なお、上記■(ステ
ップ123)の処理では、クラス階層を辿りながら、タ
ーミネートクラスを探索する。クラス階層を辿りながら
途中経過、つまりパスを保持しておくことにより、当該
処理 (ステップ124)を省略することもできる。
For each terminator class, the above (2, 1) ■
(Step 124) is performed. In addition, in the above-mentioned process (1) (Step 123), a termination class is searched for while tracing the class hierarchy. This process (step 124) can be omitted by retaining the intermediate progress, that is, the path, while tracing the class hierarchy.

■ 各ターミネートクラス毎の、各指定インスタンス毎
の、探索したパスを経由したターミネートクラスのイン
スタンスを探索する(ステップ125)。各ターミネー
トクラス毎の、各指定インスタンス毎に、前記(2,1
)■(ステップ130)の処理を行う。ここで、ターミ
ネートクラスの上下関係を利用し、下位のターミネート
クラスの探索結果を上位のターミネートクラスの探索に
利用する。
■ Search for instances of the termination class via the searched path for each specified instance of each termination class (step 125). For each specified instance of each terminator class, the above (2, 1
) ■ (Step 130) is performed. Here, the hierarchical relationship of the terminus classes is utilized, and the search results of the lower terminus classes are used to search for the higher terminus classes.

■ 各ターミネートクラス毎に各指定インスタンス毎の
探索インスタンス群の論理積を取る(ステップ126)
。各ターミネートクラス毎に、前記(2,1)■(ステ
ップ131)の処理を行う。
■ Perform the logical product of the search instance group for each designated instance for each terminator class (step 126)
. The process of (2, 1) (step 131) is performed for each termination class.

■ 各ターミネートクラス毎に論理積を取ったインスタ
ンス群の論理和を取る。上記■の処理の結果得られるイ
ンスタンス群が全て求める結果である。よって、ターミ
ネートクラス毎に探索した結果のインスタンス群につい
て論理和を取る。
■ Calculate the logical OR of the instances that have been logically ANDed for each termination class. The instance group obtained as a result of the process (2) above is all the desired results. Therefore, a logical OR is performed on the instance groups resulting from the search for each terminator class.

以上の処理手順は、1ncludes条件が指定された
場合の処理手順である。また、複数インスタンスが指定
された時は、前記先願発明におけるall指定を仮定し
た処理である。
The above processing procedure is a processing procedure when the 1ncludes condition is specified. Furthermore, when multiple instances are specified, the process assumes the all specification in the prior invention.

前記先願発明では、複数インスタンを指定し、いずれか
1つについて条件を満足するものの検索を指定するため
にsome指定を提供している。some指定の場合、
上記処理手順において、ステップ126とステップ13
1の処理が、論理積ではなく、論理和を取る処理に変わ
る。また、要素インスタンスを検索する1nclude
d−by条件の場合には、上記処理手順において、ステ
ップ123とステップ124の処理が、集約関係の上位
な向かっての探索ではなく、下位に向かっての探索に変
わる。
In the prior invention, a some specification is provided in order to specify a plurality of instances and search for one that satisfies the condition for any one of the instances. If some is specified,
In the above processing procedure, step 126 and step 13
The process in step 1 is changed to a process of calculating a logical sum instead of a logical product. Also, 1nclude to search for element instances
In the case of the d-by condition, in the above processing procedure, the processing in steps 123 and 124 changes from a search toward the upper level of the aggregation relationship to a search toward the lower level.

以上のようにして、検索対象クラスの任意指定を可能と
することにより、ユーザがクラス階層を意識することな
くデータベースの検索が可能になる。
As described above, by allowing the user to arbitrarily specify the class to be searched, it is possible to search the database without the user being aware of the class hierarchy.

なお、上記実施例では、任意指定の検索において、クラ
ス階層上の全てのクラスを対象とする。
Note that in the above embodiment, all classes on the class hierarchy are targeted in the arbitrarily specified search.

このため、処理時間が増大するとともに、ユーザにとっ
て不要なデータが大量に検索されるという問題がある。
Therefore, there is a problem that the processing time increases and a large amount of data that is unnecessary for the user is searched.

これを回避するものとして、次の方法が考えられる。The following method can be considered to avoid this.

1つは、システム側でクラス階層の探索範囲を制限する
ものである。1つのインスタンスしか指定されていない
場合、当該インスタンスが属するクラスのルベル上下の
クラスだけを探索範囲にする。例えば、1nclude
s条件で、第3図のYのクラスのインスタンスが指定さ
れた場合、クラスC9Dだけを探索範囲にする。複数イ
ンスタンスが指定された場合には、当該インスタンス群
が属するターミネートクラスが見つかったら、そのクラ
スより上位、下位のクラスをターミネートクラスに含め
ない。例えば、1ncludes条件で、第5図のC2
Dのクラスのインスタンスが指定された場合、クラスA
、Xが見つかったら、それより上位のクラスがあったと
しても探索範囲を広げることはしない。
One is to limit the search range of the class hierarchy on the system side. If only one instance is specified, only the classes above and below the class to which the instance belongs are searched. For example, 1nclude
If an instance of class Y in FIG. 3 is specified in the s condition, only class C9D is set as the search range. When multiple instances are specified, once the termination class to which the relevant instance group belongs is found, classes higher and lower than that class are not included in the termination class. For example, under the 1ncludes condition, C2 in Figure 5
If an instance of class D is specified, class A
, Once X is found, the search range is not expanded even if there is a higher class.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明によれば、OODI3MSに
おいて、操作対象インスタンスの属するクラスが不明な
場合でも、既知のインスタンスとの関連を条件として指
定された場合、その関連をOODBMSが認識し、操作
対象インスタンスを特定できるため、複雑な構造を持つ
データを対象としたデータベースにおいて、操作対象デ
ータ指定のためのユーザ負担を大幅に軽減することがで
き、使い勝手の良いユーザインタフェースを提供できる
As explained above, according to the present invention, in the OODI3MS, even if the class to which the operation target instance belongs is unknown, if a relationship with a known instance is specified as a condition, the OODBMS recognizes the relationship and Since instances can be specified, the burden on users for specifying data to be manipulated can be significantly reduced in databases that target data with complex structures, and an easy-to-use user interface can be provided.

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

第1図は本発明によるオブジェクト指向データベース管
理システムの機能構成を示す図、第2図は本発明を実施
する最小機器構成を示す図、第3図はデータベース内の
インスタンス間の関連定義情報を示す図、第4図は第3
図に示された関連定義の定義文の例を示す図、第5図は
、第3図に示されたクラス階層の関連定義情報の保持形
式の1例を示す図、第6図は関連実体情報の1例を示す
図、第7図は、第2図のOODBMS50における操作
対象検索部53の動作を示すフローチャート、第8図(
a)、(b)はOODBMSに対する従来の検索要素の
1例を示す図、第9図は、第8図の検索要求例の基にな
っているクラス階層例を示す図、第10図はデータベー
スにおけるインスタンスの階層関係を説明するための図
である。 10・・・端末ユーザが利用する端末、20・・・端末
ユーザ用のインタフェースプログラム、30・・・ユー
ザプログラム、40・・・データベース、50・・00
DBMS、51,52,53,54,55・・・それぞ
れOODBMS50を構成する定義管理部、操作要求処
理部、操作対象検索部、操作処理実行部、要求制御妬 図 ダ 図 順 図 第9口 で り 閃 垢 3 閃 (久) (す) 茶 図
Fig. 1 is a diagram showing the functional configuration of an object-oriented database management system according to the present invention, Fig. 2 is a diagram showing the minimum equipment configuration for implementing the present invention, and Fig. 3 is a diagram showing relation definition information between instances in the database. Figure 4 is the third
FIG. 5 is a diagram showing an example of the format for holding the related definition information of the class hierarchy shown in FIG. 3, and FIG. 6 is a diagram showing the related entity. A diagram showing an example of information, FIG. 7, is a flowchart showing the operation of the operation target search unit 53 in the OODBMS 50 of FIG.
a) and (b) are diagrams showing an example of conventional search elements for OODBMS, Figure 9 is a diagram showing an example of the class hierarchy on which the search request example in Figure 8 is based, and Figure 10 is a database FIG. 2 is a diagram for explaining the hierarchical relationship of instances in FIG. DESCRIPTION OF SYMBOLS 10... Terminal used by a terminal user, 20... Interface program for terminal users, 30... User program, 40... Database, 50...00
DBMS, 51, 52, 53, 54, 55... Definition management section, operation request processing section, operation target search section, operation processing execution section, request control diagram, and the ninth port of the diagram order diagram, which respectively constitute the OODBMS 50. Risenka 3 Sen (ku) (su) Tea picture

Claims (1)

【特許請求の範囲】 1、ユーザが定義したクラス間やインスタンス間の関連
をクラス定義情報、インスタンス関連定義情報として保
持し、ユーザの検索要求に応じて、該クラス定義情報や
インスタンス関連定義情報を参照しながらデータベース
を検索し、ユーザが指定したクラスの、ユーザの指定し
た条件を満足するインスタンス(群)を捜し出すオブジ
ェクト指向データベース管理システムにおいて、ユーザ
から検索対象のインスタンスのクラスを不定とし、条件
に指定したインスタンス(群)と関連を持つインスタン
スを全て検索する旨の検索要求を受け付けた場合に、前
記インスタンス関連定義情報に基づいて、上記検索要求
の条件に指定されたインスタンス(群)と或る特定の関
連を持つインスタンス(群)を検索することを特徴とす
るデータベース検索処理方式。 2、検索時に利用する前記特定の関連として集約関係を
利用し、前記検索要求の条件に指定された全てのインス
タンス(群)を構成オブジェクトとして保持するような
複合オブジェクトを検索することを特徴とする特許請求
範囲第1項記載のデータベース検索処理方式。 3、検索時に利用する前記特定の関連として、集約関係
を利用し、前記検索要求の条件に指定された全てのイン
スタンス(群)が構成オブジェクトとして保持するよう
な構成オブジェクトを検索することを特徴とする特許請
求範囲第1項記載のデータベース検索処理方式。
[Claims] 1. The relationships between classes and instances defined by the user are held as class definition information and instance-related definition information, and the class definition information and instance-related definition information are stored in response to a user's search request. In an object-oriented database management system that searches a database while referencing and searches for instances (groups) of a class specified by the user that satisfy conditions specified by the user, the class of the instance to be searched is specified by the user as unspecified, and the When a search request to search for all instances related to the specified instance(s) is received, based on the instance-related definition information, the instance(s) specified in the conditions of the search request and a certain A database search processing method characterized by searching for instances (groups) with specific relationships. 2. It is characterized by using an aggregation relationship as the specific relationship used at the time of search, and searching for a composite object that holds all the instances (groups) specified in the conditions of the search request as constituent objects. A database search processing method according to claim 1. 3. As the specific relationship used at the time of search, an aggregation relationship is used to search for configuration objects that are held as configuration objects by all instances (groups) specified in the conditions of the search request. A database search processing method according to claim 1.
JP2107600A 1990-04-25 1990-04-25 Object-oriented database search method Expired - Fee Related JP2907943B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2107600A JP2907943B2 (en) 1990-04-25 1990-04-25 Object-oriented database search method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2107600A JP2907943B2 (en) 1990-04-25 1990-04-25 Object-oriented database search method

Publications (2)

Publication Number Publication Date
JPH047671A true JPH047671A (en) 1992-01-13
JP2907943B2 JP2907943B2 (en) 1999-06-21

Family

ID=14463280

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2107600A Expired - Fee Related JP2907943B2 (en) 1990-04-25 1990-04-25 Object-oriented database search method

Country Status (1)

Country Link
JP (1) JP2907943B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06301729A (en) * 1993-04-16 1994-10-28 Fuji Xerox Co Ltd Data retrieving device
JPH06301730A (en) * 1993-04-16 1994-10-28 Fuji Xerox Co Ltd Data retrieving device
JPH0877012A (en) * 1994-08-31 1996-03-22 Toshiba Corp Knowledge base system and common data managing device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06301729A (en) * 1993-04-16 1994-10-28 Fuji Xerox Co Ltd Data retrieving device
JPH06301730A (en) * 1993-04-16 1994-10-28 Fuji Xerox Co Ltd Data retrieving device
JPH0877012A (en) * 1994-08-31 1996-03-22 Toshiba Corp Knowledge base system and common data managing device

Also Published As

Publication number Publication date
JP2907943B2 (en) 1999-06-21

Similar Documents

Publication Publication Date Title
US6970882B2 (en) Unified relational database model for data mining selected model scoring results, model training results where selection is based on metadata included in mining model control table
CN108228817A (en) Data processing method, device and system
US6738759B1 (en) System and method for performing similarity searching using pointer optimization
US7693812B2 (en) Querying data and an associated ontology in a database management system
US7127474B2 (en) Method and apparatus for mapping objects to multiple tables of a database
US6339777B1 (en) Method and system for handling foreign key update in an object-oriented database environment
US5873093A (en) Method and apparatus for mapping objects to a data source
US20040162838A1 (en) Hierarchical database apparatus and method of developing hierarchical database
US20080172360A1 (en) Querying data and an associated ontology in a database management system
US7480674B2 (en) Data storage and retrieval system with parameterized category definitions for families of categories and dynamically generated search indices
US20060074950A1 (en) Apparatus and method for parametric group processing
JP2001014329A (en) Database processing method and implementation device, and medium stored with the processing program
CN108763573A (en) A kind of OLAP engines method for routing and system based on machine learning
US20030159110A1 (en) Structured document management system, structured document management method, search device and search method
CN109359128A (en) The method of mapping is realized between objective system and relational system
JPH047671A (en) Data base retrieval processing system
CN112800143A (en) Structure of data object and method for dynamically managing data object
Keim et al. Object-oriented querying of existing relational databases
Ganesh et al. Mining Entity-Identification Rules for Database Integration.
WO2023278154A1 (en) Apparatus and method for transforming unstructured data sources into both relational entities and machine learning models that support structured query language queries
US8666972B2 (en) System and method for content management and determination of search conditions
CN110609926A (en) Data tag storage management method and device
CN112394910A (en) Method for opening new instance of computer programming language type
CN109726254A (en) A kind of construction method and device of triple knowledge base
CN110162531A (en) A kind of distribution concurrent data processing assignment decisions method

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees