JPH04312142A - Object information control system - Google Patents

Object information control system

Info

Publication number
JPH04312142A
JPH04312142A JP3078906A JP7890691A JPH04312142A JP H04312142 A JPH04312142 A JP H04312142A JP 3078906 A JP3078906 A JP 3078906A JP 7890691 A JP7890691 A JP 7890691A JP H04312142 A JPH04312142 A JP H04312142A
Authority
JP
Japan
Prior art keywords
class
hierarchy
information
structural
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
JP3078906A
Other languages
Japanese (ja)
Inventor
Motoyoshi Okamoto
岡本 基良
Yoshihisa Udagawa
佳久 宇田川
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP3078906A priority Critical patent/JPH04312142A/en
Publication of JPH04312142A publication Critical patent/JPH04312142A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To attain the insertion and the change of the intermediate graphic information of a tree structure showing a hierarchical structure of the more-less significant relation without reconstructing the whole hierrarchical structure by providing a structural hierarchy control part in addition to a class hierarchy control part. CONSTITUTION:A more-less significant relation control part 5 is provided with a function which succeeds the attribute through a class hierarchy which points the objects by a class hierarchy control part 3. At the same time, an instance object hierarchy control part 4 attains an instance object enclosing hierarchical structure including a subject composite hierarchical structure in addition to a class hierarcy showing the more-less significant relation of classes. Thus it is possible to minimize the necessary change without changing nor reconstructing the whole partial tree of an object set at a less significant place when the change is applied to the intermediate unit information included in a tree structure showing a hierarchical structure of the more-less significant relation.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、オブジェクト情報管理
方式に関し、たとえば、地図、設計図などの階層的な図
形の意味情報を電子計算機上に格納し、これをCADな
どのアプリケーションプログラムを用いてグラフィック
ディスプレイ上に表示し、編集、検索を行なう図形情報
管理システムに新たなデータ格納方式を採用し、データ
構造の変更を容易にし、拡張性を高め、性能を向上させ
るものである。
[Industrial Field of Application] The present invention relates to an object information management system, for example, storing semantic information of hierarchical figures such as maps and blueprints on a computer and using an application program such as CAD. A new data storage method is adopted for a graphical information management system that displays, edits, and searches on a graphic display, making it easier to change the data structure, increasing scalability, and improving performance.

【0002】0002

【従来の技術】従来、個々の単位図形が情報を持ち、そ
の単位図形が階層構造をなしている複合的な情報構造を
表現するシステムとして例えば、Smalltalk−
80(梅村恭司著:Smalltalk−80入門、サ
イエンス社、昭和61年) に代表されるオブジェクト
指向プログラミングにおけるデータと手続きを統合した
オブジェクトの概念とオブジェクトのデータ型であるク
ラスに上位―下位の関係に基づいて階層関係を構築し、
上位のクラスで定義されたオブジェクトの構造と手続き
を下位のクラスに属するオブジェクトに遺伝させるクラ
ス階層継承機能を用いる手法があった。また、このオブ
ジェクトに上位―下位関係に基づいた対応づけを適用し
、上位クラスのデータ構造および手続きを下位のオブジ
ェクトに継承させる関連技術として例えば、特開昭61
−5344 号公報に示されたようなものがあった。こ
のような文献においてオブジェクト等の概念がすでに記
載されてはいるが、ここでは、以後、あるクラスのイン
スタンスをオブジェクトということにする。言い替える
と、あるクラスに属するオブジェクトをインスタンスと
いう。また、インスタンスとインスタンスオブジェクト
は、同じ意味であるものとする。
2. Description of the Related Art Conventionally, as a system for expressing a complex information structure in which each unit figure has information and the unit figures form a hierarchical structure, for example, Smalltalk-
80 (written by Kyoji Umemura: Introduction to Smalltalk-80, Science Publishing, 1986), the concept of an object integrates data and procedures in object-oriented programming, as typified by Build hierarchical relationships based on
There is a method that uses a class hierarchy inheritance function that inherits the structure and procedures of an object defined in a higher class to objects belonging to lower classes. In addition, as a related technology that applies a correspondence based on a superior-subordinate relationship to this object and inherits the data structure and procedure of a superior class to a subordinate object,
There was something like the one shown in Publication No.-5344. Although concepts such as objects have already been described in such documents, hereinafter an instance of a certain class will be referred to as an object. In other words, an object belonging to a certain class is called an instance. Furthermore, it is assumed that an instance and an instance object have the same meaning.

【0003】図7は、このようなオブジェクト指向のク
ラス階層継承機能によって実現される図形情報管理方式
を実現するソフトウェア構成を示す構成図であり、1は
上位のオブジェクトの構造を下位のオブジェクトに継承
させる構造遺伝制御部、2は上位クラスのオブジェクト
に定義された手続きを下位クラスのオブジェクトに継承
させる手続き遺伝制御部、3は構造遺伝制御部1および
手続き遺伝制御部2より構成されたクラス階層管理部、
5はクラス階層管理部3から構成される上位下位関係管
理部、6は複合的な図形情報を格納する図形情報格納部
である。
FIG. 7 is a block diagram showing a software configuration that realizes a graphical information management method realized by such an object-oriented class hierarchy inheritance function. 2 is a procedural genetic control unit that causes objects in lower classes to inherit procedures defined in objects of higher classes; 3 is a class hierarchy management consisting of structural genetic control unit 1 and procedural genetic control unit 2. Department,
Reference numeral 5 denotes an upper-lower relation management unit composed of the class hierarchy management unit 3, and 6 is a graphic information storage unit that stores complex graphic information.

