JPH07271588A - Knowledge input method for example base inference - Google Patents

Knowledge input method for example base inference

Info

Publication number
JPH07271588A
JPH07271588A JP6059245A JP5924594A JPH07271588A JP H07271588 A JPH07271588 A JP H07271588A JP 6059245 A JP6059245 A JP 6059245A JP 5924594 A JP5924594 A JP 5924594A JP H07271588 A JPH07271588 A JP H07271588A
Authority
JP
Japan
Prior art keywords
knowledge
case
input
dynamic
fact
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
JP6059245A
Other languages
Japanese (ja)
Inventor
Shinji Wakizaka
阪 信 治 脇
Nobuo Sumita
田 伸 夫 住
Takahide Tetsu
恭 秀 鉄
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 JP6059245A priority Critical patent/JPH07271588A/en
Publication of JPH07271588A publication Critical patent/JPH07271588A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To input expert knowledge in an expert system by the operator at the job site and to improve the development efficiency and quality of the expert system using example base inference by using the editor screen of a general chart form for inputting knowledge. CONSTITUTION:First, the knowledge base registration 2-1 of a knowledge name and a version, etc., is performed for respective problems to be objects. Then, the input and editing 2-2 of static knowledge (a fact, a constant and external function definition) and example knowledge are performed. They are used in dynamic knowledge and dynamic example knowledge (the rules of forms that are 'If..., ... is done' and 'If the example of ... is present, ... is done'). Then, the input and editing 2-3 of inference control knowledge (meta rules) for deciding the structure and inference method of the dynamic knowledge and the dynamic example knowledge are performed. Finally, the input and editing 2-4 of the dynamic knowledge and the dynamic example knowledge are performed and the expert system is constructed. Since the editor screen of the chart form is filled by words used daily by a user, grammar is simplified and facilitated and the need of the knowledge of a high level relating to AI is eliminated.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、例えば、鉄鋼業におけ
る品質設計や受注可否判定等の過去の多量な設計事例や
判定事例の利用が有効なエキスパートシステムを構築す
る上での、知識表現方法、知識入力編集方法に関するも
のである。計算機の専門知識を知らない現場の操業者が
自らの持つ専門知識をエキスパートシステムに入力した
い場合、エキスパートシステムの開発効率,品質,保守
性の向上を図りたい場合に利用すると有用である。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention is a knowledge representation method for constructing an expert system in which it is effective to use a large amount of past design cases and judgment cases such as quality design and order acceptance judgment in the steel industry. , The knowledge input editing method. This is useful when a field operator who does not know the specialized knowledge of a computer wants to input his or her own specialized knowledge into the expert system, or when it is desired to improve the development efficiency, quality, and maintainability of the expert system.

【0002】[0002]

【従来の技術】前向き推論のエキスパートシステムの知
識入力を表形式のエディターで行えるようにする技術は
すでに存在する(特開平04−190425号公報)。
それは、エキスパートシステムの知識表現方法を、推論
制御知識,動的知識,静的知識,および不確実な知識の
4種類に体系化し、それぞれについて知識を入力するた
めの表形式のエディター画面(ルール,メタルール,フ
レーム,ファクト,ファジー,定数,確信度付きデー
タ,外部関数)を使用し知識の入力編集を行う技術であ
る。
2. Description of the Related Art There is already a technique for enabling knowledge input of a forward reasoning expert system by 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, This is a technology for inputting and editing knowledge using meta-rules, frames, facts, fuzzy, constants, data with certainty, external functions).

【0003】[0003]

【発明が解決しようとする課題】一方、過去の問題解決
事例に基づいて現在の問題の解決を行う事例ベース推論
を適用する技術(特開平03−132826号公報)は
存在するが、このような事例ベース推論の知識入力を表
形式のエディターで行えるようにする技術は存在せず、
事例ベース推論の知識入力をする際には、通常、AI言
語によりフリーフォーマットで知識入力を行なってい
た。
On the other hand, there is a technique (Japanese Patent Laid-Open No. 03-132826) that applies case-based reasoning for solving a current problem based on past problem-solving cases. There is no technology that enables knowledge input of case-based reasoning with a tabular editor,
When inputting knowledge in case-based reasoning, knowledge is usually input in a free format in AI language.

【0004】従来、事例ベース推論を用いたエキスパー
トシステムを構築する場合、知識表現のレベルが低く、
柔軟性に欠けており、エキスパートシステムの開発効
率,品質,保守性で問題が生じていた。また、AI言語
の文法が複雑で、高度なAIに関する専門知識を要し、
計算機の専門家以外の人が使いこなすのは困難で、シス
テム開発及び変更に効率よく、またきめ細かに対処でき
ない問題もあった。
Conventionally, when constructing an expert system using case-based reasoning, the level of knowledge representation is low,
It lacked flexibility and had problems with the development efficiency, quality, and maintainability of the expert system. Moreover, the grammar of the AI language is complicated and requires a high level of expertise on AI.
It was difficult for a person other than a computer expert to use it effectively, and there were problems that system development and changes could not be handled efficiently and could not be handled in detail.

【0005】この発明は、従来のエキスパートシステム
の知識入力方法を改良して、事例ベース推論の知識入力
も行えるようにし、計算機の専門知識を知らない現場の
操業者が自ら専門知識をエキスパートシステムに入力可
能とすることで、事例ベース推論を用いたエキスパート
システムの開発効率,品質,保守性の向上を図ることを
目的とする。
The present invention improves the conventional knowledge input method of the expert system so that the knowledge input of case-based reasoning can also be performed so that the operator in the field who does not know the specialized knowledge of the computer can convert the specialized knowledge into the expert system. The purpose is to improve the development efficiency, quality, and maintainability of the expert system using case-based reasoning by enabling input.

【0006】[0006]

【課題を解決するための手段】本発明では、事例ベース
推論を用いたエキスパートシステムの知識表現方法を、
推論制御知識,動的知識,静的知識,過去の問題解決事
例の集合である事例知識、および、現在解決しようとす
る問題と類似性の高い事例知識を検索し類似度合により
修正しその結果を新たな問題解決事例として格納する動
的事例知識、の5種類に体系化し、それぞれについて、
知識を入力するための汎用的な表形式のエディター画面
を表示し、該エディター画面に表示した欄宛に入力され
た情報を読み込み編集する。
According to the present invention, a knowledge representation method for an expert system using case-based reasoning is provided.
Inference control knowledge, dynamic knowledge, static knowledge, case knowledge that is a set of past problem solving cases, and case knowledge that is highly similar to the problem to be solved at present are searched and corrected according to the degree of similarity, and the result is Systematize into 5 types of dynamic case knowledge, which is stored as new problem solving cases, and
A general-purpose tabular editor screen for inputting knowledge is displayed, and the information input to the fields displayed on the editor screen is read and edited.

【0007】[0007]

