JPH0667968A - Data management system in object direction - Google Patents

Data management system in object direction

Info

Publication number
JPH0667968A
JPH0667968A JP4219843A JP21984392A JPH0667968A JP H0667968 A JPH0667968 A JP H0667968A JP 4219843 A JP4219843 A JP 4219843A JP 21984392 A JP21984392 A JP 21984392A JP H0667968 A JPH0667968 A JP H0667968A
Authority
JP
Japan
Prior art keywords
data
identification number
name
management table
registered
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
JP4219843A
Other languages
Japanese (ja)
Inventor
Yoichi Nagano
陽一 永野
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.)
NEC Solution Innovators Ltd
Original Assignee
NEC Software Chubu 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 NEC Software Chubu Ltd filed Critical NEC Software Chubu Ltd
Priority to JP4219843A priority Critical patent/JPH0667968A/en
Publication of JPH0667968A publication Critical patent/JPH0667968A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PURPOSE:To provide a data management system in object direction, by which data can be accessed at high speed compared to a conventional case, by searching the data management table of chain structure in an object with a data identification number as a key. CONSTITUTION:A data identification number registration means 107 deciding a data identification number 108 which is uniquely decided to a data name from a registered data name 105 and registering the group of the data name 105 and the identification number 108, a data registration means 109 registering the group of the data identification number 108 and registered data 106 for the respective objects, a data identification number searching means 111 searching the data identification number 112 of a data name 110 from a registered data identification number group and a data searching means 113 searching and accessing data 114 registered in the target object with the searched data identification number 112 as the key are provided.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はオブジェクト指向におけ
るデータ管理方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an object-oriented data management system.

【0002】[0002]

【従来の技術】オブジェクト指向におけるデータ管理は
オブジェクトごとに管理される。
2. Description of the Related Art Object-oriented data management is managed for each object.

【0003】図7は従来のオブジェクトの構成を例示し
たものである。
FIG. 7 exemplifies the structure of a conventional object.

【0004】オブジェクト701は、オブジェクト名7
03と、データ管理テーブルをポインタでつないだチェ
ーン構造704と、これらのポインタを格納するオブジ
ェクトテーブル702とから構成されている。
The object 701 has an object name 7
03, a chain structure 704 in which data management tables are connected by pointers, and an object table 702 that stores these pointers.

【0005】データ管理テーブル705は次のデータ管
理テーブルへのポインタ706と、データ名のポインタ
707と、データ708とを格納する。
The data management table 705 stores a pointer 706 to the next data management table, a data name pointer 707, and data 708.

【0006】従来、このようなデータ管理方式によるデ
ータへのアクセスは、データ名をキーにしてデータ管理
テーブルのチェーン構造704の先頭から同じデータ名
のデータ管理テーブルを捜索しデータにアクセスしてい
た。
Conventionally, to access data by such a data management method, the data name is used as a key to search the data management table having the same data name from the head of the chain structure 704 of the data management table to access the data. .

【0007】上述した従来のオブジェクト指向における
データ管理方式のデータアクセスを図8の流れ図を参照
して説明する。
Data access of the above-described conventional object-oriented data management system will be described with reference to the flowchart of FIG.

【0008】ステップ801で目的のオブジェクトのデ
ータ管理テーブルのチェーン構造の先頭ポインタを得
て、ステップ802でデータ管理テーブルの存在を調
べ、データ管理テーブルが全く存在しない場合は処理を
終了する。
At step 801, the head pointer of the chain structure of the data management table of the target object is obtained, and at step 802, the existence of the data management table is checked. If there is no data management table, the process ends.

【0009】ステップ803ではデータ管理テーブル内
のデータ名を得て、ステップ804で目的のデータ名と
ステップ803で得たデータ名の先頭の1文字を取り出
し、ステップ805で比較する。
In step 803, the data name in the data management table is obtained, and in step 804, the target data name and the first character of the data name obtained in step 803 are extracted and compared in step 805.

【0010】比較した文字が異なる場合はステップ80
6で次のデータ管理テーブルを得てステップ802の処
理に戻る。
If the compared characters are different, step 80
In step 6, the next data management table is obtained and the process returns to step 802.

