Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0795300B2 - Name management method in database - Google Patents
[go: Go Back, main page]

JPH0795300B2 - Name management method in database - Google Patents

Name management method in database

Info

Publication number
JPH0795300B2
JPH0795300B2 JP62314714A JP31471487A JPH0795300B2 JP H0795300 B2 JPH0795300 B2 JP H0795300B2 JP 62314714 A JP62314714 A JP 62314714A JP 31471487 A JP31471487 A JP 31471487A JP H0795300 B2 JPH0795300 B2 JP H0795300B2
Authority
JP
Japan
Prior art keywords
name
real name
alias
information
real
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.)
Expired - Fee Related
Application number
JP62314714A
Other languages
Japanese (ja)
Other versions
JPH01154222A (en
Inventor
佳彦 三島
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP62314714A priority Critical patent/JPH0795300B2/en
Publication of JPH01154222A publication Critical patent/JPH01154222A/en
Publication of JPH0795300B2 publication Critical patent/JPH0795300B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Description

【発明の詳細な説明】 〔概要〕 データベースに格納されている情報の本名および別名を
管理する名称管理方式に関し、 1つの情報に対して本名および別名を同列に配置して両
者を関連づけると共に、本名に対してのみ属性を登録す
ることにより、登録の手間を削減し、かつ属性情報の更
新もれを防止することを目的とし、 データベースに格納されている情報の本名あるは別名、
別名の場合に本名をポイントするポインタ、および本名
の場合に属性を少なくとも格納する名称テーブルと、こ
の名称テーブルを検索して通知された名称を見つけ出す
名称サーチ部と、この見つけ出した名称が本名である場
合にこの本名の属性を取り出し、一方、別名である場合
にポインタを辿って本名の属性を取り出す属性情報取り
出し部とを備え、この属性情報取り出し部によって取り
出した属性情報を出力するように構成する。
DETAILED DESCRIPTION OF THE INVENTION [Outline] Regarding a name management system for managing real names and aliases of information stored in a database, real names and aliases are arranged in the same row for one piece of information, and both are associated with each other. By registering the attribute only for the purpose of reducing the trouble of registration and preventing the update of the attribute information, the real name of the information stored in the database is an alias,
A pointer that points to the real name in the case of an alias, a name table that stores at least attributes in the case of the real name, a name search unit that searches the name table to find the notified name, and the found name is the real name. In this case, the attribute of this real name is taken out, and on the other hand, when it is an alias, it is provided with an attribute information fetching unit that fetches the attribute of the real name by tracing a pointer, and is configured to output the attribute information fetched by this attribute information fetching unit. .

〔産業上の利用分野〕[Industrial application field]

本発明は、データベースに格納されている情報の本名お
よび別名を管理する名称管理方式に関するものである。
The present invention relates to a name management system for managing real names and aliases of information stored in a database.

〔従来の技術〕[Conventional technology]

従来、システムディクショナリに格納されている資源の
名称および属性を管理するシステムにおいて、システム
ディクショナリの利用形態として、利用者が同一の資源
に対して別々の名称を用いて利用することがある。例え
ば複数の部門に渡って同一の情報を取り扱う場合、各部
門毎にこの同一の情報の呼び名が異なる場合がある。
2. Description of the Related Art Conventionally, in a system that manages the names and attributes of resources stored in a system dictionary, a user may use different names for the same resource as the usage mode of the system dictionary. For example, when handling the same information across a plurality of departments, the names of the same information may differ for each department.

このとき、1つの資源について、部門毎に独立に名称お
よびこれの属性を夫々登録するようにしていた。また、
資源の属性などを変更する場合に、同一の属性を持つ全
ての情報に対して変更処理を行うようにしていた。
At this time, with respect to one resource, the name and the attribute thereof are registered independently for each department. Also,
When changing the attribute of a resource, the changing process is performed on all information having the same attribute.

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

このため、利用者が同一の資源に対して名称およびその
属性を夫々別個に登録することによって、全体として同
じ内容の属性情報を何回も繰り返し登録することとな
り、登録に多くの手間が必要になってしまうという問題
点があった。
For this reason, if the user separately registers the name and the attribute of the same resource, the attribute information having the same content as a whole is repeatedly registered, which requires a lot of labor for registration. There was a problem that it would become.

また、1つの資源に対する複数の名称毎に属性を独立に
夫々登録していたため、同一資源のある名称の属性は更
新したが、同一資源の他の名称の属性は更新し忘れたな
どという事態が生じ易く、更新もれが発生し易いという
問題点があった。
In addition, since attributes are independently registered for each of a plurality of names for one resource, the attribute of a name with the same resource is updated, but the attribute of another name of the same resource is forgotten to be updated. However, there is a problem in that it is easy to occur and that an update leak easily occurs.

本発明は、1つの情報に対して本名および別名を同列に
配置して両者を関連づけると共に、本名に対してのみ属
性を登録することにより、登録の手間を削減し、かつ属
性情報の更新もれを防止することを目的としている。
According to the present invention, the real name and the alias are arranged in the same row for one information and the two are associated with each other, and the attribute is registered only for the real name, thereby reducing the labor of registration and updating the attribute information. The purpose is to prevent.

〔問題点を解決するための手段〕[Means for solving problems]

第1図を参照して問題点を解決するための手段を説明す
る。
Means for solving the problem will be described with reference to FIG.

第1図において、名称テーブル1は、名称である本名お
よび別名を同列に格納すると共に、本名に対してのみ属
性情報を格納し、別名からはポインタを辿ってこの属性
情報をアクセスし得るようにしたものである。
In FIG. 1, the name table 1 stores real names and aliases that are names in the same column, stores attribute information only for real names, and allows the aliases to access this attribute information by following a pointer. It was done.

名称サーチ部2は、入力された名称(本名あるいは別
名)を、名称テーブル1中から検索して見つけ出すもの
である。
The name search unit 2 searches the name table 1 for an input name (real name or alias) and finds it.

結果判別部3は、名称サーチ部2によって取り出された
名称が本名あるいは別名であるか否かを判別するもので
ある。
The result discriminating unit 3 discriminates whether the name retrieved by the name searching unit 2 is a real name or an alias.

属性情報取り出し部4は、結果判別部3から通知された
情報に基づいて、本名に関連づけて格納してある属性情
報を取り出すものである。
The attribute information extraction unit 4 extracts the attribute information stored in association with the real name based on the information notified from the result determination unit 3.

〔作用〕[Action]

本発明は、第1図に示すように、名称サーチ部2が通知
された(入力された)名称に対応するもの(本名あるい
は別名)を名称テーブル1を検索して取り出し、結果判
別部3がこの取り出した名称が本名あるいは別名を判別
し、属性情報取り出し部4が判別結果が本名の場合にこ
の本名の属性情報を取り出し、一方、別名の場合にポイ
ンタを辿って本名の属性情報を取り出し、出力するよう
にしている。
In the present invention, as shown in FIG. 1, the name search unit 2 searches the name table 1 for a name (real name or alias) corresponding to the notified (input) name, and the result determination unit 3 The extracted name determines the real name or the alias, and the attribute information extraction unit 4 extracts the attribute information of the real name when the determination result is the real name. On the other hand, in the case of the alias, the attribute information of the real name is extracted by tracing the pointer. I am trying to output.

従って、属性情報を本名に関連づけて1箇所に登録すれ
ばよく、登録の手間が削減されると共に、変更に際して
もこの本名に関連づけてある属性情報を変更すればよ
く、変更もれを防止することが可能となる。
Therefore, it is only necessary to register the attribute information in one place by associating it with the real name, and it is possible to reduce the trouble of registration and also to change the attribute information associated with the real name when changing it, and prevent the change. Is possible.

〔実施例〕〔Example〕

次に、第1図から第5図を用いて本発明の1実施例の構
成および動作を順次詳細に説明する。
Next, the configuration and operation of one embodiment of the present invention will be sequentially described in detail with reference to FIGS. 1 to 5.

第1図において、名称テーブル1は、図示のように名称
(本名あるいは別名)などを格納するものである。具体
的に言えば、本名の場合は、先頭から本名、本名/別名
識別フラグは本名、ポインタは不用であるため“NUL
L"、属性情報(データ項目の場合、タイプ(日本語、英
語など)、桁数、管理者、初期値など)などを格納す
る。別名の場合は、先頭から別名、本名/識別フラグは
別名、ポインタ(本名をポイントするポインタ)、属性
情報は登録しなく“NULL"を格納する。これら本名およ
び別名は、検索時にキーワード(検索ワード)による検
索対象とされ、これらが検索されて必要な属性情報が取
り出される。尚、本名と別名とを同列なデータ構造と
し、不用な部分例えば別名の属性情報の位置にNULLを格
納したが、これを実際のシステムディクショナリに格納
する場合には、いわゆるRDB圧縮機能を使用して圧縮す
るため、システムディクショナリ(データベース)上の
領域が余分に必要となることはない。また、本名は、複
数の名称の中で、最も代表的なものを選択する。その他
の名称を別名とする。
In FIG. 1, a name table 1 stores names (real name or alias) as shown. Specifically, in the case of a real name, the real name is from the beginning, the real name / alias identification flag is the real name, and the pointer is unnecessary, so "NUL
L ", attribute information (for data items, type (Japanese, English, etc.), number of digits, administrator, initial value, etc.) are stored. In case of an alias, alias from the beginning, real name / identification flag is an alias , Pointer (pointer pointing to real name), and attribute information is not registered and "NULL" is stored.The real name and aliases are searched for by keywords (search words) at the time of search, and these are the necessary attributes Information is taken out.The real name and the alias have the same data structure, and NULL is stored in the unnecessary part, for example, at the position of the attribute information of the alias, but when storing this in the actual system dictionary, the so-called RDB Since the compression function is used for the compression, no extra space is required in the system dictionary (database), and the real name is the most representative of multiple names. To select things. The other names and aliases.

