JPH0816403A - Knowledge base structuring device - Google Patents

Knowledge base structuring device

Info

Publication number
JPH0816403A
JPH0816403A JP6148033A JP14803394A JPH0816403A JP H0816403 A JPH0816403 A JP H0816403A JP 6148033 A JP6148033 A JP 6148033A JP 14803394 A JP14803394 A JP 14803394A JP H0816403 A JPH0816403 A JP H0816403A
Authority
JP
Japan
Prior art keywords
knowledge
base
knowledge base
input
character string
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP6148033A
Other languages
Japanese (ja)
Inventor
Mamoru Yasono
護 弥園
Taiji Yamamoto
泰司 山本
Hideto Doi
秀人 土居
Hajime Shiba
肇 柴
Takahiro Mizogami
恭弘 溝上
Takafumi Nakayama
隆文 中山
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP6148033A priority Critical patent/JPH0816403A/en
Priority to US08/314,804 priority patent/US5659668A/en
Publication of JPH0816403A publication Critical patent/JPH0816403A/en
Pending legal-status Critical Current

Links

Landscapes

  • Devices For Executing Special Programs (AREA)

Abstract

PURPOSE:To utilize processes for deciding correctness and solving problems even during operation for constituting a knowledge base, to improve the precision of the outputted knowledge base, and to constitute the knowledge base which reduces feedback operation such as debugging operation. CONSTITUTION:This device consists of a knowledge input part 1 which defines knowledge to be constituted by inputting the knowledge of a knowledge base constructing operator U, a knowledge processing part 2 which processes the knowledge inputted to the knowledge input part 1 and outputs the knowledge base, and a storage device 4 which stores the operation history of the knowledge processing part 2 and the outputted knowledge base. Then the knowledge processing part 2 consists of a knowledge base managing device 21, a knowledge format converting device 22, a knowledge reference device 23, a knowledge correctness a deciding device 24, and a problem solving device 25. Further, the knowledge input part 1 consists of a shape knowledge defining and editing device 11, a, hierarchical structure defining and editing device 12, and a character string knowledge defining and editing device 13. Further, the knowledge processing part 2 and knowledge input part 1 are connected by a control part 3 which actuates and controls the respective devices 21-25 constituting the knowledge processing part 2 on the basis of the knowledge from the knowledge input part 1.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、知識ベース構築のため
の予備知識を備えていない知識所有者自身が知識ベース
構築者となって操作することが可能な知識ベース構築装
置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a knowledge base construction apparatus which can be operated by a knowledge owner himself who does not have any preliminary knowledge for constructing a knowledge base as a knowledge base builder.

【0002】[0002]

【従来の技術】一般に知識ベースは、所定の知識言語で
記述された一種のコンピュータプログラムであって、知
識ベースを構築する際には、知識言語についての知識や
経験が必要である。
2. Description of the Related Art Generally, a knowledge base is a kind of computer program described in a predetermined knowledge language, and knowledge and experience in the knowledge language are required when constructing the knowledge base.

【0003】そこで従来は図7に示す如く、知識ベース
101に接続した知識ベース構築装置109は、知識記
述言語についての知識や経験を有するシステム開発者1
10が操作する運用形態を採っている。
Therefore, conventionally, as shown in FIG. 7, a knowledge base construction device 109 connected to a knowledge base 101 is a system developer 1 having knowledge and experience about a knowledge description language.
The operation mode in which 10 operates is adopted.

【0004】システム開発者110は、知識ベース構築
に際して知識所有者111との口頭でのインタビューを
行って、知識所有者111から知識を獲得する。
The system developer 110 obtains knowledge from the knowledge owner 111 by conducting an oral interview with the knowledge owner 111 when constructing the knowledge base.

【0005】更にシステム開発者110は、獲得した知
識に基づいて資料を作成し、知識を体系化する。そし
て、該資料に基づいて、知識ベース構築装置109を操
作し、知識ベース101を構築するのである。
Further, the system developer 110 creates materials based on the acquired knowledge and systematizes the knowledge. Then, based on the material, the knowledge base construction device 109 is operated to construct the knowledge base 101.

【0006】ところが、斯かる従来の知識ベースの構築
方法では、インタビューは口頭で行われるから、一度の
インタビューでの完全な知識獲得は困難であり、特に大
規模なシステムの構築においては、口頭のインタビュー
では完全な知識獲得は不可能に近い。
However, in such a conventional knowledge base construction method, since the interview is conducted verbally, it is difficult to obtain complete knowledge in one interview. It is almost impossible to acquire complete knowledge in the interview.

【0007】この結果、知識ベース101を一旦構築し
た後も、知識の追加や修正が必要となる等の問題点があ
った。
As a result, even after the knowledge base 101 is once constructed, there is a problem that it is necessary to add or correct knowledge.

