JPH10214218A - System for managing database - Google Patents

System for managing database

Info

Publication number
JPH10214218A
JPH10214218A JP9016079A JP1607997A JPH10214218A JP H10214218 A JPH10214218 A JP H10214218A JP 9016079 A JP9016079 A JP 9016079A JP 1607997 A JP1607997 A JP 1607997A JP H10214218 A JPH10214218 A JP H10214218A
Authority
JP
Japan
Prior art keywords
link information
dbms
database
management system
objects
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
JP9016079A
Other languages
Japanese (ja)
Inventor
Tatsuo Hiramatsu
辰夫 平松
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.)
Meidensha Corp
Meidensha Electric Manufacturing Co Ltd
Original Assignee
Meidensha Corp
Meidensha Electric Manufacturing 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 Meidensha Corp, Meidensha Electric Manufacturing Co Ltd filed Critical Meidensha Corp
Priority to JP9016079A priority Critical patent/JPH10214218A/en
Publication of JPH10214218A publication Critical patent/JPH10214218A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide an object oriented data base management system in which the retrieval of an object can be attained at a high speed. SOLUTION: An object oriented DBMS 2 and a deduction DBMS 1 on a main storage are used. The attribute of an object is managed by the object oriented DBMS in the same way as a conventional manner, and link information between objects is managed as link information 5 stored on the main storage by reading link relation from a database 4 by the deduction DBMS 1 on the main storage. The link information 5 is managed by converting relation with another object applied by the attribute of the object into two augments.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、オブジェクト指向
データベース管理システム(DBMS)に係り、特にオ
ブジェクトのリンク情報管理方式に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to an object-oriented database management system (DBMS), and more particularly to an object link information management system.

【0002】[0002]

【従来の技術】電力系統の監視制御システム等におい
て、変電所の設備構成等を管理するには、オブジェクト
指向データベース管理システムを用いると、従来のリレ
ーショナルデータベース管理システムに比べて、設備の
接続関係や部品構成などを自然に表現することができ
る。
2. Description of the Related Art An object-oriented database management system is used to manage the configuration of a substation in a power system monitoring and control system and the like. Parts configuration and the like can be naturally expressed.

【0003】図3は、変電所設備の管理例を示す。バン
クオブジェクトと遮断器オブジェクトと変圧器オブジェ
クトの3つのオブジェクトをオブジェクト指向データベ
ースに格納し、互いに「構成」あるいは「接続」という
関係でリンクされているとする。
FIG. 3 shows an example of managing substation facilities. It is assumed that three objects, a bank object, a circuit breaker object, and a transformer object, are stored in an object-oriented database and are linked to each other in a relation of “configuration” or “connection”.

【0004】このとき、例えば、「バンクを構成するあ
る遮断器に接続している変圧器」を検索する操作は、ま
ず「バンクオブジェクト」をDBMSのメモリに読み込
み、その属性「遮断器」の値を使って「遮断器オブジェ
クト」をメモリに読み込み、その属性「変圧器」の値を
使って「変圧器オブジェクト」をメモリに読み込むとい
う操作を行うことで検索ができる。
At this time, for example, an operation of searching for a "transformer connected to a certain circuit breaker constituting a bank" is performed by first reading a "bank object" into a memory of a DBMS, and reading the value of the attribute "breaker". You can perform a search by loading the "Circuit Breaker Object" into the memory using and reading the "Transformer Object" into the memory using the value of the attribute "Transformer".

【0005】[0005]

【発明が解決しようとする課題】従来のDBMSによる
オブジェクトの検索には、あるオブジェクトをメモリに
読み込み、その属性の値から他のオブジェクトをメモリ
に次々に読み込むという操作をリンクを辿って行う。こ
れは、オブジェクト間のリンクをオブジェクトの属性と
同じ仕組みで管理することになる。
In searching for an object by a conventional DBMS, an operation of reading an object into a memory and reading other objects into the memory one after another from the value of the attribute is performed by following a link. This means that links between objects are managed by the same mechanism as the attributes of objects.

