JPH07271602A - Method for inputting and editing dynamic knowledge of expert system - Google Patents

Method for inputting and editing dynamic knowledge of expert system

Info

Publication number
JPH07271602A
JPH07271602A JP6059244A JP5924494A JPH07271602A JP H07271602 A JPH07271602 A JP H07271602A JP 6059244 A JP6059244 A JP 6059244A JP 5924494 A JP5924494 A JP 5924494A JP H07271602 A JPH07271602 A JP H07271602A
Authority
JP
Japan
Prior art keywords
knowledge
input
expert system
similarity
dynamic
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
JP6059244A
Other languages
Japanese (ja)
Inventor
Shinji Wakizaka
阪 信 治 脇
Nobuo Sumita
田 伸 夫 住
Takahide Tetsu
恭 秀 鉄
Minoru Harada
田 稔 原
Isao Otani
谷 功 大
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.)
Nippon Steel Corp
Original Assignee
Nippon Steel Corp
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 Nippon Steel Corp filed Critical Nippon Steel Corp
Priority to JP6059244A priority Critical patent/JPH07271602A/en
Publication of JPH07271602A publication Critical patent/JPH07271602A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Devices For Executing Special Programs (AREA)

Abstract

PURPOSE:To easily and speedily constitute an expert system and improve the productivity of the expert system by generating input candidates by systemized static knowledge, calculating the similarity between the input candidate names and dynamic knowledge names, and displaying them in the decreasing order of the similarity. CONSTITUTION:Knowledge names, versions, etc., are registered (1-1) in a knowledge base every object problem. Then, the static knowledge is inputted and edited (1-2). Those are used for the dynamic knowledge. Then, inference control knowledge determining the structure and inferring method of the dynamic knowledge is inputted and edited (1-3). Next, the dynamic knowledge names is inputted and edited (1-4), and furthermore, a similarity degree calculation is performed (1-5). The dynamic knowledge names are finally inputted and edited (1-6) to constitute the expert system. Consequently, the static knowledge which is previously inputted becomes reusable and selected candidates are weighted to display highly relative candidates first, thereby reducing the possibility of scrolling.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、例えば鉄鋼業における
高炉ガイダンス用エキスパートシステム等の、多量の静
的知識および動的知識を持つエキスパートシステムを構
築する際の、知識入力編集方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a knowledge input / editing method for constructing an expert system having a large amount of static knowledge and dynamic knowledge, such as an expert system for blast furnace guidance in the steel industry. .

【0002】[0002]

【従来の技術】前向き推論のエキスパートシステムの知
識入力を表形式のエディターで行う技術はすでに存在す
る(特開平04−190425号公報)。それは、エキ
スパートシステムの知識表現方法を、推論制御知識,動
的知識,静的知識および不確実な知識の4種類に体系化
し、それぞれについて知識を入力するための表形式のエ
ディター画面(ルール,メタルール,フレーム,ファク
ト,ファジー,定数,確信度付きデータ,外部関数)を
使用し知識の入力・編集を行う技術である。入力編集の
際には、まず静的知識の入力を行い、静的知識の入力
後、動的知識を入力する方法である。
2. Description of the Related Art There is already a technology for inputting knowledge of a forward reasoning expert system using a tabular editor (Japanese Patent Laid-Open No. 04-190425). It systematizes the knowledge representation method of the expert system into four types of inference control knowledge, dynamic knowledge, static knowledge and uncertain knowledge, and tabular editor screens (rules, metarules) for inputting knowledge about each. , Frame, fact, fuzzy, constant, data with certainty factor, external function) are used to input / edit knowledge. In input editing, static knowledge is input first, and then static knowledge is input, and then dynamic knowledge is input.

【0003】[0003]

【発明が解決しようとする課題】動的知識の記述には、
既に入力された静的知識の一部を組み込み、記述する必
要がある。しかし、この際に既に入力した静的知識を再
度入力していた。すなわち、静的知識を入力した後で、
静的知識が組み込まれた動的知識を入力するためには、
再度静的知識を記述しなければならなかった。例えば、
製鉄所における、高炉のガイダンスエキスパートシステ
ムの知識は、静的知識が2000個程度、動的知識が5
000個程度になるエキスパートシステムは珍しくな
い。このように大量の静的知識および動的知識を使用す
るエキスパートシステムにおいて、動的知識を入力する
際に再度静的知識を記述することは入力ミスあるいは冗
長性を誘発する。また、静的知識を表示するだけでは、
多量の静的知識の中から、該当する候補を探し出すこと
が非常に困難であり、エキスパートシステムを構築する
上で非効率である。
DISCLOSURE OF THE INVENTION Problems to be solved by the invention include:
It is necessary to incorporate and describe part of the static knowledge that has already been entered. However, the static knowledge that was already input at this time was input again. That is, after entering static knowledge,
To enter dynamic knowledge that incorporates static knowledge,
I had to write static knowledge again. For example,
About 2,000 knowledge of blast furnace guidance expert system in steel works, static knowledge is about 5 pieces and dynamic knowledge is about 5 pieces.
It is not uncommon to have an expert system with around 000 units. In an expert system that uses a large amount of static knowledge and dynamic knowledge in this way, rewriting static knowledge when inputting dynamic knowledge induces input error or redundancy. Also, just displaying static knowledge
It is very difficult to find a suitable candidate from a large amount of static knowledge, which is inefficient in constructing an expert system.

【0004】この発明は、従来のエキスパートシステム
の知識入力方法を改良するものであり、エキスパートシ
ステムの構築を容易かつ高速化し、エキスパートシステ
ムの生産性を向上させることを目的とする。
The present invention is to improve the conventional knowledge input method of the expert system, and it is an object of the present invention to facilitate and speed up the construction of the expert system and improve the productivity of the expert system.

【0005】[0005]

【課題を解決するための手段】エキスパートシステムの
知識表現方法を、推論制御知識,動的知識,静的知識お
よび不確実な知識に体系化し、エキスパートシステムの
構築には汎用的な表形式のエディター画面を利用する。
推論制御知識(メタルール)としては、メタルールエデ
ィター画面よりルールの実行制御手順を入力・編集す
る。静的知識(ファクト,フレーム,定数,外部関数)
としては、ファクトエディター画面より事実,ワークデ
ータ等を記述する宣言的知識を、フレームエディター画
面よりデータの継承を伴う階層的データ構造を記述する
宣言的知識を、定数エディター画面より定数を記述する
宣言的知識を、外部関数エディター画面よりルールで使
用する外部関数の定義を、入力・編集する。不確実な知
識(ファジー,確信度データ)としては、ファジーエデ
ィター画面より、不確実な事実,ワークデータ等を記述
する宣言的知識を入力・編集する。動的知識としては、
ルールエディター画面より静的知識を操作する方法に関
する規則(ルール)を入力・編集する。
[Means for solving the problem] The knowledge representation method of the expert system is systematized into inference control knowledge, dynamic knowledge, static knowledge and uncertain knowledge, and a general-purpose tabular editor is used to construct the expert system. Use the screen.
For inference control knowledge (metarule), enter / edit the rule execution control procedure from the metarule editor screen. Static knowledge (facts, frames, constants, external functions)
The declarative knowledge that describes facts, work data, etc. from the Fact Editor screen, the declarative knowledge that describes a hierarchical data structure with data inheritance from the Frame Editor screen, and the declaration that describes constants from the Constant Editor screen. Input / edit the definition of the external function used in the rule from the external function editor screen. As uncertain knowledge (fuzzy, confidence data), declarative knowledge describing uncertain facts, work data, etc. is entered and edited from the fuzzy editor screen. As dynamic knowledge,
From the Rule Editor screen, enter / edit rules (rules) regarding how to operate static knowledge.