名称サーチ部2は、入力された名称(本名あるいは別
名)をキーワードとして、名称テーブル1中から該当す
る本名あるいは別名を検索して見つけ出すものである。
The name search unit 2 searches for and finds a corresponding real name or alias from the name table 1 using the input name (real name or alias) as a keyword.

結果判別部3は、名称サーチ部2によって取り出された
名称が本名あるいは別名であるか否かを判別するもので
ある。この判別は、本名/別名識別フラグによって行
う。尚、第4図および第5図を用いて後述する場合に
は、本名テーブル1−1と別名テーブル1−2とが分離
されているので、いずれのテーブルから該当する本名あ
るいは名称が検索されたかによって本名あるいは別名と
判別すればよい。
The result discriminating unit 3 discriminates whether the name retrieved by the name searching unit 2 is a real name or an alias. This determination is made by the real name / alias identification flag. In addition, in the case described later with reference to FIGS. 4 and 5, since the real name table 1-1 and the alias name table 1-2 are separated from each other, which table is used to retrieve the corresponding real name or name? It can be determined as a real name or an alias by.

属性情報取り出し部4は、結果判別部3から通知された
情報、例えば取り出した名称が本名の場合には、この本
名の属性情報を取り出し、一方、別名の場合にはポイン
タを辿って本名の属性情報を取り出すものである。
The attribute information extraction unit 4 extracts the information notified from the result determination unit 3, for example, if the extracted name is the real name, the attribute information of this real name, while if it is an alias, the pointer is followed to trace the attribute of the real name. It is to retrieve information.