【0004】次に動作について説明する。複合的な構造
を持っている図形をオブジェクト指向におけるオブジェ
クトとして扱い、上位―下位関係に基づいたクラス階層
による継承機能による取り扱いの実行はクラス階層管理
部3を用いて処理される。クラス階層による継承では、
上位のクラスで定義されたオブジェクトの構造を下位の
オブジェクトへ継承するための処理を構造遺伝制御部1
が実行し、上位のクラスで定義されたオブジェクトに関
して起動されるべき手続きを下位のクラスのオブジェク
トへ継承する処理を手続き遺伝制御部2が実行する。こ
れらの機能によって上位のクラスで記述されたオブジェ
クトの構造と手続きを下位のクラスで明示的に定義しな
くても上位―下位関係に基づいたクラス階層に従って自
動的にオブジェクトの構造と関連する手続きの定義、実
行が実現される。
Next, the operation will be explained. A figure having a complex structure is treated as an object-oriented object, and the class hierarchy management unit 3 is used to handle the figure using an inheritance function based on a class hierarchy based on a superior-lower relationship. Inheritance through class hierarchy
The structure genetic control unit 1 performs processing for inheriting the structure of an object defined in a higher-level class to a lower-level object.
The procedure genetic control unit 2 executes the process of inheriting a procedure to be executed for an object defined in a higher class to an object in a lower class. With these features, the object structure and related procedures are automatically defined according to the class hierarchy based on the superordinate-subordinate relationship, without having to explicitly define the object structure and procedures described in the superordinate class in the subordinate class. Definition and execution are realized.

【0005】たとえば、図8はクラス階層継承機能によ
る建築物のレイアウト図の実現の様子を示したものであ
る。オブジェクト指向によるクラス階層は一般に木構造
になる。図において、7はレイアウト図全体を表すクラ
スのオブジェクト、8は部屋を表すクラスのオブジェク
ト、9は部屋内設備を表すクラスのオブジェクト、10
は部屋内設備より下位に存在するクラス階層全体を表す
部分木である。ここで部屋内設備とは電源コンセント、
照明、水道設備など部屋内部の設備のことを言う。11
、12、13、14はクラス階層の上位―下位関係を示
し、クラスに属するオブジェクトの構造と手続きの継承
関係を実現するためのクラス階層リンク、15は廊下を
表すクラスのオブジェクト、16は部屋内設備のクラス
のオブジェクト、17は部屋内設備のクラスのオブジェ
クト16の下位に存在するクラス階層全体をを表す部分
木である。
For example, FIG. 8 shows how a layout diagram of a building is realized using the class hierarchy inheritance function. Object-oriented class hierarchies generally have a tree structure. In the figure, 7 is an object of a class that represents the entire layout diagram, 8 is an object of a class that represents a room, 9 is an object of a class that represents equipment in the room, and 10 is an object of a class that represents the entire layout diagram.
is a subtree representing the entire class hierarchy that exists below the room equipment. The in-room facilities here include power outlets,
Refers to the equipment inside the room, such as lighting and water supply equipment. 11
, 12, 13, and 14 indicate upper-lower relationships in the class hierarchy, and class hierarchy links to realize the inheritance relationship of structures and procedures of objects belonging to the class. 15 is a class object representing a corridor, and 16 is an object in a room. The equipment class object 17 is a subtree representing the entire class hierarchy that exists below the room equipment class object 16.

【0006】レイアウト図のクラスのオブジェクト7に
おいて、例えばグラフィックディスプレイ上に画面表示
するための位置情報と画面表示のための手続きを定義す
ると、その下位に存在する部屋のクラスのオブジェクト
8、部屋内設備のクラスのオブジェクト9、部屋内設備
のクラスの下位に存在する全てのクラス階層の部分木1
0には、上記の位置情報を格納するデータ構造と画面表
示のための手続きが自動的に遺伝する。これにより実際
のレイアウト図の構造をデータ構造にある程度反映する
ことができた。
[0006] In the object 7 of the layout diagram class, for example, when position information and screen display procedures for screen display on a graphic display are defined, the object 8 of the room class existing below it and the equipment in the room are defined. Object 9 of class 1, subtree 1 of all class hierarchies that exist under the class of room equipment
0 automatically inherits the data structure for storing the above location information and the procedure for screen display. This made it possible to reflect the structure of the actual layout diagram in the data structure to some extent.

【0007】[0007]