【0006】本発明では、前述の表形式のエディター画
面を利用することによりエキスパートシステムを構築す
る方法において、静的知識が含まれている動的知識を入
力編集する際、入力・編集中の動的知識の名称と、その
動的知識で使われる静的知識の名称との間に相関関係の
あること、動的知識で利用される静的知識はある程度限
られることを考慮して、(A)体系化された静的知識ご
とに入力候補を作成し、(B)上記入力候補名称と動的
知識名称との類似度を各々計算し、類似度が高い順に表
示し、(C)エキスパートシステム構築者に選択入力さ
せる。
According to the present invention, in the method of constructing an expert system by using the above-mentioned tabular editor screen, when inputting / editing dynamic knowledge including static knowledge, the input / editing operation is performed. Considering that there is a correlation between the name of static knowledge and the name of static knowledge used in the dynamic knowledge, and the static knowledge used in the dynamic knowledge is limited to some extent, (A ) An input candidate is created for each systematic static knowledge, (B) the similarity between the input candidate name and the dynamic knowledge name is calculated, and displayed in descending order of similarity, (C) expert system Let the builder select and enter.

【0007】[0007]

【作用】これによれば、(1)体系化された静的知識ご
とにその入力候補を作成することにより、入力候補が限
定される,(2)上記入力候補名称と動的知識名称との
類似度が高い順に静的知識を表示するので、エキスパー
トシステム構築者は、短時間で、入力候補を発見でき
る,(3)エキスパートシステム構築者に選択入力させ
ることにより、静的知識の再利用が可能となる。
According to this, (1) the input candidates are limited by creating the input candidates for each systematized static knowledge, and (2) the input candidate name and the dynamic knowledge name. Since the static knowledge is displayed in descending order of similarity, the expert system builder can discover the input candidates in a short time. (3) Reusing the static knowledge can be done by letting the expert system builder select and input. It will be possible.

【0008】これにより、動的知識を表形式のエディタ
ー画面に入力する際に、事前に入力された静的知識が再
利用可能となるばかりでなく、選択候補に重み付けをす
ることで、関連性の高い候補を最初の方に表示できるた
め、スクロールの可能性を低減できる。また、エキスパ
ートシステムの構築が容易かつ高速になり、生産性が向
上する。
[0008] With this, when dynamic knowledge is input to a tabular editor screen, not only can static knowledge input in advance be reused, but the relevance can be improved by weighting selection candidates. The possibility of scrolling can be reduced because candidates with a high score can be displayed at the beginning. In addition, the expert system can be constructed easily and quickly, improving productivity.

【0009】[0009]

【実施例】次に本発明の実施例について説明する。この
実施例は、高炉の炉況の状態判定をエキスパ−トシステ
ムにより決定するというものである。この実施例が対象
とするエキスパ−トシステムの高速動的知識入力編集・
表現方法について説明する。 なお、エキスパ−トシス
テムを構築する場合の推論(ファクト,定数,外部関
数,メタルール)は従来技術に基づいているので、特開
平04−190425号公報と同様である。
EXAMPLES Next, examples of the present invention will be described. In this embodiment, the state of the furnace condition of the blast furnace is determined by an expert system. High-speed dynamic knowledge input editing / expansion of the export system targeted by this embodiment
The expression method will be described. The reasoning (facts, constants, external functions, metal rules) for constructing the expert system is based on the conventional technique, and is the same as in Japanese Patent Laid-Open No. 04-190425.

【0010】図1に、作業手順を示す。まず対象とする
問題毎に知識名,バージョン等の知識ベース登録1−1
を行う。次に静的知識(ファクト,フレーム,定数,外
部関数定義)の入力編集1−2を行う。これらは、動的
知識(もし〜ならば〜どうするという形式のルール)で
使用される。次に動的知識の構造,推論方法を決める推
論制御知識(メタルール)の入力編集1−3を行う。次
に動的知識名称の入力編集1−4を行う。さらに類似度
計算1−5を行う。最後に動的知識(ルール)の入力編
集1−6を行い、エキスパ−トシステムを構築する。な
お、動的知識で用いない上記静的知識は定義する必要は
ない。
FIG. 1 shows a work procedure. First, register knowledge base such as knowledge name and version for each target problem 1-1
I do. Next, input and edit 1-2 of static knowledge (fact, frame, constant, external function definition). These are used in dynamic knowledge (rules in the form of what to do). Next, input editing 1-3 of inference control knowledge (metarule) that determines the structure of dynamic knowledge and the inference method is performed. Next, the dynamic knowledge name is input and edited 1-4. Further, similarity calculation 1-5 is performed. Finally, the dynamic knowledge (rule) is input and edited 1-6 to construct an expert system. Note that it is not necessary to define the static knowledge that is not used in dynamic knowledge.

【0011】次に各段階に於ける知識の詳細な入力,編
集方法について説明する。計算機のエキスパートシステ
ム構築用ソフトウェアを起動すると、図5に示される全
体システム管理画面がCRT上に表示される。それに示
された項目を指定すると、図6,図7および図8に示す
ような細目画面が表示される。すなわち、図7に示す全
体システム管理画面で項目を指定することにより、以降
説明する知識ベースの登録(図中の「知識ベース編
集」)及び知識の入力,編集(図中の「エディター」)
を選択,起動するとともに、AI言語への変換ソフトウ
ェアの起動,構築したエキスパートシステムの検証,テ
スト機能などを選択し起動する事が出来る。以下では、
図1に沿って処理する。
Next, detailed input and editing methods of knowledge at each stage will be described. When the expert system construction software of the computer is started, the entire system management screen shown in FIG. 5 is displayed on the CRT. When the items shown therein are designated, the detailed screens as shown in FIGS. 6, 7 and 8 are displayed. That is, by specifying the items on the overall system management screen shown in FIG. 7, registration of a knowledge base (“Knowledge base edit” in the diagram) and input / edit of knowledge (“Editor” in the diagram) described below are performed.
In addition to selecting and starting, you can select and start the conversion software to AI language, verification of the constructed expert system, test function, etc. Below,
Process according to FIG.

