JPH0922415A - Knowledge storage method and device and re-recognition method and device for knowledge data base - Google Patents

Knowledge storage method and device and re-recognition method and device for knowledge data base

Info

Publication number
JPH0922415A
JPH0922415A JP7170999A JP17099995A JPH0922415A JP H0922415 A JPH0922415 A JP H0922415A JP 7170999 A JP7170999 A JP 7170999A JP 17099995 A JP17099995 A JP 17099995A JP H0922415 A JPH0922415 A JP H0922415A
Authority
JP
Japan
Prior art keywords
knowledge
attribute
attribute name
superclass
class
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.)
Withdrawn
Application number
JP7170999A
Other languages
Japanese (ja)
Inventor
Tadamitsu Ryu
忠光 龍
Tetsuo Toshima
哲夫 戸島
Hiroyuki Izumi
寛幸 泉
Masahiko Murakawa
雅彦 村川
Katsuichi Nakamura
勝一 中村
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 JP7170999A priority Critical patent/JPH0922415A/en
Publication of JPH0922415A publication Critical patent/JPH0922415A/en
Withdrawn legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To acquire a high and fast information retrieval function by constructing a knowledge data base based on a data structure where the recognition and storage unified together, i.e., a recognition module structure. SOLUTION: A knowledge data base includes a recognition module system where the perception, recognition and storage are unified together and includes an input part 11 such as a keyboard, etc., a processing part 12 including a CPU and a memory, a storage part 13 such as a RAM, a hard disk, etc., and a display part 20 such as a CRT display, etc. Then a data object containing the attribute value is generated by input of the object attribute value. A name is given to the attribute of the data object, and an instance object containing the attribute name and the attribute value is generated. Thus an object is recognized. Then the instance object is stored in a storage area to secure every storage step of the object. These input, recognition and storage operations are carried out in a single processing unit.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、コンピュータシス
テムに於ける記憶方法に関し、詳しくは、知識システム
の知識ベース等に於ける知識獲得方法、記憶方法、及び
検索方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a storage method in a computer system, and more particularly to a knowledge acquisition method, a storage method, and a search method in a knowledge base of a knowledge system.

【0002】[0002]

【従来の技術】知識システムに於ては、ある分野に関す
る知識、即ち事実と規則とが知識ベースに格納されてお
り、推論部分がこの知識ベースに格納された事実と規則
とに基づいて新しい事実を導く。知識システムは、これ
によって、人間が意志決定や問題分析などを行う際の援
助を提供することができる。
2. Description of the Related Art In a knowledge system, knowledge about a certain field, that is, facts and rules are stored in a knowledge base, and a reasoning part is a new fact based on the facts and rules stored in this knowledge base. Guide Knowledge systems can thereby provide humans with assistance in making decisions and problem analysis.

【0003】従来の知識システムの構築に於ては、知識
工学者(Knowledge Expert)が重要な役割を担う。知識
工学者は、専門家に接触して、その分野に於ける必要な
知識(事実と規則)の収集、及び専門家の問題解決手法
の分析を行い、それらをソフトウェア化する。知識シス
テムを構築する過程に於ては、知識工学者と専門家との
面談は繰り返し行われ、基礎的な数少ない事実と規則と
を基にしたプロトタイプから、実用的な知識システムへ
と段階的な発展がなされる。
In constructing a conventional knowledge system, a knowledge engineer (Knowledge Expert) plays an important role. The knowledge engineer contacts the expert, collects the necessary knowledge (facts and rules) in the field, analyzes the problem solving method of the expert, and converts them into software. In the process of constructing a knowledge system, interviews between knowledge engineers and experts are repeated, and a prototype based on a few basic facts and rules is gradually changed to a practical knowledge system. Development is made.

【0004】事実や規則に関する知識を知識ベースに格
納する方法としては、物理的物体や概念的存在であるオ
ブジェクトを、オブジェクト間の関係を表現するリンク
で結び付けた意味ネットワークとして格納する方法など
がある。意味ネットワークを用いる場合、ネットワーク
のノードである各オブジェクトは属性及び属性値を有す
るものとして取り扱われる。例えば、林檎というオブジ
ェクトは、色、形、味等の属性を有し、各々の属性値は
赤、丸い、甘い等の具体的な値をとる。また、あるオブ
ジェクトはより一般的なオブジェクトの属性を継承する
ことができる。例えば、林檎というオブジェクトは果物
というオブジェクトの属性を継承することができる。こ
の継承によりオブジェクトは階層的な構造に表現される
こともでき、知識として格納された情報を組織化するこ
とができる。
As a method of storing knowledge about facts and rules in a knowledge base, there is a method of storing physical objects or objects that are conceptual entities as a semantic network that is linked by links that express relationships between objects. . When using a semantic network, each object that is a node of the network is treated as having an attribute and an attribute value. For example, an object called an apple has attributes such as color, shape, and taste, and each attribute value takes a concrete value such as red, round, or sweet. Also, an object can inherit the attributes of a more general object. For example, an apple object can inherit the attributes of a fruit object. By this inheritance, objects can be represented in a hierarchical structure, and information stored as knowledge can be organized.

【0005】このような知識ベースの構築に於ては、知
識工学者は、スキーマ(データがどのような構造で記憶
されているかに関する情報)をまず決定し、決定された
スキーマに基づいて知識を格納していく。
In constructing such a knowledge base, a knowledge engineer first decides a schema (information about how the data is stored in a structure), and then the knowledge engineer decides the knowledge based on the decided schema. Store it.

【0006】[0006]

【発明が解決しようとする課題】知識システムの構築過
程は、長い時間を有する複雑な過程であり、知識工学の
知識を持たないユーザが知識システムを独力で開発する
ことは極めて困難である。また構築された知識システム
は、膨大な量の事実と規則が知識ベースに格納された複
雑なものであり、知識工学者によって保守が行われる必
要がある。
The process of constructing a knowledge system is a complicated process that takes a long time, and it is extremely difficult for a user who does not have knowledge of knowledge engineering to independently develop the knowledge system. Also, the constructed knowledge system is a complex one with a huge amount of facts and rules stored in the knowledge base and needs to be maintained by a knowledge engineer.

【0007】従って、知識ベース内の既存の知識と同じ
枠組内で新たな知識を加えるような拡張は容易に行うこ
とができるが、ユーザが、その枠を越えた拡張を望む場
合は問題が生じる。つまり、既存の枠組を越えてスキー
マの変更を必要とするような知識システムの拡張・変更
を行うためには、知識工学者が長時間をかけて知識シス
テムを再構築することが必要になる。
Therefore, although it is easy to extend the existing knowledge in the knowledge base so as to add new knowledge within the same framework, a problem occurs when the user wants to extend beyond the existing framework. . In other words, in order to extend and change the knowledge system that requires a schema change beyond the existing framework, it is necessary for a knowledge engineer to reconstruct the knowledge system over a long period of time.

【0008】例えば、知識システムの使用環境が変化す
るにともない、ユーザが、新しい処理や応用範囲の拡張
を知識システムに対して望むような場合が考えられる。
このとき、既存の知識ベースの階層構造やネットワーク
構造等の情報構造、及びデータ構造を、新たに要求され
る応用に対してそのまま用いることはできない。しかし
ながら、従来の知識ベースのユーザは単なるユーザであ
り、知識ベースを必要に応じて改変することはできな
い。従って専門化に依頼することになるが、知識ベース
構造の変更は、ゼロからの再構築と殆ど同一の時間と労
力を必要とすることになる。
For example, there may be a case where the user desires new processing or expansion of the application range of the knowledge system as the usage environment of the knowledge system changes.
At this time, the information structure and data structure such as the existing hierarchical structure and network structure of the knowledge base cannot be used as they are for the newly required application. However, the users of the conventional knowledge bases are merely users, and the knowledge bases cannot be modified as needed. Therefore, while resorting to specialization, changing the knowledge base structure requires almost the same time and effort as rebuilding from scratch.

【0009】つまり、従来の知識システムは、設計・開
発段階で決定されたスキーマに基づく静的な構造を持つ
ものであり、ユーザのニーズに応じて対象分野・処理対
象の拡張や、処理方法の改善等を行うことができるもの
ではない。表現を変えれば、従来の知識システムを、そ
の動作環境の変化に応じて変更することは困難であり、
また知識システム自身が、経験から新たな知識を獲得し
学習することで自己拡張していくことはできない。
That is, the conventional knowledge system has a static structure based on the schema determined at the designing / development stage, and it is possible to expand the target field / processing target and the processing method according to the user's needs. It is not something that can be improved. In other words, it is difficult to change the conventional knowledge system according to the change of its operating environment.
Moreover, the knowledge system itself cannot expand itself by acquiring new knowledge from experience and learning.

【0010】また、従来の知識システムの知識ベースに
於ては、情報検索の能力が限られており、検索速度が遅
いという問題点がある。 情報検索の能力・速度に関し
て、例えば、人間の記憶検索能力と対比してみると、人
間は、曖昧な検索による高速な情報検索能力を有する。
ここで曖昧な検索とは、具体的な検索オブジェクトに対
する曖昧な概念を起点として、そのオブジェクトを想起
することができることを意味する。このように、曖昧な
概念から段階的に概念を具象化していくことによってオ
ブジェクトを検索することによって、人間は高速な情報
検索を実現していると考えられる。
Further, in the knowledge base of the conventional knowledge system, there is a problem that the information retrieval ability is limited and the retrieval speed is slow. Regarding the ability and speed of information retrieval, for example, in comparison with human memory retrieval ability, humans have high-speed information retrieval ability by ambiguous retrieval.
The ambiguous search means that the object can be evoked by using an ambiguous concept for a specific search object as a starting point. In this way, it is considered that human beings realize high-speed information retrieval by retrieving objects by gradually reconstructing concepts from ambiguous ones.

【0011】しかしながら、従来のデータベースに於て
は曖昧な検索を行うことはできず、一般に、格納された
情報量が増大するに従い情報量の2乗に比例して検索の
性能は低下する。またオブジェクトを様々な異なった認
識の観点から捉えて検索を行う水平思考的な検索等の高
度な検索は、従来の知識システムに於ては組み込むこと
が困難であった。
However, in the conventional database, ambiguous retrieval cannot be performed, and generally, as the amount of stored information increases, the retrieval performance decreases in proportion to the square of the information amount. In addition, it is difficult to incorporate a sophisticated search such as a horizontal thinking search in which an object is searched from various viewpoints of recognition in a conventional knowledge system.

【0012】従って、本発明の一般的な目的は、経験か
ら知識を獲得し学習することで構築され、従って動作環
境の変化にも対応可能であり、また様々な高度な情報検
索機能及び高速な情報検索機能を実現可能な知識データ
ベース等の基となる新しい記憶方法及び装置を提供する
ことである。
[0012] Therefore, the general purpose of the present invention is constructed by acquiring knowledge from experience and learning, and therefore it is possible to cope with changes in the operating environment, and various advanced information retrieval functions and high speed It is an object of the present invention to provide a new storage method and device which is a base of a knowledge database and the like capable of realizing an information search function.

【0013】また本発明の別の目的は、経験から知識を
獲得し学習することで構築され、従って動作環境の変化
にも対応可能な知識データベースの知識獲得方法及び装
置を提供することである。本発明の更なる目的は、様々
な高度な情報検索機能及び高速な情報検索機能を実現可
能な知識データベースの検索方法を提供することであ
る。
Another object of the present invention is to provide a knowledge acquisition method and apparatus for a knowledge database which is constructed by acquiring knowledge from experience and learning and therefore can cope with changes in the operating environment. A further object of the present invention is to provide a knowledge database search method capable of realizing various advanced information search functions and high-speed information search functions.

【0014】[0014]

【課題を解決するための手段】請求項1の発明に於て
は、オブジェクトの属性値の入力により該属性値からな
るデータオブジェクトを生成し、該データオブジェクト
の該属性値に属性名を付与して該属性名と該属性値から
なるインスタンスオブジェクトを生成することで該オブ
ジェクトの認識を行い、該インスタンスオブジェクトを
記憶領域に格納することにより該オブジェクトの記憶を
行う各段階を含み、該入力、該認識、該記憶をひとつの
処理単位として実行する。
According to the invention of claim 1, a data object having the attribute value is generated by inputting the attribute value of the object, and an attribute name is given to the attribute value of the data object. By generating an instance object composed of the attribute name and the attribute value, and memorizing the object by storing the instance object in a storage area. The recognition and the storage are executed as one processing unit.

【0015】請求項2の発明に於ては、請求項1の発明
に於て前記インスタンスオブジェクトの前記属性名より
なるクラスオブジェクトを生成して前記記憶領域に経験
として格納する段階を更に含む。請求項3の発明に於て
は、請求項2の発明に於て前記認識を行う段階は、経験
として前記記憶領域に格納された前記クラスオブジェク
トを前記データオブジェクトに当て嵌め、必要に応じて
該データオブジェクトの前記属性名を修正、削除、追加
することにより前記インスタンスオブジェクトを生成す
る各段階を含む。
The invention of claim 2 further includes the step of generating a class object consisting of the attribute name of the instance object and storing it as an experience in the storage area in the invention of claim 1. In the invention of claim 3, in the step of recognizing in the invention of claim 2, the class object stored in the storage area as experience is applied to the data object, and the class object is stored as necessary. Each step of generating the instance object by modifying, deleting, and adding the attribute name of the data object is included.

【0016】請求項4の発明に於ては、請求項2または
3の発明に於て前記経験として格納する段階は、前記イ
ンスタンスオブジェクトの前記属性名と同一の属性名を
いくつか有する類似オブジェクトを前記記憶領域内で検
索し、該インスタンスオブジェクトと該類似オブジェク
トとの該同一の属性名を抽出し、該同一の属性名よりな
るスーパークラスオブジェクトを生成し、前記クラスオ
ブジェクトの上位クラスとして該スーパークラスオブジ
ェクトを該記憶領域に格納する各段階を更に含む。
In the invention of claim 4, in the step of storing as the experience in the invention of claim 2 or 3, the similar objects having some attribute names the same as the attribute name of the instance object are stored. The same attribute name of the instance object and the similar object is searched for in the storage area, a superclass object having the same attribute name is generated, and the superclass as a superclass of the class object. The method further includes each step of storing the object in the storage area.

【0017】請求項5の発明に於ては、請求項4の発明
に於て前記スーパークラスオブジェクトに対して上位の
スーパークラスオブジェクトを繰り返し生成し前記記憶
領域に格納することによって、該スーパークラスの階層
構造を形成する段階を更に含む。
According to the invention of claim 5, in the invention of claim 4, the superclass object superordinate to the superclass object is repeatedly generated and stored in the storage area. The method further includes forming a hierarchical structure.

【0018】請求項6の発明に於ては、請求項5の発明
に於て前記検索する段階は、前記階層構造内で上位のス
ーパークラスから下位のスーパークラスへと前記類似オ
ブジェクトを検索する段階を含む。請求項7の発明に於
ては、請求項6の発明に於て前記検索する段階は、検索
用のインデックスを用いる。
According to a sixth aspect of the invention, in the step of retrieving according to the fifth aspect of the invention, the step of retrieving the similar object from an upper superclass to a lower superclass in the hierarchical structure. including. In the invention of claim 7, in the step of searching in the invention of claim 6, the index for search is used.

【0019】請求項8の発明に於ては、請求項1乃至7
の発明に於て前記属性名及び前記属性値の各々は属性名
及び属性値の少なくとも一方よりなる更なるオブジェク
トとして表現され、該属性名及び該属性値の各々とそれ
に対応する該オブジェクトを結ぶリンクによって、全て
の該オブジェクトはメッシュ構造にリンクされている。
In the invention of claim 8, claims 1 to 7 are provided.
In the invention, each of the attribute name and the attribute value is expressed as a further object consisting of at least one of the attribute name and the attribute value, and a link connecting each of the attribute name and the attribute value and the corresponding object , All the objects are linked to the mesh structure.

【0020】請求項9の発明に於ては、請求項8の発明
に於て前記メッシュ構造にリンクされた前記オブジェク
トは、その前記属性名及び前記属性値が更なるオブジェ
クトとして表現されることができない原子オブジェクト
を含む。請求項10の発明に於ては、請求項9の発明に
於て前記原子オブジェクトは前記知識ベースに格納され
る全ての実世界モデルに於て存在する。
According to a ninth aspect of the present invention, in the object linked to the mesh structure according to the eighth aspect, the attribute name and the attribute value are expressed as further objects. Contains atomic objects that cannot. In the invention of claim 10, in the invention of claim 9, the atomic object exists in all real world models stored in the knowledge base.

【0021】請求項11の発明に於ては、請求項4乃至
10の発明に於て、あるオブジェクトが指定され、該指
定オブジェクトを前記階層構造内で検索し、該指定オブ
ジェクトの前記スーパークラスオブジェクトの各々を検
索し、該スーパークラスオブジェクトの各々、及び該ス
ーパークラスオブジェクトの各々の下位クラスである前
記オブジェクトを検索結果とする各段階を含み、該指定
オブジェクトの異なった認識に対応した該スーパークラ
スオブジェクト及び該オブジェクトを検索結果として得
る。
According to the invention of claim 11, in the invention of claims 4 to 10, an object is designated, the designated object is searched in the hierarchical structure, and the superclass object of the designated object is searched. Each of the superclass objects, and each step of making each of the superclass objects and the objects that are subclasses of the superclass object as search results, the superclass corresponding to different recognition of the designated object. An object and the object are obtained as a search result.

【0022】請求項12の発明に於ては、請求項8乃至
11の発明に於て第1のオブジェクト及び第2のオブジ
ェクトが指定され、前記メッシュ構造内で前記属性名及
び前記属性値から前記オブジェクトへ向かう方向を下流
方向として、該第1のオブジェクトに関連する第1の関
連オブジェクトを該メッシュ構造内の該下流方向に次々
と検索し、該第2のオブジェクトに関連する第2の関連
オブジェクトを該メッシュ構造内の該下流方向に次々と
検索し、該第1の関連オブジェクトと該第2の関連オブ
ジェクトとの間で一致する属性名及び属性値を抽出し、
該一致する属性名及び属性値よりなる新規オブジェクト
を生成し、該新規オブジェクトを記憶する各段階を含
み、該第1のオブジェクトと該第2のオブジェクトの間
を該新規オブジェクトで関連付けることによって知的活
動の援助を行う。
According to a twelfth aspect of the present invention, the first object and the second object are specified in the eighth aspect to the eleventh aspect, and the first object and the second object are designated in the mesh structure from the attribute name and the attribute value. A second related object related to the second object is searched sequentially for the first related objects related to the first object in the downstream direction with the direction toward the object as the downstream direction. Sequentially in the mesh structure in the downstream direction to extract matching attribute names and attribute values between the first related object and the second related object,
Creating a new object consisting of the matching attribute name and attribute value and storing the new object, and intelligently by associating the first object and the second object with the new object Support activities.