【発明が解決しようとする課題】以上のようなオブジェ
クト指向におけるクラス階層機能を用いた図形情報管理
方式では、実世界の実体を上位―下位関係に基づいて対
応づけ、上位の単位図形情報の性質をそのまま下位の単
位図形情報へ継承するので、同一の構造、手続きを冗長
に定義しなくてもよいが、上位―下位関係の階層が数段
以上の深いレベルにわたって構成される時には、階層関
係の途中のクラスに存在する単位図形情報の構造を変更
すると、当該単位図形情報に依存する、その下位に木構
造として存在するクラスの図形情報を全て検索して、そ
れら全てに対して変更を加えるという処理が発生し、デ
ータ構造の変更に対して柔軟に対応できないといった問
題があった。また、クラス階層継承機能では必ず上位の
クラスのオブジェクトの構造と手続きを継承するのでク
ラス階層の中間のあるクラスだけが上位のオブジェクト
の構造や手続きを無効にすることも不可能であった。さ
らに、部屋を表すクラスのオブジェクト8や廊下を表す
クラスのオブジェクト15のように中間のクラスが異な
ると、これらのクラス階層の下位では、部屋内設備のク
ラスのオブジェクト9と16が同じクラスであってもそ
れぞれ別々に部屋内設備のクラスのオブジェクト9と1
6を定義し、部屋8を表すクラスのオブジェクトや廊下
を表すクラスのオブジェクト15が同じクラスを共有す
ることはできないという欠点があった。
[Problem to be Solved by the Invention] In the graphic information management method using the class hierarchy function in object-oriented object orientation as described above, entities in the real world are associated based on upper-lower relationships, and the properties of the upper unit graphic information are is inherited as is to the lower unit figure information, so there is no need to redundantly define the same structure and procedure. When you change the structure of unit figure information existing in a class in the middle, all the figure information of the classes that depend on the unit figure information and exist as a tree structure below it are searched and changes are made to all of them. There was a problem that processing occurred and it was not possible to respond flexibly to changes in the data structure. Furthermore, since the class hierarchy inheritance function always inherits the structure and procedures of objects in higher-level classes, it is also impossible for a class in the middle of the class hierarchy to invalidate the structure and procedures of higher-level objects. Furthermore, if the intermediate classes are different, such as object 8 of the class representing a room and object 15 of the class representing a corridor, objects 9 and 16 of the room equipment class are of the same class at the bottom of these class hierarchies. Objects 9 and 1 of the class of room facilities, respectively.
6, the object of the class representing the room 8 and the object 15 of the class representing the corridor cannot share the same class.

【0008】本発明の目的は、上記のような問題を解決
するためになされたもので、上位―下位関係の階層構造
を示す木構造の中における中間の単位情報を変更した時
に、変更された中間の単位情報より下位に存在するオブ
ジェクトの部分木全体に対して修正を加えたり再構成す
ることなく、必要最小限の変更にとどめ、変更や挿入な
どの操作に対して柔軟なオブジェクト情報管理方式を提
供することにある。
The purpose of the present invention was to solve the above-mentioned problem, and when changing intermediate unit information in a tree structure showing a hierarchical structure of superior-subordinate relationships, An object information management method that is flexible for operations such as changes and insertions, keeping changes to the minimum necessary without modifying or reconfiguring the entire subtree of objects that exist below intermediate unit information. Our goal is to provide the following.

【0009】[0009]

【課題を解決するための手段】この発明に係るオブジェ
クト情報管理方式は、以下の要素を有するものである。 (a)クラスを持ち構造や手続き等の属性情報を有する
オブジェクトを格納するオブジェクト情報格納部、(b
)オブジェクトのクラスの上位―下位関係に基づきオブ
ジェクトの構造や手続き等の属性情報を上位から下位へ
遺伝させるクラス階層管理部、(c)インスタンスオブ
ジェクトの上位―下位関係に基づきインスタンスオブジ
ェクトの階層を管理するインスタンスオブジェクト管理
部。
[Means for Solving the Problems] The object information management system according to the present invention has the following elements. (a) An object information storage unit that stores objects that have classes and attribute information such as structures and procedures; (b)
) a class hierarchy management unit that inherits attribute information such as the structure and procedures of an object from a higher level to a lower level based on the upper-lower relationship of the object class; (c) manages the hierarchy of instance objects based on the higher-lower relationship of the instance object; Instance object management section.

【0010】0010