【0008】さらに本発明者等は特願平4−30879
3号の明細書及び図面において、先に知識所有者自身が
知識ベース構築者となって操作することが可能な知識ベ
ース構築システムを提案した。
Furthermore, the present inventors have filed Japanese Patent Application No. 4-30879.
In the specification and drawings of No. 3, a knowledge base construction system was proposed in which the knowledge owner himself can operate as a knowledge base builder.

【0009】このシステムは図8に示すように知識所有
者の知識が所定の知識言語で記述されるべき知識ベース
101を具え、知識所有者自身が知識ベース構築者とな
って操作する知識ベース構築システム102であって、
複数のノードを互いに関係付けてなる階層構造を有して
各ノードには詳細な知識が定義されるデータ構造のデー
タベース104と、該データベース104内のデータを
前記知識言語に変換して知識ベース101に記述するデ
ータ変換装置103と、データベース104内に知識の
階層構造の各ノードに対して詳細な知識を定義するため
の詳細知識定義装置106とを具え、階層構造定義装置
105及び詳細知識定義装置106の操作によって、知
識の記述及び変更が可能である。
As shown in FIG. 8, this system comprises a knowledge base 101 in which the knowledge of the knowledge owner should be described in a predetermined knowledge language, and the knowledge owner constructs a knowledge base constructing operation as a knowledge base builder. The system 102,
A database 104 having a data structure having a hierarchical structure in which a plurality of nodes are related to each other and detailed knowledge is defined in each node, and a knowledge base 101 by converting data in the database 104 into the knowledge language. And a detailed knowledge definition device 106 for defining detailed knowledge for each node of the hierarchical structure of knowledge in the database 104. The hierarchical structure definition device 105 and the detailed knowledge definition device By operating 106, knowledge can be described and changed.

【0010】しかしながら、斯かる従来技術は知識入力
部105〜107がシステム102内のデータベース1
04と直接インタフェースを取る形態であり、知識入力
部105〜107内の機能や定義された知識の処理内容
が明らかとされていない問題点があった。
However, in such a conventional technique, the knowledge input units 105 to 107 are used in the database 1 in the system 102.
There is a problem in that the functions of the knowledge input units 105 to 107 and the processing contents of defined knowledge are not clarified.

【0011】[0011]

【発明が解決しようとする課題】本発明はこれらの従来
技術の問題点に鑑み、なされたものであり、知識ベース
構築作業中にでも正当性の判定や問題の解決等の処理を
利用することができ、出力される知識ベースの精度を高
め、デバッグ等のフィードバック作業を減少させる知識
ベースを構築することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made in view of these problems of the prior art, and it is possible to use processing such as correctness determination and problem solving even during the knowledge base construction work. The purpose is to build a knowledge base that can improve the accuracy of the output knowledge base and reduce feedback work such as debugging.

【0012】なお、知識ベースの構築作業において、知
識ベースに関する正確な知識を構築者に要求しないこと
は従来と同様とする。
In the construction of the knowledge base, it is the same as in the prior art that the builder is not required to have accurate knowledge about the knowledge base.

【0013】[0013]

【課題を解決するための手段】本発明は、知識ベース構
築者の知識を入力し構築しようとする知識を定義する知
識入力部と、知識入力部に入力された知識を処理し知識
ベースとして出力する知識処理部と、前記知識処理部の
作業履歴や出力された知識ベースを格納する記憶装置と
よりなる。
According to the present invention, a knowledge input section for inputting the knowledge of a knowledge base builder and defining the knowledge to be constructed, and processing the knowledge input to the knowledge input section and outputting it as a knowledge base. And a storage device that stores the work history of the knowledge processing unit and the output knowledge base.

【0014】そして、前記知識処理部は、知識ベース管
理装置、知識書式変換装置、知識参照装置、知識正当性
判定装置、問題解決装置からなる。
The knowledge processing section comprises a knowledge base management device, a knowledge format conversion device, a knowledge reference device, a knowledge correctness determination device, and a problem solving device.

【0015】また、前記知識入力部は、形状知識定義編
集装置、階層構造定義編集装置、文字列知識定義編集装
置からなる。
The knowledge input section comprises a shape knowledge definition editing device, a hierarchical structure definition editing device, and a character string knowledge definition editing device.

【0016】さらに、前記知識処理部と前記知識入力部
とは、該知識入力部の知識に基づいて前記知識処理部を
構成する各装置を起動、制御する制御部によって接続さ
れてなる。
Further, the knowledge processing section and the knowledge input section are connected by a control section for starting and controlling each device constituting the knowledge processing section based on the knowledge of the knowledge input section.

【0017】[0017]

【作用】上記の構成によれば知識を定義する知識入力部
と、入力された知識を処理する知識処理部と、処理され
た知識を出力する記憶装置を備え、知識ベースについて
正確な知識を有さない作業者においても簡単に知識ベー
スを構築できるシステムとなる。
According to the above structure, the knowledge input section for defining the knowledge, the knowledge processing section for processing the input knowledge, and the storage device for outputting the processed knowledge are provided, and the accurate knowledge about the knowledge base is provided. It will be a system that allows even workers who do not construct a knowledge base easily.