【0012】知識ベース登録(図1の1-1):全体シス
テム管理画面(図5の知識ベース編集)を選択すると知
識ベース編集画面(図9)が表示される;本画面の“知
識ベース登録”を選択し、知識ベース名(本件の例では
“test1”)、バージョンNo.(知識の新旧を数字で
表現したもの。本例では1.0)、及びグローバル群番号
(プロセスコンピュータとオンラインで推論結果等を受
渡しするためのファイル群に番号を割付けたものでデバ
ッグ用とプロコン実機用の2つを本実施例では指定可
能)を入力し登録する。登録後、終了を選択し、本画面
を終了させる。
Knowledge base registration (1-1 in FIG. 1): When the whole system management screen (knowledge base edit in FIG. 5) is selected, the knowledge base edit screen (FIG. 9) is displayed; “Knowledge base registration” in this screen ", Select the knowledge base name (" test1 "in this example), version number. (The old and new knowledge is expressed by numbers. In this example, it is 1.0.) And global group number (number is assigned to the file group for passing inference results etc. online with the process computer. The two for the actual machine can be specified in this embodiment) and registered. After registration, select Exit to close this screen.

【0013】静的知識の入力,編集(図1の1-2):静
的知識の表現方法として、(1)ファクト,(2)フレーム
(3)定数,および、(4)外部関数定義、の4種類を使用す
る;これらの知識は、後述する動的知識(ルール)で参
照又は、書換えられる知識の名称及びその初期値等を定
義するものである。
Input and edit of static knowledge (1-2 in FIG. 1): (1) fact, (2) frame
Four types of (3) constant and (4) external function definition are used; these knowledge defines the name of knowledge to be referred to or rewritten by dynamic knowledge (rule) described later and its initial value, etc. To do.

