JPH0314130A - Inference controller - Google Patents

Inference controller

Info

Publication number
JPH0314130A
JPH0314130A JP1151447A JP15144789A JPH0314130A JP H0314130 A JPH0314130 A JP H0314130A JP 1151447 A JP1151447 A JP 1151447A JP 15144789 A JP15144789 A JP 15144789A JP H0314130 A JPH0314130 A JP H0314130A
Authority
JP
Japan
Prior art keywords
inference
event
field
queue
controller
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
JP1151447A
Other languages
Japanese (ja)
Inventor
Akihiro Abe
昭博 阿部
Takeshi Nakano
剛 中野
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP1151447A priority Critical patent/JPH0314130A/en
Publication of JPH0314130A publication Critical patent/JPH0314130A/en
Pending legal-status Critical Current

Links

Landscapes

  • Devices For Executing Special Programs (AREA)

Abstract

PURPOSE:To constitute this controller so that an expert system developer can execute an inference of a high level by selecting plural inference systems and combining them freely by leading in inference control information which does not depend on an inference system such as a controller, an event and a queue. CONSTITUTION:The part for executing an inference system and the part for controlling the inference system become separate devices of an inference system executing device 1 and an inference system controller 3, respectively. An inference system control means 34 of the inference system controller 3 determines an event to be executed from a queue storage part 33 in which an execute sequence of an event is stored, in accordance with control information related to the whole inference of a controller storage part 31, and fetches an execution code from an event storage part 32. This execution code is delivered to an inference system executing means 12 and a rule group or a function group is actuated, and generation of a solution is executed. The generated solution is delivered to a user interface device 2 through an inference system control means 34, and brought to output display. In such a way, an expert system developer can execute an inference of a high level by selecting plural inference systems and combining them freely.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、知識を用いるエキスパートシステムの推論制
御装置に関する。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to an inference control device for an expert system using knowledge.

従来の技術 エキスパートシステムはプロトタイプから実用システム
へノ転換期にある。一般に、エキスパートシステムは対
象とするタスクによって、太きく診断型、設計・計画型
、制御型に分けることができる。初期のエキスパートシ
ステム開発は、診断型問題を対象としたものが多かった
。診断型問題、は、解の探索空間が有限であり、観測デ
ータからもっともらしい解の一つを決定するタイプの問
題であシ、エキスハートシステム開発の中では比較的実
用化が容易に行われた。そして、その開発に利用される
推論方式は単一のものでも十分記述力があった。推論方
式とは、専門家から獲得した知識・ノウハウを用いて問
題解決を行うための推論エンジンとその推論エンジンが
扱う知識表現の総称であシ代表的なものとしては、前向
き推論方式や後向き推論方式などがある。前向き推論方
式を採用したエキスパートシステムの典型例としてはD
ENDRALがある。DENDRALについては、ンキ
ャナンおよびフ1イゲンバウムによるデンドラル アン
ド メタデンドラル:ゼア アプリケーションズ ディ
メンション、アーティフィシャル インテリジェンス、
第11巻、1978年(Buchanan、B、and
  Feigenbaum、E、:5へ一/ DENDRAL  and  Me ta−DENDR
AL : The i rAl)pLications
  Dimension、Artifjcial  I