【0018】しかも知識参照装置を制御部により制御さ
れる知識処理部内に設けたことにより、知識ベース構築
者が知識参照の要求を発した場合だけでなく、知識の編
集等の知識参照以外の作業中に、必要に応じて知識参照
の処理が自動的に行われる。
Further, since the knowledge reference device is provided in the knowledge processing section controlled by the control section, not only when the knowledge base builder issues a request for the knowledge reference, but also the work other than the knowledge reference such as the editing of the knowledge. In the meanwhile, knowledge reference processing is automatically performed as needed.

【0019】これは知識ベース構築者の要求によってだ
けでなく、制御部が必要に応じて知識参照装置を駆動す
るためである。
This is because the control unit drives the knowledge reference device as needed, not only at the request of the knowledge base builder.

【0020】そして知識処理部に、知識ベース管理装
置、知識書式変換装置、知識参照装置、知識正当性判定
装置、問題解決装置を設けたことにより、知識ベース構
築作業中に、正当性の判定や、問題の解決を行うことが
できる。
The knowledge processing unit is provided with a knowledge base management device, a knowledge format conversion device, a knowledge reference device, a knowledge correctness determination device, and a problem solving device, so that the validity of the knowledge base can be determined during construction of the knowledge base. , Can solve the problem.

【0021】また知識入力部に、形状知識定義編集装
置、階層構造定義編集装置、文字列知識定義編集装置を
設けたことにより、知識の入力がより簡単化される。
Moreover, since the knowledge input section is provided with the shape knowledge definition editing device, the hierarchical structure definition editing device, and the character string knowledge definition editing device, the knowledge input is further simplified.

【0022】さらに制御部は知識入力部と知識処理部を
互いに効率よく制御し、知識処理部の各装置を安定に起
動・制御する。
Further, the control unit efficiently controls the knowledge input unit and the knowledge processing unit, and stably activates and controls each device of the knowledge processing unit.

【0023】[0023]

【実施例】以下本発明の知識ベース構築装置をその一実
施例について図面に基づき詳細に説明する。
BEST MODE FOR CARRYING OUT THE INVENTION An embodiment of the knowledge base building apparatus of the present invention will be described in detail below with reference to the drawings.

【0024】まず図1に装置のシステム構成の概略図を
示す。同図において1は知識入力部であり、知識ベース
構築者(ユーザ)Uから入力された知識を定義するイン
タフェース部としての働きをする。この知識入力部1
は、形状知識定義編集装置11、階層構造定義編集装置
12、文字列知識定義編集装置13とよりなる。
First, FIG. 1 shows a schematic diagram of the system configuration of the apparatus. In the figure, reference numeral 1 denotes a knowledge input unit, which functions as an interface unit that defines knowledge input from a knowledge base builder (user) U. This knowledge input section 1
Includes a shape knowledge definition editing device 11, a hierarchical structure definition editing device 12, and a character string knowledge definition editing device 13.

【0025】2は前記知識入力部1で定義された知識を
処理して知識ベースを構築する知識処理部であり制御部
3によって起動・制御される。この知識処理部2は、知
識ベース管理装置21、知識処理変換装置22、知識参
照装置23、知識正当性判定装置、問題解決装置25か
らなる。
Reference numeral 2 is a knowledge processing unit for processing the knowledge defined by the knowledge input unit 1 to construct a knowledge base, which is activated and controlled by the control unit 3. The knowledge processing unit 2 includes a knowledge base management device 21, a knowledge processing conversion device 22, a knowledge reference device 23, a knowledge correctness determination device, and a problem solving device 25.

【0026】4は前記知識処理部2の出力を記憶する外
部記憶装置、5は前記知識書式変換装置22の出力であ
る外部データ、6は知識処理部2内の各装置による作業
履歴を記憶する作業記憶装置である。
Reference numeral 4 is an external storage device for storing the output of the knowledge processing unit 2, 5 is external data output from the knowledge format conversion device 22, and 6 is a work history of each device in the knowledge processing unit 2. It is a working storage device.

【0027】上記構成を有するシステムの動作を以下に
説明する。図2は知識入力部に入力される知識の概念図
を示すものである。ここでは矩形のブロックを設計する
際の知識ベースを構築しようとする場合を想定する。
The operation of the system having the above configuration will be described below. FIG. 2 shows a conceptual diagram of knowledge input to the knowledge input unit. Here, it is assumed that a knowledge base for designing a rectangular block is to be constructed.

【0028】この場合、形状知識T1として、基準点
(原点)の座標が(x1,y1,z1)にあり、幅Wi
dth、長さLength、高さHeightを有する
Boxとなり、これはT2のようにテーブルに展開され
る。
In this case, as the shape knowledge T1, the coordinates of the reference point (origin) are at (x1, y1, z1) and the width Wi.
A Box having dth, length Length, and height Height, which is developed on the table like T2.