【0023】請求項13の発明に於ては、新規オブジェ
クトを入力し、新規オブジェクトに類似する類似オブジ
ェクトを既存オブジェクトの中から検索し、該新規オブ
ジェクトと該類似オブジェクトとの共通部分を抽出し、
該新規オブジェクトと該類似オブジェクトとの差異部分
を抽出し、該共通部分と該差異部分との結合として該新
規オブジェクトを認識し、該共通部分と該差異部分との
該結合として該新規オブジェクトを記憶領域に格納す
る。
In the invention of claim 13, a new object is input, a similar object similar to the new object is searched from existing objects, and a common part between the new object and the similar object is extracted,
Extracting a difference part between the new object and the similar object, recognizing the new object as a combination of the common part and the difference part, and storing the new object as the combination of the common part and the difference part Store in area.

【0024】請求項14の発明に於ては、請求項13の
発明に於て前記入力する段階は、前記新規オブジェクト
の属性名及び属性値を入力する段階を含む。請求項15
の発明に於ては、請求項13または14の発明に於てド
メインを入力する段階を更に含み、該ドメインの指定に
よって検索される前記類似オブジェクトが異なる。
In the fourteenth aspect of the invention, in the thirteenth aspect of the invention, the inputting step includes the step of inputting the attribute name and the attribute value of the new object. Claim 15
The present invention further includes the step of inputting a domain in the invention of claim 13 or 14, wherein the similar object searched by the designation of the domain is different.

【0025】請求項16の発明に於ては、請求項13乃
至14の発明に於て目的を入力する段階を更に含み、該
目的の指定によって検索される前記類似オブジェクトが
異なる。請求項17の発明に於ては、請求項16の発明
に於て前記検索する段階は、前記ドメイン及び前記目的
に基づいて類似度判定方法を決定し、該類似度判定方法
を用いて前記類似オブジェクトを検索する各段階を含
む。
The invention of claim 16 further includes the step of inputting an object in the inventions of claims 13 to 14, and the similar object retrieved by designating the object is different. In the invention of claim 17, in the step of searching in the invention of claim 16, the similarity determination method is determined based on the domain and the purpose, and the similarity determination method is performed using the similarity determination method. Includes each step of searching an object.

【0026】請求項18の発明に於ては、請求項17の
発明に於て前記類似度判定方法は、前記新規オブジェク
トの前記属性名から選択された選択属性名が前記既存オ
ブジェクト内に存在するか否かと、該選択属性名に割り
当てられた重み係数とに基づいて類似度を計算する。
According to the invention of claim 18, in the method of determining similarity according to claim 17, the selected attribute name selected from the attribute name of the new object exists in the existing object. The similarity is calculated based on whether or not and the weighting factor assigned to the selected attribute name.

【0027】請求項19の発明に於ては、請求項18の
発明に於て前記選択属性名及び前記重み係数は、前記ド
メイン及び前記目的に依存している。請求項20の発明
に於ては、請求項14乃至17の発明に於て前記共通部
分を抽出する段階は、前記新規オブジェクトと前記類似
オブジェクトとの間で前記属性名及び前記属性値の両方
が同一であるときに、同一の該属性名及び該属性値を有
するスーパークラスを該共通部分として生成する段階を
更に含む。
According to a nineteenth aspect of the invention, in the eighteenth aspect of the invention, the selected attribute name and the weighting factor depend on the domain and the purpose. In the invention of claim 20, in the step of extracting the common part in the inventions of claims 14 to 17, both the attribute name and the attribute value are set between the new object and the similar object. The method further includes generating a superclass having the same attribute name and the same attribute value as the common part when they are the same.

【0028】請求項21の発明に於ては、請求項18ま
たは19の発明に於て前記共通部分を抽出する段階は、
前記新規オブジェクトと前記類似オブジェクトとの間で
前記選択属性名及び対応する属性値の両方が同一である
ときに、同一の該選択属性名及び該対応する属性値を有
するスーパークラスを該共通部分として生成する段階を
更に含む。
In the twenty-first aspect of the invention, the step of extracting the common part in the eighteenth or nineteenth aspect of the invention is
When both the selected attribute name and the corresponding attribute value are the same between the new object and the similar object, a superclass having the same selected attribute name and the corresponding attribute value is used as the common part. The method further includes a generating step.

【0029】請求項22の発明に於ては、請求項20の
発明に於て前記差異部分を抽出する段階は、前記新規オ
ブジェクトと前記類似オブジェクトとの間で前記属性名
は同一であるが前記属性値が異なるときに、同一の該属
性名をis-a関係で抽出して、is-a関係のクラスを該差異
部分として生成する段階を更に含む。
In the invention of claim 22, in the step of extracting the difference part in the invention of claim 20, the attribute name is the same between the new object and the similar object. When the attribute values are different, the step of extracting the same attribute name in the is-a relation and generating a class of the is-a relation as the difference part is further included.

【0030】請求項23の発明に於ては、請求項21の
発明に於て前記差異部分を抽出する段階は、前記新規オ
ブジェクトと前記類似オブジェクトとの間で前記選択属
性名は同一であるが対応する属性値が異なるときに、同
一の該選択属性名をis-a関係で抽出して、is-a関係のク
ラスを該差異部分として生成する段階を更に含む。
In the invention of claim 23, in the step of extracting the difference part in the invention of claim 21, the selection attribute name is the same between the new object and the similar object. When the corresponding attribute values are different, the step of extracting the same selected attribute name in the is-a relation and generating a class of the is-a relation as the difference portion is further included.

【0031】請求項24の発明に於ては、請求項22の
発明に於て前記差異部分を抽出する段階は、前記新規オ
ブジェクトに存在するが前記類似オブジェクトには存在
しない属性名があるとき、該存在しない属性名及び対応
する属性値をpart-of 関係で抽出して、part-of 関係の
クラスを該差異部分として生成する段階を更に含む。
In the invention of claim 24, in the step of extracting the difference part in the invention of claim 22, when there is an attribute name existing in the new object but not in the similar object, The method further includes extracting the nonexistent attribute name and the corresponding attribute value in a part-of relationship and generating a class of the part-of relationship as the difference part.

【0032】請求項25の発明に於ては、請求項23の
発明に於て前記差異部分を抽出する段階は、前記新規オ
ブジェクトに存在するが前記類似オブジェクトには存在
しない前記選択属性名があるとき、該存在しない選択属
性名及び対応する属性値をpart-of 関係で抽出して、pa
rt-of 関係のクラスを該差異部分として生成する段階を
更に含む。
In the invention of claim 25, in the step of extracting the difference part in the invention of claim 23, there is the selected attribute name which exists in the new object but does not exist in the similar object. At this time, the selected attribute name that does not exist and the corresponding attribute value are extracted in a part-of relationship, and pa
The method further includes generating a class of rt-of relationships as the difference part.

【0033】請求項26の発明に於ては、請求項24の
発明に於て前記差異部分を抽出する段階は、前記類似オ
ブジェクトに存在するが前記新規オブジェクトには存在
しない属性名があるとき、該存在しない属性名及び対応
する属性値をpart-of 関係で抽出して、part-of 関係の
クラスを該差異部分として生成する段階を更に含む。
In the invention of claim 26, in the step of extracting the difference part in the invention of claim 24, when there is an attribute name existing in the similar object but not in the new object, The method further includes extracting the nonexistent attribute name and the corresponding attribute value in a part-of relationship and generating a class of the part-of relationship as the difference part.

【0034】請求項27の発明に於ては、請求項25の
発明に於て前記差異部分を抽出する段階は、前記類似オ
ブジェクトに存在するが前記新規オブジェクトには存在
しない前記選択属性名があるとき、該存在しない選択属
性名及び対応する属性値をpart-of 関係で抽出して、pa
rt-of 関係のクラスを該差異部分として生成する段階を
更に含む。
In the invention of claim 27, in the step of extracting the difference part in the invention of claim 25, there is the selected attribute name which exists in the similar object but does not exist in the new object. At this time, the selected attribute name that does not exist and the corresponding attribute value are extracted in a part-of relationship, and pa
The method further includes generating a class of rt-of relationships as the difference part.

【0035】請求項28の発明に於ては、請求項13乃
至27の発明に於て前記新規オブジェクトを格納すると
きに、該新規オブジェクトと前記類似オブジェクトとを
前記共通部分と前記差異部分とで関係付けることによ
り、前記既存オブジェクトの成長をはかる。
According to a twenty-eighth aspect of the invention, when the new object is stored in the thirteenth to twenty-seventh aspects, the new object and the similar object are divided into the common part and the different part. By associating with each other, the existing object is grown.

【0036】請求項29の発明に於ては、請求項26乃
至28の発明に於て前記スーパークラス、前記is-a関係
のクラス、及び前記part-of 関係のクラスは、階層的に
構築される。請求項30の発明に於ては、請求項26乃
至29の発明に於て前記スーパークラス、前記is-a関係
のクラス、及び前記part-of 関係のクラスには、それら
の意味を表す感覚的表現を付与することができる。
According to a twenty-ninth aspect of the invention, in the inventions of the twenty-sixth to twenty-eighth aspects, the superclass, the is-a relation class, and the part-of relation class are hierarchically constructed. It In the invention of claim 30, in the inventions of claims 26 to 29, the superclass, the class of the is-a relation, and the class of the part-of relation are sensory to show their meanings. You can add expressions.

【0037】請求項31の発明に於ては、請求項30の
発明に於て前記階層構造は、斜め方向に前記オブジェク
ト間を結び付けるリンクを含むメッシュ構造である。請
求項32の発明に於ては、請求項31の発明に於て目的
オブジェクトに対応する曖昧な概念を入力し、該曖昧な
概念に対応する前記感覚的表現の一つを開始点として、
前記メッシュ構造に配置された該感覚的表現を用いて該
メッシュ構造の中を探索し、該目的オブジェクトを検索
する各段階を更に含む。
According to a thirty-first aspect of the invention, in the thirtieth aspect of the invention, the hierarchical structure is a mesh structure including links connecting the objects in an oblique direction. In the invention of claim 32, the ambiguous concept corresponding to the target object in the invention of claim 31 is input, and one of the sensory expressions corresponding to the ambiguous concept is used as a starting point,
The method further includes searching the mesh structure using the sensory expression arranged in the mesh structure and searching for the target object.

【0038】請求項33の発明に於ては、知識記憶装置
は、オブジェクトの属性値の入力により該属性値からな
るデータオブジェクトを生成する手段と、該データオブ
ジェクトの該属性値に属性名を付与して該属性名と該属
性値からなるインスタンスオブジェクトを生成すること
で該オブジェクトの認識を行う手段と、該インスタンス
オブジェクトを記憶領域に格納することにより該オブジ
ェクトの記憶を行う手段を含み、該入力、該認識、該記
憶をひとつの処理単位として実行する。
In the thirty-third aspect of the present invention, the knowledge storage device has means for generating a data object consisting of the attribute value of the object by inputting the attribute value of the object, and assigning an attribute name to the attribute value of the data object. And a means for recognizing the object by generating an instance object consisting of the attribute name and the attribute value, and a means for storing the object by storing the instance object in a storage area. , The recognition and the storage are executed as one processing unit.

【0039】請求項34の発明に於ては、知識記憶装置
は、新規オブジェクトを入力する手段と、新規オブジェ
クトに類似する類似オブジェクトを既存オブジェクトの
中から検索する手段と、該新規オブジェクトと該類似オ
ブジェクトとの共通部分を抽出する手段と、該新規オブ
ジェクトと該類似オブジェクトとの差異部分を抽出する
手段と、該共通部分と該差異部分との結合として該新規
オブジェクトを認識する手段と、該共通部分と該差異部
分との該結合として該新規オブジェクトを記憶領域に格
納する手段を含む。
According to the thirty-fourth aspect of the invention, the knowledge storage device has means for inputting a new object, means for retrieving a similar object similar to the new object from existing objects, and the new object and the similarity. Means for extracting a common part with the object, means for extracting a difference part between the new object and the similar object, means for recognizing the new object as a combination of the common part and the difference part, and the common Means for storing the new object in the storage area as the combination of the portion and the difference portion.

【0040】請求項1の発明に於ては、オブジェクトを
定義する属性値を入力してから属性名を設定し、入力、
認識、記憶をひとつの処理単位として実行する。従っ
て、データ構造を知識データベース設計時ではなく、デ
ータの入力、認識、記憶時に決定することができる。
According to the first aspect of the invention, the attribute value defining the object is input, the attribute name is set, and the
Recognition and memory are executed as one processing unit. Therefore, the data structure can be determined not at the time of designing the knowledge database but at the time of data input, recognition, and storage.

【0041】請求項2の発明に於ては、クラスオブジェ
クトを生成して記憶領域に経験として格納することで経
験を蓄積する。請求項3の発明に於ては、クラスオブジ
ェクトをデータオブジェクトに当て嵌め、必要に応じて
データオブジェクトの属性名を修正、削除、追加してイ
ンスタンスオブジェクトを生成することで、蓄積された
経験を活用する。
According to the second aspect of the present invention, experience is accumulated by generating a class object and storing it as an experience in a storage area. In the invention of claim 3, the accumulated experience is utilized by applying the class object to the data object and modifying, deleting, and adding the attribute name of the data object as necessary to generate the instance object. To do.

【0042】請求項4の発明に於ては、スーパークラス
オブジェクトを記憶領域に格納することで、蓄積された
経験の活用を容易にする。請求項5の発明に於ては、ス
ーパークラスの階層構造を形成することで、蓄積された
経験の活用を容易にする。
In the fourth aspect of the present invention, the superclass object is stored in the storage area to facilitate utilization of accumulated experience. In the invention of claim 5, by forming a hierarchical structure of superclasses, utilization of accumulated experience is facilitated.

【0043】請求項6の発明に於ては、上位のスーパー
クラスから下位のスーパークラスへと前記類似オブジェ
クトを検索することで、高速な検索を実現する。請求項
7の発明に於ては、検索用のインデックスを用いること
で、さらに高速な検索を実現する。
According to the sixth aspect of the present invention, a high-speed search is realized by searching for the similar object from the upper superclass to the lower superclass. In the invention of claim 7, the search index is used to realize a higher speed search.

【0044】請求項8の発明に於ては、全てのオブジェ
クトはメッシュ構造にリンクされているので、複合的な
認識が可能になる。請求項9の発明に於ては、オブジェ
クトは原子オブジェクトを含むことができる。
In the eighth aspect of the invention, since all the objects are linked to the mesh structure, complex recognition is possible. In the invention of claim 9, the object can include an atomic object.

【0045】請求項10の発明に於ては、原子オブジェ
クトは知識ベースに格納される全ての実世界モデルに於
て存在することができる。請求項11の発明に於ては、
指定オブジェクトの異なった認識に対応したスーパーク
ラスオブジェクト及びオブジェクトを検索結果として得
ることで、水平思考的検索を実現する。
In the tenth aspect of the invention, the atomic object can exist in all real world models stored in the knowledge base. According to the invention of claim 11,
A horizontal thinking search is realized by obtaining superclass objects and objects corresponding to different recognition of designated objects as search results.

【0046】請求項12の発明に於ては、第1のオブジ
ェクトと第2のオブジェクトの間を新規オブジェクトで
関連付けることで、閃き的検索を実現する。請求項13
の発明に於ては、共通部分と差異部分との結合として新
規オブジェクトを認識し、共通部分と差異部分との結合
として新規オブジェクトを記憶領域に格納する。従っ
て、オブジェクトの再利用が容易になる。
In the twelfth aspect of the invention, the flash search is realized by associating the first object and the second object with a new object. Claim 13
In the invention, the new object is recognized as a combination of the common part and the different part, and the new object is stored in the storage area as the combination of the common part and the different part. Therefore, it is easy to reuse the object.

【0047】請求項14の発明に於ては、新規オブジェ
クトは属性名及び属性値より定義される。請求項15の
発明に於ては、ドメインの指定によって検索される類似
オブジェクトを動的に変化させることができる。
In the fourteenth aspect of the invention, the new object is defined by the attribute name and the attribute value. According to the fifteenth aspect of the present invention, the similar object retrieved by designating the domain can be dynamically changed.

【0048】請求項16の発明に於ては、目的の指定に
よって検索される類似オブジェクトを動的に変化させる
ことができる。請求項17の発明に於ては、ドメイン及
び目的に基づいた類似度判定方法を用いることで、定量
的に類似オブジェクトを検索する。
In the sixteenth aspect of the present invention, it is possible to dynamically change the similar object retrieved by designating the purpose. According to the seventeenth aspect of the present invention, a similar object is quantitatively searched for by using the similarity determination method based on the domain and the purpose.

【0049】請求項18の発明に於ては、類似度判定方
法は、新規オブジェクトの属性名から選択された選択属
性名が既存オブジェクト内に存在するか否かと、選択属
性名に割り当てられた重み係数とに基づいて類似度を計
算することで、定量的に類似オブジェクトを検索する。
According to the eighteenth aspect of the present invention, the similarity determining method is based on whether the selected attribute name selected from the attribute names of the new objects exists in the existing object and the weight assigned to the selected attribute name. A similar object is quantitatively searched by calculating the similarity based on the coefficient.

【0050】請求項19の発明に於ては、選択属性名及
び重み係数は、ドメイン及び目的に依存しているので、
それらを動的に変化させることができる。請求項20の
発明に於ては、同一の属性名及び属性値を有するスーパ
ークラスを共通部分として生成することで、新規オブジ
ェクトと類似オブジェクトをこのスーパークラスで関連
づけることができる。
According to the nineteenth aspect of the present invention, since the selected attribute name and the weight coefficient depend on the domain and the purpose,
They can be changed dynamically. According to the twentieth aspect of the present invention, by generating a superclass having the same attribute name and attribute value as a common part, a new object and a similar object can be associated with this superclass.