【0011】ステップ807でデータ名の各々の次の文
字を得て、ステップ805の処理に戻り、データ名を1
文字ずつ比較する。ステップ808で全ての文字を比較
しデータ名が同じ場合ステップ809で目的のデータを
取り出してアクセスしていた。
In step 807, the next character of each data name is obtained, and the process returns to step 805 to set the data name to 1
Compare character by character. In step 808, all the characters are compared, and if the data names are the same, in step 809 the target data is extracted and accessed.

【0012】[0012]

【発明が解決しようとする課題】上述したように、従来
のオブジェクト指向におけるデータ管理方式は、データ
が格納されているデータ管理テーブルを捜索するために
データ名をキーとしてデータ名の1文字1文字を比較し
ながら捜索していた。
As described above, the conventional object-oriented data management system uses the data name as a key to search the data management table in which the data is stored. I was searching while comparing.

【0013】そのため、データ名が長くて最後の1文字
だけが異なるようなデータ名が多くあり、かつ、1つの
オブジェクトに数十個以上のデータ管理テーブルがある
ような場合、チェーン構造の後方にあるデータ管理テー
ブルのデータへのアクセスには非常に時間がかかるとい
う欠点がある。
Therefore, when there are many data names whose data names are long and only the last one character is different, and there are several dozen or more data management tables in one object, the data structure is added at the back of the chain structure. Accessing the data of a certain data management table has the drawback that it takes a very long time.

【0014】本発明の目的は、データ識別番号をキーと
してオブジェクト内のチェーン構造のデータ管理テーブ
ルを捜索することにより格段に高速にデータにアクセス
できるオブジェクト指向におけるデータ管理方式を提供
することにある。
It is an object of the present invention to provide an object-oriented data management system capable of accessing data at a much higher speed by searching a data management table having a chain structure in an object using a data identification number as a key.

【0015】[0015]

【課題を解決するための手段】本発明のオブジェクト指
向におけるデータ管理方式は、登録するデータ名からそ
のデータ名に対して一意に決まるデータ識別番号を決定
し前記登録するデータ名とその識別番号との組を登録す
るデータ識別番号登録手段と、前記データ識別番号と登
録するデータとの組をオブジェクトごとに登録するデー
タ登録手段と、登録されているデータ識別番号群から捜
索するデータ名のデータ識別番号を捜索するデータ識別
番号捜索手段と、前記捜索されたデータ識別番号をキー
として目的のオブジェクト内に登録されているデータを
捜索しアクセスするデータ捜索手段とを備えて構成され
ている。
According to the object-oriented data management method of the present invention, a data identification number uniquely determined for a data name to be registered is determined from the data name to be registered, and the data name to be registered and its identification number Data identification number registration means for registering a set of the data identification number, data registration means for registering the set of the data identification number and the data to be registered for each object, and data identification of the data name searched for from the registered data identification number group It comprises a data identification number searching means for searching a number, and a data searching means for searching for and accessing data registered in a target object using the searched data identification number as a key.

【0016】[0016]

【実施例】次に、本発明の実施例について図面を参照し
て説明する。
Embodiments of the present invention will now be described with reference to the drawings.

【0017】図1は本発明のオブジェクト指向における
データ管理方式の一実施例を示すブロック図である。
FIG. 1 is a block diagram showing an embodiment of a data management system in the object orientation of the present invention.

【0018】図1に示すように、本実施例のオブジェク
ト指向におけるデータ管理方式は、データ登録処理10
2と、データ捜索処理103とから構成されている。
As shown in FIG. 1, the data management method in the object oriented method of this embodiment is the data registration processing 10.
2 and a data search process 103.

【0019】データ登録処理102は、登録するデータ
名105と登録するデータ106とを受け取り、データ
識別番号登録手段107により登録するデータ名105
のデータ識別番号108を決定し登録するデータ名10
5とデータ識別番号108とを登録し、データ登録手段
109によりオブジェクト内に登録するデータ名のデー
タ識別番号108とデータ106とを登録する。
The data registration processing 102 receives the data name 105 to be registered and the data 106 to be registered, and the data name 105 to be registered by the data identification number registration means 107.
Data name 10 to determine and register the data identification number 108 of
5 and the data identification number 108 are registered, and the data registration means 109 registers the data identification number 108 and the data 106 of the data name registered in the object.