【0029】なお、x1、y1、z1は可変の変数であ
り、Width、Length、Heightは属性を
示す。
Note that x1, y1, and z1 are variable variables, and Width, Length, and Height represent attributes.

【0030】また階層構造知識T3として、製品C(前
記Box)を構成する部位A、B、部品A1〜B2の関
係が木構造状に展開され、これはT3のような記述に展
開される。
As the hierarchical structure knowledge T3, the relationship between the parts A and B and the parts A1 and B2 forming the product C (the Box) is developed into a tree structure, which is developed into a description such as T3.

【0031】さらにその他の知識T5として、各部品A
1〜B2間の関係が文字列で記述され、これはこのまま
T6としてテーブルに展開される。
As other knowledge T5, each part A
The relationship between 1 and B2 is described by a character string, which is expanded in the table as T6 as it is.

【0032】このようにして得られた各テーブルT2、
T4、T6は制御部3に入力される。
Each table T2 thus obtained,
T4 and T6 are input to the control unit 3.

【0033】図3は知識ベース管理装置21、知識書式
変換装置22、知識正当性判定装置24の動作を示すフ
ローチャートである。ここでは前記T5の文字列知識が
入力された場合を想定するが、他の形状知識、階層構造
知識が入力された場合についても同様である。
FIG. 3 is a flowchart showing the operations of the knowledge base management device 21, the knowledge format conversion device 22, and the knowledge correctness judgment device 24. Here, it is assumed that the character string knowledge of T5 is input, but the same applies when other shape knowledge and hierarchical structure knowledge are input.

【0034】ユーザUによって知識が入力される(ステ
ップS1)と、文字列知識定義編集装置13によって例
えば「部品Aの高さは部品Bの高さの2倍である」とい
うような知識の読み取り(ステップS2)が行われ、ス
テップS3で知識の定義が行われる。
When the user U inputs the knowledge (step S1), the character string knowledge definition editing device 13 reads the knowledge such as "the height of the part A is twice the height of the part B". (Step S2) is performed, and knowledge is defined in step S3.

【0035】ステップS2で読み取られた知識は、制御
部3によって知識書式検査(ステップS4)工程に進
む。この工程は、知識処理部2内の知識正当性判定装置
24の起動により、書式の検査が行われる(ステップS
5)工程である。
The knowledge read in step S2 proceeds to the knowledge format check (step S4) process by the control unit 3. In this step, the format is checked by activating the knowledge correctness determination device 24 in the knowledge processing unit 2 (step S).
5) Step.

【0036】ステップS5で出力される知識の検査作業
結果は制御部3にフィードバックされ、制御部3内のス
テップS6でOKか否かが判定される。そしてOKなら
ばステップS7の知識書式変換工程に進む。またNOな
らその結果はエラー情報として文字列定義編集装置13
内のステップS8へフィードバックされる。
The knowledge inspection work result output in step S5 is fed back to the control unit 3, and it is determined in step S6 in the control unit 3 whether or not it is OK. If it is OK, the process proceeds to the knowledge format conversion process of step S7. If NO, the result is the character string definition editing device 13 as error information.
It is fed back to step S8.

【0037】ステップS7の前記知識書式変換工程で
は、知識書式変換装置22によって入力された文字列知
識の書式の変換(ステップS9)が行われ、知識データ
の作成(ステップS10)が行われる。
In the knowledge format conversion step of step S7, the format of the character string knowledge input by the knowledge format conversion device 22 is converted (step S9), and knowledge data is created (step S10).

【0038】作成された知識データ(作業結果)は制御
部3にフィードバックされ、制御部3内のステップS1
1でOKか否かが判定される。そしてOKならばステッ
プS12の知識正当性検査の工程に進む。またNOなら
その結果はエラー情報として文字列定義編集装置13内
のステップS8へフィードバックされる。
The created knowledge data (work result) is fed back to the control unit 3, and step S1 in the control unit 3 is performed.
At 1, it is determined whether or not it is OK. If it is OK, the process proceeds to the knowledge correctness check process of step S12. If NO, the result is fed back to step S8 in the character string definition editing device 13 as error information.

【0039】ステップS12の前記知識正当性検査工程
では、前記知識正当性判定装置24によって入力された
知識データの検査(ステップS13)が行われる。
In the knowledge validity checking step of step S12, the knowledge data input by the knowledge validity determining device 24 is checked (step S13).

【0040】この検査作業の結果は制御部3へフィード
バックされ、該制御部3内のステップS14でOKか否
かが判定される。そしてOKならばステップS15の知
識の新規定義工程に進む。またNOならその結果はエラ
ー情報として文字列知識定義編集装置13内のステップ
S8へフィードバックされる。
The result of this inspection work is fed back to the control unit 3, and it is determined in step S14 in the control unit 3 whether or not it is OK. If it is OK, the process proceeds to the step of newly defining knowledge in step S15. If NO, the result is fed back to step S8 in the character string knowledge definition editing device 13 as error information.

