JPH06282437A - Access system for object attribute - Google Patents

Access system for object attribute

Info

Publication number
JPH06282437A
JPH06282437A JP5071515A JP7151593A JPH06282437A JP H06282437 A JPH06282437 A JP H06282437A JP 5071515 A JP5071515 A JP 5071515A JP 7151593 A JP7151593 A JP 7151593A JP H06282437 A JPH06282437 A JP H06282437A
Authority
JP
Japan
Prior art keywords
attribute
index
conversion
rule
value
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
JP5071515A
Other languages
Japanese (ja)
Inventor
Hideo Ohata
秀雄 大畑
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP5071515A priority Critical patent/JPH06282437A/en
Publication of JPH06282437A publication Critical patent/JPH06282437A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To obtain the efficient access system for object attributes which can obtain attribute values by referring to indexes by recording an index based upon actual arrangement information found for the 1st time in an index conversion table when the same attribute is accessed for the 2nd and succeeding times. CONSTITUTION:When, specially, the attribute value of an object is referred to, an object operation rule execution process part 106 obtains the target attribute value by referring to the indexes based on the conversion index on condition that the conversion index of the target attribute is already registered in the object attribute index conversion table 105. When the conversion index is not registered, on the other hand, a storage area for attribute data is retrieved to obtain the attribute value and the conversion index which is found by the retrieval is registered in the conversion table 105. Consequently, even if relative arrangement information in the storage area for the attribute data can not be determined in advance, the object attribute can efficiently be accessed.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、オブジェクト操作プロ
グラムの実行時に、オブジェクトの属性値を効率的にア
クセスする方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for efficiently accessing an attribute value of an object when executing an object operation program.

【0002】[0002]

【従来の技術】数多くの属性データをもつオブジェクト
を、その属性値の状態に応じて処理しようとするとき、
必要な属性値を効率的にアクセスする工夫が必要にな
る。処理論理の記述を簡便化しようとして、プロダクシ
ョンシステムのIF-THENルール表現形式を採用し
た場合、属性の参照回数が組合せ的に増加するため、と
くにそうした工夫は重要である。そのための一般的手法
のひとつに、記憶域上での属性データの相対的配置情報
を利用して、ソース形式のプログラムが属性名で属性値
を参照している箇所を、インデックス参照に変換すると
いう方法がある。アーティフィシャル・インテリジェン
ス、第19巻(1982年)第17頁から第37頁(A
rtificial Intelligence, V
ol.19(1982), pp.17−37)に記載
されているプロダクションシステムの高速化アルゴリズ
ムでも、実現手法の一部としてこの方法を採用してい
る。
2. Description of the Related Art When an object having a lot of attribute data is to be processed according to the state of its attribute value,
It is necessary to devise a way to efficiently access the required attribute values. When the IF-THEN rule expression format of the production system is adopted in order to simplify the description of the processing logic, the number of reference times of attributes increases in a combinatorial manner, and such a device is particularly important. One of the common methods to do this is to use the relative location information of the attribute data in the storage area and convert the location where the source format program refers to the attribute value by the attribute name to the index reference. There is a way. Artificial Intelligence, Volume 19 (1982) pp. 17-37 (A
rificial Intelligence, V
ol. 19 (1982), pp. The production system speed-up algorithm described in 17-37) also employs this method as part of the implementation method.

【0003】[0003]

【発明が解決しようとする課題】上記従来技術は、プロ
グラムの変換時点に、オブジェクト属性データの記憶域
上での相対的配置情報が確定することが前提になってい
る。しかしながら、計算機ネットワークによる資源共用
が進む中で、ユーザが各自で属性定義に変更を加えたオ
ブジェクトを交換し合うなど、上記前提が成り立たない
状況も増えつつある。
The above-mentioned conventional technique is premised on that the relative arrangement information in the storage area of the object attribute data is fixed at the time of conversion of the program. However, as resources are being shared by computer networks, there are increasing situations in which the above assumptions are not met, such as users exchanging objects whose attribute definitions have been changed by themselves.

【0004】本発明の目的は、属性データの記憶域上で
の相対的配置情報を事前に確定できない場合にも対応で
きる、オブジェクト属性の効率的なアクセス方式を提供
することにある。
An object of the present invention is to provide an efficient access method for object attributes, which can cope with the case where the relative arrangement information of the attribute data in the storage area cannot be determined in advance.

【0005】[0005]

【課題を解決するための手段】上記目的を達成するため
に、プログラムの変換時点では、属性データの想定配置
情報をもとにインデックス参照する形式に変換し、プロ
グラムの実行処理時には、想定配置情報にもとづくイン
デックスと、実配置情報にもとづく変換インデックスの
対応を記録するインデックス変換テーブルをオブジェク
トごとに作成して利用する。オブジェクトの特定属性の
値を参照する場合、インデックス変換テーブルに該当属
性の変換インデックスが登録済みであれば、その変換イ
ンデックスを使ってインデックス参照し求める属性値を
取得する。変換インデックスが未登録であれば、属性デ
ータの記憶域を検索して属性値を取得し、検索により判
明した変換インデックスをインデックス変換テーブルに
登録する。
In order to achieve the above object, at the time of conversion of a program, conversion is made into a format in which an index is referred to based on assumed allocation information of attribute data, and during execution processing of the program, expected allocation information is converted. An index conversion table that records the correspondence between the index based on the table and the conversion index based on the actual arrangement information is created and used for each object. When referring to the value of a specific attribute of an object, if the conversion index of the corresponding attribute is already registered in the index conversion table, the conversion index is used to acquire the desired attribute value. If the conversion index is not registered, the storage area of the attribute data is searched to acquire the attribute value, and the conversion index found by the search is registered in the index conversion table.