【0020】データ捜索処理103は、データ識別番号
捜索手段111により捜索するデータ名110を受け取
り、これから捜索するデータ名のデータ識別番号112
を得て、データ捜索手段113によりこの捜索するデー
タ名のデータ識別番号112をキーとしてデータを捜索
し、捜索したデータ114にアクセスする。
The data search processing 103 receives the data name 110 to be searched by the data identification number search means 111, and the data identification number 112 of the data name to be searched from now on.
Then, the data search means 113 searches the data using the data identification number 112 of the data name to be searched as a key, and accesses the searched data 114.

【0021】図2は、本実施例のデータ識別番号登録手
段とデータ登録手段によるデータ管理の構造を示す構造
図である。
FIG. 2 is a structural diagram showing the structure of data identification number registration means and data management by the data registration means of this embodiment.

【0022】データ識別番号登録手段107による管理
は、個々にデータ名とデータ識別番号とを管理するデー
タ名管理テーブル204、205、206等と、データ
名からハッシュ値を算出して得られる値の位置にデータ
名管理テーブルをチェーン構造で管理するデータ識別番
号管理ハッシュテーブル203と、データ名210、2
11、212等から構成されている。
The management by the data identification number registration means 107 is performed by the data name management tables 204, 205, 206 etc. for individually managing the data name and the data identification number, and the values obtained by calculating the hash value from the data name. A data identification number management hash table 203 for managing a data name management table in a position in a chain structure, and a data name 210, 2
It is composed of 11, 212 and the like.

【0023】データ名管理テーブル204では次のデー
タ名管理デーブル205のデータ名管理テーブルポイン
タ208とデータ名210のポインタとを格納してい
る。データ名管理テーブル205は、データ名211の
ポインタを格納し、データ名管理テーブル206はデー
タ名212のポインタを格納している。
The data name management table 204 stores the data name management table pointer 208 of the next data name management table 205 and the pointer of the data name 210. The data name management table 205 stores the pointer of the data name 211, and the data name management table 206 stores the pointer of the data name 212.

【0024】データ登録手段109による管理は、複数
のオブジェクトから構成されている。その1つの例示と
してのオブジェクト213は、個々のデータを管理する
チェーン構造220でつながれた複数のデータ管理テー
ブル217、218および219と、そのチェーン構造
の先頭ポインタ215とオブジェクト名216のポイン
タとを格納しているオブジェクトテーブル214と、オ
ブジェクト名216とから構成されている。
The management by the data registration means 109 is composed of a plurality of objects. The object 213 as one example stores a plurality of data management tables 217, 218 and 219 connected by a chain structure 220 for managing individual data, a head pointer 215 of the chain structure and a pointer of an object name 216. Object table 214 and object name 216.

【0025】データ管理テーブル218は次のデータ管
理テーブル219のポインタとデータ識別番号222と
データ224とを格納している。
The data management table 218 stores the pointer, data identification number 222 and data 224 of the next data management table 219.

【0026】本実施例では、データ名に対して一意に決
まるデータ識別番号としてデータ名管理テーブルポイン
タを使用することとする。
In this embodiment, the data name management table pointer is used as the data identification number uniquely determined for the data name.

【0027】従って、データ管理テーブル217のデー
タ識別番号221は、データ管理テーブル217に格納
されているデータのデータ名「DATA0005」212のデー
タ名管理テーブルポインタ209であり、データ管理テ
ーブル218のデータ識別番号222はデータ名「DATA
0001」210のデータ名管理テーブルポインタ207で
あり、データ管理テーブル219のデータ識別番号22
3はデータ名「DATA0010」211のデータ名管理テーブ
ルポインタ208である。
Therefore, the data identification number 221 of the data management table 217 is the data name management table pointer 209 of the data name “DATA0005” 212 of the data stored in the data management table 217, and the data identification of the data management table 218. The number 222 is the data name “DATA
The data name management table pointer 207 of “0001” 210 and the data identification number 22 of the data management table 219.
Reference numeral 3 is a data name management table pointer 208 for the data name “DATA0010” 211.

