JPH0486922A - Knowledge editter - Google Patents

Knowledge editter

Info

Publication number
JPH0486922A
JPH0486922A JP20325290A JP20325290A JPH0486922A JP H0486922 A JPH0486922 A JP H0486922A JP 20325290 A JP20325290 A JP 20325290A JP 20325290 A JP20325290 A JP 20325290A JP H0486922 A JPH0486922 A JP H0486922A
Authority
JP
Japan
Prior art keywords
rule
data
input
parameter
template
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
JP20325290A
Other languages
Japanese (ja)
Inventor
Toshiaki Ochiai
敏昭 落合
Minoru Fujii
実 藤井
Osamu Takada
修 高田
Kentarou Oguchi
健太郎 尾口
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.)
Toyota Motor Corp
Toyota Central R&D Labs Inc
Original Assignee
Toyota Motor Corp
Toyota Central R&D Labs Inc
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 Toyota Motor Corp, Toyota Central R&D Labs Inc filed Critical Toyota Motor Corp
Priority to JP20325290A priority Critical patent/JPH0486922A/en
Publication of JPH0486922A publication Critical patent/JPH0486922A/en
Pending legal-status Critical Current

Links

Landscapes

  • Devices For Executing Special Programs (AREA)

Abstract

PURPOSE:To easily and certainly enable operations concerning the input, correction, confirmation, and verification of rule parameter data by displaying the rule parameter data on the screen of an input terminal in a table form. CONSTITUTION:Information concerning a rute template is inputted from an input terminal 18 by a template inputting part 20, rule template data are prepared, and they are temporarily stored in a rule template data base 22. The stored rule template data are read out by a parameter input part 24. Moreover, the item of the rule parameter included by the read rule template data is displayed on the screen of the input terminal 18. And also, the already inputted rule parameter data are read out from a rule parameter data base 26, and displayed while arranged by an item display, that is, in the table form. Thus, the already inputted rule parameter data are displayed in the table form so that the operations of the input, correction, confirmation and verification of the rule parameter can be simplified.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、いわゆるエキスパートシステムにおいて知識
データを作成する知識エディタに関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a knowledge editor for creating knowledge data in a so-called expert system.

[従来の技術] エキスパートシステムは、専門家(エキスパート)の知
識を知識データとして活用し、推論により専門家水準の
情報を提供するシステムである。
[Background Art] An expert system is a system that utilizes the knowledge of experts as knowledge data and provides expert-level information through inference.

エキスパートシステムとしてば、例えば特開昭62−2
93354号公報に記載のものが知られている。このシ
ステムは、いわゆるプロダクションルールに従って入力
されるデータから知識データを作成し、推論を行うシス
テムである。
As an expert system, for example, JP-A-62-2
The one described in Japanese Patent No. 93354 is known. This system is a system that creates knowledge data from input data according to so-called production rules and performs inference.

すなわち、専門家が対話型入力端末を操作し、1f−t
hen文法を有するプロダクションルールに従ってデー
タを入力する。例えば、入力端末の画面上に条件(i 
f)及び結論(then)を入力すべき旨の表示(ルー
ルテンプレートの表示)が行われ、専門家がこれに応じ
て条件及び結論に係るパラメタ(ルールパラメタ)のデ
ータを入力する。システムは、入力されたルールパラメ
タデータをルールテンプレートに代入し、知識データを
作成する。
That is, an expert operates an interactive input terminal and
Input data according to production rules with hen grammar. For example, if the condition (i
A message indicating that f) and conclusion (then) should be input is displayed (display of a rule template), and the expert inputs data of parameters (rule parameters) related to the conditions and conclusion accordingly. The system assigns the input rule parameter data to the rule template and creates knowledge data.

ここで、ルールテンプレートとは、条件及び結論の基本
パターンをいう。例えば、「条件A及びBが満たされた
ときには設備Cを使用する」というパターンか、ルール
テンプレートに相当する。
Here, the rule template refers to a basic pattern of conditions and conclusions. For example, it corresponds to a pattern or a rule template such as "When conditions A and B are met, use equipment C."

このようなルールテンプレートの場合、専門家によって
入力されるルールパラメタデータは、A。
For such a rule template, the rule parameter data input by the expert is A.

B及びCである。B and C.

また、ルールテンプレートは複数個準備することができ
、1個のルールテンプレートを繰り返し用いて複数の知
識データを作成することも可能である。
Furthermore, a plurality of rule templates can be prepared, and one rule template can be repeatedly used to create a plurality of knowledge data.