【0006】このリンクによるオブジェクトの検索で
は、リンク関係が複雑になるほどメモリへの読み込み情
報量が増えて検索速度を低下させてしまう。
[0006] In this object search using links, the more complicated the link relationship, the greater the amount of information read into the memory and the lower the search speed.

【0007】例えば、変電所の設備を3次元情報で表現
して監視制御するのに、オブジェクト指向データベース
に保存するデータを3次元形状情報を備えた空間的オブ
ジェクトとする場合、オブジェクトそのものが従来の属
性値を表現するだけの場合よりも大きくなる上に、他の
オブジェクトとのリンク数も膨大になる。
[0007] For example, in order to monitor and control a substation facility by expressing it in three-dimensional information, if the data to be stored in the object-oriented database is a spatial object having three-dimensional shape information, the object itself is a conventional object. In addition to being larger than simply expressing attribute values, the number of links to other objects is enormous.

【0008】この3次元オブジェクトを従来のオブジェ
クト指向DBMSで検索すると、目的のオブジェクトに
たどり着くまでのに多量の情報をメモリに読み込むた
め、キャッシュメモリの入れ替えが頻繁に起こり、キャ
ッシュメモリの利用効率を悪化させると共にキャッシュ
メモリ管理のオーバヘッドによる検索速度の低下を引き
起こす。
When this three-dimensional object is searched by a conventional object-oriented DBMS, a large amount of information is read into the memory until the target object is reached, so that the cache memory is frequently replaced and the use efficiency of the cache memory deteriorates. At the same time, the search speed is reduced due to the overhead of the cache memory management.

【0009】本発明の目的は、オブジェクトの検索を高
速にするオブジェクト指向データベース管理システムを
提供することにある。
It is an object of the present invention to provide an object-oriented database management system that speeds up object retrieval.

【0010】[0010]

【課題を解決するための手段】本発明は、オブジェクト
指向DBMSと主記憶上の演繹DBMSを併用し、オブ
ジェクトの属性は従来と同様にオブジェクト指向DBM
Sで管理し、オブジェクト間のリンク情報は主記憶上の
演繹DBMSで管理するものであり、以下の構成を特徴
とする。
According to the present invention, an object-oriented DBMS is used in combination with a deductive DBMS on a main memory, and the attributes of objects are set in the same manner as in the prior art.
S, and the link information between objects is managed by a deductive DBMS on the main memory, and is characterized by the following configuration.

【0011】システムの設備をオブジェクトとその属性
及び各オブジェクト間のリンク情報で格納しておくオブ
ジェクト指向データベースと、クライアントからの前記
オブジェクトの属性に関連する操作要求で前記データベ
ースのオブジェクトに対して処理するデータベース管理
システムと、前記データベース管理システムと共通のス
キーマ定義からリンク規則を読み出し、前記データベー
スのオブジェクトのリンク関係から個々のリンク情報を
抽出して主記憶上のデータ管理領域に格納しておき、前
記データベース管理システムを介したリンク情報に関連
する操作要求に対して主記憶上のリンク情報を検索して
提供する主記憶演繹データベース管理システムとを備え
たことを特徴とする。
[0011] An object-oriented database for storing the facilities of the system as objects and their attributes and link information between the objects, and processing of the objects in the database in response to an operation request from a client relating to the attributes of the object. A database management system, reads a link rule from a schema definition common to the database management system, extracts individual link information from a link relationship between objects of the database, and stores the link information in a data management area on a main storage; And a main storage deduction database management system that searches for and provides link information on the main storage in response to an operation request related to the link information via the database management system.