【0014】(1) ファクト 推論で使用する様々な知識の事象を「〜の 〜が 〜であ
る」という形式で表現したものでファクトエディター画
面図10より入力する;ファクトとして定義されたファ
クト名,フィールド名,値等は、後述するルール内の条
件部「もし 〜の 〜が 〜であれば」で参照され、ルー
ル実行部「〜の 〜を 〜する」で書換えられて(更新,
削除,生成)ルールの実行を制御するデータとして使用
される;図10はその入力例であり、周辺合計等の諸元
を定義している。周辺合計の最新値を1,回数を0とす
る等、ファクトの名称及び初期値を設定している。
(1) Facts Various knowledge phenomena used in reasoning are expressed in the form "of ~ is 〜" in the form of fact editor screen FIG. 10; fact names defined as facts, The field name, value, etc. are referred to in the conditional part "if ~ of ~ is ~" in the rule described later, and rewritten by the rule execution part "~ of ~ ~ ~" (update,
(Deleted, generated) Used as data for controlling the execution of rules; FIG. 10 is an example of the input, and defines specifications such as marginal total. The name of the fact and the initial value are set such that the latest value of the peripheral total is 1 and the number of times is 0.

【0015】(2) フレーム 推論で使用する様々な知識の事象を「〜の 〜が 〜であ
る」という形式で表現したもので、図11に示すフレー
ムエディター画面より入力する。フレームとして定義さ
れたフレーム名,スロット名,値等は、後述するルール
内の条件部「もし 〜の 〜が 〜であれば」で参照さ
れ、ルール実行部「〜の 〜を 〜する」で書換えられて
(更新,削除,生成)ルールの実行を制御するデータと
して使用される。ファクトとフレームの違いは、ファク
トはデータの継承を伴う階層構造を記述することができ
る点である;図11はその入力例であり、溶銑温度等の
諸元を定義している。溶銑温度の前々TAP1本目を15
35.0,前TAP1本目を1534.0とする等、フレームの名
称及び初期値を設定している。
(2) Frame This is a representation of various knowledge events used in the inference in the form of "... of ~ is ...", which is input from the frame editor screen shown in FIG. The frame name, slot name, value, etc. defined as a frame are referred to in the conditional part "if ~ ~ ~ is ~" in the rule described later, and rewritten in the rule execution part "~ ~ ~ ~ ~". (Update, delete, generate) and is used as data that controls the execution of rules. The difference between the fact and the frame is that the fact can describe a hierarchical structure with data inheritance; FIG. 11 is an input example thereof and defines specifications such as the hot metal temperature. Before the hot metal temperature, the first TAP was 15
The name of the frame and the initial value are set, such as 35.0 and the first TAP is 1534.0.

【0016】(3) 定数 知識の中で事象の基準値など定まった値を定数名として
定義し、ファクト,フレ−ム,ルール等他の知識で定数
名で引用できる。図12に示す定数エディターより入力
する;本エディターで定数を定義することで管理の一元
性を保つ事ができ、また、本画面で値を変更するだけで
ファクト,ルール等で引用している値が一括して変更さ
れるため開発効率も向上する。図12はその入力例であ
り、 “基準値1”は、実数型で0.5 “基準値2”は、実数型で0.8 などを定義している。尚、他画面で本値を引用する場合
は、“!基準値1”の様に先頭に“!”を付加し、定数名
で引用する。
(3) Constant A constant value such as a reference value of an event is defined as a constant name in the knowledge, and the constant name can be quoted by other knowledge such as facts, frames and rules. Input from the constant editor shown in Fig. 12; the constant management can be maintained by defining constants in this editor, and the values quoted in facts, rules, etc. by simply changing the values on this screen Will be changed collectively, and development efficiency will also be improved. FIG. 12 is an example of the input, and "reference value 1" defines 0.5 for the real number type and "reference value 2" defines 0.8 for the real number type. When quoting this value on another screen, add "!" At the beginning like "! Standard value 1" and quote with a constant name.

【0017】(4) 外部関数定義 動的知識(ルール)の実行部において、ユーザーが作成
したサブルーチンをコールしたい場合に、そのサブルー
チンの属性を、図13に示す外部関数定義エディター画
面により定義する;図13は、その入力例であり、“M
AX”はC言語で作成され、入力に整数の引数が2ヶあ
ること、出力に整数の引数が1ケあることを定義してい
る。“MAXR”はC言語で作成され入力に実数の引数
が2ヶあり、出力に実数の引数が1ケあることを示す。
“MIN”はC言語で作成され入力に整数の引数2ヶと
実数の引数が1ヶを結果として返す事を定義している。
“MAX”,“MAXR”及び“MIN”は、ルール実
行部にて、外部サブルーチンとして、コールされる。
(4) External function definition When the user wants to call a subroutine created by the user in the dynamic knowledge (rule) execution section, the attributes of the subroutine are defined by the external function definition editor screen shown in FIG. FIG. 13 shows an example of the input, “M
AX "is written in C language and defines that the input has two integer arguments and that the output has one integer argument." MAXR "is written in C language and the input has real arguments. Indicates that there are two and there is one real argument in the output.
“MIN” is created in C language and defines that 2 integer arguments and 1 real number argument are returned to the input as a result.
"MAX", "MAXR" and "MIN" are called as external subroutines by the rule execution unit.

【0018】推論制御知識入力,編集(以下、メタルー
ル)(図1の1-3):メタルールとは、後述する動的知識
(ルール)をいくつかの知識群にまとめ、あるいは分け
て、その知識群の単位で推論の実行順序を制御するため
のものである。知識群の実行制御の方法として、図15
および図16に示すルールエディター画面にて、あらか
じめ決めておく方法と、ルール内で実行中に知識群を切
り替える方法があり、両者の併用も可能である。
Inference control knowledge input and edit (hereinafter, metarule) (1-3 in FIG. 1): A metarule is a dynamic knowledge (rule) described later, which is collected or divided into several knowledge groups. It is for controlling the order of execution of inference in units of groups. As a method of controlling the execution of the knowledge group, FIG.
Also, there is a method of determining in advance on the rule editor screen shown in FIG. 16 and a method of switching the knowledge group during execution in the rule, and both can be used together.

【0019】図14にメタルールエデイター画面を示
す。入力項目は、知識群の実行順序指定、(本実施例で
は、行の上から下へ実行する)、知識群の名称,及び競
合解消法を指定する;知識群の切り替えタイミングは、
推論実行中当該知識群の中で成立するルールがない時、
または後述するルール内で他の知識群がコールされた
(開始操作)場合である;図14はその入力例であり本
知識ベース“test1”は9つの知識群より構成され
る。
FIG. 14 shows a metal rule editor screen. Input items specify the execution order of the knowledge group, (in this embodiment, execute from the top of the line), the name of the knowledge group, and the conflict resolution method; the knowledge group switching timing is
When there is no rule that holds in the knowledge group during inference,
This is also the case when another knowledge group is called (start operation) in the rule described later; FIG. 14 is an input example thereof, and this knowledge base “test1” is composed of nine knowledge groups.

【0020】動的知識名称の入力(図1の1-4):動的
知識を入力するために動的知識名および優先度を入力す
る;図15および図16(特に図16)は、その入力例
であり、知識群名は、“炉熱一次判定”、ルール名は
“炉内溶銑温度”、優先度は0となっている。
Input of dynamic knowledge name (1-4 in FIG. 1): Input dynamic knowledge name and priority for inputting dynamic knowledge; FIGS. 15 and 16 (particularly FIG. 16) This is an input example. The knowledge group name is “furnace heat primary judgment”, the rule name is “hot metal temperature in furnace”, and the priority is 0.

【0021】類似度の計算(図1の1-5):動的知識名
と入力候補名の文字列から類似度を計算する。その内容
を図2に示す;まず、動的知識名と入力候補名を読み
込む。その後、動的知識名と入力候補名の文字列を先
頭から比較し、部分類似度を計算する。部分類似度の計
算が終わると、動的知識名と入力候補名のうち、文字
列の長さの短い方の先頭の一文字を削除する。再びに
もどり、部分類似度を計算する。文字列の長さの短い方
が完全に削除されたら、部分類似度を合計し、入力候
補の類似度とする(図2);例えば図3の場合、4番目
と7番目の文字が一致しているとする。この場合の個別
の類似度はそれぞれ1になり、それを足し合わせて部分
類似度は2となる。また、図4の場合、4,5および6
番目の文字が連続して一致しているとする。この場合、
文字列のポイントはそれぞれ1,2,3となり、それを
足し合わせて個別の類似度は6となる。また、部分類似
度も6となる;部分類似度を各々足し合わせて全体の類
似度(以下類似度)とする。例えば、「test1」の
エキスパートシステムでは、フレームとして、「炉頂温
度」,「溶銑温度」,「炉況ランク判定」,「経過時
間」等が既に入力されている(図19)。また、図16
(図15の続き)で編集されている動的知識名称は「炉
内温度判定」である。既に入力された静的知識のうち前
記の4つのフレームについて例示する。動的知識の名称
と各フレーム類似度を計算すると、 〔1〕「炉頂温度」の場合は、 「炉内温度判定」と「炉頂温度」を順列として比較す
ると、「炉」がマッチすることから個別の類似度=1、
「温度」がマッチすることから個別の類似度1+2=
3、したがって部分類似度(合計)=4 「内温度判定」(1文字削除、以下同様)と「炉頂温
度」を順列として比較すると、マッチするものがないた
め部分類似度=0 「温度判定」と「炉頂温度」を順列として比較する
と、マッチするものがないため部分類似度=0 「度判定」と「炉頂温度」を順列として比較すると、
マッチするものがないため部分類似度=0 「判定」と「炉頂温度」を順列として比較すると、マ
ッチするものがないため部分類似度=0 「定」と「炉頂温度」を順列として比較すると、マッ
チするものがないため部分類似度=0 以上より類似度=4 となる。
Calculation of similarity (1-5 in FIG. 1): The similarity is calculated from the character strings of the dynamic knowledge name and the input candidate name. The contents are shown in FIG. 2; first, the dynamic knowledge name and the input candidate name are read. After that, the character strings of the dynamic knowledge name and the input candidate name are compared from the beginning, and the partial similarity is calculated. After the calculation of the partial similarity, one of the dynamic knowledge name and the input candidate name having the shorter character string is deleted. Return again and calculate the partial similarity. When the shorter one of the character strings is completely deleted, the partial similarities are summed to obtain the similarity of the input candidates (FIG. 2); for example, in the case of FIG. 3, the fourth and seventh characters match. Suppose In this case, the individual similarities are 1, and the partial similarities are 2 by adding them. Also, in the case of FIG. 4, 4, 5 and 6
Suppose the th character matches consecutively. in this case,
The points of the character string are 1, 2 and 3, respectively, and when they are added, the individual similarity is 6. The partial similarity is also 6; the partial similarities are added together to obtain the overall similarity (hereinafter similarity). For example, in the "test1" expert system, "furnace top temperature", "hot metal temperature", "furnace condition rank determination", "elapsed time", etc. have already been input as frames (FIG. 19). In addition, FIG.
The dynamic knowledge name edited in (continuation of FIG. 15) is “furnace temperature determination”. Of the static knowledge already input, the four frames will be exemplified. When the name of the dynamic knowledge and each frame similarity are calculated, [1] In the case of “furnace top temperature”, comparing “furnace temperature determination” and “furnace top temperature” as permutations, the “furnace” matches Therefore, individual similarity = 1,
Since the “temperature” matches, the individual similarity 1 + 2 =
3, therefore partial similarity (total) = 4 When comparing "internal temperature judgment" (1 character deleted, the same below) and "furnace top temperature" as permutations, there is no match, so partial similarity = 0 "temperature judgment , And "furnace top temperature" as permutations, there is no match, so partial similarity = 0 "degree determination" and "furnace top temperature" as permutations
Partial similarity = 0 because there is no match When comparing "judgment" and "furnace top temperature" as permutations, partial similarity = 0 because there is no match Compared "constant" and "furnace top temperature" as permutations Then, since there is no match, the partial similarity = 0 and the similarity = 4.

【0022】〔2〕「溶銑温度」の場合は、 「炉内温度判定」と「炉頂温度」を順列として比較す
ると、「温度」がマッチすることから個別の類似度1+
2=3、したがって部分類似度(合計)=3 「内温度判定」と「炉頂温度」を順列として比較する
と、マッチするものがないため部分類似度=0 「温度判定」と「炉頂温度」を順列として比較する
と、マッチするものがないため部分類似度=0 「度判定」と「炉頂温度」を順列として比較すると、
マッチするものがないため部分類似度=0 「判定」と「炉頂温度」を順列として比較すると、マ
ッチするものがないため部分類似度=0 「定」と「炉頂温度」を順列として比較すると、マッ
チするものがないため部分類似度=0 以上より類似度=3 となる。
[2] In the case of "hot metal temperature", when "judgment temperature inside" and "furnace top temperature" are compared as a permutation, since "temperature" matches, individual similarity 1+
2 = 3, therefore partial similarity (total) = 3 When comparing “inner temperature judgment” and “furnace top temperature” as permutations, there is no match, so partial similarity = 0 “temperature judgment” and “furnace top temperature” When comparing as a permutation, there is no match, so partial similarity = 0.
Partial similarity = 0 because there is no match When comparing "judgment" and "furnace top temperature" as permutations, partial similarity = 0 because there is no match Compared "constant" and "furnace top temperature" as permutations Then, since there is no match, the partial similarity = 0 and the similarity = 3.

【0023】〔3〕「炉況ランク判定」の場合は、 「炉内温度判定」と「炉況ランク判定」を順列として
比較すると、「炉」がマッチすることから個別の類似度
=1、したがって部分類似度(合計)=1 「炉内温度判定」と「況ランク判定」を順列として比
較すると、「判定」がマッチすることから個別の類似度
1+2=3、したがって部分類似度(合計)=3 「炉内温度判定」と「ランク判定」を順列として比較
すると、マッチするものがないため部分類似度=0 「炉内温度判定」と「ンク判定」を順列として比較す
ると、マッチするものがないため部分類似度=0 「炉内温度判定」と「ク判定」を順列として比較する
と、マッチするものがないため部分類似度=0 「炉内温度判定」と「判定」を順列として比較する
と、マッチするものがないため部分類似度=0 「炉内温度判定」と「定」を順列として比較すると、
マッチするものがないため部分類似度=0 以上より類似度=4 となる。
[3] In the case of "furnace condition rank judgment", when "reactor temperature judgment" and "furnace condition rank judgment" are compared as permutations, since "furnace" matches, individual similarity = 1, Therefore, partial similarity (total) = 1 When "reactor temperature judgment" and "condition rank judgment" are compared as a permutation, since "judgment" matches, individual similarity 1 + 2 = 3, therefore partial similarity (total) = 3 When comparing “in-reactor temperature judgment” and “rank judgment” as a permutation, there is no match, so partial similarity = 0 When “reactor temperature judgment” and “rank judgment” are compared as a permutation, there is a match There is no partial similarity = 0 When comparing the "reactor temperature judgment" and "ku judgment" as permutations, there is no match. Partial similarity = 0 "reactor temperature judgment" and "judgment" are compared as permutations Then it matches Comparing the permutations "constant" and partial similarity = 0 because there is no "furnace temperature determination"
Since there is no match, the partial similarity = 0 and the similarity = 4.

【0024】〔4〕「経過時間」の場合は、 「炉内温度判定」と「経過時間」を順列として比較す
ると、マッチするものがないため部分類似度=0 「内温度判定」と「経過時間」を順列として比較する
と、マッチするものがないため部分類似度=0 「温度判定」と「経過時間」を順列として比較する
と、マッチするものがないため部分類似度=0 「度判定」と「経過時間」を順列として比較すると、
マッチするものがないため部分類似度=0 「判定」と「経過時間」を順列として比較すると、マ
ッチするものがないため部分類似度=0 「定」と「経過時間」を順列として比較すると、マッ
チするものがないため部分類似度=0 以上より類似度=0 となる。
[4] In the case of "elapsed time", when "reactor temperature determination" and "elapsed time" are compared as permutations, there is no match, so partial similarity = 0 "internal temperature determination" and "elapsed time" When "Time" is compared as a permutation, there is no match, so partial similarity = 0 "Temperature judgment" and when "Elapsed time" is compared as a permutation, there is no match, partial similarity = 0 "Degree judgment" Comparing "elapsed time" as a permutation,
Since there is no match, partial similarity = 0 When comparing “judgment” and “elapsed time” as a permutation, because there is no match, partial similarity = 0 “constant” and “elapsed time” are compared as a permutation Since there is no match, the partial similarity = 0 and the similarity = 0.

【0025】動的知識入力編集(図1の1-6):既述し
た静的知識が推論の初期値などを定義するのに対し、動
的知識は推論の本体となる知識である。その形式は条件
部「もし 〜の 〜が 〜であれば」、実行部「〜の 〜を
どうする」という形式で表現する。図15(第1半分)
および図16(第2半分)に示すルールエディター画面
より入力する; 動的知識の入力方法:ルールエディター画面でルールの
内容を定義する。ルールとは、条件部「もし〜であれ
ば」,実行部「〜をどうする」より構成される。条件部
又は、実行部がないルールの記述は不可である。その詳
細を以下に示す; 条件部:実行部を実行するのに必要なファクトの制約条
件ないし、判定条件を記述する;本条件部が成立した場
合に実行部を実行する。以下その記述要領について説明
する; フレーム名(ファクト名) 判定するファクトを記述する。第2行目以降は同一フレ
ームの場合は本項目は、空白でも良い; スロット名(フィールド)名 上記に対応するフィールドを記述する; インデックス またファクトで配列要素を引用する場合は“インデック
ス”欄にその要素番号を指定する; 値 判定すべく値を次の形式で記述する。整数,実数,文字
列,定数名(先頭に‘!’を付加) 変数(先頭に‘?’を付加)及びシステムのデフォルト
値(記号Nulli等)を記述可;変数の場合はある値
をその変数に束縛する(あてはめる)事を意味する;ま
た計算式の左辺にその変数を引用出来、その場合は、そ
の計算結果をその変数に束縛する事を意味する; 演算子 以上”,“以下”,“より大”,“未満”を指定でき
る;入力がない場合は等しいという意味である; 接続詞 各行間の接続関係を指定する;“であり”,“であ
る”,“とし”,“とする”、“でなく”,“でな
い”,“かつ”,“または”,“が存在しない”のうち
どれか1つを1行毎に指定する。“でなく”,“でな
い”は否定の意を表し、“かつ”,“または”は条件間
の接続関係を表す。“が存在しない”は条件に記述した
ファクトが一つも存在しない場合にルールが成立する事
を意味する。
Dynamic knowledge input editing (1-6 in FIG. 1): While the static knowledge described above defines the initial value of inference, the dynamic knowledge is the knowledge that is the main body of inference. The format is expressed in the form of a conditional part "if ~ of ~ is ~" and an execution part "what to do of ~". Figure 15 (first half)
And on the rule editor screen shown in FIG. 16 (second half); Dynamic knowledge input method: Define the rule contents on the rule editor screen. A rule is composed of a condition part "if-if" and an execution part "what to do". It is not possible to describe a rule without a condition part or an execution part. The details are given below: Conditional part: Describe the constraint condition or judgment condition of the facts necessary to execute the execution part; execute the execution part when this condition part is satisfied. The description procedure is described below; frame name (fact name) Describes the fact to be judged. If the same frame is used in the second and subsequent lines, this item may be blank; slot name (field) name Describe the field corresponding to the above; Index or in the "Index" column when quoting array elements by facts Specify the element number; Describe the value in the following format to judge the value. Integer, real number, character string, constant name (add '!' At the beginning) variable (add '?' At the beginning) and system default value (symbol Nulli, etc.) can be described; It means to bind (apply) to a variable; and to quote the variable on the left side of the calculation formula, in which case it means to bind the calculation result to that variable; , "Greater than", "less than" can be specified; means that if there is no input, it is equal; connective Specifies the connection relation between each line; "is", "is", "to", "and" Specify any one of "Yes", "Not", "Not", "And", "Or", "Does not exist" for each line. "Not" and "Not" are negative "And", "or" represents the connection relation between conditions. Also means that the rule is satisfied in the absence of one is the fact that you described in the conditions.

【0026】計算式 条件部及び実行部にて使用している変数に対して、その
変数を制約する計算式を使う事ができる;変数名=式と
いうフォームで構成し、右辺は四則演算+,−,*,/
及びカッコ( )記号を用いて通常の数式表現で記述す
る;また右辺には、定数名(先頭に‘!’を付加)及び
ライブラリー関数も使用する事が出来る;図15,図1
6は入力例である。
Calculation formula For the variables used in the condition part and the execution part, it is possible to use a calculation formula that constrains the variables; the formula is formed in the form of variable name = expression, and the right side is four arithmetic operations +, -, *, /
And, it is described in the usual mathematical expression using parentheses () symbols. Also, constant names (adding '!' At the beginning) and library functions can be used on the right side; Figs. 15 and 1
6 is an input example.

【0027】実行部:条件部が成立した場合に実行する
内容を記述する。記述要領は、条件部とほぼ同様である
が、操作欄で“更新”,“削除”,“生成”,“コー
ル”,“表示”,“開始”を選択指定することで、下記
機能を実行出来る; 1)ファクトのデータ操作 2)システムであらかじめ準備している標準サブルーチ
ンの“コール” 3)ユーザーが作成したサブルーチン(外部サブルーチ
ン)の“コール” 4)ファクトデータ等のコンソールへの“表示” 5)他,知識群への実行権の切換え“開始” 以下機能別にその記述要領及び作用について説明する。
Execution part: Describe the contents to be executed when the condition part is satisfied. The description procedure is almost the same as the condition part, but the following functions are executed by selecting and specifying "Update", "Delete", "Create", "Call", "Display", "Start" in the operation column. Yes; 1) Fact data operation 2) “Call” of standard subroutine prepared in advance in the system 3) “Call” of user-created subroutine (external subroutine) 4) “Display” of fact data etc. on console 5) In addition, the switching of the execution right to the knowledge group “start” The description procedure and operation of each function will be described below.