[発明が解決しようとする課題] 従来のエキスパートシステムにおいては、ルールパラメ
タデータの入力に手間かかかりかつ誤りやすいという問
題点かあった。
[Problems to be Solved by the Invention] Conventional expert systems have had problems in that inputting rule parameter data is time-consuming and error-prone.

すなわち、ルールパラメタデータの入力は、表示されて
いるルールテンプレートに応して所定順序で行わねばな
らない。言い換えれば、プロダクションルールの文法に
従って入力を行わねばならない。このため、入力操作に
慣れない者が操作すると非常に時間がかかることとなり
、あるいは文法を十分に理解しないままで操作すると誤
人力が発生する可能性がある。
That is, input of rule parameter data must be performed in a predetermined order according to the displayed rule template. In other words, input must be made according to the grammar of the production rules. For this reason, if a person who is not accustomed to input operations performs the input operation, it will take a very long time, or if the input operation is performed without a sufficient understanding of the grammar, there is a possibility that human error may occur.

加えて、知識データが一定量以上作成されている場合、
作成されている知識データの修正や確認・検証か困難と
なってしまうという問題点もある。
In addition, if more than a certain amount of knowledge data has been created,
Another problem is that it becomes difficult to modify, confirm, or verify the knowledge data that has been created.

すなわち、知識データは、ルールテンプレートにルール
パラメタデータを代入したものであり、例えばルールテ
ンプレートが同一でルールパラメタのみが異なるものが
入力された場合であっても別個の知識データが作成され
てしまう。この結果、膨大な量の知識データを取扱う必
要か生じ、知識データの修正や確認・検証が不効率で困
難なものとなっていた。具体的には、知識データの修正
や確認・検証の必要から、知識データを対話型入力端末
の画面上に表示しあるいはプリントアウトする等の場合
に煩わしさが生じてしまう。
That is, knowledge data is obtained by substituting rule parameter data into a rule template, and even if, for example, the same rule template but different rule parameters are input, separate knowledge data will be created. As a result, it has become necessary to handle a huge amount of knowledge data, making it inefficient and difficult to modify, confirm, and verify the knowledge data. Specifically, the need to modify, confirm, and verify the knowledge data causes trouble when the knowledge data is displayed on the screen of an interactive input terminal or printed out.

本発明は、このような問題点を解決することを課題とし
てなされたものであり、文法の知識や人力手順への熟練
を要することなく簡易な人力操作でルールパラメタデー
タを正確に人力することを可能とすると共に、入力に係
るデータを簡易に修正、確認・検証することを可能とす
ることを目的とする。
The present invention was made with the aim of solving these problems, and it is an object of the present invention to accurately manually input rule parameter data using simple manual operations without requiring knowledge of grammar or proficiency in manual procedures. The purpose is to make it possible to easily modify, confirm, and verify input data.

[課題を解決するための手段] このような目的を達成するために、本発明の知識エディ
タは、入力端末からルールテンプレートに係る情報を入
力しルールテンプレートデータを作成するテンプレート
入力部と、作成されたルールテンプレートデータを格納
するルールテンプレートデータベースと、ルールテンプ
レートデータベースからルールテンプレートデータを取
り込む手段、取り込まれたルールテンプレートデータに
おけるルールパラメタの項目を入力端末の画面に表示さ
せる手段、ルールパラメタデータを入出力する手段及び
ルールパラメタデータを入力端末の画面に項目表示に揃
えて表示させる手段を有するパラメタ入力部と、入力さ
れたルールパラメタデータを格納するルールパラメタデ
ータベースと、ルールテンプレートデータ及びルールパ
ラメタデータから知識データを作成する知識データ編集
部と、を備えることを特徴とする。
[Means for Solving the Problems] In order to achieve such an object, the knowledge editor of the present invention includes a template input section that inputs information related to a rule template from an input terminal to create rule template data, and a template input section that creates rule template data. A rule template database for storing rule template data, a means for importing rule template data from the rule template database, a means for displaying rule parameter items in the imported rule template data on an input terminal screen, and input/output of rule parameter data. a parameter input unit having means for displaying rule parameter data on the screen of an input terminal in alignment with the item display; a rule parameter database for storing input rule parameter data; A knowledge data editing section that creates data.

[作用] 本発明の知識エディタにおいては、まず、テンプレート
入力部により入力端末からルールテンプレートに係る情
報が入力され、ルールテンプレートデータが作成される
。作成されたルールテンプレートデータは、−旦ルール
テンプレートデータベースに格納される。
[Operation] In the knowledge editor of the present invention, first, information related to a rule template is inputted from an input terminal by the template input unit, and rule template data is created. The created rule template data is then stored in the rule template database.

