JP2819567B2 - Classification index creation device - Google Patents

Classification index creation device

Info

Publication number
JP2819567B2
JP2819567B2 JP63244347A JP24434788A JP2819567B2 JP 2819567 B2 JP2819567 B2 JP 2819567B2 JP 63244347 A JP63244347 A JP 63244347A JP 24434788 A JP24434788 A JP 24434788A JP 2819567 B2 JP2819567 B2 JP 2819567B2
Authority
JP
Japan
Prior art keywords
classification
index
file
classification method
hierarchy
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
JP63244347A
Other languages
Japanese (ja)
Other versions
JPH0293767A (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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP63244347A priority Critical patent/JP2819567B2/en
Publication of JPH0293767A publication Critical patent/JPH0293767A/en
Application granted granted Critical
Publication of JP2819567B2 publication Critical patent/JP2819567B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 「産業上の利用分野」 本発明はデータベースへのアクセスを行うためのイン
デックスを作成する分類インデックス作成装置に関す
る。
Description: TECHNICAL FIELD The present invention relates to a classification index creation device that creates an index for accessing a database.

「従来の技術」 データベースは、さまざまな情報を蓄えた“基地”で
あり、各種のユーザや種々の業種で有効利用が図れるよ
うに色々のファイルを統合化した共用ファイルとして表
現することができる。データベースが登場する以前に
は、個々の業務ごとにファイルが専有されていた。この
ため、ファイル間でのデータの重複が生じ、また内容に
食い違いが生じたりして、ファイルの更新や維持の面で
問題があった。データベースはこのような問題を解決し
たもので、種々の業務や処理のそれぞれの立場に応じて
データの姿を描き、それに従ったデータの選択的な取り
出しと処理・加工を行えるようにしたデータの大集合体
である。
2. Description of the Related Art A database is a "base" storing various information, and can be represented as a shared file in which various files are integrated so that various users and various types of businesses can effectively use the database. Prior to the advent of databases, files were proprietary for each task. For this reason, there is a problem in updating and maintaining the file because data is duplicated between the files and the content is inconsistent. The database solves this problem.Data is drawn according to the position of various tasks and processes, and data can be selectively extracted and processed and processed in accordance with the data. It is a large aggregate.

このようなデータベースからデータの検索を行うため
に、従来からシソーラスが使用されている。ここでシソ
ーラスとは、検索の際に使用されるキーワードの範囲と
キーワード間の関係を規定する索引用単語辞典(ターム
リスト)である。シソーラスに使用される単語あるいは
キーワードは予め規定されており、キーワード相互間に
同義語、上位語、下位語、関連語等の関係が定められて
いるシソーラスを用いたシステムでは、予め定められた
キーワードを蓄積すべきデータに付加してデータベース
に蓄積するようになっている。キーワードとしては、英
字や数字が用いられている。
Conventionally, a thesaurus has been used for searching data from such a database. Here, the thesaurus is an index word dictionary (term list) that defines the range of keywords used in the search and the relationship between the keywords. The words or keywords used in the thesaurus are defined in advance, and in a system using a thesaurus in which the relations between synonyms, broad terms, lower terms, related words, etc. are defined between keywords, predetermined keywords are used. Is added to data to be stored and stored in a database. Alphabetic characters and numbers are used as keywords.

ところで、シソーラスを唯一のインデックスとして使
用すると、特定の用途に対しては有効であってもその他
各種の用途に対しては必ずしも使いやすいシステムとは
ならない。そこで、この欠点を改良するためにインデッ
クスを複数持った分類インデックス作成装置が提案され
ている。
By the way, if a thesaurus is used as the only index, a system that is effective for a specific application but is not always easy to use for other various applications is not necessarily obtained. Therefore, in order to improve this drawback, a classification index creation device having a plurality of indexes has been proposed.

「発明が解決しようとする課題」 この提案された装置では、階層的な分類を行うための
インデックスを作成している。このため、インデックス
の作成の際に、そのつど検索式を入力する必要があり、
煩わしかった。このような煩雑さのために、階層インデ
ックスの作成が阻害されることになり、その有用性を発
揮することできなかった。
"Problem to be Solved by the Invention" In the proposed device, an index for performing hierarchical classification is created. Because of this, you need to enter a search expression each time you create an index,
It was troublesome. Due to such complexity, the creation of a hierarchical index is hindered, and its usefulness cannot be exhibited.

そこで本発明は、階層インデックスの作成の簡易に行
うことのできる分類インデックス作成装置を提供すこと
をその目的とする。
Accordingly, it is an object of the present invention to provide a classification index creation device that can easily create a hierarchical index.

「課題を解決するための手段」 本発明では、複数の分類項目からなるデータを1組の
レコードとした複数組のレコードを保持するデータベー
ス装置に、(イ)前記した複数の分類項目に対応させて
これらの分類項目でどのような分類を行うかの分類方法
を格納した複数種類の分類方法保持手段と、(ロ)この
分類方法保持手段に保持された複数の分類方法の中から
作成したい階層にそれぞれ対応した分類方法を指定する
分類方法指定手段と、(ハ)この分類方法指定手段によ
る分類方法の指定に応じて分類方法保持手段から対応す
る分類方法を読み出す分類方法読出手段と、(ニ)この
分類方法読出手段によって読み出された分類方法を組み
合わせる組合せ手段と、(ホ)この組合せ手段によって
組み合わされた分類方法を用いて、階層構造を有し、か
つ同一の階層のすべてのノードは互いに同一の構造の下
位のノード群を有する分類インデックスを作成する分類
インデックス作成手段と、(ヘ)この分類インデックス
作成手段によって作成された分類インデックスを前記レ
コード中の複数の分類項目の中から所望の分類項目のデ
ータを検索するためのものとして複数保持するインデッ
クス保持手段とを具備させる。
[Means for Solving the Problems] In the present invention, a database device that holds a plurality of sets of records in which data consisting of a plurality of classification items is one set of records is provided with (a) the plurality of classification items corresponding to the plurality of classification items. Means for storing a plurality of types of classification methods that store the classification methods to be performed by these classification items, and (b) a hierarchy to be created from among the plurality of classification methods stored in the classification method storage means. (C) a classification method reading means for reading a corresponding classification method from the classification method holding means in accordance with the specification of the classification method by the classification method specifying means; A) combining means for combining the classification methods read by the classification method reading means, and (e) a hierarchical structure using the classification method combined by the combination means. And all the nodes of the same hierarchy have a classification index having a subordinate node group having the same structure as each other. (F) a classification index generated by the classification index generation means And index holding means for holding a plurality of index items for retrieving data of a desired category item from a plurality of category items in the record.