【0006】[0006]

【作用】オブジェクトの属性を初めてアクセスするとき
は、属性データの配置情報が不確定であるので、検索に
より属性値を取得する。同じ属性の2回目以降のアクセ
スでは、初回で判明した実配置情報にもとづくインデッ
クスがインデックス変換テーブルに記録されているの
で、インデックス参照で属性値を取得できる。
When the attribute of the object is accessed for the first time, since the arrangement information of the attribute data is uncertain, the attribute value is obtained by the search. In the second and subsequent accesses of the same attribute, since the index based on the actual arrangement information found at the first time is recorded in the index conversion table, the attribute value can be acquired by referring to the index.

【0007】[0007]

【実施例】以下、本発明の実施例を図面により詳細に説
明する。図2は、本発明の一実施例のシステム構成図で
ある。204は、ソース形式および実行時形式のオブジ
ェクト操作プログラムあるいはオブジェクト操作ルール
や、オブジェクト、作業用テーブル、各種プログラムな
どを記憶する記憶装置である。203は、オブジェクト
操作プログラムあるいはオブジェクト操作ルールの変換
処理および実行処理や、各種プログラムの実行処理など
を行う処理装置である。202は、ソース形式のオブジ
ェクト操作プログラムあるいはオブジェクト操作ルール
や、オブジェクトの定義情報と属性値、各種プログラム
への入力データなどを入力する入力装置である。201
は、各種プログラムの処理結果などを表示する表示装置
である。205と206は、それぞれ他の計算装置との
間でオブジェクトを通信し合う通信装置と通信回線であ
る。
Embodiments of the present invention will now be described in detail with reference to the drawings. FIG. 2 is a system configuration diagram of an embodiment of the present invention. Reference numeral 204 denotes a storage device that stores object operation programs or object operation rules in source and runtime formats, objects, work tables, and various programs. A processing device 203 performs conversion processing and execution processing of an object operation program or object operation rule, execution processing of various programs, and the like. Reference numeral 202 denotes an input device for inputting a source format object operation program or object operation rule, object definition information and attribute values, input data to various programs, and the like. 201
Is a display device that displays processing results of various programs. 205 and 206 are communication devices and communication lines for communicating objects with other computing devices, respectively.

【0008】図1は、本発明の一実施例のブロック図で
ある。ソース形式オブジェクト操作ルール記憶部101
は、オブジェクトの属性値に関する条件を記述したIF
部と、IF部条件が成立した場合に実行すべきコマンド
を記述したTHEN部とからなるオブジェクト操作ルー
ルのソース形式を記憶する。オブジェクト属性インデッ
クス情報102は、記憶域上での想定配置に対応したオ
ブジェクトの各属性データのインデックス情報である。
オブジェクト操作ルール変換処理部103は、オブジェ
クト操作ルールの表現形式をソース形式から実行時形式
に変換する。とくに、オブジェクト属性インデックス情
報102を利用して、属性名によるオブジェクト属性値
の参照を、インデックス参照する形式に変換する。実行
時形式オブジェクト操作ルール記憶部104は、オブジ
ェクト操作ルール変換処理部103の処理結果であるオ
ブジェクト操作ルールの実行時形式を記憶する。
FIG. 1 is a block diagram of an embodiment of the present invention. Source format object operation rule storage unit 101
Is an IF that describes the conditions related to the attribute value of the object.
Section, and the THEN section in which a command to be executed when the IF section condition is satisfied is described, and the source format of the object operation rule is stored. The object attribute index information 102 is index information of each attribute data of the object corresponding to the assumed arrangement in the storage area.
The object operation rule conversion processing unit 103 converts the expression format of the object operation rule from the source format to the runtime format. In particular, the object attribute index information 102 is used to convert the reference of the object attribute value by the attribute name into the index reference format. The runtime format object operation rule storage unit 104 stores the runtime format of the object operation rule, which is the processing result of the object operation rule conversion processing unit 103.

【0009】オブジェクト属性インデックス変換テーブ
ル105は、オブジェクトごとに、オブジェクト属性イ
ンデックス情報102から得た各属性データのインデッ
クスと、記憶域上での実配置情報から定められた変換イ
ンデックスの対応関係を記録する。オブジェクト操作ル
ール実行処理部106は、実行時形式オブジェクト操作
ルール記憶部104に記憶されているルールのIF部条
件を、オブジェクト記憶部107に記憶されているオブ
ジェクトの属性値と照合して、条件が成立したルールの
THEN部コマンドを実行する。とくにオブジェクトの
属性値を参照する場合は、オブジェクト属性インデック
ス変換テーブル105に求める属性の変換インデックス
が登録済みであれば、変換インデックスをもとにインデ
ックス参照して求める属性値を取得する。また変換イン
デックスが未登録であれば、属性データの記憶域を検索
して属性値を取得し、検索により判明した変換インデッ
クスをオブジェクト属性インデックス変換テーブル10
5に登録する。
The object attribute index conversion table 105 records, for each object, the correspondence between the index of each attribute data obtained from the object attribute index information 102 and the conversion index determined from the actual arrangement information on the storage area. . The object operation rule execution processing unit 106 collates the IF section condition of the rule stored in the runtime format object operation rule storage unit 104 with the attribute value of the object stored in the object storage unit 107, and determines that the condition is Execute the THEN command of the established rule. Particularly when referring to the attribute value of the object, if the conversion index of the attribute to be acquired in the object attribute index conversion table 105 is already registered, the acquired attribute value is acquired by referring to the index based on the conversion index. If the conversion index is not registered, the attribute data storage area is searched to acquire the attribute value, and the conversion index found by the search is set to the object attribute index conversion table 10.
Register to 5.