【0028】次に、登録するデータ名とデータとが与え
られて、これ等を登録するデータ登録処理を流れ図を参
照して説明する。
Next, a data registration process of registering data names and data to be registered and registering them will be described with reference to a flow chart.

【0029】図3は本実施例のデータ登録処理中のデー
タ識別番号登録手段が行なうデータ名登録とデータ識別
番号決定に関するデータ識別番号登録処理の処理手順を
示す流れ図である。
FIG. 3 is a flow chart showing a processing procedure of data identification number registration processing relating to data name registration and data identification number determination performed by the data identification number registration means during the data registration processing of the present embodiment.

【0030】入力される登録するデータ名105からハ
ッシュ値を計算する(ステップ301)。そのハッシュ
値はデータ識別番号管理ハッシュテーブル203の要素
の位置を示すものであり、それにより、その位置に格納
しているデータ名管理テーブルのチェーンの先頭ポイン
タを得ることができる(ステップ302)。
A hash value is calculated from the input data name 105 to be registered (step 301). The hash value indicates the position of the element of the data identification number management hash table 203, and by this, the head pointer of the chain of the data name management table stored at that position can be obtained (step 302).

【0031】そこで、データ名管理テーブルが存在する
かどうかを調べ(ステップ303)、存在しているとき
には(ステップ303のYES 枝)、それに格納されてい
るデータ名のポインタを得(ステップ304)、そのデ
ータ名と登録するデータ名とを1文字ずつ比較し(ステ
ップ305、306および307のループ)、比較結果
が同じでない場合には(スデップ305のNO枝)、次々
とチェーンになっているデータ名管理テーブルに格納さ
れているデータ名との比較を行なう(ステップ309、
303、304および305等のループ)。
Therefore, it is checked whether or not the data name management table exists (step 303). When it exists (YES branch of step 303), the pointer of the data name stored in it is obtained (step 304), The data name and the data name to be registered are compared character by character (loops of steps 305, 306 and 307), and if the comparison results are not the same (NO branch of step 305), the data is chained one after another. The data name stored in the name management table is compared (step 309,
Loops such as 303, 304 and 305).

【0032】そしてあるデータ名管理テーブルのデータ
名と登録するデータ名とのすべての文字が同一である場
合には(ステップ307のYES 枝)、そのデータ名管理
テーブルのポインタが登録するデータ名のデータ識別番
号である(ステップ308)。
If all the characters of the data name of the data name management table and the data name to be registered are the same (YES branch of step 307), the pointer of the data name management table indicates the data name to be registered. This is a data identification number (step 308).

【0033】チェーンになっているどのデータ名管理テ
ーブルに格納されているデータ名とも同一でないときに
は(ステップ303のNO枝)、登録するデータ名を格納
するエリアを確保するとともにそこにデータ名を格納し
さらに新たなデータ名管理テーブルを作成しその格納エ
リアを確保し(ステップ310)、ついで、そのデータ
名管理テーブルに登録するデータ名のポインタを格納す
る(ステップ311)。
When it is not the same as the data name stored in any data name management table in the chain (NO branch of step 303), an area for storing the data name to be registered is secured and the data name is stored there. Then, a new data name management table is created and its storage area is secured (step 310), and then a pointer of the data name to be registered in the data name management table is stored (step 311).

【0034】次に、ステップ302で得たデータ名管理
テーブルのチェーンの先頭に新たに作成したデータ名管
理テーブルを追加する。すなわち、データ識別番号管理
ハッシュテーブル203にあるチェーンの先頭ポインタ
を新たに作成したデータ名管理テーブルに格納し、デー
タ識別番号管理ハッシュテーブルの先頭ポインタを新た
に作成したデータ名管理テーブルのポインタに置き換え
る(ステップ312)。このようにして登録するデータ
名を登録するとともにそれのデータ名管理テーブルのポ
インタ、すなわち、登録したデータ名のデータ識別番号
を得ることができる(ステップ308)。
Next, the newly created data name management table is added to the beginning of the chain of the data name management table obtained in step 302. That is, the head pointer of the chain in the data identification number management hash table 203 is stored in the newly created data name management table, and the head pointer of the data identification number management hash table is replaced with the pointer of the newly created data name management table. (Step 312). In this way, it is possible to register the data name to be registered and obtain the pointer of the data name management table, that is, the data identification number of the registered data name (step 308).