以下第1図構成および動作を順次詳細に説明する。The configuration and operation of FIG. 1 will be sequentially described in detail below.

第2図は、システムディクショナリデータベースの構造
例を示す。図中(a)は本名情報を表す。先頭から順
に、名称“AAA"(本名が“AAA")、本名(本名/別名識
別フラグが“0"であって本名)、ポインタは“0"(本名
であって不用のために“0"を格納))、および属性情報
が格納されている。
FIG. 2 shows an example of the structure of the system dictionary database. In the figure, (a) represents real name information. In order from the beginning, name "AAA" (real name is "AAA"), real name (real name / alias identification flag is "0" and real name), pointer is "0" (real name is unnecessary and "0" Stored)), and attribute information is stored.

図中(b)および(c)はこの図中(a)の別名情報を
表す。例えば図中(c)は、先頭から順に、名称“XXX"
(別名が“XXX")、別名(本名/別名識別フラグが“1"
であって別名)、ポインタ(本名へのポインタ)、およ
び属性情報は“NULL"(不用であるため“NULL")が格納
されている。
In the figure, (b) and (c) represent the alias information of (a) in this figure. For example, (c) in the figure shows the name "XXX" in order from the beginning.
(Alias is "XXX"), alias (real name / alias identification flag is "1"
Therefore, "NULL"("NULL" because it is unnecessary) is stored as the alias), the pointer (pointer to the real name), and the attribute information.