【作用】すなわち、事例ベース推論を用いたエキスパー
トシステムの知識表現方法を、推論制御知識,動的知
識,静的知識,過去の問題解決事例の集合である事例知
識、および、現在解決しようとする問題と類似性の高い
事例知識を検索し類似度合により修正しその結果を新た
な問題解決事例として格納する動的事例知識、に体系化
し、それぞれについて知識を入力する。
[Action] That is, the knowledge representation method of the expert system using case-based reasoning is attempted to solve inference control knowledge, dynamic knowledge, static knowledge, case knowledge which is a set of past problem solving cases, and present knowledge Dynamic case knowledge, which retrieves case knowledge that is highly similar to the problem, corrects it according to the degree of similarity, and stores the result as a new problem solving case, and inputs the knowledge about each.

【0008】推論制御知識としては、メタルールエディ
ター画面よりルールの実行制御手順を入力・編集する。
動的知識としては、ルールエディター画面より静的知識
を操作する方法に関する規則(ルール)を入力・編集す
る。静的知識としては、ファクトエディター画面より、
事実,ワークデータ等を記述する宣言的知識を、定数エ
ディター画面より定数を記述する宣言的知識を、外部関
数エディター画面よりルールで使用する外部関数の定義
を入力・編集する。動的事例知識としてはルールエディ
ター画面により、過去の問題解決事例の集合からなる事
例知識の検索,修正,格納に関する規則(ルール)を入
力・編集する。事例知識としては事例定義エディター画
面より、事例として使用する事実,ワークデータ等を記
述する宣言的知識を入力・編集する。
As the inference control knowledge, a rule execution control procedure is input / edited on the metarule editor screen.
For dynamic knowledge, enter / edit rules (rules) regarding how to operate static knowledge from the rule editor screen. As static knowledge, from the fact editor screen,
Enter declarative knowledge to describe facts, work data, etc. declarative knowledge to describe constants from the constant editor screen, and enter / edit the definition of the external function used in the rule from the external function editor screen. As the dynamic case knowledge, a rule editor screen is used to input / edit rules (rules) regarding retrieval, correction, and storage of case knowledge consisting of a set of past problem solving cases. As case knowledge, declarative knowledge describing facts, work data, etc. used as cases is entered and edited from the case definition editor screen.

【0009】更に、表形式のエディター画面に、ユーザ
が日常使う言葉(日本語)で埋めていくので、文法は簡
潔で容易になり、AIに関する高度な知識を不要にし
た。エディター画面は、マルチウィンドウ,マウス,カ
ラーグラフィックスの環境で動作するので、知識入力・
編集作業を効率的に行える。したがって、知識の表現レ
ベルが高くなり、知識入力,編集が容易になった。
Furthermore, since the user fills the tabular editor screen with the words (Japanese) that the user uses everyday, the grammar becomes simple and easy, and no advanced knowledge about AI is required. The editor screen operates in a multi-window, mouse, and color graphics environment,
Editing work can be done efficiently. Therefore, the expression level of knowledge has increased, and knowledge input and editing have become easy.

【0010】[0010]

【実施例】次に本発明の実施例について説明する。この
実施例は、エキスパートシステム開発用計算機により、
熱間圧延ラインの加熱炉からのスラブの抽出ピッチを事
例ベース推論を用いて決定するものである。図1に、本
発明を実施する設備を制御するためのエキスパートシス
テムおよび開発システムを示すブロック図を示す。該ラ
インは設備制御用コンピュータ1−4で稼動および処理
パラメータが制御され、該設備制御用コンピュータ1−
4はその上位のプロセスコンピュータ1−2により制御
データを受ける。該プロセスコンピュータ1−2に、エ
キスパートシステム開発用計算機1−1により決定され
た抽出ピッチが設定され、これに基づいてプロセスコン
ピュータ1−2が、制御データを生成して設備制御用コ
ンピュータ1−4に与える。又は、設備制御用コンピュ
ータ1−4の上位のプロセスコンピュータ1−2に、エ
キスパートシステムオンライン実行用プロセスコンピュ
ータ1−3が接続され、該エキスパートシステムオンラ
イン実行用プロセスコンピュータ1−3に、エキスパー
トシステム開発用計算機1−1により決定されたスラブ
の抽出ピッチが設定され、これに基づいてエキスパート
システムオンライン実行用プロセスコンピュータ1−3
が、制御データを生成して、設備制御用コンピュータの
上位のプロセスコンピュータ1−2に与える。
EXAMPLES Next, examples of the present invention will be described. In this embodiment, the computer for expert system development
The extraction pitch of the slab from the heating furnace of the hot rolling line is determined by using case-based reasoning. FIG. 1 is a block diagram showing an expert system and a development system for controlling equipment for implementing the present invention. Operation and processing parameters of the line are controlled by an equipment control computer 1-4, and the equipment control computer 1-
4 receives control data from the upper process computer 1-2. The extraction pitch determined by the expert system development computer 1-1 is set in the process computer 1-2, and the process computer 1-2 generates control data on the basis of the extracted pitch, and the equipment control computer 1-4 is generated. Give to. Alternatively, the expert system online execution process computer 1-3 is connected to the upper process computer 1-2 of the equipment control computer 1-4, and the expert system online execution process computer 1-3 is connected to the expert system online execution process computer 1-3. The extraction pitch of the slab determined by the computer 1-1 is set, and based on this, the expert system online execution process computer 1-3
Generates the control data and gives it to the process computer 1-2, which is the host computer of the facility control computer.

【0011】以下に説明する、事例ベース推論を用いた
エキスパートシステムの知識入力・表現方法は上記エキ
スパートシステム開発用計算機0−1において実施され
るものである。なお、事例ベース推論を用いたエキスパ
ートシステムを構築する場合、事例ベース推論のみを使
用するのではなく、通常、前向き推論を併用してシステ
ム構築を行う。この実施例の前向き推論に関する部分
(ファクト,定数,外部関数,メタルール)は、特開平
04−190425号公報に開示されたものと同様であ
る。
The knowledge input / representation method of the expert system using case-based reasoning, which will be described below, is implemented in the expert system development computer 0-1. When constructing an expert system using case-based reasoning, not only case-based reasoning is used, but also forward reasoning is usually used together to construct the system. The parts (facts, constants, external functions, metarules) relating to forward inference in this embodiment are the same as those disclosed in Japanese Patent Laid-Open No. 04-190425.

【0012】図2に、エキスパートシステム開発用計算
機1−1における処理の概要を示す。まず対象とする問
題毎に知識名,バージョン等の知識ベース登録2−1を
行なう。次に静的知識(ファクト,定数,外部関数定
義)、事例知識の入力編集2−2を行う。これらは、動
的知識,動的事例知識(もし〜ならば〜どうする、もし
〜という事例があれば〜どうする。という形式のルー
ル)で使用される。次に動的知識,動的事例知識の構
造,推論方法を決める推論制御知識(メタルール)の入
力編集2−3を行う。最後に動的知識,動的事例知識
(ルール)の入力編集2−4を行い、エキスパートシス
テムを構築する。なお、動的知識,動的事例知識で用い
ない上記静的知識は定義する必要はない。
FIG. 2 shows an outline of processing in the expert system developing computer 1-1. First, the knowledge base registration 2-1 such as the knowledge name and version is performed for each target problem. Next, input and edit 2-2 of static knowledge (fact, constant, external function definition) and case knowledge is performed. These are used in dynamic knowledge and dynamic case knowledge (rules of the form: if, what to do, if there is an example to do, what to do). Next, the input editing 2-3 of the inference control knowledge (metarule) that determines the dynamic knowledge, the structure of the dynamic case knowledge, and the inference method is performed. Finally, the dynamic knowledge and dynamic case knowledge (rules) are input and edited 2-4 to construct an expert system. It is not necessary to define the static knowledge that is not used in the dynamic knowledge and the dynamic case knowledge.