【0035】図4は本実施例のデータ登録処理中のデー
タ登録手段が行なうデータ登録処理の処理手順を示す流
れ図である。
FIG. 4 is a flow chart showing the processing procedure of the data registration processing performed by the data registration means during the data registration processing of this embodiment.

【0036】ステップ401でオブジェクト内のオブジ
ェクトテーブルに格納されているデータ管理テーブルの
チェーンの先頭ポインタを得、これを辿ってチェーンに
なっているデータ管理テーブルに格納されているデータ
識別番号と前述のデータ識別番号登録処理で得たデータ
識別番号とを次々と比較する(ステップ402、403
および404のループ)。
In step 401, the head pointer of the chain of the data management table stored in the object table in the object is obtained, and by tracing this, the data identification number stored in the chained data management table and the above-mentioned The data identification numbers obtained in the data identification number registration processing are successively compared (steps 402 and 403).
And 404 loops).

【0037】比較結果が一致のときには(ステップ40
3のNO枝)、そのデータ管理テーブルに格納されている
データを新しく登録するデータに変更する(ステップ4
05)。どのデータ識別番号とも一致しないときには
(ステップ402のNO枝)、新たなデータ管理テーブル
を作成してその格納エリアを確保し(ステップ40
6)、そのデータ管理テーブルに登録するデータと前述
のデータ識別番号登録処理で得たデータ識別番号とを格
納し(ステップ407)、ステップ401で得たデータ
管理テーブルのチェーンの先頭に新たに作成したデータ
管理テーブルを追加する。すなわち、オブジェクトテー
ブルにあるチェーンの先頭ポインタを新たに作成したデ
ータ管理テーブルに格納し、オブジェクトテーブルにあ
るチェーンの先頭ポインタを新たに作成したデータ管理
テーブルのポインタに置き換える(ステップ408)。
このようにしてデータを登録することができる。
If the comparison result is a match (step 40)
No branch 3), change the data stored in the data management table to the data to be newly registered (step 4)
05). If it does not match any of the data identification numbers (NO branch of step 402), a new data management table is created and its storage area is secured (step 40).
6) Store the data to be registered in the data management table and the data identification number obtained in the above-mentioned data identification number registration processing (step 407), and newly create it at the beginning of the chain of the data management table obtained in step 401. Added data management table. That is, the head pointer of the chain in the object table is stored in the newly created data management table, and the head pointer of the chain in the object table is replaced with the pointer of the newly created data management table (step 408).
Data can be registered in this way.

【0038】以上により、データ名とデータの登録およ
びデータ識別番号の決定を行なうことができる。
As described above, the data name and data can be registered and the data identification number can be determined.

【0039】次に、捜索するデータ名が与えられて、こ
れに対応するデータ識別番号を捜索し、これをキーとし
て目的のデータを捜索するデータ捜索処理を流れ図を参
照して説明する。
Next, a data search process for searching for a data identification number corresponding to a given data name to be searched and searching for a corresponding data identification number will be described with reference to a flow chart.

【0040】図5は本実施例のデータ捜索処理中のデー
タ識別番号捜索手段が行なうデータ識別番号捜索処理の
処理手順を示す流れ図である。
FIG. 5 is a flow chart showing the processing procedure of the data identification number searching process performed by the data identification number searching means in the data searching process of this embodiment.

【0041】入力した捜索するデータのデータ名110
からハッシュ値を計算する(ステップ501)。そのハ
ッシュ値はデータ識別番号管理ハッシュテーブル203
の要素の位置を示すものであり、それにより、その位置
に格納しているデータ名管理テーブルのチェーンの先頭
ポインタを得ることができる(ステップ502)。
The data name 110 of the input search data
A hash value is calculated from (step 501). The hash value is the data identification number management hash table 203.
Of the data element management table stored in that position can be obtained (step 502).