格納されたルールテンプレートデータは、パラメタ入力
部によって読み出される。更に、読み出されたルールテ
ンプレートデータに含まれるルールパラメタの項目が、
入力端末の画面に表示される。また、すてに入力されて
いるルールパラメタデータがルールパラメタデータベー
スから読み出され、項目表示に揃えて、すなわち表形式
で表示される。使用者たる専門家は、このような表示を
見ながら入力端末を操作し、パラメタ入力部によってル
ールパラメタデータを入力する。
The stored rule template data is read out by the parameter input section. Furthermore, the rule parameter items included in the read rule template data are
displayed on the input terminal screen. Furthermore, the rule parameter data that has already been input is read out from the rule parameter database and displayed in line with the item display, that is, in a table format. The user, the expert, operates the input terminal while viewing such a display and inputs rule parameter data through the parameter input section.

そして、入力されたルールパラメタデータはルールパラ
メタデータベースに格納される。更に、知識データ編集
部によってルールテンプレートデータ及びルールパラメ
タデータから知識データが作成される。
The input rule parameter data is then stored in the rule parameter database. Further, the knowledge data editing section creates knowledge data from the rule template data and the rule parameter data.

このように、本発明においては、入力済みのルールパラ
メタデータが表形式で表示されるため、ルールパラメタ
の入力、修正、確認・検証の作業が簡易化される。また
、入力手順が簡易化されるため、文法の熟知及び入力の
熟練が不要となり、誤入力が防止される。
In this way, in the present invention, inputted rule parameter data is displayed in a table format, thereby simplifying the work of inputting, modifying, and confirming/verifying rule parameters. Furthermore, since the input procedure is simplified, familiarity with grammar and input skills are not required, and erroneous input is prevented.

[実施例] 以下、本発明の好適な実施例について図面を用いて説明
する。
[Examples] Hereinafter, preferred embodiments of the present invention will be described using the drawings.

第1図には、本発明の一実施例に係る知識エディタを用
いたエキスパートシステムの構成が示されている。
FIG. 1 shows the configuration of an expert system using a knowledge editor according to an embodiment of the present invention.

この図に示されるエキスパートシステム10は、本実施
例に係り知識データを編集作成する知慮エディタ12と
、作成された知識データを格納する知識データベース1
4と、入力データに関する推論を知識データを活用して
実行しその結果を出力する推論部16と、を備えている
The expert system 10 shown in this figure includes a wisdom editor 12 that edits and creates knowledge data according to this embodiment, and a knowledge database 1 that stores the created knowledge data.
4, and an inference unit 16 that executes inference regarding input data using knowledge data and outputs the result.

すなわち、知識エディタ12により作成された知識デー
タは、知識データベース14に格納され、推論部16に
よる推論において活用されることになる。
That is, the knowledge data created by the knowledge editor 12 is stored in the knowledge database 14 and is used in the inference by the inference section 16.

知識エディタ12は、入力端末18からルールテンプレ
ートデータを入力するテンプレート入力部20と、ルー
ルテンプレートデータを格納するルールテンプレートデ
ータベース22と、本発明の特徴に係り、入力端末18
からルールパラメタデータを入力するパラメタ入力部2
4と、ルールパラメタデータを格納するルールパラメタ
データベース26と、ルールテンプレートデータ及びル
ールパラメタデータから知識データを編集する知識デー
タ編集部28と、を備えている。
The knowledge editor 12 includes a template input unit 20 that inputs rule template data from the input terminal 18, and a rule template database 22 that stores the rule template data.
Parameter input section 2 for inputting rule parameter data from
4, a rule parameter database 26 that stores rule parameter data, and a knowledge data editing section 28 that edits knowledge data from rule template data and rule parameter data.

以下、この実施例に係る知識エディタ12の動作につい
てより詳細に説明する。
The operation of the knowledge editor 12 according to this embodiment will be explained in more detail below.

この実施例において使用者が知識データを作成しようと
する場合、予めルールテンプレートを設定しておく必要
がある。このルールテンプレートの入力は、使用者によ
る入力端末18の操作によって実行される。
In this embodiment, when a user wants to create knowledge data, it is necessary to set a rule template in advance. Input of this rule template is performed by the user's operation of the input terminal 18.

まず、使用者は入力端末18を操作してルールテンプレ
ートに係るデータ、すなわちルールテンプレートデータ
を入力する。この実施例におけるルールテンプレートデ
ータは、例えば第2図に示されるような構成を有してい
る。
First, the user operates the input terminal 18 to input data related to a rule template, that is, rule template data. The rule template data in this embodiment has a structure as shown in FIG. 2, for example.