【0013】図3に、エキスパートシステムオンライン
実行用プロセスコンピュータ1−3における事例ベース
推論適用エキスパートシステムのオンラインでの実行手
順を示すフローチャートを示す。事例知識3−1に、過
去の問題解決事例の集合が格納されており、動的知識で
記述された前処理3−2で事例ベース推論のための操業
条件の設定等を行う。次に事例検索3−3で現在の問題
用に検索条件を設定後、過去の問題解決事例の集合を検
索し、事例修正3−4で現在の問題と検索された過去の
問題解決事例の集合との類似度を求め、この類似度によ
り過去の問題解決事例で事例ベース推論により求めた設
定結果を修正し、現在の問題の設定値とする。事例格納
3−5で、その結果と現在の問題の操業条件等を問題解
決事例として事例知識3−1に格納し、次回の事例ベー
ス推論用に利用できるようにする。最後に動的知識で記
述された後処理3−6で、今回求めた設定値をプロセス
コンピュータ1−2に伝送する。上述の3−3,3−
4,3−5の一連の処理を、一般的に事例ベース推論と
称す。
FIG. 3 is a flowchart showing an online execution procedure of the case-based reasoning application expert system in the expert system online execution process computer 1-3. The case knowledge 3-1 stores a set of past problem solving cases, and the preprocessing 3-2 described by the dynamic knowledge sets the operating conditions for the case-based reasoning. Next, in case search 3-3, after setting search conditions for the current problem, a set of past problem solution cases is searched, and in case correction 3-4, the current problem and the set of past problem solution cases retrieved are searched. Is calculated, and the setting result obtained by case-based reasoning in the past problem solving case is corrected by this similarity and set as the setting value of the current problem. In the case storage 3-5, the result and the operating conditions of the current problem are stored in the case knowledge 3-1 as a problem solution case so that it can be used for the next case-based reasoning. Finally, in the post-processing 3-6 described by the dynamic knowledge, the set value obtained this time is transmitted to the process computer 1-2. The above 3-3,3-
A series of processes 4 and 3-5 is generally called case-based reasoning.

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

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

【0016】静的知識,事例知識の入力,編集:図2の
2−2 静的知識,事例知識の表現方法として、(1)事例,
(2)ファクト,(3)定数,(4)外部関数定義の4
種類を使用する。これらの知識は、後述する動的知識,
動的事例知識(ルール)で参照又は、書換えられる知識
の名称及びその初期値等を定義するものである。
Input and edit of static knowledge and case knowledge: 2-2 in FIG. 2 As a method of expressing static knowledge and case knowledge, (1) case,
(2) Fact, (3) Constant, (4) 4 of external function definition
Use kind. These knowledge are the dynamic knowledge, which will be described later,
It defines the name of knowledge to be referred to or rewritten by dynamic case knowledge (rule), its initial value, and the like.

【0017】(1)事例:このエディターは、事例ベー
ス推論を行う上で新たに設定したものであり、事例とし
て使用するファクト(事例ファクト)の集合を定義す
る。事例ファクトとは、事例として使用する様々な知識
の事象を「〜の〜が〜である」という形式で表現したも
のである。事例として定義されたファクト名,フィール
ド名,値等は、後述するルール内の条件部「もし〜の〜
が〜という事例があれば」で検索された事例に対して参
照され、ルール実行部の「〜の〜を〜する」で書き換え
られて(修正,格納)、事例を制御するデータとして使
用される。図5の画面の「事例」の項目を指定すると図
12に示す事例定義エディタ画面が表示されるので、こ
の画面により入力する。本画面は、 1)表形式にて知識データを入力する機能部分 区分,事例ファクト,事例フィールド,数,属性,値,
メモ欄 2)上記項目毎の入力方法及び編集方法を選択あるいは
指示する機能部分 図12に1で示す部分 3)入力または表示する画面のページを選択あるいは指
示する機能部分 図12に2で示す部分 4)ユーザにシステムのメッセージを表示する機能部分 メッセージ欄 5)データを入力後、その文法のエラー等、合理性チェ
ックの有無を指定する機能部分 チェック欄 で構成され、知識データは以下の項目を入力する。
(1) Case: This editor is newly set in case-based inference, and defines a set of facts (case facts) used as cases. A case fact is a representation of various knowledge phenomena used as a case in the form of "... The fact name, field name, value, etc. defined as an example can be found in the conditional part "if ~ ~ ~
Is referred to for the case retrieved by ", and is rewritten (corrected, stored) by the rule execution unit's" to perform ~ "and used as data for controlling the case. . When the "Case" item on the screen of FIG. 5 is designated, the case definition editor screen shown in FIG. 12 is displayed. Input on this screen. This screen is: 1) Classification of functional parts for inputting knowledge data in tabular form, case facts, case fields, number, attributes, values,
Memo field 2) Functional portion for selecting or instructing the input method and editing method for each item 3) A portion indicated by 1 in FIG. 12 3) Functional portion for selecting or instructing a page of a screen to be input or displayed 4) Function part message field for displaying a system message to the user 5) After inputting data, it is composed of a function part check field that specifies whether or not there is a rationality check such as grammatical error, and knowledge data consists of the following items. input.

【0018】 区分 ユーザーがデータのグルーピ
ングをしたリ、画面の視認性を向上するために任意に番
号を入力する。省略しても可; 事例ファクト名 知識の名称「〜の」にあたる
ものでユーザーが任意に入力する; 事例フィールド名 知識の項目「〜の〜が」にあ
たるもので、ファクト名と一組で使用する; 事例フィールド要素 事例フィールド名に配列を指
定する事ができ、その際に配列の要素番号を指定する; 事例フィールド配列数 配列のもつ要素の数を入力す
る。
Classification The user groups the data and manually inputs a number to improve the visibility of the screen. Can be omitted; case fact name It is the name of the knowledge "~ no", which the user arbitrarily inputs; Case field name It is the item of knowledge "~ no ~ ga", which is used in combination with the fact name ; Case field element An array can be specified in the case field name, and the element number of the array is specified at that time; Case field array number Enter the number of elements in the array.

【0019】 属性 値の属性(“整数”、“実
数”、“文字列”又は“整数ファイル”、“実数ファイ
ル”、“文字列ファイル”)を入力する; 値 知識の初期値となる値を入力
する;空白とした場合、本システムであらかじめ決めて
いる初期値がセットされる;後述する定数名(先頭に
“!”を付加し入力)も使用可能である;また、プロセ
スコンピュータからの入力も所定のファイルを経由して
可能であり、その場合属性欄に“○○○ファイル”を指
定する; メモ ユーザーが、注釈を残したい
場合に入力する。
Input the attribute of the attribute value (“integer”, “real number”, “character string” or “integer file”, “real number file”, “character string file”); Enter; if left blank, an initial value determined in advance by this system will be set; the constant name described later (input with "!" Added at the beginning) can also be used; input from process computer Is also possible via a predetermined file, in which case specify "○○○ file" in the attribute field; memo Input when the user wants to leave a comment.