【0012】また、前記演繹データベース管理システム
は、主記憶上に格納するリンク情報として、オブジェク
トの属性で与えられる他のオブジェクトへの関連を2つ
の引数に変換して管理することを特徴とする。
Further, the deduction database management system is characterized in that, as link information to be stored in a main memory, a relation to another object given by an attribute of an object is converted into two arguments and managed.

【0013】[0013]

【発明の実施の形態】図1は、本発明の実施形態になる
データベースシステム構成図である。
FIG. 1 is a configuration diagram of a database system according to an embodiment of the present invention.

【0014】従来方式との互換性を得るため、オブジェ
クトの表記は、例えばODMGの定めるODL(Obj
ectDescriptionLanguage)を用
いる。また、主記憶演繹DBMS1は、オブジェクト指
向DBMS2のバックエンドで動作させ、クライアント
からリンク情報に係わる検索を受け付けた場合にのみ、
オブジェクト指向DBMS2が主記憶演繹DBMS1に
処理を依頼して結果を受け取り、クライアントに返す。
クライアントとはインタフェース3で結合される。
In order to obtain compatibility with the conventional method, the notation of the object is, for example, ODL (Obj) defined by the ODMG.
ectDescription (Language). Further, the main storage deductive DBMS 1 is operated on the back end of the object-oriented DBMS 2 and only when a search relating to link information is received from a client,
The object-oriented DBMS 2 requests the main storage deductive DBMS 1 for processing, receives the result, and returns it to the client.
The client is connected with the interface 3.

【0015】DBMSの起動時には、まずオブジェクト
指向DBMS2が起動し、引き続いて主記憶上で管理す
る演繹DBMS1が起動する。
When the DBMS is started, first, the object-oriented DBMS 2 starts, and subsequently, the deductive DBMS 1, which is managed on the main storage, starts.

【0016】演繹DBMS1は、スキーマ定義からオブ
ジェクト間のリンク規則を読み取り、オブジェクト指向
DBMS2経由でオブジェクト指向データベース4中の
リンク情報のみを抽出し、これを述語形式で主記憶にリ
ンク情報5として格納する。主記憶とデータベース4と
はキャッシュメモリ6を介してデータ転送がなされる。
The deductive DBMS 1 reads the link rules between objects from the schema definition, extracts only the link information in the object-oriented database 4 via the object-oriented DBMS 2, and stores this as link information 5 in the main memory in a predicate format. . Data transfer is performed between the main storage and the database 4 via the cache memory 6.

【0017】図2は、リンク情報5の例を図3のオブジ
ェクトのリンク関係に対応したものを示し、「構成」や
「接続」のリンク関係と、その2つの引数として「バン
クオブジェクト」や「変圧器」、「遮断器」などの各設
備のID番号を持つ組み合わせになる。
FIG. 2 shows an example of the link information 5 corresponding to the link relation between the objects shown in FIG. 3. The link relations of "configuration" and "connection" and "bank object" and " A combination having an ID number of each facility such as a "transformer" and a "circuit breaker" is obtained.

【0018】以上の構成において、例えば、「バンクを
構成するある遮断器に接続している変圧器」を検索する
操作は、演繹DBMS1がリンク情報5を参照し、その
引数から対象とするバンクオブジェクトのIDを基に遮
断器及び変圧器を検索する。
In the above configuration, for example, the operation of searching for “the transformer connected to a certain circuit breaker constituting the bank” is performed by the deductive DBMS 1 referring to the link information 5 and the target bank object from its argument. Search for circuit breakers and transformers based on the ID of

【0019】具体的には、第1引数にバンクオブジェク
トID型、第2引数に遮断器オブジェクトID型をとる
2つの引数述語「構成」を検索し、その中から第1引数
の値が対象とするバンクオブジェクトのIDであるもの
を選択する。次に、第1引数に遮断器オブジェクトID
型、第2引数に変圧器オブジェクトID型をとる述語
「接続」を検索し、その中から第1引数の値が先程選択
した「構成」の第2引数と同じであるものを選択する。
More specifically, a search is made for two argument predicates "composition" that take a bank object ID type as the first argument and a breaker object ID type as the second argument, and find the value of the first argument as a target. Of the bank object to be selected. Next, the circuit breaker object ID is used as the first argument.
A predicate "connection" that takes the transformer object ID type as the type and the second argument is searched, and the one having the same value as the second argument of the "configuration" selected earlier is selected from among them.