ntelligence、Vol、11.1978)に
記載されている。後向き推論方式を採用したエキスパー
トシステムの典型例としてMMCINがある。MMCI
Nについてはショートリノフヱによるコンピュータ ベ
イスト メディカル コンサルテーションズ:マイシン
 アメリカン エルセニア  1976年(Short
liffe、E、H,:Computer Ba5ed
 Medical Con5ultations:MY
CIN、American Elsenier  19
76、)に記載されている。
Conventional technical expert systems are in the transition period from prototypes to practical systems. In general, expert systems can be broadly divided into diagnostic types, design/planning types, and control types, depending on the target task. Early expert system development was mostly aimed at diagnostic problems. A diagnostic problem is a type of problem in which the search space for solutions is finite and one of the most plausible solutions is determined from observational data. Ta. The inference method used for its development had sufficient descriptive power even if it was a single method. Inference method is a general term for an inference engine that solves problems using knowledge and know-how acquired from experts, and the knowledge representation handled by that inference engine. Typical examples include forward inference method and backward inference method. There are methods etc. A typical example of an expert system that uses forward reasoning is D.
There is ENDRAL. For DENDRAL, see Dendral and Metadendral: There Applications Dimensions, Artificial Intelligence, by Ncannan and Huigenbaum.
Volume 11, 1978 (Buchanan, B. and
Feigenbaum, E.: 5/DENDRAL and Meta-DENDR
AL: The i rAl)pLications
Dimension, Artificial I
Intelligence, Vol. 11.1978). MMCIN is a typical example of an expert system that uses a backward inference method. MMCI
Regarding N, Computer-Based Medical Consultations by Shortlinofe: Mycin American Yersenia 1976 (Short
liffe, E, H,: Computer Ba5ed
Medical Conditions: MY
CIN, American Elsenier 19
76,).

近年、エキスハートシステム開発の対象は診断型から設
計・計画型へとその比重を移してきている。設計・計画
問題とは、拘束条件を満たしながら最適解を求めるタイ
プの問題であり、解の探索空間が無限である。このよう
な設計・計画型問題において解を効率よく求めるために
は、対象問題をいくつかの部分問題に分割することによ
る探索空1j11の限定および効率的な探索を行うだめ
の1IIII論6へ一ジ 制御機能が不可欠である。
In recent years, the focus of Ex-Heart system development has shifted from the diagnostic type to the design/planning type. A design/planning problem is a type of problem in which an optimal solution is sought while satisfying constraint conditions, and the search space for solutions is infinite. In order to efficiently find a solution to such a design/planning type problem, it is necessary to limit the search space 1j11 by dividing the target problem into several subproblems, and to perform an efficient search. control function is essential.

発明が解決しようとする課題 しかし、従来のエキスパートシステムでは、それぞれの
部分問題に最適な知識を自在に組み合わせた高度な推論
制御を容易に行えないという問題点があった。
Problems to be Solved by the Invention However, conventional expert systems have a problem in that they cannot easily perform sophisticated inference control that freely combines the optimal knowledge for each subproblem.

さらに、従来のエキスパートシステムはそれぞれ非常に
限定された問題領域しか扱えず、その推論方式も互換性
がほとんどないため、これら全く異なる推論方式をもつ
複数のエキスパートシステムを協調的に動作させること
による広範囲の問題解決を行えないという問題点があっ
た。
Furthermore, since each conventional expert system can handle only a very limited problem domain and their inference methods are hardly compatible, it is possible to expand the range of problems by coordinating multiple expert systems with completely different inference methods. The problem was that it was not possible to solve the problem.

本発明の目的は、このような従来の課題を解決するため
に、エキスパートシステム開発者が知識を選択し、自在
に組み合わせることによって高度な推論を可能とする推
論制御方式を実現するものである。
An object of the present invention is to realize an inference control method that enables an expert system developer to select and freely combine knowledge to make advanced inferences possible, in order to solve such conventional problems.

課題を解決するだめの手段 本発明の推論制御方式は、推論方式を実行する部分と推
論方式を制御する部分をそれぞれ推論方7、−7 式実行装置と推論方式制御装置という別々の装置とする
○推論方式実行装置は専門家の知識を格納する知識記憶
部と問題解決を行うだめの推論方式を実行する推論方式
実行手段と、推論実行に格納された知識を用いて問題解
決を格納する状況記憶部とから成っている。推論方式実
行装置は推論全体に関する制御情報を格納したコントロ
ーラ記憶部と、実行コードを格納したイベント記憶部と
、イベントの実行順序を格納したキュー記憶部と、各記
憶部の情報にもとづいて推論方式実行装置を制御する推
論方式制御手段から成っている。
Means for Solving the Problem In the inference control method of the present invention, the part that executes the inference method and the part that controls the inference method are separate devices called the inference method 7 and -7 formula execution device and the inference method control device, respectively. ○The inference method execution device has a knowledge storage unit that stores expert knowledge, an inference method execution means that executes the inference method to solve the problem, and a situation where the problem solution is stored using the knowledge stored in the inference execution. It consists of a memory section. The inference method execution device has a controller storage section that stores control information related to the entire inference, an event storage section that stores execution codes, a queue storage section that stores the event execution order, and executes an inference method based on the information in each storage section. It consists of inference type control means for controlling the execution unit.