【0051】請求項21の発明に於ては、同一の選択属
性名及び対応する属性値を有するスーパークラスを共通
部分として生成することで、新規オブジェクトと類似オ
ブジェクトをこのスーパークラスで関連づけることがで
きる。請求項22の発明に於ては、属性名は同一である
が属性値が異なるときに、同一の属性名をis-a関係で抽
出して、is-a関係のクラスを差異部分として生成するこ
とで、新規オブジェクトと類似オブジェクトをこのis-a
関係のクラスで関連づけることができる。
According to the twenty-first aspect of the present invention, the new object and the similar object can be associated with each other by generating the superclass having the same selected attribute name and the corresponding attribute value as the common part. . In the invention of claim 22, when the attribute names are the same but the attribute values are different, the same attribute name is extracted in the is-a relation and the class in the is-a relation is generated as the difference part. This is-a
Can be related by a relationship class.

【0052】請求項23の発明に於ては、選択属性名は
同一であるが対応する属性値が異なるときに、同一の選
択属性名をis-a関係で抽出して、is-a関係のクラスを差
異部分として生成することで、新規オブジェクトと類似
オブジェクトをこのis-a関係のクラスで関連づけること
ができる。
According to the invention of claim 23, when the selected attribute names are the same but the corresponding attribute values are different, the same selected attribute name is extracted in the is-a relation and the is-a relation is extracted. By generating a class as a difference part, a new object and a similar object can be related by this is-a relationship class.

【0053】請求項24の発明に於ては、新規オブジェ
クトに存在するが類似オブジェクトには存在しない属性
名があるとき、存在しない属性名及び対応する属性値を
part-of 関係で抽出して、part-of 関係のクラスを差異
部分として生成するので、新規オブジェクトと類似オブ
ジェクトをこのpart-of 関係のクラスで関連づけること
ができる。
According to the twenty-fourth aspect of the present invention, when there is an attribute name that exists in the new object but does not exist in the similar objects, the attribute name that does not exist and the corresponding attribute value are
Since the class of the part-of relationship is extracted as the difference part by extracting with the part-of relationship, the new object and the similar object can be related by the class of the part-of relationship.

【0054】請求項25の発明に於ては、新規オブジェ
クトに存在するが類似オブジェクトには存在しない選択
属性名があるとき、存在しない選択属性名及び対応する
属性値をpart-of 関係で抽出して、part-of 関係のクラ
スを差異部分として生成するので、新規オブジェクトと
類似オブジェクトをこのpart-of 関係のクラスで関連づ
けることができる。
According to the twenty-fifth aspect of the present invention, when there is a selection attribute name that exists in the new object but does not exist in the similar objects, the selection attribute name that does not exist and the corresponding attribute value are extracted in a part-of relationship. Then, since the class of the part-of relation is generated as the difference part, the new object and the similar object can be related by the class of the part-of relation.

【0055】請求項26の発明に於ては、類似オブジェ
クトに存在するが新規オブジェクトには存在しない属性
名があるとき、存在しない属性名及び対応する属性値を
part-of 関係で抽出して、part-of 関係のクラスを差異
部分として生成するので、新規オブジェクトと類似オブ
ジェクトをこのpart-of 関係のクラスで関連づけること
ができる。
In the twenty-sixth aspect of the present invention, when there is an attribute name that exists in the similar object but does not exist in the new object, the attribute name that does not exist and the corresponding attribute value are
Since the class of the part-of relationship is extracted as the difference part by extracting with the part-of relationship, the new object and the similar object can be related by the class of the part-of relationship.

【0056】請求項27の発明に於ては、類似オブジェ
クトに存在するが新規オブジェクトには存在しない選択
属性名があるとき、存在しない選択属性名及び対応する
属性値をpart-of 関係で抽出して、part-of 関係のクラ
スを差異部分として生成するので、新規オブジェクトと
類似オブジェクトをこのpart-of 関係のクラスで関連づ
けることができる。
In the twenty-seventh aspect of the present invention, when there is a selection attribute name that exists in the similar object but does not exist in the new object, the selection attribute name that does not exist and the corresponding attribute value are extracted in a part-of relationship. Then, since the class of the part-of relation is generated as the difference part, the new object and the similar object can be related by the class of the part-of relation.

【0057】請求項28の発明に於ては、新規オブジェ
クトと類似オブジェクトとを共通部分と差異部分とで関
係付けることにより、前記既存オブジェクトの成長をは
かることができる。請求項29の発明に於ては、スーパ
ークラス、is-a関係のクラス、及びpart-of 関係のクラ
スは、階層的に構築されるので、検索用の基盤が与えら
れる。
In the twenty-eighth aspect of the invention, the existing object can be grown by associating the new object and the similar object with the common part and the different part. In the invention of claim 29, since the superclass, the is-a relation class, and the part-of relation class are constructed in a hierarchical manner, a search base is provided.

【0058】請求項30の発明に於ては、スーパークラ
ス、is-a関係のクラス、及びpart-of 関係のクラスに
は、それらの意味を表す感覚的表現を付与するので、柔
軟な検索用の基盤が与えられる。請求項31の発明に於
ては、階層構造は、斜め方向にオブジェクト間を結び付
けるリンクを含むメッシュ構造であるので、柔軟な検索
用の基盤が与えられる。
According to the thirtieth aspect of the present invention, the superclass, the is-a relation class, and the part-of relation class are provided with a sensory expression representing their meanings, so that they are used for flexible retrieval. The base of is given. In the thirty-first aspect of the invention, since the hierarchical structure is a mesh structure including links that connect objects in an oblique direction, a flexible search base is provided.

【0059】請求項32の発明に於ては、曖昧な概念に
対応する感覚的表現の一つを開始点として目的オブジェ
クトを検索するので、曖昧な検索を実現することができ
る。請求項33の発明に於ては、知識記憶装置は、オブ
ジェクトを定義する属性値を入力してから属性名を設定
し、入力、認識、記憶をひとつの処理単位として実行す
る。従って、データ構造を知識データベース設計時では
なく、データの入力、認識、記憶時に決定することがで
きる。
According to the thirty-second aspect of the invention, since the target object is searched with one of the sensory expressions corresponding to the ambiguous concept as the starting point, the ambiguous search can be realized. In the thirty-third aspect of the invention, the knowledge storage device sets an attribute name after inputting an attribute value defining an object, and executes input, recognition and storage as one processing unit. Therefore, the data structure can be determined not at the time of designing the knowledge database but at the time of data input, recognition, and storage.

【0060】請求項34の発明に於ては、知識記憶装置
は、共通部分と差異部分との結合として新規オブジェク
トを認識し、共通部分と差異部分との結合として新規オ
ブジェクトを記憶領域に格納する。従って、オブジェク
トの再利用が容易になる。
In the thirty-fourth aspect of the present invention, the knowledge storage device recognizes the new object as a combination of the common part and the different part, and stores the new object in the storage area as the combination of the common part and the different part. . Therefore, it is easy to reuse the object.

【0061】[0061]

【発明の実施の形態】図1は、本発明による知覚・認識
・記憶を一体とした認識モジュール方式による知識デー
タベースの原理構成図を示す。図1において、知識デー
タベース10はキーボード等の入力部11、CPU及び
メモリよりなる処理部12、RAMやハードディスク等
の記憶部13、及びCRTディスプレイ等の表示部20
を含む。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 shows a principle configuration diagram of a knowledge database by a recognition module system in which perception, recognition, and memory are integrated according to the present invention. In FIG. 1, the knowledge database 10 includes an input unit 11 such as a keyboard, a processing unit 12 including a CPU and a memory, a storage unit 13 such as a RAM and a hard disk, and a display unit 20 such as a CRT display.
including.

【0062】入力部11及び表示部20は、オペレータ
と知識データベース10との間の会話的処理を可能にす
る。入力部11は、オペレータが入力したオブジェクト
に関するデータを受け取り、処理部12が、会話的処理
に基づきそのデータを処理してオブジェクトを認識す
る。認識されたオブジェクトは、記憶部13に格納され
る。また処理部12は、オペレータからの指示に従い、
記憶部13に格納されたデータに対して様々な種類の検
索を実行する。
The input unit 11 and the display unit 20 enable interactive processing between the operator and the knowledge database 10. The input unit 11 receives data regarding an object input by an operator, and the processing unit 12 processes the data based on conversational processing to recognize the object. The recognized object is stored in the storage unit 13. Further, the processing unit 12 follows the instruction from the operator.
Various types of searches are performed on the data stored in the storage unit 13.

【0063】図2は、処理部12の第1の実施例にした
がったブロック図を示し、ここに示される構成はコンピ
ュータによって実現される。第1の実施例に於て処理部
12は、属性認識モジュール集合選択部14、オブジェ
クト認識モジュール動的構成部15、オブジェクト認識
モジュール認識部16、属性認識モジュール認識部1
7、スーパークラスライク認識モジュール認識部18、
及びスーパークラスライク認識モジュール作成部19を
含む。更に処理部12は、検索部21を含む。
FIG. 2 is a block diagram of the processing unit 12 according to the first embodiment, and the configuration shown here is realized by a computer. In the first embodiment, the processing unit 12 includes an attribute recognition module set selection unit 14, an object recognition module dynamic configuration unit 15, an object recognition module recognition unit 16, and an attribute recognition module recognition unit 1.
7, superclass-like recognition module recognition unit 18,
And a superclass-like recognition module creation unit 19. Further, the processing unit 12 includes a search unit 21.

【0064】処理部12の各部分が協調して動作するこ
とによって、知識データベース10は入力されたオブジ
ェクトを認識・記憶する。処理部12の各部分の動作に
ついて説明するために、まず本発明に於て用いられるデ
ータ構造について説明する。図3は、本発明による認識
モジュール方式による認識と記憶を一体化したデータ構
造を説明する図である。図3に示されるように、あるオ
ブジェクトは、そのオブジェクトを認識するための属性
よりなり、これらの属性を認識モジュールと呼ぶ。
The knowledge database 10 recognizes and stores the input object by the respective parts of the processing unit 12 operating in cooperation with each other. In order to describe the operation of each part of the processing unit 12, first, the data structure used in the present invention will be described. FIG. 3 is a diagram for explaining a data structure in which recognition and storage by the recognition module system according to the present invention are integrated. As shown in FIG. 3, an object has attributes for recognizing the object, and these attributes are called a recognition module.

【0065】本発明に於ては、オブジェクトを構成する
属性は属性名のみ、属性名及び属性値、或いは属性値の
みの3つの場合があり得る。これについて説明すると図
4のようになる。図4(a)に於て、写真というオブジ
ェクトは、属性名及び属性値の組み合せとして、人物:
龍、時:PM5:20;3/3 、場所:鎌倉の大仏像の前、も
の:写真、を有するオブジェクトである。ここで例え
ば、属性「もの:写真」以外の全ての属性値をNULL(空
白)にセットすることによって、図4(b)に示される
ような、特定の写真ではない一般の「写真」というオブ
ジェクトを形成することが出来る。また実際には、図4
(a)のような写真のデータを入力する際には、属性名
が与えられずに属性値のみが与えられることが多い。つ
まりデータ入力の際には、「龍が、3月3日午後3:3
0に鎌倉の大仏の前で撮った写真」というデータが最初
に与えられる。本発明では、これを各属性値に分解し
て、属性値のみを有するオブジェクト(データオブジェ
クトと呼ぶ)として取り扱う。つまりこの場合には、図
4(c)のような、属性値のみのオブジェクトが生成さ
れることになる。
In the present invention, there are three cases in which the attributes constituting an object are attribute names only, attribute names and attribute values, or only attribute values. This will be explained as shown in FIG. In FIG. 4A, a photograph object has a combination of an attribute name and an attribute value as a person:
Ryu, Time: PM5: 20; 3/3, Place: In front of the Great Buddha statue in Kamakura, Object: Photo. Here, for example, by setting all attribute values other than the attribute "thing: photograph" to NULL (blank), a general object "photo" that is not a specific photograph, as shown in FIG. 4B. Can be formed. Also, in reality, FIG.
When inputting the data of the photograph as shown in (a), it is often the case that the attribute name is not given and only the attribute value is given. In other words, when entering the data, "Dr.
The first data is "Photo taken in front of the Great Buddha in Kamakura". In the present invention, this is decomposed into each attribute value and treated as an object having only the attribute value (called a data object). That is, in this case, an object having only attribute values as shown in FIG. 4C is generated.

【0066】このように本発明は、クラスからインスタ
ンスが生成されるという従来のオブジェクト指向の枠組
に制限されない。そして、クラスオブジェクト(属性名
のみを有するオブジェクト)、インスタンスオブジェク
ト( 属性名と属性値とを有するオブジェクト)、データ
オブジェクト(属性値のみを有するオブジェクト)が共
存し、各々から他を生成することが出来る構成となって
いる。
As described above, the present invention is not limited to the conventional object-oriented framework in which an instance is created from a class. Then, a class object (an object having only an attribute name), an instance object (an object having an attribute name and an attribute value), and a data object (an object having only an attribute value) coexist, and each can generate another. It is composed.

【0067】本発明に於て、各属性を認識モジュールと
呼ぶのは、各属性がオブジェクトを認識する素となって
いるからである。そしてオブジェクトは、属性名及び属
性値を有するインスタンスオブジェクトを生成したとき
に認識される。これを図4(a)を用いて説明する。こ
の「写真」というインスタンスオブジェクトを翻訳する
と、「龍という人物、3月3日午後5:20という時、
鎌倉の前という場所、写真というもの」という説明文を
作成することが出来る。ここで、この説明文は、この
「写真」の認識そのものであると考えることが出来る。
つまり言葉を変えて言うならば、この「写真」というイ
ンスタンスオブジェクトは、このオブジェクトの認識そ
のものに関する情報から構成されている。従って、この
ようにインスタンスオブジェクトを生成し格納すること
は、このオブジェクトを認識して記憶することに対応す
る。
In the present invention, each attribute is called a recognition module because each attribute is the element for recognizing an object. The object is then recognized when it creates an instance object with an attribute name and an attribute value. This will be described with reference to FIG. If you translate this instance object called "photo", you can read "The person named Ryu, 3: 5: 30 pm,
You can create a description of "a place in front of Kamakura, a photo". Here, this explanation can be considered as the recognition itself of this "photograph".
In other words, in other words, this "photograph" instance object is composed of information about the recognition itself of this object. Thus, creating and storing an instance object in this way corresponds to recognizing and storing this object.

【0068】人間の記憶機構に於ては、認識していない
情報を記憶することは出来ず、記憶される情報は全て知
覚・認識されたものである。人間は、知覚したものを認
識し、そして認識された時点でその認識対象を記憶す
る。つまり、人間の脳に於ては、知覚・認識・記憶が一
体となって処理が行われている。本発明は、このような
人間の情報処理機構に対応させて、知覚(データ入力)
・認識・記憶を一体のものとして扱うのである。
In the human memory mechanism, unrecognized information cannot be stored, and all stored information is perceived and recognized. Human beings recognize what they perceive, and when they are recognized, they remember their recognition target. In other words, in the human brain, perception, recognition, and memory are integrally processed. The present invention corresponds to such a human information processing mechanism, and perceives (data input)
-Handling recognition and memory as one.

【0069】また、本発明に於ては、図3に示されるよ
うに、オブジェクトの各認識モジュールは、各々が対応
するオブジェクトを形成する。そしてそれらのオブジェ
クトは、各々が更なる認識モジュールから構成される。
例えば、図4(a)の例に於ては、人物:龍という一つ
の認識モジュールは、年齢、職業等の各属性(各認識モ
ジュール)を有した、龍という人物を記述するオブジェ
クトを形成することになる。このようにして、本発明に
於ては、各認識モジュールが入れ子構造となっている。
Further, in the present invention, as shown in FIG. 3, each object recognition module forms a corresponding object. Each of these objects then consists of a further recognition module.
For example, in the example of FIG. 4A, one recognition module of person: dragon forms an object describing a person of dragon, which has attributes (reception modules) such as age and occupation. It will be. Thus, in the present invention, each recognition module has a nested structure.

【0070】このような入れ子構造となった認識モジュ
ールの説明図を図5に示す。図5に示されるように、入
れ子構造はツリー状及びネットワーク状の構造に限られ
るのではない。例えば、オブジェクトXは認識モジュー
ルcを有し、オブジェクトcが認識モジュールXを有す
ると言うように、各オブジェクトはメッシュ状にリンク
されている。そして、このようにメッシュ状に結合され
たオブジェクトの一塊を、一つのオブジェクト(複合オ
ブジェクトと呼ぶ)として捉えることも出来る。
An explanatory view of the recognition module having such a nested structure is shown in FIG. As shown in FIG. 5, the nested structure is not limited to tree-like and network-like structures. For example, the object X has the recognition module c, and the object c has the recognition module X. The objects are linked in a mesh shape. A group of objects thus combined in a mesh shape can be regarded as one object (called a compound object).

【0071】またこのような入れ子構造に於ては、図5
に示されるように、最小の単位としてのオブジェクト
(原子オブジェクトと呼ぶ)が存在する。この原子オブ
ジェクトは、属性からなるオブジェクトとして生成する
ことが出来ない、即ち説明文を考えることが出来ないよ
うな実体に対するものである。例えば、人間のニューロ
ンに当てはめれば、知覚器官である目や耳等に存在する
5感をつかさどる神経系の末端のニューロンが、この原
子オブジェクトに対応すると考えられる。この原子オブ
ジェクトは、言葉、プログラム、ファイル、画面、或い
は帳簿等にも存在する。
Further, in such a nested structure, as shown in FIG.
As shown in, there exists an object (called an atomic object) as a minimum unit. This atomic object is for an entity that cannot be created as an object consisting of attributes, that is, a description cannot be considered. For example, when applied to human neurons, it is considered that neurons at the end of the nervous system that control the five senses present in the sensory organs such as the eyes and ears correspond to this atomic object. This atomic object exists in words, programs, files, screens, books, and so on.