【0042】そこで、データ名管理テーブルが存在する
かどうかを調べ(ステップ503)、存在しているとき
には(ステップ503のYES 枝)、それに格納されてい
るデータ名のポインタを得(ステップ504)、そのデ
ータ名と捜索するデータ名とを1文字ずつ比較し(ステ
ップ505、506および507のループ)、比較結果
が同じでない場合には(スデップ505のNO枝)、次々
とチェーンになっているデータ名管理テーブルに格納さ
れているデータ名との比較を行なう(ステップ509、
503、504および505等のループ)。
Then, it is checked whether or not the data name management table exists (step 503), and if it exists (YES branch of step 503), the pointer of the data name stored therein is obtained (step 504), The data name and the data name to be searched are compared character by character (loops of steps 505, 506 and 507), and if the comparison results are not the same (NO branch of step 505), the data are chained one after another. A comparison is made with the data name stored in the name management table (step 509,
Loops such as 503, 504 and 505).

【0043】チェーンになっているどのデータ名管理テ
ーブルに格納されているデータ名とも同一でないときに
は(ステップ503のNO枝)、捜索するデータ名に対応
するデータ名管理テーブルは存在しない、すなわち、捜
索するデータ名は未登録であることになる。
If the data name stored in any of the data name management tables in the chain is not the same (NO branch of step 503), there is no data name management table corresponding to the data name to be searched, that is, the search is performed. The data name to be registered is not registered.

【0044】しかし、あるデータ名管理テーブルのデー
タ名と捜索するデータ名のすべての文字が同一である場
合には(ステップ507のYES 枝)、そのデータ名管理
テーブルのポインタが捜索するデータ名のデータ識別番
号である(ステップ508)。
However, if all the characters of the data name in the data name management table and the data name to be searched are the same (YES branch of step 507), the pointer of the data name management table indicates the data name to be searched. This is a data identification number (step 508).

【0045】このようにして捜索するデータ名のデータ
名管理テーブルのポインタ、すなわち、捜索するデータ
名のデータ識別番号を得ることができる(ステップ50
8)。
In this way, the pointer of the data name management table of the searched data name, that is, the data identification number of the searched data name can be obtained (step 50).
8).

【0046】図6は本実施例のデータ捜索処理中のデー
タ捜索手段が行なうデータ捜索処理の処理手順を示す流
れ図である。
FIG. 6 is a flow chart showing the processing procedure of the data search processing performed by the data search means during the data search processing of this embodiment.

【0047】前述のデータ識別番号捜索処理の処理結果
について、捜索するデータ名が未登録かどうかの判定を
行ない(ステップ601)、未登録の場合には(ステッ
プ601のNO枝)、捜索するデータ名に対応するデータ
にはアクセスすることはできない。
With respect to the processing result of the above-mentioned data identification number search processing, it is judged whether or not the data name to be searched is unregistered (step 601), and if it is not registered (NO branch of step 601), the data to be searched. The data corresponding to the first name cannot be accessed.

【0048】ステップ601の判定が登録されている場
合には(ステップ601のYES 枝)、ステップ602で
オブジェクト内のオブジェクトテーブルに格納されてい
るデータ管理テーブルのチェーンの先頭ポインタを得、
これを辿ってチェーンになっているデータ管理テーブル
に格納されているデータ識別番号と前述のデータ識別番
号捜索処理で得たデータ識別番号とを次々と比較する
(ステップ603、604および605のループ)。
If the judgment in step 601 is registered (YES branch in step 601), the head pointer of the chain of the data management table stored in the object table in the object is obtained in step 602,
Following this, the data identification number stored in the chained data management table and the data identification number obtained by the above-mentioned data identification number search processing are successively compared (loop of steps 603, 604 and 605). .

【0049】どのデータ識別番号とも一致しないときに
は(ステップ603のNO枝)、捜索するデータ名に対応
するデータは未登録であることとなり、捜索するデータ
名に対応するデータにはアクセスすることはできない。
When it does not match any data identification number (NO branch of step 603), the data corresponding to the searched data name is not registered, and the data corresponding to the searched data name cannot be accessed. .

【0050】比較結果が一致のときには(ステップ60
4のNO枝)、そのデータ管理テーブルに格納されている
データが目的のアクセス対象データである(ステップ6
06)。
When the comparison result is a match (step 60)
No. 4 branch), the data stored in the data management table is the target access target data (step 6).
06).