作    用 上記構成における作用は次のようになる。推論方式実行
装置においては、状況記憶部の既知の事実や仮説に対し
て、知識記憶部に格納された知識を用いながら推論方式
実行手段が解の生成を行う。
Effect The effect in the above configuration is as follows. In the inference method execution device, the inference method execution means generates a solution for the known facts and hypotheses in the situation storage section using the knowledge stored in the knowledge storage section.

推論方式実行装置に実装される知識に対して、推論方式
実行手段も複数存在する。推論方式制御装置においては
、推論方式制御手段がコントローラ記憶部の推論全体に
関する制御情報に従って、イベントの実行順序を格納し
たキュー記憶部から実行すべきイベントを決定し、その
イベント実行によって状況記憶部の装置と、推論全体に
関する制御情報を実行させるかといった情報を含む実行
コードをイベント記憶部から取シ出す。この実行コード
が、推論方式実行手段に渡されてルル群あるいは関数群
が起動され、解の生成が行われる。
There are also multiple inference method execution means for the knowledge implemented in the inference method execution device. In the inference method control device, the inference method control means determines the event to be executed from the queue storage section storing the event execution order according to the control information regarding the entire inference in the controller storage section, and by executing the event, the inference method control means determines the event to be executed from the queue storage section storing the event execution order. Execution code including information such as whether to execute the device and control information regarding the entire inference is retrieved from the event storage unit. This execution code is passed to the inference method execution means, the Lulu group or the function group is activated, and a solution is generated.

生成された解は、推論方式制御手段を介してユーザーイ
ンタフェース装置に渡され、出力手段によって利用者に
出力表示されるものである。
The generated solution is passed to the user interface device via the inference method control means, and is output and displayed to the user by the output means.

コントローラ、イベント、キュー等は推論方式に依存し
ない推論制御情報であシ、したがって知識を自在に選択
し、組み合わせることが容易となる。そのうえ、開発す
るエキスパートシステムごとに最適な推論制御を行うた
めの推論制御情報のカスタマイズが容易となる。これら
によって、設計・計画問題などり複雑な問題を解決する
ことが可能となる。
Controllers, events, cues, etc. are inference control information that does not depend on inference methods, so it is easy to freely select and combine knowledge. Moreover, it becomes easy to customize inference control information to perform optimal inference control for each expert system to be developed. These make it possible to solve complex problems such as design and planning problems.

実施例 以下、本発明の実施例を図面によシ説明する。Example Embodiments of the present invention will be described below with reference to the drawings.

9・\−ン 第1図は、本発明による推論制御方式に基づいた一実施
例のエキスパートシステムの全体構成を示すブロック図
である。推論方式実行装置1は、専門家の知識を格納す
る知識記憶部11および知識記憶部に格納された知識を
用いて問題解決を行うための推論方式を実行する推論方
式実行手段12および推論実行に格納された知識を用い
て問題解決を格納する状況記憶部13から構成される。
9. FIG. 1 is a block diagram showing the overall configuration of an expert system according to an embodiment based on the inference control method according to the present invention. The inference method execution device 1 includes a knowledge storage section 11 that stores knowledge of experts, an inference method execution means 12 that executes an inference method for problem solving using the knowledge stored in the knowledge storage section, and an inference method execution unit 12 that executes an inference method for problem solving using the knowledge stored in the knowledge storage section. It is comprised of a situation storage unit 13 that stores problem solutions using stored knowledge.