すなわち本発明によれば、階層を順に辿りながら検索
式が作成され、分類インデックスが作成される。
That is, according to the present invention, a search formula is created while sequentially traversing the hierarchy, and a classification index is created.

「実施例〕 以下実施例につき本発明を詳細に説明す。[Examples] Hereinafter, the present invention will be described in detail with reference to examples.

第1図は本発明の一実施例における分類インデックス
作成装置の構成を表わしたものである。この装置は中央
演算部21を備えている。中央演算部21は、バス22によっ
て次に説明する各部と接続されており、利用者からの要
求に応じて各部の制御を行うようになっている。
FIG. 1 shows a configuration of a classification index creating apparatus according to an embodiment of the present invention. This device includes a central processing unit 21. The central processing unit 21 is connected to each unit described below by a bus 22, and controls each unit in response to a request from a user.

(i)通信制御部23: 複数の端末装置からの要求を時分割で制御する部分で
ある。
(I) Communication control section 23: A section for controlling requests from a plurality of terminal devices in a time-division manner.

(ii)分類インデックス処理部24: 複数の分類インデックスのアクセスすべてを行う部分
である。分類インデックス処理部24は、次のような動作
を行う。
(Ii) Classification index processing unit 24: A unit that performs all accesses to a plurality of classification indexes. The classification index processing unit 24 performs the following operation.

(イ)部類インデックスを補助記憶装置にファイルとし
て保持する。
(B) The category index is stored as a file in the auxiliary storage device.

(ロ)複数の分類インデックスから指定されたものへと
切り替える。
(B) Switching from a plurality of classification indexes to a specified one.

(ハ)分類インデックスの分類構造を要求に応じて返
す。
(C) Return the classification structure of the classification index as required.