図中(d)は他の本名情報を表す。これは、図中(a)
の本名情報と同じように名称“BBBB"などを格納したも
のである。
In the figure, (d) represents other real name information. This is (a) in the figure
The name "BBBB" is stored in the same manner as the real name information of.

以上のように、本名情報および別名情報を同列のデータ
構造とし、1つの名称テーブル1中に両者を格納し、不
必要な部分には“NULL"を格納しておく。この“NULL"部
分は、RDB圧縮機能によって圧縮され、システムディク
ショナリデータベース中に格納されるため、余分な領域
を取ることはない。
As described above, the real name information and the alias information have the same data structure, and both are stored in one name table 1, and "NULL" is stored in an unnecessary portion. This "NULL" part is compressed by the RDB compression function and stored in the system dictionary database, so it does not take any extra space.

次に、第3図を用いて、第2図名称テーブル1を使用し
た場合の第1図構成の動作を詳細に説明する。
Next, the operation of the configuration of FIG. 1 when the name table 1 of FIG. 2 is used will be described in detail with reference to FIG.

第3図(イ)を用いて本名情報の登録について説明す
る。図中は、利用者が本名登録コマンドを入力した
後、名称(本名)、属性などの情報をパラメータとして
指定して入力する状態を示す。
Registration of real name information will be described with reference to FIG. In the figure, after the user inputs the real name registration command, information such as a name (real name) and attributes is designated and input as parameters.

図中は、ディクショナリに名称、本名の表示、属性な
どを登録する状態を示す。これは、図中で入力した本
名登録コマンドおよび入力した情報に対応して、第2図
図中(a)に示すように、本名情報の名称(本名)が
“AAA"、本名/別名識別フラグが“0"、ポインタが
“0"、および入力した属性情報(例えばデータ項目の場
合にはタイプ、桁数、管理者などの属性情報)を登録す
ることを意味している。
The figure shows a state in which names, real names, attributes, etc. are registered in the dictionary. This corresponds to the real name registration command entered in the figure and the entered information, and as shown in FIG. 2A, the name of the real name information (real name) is "AAA" and the real name / alias identification flag. Means “0”, the pointer is “0”, and the entered attribute information (for example, in the case of a data item, attribute information such as type, number of digits, administrator, etc.) is registered.

以上の手順によって、第2図図中(a)に示すような本
名情報が登録されることとなる。
By the above procedure, real name information as shown in FIG. 2 (a) is registered.

第3図(ロ)を用いて別名情報の登録について説明す
る。図中は、利用者が別名登録コマンドを入力した
後、別名の名称および本名の名称をパラメータとして指
定して入力する状態を示す。
Registration of alias information will be described with reference to FIG. In the figure, after the user inputs the alias registration command, the name of the alias and the name of the real name are designated and input as parameters.