【0041】ステップS15の前記知識の新規定義工程
では、知識ベース管理装置21によって入力された知識
データが新規の知識データとして登録(ステップS1
6)される。そして登録された知識データは作業記憶装
置6に記憶されるとともに、作業結果は前記制御部3に
フィードバックされ、制御部3内のステップS17でO
Kか否かが判定される。そしてOKならば作業結果を文
字列知識定義編集装置13にフィードバックし、NOな
らばエラー情報を同じくフィードバックする。
In the new definition step of knowledge in step S15, the knowledge data input by the knowledge base management device 21 is registered as new knowledge data (step S1).
6) Is done. The registered knowledge data is stored in the work storage device 6, and the work result is fed back to the control unit 3, and the operation result is returned to the control unit 3 in step S17.
It is determined whether or not K. If OK, the work result is fed back to the character string knowledge definition editing device 13, and if NO, the error information is also fed back.

【0042】最後に前記文字列知識定義編集装置13内
のステップS8において、上記すべての工程の総合判定
が行われ、その結果、OKの場合は作業結果を、そして
NOの場合はエラー情報をユーザUにフィードバックす
る。ユーザUはこの結果により知識の入力がうまく行っ
たか行かなかったかを認識し、次の作業に移る。
Finally, in step S8 in the character string knowledge definition editing device 13, a comprehensive determination of all the above processes is performed. As a result, if the result is OK, the work result is given, and if the result is NO, the error information is given to the user. Give feedback to U. Based on this result, the user U recognizes whether the knowledge input was successful or not, and proceeds to the next work.

【0043】次に図4は知識参照装置23の動作を示す
フローチャートである。ここでは同じく文字列知識が入
力された場合を想定するが、他の形状知識あるいは階層
構造知識が入力された場合も同様である。
Next, FIG. 4 is a flowchart showing the operation of the knowledge reference device 23. Here, it is assumed that the character string knowledge is also input, but the same applies when other shape knowledge or hierarchical structure knowledge is input.

【0044】ユーザUによって知識の参照が入力される
(ステップS21)と、xxxx(この場合文字列知
識)定義編集装置13によって例えば「部品Aの高さに
関する知識は?」というような知識の読み取り(ステッ
プS22)が行われ、ステップS23で知識の参照工程
に進む。
When the user U inputs a reference of knowledge (step S21), the xxx (character string knowledge in this case) definition editing device 13 reads knowledge such as "knowledge about height of part A?" (Step S22) is performed, and the process proceeds to the knowledge reference step in step S23.

【0045】知識の参照工程では、制御部3へ参照要求
データが送られ、該制御部3内で知識が参照(ステップ
S24)され、知識参照装置23へ参照要求データが送
られてステップS25で知識の検索が行われる。この検
索は前記作業記憶装置6内のデータにアクセスすること
により実行される。
In the knowledge reference step, the reference request data is sent to the control unit 3, the knowledge is referred to in the control unit 3 (step S24), the reference request data is sent to the knowledge reference device 23, and the knowledge reference device 23 is sent in step S25. Knowledge search is performed. This search is executed by accessing the data in the working storage device 6.

【0046】検索結果(作業結果)は制御部3へフィー
ドバックされ、該制御部3内のステップS26にてOK
か否かが判定される。OKの場合はその作業結果が前記
定義編集装置13にフィードバックされ、NOの場合は
エラー情報が同じくフィードバックされる。
The search result (work result) is fed back to the control unit 3, and OK in step S26 in the control unit 3.
Is determined. In the case of OK, the work result is fed back to the definition editing device 13, and in the case of NO, the error information is also fed back.

【0047】前記定義編集装置13内のステップS27
では前記制御部3からのフィードバックデータに基づい
てこれまでの作業がOKか否かが判定され、OKの場合
は作業結果(検索結果)がユーザUに返され、NOの場
合はエラー情報が返される。
Step S27 in the definition editing device 13
Then, it is determined based on the feedback data from the control unit 3 whether or not the work up to now is OK. If OK, the work result (search result) is returned to the user U, and if NO, error information is returned. Be done.

【0048】次に図5は知識正当性判定装置24及び問
題解決装置25の動作を示すフローチャートである。こ
こでは同じく文字列知識が入力された場合を想定する
が、他の形状知識あるいは階層構造知識が入力された場
合も同様である。
Next, FIG. 5 is a flow chart showing the operations of the knowledge correctness judging device 24 and the problem solving device 25. Here, it is assumed that the character string knowledge is also input, but the same applies when other shape knowledge or hierarchical structure knowledge is input.