【0020】図12は、事例定義エディターの入力例で
ある。まず、事例ファクトとして”スラブ”を3つ定義
しており、その事例フィールドとして”鋼種”,”
幅”,”ピッチ”および”類似度”の4つを定義してい
る。データの属性は”鋼種”と”幅”が整数で、”ピッ
チ”と”類似度”が実数で、各々初期値が値欄に設定さ
れている。図3の、エキスパートシステムオンライン実
行用プロセスコンピュータ1−3におけるオンラインで
の実行手順を示すフローチャートにおいては、事例知識
3−1に相当し、過去の問題解決事例の集合の定義と初
期値を設定したことになる。
FIG. 12 shows an input example of the case definition editor. First, three "slabs" are defined as case facts, and "steel grade", "as the case field.
It defines four parameters, "width", "pitch", and "similarity". Data attributes are "steel grade" and "width" are integers, "pitch" and "similarity" are real numbers, and their initial values are In the flowchart showing the online execution procedure in the expert system online execution process computer 1-3 of FIG. 3, which corresponds to the case knowledge 3-1 of the past problem solving cases. You have set the definition and initial value of the set.

【0021】(2)ファクト:前向き推論で使用する様
々な知識の事象を「〜の〜が〜である」という形式で表
現したもので、図14に示すファクトエディター画面よ
り入力する。画面構成は事例エディターと同様である。
ファクトとして定義されたファクト名,フィールド名,
値等は、後述するルール内の条件部「もし〜の〜が〜で
あれば」で参照され、ルール実行部「〜の〜を〜する」
で書換えられて(更新,削除,生成)、ルールの実行を
制御するデータとして使用される。図14はその入力例
であり、object等の諸元を定義している。objectのidを
1、tempを100とする等、ファクトの名称及び初期値
を設定している。
(2) Fact: Various knowledge phenomena used in the forward inference are expressed in the form of "~ no ~ is ~", which is input from the fact editor screen shown in FIG. The screen structure is the same as the case editor.
Fact name, field name defined as a fact,
Values, etc. are referred to in the conditional part "if ~ ~ ~ is ~" in the rule, which will be described later, and the rule execution part "~ ~ ~ ~ ~".
It is rewritten by (update, delete, generate) and used as data to control the execution of rules. FIG. 14 is an example of the input, and defines specifications such as object. The name of the fact and the initial value are set, for example, id of object is 1 and temp is 100.

【0022】(3)定数:知識の中で事象の基準値など
定まった値を定数名として定義し、仮説ファクト,ファ
クト,ルール等、他の知識で定数名で引用できる。図1
6に示す定数エディターより入力する。画面構成は、事
例定義エディターと同様である。本エディターで定数を
定義することで管理の一元性を保つ事ができ、また、本
画面で値を変更するだけでファクト,ルール等で引用し
ている値が一括して変更されるため開発効率も向上す
る。図16はその入力例であり、 “nullint"は、整数型で -999 “sup3"は、実数型で 1200.0 を入力したことを示す。尚、他画面で本値を引用する場
合は、“!sup3"の様に先頭に“!"を付加し、定数名で
引用する。
(3) Constant: A fixed value such as a reference value of an event in knowledge is defined as a constant name, and it can be quoted by a constant name in other knowledge such as hypothesis facts, facts and rules. Figure 1
Input from the constant editor shown in 6. The screen structure is the same as the case definition editor. By defining constants in this editor, it is possible to maintain unity of management, and by simply changing the values on this screen, the values quoted in facts, rules, etc. can be changed all at once. Also improves. Fig. 16 shows an example of the input, "nullint" is an integer type and -999 "sup3" is a real number type, and 1200.0 is input. When quoting this value on another screen, add "!" At the beginning like "! Sup3" and quote it with a constant name.

【0023】(4)外部関数定義:動的知識,動的事例
知識(ルール)の実行部に於て、ユーザーが作成したサ
ブルーチンをコールしたい場合に、そのサブルーチンの
属性を、図18に示す外部関数定義エディター画面によ
り定義する。画面の構成は、“事例"と同様である;図
18は、その入力例であり、“kadouritu"はC言語で作
成され、入力に整数の引数が2ケある事を定義してい
る。“average"はFORTRANで作成され入力に実数の引数
が2ケあり、結果は関数名そのものに実数型で返される
事を示す。“locate"はC言語で作成され入力に整数の
引数2ケと文字列の引数が1ケあり、結果を文字列デー
タとして返す事を定義している。“average"及び“loca
te"は、ルール実行部にて、外部サブルーチンとして、
コールされる。
(4) External function definition: When a user-created subroutine is desired to be called in the dynamic knowledge and dynamic case knowledge (rule) execution part, the attributes of the subroutine are shown in FIG. Defined by the function definition editor screen. The configuration of the screen is similar to that of the “case”; FIG. 18 is an example of the input, and “kadouritu” is created in C language and defines that the input has two integer arguments. "Average" is created in FORTRAN and has two arguments of real number in the input, and the result shows that the function name itself is returned in the real number type. “Locate” is created in C language and has two integer arguments and one character string argument as input, and defines that the result is returned as character string data. "Average" and "loca
te "is an external subroutine in the rule execution unit.
Be called.

【0024】推論制御知識入力,編集(以下、メタルー
ル):図2の2−3 メタルールとは、後述する動的知識,動的事例知識(ル
ール)をいくつかの知識群にまとめ、あるいは分けて、
その知識群の単位で推論の実行順序を制御するためのも
のである;知識群の実行制御の方法として、図21に示
すメタルールエディター画面にて、あらかじめ決めてお
く方法と、ルール内で実行中に知識群を切り替える方法
があり両者の併用も可能である;図21にメタルールエ
ディター画面を示す。画面の構成は、“事例"と同様で
あり、入力項目は、知識群の実行順序の指定(本実施例
では、行の上から下へ実行する),知識群の名称、及び
競合解消法を指定する。なお、区分,メモ は、事例エ
ディターと同様である;知識群の切り替えタイミング
は、推論実行中当該知識群の中で成立するルールがない
時、または後述するルール内で他の知識群がコールされ
た(開始操作)場合である;図21はその入力例であり
本知識ベース“test1"は3つの知識群より構成される。
Inference control knowledge input / editing (hereinafter referred to as metarule): 2-3 metarule in FIG. 2 is a dynamic knowledge or dynamic case knowledge (rule) described later, which is collected or divided into several knowledge groups. ,
This is for controlling the execution order of inference in units of the knowledge group; as a method of controlling the execution of the knowledge group, a method that is predetermined in the metarule editor screen shown in FIG. There is a method of switching the knowledge group, and both can be used together; Fig. 21 shows the meta-rule editor screen. The configuration of the screen is the same as that of the “case”, and the input items include designation of the execution order of the knowledge group (in this embodiment, execution is from top to bottom), knowledge group name, and conflict resolution method. specify. Note that the division and memo are the same as in the case editor; the knowledge group switching timing is when there is no rule that holds in the knowledge group during inference execution, or another knowledge group is called in the rule described later. FIG. 21 shows an input example thereof, and this knowledge base “test1” is composed of three knowledge groups.