(ニ)次に説明する分類インデックス作成部26からの要
求に応じて内容を変更する。
(D) The contents are changed in response to a request from the classification index creating unit 26 described below.

(ホ)分類インデックスに保持されている検索式に従っ
て、後で説明するデータベース処理部27に対して検索を
依頼する。
(E) According to the search formula stored in the classification index, a search is requested to the database processing unit 27 described later.

(iii)分類インデックス作成部26: 分類テーブル28およびワーキングメモリ29を備えてお
り、次のような動作を行う。
(Iii) Classification index creation unit 26: It has a classification table 28 and a working memory 29, and performs the following operations.

(イ)利用者から部類インデックス作成のための指定を
受け取り、これを保持する。
(B) Receive designation from the user for creating a category index and retain it.

(ロ)分類テーブル28の内容を取り出し、利用者に提示
する。あるいはその内容をワーキングメモリ29に保持す
る。
(B) The contents of the classification table 28 are extracted and presented to the user. Alternatively, the contents are held in the working memory 29.

(ハ)ワーキングメモリ29の内容に従って、分類インデ
ックスの作成の要求を分類インデックス処理部27に対し
て送出する。
(C) According to the contents of the working memory 29, a request for creating a classification index is sent to the classification index processing unit 27.

(iv)データベース処理部27: (イ)データベース処理部27は、データベース本体31に
格納されたデータベースに対してフィールドの値の検索
およびレコード番号による検索を行う。ここでレコード
とは、例えば社員の個人情報をデータベースとしている
場合には、それぞれの個人に関するデータを保持する領
域である。
(Iv) Database processing unit 27: (a) The database processing unit 27 searches the database stored in the database main body 31 for the value of the field and the search by the record number. Here, the record is, for example, an area for holding data on each individual when the personal information of the employee is used as a database.

(ロ)また、データベースのデータの追加、削除および
編集を、利用者の要求に応じて行う。
(B) Addition, deletion, and editing of data in the database are performed according to a user's request.

(v)ファイル編集処理部32: ファイル編集処理部32は、分類テーブル28と共に分類
インデックスファイル33および分類方法ファイル34に接
続されており、次のような動作を行う。
(V) File edit processing unit 32: The file edit processing unit 32 is connected to the classification index file 33 and the classification method file 34 together with the classification table 28, and performs the following operation.

(イ)ファイル編集処理部32すなわちテキストファイル
の編集を、利用者の要求に応じて処理する。通常のテキ
ストエディタである。
(A) The file editing unit 32, that is, the editing of a text file, is processed in response to a user request. It is a normal text editor.

(ロ)分類方法ファイル34は、データベースのフィール
ドごとにその値ででのように分類するかを指定するため
のものである。ここで、フィールドとは、前記した社員
の個人情報の例を用いると、レコードの中で、氏名、年
令等の分類項目のデータを保持する領域をいう。
(B) The classification method file 34 is used to specify whether to classify data by field for each field in the database. Here, the field refers to an area in a record that holds data of classification items such as a name and an age, using the above-described example of the employee's personal information.

(vi)表示制御回路35: ディスプレイ36に対して各種データを表示するための
回路である。
(Vi) Display control circuit 35: a circuit for displaying various data on the display 36.

(vii)キーボード37: この分類インデックス作成装置の各種操作を行うため
の入力装置である。キーボード37にはポインティング・
デバイスとしてのマウス38が接続されている。ディスプ
レイ36上に表示されるカーソルは、マウス38を用いて操
作する。
(Vii) Keyboard 37: An input device for performing various operations of the classification index creation device. Pointing on keyboard 37
A mouse 38 as a device is connected. The cursor displayed on the display 36 is operated using the mouse 38.