【0049】ユーザUによって知識の駆動が入力される
(ステップS31)と、xxxx(この場合文字列知
識)定義編集装置13によって例えば「部品Aの高さは
?」というような知識の読み取り(ステップS32)が
行われ、ステップS33で知識の駆動工程に進む。
When the driving of the knowledge is input by the user U (step S31), the xxx (character string knowledge in this case) definition editing device 13 reads the knowledge such as "is the height of the part A?" (Step S31). S32) is performed, and the process proceeds to the knowledge driving process in step S33.

【0050】知識の駆動工程では、制御部3へ駆動要求
データが送られ、該制御部3内で知識が駆動(ステップ
S34)され、知識駆動装置である問題解決装置25
(知識正当性判定装置24でも同様とする)へ駆動要求
データが送られてステップS35で推論・計算が行われ
る。この推論・計算は前記作業記憶装置6内のデータに
アクセスすることにより実行される。
In the knowledge driving process, the driving request data is sent to the control unit 3, the knowledge is driven in the control unit 3 (step S34), and the problem solving device 25, which is a knowledge driving device, is driven.
The drive request data is sent to (the same applies to the knowledge correctness determination device 24), and inference / calculation is performed in step S35. This inference / calculation is executed by accessing the data in the working storage device 6.

【0051】作業結果は制御部3へフィードバックさ
れ、該制御部3内のステップS36にてOKか否かが判
定される。OKの場合はその作業結果が前記定義編集装
置13にフィードバックされ、NOの場合はエラー情報
が同じくフィードバックされる。
The work result is fed back to the control unit 3, and it is determined in step S36 in the control unit 3 whether or not it is OK. In the case of OK, the work result is fed back to the definition editing device 13, and in the case of NO, the error information is also fed back.

【0052】前記定義編集装置13内のステップS37
では前記制御部3からのフィードバックデータに基づい
てこれまでの作業がOKか否かが判定され、OKの場合
は作業結果がユーザUに返され、NOの場合はエラー情
報が返される。
Step S37 in the definition editing device 13
Then, it is determined based on the feedback data from the control unit 3 whether or not the work up to now is OK. If the work is OK, the work result is returned to the user U, and if the work is NO, error information is returned.

【0053】図6は知識の編集作業の動作を示すフロー
チャートである。ここでも文字列知識が入力された場合
を想定するが、他の知識でも良い。
FIG. 6 is a flow chart showing the operation of knowledge editing work. Here, it is assumed that the character string knowledge is input, but other knowledge may be used.

【0054】ユーザUは知識の編集を行うために、xx
xx(この場合文字列知識)定義編集装置13に対して
編集対象となる知識、例えば「部品Aの高さに関する知
識」の編集を要求する(ステップS41)。
The user U uses xx to edit the knowledge.
The xx (character string knowledge in this case) definition editing device 13 is requested to edit the knowledge to be edited, for example, "knowledge about the height of the part A" (step S41).

【0055】文字列知識編集装置13はその要求を受け
てステップS41にて知識の編集を開始し、「部品Aの
高さに関する知識」の編集要求を制御部3に送る。
In response to the request, the character string knowledge editing device 13 starts editing the knowledge in step S41, and sends an edit request of "knowledge about the height of the part A" to the control unit 3.

【0056】制御部3ではその編集要求を受けて、まず
知識参照装置23を駆動(ステップS43)し、部品A
の高さに関する知識の参照(ステップS44)を行う。
In response to the edit request, the control unit 3 first drives the knowledge reference device 23 (step S43), and
The knowledge regarding the height of the is referred to (step S44).

【0057】この際エラーが発生すれば、制御部3、文
字列知識定義編集装置13を通じてユーザUにエラー情
報が提示される(ステップS45、S46)。
If an error occurs at this time, the error information is presented to the user U through the control unit 3 and the character string knowledge definition editing device 13 (steps S45 and S46).

【0058】参照に成功すれば、制御部3は文字列知識
定義編集装置13に参照結果(作業結果)を送り、文字
列知識定義編集装置13はユーザUにその知識を提示す
る(ステップS47)。
If the reference is successful, the control unit 3 sends the reference result (work result) to the character string knowledge definition editing device 13, and the character string knowledge definition editing device 13 presents the knowledge to the user U (step S47). .

【0059】ユーザはこの提示された知識に対して編集
を行い(ステップS48)、文字列知識編集装置13に
よる編集作業が終了(ステップS49)すれば、その知
識の登録要求を制御部3に対して行い、該制御部3内で
知識定義処理を行う(ステップS51)。
The user edits the presented knowledge (step S48), and when the editing work by the character string knowledge editing device 13 is completed (step S49), the knowledge registration request is sent to the control section 3. Then, the knowledge definition process is performed in the control unit 3 (step S51).

【0060】この結果エラーが発生すれば、文字列知識
編集装置13を通じてユーザUにエラー情報が提示され
る(ステップS52、S53)。
If an error occurs as a result, error information is presented to the user U through the character string knowledge editing device 13 (steps S52 and S53).