ユーザーインタフェース装置2は、利用者側から情報を
入力するだめの入力手段21およびシステム側から情報
を出力するための出力手段22から構成される。推論方
式制御装置3は、推論全体に関する制御情報を格納した
コントローラ記憶部31および状況記憶部13の装置と
、推論全体に関する制御情報を実行させるかという情報
を含、む実行コードを格納したイベント記憶部32およ
びイベントの実行順序を格納したキュー記憶部33およ
びコントローラ記憶部31、イベント記憶部32、キュ
ー記憶部33の情報にもとづいて推論方式装置を制御す
る推論方式制御手段34から構成される。
The user interface device 2 includes an input means 21 for inputting information from the user side and an output means 22 for outputting information from the system side. The inference method control device 3 includes a controller storage unit 31 and a situation storage unit 13 that store control information regarding the entire inference, and an event memory that stores an execution code including information on whether to execute the control information regarding the entire inference. 32, a queue storage section 33 that stores the execution order of events, and an inference method control means 34 that controls the inference method device based on information in the controller storage section 31, event storage section 32, and queue storage section 33.

10/\−ゾ 推論方式制御装置3の推論方式制御手段34は、推論方
式実行装置1の推論方式実行手段12を介して推論方式
実行装置1を制御する。また、ユーザーインタフェース
装置2の、問題入力手段21および解出力22は推論方
式制御装置3の推論方式制御手段34によって制御され
る。
10/\-zo The inference method control means 34 of the inference method control device 3 controls the inference method execution device 1 via the inference method execution means 12 of the inference method execution device 1. Further, the problem input means 21 and the solution output 22 of the user interface device 2 are controlled by the inference method control means 34 of the inference method control device 3.

推論方式実行装置1の推論方式実行手段には、知識を実
行することが可能で、それらを選択し、自在に組合せる
ことによシ広範囲の問題解決に対応することができる。
The inference method execution means of the inference method execution device 1 is capable of executing knowledge, and by selecting and freely combining knowledge, it is possible to solve a wide range of problems.

第2図は、コントローラ記憶部31及びその周辺装置の
構成を示すブロック図である。コントローラ記憶部31
は、推論全体に関する制御情報を格納スるコントローラ
テーブル201から構成さレル。コントローラy −プ
ル201j:、コントローラを一意に識別するコントロ
ーラ名を格納するコントローラ名フィールド202、推
論制御で使用できる複数のキューを格納する使用キュー
フィルド203、推論制御に関与する活性状態キュを格
納する活性状態キューフィールド204、11 ・\−
7 推論制御に関与しない非活性状態キューを格納する非活
性状態キューフィールド205、推論実行において明示
的にキューを指定されない場合に使用されるデフォルト
キューを格納するデフォルトキューフィールド206、
実行開始時に最初に実行されるイベントを格納する開始
イベントフィルド207から構成される。
FIG. 2 is a block diagram showing the configuration of the controller storage section 31 and its peripheral devices. Controller storage unit 31
The controller table 201 is composed of a controller table 201 that stores control information regarding the entire inference. Controller y-pull 201j: Controller name field 202 that stores a controller name that uniquely identifies the controller, Usage queue field 203 that stores multiple queues that can be used in inference control, Stores active status cues related to inference control. Active state cue field 204, 11 ・\-
7. Inactive state queue field 205 that stores an inactive state queue that is not involved in inference control; Default queue field 206 that stores a default queue that is used when no queue is explicitly specified in inference execution;
It consists of a start event field 207 that stores the event that is executed first at the start of execution.

第3図は、イベント記憶部32及びその周辺装置の構成
を示すブロック図である。イベント記憶部32は、状況
記憶部13の装置と、推論全体に関する制御情報を実行
させるかといった情報を含む実行コードを格納したイベ
ントテーブル301から構成される。イベントテーブル
301は、イベントを一意に識別するイベント名を格納
するイベント名フィールド302、イベント実行時に作
用を及はす状況記憶部13の状況を格納する作用状況フ
ィールド303、起動すべきルールを機能単位にモジュ
ール化したルール群を格納する起動ルル群フィールド3
04、起動すべき関数群を格納する起動関数群フィール
ド305、イベントの実行時における優先度を格納する
優先度フィールド306から構成される。
FIG. 3 is a block diagram showing the configuration of the event storage section 32 and its peripheral devices. The event storage unit 32 includes the device of the situation storage unit 13 and an event table 301 that stores an execution code including information such as whether to execute control information regarding the entire inference. The event table 301 includes an event name field 302 that stores an event name that uniquely identifies an event, an action status field 303 that stores the status of the status storage unit 13 that takes effect when the event is executed, and rules that should be activated in functional units. Start Lulu group field 3 that stores the modularized rule group in
04, an activation function group field 305 that stores the function group to be activated, and a priority field 306 that stores the priority at the time of event execution.