この図において、ルールテンプレートデータは、ルール
名称部100、日本語表現部102、ルールテンプレー
ト部104及びパラメタ定義部1゜6から構成されてい
る。
In this figure, the rule template data consists of a rule name section 100, a Japanese expression section 102, a rule template section 104, and a parameter definition section 1.6.

ルールテンプレート部104は、知識データの基本パタ
ーンであるルールテンプレートをif〜thenルール
に従い記述する部分である。ルール名称部100は、ル
ールテンプレート部104に記述されているルールの名
称を記述する部分であり、日本語表現部102はルール
テンプレートを日本語で記述する部分である。
The rule template section 104 is a section that describes a rule template, which is a basic pattern of knowledge data, according to if-then rules. The rule name section 100 is a section that describes the name of the rule written in the rule template section 104, and the Japanese expression section 102 is a section that describes the rule template in Japanese.

日本語表現部102の記述においては、ルールパラメタ
が<A>、<B>等の記号で示されている。これらの記
号に係るルールパラメタの属性は、パラメタ定義部10
6において定義される。また、ルールパラメタの個数は
、ルールテンプレート1枚当たり5〜6個程度である。
In the description of the Japanese expression section 102, rule parameters are indicated by symbols such as <A> and <B>. The attributes of the rule parameters related to these symbols are determined by the parameter definition unit 10.
6. Further, the number of rule parameters is approximately 5 to 6 per rule template.

使用者(この場合、システムの設計・製作者であること
が多い)は、このような構成のルールテンプレートデー
タを入力端末の操作によって入力する。テンプレート入
力部2oは、入力されたルールテンプレートデータをル
ールテンプレートデータベース22に格納する。格納可
能なルールテンプレートデータの量は、ルールテンプレ
ートの枚数にして20枚程度である。
A user (in this case, often the designer/producer of the system) inputs rule template data having such a configuration by operating an input terminal. The template input unit 2o stores the input rule template data in the rule template database 22. The amount of rule template data that can be stored is approximately 20 rule templates.

このようにして入力格納されたルールテンプレートデー
タは、知識データの編集において活用されると共に、本
実施例においてはルールパラメタデータの入力に活用さ
れる。
The rule template data input and stored in this manner is utilized in editing knowledge data, and in this embodiment, is utilized for inputting rule parameter data.

第3図には、この実施例におけるルールパラメタの入力
動作が示されている。
FIG. 3 shows the input operation of rule parameters in this embodiment.

使用者(この場合、システムの保守・調整を行う者であ
ることが多い)が入力端末18によるルールパラメタの
入力動作を開始するとき、まず、使用者は、ルールテン
プレートを選択する(200)。すなわち、前述のよう
なルールテンプレートデータの入力動作を繰り返すこと
によって、ルールテンプレートデータベース22には複
数のルールテンプレートデータが格納される。ステップ
200では、例えば、入力端末18の画面上にルールテ
ンプレートがメニュー表示され、使用者はこのうちいず
れかのルールテンプレートを選択する。
When a user (in this case, is often a person who maintains and adjusts the system) starts inputting rule parameters using the input terminal 18, the user first selects a rule template (200). That is, by repeating the operation of inputting rule template data as described above, a plurality of pieces of rule template data are stored in the rule template database 22. In step 200, for example, a menu of rule templates is displayed on the screen of the input terminal 18, and the user selects one of the rule templates.

次に、パラメータ入力部24は、選択されたルールテン
プレートに係るルールテンプレートデータのうち、ルー
ル名称部100を読み出す(202)。読み出されたル
ール名称部100の内容は、入力端末18の画面上に表
示される(204)。
Next, the parameter input section 24 reads out the rule name section 100 from the rule template data related to the selected rule template (202). The read contents of the rule name section 100 are displayed on the screen of the input terminal 18 (204).

第4図にはこの実施例における入力画面の一例が示され
ている。
FIG. 4 shows an example of an input screen in this embodiment.

この図に示されるように、ステップ202において読み
出されたルール名称部100の内容は、入力画面の最上
欄300に表示される。
As shown in this figure, the contents of the rule name section 100 read out in step 202 are displayed in the top column 300 of the input screen.

次に、パラメータ入力部24により、ルールテンプレー
トデータベース22から当該ルールテンプレートデータ
の日本語表現部102が読み出される(206)。
Next, the parameter input section 24 reads out the Japanese expression section 102 of the rule template data from the rule template database 22 (206).

読み出された日本語表現部は、入力端末18の画面上に
表示される(208)。この実施例の場合、ルール名称
が表示されている欄300の下の欄302に、日本語表
現部102の内容たるルールテンプレートの日本語表現
が表示される。
The read Japanese expression part is displayed on the screen of the input terminal 18 (208). In this embodiment, the Japanese expression of the rule template, which is the content of the Japanese expression section 102, is displayed in a column 302 below the column 300 in which the rule name is displayed.