【0010】オブジェクト記憶部107は、オブジェク
トを記憶する。オブジェクト操作処理部108は、オブ
ジェクト記憶部107に格納されるオブジェクトに関す
る操作処理を行う。オブジェクト通信処理部109は、
他の計算装置から送られてくるオブジェクトを受信して
オブジェクト記憶部107に格納したり、他の計算装置
にオブジェクトを送信する処理を行う。
The object storage unit 107 stores objects. The object operation processing unit 108 performs an operation process regarding an object stored in the object storage unit 107. The object communication processing unit 109
A process of receiving an object sent from another computing device and storing it in the object storage unit 107, or sending an object to another computing device is performed.

【0011】図3は、オブジェクト操作ルールのソース
形式を示す図である。図中で例示したルールの意味は、
「オブジェクトクラスが通信文書であり、キーワード属
性がプロジェクトAであり、状態属性が受信であるオブ
ジェクトがオブジェクト記憶部107中にあり、かつ、
オブジェクトクラスがプロジェクト情報であり、プロジ
ェクト名属性がプロジェクトAであるオブジェクトがオ
ブジェクト記憶部107中にあり、かつ、上記通信文書
クラスのオブジェクトの発信者属性と、上記プロジェク
ト情報クラスのオブジェクトのプロジェクト員属性の要
素が一致するとき、上記通信文書クラスのオブジェクト
を画面に表示し、警告音を発生する」である。
FIG. 3 is a diagram showing the source format of the object operation rule. The meaning of the rule illustrated in the figure is
“There is an object whose object class is a communication document, whose keyword attribute is project A, and whose status attribute is receive in the object storage unit 107, and
An object whose object class is project information and whose project name attribute is project A exists in the object storage unit 107, and the sender attribute of the object of the above communication document class and the project member attribute of the object of the above project information class. When the elements of are matched, an object of the above communication document class is displayed on the screen and a warning sound is generated. "

【0012】図4は、オブジェクト操作ルールの変換処
理時に使用するオブジェクト属性名テーブルの構成を例
示する図である。図中の例は、通信文書オブジェクトク
ラスに対応するものである。通信文書クラスの属性に
は、class、タイトル、発信者、発信年月日、キーワー
ド、状態があり、同クラスに属するインスタンスオブジ
ェクトは、属性データを以上の順で記憶域に配置するこ
とを表す。
FIG. 4 is a diagram showing an example of the structure of an object attribute name table used in the conversion process of the object operation rule. The example in the figure corresponds to the communication document object class. The attributes of the communication document class include class, title, sender, date of transmission, keyword, and status, and an instance object belonging to the same class indicates that attribute data is arranged in the storage area in the above order.