第4図は、キュー記憶部33及びその周辺装置の構成を
示すブロック図である。キュー記憶部33は、実行待ち
のイベントを保持するとともに、そのイベント群の登録
・取り出しを決定するための↑j−報を格納するキュー
テーブル401から構成される。キューテーブル401
ば、キューを一意に識別するキュー名を格納するキュ御
名フィールド402、キューからイベントを取り出す方
法を示すイベント取り出しフィールド403、キューへ
のイベント登録方法を示すイベント登録フィールド4.
04、実行待ちのイベントを格納する実行待ちイベント
フィールド405から構成される。
FIG. 4 is a block diagram showing the configuration of the queue storage section 33 and its peripheral devices. The queue storage unit 33 includes a queue table 401 that holds events waiting to be executed and also stores ↑j-information for determining registration/retrieval of the event group. Cue table 401
For example, a queue name field 402 that stores a queue name that uniquely identifies a queue, an event retrieval field 403 that indicates a method for retrieving an event from a queue, and an event registration field 4 that indicates a method for registering an event in a queue.
04, an execution waiting event field 405 that stores an execution waiting event.

第5図は、推論方式制御手段34の処理フローチャート
である。以下、第5図のフローに従って第2図から第4
図寸での構成を参照しながら、コントローラ記憶部31
、イベント記憶部32、キュー記憶部33の制御情報を
用いて推論を制御する推論方式制御手段34の処理を説
明する。
FIG. 5 is a processing flowchart of the inference method control means 34. Below, follow the flowchart in Figure 5 from Figures 2 to 4.
Controller storage unit 31 while referring to the diagrammatic configuration.
, the processing of the inference method control means 34 that controls inference using the control information of the event storage section 32 and the queue storage section 33 will be explained.

13・\−/゛ 推論方式制御手段34が動作を開始すると(ステップ5
00)、まず推論環境の初期化、実行開始イベントのキ
ューへの登録といった前処理を行う(ステップ505)
。すなわち、キューチーフル401の実行待ちイベント
フィールド405を初期化し、コントローラテーブル2
01の開始イベントフィールド207に格納されている
イベントを、デフォルトキューフィールド206に示さ
れているキュー名をもつキューテーブル4.01(7)
レコードの実行待ちイベントフィールド405に格納す
る。
13.\-/゛When the inference method control means 34 starts operating (step 5
00), first perform preprocessing such as initializing the inference environment and registering an execution start event in the queue (step 505).
. That is, the waiting event field 405 of the queue full 401 is initialized, and the controller table 2 is
The event stored in the start event field 207 of 01 is added to the queue table 4.01(7) with the queue name indicated in the default queue field 206.
It is stored in the pending event field 405 of the record.

前処理(505)の終了後、実行するイベントを取シ出
すためのキューを選択する(ステップ510)0すなわ
ち、コントローラテーブル201の活性状態キューフィ
ールド204に格納されている活性状態キューから、実
行待ちイベントをもちミかつ選択優先度が高いキューを
選択する。いずれのキューも活性状態あるいは非活性状
態にあるが、推論制御に関与するのは活性状態キューだ
けである。なお、このキューの状態は4イ1.論実行中
14ヘーノ に応用するプログラム側から動的に変更することが可能
である。
After the preprocessing (505) is completed, a queue for extracting an event to be executed is selected (step 510). Select a queue that has events and has a high selection priority. All cues can be in an active or inactive state, but only the active cue is involved in inference control. The status of this queue is 4i1. It is possible to dynamically change the program from the program side while the logic is running.