【作用】この発明におけるオブジェクト情報管理方式は
、クラス階層管理部により、オブジェクト指向のクラス
階層による属性継承の機能を有するとともに、インスタ
ンスオブジェクト階層管理部により、クラス間の上位―
下位関係であるクラス階層とは別に、対象とする複合的
な階層構造を有するインスタンスオブジェクトの包含階
層構造を、オブジェクト間の関係として実現する。この
ように、クラス間の上位―下位関係であるクラス階層と
は別に、対象とする複合的な階層構造を有するインスタ
ンスオブジェクトの包含階層構造を、オブジェクト間の
関係として実現するインスタンスオブジェクト管理部を
有することにより、従来のようにクラス階層継承機能に
基づく、上位オブジェクトの属性情報等の変更による下
位オブジェクトの検索、変更という処理とは関係ないイ
ンスタンスオブジェクトの上位―下位関係を構成できる
。また、インスタンスオブジェクト管理部の管理方式で
は、属性情報の継承機能がないので、従来例で説明した
、下位のクラスでは上位のクラスの属性情報の継承を無
効化できないというクラス階層継承機能の欠点や、さら
に、中間のクラスが異なるとクラス階層の下位で同じク
ラスを共有することは不可能であるという欠点も解消さ
れる。
[Operation] The object information management method according to the present invention has the function of attribute inheritance based on an object-oriented class hierarchy using the class hierarchy management unit, and the function of inheritance of attributes between classes using the instance object hierarchy management unit.
Apart from the class hierarchy, which is a subordinate relationship, an inclusive hierarchical structure of instance objects having a complex hierarchical structure is realized as a relationship between objects. In this way, in addition to the class hierarchy that is the upper-lower relationship between classes, there is an instance object management unit that realizes the inclusive hierarchical structure of instance objects having a target complex hierarchical structure as a relationship between objects. By doing so, it is possible to construct a superior-subordinate relationship of instance objects that is unrelated to the conventional process of searching and changing subordinate objects by changing the attribute information, etc. of superior objects, based on the class hierarchy inheritance function. In addition, the management method of the instance object management unit does not have an attribute information inheritance function, so there is a drawback of the class hierarchy inheritance function that a lower class cannot invalidate the inheritance of attribute information of a higher class, as explained in the conventional example. , Furthermore, the drawback that it is impossible to share the same class lower down in the class hierarchy if the intermediate classes are different is also eliminated.

【0011】[0011]

【実施例】実施例1.以下、この発明を実施例により説
明する。図1は本発明の一実施例である図形情報管理方
式を実現するソフトウェア構成図である。図1において
、1は上位クラスのオブジェクトの構造(属性情報の一
例)を下位クラスのオブジェクトに継承させる構造遺伝
制御部、2は上位クラスのオブジェクトに定義された手
続き(属性情報の一例)を下位クラスのオブジェクトに
継承させる手続き遺伝制御部、3は構造遺伝制御部1お
よび手続き遺伝制御部2より構成されたクラス階層管理
部、4はオブジェクトの上位―下位関係のうち、特に図
形の構造上の階層関係を管理する構造階層管理部(この
発明に係るインスタンスオブジェクト管理部の一例)、
5はクラス階層管理部3および構造階層管理部4から構
成される上位下位関係管理部、6は複合的な構造図形情
報を格納する図形情報格納部(オブジェクト情報格納部
の一例)である。
[Example] Example 1. This invention will be explained below with reference to Examples. FIG. 1 is a software configuration diagram that implements a graphic information management system according to an embodiment of the present invention. In Figure 1, 1 is a structure genetic control unit that inherits the structure (an example of attribute information) of an object in a higher class to an object in a lower class, and 2 is a structural genetic control unit that inherits the structure (an example of attribute information) of an object in a higher class. 3 is a class hierarchy management unit composed of a structural genetic control unit 1 and a procedural genetic control unit 2, and 4 is a procedural genetic control unit that is inherited by objects of the class. a structure hierarchy management unit that manages hierarchical relationships (an example of an instance object management unit according to the present invention);
Reference numeral 5 denotes an upper-lower relation management unit composed of a class hierarchy management unit 3 and a structure hierarchy management unit 4, and 6 a graphic information storage unit (an example of an object information storage unit) that stores complex structural graphic information.

【0012】また、この発明の実施例は図2に示すよう
なハードウェア構成を有するコンピュータシステム上に
実現される。図2において、18は演算を行なうCPU
 、19は主記憶装置、20はキーボード、21はグラ
フィックディスプレイ、22はマウスなどのポインティ
ングデバイス、23は二次記憶制御装置、24は二次記
憶装置である。
Further, an embodiment of the present invention is implemented on a computer system having a hardware configuration as shown in FIG. In FIG. 2, 18 is a CPU that performs calculations.
, 19 is a main storage device, 20 is a keyboard, 21 is a graphic display, 22 is a pointing device such as a mouse, 23 is a secondary storage control device, and 24 is a secondary storage device.

【0013】次に本発明の動作について説明する。複合
的な構造を有する構造図形情報はオブジェクト指向にお
けるオブジェクトとして上位―下位関係に基づいたクラ
ス階層による継承機能をもちいてクラス階層管理部3を
用いて処理される。クラス階層による継承は、上位のク
ラスで定義されたオブジェクトの構造の継承を構造遺伝
制御部1が処理し、上位のクラスで定義されたオブジェ
クトに関する手続きを下位のクラスのオブジェクトへ継
承する処理は手続き遺伝制御部2が実行する。これに加
えて、図形上の包含階層構造はクラス階層とは別に構造
階層管理部4によって処理される。構造階層管理部4は
図形上の階層構造においての親子関係を記述し、オブジ
ェクト相互間の参照関係の双方向リンクを実現している
。構造階層管理部4は上位の構造階層のオブジェクトの
構造や手続きを下位の階層構造のオブジェクトに遺伝す
ることをしない。
Next, the operation of the present invention will be explained. Structural graphic information having a complex structure is processed as an object-oriented object using the class hierarchy management unit 3 using an inheritance function based on a class hierarchy based on a superior-lower relationship. In inheritance through class hierarchy, the structure genetic control unit 1 handles the inheritance of the structure of objects defined in a higher class, and the process of inheriting procedures related to objects defined in a higher class to objects in lower classes is a procedure. The genetic control unit 2 executes this. In addition, the graphical inclusion hierarchical structure is processed by the structural hierarchy management unit 4 separately from the class hierarchy. The structure hierarchy management unit 4 describes parent-child relationships in a graphical hierarchical structure, and realizes bidirectional links of reference relationships between objects. The structural hierarchy management unit 4 does not inherit the structure or procedure of an object in an upper structural hierarchy to an object in a lower hierarchical structure.