【0072】本発明に於ては、上述したような認識と記
憶を一体化したデータ構造、即ち認識モジュール構造を
用いて知識データベースを構築する。図6に本発明の第
一実施例に従った記憶方式を実現する処理のフローチャ
ートを示す。本発明の記憶方式においては、まずデータ
オブジェクトが入力され、そのデータオブジェクトにク
ラスオブジェクトを当て嵌めてインスタンスオブジェク
トを生成することによって、オブジェクトの認識が行わ
れる。
In the present invention, the knowledge database is constructed using the data structure in which the recognition and the memory are integrated as described above, that is, the recognition module structure. FIG. 6 shows a flowchart of processing for realizing the storage system according to the first embodiment of the present invention. In the storage system of the present invention, a data object is first input, and a class object is applied to the data object to generate an instance object, whereby the object is recognized.

【0073】ステップS1に於て、属性認識モジュール
をいくつか選択する。ここで言う属性認識モジュールの
選択とは、オペレータがオブジェクトの属性名を入力す
ることによって属性名を収集することである。つまりデ
ータベースに格納されるオブジェクトに対して、オペレ
ータはオブジェクトを記述するに相応しいと思われる属
性名を入力する。このことはつまり、オペレータがどの
ような属性でもってそのオブジェクトを認識しているの
かが、データベースに反映されることを意味する。
In step S1, some attribute recognition modules are selected. The selection of the attribute recognition module mentioned here means that the operator inputs the attribute name of the object to collect the attribute name. In other words, for the object stored in the database, the operator inputs the attribute name that seems appropriate for describing the object. This means that the database recognizes what kind of attribute the operator recognizes the object.

【0074】ステップS2に於て、選択した属性認識モ
ジュールを集めてオブジェクト認識モジュールを構成す
る。ここで言うオブジェクト認識モジュールとは、図4
(b)で説明した認識モジュール(属性名のみ)の集ま
りで表現されたクラスオブジェクトのことである。つま
りステップS2に於ては、属性名だけから構成されるク
ラスオブジェクトを生成する。なおこのステップS2ま
での段階は、ステップS3以降のオブジェクトの入力・
認識・記憶の処理のための準備処理であり、さまざまな
オブジェクトに対して、クラスオブジェクト(属性名の
みを有するオブジェクト)を生成することに相当する。
At step S2, the object recognition module is constructed by collecting the selected attribute recognition modules. The object recognition module referred to here is shown in FIG.
It is a class object represented by a group of recognition modules (only attribute names) described in (b). That is, in step S2, a class object including only the attribute name is generated. It should be noted that the steps up to this step S2 are the steps of
This is a preparation process for the recognition / storage process, and is equivalent to generating class objects (objects having only attribute names) for various objects.

【0075】ステップS3に於て、データストリームを
入力する。つまり入力したいオブジェクトに対して属性
値を入力する。これによってそのオブジェクトに対する
データオブジェクトが生成されることになる。ステップ
S4に於て、スーパークラスライク認識モジュールでオ
ブジェクトを認識する。ここで言うスーパークラスライ
クとは、複数のオブジェクからそれらに共通な属性を取
り出すことにより生成されたスーパークラスのことであ
り、また更にはオブジェクト思考におけるis-a関係やpa
rt-of 関係等をも含むスーパークラスである。このステ
ップS4に於ては、あらかじめ格納されているクラスオ
ブジェクトのうちで、ステップS3に於て入力されたデ
ータオブジェクトに対応するクラスオブジェクトを検索
する。この検索に際して、共通属性を取り出すことによ
り形成された「オブジェクト−スーパークラスライク」
の階層構造において、上位のスーパークラスライクから
下位のスーパークラスライクへと目的のクラスオブジェ
クトを探していく。この場合、上位のスーパークラスの
方が意味的に曖昧になっているために、この検索は曖昧
検索を実現するものであると解釈することができる。曖
昧検索については、後ほど更に詳述する。ステップS4
に於て、検索された既存のクラスオブジェクトが入力さ
れたデータオブジェクトに一致するものであるときは、
データオブジェクトに検索されたクラスオブジェクトを
当て嵌めてインスタンスオブジェクトを生成する。つま
り入力されたオブジェクトを認識する。
In step S3, a data stream is input. That is, the attribute value is input for the object to be input. This will create a data object for that object. In step S4, the superclass-like recognition module recognizes the object. Superclass-like here is a superclass created by extracting attributes common to multiple objects, and is-a relations and pas in object thinking.
It is a super class that also includes rt-of relationships. In step S4, the class object corresponding to the data object input in step S3 is searched from the class objects stored in advance. In this search, "object-superclass-like" formed by extracting common attributes
In the hierarchical structure of, the target class object is searched from the upper superclass-like to the lower superclass-like. In this case, since the upper superclass is semantically ambiguous, it can be interpreted that this search realizes the ambiguous search. The fuzzy search will be described in detail later. Step S4
In, if the existing class object retrieved matches the input data object,
Apply the retrieved class object to the data object and generate an instance object. That is, the input object is recognized.

【0076】ステップS5に於て、オブジェクト認識モ
ジュールでオブジェクトを認識する。ここでは、ステッ
プS4に於て検索されたクラスオブジェクトが入力され
たデータオブジェクトに完全に一致しないときに、オペ
レータが一致していない部分の属性名を変更あるいは追
加することによってインスタンスオブジェクトを生成す
る。これによって入力されたオブジェクトを認識する。
なお、ステップS4の処理を行うことなく、ステップS
5に於て全ての属性名をオペレータが与えることによっ
てインスタンスオブジェクトを生成することも可能であ
る。
In step S5, the object recognition module recognizes the object. Here, when the class object searched in step S4 does not completely match the input data object, the operator changes or adds the attribute name of the mismatched part to generate an instance object. This recognizes the input object.
In addition, without performing the processing of step S4,
It is also possible to create an instance object by giving all the attribute names in 5.

【0077】ステップS6に於て、認識されたオブジェ
クト即ちインスタンスオブジェクトを記憶部に格納す
る。ステップS7に於て、新しいスーパークラスライク
認識モジュールを作成する。このステップS7に於ては
まず、ステップS5に於てインスタンスオブジェクトが
形成された場合は、そのインスタンスオブジェクトの属
性名を取り出して新しいクラスオブジェクトを作成す
る。更に、この新たに作成されたクラスオブジェクトを
既存のクラスオブジェクトと比較することによって共通
の属性を取り出して、それら共通の属性を有するスーパ
ークラスライクを作成する。このスーパークラスライク
の作成は、新たに上位のスーパークラスライクを作成す
ることができる限り続ける。
In step S6, the recognized object, that is, the instance object is stored in the storage unit. In step S7, a new superclass-like recognition module is created. In step S7, first, when the instance object is formed in step S5, the attribute name of the instance object is taken out to create a new class object. Further, common attributes are extracted by comparing the newly created class object with existing class objects, and a super class-like having the common attributes is created. The creation of this superclass-like continues as long as a new superclass-like can be created.

【0078】ステップS8に於て、作成されたクラスオ
ブジェクト及びスーパークラスライクを記憶部に記憶す
る。図6に示されるフローチャートの処理にしたがっ
て、図1の本発明の知識データベース10はオブジェク
トの知覚(入力)・認識・記憶を一体化して行う。図2
を再び参照して、処理部12の各部分の動作について説
明する。
In step S8, the created class object and superclass-like are stored in the storage unit. According to the process of the flowchart shown in FIG. 6, the knowledge database 10 of the present invention in FIG. 1 integrally performs object perception (input), recognition, and memory. FIG.
The operation of each part of the processing unit 12 will be described with reference to again.

【0079】図2に於て、属性認識モジュール集合選択
部14は、上記ステップS1に対応して、オブジェクト
を認識するための属性名(認識モジュール)を収集す
る。属性認識モジュール集合選択部14によって収集さ
れた属性名は、オブジェクト認識モジュール動的構成部
15によってクラスオブジェクトにまとめられる。即
ち、オブジェクト認識モジュール動的構成部15は、い
くつかの属性名が集められて構成された複数のクラスオ
ブジェクトを構成する。
In FIG. 2, the attribute recognition module set selection unit 14 collects attribute names (recognition modules) for recognizing an object, corresponding to step S1. The attribute names collected by the attribute recognition module set selection unit 14 are grouped into class objects by the object recognition module dynamic configuration unit 15. That is, the object recognition module dynamic configuration unit 15 configures a plurality of class objects configured by collecting some attribute names.

【0080】オブジェクト認識モジュール認識部16
は、入力部11に入力されたデータストリームを受け取
りデータオブジェクトを生成する。更に、スーパークラ
スライク認識モジュール認識部18を動作させ、そのデ
ータオブジェクトに当て嵌めるべきクラスオブジェクト
を検索させる。スーパークラスライク認識モジュール認
識部18は、入力部11からのデータストリームに基づ
いて、記憶部13に格納された上位のスーパークラスラ
イクから下位のスーパークラスライクへと目的のクラス
オブジェクトを探していく。スーパークラスライク認識
モジュール認識部18は、目的のクラスオブジェクトを
見つけると、それをオブジェクト認識モジュール認識部
16に供給する。オブジェクト認識モジュール認識部1
6は、与えられたクラスオブジェクトをデータオブジェ
クトに当て嵌めて、インスタンスオブジェクトを生成し
て認識を行うと共に、記憶部13にインスタンスオブジ
ェクトを格納する。
Object recognition module recognition unit 16
Receives a data stream input to the input unit 11 and generates a data object. Further, the superclass-like recognition module recognition unit 18 is operated to search for a class object to be applied to the data object. The superclass-like recognition module recognizing unit 18 searches for a target class object from an upper superclass-like stored in the storage unit 13 to a lower superclass-like based on the data stream from the input unit 11. When the superclass-like recognition module recognition unit 18 finds the target class object, it supplies it to the object recognition module recognition unit 16. Object recognition module recognition unit 1
6 applies the given class object to a data object to generate an instance object for recognition, and stores the instance object in the storage unit 13.

【0081】スーパークラスライク認識モジュール認識
部18によって検索されたクラスオブジェクトがデータ
オブジェクトに一致しない場合、オブジェクト認識モジ
ュール認識部16は、一致しない属性名の修正、或いは
不足する属性名の取得を必要とする。そのような場合、
オブジェクト認識モジュール認識部16は、属性認識モ
ジュール認識部17を動作させ、属性名の修正或いは属
性名の新たな取得を行わせる。属性認識モジュール認識
部17は、表示部20にデータオブジェクト及びクラス
オブジェクトを表示する。オペレータは表示部20に表
示された情報に基づいて、入力部11を介して属性名を
修正・追加する。属性認識モジュール認識部17は修正
・追加された属性名を入力部11から受け取り、これら
をオブジェクト認識モジュール認識部16に供給する。
オブジェクト認識モジュール認識部16は、修正・追加
された属性名を用いてクラスオブジェクトをデータオブ
ジェクトに当て嵌めて、インスタンスオブジェクトを生
成して認識を行うと共に、記憶部13にインスタンスオ
ブジェクトを格納する。この際、スーパークラスライク
認識モジュール作製部19は、新たに作成されたクラス
を記憶部13に格納すると共に、スーパークラスライク
を生成し記憶部13に格納する。
If the class object retrieved by the superclass-like recognition module recognition unit 18 does not match the data object, the object recognition module recognition unit 16 needs to correct the mismatched attribute name or acquire the missing attribute name. To do. In such a case,
The object recognition module recognition unit 16 operates the attribute recognition module recognition unit 17 to correct the attribute name or newly acquire the attribute name. The attribute recognition module recognition unit 17 displays the data object and the class object on the display unit 20. The operator corrects / adds the attribute name via the input unit 11 based on the information displayed on the display unit 20. The attribute recognition module recognition unit 17 receives the corrected / added attribute names from the input unit 11 and supplies them to the object recognition module recognition unit 16.
The object recognition module recognition unit 16 applies the class object to the data object using the corrected / added attribute name to generate an instance object for recognition, and stores the instance object in the storage unit 13. At this time, the superclass-like recognition module producing unit 19 stores the newly created class in the storage unit 13 and also generates a superclasslike and stores it in the storage unit 13.

【0082】このようにして、知識データベース10
は、オブジェクトの入力データストリームに対してクラ
スオブジェクトを当て嵌めてインスタンスオブジェクト
を作成し、オブジェクトの認識・記憶を行う。図7は、
本発明の第1実施例に従った、知識データベース10に
於ける曖昧検索の処理を示すフローチャートである。こ
の曖昧検索の処理は、図2のスーパークラスライク認識
モジュール認識部18によって実行される。
In this way, the knowledge database 10
Applies the class object to the input data stream of the object to create an instance object, and recognizes and stores the object. FIG.
6 is a flowchart showing a fuzzy search process in the knowledge database 10 according to the first embodiment of the present invention. This ambiguous search process is executed by the superclass-like recognition module recognition unit 18 in FIG.

【0083】ステップS11に於て、入力されたデータ
ストリームに対して一番上のスーパークラスライクを検
索する。ステップS12に於て、目的のオブジェクトが
存在するかどうかをチェックする。目的のオブジェクト
が存在しない場合、ステップS13に進む。目的のオブ
ジェクトが存在する場合はステップS15に進む。
In step S11, the uppermost superclass-like is searched for the input data stream. In step S12, it is checked whether the target object exists. If the target object does not exist, the process proceeds to step S13. If the target object exists, the process proceeds to step S15.

【0084】ステップS13に於て、1レベル下のスー
パークラスライクを検索する。ステップS14に於て、
目的のオブジェクトが存在するかどうかをチェックす
る。目的のオブジェクトが存在しない場合、ステップS
13に戻り以降のステップを繰り返す。目的のオブジェ
クトが存在する場合はステップS15に進む。
In step S13, the superclass-like one level below is searched. In step S14,
Check if the desired object exists. If the target object does not exist, step S
Return to 13 and repeat the subsequent steps. If the target object exists, the process proceeds to step S15.

【0085】ステップS15に於て、得られたオブジェ
クトを出力する。以上の曖昧検索の様子を図8に示す。
図8に示されるように、曖昧検索においては、上位の階
層のより曖昧なスーパークラスライクから、下位の階層
のより具体的なスーパークラスライクへと目的のオブジ
ェクトを探してナビゲートして行く。上位の階層のスー
パークラスライクは、意味的により曖昧で広義なもので
あるために、この方法によって高速に目的のオブジェク
トを検索することができる。即ち、人間の記憶機構にお
いて実現されているような曖昧な概念を用いた高速な検
索が、本発明による知識データベース10によって提供
される。
In step S15, the obtained object is output. The state of the above fuzzy search is shown in FIG.
As shown in FIG. 8, in the ambiguous search, a target object is searched and navigated from a more ambiguous superclass-like in an upper hierarchy to a more specific superclass-like in a lower hierarchy. Since the superclass-like of the upper hierarchy is semantically ambiguous and broad, this method can search for a target object at high speed. That is, a fast search using ambiguous concepts as implemented in human memory is provided by the knowledge database 10 of the present invention.

【0086】スーパークラスライクの階層数が大きくな
り、検索速度が問題となるような場合は、ナビゲート用
の展開インデックスを用意するようにすればよい。この
場合、展開インデックスの方式としてIndex 方式、Hush
方式、B-tree方式等を用いて、必要と思われる階層まで
をシャフルしてインデックスを付ければよい。
When the number of superclass-like layers becomes large and the search speed becomes a problem, an expansion index for navigating may be prepared. In this case, the index method, Hush
By using the method, B-tree method, etc., it is possible to shuffle up to the level that seems necessary and add an index.

【0087】オペレータからの要求により展開インデッ
クスを用いて検索速度を向上させる処理のフローチャー
トを図9に示す。図9に於て、ステップS21で、オペ
レータからの展開要求があるかどうかを判断する。展開
要求がある場合、ステップS22に於て、格納された知
識データを全文検索することにより、オペレータからの
要求内容のデータを収集する。ステップS22の後は、
ステップS24に進む。ステップS21に於て、展開要
求がないと判断された場合、ステップS23で、すでに
展開テーブルが作成されているかどうかを判断する。展
開テーブルが作成されていない場合は、処理を終了す
る。
FIG. 9 shows a flowchart of a process for improving the search speed by using the expansion index in response to a request from the operator. In FIG. 9, in step S21, it is determined whether or not there is a deployment request from the operator. If there is a development request, in step S22, the stored knowledge data is searched in full text to collect data of the content requested by the operator. After step S22,
Proceed to step S24. When it is determined in step S21 that there is no expansion request, it is determined in step S23 whether the expansion table has already been created. If the expansion table has not been created, the processing ends.

【0088】既に展開テーブルが作成されている場合、
これは以前にオペレータから展開要求があったというこ
とを意味する。従って、新たに更新された階層構造に対
しても展開テーブルを作成する必要がある。従って、ス
テップS23で既に展開テーブルが作成されていると判
断された場合は、ステップS24に進む。
When the expansion table has already been created,
This means that there was a deployment request from the operator before. Therefore, it is necessary to create the expansion table for the newly updated hierarchical structure. Therefore, if it is determined in step S23 that the expansion table has already been created, the process proceeds to step S24.

【0089】ステップS24に於て、展開テーブルを作
成し、処理を終了する。このようにして、インデックス
を用いた展開をすることによって、スーパークラスライ
クの階層構造が深くなった場合でも、知識データベース
10は高速に曖昧検索を行うことができる。
In step S24, the expansion table is created and the process is terminated. In this way, by expanding using the index, the knowledge database 10 can perform ambiguous search at high speed even when the superclass-like hierarchical structure becomes deep.

【0090】次に、知識データベース10に於ける水平
思考的検索について説明する。人間はひとつの実体に対
してあたかも関係ないと思われるような複数の解釈をす
ることができる。例えば、「林檎」という実体について
考えてみる。林檎は食べ物であると解釈することができ
るが、ボールとして使用することも可能であり、また重
しとして文鎮の変わりに使用することも可能である。さ
らには、林檎は絵画を書くときの被写体として使用する
こともできるし、一輪挿しの花瓶として用いることもで
きる。即ち、「林檎」という実体に対しては、食べ物、
ボール、文鎮、被写体、花瓶等の異なった複数の解釈が
可能であることになる。これを人間の水平思考と呼ぶ。
このような水平思考の仕組みを、本発明の認識モジュー
ル構成によって実現することができる。
Next, the horizontal thinking retrieval in the knowledge database 10 will be described. Humans can make multiple interpretations of an entity as if they were unrelated. For example, consider the entity "apple". The apple can be interpreted as a food, but it can also be used as a ball, or as a weight instead of a paperweight. Furthermore, the apple can be used as a subject when writing a painting, or as a vase for a vase. That is, for the entity "apple", food,
Multiple different interpretations of the ball, paperweight, subject, vase, etc. will be possible. This is called human horizontal thinking.
Such a horizontal thinking mechanism can be realized by the recognition module configuration of the present invention.