キューの選択後、実行するイベントをキューから取り出
す(ステップ515)。すなわち、キューチーフル4 
U 1において、選択されたキューをキュ御名フィール
ド402にもつレコードをみつけ、その実行待ちイベン
トフィールド4−05から、イベント取り出しフィール
ド403に示されている方法でイベントを一つとりだす
After selecting the queue, the event to be executed is taken out of the queue (step 515). That is, cutie full 4
In U1, a record having the selected queue in the queue name field 402 is found, and one event is extracted from the waiting event field 4-05 using the method shown in the event extraction field 403.

イベント取り出し後、そのイベントの実行を行う(ステ
ップ520)。すなわち、イベントテブル301におい
て、取り出されたイベントをイベント名フィールド30
2にもつレコードをみつけ、作用状況フィールド303
に示されている作業テーブルに対して、その起動ルール
フィー/l/ )”304に示されているルールおよび
起動関数フィールド305に示されている関数を起動す
る。このイベントの実行によって新たなイベントが発行
され、キューテーブル401の実行待ちイベントフィー
ルド/I 05 K格納されることがある。
After retrieving the event, the event is executed (step 520). That is, in the event table 301, the extracted event is entered in the event name field 30.
Find the record with 2 and enter the effect status field 303.
The rule shown in the activation rule field 304 and the function shown in the activation function field 305 are activated for the work table shown in the activation rule field 305.A new event is created by executing this event. may be issued and stored in the pending event field /I 05 K of the queue table 401.

イベント実行後、新たに実行すべきイベントかいずれか
のキューに存在するかどうかを調べ(ステップ525)
、存在するならステップ510のキュー選択から処理を
行う。存在しないなら、実行時間・統計情報等を算出す
る後処理(ステップ530)を行って推論全体を終了す
る(ステップ535)。
After the event is executed, check whether there is an event to be newly executed in any queue (step 525).
, if the queue exists, processing starts from queue selection in step 510. If it does not exist, post-processing to calculate execution time, statistical information, etc. (step 530) is performed, and the entire inference is terminated (step 535).

このように推論方式を実行する部分と推論方式を制御す
る部分をそれぞれ推論方式実行装置1と推論方式制御装
置3という別々の装置にすることにより、全く異なる知
識でも自在に選択し、組み合わせることが容易に行える
。さらに、推論方式制御装置3においては、推論制御情
報を記憶するコントローラ記憶部31、イベント記憶部
32、キュー記憶部33と、その制御情報にもとづいて
推論方式実行装置1を制御する推論方式制御手段34を
分離することにより、エキスバトシステムごとにその制
御情報だけを容易にカスタマイズでき、最適々推論制御
を実現することが可能となる。
By making the part that executes the inference method and the part that controls the inference method into separate devices, the inference method execution device 1 and the inference method control device 3, respectively, completely different knowledge can be freely selected and combined. It's easy to do. Further, the inference method control device 3 includes a controller storage section 31, an event storage section 32, a queue storage section 33 that stores inference control information, and an inference method control means that controls the inference method execution device 1 based on the control information. By separating 34, it is possible to easily customize only the control information for each Exbat system, and it becomes possible to realize optimal inference control.

発明の効果 本発明によれば、コントローラ、イベント、キ1−とい
った推論方式に依存しない推論制御情報を導入すること
によシ、エキスパートシステム開発者が知識を選択し、
自在に組み合わせることによって高度な推論を可能とす
る推論制御方式が実現できる。
Effects of the Invention According to the present invention, by introducing inference control information that does not depend on inference methods such as controllers, events, and keys, an expert system developer can select knowledge,
By freely combining them, an inference control system that enables advanced inference can be realized.

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