【0051】以上により、捜索するデータ名に対応する
データをデータ識別番号をキーとして捜索することがで
きる。
As described above, the data corresponding to the data name to be searched can be searched using the data identification number as a key.

【0052】このように、データ識別番号をキーとして
捜索することにより、データ名比較の回数が、平均し
て、従来のデータ名比較の回数を、データ識別番号管理
ハッシュテーブルに収容されるポインタ数で割った回数
に減少し、本実施例で新たに追加される識別番号の比較
も数字同志の比較であるため高速に行なわれ、データへ
のアクセスに要する時間は大幅に短縮することができ
る。
As described above, by searching with the data identification number as a key, the number of data name comparisons is averaged, and the number of conventional data name comparisons is calculated as the number of pointers stored in the data identification number management hash table. The identification number newly added in this embodiment is also compared with each other by numbers, so that it is performed at high speed and the time required to access the data can be greatly shortened.

【0053】本実施例では、上述のように、データ識別
番号をデータ名管理テーブルのポインタとしたが、これ
に限るものではなく、登録順にそれぞれ固有の番号を付
与したりしてもよいことは言うまてもない。
In the present embodiment, as described above, the data identification number is used as the pointer of the data name management table, but the present invention is not limited to this, and a unique number may be given in the order of registration. Needless to say.

【0054】[0054]

【発明の効果】以上説明したように、本発明のオブジェ
クト指向におけるデータ管理方式は、データ識別番号を
キーとしてオブジェクト内のチェーン構造のデータ管理
テーブルを捜索することにより従来に比し格段に高速に
データにアクセスできるという効果を有している。
As described above, the object-oriented data management system of the present invention searches for a chain-structured data management table in an object using a data identification number as a key, and thus is much faster than the conventional method. It has the effect of being able to access the data.

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

【図1】本発明のオブジェクト指向におけるデータ管理
方式の一実施例を示すブロック図である。
FIG. 1 is a block diagram showing an example of an object-oriented data management system of the present invention.

【図2】本発明のオブジェクト指向におけるデータ管理
方式のデータ管理の構造を示すデータ管理構造図であ
る。
FIG. 2 is a data management structure diagram showing a data management structure of an object-oriented data management method of the present invention.

【図3】本実施例のオブジェクト指向におけるデータ管
理方式におけるデータ識別番号登録処理の動作の一例を
示す流れ図である。
FIG. 3 is a flow chart showing an example of the operation of a data identification number registration process in the object-oriented data management system of the present embodiment.

【図4】本実施例のオブジェクト指向におけるデータ管
理方式におけるデータ登録処理の動作の一例を示す流れ
図である。
FIG. 4 is a flowchart showing an example of the operation of a data registration process in the object-oriented data management system of the present embodiment.

【図5】本実施例のオブジェクト指向におけるデータ管
理方式におけるデータ識別番号捜索処理の動作の一例を
示す流れ図である。
FIG. 5 is a flowchart showing an example of the operation of the data identification number search processing in the object-oriented data management system of the present embodiment.

【図6】本実施例のオブジェクト指向におけるデータ管
理方式におけるデータ捜索処理の動作の一例を示す流れ
図である。
FIG. 6 is a flowchart showing an example of the operation of a data search process in the object-oriented data management system of the present embodiment.

【図7】従来のオブジェクトの構造を示す構造図であ
る。
FIG. 7 is a structural diagram showing a structure of a conventional object.

【図8】従来のデータ捜索処理の動作を示す流れ図であ
る。
FIG. 8 is a flowchart showing the operation of a conventional data search process.

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