第2図は、第1図に示したデータベース本体31内のデ
ータベースに格納されたレコードの一例を階層的に分類
したものである。この例では、第3図にテーブル形式で
示すように第1の階層が“年度末調整”であり、次の第
2の階層が人事部、総務部等の所属部に関するものであ
る。最下位の階層としての第3の階層は、20代、30代等
の年齢に関するものである。この第2の階層には、デー
タベース本体31に対するアクセスのための検索式が格納
されている。アクセスは、1つの分類インデックスファ
イルを選択し、その階層を順に辿ることによって行わ
れ、これにより所望のデータまたはレコードに辿り着く
ことができる。このような階層をこの分類インデックス
処理部は複数保持することができる。これらの階層は利
用者によってそれぞれ定義することができる。
FIG. 2 is a diagram in which an example of records stored in the database in the database main body 31 shown in FIG. 1 is hierarchically classified. In this example, as shown in a table format in FIG. 3, the first tier is “year-end adjustment”, and the second tier is related to departments such as the personnel department and the general affairs department. The third hierarchy as the lowest hierarchy relates to ages such as those in their twenties and thirties. In the second hierarchy, a search formula for accessing the database body 31 is stored. Access is performed by selecting one classification index file and tracing the hierarchy in order, so that desired data or records can be reached. The classification index processing unit can hold a plurality of such hierarchies. Each of these hierarchies can be defined by the user.

第4図は、第1図に示した分類テーブル28の構造を表
わしたものである。分類テーブルは予め“年令”、“年
収”窓のフィールドの名称と、‘age 1'、‘age 2'等の
ようにその分類方法を指定するファイルのファイル名の
テーブルになっている。
FIG. 4 shows the structure of the classification table 28 shown in FIG. The classification table is a table of the names of the fields of the "age" and "annual income" windows and the file names of files specifying the classification method such as "age 1" and "age 2".

第5図は、一例としてこの第4図に示した‘age 1'と
いうファイルの詳細を表わしたものである。この例で
は、例えば‘20代’という分類の名称に対して、“年令
≧20AND年令<30"という検索式が対となっている。この
ように分類方法を指定するファイルは、分類の名称とそ
の分類に入るデータの検索式の対が並んでいるテキスト
ファイルである。
FIG. 5 shows the details of the file “age 1” shown in FIG. 4 as an example. In this example, for example, a search formula of “age ≧ 20AND age <30” is paired with the name of the category “20s”. The file specifying the classification method in this way is a text file in which pairs of classification names and data retrieval formulas included in the classification are arranged.

第6図は、これに対して第1図に示したワーキングメ
モリ29の構造を表わしたものである。ワーキングメモリ
29はテーブル形式になっており、階層とその分類方法が
1対のデータとして格納されている。ここで階層はこの
図で数字が大きいものほど下位の層となっており、分類
方法は第5図に示したテキストファイルの内容と同じも
のとなっている。
FIG. 6 shows the structure of the working memory 29 shown in FIG. Working memory
Reference numeral 29 denotes a table format in which a hierarchy and a classification method are stored as a pair of data. In this case, the hierarchy is lower as the number is larger in this figure, and the classification method is the same as the contents of the text file shown in FIG.

ところで、分類インデックスを定義する際には、まず
利用者の使用するディスプレイ36(第1図)上に分類テ
ーブルを表示する。分類テーブルが一度に表示できない
場合には、画面をスクロールすることによってその全体
を見ることができる。
When defining a classification index, first, a classification table is displayed on a display 36 (FIG. 1) used by the user. If the classification table cannot be displayed at once, the entire screen can be viewed by scrolling the screen.

第7図は、ディスプレイの表示内容の一例を表わした
ものである。ディスプレイ36の左半分には、分類テーブ
ル欄41が表示される。ディスプレイ36の右半分にはファ
イルの内容を表示するエリア42と、途中の指定結果を表
示するエリア43が配置されている。利用者は、作成した
い階層の順に分類テーブル欄41から、分類方法が格納さ
れているファイルのファイル名を指定していく。具体的
には、マウス38を使用して前記したカーソルを所望のフ
ァイル名に合わせ、マウス38のボタンをクリックするこ
とでそのファイル名の指定が行われる。
FIG. 7 shows an example of the display contents of the display. In the left half of the display 36, a classification table column 41 is displayed. In the right half of the display 36, an area 42 for displaying the contents of the file and an area 43 for displaying a specified result in the middle are arranged. The user specifies the file name of the file storing the classification method from the classification table column 41 in the order of the hierarchy to be created. Specifically, by using the mouse 38 to move the cursor to a desired file name and clicking a button of the mouse 38, the file name is specified.