【0025】動的知識 ,動的事例知識入力編集:図2
の2−4 既述した静的知識,事例知識が推論の初期値などを定義
するのに対し、動的知識,動的事例知識は、推論の本体
となる知識である。その形式は、事例ベース推論の場
合、条件部「もし〜の〜が〜という事例が有れば」、実
行部「〜の〜をどうする」という形式となり、前向き推
論の場合は、条件部「もし〜の〜が〜であれば」、実行
部「〜の〜をどうする」という形式で表現する。事例ベ
ース推論の場合も、図23(左半分)および図24(右
半分)に示す同一のルールエディター画面より入力す
る。以下、1画面を表わす図23と図24を、図23+
図24と表現する。
Dynamic knowledge, dynamic case knowledge input editing: FIG.
2-4, the static knowledge and the case knowledge described above define the initial value of the inference, while the dynamic knowledge and the dynamic case knowledge are the knowledge that is the main body of the inference. In case-based reasoning, the form is such that the condition part "if there is a case called ~ no ~ ga ~" and the execution part "what is done about ~", and in the case of forward reasoning, the condition part "if If "of ~ is", "it is expressed in the form of" what to do with ". Also in case-based reasoning, input is made from the same rule editor screen shown in FIG. 23 (left half) and FIG. 24 (right half). 23 and 24 showing one screen are shown in FIG.
Expressed as FIG.

【0026】〈動的知識,動的事例知識の入力方法〉ル
ールエディター画面からルールの属性及び、ルールの内
容を定義する。
<Dynamic Knowledge and Dynamic Case Knowledge Input Method> The rule attributes and rule contents are defined from the rule editor screen.

【0027】(1)ルール属性定義 ルール単位に当該ルール名,知識群名,優先度、及び、
注釈を残したい場合はメモ欄を、入力する。図23+図
24は、その入力例であり、知識群名は“roop"、ルー
ル名は“roop2"、優先度は定数!lower1となっている; (2)ルール内容定義 事例ベース推論の場合は、条件部「もし〜という事例が
あれば」、実行部「〜をどうする」で構成され、前向き
推論の場合は、条件部「もし〜であれば」、実行部「〜
をどうする」より構成される。条件部又は、実行部がな
いルールの記述は不可である。
(1) Rule attribute definition For each rule, the rule name, knowledge group name, priority, and
If you want to leave a comment, enter the memo field. FIG. 23 + FIG. 24 are examples of the input, the knowledge group name is “roop”, the rule name is “roop2”, and the priority is constant! lower1; (2) Rule content definition In case-based reasoning, the condition part "if there is a case called" and the execution part "what to do" are configured, and in the case of forward reasoning, the condition part "If-", the execution unit "-
What to do ". It is not possible to describe a rule without a condition part or an execution part.

【0028】〈条件部〉実行部を実行するのに必要な事
例およびファクトの制約条件ないし、検索条件を記述す
る。本条件部が成立した場合に実行部を実行する。以下
その記述要領について説明する; ファクト名 検索する事例ファクトおよびファク
トを記述する;事例ベース推論の場合は、事例機能の記
述を示す;"@事例"によって、事例を特定する条件を区
切る;第2行目以降は、同一ファクトの場合は本項目
は、空白でも良い。
<Condition part> Describe the case conditions and fact constraint conditions or search conditions necessary to execute the execution part. The execution part is executed when this condition part is satisfied. The following describes the description procedure; Fact name Describes the case facts and facts to be searched; In case-based reasoning, the description of the case function is shown; "@Case" separates the conditions that specify the case; From the second line onwards, this item may be blank if the facts are the same.

【0029】フィールド名 上記に対応する事例フ
ィールドおよびフィールドを記述する。
Field Name Describe case fields and fields corresponding to the above.

【0030】インデックス またファクトで配列要
素を引用する場合は“インデックス”欄にその要素番号
を指定する。
Index When quoting an array element by a fact, the element number is specified in the “index” column.