【0014】図3は、本発明を実現するための単位図形
情報のデータ構造を示している。単位図形情報は、オブ
ジェクトとして図形情報格納部6に格納されるものであ
り、図において、29はオブジェクトの図形本来の情報
を示す図形情報、30は図形に付随する属性を示す属性
情報、31はクラス階層関係をしめすクラス階層情報、
32はオブジェクトに関する図形上の構造階層を示す構
造階層情報である。クラス階層情報30はクラス階層に
よる継承機能を実現するためにクラス階層管理部3によ
って参照、管理される。構造階層情報は構造階層上の上
位のオブジェクトと下位のオブジェクトへの双方向リン
クで構成され、下位のオブジェクトについては複数のオ
ブジェクトに対してリンクを保持可能であり、構造階層
管理部4によって参照、管理される。構造階層管理部4
は、上記オブジェクトに関する図形上の構造階層を示す
構造階層情報32を管理することにより、クラス階層情
報31とは関係なく、図形上の構造階層の関係を管理す
ることができ、従来の属性継承機能にかかわりなく自由
にオブジェクトに対してリンクを張ることができる。
FIG. 3 shows the data structure of unit graphic information for realizing the present invention. The unit figure information is stored as an object in the figure information storage unit 6, and in the figure, 29 is figure information indicating the original information of the figure of the object, 30 is attribute information indicating attributes attached to the figure, and 31 is figure information indicating the original information of the figure of the object. Class hierarchy information showing class hierarchy relationships,
32 is structural hierarchy information indicating a graphical structural hierarchy regarding the object. The class hierarchy information 30 is referenced and managed by the class hierarchy management section 3 in order to realize the inheritance function by the class hierarchy. The structural hierarchy information is composed of bidirectional links between upper objects and lower objects on the structural hierarchy, and lower objects can hold links to multiple objects, and are referred to by the structural hierarchy management unit 4. managed. Structure hierarchy management section 4
By managing the structural hierarchy information 32 indicating the structural hierarchy on the graphic related to the above-mentioned object, it is possible to manage the relationship of the structural hierarchy on the graphic, regardless of the class hierarchy information 31, and the conventional attribute inheritance function You can freely create links to objects regardless of the

【0015】図4は本発明によって実現された建築物の
レイアウト図の階層構造に新たなオブジェクトを挿入す
る処理に関するフローチャートである。オブジェクト挿
入の手順はまず挿入オブジェクトに構造階層上の上位の
オブジェクトがあるかどうかを調べ33、上位オブジェ
クトが存在するならば挿入オブジェクトと上位オブジェ
クト間に構造階層リンクを設定する34。次に挿入オブ
ジェクトに下位のオブジェクトが存在するかどうかを調
べ35、存在するならばそのうちの一つと挿入オブジェ
クトとの間に構造階層リンクを設定し36、構造階層リ
ンクを設定していない下位のオブジェクトが存在するう
ちは36を繰り返し、全てに構造階層リンクを設定し終
ったら処理を終了する37。
FIG. 4 is a flowchart relating to the process of inserting a new object into the hierarchical structure of a building layout diagram, which is realized by the present invention. The procedure for inserting an object is to first check 33 whether the inserted object has an upper object on the structural hierarchy, and if there is an upper object, set a structural hierarchy link between the inserted object and the upper object 34. Next, it is checked whether there are any subordinate objects to the inserted object (35), and if so, a structural hierarchical link is set between one of them and the inserted object (36), and any subordinate object for which no structural hierarchical link is set is set. Repeat step 36 as long as there are any files, and end the process 37 when structural hierarchical links have been set for all.