次に、パラメタ入力部24により当該ルールテンプレー
トデータにおけるルールパラメタの個数Mがカウントさ
れる(210)。すなわち、日本語表現部102におい
てく )で囲まれているルールパラメタの個数Mが求め
られる。
Next, the parameter input unit 24 counts the number M of rule parameters in the rule template data (210). That is, the number M of rule parameters surrounded by ) in the Japanese expression section 102 is determined.

この後、パラメタ入力部24は、ルールテンプレート部
104を読み飛ばしく212)、パラメタ定義部106
の読出しを行う(214)。これにより、パラメタ入力
部24はルールパラメタの属性に係る情報を得ることと
なる。
After that, the parameter input section 24 skips the rule template section 104 (212), and the parameter definition section 106.
(214). Thereby, the parameter input unit 24 obtains information regarding the attributes of the rule parameters.

次に、パラメタ入力部24により、ルールパラメタデー
タベース26から当該ルールテンプレートに係る入力済
のルールパラメタデータが読み出される(216)。
Next, the parameter input unit 24 reads input rule parameter data related to the rule template from the rule parameter database 26 (216).

パラメタ入力部24は、更に、入力端末〕8の画面上に
表形式によるルールパラメタの表示を実行する(218
)。
The parameter input unit 24 further displays the rule parameters in a table format on the screen of the input terminal] 8 (218
).

この実施例の場合、ステップ210においてルールパラ
メタの個数Mが求められており、パラメタ入力部24は
この結果に応じて入力端末18の画面上にルールパラメ
タの項目を表示させる。例えば第4図においては、ルー
ルパラメタの組の番号に係る項目の他、ルールパラメタ
<A>及び<B>の項目の表示が行われる。一般的には
、ルールパラメタの個数Mに応じて項目数が定められる
In this embodiment, the number M of rule parameters is determined in step 210, and the parameter input unit 24 displays the rule parameter items on the screen of the input terminal 18 in accordance with this result. For example, in FIG. 4, in addition to items related to the number of rule parameter sets, items for rule parameters <A> and <B> are displayed. Generally, the number of items is determined according to the number M of rule parameters.

更に、これらの項目表示の下方に、パラメタ入力部24
によりルールパラメタデータベース26から読み込まれ
たルールパラメタデータか表示される。すなわち、表示
されている項目と対応する形で、ルールパラメタデータ
が表形式で表示される。例えば、ルールパラメタデータ
か15組ある場合、各組のデータが上から順に表示され
る。1枚の画面で表示可能な組数は入力端末18の画面
の大きさによって、物理的に決定される。
Furthermore, below the display of these items, a parameter input section 24 is provided.
The rule parameter data read from the rule parameter database 26 is displayed. That is, the rule parameter data is displayed in a table format corresponding to the displayed items. For example, if there are 15 sets of rule parameter data, each set of data is displayed in order from the top. The number of sets that can be displayed on one screen is physically determined by the screen size of the input terminal 18.

次に、ファンクションメニューによる機能選択が実行さ
れる(220)。すなわち、パラメタ入力部24により
入力端末18の画面上に機能選択に係るファンクション
メニューが表示される。第4図においては、このファン
クションメニューは入力画面の最下欄304に表示され
る。表示されるファンクションメニューは、例えば、“
追加”“修正”等の機能を示している。すなわち、パラ
メタ入力部24は、ファンクションメニューとして表示
される各機能を有している。使用者はファンクジョンメ
ニューの選択により、パラメタ人力部24の機能を選択
する。
Next, function selection is performed using the function menu (220). That is, the parameter input unit 24 displays a function menu related to function selection on the screen of the input terminal 18. In FIG. 4, this function menu is displayed in the bottom column 304 of the input screen. The displayed function menu is, for example, “
In other words, the parameter input section 24 has each function displayed as a function menu.The user can input the functions of the parameter input section 24 by selecting the function menu. Select a function.

使用者が入力端末18を操作し、ファンクションメニュ
ーを選択すると、この選択結果に応じて機能分岐222
が実行される。使用者が“終了”以外のファンクション
メニューを選択した場合、ステップ224が実行され、
再びステップ220に戻る。すなわち、入力端末18の
操作により“終了”以外のファンクションメニューが選
択された場合には、選択されたファンクションメニュー
に対応する処理が実行され、ファンクションメニューの
選択待ち状態が継続する。
When the user operates the input terminal 18 and selects a function menu, the function branch 222 is performed according to the selection result.
is executed. If the user selects a function menu other than "Exit", step 224 is executed;
Return to step 220 again. That is, when a function menu other than "End" is selected by operating the input terminal 18, the process corresponding to the selected function menu is executed, and the function menu selection waiting state continues.