もちろん、分類方法のファイルの内容は、ディスプレ
イ36上に表示することができる。この操作例のように分
類テーブル欄41から目的とするファイル名を選択した
ら、ワーキングメモリ29内にその内容が移動される。こ
れで、分類インデックス作成のための指定作業が終了す
る。
Of course, the contents of the classification method file can be displayed on the display 36. When a target file name is selected from the classification table column 41 as in this operation example, the content is moved into the working memory 29. This completes the designation work for creating the classification index.

以上の作業が終了したら、ワーキングメモリ29上のデ
ータから順に辿っていき、これを分類インデックスファ
イル33に書き込んでいく。すなわち、書き込みのための
要求を分類インデックス処理部24に対して行うことにな
る。
When the above operation is completed, the data is sequentially traced from the working memory 29 and written into the classification index file 33. That is, a request for writing is made to the classification index processing unit 24.

第8図は、第3図に示した一連の検索式を作成するた
めの作業を説明するためのものである。
FIG. 8 is a diagram for explaining the operation for creating the series of search formulas shown in FIG.

まず、ワーキングメモリ29上に3つのメモリ領域
“N"、“A"および“B"を用意し、メモリ領域“N"には数
値“0"を書き込み、他のメモリ領域“A"、“B"には空の
文字列を書き込む(ステップ)。ここで、“A"は検索
される分類の名称であり、“B"はこの分類に対応する検
索式である。
First, three memory areas “N”, “A”, and “B” are prepared on the working memory 29, a numerical value “0” is written in the memory area “N”, and the other memory areas “A”, “B” are written. Write an empty string in "" (step). Here, “A” is the name of the category to be searched, and “B” is a search formula corresponding to this category.

3つのメモリ領域“N"、“A"、“B"の初期設定が終了
したら、第2図に示したそれぞれの最下層まで辿って検
索式を作成していくことになる。そこで、まず数値“N"
よりも大きな値がワーキングメモリ29内の階層を示す値
として存在するかどうかの判別が行われる(ステップ
)。この場合、N=1なので、数値“N"が数値“1"に
設定され(ステップ)、ワーキングメモリ29から数値
“1"に対する分類方法が取り出される(ステップ)。
そして、その分類方法の中の分類名称と検索式それぞれ
に対して、次に示すような置換を行う(ステップ)。
After the initial setting of the three memory areas “N”, “A”, and “B” is completed, the search formula is created by tracing to the respective lowest layers shown in FIG. So, first, the numerical value “N”
It is determined whether or not a larger value exists as a value indicating the hierarchy in the working memory 29 (step). In this case, since N = 1, the numerical value "N" is set to the numerical value "1" (step), and the classification method for the numerical value "1" is extracted from the working memory 29 (step).
Then, the following replacement is performed for each of the classification name and the search formula in the classification method (step).

A←A+(分類名称) B←B+(AND)+(検索式) この場合には、“A"、“B"には共に空の文字列が書き
込まれていたので、第1の階層の分類名称がそのままメ
モリ領域“A"に書き込まれ、第1の階層の検索式がその
ままメモリ領域“B"に書き込まれることになる。
A ← A + (classification name) B ← B + (AND) + (search formula) In this case, since an empty character string has been written in both “A” and “B”, the classification of the first hierarchy The name is written to the memory area “A” as it is, and the search formula of the first hierarchy is written to the memory area “B” as it is.

以上の作業が終了したら、再帰的に自分自身が呼び出
され(ステップ)、ステップに戻る。すなわち、数
値“N"よりも大きな値がワーキングメモリ29内の階層を
示す値として存在するかどうかの判別が行われる。この
とき第2の階層が存在すれば(ステップ;Y)、N=2
となり、1つだけ深い階層に辿り着く。第2図を基に説
明すれば、“人事部”でありかつ“20代”であるという
検索式を作成するときには、N=2で“20代”という階
層に辿り着くわけである。この状態で、N=2に対応し
た分類方法がワーキングメモリ29から取り出される(ス
テップ)。そして、その中の分類名称と検索式それぞ
れについてステップで置換処理が行われる。この例の
場合には、これが次のようになる。
When the above operation is completed, the self is recursively called (step), and the process returns to the step. That is, it is determined whether or not a value larger than the numerical value “N” exists as a value indicating the hierarchy in the working memory 29. At this time, if the second hierarchy exists (step; Y), N = 2
And one layer deeper. Explaining with reference to FIG. 2, when creating a search expression that is “HR department” and “20s”, the user reaches the hierarchy of “20s” with N = 2. In this state, the classification method corresponding to N = 2 is extracted from the working memory 29 (step). Then, a replacement process is performed in steps for each of the classification name and the search formula therein. In the case of this example, this would be:

人事部←人事部+(分類名称)=人事部+20代 ‘所属=人事部’←‘所属=人事部’+(AND)+(検
索式) =‘所属=人事部'AND(年令≧20AND年令<30) 以上の処理が終了したら、ステップに戻った時点で
第3の階層が存在するかどうかの判別が行われる。第2
図に示したこの例の場合には存在しないので(N)、分
類インデックスファイル25に最終的な“A"、“B"の対を
格納し(ステップ)、この“人事部”であり“20代”
であるという検索式の作成を終了させる。そして、この
体では再帰のレベルを“人事部”にまで戻し(ステップ
)、ステップに進んで次の“人事部”であり“30
代”であるという検索式の作成を開始させる。この検索
式の作成が終了すると、その検索式を分類インデックス
ファイル25に書き込む(ステップ)。以下同様にし
て、第1の階層が“人事部”となっている各検索式が作
成され、分類インデックスファイル25に書き込まれてい
く。
HR department ← HR department + (classification name) = HR department + 20s 'affiliation = HR department ←' affiliation = HR department + (AND) + (search formula) = 'affiliation = HR department' AND (age ≥ 20AND Age <30) When the above processing is completed, when returning to the step, it is determined whether or not the third hierarchy exists. Second
In the case of this example shown in the figure, since there is no file (N), the final pair of “A” and “B” is stored in the classification index file 25 (step), and this “HR section” is “20”. Teens ”
The creation of the search expression that is is terminated. Then, in this body, the recursion level is returned to the “HR department” (step), and the process proceeds to the next “HR department”, where “30”
The creation of a search expression that is “alternative” is started. When the creation of this search expression is completed, the search expression is written to the classification index file 25 (step). Are created and written into the classification index file 25.

第1の階層が“人事部”となっている各検索式の作成
が終了すると、再帰のレベルを戻し、今度は“総務部”
について順に最下層まで辿っていって、“20代”、“30
代”等に関する各検索式が作成される。これが終了する
と、同様に“財務部”等に対する検索式が自動作成され
ることになる。
When the creation of each search expression in which the first hierarchy is "HR department" is completed, the level of recursion is returned, and this time the "General affairs department"
To the bottom layer in order, “20s”, “30”
Each of the search formulas for "" is generated. When this is completed, a search formula for "Finance Department" and the like is automatically generated.

このように、各分類方法の分類がすべて終了すると、
1つ上の階層に戻り再帰的に処理が行われる。検索式
は、最上位層から最下位層まで階層を辿っていく過程で
各階層のノードの検索式の論理積が生成され、最下位の
階層に到着した時点でこれらが分類インデックスファイ
ル25に書き込まれることになる。
In this way, when the classification of each classification method is completed,
Returning to the next higher level, the processing is performed recursively. In the search formula, the logical product of the search formulas of the nodes of each layer is generated in the process of tracing the hierarchy from the highest layer to the lowest layer, and when these arrive at the lowest layer, these are written to the classification index file 25. Will be.

なお、部類方法を追加する場合には、次のようにして
いく。
When a category method is added, the following is performed.

(1)テキストファイルとして分類方法ファイル34を作
成する。
(1) Create a classification method file 34 as a text file.

(2)部類テーブルにそのファイル名を登録する。この
ようにしておけば、分類インデックス作成に用いること
が可能となる。
(2) Register the file name in the category table. By doing so, it can be used for creating a classification index.

「発明の効果」 以上説明したように本発明によれば、さまざまな分類
インデックスを、いちいちそれらの検索式をタイプする
ことなく定義することができ、初心者でもそれらの作成
が容易になる。また、一度作成した分類方法を再利用す
るので、労力の無駄を省くことができるという効果があ
る。更に、同一の階層のすべてのノードは互いに同一の
構造の下位のノード群を有する階層構造の分類インデッ
クスを作成するようにしたので、階層ごとに分類方法を
指定するだけで分類の階層構造を定義することができる
という効果がある。
[Effects of the Invention] As described above, according to the present invention, various classification indexes can be defined without having to type their search formulas one by one, and even a beginner can easily create them. Further, since the classification method once created is reused, there is an effect that waste of labor can be eliminated. Furthermore, since all the nodes of the same hierarchy create a hierarchical classification index having a group of lower nodes having the same structure, the hierarchical structure of the classification is defined simply by specifying the classification method for each hierarchy. There is an effect that can be.

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