【0091】即ち「林檎」というオブジェクトが、例え
ば、一属性として「形:丸い」を有し、更にほかの属性
として「性質:投げられる」を有していたとする。ま
た、この「林檎」というオブジェクトが生成された時
に、知識データベース10には「ボール」という別のオ
ブジェクトが存在し、同様に「形:丸い」及び「性質:
投げられる」を属性として有していたとする。この場
合、2つのオブジェクト「林檎」と「ボール」は、属性
「形:丸い」及び「性質:投げられる」を共通の属性と
して有するので、これらの共通属性を有するスーパーク
ラスライクが生成される。この様子を図10に示す。こ
のようにして生成されたスーパークラスライクは、例え
ば、「ボールのようなもの」というオブジェクトとして
知識データベース内に格納される。
That is, it is assumed that the object “apple” has, for example, “shape: round” as one attribute and “property: thrown” as another attribute. Further, when this object “apple” is created, another object “ball” exists in the knowledge database 10, and similarly, “shape: round” and “property:
It is assumed that it has "thrown" as an attribute. In this case, the two objects “apple” and “ball” have the attributes “shape: round” and “property: thrown” as common attributes, so a superclass-like having these common attributes is generated. This is shown in FIG. The superclass-like generated in this way is stored in the knowledge database as an object "thing like a ball", for example.

【0092】同様に、オブジェクト「林檎」は、フルー
ツ(或いは食べ物)と言うスーパークラスライクを有す
るであろうし、文鎮(のようなもの)、被写体、花瓶
(のようなもの)等のスーパークラスライクを有するこ
とができる。従って、このようにして構成された階層構
造を用いて、水平思考的な検索を実現することができ
る。そのような階層構造を図11に示す。図11に於
て、下位層のオブジェクトは、各々に対する異なった認
識を表すスーパークラスライクを上位オブジェクトとし
て有する。従って、この階層構造の中で例えば「林檎」
と言うオブジェクトを起点として、「ボールのようなも
の」を介して「ボール」と言うオブジェクトを発見し、
それを検索結果として出力することができる。
Similarly, the object "apple" will have a superclass-like called fruit (or food), and will be superclass-like such as paperweight (like), subject, vase (like). Can have. Therefore, a horizontal thinking search can be realized by using the hierarchical structure configured in this way. Such a hierarchical structure is shown in FIG. In FIG. 11, the lower layer objects have superclass-like as upper objects, which represent different recognitions for each. Therefore, in this hierarchical structure, for example, "apple"
Starting from the object called "," discover the object called "ball" through "thing like a ball,"
It can be output as a search result.

【0093】図12に水平思考的検索の処理のフローチ
ャートを示す。この処理は、図2の知識データベース1
0の検索部21によって実行される。ステップS31に
於て、どのようなデータを収集すればよいのかに関する
情報をオペレータから受け取る。ステップS32で、そ
のようにして収集されたデータが既に存在するのか否か
を判断する。既に存在する場合は処理を終了する。その
ようなデータが存在しない場合、ステップS33で、記
憶部13に格納されたデータを全文検索して、データ収
集条件に合うものをテーブルに集める。ステップS34
で、全文検索が終了したかどうかを判断する。終了して
いない場合は、ステップS33に戻り全文検索を更に行
う。全文検索が終了した場合は、全体の処理を終了す
る。
FIG. 12 shows a flowchart of the process of horizontal thinking retrieval. This process is performed by the knowledge database 1 of FIG.
It is executed by the search unit 21 of 0. In step S31, the operator receives information regarding what kind of data should be collected. In step S32, it is determined whether or not the data thus collected already exists. If it already exists, the process ends. If such data does not exist, in step S33, the full-text search is performed on the data stored in the storage unit 13, and the data matching the data collection condition is collected in the table. Step S34
Then, it is determined whether the full text search is completed. If not completed, the process returns to step S33 to perform further full-text search. When the full text search is completed, the entire process is completed.

【0094】このような水平思考的検索の処理は、全文
検索であるためにデータ収集を終了するまでに長い時間
を要する。しかしながらこの処理は、知識データベース
システム10が他の処理を行っている間、或いは、アイ
ドル時間に実行すればよいために、長時間を要すること
は問題とはならない。
Since such horizontal thinking search processing is a full-text search, it takes a long time to complete data collection. However, since this processing may be executed while the knowledge database system 10 is performing other processing or during idle time, it does not matter that the processing takes a long time.

【0095】次に、知識データベースシステム10に於
ける閃き的検索に関して説明する。人間は水平思考とよ
く似た閃きをおこすことができるが、この閃きの定義は
一般に難しい。ここでは閃きを、あるオブジェクト及び
それと関連のないオブジェクトの間で、何らかの関連を
見いだすことと定義する。この定義を人間の思考過程に
当て嵌めてみると、ある物について考えているとき、そ
の物とは全く関連がないと思われた別の物が何らかの関
連をもって閃くことに相当する。
Next, the flash search in the knowledge database system 10 will be described. Humans can make a flash that mimics horizontal thinking, but this flash is generally difficult to define. Inspiration is defined here as finding some association between an object and objects that are not related to it. Applying this definition to the human thought process, when thinking about one thing, it is equivalent to another thing that seems to have nothing to do with that thing with some kind of connection.

【0096】つまり本発明に於ては、ある物を拡大解釈
しながら他の物も拡大解釈することによって、拡大解釈
した物どうしの間で何らかの関連を見つけることとして
閃きを定義する。これは、本発明に於ける入れ子構造の
認識モジュール構造を用いることによって実現すること
ができる。これを説明する図を図13に示す。
In other words, in the present invention, a flash is defined as finding some relation between the expanded objects by expanding and interpreting one object while expanding the other object. This can be achieved by using the nested recognition module structure of the present invention. A diagram for explaining this is shown in FIG.

【0097】図13に於て、関連のない(共通の属性を
有さない)ような2つのオブジェクトA及びBについ
て、入れ子構造になった認識モジュールを次々に検索し
ていき、Aから出発した検索とBから出発した検索との
間で共通する認識モジュールを探す。そして共通する認
識モジュール(属性)が見つかった場合、それを属性と
する新たなオブジェクトCを生成する。この処理によ
り、一見関連のないと思われたオブジェクトAとBと
は、Cというオブジェクトによって関連づけられること
になる。
In FIG. 13, with respect to two objects A and B which are not related (have no common attribute), the recognition modules having a nested structure are searched one after another, starting from A. Look for a common recognition module between the search and the search starting from B. When a common recognition module (attribute) is found, a new object C having the attribute as a property is generated. By this processing, the objects A and B which seem to be unrelated at first glance are related by the object C.

【0098】図14は閃き的検索の処理のフローチャー
トを示す。ステップS41に於て、関係の少ない複数の
オブジェクトがオペレータにより入力される。ステップ
S42に於て、入れ子認識で各認識モジュールを更に入
れ子処理をし、複数のオブジェクトの内容の一致するも
のを探す。ステップS43で、一致するものがあるかど
うかを判断する。一致するものがない場合、ステップS
44に進む。ステップS44で、入れ子構造になった全
ての認識モジュールが検索されたかどうかを判断する。
全て検索された場合処理を終了し、検索対象が残ってい
る場合には、ステップS42に戻り、以降のステップを
繰り返す。
FIG. 14 shows a flowchart of the flash search process. In step S41, a plurality of objects having few relations are input by the operator. In step S42, each recognition module is further subjected to nesting processing by nesting recognition to search for a match in the contents of a plurality of objects. In step S43, it is determined whether there is a match. If there is no match, step S
Go to 44. In step S44, it is determined whether or not all the recognition modules having the nested structure have been searched.
If all have been searched, the process is terminated, and if there are more search targets, the process returns to step S42 and the subsequent steps are repeated.

【0099】ステップS43で一致するものがあると判
断された場合は、ステップS45に進む。ステップS4
5に於て、一致する属性を有するオブジェクトを生成す
る。オブジェクト生成後、処理を終了する。以上のよう
にして、本発明の第1実施例は、認識モジュール構造を
用いることによって、知覚(データ入力)・認識・記憶
が一体となった記憶方式を実現することができる。更
に、本発明の第1実施例は、高速度な曖昧検索、高機能
な水平思考的検索及び閃き検索検索を行うことによっ
て、オペレータの知的活動を援助することができる。
If it is determined in step S43 that there is a match, the process proceeds to step S45. Step S4
At 5, an object with matching attributes is created. After the object is created, the process ends. As described above, the first embodiment of the present invention can realize the storage system in which the perception (data input), the recognition, and the storage are integrated by using the recognition module structure. Furthermore, the first embodiment of the present invention can assist the intellectual activity of the operator by performing high-speed fuzzy search, high-performance horizontal thinking search, and flash search search.

【0100】本発明の第2実施例は、過去に経験した知
識と比較して新たな知識を獲得する知識獲得方法、即ち
再認識方式に関する。図15は、図1に示される知的デ
ータベース10の処理部12の第2実施例のブロック図
を示すものであり、ここに示された構成はコンピュータ
によって実現される。図15に示された第2実施例は、
図2の第1実施例の部分中で知識の再認識方式に関する
部分を詳細に示したものである。
The second embodiment of the present invention relates to a knowledge acquisition method, that is, a re-recognition method, for acquiring new knowledge as compared with the knowledge experienced in the past. FIG. 15 is a block diagram of the second embodiment of the processing unit 12 of the intelligent database 10 shown in FIG. 1, and the configuration shown here is realized by a computer. The second embodiment shown in FIG. 15 is
3 is a detailed diagram of a portion related to a knowledge re-recognition method in the portion of the first embodiment of FIG. 2.

【0101】図2の第1実施例の記憶方式に於ては、デ
ータオブジェクトに対して過去に経験したクラスオブジ
ェクトを当て嵌めてインスタンスオブジェクトを生成し
認識・記憶する。このように新規オブジェクトを記憶
(格納)するときに、新規オブジェクトを既に存在する
オブジェクトと関連づけて、共通部分及び差異部分を認
識して格納することを再認識と呼ぶ。図15に示される
第2実施例は、このような再認識方式を実現するもので
ある。
In the storage system of the first embodiment shown in FIG. 2, a class object experienced in the past is applied to a data object to generate an instance object, which is recognized and stored. In this way, when storing (storing) a new object, associating the new object with an already existing object and recognizing and storing the common part and the difference part is called re-recognition. The second embodiment shown in FIG. 15 realizes such a re-recognition method.

【0102】図15に於て、処理部12は、相違度判定
方法選択部31、類似検索部32、スーパークラスライ
ク検索部33、検索結果出力部34、共通部分検出部3
5、差異部分検出部36、スーパークラスライク定義登
録部37、改造部分検出部38、削除部分検出部39、
追加部分抽出部40、関係付け登録部41を含む。これ
らの各部分が協調動作することによってオブジェクトの
再認識を実現するが、各部分の動作を説明する前に、本
発明における再認識の概念について説明する。
In FIG. 15, the processing section 12 includes a difference degree determination method selection section 31, a similarity search section 32, a superclass-like search section 33, a search result output section 34, and a common part detection section 3.
5, a difference portion detection unit 36, a superclass-like definition registration unit 37, a modified portion detection unit 38, a deleted portion detection unit 39,
An additional portion extraction unit 40 and a relation registration unit 41 are included. Recognizing an object is realized by the cooperation of each of these parts. Before explaining the operation of each part, the concept of rerecognition in the present invention will be described.

【0103】図16は、再認識の概念について説明する
図である。図16(a)のようなファイルをコピーする
プログラムが存在する場合に、図16(b)のようなレ
コードをコピーするプログラムが新規入力された場合を
考える。このとき、図16(a)及び(b)に示される
ように、ディスクリード機能、ディスクライト機能、フ
ァイル認識機能は、両者のプログラムにおいて共通であ
る。また、ファイルコピープログラムに於て、「対象:
ファイル」と言う属性は差異部分である。更に、「機
能:レコード認識機能」及び「対象:レコード」の属性
は、レコードコピープログラムに於て差異部分である。
従って、図16(b)に示されるレコードコピープログ
ラムが入力された時点で、ファイルコピープログラムは
「共通部分+対象:ファイル」として認識される。また
レコードコピープログラムは「共通部分+(機能:レコ
ード認識機能+対象:レコード)」として認識される。
本発明に於て認識とは、第1実施例においても述べたよ
うに、インスタンスオブジェクトを生成・格納すること
である。即ち、新規インスタンスオブジェクトを既存の
インスタンスオブジェクトと上記のようにして関連づけ
て格納することが再認識である。この再認識により、後
述するように、経験として蓄えられた知識の再利用が可
能となる。
FIG. 16 is a diagram for explaining the concept of re-recognition. Consider a case where a program for copying a record as shown in FIG. 16B is newly input when a program for copying a file as shown in FIG. 16A exists. At this time, as shown in FIGS. 16A and 16B, the disc read function, the disc write function, and the file recognition function are common to both programs. In addition, in the file copy program, "Target:
The attribute "file" is the difference. Furthermore, the attributes of "function: record recognition function" and "target: record" are different parts in the record copy program.
Therefore, when the record copy program shown in FIG. 16B is input, the file copy program is recognized as “common part + target: file”. The record copy program is recognized as "common part + (function: record recognition function + target: record)".
The recognition in the present invention is to generate and store an instance object as described in the first embodiment. That is, it is a re-recognition that the new instance object is stored in association with the existing instance object as described above. By this re-recognition, as will be described later, it is possible to reuse the knowledge accumulated as experience.

【0104】このような再認識の際の共通部分及び差異
部分の決定は固定的なものではなく、ドメイン(応用分
野)の指定の仕方によってダイナミックに変化する。例
えば、図17に示された例を考える。図17(a)は図
16(a)と同一のファイルコピープログラムであり、
図17(b)は図16(b)と同一のレコードコピープ
ログラムである。この2つのプログラムが存在する場合
に、図17(c)のようなレコード表示のプログラムが
新規入力されたとする。このとき例えばファイル操作と
いうドメインが設定されたとすると、此処にある全ての
プログラムが対象となるので、図17(d)、(e)、
(f)に示されるような認識のされ方をする。またレコ
ード操作というドメインが設定されたとすると、図17
(g)及び(h)に示されるような認識のされ方をす
る。このように、どのようなグループで再認識を実行す
るかというグループの見方を選択することによって、検
索を効率的に行うことができる。
The determination of the common part and the difference part at the time of such re-recognition is not fixed, but dynamically changes depending on the way of designating the domain (application field). For example, consider the example shown in FIG. FIG. 17A shows the same file copy program as FIG. 16A,
FIG. 17B is the same record copy program as FIG. 16B. When these two programs exist, it is assumed that a record display program as shown in FIG. 17C is newly input. At this time, for example, if a domain called file operation is set, all programs in this area are targeted, and therefore, in FIG. 17 (d), (e),
The recognition is performed as shown in (f). If a domain called record operation is set, FIG.
The recognition is performed as shown in (g) and (h). In this way, the search can be efficiently performed by selecting the group view as to in which group the re-recognition is performed.

【0105】また更に、共通部分及び差異部分の認識
は、目的に応じてダイナミックに変化させることができ
る。図18は、これを説明するための図である。、図1
8(a)のようなファイルコピープログラムがあらかじ
め存在し、図18(b)のレコードエディットのプログ
ラムを作成する場合を例にとって考える。なお知識デー
タベース10に於ては、プログラムの実体(ソースコー
ド或いは実行可能コード)は実データとして格納され、
図18(a)及び(b)に示されるようなプログラムの
属性は実データを管理するメタデータとして格納されて
いる。図18(b)の属性よりなるオブジェクト(メタ
データ)を新規入力すると、知識データベース10は類
似する属性を有するオブジェクト(図18(a))を検
索して、オブジェクト同士を比較して再認識する。この
とき認識された共通部分及び差異部分の情報に基づい
て、オペレータは実データのプログラムを変更・追加し
て、レコード表示のプログラムを得ることができる。即
ち、知識の再利用を行うことができる。
Furthermore, the recognition of the common portion and the difference portion can be dynamically changed according to the purpose. FIG. 18 is a diagram for explaining this. , Figure 1
Consider a case where a file copy program as shown in FIG. 8A exists in advance and the program for record editing shown in FIG. 18B is created. In the knowledge database 10, the substance of the program (source code or executable code) is stored as actual data,
The program attributes as shown in FIGS. 18A and 18B are stored as metadata for managing actual data. When a new object (metadata) having the attributes shown in FIG. 18B is newly input, the knowledge database 10 searches for objects having similar attributes (FIG. 18A) and compares the objects to recognize them again. . Based on the information of the common part and the different part recognized at this time, the operator can change / add the program of the actual data to obtain the program of record display. That is, the knowledge can be reused.

【0106】目的が「レコードエディットのプログラム
の作成」である場合、例えば、図18(b)の「使用言
語」、「稼働マシン」、「外部インターフェース」の各
属性が選択される。そしてこれら選択された属性につい
て、共通部分及び差異部分の認識を行うように知識デー
タベース10は動作する。そして類似オブジェクトの検
索及び比較による再認識の結果、共通部分は「使用言
語:C」及び「稼働マシン:SUN4」、そして差異部
分は「外部インターフェース:」として認識される。こ
のような各属性の選択は、目的に応じてダイナミックに
設定される。例えば、レコードエディットのプログラム
が既に存在しているとして、ユーザがレコードエディッ
トプログラムを使用することを望むとき、目的は「レコ
ードエディットプログラムの使用」である。この場合、
例えば、単に「機能:ファイルコピー、レコードエディ
ット」の属性が指定されることになる。
When the purpose is "creation of program of record edit", for example, each attribute of "language used", "operating machine" and "external interface" in FIG. 18B is selected. Then, the knowledge database 10 operates so as to recognize the common part and the different part with respect to these selected attributes. As a result of re-recognition by searching and comparing similar objects, the common part is recognized as "used language: C" and "operating machine: SUN4", and the different part is recognized as "external interface:". The selection of each of such attributes is dynamically set according to the purpose. For example, if a record edit program already exists, and the user wants to use the record edit program, the purpose is "use record edit program". in this case,
For example, the attribute of "function: file copy, record edit" is simply specified.