【0013】図5は、オブジェクト操作ルールの実行時
形式を示す図である。ルール名格納域501は、ルール
名を格納する。ルールIF部第1条件格納域502は、
図3のルールのIF部第1条件に対応する行303〜3
07までの内容を格納し、ルールIF部第2条件格納域
511は、同じくIF部第2条件に対応する行308〜
311までの内容を格納する。ルールIF部第1条件格
納域502は、条件検査処理コード格納欄503、オブ
ジェクト属性インデックス格納欄504、条件検査オペ
ランド格納欄505からなり、同様、ルールIF部第2
条件格納域511は、条件検査処理コード格納欄51
2、オブジェクト属性インデックス格納欄513、条件
検査オペランド格納欄514からなる。条件検査処理コ
ード格納欄503は、ルールIF部の条件とオブジェク
トとの検査処理を表すコードを格納する。例中のコード
SET_VAR_OBJは、条件に照合したオブジェクトのIDコ
ードを、条件検査オペランド格納欄505の内容である
ポインタが指すルール変数値格納域のエイトリに設定す
ることを意味する。コードTEST_EQは、オブジェクト属
性インデックス格納欄504の内容である値でインデッ
クス参照されるオブジェクトの属性の値と、条件検査オ
ペランド格納欄505の内容である文字列"通信文書"が
等しいかどうかを検査し、等しければ照合処理を続行す
る。等しくなければ、現在検査中のオブジェクトは照合
条件を満たさないため、照合処理を中断する。コードSE
T_VAR_ATTRは、オブジェクト属性インデックス格納欄5
04の内容である値でインデックス参照されるオブジェ
クトの属性の値を、条件検査オペランド格納欄505の
内容であるポインタが指すルール変数値格納域のエイト
リに設定することを意味する。コードTEST_INCLは、オ
ブジェクト属性インデックス格納欄504の内容である
値でインデックス参照されるオブジェクトの属性の値の
列に、条件検査オペランド格納欄505の内容である文
字列"受信"が含まれるかどうかを検査し、含まれれば照
合処理を続行する。含まれなければ、現在検査中のオブ
ジェクトは照合条件を満たさないため、照合処理を中断
する。ルールTHEN部コマンド格納域518は、図3
のルールのTHEN部コマンド列に対応する行313と
314の内容を格納する。ルールTHEN部コマンド格
納域518は、コマンドコード格納欄519、第1コマ
ンドオペランド格納欄520、第2コマンドオペランド
格納欄521からなる。ルール変数値格納域524は、
図3のルール中の変数?Mailと?Senderの値を格納す
る。エントリ525は変数?Mailに、エントリ526は
変数?Senderに対応する。
FIG. 5 is a diagram showing a runtime format of the object operation rule. The rule name storage area 501 stores a rule name. The rule IF section first condition storage area 502 is
Lines 303 to 3 corresponding to the first condition of the IF section of the rule in FIG.
The contents up to 07 are stored in the rule IF section second condition storage area 511.
The contents up to 311 are stored. The rule IF section first condition storage area 502 includes a condition check processing code storage section 503, an object attribute index storage section 504, and a condition check operand storage section 505.
The condition storage area 511 includes a condition inspection processing code storage field 51.
2, an object attribute index storage column 513 and a condition check operand storage column 514. The condition inspection processing code storage field 503 stores a code representing the inspection processing of the condition of the rule IF section and the object. Code in example
SET_VAR_OBJ means that the ID code of the object matched with the condition is set in the attribute of the rule variable value storage area pointed to by the pointer, which is the content of the condition check operand storage field 505. The code TEST_EQ checks whether the value of the attribute of the object index-referenced by the value that is the content of the object attribute index storage field 504 and the character string "communication document" that is the content of the condition check operand storage field 505 are equal. If they are equal, the collation process is continued. If they are not equal, the object currently inspected does not satisfy the matching condition, so the matching process is interrupted. Code SE
T_VAR_ATTR is the object attribute index storage field 5
This means that the value of the attribute of the object that is index-referenced with the value that is the value of 04 is set in the attribute variable storage area designated by the pointer that is the content of the condition check operand storage field 505. The code TEST_INCL determines whether the character string "reception", which is the content of the condition check operand storage field 505, is included in the column of the value of the attribute of the object that is index-referenced by the value that is the content of the object attribute index storage field 504. It is checked, and if it is included, the matching process is continued. If it is not included, the object currently inspected does not satisfy the matching condition, so the matching process is interrupted. The rule THEN command storage area 518 is shown in FIG.
The contents of rows 313 and 314 corresponding to the THEN command column of the rule are stored. The rule THEN part command storage area 518 includes a command code storage field 519, a first command operand storage field 520, and a second command operand storage field 521. The rule variable value storage area 524 is
The values of the variables? Mail and? Sender in the rule of Fig. 3 are stored. The entry 525 corresponds to the variable? Mail and the entry 526 corresponds to the variable? Sender.

【0014】図6は、オブジェクトインスタンスの生成
処理時に使用するオブジェクト属性名テーブルの構成を
例示する図である。図中の例は、図4と同様、通信文書
オブジェクトクラスに対応するものである。通信文書ク
ラスの属性には、class、タイトル、作成者、作成年月
日、発信者、発信年月日、キーワード、状態があり、同
クラスに属するインスタンスオブジェクトは、属性デー
タを以上の順で記憶域に配置することを表す。
FIG. 6 is a diagram showing an example of the structure of an object attribute name table used in the process of generating an object instance. Similar to FIG. 4, the example in the figure corresponds to the communication document object class. The attributes of the correspondence document class include class, title, creator, creation date, sender, origination date, keyword, and status. Instance objects that belong to the same class store the attribute data in the above order. Represents placing in the area.

【0015】図7は、オブジェクト属性テーブルの構成
図である。各エントリ703〜710は、オブジェクト
の各属性データに対応する。オブジェクト属性テーブル
の属性名格納欄701は、各属性の属性名を格納し、オ
ブジェクト属性テーブルの属性値格納欄702は、各属
性の属性値(あるいは属性値の格納位置を指すポイン
タ)を格納する。図中の例は、class属性が通信文書
(703)、タイトル属性がプロジェクトA定例会議案
内(704)、…などであるインスタンスオブジェクト
を表す。
FIG. 7 is a configuration diagram of the object attribute table. Each entry 703 to 710 corresponds to each attribute data of the object. The attribute name storage column 701 of the object attribute table stores the attribute name of each attribute, and the attribute value storage column 702 of the object attribute table stores the attribute value of each attribute (or a pointer pointing to the storage position of the attribute value). . The example in the drawing represents an instance object whose class attribute is a communication document (703), whose title attribute is a project A regular conference guide (704), and so on.

【0016】図8は、オブジェクト属性インデックス変
換テーブルの構成図である。各エントリ803〜808
は、オブジェクトの各属性データに対応する。オブジェ
クト属性インデックス変換テーブルの属性名格納欄80
1は、各属性の属性名を格納し、オブジェクト属性イン
デックス変換テーブルの変換インデックス格納欄802
は、各属性の変換インデックスを格納する。例えば、発
信者属性は、図4のルール変換処理時のオブジェクト属
性名テーブルでインデックス値2であったものが、図6
のインスタンス生成時のオブジェクト属性名テーブルで
インデックス値4に対応づけられるため、エントリ80
5のような登録内容となる。
FIG. 8 is a configuration diagram of the object attribute index conversion table. Each entry 803-808
Corresponds to each attribute data of the object. Attribute name storage column 80 of object attribute index conversion table
1 stores the attribute name of each attribute, and the conversion index storage column 802 of the object attribute index conversion table
Stores the conversion index of each attribute. For example, the sender attribute having the index value 2 in the object attribute name table at the time of the rule conversion processing of FIG.
Since it is associated with the index value 4 in the object attribute name table when the instance of
The registration contents are as shown in item 5.