図中は、本名を検索する状態を示す。これは、図中
で入力した本名をキーワードとして、例えば第2図名称
テーブル1を検索して図中、によって既に登録され
ている本名“AAA"を見つけ出すことを意味している。
The figure shows a state in which the real name is searched. This means that the real name "AAA" that has already been registered is found by searching, for example, the FIG. 2 name table 1 by using the real name input in the drawing as a keyword.

図中は、ディクショナリに名称(別名)、別名の表示
(本名/別名識別フラグを別名にセット)、本名テーブ
ルへのポインタを登録する状態を示す。これは、図中
で入力した別名登録コマンドおよび入力した情報に対応
して、例えば第2図図中(b)に示すように、別名情報
の名称(別名)が“XXX"、本名/別名識別フラグが
“1"、ポインタを本名情報の先頭をポイントするように
セット、および属性情報に“NULL"を格納することを意
味している。
The figure shows a state in which a name (alias) is displayed in the dictionary, an alias is displayed (the real name / alias identification flag is set to the alias), and a pointer to the real name table is registered. This corresponds to the alias registration command input in the figure and the input information, for example, as shown in FIG. 2 (b), the name (alias) of the alias information is "XXX", the real name / alias identification This means that the flag is "1", the pointer is set to point to the beginning of the real name information, and "NULL" is stored in the attribute information.

以上の手順によって、第2図図中(b)に示すような別
名情報が登録されることとなる。
By the above procedure, the alias information as shown in FIG. 2B is registered.

第3図(ハ)を用いて入力した本名あるいは別名から属
性情報を取り出す動作について説明する。図中は、利
用者が名称検索コマンドを入力した後、名称を入力する
状態を示す。
The operation of extracting the attribute information from the real name or the alias input with reference to FIG. 3C will be described. The figure shows a state in which the user inputs a name after inputting a name search command.

図中は、名称をキーワードに名称テーブル1を検索す
る状態を示す。
The figure shows a state in which the name table 1 is searched using a name as a keyword.

図中は、名称テーブル1のREAD(リード)を行う状態
を示す。
The figure shows a state in which READ of the name table 1 is performed.

図中は、図中でリードした名称が本名か否かを判別
する状態を示す。これは、第2図図中(a)ないし
(c)に示すように、本名情報中の本名/別名識別フラ
グが“0"(本名)であるか否かを判別することを意味し
ている。YESの場合(本名の場合)には、図中で当該
本名の属性情報を取り出して利用者に通知する。NOの場
合(別名の場合)には、図中で当該別名情報中の本名
へのポインタを辿って本名テーブル(本名情報)のリー
ドを行い、図中でこのリードした本名情報から属性情
報を取り出して利用者に通知する。
The figure shows a state in which it is determined whether or not the name read in the figure is the real name. This means to determine whether or not the real name / alias identification flag in the real name information is "0" (real name) as shown in (a) to (c) of FIG. . In the case of YES (in the case of real name), the attribute information of the real name is taken out from the figure and the user is notified. In the case of NO (in the case of an alias), the real name table (real name information) is read by following the pointer to the real name in the alias information in the figure, and the attribute information is extracted from this read real name information in the figure. And notify the user.

以上の手順によって、利用者からの問い合わせに対し、
名称をキーワードにして名称テーブル1を1回検索して
本名の場合にはこの本名の属性情報を通知し、一方別名
の場合にはポインタを辿って本名の属性情報を通知する
ことが可能となる。
By the above procedure, in response to inquiries from users,
When the name table 1 is searched once using the name as a keyword, the attribute information of the real name can be notified in the case of the real name, while the attribute information of the real name can be notified by tracing the pointer in the case of the alias. .