【0107】このように目的に応じて共通部分及び差異
部分の認識を変化させることにより、目的に適した項目
のみを選択的に検索できるので、検索の効率化を計るこ
とができる。図19は本発明の第2実施例による再認識
の処理を示すフローチャートである。この処理は、図1
5に示される処理部12の第2実施例によって実現され
る。
By changing the recognition of the common part and the difference part according to the purpose in this way, only the items suitable for the purpose can be selectively searched, so that the efficiency of the search can be improved. FIG. 19 is a flowchart showing the process of re-recognition according to the second embodiment of the present invention. This processing is shown in FIG.
This is realized by the second embodiment of the processing unit 12 shown in FIG.

【0108】ステップS51で、ドメインを入力してグ
ループの見方を決定する。ステップS52で目的を入力
して、ドメインと目的とによって類似度判定方法を選択
する。類似度判定方法の一例を図20に示す。図20
(a)は、目的別に応じてどの属性を選択し、各々の属
性にどのような重み付けを与えるかを定義したパラメー
タテーブルを示す。ステップS52で入力された目的に
応じて、このパラメータテーブルをアクセスして、各々
の属性に対する重み付け係数を得る。そして例えば、図
20(b)に示されるような類似度判定式を用いて類似
度を計算し、新規オブジェクトに類似するオブジェクト
を記憶部13から検索することになる。
In step S51, the domain is input and the way of looking at the group is determined. In step S52, the purpose is input, and the similarity determination method is selected according to the domain and the purpose. An example of the similarity determination method is shown in FIG. FIG.
(A) shows a parameter table that defines which attributes are selected according to purpose and what weighting is given to each attribute. This parameter table is accessed according to the purpose input in step S52 to obtain the weighting coefficient for each attribute. Then, for example, the similarity is calculated using the similarity determination formula as shown in FIG. 20B, and the object similar to the new object is searched from the storage unit 13.

【0109】ステップS53に於て、新規オブジェクト
が入力される。ステップS54に於て、類似検索の処理
が実行される。このステップS54に於てはまず、検索
条件である各属性が、ある既存オブジェクトの属性デー
タ(メタデータ)として存在するかどうかが判定され
る。そして、検索条件の各属性の有無を図20(b)の
判定式に代入し、類似を計算する。この類似度がある値
以上のオブジェクトを、検索条件を満たすオブジェクト
として抽出する。
In step S53, a new object is input. In step S54, similarity search processing is executed. In step S54, it is first determined whether or not each attribute as a search condition exists as attribute data (metadata) of an existing object. Then, the presence / absence of each attribute of the search condition is substituted into the determination formula of FIG. 20B to calculate the similarity. Objects whose similarity is higher than a certain value are extracted as objects satisfying the search condition.

【0110】ステップS55に於て、新規オブジェクト
の属性が、検索されたオブジェクトの属性と比較され、
属性名及び属性値のそれぞれが両者間で一致するかどう
か判定される。両者間で属性名及び属性値が同一の属性
については、ステップS56に処理が進む。ステップS
56に於て、同一属性名及び同一属性値の属性をひとま
とまりの共通部分として抽出する。次に、ステップS5
7に於て、新規にスーパークラス或いはスーパークラス
ライクを作り登録し、上位リンクと下位リンクを付け
る。その後、ステップS64に処理が進む。
At step S55, the attributes of the new object are compared with the attributes of the retrieved object,
It is determined whether the attribute name and the attribute value match each other. For attributes having the same attribute name and attribute value, the process proceeds to step S56. Step S
At 56, the attributes having the same attribute name and the same attribute value are extracted as a group of common parts. Next, step S5
At 7, a new super class or super class-like is created and registered, and an upper link and a lower link are attached. Then, the process proceeds to step S64.

【0111】なお、第2実施例においてはスーパークラ
スライクの定義を、第1実施例に於けるものとは異なる
ものとして用いている。第1実施例においては、共通属
性を抽出してまとめたクラスオブジェクトをスーパーク
ラスライクと定義した。しかしながら、第2実施例にお
いては、共通属性を抽出してまとめたオブジェクトはス
ーパークラスライクではなくスーパークラスと定義す
る。そしてスーパークラスライクとは、そのスーパーク
ラスに対してオペレータが感覚的に定義した属性のこと
である。
In the second embodiment, the definition of superclass-like is used as being different from that in the first embodiment. In the first embodiment, the class object in which common attributes are extracted and summarized is defined as superclass-like. However, in the second embodiment, the object in which the common attributes are extracted and put together is defined as a super class, not like a super class. The superclass-like is an attribute that the operator intuitively defines for the superclass.

【0112】両者間で同一属性名であるが異なる属性値
の属性については、ステップS58に処理が進む。ステ
ップS58に於て、同一属性名であるが異なる属性値の
属性をis-aとして抽出する。次に、ステップS59に於
て、新規にis-aのクラスまたはクラスライクを作成し登
録する。ここでクラスライクとは、対象のクラスに対し
てオペレータが感覚的に定義した属性である。その後、
ステップS64に処理が進む。
For attributes having the same attribute name but different attribute values, the process proceeds to step S58. In step S58, attributes having the same attribute name but different attribute values are extracted as is-a. Next, in step S59, a new is-a class or class-like is created and registered. Here, class-like is an attribute that the operator intuitively defines for the target class. afterwards,
The process proceeds to step S64.

【0113】新規オブジェクトにあるが既存オブジェク
トにない属性については、ステップS60に処理が進
む。ステップS60に於て、新規オブジェクトにあるが
既存オブジェクトにない属性をpart-of として抽出す
る。次に、ステップS61に於て、新規にpart-of のク
ラスまたはクラスライクを作成し登録する。その後、ス
テップS64に処理が進む。
For attributes that are in the new object but not in the existing object, the process proceeds to step S60. In step S60, the attributes that are present in the new object but not in the existing object are extracted as part-of. Next, in step S61, a new part-of class or class-like is created and registered. Then, the process proceeds to step S64.

【0114】新規オブジェクトにないが既存オブジェク
トにある属性については、ステップS62に処理が進
む。ステップS62に於て、新規オブジェクトにないが
既存オブジェクトにある属性をpart-of として抽出す
る。次に、ステップS63に於て、新規にpart-of のク
ラスまたはクラスライクを作成し登録する。その後、ス
テップS64に処理が進む。
For attributes not existing in the new object but existing in the existing object, the process proceeds to step S62. In step S62, the attributes that are not in the new object but are in the existing object are extracted as part-of. Next, in step S63, a new part-of class or class-like is created and registered. Then, the process proceeds to step S64.

【0115】ステップS64に於て、新規オブジェクト
のメタデータ作成、実データ、クラス、クラスライクへ
のリンク付け、及び実データの書き込みが行われる。こ
れで処理を終了する。図19に示されるフローチャート
の処理にしたがって、図1の本発明の知識データベース
10はオブジェクトの再認識を行う。図15を再び参照
して、第2実施例にしたがった処理部12の各部分の動
作について説明する。
In step S64, the metadata of the new object is created, the actual data, the class, the link to the class-like, and the writing of the actual data are performed. This ends the processing. According to the process of the flowchart shown in FIG. 19, the knowledge database 10 of the present invention in FIG. 1 re-recognizes the object. The operation of each part of the processing unit 12 according to the second embodiment will be described with reference to FIG. 15 again.

【0116】入力部11からドメイン及び目的が入力さ
れると、相違度判定方法選択部31はドメインと目的と
に基づいて類似度判定方法を選択する。入力部11から
新規データが入力されると、類似検索部32が類似検索
を実行する。この類似検索に於ては、スーパークラスラ
イク検索部33を介して、記憶部13に格納されたスー
パークラスライク階層構造内で類似オブジェクトを検索
する。類似オブジェクトが検索されると、検索結果が検
索結果出力部34に表示される。また新規オブジェクト
と検索された類似オブジェクトとの共通部分が、共通部
分検出部35によって検出され記憶部13に格納され
る。更に、両者の差異部分が、差異部分検出部36によ
って検出され記憶部13に格納される。また更に、スー
パークラスライクを登録するのであれば、スーパークラ
スライク登録部37によってスーパークラスライクを記
憶部13に登録する。
When the domain and the purpose are input from the input unit 11, the dissimilarity determination method selection unit 31 selects the similarity determination method based on the domain and the purpose. When new data is input from the input unit 11, the similarity search unit 32 executes a similarity search. In this similarity search, similar objects are searched for in the superclass-like hierarchical structure stored in the storage unit 13 via the superclass-like search unit 33. When the similar object is searched, the search result is displayed on the search result output unit 34. Further, the common part between the new object and the searched similar object is detected by the common part detection unit 35 and stored in the storage unit 13. Further, the difference between the two is detected by the difference detecting unit 36 and stored in the storage unit 13. Further, if the superclass-like is registered, the superclass-like registration unit 37 registers the superclass-like in the storage unit 13.

【0117】差異部分検出部36の出力に基づいて、改
造部分検出部38は差異部分のうち改造されるべき部分
を検出する。また、差異部分検出部36の出力に基づい
て、削除部分検出部39は差異部分のうち削除されるべ
き部分を検出する。更に、追加部分抽出部40は、差異
部分検出部36の出力に基づいて差異部分のうち追加さ
れる部分を検出する。改造部分検出部38、削除部分検
出部40、及び追加部分抽出部40の出力に基づいて、
関係付け登録部41は、新規オブジェクト及び既存オブ
ジェクトの間の関連付けを行い、その間連付けを記憶部
13に格納する。
Based on the output of the different portion detecting portion 36, the reconstructed portion detecting portion 38 detects the portion to be reconstructed among the different portions. Further, based on the output of the different portion detecting unit 36, the deleted portion detecting unit 39 detects the portion to be deleted among the different portions. Further, the additional portion extracting unit 40 detects the added portion of the different portions based on the output of the different portion detecting unit 36. Based on the outputs of the modified portion detecting unit 38, the deleted portion detecting unit 40, and the additional portion extracting unit 40,
The association registration unit 41 associates a new object and an existing object, and stores the association between them in the storage unit 13.

【0118】図19のフローチャートに示される再認識
処理によって、新規オブジェクトと既存オブジェクトが
関連づけられて認識される様子を図21に示す。図21
は、図18(a)及び(b)に示されたファイルコピー
プログラム及びレコードエディットプログラムを再び例
として用いている。
FIG. 21 shows how the new object and the existing object are recognized in association with each other by the re-recognition process shown in the flowchart of FIG. FIG.
Again uses the file copy program and record edit program shown in FIGS. 18A and 18B as examples.

【0119】図21に示されるように、作成者、使用言
語、稼働マシンの各属性は、両プログラム間で属性名及
び属性値ともに同一であるから(図18参照)、共通属
性をまとめたスーパークラスとして抽出される。また、
作成時期、機能、外部インターフェース、プログラムサ
イズ、処理時間、構造の各属性は、両プログラム間で属
性名は一致するが属性値が異なるので、is-a関係のクラ
スとして抽出される。また更に、エディット入力装置の
属性は、レコードエディットプログラムにしか存在しな
いのでpart-of 関係のクラスとして抽出される。ここ
で、属性値が異なる属性については更に、どの属性が一
致するかをチェックしてis-a関係やpart-of 関係として
引き出す。このようにして各々のプログラムが、共通部
分と差異部分とで認識される。
As shown in FIG. 21, the attributes of the creator, the language used, and the operating machine are the same in both program names and attribute values (see FIG. 18). It is extracted as a class. Also,
The attributes such as creation time, function, external interface, program size, processing time, and structure have the same attribute name but different attribute values between the programs, so they are extracted as is-a related classes. Furthermore, since the attribute of the edit input device exists only in the record edit program, it is extracted as a part-of relation class. Here, for attributes with different attribute values, it is further checked which attribute is the same and extracted as an is-a relationship or a part-of relationship. In this way, each program is recognized as a common part and a different part.

【0120】更に、各々のプログラムに対して、図22
に示されるようにスーパークラスライクな属性を付ける
ことができる。このスーパークラスライクな属性は、上
述したように、オペレータが感覚的に与える属性であ
る。更には、図23に示されるように、両方のオブジェ
クトに「データを操作するプログラム」というスーパー
クラスライクを上位の概念として与えることもできる。
Further, for each program, FIG.
You can add superclass-like attributes as shown in. This superclass-like attribute is an attribute that the operator intuitively gives, as described above. Further, as shown in FIG. 23, both objects can be given a superclass-like "program for manipulating data" as a superordinate concept.

【0121】このようにしてスーパークラスライクで構
成された階層構造に於ては、ツリー上の構造だけではな
く、図24に示されるような斜めのリンクの存在を許
す。従って、図24の階層構造に於て「ファイルのコピ
ー」というオブジェクトの検索を実行した場合、網かけ
で示されるように、3つの「ファイル単位のコピー」の
オブジェクトが互いに関連づけられたものとして抽出さ
れる。また各オブジェクトには、オペレータの感覚的な
概念を表すス−パークラスライク属性が付けられている
ので、曖昧な概念からでも目的のオブジェクトを効率よ
く抽出することができる。また図25のように、「ラベ
ル無しのファイルをコピー」というオブジェクトを検索
した場合、知識データベース10は、磁気テープファイ
ルとディスクファイルとのいずれが対象であるのかをオ
ペレータに質問してもよい。この場合、オペレータが磁
気テープが対象であると指示することによって、図25
に示されるように「ファイル単位のコピー(ラベル無
し)」のオブジェクトが選択される。
In the hierarchical structure constructed in the super class like manner as described above, not only the structure on the tree but also the existence of diagonal links as shown in FIG. 24 is allowed. Therefore, when a search for an object called “file copy” is executed in the hierarchical structure of FIG. 24, three “file-unit copy” objects are extracted as being associated with each other, as shown by shading. To be done. Further, since each object is provided with a superclass-like attribute that represents a sensory concept of the operator, a target object can be efficiently extracted even from an ambiguous concept. Further, as shown in FIG. 25, when the object “copy unlabeled file” is searched, the knowledge database 10 may ask the operator which one of the magnetic tape file and the disk file is the target. In this case, when the operator indicates that the magnetic tape is the target,
As shown in, an object of “copy by file (without label)” is selected.

【0122】このようにして、本発明の第2実施例の再
認識方法に従えば、新規オブジェクトを、既存オブジェ
クトとの比較に於ける共通部分と差異部分として表現し
て認識する。従って、本発明の第2実施例に於ては、既
存オブジェクトの不完全な知識を成長させることができ
るとともに、知識の増大に伴うデータ量の増大を押さえ
ることができる。更に、共通部分と差異部分とに関する
情報を基にして、既存のデータ(実データ)の再利用を
計ることができる。また、本発明の第2実施例に於て
は、オペレータの感覚に基づくスーパークラスライクを
属性として与えることができるので、曖昧な検索を行う
ことができる。
Thus, according to the re-recognition method of the second embodiment of the present invention, the new object is expressed and recognized as the common part and the different part in the comparison with the existing object. Therefore, in the second embodiment of the present invention, it is possible to grow the incomplete knowledge of the existing object and suppress the increase of the data amount due to the increase of the knowledge. Furthermore, it is possible to reuse the existing data (actual data) based on the information regarding the common part and the different part. Further, in the second embodiment of the present invention, since the super class like based on the sense of the operator can be given as an attribute, an ambiguous search can be performed.

【0123】[0123]

【発明の効果】請求項1の発明に於ては、データ構造を
入力、認識、記憶時に決定するのでデータスキーマを知
識データベース構築時に決定する必要がなく、動作環境
の変化に対応可能な知識データベースを構築することが
できる。
According to the invention of claim 1, since the data structure is determined at the time of inputting, recognizing, and storing, it is not necessary to determine the data schema at the time of constructing the knowledge database, and the knowledge database capable of coping with changes in operating environment. Can be built.

【0124】請求項2の発明に於ては、クラスオブジェ
クトを生成して記憶領域に格納することで経験を蓄積す
るので、経験を知識として蓄積する知識データベースを
構築ことができる。請求項3の発明に於ては、蓄積され
た経験を活用し、動作環境の変化に対応可能な知識デー
タベースを構築することができる。
According to the second aspect of the invention, since the experience is accumulated by generating the class object and storing it in the storage area, it is possible to construct a knowledge database that accumulates the experience as knowledge. According to the third aspect of the invention, the accumulated experience can be utilized to build a knowledge database capable of coping with changes in the operating environment.

【0125】請求項4の発明に於ては、蓄積された経験
を容易に活用できる知識データベースを構築することが
できる。請求項5の発明に於ては、蓄積された経験を容
易に活用できる知識データベースを構築することができ
る。
According to the fourth aspect of the invention, it is possible to construct a knowledge database in which accumulated experience can be easily utilized. In the invention of claim 5, it is possible to construct a knowledge database that can easily utilize accumulated experience.

【0126】請求項6の発明に於ては、高速な検索を実
現する知識データベースを構築することができる。請求
項7の発明に於ては、検索用のインデックスを用いるこ
とで、さらに高速な検索を実現する知識データベースを
構築することができる。
According to the sixth aspect of the invention, it is possible to construct a knowledge database that realizes high-speed retrieval. According to the seventh aspect of the present invention, by using the search index, it is possible to construct a knowledge database that realizes a higher speed search.

【0127】請求項8の発明に於ては、全てのオブジェ
クトはメッシュ構造にリンクされているので、複合的な
認識が可能な知識データベースを構築することができ
る。請求項9の発明に於ては、オブジェクトは原子オブ
ジェクトを含むことができる。
In the eighth aspect of the invention, since all the objects are linked to the mesh structure, it is possible to construct a knowledge database capable of complex recognition. In the invention of claim 9, the object can include an atomic object.