【0017】図9は、本発明の一実施例の全体的な処理
手順を示すフローチャートである。まずステップ901
で、最初のルールを選び、ステップ902へ進む。ステ
ップ902では、最初のオブジェクトの組を選び、ステ
ップ903へ進む。ステップ903では、ルールIF部
の条件を検査し、ステップ905へ進む。ステップ90
5では、条件が成立したかどうかを判定し、成立であれ
ばステップ908へ進み、不成立であればステップ90
7へ進む。ステップ908では、ルールTHEN部のコ
マンドを実行し、ステップ910へ進む。ステップ91
0では、終了コマンドがあったかどうかを判定し、なけ
ればステップ901に戻って以後の手順を繰り返し、あ
れば本手順を終了する。一方、ステップ907では、未
検査の組があるかどうかを判定し、あればステップ90
4へ進み、なければステップ909へ進む。ステップ9
04では、次のオブジェクトの組を選び、ステップ90
3に戻って以後の手順を繰り返す。ステップ909で
は、未検査のルールがあるかどうかを判定し、あればス
テップ906へ進み、なければ本手順を終了する。ステ
ップ906では、次のルールを選び、ステップ902に
戻って以後の手順を繰り返す。
FIG. 9 is a flowchart showing the overall processing procedure of an embodiment of the present invention. First, step 901
Then, the first rule is selected, and the process proceeds to step 902. In step 902, the first set of objects is selected, and the flow advances to step 903. In step 903, the condition of the rule IF section is checked, and the process proceeds to step 905. Step 90
In step 5, it is determined whether or not the condition is satisfied. If the condition is satisfied, the process proceeds to step 908, and if not satisfied, the step 90 is performed.
Proceed to 7. In step 908, the command of the rule THEN part is executed, and the flow advances to step 910. Step 91
At 0, it is determined whether or not there is an end command. If not, the process returns to step 901 to repeat the subsequent steps, and if there is, ends this procedure. On the other hand, in step 907, it is determined whether or not there is an uninspected group, and if there is, it is determined in step 90.
If not 4, go to step 909. Step 9
At 04, the next set of objects is selected and step 90
Return to step 3 and repeat the subsequent steps. In step 909, it is determined whether or not there is an uninspected rule. If there is any rule, the process proceeds to step 906, and if there is no rule, this procedure ends. In step 906, the next rule is selected, the process returns to step 902, and the subsequent steps are repeated.

【0018】図10は、オブジェクト属性値の取得手順
を示すフローチャートである。まずステップ1001
で、ローカルなインデックス情報を使ってインデックス
変換テーブルのエントリをアクセスし、ステップ100
2へ進む。ステップ1002では、変換インデックスが
登録済みかどうかを判定し、登録済みであればステップ
1003へ進み、未登録であればステップ1004へ進
む。ステップ1003では、変換インデックスを使って
オブジェクト属性テーブルのエントリをアクセスし、ス
テップ1007へ進む。ステップ1007では、エント
リの属性値を取得し、その後、本手順を終了する。一
方、ステップ1004では、ローカルなインデックス情
報を使ってオブジェクト属性テーブルのエントリをアク
セスし、ステップ1005へ進む。ステップ1005で
は、属性名が一致しているかどうかを判定し、不一致で
あればステップ1006へ進み、一致であればステップ
1008へ進む。ステップ1006では、オブジェクト
属性テーブルを検索して属性名が一致するエントリを求
め、ステップ1008へ進む。ステップ1008では、
エントリの属性値を取得し、ステップ1009へ進む。
ステップ1009では、インデックス変換テーブルに変
換インデックスを登録し、その後、本手順を終了する。
FIG. 10 is a flow chart showing the procedure for acquiring the object attribute value. First, step 1001
To access the entry in the index conversion table using the local index information,
Go to 2. In step 1002, it is determined whether the conversion index has been registered. If registered, the process proceeds to step 1003, and if not registered, the process proceeds to step 1004. In step 1003, the conversion index is used to access the entry in the object attribute table, and the flow advances to step 1007. In step 1007, the attribute value of the entry is acquired, and then this procedure ends. On the other hand, in step 1004, the entry of the object attribute table is accessed using the local index information, and the process proceeds to step 1005. In step 1005, it is determined whether the attribute names match, and if they do not match, the process proceeds to step 1006, and if they match, the process proceeds to step 1008. In step 1006, the object attribute table is searched for an entry having a matching attribute name, and the process proceeds to step 1008. In step 1008,
The attribute value of the entry is acquired, and the process proceeds to step 1009.
In step 1009, the conversion index is registered in the index conversion table, and then this procedure ends.