次に、第5図を用いて、第4図本名テーブル1−1と別
名テーブル1−2とを分離した態様の名称テーブル1を
使用した場合の第1図構成の動作を詳細に説明する。
尚、この第4図本名テーブル1−1および別名テーブル
1−2は、2つのテーブルに分け、夫々に必要な情報の
み(第2図名称テーブル1に比し、本名テーブル1−1
には本名/別名識別フラグ、ポインタが削除され、別名
テーブル1−2には本名/別名識別フラグ、属性情報
(NULL)が削除された情報)を格納するようにしたもの
である。
Next, the operation of the configuration shown in FIG. 1 when the name table 1 in which the real name table 1-1 and the alias table 1-2 are separated is used will be described in detail with reference to FIG.
The real name table 1-1 and the alias table 1-2 shown in FIG. 4 are divided into two tables, and only necessary information (compared to the name table 1 shown in FIG.
In this example, the real name / alias identification flag and the pointer are deleted, and the real name / alias identification flag and attribute information (null) are deleted from the alias table 1-2.

第5図(イ)を用いて本名情報の登録について説明す
る。図中は、利用者が本名登録コマンドを入力した
後、名称(本名)、属性などの情報をパラメータとして
指定して入力する状態を示す。
Registration of real name information will be described with reference to FIG. In the figure, after the user inputs the real name registration command, information such as a name (real name) and attributes is designated and input as parameters.

図中は、ディクショナリに名称、本名の表示、属性な
どを登録する状態を示す。これは、図中で入力した本
名登録コマンドおよび入力した情報に対応して、第4図
図中(e)示すように、本名情報の名称(本名)が“AA
A"、入力した属性情報(例えばデータ項目の場合にはタ
イプ、桁数、管理者などの属性情報)を登録することを
意味している。
The figure shows a state in which names, real names, attributes, etc. are registered in the dictionary. This corresponds to the real name registration command entered in the figure and the entered information, and the name of the real name information (real name) is "AA" as shown in FIG. 4 (e).
A "means that the entered attribute information (for example, in the case of a data item, attribute information such as type, number of digits, administrator, etc.) is registered.

以上の手順によって、第4図図中(e)に示すような本
名情報が登録されることとなる。
By the above procedure, real name information as shown in FIG. 4 (e) is registered.

第5図(ロ)を用いて別名情報の登録について説明す
る。図中は、利用者が別名登録コマンドを入力した
後、別名の名称および本名の名称をパラメータとして指
定して入力する状態を示す。
Registration of alias information will be described with reference to FIG. In the figure, after the user inputs the alias registration command, the name of the alias and the name of the real name are designated and input as parameters.

図中は、本名を検索する状態を示す。これは、図中
で入力した本名をキーワードとして、例えば第4図本名
テーブル1を検索して図中、によって既に登録した
本名(本名情報)“AAA"を見つけ出すことを意味してい
る。
The figure shows a state in which the real name is searched. This means that the real name (real name information) "AAA" that has already been registered is found by searching, for example, the real name table 1 in FIG. 4 by using the real name input in the drawing as a keyword.

図中は、ディクショナリの別名テーブルに名称(別
名)、および本名テーブル1−1へのポインタを登録す
る状態を示す。これは、図中で入力した別名登録コマ
ンドおよび入力した情報に対応して、例えば第4図図中
(f)に示すように、別名情報の名称(別名)を“XX
X"、および本名情報の先頭をポイントするポインタを格
納することを意味している。
The figure shows a state in which a name (alias) is registered in the dictionary alias table and a pointer to the real name table 1-1 is registered. This corresponds to the alias registration command input in the figure and the input information, for example, as shown in (f) in FIG.
This means that X "and a pointer that points to the beginning of the real name information are stored.

以上の手順によって、第4図図中(f)に示すような別
名情報が登録されることとなる。
By the above procedure, the alias information as shown in FIG. 4 (f) is registered.

第5図(ハ)を用いて入力した本名あるいは別名から属
性情報を取り出す動作について説明する。図中は、利
用者が名称検索コマンドを入力した後、名称を入力する
状態を示す。
The operation of extracting the attribute information from the real name or the alias that has been input will be described with reference to FIG. The figure shows a state in which the user inputs a name after inputting a name search command.