【0028】1)ファクトのデータ操作 操作欄が“更新”の場合、対象とするファクト名及びフ
ィールド名(配列要素の場合インデックスを指定)及び
更新する値を指定する。尚、変数を使用する場合は、条
件部又は計算式等で束縛されている必要がある; “生成”の場合、ファクト名(配列要素の場合インデッ
クスを指定)及び値を指定する。実行すると新しいファ
クトデータを生成する; “削除”の場合、ファクト名を指定する;ルールが実行
すると、指定されたファクトデータそのものを消去する
(関連するスロットデータ全てを消去する)。図15に
その例を記述している。
1) Fact data operation When the operation column is "update", the target fact name and field name (in the case of an array element, an index is specified) and the value to be updated are specified. When using a variable, it must be bound by a conditional part or a calculation formula; in the case of "creation", the fact name (specify the index in the case of an array element) and the value are specified. When executed, new fact data is generated; in the case of “delete”, the fact name is specified; when the rule is executed, the specified fact data itself is deleted (all related slot data is deleted). The example is described in FIG.

【0029】2)標準サブルーチンのコール処理 操作欄が“コール”の場合、本システム内で標準で準備
しているサブルーチンで本実施例では以下を準備してい
る。尚、記述要領はファクトの項に“%標準”、フィー
ルドの項に下記サブルーチン名,値の項に引数,操作欄
に“コール”と指定する; 3)ユーザー作成の外部サブルーチンのコール処理 操作欄が“コール”の場合、ユーザーが作成したFOR
TRAN及びC言語のサブルーチンをコールする事が出
来る。記述要領は、ファクトの項に“%外部”,フィー
ルドの項にサブルーチン名、値の項に引数、操作欄に
“コール”と指定する。あらかじめ外部関数エディター
にて引数の属性等を定義しておく必要がある。引数は、
整数,実数,文字列,定数名,変数が使用出来、複数あ
る場合は‘,’で区切って記述する。尚、引数属性が
“出力”(サブルーチン→ルール)の場合は、引数は変
数を指定しその値をルール実行部内で使用出来る。
2) Call processing of standard subroutine When the operation column is "call", the subroutines prepared as standard in this system are prepared as follows in this embodiment. For the description, specify “% standard” in the item of fact, specify the following subroutine name in the item of field, argument in the item of value, and “call” in the operation field; 3) Call processing field of user-created external subroutine If is "call", the user created FOR
Can call TRAN and C language subroutines. For the description, specify "% external" in the item of fact, subroutine name in the item of field, argument in the item of value, and "call" in the operation field. It is necessary to define the attributes of arguments in advance in the external function editor. The argument is
You can use integers, real numbers, character strings, constant names, and variables. If there are multiple numbers, separate them with ','. If the argument attribute is “output” (subroutine → rule), a variable can be specified as the argument and its value can be used in the rule execution unit.