【0019】図11は、別法によるオブジェクト属性値
の取得手順を示すフローチャートである。まずステップ
1101で、ローカルなインデックス情報を使ってオブ
ジェクト属性テーブルのエントリをアクセスし、ステッ
プ1102へ進む。ステップ1102では、属性名が一
致しているかどうかを判定し、不一致であればステップ
1103へ進み、一致であればステップ1104へ進
む。ステップ1103では、オブジェクト属性テーブル
を検索して属性名が一致するエントリを求め、ステップ
1104へ進む。ステップ1104では、エントリの属
性値を取得し、その後、本手順を終了する。
FIG. 11 is a flow chart showing a procedure for obtaining an object attribute value by another method. First, in step 1101, the entry of the object attribute table is accessed using the local index information, and the process proceeds to step 1102. In step 1102, it is determined whether the attribute names match, and if they do not match, the process proceeds to step 1103, and if they match, the process proceeds to step 1104. In step 1103, the object attribute table is searched for an entry having a matching attribute name, and the process proceeds to step 1104. In step 1104, the attribute value of the entry is acquired, and then this procedure ends.

【0020】[0020]

【発明の効果】本発明によれば、属性データの記憶域上
での相対的配置情報を事前に確定できない場合でも、オ
ブジェクト属性のアクセスを効率的に実施できる。
As described above, according to the present invention, even when the relative arrangement information of the attribute data in the storage area cannot be determined in advance, the object attribute can be efficiently accessed.

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

【図1】本発明の一実施例のブロック図である。FIG. 1 is a block diagram of an embodiment of the present invention.

【図2】本発明の一実施例のシステム構成図である。FIG. 2 is a system configuration diagram of an embodiment of the present invention.

【図3】オブジェクト操作ルールのソース形式を示す図
である。
FIG. 3 is a diagram showing a source format of an object operation rule.

【図4】オブジェクト操作ルールの変換処理時に使用す
るオブジェクト属性名テーブルの構成を例示する図であ
る。
FIG. 4 is a diagram exemplifying a configuration of an object attribute name table used during conversion processing of object operation rules.

【図5】オブジェクト操作ルールの実行時形式を示す図
である。
FIG. 5 is a diagram showing a runtime format of an object operation rule.

【図6】オブジェクトインスタンスの生成処理時に使用
するオブジェクト属性名テーブルの構成を例示する図で
ある。
FIG. 6 is a diagram exemplifying a configuration of an object attribute name table used at the time of generating an object instance.

【図7】オブジェクト属性テーブルの構成図である。FIG. 7 is a configuration diagram of an object attribute table.

【図8】オブジェクト属性インデックス変換テーブルの
構成図である。
FIG. 8 is a configuration diagram of an object attribute index conversion table.

【図9】本発明の一実施例の処理手順を示すフローチャ
ートである。
FIG. 9 is a flowchart showing a processing procedure according to an embodiment of the present invention.

【図10】オブジェクト属性値の取得手順を示すフロー
チャートである。
FIG. 10 is a flowchart showing a procedure for acquiring an object attribute value.

【図11】別法によるオブジェクト属性値の取得手順を
示すフローチャートである。
FIG. 11 is a flowchart showing a procedure for obtaining an object attribute value by another method.

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