第1図〜第8図は本発明の一実施例を説明するためのも
ので、このうち第1図は分類インデックス作成装置の構
造の概要を表わしたブロック図、第2図はデータベース
に格納したレコードの一例を階層的に分類した説明図、
第3図は各階層とそれらの検索式の関係を示した説明
図、第4図は第1図に示した分類テーブルの構造を示し
た説明図、第5図は‘age 1'というファイルの詳細を表
わした説明図、第6図は第1図に示したワーキングメモ
リの構造を表わした説明図、第7図はディスプレイの表
示内容の一例を表わした平面図、第8図は第3図に示し
た一連の検索式を作成するための作業を表わした流れ図
である。 15……分類インデックス作成手段、24……分類インデッ
クス処理部、26……分類インデックス作成部、27……デ
ータベース処理部、28……分類テーブル、29……ワーキ
ングメモリ、32……ファイル編集処理部、33……分類イ
ンデックスファイル、34……分類方法ファイル。
1 to 8 are for explaining an embodiment of the present invention, in which FIG. 1 is a block diagram showing the outline of the structure of a classification index creating apparatus, and FIG. 2 is stored in a database. Explanatory diagram classifying examples of records hierarchically,
FIG. 3 is an explanatory diagram showing the relationship between each hierarchy and their retrieval formulas, FIG. 4 is an explanatory diagram showing the structure of the classification table shown in FIG. 1, and FIG. 5 is a diagram of a file named 'age 1'. FIG. 6 is an explanatory view showing details of the working memory shown in FIG. 1, FIG. 7 is a plan view showing an example of display contents of a display, and FIG. 8 is FIG. 5 is a flowchart showing the operation for creating the series of search formulas shown in FIG. 15: Classification index creation unit, 24: Classification index processing unit, 26: Classification index creation unit, 27: Database processing unit, 28: Classification table, 29: Working memory, 32: File editing processing unit , 33 ... Classification index file, 34 ... Classification method file.

フロントページの続き (56)参考文献 上野,日吉,永井,「サマリデータベ ース−問い合わせ言語に関する一考察 −」情報処理学会第30回(昭和60年前 期)全国大会講演論文集,p1757−1758 (昭60−3−13) 千守,上野,「サマリ情報サービスシ ステムSIMPLEXの構造エディ タ」,情報処理学会第35回(昭和62年後 期)全国大会講演論文集,p.309−310 (昭62−9−28) (58)調査した分野(Int.Cl.6,DB名) G06F 17/30 JICST科学技術文献ファイルContinuation of the front page (56) References Ueno, Hiyoshi, Nagai, "Summary Database-A Consideration on Query Languages-" Proc. Of the 30th Annual Convention of IPSJ, pp. 1757-1758. (Showa 60-3-13) Chimori and Ueno, "Structural Editor of Summary Information Service System SIMPLEX", Proc. Of the 35th IPSJ Annual Conference (late 1987), p. 309-310 (Showa 62-9-28) (58) Fields investigated (Int. Cl. 6 , DB name) G06F 17/30 JICST scientific and technical literature file

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】複数の分類項目からなるデータを1組のレ
コードとした複数組のレコードを保持するデータベース
装置であって、 前記複数の分類項目に対応させてこれらの分類項目でど
のような分類を行うかの分類方法を格納した複数種類の
分類方法保持手段と、 この分類方法保持手段に保持された複数の分類方法の中
から作成したい階層にそれぞれ対応した分類方法を指定
する分類方法指定手段と、 この分類方法指定手段による分類方法の指定に応じて分
類方法保持手段から対応する分類方法を読み出す分類方
法読出手段と、 この分類方法読出手段によって読み出された分類方法を
組み合わせる組合せ手段と、 この組合せ手段によって組み合わされた分類方法を用い
て、階層構造を有し、かつ同一の階層のすべてのノード
は互いに同一の構造の下位のノード群を有する分類イン
デックスを作成する分類インデックス作成手段と、 この分類インデックス作成手段によって作成された分類
インデックスを前記レコード中の複数の分類項目の中か
ら所望の分類項目のデータを検索するためのものとして
複数保持するインデックス保持手段 とを具備することを特徴とする分類インデックス作成装
置。
1. A database device for holding a plurality of sets of records in which data consisting of a plurality of classification items is a set of records, wherein a classification of these classification items in correspondence with the plurality of classification items is provided. Means for storing a plurality of types of classification methods storing classification methods for performing the method, and a classification method specifying means for specifying a classification method corresponding to a hierarchy to be created from among the plurality of classification methods stored in the classification method storage means Classification method reading means for reading a corresponding classification method from the classification method holding means in accordance with the specification of the classification method by the classification method designating means; Combination means for combining the classification methods read by the classification method reading means; Using the classification method combined by this combination means, all nodes having a hierarchical structure and having the same hierarchy are identical to each other. Means for creating a classification index having a group of nodes at the lower level of the structure, and searching the classification index created by the classification index creation means for data of a desired classification item from a plurality of classification items in the record. A classification index creation device, comprising:
JP63244347A 1988-09-30 1988-09-30 Classification index creation device Expired - Fee Related JP2819567B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63244347A JP2819567B2 (en) 1988-09-30 1988-09-30 Classification index creation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63244347A JP2819567B2 (en) 1988-09-30 1988-09-30 Classification index creation device