【0016】次に、構造階層管理部4の具体的管理状況
を説明する。図5は、本発明による建築物のレイアウト
図の構造階層の実現を示したものである。従来例で説明
した図8は、クラス階層管理部3により形成されたクラ
ス階層のリンクの図であったが、図5は、構造階層管理
部4によりの形成された構造階層のリンクの図である。 図において、7はレイアウト図全体を表すオブジェクト
、8は部屋を表すオブジェクト、9は部屋内設備を表す
オブジェクト、10は部屋内設備より下位に存在する階
層全体を表す部分木である。ここで、部屋内設備とは電
源コンセント、照明、水道設備など部屋内部の設備のこ
とを言う。15は廊下を表すオブジェクト、25、26
、27、28はオブジェクト相互間の構造階層における
親子関係を示す構造階層リンクである。本発明では、レ
イアウト図の中に部屋の記述が存在し、さらに部屋の中
にコンセントなどの部屋内設備が存在するといったレイ
アウト図の建築物としての構成要素の構造上の階層を、
レイアウト図のオブジェクト7と部屋のオブジェクト8
を構造階層リンク25を張り、部屋のオブジェクト8と
部屋内設備のオブジェクト9の間に構造階層リンク26
を張ることで実現する。部屋内設備9の下位に存在する
階層の部分木全体10の内部も頂点はオブジェクトであ
り、辺は構造階層リンクで構成される。ここで、新たに
廊下をレイアウト図中に挿入したいとき、廊下もレイア
ウト図内の構成要素であり、かつコンセントなどの部屋
内設備を有している部屋と同格の構成要素である。 これを構造階層を用いて実現するためには新たに廊下を
定義してそのオブジェクト15をレイアウト図のオブジ
ェクト7と部屋内設備のオブジェクト9との間に2本の
構造階層リンク27、28をそれぞれ張るだけで済むこ
とになる。この際、部屋内設備オブジェクト以下の構造
階層の部分木内部には全く変更、検索などの操作をする
ことはない。また、廊下、部屋共に部屋内設備以下の構
造階層の中で同じクラスのオブジェクトを使うことが可
能になる。
Next, the concrete management status of the structure hierarchy management section 4 will be explained. FIG. 5 shows the realization of a structural hierarchy of a building layout diagram according to the present invention. Although FIG. 8 described in the conventional example is a diagram of class hierarchy links formed by the class hierarchy management unit 3, FIG. 5 is a diagram of structural hierarchy links formed by the structure hierarchy management unit 4. be. In the figure, 7 is an object representing the entire layout diagram, 8 is an object representing a room, 9 is an object representing in-room equipment, and 10 is a subtree representing the entire hierarchy below the in-room equipment. Here, the in-room equipment refers to the equipment inside the room, such as power outlets, lighting, and water equipment. 15 is an object representing a corridor, 25, 26
, 27, and 28 are structural hierarchical links indicating parent-child relationships in the structural hierarchy between objects. In the present invention, the structural hierarchy of the structural elements of a building in a layout diagram, such as a description of a room in the layout diagram and the presence of in-room equipment such as an outlet in the room, is
Layout diagram object 7 and room object 8
A structural hierarchical link 25 is created, and a structural hierarchical link 26 is created between the room object 8 and the room equipment object 9.
This is achieved by stretching the . The vertices of the entire subtree 10 of the hierarchy below the room equipment 9 are objects, and the edges are composed of structural hierarchical links. Here, when it is desired to newly insert a hallway into the layout diagram, the hallway is also a component in the layout diagram, and is a component on the same level as a room that has in-room equipment such as an outlet. To achieve this using a structural hierarchy, define a new corridor and create two structural hierarchy links 27 and 28 between the object 15 of the layout diagram and the object 9 of the room equipment. All you have to do is tighten it. At this time, no operations such as changes or searches are performed within the subtree in the structural hierarchy below the room equipment object. In addition, it becomes possible to use objects of the same class in the structural hierarchy below the room equipment for both hallways and rooms.

【0017】実施例2.この実施例2では、階層構造の
深さのレベルを変えるような階層の変更に対する本発明
の処理について図を用いて説明する。図6は図5で示し
たレイアウト図にフロア毎レイアウト図という既存のい
ずれのオブジェクトとも同格ではないクラスのオブジェ
クトを構造階層内に取り込む例を示している。図におい
て7はレイアウト図全体を表すオブジェクト、8は部屋
を表すオブジェクト、9は部屋内設備のオブジェクト、
10は9の下位に存在する構造階層の全体を表す部分木
、25、26は構造階層リンク、38はフロア毎レイア
ウト図のオブジェクト、39、40は38を挿入するた
めの構造階層リンクである。
Example 2. In this second embodiment, a process of the present invention for changing a hierarchy, such as changing the depth level of a hierarchical structure, will be explained using figures. FIG. 6 shows an example in which an object of a class called a floor-by-floor layout diagram, which is not equivalent to any existing object, is incorporated into the structure hierarchy in the layout diagram shown in FIG. 5. In the figure, 7 is an object representing the entire layout diagram, 8 is an object representing a room, 9 is an object representing equipment in the room,
10 is a subtree representing the entire structural hierarchy existing below 9, 25 and 26 are structural hierarchical links, 38 is an object of a layout diagram for each floor, and 39 and 40 are structural hierarchical links for inserting 38.