図中は、名称をキーワードに本名テーブル1−1を検
索し、該当する名称が見つかったか否かを判別する状態
を示す。ありの場合(見つかった場合)には、本名であ
るので、図中で本名テーブル1−1中の該当する本名
情報をリードし、図中でこの本名情報中の属性情報を
取り出して利用者に通知する。一方、なしの場合には、
本名でないので(別名であるので)、図中で入力した
名称をキーワードに別名テーブル1−2を検索し、見つ
かった場合に図中で別名テーブル1−2中の該当する
別名情報をリードし、図中でこのリードした別名情報
中の本名情報へのポインタを辿って本名テーブル1−1
中の該当する本名情報をリードし、図中でこの本名情
報中の属性情報を取り出して利用者に通知する。
The figure shows a state in which the real name table 1-1 is searched using the name as a keyword to determine whether or not the corresponding name is found. In the case of existence (when found), since it is the real name, the corresponding real name information in the real name table 1-1 is read in the figure, and the attribute information in this real name information is taken out in the figure to the user. Notice. On the other hand, if none,
Since it is not the real name (because it is an alias), the alias table 1-2 is searched using the name entered in the figure as a keyword, and if found, the corresponding alias information in the alias table 1-2 is read in the figure, The real name table 1-1 is traced by tracing the pointer to the real name information in the read alias information in the figure.
The corresponding real name information is read out, and the attribute information in this real name information in the figure is taken out and notified to the user.

以上の手順によって、利用者からの問い合わせに対し、
名称をキーワードにして本名テーブル1−1を先ず検索
して見つかった場合にはこの本名の属性情報を通知し、
次に見つからなかった場合に別名テーブル1−2を検索
して見つけた別名情報中のポインタを辿って本名テーブ
ル1−1中の本名の属性情報を通知することが可能とな
る。
By the above procedure, in response to inquiries from users,
When the real name table 1-1 is first searched by using the name as a keyword, the real name attribute information is notified when found.
If not found, it is possible to search the alias table 1-2 and follow the pointer in the found alias information to notify the real name attribute information in the real name table 1-1.

〔発明の効果〕〔The invention's effect〕

以上説明したように、本発明によれば、属性情報を本名
に関連づけて1箇所に登録し、別名からは本名をポイン
トするポインタを格納して検索する構成を採用している
ため、属性情報を本名に関連づけた1箇所に登録すれば
よく、登録の手間を削減することができると共に、属性
情報の変更に際し、1箇所に格納されている属性情報を
変更すればよく、本名および別名に対する属性情報の変
更もれを防止することができる。
As described above, according to the present invention, since the attribute information is associated with the real name and registered in one place, and a pointer that points to the real name is stored and searched from the alias, the attribute information is stored. It is only necessary to register in one place associated with the real name, and the labor of registration can be reduced, and when changing the attribute information, the attribute information stored in one place can be changed. It is possible to prevent the change leak.

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