【0128】請求項10の発明に於ては、原子オブジェ
クトは知識ベースに格納される全ての実世界モデルに於
て存在することができる。請求項11の発明に於ては、
水平思考的検索を実現することができる高度な検索機能
を有した知識データベースを構築することができる。
According to the tenth aspect of the invention, the atomic object can exist in all real world models stored in the knowledge base. According to the invention of claim 11,
It is possible to build a knowledge database with an advanced search function that can realize horizontal thinking search.

【0129】請求項12の発明に於ては、閃き的検索を
実現することができる高度な検索機能を有した知識デー
タベースを構築することができる。請求項13の発明に
於ては、オブジェクトの再利用が容易な知識データベー
スを構築することができる。
According to the twelfth aspect of the present invention, it is possible to construct a knowledge database having an advanced search function capable of realizing flash search. According to the thirteenth aspect of the invention, it is possible to construct a knowledge database in which objects can be easily reused.

【0130】請求項14の発明に於ては、新規オブジェ
クトは属性名及び属性値より定義されことができる。請
求項15の発明に於ては、ドメインの指定によって検索
される類似オブジェクトを動的に変化させるので、効率
的な類似検索が可能になる。
In the fourteenth aspect of the invention, the new object can be defined by the attribute name and the attribute value. According to the fifteenth aspect of the invention, since the similar object searched for is dynamically changed by designating the domain, an efficient similarity search can be performed.

【0131】請求項16の発明に於ては、目的の指定に
よって検索される類似オブジェクトを動的に変化させる
ので、効率的な類似検索が可能になる。請求項17の発
明に於ては、定量的に類似オブジェクトを検索すること
ができる。
According to the sixteenth aspect of the present invention, since the similar object searched for is dynamically changed according to the purpose designation, efficient similarity search can be performed. According to the invention of claim 17, the similar object can be quantitatively searched.

【0132】請求項18の発明に於ては、定量的に類似
オブジェクトを検索することができる。請求項19の発
明に於ては、選択属性名及び重み係数を動的に変化させ
るので、効率的な類似検索が可能となる。
In the eighteenth aspect of the invention, similar objects can be searched quantitatively. In the nineteenth aspect of the present invention, since the selected attribute name and the weighting coefficient are dynamically changed, efficient similarity search can be performed.

【0133】請求項20の発明に於ては、新規オブジェ
クトと類似オブジェクトをスーパークラスで関連づける
ことができるので、不完全な知識の成長をはかる知識デ
ータベースを構築することができる。請求項21の発明
に於ては、新規オブジェクトと類似オブジェクトをスー
パークラスで関連づけることができるので、不完全な知
識の成長をはかる知識データベースを構築することがで
きる。
According to the twentieth aspect of the invention, since the new object and the similar object can be associated with each other by the superclass, it is possible to construct a knowledge database for incomplete knowledge growth. According to the twenty-first aspect of the invention, since the new object and the similar object can be associated with each other by the superclass, it is possible to construct a knowledge database for growing incomplete knowledge.

【0134】請求項22の発明に於ては、新規オブジェ
クトと類似オブジェクトをis-a関係のクラスで関連づけ
ることができるので、不完全な知識の成長をはかる知識
データベースを構築することができる。請求項23の発
明に於ては、新規オブジェクトと類似オブジェクトをis
-a関係のクラスで関連づけることができるので、不完全
な知識の成長をはかる知識データベースを構築すること
ができる。
According to the twenty-second aspect of the present invention, since the new object and the similar object can be associated with each other in the class of is-a relationship, it is possible to construct a knowledge database for growing incomplete knowledge. In the invention of claim 23, the new object and the similar object are
-a Since it is possible to relate by class of relation, it is possible to build a knowledge database that aims to grow incomplete knowledge.

【0135】請求項24の発明に於ては、新規オブジェ
クトと類似オブジェクトをpart-of関係のクラスで関連
づけることができるので、不完全な知識の成長をはかる
知識データベースを構築することができる。請求項25
の発明に於ては、新規オブジェクトと類似オブジェクト
をpart-of関係のクラスで関連づけることができるの
で、不完全な知識の成長をはかる知識データベースを構
築することができる。
According to the twenty-fourth aspect of the present invention, since a new object and a similar object can be associated with each other by a class having a part-of relationship, it is possible to construct a knowledge database for growing incomplete knowledge. Claim 25
In the invention, since the new object and the similar object can be associated with each other by the class of the part-of relation, it is possible to construct the knowledge database for the incomplete growth of knowledge.

【0136】請求項26の発明に於ては、新規オブジェ
クトと類似オブジェクトをpart-of関係のクラスで関連
づけることができるので、不完全な知識の成長をはかる
知識データベースを構築することができる。請求項27
の発明に於ては、新規オブジェクトと類似オブジェクト
をpart-of関係のクラスで関連づけることができるの
で、不完全な知識の成長をはかる知識データベースを構
築することができる。
According to the twenty-sixth aspect of the present invention, since a new object and a similar object can be associated with each other by a class having a part-of relationship, it is possible to construct a knowledge database for growing incomplete knowledge. Claim 27
In the invention, since the new object and the similar object can be associated with each other by the class of the part-of relation, it is possible to construct the knowledge database for the incomplete growth of knowledge.

【0137】請求項28の発明に於ては、既存オブジェ
クトの成長をはかることができる知識データベースを構
築することができる。請求項29の発明に於ては、高速
な検索用の基盤が与えられた知識データベースを構築す
ることができる。
According to the twenty-eighth aspect of the present invention, it is possible to build a knowledge database capable of growing existing objects. According to the twenty-ninth aspect of the invention, it is possible to construct a knowledge database provided with a base for high-speed search.

【0138】請求項30の発明に於ては、柔軟な検索用
の基盤が与えられた知識データベースを構築することが
できる。請求項31の発明に於ては、柔軟な検索用の基
盤が与えられた知識データベースを構築することができ
る。
According to the thirtieth aspect of the present invention, it is possible to construct a knowledge database provided with a flexible search base. According to the thirty-first aspect of the invention, it is possible to build a knowledge database provided with a flexible search base.

【0139】請求項32の発明に於ては、曖昧な検索を
実現する知識データベースを構築することができる。請
求項33の発明に於ては、知識記憶装置は、データ構造
を入力、認識、記憶時に決定するのでデータスキーマを
知識データベース構築時に決定する必要がなく、動作環
境の変化に対応可能な知識データベースを構築すること
ができる。
According to the thirty-second aspect of the present invention, it is possible to construct a knowledge database for realizing ambiguous retrieval. In the invention of claim 33, since the knowledge storage device determines at the time of inputting, recognizing and storing the data structure, it is not necessary to determine the data schema at the time of constructing the knowledge database, and the knowledge database capable of coping with changes in operating environment. Can be built.

【0140】請求項34の発明に於ては、知識記憶装置
は、オブジェクトの再利用が容易な知識データベースを
構築することができる。
In the thirty-fourth aspect of the present invention, the knowledge storage device can construct a knowledge database in which objects can be easily reused.

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

【図1】本発明による知識データベースシステムのブロ
ック図である。
FIG. 1 is a block diagram of a knowledge database system according to the present invention.

【図2】図1の処理部の第1の実施例に従うブロック図
である。
2 is a block diagram according to a first embodiment of the processing unit of FIG. 1. FIG.

【図3】本発明に於けるオブジェクトのデータ構造を示
す概念図である。
FIG. 3 is a conceptual diagram showing a data structure of an object in the present invention.

【図4】(a)、(b)、(c)はそれぞれ、本発明に
於ける属性名及び属性値からなるオブジェクト、属性名
からなるオブジェクト、属性値からなるオブジェクトの
例を示す図である。
4A, 4B, and 4C are diagrams showing examples of an object consisting of an attribute name and an attribute value, an object consisting of an attribute name, and an object consisting of an attribute value in the present invention, respectively. .

【図5】本発明に於けるオブジェクト間のメッシュ構造
を示す概念図である。
FIG. 5 is a conceptual diagram showing a mesh structure between objects in the present invention.

【図6】本発明に於ける記憶方式の処理を示す流れ図で
ある。
FIG. 6 is a flow chart showing processing of a storage system according to the present invention.

【図7】本発明に於ける曖昧検索の処理を示す流れ図で
ある。
FIG. 7 is a flowchart showing a process of ambiguous search according to the present invention.

【図8】本発明に於ける曖昧検索における検索の様子を
示す概念図である。
FIG. 8 is a conceptual diagram showing how a fuzzy search is performed in the present invention.

【図9】本発明に於ける高速な曖昧検索のための展開テ
ーブル作成処理を示す流れ図である。
FIG. 9 is a flow chart showing a development table creation process for high-speed ambiguous search in the present invention.

【図10】本発明に於ける水平思考的検索を説明するた
めの概念図である。
FIG. 10 is a conceptual diagram for explaining horizontal thinking retrieval in the present invention.

【図11】本発明に於ける水平思考的検索を説明するた
めの概念図である。
FIG. 11 is a conceptual diagram for explaining a horizontal thinking search according to the present invention.

【図12】本発明に於ける水平思考的検索の処理を示す
流れ図である。
FIG. 12 is a flowchart showing the processing of horizontal thinking search according to the present invention.

【図13】本発明に於ける閃き的検索を説明するための
概念図である。
FIG. 13 is a conceptual diagram for explaining flash search in the present invention.

【図14】本発明に於ける閃き検索の処理を示す流れ図
である。
FIG. 14 is a flowchart showing a flash search process according to the present invention.

【図15】図1の処理部の第2の実施例に従うブロック
図である。
FIG. 15 is a block diagram according to a second embodiment of the processing unit of FIG.

【図16】(a)及び(b)は、本発明に於ける再認識
処理を説明するための概念図である。
16 (a) and 16 (b) are conceptual diagrams for explaining re-recognition processing in the present invention.

【図17】(a)から(h)は、本発明に於て、ドメイ
ンによりグループの見方が変化することの例を示す図で
ある。
17 (a) to 17 (h) are diagrams showing an example of how the view of a group changes depending on the domain in the present invention.

【図18】(a)及び(b)は、本発明に於て、共通部
分及び差異部分の決定が選択された属性名に対して行わ
れることの例を示す図である。
18 (a) and 18 (b) are diagrams showing an example in which determination of a common part and a different part is performed for a selected attribute name in the present invention.

【図19】本発明に於ける再認識処理を示す流れ図であ
る。
FIG. 19 is a flowchart showing a re-recognition process according to the present invention.

【図20】本発明に於ける再認識処理で用いられる類似
度判定式の例を示す図である。
FIG. 20 is a diagram showing an example of a similarity determination formula used in the re-recognition process in the present invention.

【図21】本発明の再認識処理に於ける共通部分及び差
異部分の抽出の例を示す図である。
FIG. 21 is a diagram showing an example of extraction of a common part and a different part in the re-recognition process of the present invention.

【図22】本発明の再認識処理に於けるオブジェクトに
付与されるスーパークラスライク属性の例を示す図であ
る。
FIG. 22 is a diagram showing an example of superclass-like attributes given to an object in the re-recognition processing of the present invention.

【図23】本発明の再認識処理に於けるオブジェクトに
付与されるスーパークラスライク属性の例を示す図であ
る。
FIG. 23 is a diagram showing an example of a superclass-like attribute given to an object in the re-recognition processing of the present invention.

【図24】本発明に於けるスーパークラスライク階層内
の斜めリンクを示す図である。
FIG. 24 is a diagram showing diagonal links in the superclass-like hierarchy according to the present invention.

【図25】本発明に於けるスーパークラスライク階層内
での曖昧な概念による検索を示す概念図である。
FIG. 25 is a conceptual diagram showing a search based on an ambiguous concept in the superclass-like hierarchy according to the present invention.

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

10 知識データベースシステム 11 入力部 12 処理部 13 記憶部 14 属性認識モジュール集合選択部 15 オブジェクト認識モジュール動的構成部 16 オブジェクト認識モジュール認識部 17 属性認識モジュール認識部 18 スーパークラスライク認識モジュール認識部 19 スーパークラスライク認識モジュール作成部 20 表示部 21 検索部 31 相違度判定方法選択部 32 類似検索部 33 スーパークラスライクによる検索部 34 検索結果出力部 35 共通部分検出部 36 差異部分検出部 37 スーパークラスライク定義登録部 38 改造部分検出部 39 削除部分検出部 40 追加部分抽出部 41 関係付け登録部 10 knowledge database system 11 input unit 12 processing unit 13 storage unit 14 attribute recognition module set selection unit 15 object recognition module dynamic configuration unit 16 object recognition module recognition unit 17 attribute recognition module recognition unit 18 superclass-like recognition module recognition unit 19 super Class-like recognition module creation unit 20 Display unit 21 Search unit 31 Dissimilarity determination method selection unit 32 Similarity search unit 33 Superclass-like search unit 34 Search result output unit 35 Common part detection unit 36 Difference part detection unit 37 Superclass-like definition Registration part 38 Modified part detection part 39 Deleted part detection part 40 Additional part extraction part 41 Relationship registration part

───────────────────────────────────────────────────── フロントページの続き (72)発明者 泉 寛幸 神奈川県川崎市中原区上小田中1015番地 富士通株式会社内 (72)発明者 村川 雅彦 神奈川県川崎市中原区上小田中1015番地 富士通株式会社内 (72)発明者 中村 勝一 福岡県福岡市博多区博多駅前一丁目4番4 号 富士通九州通信システム株式会社内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Hiroyuki Izumi, inventor Hiroyuki Izumi 1015, Kamiodanaka, Nakahara-ku, Kanagawa Prefecture, Fujitsu Limited (72) Inventor, Masahiko Murakawa, 1015, Kamikodanaka, Nakahara-ku, Kawasaki, Kanagawa Prefecture, Fujitsu Limited ( 72) Inventor Shoichi Nakamura 1-4-4 Hakataekimae, Hakata-ku, Fukuoka City, Fukuoka Prefecture, Fujitsu Kyushu Communication Systems Co., Ltd.

Claims (34)