第1図は、本推論制御方式による一実施例であるエキス
パートシステムの全体構成を示すブロック図、第2図は
、コントローラ記憶部及びその周辺装置の構成を示すブ
ロック図、第3図は、イベント記憶部及びその周辺装置
の構成を示すブロック図、第4図は、キュー記憶部及び
その周辺装置の構成を示すブロック図、第5図は、推論
方式制御手段における処理の流れを示したフローチャト
である。 ■・・推論方式実行装置、2・・・ユーザーインタフユ
ース装置、3・・・推論方式制御装置、11・・知識記
憶部、12・・・推論方式実行手段、13・・・状況記
17・\−7 境部、21・・・入力手段、:31・・・コントローラ
記憶部、32・・・イベント記憶部、33・・キュー記
憶部、34・・推論方式制御手段。
FIG. 1 is a block diagram showing the overall configuration of an expert system that is an example of the present inference control method, FIG. 2 is a block diagram showing the configuration of a controller storage unit and its peripheral devices, and FIG. FIG. 4 is a block diagram showing the configuration of the storage unit and its peripheral devices, FIG. 4 is a block diagram showing the configuration of the queue storage unit and its peripheral devices, and FIG. 5 is a flow chart showing the flow of processing in the inference method control means. be. ■... Inference method execution device, 2... User interface use device, 3... Inference method control device, 11... Knowledge storage unit, 12... Inference method execution means, 13... Situation record 17. \-7 Boundary part, 21... Input means, : 31... Controller storage section, 32... Event storage section, 33... Cue storage section, 34... Inference method control means.

Claims (5)

【特許請求の範囲】[Claims] (1)専門家の知識を格納する知識記憶部、前記知識記
憶部に格納された知識を用いて問題解決を行うための複
数の推論方式を実行する推論方式実行手段および推論実
行における既知の事実や中間結果を格納する状況記憶部
とからなる推論方式実行装置と、推論全体に関する制御
情報を格納したコントローラ記憶部、前記状況記憶部の
どの状況に対してどの推論方式を実行させるかという情
報を含む実行コードを格納したイベント記憶部、イベン
トの実行順序を格納したキュー記憶部、および前記コン
トローラ記憶部、イベント記憶部、キュー記憶部に格納
された情報にもとづいて推論方式実行装置を制御する推
論方式制御手段からなる推論方式制御装置を具備した推
論制御装置。
(1) A knowledge storage unit that stores expert knowledge, an inference method execution means that executes multiple inference methods for problem solving using the knowledge stored in the knowledge storage unit, and known facts in the inference execution. an inference method execution device consisting of a situation storage unit that stores information and intermediate results; a controller storage unit that stores control information regarding the entire inference; and a controller storage unit that stores information about which inference method is to be executed for which situation in the situation storage unit. an event storage section that stores execution codes including an event storage section, a queue storage section that stores an event execution order, and inference that controls the inference method execution device based on information stored in the controller storage section, the event storage section, and the queue storage section. An inference control device comprising an inference control device comprising a method control means.
(2)推論方式制御装置に情報を入力する入力手段およ
び推論方式制御装置から情報を出力する出力手段から成
るユーザーインタフェース装置を具備した請求項1記載
の推論制御装置。
2. The inference control device according to claim 1, further comprising a user interface device comprising input means for inputting information to the inference control device and output means for outputting information from the inference control device.
(3)コントローラ記憶部はコントローラテーブルを具
備し、このコントローラテーブルはコントローラを一意
に識別するコントローラ名を格納するフィールドと、推
論制御で使用する複数のキューを格納するフィールドと
、推論制御に関与する活性状態キューを格納するフィー
ルドと、推論制御に関与しない非活性状態キューを格納
するフィールドと、推論実行において明示的にキューを
指定されない場合に使用されるデフオルトキューを格納
するフィールドと、実行開始時に最初に実行されるイベ
ントを格納するフィールドとを具備してなる請求項1記
載の推論制御装置。
(3) The controller storage unit includes a controller table, and this controller table has a field for storing a controller name that uniquely identifies a controller, a field for storing a plurality of queues used in inference control, and a field for storing a plurality of queues used in inference control. A field that stores an active state cue, a field that stores an inactive state cue that is not involved in inference control, a field that stores a default cue that is used when no queue is explicitly specified during inference execution, and a field that stores an inactive state cue that is not involved in inference control. 2. The inference control device according to claim 1, further comprising a field for storing an event to be executed first.
(4)イベント記憶部はイベントテーブルを具備し、こ
のイベントテーブルはイベントを一意に識別するイベン
ト名を格納するフィールドと、イベント実行時に作用を
及ぼす状況を格納するフィールドと、起動すべきルール
を機能単位にモジュール化したルール群を格納するフィ
ールドと、起動すべき関数群を格納するフィールドと、
イベントの実行時における優先度を格納するフィールド
とを具備してなる請求項1記載の推論制御装置。
(4) The event storage unit is equipped with an event table, and this event table has a field for storing an event name that uniquely identifies an event, a field for storing a situation that affects when an event is executed, and a function for rules to be activated. A field for storing a group of modularized rules, a field for storing a group of functions to be activated,
2. The inference control device according to claim 1, further comprising a field for storing a priority at the time of event execution.
(5)キュー記憶部はキューテーブルを具備し、このキ
ューテーブルはキューを一意に識別するキュー名を格納
するフィールドと、キューからイベントを取り出す方法
を示すフィールドと、キューへのイベント登録方法を示
すフィールドと、実行待ちのイベントを格納するフィー
ルドとを具備してなる請求項1記載の推論制御装置。
(5) The queue storage unit includes a queue table, and this queue table includes a field for storing a queue name that uniquely identifies a queue, a field for indicating a method for retrieving an event from the queue, and a field for indicating a method for registering an event in the queue. 2. The inference control device according to claim 1, comprising: a field; and a field for storing an event waiting to be executed.
JP1151447A 1989-06-13 1989-06-13 Inference controller Pending JPH0314130A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1151447A JPH0314130A (en) 1989-06-13 1989-06-13 Inference controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1151447A JPH0314130A (en) 1989-06-13 1989-06-13 Inference controller