ステップ224における動作は、選択されたファンクシ
ョンメニューに対応する動作である。例えば“追加”の
ファンクションメニューが選択された場合には、既に入
力済みのルールパラメタデータに続き、次の組のルール
パラメタデータの入力動作が実行される。また、例えば
、“修正”が選択された場合には既に入力済みのルール
パラメタの修正動作が、“削除″が実行された場合には
既に人力されたルールパラメタの削除動作か、“次頁”
または“前頁°か選択された場合には、次頁または前頁
の表示か、それぞれ実行される。
The operation in step 224 is an operation corresponding to the selected function menu. For example, when the "Add" function menu is selected, the input operation for the next set of rule parameter data is executed following the already input rule parameter data. For example, when "Modify" is selected, the action to modify the rule parameters that have already been input is performed, and when "Delete" is executed, the action is to delete the rule parameters that have already been entered manually, or to the "Next page".
Or, if "previous page" is selected, the next page or previous page is displayed, respectively.

なお、これらの動作において、ルールパラメタデータの
属性がステップ214で読み出された属性と一致しない
場合、その旨のコメントの表示及び原状態への復帰(例
えば、入力前の状態への復帰)が実行される。
In addition, in these operations, if the attribute of the rule parameter data does not match the attribute read in step 214, a comment to that effect is displayed and a return to the original state (for example, return to the state before input) is performed. executed.

分岐222において、“終了″が選択されていると判定
された場合には、ステップ226が実行される。このス
テップ226においては、ルールパラメタデータのルー
ルパラメタデータベース26への書き出しが実行される
。すなわち、“終了″が選択された時点でルールパラメ
タデータの追加・修正などの動作か終了する。このとき
、表示に係るルールテンプレートについて必要なルール
パラメタの組が入力済みであると見なせるため、パラメ
タ入力部24によりルールパラメタデータベース26へ
のルールパラメタデータの書き出しが実行される。
If it is determined in branch 222 that "end" is selected, step 226 is executed. In step 226, the rule parameter data is written to the rule parameter database 26. That is, when "end" is selected, the operation of adding or modifying rule parameter data ends. At this time, it can be considered that the necessary set of rule parameters for the rule template to be displayed has been input, so that the parameter input unit 24 writes the rule parameter data to the rule parameter database 26.

ルールパラメタデータの書き出しが実行された後、入力
処理を終了するかどうかの判定228が実行される。例
えば、使用者が入力端末18を操作して入力処理を終了
すべき旨の入力を行うと、入力端末18からの入力が“
終了”を示すものであることが判定228において判定
され処理が終了する。これ以外の場合、ステップ200
に戻り、動作か繰り返される。
After the rule parameter data is written, a determination 228 is made as to whether or not to end the input processing. For example, when the user operates the input terminal 18 and inputs an instruction to end the input process, the input from the input terminal 18 is "
It is determined in decision 228 that the message indicates "end" and the process ends. Otherwise, step 200
and the operation is repeated.

このようにして、ルールパラメタデータベース26に書
き込まれた複数組のルールパラメタデータは、知識デー
タ編集部28における知識データの編集に洪される。
In this way, the plurality of sets of rule parameter data written in the rule parameter database 26 are used to edit the knowledge data in the knowledge data editing section 28.

すなわち、知識データ編集部28は、ルールテンプレー
トデータベース22からルールテンプレートデータを読
み込むと共に、ルールパラメタデータベース26からこ
のルールテンプレートブタに対応するルールパラメタデ
ータを読み込んで、前者に後者を代入することにより、
知識データを作成する。
That is, the knowledge data editing unit 28 reads rule template data from the rule template database 22, reads rule parameter data corresponding to this rule template pig from the rule parameter database 26, and substitutes the latter for the former.
Create knowledge data.

この知識データは例えば第5図に示されるような構成を
有している。
This knowledge data has a structure as shown in FIG. 5, for example.