【0020】この選択で目的とするオブジェクトのID
が得られるため、必要に応じて対応するオブジェクトを
オブジェクト指向DBMS2が管理するドキュメントを
読み込み、クライアントから参照できるようにする。
The ID of the target object in this selection
Is obtained, a document managed by the object-oriented DBMS 2 is read as needed for the corresponding object, and the client can refer to the document.

【0021】[0021]

【発明の効果】以上のとおり、本発明によれば、オブジ
ェクト指向DBMSと主記憶上の演繹DBMSを併用
し、オブジェクトの属性は従来と同様にオブジェクト指
向DBMSで管理し、オブジェクト間のリンク情報は主
記憶上の演繹DBMSで管理するようにしたため、以下
の効果がある。
As described above, according to the present invention, the object-oriented DBMS is used in combination with the deductive DBMS on the main memory, the attributes of the objects are managed by the object-oriented DBMS as in the past, and the link information between the objects is maintained. Since the management is performed by the deductive DBMS on the main memory, the following effects are obtained.

【0022】(1)オブジェクト間のリンク情報を管理
する主記憶演繹DBMSは、オブジェクトIDという小
さな固定長のデータのみを取り扱うだけで済むため、主
記憶上でデータを管理するのに適し、高速な検索ができ
る。
(1) The main memory deductive DBMS for managing link information between objects only needs to handle small fixed-length data called an object ID, and is suitable for managing data on the main memory. You can search.

【0023】(2)述語の引数は、予め取り得る型を決
めておくことで対象の絞り込みが高速になる。
(2) By predetermining the types of arguments of the predicate, the narrowing down of objects can be performed at high speed.

【0024】(3)演繹DBMSをオブジェクト指向D
BMSのバックエンドで動作させるため、クライアント
からは従来のオブジェクト指向DBMSによる管理と同
様に取り扱うことができる。
(3) The deductive DBMS uses object-oriented D
Since it operates on the BMS back end, it can be handled from the client in the same way as the management by the conventional object-oriented DBMS.

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

【図1】本発明の実施形態を示すデータベースシステム
構成図。
FIG. 1 is a configuration diagram of a database system showing an embodiment of the present invention.

【図2】実施形態におけるリンク情報例。FIG. 2 is an example of link information in the embodiment.

【図3】オブジェクト指向データベースのオブジェクト
のリンク関係例。
FIG. 3 is an example of a link relationship between objects in an object-oriented database.

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