Publications (1)

Publication Number Publication Date
JPH0314130A true JPH0314130A (en) 1991-01-22

Family

ID=15518798

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1151447A Pending JPH0314130A (en) 1989-06-13 1989-06-13 Inference controller

Country Status (1)

Country Link
JP (1) JPH0314130A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009029932A (en) * 2007-07-27 2009-02-12 Kuniaki Tatsumi Tape paste and tape paste transfer implements

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009029932A (en) * 2007-07-27 2009-02-12 Kuniaki Tatsumi Tape paste and tape paste transfer implements

Similar Documents

Publication Publication Date Title
CN1328685C (en) Custom rule system and method for expert systems
US6063126A (en) Modeling system having constraint solvers
EP0898750B1 (en) Method and system for genetic programming
JPS619729A (en) Reasoning system
JP2005115514A (en) Database search system, its search method, and program
JPH02291022A (en) Diagnostic expert system
WO2011159518A2 (en) User augmented reverse engineering
US6263325B1 (en) System, method, and program storage medium for executing a learning algorithm
JP2768412B2 (en) User adaptive system and adaptive method
JPH0883182A (en) Decision support system
EP0424045A2 (en) System and method for interacting with a database
Lecoutre Ace, a generic constraint solver
US5793933A (en) Computer-implemented system and method for constructing a system
JPH0314130A (en) Inference controller
JPH05151025A (en) Method and device for debugging
EP1783605A2 (en) Managing statements relating to a computer system state
US20120180069A1 (en) Scheduling Start-Up and Shut-Down of Mainframe Applications using Topographical Relationships
Bhardwaj et al. An architecture for generating intelligent interfaces
JPS63158640A (en) Performance analysis diagnosing control system
JPH0689177A (en) Method and system for rewinding state of expert system
JPH06301735A (en) Data base retrieving device
US6529964B1 (en) System and method for maintaining device name consistency during parallel device discovery process
Santos Teixeira et al. A Planning Strategy For Dialogue Management in Healthcare
EP0994429A1 (en) A modelling system for project control
JPH0383139A (en) Fuzzy arithmetic processing device