【0031】値 判定すべく値を次の形式で記述す
る;整数,実数,文字列,定数名(先頭に‘!'を付
加),変数(先頭に‘?'を付加)及びシステムのデフ
ォルト値(記号Nulli等)を記述可;変数の場合はある
値をその変数に束縛する(あてはめる)事を意味する;事
例ベース推論の場合は、事例の最初の行に事例ファクト
の集合を示す事例ポインタ変数を記述する。この事例ポ
インタ変数は、ルール実行部に記述した操作をどの事例
ファクト集合に対して行うのか明記するためのものであ
る。この事例ポインタは、ルール条件部に記述した事例
ファクトの状態に合致した事例ファクトが存在したとき
に取得される。
Value The value to be judged is described in the following format: integer, real number, character string, constant name (prefixed with "!"), Variable (prefixed with "?"), And system default value (Symbol Nulli, etc.) can be described; in the case of a variable, it means to bind (apply) a certain value to the variable; in case of case-based reasoning, the case pointer indicating the set of case facts in the first line of the case Describe variables. The case pointer variable is used to specify for which case fact set the operation described in the rule execution unit is performed. This case pointer is acquired when there is a case fact that matches the state of the case fact described in the rule condition part.

【0032】演算子 “以上”,“以下”,“より
大”,“未満”を指定できる;入力がない場合は等しい
という意味である。
Operators "greater than or equal to", "less than or equal to", "greater than" and "less than" can be specified; it means that there is no input.

【0033】接続詞 各行間の接続関係を指定する;
“であり”,“である”,“とし”,“とする”,“で
なく”,“でない”,“かつ”,“または”,“が存在
しない”,“という事例有”のうちどれか1つを1行毎
に指定する;“でなく”,“でない”は否定の意を表
し、“かつ”,“または”は条件間の接続関係を表す。
“が存在しない”は条件に記述したファクトが一つも存
在しない場合にルールが成立する事を意味する;また、
事例ベース推論の場合は、事例の最初の行は空白とし、
最後の行は“という事例有”を記述する。
Conjunction: Specifies the connection relation between each line;
Which of “is”, “is”, “to”, “to be”, “not”, “not”, “and”, “or”, “does not exist”, and “case exists” One is specified for each line; "not", "not" means negative, and "and", "or" means connection between conditions.
"Is absent" means that the rule is satisfied if there is no fact described in the condition;
For case-based reasoning, leave the first line of the case blank,
The last line describes “There is a case”.

【0034】計算式 条件部及び実行部にて使用してい
る変数に対して、その変数を制約する計算式を使う事が
できる;変数名=式,変数名>式,変数名<式,変数名
>=式,変数名<=式,というフォームで構成し、右辺
は四則演算+,−,*,/及びカッコ( )記号を用い
て通常の数式表現で記述する;また右辺には、定数名
(先頭に‘!'を付加)及びライブラリー関数も使用す
る事が出来る。
Calculation Formula For a variable used in the condition part and the execution part, a calculation formula for constraining the variable can be used; variable name = expression, variable name> expression, variable name <expression, variable Name> = expression, variable name <= expression, and the right-hand side is written in the usual mathematical expression using four arithmetic operations +,-, *, / and parentheses () symbols; and the right-hand side is a constant You can also use the name (add a '!' At the beginning) and the library function.

【0035】図23は条件部の入力例である。@事例で
囲まれた部分にその事例を特定する条件を記述する。そ
して、この条件に合致した事例ファクト集合が事例ポイ
ンタ変数?Jにより取得される。この例では抽出ピッチ
を求める”現スラブ”と類似性のある過去の実績として
格納されている事例ファクト”スラブ”を事例検索して
いる。検索条件としては、図24の計算式の欄で定義し
ているように鋼種が±2を越えない範囲の値 ?G>?GN−2 ?G<?GN+2 ?GN:”現スラブ”の鋼種 ?G :事例ファクト”スラブ”の鋼種 でかつ、幅が”現スラブ”の幅+50以上 ?W>?WN+50 ?WN:”現スラブ”の幅 ?W :事例ファクト”スラブ”の幅 としている。以上は、図3の、エキスパートシステムオ
ンライン実行用プロセスコンピュータ1−3におけるオ
ンラインでの実行手順を示すフローチャートにおいて
は、現在の問題用に検索条件を設定し過去の問題解決事
例の集合を検索する事例検索3−3に相当する。
FIG. 23 is an input example of the condition part. @ Describe the conditions that specify the case in the area enclosed by the case. And the case fact set that matches this condition is a case pointer variable? Obtained by J. In this example, a case fact "slab" that is stored as a past record having a similarity to the "current slab" for which the extraction pitch is obtained is searched for as a case. As the search condition, the value within the range where the steel grade does not exceed ± 2 as defined in the calculation formula column in FIG. 24? G>? GN-2? G <? GN + 2? GN: "Current slab" steel type? G: Case fact Steel type "slab" and width is "width of current slab" + 50 or more? W>? WN + 50? WN: The width of the "current slab"? W: The width of the case fact “slab”. In the flowchart of the online execution procedure of the expert system online execution process computer 1-3 of FIG. 3, the case where search conditions are set for the current problem and a set of past problem solution cases is searched This corresponds to search 3-3.

【0036】〈実行部〉条件部が成立した場合に実行す
る内容を記述する。記述要領は、条件部とほぼ同様であ
るが、操作欄で“をベースに”,“事例修正”,“事例
格納”,“を実行”,“更新”,“削除”,“生成”,
“コール”,“表示”,“開始”を選択指定すること
で、下記機能を実行出来る; 1)ファクトのデータ操作 ファクトの値の“更新”及びその“削除”又は、新しい
ファクトの“生成” 2)事例ファクトにもとづくファクトの修正及び事例フ
ァクトの格納 3)システムであらかじめ準備している標準サブルーチ
ンの“コール” 4)ユーザーが作成したサブルーチン(外部サブルーチ
ン)の“コール” 5)ファクト,事例ファクトデータ等のコンソールへの
“表示” 6)他、知識群への実行権の切換え“開始”。
<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 in the operation column, “based on”, “case modification”, “case storage”, “execute”, “update”, “delete”, “create”,
The following functions can be executed by selecting and specifying "call", "display", and "start"; 1) data manipulation of facts "update" and "delete" of the value of a fact, or "generation" of a new fact. 2) Correction of facts based on case facts and storage of case facts 3) “Call” of standard subroutine prepared in the system 4) “Call” of subroutine (external subroutine) created by user 5) Fact, case fact "Display" such as data on the console 6) In addition, switch "execution" of the execution right to the knowledge group.

【0037】以下機能別にその記述要領及び作用につい
て説明する; 1)ファクトのデータ操作 操作欄が“更新”の場合、対象とするファクト名及びフ
ィールド名(配列要素の場合インデックスを指定)及び
更新する値を指定する。尚、変数を使用する場合は、条
件部又は計算式等で束縛されている必要がある;“生
成”の場合、ファクト名(配列要素の場合インデックス
を指定)及び値を指定する。実行すると新しいファクト
データを生成する;“削除”の場合、ファクト名を指定
する;ルールが実行すると、指定されたファクトデータ
そのものを消去する;(関連するスロットデータ全てを
消去する);図23+図24にその例を記述している。
The description points and functions will be described below for each function; 1) Data operation of fact When the operation column is "update", the target fact name and field name (in the case of array element, specify the index) and update Specify the value. In addition, when using a variable, it is necessary to be bound by a conditional part or a calculation expression; in the case of "creation", a fact name (in the case of an array element, an index is specified) and a 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; (Deletes all related slot data); Figure 23 + Figure An example is described in 24.

【0038】2)事例ファクトにもとづくファクトの修
正及び事例ファクトの格納 操作欄が“事例修正”の場合、指定された事例ファクト
集合(条件部によって取得した事例ポインタ変数によっ
て指定)に計算式の欄で指定された演算を施してファク
トの値を修正する;“事例格納”の場合は、事例修正で
計算された値をもとに事例ファクトを事例知識として追
加格納する;“をベースに”と“を実行”で囲むことに
より、事例ファクトにもとづくファクトの修正と事例フ
ァクトの格納の区切りを設定する;図23(条件部)+
図24(実行部と計算式)にその例を示している。ルー
ルroop2では、条件部で取得された事例ファクト集合?
Jを指定して、“現スラブ”の抽出ピッチ?PNを事例
ベース推論により求め、新たな事例知識として格納して
いる;まず事例検索された事例ファクト集合?Jと、”
現スラブ”との類似度?RNを、計算式の欄で定義され
た次式で計算する; ?RN=分散(?W)×0.1+0.2/偏差(?G) 右辺第1項は、事例検索された事例ファクト集合?Jに
おける幅?Wの分散(標準偏差)に0.1という係数を
掛けた値である;右辺第2項は、事例検索された事例フ
ァクト集合?Jにおける鋼種の?Gの偏差(最大値−最
小値)で0.2という係数を割った値である;上記右辺
第1項と第2項を加えた値でもって、事例検索された事
例ファクト集合?Jと、”現スラブ”との類似度?RN
を、計算する;”現スラブ”の抽出ピッチ?PNは、計
算式の欄で定義された次式で計算する; ?PN=平均(?P)+?RN これは事例検索された事例ファクト集合?Jにおけるピ
ッチ?Pの平均値に類似度?RNを加算している;図3
の、エキスパートシステムオンライン実行用プロセスコ
ンピュータ循1−3におけるオンラインでの実行手順を
示すフローチャートにおいては、現在の問題と検索され
た過去の問題解決事例の集合との類似度を求め、この類
似度により過去の問題解決事例で事例ベース推論により
求めた設定結果を修正し、現在の問題の設定値とする事
例修正3−4に相当する;“事例格納”と記述すること
で、上記で計算した“現スラブ”情報を事例ファクト
“スラブ”に設定し新たな事例知識として格納してい
る。図3の、エキスパートシステムオンライン実行用プ
ロセスコンピュータ1−3におけるオンラインでの実行
手順を示すフローチャートにおいては、問題解決事例と
して次回の事例ベース推論用に利用できるようにする事
例格納3−5に相当する。
2) Correction of Facts Based on Case Facts and Storing of Case Facts When the operation field is "case correction", a calculation formula field is specified in the specified case fact set (specified by the case pointer variable acquired by the condition part). The value of the fact is corrected by performing the operation specified in step 2. In the case of "case storage", the case fact is additionally stored as case knowledge based on the value calculated by the case correction; "based on" By enclosing “execute” with “execute”, a delimiter for fact modification based on case facts and storage of case facts is set; FIG. 23 (conditional part) +
An example thereof is shown in FIG. 24 (execution unit and calculation formula). In rule roop2, is the case fact set obtained in the condition part?
Specify J and select the "current slab" extraction pitch? PN is obtained by case-based reasoning and stored as new case knowledge; case-searched case fact set? J and "
The similarity? RN with the current slab "is calculated by the following formula defined in the calculation formula column;? RN = variance (? W) x 0.1 + 0.2 / deviation (? G) The first term on the right side is , The value of the variance (standard deviation) of the width? W in the case searched case fact set? J multiplied by a coefficient of 0.1; the second term on the right side is the steel type in the case searched case fact set? J. Is a value obtained by dividing the coefficient of 0.2 by the deviation (maximum value-minimum value) of? G; the case fact set? J searched for a case with the value obtained by adding the first term and the second term on the right side. And the degree of similarity with the "current slab"? RN
Calculate the extraction pitch of the "current slab"? PN is calculated by the following formula defined in the formula column :? PN = average (? P) +? RN Is this the case fact set retrieved from the cases? Pitch at J? Similarity to the average value of P? RN is added; Fig. 3
In the flowchart showing the online execution procedure in the expert computer online execution process computer cycle 1-3, the similarity between the present problem and the retrieved past problem solving case set is calculated, and the similarity is calculated by this similarity. Corresponding to the case correction 3-4 in which the setting result obtained by the case-based inference in the past problem solving case is corrected and set as the setting value of the current problem; "case storage" is described to calculate "above". The "current slab" information is set as a case fact "slab" and stored as new case knowledge. The flowchart showing the online execution procedure in the expert system online execution process computer 1-3 of FIG. 3 corresponds to the case storage 3-5 that can be used for the next case-based reasoning as a problem solving case. .