101…ソース形式オブジェクト操作ルール記憶部、1
02…オブジェクト属性インデックス情報、103…オ
ブジェクト操作ルール変換処理部、104…実行時形式
オブジェクト操作ルール記憶部、105…オブジェクト
属性インデックス変換テーブル、106…オブジェクト
操作ルール実行処理部、107…オブジェクト記憶部、
108…オブジェクト操作処理部、109…オブジェク
ト通信処理部、201…表示装置、202…入力装置、
203…処理装置、204…記憶装置、205…通信装
置、206…通信回線、501…ルール名格納域、50
2…ルールIF部第1条件格納域、503…ルールIF
部第1条件格納域の条件検査処理コード格納欄、504
…ルールIF部第1条件格納域のオブジェクト属性イン
デックス格納欄、505…ルールIF部第1条件格納域
の条件検査オペランド格納欄、511…ルールIF部第
2条件格納域、512…ルールIF部第2条件格納域の
条件検査処理コード格納欄、513…ルールIF部第2
条件格納域のオブジェクト属性インデックス格納欄、5
14…ルールIF部第2条件格納域の条件検査オペラン
ド格納欄、518…ルールTHEN部コマンド格納域、
519…ルールTHEN部コマンド格納域のコマンドコ
ード格納欄、520…ルールTHEN部コマンド格納域
の第1コマンドオペランド格納欄、521…ルールTH
EN部コマンド格納域の第2コマンドオペランド格納
欄、524…ルール変数値格納域、701…オブジェク
ト属性テーブルの属性名格納欄、702…オブジェクト
属性テーブルの属性値格納欄、801…オブジェクト属
性インデックス変換テーブルの属性名格納欄、802…
オブジェクト属性インデックス変換テーブルの変換イン
デックス格納欄。
101 ... Source format object operation rule storage unit, 1
Reference numeral 02 ... Object attribute index information, 103 ... Object operation rule conversion processing unit, 104 ... Runtime format object operation rule storage unit, 105 ... Object attribute index conversion table, 106 ... Object operation rule execution processing unit, 107 ... Object storage unit,
108 ... Object operation processing unit, 109 ... Object communication processing unit, 201 ... Display device, 202 ... Input device,
203 ... Processing device, 204 ... Storage device, 205 ... Communication device, 206 ... Communication line, 501 ... Rule name storage area, 50
2 ... rule IF section first condition storage area, 503 ... rule IF
Section 504 for storing the condition inspection processing code in the first condition storage area
... rule IF section object attribute index storage field of first condition storage area, 505 ... condition check operand storage field of rule IF section first condition storage area, 511 ... rule IF section second condition storage area, 512 ... rule IF section first 2 Condition check processing code storage column in condition storage area 513 ... Rule IF section second
Object attribute index storage field in condition storage area, 5
14 ... Condition check operand storage field of rule IF section second condition storage area, 518 ... Rule THEN section command storage area,
519 ... Command code storage field of rule THEN section command storage area, 520 ... First command operand storage field of rule THEN section command storage area, 521 ... Rule TH
EN command storage area of second command operand storage area, 524 ... Rule variable value storage area, 701 ... Attribute name storage area of object attribute table, 702 ... Attribute value storage area of object attribute table, 801 ... Object attribute index conversion table Attribute name storage field of 802, ...
The conversion index storage column of the object attribute index conversion table.

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】複数の属性データを有するオブジェクトの
操作プログラムの実行時にオブジェクトの特定属性の値
をアクセスする方式であって、 実行に先立つ前記オブジェクト操作プログラムの形式変
換時に、属性名による属性値の参照を、記憶域上での属
性データの想定配置情報をもとに、インデックス参照す
る形式に変換し、 該オブジェクト操作プログラムの実行処理時には、処理
対象となるオブジェクトごとに、前記想定配置情報にも
とづくインデックスと、記憶域上での該オブジェクト属
性データの実配置情報に合致した変換インデックスの対
応関係を記録するインデックス変換テーブルを作成し、 オブジェクトの特定属性の値を参照する場合、前記イン
デックス変換テーブルに該属性の変換インデックスが登
録済みであれば、該変換インデックスをもとにインデッ
クス参照して求める属性値を取得し、変換インデックス
が未登録であれば、属性データの記憶域を検索して属性
値を取得するとともに、検索により判明した変換インデ
ックスを前記インデックス変換テーブルに登録すること
を特徴とするオブジェクト属性のアクセス方式。
1. A method of accessing a value of a specific attribute of an object when an operation program of an object having a plurality of attribute data is executed, wherein the attribute value by the attribute name is changed when the format of the object operation program is converted prior to execution. The reference is converted into an index reference format based on the assumed placement information of the attribute data in the storage area, and at the time of execution processing of the object operation program, it is based on the assumed placement information for each object to be processed. When an index conversion table that records the correspondence between the index and the conversion index that matches the actual arrangement information of the object attribute data in the storage area is created and the value of the specific attribute of the object is referred to, the index conversion table If the conversion index of the attribute is already registered, The attribute value to be obtained is obtained by referring to the index based on the index, and if the conversion index is not registered, the storage area of the attribute data is searched to acquire the attribute value, and the conversion index found by the search is used as the index. An object attribute access method characterized by being registered in a conversion table.
【請求項2】複数の属性データを有するオブジェクトの
操作プログラムの実行時にオブジェクトの特定属性の値
をアクセスする方式であって、 実行に先立つ前記オブジェクト操作プログラムの形式変
換時に、属性名による属性値の参照を、記憶域上での属
性データの想定配置情報をもとに、インデックス参照す
る形式に変換し、 該オブジェクト操作プログラムの実行処理時にオブジェ
クトの特定属性の値を参照する場合、まず前記変換形式
に従いインデックス参照して属性値を取得し、得られた
値が求める属性に対応するものでなかったなら、あらた
めて属性データの記憶域を検索して求める属性値を取得
することを特徴とするオブジェクト属性のアクセス方
式。
2. A method of accessing a value of a specific attribute of an object when an operation program of an object having a plurality of attribute data is executed, wherein an attribute value by an attribute name is converted at the time of format conversion of the object operation program prior to execution. When the reference is converted into a format for index reference based on the assumed allocation information of the attribute data in the storage area and the value of the specific attribute of the object is referred to during the execution processing of the object operation program, first the conversion format is used. According to the index, the attribute value is obtained, and if the obtained value does not correspond to the desired attribute, the attribute data storage area is searched again to obtain the desired attribute value. Access method.
【請求項3】オブジェクトの属性値に関する条件を記述
したIF部と、該条件が成立したとき実行すべきコマン
ドを記述したTHEN部とからなるルールをもとに、複
数の属性データを有するオブジェクトの操作を自動処理
する装置において、 ルールの表現形式をソース形式から実行時形式に変換す
るルール変換手段と、ルールのIF部条件をオブジェク
トの属性値と照合して、条件が成立したルールのTHE
N部コマンドを実行するルール実行手段を設け、 前記ルール変換手段は、属性名によるオブジェクトの属
性値の参照を、記憶域上での属性データの想定配置情報
をもとに、インデックス参照する形式に変換し、 前記ルール実行手段は、処理対象となるオブジェクトご
とに、前記想定配置情報にもとづくインデックスと、記
憶域上での該オブジェクト属性データの実配置情報に合
致した変換インデックスの対応関係を記録するインデッ
クス変換テーブルを作成し、オブジェクトの特定属性の
値を参照する場合、前記インデックス変換テーブルに該
属性の変換インデックスが登録済みであれば、該変換イ
ンデックスをもとにインデックス参照して求める属性値
を取得し、変換インデックスが未登録であれば、属性デ
ータの記憶域を検索して属性値を取得するとともに、検
索により判明した変換インデックスを前記インデックス
変換テーブルに登録することを特徴とするオブジェクト
属性のアクセス方式。
3. An object having a plurality of attribute data based on a rule consisting of an IF section describing a condition relating to an attribute value of the object and a THEN section describing a command to be executed when the condition is satisfied. In an apparatus for automatically processing an operation, a rule conversion means for converting an expression form of a rule from a source form to a run-time form and a condition IF part condition of a rule are collated with an attribute value of an object, and a THE of a rule that satisfies the condition is established.
Rule executing means for executing the N-part command is provided, and the rule converting means converts the reference of the attribute value of the object by the attribute name into the index reference format based on the assumed arrangement information of the attribute data in the storage area. The conversion is performed, and the rule execution unit records, for each object to be processed, a correspondence relationship between an index based on the assumed arrangement information and a conversion index that matches the actual arrangement information of the object attribute data in the storage area. When an index conversion table is created and the value of a specific attribute of an object is referred to, if the conversion index of the attribute is already registered in the index conversion table, the attribute value obtained by referring to the index based on the conversion index is set. If the conversion index is acquired and the conversion index is not registered, the storage area for the attribute data is searched and the attribute is searched. Obtains the access method of object attributes and registers the converted index found by the search in the index conversion table.
【請求項4】ルールをもとにオブジェクト操作を自動処
理する前記装置は、ネットワーク接続された他の同類の
装置との間でオブジェクトを交換し合い、 記憶域上のオブジェクト属性データの実配置は、該オブ
ジェクトが生成された装置上のオブジェクトクラス定義
情報から決定され、 前記ルール変換手段により実行時形式となったルール中
のインデックスは、該ルールの変換が行われた装置上の
オブジェクトクラス定義情報から決定されることを特徴
とする請求項3記載のオブジェクト属性のアクセス方
式。
4. The device for automatically processing an object operation based on a rule exchanges objects with other similar devices connected to a network, and the actual arrangement of object attribute data on a storage area is , The index in the rule which is determined from the object class definition information on the device in which the object is generated and which has been converted into the runtime format by the rule conversion means is the object class definition information on the device on which the rule conversion is performed. The object attribute access method according to claim 3, wherein the object attribute access method is determined from
JP5071515A 1993-03-30 1993-03-30 Access system for object attribute Pending JPH06282437A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5071515A JPH06282437A (en) 1993-03-30 1993-03-30 Access system for object attribute

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5071515A JPH06282437A (en) 1993-03-30 1993-03-30 Access system for object attribute