【0030】4)ファクトデータ等のコンソール表示 操作欄が“表示”の場合、ファクトの値をCRTのコン
ソールウィンドウ上に表示する事が出来る。記述要領
は、ファクトの項にファクトをフィールドの項にフィー
ルド名を指定する。操作欄は“表示”を指定する。尚、
値欄は不用である。
4) Console display of fact data etc. When the operation column is "display", the value of the fact can be displayed on the console window of the CRT. In the description procedure, the fact is specified in the fact section and the field name is specified in the field section. Specify "display" in the operation column. still,
The value column is unnecessary.

【0031】5)他知識群への実行権の切換え 操作欄が“開始”の場合、通常メタルールで定義した順
で知識群が実行されるがルール実行部で指定する知識群
を実行する事が出来る。尚、指定した知識群を実行した
あとは、他のルールで変更されない限りメタルールで定
義している当該知識群以降の知識群が順を追って実行さ
れる。記述要領は、ファクトの項に起動する知識群名を
指定し、操作欄に“開始”と指定する。
5) Switching the execution right to another knowledge group When the operation column is "start", the knowledge group is normally executed in the order defined by the metarule, but the knowledge group specified by the rule execution unit may be executed. I can. After the specified knowledge group is executed, the knowledge groups after the knowledge group defined by the meta-rule are sequentially executed unless changed by another rule. As a description procedure, specify the name of the knowledge group to be activated in the fact section and specify "start" in the operation field.