第1図は本発明の1実施例構成図、第2図、第4図はシ
ステムディクショナリデータベースの構造例、第3図、
第5図は本発明の動作説明フローチャートを示す。 図中、1は名称テーブル、1−1は本名テーブル、1−
2は別名テーブル、2は名称サーチ部、3は結果判別
部、4は属性情報取り出し部を表す。
FIG. 1 is a configuration diagram of one embodiment of the present invention, FIG. 2 and FIG. 4 are structural examples of a system dictionary database, FIG.
FIG. 5 shows a flowchart for explaining the operation of the present invention. In the figure, 1 is a name table, 1-1 is a real name table, 1-
2 is an alias table, 2 is a name search unit, 3 is a result discriminating unit, and 4 is an attribute information extracting unit.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】データベースに格納されている情報の本名
および別名を管理する名称管理方式において、 データベースに格納されている情報の本名あるは別名、
別名の場合に本名をポイントするポインタ、および本名
の場合に属性を少なくとも格納する名称テーブル(1)
と、 この名称テーブル(1)を検索して通知された名称を見
つけ出す名称サーチ部(2)と、 この見つけ出した名称が本名である場合にこの本名の属
性を取り出し、一方、別名である場合にポインタを辿っ
て本名の属性を取り出す属性情報取り出し部(4)とを
備え、 この属性情報取り出し部(4)によって取り出した属性
情報を出力するように構成したことを特徴とするデータ
ベースにおける名称管理方式。
1. A name management system for managing real names and aliases of information stored in a database, wherein a real name or an alias of information stored in the database,
A pointer that points to the real name in the case of an alias, and a name table that stores at least the attributes in the case of the real name (1)
And a name search unit (2) that searches the name table (1) to find the notified name, and if the found name is a real name, retrieves the attribute of this real name, while if it is an alias, A name management system in a database, comprising: an attribute information extraction unit (4) for extracting an attribute of a real name by tracing a pointer, and outputting the attribute information extracted by the attribute information extraction unit (4). .
JP62314714A 1987-12-10 1987-12-10 Name management method in database Expired - Fee Related JPH0795300B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62314714A JPH0795300B2 (en) 1987-12-10 1987-12-10 Name management method in database

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62314714A JPH0795300B2 (en) 1987-12-10 1987-12-10 Name management method in database

Publications (2)

Publication Number Publication Date
JPH01154222A JPH01154222A (en) 1989-06-16
JPH0795300B2 true JPH0795300B2 (en) 1995-10-11

Family

ID=18056679

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62314714A Expired - Fee Related JPH0795300B2 (en) 1987-12-10 1987-12-10 Name management method in database

Country Status (1)

Country Link
JP (1) JPH0795300B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2837525B2 (en) * 1990-08-31 1998-12-16 富士通株式会社 Derived database processing method
US5333315A (en) * 1991-06-27 1994-07-26 Digital Equipment Corporation System of device independent file directories using a tag between the directories and file descriptors that migrate with the files

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60129852A (en) * 1983-12-16 1985-07-11 Matsushita Electric Ind Co Ltd File management method
JPS60163144A (en) * 1984-02-02 1985-08-26 Nec Corp Document management system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
「ACOSソフトウェアACOS−4/MVPXEADBS軍用手引書DFC74−6」6版(1985−6)日本電気P.49「(2)別名エントリ」

Also Published As

Publication number Publication date
JPH01154222A (en) 1989-06-16

Similar Documents

Publication Publication Date Title
US6675160B2 (en) Database processing method, apparatus for carrying out the same and medium storing processing program
JPH0765035A (en) Structured document retrieving device
JPH09319757A (en) Information retrieval system
CN111400323A (en) Data retrieval method, system, device and storage medium
JP2002099561A (en) Data conversion method, data conversion system, and storage medium
US5557788A (en) Relational access system for network type data bases which uses a unique declarative statement
JPH05324719A (en) Document retrieval system
JPH0795300B2 (en) Name management method in database
JPH0644309A (en) Data base managing system
JPH05250416A (en) Registering and retrieving device for data base
JP2002207768A (en) Information processing system, its method and recording medium recorded with information processing program operating on computer
JPH04357567A (en) Information retrieving system
JPH1091644A (en) Method and device for processing data base query
JPH03166649A (en) Distributed data base system
JPH0514304B2 (en)
JP2000222410A (en) Thesaurus search device and thesaurus search system
JPH0227475A (en) Data managing device
JPH01233517A (en) Data base retrieving device
JPH0359774A (en) Search support system and database system
JPH04116772A (en) Connection data base retrieval device
JPH07105223A (en) Data base retrieval device
JPH07104867B2 (en) Relational database system
JPH0916620A (en) Index search system
JPH06259309A (en) Distributed data management system and data access method thereof
JPS62109126A (en) Data retrieving method for data base

Legal Events

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