Publications (1)

Publication Number Publication Date
JPH06282437A true JPH06282437A (en) 1994-10-07

Family

ID=13462934

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5071515A Pending JPH06282437A (en) 1993-03-30 1993-03-30 Access system for object attribute

Country Status (1)

Country Link
JP (1) JPH06282437A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6035302A (en) * 1997-02-21 2000-03-07 Nec Corporation System for retrieving database with different program languages
US6256783B1 (en) 1997-12-26 2001-07-03 Fujitsu Limited Object conversion apparatus, object conversion method and program storing medium
US6463582B1 (en) 1998-10-21 2002-10-08 Fujitsu Limited Dynamic optimizing object code translator for architecture emulation and dynamic optimizing object code translation method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6035302A (en) * 1997-02-21 2000-03-07 Nec Corporation System for retrieving database with different program languages
US6256783B1 (en) 1997-12-26 2001-07-03 Fujitsu Limited Object conversion apparatus, object conversion method and program storing medium
US6463582B1 (en) 1998-10-21 2002-10-08 Fujitsu Limited Dynamic optimizing object code translator for architecture emulation and dynamic optimizing object code translation method
CN1308818C (en) * 1998-10-21 2007-04-04 富士通株式会社 Dynamic optimizing target code translator for structure simulation and translating method

Similar Documents

Publication Publication Date Title
US6665662B1 (en) Query translation system for retrieving business vocabulary terms
Soibelman et al. Management and analysis of unstructured construction data types
Park et al. Information systems interoperability: What lies beneath?
US7099887B2 (en) Hierarchical environments supporting relational schemas
US6799174B2 (en) Retrieving, organizing, and utilizing networked data using databases
CN109240901B (en) Performance analysis method, performance analysis device, storage medium, and electronic apparatus
US7853553B2 (en) Engine for converting data from a source format to a destination format using user defined mappings
Ambite et al. Integration of heterogeneous knowledge sources in the CALO query manager
Mallery A Common LISP hypermedia server
US20100223275A1 (en) Interactive Intelligent Searching with Executable Suggestions
US20020049689A1 (en) Systems and methods for visual optimal ordered knowledge learning structures
WO1996023266A1 (en) End user query facility
US7668888B2 (en) Converting object structures for search engines
US20020120620A1 (en) Method and system for composing a query for a database and traversing the database
US20030055834A1 (en) Method and system for supporting multivalue attributes in a database system
KR101877828B1 (en) User interface integrated platform system based on artificial intelligence
Bonczek et al. The integration of network data base management and problem resolution
CN112036843A (en) Flow element positioning method, device, equipment and medium based on RPA and AI
Doerr et al. Integration of complementary archaeological sources
JPH06282437A (en) Access system for object attribute
US6535885B1 (en) Multikeyed table implementable on a personal digital assistant
Roussopoulos et al. An adaptable methodology for database design
US20040205657A1 (en) Method and system for linking project information
Gaedke et al. A repository to facilitate reuse in component-based web engineering
US6839716B1 (en) Method and system for building a dataset