【0018】図6において、フロア毎レイアウト図38
を構造階層内に挿入する際にはレイアウト図のオブジェ
クト7と部屋オブジェクト8との間にそれぞれ階層構造
リンク39、40を新たに張り、階層構造リンク25を
削除することにより実現される。この場合も階層構造リ
ンクの張りかえのみ実行すれば良くクラス構造の変更を
行なう必要は全くない。
In FIG. 6, the floor-by-floor layout diagram 38
When inserting into the structural hierarchy, this is achieved by newly extending the hierarchical structure links 39 and 40 between the object 7 and the room object 8 in the layout diagram, respectively, and deleting the hierarchical structure link 25. In this case as well, it is only necessary to replace the hierarchical structure links, and there is no need to change the class structure.

【0019】以上、上記二つの実施例では、属性情報を
有する部分図形を中心に構成される、複合的な構造図形
情報を扱うために、図形情報格納部6を有し、単位構成
図形をオブジェクトとして、そのクラスの上位―下位関
係に基づきオブジェクトの構造を上位から下位へ遺伝さ
せる構造遺伝制御部1とオブジェクトに関する手続きを
上位から下位に遺伝させる手続き遺伝制御部2からなる
クラス階層管理部3と、単位構成図形の図形構造上の階
層関係を管理する構造階層管理部4とから構成される上
位下位関係管理部5を備えた図形情報管理方式を説明し
た。
As described above, in the above two embodiments, in order to handle complex structural figure information composed mainly of partial figures having attribute information, the figure information storage section 6 is provided, and unit constituent figures are stored as objects. , a class hierarchy management unit 3 consisting of a structural genetic control unit 1 that inherits the structure of an object from the upper level to the lower level based on the upper-lower relationship of the class, and a procedural genetic control unit 2 that inherits the procedure related to the object from the upper level to the lower level; , a graphic information management system including a structure hierarchy management unit 4 that manages hierarchical relationships in the graphic structure of unit configuration graphics and an upper-lower relationship management unit 5 has been described.

【0020】このように、本発明の実施例である図形情
報管理方式は、複合的な構造図形情報を取り扱う際に図
形上の包含階層関係をオブジェクト指向によるクラス階
層継承機能のみを用いるのではなく、構造階層管理部4
を設けることによってクラス階層の実現と複合的な構造
図形の包含階層構造の実現を分離し、包含階層構造の木
構造に対するクラスの変更、挿入などの操作に柔軟に対
応可能にするものである。
As described above, the graphical information management method according to the embodiment of the present invention handles complex structural graphical information by not only using the object-oriented class hierarchy inheritance function to determine the inclusive hierarchical relationship on the graphical structure. , structure hierarchy management section 4
By providing this, the implementation of the class hierarchy and the implementation of the inclusive hierarchical structure of complex structural figures are separated, and operations such as changing and inserting classes to the tree structure of the inclusive hierarchical structure can be handled flexibly.

【0021】なお、上記実施例では、図形情報管理方式
の場合を例にして説明したが、図形情報管理方式に限る
ものではなく、他のオブジェクト情報管理方式であって
も良い。したがって、上記実施例の場合の構造階層管理
部4は、インスタンスオブジェクトの上位―下位関係に
基づきインスタンスオブジェクトの階層関係を管理する
インスタンスオブジェクト管理部の一例であり、構造情
報はインスタンスオブジェクトの一例である。
[0021] In the above embodiment, the graphic information management method was explained as an example, but the present invention is not limited to the graphic information management method, and other object information management methods may be used. Therefore, the structure hierarchy management section 4 in the above embodiment is an example of an instance object management section that manages the hierarchical relationship of instance objects based on the superior-subordinate relationship of instance objects, and the structure information is an example of instance objects. .

【0022】[0022]

【発明の効果】以上のように、本発明によれば上位―下
位関係の階層構造を示す木構造の中における中間の単位
情報を変更した時に、変更された中間の単位情報より下
位に存在するオブジェクトの部分木全体に対して修正を
加えたり再構成することなく必要最小限の変更にとどめ
、変更や挿入などの操作に対して柔軟なオブジェクト情
報管理方式を提供することが可能となる。
[Effects of the Invention] As described above, according to the present invention, when intermediate unit information in a tree structure showing a hierarchical structure of superior-lower relationships is changed, information on intermediate units that exist below the changed intermediate unit information is It is possible to provide a flexible object information management method for operations such as changes and insertions by making only the minimum necessary changes without modifying or reconfiguring the entire subtree of an object.

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

【図1】本発明の一実施例による図形情報管理方式を実
現するに必要な制御部と管理部と格納部の構成を示すブ
ロック図。
FIG. 1 is a block diagram showing the configuration of a control section, a management section, and a storage section necessary for realizing a graphic information management system according to an embodiment of the present invention.

【図2】本発明の適用される図形情報管理方式のハード
ウェア構成を示すブロック図。
FIG. 2 is a block diagram showing the hardware configuration of a graphic information management system to which the present invention is applied.

【図3】本発明を実現するに必要なデータ構造を示す説
明図。
FIG. 3 is an explanatory diagram showing a data structure necessary to implement the present invention.

【図4】本発明の実施例の処理フローを示すフローチャ
ート図。
FIG. 4 is a flowchart showing the processing flow of the embodiment of the present invention.