【0039】3)標準サブルーチンのコール処理 操作欄が“コール”の場合、本システム内で標準で準備
しているサブルーチンで本実施例では以下を準備してい
る。尚、記述要領はファクトの項に“%標準”、フィー
ルドの項に下記サブルーチン名、値の項に引数、操作欄
に“コール”と指定する。
3) Call Processing of Standard Subroutine When the operation column is "Call", the following subroutines are prepared as standard subroutines in this system. For the description, specify "% standard" in the item of fact, the following subroutine name in the item of field, argument in the item of value, and "call" in the operation column.

【0040】4)ユーザー作成の外部サブルーチンのコ
ール処理 操作欄が“コール”の場合、ユーザーが作成したFORTRA
N及びC言語のサブルーチンをコールする事が出来る。
記述要領は、ファクトの項に“%外部”、フィールドの
項にサブルーチン名、値の項に引数、操作欄に“コー
ル”と指定する。あらかじめ外部関数エディターにて引
数の属性等を定義しておく必要がある。引数は、整数、
実数、文字列、定数名、変数が使用出来、複数ある場合
は‘ 、’で区切って記述する。
4) Call processing of user-created external subroutine When the operation field is "call", FORTRA created by the user
It is possible to call N 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 column. It is necessary to define the attributes of arguments in advance in the external function editor. The argument is an integer,
Real numbers, character strings, constant names, and variables can be used. If there are multiple numbers, separate them with ',' and describe.

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

【0042】6)他知識群への実行権の切換え 操作欄が“開始”の場合、通常メタルールで定義した順
で知識群が実行されるがルール実行部で指定する知識群
を実行する事が出来る。尚、指定した知識群を実行した
あとは、他のルールで変更されない限りメタルールで定
義している当該知識群以降の知識群が順を追って実行さ
れる。記述要領は、ファクトの項に起動する知識群名を
指定し、操作欄に“開始”と指定する。
6) 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.

【0043】以上、事例ベース推論を用いたエキスパー
トシステムの知識の入力、編集方法について説明した
が、入力および集編された知識のプロセス生成,推論実
行,知識の検証,オンライン用プロセス生成機能なども
計算機のうえで既にシステム化を完了している。
Although the method of inputting and editing the knowledge of the expert system using the case-based reasoning has been described above, process generation of the input and compiled knowledge, inference execution, knowledge verification, online process generation function, etc. are also available. Systemization has already been completed on a computer.

【0044】[0044]

【発明の効果】以上説明した様に本発明によれば事例ベ
ース推論を用いたエキスパートシステムを構築し、また
保守するうえで、 1)高度なエキスパートシステムに関する言語等の専門
知識を要さず、容易に事例ベース推論を用いたエキスパ
ートシステムを構築でき、そのソフトウェア生産性,保
守性が大幅に向上する、 2)従来のツールに事例ベース推論機構を持たせること
により、高度でより応用的なエキスパートシステムを開
発できる、という効果である。尚、図25および図26
に、開発効率について従来のAI言語でのシステム構築
例と比較した一例を示す。
As described above, according to the present invention, in constructing and maintaining an expert system using case-based reasoning, 1) it does not require specialized knowledge such as a language related to an advanced expert system, An expert system using case-based reasoning can be easily constructed, and its software productivity and maintainability are greatly improved. 2) By providing a case-based reasoning mechanism to conventional tools, an expert with higher application The effect is that the system can be developed. 25 and 26
An example of the development efficiency compared with a conventional system construction example using the AI language is shown in FIG.

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

【図1】 本発明を実施する設備を制御するためのエキ
スパートシステムおよび開発システムを示すブロック図
である。
FIG. 1 is a block diagram illustrating an expert system and a development system for controlling equipment implementing the present invention.

【図2】 本発明を実施するエキスパートシステム開発
用計算機における、エキスパートシステムへの知識の入
力,編集手順を示すフローチャートである。
FIG. 2 is a flowchart showing a procedure for inputting and editing knowledge to an expert system in an expert system developing computer for carrying out the present invention.

【図3】 エキスパートシステムオンライン実行用プロ
セスコンピュータにおける事例べース推論適用エキスパ
ートシステムのオンラインでの実行手順を示すフローチ
ャートである。
FIG. 3 is a flowchart showing an on-line execution procedure of the case-based reasoning application expert system in the expert system online execution process computer.

【図4】 エキスパートシステム開発用計算機のCRT
に表示する知識入力・編集のための全体表示画面を示す
平面図である。
[Fig. 4] CRT of a computer for expert system development
It is a top view which shows the whole display screen for the knowledge input / edit displayed on.

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

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

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

【図8】 図4に示す項目「知識ベース」を指定したと
きの表示画面を示す平面図であり、知識入力・編集にお
ける本願発明の一実施例の表示画面の一具体例を示した
もので、知識ベース編集画面の入力例である。
FIG. 8 is a plan view showing a display screen when the item “knowledge base” shown in FIG. 4 is designated, showing a specific example of the display screen of the embodiment of the present invention in knowledge input / editing. Is an input example of a knowledge base editing screen.