例えば、ルール名称「優先付はルール」のルールに係る
ルールテンプレートデータかルールテンプレートデータ
ベース22から知謀データ編集部28に取り込まれ、対
応する複数組のルールパラメタデータがルールパラメタ
データベース26から知識データ編集部28に取り込ま
れる。知識データ編集部28においては、取り込まれた
ルールテンプレートデータに係るルールテンプレートに
、ルールパラメタデータベース26から取り込まれたル
ールパラメタを代入して、ルールパラメタデータの各組
に対応する個数の知識データが編集される。例えば「優
先付はルール」に対応するルールパラメタが3組ある場
合、3個の知識データが編集作成される。
For example, rule template data related to a rule with the rule name "Prioritization is a rule" is imported from the rule template database 22 into the intelligence data editing section 28, and corresponding sets of rule parameter data are imported from the rule parameter database 26 into the knowledge data editing section. 28. In the knowledge data editing unit 28, the rule parameters imported from the rule parameter database 26 are substituted into the rule template related to the imported rule template data, and the number of pieces of knowledge data corresponding to each set of rule parameter data is edited. be done. For example, if there are three sets of rule parameters corresponding to "prioritization is a rule", three pieces of knowledge data are edited and created.

このようにして作成された知識データは知識データベー
ス14に格納される。更に、前述のように、推論部16
における推論に供されることとなる。
The knowledge data created in this way is stored in the knowledge database 14. Furthermore, as mentioned above, the inference unit 16
This will be used for inference in the future.

以上の説明では、ルールテンプレートとじて「優先付は
ルール」に係るテンプレートを用いて説明したか、これ
は他のルールに係るものであっても構わない。
In the above explanation, a template related to "prioritization is a rule" was used as a rule template, but this may be related to another rule.

第6図には、「設備割当てルール」に係るルールテンプ
レートデータの例が示されており、第7図にはこのルー
ルテンプレートデータに係る入力画面か示されている。
FIG. 6 shows an example of rule template data related to "equipment allocation rules," and FIG. 7 shows an input screen related to this rule template data.

このようなルールについても、同様の手段によりルール
パラメタの入力、知識データの作成等を行うことか可能
である。
Regarding such rules, it is also possible to input rule parameters, create knowledge data, etc. using similar means.

このように、本実施例によれば、ルールパラメタデータ
を入力する際に、入力端末18の画面上に入力済みのル
ールパラメタが表形式で一覧表示される。このため、入
力済みのルールパラメタを確認・検証し、あるいは追加
入力し、あるいは修正する等の操作を簡易かつ正確に行
えることとなる。
In this manner, according to the present embodiment, when inputting rule parameter data, the inputted rule parameters are displayed in a list in a table format on the screen of the input terminal 18. Therefore, operations such as confirming/verifying, additionally inputting, or modifying the input rule parameters can be easily and accurately performed.

また、ルールテンプレートの内容が日本語により表示さ
れるため、ルールパラメタを入力する際にプロダクショ
ンルールの文法を熟知している必要かなく、あるいは入
力に係る手順に熟練している必要かないため、かかる熟
知ないし熟練を経ていない使用者によっても正確かつ容
易に入力等の操作を行うことが可能となる。
In addition, since the contents of the rule template are displayed in Japanese, it is not necessary to be familiar with the grammar of production rules when inputting rule parameters, or to be proficient in the steps involved in inputting them. Even users who are not familiar or experienced can perform operations such as inputting accurately and easily.