【0032】このように構成されるルールの条件部およ
び実行部における、例えば、フレームの入力において、
図15,図16のルールエディタ画面で入力を選択し、
フレーム欄をピックすると、図17のフレーム入力画面
が表示される。ここで、フレーム(ファクト)ボタンを
選択すると、図18の選択画面が表示され、プルダウン
すると、図19のフレーム選択画面が表示される。この
とき、フレームは、動的知識の名称と関連性の高いすな
わち前述のように計算された類似度の高い順序から表示
され、エキスパートシステム構築者に選択入力させるこ
とが可能となる。
In the condition part and the execution part of the rule configured as described above, for example, in inputting a frame,
Select the input in the rule editor screen of FIG. 15 and FIG.
When the frame field is picked, the frame input screen of FIG. 17 is displayed. Here, when the frame (fact) button is selected, the selection screen of FIG. 18 is displayed, and when the frame is pulled down, the frame selection screen of FIG. 19 is displayed. At this time, the frames are displayed in descending order of relevance to the name of the dynamic knowledge, that is, the similarity calculated as described above, and the expert system builder can select and input.

【0033】前述の例ではそれぞれの類似度が「炉況温
度=4」,「溶銑温度=3」,「炉熱ランク判定=
4」,「経過時間=0」と表示され、フレームの表示さ
れる順序は、「炉況温度」,「炉熱ランク判定」,「溶
銑温度」,、「経過時間」の順となる。これは簡略化し
た一例に過ぎず、実際に静的知識数,動的知識数が増加
すると不必要な静的知識が表示されず、動的知識に関連
の深いものから先に表示されるため、スクロールの必要
が少なくなる。ファクト,ファジー,確信度データにつ
いても同様である。
In the above-mentioned example, the respective degrees of similarity are “furnace temperature = 4”, “hot metal temperature = 3”, “furnace heat rank judgment =”
4 ”,“ elapsed time = 0 ”are displayed, and the frames are displayed in the order of“ furnace temperature ”,“ furnace heat rank determination ”,“ hot metal temperature ”, and“ elapsed time ”. This is just a simplified example. When the number of static knowledge and dynamic knowledge actually increases, unnecessary static knowledge is not displayed, and those related to dynamic knowledge are displayed first. , Less need for scrolling. The same applies to fact, fuzzy, and confidence data.

【0034】以上、本発明の一実施例の、エキスパート
システムの高速知識の入力および編集方法について説明
したが、入力・編集された知識のプロセス生成,推論実
行,知識の検証,オンライン用プロセス生成機能など
も、計算機のうえで既にシステム化を完了している。
The high-speed knowledge input and editing method of the expert system according to the embodiment of the present invention has been described above. The process generation of the input / edited knowledge, the inference execution, the knowledge verification, and the online process generation function are described. Also, the systemization has already been completed on a computer.

【0035】[0035]

【発明の効果】以上説明した様に本発明によればエキス
パートシステムを構築し、また保守するうえで、 1)高度なエキスパートシステムに関するAI言語等の
専門知識を要さず、効率的にかつ容易にエキスパートシ
ステムを構築でき、そのソフトウェア生産性,保守性が
大幅に向上する; 2)静的知識と動的知識間の不整合を防ぐことができ、
エラーを軽減することにより、生産性が向上する; という効果がある。
As described above, according to the present invention, in constructing and maintaining an expert system, 1) it is efficient and easy without requiring specialized knowledge such as AI language related to a high-level expert system. The expert system can be built in the software, and its software productivity and maintainability are greatly improved; 2) Inconsistency between static knowledge and dynamic knowledge can be prevented,
By reducing errors, productivity is improved.

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

【図1】 本発明の一実施例の、知識の入力・編集手順
を示すフローチヤートである。
FIG. 1 is a flow chart showing a knowledge input / editing procedure according to an embodiment of the present invention.

【図2】 図1に示す「類似度計算」1−5の内容を示
すフローチヤートである。
FIG. 2 is a flowchart showing the contents of “similarity calculation” 1-5 shown in FIG.

【図3】 本発明における部分類似度の算出における、
知識名間の文字配列の対応関係の一例を示す平面図であ
る。
FIG. 3 is a diagram showing the calculation of partial similarity in the present invention.
It is a top view which shows an example of the correspondence of the character arrangement between knowledge names.

【図4】 本発明における部分類似度の算出における、
知識名間の文字配列の対応関係の一例を示す平面図であ
る。
FIG. 4 is a diagram showing the calculation of partial similarity in the present invention.
It is a top view which shows an example of the correspondence of the character arrangement between knowledge names.

【図5】 エキスパートシステム開発用計算機における
CRTに表示する、エキスパートシステムへの知識の入
力・編集のための全体表示画面を示す平面図である。
FIG. 5 is a plan view showing an entire display screen for inputting / editing knowledge to the expert system, which is displayed on the CRT in the expert system development computer.

【図6】 図5に示す項目「エディタ」を指定したとき
の表示画面を示す平面図である。
6 is a plan view showing a display screen when the item "editor" shown in FIG. 5 is designated.

【図7】 図5に示す項目「知識ベ−ス名」を指定した
ときの表示画面を示す平面図である。
FIG. 7 is a plan view showing a display screen when the item “knowledge base name” shown in FIG. 5 is designated.

【図8】 図5に示す項目「ユーティリティ」を指定し
たときの表示画面を示す平面図である。
FIG. 8 is a plan view showing a display screen when the item “utility” shown in FIG. 5 is designated.

【図9】 図5に示す項目「知識ベ−ス編集」を指定し
たときの表示画面を示す平面図である。
9 is a plan view showing a display screen when the item "knowledge base edit" shown in FIG. 5 is designated.

【図10】 図6に示す項目「ファクト」を指定したと
きの表示画面を示す平面図であり、知識入力・編集にお
けるファクトエディタ画面の入力具体例を示す。
FIG. 10 is a plan view showing a display screen when the item “fact” shown in FIG. 6 is designated, and shows a specific input example of a fact editor screen in knowledge input / editing.

【図11】 図6に示す項目「定数」を指定したときの
表示画面を示す平面図であり、知識入力・編集における
定数エディタ画面の入力具体例を示す。
FIG. 11 is a plan view showing a display screen when the item “constant” shown in FIG. 6 is specified, and shows a specific input example of a constant editor screen in knowledge input / editing.