【0061】このように知識参照とは異なるユーザUの
要求の場合においても、制御部3は必要に応じて自動的
に知識参照装置23を駆動し、その必要な知識を取り出
す作業を行うことができる。
As described above, even in the case of a request from the user U different from the knowledge reference, the control section 3 can automatically drive the knowledge reference device 23 as necessary to perform the work of extracting the necessary knowledge. it can.

【0062】[0062]

【発明の効果】以上のように本発明によれば、知識を定
義する知識入力部と、入力された知識を処理する知識処
理部と、処理された知識を出力する記憶装置を備え、知
識ベースについて正確な知識を有さない作業者において
も簡単に知識ベースを構築できるシステムとなる効果を
有する。
As described above, according to the present invention, the knowledge input unit for defining knowledge, the knowledge processing unit for processing the input knowledge, and the storage device for outputting the processed knowledge are provided, and the knowledge base is provided. This has the effect of providing a system that allows even a worker who does not have accurate knowledge about to easily build a knowledge base.

【0063】そして知識処理部に、知識ベース管理装
置、知識書式変換装置、知識参照装置、知識正当性判定
装置、問題解決装置を設けたことにより、知識ベース構
築作業中に、正当性の判定や、問題の解決を行うことが
できる効果を有する。
Since the knowledge processing unit is provided with the knowledge base management device, the knowledge format conversion device, the knowledge reference device, the knowledge correctness determination device, and the problem solving device, it is possible to determine the correctness during the knowledge base construction work. , Having the effect of being able to solve the problem.

【0064】また知識入力部に、形状知識定義編集装
置、階層構造定義編集装置、文字列知識定義編集装置を
設けたことにより、知識の入力がより簡単化される効果
を有する。
Further, the knowledge input section is provided with the shape knowledge definition editing device, the hierarchical structure definition editing device, and the character string knowledge definition editing device, which has the effect of simplifying the knowledge input.

【0065】さらに制御部は知識入力部と知識処理部を
互いに効率よく制御し、知識処理部の各装置を安定に起
動・制御する効果を有する。
Further, the control section has an effect of controlling the knowledge input section and the knowledge processing section with each other efficiently and stably starting and controlling each device of the knowledge processing section.

【0066】なお、知識参照装置を制御部により制御さ
れる知識処理部内に設けたことにより、知識ベース構築
者が知識参照の要求を発した場合にだけでなく、知識参
照以外の作業中に、必要に応じて知識参照の処理を自動
的に行える効果が生まれる。
Since the knowledge reference device is provided in the knowledge processing section controlled by the control section, not only when the knowledge base builder issues a request for knowledge reference, but also during work other than knowledge reference, The effect is that the process of knowledge reference can be automatically performed if necessary.

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

【図1】本発明の知識ベース構築装置の一実施例を示す
概略ブロック図である。
FIG. 1 is a schematic block diagram showing an embodiment of a knowledge base construction apparatus of the present invention.

【図2】知識ベースを使って設計しようとする部品の概
念図である。
FIG. 2 is a conceptual diagram of a part to be designed using a knowledge base.

【図3】知識正当性判定装置の動作を説明するフローチ
ャートである。
FIG. 3 is a flowchart illustrating an operation of the knowledge correctness determination device.

【図4】知識参照装置の動作を説明するフローチャート
である。
FIG. 4 is a flowchart illustrating an operation of the knowledge reference device.

【図5】問題解決装置の動作を説明するフローチャート
である。
FIG. 5 is a flowchart illustrating an operation of the problem solving device.

【図6】知識参照以外の要求時の知識参照装置の動作を
説明するフローチャートである。
FIG. 6 is a flowchart illustrating an operation of the knowledge reference device when a request other than knowledge reference is made.

【図7】従来の知識ベース構築装置の一実施例を示す概
略ブロック図である。
FIG. 7 is a schematic block diagram showing an embodiment of a conventional knowledge base construction apparatus.

【図8】従来の知識ベース構築装置の他の実施例を示す
概略ブロック図である。
FIG. 8 is a schematic block diagram showing another embodiment of the conventional knowledge base building apparatus.

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

1 知識入力部 2 知識処理部 3 制御部 4 外部記憶装置 11 形状知識定義編集装置 12 階層構造定義編集装置 13 文字列知識定義編集装置 21 知識ベース管理装置 22 知識書式変換装置 23 知識参照装置 24 知識正当性判定装置 25 問題解決装置 1 Knowledge Input Unit 2 Knowledge Processing Unit 3 Control Unit 4 External Storage Device 11 Geometry Knowledge Definition Editing Device 12 Hierarchical Structure Definition Editing Device 13 Character String Knowledge Definition Editing Device 21 Knowledge Base Management Device 22 Knowledge Format Conversion Device 23 Knowledge Reference Device 24 Knowledge Correctness judgment device 25 Problem solving device