Publications (2)

Publication Number Publication Date
JPH0293767A JPH0293767A (en) 1990-04-04
JP2819567B2 true JP2819567B2 (en) 1998-10-30

Family

ID=17117349

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63244347A Expired - Fee Related JP2819567B2 (en) 1988-09-30 1988-09-30 Classification index creation device

Country Status (1)

Country Link
JP (1) JP2819567B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07105239A (en) * 1993-09-30 1995-04-21 Omron Corp Data base managing method and data base retrieving method
US6240555B1 (en) 1996-03-29 2001-05-29 Microsoft Corporation Interactive entertainment system for presenting supplemental interactive content together with continuous video programs
GB2325537B8 (en) 1997-03-31 2000-01-31 Microsoft Corp Query-based electronic program guide

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
上野,日吉,永井,「サマリデータベース−問い合わせ言語に関する一考察−」情報処理学会第30回(昭和60年前期)全国大会講演論文集,p1757−1758(昭60−3−13)
千守,上野,「サマリ情報サービスシステムSIMPLEXの構造エディタ」,情報処理学会第35回(昭和62年後期)全国大会講演論文集,p.309−310(昭62−9−28)

Also Published As

Publication number Publication date
JPH0293767A (en) 1990-04-04

Similar Documents

Publication Publication Date Title
US5991776A (en) Database system with improved methods for storing free-form data objects of data records
US5745896A (en) Referential integrity in a relational database management system
US5418950A (en) System for interactive clause window construction of SQL queries
US6163775A (en) Method and apparatus configured according to a logical table having cell and attributes containing address segments
JP3053153B2 (en) How to start application of document management system
US6859805B1 (en) Method and apparatus for generating page-level security in a computer generated report
US5781904A (en) User interface system and method for traversing a database
US7689572B2 (en) Model repository
US7685136B2 (en) Method, system and program product for managing document summary information
CA2526045C (en) Complex data access
US20010003455A1 (en) Method, system and graphic user interface for entering and editing filter conditions for filtering a database
US5752016A (en) Method and apparatus for database interrogation using a user-defined table
US8112458B1 (en) User segmentation user interface
JP2819567B2 (en) Classification index creation device
JPH07129448A (en) File selection system
JPH08329101A (en) Data base system
JPH11282882A (en) Document management method
KR0165510B1 (en) Table of database management system
JPH07296009A (en) Data base integration/retrieval device
Wu A visual approach to end user form management
US20030078938A1 (en) Database and method of storing and retrieving data
EP0569188A1 (en) Accessing a computer database
Seyed-Abbassi Teaching Effective Methodologies to Design a Data Warehouse
JPH04233664A (en) Data base management system
Kalathil Disseminating functionality solutions to the functionality anomaly problem

Legal Events

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