【図12】 図6に示す項目「フレーム」を指定したと
きの表示画面を示す平面図であり、知識入力・編集にお
けるフレームエディタ画面の入力具体例を示す。
FIG. 12 is a plan view showing a display screen when the item “frame” shown in FIG. 6 is designated, and shows a specific input example of the frame editor screen in knowledge input / editing.

【図13】 図6に示す項目「外部関数」を指定したと
きの表示画面を示す平面図であり、知識入力・編集にお
ける外部関数エディター画面の入力具体例を示す。
FIG. 13 is a plan view showing a display screen when the item “external function” shown in FIG. 6 is specified, and shows a specific input example of the external function editor screen in knowledge input / editing.

【図14】 図6に示す項目「メタルール」を指定した
ときの表示画面を示す平面図であり、知識入力・編集に
おけるメタルールエディター画面の入力具体例を示す。
FIG. 14 is a plan view showing a display screen when the item “metarule” shown in FIG. 6 is specified, and shows a specific input example of the metarule editor screen in knowledge input / editing.

【図15】 図6に示す項目「ルール」を指定し、更に
それにとって表示されたルールリストより指定すること
により表示される画面の左半分を示す平面図であり、知
識入力・編集におけるルールエディター画面の入力具体
例を示す。
FIG. 15 is a plan view showing the left half of the screen displayed by designating the item “rule” shown in FIG. 6 and further designating from the rule list displayed for it, which is a rule editor in knowledge input / editing. A specific input example on the screen will be shown.

【図16】 図6に示す項目「ルール」を指定し、更に
それにとって表示されたルールリストより指定すること
により表示される画面の右半分を示す平面図であり、知
識入力・編集におけるルールエディター画面の入力具体
例を示す。
FIG. 16 is a plan view showing the right half of the screen displayed by designating the item “rule” shown in FIG. 6 and further designating from the rule list displayed for it, and is a rule editor in knowledge input / editing. A specific input example on the screen will be shown.

【図17】 図15に示す項目「ファクト名,フレーム
名」を指定することにより表示される画面を示す平面図
である。
17 is a plan view showing a screen displayed by designating the item “fact name, frame name” shown in FIG. 15. FIG.

【図18】 図17に示す項目「ファクト,フレーム」
を指定することにより表示される画面を示す平面図であ
る。
18] The item "fact, frame" shown in FIG.
It is a top view showing a screen displayed by designating.

【図19】 図18に示す項目「フレーム」を指定する
ことにより表示される画面を示す平面図であり、本発明
により、フレームの順序を関連性の高いものから表示し
ている。
FIG. 19 is a plan view showing a screen displayed by designating the item “frame” shown in FIG. 18, and according to the present invention, the order of frames is displayed in descending order of relevance.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 原 田 稔 千葉県富津市新富20−1 新日本製鐵株式 会社技術開発本部内 (72)発明者 大 谷 功 千葉県富津市新富20−1 新日本製鐵株式 会社技術開発本部内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Minoru Harada Minoru 20-1 Shintomi, Futtsu-shi, Chiba Nippon Steel Co., Ltd. Technology Development Division (72) Inventor Isao Otani 20-1 Shintomi, Futtsu-shi, Chiba New Nippon Steel Co., Ltd.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 エキスパートシステムの知識表現方法
を、推論制御知識,動的知識,静的知識および不確実な
知識に体系化し、汎用的な表形式のエディター画面を利
用することによりエキスパートシステムを構築する方法
において、静的知識が含まれている動的知識を入力編集
する際、(A)体系化された静的知識ごとに入力候補を
作成し、(B)上記入力候補名称と動的知識名称との類
似度を各々計算し、類似度が高い順に表示し、(C)エ
キスパートシステム構築者に選択入力させる、ことを特
徴とする、エキスパートシステムにおける動的知識を入
力・編集する方法。
1. An expert system is constructed by systematizing the knowledge representation method of the expert system into inference control knowledge, dynamic knowledge, static knowledge and uncertain knowledge, and using a general-purpose tabular editor screen. Method, when inputting and editing dynamic knowledge including static knowledge, (A) creating input candidates for each systematic static knowledge, and (B) input candidate name and dynamic knowledge A method for inputting / editing dynamic knowledge in an expert system, characterized in that the degree of similarity with a name is calculated and displayed in descending order of similarity, and (C) the expert system builder is made to select and input.
JP6059244A 1994-03-29 1994-03-29 Method for inputting and editing dynamic knowledge of expert system Withdrawn JPH07271602A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6059244A JPH07271602A (en) 1994-03-29 1994-03-29 Method for inputting and editing dynamic knowledge of expert system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6059244A JPH07271602A (en) 1994-03-29 1994-03-29 Method for inputting and editing dynamic knowledge of expert system

Publications (1)

Publication Number Publication Date
JPH07271602A true JPH07271602A (en) 1995-10-20

Family

ID=13107788

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6059244A Withdrawn JPH07271602A (en) 1994-03-29 1994-03-29 Method for inputting and editing dynamic knowledge of expert system

Country Status (1)

Country Link
JP (1) JPH07271602A (en)

Similar Documents

Publication Publication Date Title
JP4140980B2 (en) A syntax-independent display method for computer programs that display program trees.
US5790760A (en) Program generating apparatus and method thereof
JP3136035B2 (en) Automatic layout generator for database system interface and method for generating the same
US4742467A (en) Automated programming system for machine creation of applications program source code from non-procedural terminal input
JPH01309185A (en) Computer aided designing system for asic
JP3871832B2 (en) Data processing program automatic generation system and method, and computer-readable recording medium
US5781905A (en) Program generating method combining data item part with database manipulation part
US7272544B2 (en) Integrated modeling through symbolic manipulation
JPH07271602A (en) Method for inputting and editing dynamic knowledge of expert system
JP6993573B2 (en) Program analysis method, program analysis device and program analysis program
JPH0588863A (en) Program development supporting system
KR100407009B1 (en) Program reproducing method and device, and medium on which a program for program reproduction recording
JPH07271588A (en) Knowledge input method for example base inference
JPH04190425A (en) Knowledge information input method of expert system
CA2144483A1 (en) Methods and apparatus for reverse engineering a program and generating an object-oriented redesign
JP2585311B2 (en) How to create a program
JP3069050B2 (en) Program conversion method
JP3307461B2 (en) Inference equipment
JPH0969041A (en) Generation support method for software component
JPH05274130A (en) Device for information processing and method thereof
Darlington Software development using functional programming languages
JPH07104876B2 (en) Design support method and design support apparatus
JP2004213698A (en) System, method and computer readable storage medium for automatic generation of data processing program
JPH0695862A (en) Instruction string optimization supporting device
WO2006115229A1 (en) System program, processor, recording medium, program creating assisting device, data structure, and program creating method

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: 20010605