───────────────────────────────────────────────────── フロントページの続き (72)発明者 柴 肇 大阪府守口市京阪本通2丁目5番5号 三 洋電機株式会社内 (72)発明者 溝上 恭弘 大阪府守口市京阪本通2丁目5番5号 三 洋電機株式会社内 (72)発明者 中山 隆文 大阪府守口市京阪本通2丁目5番5号 三 洋電機株式会社内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Hajime Shiba 2-5-5 Keihan Hon-dori, Moriguchi-shi, Osaka Sanyo Electric Co., Ltd. (72) Inventor Yasuhiro Mizoue 2-chome, Keihan-hondori, Moriguchi-shi, Osaka No. 5 Sanyo Electric Co., Ltd. (72) Inventor Takafumi Nakayama 2-5-5 Keihan Hondori, Moriguchi-shi, Osaka Sanyo Electric Co., Ltd.

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 知識ベース構築者の知識を入力し構築し
ようとする知識を定義する知識入力部と、知識入力部に
入力された知識を処理し知識ベースとして出力する知識
処理部と、前記知識処理部の作業履歴や出力された知識
ベースを格納する記憶装置とよりなる知識ベース構築装
置。
1. A knowledge input unit for inputting the knowledge of a knowledge base builder and defining the knowledge to be constructed, a knowledge processing unit for processing the knowledge input to the knowledge input unit and outputting it as a knowledge base, and the knowledge. A knowledge base construction device including a storage device for storing a work history of a processing unit and an output knowledge base.
【請求項2】 前記知識処理部は、知識ベース管理装
置、知識書式変換装置、知識参照装置、知識正当性判定
装置、問題解決装置からなる請求項1記載の知識ベース
構築装置。
2. The knowledge base building apparatus according to claim 1, wherein the knowledge processing unit includes a knowledge base management apparatus, a knowledge format conversion apparatus, a knowledge reference apparatus, a knowledge correctness determination apparatus, and a problem solving apparatus.
【請求項3】 前記知識入力部は、形状知識定義編集装
置、階層構造定義編集装置、文字列知識定義編集装置か
らなる請求項1または2記載の知識ベース構築装置。
3. The knowledge base building apparatus according to claim 1, wherein the knowledge input unit includes a shape knowledge definition editing apparatus, a hierarchical structure definition editing apparatus, and a character string knowledge definition editing apparatus.
【請求項4】 前記知識処理部と前記知識入力部とは、
該知識入力部の知識に基づいて前記知識処理部を構成す
る各装置を起動、制御する制御部によって接続されてな
る請求項1、2または3記載の知識ベース構築装置。
4. The knowledge processing unit and the knowledge input unit,
The knowledge base construction apparatus according to claim 1, 2 or 3, wherein the knowledge base construction apparatus is connected by a control section that activates and controls each apparatus that constitutes the knowledge processing section based on the knowledge of the knowledge input section.
JP6148033A 1993-09-30 1994-06-29 Knowledge base structuring device Pending JPH0816403A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP6148033A JPH0816403A (en) 1994-06-29 1994-06-29 Knowledge base structuring device
US08/314,804 US5659668A (en) 1993-09-30 1994-09-29 Knowledge base constructing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6148033A JPH0816403A (en) 1994-06-29 1994-06-29 Knowledge base structuring device

Publications (1)

Publication Number Publication Date
JPH0816403A true JPH0816403A (en) 1996-01-19

Family

ID=15443618

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6148033A Pending JPH0816403A (en) 1993-09-30 1994-06-29 Knowledge base structuring device

Country Status (1)

Country Link
JP (1) JPH0816403A (en)

Similar Documents

Publication Publication Date Title
US5303147A (en) Computer aided planning method and system
US5659668A (en) Knowledge base constructing system
JPH1125126A (en) System design tool and dataware house design system and method
JPH1139145A (en) Device to support programming and storage medium
WO2005078542A1 (en) Manufacturing system management support device and manufacturing system
JPH0816403A (en) Knowledge base structuring device
JPH10326212A (en) Data managing device
JPH09145493A (en) Contact analysis method using finite element method and its system
JPH01108602A (en) Sequence controller
JP2000090096A (en) Intelligent electronic catalog system
CN116629585B (en) Process management system and method using ontology
JPH0744343A (en) Automatic generating device for operation support information
JPH10320171A (en) Character code conversion device and recording medium
JP2724240B2 (en) Automatic program generator with block diagram processing function
JP2847369B2 (en) Expert model construction equipment
JPH0950377A (en) Knowledge base construction system
JPH04299735A (en) Request definition back-up device
JP2724241B2 (en) Automatic program generator with block diagram parts processing function
JP2007148897A (en) Cad system, its usage and program for making computer execute its usage
JPH11120047A (en) Db table generation system for html form
JP2022015195A (en) Information processing apparatus, control program, and control method
JP2002024308A (en) Method and device for construction, method and device for construction plan generation, computer-readable recording medium with construction plan generation program recorded thereon
JPH06324963A (en) Protocol generating system
JP2002015272A (en) Table document creation supporting device
JPH03250370A (en) Automatic designing system