【図9】 図8の表示画面の項目「知識ベースコピー」
を指定したときの表示画面を示す平面図である。
9] The item "knowledge base copy" on the display screen of FIG.
FIG. 6 is a plan view showing a display screen when is designated.

【図10】 図8の表示画面の項目「知識ベース登録」
を指定したときの表示画面を示す平面図である。
FIG. 10: “Knowledge base registration” item on the display screen of FIG.
FIG. 6 is a plan view showing a display screen when is designated.

【図11】 図8の表示画面の項目「知識ベース削除」
を指定したときの表示画面を示す平面図である。
FIG. 11: “Delete Knowledge Base” item on the display screen of FIG.
FIG. 6 is a plan view showing a display screen when is designated.

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

【図13】 図12に示す属性欄を入力しようとした場
合の表示画面を示す平面図である。
FIG. 13 is a plan view showing a display screen when an attribute field shown in FIG. 12 is input.

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

【図15】 図14の属性欄を入力しようとした場合の
表示画面を示す平面図である。
FIG. 15 is a plan view showing a display screen when an attribute field in FIG. 14 is to be input.

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

【図17】 図16の属性欄を入力しようとした場合の
表示画面を示す平面図である。
FIG. 17 is a plan view showing a display screen when an attribute field shown in FIG. 16 is input.

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

【図19】 図18の属性欄を入力しようとした場合の
表示画面を示す平面図である。
FIG. 19 is a plan view showing a display screen when an attribute field in FIG. 18 is to be input.

【図20】 図18の属性欄を入力しようとした場合の
表示画面を示す平面図である。
FIG. 20 is a plan view showing a display screen when an attribute field in FIG. 18 is to be input.

【図21】 図5に示す項目「メタルール」を指定した
ときに表示される画面を示し、知識入力・編集における
定数エディター画面の入力具体例を示す。
FIG. 21 shows a screen displayed when the item “meta rule” shown in FIG. 5 is specified, and shows a specific input example of a constant editor screen in knowledge input / editing.

【図22】 図21の競合解消欄を入力しようとした場
合の表示画面を示す平面図である。
22 is a plan view showing a display screen when an attempt is made to input a conflict resolution field in FIG. 21. FIG.

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

【図24】 図5に示す項目「ルール」を指定し更にそ
れによって表示されたルールリストより指定することに
より表示される画面の右半分を示す平面図であり、知識
入力・編集におけるルールエディター画面の入力具体例
である。図23の分割線(仮想線)DLと図24の分割
線DLを重ね合わせることにより、一画面の全体が完成
する。
FIG. 24 is a plan view showing the right half of the screen displayed by designating the item “rule” shown in FIG. 5 and further designating from the rule list displayed thereby, and is the rule editor screen in knowledge input / editing. Is a concrete example of input of. The whole one screen is completed by superposing the dividing line (virtual line) DL of FIG. 23 and the dividing line DL of FIG.

【図25】 従来のAI言語でのシステム構築と本願発
明によるシステム構築の、開発期間を示すグラフであ
り、図中「開発ツール」が本願発明を使用した場合を示
す。
FIG. 25 is a graph showing the development period of the conventional system construction in the AI language and the system construction according to the present invention, showing the case where the “development tool” in the figure uses the present invention.

【図26】 従来のAI言語でのシステム構築と本願発
明によるシステム構築の、開発期間を示すグラフであ
り、図中「開発ツール」が本願発明を使用した場合を示
す。
FIG. 26 is a graph showing the development period of the conventional system construction in the AI language and the system construction according to the present invention, showing the case where the “development tool” in the figure uses the present invention.

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

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 事例ベース推論を用いたエキスパートシ
ステムの知識表現方法を、推論制御知識,動的知識,静
的知識,過去の問題解決事例の集合である事例知識、お
よび、現在解決しようとする問題と類似性の高い事例知
識を検索し類似度合により修正しその結果を新たな問題
解決事例として格納する動的事例知識、の5種類に体系
化し、それぞれについて、知識を入力するための汎用的
な表形式のエディター画面を表示し、該エディター画面
に表示した欄宛に入力された情報を読み込編集する、事
例ベース推論の知識入力方法。
1. An attempt is made to solve a knowledge representation method of an expert system using case-based reasoning, inference control knowledge, dynamic knowledge, static knowledge, case knowledge which is a set of past problem solving cases, and present knowledge. A general-purpose system for inputting knowledge about 5 types of dynamic case knowledge, which retrieves case knowledge with high similarity to the problem, corrects it according to the degree of similarity, and stores the result as a new problem solving case. A knowledge input method for case-based reasoning, in which a tabular editor screen is displayed, and the information entered in the fields displayed on the editor screen is read and edited.
JP6059245A 1994-03-29 1994-03-29 Knowledge input method for example base inference Pending JPH07271588A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6059245A JPH07271588A (en) 1994-03-29 1994-03-29 Knowledge input method for example base inference

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6059245A JPH07271588A (en) 1994-03-29 1994-03-29 Knowledge input method for example base inference

Publications (1)

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

Family

ID=13107815

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6059245A Pending JPH07271588A (en) 1994-03-29 1994-03-29 Knowledge input method for example base inference

Country Status (1)

Country Link
JP (1) JPH07271588A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009113328A1 (en) 2008-03-10 2009-09-17 新日本製鐵株式会社 Operation support device, operation support method, and computer program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009113328A1 (en) 2008-03-10 2009-09-17 新日本製鐵株式会社 Operation support device, operation support method, and computer program

Similar Documents

Publication Publication Date Title
US4742467A (en) Automated programming system for machine creation of applications program source code from non-procedural terminal input
US5469538A (en) Mathematical document editor and method performing live symbolic calculations for use with an electronic book
US5526475A (en) Method for live symbolic calculations in a mathematical document editor
US5664129A (en) Visual programming method
EP0358492A2 (en) A spreadsheet system
JP2010079931A (en) Method of providing access to object parameter within simulation model
US5781905A (en) Program generating method combining data item part with database manipulation part
US5767853A (en) Computer operating method and computer operated thereby
JPH07271588A (en) Knowledge input method for example base inference
Browne et al. Methods for building adaptive systems
JPH03218527A (en) Plan-type inference device
JPS62197826A (en) Production of system flow specifications
EP0180636A1 (en) Automated application program development system and method
JPH06290046A (en) Method for inputting knowledge of hypothetical inference
JPH06332909A (en) Plan managing system
JP2004070694A (en) System and method for forming flow of working process and executing it
JPH04190425A (en) Knowledge information input method of expert system
JPH0588863A (en) Program development supporting system
JPH07271602A (en) Method for inputting and editing dynamic knowledge of expert system
JPH0581355A (en) Design procedure supporting device
JPH07104876B2 (en) Design support method and design support apparatus
JP3646376B2 (en) Information management apparatus and information management method
JP4041681B2 (en) Image data editing method and image data editing apparatus
JP4352941B2 (en) Design work support device
JP2937381B2 (en) Integrated circuit design method and design apparatus