[発明の効果コ 以上説明したように、本発明によれば、ルールパラメタ
データを入力端末の画面上に表形式で表示させるように
したため、ルールパラメタデータの入力、修正、確認・
検証に係る操作が簡易かつ正確となる。また、使用者か
プロダクションルールの文法を熟知し、あるいは入力等
の手順に熟練する必要がなくなるため、エキスパートシ
ステムの使用性を向上させることができる。
[Effects of the Invention] As explained above, according to the present invention, the rule parameter data is displayed in a table format on the screen of the input terminal, so that it is easy to input, modify, confirm, and confirm the rule parameter data.
Verification-related operations become simple and accurate. Furthermore, the usability of the expert system can be improved because the user does not need to be familiar with the grammar of production rules or be skilled in inputting procedures.

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

第1図は本発明の一実施例に係る知識エディタを用いた
エキスパートシステムの構成を示す図、第2図はこの実
施例において取り扱われるルールテンプレートデータの
一例を示す図、第3図はこの実施例におけるルールパラ
メタデータの入力に係る動作の流れを示すフローチャー
ト図、 第4図はこの実施例における入力端末の入力画面の一例
を示す図、 第5図はこの実施例における知識データベースの内容を
示す図、 第6図はこの実施例において取り扱われるルールテンプ
レートデータの他の一例を示す図、第7図はこの実施例
における入力端末の入力画面の他の一例を示す図である
。 10 ・・・ エキスパートシステム 12 ・・・ 知識エディタ 18 ・・・ 入力端末 20 ・・・ テンプレート入力部 22 ・・・ ルールテンプレートデータベース24 
・・・ パラメタ入力部 26 ・・・ ルールパラメタデータベース28 ・・
・ 知識データ編集部
FIG. 1 is a diagram showing the configuration of an expert system using a knowledge editor according to an embodiment of the present invention, FIG. 2 is a diagram illustrating an example of rule template data handled in this embodiment, and FIG. 3 is a diagram showing an example of rule template data handled in this embodiment. A flowchart diagram showing the flow of operations related to the input of rule parameter data in this example, Figure 4 is a diagram showing an example of the input screen of the input terminal in this example, and Figure 5 shows the contents of the knowledge database in this example. FIG. 6 is a diagram showing another example of rule template data handled in this embodiment, and FIG. 7 is a diagram showing another example of the input screen of the input terminal in this embodiment. 10... Expert system 12... Knowledge editor 18... Input terminal 20... Template input section 22... Rule template database 24
... Parameter input section 26 ... Rule parameter database 28 ...
・Knowledge Data Editorial Department

Claims (1)

【特許請求の範囲】 入力端末からルールテンプレートに係る情報を入力しル
ールテンプレートデータを作成するテンプレート入力部
と、 作成されたルールテンプレートデータを格納するルール
テンプレートデータベースと、 ルールテンプレートデータベースからルールテンプレー
トデータを取り込む手段、取り込まれたルールテンプレ
ートデータにおけるルールパラメタの項目を入力端末の
画面に表示させる手段、ルールパラメタデータを入出力
する手段及びルールパラメタデータを入力端末の画面に
項目表示に揃えて表示させる手段を有するパラメタ入力
部と、入力されたルールパラメタデータを格納するルー
ルパラメタデータベースと、 ルールテンプレートデータ及びルールパラメタデータか
ら知識データを作成する知識データ編集部と、 を備えることを特徴とする知識エディタ。
[Claims] A template input unit that inputs information related to a rule template from an input terminal to create rule template data; a rule template database that stores the created rule template data; and a rule template database that stores rule template data from the rule template database. means for importing, means for displaying the rule parameter items in the imported rule template data on the screen of the input terminal, means for inputting and outputting the rule parameter data, and means for displaying the rule parameter data on the screen of the input terminal aligned with the item display. A knowledge editor comprising: a parameter input section having a parameter input section; a rule parameter database that stores input rule parameter data; and a knowledge data editing section that creates knowledge data from rule template data and rule parameter data.
JP20325290A 1990-07-31 1990-07-31 Knowledge editter Pending JPH0486922A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP20325290A JPH0486922A (en) 1990-07-31 1990-07-31 Knowledge editter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20325290A JPH0486922A (en) 1990-07-31 1990-07-31 Knowledge editter

Publications (1)

Publication Number Publication Date
JPH0486922A true JPH0486922A (en) 1992-03-19

Family

ID=16470949

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20325290A Pending JPH0486922A (en) 1990-07-31 1990-07-31 Knowledge editter

Country Status (1)

Country Link
JP (1) JPH0486922A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021109027A1 (en) * 2019-12-04 2021-06-10 深圳晶泰科技有限公司 Method and system for managing large number of task input parameters in distributed system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021109027A1 (en) * 2019-12-04 2021-06-10 深圳晶泰科技有限公司 Method and system for managing large number of task input parameters in distributed system

Similar Documents

Publication Publication Date Title
GB2077966A (en) Programming equipment
JP3288460B2 (en) Display data generation apparatus and method
JP3531579B2 (en) Multimedia document generation apparatus and method, and recording medium storing program for causing computer to execute these
JPH0486922A (en) Knowledge editter
JP2005032047A (en) Device, method, program and storage medium for automatically generating file
JPH0954688A (en) Gui design supporting method
JPH05135054A (en) Document processing method
JPH0315779B2 (en)
JP2634480B2 (en) Transition diagram automatic diagram system
JPH0612248A (en) Automatic programming system
JPH01245353A (en) Section number forming system
JPH0594295A (en) Editing device for plural sub files
JP2001005703A (en) Method and system for generating text type file
JPH08115311A (en) Authoring system
JP2003308207A (en) Program specifications preparation system
JPH07210585A (en) Modeling supporting device
JPH05143545A (en) Instruction selection/execution processing system of plural instructions texts
JPH08212161A (en) Job manual preparation supporting system
JPH06214789A (en) Device for supporting fuzzy rule development
JPH10187653A (en) System and method for generating and checking manufacture process flow
JPH0588868A (en) Network definition program developing system
JPH05216645A (en) Text editor with editing level
JPH0498533A (en) Automatic program generating device with macroblock diagram processing function
JPH01243119A (en) Method and device for data definition processing
JPH03259387A (en) Graphic structure data display device with balancing fair copying function