【図5】本発明による一実施例における建築物のレイア
ウト図の構造階層の実現を示す説明図。
FIG. 5 is an explanatory diagram showing the realization of a structural hierarchy of a building layout diagram in an embodiment according to the present invention.

【図6】本発明による他の実施例における建築物のレイ
アウト図の構造階層の実現を示す説明図  。
FIG. 6 is an explanatory diagram showing realization of a structural hierarchy of a building layout diagram in another embodiment according to the present invention.

【図7】従来技術における図形情報管理方式に必要な制
御部と管理部と格納部の構成を示すブロック図。
FIG. 7 is a block diagram showing the configuration of a control unit, a management unit, and a storage unit necessary for a graphic information management method in the prior art.

【図8】従来技術の実施例における建築物のレイアウト
図のクラス階層継承機能による実現を説明した説明図。
FIG. 8 is an explanatory diagram illustrating realization of a building layout diagram using a class hierarchy inheritance function in an embodiment of the prior art.

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

1  構造遺伝制御部 2  手続き遺伝制御部 3  クラス階層管理部 4  構造階層管理部(インスタンスオブジェクト管理
部の一例) 5  上位下位関係管理部
1 Structural genetic control unit 2 Procedural genetic control unit 3 Class hierarchy management unit 4 Structural hierarchy management unit (an example of an instance object management unit) 5 Upper-lower relationship management unit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  以下の要素を有するオブジェクト情報
管理方式 (a)クラスを持ち構造や手続き等の属性情報を有する
オブジェクトを格納するオブジェクト情報格納部、(b
)オブジェクトのクラスの上位―下位関係に基づきオブ
ジェクトの属性情報を上位から下位へ遺伝させるクラス
階層管理部、(c)インスタンスオブジェクトの上位―
下位関係に基づきインスタンスオブジェクトの階層を管
理するインスタンスオブジェクト階層管理部。
Claim 1: An object information management system having the following elements: (a) an object information storage unit that stores objects that have classes and have attribute information such as structure and procedures; (b)
) A class hierarchy management unit that inherits the attribute information of an object from the upper level to the lower level based on the upper-lower relationship of the object class; (c) The upper level of the instance object.
An instance object hierarchy management unit that manages a hierarchy of instance objects based on subordinate relationships.
JP3078906A 1991-04-11 1991-04-11 Object information control system Pending JPH04312142A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3078906A JPH04312142A (en) 1991-04-11 1991-04-11 Object information control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3078906A JPH04312142A (en) 1991-04-11 1991-04-11 Object information control system

Publications (1)

Publication Number Publication Date
JPH04312142A true JPH04312142A (en) 1992-11-04

Family

ID=13674876

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3078906A Pending JPH04312142A (en) 1991-04-11 1991-04-11 Object information control system

Country Status (1)

Country Link
JP (1) JPH04312142A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0934712A (en) * 1995-07-20 1997-02-07 Nri & Ncc Co Ltd Map information system developing device by means of object orientated programming and method therefor
US11669541B2 (en) 2019-07-29 2023-06-06 Riken Data interpretation apparatus, method, and program, data integration apparatus, method, and program, and digital city establishing system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0934712A (en) * 1995-07-20 1997-02-07 Nri & Ncc Co Ltd Map information system developing device by means of object orientated programming and method therefor
US11669541B2 (en) 2019-07-29 2023-06-06 Riken Data interpretation apparatus, method, and program, data integration apparatus, method, and program, and digital city establishing system

Similar Documents

Publication Publication Date Title
Bartram et al. The continuous zoom: A constrained fisheye technique for viewing and navigating large information spaces
Barth An object-oriented approach to graphical interfaces
Jeong et al. Reconfigurable disc trees for visualizing large hierarchical information space
US6915301B2 (en) Dynamic object properties
CA2884365C (en) Graphically representing programming attributes
US20040205726A1 (en) System and method for computer-aided graph-based dependency analysis
EP0982669A2 (en) Property based context portals
Marshall et al. An object‐oriented design for graph visualization
AU4471499A (en) Dynamic object visualization and code generation
Bracken et al. Towards a typology of geographical information systems
CN106202490A (en) A kind of SolrCloud configuration file amending method, Apparatus and system
JP2000507731A (en) System for converting visual display object files and method of operation thereof
Brandes et al. Sketch-driven orthogonal graph drawing
Lipp et al. Local editing of procedural models
Garrett et al. An object-oriented environment for representing building design and construction data
CN111078782B (en) Industrial big data visualization system and method
JPH04312142A (en) Object information control system
US20040117749A1 (en) System and method based on an object-oriented software design framework for displaying constrained graphical layouts
Castelló A framework for the static and interactive visualization of statecharts.
Chung et al. An object-oriented approach for handling topology in VPF products
Shah et al. Investigation of declarative feature modeling
Kamiura et al. Spatial views and LOD-based access control in VRML-object databases
Cruz et al. Implementation of a constraint-based visualization system
Isdale et al. An object-oriented modelling framework for geographic information.
KR100284585B1 (en) Feature Layer Management System of Feature-based Geographic Information System and Its Method