【特許請求の範囲】[Claims] 【請求項1】 オブジェクトの属性値の入力により該属
性値からなるデータオブジェクトを生成し;該データオ
ブジェクトの該属性値に属性名を付与して該属性名と該
属性値からなるインスタンスオブジェクトを生成するこ
とで該オブジェクトの認識を行い;該インスタンスオブ
ジェクトを記憶領域に格納することにより該オブジェク
トの記憶を行う各段階を含み、該入力、該認識、該記憶
をひとつの処理単位として実行することを特徴とする知
識データベースに知識を記憶する知識記憶方法。
1. A data object having the attribute value is generated by inputting the attribute value of the object; an attribute name is given to the attribute value of the data object to generate an instance object having the attribute name and the attribute value. By recognizing the object, the step of storing the object by storing the instance object in a storage area is included, and the input, the recognition, and the storage are executed as one processing unit. A knowledge storage method for storing knowledge in a characteristic knowledge database.
【請求項2】 前記インスタンスオブジェクトの前記属
性名よりなるクラスオブジェクトを生成して前記記憶領
域に経験として格納する段階を更に含むことを特徴とす
る請求項1記載の知識記憶方法。
2. The knowledge storage method according to claim 1, further comprising the step of generating a class object consisting of the attribute name of the instance object and storing it as an experience in the storage area.
【請求項3】 前記認識を行う段階は、 経験として前記記憶領域に格納された前記クラスオブジ
ェクトを前記データオブジェクトに当て嵌め;必要に応
じて該データオブジェクトの前記属性名を修正、削除、
追加することにより前記インスタンスオブジェクトを生
成する各段階を含むことを特徴とする請求項2記載の知
識記憶方法。
3. The step of performing the recognition includes fitting the class object stored in the storage area to the data object as experience; modifying or deleting the attribute name of the data object as necessary.
The knowledge storage method according to claim 2, further comprising each step of generating the instance object by adding.
【請求項4】 前記経験として格納する段階は、 前記インスタンスオブジェクトの前記属性名と同一の属
性名をいくつか有する類似オブジェクトを前記記憶領域
内で検索し;該インスタンスオブジェクトと該類似オブ
ジェクトとの該同一の属性名を抽出し;該同一の属性名
よりなるスーパークラスオブジェクトを生成し;前記ク
ラスオブジェクトの上位クラスとして該スーパークラス
オブジェクトを該記憶領域に格納する各段階を更に含む
ことを特徴とする請求項2または3記載の知識記憶方
法。
4. The storing as the experience includes searching the storage area for similar objects having several attribute names that are the same as the attribute names of the instance object; Extracting the same attribute name; generating a superclass object having the same attribute name; and further including steps of storing the superclass object in the storage area as an upper class of the class object The knowledge storage method according to claim 2 or 3.
【請求項5】 前記スーパークラスオブジェクトに対し
て上位のスーパークラスオブジェクトを繰り返し生成し
前記記憶領域に格納することによって、該スーパークラ
スの階層構造を形成する段階を更に含むことを特徴とす
る請求項4記載の知識記憶方法。
5. The method further comprising the step of forming a hierarchical structure of the superclass by repeatedly generating an upper superclass object for the superclass object and storing the superclass object in the storage area. 4. Knowledge storage method described in 4.
【請求項6】 前記検索する段階は、前記階層構造内で
上位のスーパークラスから下位のスーパークラスへと前
記類似オブジェクトを検索する段階を含むことを特徴と
する請求項5記載の知識記憶方法。
6. The knowledge storage method according to claim 5, wherein the step of searching includes the step of searching the similar object from a superclass of a higher rank to a superclass of a lower rank in the hierarchical structure.
【請求項7】 前記検索する段階は、検索用のインデッ
クスを用いることを特徴とする請求項6記載の知識記憶
方法。
7. The knowledge storage method according to claim 6, wherein the searching step uses an index for searching.
【請求項8】 前記属性名及び前記属性値の各々は属性
名及び属性値の少なくとも一方よりなる更なるオブジェ
クトとして表現され、該属性名及び該属性値の各々とそ
れに対応する該オブジェクトを結ぶリンクによって、全
ての該オブジェクトはメッシュ構造にリンクされている
ことを特徴とする請求項1乃至7いずれか一項記載の知
識記憶方法。
8. Each of the attribute name and the attribute value is represented as a further object including at least one of the attribute name and the attribute value, and a link connecting each of the attribute name and the attribute value and the corresponding object. 8. The knowledge storage method according to any one of claims 1 to 7, wherein all the objects are linked to a mesh structure according to.
【請求項9】 前記メッシュ構造にリンクされた前記オ
ブジェクトは、その前記属性名及び前記属性値が更なる
オブジェクトとして表現されることができない原子オブ
ジェクトを含むことを特徴とする請求項8記載の知識記
憶方法。
9. The knowledge of claim 8, wherein the objects linked to the mesh structure include atomic objects whose attribute names and attribute values cannot be represented as further objects. Memory method.
【請求項10】 前記原子オブジェクトは前記知識ベー
スに格納される全ての実世界モデルに於て存在すること
を特徴とする請求項9記載の知識記憶方法。
10. The knowledge storage method according to claim 9, wherein the atomic object exists in all real world models stored in the knowledge base.
【請求項11】 あるオブジェクトが指定され;該指定
オブジェクトを前記階層構造内で検索し;該指定オブジ
ェクトの前記スーパークラスオブジェクトの各々を検索
し;該スーパークラスオブジェクトの各々、及び該スー
パークラスオブジェクトの各々の下位クラスである前記
オブジェクトを検索結果とする各段階を含み、該指定オ
ブジェクトの異なった認識に対応した該スーパークラス
オブジェクト及び該オブジェクトを検索結果として得る
ことを特徴とする請求項4乃至10いずれか一項記載の
知識記憶方法。
11. An object is designated; the designated object is searched in the hierarchical structure; each of the superclass objects of the designated object is searched; each of the superclass objects and of the superclass object 11. The superclass object and the object corresponding to different recognition of the designated object are obtained as search results, including each step in which the objects that are subordinate classes are used as search results. The knowledge storage method according to any one of claims.
【請求項12】 第1のオブジェクト及び第2のオブジ
ェクトが指定され;前記メッシュ構造内で前記属性名及
び前記属性値から前記オブジェクトへ向かう方向を下流
方向として、該第1のオブジェクトに関連する第1の関
連オブジェクトを該メッシュ構造内の該下流方向に次々
と検索し;該第2のオブジェクトに関連する第2の関連
オブジェクトを該メッシュ構造内の該下流方向に次々と
検索し;該第1の関連オブジェクトと該第2の関連オブ
ジェクトとの間で一致する属性名及び属性値を抽出し;
該一致する属性名及び属性値よりなる新規オブジェクト
を生成し;該新規オブジェクトを記憶する各段階を含
み、該第1のオブジェクトと該第2のオブジェクトの間
を該新規オブジェクトで関連付けることによって知的活
動の援助を行うことを特徴とする請求項8乃至11いず
れか一項記載の知識記憶方法。
12. A first object and a second object are designated; a first object associated with the first object, wherein a direction from the attribute name and the attribute value toward the object in the mesh structure is a downstream direction. Retrieving one related object in the mesh structure in the downstream direction; retrieving a second related object in relation to the second object in the mesh structure in the downstream direction; Extracting the matching attribute name and attribute value between the related object and the second related object;
Creating a new object consisting of said matching attribute name and attribute value; including each step of storing said new object, and intelligently by associating said first object and said second object with said new object The knowledge storage method according to any one of claims 8 to 11, wherein the activity support is provided.
【請求項13】 新規オブジェクトを入力し;新規オブ
ジェクトに類似する類似オブジェクトを既存オブジェク
トの中から検索し;該新規オブジェクトと該類似オブジ
ェクトとの共通部分を抽出し;該新規オブジェクトと該
類似オブジェクトとの差異部分を抽出し;該共通部分と
該差異部分との結合として該新規オブジェクトを認識
し;該共通部分と該差異部分との該結合として該新規オ
ブジェクトを記憶領域に格納する各段階を含む知識記憶
方法。
13. A new object is input; a similar object similar to the new object is searched from existing objects; a common part between the new object and the similar object is extracted; Recognizing the new object as a combination of the common part and the different part; storing the new object in the storage area as the combination of the common part and the different part Knowledge storage method.
【請求項14】 前記入力する段階は、前記新規オブジ
ェクトの属性名及び属性値を入力する段階を含むことを
特徴とする請求項13記載の知識記憶方法。
14. The knowledge storage method according to claim 13, wherein the inputting step includes the step of inputting an attribute name and an attribute value of the new object.
【請求項15】 ドメインを入力する段階を更に含み、
該ドメインの指定によって検索される前記類似オブジェ
クトが異なることを特徴とする請求項13または14記
載の知識記憶方法。
15. Further comprising the step of entering a domain,
15. The knowledge storage method according to claim 13, wherein the similar objects retrieved by designating the domain are different.
【請求項16】 目的を入力する段階を更に含み、該目
的の指定によって検索される前記類似オブジェクトが異
なることを特徴とする請求項13乃至15いずれか一項
記載の知識記憶方法。
16. The knowledge storage method according to claim 13, further comprising the step of inputting a purpose, wherein the similar objects searched by designating the purpose are different.
【請求項17】 前記検索する段階は、 前記ドメイン及び前記目的に基づいて類似度判定方法を
決定し;該類似度判定方法を用いて前記類似オブジェク
トを検索する各段階を含む請求項16記載の知識記憶方
法。
17. The method according to claim 16, wherein the searching step includes determining a similarity determination method based on the domain and the purpose; and searching the similar object using the similarity determination method. Knowledge storage method.
【請求項18】 前記類似度判定方法は、前記新規オブ
ジェクトの前記属性名から選択された選択属性名が前記
既存オブジェクト内に存在するか否かと、該選択属性名
に割り当てられた重み係数とに基づいて類似度を計算す
ることを特徴とする請求項17記載の知識記憶方法。
18. The similarity determination method determines whether a selected attribute name selected from the attribute name of the new object exists in the existing object and a weighting factor assigned to the selected attribute name. 18. The knowledge storage method according to claim 17, wherein the similarity is calculated based on the similarity.
【請求項19】 前記選択属性名及び前記重み係数は、
前記ドメイン及び前記目的に依存していることを特徴と
する請求項18記載の知識記憶方法。
19. The selected attribute name and the weighting factor are:
The knowledge storage method according to claim 18, wherein the knowledge storage method depends on the domain and the purpose.
【請求項20】 前記共通部分を抽出する段階は、前記
新規オブジェクトと前記類似オブジェクトとの間で前記
属性名及び前記属性値の両方が同一であるときに、同一
の該属性名及び該属性値を有するスーパークラスを該共
通部分として生成する段階を更に含むことを特徴とする
請求項14乃至17いずれか一項記載の知識記憶方法。
20. In the step of extracting the common part, when both the attribute name and the attribute value are the same between the new object and the similar object, the same attribute name and the same attribute value are used. 18. The knowledge storage method according to any one of claims 14 to 17, further comprising the step of generating a superclass having as a common part.
【請求項21】 前記共通部分を抽出する段階は、前記
新規オブジェクトと前記類似オブジェクトとの間で前記
選択属性名及び対応する属性値の両方が同一であるとき
に、同一の該選択属性名及び該対応する属性値を有する
スーパークラスを該共通部分として生成する段階を更に
含むことを特徴とする請求項18または19記載の知識
記憶方法。
21. In the step of extracting the common part, when both the selected attribute name and the corresponding attribute value are the same between the new object and the similar object, the same selected attribute name and The knowledge storage method according to claim 18 or 19, further comprising the step of generating a superclass having the corresponding attribute value as the common part.
【請求項22】 前記差異部分を抽出する段階は、前記
新規オブジェクトと前記類似オブジェクトとの間で前記
属性名は同一であるが前記属性値が異なるときに、同一
の該属性名をis-a関係で抽出して、is-a関係のクラスを
該差異部分として生成する段階を更に含むことを特徴と
する請求項20記載の知識記憶方法。
22. In the step of extracting the different portion, when the new object and the similar object have the same attribute name but different attribute values, the same attribute name is-a 21. The knowledge storage method according to claim 20, further comprising the step of extracting with a relation and generating a class of an is-a relation as the difference portion.
【請求項23】 前記差異部分を抽出する段階は、前記
新規オブジェクトと前記類似オブジェクトとの間で前記
選択属性名は同一であるが対応する属性値が異なるとき
に、同一の該選択属性名をis-a関係で抽出して、is-a関
係のクラスを該差異部分として生成する段階を更に含む
ことを特徴とする請求項21記載の知識記憶方法。
23. In the step of extracting the difference part, when the selected attribute name is the same between the new object and the similar object but the corresponding attribute values are different, the same selected attribute name is selected. 22. The knowledge storage method according to claim 21, further comprising the step of extracting an is-a relation and generating a class of the is-a relation as the difference portion.
【請求項24】 前記差異部分を抽出する段階は、前記
新規オブジェクトに存在するが前記類似オブジェクトに
は存在しない属性名があるとき、該存在しない属性名及
び対応する属性値をpart-of 関係で抽出して、part-of
関係のクラスを該差異部分として生成する段階を更に含
むことを特徴とする請求項22記載の知識記憶方法。
24. In the step of extracting the difference part, when there is an attribute name that exists in the new object but does not exist in the similar object, the attribute name that does not exist and the corresponding attribute value are in a part-of relationship. Extract and part-of
23. The knowledge storage method according to claim 22, further comprising the step of generating a class of relation as the difference portion.
【請求項25】 前記差異部分を抽出する段階は、前記
新規オブジェクトに存在するが前記類似オブジェクトに
は存在しない前記選択属性名があるとき、該存在しない
選択属性名及び対応する属性値をpart-of 関係で抽出し
て、part-of関係のクラスを該差異部分として生成する
段階を更に含むことを特徴とする請求項23記載の知識
記憶方法。
25. In the step of extracting the difference part, when there is the selected attribute name which exists in the new object but does not exist in the similar object, the selected attribute name which does not exist and the corresponding attribute value are part- 24. The knowledge storage method according to claim 23, further comprising the step of extracting with a of relation and generating a class of a part-of relation as the difference portion.
【請求項26】 前記差異部分を抽出する段階は、前記
類似オブジェクトに存在するが前記新規オブジェクトに
は存在しない属性名があるとき、該存在しない属性名及
び対応する属性値をpart-of 関係で抽出して、part-of
関係のクラスを該差異部分として生成する段階を更に含
むことを特徴とする請求項24記載の知識記憶方法。
26. In the step of extracting the difference portion, when there is an attribute name that exists in the similar object but does not exist in the new object, the attribute name that does not exist and the corresponding attribute value are in a part-of relationship. Extract and part-of
The knowledge storage method according to claim 24, further comprising the step of generating a class of relation as the difference portion.
【請求項27】 前記差異部分を抽出する段階は、前記
類似オブジェクトに存在するが前記新規オブジェクトに
は存在しない前記選択属性名があるとき、該存在しない
選択属性名及び対応する属性値をpart-of 関係で抽出し
て、part-of関係のクラスを該差異部分として生成する
段階を更に含むことを特徴とする請求項25記載の知識
記憶方法。
27. In the step of extracting the difference part, when there is the selected attribute name that exists in the similar object but does not exist in the new object, the selected attribute name that does not exist and the corresponding attribute value are part- 26. The knowledge storage method according to claim 25, further comprising the step of extracting with a relation of and generating a class of a part-of relation as the difference portion.
【請求項28】 前記新規オブジェクトを格納するとき
に、該新規オブジェクトと前記類似オブジェクトとを前
記共通部分と前記差異部分とで関係付けることにより、
前記既存オブジェクトの成長をはかることを特徴とする
請求項13乃至27いずれか一項記載の知識記憶方法。
28. When the new object is stored, by associating the new object and the similar object with the common part and the different part,
28. The knowledge storage method according to claim 13, wherein the existing object is grown.
【請求項29】 前記スーパークラス、前記is-a関係の
クラス、及び前記part-of 関係のクラスは、階層的に構
築されることを特徴とする請求項26乃至28いずれか
一項記載の知識獲得方法。
29. The knowledge according to claim 26, wherein the superclass, the is-a relation class, and the part-of relation class are hierarchically constructed. Acquisition method.
【請求項30】 前記スーパークラス、前記is-a関係の
クラス、及び前記part-of 関係のクラスには、それらの
意味を表す感覚的表現を付与することができることを特
徴とする請求項26乃至29いずれか一項記載の知識獲
得方法。
30. The sensory expressions expressing their meanings can be given to the superclass, the is-a relation class, and the part-of relation class. 29. The knowledge acquisition method according to any one of 29.
【請求項31】 前記階層構造は、斜め方向に前記オブ
ジェクト間を結び付けるリンクを含むメッシュ構造であ
ることを特徴とする請求項30記載の知識獲得方法。
31. The knowledge acquisition method according to claim 30, wherein the hierarchical structure is a mesh structure including links that connect the objects in an oblique direction.
【請求項32】 目的オブジェクトに対応する曖昧な概
念を入力し;該曖昧な概念に対応する前記感覚的表現の
一つを開始点として、前記メッシュ構造に配置された該
感覚的表現を用いて該メッシュ構造の中を探索し;該目
的オブジェクトを検索する各段階を更に含むことを特徴
とする請求項31記載の知識獲得方法。
32. Inputting an ambiguous concept corresponding to a target object; using one of the sensory expressions corresponding to the ambiguous concept as a starting point, and using the sensory expression arranged in the mesh structure. 32. The knowledge acquisition method according to claim 31, further comprising the steps of searching the mesh structure; searching the target object.
【請求項33】 オブジェクトの属性値の入力により該
属性値からなるデータオブジェクトを生成する手段と;
該データオブジェクトの該属性値に属性名を付与して該
属性名と該属性値からなるインスタンスオブジェクトを
生成することで該オブジェクトの認識を行う手段と;該
インスタンスオブジェクトを記憶領域に格納することに
より該オブジェクトの記憶を行う手段を含み、該入力、
該認識、該記憶をひとつの処理単位として実行すること
を特徴とする知識データベースに知識を記憶する知識記
憶装置。
33. A means for generating a data object having the attribute value by inputting the attribute value of the object;
Means for recognizing the object by assigning an attribute name to the attribute value of the data object and generating an instance object consisting of the attribute name and the attribute value; by storing the instance object in a storage area Including means for storing the object, the input,
A knowledge storage device for storing knowledge in a knowledge database, characterized in that the recognition and the storage are executed as one processing unit.
【請求項34】 新規オブジェクトを入力する手段と;
新規オブジェクトに類似する類似オブジェクトを既存オ
ブジェクトの中から検索する手段と;該新規オブジェク
トと該類似オブジェクトとの共通部分を抽出する手段
と;該新規オブジェクトと該類似オブジェクトとの差異
部分を抽出する手段と;該共通部分と該差異部分との結
合として該新規オブジェクトを認識する手段と;該共通
部分と該差異部分との該結合として該新規オブジェクト
を記憶領域に格納する手段を含む知識記憶装置。
34. means for inputting a new object;
Means for retrieving similar objects similar to the new object from existing objects; Means for extracting a common part between the new object and the similar object; Means for extracting a difference part between the new object and the similar object And; a knowledge storage device including means for recognizing the new object as a combination of the common portion and the different portion; and means for storing the new object in the storage area as the combination of the common portion and the different portion.
JP7170999A 1995-07-06 1995-07-06 Knowledge storage method and device and re-recognition method and device for knowledge data base Withdrawn JPH0922415A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7170999A JPH0922415A (en) 1995-07-06 1995-07-06 Knowledge storage method and device and re-recognition method and device for knowledge data base

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7170999A JPH0922415A (en) 1995-07-06 1995-07-06 Knowledge storage method and device and re-recognition method and device for knowledge data base

Publications (1)

Publication Number Publication Date
JPH0922415A true JPH0922415A (en) 1997-01-21

Family

ID=15915240

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7170999A Withdrawn JPH0922415A (en) 1995-07-06 1995-07-06 Knowledge storage method and device and re-recognition method and device for knowledge data base

Country Status (1)

Country Link
JP (1) JPH0922415A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006054331A1 (en) * 2004-11-16 2006-05-26 Mitsubishi Denki Kabushiki Kaisha Digital broadcast receiving device, digital broadcast transmitting device, and digital broadcast transmitting/receiving system
JP2009070133A (en) * 2007-09-13 2009-04-02 Toshiba Corp Ontology construction support device, program, and ontology construction support method
JP2011053874A (en) * 2009-09-01 2011-03-17 Nec Corp Application server, method and program for managing object

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006054331A1 (en) * 2004-11-16 2006-05-26 Mitsubishi Denki Kabushiki Kaisha Digital broadcast receiving device, digital broadcast transmitting device, and digital broadcast transmitting/receiving system
JP2009070133A (en) * 2007-09-13 2009-04-02 Toshiba Corp Ontology construction support device, program, and ontology construction support method
JP2011053874A (en) * 2009-09-01 2011-03-17 Nec Corp Application server, method and program for managing object

Similar Documents

Publication Publication Date Title
Cornelio et al. A tool for integrating conceptual schemas and user views
CN102306204B (en) Subject area identifying method based on weight of text structure
CN114996488B (en) Skynet big data decision-level fusion method
US20050203943A1 (en) Personalized classification for browsing documents
Hacid et al. A database approach for modeling and querying video data
JP5241738B2 (en) Method and apparatus for building tree structure data from tables
CN107491476B (en) Data model conversion and query analysis method suitable for various big data management systems
CN108304519B (en) Knowledge forest construction method based on graph database
CN115115745A (en) Method and system for generating self-created digital art, storage medium and electronic device
JP2005250820A (en) Xml document classification method in storage system
Agosti et al. DelosDLMS-the integrated DELOS digital library management system
JPH0922415A (en) Knowledge storage method and device and re-recognition method and device for knowledge data base
Stanchev General image database model
Wendt et al. GMPath-a path language for navigation, information query and modification of data graphs
Choi Knowledge Engineering the Web
JP2005056085A (en) Data structure conversion program
Varma et al. Web-based tool for engineering design
Shihab et al. Development of a visualization tool for XML documents
Bodra Processing queries over partitioned graph databases: An approach and it’s evaluation
JPH0727532B2 (en) Information retrieval method and system
Khan et al. Semi-automatic knowledge transformation of semantic network ontologies into Frames structures
Jiménez Multimedia knowledge: discovery, classification, browsing, and retrieval
Lombardo et al. Towards a model for multimedia geographical information systems
JPH0877013A (en) Object knowledge data base
Lu NETWORKING KNOWLEDGE AND EXPERIENCE: An Instrumental System for the Personal Development of Individual Designers

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20021001