1…演繹DBMS 2…オブジェクト指向DBMS 3…インタフェース 4…オブジェクト指向データベース 5…リンク情報 6…キャッシュメモリ DESCRIPTION OF SYMBOLS 1 ... Deductive DBMS 2 ... Object-oriented DBMS 3 ... Interface 4 ... Object-oriented database 5 ... Link information 6 ... Cache memory

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 システムの設備をオブジェクトとその属
性及び各オブジェクト間のリンク情報で格納しておくオ
ブジェクト指向データベースと、 クライアントからの前記オブジェクトの属性に関連する
操作要求で前記データベースのオブジェクトに対して処
理するデータベース管理システムと、 前記データベース管理システムと共通のスキーマ定義か
らリンク規則を読み出し、前記データベースのオブジェ
クトのリンク関係から個々のリンク情報を抽出して主記
憶上のデータ管理領域に格納しておき、前記データベー
ス管理システムを介したリンク情報に関連する操作要求
に対して主記憶上のリンク情報を検索して提供する主記
憶演繹データベース管理システムとを備えたことを特徴
とするデータベース管理システム。
1. An object-oriented database for storing equipment of a system as objects and their attributes and link information between the objects, and an object request from a client relating to the attributes of the object, the object of which is stored in the database. A database management system to be processed; a link rule read from a schema definition common to the database management system; individual link information extracted from a link relationship between objects of the database; and stored in a data management area on a main storage. And a main storage deduction database management system for searching and providing link information on the main storage in response to an operation request related to the link information via the database management system.
【請求項2】 前記演繹データベース管理システムは、
主記憶上に格納するリンク情報として、オブジェクトの
属性で与えられる他のオブジェクトへの関連を2つの引
数に変換して管理することを特徴とする請求項1に記載
のデータベース管理システム。
2. The deduction database management system,
2. The database management system according to claim 1, wherein the link information stored in the main storage is managed by converting the relation to another object given by the attribute of the object into two arguments.
JP9016079A 1997-01-30 1997-01-30 System for managing database Pending JPH10214218A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9016079A JPH10214218A (en) 1997-01-30 1997-01-30 System for managing database

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9016079A JPH10214218A (en) 1997-01-30 1997-01-30 System for managing database

Publications (1)

Publication Number Publication Date
JPH10214218A true JPH10214218A (en) 1998-08-11

Family

ID=11906559

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9016079A Pending JPH10214218A (en) 1997-01-30 1997-01-30 System for managing database

Country Status (1)

Country Link
JP (1) JPH10214218A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012043456A (en) * 2002-07-26 2012-03-01 Ron Everett Data management architecture related to generic data item using reference
JP2014093809A (en) * 2012-11-01 2014-05-19 Hitachi Ltd Power system facility data model conversion method, power system facility data model conversion apparatus, and power system facility data model conversion program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012043456A (en) * 2002-07-26 2012-03-01 Ron Everett Data management architecture related to generic data item using reference
JP2014093809A (en) * 2012-11-01 2014-05-19 Hitachi Ltd Power system facility data model conversion method, power system facility data model conversion apparatus, and power system facility data model conversion program

Similar Documents

Publication Publication Date Title
US6728758B2 (en) Agent for performing process using service list, message distribution method using service list, and storage medium storing program for realizing agent
US5987453A (en) Method and apparatus for performing a join query in a database system
Sheng et al. A graph query language and its query processing
US7475058B2 (en) Method and system for providing a distributed querying and filtering system
US8326847B2 (en) Graph search system and method for querying loosely integrated data
KR100493882B1 (en) Query process method for searching xml data
US7440963B1 (en) Rewriting a query to use a set of materialized views and database objects
CN110362572A (en) A kind of time series database system based on column storage
JPH05334165A (en) Parallel data base processing system and its secondary key retrieving method
CN107943952A (en) A kind of implementation method that full-text search is carried out based on Spark frames
Park et al. Lineage encoding: an efficient wireless XML streaming supporting twig pattern queries
AU2019309856A1 (en) Structured record retrieval
Aiello et al. Web service indexing for efficient retrieval and composition
JPH10214218A (en) System for managing database
McHugh et al. Integrating dynamically-fetched external information into a DBMS for semistructured data
KR101972127B1 (en) Intelligent search system based on resource description framework triple data and intelligent search method using the same
Sumrall et al. Investigations on path indexing for graph databases
KR101010131B1 (en) Semantic indexer and method thereof, and mass semantic repository system using that
JP2008084113A (en) System and method for retrieving structured document, retrieval device, and structured document management device
US8166018B2 (en) Browsing a list of data items
JP2001067369A (en) Information retrieval system, information retrieval method and recording medium recording information retrieval probram
JPH10269225A (en) Data base dividing method
Shi-Kuo et al. Spatial/temporal query processing for information fusion applications
Sumalatha et al. Xml query processing–semantic cache system
Mukkamala et al. Improving database performance through query standardization