102 データ登録処理 103 データ捜索処理 105 登録するデータ名 106 登録するデータ 107 データ識別番号登録手段 108 登録するデータ名のデータ識別番号 109 データ登録手段 110 捜索するデータ名 111 データ識別番号捜索手段 112 捜索するデータ名のデータ識別番号 113 データ捜索手段 114 捜索したデータ 203 データ識別番号管理ハッシュテーブル 204、205、206 データ名管理テーブル 207、208、209 データ名管理テーブルポイ
ンタ 210、211、212 データ名 213、701 オブジェクト 214、702 オブジェクトテーブル 215、706 データ管理テーブルポインタ 216、703 オブジェクト名 217、218、219、705 データ管理テーブ
ル 220、704 データ管理テーブルのチェーン構造 221、222、223 データ識別番号 224、708 データ 301〜312、401〜408、501〜509、6
01〜606、801〜809 流れ図のステップ 707 データ名ポインタ
102 data registration processing 103 data search processing 105 data name to be registered 106 data to be registered 107 data identification number registration means 108 data identification number of data name to be registered 109 data registration means 110 data name to be searched 111 data identification number search means 112 to search Data identification number of data name 113 Data search means 114 Searched data 203 Data identification number management hash table 204, 205, 206 Data name management table 207, 208, 209 Data name management table pointer 210, 211, 212 Data name 213, 701 Object 214, 702 Object table 215, 706 Data management table pointer 216, 703 Object name 217, 218, 219, 705 Data management table 22 The chain structure of the 704 data management table 221, 222, 223 data identification number 224,708 data 301~312,401~408,501~509,6
01-606, 801-809 Flow chart step 707 Data name pointer

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 登録するデータ名からそのデータ名に対
して一意に決まるデータ識別番号を決定し前記登録する
データ名とその識別番号との組を登録するデータ識別番
号登録手段と、前記データ識別番号と登録するデータと
の組をオブジェクトごとに登録するデータ登録手段と、
登録されているデータ識別番号群から捜索するデータ名
のデータ識別番号を捜索するデータ識別番号捜索手段
と、前記捜索されたデータ識別番号をキーとして目的の
オブジェクト内に登録されているデータを捜索しアクセ
スするデータ捜索手段とを備えることを特徴とするオブ
ジェクト指向におけるデータ管理方式。
1. A data identification number registration means for determining a data identification number uniquely determined for the data name to be registered and registering a set of the data name to be registered and the identification number, and the data identification. Data registration means for registering a set of a number and data to be registered for each object,
A data identification number searching means for searching a data identification number of a data name to be searched from a registered data identification number group, and searching for data registered in a target object using the searched data identification number as a key. An object-oriented data management method, comprising: a data search means for accessing.
JP4219843A 1992-08-19 1992-08-19 Data management system in object direction Pending JPH0667968A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4219843A JPH0667968A (en) 1992-08-19 1992-08-19 Data management system in object direction

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4219843A JPH0667968A (en) 1992-08-19 1992-08-19 Data management system in object direction

Publications (1)

Publication Number Publication Date
JPH0667968A true JPH0667968A (en) 1994-03-11

Family

ID=16741935

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4219843A Pending JPH0667968A (en) 1992-08-19 1992-08-19 Data management system in object direction

Country Status (1)

Country Link
JP (1) JPH0667968A (en)

Similar Documents

Publication Publication Date Title
US4916655A (en) Method and apparatus for retrieval of a search string
US7873041B2 (en) Method and apparatus for searching forwarding table
JPH08255176A (en) Method and system for comparison of table of database
JPH021059A (en) Associative retrieving system
JPH0667968A (en) Data management system in object direction
JPH1040255A (en) Hash table control device
JPH0644309A (en) Data base managing system
JPH04101272A (en) Data element retrieving method
JPH04257062A (en) Data processor using hash queue
JPS59146339A (en) Information retrieving system
JPS583032A (en) Tree structure access processing system
JPH05165891A (en) Data registration/retrieval system of data base
JPH09330322A (en) Data retrieval device
JPS633351A (en) Buffer retrieving control system
CN112182040A (en) Data query method, device, equipment and storage medium
JPH0546666A (en) Information retrieving device
JPH0387943A (en) Data base access control system
JPH04286072A (en) High speed retrieval system for table
JPH03223965A (en) Inequality sign condition connection system for related data base system
JPS60196844A (en) Retrieving device of information
JPS63291117A (en) Data processor
JPH06103028A (en) Data sort processing system
JPH05108719A (en) Information retrieving device
JPH05143648A (en) Information register and retrieval device
JPH02150920A (en) Retrieving system for maximum value data

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19991207